@expofp/floorplan 3.31.0 → 3.31.1
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.
- package/dist/browser/{Button-CQwO9tIg.js → Button-Zxrsl7_L.js} +5 -5
- package/dist/browser/{CookieConsent-C-b_gQuN.js → CookieConsent-BHPlLMdB.js} +7 -7
- package/dist/browser/{Debug-fQQyYJXu.js → Debug-CqHF7Ui7.js} +7 -7
- package/dist/browser/{DebugTools-BCE8StGX.js → DebugTools-DVIQiwOF.js} +6 -6
- package/dist/browser/{Demo-Cl9GA9tB.js → Demo-CTPQwjin.js} +9 -9
- package/dist/browser/{Free-DI9bpsX5.js → Free-BN8DnixI.js} +9 -9
- package/dist/browser/{GalleryContainer-DKLp4FU4.js → GalleryContainer-R9pRm1yT.js} +10 -10
- package/dist/browser/{GpsLoader-CiDmup5t.js → GpsLoader-DY9QSSSB.js} +10 -10
- package/dist/browser/{KioskStore-BVpFrfzX.js → KioskStore-uv260o-I.js} +5 -5
- package/dist/browser/{MaplibreAdapter-BJxJxnzx.js → MaplibreAdapter-1WunjDYc.js} +11 -11
- package/dist/browser/{ModalContainer-NXKmni8w.js → ModalContainer-Dpq2q9kp.js} +10 -10
- package/dist/browser/{PermissionNotice-BkAvCmPD.js → PermissionNotice-BMglbCjv.js} +6 -6
- package/dist/browser/{SetKioskMode-CsV-ckXR.js → SetKioskMode-BqhffCFe.js} +9 -9
- package/dist/browser/{ShowKiosk-CqhWjqxE.js → ShowKiosk-CSzg-3PN.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-CCca0xxk.js → ViewerMenuPanel-DYcOfmvC.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-CxE72n53.js → add-debug-secret-listener-Do7AJQ-B.js} +1 -1
- package/dist/browser/{adopt-global-settings-nxeDDXp1.js → adopt-global-settings-CUq7CaWO.js} +9 -9
- package/dist/browser/{boolean-editor-DPMQ0YU3.js → boolean-editor-QNRg7mv9.js} +9 -9
- package/dist/browser/{bootIntercom-DBS2-Ra7.js → bootIntercom-DNmECjIb.js} +2 -2
- package/dist/browser/bundle.json +69 -69
- package/dist/browser/{camera-events-rGM_y-1M.js → camera-events-D-1cgSrw.js} +1 -1
- package/dist/browser/{classnames-CkjzoXiH.js → classnames-B_d2JNXt.js} +2 -2
- package/dist/browser/{client-DiPQk1ur.js → client-Bi66nh-4.js} +5 -5
- package/dist/browser/{components-CAI7tVu_.js → components-BWzDaly-.js} +37 -37
- package/dist/browser/{debug-context-Cx6l3A8H.js → debug-context-DcVFe_Lc.js} +5 -5
- package/dist/browser/{debug-overlay-BlCwf63z.js → debug-overlay-BRwTLlVL.js} +10 -10
- package/dist/browser/{debug-ui-CL9NYiBY.js → debug-ui-C0sCYhBI.js} +6 -6
- package/dist/browser/{dimming-BrddBap-.js → dimming-CoGADDvw.js} +236 -234
- package/dist/browser/{dist-Bdec-Nxs.js → dist-CL4lGmQ7.js} +6 -6
- package/dist/browser/{dist-DbtaUrV6.js → dist-DRk_kZKE.js} +5 -5
- package/dist/browser/{dist-JdkIiWfj.js → dist-DXvqqBfz.js} +3 -3
- package/dist/browser/{efp-debug-init-DDFZgkyx.js → efp-debug-init-qLhKaNXN.js} +3 -3
- package/dist/browser/{enum-editor-BBt11YmB.js → enum-editor-Ced7jQUo.js} +4 -4
- package/dist/browser/{es5-DVB0QLwS.js → es5-CtwPM82h.js} +2 -2
- package/dist/browser/{event-not-found-hzkyr5mJ.js → event-not-found-BJjV15mx.js} +1 -1
- package/dist/browser/{exports-DRumaK8s.js → exports-B5pk0udX.js} +1 -1
- package/dist/browser/{favicon-ByjB1rX0.js → favicon-RMbXtA1H.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CEIMoenq.js → fetch-retry.umd-ByYo1XFL.js} +2 -2
- package/dist/browser/{flex-CrHBC47v.js → flex-CQhKN_F2.js} +5 -5
- package/dist/browser/{floorplan.loader-UtQ5sLSE.js → floorplan.loader-7eeXMIBw.js} +10 -10
- package/dist/browser/{floorplan.ready-BBRE91D6.js → floorplan.ready-DU8FaeTN.js} +14 -14
- package/dist/browser/{fuse-D9Fc86Mp.js → fuse-DIFfBV5K.js} +2 -2
- package/dist/browser/{i18n-C3pmOHfm.js → i18n-BhKie60p.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-ScroRsV4.js → index.module-Cfh6T1sl.js} +4 -4
- package/dist/browser/{integrateKiosk-Bp4Usv7I.js → integrateKiosk-B6hctdem.js} +4 -4
- package/dist/browser/{is-webview-B0VkhBwH.js → is-webview-95gKBmNA.js} +1 -1
- package/dist/browser/{jsx-runtime-BV6RRH6M.js → jsx-runtime-iavSqS3n.js} +2 -2
- package/dist/browser/{kiosk-record-NHohuRZk.js → kiosk-record-CfjEW7WB.js} +1 -1
- package/dist/browser/{lib-D4o7UxhZ.js → lib-CIZx-v0G.js} +3 -3
- package/dist/browser/{loadImage-CmTxbx4i.js → loadImage-DW14-NrZ.js} +4 -4
- package/dist/browser/{logDeviceInfo-BJEg8M4e.js → logDeviceInfo-C0H4zpF1.js} +9 -9
- package/dist/browser/{mobx-LsEeQkKC.js → mobx-D_lfMZGC.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DuCfWYyQ.js → optional-boolean-editor-gLxb1EfH.js} +3 -3
- package/dist/browser/{optional-enum-editor-Q-snbPWN.js → optional-enum-editor-Df_RvQ-w.js} +4 -4
- package/dist/browser/{optional-string-editor-Bd-V93ee.js → optional-string-editor-CZlXCy_b.js} +4 -4
- package/dist/browser/{particles.min-BXxEUmtZ.js → particles.min-BmhrldLm.js} +2 -2
- package/dist/browser/{react-yYxHcXya.js → react-Brvhg-xh.js} +2 -2
- package/dist/browser/{react-dom-BpJ-AdUf.js → react-dom-6jF-UVR3.js} +3 -3
- package/dist/browser/{rolldown-runtime-DB1nSOXr.js → rolldown-runtime-k8xrJES4.js} +1 -1
- package/dist/browser/{scheduler-DgvhfFMA.js → scheduler-C87k6FXk.js} +2 -2
- package/dist/browser/{select-DC3zsJbM.js → select-EAJIc_L6.js} +10 -10
- package/dist/browser/{settings-CmbIseSw.js → settings-CR-KWdwH.js} +2 -2
- package/dist/browser/{settings-item-Dp6uSDI5.js → settings-item-uJSoUoiz.js} +6 -6
- package/dist/browser/{store-BQJFbecZ.js → store-NHdnYbrz.js} +15 -15
- package/dist/browser/{string-editor-DKRik8qD.js → string-editor-gLsfuXuu.js} +4 -4
- package/dist/browser/{text-field-D3Rb6XM1.js → text-field-CFNebSVw.js} +5 -5
- package/dist/browser/{theme-B-lC93LF.js → theme-DU1fheT_.js} +8 -8
- package/dist/browser/{ui-D9c3dK9d.js → ui-DyeTcwQr.js} +8 -8
- package/dist/browser/{useRenderTarget-Cn4JNaNq.js → useRenderTarget-pX44x65X.js} +4 -4
- package/dist/browser/{viewport-B7y5otP7.js → viewport-NsKO0_TX.js} +2 -2
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/package.json +10 -10
package/dist/browser/{optional-string-editor-Bd-V93ee.js → optional-string-editor-CZlXCy_b.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ada85a1e-4ee1-4a7a-91cc-5c4b1ce0c377", e._sentryDebugIdIdentifier = "sentry-dbid-ada85a1e-4ee1-4a7a-91cc-5c4b1ce0c377");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-iavSqS3n.js";
|
|
10
|
+
import { t } from "./settings-item-uJSoUoiz.js";
|
|
11
|
+
import { t as n } from "./text-field-CFNebSVw.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/optional-string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i, a, o;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "22529f3a-43f5-40e1-b007-51e8c4daf2a8", e._sentryDebugIdIdentifier = "sentry-dbid-22529f3a-43f5-40e1-b007-51e8c4daf2a8");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/particlesjs@https+++codeload.github.com+evgenyt1+particles.js+tar.gz+bcda28ac7422659d702713184cf1171b1673c248/node_modules/particlesjs/dist/particles.min.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
var n = function(e, t) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cca190a5-51dd-426b-84e0-277a75e2c304", e._sentryDebugIdIdentifier = "sentry-dbid-cca190a5-51dd-426b-84e0-277a75e2c304");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a30dd810-d46b-41cd-8f48-f437f01c8a16", e._sentryDebugIdIdentifier = "sentry-dbid-a30dd810-d46b-41cd-8f48-f437f01c8a16");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.production.js
|
|
12
12
|
var n = /* @__PURE__ */ e(((e) => {
|
|
13
13
|
var n = t();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a11513d-0070-4205-b636-a85d593cfa99", e._sentryDebugIdIdentifier = "sentry-dbid-4a11513d-0070-4205-b636-a85d593cfa99");
|
|
8
8
|
} catch {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "743837e7-93f1-4f1c-aefc-675d73ee4f63", e._sentryDebugIdIdentifier = "sentry-dbid-743837e7-93f1-4f1c-aefc-675d73ee4f63");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
function t(e, t) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "25e6706b-24cf-44a2-9bff-bbc0439f015c", e._sentryDebugIdIdentifier = "sentry-dbid-25e6706b-24cf-44a2-9bff-bbc0439f015c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./react-dom-
|
|
13
|
-
import { O as i, T as a, g as o, l as s, s as c, u as l, y as u } from "./flex-
|
|
14
|
-
import { i as d, n as f, o as p, r as m, s as h } from "./dist-
|
|
15
|
-
import { _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as ee, u as te, v as ne } from "./theme-
|
|
16
|
-
import { t as M } from "./dist-
|
|
17
|
-
import { t as N } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iavSqS3n.js";
|
|
12
|
+
import { t as r } from "./react-dom-6jF-UVR3.js";
|
|
13
|
+
import { O as i, T as a, g as o, l as s, s as c, u as l, y as u } from "./flex-CQhKN_F2.js";
|
|
14
|
+
import { i as d, n as f, o as p, r as m, s as h } from "./dist-CL4lGmQ7.js";
|
|
15
|
+
import { _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as ee, u as te, v as ne } from "./theme-DU1fheT_.js";
|
|
16
|
+
import { t as M } from "./dist-DXvqqBfz.js";
|
|
17
|
+
import { t as N } from "./classnames-B_d2JNXt.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
|
|
19
19
|
var P = /* @__PURE__ */ e(t(), 1);
|
|
20
20
|
function re(e, [t, n]) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b6ee49c-19c3-4811-99e0-0515eca1da1f", e._sentryDebugIdIdentifier = "sentry-dbid-8b6ee49c-19c3-4811-99e0-0515eca1da1f");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./adopt-global-settings-
|
|
9
|
+
import "./adopt-global-settings-CUq7CaWO.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ca552457-b813-4b63-90ef-427597ab621b", e._sentryDebugIdIdentifier = "sentry-dbid-ca552457-b813-4b63-90ef-427597ab621b");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { c as r, l as i, t as a, u as o, y as s } from "./flex-
|
|
13
|
-
import { t as c } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iavSqS3n.js";
|
|
12
|
+
import { c as r, l as i, t as a, u as o, y as s } from "./flex-CQhKN_F2.js";
|
|
13
|
+
import { t as c } from "./classnames-B_d2JNXt.js";
|
|
14
14
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._5ea800d4e947acedb1fa1275f1697b17/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js
|
|
15
15
|
var l = /* @__PURE__ */ e(t()), u = /* @__PURE__ */ e(c()), d = {
|
|
16
16
|
orientation: {
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8f2af3fb-ec5c-4e5a-8349-8e1e3e4227ad", e._sentryDebugIdIdentifier = "sentry-dbid-8f2af3fb-ec5c-4e5a-8349-8e1e3e4227ad");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { A as n, B as r, C as i, F as a, G as o, H as s, I as c, J as l, L as u, U as d, V as f, W as p, Z as m, _ as h, a as g, at as _, c as v, d as y, dt as b, f as x, h as S, j as C, k as w, l as T, m as E, n as D, ot as O, p as k, q as ee, rt as te, s as A, st as ne, t as re, tt as ie, ut as ae, v as j, y as oe, z as se, zt as ce } from "./i18n-
|
|
12
|
-
import { s as le } from "./efp-debug-init-
|
|
13
|
-
import { t as ue } from "./react-
|
|
14
|
-
import { t as de } from "./jsx-runtime-
|
|
15
|
-
import { n as fe, r as M, t as pe } from "./loadImage-
|
|
16
|
-
import { t as me } from "./is-webview-
|
|
17
|
-
import { t as he } from "./scheduler-
|
|
18
|
-
import { $ as ge, $t as _e, A as ve, At as ye, B as be, Bt as xe, C as Se, Ct as Ce, D as we, Dt as Te, E as Ee, Et as De, F as Oe, Ft as ke, G as Ae, Gt as je, H as Me, Ht as Ne, I as Pe, It as Fe, J as Ie, Jt as Le, K as Re, Kt as ze, L as Be, Lt as Ve, M as He, Mt as Ue, N as We, Nt as Ge, O as Ke, Ot as qe, P as Je, Pt as Ye, Q as Xe, Qt as N, R as Ze, Rt as Qe, S as $e, St as et, T as tt, Tt as nt, U as rt, Ut as it, V as at, Vt as ot, W as st, Wt as ct, X as lt, Xt as ut, Y as dt, Yt as ft, Z as pt, Zt as mt, _ as ht, _t as gt, a as _t, an as vt, at as yt, b as bt, bt as xt, cn as St, ct as Ct, d as wt, dn as Tt, dt as Et, en as Dt, et as Ot, f as kt, fn as At, ft as jt, g as Mt, gt as Nt, h as Pt, ht as Ft, i as It, in as Lt, it as Rt, j as zt, jt as Bt, k as Vt, kt as Ht, l as Ut, ln as Wt, lt as Gt, m as Kt, mn as qt, mt as Jt, nn as Yt, nt as Xt, o as Zt, on as Qt, ot as $t, p as en, pn as tn, pt as nn, q as rn, qt as an, r as on, rn as sn, rt as cn, s as ln, sn as un, st as dn, tn as fn, tt as pn, u as mn, un as P, ut as hn, v as gn, vt as _n, w as vn, wt as yn, x as bn, xt as xn, y as Sn, yt as Cn, z as wn, zt as Tn } from "./debug-context-
|
|
19
|
-
import { t as En } from "./classnames-
|
|
20
|
-
import { t as Dn } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-k8xrJES4.js";
|
|
11
|
+
import { A as n, B as r, C as i, F as a, G as o, H as s, I as c, J as l, L as u, U as d, V as f, W as p, Z as m, _ as h, a as g, at as _, c as v, d as y, dt as b, f as x, h as S, j as C, k as w, l as T, m as E, n as D, ot as O, p as k, q as ee, rt as te, s as A, st as ne, t as re, tt as ie, ut as ae, v as j, y as oe, z as se, zt as ce } from "./i18n-BhKie60p.js";
|
|
12
|
+
import { s as le } from "./efp-debug-init-qLhKaNXN.js";
|
|
13
|
+
import { t as ue } from "./react-Brvhg-xh.js";
|
|
14
|
+
import { t as de } from "./jsx-runtime-iavSqS3n.js";
|
|
15
|
+
import { n as fe, r as M, t as pe } from "./loadImage-DW14-NrZ.js";
|
|
16
|
+
import { t as me } from "./is-webview-95gKBmNA.js";
|
|
17
|
+
import { t as he } from "./scheduler-C87k6FXk.js";
|
|
18
|
+
import { $ as ge, $t as _e, A as ve, At as ye, B as be, Bt as xe, C as Se, Ct as Ce, D as we, Dt as Te, E as Ee, Et as De, F as Oe, Ft as ke, G as Ae, Gt as je, H as Me, Ht as Ne, I as Pe, It as Fe, J as Ie, Jt as Le, K as Re, Kt as ze, L as Be, Lt as Ve, M as He, Mt as Ue, N as We, Nt as Ge, O as Ke, Ot as qe, P as Je, Pt as Ye, Q as Xe, Qt as N, R as Ze, Rt as Qe, S as $e, St as et, T as tt, Tt as nt, U as rt, Ut as it, V as at, Vt as ot, W as st, Wt as ct, X as lt, Xt as ut, Y as dt, Yt as ft, Z as pt, Zt as mt, _ as ht, _t as gt, a as _t, an as vt, at as yt, b as bt, bt as xt, cn as St, ct as Ct, d as wt, dn as Tt, dt as Et, en as Dt, et as Ot, f as kt, fn as At, ft as jt, g as Mt, gt as Nt, h as Pt, ht as Ft, i as It, in as Lt, it as Rt, j as zt, jt as Bt, k as Vt, kt as Ht, l as Ut, ln as Wt, lt as Gt, m as Kt, mn as qt, mt as Jt, nn as Yt, nt as Xt, o as Zt, on as Qt, ot as $t, p as en, pn as tn, pt as nn, q as rn, qt as an, r as on, rn as sn, rt as cn, s as ln, sn as un, st as dn, tn as fn, tt as pn, u as mn, un as P, ut as hn, v as gn, vt as _n, w as vn, wt as yn, x as bn, xt as xn, y as Sn, yt as Cn, z as wn, zt as Tn } from "./debug-context-DcVFe_Lc.js";
|
|
19
|
+
import { t as En } from "./classnames-B_d2JNXt.js";
|
|
20
|
+
import { t as Dn } from "./Button-Zxrsl7_L.js";
|
|
21
21
|
//#region ../../node_modules/.pnpm/resize-observer@1.0.4/node_modules/resize-observer/lib/ContentRect.js
|
|
22
22
|
var On = /* @__PURE__ */ t(((e) => {
|
|
23
23
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ContentRect = function(e) {
|
|
@@ -10173,12 +10173,12 @@ function Iv(e) {
|
|
|
10173
10173
|
}
|
|
10174
10174
|
var Lv = !1, Rv;
|
|
10175
10175
|
function zv() {
|
|
10176
|
-
return Rv != null || (Rv = import("./DebugTools-
|
|
10176
|
+
return Rv != null || (Rv = import("./DebugTools-DVIQiwOF.js")), Rv;
|
|
10177
10177
|
}
|
|
10178
10178
|
async function Bv() {
|
|
10179
10179
|
await zv();
|
|
10180
10180
|
}
|
|
10181
|
-
var Vv = (0, F.lazy)(() => import("./DebugTools-
|
|
10181
|
+
var Vv = (0, F.lazy)(() => import("./DebugTools-DVIQiwOF.js").then((e) => ({ default: e.DebugTools })));
|
|
10182
10182
|
function Hv(e) {
|
|
10183
10183
|
let t = (0, H.c)(7), n, r, i;
|
|
10184
10184
|
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({debugEnabled: i, children: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i), i && (0, F.use)(zv());
|
|
@@ -23716,7 +23716,7 @@ var cF = (iF = class {
|
|
|
23716
23716
|
}
|
|
23717
23717
|
async buildEngine() {
|
|
23718
23718
|
try {
|
|
23719
|
-
let { default: e } = await import("./fuse-
|
|
23719
|
+
let { default: e } = await import("./fuse-DIFfBV5K.js").then((e) => e.n);
|
|
23720
23720
|
oe(() => {
|
|
23721
23721
|
this.engine = new e([], {
|
|
23722
23722
|
keys: this.keys,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "edf52ee9-f3a6-424f-a5ff-f0c8342333ab", e._sentryDebugIdIdentifier = "sentry-dbid-edf52ee9-f3a6-424f-a5ff-f0c8342333ab");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-iavSqS3n.js";
|
|
10
|
+
import { t } from "./settings-item-uJSoUoiz.js";
|
|
11
|
+
import { t as n } from "./text-field-CFNebSVw.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b57a1337-f6ba-488a-8e6f-60f9358b45a2", e._sentryDebugIdIdentifier = "sentry-dbid-b57a1337-f6ba-488a-8e6f-60f9358b45a2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex-
|
|
12
|
-
import { t as l } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
|
+
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex-CQhKN_F2.js";
|
|
12
|
+
import { t as l } from "./classnames-B_d2JNXt.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._5ea800d4e947acedb1fa1275f1697b17/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
14
14
|
var u = /* @__PURE__ */ e(t()), d = /* @__PURE__ */ e(l()), f = {
|
|
15
15
|
size: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f5429b84-6f5b-4b20-898f-e5345902ef44", e._sentryDebugIdIdentifier = "sentry-dbid-f5429b84-6f5b-4b20-898f-e5345902ef44");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./react-dom-
|
|
13
|
-
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-
|
|
14
|
-
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-
|
|
15
|
-
import { t as y } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iavSqS3n.js";
|
|
12
|
+
import { t as r } from "./react-dom-6jF-UVR3.js";
|
|
13
|
+
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-CQhKN_F2.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-CL4lGmQ7.js";
|
|
15
|
+
import { t as y } from "./classnames-B_d2JNXt.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.17__@ty_cffccd7838985066e8e1d993b5cb6017/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
17
|
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
18
|
position: "absolute",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cbb5c555-77ff-4375-8420-80c8ae476dcf", e._sentryDebugIdIdentifier = "sentry-dbid-cbb5c555-77ff-4375-8420-80c8ae476dcf");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, i as n, s as r } from "./efp-debug-init-
|
|
11
|
-
import { a as i, i as a } from "./adopt-global-settings-
|
|
12
|
-
import { t as o } from "./jsx-runtime-
|
|
13
|
-
import "./settings-
|
|
14
|
-
import { t as s } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { a as t, i as n, s as r } from "./efp-debug-init-qLhKaNXN.js";
|
|
11
|
+
import { a as i, i as a } from "./adopt-global-settings-CUq7CaWO.js";
|
|
12
|
+
import { t as o } from "./jsx-runtime-iavSqS3n.js";
|
|
13
|
+
import "./settings-CR-KWdwH.js";
|
|
14
|
+
import { t as s } from "./add-debug-secret-listener-Do7AJQ-B.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var c = /* @__PURE__ */ e(r(), 1), l = o(), u = !1;
|
|
17
17
|
function d() {
|
|
@@ -26,7 +26,7 @@ function d() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let o = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-C0sCYhBI.js"), { createRoot: i } = await import("./client-Bi66nh-4.js").then((t) => /* @__PURE__ */ e(t.t(), 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, l.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7407e64e-4c4e-4bfb-b2ef-80063ad22998", e._sentryDebugIdIdentifier = "sentry-dbid-7407e64e-4c4e-4bfb-b2ef-80063ad22998");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { l as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-k8xrJES4.js";
|
|
10
|
+
import { t } from "./react-Brvhg-xh.js";
|
|
11
|
+
import { l as n } from "./store-NHdnYbrz.js";
|
|
12
12
|
//#region ../ui/src/shared/activeElement.ts
|
|
13
13
|
var r = (e) => !!e && "activeElement" in e;
|
|
14
14
|
function i(e) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.31.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.31.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "30d5a1aa-2d79-4710-91d1-937109f43b1a", e._sentryDebugIdIdentifier = "sentry-dbid-30d5a1aa-2d79-4710-91d1-937109f43b1a");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { c as e, vt as t } from "./store-
|
|
9
|
+
import { c as e, vt as t } from "./store-NHdnYbrz.js";
|
|
10
10
|
//#region src/components/Map/viewport.ts
|
|
11
11
|
function n(e) {
|
|
12
12
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{degToRad as
|
|
1
|
+
import{degToRad as Me,lineAngle as ae,pointDistance as le}from"@expofp/geometry";import{update as W}from"@expofp/renderer";import{useEffect as Le,useRef as R}from"react";import{getBounds as k}from"../../../engine/canvases";import Re from"../../../tools/base-runtime-url";import{loadImage as Se}from"../../../utils/loadImage";import{mapCamera as ue}from"../camera";import{createImageCanvas as be}from"../drawing/config/canvases";import{getRouteLayerRegex as ve,getRouteStopLayerRegex as Te,TRAFFIC_VEHICLES as te}from"./trafficLayers";import{UpdateQueue as Ae}from"./UpdateQueue";const ne=2,Fe=ne*3.5,Z=ne*12,de=Z*.7,Pe=8,Ce="transport_locations",_e=150,Ne="#a4aab6",he=1e3,De=2e4,fe=500;export function useManageTraffic({permission:t,scene:r,dataJsonUrl:n,websocketUrl:a}){const e=R(window.devicePixelRatio),s=R(new Map),o=R(new Map),c=R(null),w=R(null),d=R(0),M=R(1),T=R(new Ae),S=R(new Map),x=R(he),f=R(new Map),p=R(void 0);Le(()=>{if(!t||!r)return;let l=!1,P;const b=r.rootLayer.children,g=o.current,y=s.current,I=T.current;async function ye(){try{let u;try{const i=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(!i.ok||i.status===204)return;u=await i.json()}catch(i){console.warn("useManageTraffic failed to get JSON",i)}if(!u||u.disabled||u.error)return;e.current=ge(ue()?.state().pixelSize??window.devicePixelRatio);const N=new Map(u.routes.map(({id:i,color:m})=>[i,m])),Y=new Map;N.forEach(i=>{Y.set(i,Ve({radius:Fe,color:i,scale:window.devicePixelRatio}))});const $=ve(),z=b.filter(i=>$.test(i.name)),G=Te(),U=b.filter(i=>G.test(i.name));u.routes.slice(0,z.length).forEach(({id:i,color:m,path:h,stops:B,hiddenPoints:L},Q)=>{S.current.set(i,h);const E=z[Q];if(E){const O=new Map(L?.map(C=>[ce(C),C])??[]);for(let C=1;C<h.length;C++){const v=h[C-1],V=h[C];O.has(ce(v))||O.has(ce(V))||E.children.push({points:{p0:v,p1:V},color:m,width:ne})}E.children.length&&I.add(()=>W(E))}const A=U[Q],F=Y.get(m);A&&F&&B?.length&&(B.forEach(O=>{A.children.push({source:F,bounds:k(O.x,O.y,F.width,F.height,e.current)})}),A.children.length&&I.add(()=>W(A)))});const D=b.find(i=>i.name===te);if(!D){console.warn(`useManageTraffic: the scene has no "${te}" layer`);return}const j=new Map;D.onScale=({pixelSize:i})=>{e.current=ge(i);const m=[];for(const h of U){const B=h.children;for(const L of B)L.bounds=k(L.bounds.center.x,L.bounds.center.y,L.source.width,L.source.height,e.current,L.bounds.rotation),m.push(L)}for(const h of s.current.values())h.bounds=k(h.bounds.center.x,h.bounds.center.y,h.source.width,h.source.height,e.current,h.bounds.rotation),m.push(h);return m},I.add(()=>W(D)),N.forEach((i,m)=>{j.set(m,me({id:m,width:Z,height:Z,color:i,scale:window.devicePixelRatio}))});const xe=me({id:"orphan",width:Z,height:Z,color:Ne,scale:window.devicePixelRatio});let q=null;try{const i=await Se(`${Re}icons/bus-white.svg`);q=be(i,de,de,window.devicePixelRatio)}catch(i){console.error(i)}w.current=i=>{try{const m=JSON.parse(i.data);if(m.type!==Ce)return;const h=i.timeStamp||performance.now();M.current=Math.round(h-d.current),d.current=h;const B=Math.max(M.current??fe,fe),L=D.children;let Q=!1;m.data.forEach(({id:E,x:A,y:F,route_id:O,hidden:C})=>{g.has(E)&&(g.get(E)?.(),g.delete(E));const v=y.get(E),V=y.get(re(E))??null;if(C&&v&&V){v.hidden=!0,V.hidden=!0,I.add(()=>W(v,V));return}if(f.current.set(E,performance.now()),!v){const H=j.get(O)??xe,_={source:H,bounds:k(A,F,H.width,H.height,e.current,0)};if(y.set(E,_),q){const X=re(E),ie={source:q,bounds:k(A,F,q.width,q.height,e.current,0)};q.setAttribute("id",X),y.set(X,ie),L.push(_,ie)}else L.push(_);Q=!0;return}const Ee=v.bounds.center,ee=We(Ee,{x:A,y:F},S.current.get(O));if(ee.reduce((H,_,X)=>X===0?H:H+oe(ee[X-1],_),0)>=_e||document.hidden)we({updateQueue:I,vehicle:v,vehicleFinery:V,x:A,y:F,scale:e.current,angle:Oe(v.bounds.center,{x:A,y:F})});else{const H=ke(ee,B,_=>{we({updateQueue:I,vehicle:v,vehicleFinery:V,x:_.x,y:_.y,scale:e.current,angle:_.angle})});g.set(E,H)}}),Q&&I.add(()=>W(D))}catch(m){console.error("handleSocketMessage",m)}},d.current=performance.now(),K(),window.addEventListener("online",se),Ie(u.config?(Number(u.config.vehicle_inactive_interval)||20)*1e3:De)}catch(u){console.warn(u)}}ye();function K(){l||c.current?.readyState===WebSocket.OPEN||c.current?.readyState===WebSocket.CONNECTING||(c.current=new WebSocket(a),c.current.onmessage=w.current,c.current.onopen=()=>{x.current=he},c.current.onclose=()=>{if(l||!navigator.onLine)return;P=window.setTimeout(K,x.current);const u=3e4;x.current=Math.min(x.current*2,u)})}function se(){K()}function Ie(u){clearInterval(p.current),p.current=window.setInterval(()=>{const N=performance.now(),Y=[],$=[];f.current.forEach((z,G)=>{if(N-z<u)return;const U=y.get(G);U&&(U.hidden=!0,$.push(U),Y.push(G));const D=re(G),j=y.get(D);j&&(j.hidden=!0,$.push(j),Y.push(D))}),$.length&&I.add(()=>W(...$)),Y.forEach(z=>f.current.delete(z))},u)}return()=>{l=!0,clearTimeout(P),c.current?.close(),c.current=null;const u=b.find(N=>N.name===te);u&&(u.onScale=void 0),g.forEach(N=>N?.()),g.clear(),y.clear(),I.destroy(),window.removeEventListener("online",se),clearInterval(p.current)}},[t,r,n,a])}function ge(t){return Math.min(t||window.devicePixelRatio,Pe)}function Oe(t,r){return ae(t,r)}function Ve({radius:t,scale:r,color:n}){const a=document.createElement("canvas"),e=a.getContext("2d");e.imageSmoothingEnabled=!1;const s=Math.ceil(t*2*r),o=s/2,c=t*.78,w=t*.33;return a.width=s,a.height=s,e.translate(o,o),e.scale(r,r),e.beginPath(),e.arc(0,0,t,0,2*Math.PI),e.fillStyle="#FFFFFF",e.fill(),e.beginPath(),e.arc(0,0,c,0,2*Math.PI),e.fillStyle=n,e.fill(),e.beginPath(),e.arc(0,0,w,0,2*Math.PI),e.fillStyle="#FFFFFF",e.fill(),a}function me({id:t,width:r,height:n,color:a,scale:e}){const s=2*e,o=r/2*e,c=n*e,w=.6,d=.01,M=c*w,T=c,S=8*e,x=T+s+M/2+S*2,f=o*2+M+s+S*2,p=document.createElement("canvas");p.setAttribute("id",t),p.width=x,p.height=f;const l=p.getContext("2d"),P=x/2,b=f/2;l.save(),l.translate(P,b),l.rotate(-Math.PI/2),l.translate(-P,-b);const g=P,y=b-T/2+o,I=y+M;return l.shadowColor="rgba(16, 24, 40, 0.2)",l.shadowBlur=S/2,l.beginPath(),l.arc(g,y,o,Math.PI,0,!1),l.bezierCurveTo(g+o,y+c*.3,g+d*o,I,g,I),l.bezierCurveTo(g-d*o,I,g-o,y+c*.3,g-o,y),l.closePath(),l.fillStyle=a,l.fill(),l.strokeStyle="#FFFFFF",l.lineWidth=s,l.stroke(),l.restore(),p}function oe(t,r){return le(t,r)}function re(t){return`${t}_finery`}function we({updateQueue:t,vehicle:r,vehicleFinery:n,x:a,y:e,scale:s,angle:o}){if(r.bounds=k(a,e,r.source.width,r.source.height,s,o),r.hidden=!1,n){const c=ue()?.state().roll??0;n.bounds=k(a,e,n.source.width,n.source.height,s,Me(c)),n.hidden=!1,t.add(()=>W(n,r))}else t.add(()=>W(r))}function J(t,r,n){return{x:t.x+(r.x-t.x)*n,y:t.y+(r.y-t.y)*n}}function pe(t,r){let n=1/0,a={index:0,t:0};for(let e=0;e<r.length-1;e++){const s=r[e],o=r[e+1],c=o.x-s.x,w=o.y-s.y,d=c*c+w*w,M=d?((t.x-s.x)*c+(t.y-s.y)*w)/d:0,T=Math.max(0,Math.min(1,M)),S=J(s,o,T),x=oe(t,S);x<n&&(n=x,a={index:e,t:T})}return a}function He(t,r,n){const a=oe(t,r),e=Math.max(2,Math.ceil(a/n)+1),s=[];for(let o=0;o<e;o++){const c=o/(e-1),w=J(t,r,c);s.push(w)}return s}function We(t,r,n){if(!n||!n.length)return He(t,r,10);const a=pe(t,n),e=pe(r,n),s=[],o=c=>s.push(c);a.index+1<n.length?o(J(n[a.index],n[a.index+1],a.t)):o(n[a.index]);for(let c=a.index+1;c<=e.index&&c<n.length;c++)o(n[c]);return e.index+1<n.length?o(J(n[e.index],n[e.index+1],e.t)):o(n[e.index]),s}function ke(t,r,n,a){if(t.length<2)return()=>{};let e=null,s;const o=[];let c=0;for(let d=0;d<t.length-1;d++){const M=le(t[d],t[d+1]);o.push(M),c+=M}const w=d=>{e||(e=d);const M=d-e,T=Math.min(M/r,1),S=T*c;let x=0,f=0;for(;f<o.length&&x+o[f]<S;)x+=o[f],f++;f>=o.length&&(f=o.length-1);const p=t[f],l=t[Math.min(f+1,t.length-1)],P=o[f]||0,b=P===0?0:(S-x)/P,g=p.x+(l.x-p.x)*b,y=p.y+(l.y-p.y)*b,I=ae(p,l);n({x:g,y,angle:I}),T<1?s=requestAnimationFrame(w):a&&a()};return s=requestAnimationFrame(w),()=>{s&&cancelAnimationFrame(s)}}function ce(t){return`${t.x},${t.y}`}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"tslib": "^2.3.0",
|
|
70
70
|
"uuid": "^9.0.1",
|
|
71
71
|
"zod": "4.4.3",
|
|
72
|
-
"@expofp/config": "3.31.
|
|
73
|
-
"@expofp/debug": "3.31.
|
|
74
|
-
"@expofp/geometry": "3.31.
|
|
75
|
-
"@expofp/renderer": "3.31.
|
|
76
|
-
"@expofp/resolve": "3.31.
|
|
77
|
-
"@expofp/schema": "3.31.
|
|
78
|
-
"@expofp/ui": "3.31.
|
|
79
|
-
"@expofp/utils": "3.31.
|
|
80
|
-
"@expofp/wayfinding": "3.31.
|
|
72
|
+
"@expofp/config": "3.31.1",
|
|
73
|
+
"@expofp/debug": "3.31.1",
|
|
74
|
+
"@expofp/geometry": "3.31.1",
|
|
75
|
+
"@expofp/renderer": "3.31.1",
|
|
76
|
+
"@expofp/resolve": "3.31.1",
|
|
77
|
+
"@expofp/schema": "3.31.1",
|
|
78
|
+
"@expofp/ui": "3.31.1",
|
|
79
|
+
"@expofp/utils": "3.31.1",
|
|
80
|
+
"@expofp/wayfinding": "3.31.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|