@expofp/floorplan 3.0.0-alpha.10 → 3.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/browser/{Debug-BGF41rXu.js → Debug-DfbBpzaA.js} +2 -2
  2. package/dist/browser/{Demo-BrPx_J5D.js → Demo-9nX3Ze8t.js} +3 -3
  3. package/dist/browser/{Free-CKUe-HME.js → Free-CcNlU68J.js} +3 -3
  4. package/dist/browser/{Gallery-DObanysV.js → Gallery-BZojDfZ5.js} +3 -3
  5. package/dist/browser/{GpsLoader-DG4eTFey.js → GpsLoader-DtvpmRK_.js} +3 -3
  6. package/dist/browser/KioskStore-9CgKZ7_Y.js +216 -0
  7. package/dist/browser/{Mapbox-DYPXhDbE.js → Mapbox-DNt1naKj.js} +4 -4
  8. package/dist/browser/{SetKioskMode-CVHaNTJA.js → SetKioskMode-D-4L7JoE.js} +4 -4
  9. package/dist/browser/{ShowKiosk-DWrKae-X.js → ShowKiosk-ULNAsz__.js} +3 -3
  10. package/dist/browser/{ThreeComponent-BHyMRhbK.js → ThreeComponent-BStWIWLA.js} +4 -4
  11. package/dist/browser/{boolean-editor-CAqnfiK8.js → boolean-editor-CSqyOu_X.js} +3 -3
  12. package/dist/browser/bundle.json +26 -29
  13. package/dist/browser/{client-BD3CUDfs.js → client-Ca3SQ9bO.js} +2 -2
  14. package/dist/browser/{data-BybaFPM_.js → data-BiWncDmi.js} +2 -2
  15. package/dist/browser/{debug-overlay-B7Y95oUy.js → debug-overlay-CzQ4hWUN.js} +4 -4
  16. package/dist/browser/{debug-ui-LqMFZltk.js → debug-ui-DMGPYlVK.js} +3 -3
  17. package/dist/browser/{fetch-retry.umd-B-1h1K-1.js → fetch-retry.umd-CYEtSlH7.js} +1 -1
  18. package/dist/browser/{flex-D6Z-8vET.js → flex-BFGvV1iS.js} +2 -2
  19. package/dist/browser/{floorplan.ready-BKm4W0PM.js → floorplan.ready-BrEhyuTm.js} +19050 -18909
  20. package/dist/browser/{index-Ft1QAc66.js → index-BC6Y3-P3.js} +1 -1
  21. package/dist/browser/{index-B3N1nXdW.js → index-BeFIoJ6b.js} +2 -2
  22. package/dist/browser/{index-BejLpHKw.js → index-BqB89tei.js} +3 -3
  23. package/dist/browser/{index-DZpYGOZi.js → index-BuqxEypR.js} +4 -4
  24. package/dist/browser/{index-D0rE2o5K.js → index-DGktAn6-.js} +1 -1
  25. package/dist/browser/{index-BlQ8_wWj.js → index-Du62yX73.js} +2 -2
  26. package/dist/browser/index-k8Qo-0Dy.js +10220 -0
  27. package/dist/browser/index.js +1 -1
  28. package/dist/browser/{particles.min-BJIwccE3.js → particles.min-Bo4ztMtY.js} +1 -1
  29. package/dist/esm/_misc_to_move/manifest.d.ts +13 -0
  30. package/dist/esm/_misc_to_move/ref.d.ts +6 -0
  31. package/dist/esm/_misc_to_move/ref.js +1 -0
  32. package/dist/esm/components/Bookmarks.d.ts +0 -1
  33. package/dist/esm/components/Bookmarks.js +1 -1
  34. package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -3
  35. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  36. package/dist/esm/components/Map/Map.d.ts +0 -23
  37. package/dist/esm/components/Map/Map.js +1 -1
  38. package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +1 -1
  39. package/dist/esm/components/Map/drawing/config/config-all.d.ts +2 -3
  40. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  41. package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
  42. package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
  43. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +5 -5
  44. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  45. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +5 -5
  46. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  47. package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +3 -3
  48. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  49. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +6 -6
  50. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  51. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +5 -5
  52. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  53. package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +3 -3
  54. package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +1 -1
  55. package/dist/esm/components/Map/drawing/config/config-booths.d.ts +2 -2
  56. package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
  57. package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +2 -2
  58. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  59. package/dist/esm/components/Map/drawing/config/config-markers.d.ts +2 -3
  60. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  61. package/dist/esm/components/Map/drawing/config/config-wf.d.ts +2 -3
  62. package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
  63. package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +2 -3
  64. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
  65. package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +3 -5
  66. package/dist/esm/components/Map/traffic/useBuildRoute.js +6 -6
  67. package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +3 -5
  68. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  69. package/dist/esm/components/Menu.js +1 -2
  70. package/dist/esm/components/SearchBox.js +1 -1
  71. package/dist/esm/components/SidebarActions.d.ts +3 -0
  72. package/dist/esm/components/SidebarActions.js +1 -1
  73. package/dist/esm/components/Wayfinding.js +1 -1
  74. package/dist/esm/data/tours.json +74 -0
  75. package/dist/esm/floorplan.loader.d.ts +3 -0
  76. package/dist/esm/floorplan.loader.js +1 -1
  77. package/dist/esm/floorplan.ready.d.ts +5 -2
  78. package/dist/esm/floorplan.ready.js +1 -1
  79. package/dist/esm/index.d.ts +0 -2
  80. package/dist/esm/index.js +1 -1
  81. package/dist/esm/load.d.ts +2 -1
  82. package/dist/esm/offline/offlineManager.js +1 -1
  83. package/dist/esm/renderer/HandlerRegistry.d.ts +18 -0
  84. package/dist/esm/renderer/HandlerRegistry.js +1 -0
  85. package/dist/esm/renderer/RendererService.d.ts +26 -0
  86. package/dist/esm/renderer/RendererService.js +1 -0
  87. package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/canvases.d.ts +1 -1
  88. package/dist/esm/renderer/engine-core/canvases.js +1 -0
  89. package/dist/esm/renderer/engine-core/fonts.js +1 -0
  90. package/dist/esm/renderer/engine-core/types.js +1 -0
  91. package/dist/esm/{components/Map/drawing/config/engine-core → renderer}/index.d.ts +10 -10
  92. package/dist/esm/renderer/index.js +1 -0
  93. package/dist/esm/store/BookmarksStore.d.ts +12 -0
  94. package/dist/esm/store/BookmarksStore.js +2 -0
  95. package/dist/esm/store/LayerStore.js +1 -1
  96. package/dist/esm/store/RootStore.d.ts +8 -8
  97. package/dist/esm/store/RootStore.js +1 -1
  98. package/dist/esm/store/RouteStore.js +1 -1
  99. package/dist/esm/store/SearchStore.d.ts +2 -0
  100. package/dist/esm/store/SearchStore.js +1 -1
  101. package/dist/esm/store/UIState.d.ts +6 -4
  102. package/dist/esm/store/UIState.js +1 -1
  103. package/dist/esm/store/init/index.js +1 -1
  104. package/dist/esm/store/init/init-bookmarks.d.ts +7 -0
  105. package/dist/esm/store/init/init-bookmarks.js +1 -0
  106. package/dist/esm/store/init/init-events.d.ts +1 -1
  107. package/dist/esm/store/init/init-events.js +1 -1
  108. package/dist/esm/store/init/init-exhibitors.d.ts +1 -1
  109. package/dist/esm/store/init/init-exhibitors.js +1 -1
  110. package/dist/esm/store/init/init-speakers.d.ts +1 -1
  111. package/dist/esm/store/init/init-speakers.js +1 -1
  112. package/dist/esm/store/types.d.ts +6 -0
  113. package/dist/esm/utils/mapEntity.js +1 -1
  114. package/dist/esm/utils/shortenName.js +1 -1
  115. package/dist/esm/utils/useRenderTarget.js +1 -1
  116. package/dist/esm/utils/wayfinding.d.ts +1 -1
  117. package/dist/esm/utils/wayfinding.js +1 -1
  118. package/package.json +3 -8
  119. package/dist/browser/KioskStore-BG54vG5v.js +0 -216
  120. package/dist/browser/index-DBxr4rdm.js +0 -12530
  121. package/dist/browser/sw.js +0 -2
  122. package/dist/esm/components/Map/drawing/config/engine-core/canvases.js +0 -1
  123. package/dist/esm/components/Map/drawing/config/engine-core/fonts.js +0 -1
  124. package/dist/esm/components/Map/drawing/config/engine-core/index.js +0 -1
  125. package/dist/esm/components/Map/drawing/config/engine-core/renderer.d.ts +0 -4
  126. package/dist/esm/components/Map/drawing/config/engine-core/renderer.js +0 -1
  127. package/dist/esm/expofp-debug.d.ts +0 -5
  128. package/dist/esm/expofp-debug.js +0 -1
  129. package/dist/esm/offline/sw.d.ts +0 -2
  130. package/dist/esm/offline/sw.js +0 -1
  131. package/dist/stats.html +0 -4950
  132. /package/dist/esm/{components/Map/drawing/config/engine-core/types.js → _misc_to_move/manifest.js} +0 -0
  133. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/animation.d.ts +0 -0
  134. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/animation.js +0 -0
  135. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.d.ts +0 -0
  136. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.js +0 -0
  137. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/fonts.d.ts +0 -0
  138. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.d.ts +0 -0
  139. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.js +0 -0
  140. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/types.d.ts +0 -0
  141. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.d.ts +0 -0
  142. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.js +0 -0
  143. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.d.ts +0 -0
  144. /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.js +0 -0
@@ -1,7 +1,7 @@
1
1
  function __vite_inject_css__(css, id, nonce){ if (typeof document==='undefined') return; var s=document.createElement('style'); s.setAttribute('data-vite-chunk-style', id); s.appendChild(document.createTextNode(css)); document.head.appendChild(s);}
2
2
  import { j as a } from "./jsx-runtime-jIxVPx5o.js";
3
- import { c as n, a as t, s as i } from "./floorplan.ready-BKm4W0PM.js";
4
- import { u as l } from "./index-DBxr4rdm.js";
3
+ import { c as n, a as t, s as i } from "./floorplan.ready-BrEhyuTm.js";
4
+ import { u as l } from "./index-k8Qo-0Dy.js";
5
5
  const e = [];
6
6
  function u() {
7
7
  const r = e.map((s) => s.width * s.height).reduce((s, c) => s += c, 0), o = e.map((s) => /* @__PURE__ */ a.jsxs("div", { className: "debug__canvas", id: s.toDataURL(), children: [
@@ -1,7 +1,7 @@
1
1
  import { j as e } from "./jsx-runtime-jIxVPx5o.js";
2
- import { y as n } from "./index-BlQ8_wWj.js";
3
- import { u as a, a as d, b as m, c } from "./floorplan.ready-BKm4W0PM.js";
4
- import { u as t } from "./index-DBxr4rdm.js";
2
+ import { y as n } from "./index-Du62yX73.js";
3
+ import { u as a, a as d, b as m, c } from "./floorplan.ready-BrEhyuTm.js";
4
+ import { u as t } from "./index-k8Qo-0Dy.js";
5
5
  const r = "note-dismissed5";
6
6
  function f() {
7
7
  const s = a(() => ({
@@ -1,8 +1,8 @@
1
1
  function __vite_inject_css__(css, id, nonce){ if (typeof document==='undefined') return; var s=document.createElement('style'); s.setAttribute('data-vite-chunk-style', id); s.appendChild(document.createTextNode(css)); document.head.appendChild(s);}
2
2
  import { j as e } from "./jsx-runtime-jIxVPx5o.js";
3
- import { y as n } from "./index-BlQ8_wWj.js";
4
- import { u as a, a as d, b as m, c } from "./floorplan.ready-BKm4W0PM.js";
5
- import { a5 as f, u as r } from "./index-DBxr4rdm.js";
3
+ import { y as n } from "./index-Du62yX73.js";
4
+ import { u as a, a as d, b as m, c } from "./floorplan.ready-BrEhyuTm.js";
5
+ import { a5 as f, u as r } from "./index-k8Qo-0Dy.js";
6
6
  const t = "free-dismissed5";
7
7
  function x() {
8
8
  const s = a(() => ({
@@ -1,7 +1,7 @@
1
1
  import { j as l } from "./jsx-runtime-jIxVPx5o.js";
2
- import { r as h, u as j, o as k } from "./index-DBxr4rdm.js";
3
- import { y as _, r as O } from "./index-BlQ8_wWj.js";
4
- import { ax as z, ay as L, az as R, aA as G, aB as T, aC as B, aD as D, aE as M } from "./floorplan.ready-BKm4W0PM.js";
2
+ import { r as h, u as j, o as k } from "./index-k8Qo-0Dy.js";
3
+ import { y as _, r as O } from "./index-Du62yX73.js";
4
+ import { ax as z, ay as L, az as R, aA as G, aB as T, aC as B, aD as D, aE as M } from "./floorplan.ready-BrEhyuTm.js";
5
5
  const P = ({
6
6
  count: e,
7
7
  onFullscreen: c
@@ -1,7 +1,7 @@
1
1
  import { j as C } from "./jsx-runtime-jIxVPx5o.js";
2
- import { r, l as A, u as O, R as T } from "./index-DBxr4rdm.js";
3
- import { af as M, ag as k, ah as I, s as p, ai as L, e as y } from "./floorplan.ready-BKm4W0PM.js";
4
- import "./index-BlQ8_wWj.js";
2
+ import { r, l as A, u as O, R as T } from "./index-k8Qo-0Dy.js";
3
+ import { af as M, ag as k, ah as I, s as p, ai as L, e as y } from "./floorplan.ready-BrEhyuTm.js";
4
+ import "./index-Du62yX73.js";
5
5
  const S = 3;
6
6
  function b(a) {
7
7
  return Math.floor(a);
@@ -0,0 +1,216 @@
1
+ import { s as i, ao as h, ap as b, aq as v, ar as f, as as O, at as C, au as g, av as l, aw as d } from "./floorplan.ready-BrEhyuTm.js";
2
+ import "./jsx-runtime-jIxVPx5o.js";
3
+ import "./index-k8Qo-0Dy.js";
4
+ import "./index-Du62yX73.js";
5
+ function P(n) {
6
+ const e = n.viewport.canvasToSvg({
7
+ x: 0,
8
+ y: 0
9
+ }), r = n.viewport.canvasToSvg({
10
+ x: n.canvas.clientWidth,
11
+ y: 0
12
+ }), a = n.viewport.canvasToSvg({
13
+ x: 0,
14
+ y: n.canvas.clientHeight
15
+ }), p = n.viewport.canvasToSvg({
16
+ x: n.canvas.clientWidth,
17
+ y: n.canvas.clientHeight
18
+ }), s = Math.min(e.x, r.x, a.x, p.x), c = Math.max(e.x, r.x, a.x, p.x), u = Math.min(e.y, r.y, a.y, p.y), y = Math.max(e.y, r.y, a.y, p.y);
19
+ return {
20
+ x: s,
21
+ y: u,
22
+ width: c - s,
23
+ height: y - u,
24
+ left: s,
25
+ right: c,
26
+ top: y,
27
+ bottom: u,
28
+ center: {
29
+ x: (s + c) / 2,
30
+ y: (u + y) / 2
31
+ }
32
+ };
33
+ }
34
+ function D(n, e) {
35
+ const r = P(n);
36
+ return e.x >= r.left && e.x <= r.right && e.y >= r.bottom && e.y <= r.top;
37
+ }
38
+ var t, S, m;
39
+ function k(n, e, r, a) {
40
+ r && Object.defineProperty(n, e, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(a) : void 0 });
41
+ }
42
+ function o(n, e, r, a, p) {
43
+ var s = {};
44
+ return Object.keys(a).forEach(function(c) {
45
+ s[c] = a[c];
46
+ }), s.enumerable = !!s.enumerable, s.configurable = !!s.configurable, ("value" in s || s.initializer) && (s.writable = !0), s = r.slice().reverse().reduce(function(c, u) {
47
+ return u(n, e, c) || c;
48
+ }, s), p && s.initializer !== void 0 && (s.value = s.initializer ? s.initializer.call(p) : void 0, s.initializer = void 0), s.initializer === void 0 ? (Object.defineProperty(n, e, s), null) : s;
49
+ }
50
+ let w = (t = class {
51
+ constructor() {
52
+ k(this, "savedKiosk", S, this), k(this, "statusMessages", m, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
53
+ }
54
+ get kiosk() {
55
+ return i.uiState.kioskData;
56
+ }
57
+ setKiosk(e) {
58
+ i.uiState.setKioskData(e);
59
+ }
60
+ get renderer() {
61
+ return i.rendererService.renderer;
62
+ }
63
+ getCameraState() {
64
+ const e = i.rendererService.getCameraState();
65
+ return e ? {
66
+ mapInitialPtScale: this.initialPtScale,
67
+ mapPtScale: e.ptScale,
68
+ mapCenterX: e.center.x,
69
+ mapCenterY: e.center.y,
70
+ mapRollDegrees: e.roll,
71
+ mapPitch: e.pitch
72
+ } : {};
73
+ }
74
+ get hasUnsavedChanges() {
75
+ const e = this.savedKiosk, r = h(this.kiosk);
76
+ if (!r || !e)
77
+ return !!r != !!e;
78
+ const a = Object.keys(e), p = Object.keys(r);
79
+ if (a.length !== p.length)
80
+ return !0;
81
+ for (const s of a)
82
+ if (!(s in r) || e[s] !== r[s])
83
+ return !0;
84
+ return !1;
85
+ }
86
+ addStatusMessage(e) {
87
+ this.statusMessages = [{
88
+ ...e,
89
+ id: Date.now()
90
+ }], this.startCleanupMessages();
91
+ }
92
+ clearStatusMessages() {
93
+ this.statusMessages = [];
94
+ }
95
+ startCleanupMessages() {
96
+ clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
97
+ }
98
+ async resetCamera() {
99
+ const {
100
+ z: e,
101
+ mapRollDegrees: r,
102
+ mapInitialPtScale: a,
103
+ mapPtScale: p,
104
+ mapCenterX: s,
105
+ mapCenterY: c
106
+ } = this.kiosk || {};
107
+ await this.renderer.controls.resetCamera({
108
+ pan: !0,
109
+ zoom: !0,
110
+ roll: !0,
111
+ pitch: !0
112
+ }, !0), b(() => {
113
+ Number.isFinite(a) && Number.isFinite(p) && p > 0 && this.renderer.controls.zoomBy(a / p, !0), Number.isFinite(s) && Number.isFinite(c) && this.renderer.controls.panTo(s, c, !0), Number.isFinite(r) && this.renderer.controls.rollTo(r, !0), e && i.fp.activateFloor({
114
+ name: e
115
+ });
116
+ });
117
+ }
118
+ restoreData() {
119
+ const e = v();
120
+ return e && (this.setKiosk(e), this.savedKiosk = e, i.uiState.kiosk = !0, this.resetCamera()), e;
121
+ }
122
+ handleSetupReady() {
123
+ this.restoreData(), i.uiState.kiosk = !0, i.uiState.hideFreeOrDemo = !0, i.uiState.setForceDimm(!0), i.searchStore.setSearchText(""), i.searchStore.setFocused(!1);
124
+ }
125
+ handleClose() {
126
+ this.setKiosk(null), i.uiState.setForceDimm(!1), i.uiState.enableSetKioskMode(!1), i.searchStore.closeSearch(), this.resetCamera();
127
+ }
128
+ handleDelete() {
129
+ f(), this.setKiosk(null), i.uiState.resetMapSettings(), i.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
130
+ variant: "success",
131
+ title: "Deleted"
132
+ });
133
+ }
134
+ handleSave() {
135
+ const e = h(this.kiosk), r = this.getCameraState(), a = {
136
+ ...e,
137
+ ...r
138
+ };
139
+ if (!D(this.renderer, a)) {
140
+ this.addStatusMessage({
141
+ variant: "error",
142
+ title: "Kiosk not visible"
143
+ });
144
+ return;
145
+ }
146
+ this.setKiosk(a), O(a), i.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
147
+ variant: "success",
148
+ title: "Saved"
149
+ }), this.savedKiosk = a;
150
+ }
151
+ delayChange(e) {
152
+ requestAnimationFrame(() => e == null ? void 0 : e());
153
+ }
154
+ handleChange(e) {
155
+ const r = h(this.kiosk);
156
+ r && (Number.isFinite(e.angle) && this.setKiosk({
157
+ ...r,
158
+ heading: e.angle
159
+ }), Number.isFinite(e.scale) && (this.setKiosk({
160
+ ...r,
161
+ uiScale: e.scale
162
+ }), this.delayChange(() => i.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
163
+ ...r,
164
+ iconSizePercent: e.percent
165
+ }));
166
+ }
167
+ setInitialPtScale(e) {
168
+ if (this.initialPtScale)
169
+ return;
170
+ this.initialPtScale = e;
171
+ const r = h(this.kiosk);
172
+ r && this.setKiosk({
173
+ ...r,
174
+ mapInitialPtScale: e
175
+ });
176
+ }
177
+ handleClick({
178
+ point: e
179
+ }) {
180
+ var c;
181
+ const r = h(this.kiosk), a = i.fp.getFloors(), p = C() ? (c = a.find((u) => u.active)) == null ? void 0 : c.name : null, s = i.uiState.uiScale;
182
+ this.setKiosk({
183
+ ...r,
184
+ x: e.x,
185
+ y: e.y,
186
+ z: p,
187
+ uiScale: (r == null ? void 0 : r.uiScale) || s,
188
+ heading: (r == null ? void 0 : r.heading) || 0,
189
+ iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
190
+ ...this.getCameraState()
191
+ });
192
+ }
193
+ handleNavigationChange() {
194
+ const e = h(this.kiosk);
195
+ e && this.setKiosk({
196
+ ...e,
197
+ ...this.getCameraState()
198
+ });
199
+ }
200
+ }, o(t.prototype, "kiosk", [g], Object.getOwnPropertyDescriptor(t.prototype, "kiosk"), t.prototype), o(t.prototype, "setKiosk", [l], Object.getOwnPropertyDescriptor(t.prototype, "setKiosk"), t.prototype), o(t.prototype, "renderer", [g], Object.getOwnPropertyDescriptor(t.prototype, "renderer"), t.prototype), S = o(t.prototype, "savedKiosk", [d], {
201
+ configurable: !0,
202
+ enumerable: !0,
203
+ writable: !0,
204
+ initializer: null
205
+ }), o(t.prototype, "hasUnsavedChanges", [g], Object.getOwnPropertyDescriptor(t.prototype, "hasUnsavedChanges"), t.prototype), m = o(t.prototype, "statusMessages", [d], {
206
+ configurable: !0,
207
+ enumerable: !0,
208
+ writable: !0,
209
+ initializer: function() {
210
+ return [];
211
+ }
212
+ }), o(t.prototype, "addStatusMessage", [l], Object.getOwnPropertyDescriptor(t.prototype, "addStatusMessage"), t.prototype), o(t.prototype, "clearStatusMessages", [l], Object.getOwnPropertyDescriptor(t.prototype, "clearStatusMessages"), t.prototype), o(t.prototype, "startCleanupMessages", [l], Object.getOwnPropertyDescriptor(t.prototype, "startCleanupMessages"), t.prototype), o(t.prototype, "resetCamera", [l], Object.getOwnPropertyDescriptor(t.prototype, "resetCamera"), t.prototype), o(t.prototype, "restoreData", [l], Object.getOwnPropertyDescriptor(t.prototype, "restoreData"), t.prototype), o(t.prototype, "handleSetupReady", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleSetupReady"), t.prototype), o(t.prototype, "handleClose", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleClose"), t.prototype), o(t.prototype, "handleDelete", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleDelete"), t.prototype), o(t.prototype, "handleSave", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleSave"), t.prototype), o(t.prototype, "handleChange", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleChange"), t.prototype), o(t.prototype, "setInitialPtScale", [l], Object.getOwnPropertyDescriptor(t.prototype, "setInitialPtScale"), t.prototype), o(t.prototype, "handleClick", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleClick"), t.prototype), o(t.prototype, "handleNavigationChange", [l], Object.getOwnPropertyDescriptor(t.prototype, "handleNavigationChange"), t.prototype), t);
213
+ const F = new w();
214
+ export {
215
+ F as k
216
+ };
@@ -1,8 +1,8 @@
1
1
  import { j as g } from "./jsx-runtime-jIxVPx5o.js";
2
- import { y as M } from "./index-BlQ8_wWj.js";
3
- import { p as m, m as z, s as P, a as y, l as C, b as k, c as p, d as F, u as T, e as j, f as w, g as E, h as D, i as N } from "./data-BybaFPM_.js";
4
- import { u as O, s as e, a as o, R as x, d as q, e as i, f as A, c as H } from "./floorplan.ready-BKm4W0PM.js";
5
- import { r as v } from "./index-DBxr4rdm.js";
2
+ import { y as M } from "./index-Du62yX73.js";
3
+ import { p as m, m as z, s as P, a as y, l as C, b as k, c as p, d as F, u as T, e as j, f as w, g as E, h as D, i as N } from "./data-BiWncDmi.js";
4
+ import { u as O, s as e, a as o, R as x, d as q, e as i, f as A, c as H } from "./floorplan.ready-BrEhyuTm.js";
5
+ import { r as v } from "./index-k8Qo-0Dy.js";
6
6
  function J() {
7
7
  const S = v.useRef(null), r = v.useRef(null);
8
8
  let u = null, h = [];
@@ -1,8 +1,8 @@
1
1
  import { j as e } from "./jsx-runtime-jIxVPx5o.js";
2
- import { r as y, x as b } from "./index-DBxr4rdm.js";
3
- import { aj as _, ak as L, al as C, b as D, s as N } from "./floorplan.ready-BKm4W0PM.js";
4
- import { k as a } from "./KioskStore-BG54vG5v.js";
5
- import { y as E } from "./index-BlQ8_wWj.js";
2
+ import { r as y, x as b } from "./index-k8Qo-0Dy.js";
3
+ import { aj as _, ak as L, al as C, b as D, s as N } from "./floorplan.ready-BrEhyuTm.js";
4
+ import { k as a } from "./KioskStore-9CgKZ7_Y.js";
5
+ import { y as E } from "./index-Du62yX73.js";
6
6
  function S({
7
7
  value: s,
8
8
  name: r,
@@ -1,7 +1,7 @@
1
1
  import { j as s } from "./jsx-runtime-jIxVPx5o.js";
2
- import { al as o, b as r, am as n, an as c, s as t } from "./floorplan.ready-BKm4W0PM.js";
3
- import { M as i } from "./index-DBxr4rdm.js";
4
- import { k as a } from "./KioskStore-BG54vG5v.js";
2
+ import { al as o, b as r, am as n, an as c, s as t } from "./floorplan.ready-BrEhyuTm.js";
3
+ import { M as i } from "./index-k8Qo-0Dy.js";
4
+ import { k as a } from "./KioskStore-9CgKZ7_Y.js";
5
5
  const C = () => /* @__PURE__ */ s.jsx("div", { className: "touch-hand", children: /* @__PURE__ */ s.jsx("svg", { width: "640", height: "640", viewBox: "0 0 640 640", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "touch-hand-icon", children: /* @__PURE__ */ s.jsxs("g", { className: "touchon", children: [
6
6
  /* @__PURE__ */ s.jsxs("g", { id: "touchon-body", children: [
7
7
  /* @__PURE__ */ s.jsx("circle", { className: "hand-touch-1", cx: "299", cy: "201", r: "50" }),
@@ -1,8 +1,8 @@
1
1
  import { j as gt } from "./jsx-runtime-jIxVPx5o.js";
2
- import { y as bt } from "./index-BlQ8_wWj.js";
3
- import { C as Qt, V as E, M as U, T as N, Q as yt, S as vt, g as x, h as Jt, P as _t, i as $t, L as Nt, j as te, F as Vt, k as ee, l as se, m as et, n as B, o as F, p as W, D as ie, q as Bt, G as Wt, B as wt, r as H, t as st, v as Pt, w as J, x as Tt, y as it, z as X, A as oe, E as ae, H as Et, N as Mt, I as ne, J as Ht, K as ct, O as Ft, U as re, W as K, X as he, Y as le, Z as ce, _ as Ae, $ as qt, a0 as ot, a1 as z, a2 as Kt, s as P, a3 as de, a4 as pe, a5 as ue, f as At, a as b, a6 as fe, a7 as St, u as me, e as Z, R as Lt, c as ge } from "./floorplan.ready-BKm4W0PM.js";
4
- import { ah as dt, r as Rt } from "./index-DBxr4rdm.js";
5
- import { j as be, m as q, s as ye, k as ve, h as xt, z as we, a as at, i as Pe } from "./data-BybaFPM_.js";
2
+ import { y as bt } from "./index-Du62yX73.js";
3
+ import { C as Qt, V as E, M as U, T as N, Q as yt, S as vt, g as x, h as Jt, P as _t, i as $t, L as Nt, j as te, F as Vt, k as ee, l as se, m as et, n as B, o as F, p as W, D as ie, q as Bt, G as Wt, B as wt, r as H, t as st, v as Pt, w as J, x as Tt, y as it, z as X, A as oe, E as ae, H as Et, N as Mt, I as ne, J as Ht, K as ct, O as Ft, U as re, W as K, X as he, Y as le, Z as ce, _ as Ae, $ as qt, a0 as ot, a1 as z, a2 as Kt, s as P, a3 as de, a4 as pe, a5 as ue, f as At, a as b, a6 as fe, a7 as St, u as me, e as Z, R as Lt, c as ge } from "./floorplan.ready-BrEhyuTm.js";
4
+ import { ah as dt, r as Rt } from "./index-k8Qo-0Dy.js";
5
+ import { j as be, m as q, s as ye, k as ve, h as xt, z as we, a as at, i as Pe } from "./data-BiWncDmi.js";
6
6
  const Dt = { type: "change" }, pt = { type: "start" }, zt = { type: "end" }, _ = new Jt(), kt = new _t(), Te = Math.cos(70 * $t.DEG2RAD), S = new E(), R = 2 * Math.PI, w = {
7
7
  NONE: -1,
8
8
  ROTATE: 0,
@@ -1,7 +1,7 @@
1
1
  import { j as r } from "./jsx-runtime-jIxVPx5o.js";
2
- import { r as s } from "./index-DBxr4rdm.js";
3
- import { y } from "./index-BlQ8_wWj.js";
4
- import { u as g, a as A, P as j, c as U, b as q, d as F, r as E, v as R, e as k, f as L, o as O, p as N, g as D, h as W } from "./flex-D6Z-8vET.js";
2
+ import { r as s } from "./index-k8Qo-0Dy.js";
3
+ import { y } from "./index-Du62yX73.js";
4
+ import { u as g, a as A, P as j, c as U, b as q, d as F, r as E, v as R, e as k, f as L, o as O, p as N, g as D, h as W } from "./flex-BFGvV1iS.js";
5
5
  function X(e) {
6
6
  const t = s.useRef({ value: e, previous: e });
7
7
  return s.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
@@ -2,49 +2,49 @@
2
2
  "entry": "index.js",
3
3
  "files": [
4
4
  {
5
- "file": "Debug-BGF41rXu.js"
5
+ "file": "Debug-DfbBpzaA.js"
6
6
  },
7
7
  {
8
- "file": "Demo-BrPx_J5D.js"
8
+ "file": "Demo-9nX3Ze8t.js"
9
9
  },
10
10
  {
11
- "file": "Free-CKUe-HME.js"
11
+ "file": "Free-CcNlU68J.js"
12
12
  },
13
13
  {
14
- "file": "Gallery-DObanysV.js"
14
+ "file": "Gallery-BZojDfZ5.js"
15
15
  },
16
16
  {
17
- "file": "GpsLoader-DG4eTFey.js"
17
+ "file": "GpsLoader-DtvpmRK_.js"
18
18
  },
19
19
  {
20
- "file": "KioskStore-BG54vG5v.js"
20
+ "file": "KioskStore-9CgKZ7_Y.js"
21
21
  },
22
22
  {
23
- "file": "Mapbox-DYPXhDbE.js"
23
+ "file": "Mapbox-DNt1naKj.js"
24
24
  },
25
25
  {
26
- "file": "SetKioskMode-CVHaNTJA.js"
26
+ "file": "SetKioskMode-D-4L7JoE.js"
27
27
  },
28
28
  {
29
- "file": "ShowKiosk-DWrKae-X.js"
29
+ "file": "ShowKiosk-ULNAsz__.js"
30
30
  },
31
31
  {
32
- "file": "ThreeComponent-BHyMRhbK.js"
32
+ "file": "ThreeComponent-BStWIWLA.js"
33
33
  },
34
34
  {
35
- "file": "boolean-editor-CAqnfiK8.js"
35
+ "file": "boolean-editor-CSqyOu_X.js"
36
36
  },
37
37
  {
38
- "file": "client-BD3CUDfs.js"
38
+ "file": "client-Ca3SQ9bO.js"
39
39
  },
40
40
  {
41
- "file": "data-BybaFPM_.js"
41
+ "file": "data-BiWncDmi.js"
42
42
  },
43
43
  {
44
- "file": "debug-overlay-B7Y95oUy.js"
44
+ "file": "debug-overlay-CzQ4hWUN.js"
45
45
  },
46
46
  {
47
- "file": "debug-ui-LqMFZltk.js"
47
+ "file": "debug-ui-DMGPYlVK.js"
48
48
  },
49
49
  {
50
50
  "file": "expofp-overlay.png"
@@ -53,13 +53,13 @@
53
53
  "file": "favicon-DalyEhbd.js"
54
54
  },
55
55
  {
56
- "file": "fetch-retry.umd-B-1h1K-1.js"
56
+ "file": "fetch-retry.umd-CYEtSlH7.js"
57
57
  },
58
58
  {
59
- "file": "flex-D6Z-8vET.js"
59
+ "file": "flex-BFGvV1iS.js"
60
60
  },
61
61
  {
62
- "file": "floorplan.ready-BKm4W0PM.js"
62
+ "file": "floorplan.ready-BrEhyuTm.js"
63
63
  },
64
64
  {
65
65
  "file": "fonts/efp-symbols.woff"
@@ -146,25 +146,25 @@
146
146
  "file": "icons/yah.svg"
147
147
  },
148
148
  {
149
- "file": "index-B3N1nXdW.js"
149
+ "file": "index-BC6Y3-P3.js"
150
150
  },
151
151
  {
152
- "file": "index-BejLpHKw.js"
152
+ "file": "index-BeFIoJ6b.js"
153
153
  },
154
154
  {
155
- "file": "index-BlQ8_wWj.js"
155
+ "file": "index-BqB89tei.js"
156
156
  },
157
157
  {
158
- "file": "index-D0rE2o5K.js"
158
+ "file": "index-BuqxEypR.js"
159
159
  },
160
160
  {
161
- "file": "index-DBxr4rdm.js"
161
+ "file": "index-DGktAn6-.js"
162
162
  },
163
163
  {
164
- "file": "index-DZpYGOZi.js"
164
+ "file": "index-Du62yX73.js"
165
165
  },
166
166
  {
167
- "file": "index-Ft1QAc66.js"
167
+ "file": "index-k8Qo-0Dy.js"
168
168
  },
169
169
  {
170
170
  "file": "index.js"
@@ -233,10 +233,7 @@
233
233
  "file": "main-CD9JioNt.js"
234
234
  },
235
235
  {
236
- "file": "particles.min-BJIwccE3.js"
237
- },
238
- {
239
- "file": "sw.js"
236
+ "file": "particles.min-Bo4ztMtY.js"
240
237
  },
241
238
  {
242
239
  "file": "template.html"
@@ -1,5 +1,5 @@
1
- import { ai as Bh } from "./index-DBxr4rdm.js";
2
- import { r as Yh } from "./index-D0rE2o5K.js";
1
+ import { ai as Bh } from "./index-k8Qo-0Dy.js";
2
+ import { r as Yh } from "./index-DGktAn6-.js";
3
3
  function Qh(o, kl) {
4
4
  for (var gl = 0; gl < kl.length; gl++) {
5
5
  const g = kl[gl];
@@ -1,6 +1,6 @@
1
1
  function __vite_inject_css__(css, id, nonce){ if (typeof document==='undefined') return; var s=document.createElement('style'); s.setAttribute('data-vite-chunk-style', id); s.appendChild(document.createTextNode(css)); document.head.appendChild(s);}
2
- import { a as ws, a6 as Bg, a8 as yi, s as Aa, a9 as lc, J as vd, aa as Ru, R as Bu, d as gd, ab as om, ac as Og, ad as Fg, ae as Qf } from "./floorplan.ready-BKm4W0PM.js";
3
- import { f as Ug } from "./index-DBxr4rdm.js";
2
+ import { a as ws, a6 as Bg, a8 as yi, s as Aa, a9 as lc, J as vd, aa as Ru, R as Bu, d as gd, ab as om, ac as Og, ad as Fg, ae as Qf } from "./floorplan.ready-BrEhyuTm.js";
3
+ import { f as Ug } from "./index-k8Qo-0Dy.js";
4
4
  var Ou = { exports: {} }, Vg = Ou.exports, em;
5
5
  function Ng() {
6
6
  return em || (em = 1, (function(Ve, Xe) {
@@ -1,9 +1,9 @@
1
1
  function __vite_inject_css__(css, id, nonce){ if (typeof document==='undefined') return; var s=document.createElement('style'); s.setAttribute('data-vite-chunk-style', id); s.appendChild(document.createTextNode(css)); document.head.appendChild(s);}
2
2
  import { j as h } from "./jsx-runtime-jIxVPx5o.js";
3
- import { r as i, o as ce, aj as Qo } from "./index-DBxr4rdm.js";
4
- import { P as j, d as pe, u as F, i as bt, j as Ce, c as M, k as Jo, a as Mt, l as ea, m as jn, b as ta, n as It, t as De, q as _e, o as et, r as kn, s as na, w as ra, x as oa, y as aa, z as ia, v as U, e as ne, S as Ae, g as sa, f as ca, A as $n, h as Me, B as la, p as Ie } from "./flex-D6Z-8vET.js";
5
- import { R as ua, r as fa, y as B } from "./index-BlQ8_wWj.js";
6
- import { e as da, a as pa } from "./index-BejLpHKw.js";
3
+ import { r as i, o as ce, aj as Qo } from "./index-k8Qo-0Dy.js";
4
+ import { P as j, d as pe, u as F, i as bt, j as Ce, c as M, k as Jo, a as Mt, l as ea, m as jn, b as ta, n as It, t as De, q as _e, o as et, r as kn, s as na, w as ra, x as oa, y as aa, z as ia, v as U, e as ne, S as Ae, g as sa, f as ca, A as $n, h as Me, B as la, p as Ie } from "./flex-BFGvV1iS.js";
5
+ import { R as ua, r as fa, y as B } from "./index-Du62yX73.js";
6
+ import { e as da, a as pa } from "./index-BqB89tei.js";
7
7
  var ma = Object.freeze({
8
8
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
9
9
  position: "absolute",
@@ -1,6 +1,6 @@
1
1
  import { j as t } from "./jsx-runtime-jIxVPx5o.js";
2
- import { r as o } from "./index-DBxr4rdm.js";
3
- import { a as d } from "./index-DZpYGOZi.js";
2
+ import { r as o } from "./index-k8Qo-0Dy.js";
3
+ import { a as d } from "./index-BuqxEypR.js";
4
4
  const c = ({
5
5
  onClick: e
6
6
  }) => /* @__PURE__ */ t.jsx("button", { type: "button", style: {
@@ -39,7 +39,7 @@ function b({
39
39
  return /* @__PURE__ */ t.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", ...r, children: /* @__PURE__ */ t.jsx("path", { fill: "none", d: "M14.5 5.5L8.5 12l6 6.5", stroke: "currentColor", strokeWidth: n, strokeLinecap: "round", strokeLinejoin: "round" }) });
40
40
  }
41
41
  const f = o.lazy(async () => ({
42
- default: (await import("./debug-overlay-B7Y95oUy.js")).DebugOverlay
42
+ default: (await import("./debug-overlay-CzQ4hWUN.js")).DebugOverlay
43
43
  })), p = ".expofp-floorplan-default", g = (e) => {
44
44
  var a;
45
45
  const [n, r] = o.useState(e.open), [s, l] = e.useDebugButtonState(), i = (a = e.hostSelector) != null ? a : p;
@@ -1,4 +1,4 @@
1
- import { f as x } from "./index-DBxr4rdm.js";
1
+ import { f as x } from "./index-k8Qo-0Dy.js";
2
2
  function R(s, g) {
3
3
  for (var c = 0; c < g.length; c++) {
4
4
  const o = g[c];
@@ -1,5 +1,5 @@
1
- import { r as l, aj as H } from "./index-DBxr4rdm.js";
2
- import { r as U, y } from "./index-BlQ8_wWj.js";
1
+ import { r as l, aj as H } from "./index-k8Qo-0Dy.js";
2
+ import { r as U, y } from "./index-Du62yX73.js";
3
3
  import { j as g } from "./jsx-runtime-jIxVPx5o.js";
4
4
  function V(e, t) {
5
5
  if (typeof e == "function")