@ndmspc/ndmvr 1.1.0-rc.7 → 1.1.0-rc.8
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/ndmvr.es.js +287 -282
- package/dist/ndmvr.umd.js +17 -17
- package/package.json +1 -1
package/dist/ndmvr.es.js
CHANGED
|
@@ -18084,15 +18084,20 @@ var vc = {
|
|
|
18084
18084
|
};
|
|
18085
18085
|
//#endregion
|
|
18086
18086
|
//#region src/lib/components/ui/shared/BinInfo.tsx
|
|
18087
|
-
function bc(e) {
|
|
18088
|
-
|
|
18087
|
+
function bc(e, t) {
|
|
18088
|
+
if (e == null || Number.isNaN(e)) return "-";
|
|
18089
|
+
let n = Number.parseFloat(String(e)), r = Math.abs(n);
|
|
18090
|
+
return n !== 0 && (r >= 1e6 || r > 0 && r < .001) ? n.toExponential() : n.toFixed(t);
|
|
18091
|
+
}
|
|
18092
|
+
function xc(e) {
|
|
18093
|
+
let t = (0, q.c)(23), { precision: n } = e, r = n === void 0 ? 2 : n, [i, a] = v(null), o = _(null), s, c;
|
|
18089
18094
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (s = () => {
|
|
18090
18095
|
let e = C().getObservable().subscribe((e) => {
|
|
18091
18096
|
e.instanceId && (o.current !== e && a(e), o.current = e);
|
|
18092
18097
|
});
|
|
18093
18098
|
return () => e.unsubscribe();
|
|
18094
18099
|
}, c = [], t[0] = s, t[1] = c) : (s = t[0], c = t[1]), p(s, c);
|
|
18095
|
-
let l =
|
|
18100
|
+
let l = Cc, u, d;
|
|
18096
18101
|
t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = ["menuContainer"], d = { noto: {
|
|
18097
18102
|
medium: vc,
|
|
18098
18103
|
bold: yc
|
|
@@ -18127,9 +18132,9 @@ function bc(e) {
|
|
|
18127
18132
|
children: "Content:"
|
|
18128
18133
|
}), t[9] = b) : b = t[9];
|
|
18129
18134
|
let x;
|
|
18130
|
-
t[10]
|
|
18135
|
+
t[10] === i ? x = t[11] : (x = i?.content === void 0 ? "-" : `${bc(i.content, 3)} +/- ${bc(i.error, 3)}`, t[10] = i, t[11] = x);
|
|
18131
18136
|
let S;
|
|
18132
|
-
t[
|
|
18137
|
+
t[12] === x ? S = t[13] : (S = /* @__PURE__ */ (0, X.jsxs)(Z, {
|
|
18133
18138
|
flexDirection: "row",
|
|
18134
18139
|
alignItems: "center",
|
|
18135
18140
|
gap: 4,
|
|
@@ -18137,23 +18142,23 @@ function bc(e) {
|
|
|
18137
18142
|
fontSize: 12,
|
|
18138
18143
|
children: x
|
|
18139
18144
|
})]
|
|
18140
|
-
}), t[
|
|
18145
|
+
}), t[12] = x, t[13] = S);
|
|
18141
18146
|
let w;
|
|
18142
|
-
t[
|
|
18147
|
+
t[14] !== y || t[15] !== S ? (w = /* @__PURE__ */ (0, X.jsxs)(Z, {
|
|
18143
18148
|
classList: m,
|
|
18144
18149
|
minWidth: 200,
|
|
18145
18150
|
flexDirection: "column",
|
|
18146
18151
|
padding: 10,
|
|
18147
18152
|
borderRadius: 8,
|
|
18148
18153
|
children: [y, S]
|
|
18149
|
-
}), t[
|
|
18154
|
+
}), t[14] = y, t[15] = S, t[16] = w) : w = t[16];
|
|
18150
18155
|
let T;
|
|
18151
|
-
t[
|
|
18156
|
+
t[17] !== i?.coords || t[18] !== r ? (T = i?.coords?.map((e, t) => {
|
|
18152
18157
|
let { r: n, g: i, b: a } = e.color || {
|
|
18153
18158
|
r: 255,
|
|
18154
18159
|
g: 255,
|
|
18155
18160
|
b: 255
|
|
18156
|
-
}, o = new z(n, i, a).getStyle(), s = Object.entries(e).filter(
|
|
18161
|
+
}, o = new z(n, i, a).getStyle(), s = Object.entries(e).filter(Sc);
|
|
18157
18162
|
return /* @__PURE__ */ (0, X.jsxs)(Z, {
|
|
18158
18163
|
classList: ["section", "sectionInner"],
|
|
18159
18164
|
minWidth: 360,
|
|
@@ -18215,9 +18220,9 @@ function bc(e) {
|
|
|
18215
18220
|
})
|
|
18216
18221
|
})]
|
|
18217
18222
|
}, t);
|
|
18218
|
-
}), t[
|
|
18223
|
+
}), t[17] = i?.coords, t[18] = r, t[19] = T) : T = t[19];
|
|
18219
18224
|
let E;
|
|
18220
|
-
return t[
|
|
18225
|
+
return t[20] !== w || t[21] !== T ? (E = /* @__PURE__ */ (0, X.jsxs)(Z, {
|
|
18221
18226
|
classList: u,
|
|
18222
18227
|
fontFamilies: d,
|
|
18223
18228
|
children: [
|
|
@@ -18225,13 +18230,13 @@ function bc(e) {
|
|
|
18225
18230
|
w,
|
|
18226
18231
|
T
|
|
18227
18232
|
]
|
|
18228
|
-
}), t[
|
|
18233
|
+
}), t[20] = w, t[21] = T, t[22] = E) : E = t[22], E;
|
|
18229
18234
|
}
|
|
18230
|
-
function
|
|
18235
|
+
function Sc(e) {
|
|
18231
18236
|
let [, t] = e;
|
|
18232
18237
|
return t && typeof t == "object" && "min" in t && "max" in t;
|
|
18233
18238
|
}
|
|
18234
|
-
function
|
|
18239
|
+
function Cc(e) {
|
|
18235
18240
|
let { color: t } = e;
|
|
18236
18241
|
return /* @__PURE__ */ (0, X.jsx)(Z, {
|
|
18237
18242
|
width: 12,
|
|
@@ -18243,10 +18248,10 @@ function Sc(e) {
|
|
|
18243
18248
|
borderColor: "#fff"
|
|
18244
18249
|
});
|
|
18245
18250
|
}
|
|
18246
|
-
|
|
18251
|
+
xc.menuName = "bin", xc.menuLabel = "Bin Information";
|
|
18247
18252
|
//#endregion
|
|
18248
18253
|
//#region src/lib/components/ui/shared/DrawOptions.tsx
|
|
18249
|
-
function
|
|
18254
|
+
function wc() {
|
|
18250
18255
|
let e = (0, q.c)(46), t;
|
|
18251
18256
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = [], e[0] = t) : t = e[0];
|
|
18252
18257
|
let [n, r] = v(t), [i, a] = v("content"), o;
|
|
@@ -18384,8 +18389,8 @@ function Cc() {
|
|
|
18384
18389
|
]
|
|
18385
18390
|
}), e[43] = F, e[44] = H, e[45] = U) : U = e[45], U;
|
|
18386
18391
|
}
|
|
18387
|
-
|
|
18388
|
-
var
|
|
18392
|
+
wc.menuName = "opt", wc.menuLabel = "Histogram Draw Options";
|
|
18393
|
+
var Tc = {
|
|
18389
18394
|
openapi: "3.1.1",
|
|
18390
18395
|
info: {
|
|
18391
18396
|
title: "Configuration API",
|
|
@@ -18581,7 +18586,7 @@ var wc = {
|
|
|
18581
18586
|
}
|
|
18582
18587
|
} }
|
|
18583
18588
|
} } }
|
|
18584
|
-
},
|
|
18589
|
+
}, Ec = /* @__PURE__ */ K(((e) => {
|
|
18585
18590
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
|
|
18586
18591
|
var t = class {};
|
|
18587
18592
|
e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
@@ -18686,9 +18691,9 @@ var wc = {
|
|
|
18686
18691
|
return new r(e.toString());
|
|
18687
18692
|
}
|
|
18688
18693
|
e.regexpCode = g;
|
|
18689
|
-
})),
|
|
18694
|
+
})), Dc = /* @__PURE__ */ K(((e) => {
|
|
18690
18695
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
|
|
18691
|
-
var t =
|
|
18696
|
+
var t = Ec(), n = class extends Error {
|
|
18692
18697
|
constructor(e) {
|
|
18693
18698
|
super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
|
|
18694
18699
|
}
|
|
@@ -18799,7 +18804,7 @@ var wc = {
|
|
|
18799
18804
|
};
|
|
18800
18805
|
})), Q = /* @__PURE__ */ K(((e) => {
|
|
18801
18806
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
|
|
18802
|
-
var t =
|
|
18807
|
+
var t = Ec(), n = Dc(), r = Ec();
|
|
18803
18808
|
Object.defineProperty(e, "_", {
|
|
18804
18809
|
enumerable: !0,
|
|
18805
18810
|
get: function() {
|
|
@@ -18841,7 +18846,7 @@ var wc = {
|
|
|
18841
18846
|
return r.Name;
|
|
18842
18847
|
}
|
|
18843
18848
|
});
|
|
18844
|
-
var i =
|
|
18849
|
+
var i = Dc();
|
|
18845
18850
|
Object.defineProperty(e, "Scope", {
|
|
18846
18851
|
enumerable: !0,
|
|
18847
18852
|
get: function() {
|
|
@@ -19314,7 +19319,7 @@ var wc = {
|
|
|
19314
19319
|
}
|
|
19315
19320
|
})), $ = /* @__PURE__ */ K(((e) => {
|
|
19316
19321
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
|
|
19317
|
-
var t = Q(), n =
|
|
19322
|
+
var t = Q(), n = Ec();
|
|
19318
19323
|
function r(e) {
|
|
19319
19324
|
let t = {};
|
|
19320
19325
|
for (let n of e) t[n] = !0;
|
|
@@ -19437,7 +19442,7 @@ var wc = {
|
|
|
19437
19442
|
}
|
|
19438
19443
|
}
|
|
19439
19444
|
e.checkStrictMode = x;
|
|
19440
|
-
})),
|
|
19445
|
+
})), Oc = /* @__PURE__ */ K(((e) => {
|
|
19441
19446
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
19442
19447
|
var t = Q();
|
|
19443
19448
|
e.default = {
|
|
@@ -19458,9 +19463,9 @@ var wc = {
|
|
|
19458
19463
|
jsonLen: new t.Name("jsonLen"),
|
|
19459
19464
|
jsonPart: new t.Name("jsonPart")
|
|
19460
19465
|
};
|
|
19461
|
-
})),
|
|
19466
|
+
})), kc = /* @__PURE__ */ K(((e) => {
|
|
19462
19467
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
19463
|
-
var t = Q(), n = $(), r =
|
|
19468
|
+
var t = Q(), n = $(), r = Oc();
|
|
19464
19469
|
e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
|
|
19465
19470
|
function i(n, r = e.keywordError, i, a) {
|
|
19466
19471
|
let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
|
|
@@ -19522,9 +19527,9 @@ var wc = {
|
|
|
19522
19527
|
let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
|
|
19523
19528
|
a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
|
|
19524
19529
|
}
|
|
19525
|
-
})),
|
|
19530
|
+
})), Ac = /* @__PURE__ */ K(((e) => {
|
|
19526
19531
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
|
|
19527
|
-
var t =
|
|
19532
|
+
var t = kc(), n = Q(), r = Oc(), i = { message: "boolean schema is false" };
|
|
19528
19533
|
function a(e) {
|
|
19529
19534
|
let { gen: t, schema: i, validateName: a } = e;
|
|
19530
19535
|
i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
|
|
@@ -19548,7 +19553,7 @@ var wc = {
|
|
|
19548
19553
|
};
|
|
19549
19554
|
(0, t.reportError)(o, i, void 0, n);
|
|
19550
19555
|
}
|
|
19551
|
-
})),
|
|
19556
|
+
})), jc = /* @__PURE__ */ K(((e) => {
|
|
19552
19557
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
|
|
19553
19558
|
var t = new Set([
|
|
19554
19559
|
"string",
|
|
@@ -19602,7 +19607,7 @@ var wc = {
|
|
|
19602
19607
|
};
|
|
19603
19608
|
}
|
|
19604
19609
|
e.getRules = r;
|
|
19605
|
-
})),
|
|
19610
|
+
})), Mc = /* @__PURE__ */ K(((e) => {
|
|
19606
19611
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
|
|
19607
19612
|
function t({ schema: e, self: t }, r) {
|
|
19608
19613
|
let i = t.RULES.types[r];
|
|
@@ -19617,9 +19622,9 @@ var wc = {
|
|
|
19617
19622
|
return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
|
|
19618
19623
|
}
|
|
19619
19624
|
e.shouldUseRule = r;
|
|
19620
|
-
})),
|
|
19625
|
+
})), Nc = /* @__PURE__ */ K(((e) => {
|
|
19621
19626
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
|
|
19622
|
-
var t =
|
|
19627
|
+
var t = jc(), n = Mc(), r = kc(), i = Q(), a = $(), o;
|
|
19623
19628
|
(function(e) {
|
|
19624
19629
|
e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
|
|
19625
19630
|
})(o || (e.DataType = o = {}));
|
|
@@ -19754,7 +19759,7 @@ var wc = {
|
|
|
19754
19759
|
it: e
|
|
19755
19760
|
};
|
|
19756
19761
|
}
|
|
19757
|
-
})),
|
|
19762
|
+
})), Pc = /* @__PURE__ */ K(((e) => {
|
|
19758
19763
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
|
|
19759
19764
|
var t = Q(), n = $();
|
|
19760
19765
|
function r(e, t) {
|
|
@@ -19774,9 +19779,9 @@ var wc = {
|
|
|
19774
19779
|
let u = (0, t._)`${l} === undefined`;
|
|
19775
19780
|
c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
|
|
19776
19781
|
}
|
|
19777
|
-
})),
|
|
19782
|
+
})), Fc = /* @__PURE__ */ K(((e) => {
|
|
19778
19783
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
|
|
19779
|
-
var t = Q(), n = $(), r =
|
|
19784
|
+
var t = Q(), n = $(), r = Oc(), i = $();
|
|
19780
19785
|
function a(e, n) {
|
|
19781
19786
|
let { gen: r, data: i, it: a } = e;
|
|
19782
19787
|
r.if(d(r, i, n, a.opts.ownProperties), () => {
|
|
@@ -19878,9 +19883,9 @@ var wc = {
|
|
|
19878
19883
|
})), e.result(s, () => e.reset(), () => e.error(!0));
|
|
19879
19884
|
}
|
|
19880
19885
|
e.validateUnion = v;
|
|
19881
|
-
})),
|
|
19886
|
+
})), Ic = /* @__PURE__ */ K(((e) => {
|
|
19882
19887
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
|
|
19883
|
-
var t = Q(), n =
|
|
19888
|
+
var t = Q(), n = Oc(), r = Fc(), i = kc();
|
|
19884
19889
|
function a(e, n) {
|
|
19885
19890
|
let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
|
|
19886
19891
|
s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
|
|
@@ -19959,7 +19964,7 @@ var wc = {
|
|
|
19959
19964
|
}
|
|
19960
19965
|
}
|
|
19961
19966
|
e.validateKeywordUsage = f;
|
|
19962
|
-
})),
|
|
19967
|
+
})), Lc = /* @__PURE__ */ K(((e) => {
|
|
19963
19968
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
|
|
19964
19969
|
var t = Q(), n = $();
|
|
19965
19970
|
function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
|
|
@@ -20005,7 +20010,7 @@ var wc = {
|
|
|
20005
20010
|
r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
|
|
20006
20011
|
}
|
|
20007
20012
|
e.extendSubschemaMode = a;
|
|
20008
|
-
})),
|
|
20013
|
+
})), Rc = /* @__PURE__ */ K(((e, t) => {
|
|
20009
20014
|
t.exports = function e(t, n) {
|
|
20010
20015
|
if (t === n) return !0;
|
|
20011
20016
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -20029,7 +20034,7 @@ var wc = {
|
|
|
20029
20034
|
}
|
|
20030
20035
|
return t !== t && n !== n;
|
|
20031
20036
|
};
|
|
20032
|
-
})),
|
|
20037
|
+
})), zc = /* @__PURE__ */ K(((e, t) => {
|
|
20033
20038
|
var n = t.exports = function(e, t, n) {
|
|
20034
20039
|
typeof t == "function" && (n = t, t = {}), n = t.cb || n;
|
|
20035
20040
|
var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
|
|
@@ -20092,9 +20097,9 @@ var wc = {
|
|
|
20092
20097
|
function i(e) {
|
|
20093
20098
|
return e.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
20094
20099
|
}
|
|
20095
|
-
})),
|
|
20100
|
+
})), Bc = /* @__PURE__ */ K(((e) => {
|
|
20096
20101
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
|
|
20097
|
-
var t = $(), n =
|
|
20102
|
+
var t = $(), n = Rc(), r = zc(), i = new Set([
|
|
20098
20103
|
"type",
|
|
20099
20104
|
"format",
|
|
20100
20105
|
"pattern",
|
|
@@ -20183,9 +20188,9 @@ var wc = {
|
|
|
20183
20188
|
}
|
|
20184
20189
|
}
|
|
20185
20190
|
e.getSchemaRefs = h;
|
|
20186
|
-
})),
|
|
20191
|
+
})), Vc = /* @__PURE__ */ K(((e) => {
|
|
20187
20192
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
|
|
20188
|
-
var t =
|
|
20193
|
+
var t = Ac(), n = Nc(), r = Mc(), i = Nc(), a = Pc(), o = Ic(), s = Lc(), c = Q(), l = Oc(), u = Bc(), d = $(), f = kc();
|
|
20189
20194
|
function p(e) {
|
|
20190
20195
|
if (S(e) && (w(e), x(e))) {
|
|
20191
20196
|
_(e);
|
|
@@ -20475,23 +20480,23 @@ var wc = {
|
|
|
20475
20480
|
}
|
|
20476
20481
|
}
|
|
20477
20482
|
e.getData = ne;
|
|
20478
|
-
})),
|
|
20483
|
+
})), Hc = /* @__PURE__ */ K(((e) => {
|
|
20479
20484
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
|
|
20480
20485
|
constructor(e) {
|
|
20481
20486
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
20482
20487
|
}
|
|
20483
20488
|
};
|
|
20484
|
-
})),
|
|
20489
|
+
})), Uc = /* @__PURE__ */ K(((e) => {
|
|
20485
20490
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
20486
|
-
var t =
|
|
20491
|
+
var t = Bc();
|
|
20487
20492
|
e.default = class extends Error {
|
|
20488
20493
|
constructor(e, n, r, i) {
|
|
20489
20494
|
super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
|
|
20490
20495
|
}
|
|
20491
20496
|
};
|
|
20492
|
-
})),
|
|
20497
|
+
})), Wc = /* @__PURE__ */ K(((e) => {
|
|
20493
20498
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
|
|
20494
|
-
var t = Q(), n =
|
|
20499
|
+
var t = Q(), n = Hc(), r = Oc(), i = Bc(), a = $(), o = Vc(), s = class {
|
|
20495
20500
|
constructor(e) {
|
|
20496
20501
|
this.refs = {}, this.dynamicAnchors = {};
|
|
20497
20502
|
let t;
|
|
@@ -20650,27 +20655,27 @@ var wc = {
|
|
|
20650
20655
|
baseId: t
|
|
20651
20656
|
}), o.schema !== o.root.schema) return o;
|
|
20652
20657
|
}
|
|
20653
|
-
})),
|
|
20654
|
-
$id: () =>
|
|
20658
|
+
})), Gc = /* @__PURE__ */ Ve({
|
|
20659
|
+
$id: () => Kc,
|
|
20655
20660
|
additionalProperties: () => !1,
|
|
20656
|
-
default: () =>
|
|
20657
|
-
description: () =>
|
|
20658
|
-
properties: () =>
|
|
20659
|
-
required: () =>
|
|
20660
|
-
type: () =>
|
|
20661
|
-
}),
|
|
20662
|
-
|
|
20661
|
+
default: () => Zc,
|
|
20662
|
+
description: () => qc,
|
|
20663
|
+
properties: () => Xc,
|
|
20664
|
+
required: () => Yc,
|
|
20665
|
+
type: () => Jc
|
|
20666
|
+
}), Kc, qc, Jc, Yc, Xc, Zc, Qc = Be((() => {
|
|
20667
|
+
Kc = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", qc = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Jc = "object", Yc = ["$data"], Xc = { $data: {
|
|
20663
20668
|
type: "string",
|
|
20664
20669
|
anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
|
|
20665
|
-
} },
|
|
20666
|
-
$id:
|
|
20667
|
-
description:
|
|
20668
|
-
type:
|
|
20669
|
-
required:
|
|
20670
|
-
properties:
|
|
20670
|
+
} }, Zc = {
|
|
20671
|
+
$id: Kc,
|
|
20672
|
+
description: qc,
|
|
20673
|
+
type: Jc,
|
|
20674
|
+
required: Yc,
|
|
20675
|
+
properties: Xc,
|
|
20671
20676
|
additionalProperties: !1
|
|
20672
20677
|
};
|
|
20673
|
-
})),
|
|
20678
|
+
})), $c = /* @__PURE__ */ K(((e, t) => {
|
|
20674
20679
|
var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
20675
20680
|
function i(e) {
|
|
20676
20681
|
let t = "", n = 0, r = 0;
|
|
@@ -20827,8 +20832,8 @@ var wc = {
|
|
|
20827
20832
|
normalizeIPv6: l,
|
|
20828
20833
|
stringArrayToHexStripped: i
|
|
20829
20834
|
};
|
|
20830
|
-
})),
|
|
20831
|
-
var { isUUID: n } =
|
|
20835
|
+
})), el = /* @__PURE__ */ K(((e, t) => {
|
|
20836
|
+
var { isUUID: n } = $c(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
|
|
20832
20837
|
"http",
|
|
20833
20838
|
"https",
|
|
20834
20839
|
"ws",
|
|
@@ -20933,8 +20938,8 @@ var wc = {
|
|
|
20933
20938
|
isValidSchemeName: a,
|
|
20934
20939
|
getSchemeHandler: S
|
|
20935
20940
|
};
|
|
20936
|
-
})),
|
|
20937
|
-
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizeComponentEncoding: a, isIPv4: o, nonSimpleDomain: s } =
|
|
20941
|
+
})), tl = /* @__PURE__ */ K(((e, t) => {
|
|
20942
|
+
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizeComponentEncoding: a, isIPv4: o, nonSimpleDomain: s } = $c(), { SCHEMES: c, getSchemeHandler: l } = el();
|
|
20938
20943
|
function u(e, t) {
|
|
20939
20944
|
return typeof e == "string" ? e = m(g(e, t), t) : typeof e == "object" && (e = g(m(e, t), t)), e;
|
|
20940
20945
|
}
|
|
@@ -21025,13 +21030,13 @@ var wc = {
|
|
|
21025
21030
|
parse: g
|
|
21026
21031
|
};
|
|
21027
21032
|
t.exports = _, t.exports.default = _, t.exports.fastUri = _;
|
|
21028
|
-
})),
|
|
21033
|
+
})), nl = /* @__PURE__ */ K(((e) => {
|
|
21029
21034
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21030
|
-
var t =
|
|
21035
|
+
var t = tl();
|
|
21031
21036
|
t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
|
|
21032
|
-
})),
|
|
21037
|
+
})), rl = /* @__PURE__ */ K(((e) => {
|
|
21033
21038
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
21034
|
-
var t =
|
|
21039
|
+
var t = Vc();
|
|
21035
21040
|
Object.defineProperty(e, "KeywordCxt", {
|
|
21036
21041
|
enumerable: !0,
|
|
21037
21042
|
get: function() {
|
|
@@ -21070,7 +21075,7 @@ var wc = {
|
|
|
21070
21075
|
return n.CodeGen;
|
|
21071
21076
|
}
|
|
21072
21077
|
});
|
|
21073
|
-
var r =
|
|
21078
|
+
var r = Hc(), i = Uc(), a = jc(), o = Wc(), s = Q(), c = Bc(), l = Nc(), u = $(), d = (Qc(), We(Gc).default), f = nl(), p = (e, t) => new RegExp(e, t);
|
|
21074
21079
|
p.code = "new RegExp";
|
|
21075
21080
|
var m = [
|
|
21076
21081
|
"removeAdditional",
|
|
@@ -21456,16 +21461,16 @@ var wc = {
|
|
|
21456
21461
|
function F(e) {
|
|
21457
21462
|
return { anyOf: [e, P] };
|
|
21458
21463
|
}
|
|
21459
|
-
})),
|
|
21464
|
+
})), il = /* @__PURE__ */ K(((e) => {
|
|
21460
21465
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
21461
21466
|
keyword: "id",
|
|
21462
21467
|
code() {
|
|
21463
21468
|
throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
|
|
21464
21469
|
}
|
|
21465
21470
|
};
|
|
21466
|
-
})),
|
|
21471
|
+
})), al = /* @__PURE__ */ K(((e) => {
|
|
21467
21472
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
|
|
21468
|
-
var t =
|
|
21473
|
+
var t = Uc(), n = Fc(), r = Q(), i = Oc(), a = Wc(), o = $(), s = {
|
|
21469
21474
|
keyword: "$ref",
|
|
21470
21475
|
schemaType: "string",
|
|
21471
21476
|
code(e) {
|
|
@@ -21538,9 +21543,9 @@ var wc = {
|
|
|
21538
21543
|
}
|
|
21539
21544
|
}
|
|
21540
21545
|
e.callRef = l, e.default = s;
|
|
21541
|
-
})),
|
|
21546
|
+
})), ol = /* @__PURE__ */ K(((e) => {
|
|
21542
21547
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21543
|
-
var t =
|
|
21548
|
+
var t = il(), n = al();
|
|
21544
21549
|
e.default = [
|
|
21545
21550
|
"$schema",
|
|
21546
21551
|
"$id",
|
|
@@ -21551,7 +21556,7 @@ var wc = {
|
|
|
21551
21556
|
t.default,
|
|
21552
21557
|
n.default
|
|
21553
21558
|
];
|
|
21554
|
-
})),
|
|
21559
|
+
})), sl = /* @__PURE__ */ K(((e) => {
|
|
21555
21560
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21556
21561
|
var t = Q(), n = t.operators, r = {
|
|
21557
21562
|
maximum: {
|
|
@@ -21589,7 +21594,7 @@ var wc = {
|
|
|
21589
21594
|
e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
|
|
21590
21595
|
}
|
|
21591
21596
|
};
|
|
21592
|
-
})),
|
|
21597
|
+
})), cl = /* @__PURE__ */ K(((e) => {
|
|
21593
21598
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21594
21599
|
var t = Q();
|
|
21595
21600
|
e.default = {
|
|
@@ -21606,7 +21611,7 @@ var wc = {
|
|
|
21606
21611
|
e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
|
|
21607
21612
|
}
|
|
21608
21613
|
};
|
|
21609
|
-
})),
|
|
21614
|
+
})), ll = /* @__PURE__ */ K(((e) => {
|
|
21610
21615
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21611
21616
|
function t(e) {
|
|
21612
21617
|
let t = e.length, n = 0, r = 0, i;
|
|
@@ -21614,9 +21619,9 @@ var wc = {
|
|
|
21614
21619
|
return n;
|
|
21615
21620
|
}
|
|
21616
21621
|
e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
|
|
21617
|
-
})),
|
|
21622
|
+
})), ul = /* @__PURE__ */ K(((e) => {
|
|
21618
21623
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21619
|
-
var t = Q(), n = $(), r =
|
|
21624
|
+
var t = Q(), n = $(), r = ll();
|
|
21620
21625
|
e.default = {
|
|
21621
21626
|
keyword: ["maxLength", "minLength"],
|
|
21622
21627
|
type: "string",
|
|
@@ -21634,9 +21639,9 @@ var wc = {
|
|
|
21634
21639
|
e.fail$data((0, t._)`${l} ${c} ${o}`);
|
|
21635
21640
|
}
|
|
21636
21641
|
};
|
|
21637
|
-
})),
|
|
21642
|
+
})), dl = /* @__PURE__ */ K(((e) => {
|
|
21638
21643
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21639
|
-
var t =
|
|
21644
|
+
var t = Fc(), n = $(), r = Q();
|
|
21640
21645
|
e.default = {
|
|
21641
21646
|
keyword: "pattern",
|
|
21642
21647
|
type: "string",
|
|
@@ -21657,7 +21662,7 @@ var wc = {
|
|
|
21657
21662
|
}
|
|
21658
21663
|
}
|
|
21659
21664
|
};
|
|
21660
|
-
})),
|
|
21665
|
+
})), fl = /* @__PURE__ */ K(((e) => {
|
|
21661
21666
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21662
21667
|
var t = Q();
|
|
21663
21668
|
e.default = {
|
|
@@ -21677,9 +21682,9 @@ var wc = {
|
|
|
21677
21682
|
e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
|
|
21678
21683
|
}
|
|
21679
21684
|
};
|
|
21680
|
-
})),
|
|
21685
|
+
})), pl = /* @__PURE__ */ K(((e) => {
|
|
21681
21686
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21682
|
-
var t =
|
|
21687
|
+
var t = Fc(), n = Q(), r = $();
|
|
21683
21688
|
e.default = {
|
|
21684
21689
|
keyword: "required",
|
|
21685
21690
|
type: "object",
|
|
@@ -21725,7 +21730,7 @@ var wc = {
|
|
|
21725
21730
|
}
|
|
21726
21731
|
}
|
|
21727
21732
|
};
|
|
21728
|
-
})),
|
|
21733
|
+
})), ml = /* @__PURE__ */ K(((e) => {
|
|
21729
21734
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21730
21735
|
var t = Q();
|
|
21731
21736
|
e.default = {
|
|
@@ -21745,13 +21750,13 @@ var wc = {
|
|
|
21745
21750
|
e.fail$data((0, t._)`${r}.length ${a} ${i}`);
|
|
21746
21751
|
}
|
|
21747
21752
|
};
|
|
21748
|
-
})),
|
|
21753
|
+
})), hl = /* @__PURE__ */ K(((e) => {
|
|
21749
21754
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21750
|
-
var t =
|
|
21755
|
+
var t = Rc();
|
|
21751
21756
|
t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
|
|
21752
|
-
})),
|
|
21757
|
+
})), gl = /* @__PURE__ */ K(((e) => {
|
|
21753
21758
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21754
|
-
var t =
|
|
21759
|
+
var t = Nc(), n = Q(), r = $(), i = hl();
|
|
21755
21760
|
e.default = {
|
|
21756
21761
|
keyword: "uniqueItems",
|
|
21757
21762
|
type: "array",
|
|
@@ -21792,9 +21797,9 @@ var wc = {
|
|
|
21792
21797
|
}
|
|
21793
21798
|
}
|
|
21794
21799
|
};
|
|
21795
|
-
})),
|
|
21800
|
+
})), _l = /* @__PURE__ */ K(((e) => {
|
|
21796
21801
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21797
|
-
var t = Q(), n = $(), r =
|
|
21802
|
+
var t = Q(), n = $(), r = hl();
|
|
21798
21803
|
e.default = {
|
|
21799
21804
|
keyword: "const",
|
|
21800
21805
|
$data: !0,
|
|
@@ -21807,9 +21812,9 @@ var wc = {
|
|
|
21807
21812
|
o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
|
|
21808
21813
|
}
|
|
21809
21814
|
};
|
|
21810
|
-
})),
|
|
21815
|
+
})), vl = /* @__PURE__ */ K(((e) => {
|
|
21811
21816
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21812
|
-
var t = Q(), n = $(), r =
|
|
21817
|
+
var t = Q(), n = $(), r = hl();
|
|
21813
21818
|
e.default = {
|
|
21814
21819
|
keyword: "enum",
|
|
21815
21820
|
schemaType: "array",
|
|
@@ -21839,9 +21844,9 @@ var wc = {
|
|
|
21839
21844
|
}
|
|
21840
21845
|
}
|
|
21841
21846
|
};
|
|
21842
|
-
})),
|
|
21847
|
+
})), yl = /* @__PURE__ */ K(((e) => {
|
|
21843
21848
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21844
|
-
var t =
|
|
21849
|
+
var t = sl(), n = cl(), r = ul(), i = dl(), a = fl(), o = pl(), s = ml(), c = gl(), l = _l(), u = vl();
|
|
21845
21850
|
e.default = [
|
|
21846
21851
|
t.default,
|
|
21847
21852
|
n.default,
|
|
@@ -21862,7 +21867,7 @@ var wc = {
|
|
|
21862
21867
|
l.default,
|
|
21863
21868
|
u.default
|
|
21864
21869
|
];
|
|
21865
|
-
})),
|
|
21870
|
+
})), bl = /* @__PURE__ */ K(((e) => {
|
|
21866
21871
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
|
|
21867
21872
|
var t = Q(), n = $(), r = {
|
|
21868
21873
|
keyword: "additionalItems",
|
|
@@ -21902,9 +21907,9 @@ var wc = {
|
|
|
21902
21907
|
}
|
|
21903
21908
|
}
|
|
21904
21909
|
e.validateAdditionalItems = i, e.default = r;
|
|
21905
|
-
})),
|
|
21910
|
+
})), xl = /* @__PURE__ */ K(((e) => {
|
|
21906
21911
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
|
|
21907
|
-
var t = Q(), n = $(), r =
|
|
21912
|
+
var t = Q(), n = $(), r = Fc(), i = {
|
|
21908
21913
|
keyword: "items",
|
|
21909
21914
|
type: "array",
|
|
21910
21915
|
schemaType: [
|
|
@@ -21939,9 +21944,9 @@ var wc = {
|
|
|
21939
21944
|
}
|
|
21940
21945
|
}
|
|
21941
21946
|
e.validateTuple = a, e.default = i;
|
|
21942
|
-
})),
|
|
21947
|
+
})), Sl = /* @__PURE__ */ K(((e) => {
|
|
21943
21948
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21944
|
-
var t =
|
|
21949
|
+
var t = xl();
|
|
21945
21950
|
e.default = {
|
|
21946
21951
|
keyword: "prefixItems",
|
|
21947
21952
|
type: "array",
|
|
@@ -21949,9 +21954,9 @@ var wc = {
|
|
|
21949
21954
|
before: "uniqueItems",
|
|
21950
21955
|
code: (e) => (0, t.validateTuple)(e, "items")
|
|
21951
21956
|
};
|
|
21952
|
-
})),
|
|
21957
|
+
})), Cl = /* @__PURE__ */ K(((e) => {
|
|
21953
21958
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21954
|
-
var t = Q(), n = $(), r =
|
|
21959
|
+
var t = Q(), n = $(), r = Fc(), i = bl();
|
|
21955
21960
|
e.default = {
|
|
21956
21961
|
keyword: "items",
|
|
21957
21962
|
type: "array",
|
|
@@ -21966,7 +21971,7 @@ var wc = {
|
|
|
21966
21971
|
o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
|
|
21967
21972
|
}
|
|
21968
21973
|
};
|
|
21969
|
-
})),
|
|
21974
|
+
})), wl = /* @__PURE__ */ K(((e) => {
|
|
21970
21975
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
21971
21976
|
var t = Q(), n = $();
|
|
21972
21977
|
e.default = {
|
|
@@ -22021,9 +22026,9 @@ var wc = {
|
|
|
22021
22026
|
}
|
|
22022
22027
|
}
|
|
22023
22028
|
};
|
|
22024
|
-
})),
|
|
22029
|
+
})), Tl = /* @__PURE__ */ K(((e) => {
|
|
22025
22030
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
22026
|
-
var t = Q(), n = $(), r =
|
|
22031
|
+
var t = Q(), n = $(), r = Fc();
|
|
22027
22032
|
e.error = {
|
|
22028
22033
|
message: ({ params: { property: e, depsCount: n, deps: r } }) => {
|
|
22029
22034
|
let i = n === 1 ? "property" : "properties";
|
|
@@ -22082,7 +22087,7 @@ var wc = {
|
|
|
22082
22087
|
}, () => i.var(c, !0)), e.ok(c));
|
|
22083
22088
|
}
|
|
22084
22089
|
e.validateSchemaDeps = s, e.default = i;
|
|
22085
|
-
})),
|
|
22090
|
+
})), El = /* @__PURE__ */ K(((e) => {
|
|
22086
22091
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22087
22092
|
var t = Q(), n = $();
|
|
22088
22093
|
e.default = {
|
|
@@ -22110,9 +22115,9 @@ var wc = {
|
|
|
22110
22115
|
}), e.ok(s);
|
|
22111
22116
|
}
|
|
22112
22117
|
};
|
|
22113
|
-
})),
|
|
22118
|
+
})), Dl = /* @__PURE__ */ K(((e) => {
|
|
22114
22119
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22115
|
-
var t =
|
|
22120
|
+
var t = Fc(), n = Q(), r = Oc(), i = $();
|
|
22116
22121
|
e.default = {
|
|
22117
22122
|
keyword: "additionalProperties",
|
|
22118
22123
|
type: ["object"],
|
|
@@ -22177,9 +22182,9 @@ var wc = {
|
|
|
22177
22182
|
}
|
|
22178
22183
|
}
|
|
22179
22184
|
};
|
|
22180
|
-
})),
|
|
22185
|
+
})), Ol = /* @__PURE__ */ K(((e) => {
|
|
22181
22186
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22182
|
-
var t =
|
|
22187
|
+
var t = Vc(), n = Fc(), r = $(), i = Dl();
|
|
22183
22188
|
e.default = {
|
|
22184
22189
|
keyword: "properties",
|
|
22185
22190
|
type: "object",
|
|
@@ -22206,9 +22211,9 @@ var wc = {
|
|
|
22206
22211
|
}
|
|
22207
22212
|
}
|
|
22208
22213
|
};
|
|
22209
|
-
})),
|
|
22214
|
+
})), kl = /* @__PURE__ */ K(((e) => {
|
|
22210
22215
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22211
|
-
var t =
|
|
22216
|
+
var t = Fc(), n = Q(), r = $(), i = $();
|
|
22212
22217
|
e.default = {
|
|
22213
22218
|
keyword: "patternProperties",
|
|
22214
22219
|
type: "object",
|
|
@@ -22241,7 +22246,7 @@ var wc = {
|
|
|
22241
22246
|
}
|
|
22242
22247
|
}
|
|
22243
22248
|
};
|
|
22244
|
-
})),
|
|
22249
|
+
})), Al = /* @__PURE__ */ K(((e) => {
|
|
22245
22250
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22246
22251
|
var t = $();
|
|
22247
22252
|
e.default = {
|
|
@@ -22264,15 +22269,15 @@ var wc = {
|
|
|
22264
22269
|
},
|
|
22265
22270
|
error: { message: "must NOT be valid" }
|
|
22266
22271
|
};
|
|
22267
|
-
})),
|
|
22272
|
+
})), jl = /* @__PURE__ */ K(((e) => {
|
|
22268
22273
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
22269
22274
|
keyword: "anyOf",
|
|
22270
22275
|
schemaType: "array",
|
|
22271
22276
|
trackErrors: !0,
|
|
22272
|
-
code:
|
|
22277
|
+
code: Fc().validateUnion,
|
|
22273
22278
|
error: { message: "must match a schema in anyOf" }
|
|
22274
22279
|
};
|
|
22275
|
-
})),
|
|
22280
|
+
})), Ml = /* @__PURE__ */ K(((e) => {
|
|
22276
22281
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22277
22282
|
var t = Q(), n = $();
|
|
22278
22283
|
e.default = {
|
|
@@ -22304,7 +22309,7 @@ var wc = {
|
|
|
22304
22309
|
}
|
|
22305
22310
|
}
|
|
22306
22311
|
};
|
|
22307
|
-
})),
|
|
22312
|
+
})), Nl = /* @__PURE__ */ K(((e) => {
|
|
22308
22313
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22309
22314
|
var t = $();
|
|
22310
22315
|
e.default = {
|
|
@@ -22325,7 +22330,7 @@ var wc = {
|
|
|
22325
22330
|
});
|
|
22326
22331
|
}
|
|
22327
22332
|
};
|
|
22328
|
-
})),
|
|
22333
|
+
})), Pl = /* @__PURE__ */ K(((e) => {
|
|
22329
22334
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22330
22335
|
var t = Q(), n = $(), r = {
|
|
22331
22336
|
keyword: "if",
|
|
@@ -22368,7 +22373,7 @@ var wc = {
|
|
|
22368
22373
|
return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
|
|
22369
22374
|
}
|
|
22370
22375
|
e.default = r;
|
|
22371
|
-
})),
|
|
22376
|
+
})), Fl = /* @__PURE__ */ K(((e) => {
|
|
22372
22377
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22373
22378
|
var t = $();
|
|
22374
22379
|
e.default = {
|
|
@@ -22378,9 +22383,9 @@ var wc = {
|
|
|
22378
22383
|
n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
|
|
22379
22384
|
}
|
|
22380
22385
|
};
|
|
22381
|
-
})),
|
|
22386
|
+
})), Il = /* @__PURE__ */ K(((e) => {
|
|
22382
22387
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22383
|
-
var t =
|
|
22388
|
+
var t = bl(), n = Sl(), r = xl(), i = Cl(), a = wl(), o = Tl(), s = El(), c = Dl(), l = Ol(), u = kl(), d = Al(), f = jl(), p = Ml(), m = Nl(), h = Pl(), g = Fl();
|
|
22384
22389
|
function _(e = !1) {
|
|
22385
22390
|
let _ = [
|
|
22386
22391
|
d.default,
|
|
@@ -22398,7 +22403,7 @@ var wc = {
|
|
|
22398
22403
|
return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
|
|
22399
22404
|
}
|
|
22400
22405
|
e.default = _;
|
|
22401
|
-
})),
|
|
22406
|
+
})), Ll = /* @__PURE__ */ K(((e) => {
|
|
22402
22407
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22403
22408
|
var t = Q();
|
|
22404
22409
|
e.default = {
|
|
@@ -22473,9 +22478,9 @@ var wc = {
|
|
|
22473
22478
|
}
|
|
22474
22479
|
}
|
|
22475
22480
|
};
|
|
22476
|
-
})), Ll = /* @__PURE__ */ K(((e) => {
|
|
22477
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Il().default];
|
|
22478
22481
|
})), Rl = /* @__PURE__ */ K(((e) => {
|
|
22482
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Ll().default];
|
|
22483
|
+
})), zl = /* @__PURE__ */ K(((e) => {
|
|
22479
22484
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
|
|
22480
22485
|
"title",
|
|
22481
22486
|
"description",
|
|
@@ -22489,9 +22494,9 @@ var wc = {
|
|
|
22489
22494
|
"contentEncoding",
|
|
22490
22495
|
"contentSchema"
|
|
22491
22496
|
];
|
|
22492
|
-
})),
|
|
22497
|
+
})), Bl = /* @__PURE__ */ K(((e) => {
|
|
22493
22498
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22494
|
-
var t =
|
|
22499
|
+
var t = ol(), n = yl(), r = Il(), i = Rl(), a = zl();
|
|
22495
22500
|
e.default = [
|
|
22496
22501
|
t.default,
|
|
22497
22502
|
n.default,
|
|
@@ -22500,15 +22505,15 @@ var wc = {
|
|
|
22500
22505
|
a.metadataVocabulary,
|
|
22501
22506
|
a.contentVocabulary
|
|
22502
22507
|
];
|
|
22503
|
-
})),
|
|
22508
|
+
})), Vl = /* @__PURE__ */ K(((e) => {
|
|
22504
22509
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
|
|
22505
22510
|
var t;
|
|
22506
22511
|
(function(e) {
|
|
22507
22512
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
22508
22513
|
})(t || (e.DiscrError = t = {}));
|
|
22509
|
-
})),
|
|
22514
|
+
})), Hl = /* @__PURE__ */ K(((e) => {
|
|
22510
22515
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
22511
|
-
var t = Q(), n =
|
|
22516
|
+
var t = Q(), n = Vl(), r = Wc(), i = Uc(), a = $();
|
|
22512
22517
|
e.default = {
|
|
22513
22518
|
keyword: "discriminator",
|
|
22514
22519
|
type: "object",
|
|
@@ -22576,16 +22581,16 @@ var wc = {
|
|
|
22576
22581
|
}
|
|
22577
22582
|
}
|
|
22578
22583
|
};
|
|
22579
|
-
})),
|
|
22580
|
-
$id: () =>
|
|
22581
|
-
$schema: () =>
|
|
22582
|
-
default: () =>
|
|
22583
|
-
definitions: () =>
|
|
22584
|
-
properties: () =>
|
|
22585
|
-
title: () =>
|
|
22586
|
-
type: () =>
|
|
22587
|
-
}),
|
|
22588
|
-
|
|
22584
|
+
})), Ul = /* @__PURE__ */ Ve({
|
|
22585
|
+
$id: () => Gl,
|
|
22586
|
+
$schema: () => Wl,
|
|
22587
|
+
default: () => Xl,
|
|
22588
|
+
definitions: () => ql,
|
|
22589
|
+
properties: () => Yl,
|
|
22590
|
+
title: () => Kl,
|
|
22591
|
+
type: () => Jl
|
|
22592
|
+
}), Wl, Gl, Kl, ql, Jl, Yl, Xl, Zl = Be((() => {
|
|
22593
|
+
Wl = "http://json-schema.org/draft-07/schema#", Gl = "http://json-schema.org/draft-07/schema#", Kl = "Core schema meta-schema", ql = {
|
|
22589
22594
|
schemaArray: {
|
|
22590
22595
|
type: "array",
|
|
22591
22596
|
minItems: 1,
|
|
@@ -22611,7 +22616,7 @@ var wc = {
|
|
|
22611
22616
|
uniqueItems: !0,
|
|
22612
22617
|
default: []
|
|
22613
22618
|
}
|
|
22614
|
-
},
|
|
22619
|
+
}, Jl = ["object", "boolean"], Yl = {
|
|
22615
22620
|
$id: {
|
|
22616
22621
|
type: "string",
|
|
22617
22622
|
format: "uri-reference"
|
|
@@ -22710,18 +22715,18 @@ var wc = {
|
|
|
22710
22715
|
anyOf: { $ref: "#/definitions/schemaArray" },
|
|
22711
22716
|
oneOf: { $ref: "#/definitions/schemaArray" },
|
|
22712
22717
|
not: { $ref: "#" }
|
|
22713
|
-
},
|
|
22714
|
-
$schema:
|
|
22715
|
-
$id:
|
|
22716
|
-
title:
|
|
22717
|
-
definitions:
|
|
22718
|
-
type:
|
|
22719
|
-
properties:
|
|
22718
|
+
}, Xl = {
|
|
22719
|
+
$schema: Wl,
|
|
22720
|
+
$id: Gl,
|
|
22721
|
+
title: Kl,
|
|
22722
|
+
definitions: ql,
|
|
22723
|
+
type: Jl,
|
|
22724
|
+
properties: Yl,
|
|
22720
22725
|
default: !0
|
|
22721
22726
|
};
|
|
22722
|
-
})),
|
|
22727
|
+
})), Ql = /* @__PURE__ */ Ue((/* @__PURE__ */ K(((e, t) => {
|
|
22723
22728
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
|
|
22724
|
-
var n =
|
|
22729
|
+
var n = rl(), r = Bl(), i = Hl(), a = (Zl(), We(Ul).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
|
|
22725
22730
|
_addVocabularies() {
|
|
22726
22731
|
super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
|
|
22727
22732
|
}
|
|
@@ -22735,7 +22740,7 @@ var wc = {
|
|
|
22735
22740
|
}
|
|
22736
22741
|
};
|
|
22737
22742
|
e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
|
|
22738
|
-
var l =
|
|
22743
|
+
var l = Vc();
|
|
22739
22744
|
Object.defineProperty(e, "KeywordCxt", {
|
|
22740
22745
|
enumerable: !0,
|
|
22741
22746
|
get: function() {
|
|
@@ -22774,14 +22779,14 @@ var wc = {
|
|
|
22774
22779
|
return u.CodeGen;
|
|
22775
22780
|
}
|
|
22776
22781
|
});
|
|
22777
|
-
var d =
|
|
22782
|
+
var d = Hc();
|
|
22778
22783
|
Object.defineProperty(e, "ValidationError", {
|
|
22779
22784
|
enumerable: !0,
|
|
22780
22785
|
get: function() {
|
|
22781
22786
|
return d.default;
|
|
22782
22787
|
}
|
|
22783
22788
|
});
|
|
22784
|
-
var f =
|
|
22789
|
+
var f = Uc();
|
|
22785
22790
|
Object.defineProperty(e, "MissingRefError", {
|
|
22786
22791
|
enumerable: !0,
|
|
22787
22792
|
get: function() {
|
|
@@ -22789,30 +22794,30 @@ var wc = {
|
|
|
22789
22794
|
}
|
|
22790
22795
|
});
|
|
22791
22796
|
})))(), 1);
|
|
22792
|
-
function
|
|
22797
|
+
function $l(e, t = "") {
|
|
22793
22798
|
let n = {};
|
|
22794
22799
|
for (let [r, i] of Object.entries(e.properties || {})) {
|
|
22795
22800
|
let e = t ? `${t}.${r}` : r;
|
|
22796
|
-
i.type === "object" && i.properties ? Object.assign(n,
|
|
22801
|
+
i.type === "object" && i.properties ? Object.assign(n, $l(i, e)) : n[e] = i;
|
|
22797
22802
|
}
|
|
22798
22803
|
return n;
|
|
22799
22804
|
}
|
|
22800
|
-
function
|
|
22805
|
+
function eu(e, t, n) {
|
|
22801
22806
|
let r = t.split("."), i = e;
|
|
22802
22807
|
r.forEach((e, t) => {
|
|
22803
22808
|
t === r.length - 1 ? i[e] = n : (i[e] = i[e] || {}, i = i[e]);
|
|
22804
22809
|
});
|
|
22805
22810
|
}
|
|
22806
|
-
function
|
|
22811
|
+
function tu(e, t) {
|
|
22807
22812
|
return t.split(".").reduce((e, t) => e?.[t], e);
|
|
22808
22813
|
}
|
|
22809
|
-
function
|
|
22810
|
-
return new
|
|
22814
|
+
function nu(e) {
|
|
22815
|
+
return new Ql.default({
|
|
22811
22816
|
allErrors: !0,
|
|
22812
22817
|
strict: !1
|
|
22813
22818
|
}).compile(e.components.schemas.Config);
|
|
22814
22819
|
}
|
|
22815
|
-
function
|
|
22820
|
+
function ru(e, t) {
|
|
22816
22821
|
let n = {};
|
|
22817
22822
|
for (let [r, i] of Object.entries(e)) {
|
|
22818
22823
|
let e = t[r];
|
|
@@ -22823,27 +22828,27 @@ function nu(e, t) {
|
|
|
22823
22828
|
let t = Number(e);
|
|
22824
22829
|
e = Number.isFinite(t) ? t : i.default ?? 0;
|
|
22825
22830
|
} else i.type === "boolean" ? e = e === !0 || e === "true" : (e == null || e === "") && (e = i.default ?? "");
|
|
22826
|
-
|
|
22831
|
+
eu(n, r, e);
|
|
22827
22832
|
}
|
|
22828
22833
|
return n;
|
|
22829
22834
|
}
|
|
22830
22835
|
//#endregion
|
|
22831
22836
|
//#region src/lib/components/ui/shared/SettingsPanel.tsx
|
|
22832
|
-
function
|
|
22833
|
-
let e =
|
|
22837
|
+
function iu() {
|
|
22838
|
+
let e = $l(Tc?.components?.schemas?.Config?.properties?.environment ?? {}), [t, n] = v(() => k().getValue());
|
|
22834
22839
|
p(() => {
|
|
22835
22840
|
let e = k().getObservable().subscribe((e) => n(e));
|
|
22836
22841
|
return () => e.unsubscribe();
|
|
22837
22842
|
}, []);
|
|
22838
|
-
let r = t?.config?.environment ?? {}, [i, a] = v(() => Object.fromEntries(Object.entries(e).map(([e, t]) => [e,
|
|
22843
|
+
let r = t?.config?.environment ?? {}, [i, a] = v(() => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, tu(r, e) ?? t.default ?? ""]))), o = _(t);
|
|
22839
22844
|
p(() => {
|
|
22840
22845
|
if (o.current === t) return;
|
|
22841
22846
|
o.current = t;
|
|
22842
22847
|
let n = t?.config?.environment ?? {};
|
|
22843
|
-
a(Object.fromEntries(Object.entries(e).map(([e, t]) => [e,
|
|
22848
|
+
a(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, tu(n, e) ?? t.default ?? ""])));
|
|
22844
22849
|
}, [t, e]);
|
|
22845
|
-
let s = g(() =>
|
|
22846
|
-
let r =
|
|
22850
|
+
let s = g(() => nu(Tc), []), c = (n) => {
|
|
22851
|
+
let r = ru(e, n), i = {
|
|
22847
22852
|
...t,
|
|
22848
22853
|
config: {
|
|
22849
22854
|
...t?.config ?? {},
|
|
@@ -22926,7 +22931,7 @@ function ru() {
|
|
|
22926
22931
|
if (typeof t != "string") throw Error("File content is not a string");
|
|
22927
22932
|
let n = JSON.parse(t);
|
|
22928
22933
|
console.log("Imported user config:", n);
|
|
22929
|
-
let i = n?.config?.environment ?? {}, o = Object.fromEntries(Object.entries(e).map(([e, t]) => [e,
|
|
22934
|
+
let i = n?.config?.environment ?? {}, o = Object.fromEntries(Object.entries(e).map(([e, t]) => [e, tu(i, e) ?? t.default ?? ""]));
|
|
22930
22935
|
a(o), c(o);
|
|
22931
22936
|
} catch (e) {
|
|
22932
22937
|
console.error("Invalid JSON config file:", e);
|
|
@@ -22941,10 +22946,10 @@ function ru() {
|
|
|
22941
22946
|
})]
|
|
22942
22947
|
});
|
|
22943
22948
|
}
|
|
22944
|
-
|
|
22949
|
+
iu.menuName = "settings", iu.menuLabel = "Settings";
|
|
22945
22950
|
//#endregion
|
|
22946
22951
|
//#region src/lib/components/ui/shared/TreeViewer.tsx
|
|
22947
|
-
function
|
|
22952
|
+
function au(e) {
|
|
22948
22953
|
let t = (0, q.c)(7), { type: n, color: r } = e, i = r === void 0 ? "#7c7c7c" : r;
|
|
22949
22954
|
switch (n) {
|
|
22950
22955
|
case "vertical": {
|
|
@@ -22984,12 +22989,12 @@ function iu(e) {
|
|
|
22984
22989
|
}
|
|
22985
22990
|
}
|
|
22986
22991
|
}
|
|
22987
|
-
function
|
|
22992
|
+
function ou(e) {
|
|
22988
22993
|
let t = (0, q.c)(53), { hierarchy: n, root: r, path: i, doc: a, expandable: o, onSelect: s } = e, c = i === void 0 ? "" : i, l = o === void 0 ? !1 : o, u = s === void 0 ? null : s, [d, f] = v(!1), [m, h] = v(""), g;
|
|
22989
22994
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = [], t[0] = g) : g = t[0];
|
|
22990
22995
|
let [y, b] = v(g), [x, S] = v(""), C;
|
|
22991
22996
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (C = [], t[1] = C) : C = t[1];
|
|
22992
|
-
let [w, T] = v(C), E = _(!1), D =
|
|
22997
|
+
let [w, T] = v(C), E = _(!1), D = cu, O;
|
|
22993
22998
|
t[2] !== a.current || t[3] !== c || t[4] !== r._childs || t[5] !== r._name ? (O = () => {
|
|
22994
22999
|
let e = r._childs, t = Array.isArray(e) ? e : Object.values(e || {}), n = D(r._name);
|
|
22995
23000
|
h(n), S(c ? `${c}/${n}` : n), b(t);
|
|
@@ -23025,7 +23030,7 @@ function au(e) {
|
|
|
23025
23030
|
let e = r._childs;
|
|
23026
23031
|
b(Array.isArray(e) ? e : Object.values(e || {}));
|
|
23027
23032
|
}
|
|
23028
|
-
f(
|
|
23033
|
+
f(su);
|
|
23029
23034
|
}, t[15] = n, t[16] = j, t[17] = m, t[18] = x, t[19] = r._childs, t[20] = d, t[21] = M) : M = t[21];
|
|
23030
23035
|
let N = M, P;
|
|
23031
23036
|
t[22] !== n || t[23] !== j || t[24] !== m || t[25] !== c || t[26] !== x || t[27] !== r ? (P = () => {
|
|
@@ -23090,15 +23095,15 @@ function au(e) {
|
|
|
23090
23095
|
flexDirection: "row",
|
|
23091
23096
|
justifyContent: "flex-end",
|
|
23092
23097
|
width: 25,
|
|
23093
|
-
children: t === y.length - 1 ? /* @__PURE__ */ (0, X.jsx)(
|
|
23098
|
+
children: t === y.length - 1 ? /* @__PURE__ */ (0, X.jsx)(au, { type: "corner" }) : /* @__PURE__ */ (0, X.jsx)(au, { type: "vertical" })
|
|
23094
23099
|
}),
|
|
23095
23100
|
/* @__PURE__ */ (0, X.jsx)(Z, {
|
|
23096
23101
|
flexDirection: "row",
|
|
23097
23102
|
justifyContent: "center",
|
|
23098
23103
|
width: 25,
|
|
23099
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23104
|
+
children: /* @__PURE__ */ (0, X.jsx)(au, { type: "horizontal" })
|
|
23100
23105
|
}),
|
|
23101
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
23106
|
+
/* @__PURE__ */ (0, X.jsx)(ou, {
|
|
23102
23107
|
hierarchy: n,
|
|
23103
23108
|
root: e,
|
|
23104
23109
|
path: x,
|
|
@@ -23119,19 +23124,19 @@ function au(e) {
|
|
|
23119
23124
|
})
|
|
23120
23125
|
}), t[50] = I, t[51] = L, t[52] = R) : R = t[52], R;
|
|
23121
23126
|
}
|
|
23122
|
-
function
|
|
23127
|
+
function su(e) {
|
|
23123
23128
|
return !e;
|
|
23124
23129
|
}
|
|
23125
|
-
function
|
|
23130
|
+
function cu(e) {
|
|
23126
23131
|
return (e ?? "").trim().replace(/;\d+$/, "");
|
|
23127
23132
|
}
|
|
23128
23133
|
//#endregion
|
|
23129
23134
|
//#region src/lib/components/ui/shared/FileBrowser.tsx
|
|
23130
|
-
function
|
|
23135
|
+
function lu(e) {
|
|
23131
23136
|
let t = (0, q.c)(8), { hierarchy: n, root: r, doc: i, onSelect: a } = e, o;
|
|
23132
23137
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = ["menuContainer"], t[0] = o) : o = t[0];
|
|
23133
23138
|
let s;
|
|
23134
|
-
t[1] !== i || t[2] !== n || t[3] !== a || t[4] !== r ? (s = r && /* @__PURE__ */ (0, X.jsx)(
|
|
23139
|
+
t[1] !== i || t[2] !== n || t[3] !== a || t[4] !== r ? (s = r && /* @__PURE__ */ (0, X.jsx)(ou, {
|
|
23135
23140
|
hierarchy: n,
|
|
23136
23141
|
root: r,
|
|
23137
23142
|
doc: i,
|
|
@@ -23158,8 +23163,8 @@ function cu(e) {
|
|
|
23158
23163
|
}
|
|
23159
23164
|
//#endregion
|
|
23160
23165
|
//#region src/lib/components/env/NdmvrEnv.tsx
|
|
23161
|
-
var
|
|
23162
|
-
function
|
|
23166
|
+
var uu = be();
|
|
23167
|
+
function du(e) {
|
|
23163
23168
|
let t = (0, q.c)(37), { children: n, browser: r, hierarchy: i, rootNode: a, hierarchyDocRef: o, onSelectItem: s } = e, c = r === void 0 ? !1 : r, l = i === void 0 ? null : i, u = a === void 0 ? null : a, d = o === void 0 ? null : o, f = s === void 0 ? null : s, m = _(null), h = _(null), [g, y] = v(null), b, x;
|
|
23164
23169
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
23165
23170
|
let e = k().getObservable().subscribe((e) => y(e.config));
|
|
@@ -23202,7 +23207,7 @@ function uu(e) {
|
|
|
23202
23207
|
2,
|
|
23203
23208
|
0
|
|
23204
23209
|
],
|
|
23205
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23210
|
+
children: /* @__PURE__ */ (0, X.jsx)(lu, {
|
|
23206
23211
|
hierarchy: l,
|
|
23207
23212
|
root: u,
|
|
23208
23213
|
doc: d,
|
|
@@ -23217,9 +23222,9 @@ function uu(e) {
|
|
|
23217
23222
|
/* @__PURE__ */ (0, X.jsx)(lc, {}),
|
|
23218
23223
|
/* @__PURE__ */ (0, X.jsx)(gc, {}),
|
|
23219
23224
|
/* @__PURE__ */ (0, X.jsx)(hc, {}),
|
|
23220
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
23221
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
23222
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
23225
|
+
/* @__PURE__ */ (0, X.jsx)(xc, {}),
|
|
23226
|
+
/* @__PURE__ */ (0, X.jsx)(wc, {}),
|
|
23227
|
+
/* @__PURE__ */ (0, X.jsx)(iu, {})
|
|
23223
23228
|
]
|
|
23224
23229
|
}), L = /* @__PURE__ */ (0, X.jsx)(Gs, {}), t[18] = I, t[19] = L) : (I = t[18], L = t[19]);
|
|
23225
23230
|
let R;
|
|
@@ -23246,7 +23251,7 @@ function uu(e) {
|
|
|
23246
23251
|
}), t[25] = E, t[26] = D, t[27] = O, t[28] = H) : H = t[28];
|
|
23247
23252
|
let U;
|
|
23248
23253
|
t[29] !== F || t[30] !== R || t[31] !== V || t[32] !== H ? (U = /* @__PURE__ */ (0, X.jsxs)(ve, {
|
|
23249
|
-
store:
|
|
23254
|
+
store: uu,
|
|
23250
23255
|
children: [
|
|
23251
23256
|
P,
|
|
23252
23257
|
F,
|
|
@@ -23261,7 +23266,7 @@ function uu(e) {
|
|
|
23261
23266
|
children: /* @__PURE__ */ (0, X.jsxs)(fe, {
|
|
23262
23267
|
shadows: !0,
|
|
23263
23268
|
gl: j,
|
|
23264
|
-
onCreated:
|
|
23269
|
+
onCreated: fu,
|
|
23265
23270
|
children: [
|
|
23266
23271
|
M,
|
|
23267
23272
|
N,
|
|
@@ -23270,20 +23275,20 @@ function uu(e) {
|
|
|
23270
23275
|
})
|
|
23271
23276
|
}), t[34] = N, t[35] = U, t[36] = W) : W = t[36], W;
|
|
23272
23277
|
}
|
|
23273
|
-
function
|
|
23278
|
+
function fu(e) {
|
|
23274
23279
|
let { gl: t } = e;
|
|
23275
23280
|
t.toneMapping = L.NoToneMapping, t.outputColorSpace = L.SRGBColorSpace, t.toneMappingExposure = 1;
|
|
23276
23281
|
}
|
|
23277
23282
|
//#endregion
|
|
23278
23283
|
//#region src/lib/components/ui/desktop/Switch.tsx
|
|
23279
|
-
var
|
|
23284
|
+
var pu = Pa.div`
|
|
23280
23285
|
display: flex;
|
|
23281
23286
|
align-items: center;
|
|
23282
23287
|
position: absolute;
|
|
23283
23288
|
bottom: 20px;
|
|
23284
23289
|
left: 20px;
|
|
23285
23290
|
z-index: 10;
|
|
23286
|
-
`,
|
|
23291
|
+
`, mu = Pa.label`
|
|
23287
23292
|
position: relative;
|
|
23288
23293
|
display: inline-block;
|
|
23289
23294
|
width: 60px;
|
|
@@ -23330,12 +23335,12 @@ var fu = Pa.div`
|
|
|
23330
23335
|
input:checked + .slider:before {
|
|
23331
23336
|
transform: translateX(26px);
|
|
23332
23337
|
}
|
|
23333
|
-
`,
|
|
23338
|
+
`, hu = Pa.div`
|
|
23334
23339
|
font-family: Arial, sans-serif;
|
|
23335
23340
|
padding-left: 10px;
|
|
23336
23341
|
font-weight: bold;
|
|
23337
23342
|
`;
|
|
23338
|
-
function
|
|
23343
|
+
function gu(e) {
|
|
23339
23344
|
let t = (0, q.c)(16), { onToggle: n, label: r, startState: i, onMouseEnter: a, onMouseLeave: o } = e, s = r === void 0 ? "Full 3D Mode" : r, [c, l] = v(i === void 0 ? !1 : i), u;
|
|
23340
23345
|
t[0] !== c || t[1] !== n ? (u = () => {
|
|
23341
23346
|
l(!c), n && n(!c);
|
|
@@ -23349,11 +23354,11 @@ function hu(e) {
|
|
|
23349
23354
|
let p;
|
|
23350
23355
|
t[6] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, X.jsx)("span", { className: "slider" }), t[6] = p) : p = t[6];
|
|
23351
23356
|
let m;
|
|
23352
|
-
t[7] === f ? m = t[8] : (m = /* @__PURE__ */ (0, X.jsxs)(
|
|
23357
|
+
t[7] === f ? m = t[8] : (m = /* @__PURE__ */ (0, X.jsxs)(mu, { children: [f, p] }), t[7] = f, t[8] = m);
|
|
23353
23358
|
let h;
|
|
23354
|
-
t[9] === s ? h = t[10] : (h = /* @__PURE__ */ (0, X.jsx)(
|
|
23359
|
+
t[9] === s ? h = t[10] : (h = /* @__PURE__ */ (0, X.jsx)(hu, { children: s }), t[9] = s, t[10] = h);
|
|
23355
23360
|
let g;
|
|
23356
|
-
return t[11] !== a || t[12] !== o || t[13] !== m || t[14] !== h ? (g = /* @__PURE__ */ (0, X.jsxs)(
|
|
23361
|
+
return t[11] !== a || t[12] !== o || t[13] !== m || t[14] !== h ? (g = /* @__PURE__ */ (0, X.jsxs)(pu, {
|
|
23357
23362
|
onMouseEnter: a,
|
|
23358
23363
|
onMouseLeave: o,
|
|
23359
23364
|
children: [m, h]
|
|
@@ -23361,7 +23366,7 @@ function hu(e) {
|
|
|
23361
23366
|
}
|
|
23362
23367
|
//#endregion
|
|
23363
23368
|
//#region src/lib/assets/icons/fullscreen.svg
|
|
23364
|
-
var
|
|
23369
|
+
var _u = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20width='108'%20height='62'%20viewBox='0%200%20108%2062'%20version='1.1'%20id='svg320'%20sodipodi:docname='fullscreen-aframe.svg'%20xml:space='preserve'%20inkscape:version='1.2.1%20(9c6d41e%202022-07-14)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:dc='http://purl.org/dc/elements/1.1/'%3e%3cdefs%20id='defs324'%20/%3e%3csodipodi:namedview%20id='namedview322'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%20borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20showgrid='false'%20inkscape:zoom='3.8064516'%20inkscape:cx='91.423729'%20inkscape:cy='-1.4449153'%20inkscape:window-width='1440'%20inkscape:window-height='847'%20inkscape:window-x='32'%20inkscape:window-y='25'%20inkscape:window-maximized='0'%20inkscape:current-layer='svg320'%20/%3e%3ctitle%20id='title312'%3eaframe-armode-noborder-reduced-tracking%3c/title%3e%3cpath%20d='M96%200H12A12%2012%200%200%200%200%2012V50A12%2012%200%200%200%2012%2062H96a12%2012%200%200%200%2012-12V12A12%2012%200%200%200%2096%200Zm8%2050a8%208%200%200%201-8%208H12a8%208%200%200%201-8-8V12a8%208%200%200%201%208-8H96a8%208%200%200%201%208%208Z'%20fill='%23fff'%20id='path314'%20style='fill:%23ffffff'%20/%3e%3cg%20id='g356'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g358'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g360'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g362'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g364'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g366'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g368'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g370'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g372'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g374'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g376'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g378'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g380'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g382'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cg%20id='g384'%20transform='translate(-206.61017%20-232.61864)'%3e%3c/g%3e%3cmetadata%20id='metadata561'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:title%3eaframe-armode-noborder-reduced-tracking%3c/dc:title%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cpath%20d='m%2098.168511%2040.083649%20c%200%20-1.303681%20-0.998788%20-2.358041%20-2.239389%20-2.358041%20-1.230088%200.0031%20-2.240892%201.05436%20-2.240892%202.358041%20v%204.881296%20l%20-9.041661%20-9.041662%20c%20-0.874129%20-0.875631%20-2.288954%20-0.875631%20-3.16308%200%20-0.874129%200.874126%20-0.874129%202.293459%200%203.167585%20l%208.995101%208.992101%20h%20-4.858767%20c%20-1.323206%200.0031%20-2.389583%201.004796%20-2.389583%202.239386%200%201.237598%201.066377%202.237888%202.389583%202.237888%20h%2010.154599%20c%201.323206%200%202.388082%20-0.998789%202.392587%20-2.237888%20-0.0044%20-0.03305%20-0.009%20-0.05858%20-0.0134%20-0.09161%200.0046%20-0.04207%200.0134%20-0.08712%200.0134%20-0.13066%20V%2040.085172%20h%20-1.52e-4'%20id='path596'%20style='fill:%23ffffff;stroke-width:1.50194'%20/%3e%3cpath%20d='m%2023.091002%2035.921781%20-9.026643%209.041662%20v%20-4.881296%20c%200%20-1.303681%20-1.009302%20-2.355037%20-2.242393%20-2.358041%20-1.237598%200%20-2.237888%201.05436%20-2.237888%202.358041%20l%20-0.0031%2010.016421%20c%200%200.04356%200.01211%200.08862%200.0015%200.130659%20-0.0031%200.03153%20-0.009%200.05709%20-0.01211%200.09161%200.0031%201.239099%201.069379%202.237888%202.391085%202.237888%20h%2010.156101%20c%201.320202%200%202.388079%20-1.000291%202.388079%20-2.237888%200%20-1.234591%20-1.067877%20-2.236383%20-2.388079%20-2.239387%20h%20-4.858767%20l%208.995101%20-8.9921%20c%200.871126%20-0.874127%200.871126%20-2.293459%200%20-3.167586%20-0.875628%20-0.877132%20-2.291957%20-0.877132%20-3.169087%20-1.52e-4'%20id='path598'%20style='fill:%23ffffff;stroke-width:1.50194'%20/%3e%3cpath%20d='m%2084.649572%2025.978033%209.041662%20-9.041664%20v%204.881298%20c%200%201.299176%201.010806%202.350532%202.240891%202.355037%201.240601%200%202.23939%20-1.055861%202.23939%20-2.355037%20V%2011.798242%20c%200%20-0.04356%20-0.009%20-0.08862%20-0.0134%20-0.127671%200.0044%20-0.03153%200.009%20-0.06157%200.0134%20-0.09313%20-0.0044%20-1.240598%20-1.069379%20-2.2393873%20-2.391085%20-2.2393873%20h%20-10.1546%20c%20-1.323205%200%20-2.38958%200.9987893%20-2.38958%202.2393873%200%201.233091%201.066375%202.237887%202.38958%202.240891%20h%204.858768%20l%20-8.995102%208.9921%20c%20-0.874129%200.872625%20-0.874129%202.288954%200%203.161578%200.874127%200.880137%202.288951%200.880137%203.16308%201.5e-4'%20id='path600'%20style='fill:%23ffffff;stroke-width:1.50194'%20/%3e%3cpath%20d='m%2017.264988%2013.822853%20h%204.857265%20c%201.320202%20-0.0031%202.388079%20-1.0078%202.388079%20-2.240889%200%20-1.240601%20-1.067877%20-2.2393893%20-2.388079%20-2.2393893%20H%2011.967654%20c%20-1.321707%200%20-2.388082%200.9987883%20-2.391085%202.2393893%200.0031%200.03153%200.009%200.06157%200.01211%200.09313%20-0.0031%200.03905%20-0.0015%200.08262%20-0.0015%200.127671%20l%200.0031%2010.020926%20c%200%201.299176%201.00029%202.355038%202.237887%202.355038%201.233092%20-0.0044%202.242393%20-1.055862%202.242393%20-2.355038%20v%20-4.881295%20l%209.026644%209.041661%20c%200.877132%200.878635%202.293459%200.878635%203.169087%200%200.871125%20-0.872624%200.871125%20-2.288953%200%20-3.161577%20l%20-8.995282%20-8.993616'%20id='path602'%20style='fill:%23ffffff;stroke-width:1.50194'%20/%3e%3c/svg%3e", vu = Pa.div`
|
|
23365
23370
|
display: flex;
|
|
23366
23371
|
align-items: center;
|
|
23367
23372
|
justify-content: center;
|
|
@@ -23378,13 +23383,13 @@ var gu = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standa
|
|
|
23378
23383
|
&:hover {
|
|
23379
23384
|
background: rgba(255, 0, 0, 0.5);
|
|
23380
23385
|
}
|
|
23381
|
-
`,
|
|
23386
|
+
`, yu = Pa.img`
|
|
23382
23387
|
opacity: 1;
|
|
23383
23388
|
display: block;
|
|
23384
23389
|
height: 42px;
|
|
23385
23390
|
`;
|
|
23386
|
-
function
|
|
23387
|
-
let e = (0, q.c)(3), t =
|
|
23391
|
+
function bu() {
|
|
23392
|
+
let e = (0, q.c)(3), t = xu, [n, r] = v(!1), i, a;
|
|
23388
23393
|
if (e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = () => {
|
|
23389
23394
|
let e = () => {
|
|
23390
23395
|
r(!!document.fullscreenElement);
|
|
@@ -23394,23 +23399,23 @@ function yu() {
|
|
|
23394
23399
|
};
|
|
23395
23400
|
}, a = [], e[0] = i, e[1] = a) : (i = e[0], a = e[1]), p(i, a), n) return null;
|
|
23396
23401
|
let o;
|
|
23397
|
-
return e[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, X.jsx)(
|
|
23402
|
+
return e[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, X.jsx)(vu, {
|
|
23398
23403
|
onClick: t,
|
|
23399
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23400
|
-
src:
|
|
23404
|
+
children: /* @__PURE__ */ (0, X.jsx)(yu, {
|
|
23405
|
+
src: _u,
|
|
23401
23406
|
alt: "Fullscreen Button"
|
|
23402
23407
|
})
|
|
23403
23408
|
}), e[2] = o) : o = e[2], o;
|
|
23404
23409
|
}
|
|
23405
|
-
function
|
|
23406
|
-
document.fullscreenElement || document.documentElement.requestFullscreen().catch(
|
|
23410
|
+
function xu() {
|
|
23411
|
+
document.fullscreenElement || document.documentElement.requestFullscreen().catch(Su);
|
|
23407
23412
|
}
|
|
23408
|
-
function
|
|
23413
|
+
function Su(e) {
|
|
23409
23414
|
console.error(`Error attempting to enable fullscreen: ${e.message}`);
|
|
23410
23415
|
}
|
|
23411
23416
|
//#endregion
|
|
23412
23417
|
//#region src/lib/assets/icons/show_menu.svg
|
|
23413
|
-
var
|
|
23418
|
+
var Cu = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cline%20x1='3'%20y1='12'%20x2='21'%20y2='12'%20/%3e%3cline%20x1='3'%20y1='6'%20x2='21'%20y2='6'%20/%3e%3cline%20x1='3'%20y1='18'%20x2='21'%20y2='18'%20/%3e%3c/svg%3e", wu = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cline%20x1='18'%20y1='6'%20x2='6'%20y2='18'%20/%3e%3cline%20x1='6'%20y1='6'%20x2='18'%20y2='18'%20/%3e%3c/svg%3e", Tu = Pa.div`
|
|
23414
23419
|
display: flex;
|
|
23415
23420
|
align-items: center;
|
|
23416
23421
|
justify-content: center;
|
|
@@ -23425,18 +23430,18 @@ var Su = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewB
|
|
|
23425
23430
|
&:hover {
|
|
23426
23431
|
background: ${(e) => (e.$isActive, "rgba(0, 150, 255, 0.7)")};
|
|
23427
23432
|
}
|
|
23428
|
-
`,
|
|
23433
|
+
`, Eu = Pa.img`
|
|
23429
23434
|
display: block;
|
|
23430
23435
|
height: 30px;
|
|
23431
23436
|
opacity: 1;
|
|
23432
23437
|
user-select: none;
|
|
23433
|
-
`,
|
|
23438
|
+
`, Du = Pa.img`
|
|
23434
23439
|
display: block;
|
|
23435
23440
|
height: 30px;
|
|
23436
23441
|
opacity: 1;
|
|
23437
23442
|
user-select: none;
|
|
23438
23443
|
`;
|
|
23439
|
-
function
|
|
23444
|
+
function Ou() {
|
|
23440
23445
|
let e = (0, q.c)(8), { showMenu: t, toggleTab: n, menuExists: r } = Po();
|
|
23441
23446
|
if (!r) return null;
|
|
23442
23447
|
let i;
|
|
@@ -23444,15 +23449,15 @@ function Du() {
|
|
|
23444
23449
|
n(null);
|
|
23445
23450
|
}, e[0] = n, e[1] = i);
|
|
23446
23451
|
let a;
|
|
23447
|
-
e[2] === t ? a = e[3] : (a = t ? /* @__PURE__ */ (0, X.jsx)(
|
|
23448
|
-
src:
|
|
23452
|
+
e[2] === t ? a = e[3] : (a = t ? /* @__PURE__ */ (0, X.jsx)(Du, {
|
|
23453
|
+
src: wu,
|
|
23449
23454
|
alt: "Close menu"
|
|
23450
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
23451
|
-
src:
|
|
23455
|
+
}) : /* @__PURE__ */ (0, X.jsx)(Eu, {
|
|
23456
|
+
src: Cu,
|
|
23452
23457
|
alt: "Show menu"
|
|
23453
23458
|
}), e[2] = t, e[3] = a);
|
|
23454
23459
|
let o;
|
|
23455
|
-
return e[4] !== t || e[5] !== i || e[6] !== a ? (o = /* @__PURE__ */ (0, X.jsx)(
|
|
23460
|
+
return e[4] !== t || e[5] !== i || e[6] !== a ? (o = /* @__PURE__ */ (0, X.jsx)(Tu, {
|
|
23456
23461
|
$isActive: t,
|
|
23457
23462
|
onClick: i,
|
|
23458
23463
|
children: a
|
|
@@ -23460,7 +23465,7 @@ function Du() {
|
|
|
23460
23465
|
}
|
|
23461
23466
|
//#endregion
|
|
23462
23467
|
//#region src/lib/assets/icons/arrow.svg
|
|
23463
|
-
var
|
|
23468
|
+
var ku = "data:image/svg+xml,%3csvg%20data-name='1-Arrow%20Up'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3e%3cpath%20d='m26.71%2010.29-10-10a1%201%200%200%200-1.41%200l-10%2010%201.41%201.41L15%203.41V32h2V3.41l8.29%208.29z'/%3e%3c/svg%3e", Au = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='m19.707%209.293-7-7a1%201%200%200%200-1.414%200l-7%207A1%201%200%200%200%205%2011h3v10a1%201%200%200%200%201%201h6a1%201%200%200%200%201-1V11h3a1%201%200%200%200%20.707-1.707zM15%209a1%201%200%200%200-1%201v10h-4V10a1%201%200%200%200-1-1H7.414L12%204.414%2016.586%209z'%20style='fill:%231c1b1e'/%3e%3c/svg%3e", ju = Pa.div`
|
|
23464
23469
|
position: absolute;
|
|
23465
23470
|
left: 20px;
|
|
23466
23471
|
bottom: 20px;
|
|
@@ -23473,7 +23478,7 @@ var Ou = "data:image/svg+xml,%3csvg%20data-name='1-Arrow%20Up'%20xmlns='http://w
|
|
|
23473
23478
|
z-index: 0;
|
|
23474
23479
|
user-select: none;
|
|
23475
23480
|
touch-action: none;
|
|
23476
|
-
`,
|
|
23481
|
+
`, Mu = Pa.div`
|
|
23477
23482
|
position: absolute;
|
|
23478
23483
|
right: 20px;
|
|
23479
23484
|
bottom: 140px;
|
|
@@ -23485,7 +23490,7 @@ var Ou = "data:image/svg+xml,%3csvg%20data-name='1-Arrow%20Up'%20xmlns='http://w
|
|
|
23485
23490
|
z-index: 20;
|
|
23486
23491
|
user-select: none;
|
|
23487
23492
|
touch-action: none;
|
|
23488
|
-
`,
|
|
23493
|
+
`, Nu = Pa.button`
|
|
23489
23494
|
display: flex;
|
|
23490
23495
|
align-items: center;
|
|
23491
23496
|
justify-content: center;
|
|
@@ -23508,20 +23513,20 @@ var Ou = "data:image/svg+xml,%3csvg%20data-name='1-Arrow%20Up'%20xmlns='http://w
|
|
|
23508
23513
|
background 0.08s linear;
|
|
23509
23514
|
|
|
23510
23515
|
cursor: pointer;
|
|
23511
|
-
`,
|
|
23516
|
+
`, Pu = Pa.img`
|
|
23512
23517
|
width: 28px;
|
|
23513
23518
|
height: 28px;
|
|
23514
23519
|
pointer-events: none;
|
|
23515
23520
|
transform: rotate(${(e) => e.$rotate ?? 0}deg);
|
|
23516
23521
|
filter: brightness(0) invert(1);
|
|
23517
|
-
`,
|
|
23522
|
+
`, Fu = Pa.img`
|
|
23518
23523
|
width: 35px;
|
|
23519
23524
|
height: 35px;
|
|
23520
23525
|
pointer-events: none;
|
|
23521
23526
|
transform: rotate(${(e) => e.$rotate ?? 0}deg);
|
|
23522
23527
|
filter: brightness(0) invert(1);
|
|
23523
23528
|
`;
|
|
23524
|
-
function
|
|
23529
|
+
function Iu(e) {
|
|
23525
23530
|
let t = (0, q.c)(60), { onMoveStart: n, onMoveEnd: r } = e, i;
|
|
23526
23531
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
23527
23532
|
forward: !1,
|
|
@@ -23557,12 +23562,12 @@ function Fu(e) {
|
|
|
23557
23562
|
let m = a.forward, h;
|
|
23558
23563
|
t[9] === f ? h = t[10] : (h = f("forward"), t[9] = f, t[10] = h);
|
|
23559
23564
|
let g;
|
|
23560
|
-
t[11] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, X.jsx)(
|
|
23561
|
-
src:
|
|
23565
|
+
t[11] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, X.jsx)(Pu, {
|
|
23566
|
+
src: ku,
|
|
23562
23567
|
$rotate: 0
|
|
23563
23568
|
}), t[11] = g) : g = t[11];
|
|
23564
23569
|
let _;
|
|
23565
|
-
t[12] !== a.forward || t[13] !== h ? (_ = /* @__PURE__ */ (0, X.jsx)(
|
|
23570
|
+
t[12] !== a.forward || t[13] !== h ? (_ = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23566
23571
|
$active: m,
|
|
23567
23572
|
...h,
|
|
23568
23573
|
children: g
|
|
@@ -23572,12 +23577,12 @@ function Fu(e) {
|
|
|
23572
23577
|
let b = a.left, x;
|
|
23573
23578
|
t[16] === f ? x = t[17] : (x = f("left"), t[16] = f, t[17] = x);
|
|
23574
23579
|
let S;
|
|
23575
|
-
t[18] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ (0, X.jsx)(
|
|
23576
|
-
src:
|
|
23580
|
+
t[18] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ (0, X.jsx)(Pu, {
|
|
23581
|
+
src: ku,
|
|
23577
23582
|
$rotate: -90
|
|
23578
23583
|
}), t[18] = S) : S = t[18];
|
|
23579
23584
|
let C;
|
|
23580
|
-
t[19] !== a.left || t[20] !== x ? (C = /* @__PURE__ */ (0, X.jsx)(
|
|
23585
|
+
t[19] !== a.left || t[20] !== x ? (C = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23581
23586
|
$active: b,
|
|
23582
23587
|
...x,
|
|
23583
23588
|
children: S
|
|
@@ -23585,12 +23590,12 @@ function Fu(e) {
|
|
|
23585
23590
|
let w = a.back, T;
|
|
23586
23591
|
t[22] === f ? T = t[23] : (T = f("back"), t[22] = f, t[23] = T);
|
|
23587
23592
|
let E;
|
|
23588
|
-
t[24] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ (0, X.jsx)(
|
|
23589
|
-
src:
|
|
23593
|
+
t[24] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ (0, X.jsx)(Pu, {
|
|
23594
|
+
src: ku,
|
|
23590
23595
|
$rotate: 180
|
|
23591
23596
|
}), t[24] = E) : E = t[24];
|
|
23592
23597
|
let D;
|
|
23593
|
-
t[25] !== a.back || t[26] !== T ? (D = /* @__PURE__ */ (0, X.jsx)(
|
|
23598
|
+
t[25] !== a.back || t[26] !== T ? (D = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23594
23599
|
$active: w,
|
|
23595
23600
|
...T,
|
|
23596
23601
|
children: E
|
|
@@ -23598,12 +23603,12 @@ function Fu(e) {
|
|
|
23598
23603
|
let O = a.right, k;
|
|
23599
23604
|
t[28] === f ? k = t[29] : (k = f("right"), t[28] = f, t[29] = k);
|
|
23600
23605
|
let A;
|
|
23601
|
-
t[30] === Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ (0, X.jsx)(
|
|
23602
|
-
src:
|
|
23606
|
+
t[30] === Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ (0, X.jsx)(Pu, {
|
|
23607
|
+
src: ku,
|
|
23603
23608
|
$rotate: 90
|
|
23604
23609
|
}), t[30] = A) : A = t[30];
|
|
23605
23610
|
let j;
|
|
23606
|
-
t[31] !== a.right || t[32] !== k ? (j = /* @__PURE__ */ (0, X.jsx)(
|
|
23611
|
+
t[31] !== a.right || t[32] !== k ? (j = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23607
23612
|
$active: O,
|
|
23608
23613
|
...k,
|
|
23609
23614
|
children: A
|
|
@@ -23611,7 +23616,7 @@ function Fu(e) {
|
|
|
23611
23616
|
let M, N, P;
|
|
23612
23617
|
t[34] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ (0, X.jsx)("div", {}), N = /* @__PURE__ */ (0, X.jsx)("div", {}), P = /* @__PURE__ */ (0, X.jsx)("div", {}), t[34] = M, t[35] = N, t[36] = P) : (M = t[34], N = t[35], P = t[36]);
|
|
23613
23618
|
let F;
|
|
23614
|
-
t[37] !== C || t[38] !== D || t[39] !== j || t[40] !== _ ? (F = /* @__PURE__ */ (0, X.jsxs)(
|
|
23619
|
+
t[37] !== C || t[38] !== D || t[39] !== j || t[40] !== _ ? (F = /* @__PURE__ */ (0, X.jsxs)(ju, { children: [
|
|
23615
23620
|
p,
|
|
23616
23621
|
_,
|
|
23617
23622
|
y,
|
|
@@ -23625,12 +23630,12 @@ function Fu(e) {
|
|
|
23625
23630
|
let I = a.up, L;
|
|
23626
23631
|
t[42] === f ? L = t[43] : (L = f("up"), t[42] = f, t[43] = L);
|
|
23627
23632
|
let R;
|
|
23628
|
-
t[44] === Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ (0, X.jsx)(
|
|
23629
|
-
src:
|
|
23633
|
+
t[44] === Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ (0, X.jsx)(Fu, {
|
|
23634
|
+
src: Au,
|
|
23630
23635
|
$rotate: 0
|
|
23631
23636
|
}), t[44] = R) : R = t[44];
|
|
23632
23637
|
let z;
|
|
23633
|
-
t[45] !== a.up || t[46] !== L ? (z = /* @__PURE__ */ (0, X.jsx)(
|
|
23638
|
+
t[45] !== a.up || t[46] !== L ? (z = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23634
23639
|
$active: I,
|
|
23635
23640
|
...L,
|
|
23636
23641
|
children: R
|
|
@@ -23638,32 +23643,32 @@ function Fu(e) {
|
|
|
23638
23643
|
let B = a.down, V;
|
|
23639
23644
|
t[48] === f ? V = t[49] : (V = f("down"), t[48] = f, t[49] = V);
|
|
23640
23645
|
let H;
|
|
23641
|
-
t[50] === Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ (0, X.jsx)(
|
|
23642
|
-
src:
|
|
23646
|
+
t[50] === Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ (0, X.jsx)(Fu, {
|
|
23647
|
+
src: Au,
|
|
23643
23648
|
$rotate: 180
|
|
23644
23649
|
}), t[50] = H) : H = t[50];
|
|
23645
23650
|
let U;
|
|
23646
|
-
t[51] !== a.down || t[52] !== V ? (U = /* @__PURE__ */ (0, X.jsx)(
|
|
23651
|
+
t[51] !== a.down || t[52] !== V ? (U = /* @__PURE__ */ (0, X.jsx)(Nu, {
|
|
23647
23652
|
$active: B,
|
|
23648
23653
|
...V,
|
|
23649
23654
|
children: H
|
|
23650
23655
|
}), t[51] = a.down, t[52] = V, t[53] = U) : U = t[53];
|
|
23651
23656
|
let W;
|
|
23652
|
-
t[54] !== z || t[55] !== U ? (W = /* @__PURE__ */ (0, X.jsxs)(
|
|
23657
|
+
t[54] !== z || t[55] !== U ? (W = /* @__PURE__ */ (0, X.jsxs)(Mu, { children: [z, U] }), t[54] = z, t[55] = U, t[56] = W) : W = t[56];
|
|
23653
23658
|
let ee;
|
|
23654
23659
|
return t[57] !== F || t[58] !== W ? (ee = /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [F, W] }), t[57] = F, t[58] = W, t[59] = ee) : ee = t[59], ee;
|
|
23655
23660
|
}
|
|
23656
23661
|
//#endregion
|
|
23657
23662
|
//#region src/lib/components/env/NdmspcEnv.tsx
|
|
23658
|
-
function
|
|
23663
|
+
function Lu() {
|
|
23659
23664
|
if (typeof window > "u") return !1;
|
|
23660
23665
|
let e = navigator.maxTouchPoints >= 2, t = window.matchMedia?.("(any-hover: none)").matches ?? !1, n = window.matchMedia?.("(any-pointer: coarse)").matches ?? !1, r = Math.min(window.innerWidth, window.innerHeight) <= 900;
|
|
23661
23666
|
return navigator.userAgentData?.mobile === !0 || e && t && n && r;
|
|
23662
23667
|
}
|
|
23663
|
-
function
|
|
23668
|
+
function Ru(e) {
|
|
23664
23669
|
return typeof e == "object" && !!e && !Array.isArray(e) && Object.keys(e).length === 0;
|
|
23665
23670
|
}
|
|
23666
|
-
function
|
|
23671
|
+
function zu(e) {
|
|
23667
23672
|
let t = (0, q.c)(41), { children: n, config: r, onConfigChange: i, help: a, menu: o } = e, s = n === void 0 ? null : n, c = r === void 0 ? null : r, l = i === void 0 ? null : i, u = a === void 0 ? !1 : a, d = o === void 0 ? !1 : o, [f, m] = v(!0), h = _(!1), [g, y] = v(null), [b, x] = v(d || u), { setUIHover: S, setVrEnabled: C } = Fo();
|
|
23668
23673
|
console.log("NdmspcEnv render, config:", g, "onConfigChange:", typeof l), console.log("[NEW] onConfigChange:", l);
|
|
23669
23674
|
let w;
|
|
@@ -23679,11 +23684,11 @@ function Ru(e) {
|
|
|
23679
23684
|
if (h.current) return;
|
|
23680
23685
|
h.current = !0;
|
|
23681
23686
|
let e;
|
|
23682
|
-
c && !
|
|
23687
|
+
c && !Ru(c) ? e = k().next(c) : (console.log("[WARNING] Using Default Config]"), e = k().getValue()), console.log("[CONFIG] NdmspcEnv initialized, config:", e), y(e);
|
|
23683
23688
|
}, A = [c], t[3] = c, t[4] = O, t[5] = A), p(O, A);
|
|
23684
23689
|
let j;
|
|
23685
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (j =
|
|
23686
|
-
let M = j, N =
|
|
23690
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (j = Lu(), t[6] = j) : j = t[6];
|
|
23691
|
+
let M = j, N = Vu, P = Bu, F;
|
|
23687
23692
|
t[7] === Symbol.for("react.memo_cache_sentinel") ? (F = {
|
|
23688
23693
|
width: "100%",
|
|
23689
23694
|
height: "100%",
|
|
@@ -23709,7 +23714,7 @@ function Ru(e) {
|
|
|
23709
23714
|
height: "100%"
|
|
23710
23715
|
}, t[13] = B, t[14] = V);
|
|
23711
23716
|
let H;
|
|
23712
|
-
t[15] !== g || t[16] !== D || t[17] !== s || t[18] !== b ? (H = /* @__PURE__ */ (0, X.jsx)(
|
|
23717
|
+
t[15] !== g || t[16] !== D || t[17] !== s || t[18] !== b ? (H = /* @__PURE__ */ (0, X.jsx)(du, {
|
|
23713
23718
|
currentConfig: g,
|
|
23714
23719
|
onConfigChange: D,
|
|
23715
23720
|
showUIExternal: b,
|
|
@@ -23728,16 +23733,16 @@ function Ru(e) {
|
|
|
23728
23733
|
C(e), m(e);
|
|
23729
23734
|
}, t[26] = C, t[27] = te);
|
|
23730
23735
|
let ne;
|
|
23731
|
-
t[28] !== W || t[29] !== ee || t[30] !== te ? (ne = /* @__PURE__ */ (0, X.jsx)(
|
|
23736
|
+
t[28] !== W || t[29] !== ee || t[30] !== te ? (ne = /* @__PURE__ */ (0, X.jsx)(gu, {
|
|
23732
23737
|
onMouseEnter: W,
|
|
23733
23738
|
onMouseLeave: ee,
|
|
23734
23739
|
startState: !0,
|
|
23735
23740
|
onToggle: te
|
|
23736
23741
|
}), t[28] = W, t[29] = ee, t[30] = te, t[31] = ne) : ne = t[31];
|
|
23737
23742
|
let re, ie;
|
|
23738
|
-
t[32] === Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ (0, X.jsx)(
|
|
23743
|
+
t[32] === Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ (0, X.jsx)(bu, {}), ie = /* @__PURE__ */ (0, X.jsx)(Ou, {}), t[32] = re, t[33] = ie) : (re = t[32], ie = t[33]);
|
|
23739
23744
|
let ae;
|
|
23740
|
-
t[34] === f ? ae = t[35] : (ae = f && M && /* @__PURE__ */ (0, X.jsx)(
|
|
23745
|
+
t[34] === f ? ae = t[35] : (ae = f && M && /* @__PURE__ */ (0, X.jsx)(Iu, {
|
|
23741
23746
|
onMoveStart: N,
|
|
23742
23747
|
onMoveEnd: P
|
|
23743
23748
|
}), t[34] = f, t[35] = ae);
|
|
@@ -23754,13 +23759,13 @@ function Ru(e) {
|
|
|
23754
23759
|
]
|
|
23755
23760
|
}), t[36] = z, t[37] = U, t[38] = ne, t[39] = ae, t[40] = oe) : oe = t[40], oe;
|
|
23756
23761
|
}
|
|
23757
|
-
function
|
|
23762
|
+
function Bu(e) {
|
|
23758
23763
|
window.dispatchEvent(new CustomEvent("mobile-move", { detail: {
|
|
23759
23764
|
dir: e,
|
|
23760
23765
|
pressed: !1
|
|
23761
23766
|
} }));
|
|
23762
23767
|
}
|
|
23763
|
-
function
|
|
23768
|
+
function Vu(e) {
|
|
23764
23769
|
window.dispatchEvent(new CustomEvent("mobile-move", { detail: {
|
|
23765
23770
|
dir: e,
|
|
23766
23771
|
pressed: !0
|
|
@@ -23768,7 +23773,7 @@ function Bu(e) {
|
|
|
23768
23773
|
}
|
|
23769
23774
|
//#endregion
|
|
23770
23775
|
//#region src/lib/components/env/NdmspcDefaultBrowserEnv.tsx
|
|
23771
|
-
function
|
|
23776
|
+
function Hu(n) {
|
|
23772
23777
|
let r = (0, q.c)(48), { children: a, config: o, onConfigChange: s, menu: c, help: l, renderer: u, vr: d, file: f, item: m, opt: h, title: g, layout: y, defaultDrawOpt: b } = n, x = a === void 0 ? null : a, S = o === void 0 ? null : o, C = s === void 0 ? null : s, w = u === void 0 ? "jsroot" : u, T = d === void 0 ? !1 : d, E = f === void 0 ? "/hsimple.root" : f, D = m === void 0 ? null : m, O = h === void 0 ? null : h, A = g === void 0 ? "Ndmspc Default Browser Environment" : g, j = y === void 0 ? "simple" : y, N;
|
|
23773
23778
|
r[0] === b ? N = r[1] : (N = b === void 0 ? {
|
|
23774
23779
|
TH1: "hist",
|
|
@@ -23873,7 +23878,7 @@ function Vu(n) {
|
|
|
23873
23878
|
r[33] !== R || r[34] !== ue || r[35] !== x || r[36] !== be || r[37] !== ae || r[38] !== se ? (Ee = /* @__PURE__ */ (0, X.jsx)("div", {
|
|
23874
23879
|
className: "main-div",
|
|
23875
23880
|
style: Te,
|
|
23876
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23881
|
+
children: /* @__PURE__ */ (0, X.jsx)(du, {
|
|
23877
23882
|
currentConfig: R,
|
|
23878
23883
|
onConfigChange: ue,
|
|
23879
23884
|
hierarchy: ae,
|
|
@@ -23887,7 +23892,7 @@ function Vu(n) {
|
|
|
23887
23892
|
let De;
|
|
23888
23893
|
r[40] === Symbol.for("react.memo_cache_sentinel") ? (De = (e) => I(e), r[40] = De) : De = r[40];
|
|
23889
23894
|
let Oe;
|
|
23890
|
-
r[41] === F ? Oe = r[42] : (Oe = /* @__PURE__ */ (0, X.jsx)(
|
|
23895
|
+
r[41] === F ? Oe = r[42] : (Oe = /* @__PURE__ */ (0, X.jsx)(gu, {
|
|
23891
23896
|
startState: F,
|
|
23892
23897
|
onToggle: De
|
|
23893
23898
|
}), r[41] = F, r[42] = Oe);
|
|
@@ -23904,7 +23909,7 @@ function Vu(n) {
|
|
|
23904
23909
|
}
|
|
23905
23910
|
//#endregion
|
|
23906
23911
|
//#region src/lib/components/ui/shared/HelperTips.tsx
|
|
23907
|
-
function
|
|
23912
|
+
function Uu(e) {
|
|
23908
23913
|
let t = (0, q.c)(11), { originRef: n } = e, r = n === void 0 ? null : n, i = !!xe().session, a = _(null), o;
|
|
23909
23914
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
23910
23915
|
title: "Movement and Rotation",
|
|
@@ -24106,7 +24111,7 @@ function Hu(e) {
|
|
|
24106
24111
|
}), /* @__PURE__ */ (0, X.jsx)(Z, {
|
|
24107
24112
|
flexDirection: "column",
|
|
24108
24113
|
gap: 6,
|
|
24109
|
-
children: e.items.map(
|
|
24114
|
+
children: e.items.map(Wu)
|
|
24110
24115
|
})]
|
|
24111
24116
|
}), /* @__PURE__ */ (0, X.jsx)(G, {
|
|
24112
24117
|
width: 200,
|
|
@@ -24119,7 +24124,7 @@ function Hu(e) {
|
|
|
24119
24124
|
})
|
|
24120
24125
|
}), t[9] = h, t[10] = y), y;
|
|
24121
24126
|
}
|
|
24122
|
-
function
|
|
24127
|
+
function Wu(e, t) {
|
|
24123
24128
|
return /* @__PURE__ */ (0, X.jsxs)(Z, {
|
|
24124
24129
|
gap: 10,
|
|
24125
24130
|
children: [/* @__PURE__ */ (0, X.jsxs)(G, {
|
|
@@ -24133,10 +24138,10 @@ function Uu(e, t) {
|
|
|
24133
24138
|
})]
|
|
24134
24139
|
}, t);
|
|
24135
24140
|
}
|
|
24136
|
-
|
|
24141
|
+
Uu.menuName = "help", Uu.menuLabel = "Help";
|
|
24137
24142
|
//#endregion
|
|
24138
24143
|
//#region src/lib/components/service/IframeService.tsx
|
|
24139
|
-
var
|
|
24144
|
+
var Gu = (e) => {
|
|
24140
24145
|
let t = (0, q.c)(6), { targetOrigin: n, onMessage: r } = e, i = n === void 0 ? "*" : n, a = r === void 0 ? null : r, o;
|
|
24141
24146
|
t[0] === a ? o = t[1] : (o = (e) => {
|
|
24142
24147
|
console.log("Event: ", e), a && a(e);
|
|
@@ -24147,7 +24152,7 @@ var Wu = (e) => {
|
|
|
24147
24152
|
}), t[2] = s, t[3] = i, t[4] = c) : c = t[4];
|
|
24148
24153
|
let l;
|
|
24149
24154
|
return t[5] === Symbol.for("react.memo_cache_sentinel") ? (l = [], t[5] = l) : l = t[5], p(c, l), null;
|
|
24150
|
-
},
|
|
24155
|
+
}, Ku = (e) => {
|
|
24151
24156
|
let t = (0, q.c)(11), { targetOrigin: n, onConfigLoad: r } = e, i = n === void 0 ? "*" : n, a = r === void 0 ? null : r, [o, s] = v(null), c;
|
|
24152
24157
|
t[0] !== o || t[1] !== i ? (c = (e) => {
|
|
24153
24158
|
if (e?.data?.action === "load") {
|
|
@@ -24176,16 +24181,16 @@ var Wu = (e) => {
|
|
|
24176
24181
|
return t[7] !== o || t[8] !== a ? (f = () => {
|
|
24177
24182
|
o === null || a === null || (console.log("IframeCernboxService: Calling onConfigLoad callback on ndmspc config ", o), a(o));
|
|
24178
24183
|
}, m = [o, a], t[7] = o, t[8] = a, t[9] = f, t[10] = m) : (f = t[9], m = t[10]), p(f, m), null;
|
|
24179
|
-
},
|
|
24184
|
+
}, qu = (e) => {
|
|
24180
24185
|
let t = (0, q.c)(3), n, r;
|
|
24181
24186
|
return t[0] === e ? (n = t[1], r = t[2]) : (n = () => {
|
|
24182
|
-
console.log("Config state updated:", e), e !== null && (e?.type === "object" ? e?.file && fetch(e.file).then(
|
|
24187
|
+
console.log("Config state updated:", e), e !== null && (e?.type === "object" ? e?.file && fetch(e.file).then(Ju).then(Yu).catch(Xu) : e?.type === "browser" && console.log("Browser type selected - no action taken."));
|
|
24183
24188
|
}, r = [e], t[0] = e, t[1] = n, t[2] = r), h(n, r), null;
|
|
24184
24189
|
};
|
|
24185
|
-
function
|
|
24190
|
+
function Ju(e) {
|
|
24186
24191
|
return e.text();
|
|
24187
24192
|
}
|
|
24188
|
-
function
|
|
24193
|
+
function Yu(e) {
|
|
24189
24194
|
let t = n(e);
|
|
24190
24195
|
console.log("Fetched object:", t), M().next({
|
|
24191
24196
|
id: "histogram1",
|
|
@@ -24193,22 +24198,22 @@ function Ju(e) {
|
|
|
24193
24198
|
obj: t
|
|
24194
24199
|
});
|
|
24195
24200
|
}
|
|
24196
|
-
function
|
|
24201
|
+
function Xu(e) {
|
|
24197
24202
|
console.error("Error fetching object:", e);
|
|
24198
24203
|
}
|
|
24199
24204
|
//#endregion
|
|
24200
24205
|
//#region src/lib/hooks/useNdmspcWebsocket.tsx
|
|
24201
|
-
var
|
|
24206
|
+
var Zu = (e, t) => {
|
|
24202
24207
|
let n = (0, q.c)(4), r = e === void 0 ? "ws://localhost:8080/ws/root.websocket" : e, i = t === void 0 ? 60 : t, a, o;
|
|
24203
24208
|
return n[0] !== i || n[1] !== r ? (a = () => {
|
|
24204
24209
|
T().createWs(r, !1, i);
|
|
24205
|
-
let e = T().getSubject().subscribe(
|
|
24210
|
+
let e = T().getSubject().subscribe(Qu);
|
|
24206
24211
|
return () => {
|
|
24207
24212
|
e.unsubscribe();
|
|
24208
24213
|
};
|
|
24209
24214
|
}, o = [r, i], n[0] = i, n[1] = r, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), h(a, o), null;
|
|
24210
24215
|
};
|
|
24211
|
-
function
|
|
24216
|
+
function Qu(e) {
|
|
24212
24217
|
if (console.log("Received data:", e), typeof e != "string" || !e.startsWith("{")) return;
|
|
24213
24218
|
let t = n(e);
|
|
24214
24219
|
if (console.log("Received object:", t), t.arr && t.arr.length > 0) for (let e = 0; e < t.arr.length; e++) t.arr[e]._typename.startsWith("TH1") || t.arr[e]._typename.startsWith("TH2"), M().next({
|
|
@@ -24224,22 +24229,22 @@ function Zu(e) {
|
|
|
24224
24229
|
}
|
|
24225
24230
|
//#endregion
|
|
24226
24231
|
//#region src/lib/components/app/NdmspcNavigator.tsx
|
|
24227
|
-
function
|
|
24232
|
+
function $u(e) {
|
|
24228
24233
|
let t = (0, q.c)(17), { children: n, menu: r, help: i, ndmspcConfig: a, ndmvrConfig: o } = e, s = n === void 0 ? null : n, c = r === void 0 ? !1 : r, l = i === void 0 ? !1 : i, u = a === void 0 ? null : a, d = o === void 0 ? null : o;
|
|
24229
|
-
|
|
24234
|
+
Zu(), qu(u);
|
|
24230
24235
|
let f;
|
|
24231
|
-
t[0] !== l || t[1] !== u?.type || t[2] !== d ? (f = u?.type === "object" && /* @__PURE__ */ (0, X.jsx)(
|
|
24236
|
+
t[0] !== l || t[1] !== u?.type || t[2] !== d ? (f = u?.type === "object" && /* @__PURE__ */ (0, X.jsx)(zu, {
|
|
24232
24237
|
config: d,
|
|
24233
24238
|
help: l,
|
|
24234
24239
|
menu: !1
|
|
24235
24240
|
}), t[0] = l, t[1] = u?.type, t[2] = d, t[3] = f) : f = t[3];
|
|
24236
24241
|
let p;
|
|
24237
|
-
t[4] !== u?.file || t[5] !== u?.type ? (p = u?.type === "browser" && /* @__PURE__ */ (0, X.jsx)(
|
|
24242
|
+
t[4] !== u?.file || t[5] !== u?.type ? (p = u?.type === "browser" && /* @__PURE__ */ (0, X.jsx)(Hu, {
|
|
24238
24243
|
file: u?.file,
|
|
24239
24244
|
layout: "simple"
|
|
24240
24245
|
}), t[4] = u?.file, t[5] = u?.type, t[6] = p) : p = t[6];
|
|
24241
24246
|
let m;
|
|
24242
|
-
t[7] !== l || t[8] !== c || t[9] !== u?.type || t[10] !== d ? (m = !u?.type && /* @__PURE__ */ (0, X.jsx)(
|
|
24247
|
+
t[7] !== l || t[8] !== c || t[9] !== u?.type || t[10] !== d ? (m = !u?.type && /* @__PURE__ */ (0, X.jsx)(zu, {
|
|
24243
24248
|
config: d,
|
|
24244
24249
|
menu: c,
|
|
24245
24250
|
help: l
|
|
@@ -24253,4 +24258,4 @@ function Qu(e) {
|
|
|
24253
24258
|
] }), t[12] = s, t[13] = f, t[14] = p, t[15] = m, t[16] = h) : h = t[16], h;
|
|
24254
24259
|
}
|
|
24255
24260
|
//#endregion
|
|
24256
|
-
export {
|
|
24261
|
+
export { xc as BinInfo, qa as CameraSync, zs as CanvasComponent, Qo as Controllers, lc as Demo, qo as DesktopController, wc as DrawOptions, Uu as HelperTips, Rs as HistogramWrapper, gc as HttpConnectionMenu, Ku as IframeCernboxService, Gu as IframeService, Ka as JsrootEnv, zo as Menu, Hu as NdmspcDefaultBrowserEnv, zu as NdmspcEnv, $u as NdmspcNavigator, Hs as NdmvrContent, du as NdmvrEnv, iu as SettingsPanel, Ko as VRController, hc as WsConnectionMenu, S as binInfoSubjectGet, w as brokerManagerGet, E as canvasSubjectGet, O as configSubjectGet, A as functionSubjectGet, j as histogramSubjectGet, N as stateSubjectGet, uu as store, qu as useNdmspcConfig, Zu as useNdmspcWebsocket };
|