@expofp/floorplan 3.1.7 → 3.1.9
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-DfE_fkts.js → CookieConsent-C4eKGuNJ.js} +353 -353
- package/dist/browser/{Debug-BjYRfFht.js → Debug-BK0h3ENt.js} +13 -13
- package/dist/browser/{Demo-Dbi2jpnc.js → Demo-DKWnVx5b.js} +13 -13
- package/dist/browser/{Free-BSnZx5sK.js → Free-CJhiGdSU.js} +15 -15
- package/dist/browser/{Gallery-CXDwIc_X.js → Gallery-DMfpZoE0.js} +59 -59
- package/dist/browser/{GpsLoader-BxC0jQJL.js → GpsLoader-DS9DXlBR.js} +35 -35
- package/dist/browser/{KioskStore-Bx9njFnf.js → KioskStore-CiEM9CMf.js} +4 -4
- package/dist/browser/{Mapbox-BL4uCq3u.js → Mapbox-BBw_6HBr.js} +9 -9
- package/dist/browser/{SetKioskMode-CmUEpNr8.js → SetKioskMode-DgygnfNq.js} +8 -8
- package/dist/browser/{ShowKiosk-Dqk68IPs.js → ShowKiosk-BclMWRLG.js} +10 -10
- package/dist/browser/{ThreeComponent-Bs4fIgXe.js → ThreeComponent-CTQ2sWc-.js} +16 -16
- package/dist/browser/{TouchHand-F4RwHukr.js → TouchHand-lZlKGKGH.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Da8d4AKA.js → ViewerMenuPanel-fZCPm9TA.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-CzY7rBoG.js → add-debug-secret-listener-jHGzZuWM.js} +1 -1
- package/dist/browser/boolean-editor-DNFYN4Sx.js +158 -0
- package/dist/browser/{bootIntercom-DgAJUEEd.js → bootIntercom-DWQX7Nxl.js} +1 -1
- package/dist/browser/browser-Dpy-Cy8d.js +198 -0
- package/dist/browser/bundle.json +62 -44
- package/dist/browser/{chunk-RBEdwIRm.js → chunk-BfzSeyLK.js} +1 -1
- package/dist/browser/{classnames-qZ9_2hbn.js → classnames-BW7mCZyh.js} +2 -2
- package/dist/browser/{client-C19UpouP.js → client-Cn3Z9ang.js} +5 -5
- package/dist/browser/{data-oHqnWMYj.js → data-7hb4vDd3.js} +4 -4
- package/dist/browser/debug-namespaces-editor-CmUqG69-.js +119 -0
- package/dist/browser/{debug-overlay-BMB9VRVy.js → debug-overlay-B-e5Pbxg.js} +1468 -1264
- package/dist/browser/{debug-ui-CeUHj66R.js → debug-ui-DxiU8oSt.js} +7 -7
- package/dist/browser/{dist-DV-fRVqs.js → dist-DD4WWKtK.js} +7 -7
- package/dist/browser/{exports-BLsk2ygZ.js → exports-lQhByCca.js} +1 -1
- package/dist/browser/{favicon-DHl8ze48.js → favicon-VUxEiZxq.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BeZhMPIj.js → fetch-retry.umd-BDjT0rTs.js} +2 -2
- package/dist/browser/flex-SvJc8Gd0.js +217 -0
- package/dist/browser/{flex-BiRWYXbM.js → flex.props-DnHjeP6T.js} +165 -368
- package/dist/browser/{floorplan.loader-ic4sBsDi.js → floorplan.loader-D1izAjdW.js} +643 -643
- package/dist/browser/{floorplan.ready-DucQMO3I.js → floorplan.ready-DqeRjOqu.js} +214 -213
- package/dist/browser/{fuse-nzPqJLRF.js → fuse-ESGGgZWs.js} +2 -2
- package/dist/browser/index.js +70 -53
- package/dist/browser/{is-debug-BTIP9fyG.js → is-debug-C64aYlrH.js} +654 -838
- package/dist/browser/{jsx-runtime-C40T-D9O.js → jsx-runtime-v8j39o0i.js} +2 -2
- package/dist/browser/{lib-CviNrhqa.js → lib-DW2iYgnU.js} +5 -5
- package/dist/browser/log-store-l_zfzIvt.js +26 -0
- package/dist/browser/{main-B_zTGBSI.js → main-_sD237P5.js} +1 -1
- package/dist/browser/mobx-BWJGyD6x.js +24 -0
- package/dist/browser/{particles.min-DSPwSJ2J.js → particles.min-9AV6GYes.js} +2 -2
- package/dist/browser/{prop-types-BW7NYwOo.js → prop-types-CJoAWh1g.js} +2 -2
- package/dist/browser/{react-BrB6NhR9.js → react-DBhCWCTi.js} +2 -2
- package/dist/browser/{react-dom-D67jzu6q.js → react-dom-DRChqii1.js} +4 -4
- package/dist/browser/register-debug-namespaces-setting-Kg13ON9A.js +27 -0
- package/dist/browser/reset-all-settings-NSxrFuY5.js +15 -0
- package/dist/browser/{reset-all-settings-B4otpIDL.js → setting-registry-xuc0QrRD.js} +3 -8
- package/dist/browser/{settings-CB1rylda.js → settings-DLHiz1Aj.js} +15 -14
- package/dist/browser/settings-item-BT3bl2Bv.js +67 -0
- package/dist/browser/{store-BnxcP6Pt.js → store-BspVk_2u.js} +5294 -5290
- package/dist/browser/ui-fwuZcurI.js +36 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/load.js +1 -1
- package/dist/esm/renderer/engine-core/utils/rotation.js +1 -1
- package/package.json +3 -3
- package/dist/browser/boolean-editor-EtntC8E2.js +0 -206
- package/dist/browser/mobx-B035tRw8.js +0 -24
- package/dist/browser/src-DdXQDzCb.js +0 -19
- package/dist/browser/ui-24Jpsemb.js +0 -33
- package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +0 -2
- package/dist/esm/_misc_to_move/logBuildInfoImpl.js +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
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.9" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "36f0875c-bea7-4f23-8e16-f275e108111b", e._sentryDebugIdIdentifier = "sentry-dbid-36f0875c-bea7-4f23-8e16-f275e108111b");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./chunk-BfzSeyLK.js";
|
|
10
|
+
import { t } from "./jsx-runtime-v8j39o0i.js";
|
|
11
|
+
import { t as n } from "./settings-DLHiz1Aj.js";
|
|
12
|
+
import { i as r } from "./register-debug-namespaces-setting-Kg13ON9A.js";
|
|
13
|
+
import { t as i } from "./add-debug-secret-listener-jHGzZuWM.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-DxiU8oSt.js"), { createRoot: i } = await import("./client-Cn3Z9ang.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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function logBuildInfo(){
|
|
1
|
+
export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getLayerSvg as f}from"../../../../data/svg";import{select as h}from"d3";import{getLogoUrl as d}from"../../../../utils/getLogoUrl";import{flipImageDef as u,isInnerInsideOuter as y}from"../../../../renderer";import{SEPARATOR as w}from"../../../../constants";import{rotateImageDef as x}from"../../../../renderer/engine-core/utils/rotation";export async function loadLayersImages(t){const n=t.layerImagesRegistry.invoke();await Promise.all(n.map(async e=>{const l=await e;if(!l)return;const{layer:i,children:o}=l;if(o.length){const a=[];for(let r=0;r<o.length;r++){const{shape:s,parentRect:c}=o[r],g=y(s.bounds,c);if(!i.name.includes("Pathway_")){const m=g?"image-rotate":"image-flip";t.onRoll(`${m}-${name}-${r}`,g?p=>x(s,p):p=>u(s,p))}a.push(s)}i.children.push(...a),t.update(i)}}))}export const getImageLayerName=t=>`${t}${w}images`;export function mapBoothsLogos(t){return new Map(t.map(n=>{const e=n.rect&&n.exhibitors.find(l=>l.logoInBooth&&l.logo);return e?[n.id,{preferred:d(e.logo),fallback:e.logo}]:null}).filter(Boolean))}export function getLayerIcons(t){const n=h(f(t)).select(`[data-layer="${t.name}"]`);return(window.__fpVersion>5?n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes():n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean)}export function createBoothImg(t,n){const e=t.rect,l=e.h?e.w/e.h:1,i=n.height?n.width/n.height:1;let o,a,r;const s=.9;l>i?(a=e.h*s,o=a*i):(o=e.w*s,a=o/i);const c=t.rotate||0;i>=2&&!c&&e.h>=e.w*2?(a=e.w*s,o=a*i,r=-90):r=-c*180/Math.PI,o>e.w&&(o=e.w,a=o/i),a>e.h&&(a=e.h,o=a*i);const g=e.cx-o/2,m=e.cy-a/2;return{name:t.slug,bounds:{x:g,y:m,width:o,height:a,angle:r},htmlImage:n,booth:t}}
|
|
1
|
+
import{getLayerSvg as f}from"../../../../data/svg";import{select as h}from"d3";import{getLogoUrl as d}from"../../../../utils/getLogoUrl";import{flipImageDef as u,isInnerInsideOuter as y}from"../../../../renderer";import{SEPARATOR as w}from"../../../../constants";import{rotateImageDef as x}from"../../../../renderer/engine-core/utils/rotation";export async function loadLayersImages(t){const n=t.layerImagesRegistry.invoke();await Promise.all(n.map(async e=>{const l=await e;if(!l)return;const{layer:i,children:o}=l;if(o.length){const a=[];for(let r=0;r<o.length;r++){const{shape:s,parentRect:c}=o[r],g=y(s.bounds,c);if(!i.name.includes("Pathway_")){const m=g?"image-rotate":"image-flip";t.onRoll(`${m}-${i.name}-${r}`,g?p=>x(s,p):p=>u(s,p))}a.push(s)}i.children.push(...a),t.update(i)}}))}export const getImageLayerName=t=>`${t}${w}images`;export function mapBoothsLogos(t){return new Map(t.map(n=>{const e=n.rect&&n.exhibitors.find(l=>l.logoInBooth&&l.logo);return e?[n.id,{preferred:d(e.logo),fallback:e.logo}]:null}).filter(Boolean))}export function getLayerIcons(t){const n=h(f(t)).select(`[data-layer="${t.name}"]`);return(window.__fpVersion>5?n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes():n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean)}export function createBoothImg(t,n){const e=t.rect,l=e.h?e.w/e.h:1,i=n.height?n.width/n.height:1;let o,a,r;const s=.9;l>i?(a=e.h*s,o=a*i):(o=e.w*s,a=o/i);const c=t.rotate||0;i>=2&&!c&&e.h>=e.w*2?(a=e.w*s,o=a*i,r=-90):r=-c*180/Math.PI,o>e.w&&(o=e.w,a=o/i),a>e.h&&(a=e.h,o=a*i);const g=e.cx-o/2,m=e.cy-a/2;return{name:t.slug,bounds:{x:g,y:m,width:o,height:a,angle:r},htmlImage:n,booth:t}}
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
|
|
1
|
+
import"@expofp/debug";import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
|
package/dist/esm/load.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/
|
|
1
|
+
import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/logBuildInfo";import u from"./floorplan.loader";const f=p("efp:load");export async function load(s,t){h(),y();const n={...await c(s),...t},r=n.element;let o;if(typeof r=="string"){const i=document.querySelector(r);if(!i)throw new Error(`Element not found for selector: ${r}`);o=i}else r?o=r:(o=document.getElementById("floorplan"),o||(o=document.createElement("div"),g(o),document.body.appendChild(o)));const e=o.style;e.width=e.width||"100vw",e.height=e.height||"100vh",e.position=e.position||"fixed",!e.top&&!e.bottom&&(e.top="0"),!e.left&&!e.right&&(e.left="0"),e.touchAction=e.touchAction||"none",e.background=e.background||"#fff",e.transition=e.transition||"background-color 2s ease",e.overflow=e.overflow||"hidden",requestAnimationFrame(()=>{e.backgroundColor="#ebebeb"});const m=n.legacyDataUrlBase;if(f("legacyDataUrlBase",m),n.legacyDataVersion)try{const{version:i}=await c(n.legacyDataVersion);globalThis.__fpDataVersion=i}catch{f("Could not resolve version")}const a=new u({...n,element:o}),d=window.___fpResolve;return window.___fp=a,d&&(a.ready.then(()=>d(a)),delete window.___fpResolve),a.ready.then(()=>window.dispatchEvent(new CustomEvent("expofp:ready",{detail:{floorplan:a}}))),a}function g(s){if(!document.adoptedStyleSheets)return;const t="efp-runtime-loader-spinner",l=`
|
|
2
2
|
.${t} {
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 50%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{flipAngle as
|
|
1
|
+
import{flipAngle as h,getRotation as y,shouldFlip as u}from"../update-def";export function isInnerInsideOuter(t,n){if(!n)return!1;const o=Math.cos(n.rotation),s=Math.sin(n.rotation),i=n.size.x/2,r=n.size.y/2;return f(t,t.rotation+Math.PI/2).every(e=>{const a=e.x-n.center.x,x=e.y-n.center.y,c=a*o+x*s,d=x*o-a*s;return Math.abs(c)<=i&&Math.abs(d)<=r})}function f(t,n=t.rotation){const o=t.size.x/2,s=t.size.y/2,i=Math.sin(n),r=Math.cos(n),e=t.center.x,a=t.center.y;return[{x:-o,y:-s},{x:o,y:-s},{x:o,y:s},{x:-o,y:s}].map(c=>({x:e+c.x*r-c.y*i,y:a+c.x*i+c.y*r}))}export function flipImageDef(t,n){const o=t.bounds.rotation;return u(n,o)&&(t.bounds.rotation=h(t.bounds.rotation)),t}export function rotateImageDef(t,n){const o=y(n,t.bounds.rotation);return o!==void 0&&(t.bounds.rotation=t.bounds.rotation+o),t}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
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/resolve": "3.1.9",
|
|
80
|
+
"@expofp/debug": "3.1.9"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
@@ -1,206 +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.7" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "771a4998-bda8-45cd-9258-4be2abff98c2", e._sentryDebugIdIdentifier = "sentry-dbid-771a4998-bda8-45cd-9258-4be2abff98c2");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
-
import { t } from "./react-BrB6NhR9.js";
|
|
11
|
-
import { t as n } from "./jsx-runtime-C40T-D9O.js";
|
|
12
|
-
import { C as r, D as i, N as a, O as o, S as s, T as c, _ as l, a as u, c as d, m as f, n as p, o as m, s as h, t as g } from "./flex-BiRWYXbM.js";
|
|
13
|
-
import { t as _ } from "./classnames-qZ9_2hbn.js";
|
|
14
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
15
|
-
var v = /* @__PURE__ */ e(t(), 1);
|
|
16
|
-
function y(e) {
|
|
17
|
-
let t = v.useRef({
|
|
18
|
-
value: e,
|
|
19
|
-
previous: e
|
|
20
|
-
});
|
|
21
|
-
return v.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_7ca460f1f67ff8c5b086b59b47ac08b0/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
25
|
-
var b = n(), x = "Switch", [S, C] = i(x), [w, T] = S(x), E = v.forwardRef((e, t) => {
|
|
26
|
-
let { __scopeSwitch: n, name: i, checked: s, defaultChecked: l, required: u, disabled: d, value: f = "on", onCheckedChange: p, form: m, ...h } = e, [g, _] = v.useState(null), y = a(t, (e) => _(e)), S = v.useRef(!1), C = g ? m || !!g.closest("form") : !0, [T, E] = r({
|
|
27
|
-
prop: s,
|
|
28
|
-
defaultProp: l == null ? !1 : l,
|
|
29
|
-
onChange: p,
|
|
30
|
-
caller: x
|
|
31
|
-
});
|
|
32
|
-
return /* @__PURE__ */ (0, b.jsxs)(w, {
|
|
33
|
-
scope: n,
|
|
34
|
-
checked: T,
|
|
35
|
-
disabled: d,
|
|
36
|
-
children: [/* @__PURE__ */ (0, b.jsx)(o.button, {
|
|
37
|
-
type: "button",
|
|
38
|
-
role: "switch",
|
|
39
|
-
"aria-checked": T,
|
|
40
|
-
"aria-required": u,
|
|
41
|
-
"data-state": j(T),
|
|
42
|
-
"data-disabled": d ? "" : void 0,
|
|
43
|
-
disabled: d,
|
|
44
|
-
value: f,
|
|
45
|
-
...h,
|
|
46
|
-
ref: y,
|
|
47
|
-
onClick: c(e.onClick, (e) => {
|
|
48
|
-
E((e) => !e), C && (S.current = e.isPropagationStopped(), S.current || e.stopPropagation());
|
|
49
|
-
})
|
|
50
|
-
}), C && /* @__PURE__ */ (0, b.jsx)(A, {
|
|
51
|
-
control: g,
|
|
52
|
-
bubbles: !S.current,
|
|
53
|
-
name: i,
|
|
54
|
-
value: f,
|
|
55
|
-
checked: T,
|
|
56
|
-
required: u,
|
|
57
|
-
disabled: d,
|
|
58
|
-
form: m,
|
|
59
|
-
style: { transform: "translateX(-100%)" }
|
|
60
|
-
})]
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
E.displayName = x;
|
|
64
|
-
var D = "SwitchThumb", O = v.forwardRef((e, t) => {
|
|
65
|
-
let { __scopeSwitch: n, ...r } = e, i = T(D, n);
|
|
66
|
-
return /* @__PURE__ */ (0, b.jsx)(o.span, {
|
|
67
|
-
"data-state": j(i.checked),
|
|
68
|
-
"data-disabled": i.disabled ? "" : void 0,
|
|
69
|
-
...r,
|
|
70
|
-
ref: t
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
O.displayName = D;
|
|
74
|
-
var k = "SwitchBubbleInput", A = v.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: r = !0, ...i }, o) => {
|
|
75
|
-
let c = v.useRef(null), l = a(c, o), u = y(n), d = s(t);
|
|
76
|
-
return v.useEffect(() => {
|
|
77
|
-
let e = c.current;
|
|
78
|
-
if (!e) return;
|
|
79
|
-
let t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked").set;
|
|
80
|
-
if (u !== n && i) {
|
|
81
|
-
let t = new Event("click", { bubbles: r });
|
|
82
|
-
i.call(e, n), e.dispatchEvent(t);
|
|
83
|
-
}
|
|
84
|
-
}, [
|
|
85
|
-
u,
|
|
86
|
-
n,
|
|
87
|
-
r
|
|
88
|
-
]), /* @__PURE__ */ (0, b.jsx)("input", {
|
|
89
|
-
type: "checkbox",
|
|
90
|
-
"aria-hidden": !0,
|
|
91
|
-
defaultChecked: n,
|
|
92
|
-
...i,
|
|
93
|
-
tabIndex: -1,
|
|
94
|
-
ref: l,
|
|
95
|
-
style: {
|
|
96
|
-
...i.style,
|
|
97
|
-
...d,
|
|
98
|
-
position: "absolute",
|
|
99
|
-
pointerEvents: "none",
|
|
100
|
-
opacity: 0,
|
|
101
|
-
margin: 0
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
A.displayName = k;
|
|
106
|
-
function j(e) {
|
|
107
|
-
return e ? "checked" : "unchecked";
|
|
108
|
-
}
|
|
109
|
-
var M = E, N = O, P = {
|
|
110
|
-
orientation: {
|
|
111
|
-
type: "enum",
|
|
112
|
-
className: "rt-r-orientation",
|
|
113
|
-
values: ["horizontal", "vertical"],
|
|
114
|
-
default: "horizontal",
|
|
115
|
-
responsive: !0
|
|
116
|
-
},
|
|
117
|
-
size: {
|
|
118
|
-
type: "enum",
|
|
119
|
-
className: "rt-r-size",
|
|
120
|
-
values: [
|
|
121
|
-
"1",
|
|
122
|
-
"2",
|
|
123
|
-
"3",
|
|
124
|
-
"4"
|
|
125
|
-
],
|
|
126
|
-
default: "1",
|
|
127
|
-
responsive: !0
|
|
128
|
-
},
|
|
129
|
-
color: {
|
|
130
|
-
...l.color,
|
|
131
|
-
default: "gray"
|
|
132
|
-
},
|
|
133
|
-
decorative: {
|
|
134
|
-
type: "boolean",
|
|
135
|
-
default: !0
|
|
136
|
-
}
|
|
137
|
-
}, F = /* @__PURE__ */ e(_()), I = v.forwardRef((e, t) => {
|
|
138
|
-
let { className: n, color: r, decorative: i, ...a } = d(e, P, h);
|
|
139
|
-
return v.createElement("span", {
|
|
140
|
-
"data-accent-color": r,
|
|
141
|
-
role: i ? void 0 : "separator",
|
|
142
|
-
...a,
|
|
143
|
-
ref: t,
|
|
144
|
-
className: (0, F.default)("rt-Separator", n)
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
I.displayName = "Separator";
|
|
148
|
-
//#endregion
|
|
149
|
-
//#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/switch.props.js
|
|
150
|
-
var L = {
|
|
151
|
-
size: {
|
|
152
|
-
type: "enum",
|
|
153
|
-
className: "rt-r-size",
|
|
154
|
-
values: [
|
|
155
|
-
"1",
|
|
156
|
-
"2",
|
|
157
|
-
"3"
|
|
158
|
-
],
|
|
159
|
-
default: "2",
|
|
160
|
-
responsive: !0
|
|
161
|
-
},
|
|
162
|
-
variant: {
|
|
163
|
-
type: "enum",
|
|
164
|
-
className: "rt-variant",
|
|
165
|
-
values: [
|
|
166
|
-
"classic",
|
|
167
|
-
"surface",
|
|
168
|
-
"soft"
|
|
169
|
-
],
|
|
170
|
-
default: "surface"
|
|
171
|
-
},
|
|
172
|
-
...l,
|
|
173
|
-
...f,
|
|
174
|
-
...u
|
|
175
|
-
}, R = v.forwardRef((e, t) => {
|
|
176
|
-
let { className: n, color: r, radius: i, ...a } = d(e, L, h);
|
|
177
|
-
return v.createElement(M, {
|
|
178
|
-
"data-accent-color": r,
|
|
179
|
-
"data-radius": i,
|
|
180
|
-
...a,
|
|
181
|
-
asChild: !1,
|
|
182
|
-
ref: t,
|
|
183
|
-
className: (0, F.default)("rt-reset", "rt-SwitchRoot", n)
|
|
184
|
-
}, v.createElement(N, { className: (0, F.default)("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
|
|
185
|
-
});
|
|
186
|
-
R.displayName = "Switch";
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region ../debug/src/lib/ui/settings-item.tsx
|
|
189
|
-
var z = ({ label: e, children: t }) => /* @__PURE__ */ (0, b.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, b.jsxs)(p, { children: [/* @__PURE__ */ (0, b.jsx)(m, {
|
|
190
|
-
size: "4",
|
|
191
|
-
children: e
|
|
192
|
-
}), /* @__PURE__ */ (0, b.jsx)(p, {
|
|
193
|
-
mt: "10px",
|
|
194
|
-
children: t
|
|
195
|
-
})] }), /* @__PURE__ */ (0, b.jsx)(I, {
|
|
196
|
-
size: "4",
|
|
197
|
-
my: "20px"
|
|
198
|
-
})] }), B = (e) => /* @__PURE__ */ (0, b.jsx)(z, {
|
|
199
|
-
label: e.label,
|
|
200
|
-
children: /* @__PURE__ */ (0, b.jsx)(g, { children: /* @__PURE__ */ (0, b.jsx)(R, {
|
|
201
|
-
checked: e.value,
|
|
202
|
-
onCheckedChange: (t) => e.onChange(t)
|
|
203
|
-
}) })
|
|
204
|
-
});
|
|
205
|
-
//#endregion
|
|
206
|
-
export { B as BooleanEditor };
|
|
@@ -1,24 +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.7" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5502080e-bef5-4a57-9d7d-8a45c2ec4b84", e._sentryDebugIdIdentifier = "sentry-dbid-5502080e-bef5-4a57-9d7d-8a45c2ec4b84");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
-
import { m as t, y as n } from "./is-debug-BTIP9fyG.js";
|
|
11
|
-
import { t as r } from "./react-BrB6NhR9.js";
|
|
12
|
-
//#region src/utils/mobx.ts
|
|
13
|
-
var i = /* @__PURE__ */ e(r(), 1);
|
|
14
|
-
function a(e, n) {
|
|
15
|
-
return (0, i.useEffect)(() => t(e, n), []);
|
|
16
|
-
}
|
|
17
|
-
function o(e, t, r) {
|
|
18
|
-
return (0, i.useEffect)(() => n(e, t, r), []);
|
|
19
|
-
}
|
|
20
|
-
function s(e) {
|
|
21
|
-
return (0, i.useEffect)(e, []);
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { s as n, o as r, a as t };
|
|
@@ -1,19 +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.7" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "296827ff-4fe5-4907-9b96-cec1ee89058c", e._sentryDebugIdIdentifier = "sentry-dbid-296827ff-4fe5-4907-9b96-cec1ee89058c");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import "./reset-all-settings-B4otpIDL.js";
|
|
10
|
-
import "./settings-CB1rylda.js";
|
|
11
|
-
//#region ../debug/src/lib/init-debug.tsx
|
|
12
|
-
var e = !1;
|
|
13
|
-
function t() {
|
|
14
|
-
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-24Jpsemb.js").then(({ renderDebugUi: e }) => {
|
|
15
|
-
e();
|
|
16
|
-
}).catch(() => {}));
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { t as initDebug };
|
|
@@ -1,33 +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.7" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "366e3673-c350-4f8b-b0f3-9cc93894014c", e._sentryDebugIdIdentifier = "sentry-dbid-366e3673-c350-4f8b-b0f3-9cc93894014c");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./chunk-RBEdwIRm.js";
|
|
10
|
-
import { t } from "./jsx-runtime-C40T-D9O.js";
|
|
11
|
-
import { t as n } from "./settings-CB1rylda.js";
|
|
12
|
-
import { t as r } from "./add-debug-secret-listener-CzY7rBoG.js";
|
|
13
|
-
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
14
|
-
var i = t(), a = !1;
|
|
15
|
-
function o() {
|
|
16
|
-
if (a) return;
|
|
17
|
-
a = !0;
|
|
18
|
-
let t = n("Show Debug Button Overlay"), o = async (n) => {
|
|
19
|
-
let { DebugUi: r } = await import("./debug-ui-CeUHj66R.js"), { createRoot: a } = await import("./client-C19UpouP.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
|
|
20
|
-
document.body.appendChild(o), a(o).render(/* @__PURE__ */ (0, i.jsx)(r, {
|
|
21
|
-
useDebugButtonState: t.useState,
|
|
22
|
-
open: n
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
if (t.get()) o(!1);
|
|
26
|
-
else {
|
|
27
|
-
let e = r(() => {
|
|
28
|
-
e(), t.set(!0), o(!0);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { o as renderDebugUi };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}
|