@expofp/floorplan 3.1.11 → 3.1.13
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/{CookieConsent-Bs5ucqBa.js → CookieConsent-Bw3oK-p1.js} +31 -31
- package/dist/browser/{Debug-C8zXaOQ-.js → Debug-cM5zeZ84.js} +7 -7
- package/dist/browser/{Demo-CBntvasr.js → Demo-ZB-Jl9mj.js} +9 -9
- package/dist/browser/{Free-DDAQUGLK.js → Free-BaILsghL.js} +9 -9
- package/dist/browser/{Gallery-BYf1hclE.js → Gallery-Buc865iX.js} +9 -9
- package/dist/browser/{GpsLoader-AJ4FDBfj.js → GpsLoader-C-OlR79z.js} +9 -9
- package/dist/browser/{KioskStore-De6MZnq8.js → KioskStore-CVRSdBbM.js} +4 -4
- package/dist/browser/{Mapbox-6MbV5XTC.js → Mapbox-prEgeqtQ.js} +9 -9
- package/dist/browser/{SetKioskMode-DzTmL7dF.js → SetKioskMode-TNLvZAWm.js} +8 -8
- package/dist/browser/{ShowKiosk-D6ty-DC1.js → ShowKiosk-CnnLBsr0.js} +10 -10
- package/dist/browser/{ThreeComponent-6dDP0cL4.js → ThreeComponent-BORSPsAL.js} +10 -10
- package/dist/browser/{TouchHand-9lKmFZm3.js → TouchHand-By609eDM.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Bgj7ZcUp.js → ViewerMenuPanel-Bken9w9L.js} +8 -8
- package/dist/browser/{add-debug-secret-listener-CtRdQAeb.js → add-debug-secret-listener-Cogpdw0z.js} +1 -1
- package/dist/browser/{boolean-editor-4pajiMeV.js → boolean-editor-C8yOM6gc.js} +29 -37
- package/dist/browser/{bootIntercom--lmhXZcc.js → bootIntercom-CoTIFNrp.js} +1 -1
- package/dist/browser/{flex.props-Bs3WbN0L.js → box-CDTEWyhk.js} +67 -169
- package/dist/browser/{browser-DSCQwWVz.js → browser-i2x06Taw.js} +2 -2
- package/dist/browser/bundle.json +60 -51
- package/dist/browser/{classnames-CcCHrnC7.js → classnames-Cd3n4YpU.js} +2 -2
- package/dist/browser/{client-BwMMq2gN.js → client-C764iZSN.js} +5 -5
- package/dist/browser/{data-C2JhNfpX.js → data-Cr4kCufX.js} +4 -4
- package/dist/browser/{debug-overlay-D9M72RHk.js → debug-overlay-BTiy7adc.js} +537 -3317
- package/dist/browser/{debug-ui-BjiScWgt.js → debug-ui-1B-O-gkR.js} +7 -7
- package/dist/browser/{dist-B4Ls2Reo.js → dist-BkTYDcWj.js} +6 -6
- package/dist/browser/dist-DQ2_5GNh.js +21 -0
- package/dist/browser/{flex-B3pACuen.js → dist-KUfLT3TG.js} +64 -76
- package/dist/browser/{efp-debug-init-DLAkhXJh.js → efp-debug-init-BgUJd85n.js} +3 -3
- package/dist/browser/enum-editor-sNO1uQI8.js +1381 -0
- package/dist/browser/{exports-CpjQ1I87.js → exports-C7rHdUj-.js} +1 -1
- package/dist/browser/{favicon-tdSTAren.js → favicon-B_zFwxxh.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BALfDznX.js → fetch-retry.umd-0dNy8QW_.js} +2 -2
- package/dist/browser/flex-CqjtImsX.js +25 -0
- package/dist/browser/flex.props-nEtxNVS6.js +112 -0
- package/dist/browser/{floorplan.loader-yEBPdngv.js → floorplan.loader-D79yVyYt.js} +9 -9
- package/dist/browser/{floorplan.ready-BEN5Jedx.js → floorplan.ready-DKbBmNeQ.js} +12 -12
- package/dist/browser/{fuse-CdynRHTf.js → fuse-Cp0r9jDo.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-Bv1y0BVk.js → is-debug-DukrtRMA.js} +3 -3
- package/dist/browser/{jsx-runtime-Ct9iap1Z.js → jsx-runtime-BIGAPFGy.js} +2 -2
- package/dist/browser/{lib-Dc0SmOvj.js → lib-DEQ5HkJU.js} +5 -5
- package/dist/browser/{main-Dpgu2nd_.js → main-BVC2ZP7O.js} +1 -1
- package/dist/browser/{mobx-B1KvnuiJ.js → mobx-BG_Oieyv.js} +5 -5
- package/dist/browser/{particles.min-B5DUAYMW.js → particles.min-9JyrSnxE.js} +2 -2
- package/dist/browser/{prop-types-DQZz0Vr1.js → prop-types-CfA0wnDd.js} +2 -2
- package/dist/browser/{react-DHvPFPgu.js → react-BanOPiQr.js} +2 -2
- package/dist/browser/{react-dom-CEL3EWA4.js → react-dom-8FN3trc4.js} +3 -3
- package/dist/browser/reset-all-settings-B65-H1In.js +146 -0
- package/dist/browser/{rolldown-runtime-CoUk0WTw.js → rolldown-runtime-CJulXBpQ.js} +1 -1
- package/dist/browser/settings-BF7tQpXy.js +9 -0
- package/dist/browser/{settings-item-BtpE54QR.js → settings-item-DeGIeTFU.js} +12 -12
- package/dist/browser/{store-C5h7Mbe7.js → store-CajkKGHG.js} +9 -9
- package/dist/browser/string-editor-DTh4109K.js +106 -0
- package/dist/browser/theme-CDTiXq4t.js +2803 -0
- package/dist/browser/ui-CqtN1zR0.js +47 -0
- package/package.json +3 -3
- package/dist/browser/debug-namespaces-editor-CyREJvvm.js +0 -119
- package/dist/browser/register-debug-namespaces-setting-ejRyVAc6.js +0 -27
- package/dist/browser/reset-all-settings-Dgh58agv.js +0 -15
- package/dist/browser/setting-registry-CKq7Wjjk.js +0 -12
- package/dist/browser/settings-DZLTCbh2.js +0 -70
- package/dist/browser/ui-WfB8WUuo.js +0 -36
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.1.13" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "859b3b6e-97b0-4a1c-9184-8f896e683c8b", e._sentryDebugIdIdentifier = "sentry-dbid-859b3b6e-97b0-4a1c-9184-8f896e683c8b");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CJulXBpQ.js";
|
|
10
|
+
import { i as t, r as n } from "./reset-all-settings-B65-H1In.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-BIGAPFGy.js";
|
|
12
|
+
import "./settings-BF7tQpXy.js";
|
|
13
|
+
import { t as i } from "./browser-i2x06Taw.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-Cogpdw0z.js";
|
|
15
|
+
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
|
+
var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
|
|
17
|
+
function l() {
|
|
18
|
+
if (c) return;
|
|
19
|
+
c = !0;
|
|
20
|
+
let r = t({
|
|
21
|
+
key: "efp:show-debug-button",
|
|
22
|
+
label: "Show Debug Button Overlay"
|
|
23
|
+
});
|
|
24
|
+
n({
|
|
25
|
+
key: "debug",
|
|
26
|
+
label: "Debug namespaces",
|
|
27
|
+
placeholder: "e.g. efp:*",
|
|
28
|
+
onChange: (e) => {
|
|
29
|
+
e ? o.default.enable(e) : o.default.disable();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
let i = async (t) => {
|
|
33
|
+
let { DebugUi: n } = await import("./debug-ui-1B-O-gkR.js"), { createRoot: i } = await import("./client-C764iZSN.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
34
|
+
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
|
|
35
|
+
useDebugButtonState: r.useState,
|
|
36
|
+
open: t
|
|
37
|
+
}));
|
|
38
|
+
};
|
|
39
|
+
if (r.get()) i(!1);
|
|
40
|
+
else {
|
|
41
|
+
let e = a(() => {
|
|
42
|
+
e(), r.set(!0), i(!0);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { l as renderDebugUi };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.13",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"twgl.js": "^4.14.0",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
78
|
"zod": "4.3.5",
|
|
79
|
-
"@expofp/
|
|
80
|
-
"@expofp/
|
|
79
|
+
"@expofp/debug": "3.1.13",
|
|
80
|
+
"@expofp/resolve": "3.1.13"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.1.11" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "46112b63-0dde-407b-9306-bd1e5434c696", e._sentryDebugIdIdentifier = "sentry-dbid-46112b63-0dde-407b-9306-bd1e5434c696");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CoUk0WTw.js";
|
|
10
|
-
import { t } from "./react-DHvPFPgu.js";
|
|
11
|
-
import { t as n } from "./jsx-runtime-Ct9iap1Z.js";
|
|
12
|
-
import { a as r, r as i, t as a } from "./register-debug-namespaces-setting-ejRyVAc6.js";
|
|
13
|
-
import { D as o, i as s, l as c, s as l, t as u, u as d, y as f } from "./flex.props-Bs3WbN0L.js";
|
|
14
|
-
import { t as p } from "./classnames-CcCHrnC7.js";
|
|
15
|
-
import { t as m } from "./settings-item-BtpE54QR.js";
|
|
16
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._c0b9fed6e211d5c83adcfe1ae3769049/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
17
|
-
var h = {
|
|
18
|
-
size: {
|
|
19
|
-
type: "enum",
|
|
20
|
-
className: "rt-r-size",
|
|
21
|
-
values: [
|
|
22
|
-
"1",
|
|
23
|
-
"2",
|
|
24
|
-
"3"
|
|
25
|
-
],
|
|
26
|
-
default: "2",
|
|
27
|
-
responsive: !0
|
|
28
|
-
},
|
|
29
|
-
variant: {
|
|
30
|
-
type: "enum",
|
|
31
|
-
className: "rt-variant",
|
|
32
|
-
values: [
|
|
33
|
-
"classic",
|
|
34
|
-
"surface",
|
|
35
|
-
"soft"
|
|
36
|
-
],
|
|
37
|
-
default: "surface"
|
|
38
|
-
},
|
|
39
|
-
...f,
|
|
40
|
-
...l
|
|
41
|
-
}, g = {
|
|
42
|
-
side: {
|
|
43
|
-
type: "enum",
|
|
44
|
-
values: ["left", "right"]
|
|
45
|
-
},
|
|
46
|
-
...f,
|
|
47
|
-
gap: u.gap,
|
|
48
|
-
px: s.px,
|
|
49
|
-
pl: s.pl,
|
|
50
|
-
pr: s.pr
|
|
51
|
-
}, _ = /* @__PURE__ */ e(t()), v = /* @__PURE__ */ e(p()), y = _.forwardRef((e, t) => {
|
|
52
|
-
let n = _.useRef(null), { children: r, className: i, color: a, radius: s, style: l, ...u } = d(e, h, c);
|
|
53
|
-
return _.createElement("div", {
|
|
54
|
-
"data-accent-color": a,
|
|
55
|
-
"data-radius": s,
|
|
56
|
-
style: l,
|
|
57
|
-
className: (0, v.default)("rt-TextFieldRoot", i),
|
|
58
|
-
onPointerDown: (e) => {
|
|
59
|
-
let t = e.target;
|
|
60
|
-
if (t.closest("input, button, a")) return;
|
|
61
|
-
let r = n.current;
|
|
62
|
-
if (!r) return;
|
|
63
|
-
let i = t.closest("\n .rt-TextFieldSlot[data-side='right'],\n .rt-TextFieldSlot:not([data-side='right']) ~ .rt-TextFieldSlot:not([data-side='left'])\n ") ? r.value.length : 0;
|
|
64
|
-
requestAnimationFrame(() => {
|
|
65
|
-
try {
|
|
66
|
-
r.setSelectionRange(i, i);
|
|
67
|
-
} catch {}
|
|
68
|
-
r.focus();
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}, _.createElement("input", {
|
|
72
|
-
spellCheck: "false",
|
|
73
|
-
...u,
|
|
74
|
-
ref: o(n, t),
|
|
75
|
-
className: "rt-reset rt-TextFieldInput"
|
|
76
|
-
}), r);
|
|
77
|
-
});
|
|
78
|
-
y.displayName = "TextField.Root";
|
|
79
|
-
var b = _.forwardRef((e, t) => {
|
|
80
|
-
let { className: n, color: r, side: i, ...a } = d(e, g);
|
|
81
|
-
return _.createElement("div", {
|
|
82
|
-
"data-accent-color": r,
|
|
83
|
-
"data-side": i,
|
|
84
|
-
...a,
|
|
85
|
-
ref: t,
|
|
86
|
-
className: (0, v.default)("rt-TextFieldSlot", n)
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
b.displayName = "TextField.Slot";
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region ../debug/src/lib/ui/debug-namespaces-editor.tsx
|
|
92
|
-
var x = n(), S = () => {
|
|
93
|
-
let [e, t] = (0, _.useState)(i);
|
|
94
|
-
return (0, _.useEffect)(() => {
|
|
95
|
-
let e = () => t(i()), n = (t) => {
|
|
96
|
-
let n = t.detail;
|
|
97
|
-
(n == null ? void 0 : n.key) === "debug" && e();
|
|
98
|
-
}, r = (t) => {
|
|
99
|
-
t.key === "debug" && e();
|
|
100
|
-
};
|
|
101
|
-
return window.addEventListener("storage", r), window.addEventListener(a, n), () => {
|
|
102
|
-
window.removeEventListener("storage", r), window.removeEventListener(a, n);
|
|
103
|
-
};
|
|
104
|
-
}, []), /* @__PURE__ */ (0, x.jsx)(m, {
|
|
105
|
-
label: "Debug namespaces",
|
|
106
|
-
children: /* @__PURE__ */ (0, x.jsx)(y, {
|
|
107
|
-
placeholder: "e.g. efp:*",
|
|
108
|
-
value: e,
|
|
109
|
-
onChange: (e) => {
|
|
110
|
-
let n = e.target.value;
|
|
111
|
-
t(n), r(n);
|
|
112
|
-
},
|
|
113
|
-
style: { minWidth: 220 }
|
|
114
|
-
})
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
S.displayName = "DebugNamespacesEditor";
|
|
118
|
-
//#endregion
|
|
119
|
-
export { S as DebugNamespacesEditor };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.1.11" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9d29fe8e-1ad4-4e80-b8ac-dfb66eaf4255", e._sentryDebugIdIdentifier = "sentry-dbid-9d29fe8e-1ad4-4e80-b8ac-dfb66eaf4255");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CoUk0WTw.js";
|
|
10
|
-
import { t } from "./react-DHvPFPgu.js";
|
|
11
|
-
import { n, t as r } from "./setting-registry-CKq7Wjjk.js";
|
|
12
|
-
import { t as i } from "./browser-DSCQwWVz.js";
|
|
13
|
-
//#region ../debug/src/lib/settings/register-debug-namespaces-setting.ts
|
|
14
|
-
var a = /* @__PURE__ */ e(i(), 1), o = /* @__PURE__ */ e(t(), 1), s = "debug", c = "efp-local-storage";
|
|
15
|
-
function l() {
|
|
16
|
-
let e = o.lazy(() => import("./debug-namespaces-editor-CyREJvvm.js").then((e) => ({ default: e.DebugNamespacesEditor })));
|
|
17
|
-
n.push(() => d("")), r.push(e);
|
|
18
|
-
}
|
|
19
|
-
function u() {
|
|
20
|
-
var e;
|
|
21
|
-
return (e = localStorage.getItem("debug")) == null ? "" : e;
|
|
22
|
-
}
|
|
23
|
-
function d(e) {
|
|
24
|
-
e ? (localStorage.setItem(s, e), a.default.enable(e)) : (localStorage.removeItem(s), a.default.disable()), window.dispatchEvent(new CustomEvent(c, { detail: { key: s } }));
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { d as a, l as i, s as n, u as r, c as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.1.11" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b100b2a7-e232-4748-ad42-d0c25602d7c4", e._sentryDebugIdIdentifier = "sentry-dbid-b100b2a7-e232-4748-ad42-d0c25602d7c4");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { n as e } from "./setting-registry-CKq7Wjjk.js";
|
|
10
|
-
//#region ../debug/src/lib/settings/reset-all-settings.ts
|
|
11
|
-
function t() {
|
|
12
|
-
e.forEach((e) => e());
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { t };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region ../debug/src/lib/settings/setting-registry.ts
|
|
2
|
-
(function() {
|
|
3
|
-
try {
|
|
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.1.11" };
|
|
6
|
-
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a513b8c-8ae9-4904-977e-1953c260eb9e", e._sentryDebugIdIdentifier = "sentry-dbid-4a513b8c-8ae9-4904-977e-1953c260eb9e");
|
|
8
|
-
} catch {}
|
|
9
|
-
})();
|
|
10
|
-
var e = [], t = [];
|
|
11
|
-
//#endregion
|
|
12
|
-
export { t as n, e as t };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.1.11" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f07c6198-190b-48b7-8e39-d4ab97e69436", e._sentryDebugIdIdentifier = "sentry-dbid-f07c6198-190b-48b7-8e39-d4ab97e69436");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CoUk0WTw.js";
|
|
10
|
-
import { t } from "./react-DHvPFPgu.js";
|
|
11
|
-
import { n, t as r } from "./setting-registry-CKq7Wjjk.js";
|
|
12
|
-
import { t as i } from "./jsx-runtime-Ct9iap1Z.js";
|
|
13
|
-
import "./register-debug-namespaces-setting-ejRyVAc6.js";
|
|
14
|
-
//#region ../debug/src/lib/settings/register-setting.tsx
|
|
15
|
-
var a = /* @__PURE__ */ e(t(), 1), o = i(), s = "efp-local-storage";
|
|
16
|
-
function c(e, t, i, c) {
|
|
17
|
-
let d = `efp-debug-setting-"${e}"`, f = () => l(localStorage.getItem(d), t), p = (e) => {
|
|
18
|
-
localStorage.setItem(d, JSON.stringify(e)), u(d);
|
|
19
|
-
}, m = () => {
|
|
20
|
-
localStorage.removeItem(d), u(d);
|
|
21
|
-
};
|
|
22
|
-
n.push(m);
|
|
23
|
-
function h() {
|
|
24
|
-
let [e, t] = (0, a.useState)(f());
|
|
25
|
-
return (0, a.useEffect)(() => {
|
|
26
|
-
let e = () => t(f()), n = (t) => {
|
|
27
|
-
t.key === d && e();
|
|
28
|
-
}, r = (t) => {
|
|
29
|
-
let { detail: n } = t;
|
|
30
|
-
(n == null ? void 0 : n.key) === d && e();
|
|
31
|
-
};
|
|
32
|
-
return window.addEventListener("storage", n), window.addEventListener(s, r), () => {
|
|
33
|
-
window.removeEventListener("storage", n), window.removeEventListener(s, r);
|
|
34
|
-
};
|
|
35
|
-
}, []), [e, p];
|
|
36
|
-
}
|
|
37
|
-
let g = () => {
|
|
38
|
-
let [t, n] = h();
|
|
39
|
-
return /* @__PURE__ */ (0, o.jsx)(i, {
|
|
40
|
-
label: e,
|
|
41
|
-
value: t,
|
|
42
|
-
context: c,
|
|
43
|
-
onChange: n
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
return g.displayName = `DebugSetting(${e})`, r.push(g), {
|
|
47
|
-
get: f,
|
|
48
|
-
set: p,
|
|
49
|
-
reset: m,
|
|
50
|
-
useState: h
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function l(e, t) {
|
|
54
|
-
if (e === null) return t;
|
|
55
|
-
try {
|
|
56
|
-
return JSON.parse(e);
|
|
57
|
-
} catch {
|
|
58
|
-
return t;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function u(e) {
|
|
62
|
-
window.dispatchEvent(new CustomEvent(s, { detail: { key: e } }));
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
66
|
-
function d(e) {
|
|
67
|
-
return c(e, !1, a.lazy(() => import("./boolean-editor-4pajiMeV.js").then((e) => ({ default: e.BooleanEditor }))));
|
|
68
|
-
}
|
|
69
|
-
//#endregion
|
|
70
|
-
export { d as t };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.1.11" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fd17e3f8-b126-4e1e-a40d-dded8b2f2845", e._sentryDebugIdIdentifier = "sentry-dbid-fd17e3f8-b126-4e1e-a40d-dded8b2f2845");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CoUk0WTw.js";
|
|
10
|
-
import { t } from "./jsx-runtime-Ct9iap1Z.js";
|
|
11
|
-
import { t as n } from "./settings-DZLTCbh2.js";
|
|
12
|
-
import { i as r } from "./register-debug-namespaces-setting-ejRyVAc6.js";
|
|
13
|
-
import { t as i } from "./add-debug-secret-listener-CtRdQAeb.js";
|
|
14
|
-
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
15
|
-
var a = t(), o = !1;
|
|
16
|
-
function s() {
|
|
17
|
-
if (o) return;
|
|
18
|
-
o = !0;
|
|
19
|
-
let t = n("Show Debug Button Overlay");
|
|
20
|
-
r();
|
|
21
|
-
let s = async (n) => {
|
|
22
|
-
let { DebugUi: r } = await import("./debug-ui-BjiScWgt.js"), { createRoot: i } = await import("./client-BwMMq2gN.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
|
|
23
|
-
document.body.appendChild(o), i(o).render(/* @__PURE__ */ (0, a.jsx)(r, {
|
|
24
|
-
useDebugButtonState: t.useState,
|
|
25
|
-
open: n
|
|
26
|
-
}));
|
|
27
|
-
};
|
|
28
|
-
if (t.get()) s(!1);
|
|
29
|
-
else {
|
|
30
|
-
let e = i(() => {
|
|
31
|
-
e(), t.set(!0), s(!0);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { s as renderDebugUi };
|