brainsmatics 1.1.26 → 1.1.27
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/{deflate-a5dbb677.js → deflate-54ae27b6.js} +1 -1
- package/dist/{deflate-603d1770.mjs → deflate-c1f51f65.mjs} +1 -1
- package/dist/{index-ea4e332a.mjs → index-377f5faa.mjs} +615 -530
- package/dist/{index-58b1506c.js → index-485cabe8.js} +50 -50
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-a0e6e435.mjs → lerc-1bb35309.mjs} +1 -1
- package/dist/{lerc-8c61f3d0.js → lerc-24ef285a.js} +1 -1
- package/package.json +1 -1
|
@@ -5566,7 +5566,7 @@ const Ag = {
|
|
|
5566
5566
|
overflow: "hidden",
|
|
5567
5567
|
whiteSpace: "nowrap",
|
|
5568
5568
|
textOverflow: "ellipsis"
|
|
5569
|
-
},
|
|
5569
|
+
}, To = function(t) {
|
|
5570
5570
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
5571
5571
|
return {
|
|
5572
5572
|
boxSizing: "border-box",
|
|
@@ -9183,7 +9183,7 @@ const nv = (t, e) => {
|
|
|
9183
9183
|
return [
|
|
9184
9184
|
// ============================ Holder ============================
|
|
9185
9185
|
{
|
|
9186
|
-
[e]: Object.assign(Object.assign({},
|
|
9186
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
9187
9187
|
color: i,
|
|
9188
9188
|
position: "fixed",
|
|
9189
9189
|
top: p,
|
|
@@ -11689,7 +11689,7 @@ const xat = /* @__PURE__ */ _.forwardRef((t, e) => {
|
|
|
11689
11689
|
fontHeightLG: N
|
|
11690
11690
|
} = t, D = `${He(u)} ${d} ${f}`;
|
|
11691
11691
|
return {
|
|
11692
|
-
[e]: Object.assign(Object.assign({},
|
|
11692
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
11693
11693
|
backgroundColor: i,
|
|
11694
11694
|
border: D,
|
|
11695
11695
|
borderRadius: l,
|
|
@@ -16737,7 +16737,7 @@ const nRe = (t) => {
|
|
|
16737
16737
|
},
|
|
16738
16738
|
// ======================== Modal ========================
|
|
16739
16739
|
{
|
|
16740
|
-
[e]: Object.assign(Object.assign({},
|
|
16740
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
16741
16741
|
pointerEvents: "none",
|
|
16742
16742
|
position: "relative",
|
|
16743
16743
|
top: 100,
|
|
@@ -20917,7 +20917,7 @@ const bfe = (t) => {
|
|
|
20917
20917
|
} = t, r = `${n}-item`, i = `&${e}-slide-up-enter${e}-slide-up-enter-active`, a = `&${e}-slide-up-appear${e}-slide-up-appear-active`, o = `&${e}-slide-up-leave${e}-slide-up-leave-active`, s = `${n}-dropdown-placement-`, l = `${r}-option-selected`;
|
|
20918
20918
|
return [
|
|
20919
20919
|
{
|
|
20920
|
-
[`${n}-dropdown`]: Object.assign(Object.assign({},
|
|
20920
|
+
[`${n}-dropdown`]: Object.assign(Object.assign({}, To(t)), {
|
|
20921
20921
|
position: "absolute",
|
|
20922
20922
|
top: -9999,
|
|
20923
20923
|
zIndex: t.zIndexPopup,
|
|
@@ -21298,7 +21298,7 @@ function gB(t, e) {
|
|
|
21298
21298
|
fontSize: t.fontSize,
|
|
21299
21299
|
height: t.controlHeight,
|
|
21300
21300
|
// ========================= Selector =========================
|
|
21301
|
-
[`${n}-selector`]: Object.assign(Object.assign({},
|
|
21301
|
+
[`${n}-selector`]: Object.assign(Object.assign({}, To(t, !0)), {
|
|
21302
21302
|
display: "flex",
|
|
21303
21303
|
borderRadius: i,
|
|
21304
21304
|
flex: "1 1 auto",
|
|
@@ -21742,7 +21742,7 @@ const Wut = (t) => {
|
|
|
21742
21742
|
iconCls: i
|
|
21743
21743
|
} = t;
|
|
21744
21744
|
return {
|
|
21745
|
-
[n]: Object.assign(Object.assign({},
|
|
21745
|
+
[n]: Object.assign(Object.assign({}, To(t)), {
|
|
21746
21746
|
position: "relative",
|
|
21747
21747
|
display: "inline-flex",
|
|
21748
21748
|
cursor: "pointer",
|
|
@@ -22315,7 +22315,7 @@ const Edt = /* @__PURE__ */ _.createContext({}), pK = Edt, Cdt = (t) => {
|
|
|
22315
22315
|
}
|
|
22316
22316
|
});
|
|
22317
22317
|
return {
|
|
22318
|
-
[n]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
22318
|
+
[n]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
22319
22319
|
position: "relative",
|
|
22320
22320
|
display: "inline-flex",
|
|
22321
22321
|
justifyContent: "center",
|
|
@@ -23556,7 +23556,7 @@ const Ddt = (t) => {
|
|
|
23556
23556
|
} = t, g = e(o).add(h).add(p).equal(), y = e(o).mul(2).add(h).equal();
|
|
23557
23557
|
return [
|
|
23558
23558
|
{
|
|
23559
|
-
[n]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
23559
|
+
[n]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
23560
23560
|
position: "absolute",
|
|
23561
23561
|
zIndex: s,
|
|
23562
23562
|
display: "block",
|
|
@@ -23841,7 +23841,7 @@ const ea = yne, Gdt = (t) => {
|
|
|
23841
23841
|
} = t;
|
|
23842
23842
|
return [
|
|
23843
23843
|
{
|
|
23844
|
-
[e]: Object.assign(Object.assign({},
|
|
23844
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
23845
23845
|
position: "absolute",
|
|
23846
23846
|
top: 0,
|
|
23847
23847
|
// use `left` to fix https://github.com/ant-design/ant-design/issues/39195
|
|
@@ -24255,7 +24255,7 @@ const eft = uOe, tft = new co("antStatusProcessing", {
|
|
|
24255
24255
|
};
|
|
24256
24256
|
});
|
|
24257
24257
|
return {
|
|
24258
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
24258
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
24259
24259
|
position: "relative",
|
|
24260
24260
|
display: "inline-block",
|
|
24261
24261
|
width: "fit-content",
|
|
@@ -24503,7 +24503,7 @@ const eft = uOe, tft = new co("antStatusProcessing", {
|
|
|
24503
24503
|
[s]: {
|
|
24504
24504
|
position: "relative"
|
|
24505
24505
|
},
|
|
24506
|
-
[o]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
24506
|
+
[o]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
24507
24507
|
position: "absolute",
|
|
24508
24508
|
top: r,
|
|
24509
24509
|
padding: `0 ${He(t.paddingXS)}`,
|
|
@@ -27750,7 +27750,7 @@ const SM = /* @__PURE__ */ _.createContext(null), HOe = /* @__PURE__ */ _.forwar
|
|
|
27750
27750
|
}
|
|
27751
27751
|
},
|
|
27752
27752
|
{
|
|
27753
|
-
[n]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
27753
|
+
[n]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), Om()), {
|
|
27754
27754
|
marginBottom: 0,
|
|
27755
27755
|
paddingInlineStart: 0,
|
|
27756
27756
|
// Override default ul/ol
|
|
@@ -28460,7 +28460,7 @@ const jOe = Aw, rht = (t) => {
|
|
|
28460
28460
|
margin: 0
|
|
28461
28461
|
}
|
|
28462
28462
|
},
|
|
28463
|
-
[`${e}, ${e}-menu-submenu`]: Object.assign(Object.assign({},
|
|
28463
|
+
[`${e}, ${e}-menu-submenu`]: Object.assign(Object.assign({}, To(t)), {
|
|
28464
28464
|
[n]: Object.assign(Object.assign({
|
|
28465
28465
|
padding: f,
|
|
28466
28466
|
listStyleType: "none",
|
|
@@ -28807,7 +28807,7 @@ const pht = (t) => {
|
|
|
28807
28807
|
antCls: n
|
|
28808
28808
|
} = t, r = `${e}-group`;
|
|
28809
28809
|
return {
|
|
28810
|
-
[r]: Object.assign(Object.assign({},
|
|
28810
|
+
[r]: Object.assign(Object.assign({}, To(t)), {
|
|
28811
28811
|
display: "inline-block",
|
|
28812
28812
|
fontSize: 0,
|
|
28813
28813
|
// RTL
|
|
@@ -28849,7 +28849,7 @@ const pht = (t) => {
|
|
|
28849
28849
|
unit: !0
|
|
28850
28850
|
});
|
|
28851
28851
|
return {
|
|
28852
|
-
[`${e}-wrapper`]: Object.assign(Object.assign({},
|
|
28852
|
+
[`${e}-wrapper`]: Object.assign(Object.assign({}, To(t)), {
|
|
28853
28853
|
display: "inline-flex",
|
|
28854
28854
|
alignItems: "baseline",
|
|
28855
28855
|
marginInlineStart: 0,
|
|
@@ -28889,7 +28889,7 @@ const pht = (t) => {
|
|
|
28889
28889
|
opacity: 0,
|
|
28890
28890
|
content: '""'
|
|
28891
28891
|
},
|
|
28892
|
-
[e]: Object.assign(Object.assign({},
|
|
28892
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
28893
28893
|
position: "relative",
|
|
28894
28894
|
display: "inline-block",
|
|
28895
28895
|
outline: "none",
|
|
@@ -30051,7 +30051,7 @@ const Ow = (t) => {
|
|
|
30051
30051
|
calc: i
|
|
30052
30052
|
} = t, a = 16, o = i(n).sub(i(r).mul(2)).sub(a).div(2).equal();
|
|
30053
30053
|
return {
|
|
30054
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
30054
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), H6(t)), eLe(t)), iLe(t)), nLe(t)), sLe(t)), {
|
|
30055
30055
|
'&[type="color"]': {
|
|
30056
30056
|
height: t.controlHeight,
|
|
30057
30057
|
[`&${e}-lg`]: {
|
|
@@ -30203,7 +30203,7 @@ const Ow = (t) => {
|
|
|
30203
30203
|
borderRadiusSM: r
|
|
30204
30204
|
} = t;
|
|
30205
30205
|
return {
|
|
30206
|
-
[`${e}-group`]: Object.assign(Object.assign(Object.assign({},
|
|
30206
|
+
[`${e}-group`]: Object.assign(Object.assign(Object.assign({}, To(t)), uLe(t)), {
|
|
30207
30207
|
"&-rtl": {
|
|
30208
30208
|
direction: "rtl"
|
|
30209
30209
|
},
|
|
@@ -31583,7 +31583,7 @@ const dgt = (t) => {
|
|
|
31583
31583
|
dropdownEdgeChildVerticalPadding: r
|
|
31584
31584
|
} = t;
|
|
31585
31585
|
return {
|
|
31586
|
-
[`${e}-dropdown`]: Object.assign(Object.assign({},
|
|
31586
|
+
[`${e}-dropdown`]: Object.assign(Object.assign({}, To(t)), {
|
|
31587
31587
|
position: "absolute",
|
|
31588
31588
|
top: -9999,
|
|
31589
31589
|
left: {
|
|
@@ -32124,7 +32124,7 @@ const dgt = (t) => {
|
|
|
32124
32124
|
colorBorderSecondary: s
|
|
32125
32125
|
} = t;
|
|
32126
32126
|
return {
|
|
32127
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
32127
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
32128
32128
|
display: "flex",
|
|
32129
32129
|
// ========================== Navigation ==========================
|
|
32130
32130
|
[`> ${e}-nav, > div > ${e}-nav`]: {
|
|
@@ -32593,7 +32593,7 @@ const _gt = (t) => {
|
|
|
32593
32593
|
extraColor: s
|
|
32594
32594
|
} = t;
|
|
32595
32595
|
return {
|
|
32596
|
-
[e]: Object.assign(Object.assign({},
|
|
32596
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
32597
32597
|
position: "relative",
|
|
32598
32598
|
background: t.colorBgContainer,
|
|
32599
32599
|
borderRadius: t.borderRadiusLG,
|
|
@@ -33227,7 +33227,7 @@ const Ygt = (t) => {
|
|
|
33227
33227
|
// ===================== Basic =====================
|
|
33228
33228
|
{
|
|
33229
33229
|
// Group
|
|
33230
|
-
[`${e}-group`]: Object.assign(Object.assign({},
|
|
33230
|
+
[`${e}-group`]: Object.assign(Object.assign({}, To(t)), {
|
|
33231
33231
|
display: "inline-flex",
|
|
33232
33232
|
flexWrap: "wrap",
|
|
33233
33233
|
columnGap: t.marginXS,
|
|
@@ -33237,7 +33237,7 @@ const Ygt = (t) => {
|
|
|
33237
33237
|
}
|
|
33238
33238
|
}),
|
|
33239
33239
|
// Wrapper
|
|
33240
|
-
[n]: Object.assign(Object.assign({},
|
|
33240
|
+
[n]: Object.assign(Object.assign({}, To(t)), {
|
|
33241
33241
|
display: "inline-flex",
|
|
33242
33242
|
alignItems: "baseline",
|
|
33243
33243
|
cursor: "pointer",
|
|
@@ -33262,7 +33262,7 @@ const Ygt = (t) => {
|
|
|
33262
33262
|
}
|
|
33263
33263
|
}),
|
|
33264
33264
|
// Wrapper > Checkbox
|
|
33265
|
-
[e]: Object.assign(Object.assign({},
|
|
33265
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
33266
33266
|
position: "relative",
|
|
33267
33267
|
whiteSpace: "nowrap",
|
|
33268
33268
|
lineHeight: 1,
|
|
@@ -33753,7 +33753,7 @@ const as = OLe, lmt = (t) => {
|
|
|
33753
33753
|
verticalMarginInline: s
|
|
33754
33754
|
} = t;
|
|
33755
33755
|
return {
|
|
33756
|
-
[e]: Object.assign(Object.assign({},
|
|
33756
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
33757
33757
|
borderBlockStart: `${He(i)} solid ${r}`,
|
|
33758
33758
|
// vertical
|
|
33759
33759
|
"&-vertical": {
|
|
@@ -34198,7 +34198,7 @@ const ymt = Object.assign({
|
|
|
34198
34198
|
componentCls: e
|
|
34199
34199
|
} = t, n = t.calc(t.controlHeight).sub(t.calc(t.trackPadding).mul(2)).equal(), r = t.calc(t.controlHeightLG).sub(t.calc(t.trackPadding).mul(2)).equal(), i = t.calc(t.controlHeightSM).sub(t.calc(t.trackPadding).mul(2)).equal();
|
|
34200
34200
|
return {
|
|
34201
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
34201
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
34202
34202
|
display: "inline-block",
|
|
34203
34203
|
padding: t.trackPadding,
|
|
34204
34204
|
color: t.itemColor,
|
|
@@ -35403,7 +35403,7 @@ const Xmt = (t) => {
|
|
|
35403
35403
|
} = t;
|
|
35404
35404
|
return [
|
|
35405
35405
|
{
|
|
35406
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
35406
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), H6(t)), {
|
|
35407
35407
|
display: "inline-block",
|
|
35408
35408
|
width: A,
|
|
35409
35409
|
margin: 0,
|
|
@@ -35470,7 +35470,7 @@ const Xmt = (t) => {
|
|
|
35470
35470
|
}
|
|
35471
35471
|
},
|
|
35472
35472
|
// Style for input-group: input with label, with button or dropdown...
|
|
35473
|
-
"&-group": Object.assign(Object.assign(Object.assign({},
|
|
35473
|
+
"&-group": Object.assign(Object.assign(Object.assign({}, To(t)), uLe(t)), {
|
|
35474
35474
|
"&-wrapper": Object.assign(Object.assign(Object.assign({
|
|
35475
35475
|
display: "inline-block",
|
|
35476
35476
|
textAlign: "start",
|
|
@@ -35516,7 +35516,7 @@ const Xmt = (t) => {
|
|
|
35516
35516
|
cursor: "not-allowed"
|
|
35517
35517
|
},
|
|
35518
35518
|
[e]: {
|
|
35519
|
-
"&-input": Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
35519
|
+
"&-input": Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
35520
35520
|
width: "100%",
|
|
35521
35521
|
padding: `${He(E)} ${He(b)}`,
|
|
35522
35522
|
textAlign: "start",
|
|
@@ -36954,7 +36954,7 @@ const Epe = QLe, A0t = (t) => {
|
|
|
36954
36954
|
motionDurationMid: v
|
|
36955
36955
|
} = t;
|
|
36956
36956
|
return {
|
|
36957
|
-
[e]: Object.assign(Object.assign({},
|
|
36957
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
36958
36958
|
position: "relative",
|
|
36959
36959
|
height: r,
|
|
36960
36960
|
margin: `${He(o)} ${He(a)}`,
|
|
@@ -38885,7 +38885,7 @@ const yvt = (t) => {
|
|
|
38885
38885
|
componentCls: e
|
|
38886
38886
|
} = t;
|
|
38887
38887
|
return {
|
|
38888
|
-
[t.componentCls]: Object.assign(Object.assign(Object.assign({},
|
|
38888
|
+
[t.componentCls]: Object.assign(Object.assign(Object.assign({}, To(t)), Evt(t)), {
|
|
38889
38889
|
[`${e}-text`]: {
|
|
38890
38890
|
display: "inline-block",
|
|
38891
38891
|
paddingInlineEnd: t.paddingSM
|
|
@@ -38912,7 +38912,7 @@ const yvt = (t) => {
|
|
|
38912
38912
|
itemMarginBottom: f
|
|
38913
38913
|
} = t;
|
|
38914
38914
|
return {
|
|
38915
|
-
[e]: Object.assign(Object.assign({},
|
|
38915
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
38916
38916
|
marginBottom: f,
|
|
38917
38917
|
verticalAlign: "top",
|
|
38918
38918
|
"&-with-help": {
|
|
@@ -43118,7 +43118,7 @@ const nbt = (t) => {
|
|
|
43118
43118
|
componentCls: e
|
|
43119
43119
|
} = t;
|
|
43120
43120
|
return {
|
|
43121
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
43121
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
43122
43122
|
display: "flex",
|
|
43123
43123
|
"&-start": {
|
|
43124
43124
|
justifyContent: "start"
|
|
@@ -43519,7 +43519,7 @@ const vbt = new co("antSpinMove", {
|
|
|
43519
43519
|
calc: n
|
|
43520
43520
|
} = t;
|
|
43521
43521
|
return {
|
|
43522
|
-
[e]: Object.assign(Object.assign({},
|
|
43522
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
43523
43523
|
position: "absolute",
|
|
43524
43524
|
display: "none",
|
|
43525
43525
|
color: t.colorPrimary,
|
|
@@ -44087,7 +44087,7 @@ const Abt = XNe, Rbt = (t) => {
|
|
|
44087
44087
|
descriptionFontSize: P
|
|
44088
44088
|
} = t;
|
|
44089
44089
|
return {
|
|
44090
|
-
[e]: Object.assign(Object.assign({},
|
|
44090
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
44091
44091
|
position: "relative",
|
|
44092
44092
|
"*": {
|
|
44093
44093
|
outline: "none"
|
|
@@ -44683,7 +44683,7 @@ Dg.destroyAll = function() {
|
|
|
44683
44683
|
Dg.config = Zlt;
|
|
44684
44684
|
Dg._InternalPanelDoNotUseOrYouWillBeFired = Zbt;
|
|
44685
44685
|
process.env.NODE_ENV !== "production" && (Dg.displayName = "Modal");
|
|
44686
|
-
const
|
|
44686
|
+
const Eo = Dg;
|
|
44687
44687
|
var qbt = {
|
|
44688
44688
|
percent: 0,
|
|
44689
44689
|
prefixCls: "rc-progress",
|
|
@@ -44967,7 +44967,7 @@ const t2t = (t) => {
|
|
|
44967
44967
|
iconCls: n
|
|
44968
44968
|
} = t;
|
|
44969
44969
|
return {
|
|
44970
|
-
[e]: Object.assign(Object.assign({},
|
|
44970
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
44971
44971
|
display: "inline-block",
|
|
44972
44972
|
"&-rtl": {
|
|
44973
44973
|
direction: "rtl"
|
|
@@ -46038,7 +46038,7 @@ const FCt = (t) => {
|
|
|
46038
46038
|
trackMinWidth: r
|
|
46039
46039
|
} = t;
|
|
46040
46040
|
return {
|
|
46041
|
-
[e]: Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
46041
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign({}, To(t)), {
|
|
46042
46042
|
position: "relative",
|
|
46043
46043
|
display: "inline-block",
|
|
46044
46044
|
boxSizing: "border-box",
|
|
@@ -50194,7 +50194,7 @@ const Wxt = (t) => {
|
|
|
50194
50194
|
controlItemBgActiveDisabled: d
|
|
50195
50195
|
} = e;
|
|
50196
50196
|
return {
|
|
50197
|
-
[n]: Object.assign(Object.assign({},
|
|
50197
|
+
[n]: Object.assign(Object.assign({}, To(e)), {
|
|
50198
50198
|
background: e.colorBgContainer,
|
|
50199
50199
|
borderRadius: e.borderRadius,
|
|
50200
50200
|
transition: `background-color ${e.motionDurationSlow}`,
|
|
@@ -51960,7 +51960,7 @@ const _N = "ascend", MB = "descend", OM = (t) => typeof t.sorter == "object" &&
|
|
|
51960
51960
|
{
|
|
51961
51961
|
// Dropdown
|
|
51962
51962
|
[`${n}-dropdown`]: {
|
|
51963
|
-
[z]: Object.assign(Object.assign({},
|
|
51963
|
+
[z]: Object.assign(Object.assign({}, To(t)), {
|
|
51964
51964
|
minWidth: i,
|
|
51965
51965
|
backgroundColor: S,
|
|
51966
51966
|
borderRadius: y,
|
|
@@ -52673,7 +52673,7 @@ const _N = "ascend", MB = "descend", OM = (t) => typeof t.sorter == "object" &&
|
|
|
52673
52673
|
clear: "both",
|
|
52674
52674
|
maxWidth: "100%"
|
|
52675
52675
|
}, Om()), {
|
|
52676
|
-
[e]: Object.assign(Object.assign({},
|
|
52676
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
52677
52677
|
fontSize: u,
|
|
52678
52678
|
background: d,
|
|
52679
52679
|
borderRadius: `${He(f)} ${He(f)} 0 0`,
|
|
@@ -53169,7 +53169,7 @@ const X6 = rv, l_t = (t) => {
|
|
|
53169
53169
|
} = t, o = a(r).sub(n).equal(), s = a(e).sub(n).equal();
|
|
53170
53170
|
return {
|
|
53171
53171
|
// Result
|
|
53172
|
-
[i]: Object.assign(Object.assign({},
|
|
53172
|
+
[i]: Object.assign(Object.assign({}, To(t)), {
|
|
53173
53173
|
display: "inline-block",
|
|
53174
53174
|
height: "auto",
|
|
53175
53175
|
// https://github.com/ant-design/ant-design/pull/47504
|
|
@@ -53986,7 +53986,7 @@ const $_t = (t) => {
|
|
|
53986
53986
|
} = t;
|
|
53987
53987
|
return [
|
|
53988
53988
|
{
|
|
53989
|
-
[e]: Object.assign(Object.assign({},
|
|
53989
|
+
[e]: Object.assign(Object.assign({}, To(t)), {
|
|
53990
53990
|
position: "absolute",
|
|
53991
53991
|
zIndex: f,
|
|
53992
53992
|
maxWidth: "fit-content",
|
|
@@ -57327,7 +57327,7 @@ const _Tt = (t) => {
|
|
|
57327
57327
|
colorTextDisabled: n
|
|
57328
57328
|
} = t;
|
|
57329
57329
|
return {
|
|
57330
|
-
[`${e}-wrapper`]: Object.assign(Object.assign({},
|
|
57330
|
+
[`${e}-wrapper`]: Object.assign(Object.assign({}, To(t)), {
|
|
57331
57331
|
[e]: {
|
|
57332
57332
|
outline: 0,
|
|
57333
57333
|
"input[type='file']": {
|
|
@@ -58254,7 +58254,7 @@ const uPe = R.memo(({ CurrentLevel: t, fbxname: e, threeview: n, TotalLevel: r,
|
|
|
58254
58254
|
"div",
|
|
58255
58255
|
{ id: "nav_gation" },
|
|
58256
58256
|
R.createElement(
|
|
58257
|
-
|
|
58257
|
+
Eo,
|
|
58258
58258
|
{ title: "Feedback", open: y, onCancel: W, footer: null },
|
|
58259
58259
|
R.createElement(
|
|
58260
58260
|
_c,
|
|
@@ -60109,7 +60109,7 @@ class PPe extends ju {
|
|
|
60109
60109
|
super(null), this.isData3DTexture = !0, this.image = { data: e, width: n, height: r, depth: i }, this.magFilter = Nd, this.minFilter = Nd, this.wrapR = kp, this.generateMipmaps = !1, this.flipY = !1, this.unpackAlignment = 1;
|
|
60110
60110
|
}
|
|
60111
60111
|
}
|
|
60112
|
-
class
|
|
60112
|
+
class wo {
|
|
60113
60113
|
constructor(e = 0, n = 0, r = 0, i = 1) {
|
|
60114
60114
|
this.isQuaternion = !0, this._x = e, this._y = n, this._z = r, this._w = i;
|
|
60115
60115
|
}
|
|
@@ -60591,7 +60591,7 @@ class Te {
|
|
|
60591
60591
|
yield this.x, yield this.y, yield this.z;
|
|
60592
60592
|
}
|
|
60593
60593
|
}
|
|
60594
|
-
const i$ = /* @__PURE__ */ new Te(), zge = /* @__PURE__ */ new
|
|
60594
|
+
const i$ = /* @__PURE__ */ new Te(), zge = /* @__PURE__ */ new wo();
|
|
60595
60595
|
class xs {
|
|
60596
60596
|
constructor(e = new Te(1 / 0, 1 / 0, 1 / 0), n = new Te(-1 / 0, -1 / 0, -1 / 0)) {
|
|
60597
60597
|
this.isBox3 = !0, this.min = e, this.max = n;
|
|
@@ -61351,7 +61351,7 @@ class $i {
|
|
|
61351
61351
|
return e[n] = r[0], e[n + 1] = r[1], e[n + 2] = r[2], e[n + 3] = r[3], e[n + 4] = r[4], e[n + 5] = r[5], e[n + 6] = r[6], e[n + 7] = r[7], e[n + 8] = r[8], e[n + 9] = r[9], e[n + 10] = r[10], e[n + 11] = r[11], e[n + 12] = r[12], e[n + 13] = r[13], e[n + 14] = r[14], e[n + 15] = r[15], e;
|
|
61352
61352
|
}
|
|
61353
61353
|
}
|
|
61354
|
-
const QS = /* @__PURE__ */ new Te(), qg = /* @__PURE__ */ new $i(), x5t = /* @__PURE__ */ new Te(0, 0, 0), _5t = /* @__PURE__ */ new Te(1, 1, 1), q1 = /* @__PURE__ */ new Te(), RR = /* @__PURE__ */ new Te(), Qp = /* @__PURE__ */ new Te(), Hge = /* @__PURE__ */ new $i(), Gge = /* @__PURE__ */ new
|
|
61354
|
+
const QS = /* @__PURE__ */ new Te(), qg = /* @__PURE__ */ new $i(), x5t = /* @__PURE__ */ new Te(0, 0, 0), _5t = /* @__PURE__ */ new Te(1, 1, 1), q1 = /* @__PURE__ */ new Te(), RR = /* @__PURE__ */ new Te(), Qp = /* @__PURE__ */ new Te(), Hge = /* @__PURE__ */ new $i(), Gge = /* @__PURE__ */ new wo();
|
|
61355
61355
|
class Vl {
|
|
61356
61356
|
constructor(e = 0, n = 0, r = 0, i = Vl.DEFAULT_ORDER) {
|
|
61357
61357
|
this.isEuler = !0, this._x = e, this._y = n, this._z = r, this._order = i;
|
|
@@ -61473,11 +61473,11 @@ class wre {
|
|
|
61473
61473
|
}
|
|
61474
61474
|
}
|
|
61475
61475
|
let w5t = 0;
|
|
61476
|
-
const jge = /* @__PURE__ */ new Te(), ex = /* @__PURE__ */ new
|
|
61476
|
+
const jge = /* @__PURE__ */ new Te(), ex = /* @__PURE__ */ new wo(), xv = /* @__PURE__ */ new $i(), OR = /* @__PURE__ */ new Te(), y4 = /* @__PURE__ */ new Te(), T5t = /* @__PURE__ */ new Te(), I5t = /* @__PURE__ */ new wo(), Wge = /* @__PURE__ */ new Te(1, 0, 0), Xge = /* @__PURE__ */ new Te(0, 1, 0), Zge = /* @__PURE__ */ new Te(0, 0, 1), A5t = { type: "added" }, R5t = { type: "removed" };
|
|
61477
61477
|
class Go extends QC {
|
|
61478
61478
|
constructor() {
|
|
61479
61479
|
super(), this.isObject3D = !0, Object.defineProperty(this, "id", { value: w5t++ }), this.uuid = Sg(), this.name = "", this.type = "Object3D", this.parent = null, this.children = [], this.up = Go.DEFAULT_UP.clone();
|
|
61480
|
-
const e = new Te(), n = new Vl(), r = new
|
|
61480
|
+
const e = new Te(), n = new Vl(), r = new wo(), i = new Te(1, 1, 1);
|
|
61481
61481
|
function a() {
|
|
61482
61482
|
r.setFromEuler(n, !1);
|
|
61483
61483
|
}
|
|
@@ -75252,7 +75252,7 @@ class oRt extends J6 {
|
|
|
75252
75252
|
const a = this.resultBuffer, o = this.sampleValues, s = this.valueSize, l = (r - n) / (i - n);
|
|
75253
75253
|
let u = e * s;
|
|
75254
75254
|
for (let d = u + s; u !== d; u += 4)
|
|
75255
|
-
|
|
75255
|
+
wo.slerpFlat(a, 0, o, u - s, o, u, l);
|
|
75256
75256
|
return a;
|
|
75257
75257
|
}
|
|
75258
75258
|
}
|
|
@@ -76625,7 +76625,7 @@ class e8 extends DA {
|
|
|
76625
76625
|
this.type = "TextGeometry";
|
|
76626
76626
|
}
|
|
76627
76627
|
}
|
|
76628
|
-
const i2 = new kA(), Rp = new Te(), K1 = new Te(), Mc = new
|
|
76628
|
+
const i2 = new kA(), Rp = new Te(), K1 = new Te(), Mc = new wo(), e0e = {
|
|
76629
76629
|
X: new Te(1, 0, 0),
|
|
76630
76630
|
Y: new Te(0, 1, 0),
|
|
76631
76631
|
Z: new Te(0, 0, 1)
|
|
@@ -76650,8 +76650,8 @@ class d_ extends Go {
|
|
|
76650
76650
|
}), a[b] = E, i[b] = E, r[b] = E;
|
|
76651
76651
|
}
|
|
76652
76652
|
o("camera", e), o("object", void 0), o("enabled", !0), o("axis", null), o("mode", "translate"), o("translationSnap", null), o("rotationSnap", null), o("scaleSnap", null), o("space", "world"), o("size", 1), o("dragging", !1), o("showX", !0), o("showY", !0), o("showZ", !0);
|
|
76653
|
-
const s = new Te(), l = new Te(), u = new
|
|
76654
|
-
o("worldPosition", s), o("worldPositionStart", l), o("worldQuaternion", u), o("worldQuaternionStart", d), o("cameraPosition", f), o("cameraQuaternion", p), o("pointStart", h), o("pointEnd", g), o("rotationAxis", y), o("rotationAngle", v), o("eye", m), this._offset = new Te(), this._startNorm = new Te(), this._endNorm = new Te(), this._cameraScale = new Te(), this._parentPosition = new Te(), this._parentQuaternion = new
|
|
76653
|
+
const s = new Te(), l = new Te(), u = new wo(), d = new wo(), f = new Te(), p = new wo(), h = new Te(), g = new Te(), y = new Te(), v = 0, m = new Te();
|
|
76654
|
+
o("worldPosition", s), o("worldPositionStart", l), o("worldQuaternion", u), o("worldQuaternionStart", d), o("cameraPosition", f), o("cameraQuaternion", p), o("pointStart", h), o("pointEnd", g), o("rotationAxis", y), o("rotationAngle", v), o("eye", m), this._offset = new Te(), this._startNorm = new Te(), this._endNorm = new Te(), this._cameraScale = new Te(), this._parentPosition = new Te(), this._parentQuaternion = new wo(), this._parentQuaternionInv = new wo(), this._parentScale = new Te(), this._worldScaleStart = new Te(), this._worldQuaternionInv = new wo(), this._worldScale = new Te(), this._positionStart = new Te(), this._quaternionStart = new wo(), this._scaleStart = new Te(), this._getPointer = DRt.bind(this), this._onPointerDown = URt.bind(this), this._onPointerHover = kRt.bind(this), this._onPointerMove = FRt.bind(this), this._onPointerUp = BRt.bind(this), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointermove", this._onPointerHover), this.domElement.addEventListener("pointerup", this._onPointerUp);
|
|
76655
76655
|
}
|
|
76656
76656
|
// updateMatrixWorld updates key transformation variables
|
|
76657
76657
|
updateMatrixWorld() {
|
|
@@ -76782,7 +76782,7 @@ function M$(t, e, n) {
|
|
|
76782
76782
|
return r[i];
|
|
76783
76783
|
return !1;
|
|
76784
76784
|
}
|
|
76785
|
-
const sO = new Vl(), ql = new Te(0, 1, 0), i0e = new Te(0, 0, 0), a0e = new $i(), lO = new
|
|
76785
|
+
const sO = new Vl(), ql = new Te(0, 1, 0), i0e = new Te(0, 0, 0), a0e = new $i(), lO = new wo(), RN = new wo(), l0 = new Te(), o0e = new $i(), $5 = new Te(1, 0, 0), sE = new Te(0, 1, 0), V5 = new Te(0, 0, 1), cO = new Te(), I4 = new Te(), A4 = new Te();
|
|
76786
76786
|
class $Rt extends Go {
|
|
76787
76787
|
constructor() {
|
|
76788
76788
|
super(), this.isTransformControlsGizmo = !0, this.type = "TransformControlsGizmo";
|
|
@@ -77632,7 +77632,7 @@ class iOt {
|
|
|
77632
77632
|
return s.length < 1 ? null : (s.push(this.parser.createNodeMesh(e)), Promise.all(s).then((u) => {
|
|
77633
77633
|
const d = u.pop(), f = d.isGroup ? d.children : [d], p = u[0].count, h = [];
|
|
77634
77634
|
for (const g of f) {
|
|
77635
|
-
const y = new $i(), v = new Te(), m = new
|
|
77635
|
+
const y = new $i(), v = new Te(), m = new wo(), b = new Te(1, 1, 1), E = new S9t(g.geometry, g.material, p);
|
|
77636
77636
|
for (let C = 0; C < p; C++)
|
|
77637
77637
|
l.TRANSLATION && v.fromBufferAttribute(l.TRANSLATION, C), l.ROTATION && m.fromBufferAttribute(l.ROTATION, C), l.SCALE && b.fromBufferAttribute(l.SCALE, C), E.setMatrixAt(C, y.compose(v, m, b));
|
|
77638
77638
|
for (const C in l)
|
|
@@ -77739,7 +77739,7 @@ class cDe extends J6 {
|
|
|
77739
77739
|
return a;
|
|
77740
77740
|
}
|
|
77741
77741
|
}
|
|
77742
|
-
const cOt = new
|
|
77742
|
+
const cOt = new wo();
|
|
77743
77743
|
class uOt extends cDe {
|
|
77744
77744
|
interpolate_(e, n, r, i) {
|
|
77745
77745
|
const a = super.interpolate_(e, n, r, i);
|
|
@@ -79988,7 +79988,7 @@ class GOt {
|
|
|
79988
79988
|
}
|
|
79989
79989
|
generateTracks(e) {
|
|
79990
79990
|
const n = [];
|
|
79991
|
-
let r = new Te(), i = new
|
|
79991
|
+
let r = new Te(), i = new wo(), a = new Te();
|
|
79992
79992
|
if (e.transform && e.transform.decompose(r, i, a), r = r.toArray(), i = new Vl().setFromQuaternion(i, e.eulerOrder).toArray(), a = a.toArray(), e.T !== void 0 && Object.keys(e.T.curves).length > 0) {
|
|
79993
79993
|
const o = this.generateVectorTrack(e.modelName, e.T.curves, r, "position");
|
|
79994
79994
|
o !== void 0 && n.push(o);
|
|
@@ -80014,8 +80014,8 @@ class GOt {
|
|
|
80014
80014
|
generateRotationTrack(e, n, r, i, a, o) {
|
|
80015
80015
|
n.x !== void 0 && (this.interpolateRotations(n.x), n.x.values = n.x.values.map(If.degToRad)), n.y !== void 0 && (this.interpolateRotations(n.y), n.y.values = n.y.values.map(If.degToRad)), n.z !== void 0 && (this.interpolateRotations(n.z), n.z.values = n.z.values.map(If.degToRad));
|
|
80016
80016
|
const s = this.getTimesForAllAxes(n), l = this.getKeyframeTrackValues(s, n, r);
|
|
80017
|
-
i !== void 0 && (i = i.map(If.degToRad), i.push(o), i = new Vl().fromArray(i), i = new
|
|
80018
|
-
const u = new
|
|
80017
|
+
i !== void 0 && (i = i.map(If.degToRad), i.push(o), i = new Vl().fromArray(i), i = new wo().setFromEuler(i)), a !== void 0 && (a = a.map(If.degToRad), a.push(o), a = new Vl().fromArray(a), a = new wo().setFromEuler(a).invert());
|
|
80018
|
+
const u = new wo(), d = new Vl(), f = [];
|
|
80019
80019
|
for (let p = 0; p < l.length; p += 3)
|
|
80020
80020
|
d.set(l[p], l[p + 1], l[p + 2], o), u.setFromEuler(d), i !== void 0 && u.premultiply(i), a !== void 0 && u.multiply(a), u.toArray(f, p / 3 * 4);
|
|
80021
80021
|
return new bb(e + ".quaternion", s, f);
|
|
@@ -80536,7 +80536,7 @@ const be = {
|
|
|
80536
80536
|
current: new Y_()
|
|
80537
80537
|
}, qi = {
|
|
80538
80538
|
current: new Md()
|
|
80539
|
-
}, na = { current: 0.01 }, Do = { current: -7 }, so = { current: -6 },
|
|
80539
|
+
}, na = { current: 0.01 }, Do = { current: -7 }, so = { current: -6 }, Co = { current: -8 }, gm = { current: null }, ya = {
|
|
80540
80540
|
current: {}
|
|
80541
80541
|
}, Ya = {
|
|
80542
80542
|
current: {}
|
|
@@ -80556,11 +80556,11 @@ const CDe = async (t, e) => {
|
|
|
80556
80556
|
}, W4n = (t) => new Date(t).toLocaleDateString(), SE = (t, e) => {
|
|
80557
80557
|
const { filepath: n, index: r, color: i, opacity: a, offsetZ: o = 0, R: s, callback: l } = t;
|
|
80558
80558
|
let u = new URL(window.location.href), f = new URLSearchParams(u.search).get("brainContourVisibility");
|
|
80559
|
-
const p = new
|
|
80559
|
+
const p = new wo();
|
|
80560
80560
|
p.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), new YD().load(n, (g) => {
|
|
80561
80561
|
g.scale.set(na.current * s, na.current * s, na.current * s), g.applyQuaternion(p), o && g.translateY(o * na.current * 0.1);
|
|
80562
80562
|
const y = g.children[0].material;
|
|
80563
|
-
y.transparent = !0, y.opacity = a || 1, y.depthTest = !1, y.color.set(i), be.current.add(g), g.translateX(Do.current), g.translateY(
|
|
80563
|
+
y.transparent = !0, y.opacity = a || 1, y.depthTest = !1, y.color.set(i), be.current.add(g), g.translateX(Do.current), g.translateY(Co.current), g.translateZ(-so.current), g.name = r, g.myMeshType = "FBX", g.children[0].name = r, g.children[0].myMeshType = "FBX", f && (g.visible = JSON.parse(f)), g.updateMatrixWorld();
|
|
80564
80564
|
const m = g.children[0].geometry;
|
|
80565
80565
|
m.computeBoundingBox();
|
|
80566
80566
|
const b = m.boundingBox;
|
|
@@ -80568,7 +80568,7 @@ const CDe = async (t, e) => {
|
|
|
80568
80568
|
});
|
|
80569
80569
|
}, tf = (t, e, n, r, i, a, o) => {
|
|
80570
80570
|
i = i ?? 0, r = r ?? 0.1, a = a ?? "FBX";
|
|
80571
|
-
const s = new
|
|
80571
|
+
const s = new wo();
|
|
80572
80572
|
s.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), new YD().load(t, (u) => {
|
|
80573
80573
|
u.scale.set(na.current, na.current, na.current), u.applyQuaternion(s), i && u.translateY(i * na.current * 0.1);
|
|
80574
80574
|
let d;
|
|
@@ -80579,9 +80579,9 @@ const CDe = async (t, e) => {
|
|
|
80579
80579
|
const f = new Lr(n);
|
|
80580
80580
|
if (u.children[0].material.color.set(f), u.children[0].material.transparent = !0, d ? u.children[0].material.opacity = d : u.children[0].material.opacity = r || 1, u.children[0].material.depthTest = !0, u.children[0].material.side = Pd, e !== "Brain") {
|
|
80581
80581
|
const v = u.clone(), m = new $i(), b = new Te(1, 0, 0);
|
|
80582
|
-
m.set(1 - 2 * b.x * b.x, -2 * b.x * b.y, -2 * b.x * b.z, 0, -2 * b.x * b.y, 1 - 2 * b.y * b.y, -2 * b.y * b.z, 0, -2 * b.x * b.z, -2 * b.y * b.z, 1 - 2 * b.z * b.z, 0, 0, 0, 0, 1), v.applyMatrix4(m), v.translateX(-Do.current), v.translateY(
|
|
80582
|
+
m.set(1 - 2 * b.x * b.x, -2 * b.x * b.y, -2 * b.x * b.z, 0, -2 * b.x * b.y, 1 - 2 * b.y * b.y, -2 * b.y * b.z, 0, -2 * b.x * b.z, -2 * b.y * b.z, 1 - 2 * b.z * b.z, 0, 0, 0, 0, 1), v.applyMatrix4(m), v.translateX(-Do.current), v.translateY(Co.current), v.translateZ(-so.current), v.name = e, v.myMeshType = a, v.children[0].name = e, v.children[0].myMeshType = a, Ya.current[e] = v, _m.current && be.current.add(v);
|
|
80583
80583
|
}
|
|
80584
|
-
e == "Brain" && u.scale.set(0.02, 0.02, 0.02), u.translateX(Do.current), u.translateY(
|
|
80584
|
+
e == "Brain" && u.scale.set(0.02, 0.02, 0.02), u.translateX(Do.current), u.translateY(Co.current), u.translateZ(-so.current), u.name = e, u.myMeshType = a, u.children[0].name = e, u.children[0].myMeshType = a, ya.current[e] = u, be.current.add(ya.current[e]);
|
|
80585
80585
|
const p = new Te(), h = new xs().setFromObject(u);
|
|
80586
80586
|
h.getCenter(p);
|
|
80587
80587
|
const g = new Te();
|
|
@@ -80772,7 +80772,7 @@ const nLt = (t) => {
|
|
|
80772
80772
|
} }, "x"),
|
|
80773
80773
|
R.createElement("div", { className: "Text" }, e.Text),
|
|
80774
80774
|
R.createElement("div", { style: { cursor: "pointer", position: "absolute", bottom: 5, right: 30 }, onClick: () => {
|
|
80775
|
-
|
|
80775
|
+
Eo.info({
|
|
80776
80776
|
title: "Full Text",
|
|
80777
80777
|
content: R.createElement("div", { style: { textIndent: 10, maxHeight: 500, overflowY: "auto" } }, e.Text)
|
|
80778
80778
|
});
|
|
@@ -80876,25 +80876,25 @@ const fLt = (t) => {
|
|
|
80876
80876
|
Pn(!0);
|
|
80877
80877
|
} });
|
|
80878
80878
|
}, []), Mn(() => {
|
|
80879
|
-
let dn = new
|
|
80879
|
+
let dn = new wo();
|
|
80880
80880
|
dn.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
80881
80881
|
const Et = be.current.getObjectByName("Brain");
|
|
80882
80882
|
if (m && Et) {
|
|
80883
80883
|
let Wr = m.current[0].clone().applyEuler(be.current.rotation), Ui = S.clone();
|
|
80884
80884
|
Wr = Wr.applyMatrix4(Et.matrixWorld.clone().invert()).applyQuaternion(dn), uo(Wr.toArray(), Ui.toArray());
|
|
80885
80885
|
}
|
|
80886
|
-
Du.position.set(S.x * 0.01 + Do.current, S.y * 0.01 + so.current, S.z * 0.01 +
|
|
80886
|
+
Du.position.set(S.x * 0.01 + Do.current, S.y * 0.01 + so.current, S.z * 0.01 + Co.current);
|
|
80887
80887
|
const vn = Du.up;
|
|
80888
|
-
let Mt = new Te(S.x * 0.01 + Do.current, S.y * 0.01 + so.current, S.z * 0.01 +
|
|
80888
|
+
let Mt = new Te(S.x * 0.01 + Do.current, S.y * 0.01 + so.current, S.z * 0.01 + Co.current);
|
|
80889
80889
|
const tr = Sr.current.position.clone().sub(Mt).normalize(), sr = vn.dot(tr), Vr = Math.acos(sr), ci = new Te().crossVectors(vn, tr).normalize();
|
|
80890
|
-
let Pi = new
|
|
80890
|
+
let Pi = new wo().setFromAxisAngle(ci, Vr);
|
|
80891
80891
|
if (Du.rotation.set(0, 0, 0), Du.applyQuaternion(Pi), m != null && m.current && (m == null ? void 0 : m.current.length) > 0) {
|
|
80892
80892
|
const Ui = [m.current[0].clone(), Du.position];
|
|
80893
80893
|
la(Ui), Va([Ti(Ui[0]), Ti(Ui[1])]), (m.current.length == 1 || m.current.length == 2) && (m.current[1] = Mt);
|
|
80894
80894
|
}
|
|
80895
80895
|
be.current.getObjectByName("sphereMiddelClick") || be.current.add(Du);
|
|
80896
80896
|
}, [S]), Mn(() => {
|
|
80897
|
-
var Et, vn, Mt, tr, sr, Vr, ci, Pi, ai, Wr, Ui, zn, cr, mn, xr, wt, kt, qt, gn, pn, On, Tn, Ie, Ee, ft, st, vt, we, je, Qe, ot, Ve, ct, pt, Rt, en, Pt, sn, hn, zt, Vt, lr, Gn, Dn, Ur, pi, oi, zr, fr, Di, za, ji, $o, Is, Gl, mo,
|
|
80897
|
+
var Et, vn, Mt, tr, sr, Vr, ci, Pi, ai, Wr, Ui, zn, cr, mn, xr, wt, kt, qt, gn, pn, On, Tn, Ie, Ee, ft, st, vt, we, je, Qe, ot, Ve, ct, pt, Rt, en, Pt, sn, hn, zt, Vt, lr, Gn, Dn, Ur, pi, oi, zr, fr, Di, za, ji, $o, Is, Gl, mo, Io, fo, qs, Ys, El, _r, cs, jl, Us, ps, Ao, es, Xo, Zo, no, al;
|
|
80898
80898
|
if (be.current.children.filter((Cs) => Cs.name && Cs.name.startsWith("test_")).forEach((Cs) => {
|
|
80899
80899
|
be.current.remove(Cs);
|
|
80900
80900
|
}), re) {
|
|
@@ -80904,11 +80904,11 @@ const fLt = (t) => {
|
|
|
80904
80904
|
} else {
|
|
80905
80905
|
h && (h.current = []);
|
|
80906
80906
|
const Cs = be.current.getObjectByName("axesHelperGroup");
|
|
80907
|
-
Cs && Cs.rotation.set(0, 0, 0), (Pt = bt.current) != null && Pt.mouseLine_w && be.current.remove((sn = bt.current) == null ? void 0 : sn.mouseLine_w), (hn = bt.current) != null && hn.mouseLine_h && be.current.remove((zt = bt.current) == null ? void 0 : zt.mouseLine_h), typeof ((Vt = bt.current) == null ? void 0 : Vt.coordText) == "object" && be.current.remove(bt.current.coordText), typeof ((lr = bt.current) == null ? void 0 : lr.coordTextReverse) == "object" && be.current.remove(bt.current.coordTextReverse), (Gn = rt.current) != null && Gn.mouseLine_w && be.current.remove((Dn = rt.current) == null ? void 0 : Dn.mouseLine_w), (Ur = rt.current) != null && Ur.mouseLine_h && be.current.remove((pi = rt.current) == null ? void 0 : pi.mouseLine_h), typeof ((oi = rt.current) == null ? void 0 : oi.coordText) == "object" && be.current.remove(rt.current.coordText), typeof ((zr = rt.current) == null ? void 0 : zr.coordTextReverse) == "object" && be.current.remove(rt.current.coordTextReverse), (fr = gt.current) != null && fr.mouseLine_w && be.current.remove((Di = gt.current) == null ? void 0 : Di.mouseLine_w), (za = gt.current) != null && za.mouseLine_h && be.current.remove((ji = gt.current) == null ? void 0 : ji.mouseLine_h), typeof (($o = gt.current) == null ? void 0 : $o.coordText) == "object" && be.current.remove(gt.current.coordText), typeof ((Is = gt.current) == null ? void 0 : Is.coordTextReverse) == "object" && be.current.remove(gt.current.coordTextReverse), (Gl = Le.current) != null && Gl.mouseLine_w && be.current.remove((mo = Le.current) == null ? void 0 : mo.mouseLine_w), (
|
|
80907
|
+
Cs && Cs.rotation.set(0, 0, 0), (Pt = bt.current) != null && Pt.mouseLine_w && be.current.remove((sn = bt.current) == null ? void 0 : sn.mouseLine_w), (hn = bt.current) != null && hn.mouseLine_h && be.current.remove((zt = bt.current) == null ? void 0 : zt.mouseLine_h), typeof ((Vt = bt.current) == null ? void 0 : Vt.coordText) == "object" && be.current.remove(bt.current.coordText), typeof ((lr = bt.current) == null ? void 0 : lr.coordTextReverse) == "object" && be.current.remove(bt.current.coordTextReverse), (Gn = rt.current) != null && Gn.mouseLine_w && be.current.remove((Dn = rt.current) == null ? void 0 : Dn.mouseLine_w), (Ur = rt.current) != null && Ur.mouseLine_h && be.current.remove((pi = rt.current) == null ? void 0 : pi.mouseLine_h), typeof ((oi = rt.current) == null ? void 0 : oi.coordText) == "object" && be.current.remove(rt.current.coordText), typeof ((zr = rt.current) == null ? void 0 : zr.coordTextReverse) == "object" && be.current.remove(rt.current.coordTextReverse), (fr = gt.current) != null && fr.mouseLine_w && be.current.remove((Di = gt.current) == null ? void 0 : Di.mouseLine_w), (za = gt.current) != null && za.mouseLine_h && be.current.remove((ji = gt.current) == null ? void 0 : ji.mouseLine_h), typeof (($o = gt.current) == null ? void 0 : $o.coordText) == "object" && be.current.remove(gt.current.coordText), typeof ((Is = gt.current) == null ? void 0 : Is.coordTextReverse) == "object" && be.current.remove(gt.current.coordTextReverse), (Gl = Le.current) != null && Gl.mouseLine_w && be.current.remove((mo = Le.current) == null ? void 0 : mo.mouseLine_w), (Io = Le.current) != null && Io.mouseLine_h && be.current.remove((fo = Le.current) == null ? void 0 : fo.mouseLine_h), typeof ((qs = Le.current) == null ? void 0 : qs.coordText) == "object" && be.current.remove(Le.current.coordText), typeof ((Ys = Le.current) == null ? void 0 : Ys.coordTextReverse) == "object" && be.current.remove(Le.current.coordTextReverse), (El = Ge.current) != null && El.mouseLine_w && be.current.remove((_r = Ge.current) == null ? void 0 : _r.mouseLine_w), (cs = Ge.current) != null && cs.mouseLine_h && be.current.remove((jl = Ge.current) == null ? void 0 : jl.mouseLine_h), typeof ((Us = Ge.current) == null ? void 0 : Us.coordText_lb) == "object" && be.current.remove(Ge.current.coordText_lb), typeof ((ps = Ge.current) == null ? void 0 : ps.coordText_rb) == "object" && be.current.remove(Ge.current.coordText_rb), typeof ((Ao = Ge.current) == null ? void 0 : Ao.coordText_rf) == "object" && be.current.remove(Ge.current.coordText_rf), typeof ((es = Ge.current) == null ? void 0 : es.coordText_lf) == "object" && be.current.remove(Ge.current.coordText_lf), (Xo = ht.current) != null && Xo.mouseLine_w && be.current.remove((Zo = ht.current) == null ? void 0 : Zo.mouseLine_w), (no = ht.current) != null && no.mouseLine_h && be.current.remove((al = ht.current) == null ? void 0 : al.mouseLine_h), an && (hr(), Pn(!1));
|
|
80908
80908
|
}
|
|
80909
80909
|
}, [re, an]);
|
|
80910
80910
|
const hr = () => {
|
|
80911
|
-
Ne.current = HM.max.clone().multiplyScalar(na.current).add(new Te(Do.current, so.current,
|
|
80911
|
+
Ne.current = HM.max.clone().multiplyScalar(na.current).add(new Te(Do.current, so.current, Co.current)), Pe.current = HM.min.clone().multiplyScalar(na.current).add(new Te(Do.current, so.current, Co.current));
|
|
80912
80912
|
let dn = Ne.current.x - Pe.current.x, Et = Ne.current.y - Pe.current.y, vn = Ne.current.z - Pe.current.z;
|
|
80913
80913
|
_e.current = 12 / dn, Xe.current = 10 / Et, me.current = 14 / vn, it.current = new Te((Ne.current.x + Pe.current.x) / 2, Pe.current.y - (Ne.current.y - Pe.current.y) * 150 / 9e3, Pe.current.z + 0.4 * (Ne.current.z - Pe.current.z)), qe.current = new Te(it.current.x - 6 / _e.current, it.current.y, Pe.current.z), We.current = new Te(it.current.x + 6 / _e.current, it.current.y + 10 / Xe.current, Ne.current.z), lt.current ? _i() : new eS().load(de + "fonts/helvetiker_bold.typeface.json", function(tr) {
|
|
80914
80914
|
ut.current = tr, fetch(`${de}/data/TreeData/nucleus.json`).then((sr) => sr.json()).then((sr) => {
|
|
@@ -80939,7 +80939,7 @@ const fLt = (t) => {
|
|
|
80939
80939
|
transparent: !0,
|
|
80940
80940
|
alphaTest: 0.5
|
|
80941
80941
|
}));
|
|
80942
|
-
vn.scale.set(0.5, 0.5, 0.5), vn.position.set($n[Et][0] * 0.01, $n[Et][1] * 0.01, $n[Et][2] * 0.01), vn.translateX(Do.current), vn.name = "lineName", vn.userData.name = Et.replace("_", "/"), vn.translateY(so.current), vn.translateZ(
|
|
80942
|
+
vn.scale.set(0.5, 0.5, 0.5), vn.position.set($n[Et][0] * 0.01, $n[Et][1] * 0.01, $n[Et][2] * 0.01), vn.translateX(Do.current), vn.name = "lineName", vn.userData.name = Et.replace("_", "/"), vn.translateY(so.current), vn.translateZ(Co.current), be.current.add(vn);
|
|
80943
80943
|
}
|
|
80944
80944
|
}, [$n]);
|
|
80945
80945
|
const Xn = (dn) => {
|
|
@@ -80975,7 +80975,7 @@ const fLt = (t) => {
|
|
|
80975
80975
|
let vn = 0.07;
|
|
80976
80976
|
Et.name === "Bregma" && (vn = 0.15);
|
|
80977
80977
|
var Mt = new ur(new ad(vn, 32, 32), new $l({ color: 16711680, transparent: !0 }));
|
|
80978
|
-
Mt.position.set(Et.Coordinate.x * 1e-3, Et.Coordinate.y * 1e-3, Et.Coordinate.z * 1e-3), Mt.name = Et.name, Mt.translateX(Do.current), Mt.visible = o, Mt.translateY(so.current), Mt.translateZ(
|
|
80978
|
+
Mt.position.set(Et.Coordinate.x * 1e-3, Et.Coordinate.y * 1e-3, Et.Coordinate.z * 1e-3), Mt.name = Et.name, Mt.translateX(Do.current), Mt.visible = o, Mt.translateY(so.current), Mt.translateZ(Co.current), Et.name === "Bregma" && Mt.add(OC), be.current.add(Mt), Zt.current.push(Mt);
|
|
80979
80979
|
});
|
|
80980
80980
|
}, yr = () => {
|
|
80981
80981
|
z.current = _n(li, 100), D.current = li, e == null || e.domElement.addEventListener("click", li, !1), e == null || e.domElement.addEventListener("contextmenu", li, !1), e == null || e.domElement.addEventListener("mousedown", di, !1), e == null || e.domElement.addEventListener("mousemove", z.current, !1), e == null || e.domElement.addEventListener("mousewheel", function(dn) {
|
|
@@ -80986,7 +80986,7 @@ const fLt = (t) => {
|
|
|
80986
80986
|
Sr.current.position.set(dn.x, dn.y, dn.z), Sr.current.scale.set(0.25, 0.25, 0.25), Sr.current.name = "targetPoint", be.current.add(Sr.current);
|
|
80987
80987
|
const Ui = be.current.getObjectByName("Brain");
|
|
80988
80988
|
if (Ui) {
|
|
80989
|
-
let zn = new
|
|
80989
|
+
let zn = new wo();
|
|
80990
80990
|
if (zn.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), v && v.current.length <= 1) {
|
|
80991
80991
|
let cr = dn.clone().applyEuler(be.current.rotation);
|
|
80992
80992
|
C.current = cr.clone().applyMatrix4(Ui.matrixWorld.clone().invert()).applyQuaternion(zn);
|
|
@@ -80997,10 +80997,10 @@ const fLt = (t) => {
|
|
|
80997
80997
|
}
|
|
80998
80998
|
Fe.current = dn, dn.z < Pe.current.z && (dn.z = Pe.current.z), Du.position.set(dn.x, dn.y, dn.z);
|
|
80999
80999
|
const vn = Du.up, Mt = Sr.current.position.clone().sub(dn).normalize(), tr = vn.dot(Mt), sr = Math.acos(tr), Vr = new Te().crossVectors(vn, Mt).normalize();
|
|
81000
|
-
let ci = new
|
|
81000
|
+
let ci = new wo().setFromAxisAngle(Vr, sr);
|
|
81001
81001
|
Du.rotation.set(0, 0, 0), Du.applyQuaternion(ci);
|
|
81002
81002
|
let Pi = qi.current.position.distanceTo(dn);
|
|
81003
|
-
Pi < 5 ? Du.scale.set(0.25, 0.25, 0.25) : Pi < 10 ? Du.scale.set(0.65, 0.65, 0.65) : Du.scale.set(1, 1, 1), be.current.getObjectByName("Brain") && new
|
|
81003
|
+
Pi < 5 ? Du.scale.set(0.25, 0.25, 0.25) : Pi < 10 ? Du.scale.set(0.65, 0.65, 0.65) : Du.scale.set(1, 1, 1), be.current.getObjectByName("Brain") && new wo().setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), be.current.getObjectByName("sphereMiddelClick") || be.current.add(Du);
|
|
81004
81004
|
}, bi = (dn) => {
|
|
81005
81005
|
const Et = nn.current.find((vn) => vn.name === dn);
|
|
81006
81006
|
return Et || void 0;
|
|
@@ -81109,7 +81109,7 @@ const fLt = (t) => {
|
|
|
81109
81109
|
}
|
|
81110
81110
|
return ai;
|
|
81111
81111
|
}, Zi = () => {
|
|
81112
|
-
var ai, Wr, Ui, zn, cr, mn, xr, wt, kt, qt, gn, pn, On, Tn, Ie, Ee, ft, st, vt, we, je, Qe, ot, Ve, ct, pt, Rt, en, Pt, sn, hn, zt, Vt, lr, Gn, Dn, Ur, pi, oi, zr, fr, Di, za, ji, $o, Is, Gl, mo,
|
|
81112
|
+
var ai, Wr, Ui, zn, cr, mn, xr, wt, kt, qt, gn, pn, On, Tn, Ie, Ee, ft, st, vt, we, je, Qe, ot, Ve, ct, pt, Rt, en, Pt, sn, hn, zt, Vt, lr, Gn, Dn, Ur, pi, oi, zr, fr, Di, za, ji, $o, Is, Gl, mo, Io, fo, qs, Ys, El, _r, cs, jl, Us, ps, Ao, es, Xo, Zo, no, al, Cs, hs, qo, Ks, Yu, zs, Fc, hc, Bc, Kc, Cl, Sl, xl, $c, uu, gc, Bd, du, $d, Ku, Ol, Ju, Jc, Js, Qu, Ll, gd, Ss, Nl, gs, Ac, ed, Vc, md, Qc, Vd, Qs, zd, td, Ml, eu, Pl, Qi, Dl, tu, Wl, mc, Ou, nu, Hd, vd, nd, zc, Lu, yd, w, k, q, ce, xe, Ke, Yt, Sn, Ln, gr, ui, Wi, xa, Hs, Ro, kl, Ka, Hc, Xl, bd, Gd, Gc, vc, ec, Oo, rd, pf, Gs, id, Ul, Ps, tc, Ep, Ed, Zm, N1, M1, Cd, Ah, cn, yc, bc, qm, Rh, Jr, jn, hi;
|
|
81113
81113
|
let dn = n.current.target.clone().sub(qi.current.position.clone()), Et, vn, Mt, tr = !1, sr = !1, Vr = !1, ci = !1, Pi = qi.current.up.y <= 0;
|
|
81114
81114
|
Pi ? ((Wr = (ai = Ge.current) == null ? void 0 : ai.coordText_lb) == null || Wr.children.forEach((jc) => {
|
|
81115
81115
|
jc.up.set(0, -1, 0);
|
|
@@ -81127,7 +81127,7 @@ const fLt = (t) => {
|
|
|
81127
81127
|
jc.up.set(0, 1, 0);
|
|
81128
81128
|
}), (Ee = (Ie = Ge.current) == null ? void 0 : Ie.coordText_rb) == null || Ee.children.forEach((jc) => {
|
|
81129
81129
|
jc.up.set(0, 1, 0);
|
|
81130
|
-
})), Et = (ft = bt.current) == null ? void 0 : ft.normalVector, Mt = bt, vn = Et && dn.dot(Et), sr = !1, (st = Mt.current) != null && st.coordMesh && be.current.remove((vt = Mt.current) == null ? void 0 : vt.coordMesh), (we = Mt.current) != null && we.mouseLine_w && be.current.remove((je = Mt.current) == null ? void 0 : je.mouseLine_w), (Qe = Mt.current) != null && Qe.mouseLine_h && be.current.remove((ot = Mt.current) == null ? void 0 : ot.mouseLine_h), typeof ((Ve = Mt.current) == null ? void 0 : Ve.coordText) == "object" && be.current.remove((ct = Mt.current) == null ? void 0 : ct.coordText), typeof ((pt = Mt.current) == null ? void 0 : pt.coordTextReverse) == "object" && be.current.remove((Rt = Mt.current) == null ? void 0 : Rt.coordTextReverse), vn && vn >= 0 && (sr = !0, (en = Mt.current) != null && en.coordMesh && be.current.add((Pt = Mt.current) == null ? void 0 : Pt.coordMesh), (sn = Mt.current) != null && sn.mouseLine_w && be.current.add((hn = Mt.current) == null ? void 0 : hn.mouseLine_w), (zt = Mt.current) != null && zt.mouseLine_h && be.current.add((Vt = Mt.current) == null ? void 0 : Vt.mouseLine_h), Pi ? typeof ((lr = Mt.current) == null ? void 0 : lr.coordText) == "object" && be.current.add((Gn = Mt.current) == null ? void 0 : Gn.coordText) : typeof ((Dn = Mt.current) == null ? void 0 : Dn.coordTextReverse) == "object" && be.current.add((Ur = Mt.current) == null ? void 0 : Ur.coordTextReverse)), Et = (pi = rt.current) == null ? void 0 : pi.normalVector, Mt = rt, vn = Et && dn.dot(Et), tr = !1, (oi = Mt.current) != null && oi.coordMesh && be.current.remove((zr = Mt.current) == null ? void 0 : zr.coordMesh), (fr = Mt.current) != null && fr.mouseLine_w && be.current.remove((Di = Mt.current) == null ? void 0 : Di.mouseLine_w), (za = Mt.current) != null && za.mouseLine_h && be.current.remove((ji = Mt.current) == null ? void 0 : ji.mouseLine_h), typeof (($o = Mt.current) == null ? void 0 : $o.coordText) == "object" && be.current.remove((Is = Mt.current) == null ? void 0 : Is.coordText), typeof ((Gl = Mt.current) == null ? void 0 : Gl.coordTextReverse) == "object" && be.current.remove((mo = Mt.current) == null ? void 0 : mo.coordTextReverse), vn && vn >= 0 && (tr = !0, (
|
|
81130
|
+
})), Et = (ft = bt.current) == null ? void 0 : ft.normalVector, Mt = bt, vn = Et && dn.dot(Et), sr = !1, (st = Mt.current) != null && st.coordMesh && be.current.remove((vt = Mt.current) == null ? void 0 : vt.coordMesh), (we = Mt.current) != null && we.mouseLine_w && be.current.remove((je = Mt.current) == null ? void 0 : je.mouseLine_w), (Qe = Mt.current) != null && Qe.mouseLine_h && be.current.remove((ot = Mt.current) == null ? void 0 : ot.mouseLine_h), typeof ((Ve = Mt.current) == null ? void 0 : Ve.coordText) == "object" && be.current.remove((ct = Mt.current) == null ? void 0 : ct.coordText), typeof ((pt = Mt.current) == null ? void 0 : pt.coordTextReverse) == "object" && be.current.remove((Rt = Mt.current) == null ? void 0 : Rt.coordTextReverse), vn && vn >= 0 && (sr = !0, (en = Mt.current) != null && en.coordMesh && be.current.add((Pt = Mt.current) == null ? void 0 : Pt.coordMesh), (sn = Mt.current) != null && sn.mouseLine_w && be.current.add((hn = Mt.current) == null ? void 0 : hn.mouseLine_w), (zt = Mt.current) != null && zt.mouseLine_h && be.current.add((Vt = Mt.current) == null ? void 0 : Vt.mouseLine_h), Pi ? typeof ((lr = Mt.current) == null ? void 0 : lr.coordText) == "object" && be.current.add((Gn = Mt.current) == null ? void 0 : Gn.coordText) : typeof ((Dn = Mt.current) == null ? void 0 : Dn.coordTextReverse) == "object" && be.current.add((Ur = Mt.current) == null ? void 0 : Ur.coordTextReverse)), Et = (pi = rt.current) == null ? void 0 : pi.normalVector, Mt = rt, vn = Et && dn.dot(Et), tr = !1, (oi = Mt.current) != null && oi.coordMesh && be.current.remove((zr = Mt.current) == null ? void 0 : zr.coordMesh), (fr = Mt.current) != null && fr.mouseLine_w && be.current.remove((Di = Mt.current) == null ? void 0 : Di.mouseLine_w), (za = Mt.current) != null && za.mouseLine_h && be.current.remove((ji = Mt.current) == null ? void 0 : ji.mouseLine_h), typeof (($o = Mt.current) == null ? void 0 : $o.coordText) == "object" && be.current.remove((Is = Mt.current) == null ? void 0 : Is.coordText), typeof ((Gl = Mt.current) == null ? void 0 : Gl.coordTextReverse) == "object" && be.current.remove((mo = Mt.current) == null ? void 0 : mo.coordTextReverse), vn && vn >= 0 && (tr = !0, (Io = Mt.current) != null && Io.coordMesh && be.current.add((fo = Mt.current) == null ? void 0 : fo.coordMesh), (qs = Mt.current) != null && qs.mouseLine_w && be.current.add((Ys = Mt.current) == null ? void 0 : Ys.mouseLine_w), (El = Mt.current) != null && El.mouseLine_h && be.current.add((_r = Mt.current) == null ? void 0 : _r.mouseLine_h), Pi ? typeof ((cs = Mt.current) == null ? void 0 : cs.coordText) == "object" && be.current.add((jl = Mt.current) == null ? void 0 : jl.coordText) : typeof ((Us = Mt.current) == null ? void 0 : Us.coordTextReverse) == "object" && be.current.add((ps = Mt.current) == null ? void 0 : ps.coordTextReverse)), Et = (Ao = gt.current) == null ? void 0 : Ao.normalVector, Mt = gt, vn = Et && dn.dot(Et), Vr = !1, (es = Mt.current) != null && es.coordMesh && be.current.remove((Xo = Mt.current) == null ? void 0 : Xo.coordMesh), (Zo = Mt.current) != null && Zo.mouseLine_w && be.current.remove((no = Mt.current) == null ? void 0 : no.mouseLine_w), (al = Mt.current) != null && al.mouseLine_h && be.current.remove((Cs = Mt.current) == null ? void 0 : Cs.mouseLine_h), typeof ((hs = Mt.current) == null ? void 0 : hs.coordText) == "object" && be.current.remove((qo = Mt.current) == null ? void 0 : qo.coordText), typeof ((Ks = Mt.current) == null ? void 0 : Ks.coordTextReverse) == "object" && be.current.remove((Yu = Mt.current) == null ? void 0 : Yu.coordTextReverse), vn && vn >= 0 && (Vr = !0, (zs = Mt.current) != null && zs.coordMesh && be.current.add((Fc = Mt.current) == null ? void 0 : Fc.coordMesh), (hc = Mt.current) != null && hc.mouseLine_w && be.current.add((Bc = Mt.current) == null ? void 0 : Bc.mouseLine_w), (Kc = Mt.current) != null && Kc.mouseLine_h && be.current.add((Cl = Mt.current) == null ? void 0 : Cl.mouseLine_h), Pi ? typeof ((Sl = Mt.current) == null ? void 0 : Sl.coordText) == "object" && be.current.add((xl = Mt.current) == null ? void 0 : xl.coordText) : typeof (($c = Mt.current) == null ? void 0 : $c.coordTextReverse) == "object" && be.current.add((uu = Mt.current) == null ? void 0 : uu.coordTextReverse)), Et = (gc = Le.current) == null ? void 0 : gc.normalVector, Mt = Le, vn = Et && dn.dot(Et), ci = !1, (Bd = Mt.current) != null && Bd.coordMesh && be.current.remove((du = Mt.current) == null ? void 0 : du.coordMesh), ($d = Mt.current) != null && $d.mouseLine_w && be.current.remove((Ku = Mt.current) == null ? void 0 : Ku.mouseLine_w), (Ol = Mt.current) != null && Ol.mouseLine_h && be.current.remove((Ju = Mt.current) == null ? void 0 : Ju.mouseLine_h), typeof ((Jc = Mt.current) == null ? void 0 : Jc.coordText) == "object" && be.current.remove((Js = Mt.current) == null ? void 0 : Js.coordText), typeof ((Qu = Mt.current) == null ? void 0 : Qu.coordTextReverse) == "object" && be.current.remove((Ll = Mt.current) == null ? void 0 : Ll.coordTextReverse), vn && vn >= 0 && (ci = !0, (gd = Mt.current) != null && gd.coordMesh && be.current.add((Ss = Mt.current) == null ? void 0 : Ss.coordMesh), (Nl = Mt.current) != null && Nl.mouseLine_w && be.current.add((gs = Mt.current) == null ? void 0 : gs.mouseLine_w), (Ac = Mt.current) != null && Ac.mouseLine_h && be.current.add((ed = Mt.current) == null ? void 0 : ed.mouseLine_h), Pi ? typeof ((Vc = Mt.current) == null ? void 0 : Vc.coordText) == "object" && be.current.add((md = Mt.current) == null ? void 0 : md.coordText) : typeof ((Qc = Mt.current) == null ? void 0 : Qc.coordTextReverse) == "object" && be.current.add((Vd = Mt.current) == null ? void 0 : Vd.coordTextReverse)), Et = (Qs = Ge.current) == null ? void 0 : Qs.normalVector, Mt = Ge, vn = Et && dn.dot(Et), vn && vn >= 0 ? ((zd = Mt.current) != null && zd.coordMesh && be.current.add((td = Mt.current) == null ? void 0 : td.coordMesh), (Ml = Mt.current) != null && Ml.mouseLine_w && be.current.add((eu = Mt.current) == null ? void 0 : eu.mouseLine_w), (Pl = Mt.current) != null && Pl.mouseLine_h && be.current.add((Qi = Mt.current) == null ? void 0 : Qi.mouseLine_h), (Dl = Mt.current) != null && Dl.coordText_lb && be.current.remove((tu = Mt.current) == null ? void 0 : tu.coordText_lb), (Wl = Mt.current) != null && Wl.coordText_rb && be.current.remove((mc = Mt.current) == null ? void 0 : mc.coordText_rb), (Ou = Mt.current) != null && Ou.coordText_lf && be.current.remove((nu = Mt.current) == null ? void 0 : nu.coordText_lf), (Hd = Mt.current) != null && Hd.coordText_rf && be.current.remove((vd = Mt.current) == null ? void 0 : vd.coordText_rf), sr && Vr ? (nd = Mt.current) != null && nd.coordText_lb && be.current.add((zc = Mt.current) == null ? void 0 : zc.coordText_lb) : sr && ci ? (Lu = Mt.current) != null && Lu.coordText_rb && be.current.add((yd = Mt.current) == null ? void 0 : yd.coordText_rb) : tr && ci ? (w = Mt.current) != null && w.coordText_rf && be.current.add((k = Mt.current) == null ? void 0 : k.coordText_rf) : tr && Vr && (q = Mt.current) != null && q.coordText_lf && be.current.add((ce = Mt.current) == null ? void 0 : ce.coordText_lf)) : ((xe = Mt.current) != null && xe.coordMesh && be.current.remove((Ke = Mt.current) == null ? void 0 : Ke.coordMesh), (Yt = Mt.current) != null && Yt.mouseLine_w && be.current.remove((Sn = Mt.current) == null ? void 0 : Sn.mouseLine_w), (Ln = Mt.current) != null && Ln.mouseLine_h && be.current.remove((gr = Mt.current) == null ? void 0 : gr.mouseLine_h), (ui = Mt.current) != null && ui.coordText_lb && be.current.remove((Wi = Mt.current) == null ? void 0 : Wi.coordText_lb), (xa = Mt.current) != null && xa.coordText_rb && be.current.remove((Hs = Mt.current) == null ? void 0 : Hs.coordText_rb), (Ro = Mt.current) != null && Ro.coordText_lf && be.current.remove((kl = Mt.current) == null ? void 0 : kl.coordText_lf), (Ka = Mt.current) != null && Ka.coordText_rf && be.current.remove((Hc = Mt.current) == null ? void 0 : Hc.coordText_rf)), Et = (Xl = ht.current) == null ? void 0 : Xl.normalVector, Mt = ht, vn = Et && dn.dot(Et), vn && vn >= 0 ? ((bd = Mt.current) != null && bd.coordMesh && be.current.add((Gd = Mt.current) == null ? void 0 : Gd.coordMesh), (Gc = Mt.current) != null && Gc.mouseLine_w && be.current.add((vc = Mt.current) == null ? void 0 : vc.mouseLine_w), (ec = Mt.current) != null && ec.mouseLine_h && be.current.add((Oo = Mt.current) == null ? void 0 : Oo.mouseLine_h), (rd = Ge.current) != null && rd.coordText_lb && be.current.remove((pf = Ge.current) == null ? void 0 : pf.coordText_lb), (Gs = Ge.current) != null && Gs.coordText_rb && be.current.remove((id = Ge.current) == null ? void 0 : id.coordText_rb), (Ul = Ge.current) != null && Ul.coordText_lf && be.current.remove((Ps = Ge.current) == null ? void 0 : Ps.coordText_lf), (tc = Ge.current) != null && tc.coordText_rf && be.current.remove((Ep = Ge.current) == null ? void 0 : Ep.coordText_rf), sr && Vr ? (Ed = Ge.current) != null && Ed.coordText_lb && be.current.add((Zm = Ge.current) == null ? void 0 : Zm.coordText_lb) : sr && ci ? (N1 = Ge.current) != null && N1.coordText_rb && be.current.add((M1 = Ge.current) == null ? void 0 : M1.coordText_rb) : tr && ci ? (Cd = Ge.current) != null && Cd.coordText_rf && be.current.add((Ah = Ge.current) == null ? void 0 : Ah.coordText_rf) : tr && Vr && (cn = Ge.current) != null && cn.coordText_lf && be.current.add((yc = Ge.current) == null ? void 0 : yc.coordText_lf)) : ((bc = Mt.current) != null && bc.coordMesh && be.current.remove((qm = Mt.current) == null ? void 0 : qm.coordMesh), (Rh = Mt.current) != null && Rh.mouseLine_w && be.current.remove((Jr = Mt.current) == null ? void 0 : Jr.mouseLine_w), (jn = Mt.current) != null && jn.mouseLine_h && be.current.remove((hi = Mt.current) == null ? void 0 : hi.mouseLine_h));
|
|
81131
81131
|
}, la = (dn) => {
|
|
81132
81132
|
y != null && y.current && be.current.remove(y.current);
|
|
81133
81133
|
const Et = new Vi().setFromPoints(dn), vn = new su({ color: 255 }), Mt = new ma(Et, vn);
|
|
@@ -81150,7 +81150,7 @@ const fLt = (t) => {
|
|
|
81150
81150
|
}).then((tr) => {
|
|
81151
81151
|
if (tr.ok)
|
|
81152
81152
|
return tr.json();
|
|
81153
|
-
throw
|
|
81153
|
+
throw Eo.error({
|
|
81154
81154
|
content: "失败"
|
|
81155
81155
|
}), new Error(tr.statusText);
|
|
81156
81156
|
}).then((tr) => {
|
|
@@ -81229,7 +81229,7 @@ const fLt = (t) => {
|
|
|
81229
81229
|
Qe && Cn.current.position.set(Qe.x, Qe.y, Qe.z), pn = pn.negate();
|
|
81230
81230
|
} else
|
|
81231
81231
|
Cn.current.position.set(gn.x, gn.y, gn.z);
|
|
81232
|
-
const On = Cn.current.userData.direction, Tn = On.dot(pn), Ie = Math.acos(Tn), Ee = new Te().crossVectors(On, pn).normalize(), ft = new
|
|
81232
|
+
const On = Cn.current.userData.direction, Tn = On.dot(pn), Ie = Math.acos(Tn), Ee = new Te().crossVectors(On, pn).normalize(), ft = new wo().setFromAxisAngle(Ee, Ie);
|
|
81233
81233
|
Cn.current.rotation.set(0, 0, 0), Cn.current.applyQuaternion(ft), gn.z < -6 ? Cn.current.position.setZ(gn.z + Cn.current.userData.center.x) : gn.x < -5 ? Cn.current.translateX(Cn.current.userData.center.x) : gn.y < -3 && Cn.current.position.setY(gn.y + Cn.current.userData.center.x - 0.8), be.current.getObjectByName("syrings") || be.current.add(Cn.current);
|
|
81234
81234
|
}
|
|
81235
81235
|
}
|
|
@@ -81317,7 +81317,7 @@ const fLt = (t) => {
|
|
|
81317
81317
|
}).then((qt) => {
|
|
81318
81318
|
if (qt.ok)
|
|
81319
81319
|
return qt.json();
|
|
81320
|
-
throw
|
|
81320
|
+
throw Eo.error({
|
|
81321
81321
|
title: G("5000.7027") || "计算失败"
|
|
81322
81322
|
}), wt && (wt.style.display = "none"), Tr.current = !0, new Error("Server exception");
|
|
81323
81323
|
}).then((qt) => {
|
|
@@ -81337,7 +81337,7 @@ const fLt = (t) => {
|
|
|
81337
81337
|
}).then((kt) => {
|
|
81338
81338
|
if (kt.ok)
|
|
81339
81339
|
return kt.json();
|
|
81340
|
-
throw
|
|
81340
|
+
throw Eo.error({
|
|
81341
81341
|
title: G("5000.7027") || "计算失败"
|
|
81342
81342
|
}), xr && (xr.style.display = "none"), Tr.current = !0, new Error("Server exception");
|
|
81343
81343
|
}).then((kt) => {
|
|
@@ -81396,7 +81396,7 @@ const fLt = (t) => {
|
|
|
81396
81396
|
}
|
|
81397
81397
|
if (!P.current) {
|
|
81398
81398
|
v.current.push(Ti(Et[zn].point)), m.current.push(Et[zn].point);
|
|
81399
|
-
var sr = new
|
|
81399
|
+
var sr = new wo();
|
|
81400
81400
|
sr.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
81401
81401
|
const mn = be.current.getObjectByName("Brain");
|
|
81402
81402
|
if (m.current.length == 2 && mn) {
|
|
@@ -81483,7 +81483,7 @@ const fLt = (t) => {
|
|
|
81483
81483
|
var vn = new Op(Es(650, 620, dn.replace("_", "/"), "#000000ff"));
|
|
81484
81484
|
xn.current = new Jf(new _f({
|
|
81485
81485
|
map: vn
|
|
81486
|
-
})), Et && "Coordinate" in Et && (xn.current.scale.set(1.5, 1.5, 1.5), xn.current.position.set(Et.Coordinate.x * 1e-3, Et.Coordinate.y * 1e-3 + 2e-3, Et.Coordinate.z * 1e-3), xn.current.translateX(Do.current), xn.current.translateY(so.current), xn.current.translateZ(
|
|
81486
|
+
})), Et && "Coordinate" in Et && (xn.current.scale.set(1.5, 1.5, 1.5), xn.current.position.set(Et.Coordinate.x * 1e-3, Et.Coordinate.y * 1e-3 + 2e-3, Et.Coordinate.z * 1e-3), xn.current.translateX(Do.current), xn.current.translateY(so.current), xn.current.translateZ(Co.current), be.current.add(xn.current));
|
|
81487
81487
|
}, _i = () => {
|
|
81488
81488
|
bt.current && (bt.current.coordText && typeof bt.current.coordText == "object" && be.current.remove(bt.current.coordText), bt.current.coordTextReverse && typeof bt.current.coordTextReverse == "object" && be.current.remove(bt.current.coordTextReverse), bt.current.mouseLine_w && typeof bt.current.mouseLine_w == "object" && be.current.remove(bt.current.mouseLine_w), bt.current.mouseLine_h && typeof bt.current.mouseLine_h == "object" && be.current.remove(bt.current.mouseLine_h)), rt.current && (rt.current.coordText && typeof rt.current.coordText == "object" && be.current.remove(rt.current.coordText), rt.current.coordTextReverse && typeof rt.current.coordTextReverse == "object" && be.current.remove(rt.current.coordTextReverse), rt.current.mouseLine_w && typeof rt.current.mouseLine_w == "object" && be.current.remove(rt.current.mouseLine_w), rt.current.mouseLine_h && typeof rt.current.mouseLine_h == "object" && be.current.remove(rt.current.mouseLine_h)), gt.current && (gt.current.coordText && typeof gt.current.coordText == "object" && be.current.remove(gt.current.coordText), gt.current.coordTextReverse && typeof gt.current.coordTextReverse == "object" && be.current.remove(gt.current.coordTextReverse), gt.current.mouseLine_w && typeof gt.current.mouseLine_w == "object" && be.current.remove(gt.current.mouseLine_w), gt.current.mouseLine_h && typeof gt.current.mouseLine_h == "object" && be.current.remove(gt.current.mouseLine_h)), Le.current && (Le.current.coordText && typeof Le.current.coordText == "object" && be.current.remove(Le.current.coordText), Le.current.coordTextReverse && typeof Le.current.coordTextReverse == "object" && be.current.remove(Le.current.coordTextReverse), Le.current.mouseLine_w && typeof Le.current.mouseLine_w == "object" && be.current.remove(Le.current.mouseLine_w), Le.current.mouseLine_h && typeof Le.current.mouseLine_h == "object" && be.current.remove(Le.current.mouseLine_h)), Ge.current && (Ge.current.coordText_lb && typeof Ge.current.coordText_lb == "object" && be.current.remove(Ge.current.coordText_lb), Ge.current.coordText_rb && typeof Ge.current.coordText_rb == "object" && be.current.remove(Ge.current.coordText_rb), Ge.current.coordText_rf && typeof Ge.current.coordText_rf == "object" && be.current.remove(Ge.current.coordText_rf), Ge.current.coordText_lf && typeof Ge.current.coordText_lf == "object" && be.current.remove(Ge.current.coordText_lf), Ge.current.mouseLine_w && typeof Ge.current.mouseLine_w == "object" && be.current.remove(Ge.current.mouseLine_w), Ge.current.mouseLine_h && typeof Ge.current.mouseLine_h == "object" && be.current.remove(Ge.current.mouseLine_h)), h.current = [], ht.current = to(1, { x: (qe.current.x + We.current.x) / 2, y: qe.current.y, z: (qe.current.z + We.current.z) / 2 }, We.current.x - qe.current.x, We.current.z - qe.current.z, 12, 14, "#E3E3E3", "test_top"), ht.current.normalVector = new Te(0, -1, 0), ht.current.mouseLine_w.name = "test_top_mouseLine_w", ht.current.mouseLine_h.name = "test_top_mouseLine_h", Ge.current = to(1, { x: (qe.current.x + We.current.x) / 2, y: We.current.y, z: (qe.current.z + We.current.z) / 2 }, We.current.x - qe.current.x, We.current.z - qe.current.z, 12, 14, "#E3E3E3", "test_bootom"), Ge.current.normalVector = new Te(0, 1, 0), Ge.current.mouseLine_w.name = "test_bottom_mouseLine_w", Ge.current.mouseLine_h.name = "test_bottom_mouseLine_h", rt.current = to(2, { x: (qe.current.x + We.current.x) / 2, y: (qe.current.y + We.current.y) / 2, z: qe.current.z }, We.current.x - qe.current.x, We.current.y - qe.current.y, 12, 10, "#E3E3E3", "test_front"), rt.current.normalVector = new Te(0, 0, -1), rt.current.mouseLine_w.name = "test_front_mouseLine_w", rt.current.mouseLine_h.name = "test_front_mouseLine_h", bt.current = to(2, { x: (qe.current.x + We.current.x) / 2, y: (qe.current.y + We.current.y) / 2, z: We.current.z }, We.current.x - qe.current.x, We.current.y - qe.current.y, 12, 10, "#E3E3E3", "test_behind"), bt.current.normalVector = new Te(0, 0, 1), bt.current.mouseLine_w.name = "test_behind_mouseLine_w", bt.current.mouseLine_h.name = "test_behind_mouseLine_h", gt.current = to(3, { x: qe.current.x, y: (qe.current.y + We.current.y) / 2, z: (qe.current.z + We.current.z) / 2 }, We.current.z - qe.current.z, We.current.y - qe.current.y, 14, 10, "#E3E3E3", "test_left"), gt.current.normalVector = new Te(-1, 0, 0), gt.current.mouseLine_w.name = "test_left_mouseLine_w", gt.current.mouseLine_h.name = "test_left_mouseLine_h", Le.current = to(3, { x: We.current.x, y: (qe.current.y + We.current.y) / 2, z: (qe.current.z + We.current.z) / 2 }, We.current.z - qe.current.z, We.current.y - qe.current.y, 14, 10, "#E3E3E3", "test_right"), Le.current.normalVector = new Te(1, 0, 0), Le.current.mouseLine_w.name = "test_right_mouseLine_w", Le.current.mouseLine_h.name = "test_right_mouseLine_h", Vv = new ur(new ad(0.1, 32, 32), new $l({ color: 392960, transparent: !0 })), Vv.name = "sphereBig", Nr.current = new ur(new ad(0.065, 32, 32), new $l({ color: 392960, transparent: !0 })), jr.current = new ur(new ad(0.025, 32, 32), new $l({ color: 392960, transparent: !0 })), be.current.getObjectByName("sphereMiddelClick") || (Du = new ur(new Z_(0.1, 0.3, 32), new $l({ color: 1609983, transparent: !0 })), Du.name = "sphereMiddelClick"), bt.current && (bt.current.coordMesh.visible = ne, bt.current.mouseLine_w.visible = ne, bt.current.mouseLine_h.visible = ne), ht.current && (ht.current.coordMesh.visible = ne, ht.current.mouseLine_w.visible = ne, ht.current.mouseLine_h.visible = ne), rt.current && (rt.current.coordMesh.visible = ne, rt.current.mouseLine_w.visible = ne, rt.current.mouseLine_h.visible = ne), Ge.current && (Ge.current.coordMesh.visible = ne, Ge.current.mouseLine_w.visible = ne, Ge.current.mouseLine_h.visible = ne), gt.current && (gt.current.coordMesh.visible = ne, gt.current.mouseLine_w.visible = ne, gt.current.mouseLine_h.visible = ne), Le.current && (Le.current.coordMesh.visible = ne, Le.current.mouseLine_w.visible = ne, Le.current.mouseLine_h.visible = ne);
|
|
81489
81489
|
let Et = new Te(0, -1, 0), vn = new Te(0, 1, 0);
|
|
@@ -126317,7 +126317,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
126317
126317
|
je.distanceTo(ot) > 8 ? we.visible = !1 : we.visible = !0;
|
|
126318
126318
|
}, Ni = (we, je, Qe, ot, Ve, ct) => {
|
|
126319
126319
|
oe.current[Qe] || fetch(Xt.current + we + `?time=${zCe}`).then((pt) => pt.json()).then((pt) => {
|
|
126320
|
-
let Rt = so.current, en = Do.current, Pt =
|
|
126320
|
+
let Rt = so.current, en = Do.current, Pt = Co.current;
|
|
126321
126321
|
if (FCe) {
|
|
126322
126322
|
let Ur = JSON.parse(FCe);
|
|
126323
126323
|
Rt = Rt - Ur;
|
|
@@ -126902,7 +126902,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
126902
126902
|
Va();
|
|
126903
126903
|
}, [f]);
|
|
126904
126904
|
const Es = (we, je, Qe, ot, Ve, ct) => {
|
|
126905
|
-
var pt = new
|
|
126905
|
+
var pt = new wo();
|
|
126906
126906
|
if (pt.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), !ya.current[je]) {
|
|
126907
126907
|
var Rt = new YD();
|
|
126908
126908
|
ot = ot || 0.1, Rt.load(we, function(en) {
|
|
@@ -126910,9 +126910,9 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
126910
126910
|
let Pt = en.clone();
|
|
126911
126911
|
if (je != "Brain") {
|
|
126912
126912
|
var sn = new $i(), hn = new Te(1, 0, 0);
|
|
126913
|
-
sn.set(1 - 2 * hn.x * hn.x, -2 * hn.x * hn.y, -2 * hn.x * hn.z, 0, -2 * hn.x * hn.y, 1 - 2 * hn.y * hn.y, -2 * hn.y * hn.z, 0, -2 * hn.x * hn.z, -2 * hn.y * hn.z, 1 - 2 * hn.z * hn.z, 0, 0, 0, 0, 1), Pt.applyMatrix4(sn), Pt.translateX(-Do.current), Pt.translateY(
|
|
126913
|
+
sn.set(1 - 2 * hn.x * hn.x, -2 * hn.x * hn.y, -2 * hn.x * hn.z, 0, -2 * hn.x * hn.y, 1 - 2 * hn.y * hn.y, -2 * hn.y * hn.z, 0, -2 * hn.x * hn.z, -2 * hn.y * hn.z, 1 - 2 * hn.z * hn.z, 0, 0, 0, 0, 1), Pt.applyMatrix4(sn), Pt.translateX(-Do.current), Pt.translateY(Co.current), Pt.translateZ(-so.current), Pt.name = je, Pt.myMeshType = "FBX", Pt.children[0].name = je, Pt.children[0].myMeshType = "FBX", Ya.current[je] = Pt, _m.current && be.current.add(Pt);
|
|
126914
126914
|
}
|
|
126915
|
-
en.translateX(Do.current), en.translateY(
|
|
126915
|
+
en.translateX(Do.current), en.translateY(Co.current), en.translateZ(-so.current), en.name = je, en.myMeshType = "FBX", en.children[0].name = je, en.children[0].myMeshType = "FBX", ya.current[je] = en, be.current.add(ya.current[je]);
|
|
126916
126916
|
var zt = new Te(), Vt = new xs().setFromObject(en);
|
|
126917
126917
|
Vt.getCenter(zt);
|
|
126918
126918
|
var lr = new Te();
|
|
@@ -126975,7 +126975,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
126975
126975
|
zt.x = zt.x * -1;
|
|
126976
126976
|
var Vt = je[sn].length;
|
|
126977
126977
|
if (ct && o) {
|
|
126978
|
-
ya.current[we[Pt]].locationLength = o == null ? void 0 : o.current, ya.current[we[Pt]].position.set(0, 0, 0), ya.current[we[Pt]].translateX(Do.current), ya.current[we[Pt]].translateY(
|
|
126978
|
+
ya.current[we[Pt]].locationLength = o == null ? void 0 : o.current, ya.current[we[Pt]].position.set(0, 0, 0), ya.current[we[Pt]].translateX(Do.current), ya.current[we[Pt]].translateY(Co.current), ya.current[we[Pt]].translateZ(-so.current), ya.current[we[Pt]].translateOnAxis(hn, (o == null ? void 0 : o.current) * Vt), Ya.current[we[Pt]].position.set(0, 0, 0), Ya.current[we[Pt]].translateX(-Do.current), Ya.current[we[Pt]].translateY(Co.current), Ya.current[we[Pt]].translateZ(-so.current), Ya.current[we[Pt]].locationLength = o == null ? void 0 : o.current, Ya.current[we[Pt]].translateOnAxis(zt, (o == null ? void 0 : o.current) * Vt);
|
|
126979
126979
|
continue;
|
|
126980
126980
|
}
|
|
126981
126981
|
switch (ot) {
|
|
@@ -127233,7 +127233,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127233
127233
|
specular: 0,
|
|
127234
127234
|
shininess: 0
|
|
127235
127235
|
}), zt = new ur(sn, hn), Vt = Ve < 6 ? 0.2 : Ve < 9 ? 0.3 : 0.5;
|
|
127236
|
-
zt.scale.set(Vt, Vt, Vt), zt.position.set(pt[0] * 0.01, pt[1] * 0.01, pt[2] * 0.01), zt.name = "lineNameMesh", zt.userData.name = ct.replace("_111", ""), zt.userData.wholeName = `${je}-${ct.replace("_111", "")}`, zt.userData.initColor = Rt, zt.userData.type = en, zt.translateY(so.current), zt.translateZ(
|
|
127236
|
+
zt.scale.set(Vt, Vt, Vt), zt.position.set(pt[0] * 0.01, pt[1] * 0.01, pt[2] * 0.01), zt.name = "lineNameMesh", zt.userData.name = ct.replace("_111", ""), zt.userData.wholeName = `${je}-${ct.replace("_111", "")}`, zt.userData.initColor = Rt, zt.userData.type = en, zt.translateY(so.current), zt.translateZ(Co.current), zt.translateX(Do.current), sn.center(), x != null && x.current && x.current[je].push(zt), be.current.add(zt);
|
|
127237
127237
|
});
|
|
127238
127238
|
}
|
|
127239
127239
|
} else
|
|
@@ -127319,7 +127319,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127319
127319
|
}));
|
|
127320
127320
|
zr.scale.set(1, 1, 1), Dn.addLevel(zr, 10), Dn.name = ot, Dn.myMeshType = "Vessel", Dn.autoUpdate = !1, pt.add(Dn);
|
|
127321
127321
|
}
|
|
127322
|
-
pt.scale.set(na.current * 0.1, na.current * 0.1, na.current * 0.1), pt.translateX(Do.current), pt.translateY(so.current), pt.translateZ(
|
|
127322
|
+
pt.scale.set(na.current * 0.1, na.current * 0.1, na.current * 0.1), pt.translateX(Do.current), pt.translateY(so.current), pt.translateZ(Co.current), pt.name = ot, pt.myMeshType = "Vessel", be.current.add(pt);
|
|
127323
127323
|
let sn = {
|
|
127324
127324
|
contentobj: pt,
|
|
127325
127325
|
contentmaterial: Rt
|
|
@@ -127342,7 +127342,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127342
127342
|
size: ie.current / 100,
|
|
127343
127343
|
color: new Lr(je)
|
|
127344
127344
|
});
|
|
127345
|
-
ct = new sd(pt, en), ct.translateX(Do.current), ct.translateY(so.current), ct.translateZ(
|
|
127345
|
+
ct = new sd(pt, en), ct.translateX(Do.current), ct.translateY(so.current), ct.translateZ(Co.current - 0.45), ct.name = Qe, oe.current[Qe] = ct, be.current.add(ct);
|
|
127346
127346
|
}), ot && ot();
|
|
127347
127347
|
}, zn = (we) => {
|
|
127348
127348
|
It.current = !0;
|
|
@@ -127428,12 +127428,26 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127428
127428
|
let hn;
|
|
127429
127429
|
const zt = Ve.cluster_range.indexOf(pt);
|
|
127430
127430
|
hn = {
|
|
127431
|
+
// title:{
|
|
127432
|
+
// text: t("5000.7052")||"基于神经元形态的聚类及评估", // 主标题
|
|
127433
|
+
// left: 'center', // 标题位置
|
|
127434
|
+
// top: 5,
|
|
127435
|
+
// textStyle: {
|
|
127436
|
+
// fontSize: 16,
|
|
127437
|
+
// fontWeight: 'bold',
|
|
127438
|
+
// color: '#000'
|
|
127439
|
+
// }
|
|
127440
|
+
// },
|
|
127431
127441
|
xAxis: {
|
|
127432
127442
|
type: "category",
|
|
127433
|
-
data: Ve.cluster_range
|
|
127443
|
+
data: Ve.cluster_range,
|
|
127444
|
+
name: h("5000.7054") || "聚类数",
|
|
127445
|
+
nameLocation: "middle",
|
|
127446
|
+
nameGap: 30
|
|
127434
127447
|
},
|
|
127435
127448
|
yAxis: {
|
|
127436
|
-
type: "value"
|
|
127449
|
+
type: "value",
|
|
127450
|
+
name: h("5000.7055") || "轮廓系数"
|
|
127437
127451
|
},
|
|
127438
127452
|
tooltip: {
|
|
127439
127453
|
position: "top-right",
|
|
@@ -127474,11 +127488,9 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127474
127488
|
type: "bar",
|
|
127475
127489
|
barWidth: "100%",
|
|
127476
127490
|
data: Ve.data,
|
|
127477
|
-
// 核心:让它完全透明
|
|
127478
127491
|
itemStyle: {
|
|
127479
127492
|
color: "transparent"
|
|
127480
127493
|
},
|
|
127481
|
-
// 关键:禁用这个系列的 tooltip,防止它干扰线图的 tooltip
|
|
127482
127494
|
tooltip: {
|
|
127483
127495
|
show: !1
|
|
127484
127496
|
}
|
|
@@ -127493,6 +127505,16 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127493
127505
|
source: en
|
|
127494
127506
|
}
|
|
127495
127507
|
],
|
|
127508
|
+
// title:{
|
|
127509
|
+
// text: t("5000.7059")||"聚类神经元的降维与可视化", // 主标题
|
|
127510
|
+
// left: 'center', // 标题位置
|
|
127511
|
+
// top: 0,
|
|
127512
|
+
// textStyle: {
|
|
127513
|
+
// fontSize: 16,
|
|
127514
|
+
// fontWeight: 'bold',
|
|
127515
|
+
// color: '#000'
|
|
127516
|
+
// }
|
|
127517
|
+
// },
|
|
127496
127518
|
tooltip: {
|
|
127497
127519
|
position: "top",
|
|
127498
127520
|
trigger: "item",
|
|
@@ -127504,19 +127526,24 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127504
127526
|
visualMap: {
|
|
127505
127527
|
orient: "horizontal",
|
|
127506
127528
|
type: "piecewise",
|
|
127507
|
-
top:
|
|
127529
|
+
top: 20,
|
|
127508
127530
|
left: "center",
|
|
127509
127531
|
dimension: Rt,
|
|
127510
127532
|
pieces: sn,
|
|
127511
127533
|
show: !1
|
|
127512
|
-
// calculable: true,
|
|
127513
127534
|
},
|
|
127514
127535
|
grid: {
|
|
127515
|
-
top: 35 * Math.ceil(sn.length / 5),
|
|
127516
|
-
bottom:
|
|
127536
|
+
top: 35 * Math.ceil(sn.length / 5) + 45,
|
|
127537
|
+
bottom: 140
|
|
127538
|
+
},
|
|
127539
|
+
xAxis: {
|
|
127540
|
+
name: h("5000.7057") || "t-SNE",
|
|
127541
|
+
nameLocation: "end",
|
|
127542
|
+
nameRotate: 90
|
|
127543
|
+
},
|
|
127544
|
+
yAxis: {
|
|
127545
|
+
name: h("5000.7058") || "t-SNE 2"
|
|
127517
127546
|
},
|
|
127518
|
-
xAxis: {},
|
|
127519
|
-
yAxis: {},
|
|
127520
127547
|
series: {
|
|
127521
127548
|
type: "scatter",
|
|
127522
127549
|
encode: { tooltip: [0, 1] },
|
|
@@ -127592,7 +127619,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127592
127619
|
function ft(we, je, Qe, ot) {
|
|
127593
127620
|
const Pt = Math.floor((je - 40) / 50);
|
|
127594
127621
|
return we.map((sn, hn) => {
|
|
127595
|
-
const zt = Math.floor(hn / Pt), lr = hn % Pt * 50, Gn =
|
|
127622
|
+
const zt = Math.floor(hn / Pt), lr = hn % Pt * 50, Gn = 25 + zt * 30;
|
|
127596
127623
|
return {
|
|
127597
127624
|
type: "group",
|
|
127598
127625
|
left: lr,
|
|
@@ -127634,7 +127661,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127634
127661
|
Qe.push(Rt);
|
|
127635
127662
|
}
|
|
127636
127663
|
}
|
|
127637
|
-
fetch("
|
|
127664
|
+
fetch("/app-api/echarts-api/echarts_data", {
|
|
127638
127665
|
method: "POST",
|
|
127639
127666
|
headers: {
|
|
127640
127667
|
"Content-Type": "application/json"
|
|
@@ -127646,7 +127673,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127646
127673
|
}).then((ot) => {
|
|
127647
127674
|
if (ot.ok)
|
|
127648
127675
|
return ot.json();
|
|
127649
|
-
throw je && (je.style.display = "none"),
|
|
127676
|
+
throw je && (je.style.display = "none"), Eo.error({ title: "Error", content: "Failed to fetch data for charts." }), new Error("Network response was not ok.");
|
|
127650
127677
|
}).then((ot) => {
|
|
127651
127678
|
be.current.traverse((Ve) => {
|
|
127652
127679
|
Ve.myMeshType === "SWC" && Ve.traverse((ct) => {
|
|
@@ -127692,7 +127719,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127692
127719
|
),
|
|
127693
127720
|
R.createElement(
|
|
127694
127721
|
as,
|
|
127695
|
-
{ style: { marginTop: "5px" } },
|
|
127722
|
+
{ style: { marginTop: "5px", marginBottom: 5 } },
|
|
127696
127723
|
R.createElement(Da, { onClick: () => {
|
|
127697
127724
|
const we = document.getElementById("spinner");
|
|
127698
127725
|
we && (we.style.display = "block");
|
|
@@ -127715,7 +127742,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127715
127742
|
}).then((Qe) => {
|
|
127716
127743
|
if (Qe.ok)
|
|
127717
127744
|
return Qe.json();
|
|
127718
|
-
throw we && (we.style.display = "none"),
|
|
127745
|
+
throw we && (we.style.display = "none"), Eo.error({ title: "Error", content: "Failed to fetch data for charts." }), new Error("Network response was not ok.");
|
|
127719
127746
|
}).then((Qe) => {
|
|
127720
127747
|
bi(Qe), yr(!0);
|
|
127721
127748
|
let ot = document.getElementById("leftContent");
|
|
@@ -127728,7 +127755,7 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127728
127755
|
"div",
|
|
127729
127756
|
null,
|
|
127730
127757
|
R.createElement(
|
|
127731
|
-
|
|
127758
|
+
Eo,
|
|
127732
127759
|
{ className: "Echart", open: Le, onOk: () => {
|
|
127733
127760
|
gt(!1);
|
|
127734
127761
|
}, onCancel: () => {
|
|
@@ -127798,14 +127825,15 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127798
127825
|
{ style: {
|
|
127799
127826
|
top: 0,
|
|
127800
127827
|
left: 0,
|
|
127801
|
-
width:
|
|
127828
|
+
width: 310,
|
|
127802
127829
|
height: "100vh",
|
|
127803
127830
|
display: Yn ? "block" : "none",
|
|
127804
127831
|
zIndex: 998,
|
|
127832
|
+
overflowX: "hidden",
|
|
127805
127833
|
position: "absolute",
|
|
127806
127834
|
background: "#fff"
|
|
127807
127835
|
} },
|
|
127808
|
-
R.createElement(Da, { type: "text", shape: "circle", icon: R.createElement(tv, null), style: { position: "absolute", right: 4, top: 4 }, onClick: () => {
|
|
127836
|
+
R.createElement(Da, { type: "text", shape: "circle", icon: R.createElement(tv, null), style: { position: "absolute", right: 4, top: 4, backgroundColor: "#ccc" }, onClick: () => {
|
|
127809
127837
|
yr(!1), vr.current = [];
|
|
127810
127838
|
let we = document.getElementById("leftContent");
|
|
127811
127839
|
we && (we.style.overflowY = "auto"), be.current.traverse((je) => {
|
|
@@ -127814,8 +127842,46 @@ const zCe = Date.now(), X4n = cu((t, e) => {
|
|
|
127814
127842
|
});
|
|
127815
127843
|
});
|
|
127816
127844
|
} }),
|
|
127817
|
-
R.createElement(
|
|
127818
|
-
|
|
127845
|
+
R.createElement(
|
|
127846
|
+
"div",
|
|
127847
|
+
{ style: { marginTop: 40 } },
|
|
127848
|
+
R.createElement("h1", { style: { marginLeft: 15 } }, h("5000.7052") || "基于神经元形态的聚类及评估"),
|
|
127849
|
+
R.createElement(
|
|
127850
|
+
"div",
|
|
127851
|
+
{ style: { display: "flex", justifyContent: "center", marginTop: 10 } },
|
|
127852
|
+
R.createElement("a", { onClick: () => {
|
|
127853
|
+
Eo.info({
|
|
127854
|
+
title: h("5000.7061") || "Introduction",
|
|
127855
|
+
content: R.createElement(
|
|
127856
|
+
"div",
|
|
127857
|
+
null,
|
|
127858
|
+
R.createElement("p", null, h("5000.7056") || "折线图:本图根据投射靶区分布情况,对所选单神经元进行了不同数量的聚类,并对聚类结果使用轮廓系数进行了评估。通常来说,轮廓系数越大,表示聚类效果越好。您可以点击鼠标左键,选中一个您满意的聚类数。")
|
|
127859
|
+
)
|
|
127860
|
+
});
|
|
127861
|
+
} }, "使用说明")
|
|
127862
|
+
)
|
|
127863
|
+
),
|
|
127864
|
+
R.createElement("div", { ref: Ti, style: { width: "100%", height: "300px" } }),
|
|
127865
|
+
R.createElement(
|
|
127866
|
+
"div",
|
|
127867
|
+
null,
|
|
127868
|
+
R.createElement("h1", { style: { marginLeft: 25 } }, h("5000.7059") || "聚类神经元的降维与可视化"),
|
|
127869
|
+
R.createElement(
|
|
127870
|
+
"div",
|
|
127871
|
+
{ style: { display: "flex", justifyContent: "center", marginTop: 10 } },
|
|
127872
|
+
R.createElement("a", { onClick: () => {
|
|
127873
|
+
Eo.info({
|
|
127874
|
+
title: h("5000.7061") || "使用说明",
|
|
127875
|
+
content: R.createElement(
|
|
127876
|
+
"div",
|
|
127877
|
+
null,
|
|
127878
|
+
R.createElement("p", null, h("5000.7060") || "点状图:本图根据t-SNE算法,将神经元以散点形式绘制在了由2个主成分所构成的分布图上,每种颜色代表1个类别。点击分布图中的任意一个点,该点所对应的神经元将在主窗口中被重新渲染为所属类别的颜色。点击分布图上方代表任意一个类别的色块,所有属于该类别的神经元都将在主窗口中被重新渲染为该类别的颜色。")
|
|
127879
|
+
)
|
|
127880
|
+
});
|
|
127881
|
+
} }, "使用说明")
|
|
127882
|
+
)
|
|
127883
|
+
),
|
|
127884
|
+
R.createElement("div", { ref: dr, style: { width: "100%", height: "440px" } })
|
|
127819
127885
|
)
|
|
127820
127886
|
)
|
|
127821
127887
|
) : R.createElement(
|
|
@@ -131495,11 +131561,11 @@ Bb(6, () => {
|
|
|
131495
131561
|
throw new Error("old style JPEG compression is not supported.");
|
|
131496
131562
|
});
|
|
131497
131563
|
Bb(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
|
|
131498
|
-
Bb([8, 32946], () => import("./deflate-
|
|
131564
|
+
Bb([8, 32946], () => import("./deflate-c1f51f65.mjs").then((t) => t.default));
|
|
131499
131565
|
Bb(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
|
|
131500
131566
|
Bb(
|
|
131501
131567
|
34887,
|
|
131502
|
-
() => import("./lerc-
|
|
131568
|
+
() => import("./lerc-1bb35309.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
131503
131569
|
);
|
|
131504
131570
|
Bb(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
|
|
131505
131571
|
function Hk(t, e, n, r = 1) {
|
|
@@ -133807,13 +133873,13 @@ Wp.prototype.property = "";
|
|
|
133807
133873
|
Wp.prototype.spaceSeparated = !1;
|
|
133808
133874
|
Wp.prototype.space = void 0;
|
|
133809
133875
|
let jon = 0;
|
|
133810
|
-
const
|
|
133876
|
+
const Mo = dS(), ku = dS(), YHe = dS(), Yr = dS(), rc = dS(), S_ = dS(), oh = dS();
|
|
133811
133877
|
function dS() {
|
|
133812
133878
|
return 2 ** ++jon;
|
|
133813
133879
|
}
|
|
133814
133880
|
const Cee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
133815
133881
|
__proto__: null,
|
|
133816
|
-
boolean:
|
|
133882
|
+
boolean: Mo,
|
|
133817
133883
|
booleanish: ku,
|
|
133818
133884
|
commaOrSpaceSeparated: oh,
|
|
133819
133885
|
commaSeparated: S_,
|
|
@@ -133942,38 +134008,38 @@ const Won = fT({
|
|
|
133942
134008
|
accessKey: rc,
|
|
133943
134009
|
action: null,
|
|
133944
134010
|
allow: null,
|
|
133945
|
-
allowFullScreen:
|
|
133946
|
-
allowPaymentRequest:
|
|
133947
|
-
allowUserMedia:
|
|
134011
|
+
allowFullScreen: Mo,
|
|
134012
|
+
allowPaymentRequest: Mo,
|
|
134013
|
+
allowUserMedia: Mo,
|
|
133948
134014
|
alt: null,
|
|
133949
134015
|
as: null,
|
|
133950
|
-
async:
|
|
134016
|
+
async: Mo,
|
|
133951
134017
|
autoCapitalize: null,
|
|
133952
134018
|
autoComplete: rc,
|
|
133953
|
-
autoFocus:
|
|
133954
|
-
autoPlay:
|
|
134019
|
+
autoFocus: Mo,
|
|
134020
|
+
autoPlay: Mo,
|
|
133955
134021
|
blocking: rc,
|
|
133956
134022
|
capture: null,
|
|
133957
134023
|
charSet: null,
|
|
133958
|
-
checked:
|
|
134024
|
+
checked: Mo,
|
|
133959
134025
|
cite: null,
|
|
133960
134026
|
className: rc,
|
|
133961
134027
|
cols: Yr,
|
|
133962
134028
|
colSpan: null,
|
|
133963
134029
|
content: null,
|
|
133964
134030
|
contentEditable: ku,
|
|
133965
|
-
controls:
|
|
134031
|
+
controls: Mo,
|
|
133966
134032
|
controlsList: rc,
|
|
133967
134033
|
coords: Yr | S_,
|
|
133968
134034
|
crossOrigin: null,
|
|
133969
134035
|
data: null,
|
|
133970
134036
|
dateTime: null,
|
|
133971
134037
|
decoding: null,
|
|
133972
|
-
default:
|
|
133973
|
-
defer:
|
|
134038
|
+
default: Mo,
|
|
134039
|
+
defer: Mo,
|
|
133974
134040
|
dir: null,
|
|
133975
134041
|
dirName: null,
|
|
133976
|
-
disabled:
|
|
134042
|
+
disabled: Mo,
|
|
133977
134043
|
download: YHe,
|
|
133978
134044
|
draggable: ku,
|
|
133979
134045
|
encType: null,
|
|
@@ -133983,11 +134049,11 @@ const Won = fT({
|
|
|
133983
134049
|
formAction: null,
|
|
133984
134050
|
formEncType: null,
|
|
133985
134051
|
formMethod: null,
|
|
133986
|
-
formNoValidate:
|
|
134052
|
+
formNoValidate: Mo,
|
|
133987
134053
|
formTarget: null,
|
|
133988
134054
|
headers: rc,
|
|
133989
134055
|
height: Yr,
|
|
133990
|
-
hidden:
|
|
134056
|
+
hidden: Mo,
|
|
133991
134057
|
high: Yr,
|
|
133992
134058
|
href: null,
|
|
133993
134059
|
hrefLang: null,
|
|
@@ -133996,15 +134062,15 @@ const Won = fT({
|
|
|
133996
134062
|
id: null,
|
|
133997
134063
|
imageSizes: null,
|
|
133998
134064
|
imageSrcSet: null,
|
|
133999
|
-
inert:
|
|
134065
|
+
inert: Mo,
|
|
134000
134066
|
inputMode: null,
|
|
134001
134067
|
integrity: null,
|
|
134002
134068
|
is: null,
|
|
134003
|
-
isMap:
|
|
134069
|
+
isMap: Mo,
|
|
134004
134070
|
itemId: null,
|
|
134005
134071
|
itemProp: rc,
|
|
134006
134072
|
itemRef: rc,
|
|
134007
|
-
itemScope:
|
|
134073
|
+
itemScope: Mo,
|
|
134008
134074
|
itemType: rc,
|
|
134009
134075
|
kind: null,
|
|
134010
134076
|
label: null,
|
|
@@ -134012,7 +134078,7 @@ const Won = fT({
|
|
|
134012
134078
|
language: null,
|
|
134013
134079
|
list: null,
|
|
134014
134080
|
loading: null,
|
|
134015
|
-
loop:
|
|
134081
|
+
loop: Mo,
|
|
134016
134082
|
low: Yr,
|
|
134017
134083
|
manifest: null,
|
|
134018
134084
|
max: null,
|
|
@@ -134021,12 +134087,12 @@ const Won = fT({
|
|
|
134021
134087
|
method: null,
|
|
134022
134088
|
min: null,
|
|
134023
134089
|
minLength: Yr,
|
|
134024
|
-
multiple:
|
|
134025
|
-
muted:
|
|
134090
|
+
multiple: Mo,
|
|
134091
|
+
muted: Mo,
|
|
134026
134092
|
name: null,
|
|
134027
134093
|
nonce: null,
|
|
134028
|
-
noModule:
|
|
134029
|
-
noValidate:
|
|
134094
|
+
noModule: Mo,
|
|
134095
|
+
noValidate: Mo,
|
|
134030
134096
|
onAbort: null,
|
|
134031
134097
|
onAfterPrint: null,
|
|
134032
134098
|
onAuxClick: null,
|
|
@@ -134115,31 +134181,31 @@ const Won = fT({
|
|
|
134115
134181
|
onVolumeChange: null,
|
|
134116
134182
|
onWaiting: null,
|
|
134117
134183
|
onWheel: null,
|
|
134118
|
-
open:
|
|
134184
|
+
open: Mo,
|
|
134119
134185
|
optimum: Yr,
|
|
134120
134186
|
pattern: null,
|
|
134121
134187
|
ping: rc,
|
|
134122
134188
|
placeholder: null,
|
|
134123
|
-
playsInline:
|
|
134189
|
+
playsInline: Mo,
|
|
134124
134190
|
popover: null,
|
|
134125
134191
|
popoverTarget: null,
|
|
134126
134192
|
popoverTargetAction: null,
|
|
134127
134193
|
poster: null,
|
|
134128
134194
|
preload: null,
|
|
134129
|
-
readOnly:
|
|
134195
|
+
readOnly: Mo,
|
|
134130
134196
|
referrerPolicy: null,
|
|
134131
134197
|
rel: rc,
|
|
134132
|
-
required:
|
|
134133
|
-
reversed:
|
|
134198
|
+
required: Mo,
|
|
134199
|
+
reversed: Mo,
|
|
134134
134200
|
rows: Yr,
|
|
134135
134201
|
rowSpan: Yr,
|
|
134136
134202
|
sandbox: rc,
|
|
134137
134203
|
scope: null,
|
|
134138
|
-
scoped:
|
|
134139
|
-
seamless:
|
|
134140
|
-
selected:
|
|
134141
|
-
shadowRootClonable:
|
|
134142
|
-
shadowRootDelegatesFocus:
|
|
134204
|
+
scoped: Mo,
|
|
134205
|
+
seamless: Mo,
|
|
134206
|
+
selected: Mo,
|
|
134207
|
+
shadowRootClonable: Mo,
|
|
134208
|
+
shadowRootDelegatesFocus: Mo,
|
|
134143
134209
|
shadowRootMode: null,
|
|
134144
134210
|
shape: null,
|
|
134145
134211
|
size: Yr,
|
|
@@ -134159,7 +134225,7 @@ const Won = fT({
|
|
|
134159
134225
|
title: null,
|
|
134160
134226
|
translate: null,
|
|
134161
134227
|
type: null,
|
|
134162
|
-
typeMustMatch:
|
|
134228
|
+
typeMustMatch: Mo,
|
|
134163
134229
|
useMap: null,
|
|
134164
134230
|
value: ku,
|
|
134165
134231
|
width: Yr,
|
|
@@ -134205,9 +134271,9 @@ const Won = fT({
|
|
|
134205
134271
|
// `<object>`
|
|
134206
134272
|
color: null,
|
|
134207
134273
|
// `<font>` and `<hr>`. Use CSS instead
|
|
134208
|
-
compact:
|
|
134274
|
+
compact: Mo,
|
|
134209
134275
|
// Lists. Use CSS to reduce space between items instead
|
|
134210
|
-
declare:
|
|
134276
|
+
declare: Mo,
|
|
134211
134277
|
// `<object>`
|
|
134212
134278
|
event: null,
|
|
134213
134279
|
// `<script>`
|
|
@@ -134231,13 +134297,13 @@ const Won = fT({
|
|
|
134231
134297
|
// `<body>`
|
|
134232
134298
|
marginWidth: Yr,
|
|
134233
134299
|
// `<body>`
|
|
134234
|
-
noResize:
|
|
134300
|
+
noResize: Mo,
|
|
134235
134301
|
// `<frame>`
|
|
134236
|
-
noHref:
|
|
134302
|
+
noHref: Mo,
|
|
134237
134303
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
134238
|
-
noShade:
|
|
134304
|
+
noShade: Mo,
|
|
134239
134305
|
// `<hr>`. Use background-color and height instead of borders
|
|
134240
|
-
noWrap:
|
|
134306
|
+
noWrap: Mo,
|
|
134241
134307
|
// `<td>` and `<th>`
|
|
134242
134308
|
object: null,
|
|
134243
134309
|
// `<applet>`
|
|
@@ -134277,8 +134343,8 @@ const Won = fT({
|
|
|
134277
134343
|
allowTransparency: null,
|
|
134278
134344
|
autoCorrect: null,
|
|
134279
134345
|
autoSave: null,
|
|
134280
|
-
disablePictureInPicture:
|
|
134281
|
-
disableRemotePlayback:
|
|
134346
|
+
disablePictureInPicture: Mo,
|
|
134347
|
+
disableRemotePlayback: Mo,
|
|
134282
134348
|
prefix: null,
|
|
134283
134349
|
property: null,
|
|
134284
134350
|
results: Yr,
|
|
@@ -134513,7 +134579,7 @@ const Won = fT({
|
|
|
134513
134579
|
dur: null,
|
|
134514
134580
|
divisor: Yr,
|
|
134515
134581
|
dominantBaseline: null,
|
|
134516
|
-
download:
|
|
134582
|
+
download: Mo,
|
|
134517
134583
|
dx: null,
|
|
134518
134584
|
dy: null,
|
|
134519
134585
|
edgeMode: null,
|
|
@@ -143461,13 +143527,13 @@ $g.prototype.commaOrSpaceSeparated = !1;
|
|
|
143461
143527
|
$g.prototype.mustUseProperty = !1;
|
|
143462
143528
|
$g.prototype.defined = !1;
|
|
143463
143529
|
let $pn = 0;
|
|
143464
|
-
const
|
|
143530
|
+
const Po = fS(), Uu = fS(), oje = fS(), Kr = fS(), ic = fS(), x_ = fS(), sh = fS();
|
|
143465
143531
|
function fS() {
|
|
143466
143532
|
return 2 ** ++$pn;
|
|
143467
143533
|
}
|
|
143468
143534
|
const Mee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
143469
143535
|
__proto__: null,
|
|
143470
|
-
boolean:
|
|
143536
|
+
boolean: Po,
|
|
143471
143537
|
booleanish: Uu,
|
|
143472
143538
|
commaOrSpaceSeparated: sh,
|
|
143473
143539
|
commaSeparated: x_,
|
|
@@ -143617,38 +143683,38 @@ const dje = gT({
|
|
|
143617
143683
|
accessKey: ic,
|
|
143618
143684
|
action: null,
|
|
143619
143685
|
allow: null,
|
|
143620
|
-
allowFullScreen:
|
|
143621
|
-
allowPaymentRequest:
|
|
143622
|
-
allowUserMedia:
|
|
143686
|
+
allowFullScreen: Po,
|
|
143687
|
+
allowPaymentRequest: Po,
|
|
143688
|
+
allowUserMedia: Po,
|
|
143623
143689
|
alt: null,
|
|
143624
143690
|
as: null,
|
|
143625
|
-
async:
|
|
143691
|
+
async: Po,
|
|
143626
143692
|
autoCapitalize: null,
|
|
143627
143693
|
autoComplete: ic,
|
|
143628
|
-
autoFocus:
|
|
143629
|
-
autoPlay:
|
|
143694
|
+
autoFocus: Po,
|
|
143695
|
+
autoPlay: Po,
|
|
143630
143696
|
blocking: ic,
|
|
143631
143697
|
capture: null,
|
|
143632
143698
|
charSet: null,
|
|
143633
|
-
checked:
|
|
143699
|
+
checked: Po,
|
|
143634
143700
|
cite: null,
|
|
143635
143701
|
className: ic,
|
|
143636
143702
|
cols: Kr,
|
|
143637
143703
|
colSpan: null,
|
|
143638
143704
|
content: null,
|
|
143639
143705
|
contentEditable: Uu,
|
|
143640
|
-
controls:
|
|
143706
|
+
controls: Po,
|
|
143641
143707
|
controlsList: ic,
|
|
143642
143708
|
coords: Kr | x_,
|
|
143643
143709
|
crossOrigin: null,
|
|
143644
143710
|
data: null,
|
|
143645
143711
|
dateTime: null,
|
|
143646
143712
|
decoding: null,
|
|
143647
|
-
default:
|
|
143648
|
-
defer:
|
|
143713
|
+
default: Po,
|
|
143714
|
+
defer: Po,
|
|
143649
143715
|
dir: null,
|
|
143650
143716
|
dirName: null,
|
|
143651
|
-
disabled:
|
|
143717
|
+
disabled: Po,
|
|
143652
143718
|
download: oje,
|
|
143653
143719
|
draggable: Uu,
|
|
143654
143720
|
encType: null,
|
|
@@ -143658,11 +143724,11 @@ const dje = gT({
|
|
|
143658
143724
|
formAction: null,
|
|
143659
143725
|
formEncType: null,
|
|
143660
143726
|
formMethod: null,
|
|
143661
|
-
formNoValidate:
|
|
143727
|
+
formNoValidate: Po,
|
|
143662
143728
|
formTarget: null,
|
|
143663
143729
|
headers: ic,
|
|
143664
143730
|
height: Kr,
|
|
143665
|
-
hidden:
|
|
143731
|
+
hidden: Po,
|
|
143666
143732
|
high: Kr,
|
|
143667
143733
|
href: null,
|
|
143668
143734
|
hrefLang: null,
|
|
@@ -143671,15 +143737,15 @@ const dje = gT({
|
|
|
143671
143737
|
id: null,
|
|
143672
143738
|
imageSizes: null,
|
|
143673
143739
|
imageSrcSet: null,
|
|
143674
|
-
inert:
|
|
143740
|
+
inert: Po,
|
|
143675
143741
|
inputMode: null,
|
|
143676
143742
|
integrity: null,
|
|
143677
143743
|
is: null,
|
|
143678
|
-
isMap:
|
|
143744
|
+
isMap: Po,
|
|
143679
143745
|
itemId: null,
|
|
143680
143746
|
itemProp: ic,
|
|
143681
143747
|
itemRef: ic,
|
|
143682
|
-
itemScope:
|
|
143748
|
+
itemScope: Po,
|
|
143683
143749
|
itemType: ic,
|
|
143684
143750
|
kind: null,
|
|
143685
143751
|
label: null,
|
|
@@ -143687,7 +143753,7 @@ const dje = gT({
|
|
|
143687
143753
|
language: null,
|
|
143688
143754
|
list: null,
|
|
143689
143755
|
loading: null,
|
|
143690
|
-
loop:
|
|
143756
|
+
loop: Po,
|
|
143691
143757
|
low: Kr,
|
|
143692
143758
|
manifest: null,
|
|
143693
143759
|
max: null,
|
|
@@ -143696,12 +143762,12 @@ const dje = gT({
|
|
|
143696
143762
|
method: null,
|
|
143697
143763
|
min: null,
|
|
143698
143764
|
minLength: Kr,
|
|
143699
|
-
multiple:
|
|
143700
|
-
muted:
|
|
143765
|
+
multiple: Po,
|
|
143766
|
+
muted: Po,
|
|
143701
143767
|
name: null,
|
|
143702
143768
|
nonce: null,
|
|
143703
|
-
noModule:
|
|
143704
|
-
noValidate:
|
|
143769
|
+
noModule: Po,
|
|
143770
|
+
noValidate: Po,
|
|
143705
143771
|
onAbort: null,
|
|
143706
143772
|
onAfterPrint: null,
|
|
143707
143773
|
onAuxClick: null,
|
|
@@ -143790,31 +143856,31 @@ const dje = gT({
|
|
|
143790
143856
|
onVolumeChange: null,
|
|
143791
143857
|
onWaiting: null,
|
|
143792
143858
|
onWheel: null,
|
|
143793
|
-
open:
|
|
143859
|
+
open: Po,
|
|
143794
143860
|
optimum: Kr,
|
|
143795
143861
|
pattern: null,
|
|
143796
143862
|
ping: ic,
|
|
143797
143863
|
placeholder: null,
|
|
143798
|
-
playsInline:
|
|
143864
|
+
playsInline: Po,
|
|
143799
143865
|
popover: null,
|
|
143800
143866
|
popoverTarget: null,
|
|
143801
143867
|
popoverTargetAction: null,
|
|
143802
143868
|
poster: null,
|
|
143803
143869
|
preload: null,
|
|
143804
|
-
readOnly:
|
|
143870
|
+
readOnly: Po,
|
|
143805
143871
|
referrerPolicy: null,
|
|
143806
143872
|
rel: ic,
|
|
143807
|
-
required:
|
|
143808
|
-
reversed:
|
|
143873
|
+
required: Po,
|
|
143874
|
+
reversed: Po,
|
|
143809
143875
|
rows: Kr,
|
|
143810
143876
|
rowSpan: Kr,
|
|
143811
143877
|
sandbox: ic,
|
|
143812
143878
|
scope: null,
|
|
143813
|
-
scoped:
|
|
143814
|
-
seamless:
|
|
143815
|
-
selected:
|
|
143816
|
-
shadowRootClonable:
|
|
143817
|
-
shadowRootDelegatesFocus:
|
|
143879
|
+
scoped: Po,
|
|
143880
|
+
seamless: Po,
|
|
143881
|
+
selected: Po,
|
|
143882
|
+
shadowRootClonable: Po,
|
|
143883
|
+
shadowRootDelegatesFocus: Po,
|
|
143818
143884
|
shadowRootMode: null,
|
|
143819
143885
|
shape: null,
|
|
143820
143886
|
size: Kr,
|
|
@@ -143834,7 +143900,7 @@ const dje = gT({
|
|
|
143834
143900
|
title: null,
|
|
143835
143901
|
translate: null,
|
|
143836
143902
|
type: null,
|
|
143837
|
-
typeMustMatch:
|
|
143903
|
+
typeMustMatch: Po,
|
|
143838
143904
|
useMap: null,
|
|
143839
143905
|
value: Uu,
|
|
143840
143906
|
width: Kr,
|
|
@@ -143880,9 +143946,9 @@ const dje = gT({
|
|
|
143880
143946
|
// `<object>`
|
|
143881
143947
|
color: null,
|
|
143882
143948
|
// `<font>` and `<hr>`. Use CSS instead
|
|
143883
|
-
compact:
|
|
143949
|
+
compact: Po,
|
|
143884
143950
|
// Lists. Use CSS to reduce space between items instead
|
|
143885
|
-
declare:
|
|
143951
|
+
declare: Po,
|
|
143886
143952
|
// `<object>`
|
|
143887
143953
|
event: null,
|
|
143888
143954
|
// `<script>`
|
|
@@ -143906,13 +143972,13 @@ const dje = gT({
|
|
|
143906
143972
|
// `<body>`
|
|
143907
143973
|
marginWidth: Kr,
|
|
143908
143974
|
// `<body>`
|
|
143909
|
-
noResize:
|
|
143975
|
+
noResize: Po,
|
|
143910
143976
|
// `<frame>`
|
|
143911
|
-
noHref:
|
|
143977
|
+
noHref: Po,
|
|
143912
143978
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
143913
|
-
noShade:
|
|
143979
|
+
noShade: Po,
|
|
143914
143980
|
// `<hr>`. Use background-color and height instead of borders
|
|
143915
|
-
noWrap:
|
|
143981
|
+
noWrap: Po,
|
|
143916
143982
|
// `<td>` and `<th>`
|
|
143917
143983
|
object: null,
|
|
143918
143984
|
// `<applet>`
|
|
@@ -143952,8 +144018,8 @@ const dje = gT({
|
|
|
143952
144018
|
allowTransparency: null,
|
|
143953
144019
|
autoCorrect: null,
|
|
143954
144020
|
autoSave: null,
|
|
143955
|
-
disablePictureInPicture:
|
|
143956
|
-
disableRemotePlayback:
|
|
144021
|
+
disablePictureInPicture: Po,
|
|
144022
|
+
disableRemotePlayback: Po,
|
|
143957
144023
|
prefix: null,
|
|
143958
144024
|
property: null,
|
|
143959
144025
|
results: Kr,
|
|
@@ -144188,7 +144254,7 @@ const dje = gT({
|
|
|
144188
144254
|
dur: null,
|
|
144189
144255
|
divisor: Kr,
|
|
144190
144256
|
dominantBaseline: null,
|
|
144191
|
-
download:
|
|
144257
|
+
download: Po,
|
|
144192
144258
|
dx: null,
|
|
144193
144259
|
dy: null,
|
|
144194
144260
|
edgeMode: null,
|
|
@@ -174400,9 +174466,9 @@ const NL = [
|
|
|
174400
174466
|
Q.name = "functionViralLine", l.current.add(Q);
|
|
174401
174467
|
const re = new Z_(0.05, 0.1, 8), ne = new Hu({ color: ee }), oe = new ur(re, ne);
|
|
174402
174468
|
oe.name = "functionViralArrow";
|
|
174403
|
-
const de = new Te().subVectors(B, z).normalize(), ue = new Te().subVectors(z, B).normalize(), pe = N.direction === "Anterograde" ? de : ue, ie = new Te(0, 1, 0), Ce = new
|
|
174469
|
+
const de = new Te().subVectors(B, z).normalize(), ue = new Te().subVectors(z, B).normalize(), pe = N.direction === "Anterograde" ? de : ue, ie = new Te(0, 1, 0), Ce = new wo();
|
|
174404
174470
|
if (Ce.setFromUnitVectors(ie, pe), oe.quaternion.copy(Ce), oe.position.copy(Z[15]), l.current.add(oe), N.injection_site_region_id && g.current) {
|
|
174405
|
-
const ae = N.direction === "Anterograde" ? B : z, ve = v(be.current.getObjectByName(N.injection_site_region_id)), fe = new Te().subVectors(ae, ve).normalize(), Ae = new
|
|
174471
|
+
const ae = N.direction === "Anterograde" ? B : z, ve = v(be.current.getObjectByName(N.injection_site_region_id)), fe = new Te().subVectors(ae, ve).normalize(), Ae = new wo();
|
|
174406
174472
|
Ae.setFromUnitVectors(((S = g.current) == null ? void 0 : S.userData.direction) || new Te(1, 0, 0), fe), (x = g.current) == null || x.quaternion.copy(Ae), (I = g.current) == null || I.position.set(ve.x, ve.y, ve.z), l.current.add(g.current);
|
|
174407
174473
|
}
|
|
174408
174474
|
P += 0.5;
|
|
@@ -174498,7 +174564,7 @@ const NL = [
|
|
|
174498
174564
|
ee.name = "functionOptogeneticsLine", l.current.add(ee);
|
|
174499
174565
|
const K = new Z_(0.05, 0.1, 8), Y = new Hu({ color: X }), Q = new ur(K, Y);
|
|
174500
174566
|
Q.name = "functionOptogeneticsArrow";
|
|
174501
|
-
const re = new Te().subVectors(B, z).normalize(), ne = new Te().subVectors(z, B).normalize(), oe = N.manipulation_type === "Activation" ? re : ne, de = new Te(0, 1, 0), ue = new
|
|
174567
|
+
const re = new Te().subVectors(B, z).normalize(), ne = new Te().subVectors(z, B).normalize(), oe = N.manipulation_type === "Activation" ? re : ne, de = new Te(0, 1, 0), ue = new wo();
|
|
174502
174568
|
ue.setFromUnitVectors(de, oe), Q.quaternion.copy(ue), Q.position.copy(Z[15]), l.current.add(Q);
|
|
174503
174569
|
const pe = new ad(0.1, 16, 16), ie = new Hu({ color: new Lr(X) }), Ce = new c_(), ae = 1, ve = 0.5, fe = 5;
|
|
174504
174570
|
Ce.moveTo(ae, 0);
|
|
@@ -174604,7 +174670,7 @@ const NL = [
|
|
|
174604
174670
|
body: JSON.stringify({ fbx: e })
|
|
174605
174671
|
}).then((E) => {
|
|
174606
174672
|
if (!E.ok) {
|
|
174607
|
-
|
|
174673
|
+
Eo.error({
|
|
174608
174674
|
title: t("5000.7027") || "计算失败"
|
|
174609
174675
|
});
|
|
174610
174676
|
return;
|
|
@@ -174714,7 +174780,7 @@ const NL = [
|
|
|
174714
174780
|
var V;
|
|
174715
174781
|
(V = m.current) == null || V.scrollIntoView({ behavior: "smooth" });
|
|
174716
174782
|
}, [h]), Mn(() => {
|
|
174717
|
-
o.length > 1 && s == 12 ?
|
|
174783
|
+
o.length > 1 && s == 12 ? Eo.confirm({
|
|
174718
174784
|
content: "是否开启功能环路分析?",
|
|
174719
174785
|
onOk: () => {
|
|
174720
174786
|
I(o);
|
|
@@ -175020,7 +175086,7 @@ const $xn = {
|
|
|
175020
175086
|
const { regionData: n, setoffset_factor: r, offset_factor_R: i, t: a, hrefStr: o, leftTreeRef: s, setJiaoduRef: l, jiaoduRef: u, mouseflag: d, renderer: f, controls: p, menutagShow: h, setMenuTag: g, startselect: y, linemeshs_jing: v, points: m, points2: b, activetabIndex: E, material: C, setShowimage: S, childRef: x, checkItems: I, setoutflag: P, fetchCoordinateFunc: A, setendPoint: N, clickPoint: D, outflagRef: U, axis_font: z, setdatum: B, modeChoose: j, setShowModeChoose: V, virusModeValue: G, setShowTabNums: W, pipelineClickEvent: Z, automaticGroup: H, focusVirusLineItem: X, setMenuTagShow: ee, responsefunc: K, mode: Y, setCheckItems: Q, setLeftMenuTabIndex: re, updatePage: ne, swcItem: oe, axon_check: de, swcnameMesh: ue, setMode: pe, vesselRef: ie, swcRef: Ce, vesselStr: ae, lableStr: ve, setShowSettingModal: fe, showSettingModal: Ae, fbxTreeDatas: Be, composer: Ye, setEchartValue: De, echartValue: _e, sectionsInfoRef: Xe, sectionsInfo: me, setSectionsInfo: he, gray_value: Fe, setLuguchecked: Ne, Luguchecked: Pe, datum: it, setGridShow: qe, PointShow: We, nodeStr: ut, lefttab: Ct, righttab: It, atlasData: lt, setTip: ht, tip: Ge, startRegionAnimation: rt, setFunctionLoopSwcData: bt, azimuth: Le, setAzimuth: gt, BrainNum: nn } = t, [Zt, Lt] = mt(!1), [Qt, on] = mt(!1), [xn, Bn] = mt(!1), [$n, er] = mt(!1), [Nr, jr] = mt(!1), [rr, Wt] = mt(!1), [Jn, Cn] = mt(!1), [Er, Sr] = mt(!1), [yt, Ht] = mt(oo.atlasReslicingInfo.angleX || 120), [En, Ue] = mt(oo.atlasReslicingInfo.angleY || 320), [_t, Dt] = mt(oo.atlasReslicingInfo.angleZ || 270), [Bt, Nt] = mt(oo.atlasReslicingInfo.positionX || 0), [Kt, Gt] = mt(oo.atlasReslicingInfo.positionY || 0), [an, Pn] = mt(oo.atlasReslicingInfo.positionZ || 0), [tn, Xt] = mt(oo.atlasReslicingInfo.translateX || !0), [ln, Un] = mt(oo.atlasReslicingInfo.translateY || !0), [Vn, Tr] = mt(oo.atlasReslicingInfo.translateZ || !0), [$r, hr] = mt(oo.atlasReslicingInfo.rotate || !0), [_n, pr] = mt(oo.atlasReslicingInfo.ButtonDisabled || !0), [Xn, Hn] = mt(!1), [Yn, yr] = mt(!1), [yi, bi] = mt(!1), [Ti, dr] = mt(!1), [vr, di] = mt(a("5000.0006") || "显示数据块"), [Qn, qr] = mt(1), [ra, Ni] = mt(1), [Zi, la] = mt([]), [uo, Fo] = mt([]), [Ta, go] = mt([]), [mi, li] = mt(!1), [ca, ja] = mt({}), [Va, Es] = mt(!1), [Bo, _i] = mt(""), [to, Ts] = mt("Config_DAPI.ini"), [Mi, Wo] = mt("applySTAM2CCF"), [Cr, wi] = mt("800"), [dn, Et] = mt(1), [vn, Mt] = mt(!1), [tr, sr] = mt(!1), [Vr, ci] = mt(!1), [Pi, ai] = mt(!1), [Wr, Ui] = mt(!0), [zn, cr] = mt(2), [mn, xr] = mt(!1), [wt, kt] = mt({}), qt = Je(oo.atlasReslicingInfo.direction1 || 4), gn = Je(null), [pn, On] = mt(a("4000.0242") || "清除靶点"), [Tn, Ie] = mt(!1), Ee = Je(null), ft = Je(window.location.href.split("/")[2]), st = Je(new d_(qi.current, f == null ? void 0 : f.domElement)), vt = Je(0), we = Je(0), je = Je(new ur()), Qe = Je(new Te()), ot = Je(new Te()), Ve = Je(new ur()), ct = Je(new Te(1, 0, 0)), pt = Je(new ur()), Rt = Je(null), en = Je(new xI()), Pt = Je(null), sn = Je([]), hn = Je(null), zt = Je(new ur()), Vt = Je(new ou()), [lr, Gn] = mt(oo.otherAtlases), Dn = {
|
|
175021
175087
|
min: new Te(59.74305725097656, 69.15838623046875, 0.9565062522888184),
|
|
175022
175088
|
max: new Te(1081.3045654296875, 800.6698608398438, 1400.156005859375)
|
|
175023
|
-
}, [Ur, pi] = mt([]), oi = Je({}), zr = Je(!1), fr = Je([0, 0]), Di = Je([0, 0]), za = Je(""), ji = Je(!1), [$o, Is] = mt(!1), [Gl, mo] = mt(!1), [
|
|
175089
|
+
}, [Ur, pi] = mt([]), oi = Je({}), zr = Je(!1), fr = Je([0, 0]), Di = Je([0, 0]), za = Je(""), ji = Je(!1), [$o, Is] = mt(!1), [Gl, mo] = mt(!1), [Io, fo] = mt(0), [qs, Ys] = mt(0), [El, _r] = mt({}), [cs, jl] = mt([]), Us = Je(null), ps = Je(null), [Ao, es] = mt(""), [Xo, Zo] = mt(null), [no, al] = mt(G5e || ""), [Cs, hs] = mt(!1);
|
|
175024
175090
|
mt("");
|
|
175025
175091
|
const qo = Je(""), [Ks, Yu] = mt(oo.leftHemisphereVisibility), zs = Je([]);
|
|
175026
175092
|
Je([]);
|
|
@@ -175129,7 +175195,7 @@ const $xn = {
|
|
|
175129
175195
|
const Ec = new Vl(be.current.rotation.x, be.current.rotation.y, be.current.rotation.z);
|
|
175130
175196
|
let ol = 0, _l = 0, Xi = 0, Rc = 0, Fs = 0, Qm = 0;
|
|
175131
175197
|
for (let Oc = 0; Oc < jt.children[0].geometry.attributes.position.array.length; Oc += 3) {
|
|
175132
|
-
let Wb = jt.children[0].geometry.attributes.position.array[Oc] * na.current + Do.current, OT = jt.children[0].geometry.attributes.position.array[Oc + 1] * na.current + so.current, Gg = jt.children[0].geometry.attributes.position.array[Oc + 2] * na.current +
|
|
175198
|
+
let Wb = jt.children[0].geometry.attributes.position.array[Oc] * na.current + Do.current, OT = jt.children[0].geometry.attributes.position.array[Oc + 1] * na.current + so.current, Gg = jt.children[0].geometry.attributes.position.array[Oc + 2] * na.current + Co.current, fu = new Te(Wb, OT, Gg).applyEuler(Ec);
|
|
175133
175199
|
Oc == 0 && (ol = fu.x, _l = fu.y, Xi = fu.z, Rc = fu.x, Fs = fu.y, Qm = fu.z), fu.x < ol && (ol = fu.x), fu.x > Rc && (Rc = fu.x), fu.y < _l && (_l = fu.x), fu.y > Fs && (Fs = fu.y), fu.z < Xi && (Xi = fu.z), fu.z > Qm && (Qm = fu.z);
|
|
175134
175200
|
}
|
|
175135
175201
|
bn = new Te(ol, _l, Xi), fn = new Te(Rc, Fs, Qm), Nn = fn.x - bn.x, Rn = fn.y - bn.y, mr = fn.z - bn.z, Xr = new Te((bn.x + fn.x) / 2, (bn.y + fn.y) / 2, (bn.z + fn.z) / 2);
|
|
@@ -175148,7 +175214,7 @@ const $xn = {
|
|
|
175148
175214
|
const ol = new Vl(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z), _l = new Te(Xr.x, Xr.y, Ec).applyEuler(ol);
|
|
175149
175215
|
vi.position.set(Xr.x, Xr.y, _l.z), vi.rotation.set(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z);
|
|
175150
175216
|
for (let Xi = 0; Xi < jt.children[0].geometry.attributes.position.array.length; Xi += 3) {
|
|
175151
|
-
let Rc = jt.children[0].geometry.attributes.position.array[Xi] * na.current + Do.current, Fs = jt.children[0].geometry.attributes.position.array[Xi + 1] * na.current + so.current, Qm = jt.children[0].geometry.attributes.position.array[Xi + 2] * na.current +
|
|
175217
|
+
let Rc = jt.children[0].geometry.attributes.position.array[Xi] * na.current + Do.current, Fs = jt.children[0].geometry.attributes.position.array[Xi + 1] * na.current + so.current, Qm = jt.children[0].geometry.attributes.position.array[Xi + 2] * na.current + Co.current;
|
|
175152
175218
|
jt.children[0].geometry.attributes.position.array[Xi], jt.children[0].geometry.attributes.position.array[Xi + 1], jt.children[0].geometry.attributes.position.array[Xi + 2];
|
|
175153
175219
|
let Oc = new Te(Rc, Fs, Qm).applyEuler(Oi), Wb = Oc.z;
|
|
175154
175220
|
Math.abs(Wb - Ec) < 0.18 && ri.findIndex((Gg) => Gg.equals(new Te(Oc.x, Oc.y, Ec))) === -1 && ri.push(new Te(Oc.x, Oc.y, Ec));
|
|
@@ -175167,7 +175233,7 @@ const $xn = {
|
|
|
175167
175233
|
const ol = new Vl(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z), _l = new Te(Ec, Xr.y, Xr.z).applyEuler(ol);
|
|
175168
175234
|
vi.position.set(_l.x, Xr.y, Xr.z), vi.rotation.set(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z);
|
|
175169
175235
|
for (let Xi = 0; Xi < jt.children[0].geometry.attributes.position.array.length; Xi += 3) {
|
|
175170
|
-
let Rc = jt.children[0].geometry.attributes.position.array[Xi] * na.current + Do.current, Fs = jt.children[0].geometry.attributes.position.array[Xi + 1] * na.current + so.current, Qm = jt.children[0].geometry.attributes.position.array[Xi + 2] * na.current +
|
|
175236
|
+
let Rc = jt.children[0].geometry.attributes.position.array[Xi] * na.current + Do.current, Fs = jt.children[0].geometry.attributes.position.array[Xi + 1] * na.current + so.current, Qm = jt.children[0].geometry.attributes.position.array[Xi + 2] * na.current + Co.current;
|
|
175171
175237
|
jt.children[0].geometry.attributes.position.array[Xi], jt.children[0].geometry.attributes.position.array[Xi + 1], jt.children[0].geometry.attributes.position.array[Xi + 2];
|
|
175172
175238
|
let Oc = new Te(Rc, Fs, Qm).applyEuler(Oi), Wb = Oc.x;
|
|
175173
175239
|
Math.abs(Wb - Ec) < 0.18 && ri.findIndex((Gg) => Gg.equals(new Te(Ec, Oc.y, Oc.z))) === -1 && ri.push(new Te(Ec, Oc.y, Oc.z));
|
|
@@ -175189,8 +175255,8 @@ const $xn = {
|
|
|
175189
175255
|
color: 16711680
|
|
175190
175256
|
}), js = new ma(Qr, Ja);
|
|
175191
175257
|
js.name = "azimuth_outline";
|
|
175192
|
-
const
|
|
175193
|
-
return new Te(Do.current, so.current,
|
|
175258
|
+
const Lo = new Vl(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z);
|
|
175259
|
+
return new Te(Do.current, so.current, Co.current).applyEuler(Lo), js.rotation.set(-be.current.rotation.x, -be.current.rotation.y, -be.current.rotation.z), be.current.add(vi, js, Aa), vi;
|
|
175194
175260
|
}, xe = (Se) => {
|
|
175195
175261
|
if (Se.stopPropagation(), mc.current.add(Se.key), mc.current.has("Alt") && (mc.current.has("c") || mc.current.has("C")))
|
|
175196
175262
|
try {
|
|
@@ -175594,7 +175660,7 @@ const $xn = {
|
|
|
175594
175660
|
}, 500);
|
|
175595
175661
|
}, []), Mn(() => {
|
|
175596
175662
|
vt.current = (f == null ? void 0 : f.domElement.clientWidth) - 1, we.current = (f == null ? void 0 : f.domElement.clientHeight) - 1;
|
|
175597
|
-
let Se = -(Dn.min.x + Dn.max.x) * na.current / 2, Me = Dn.max.clone().multiplyScalar(na.current).add(new Te(Se, so.current,
|
|
175663
|
+
let Se = -(Dn.min.x + Dn.max.x) * na.current / 2, Me = Dn.max.clone().multiplyScalar(na.current).add(new Te(Se, so.current, Co.current)), Ze = Dn.min.clone().multiplyScalar(na.current).add(new Te(Se, so.current, Co.current));
|
|
175598
175664
|
Qe.current = Me, ot.current = Ze;
|
|
175599
175665
|
let at = new $l({
|
|
175600
175666
|
visible: !1
|
|
@@ -175701,13 +175767,13 @@ const $xn = {
|
|
|
175701
175767
|
tooltip: {
|
|
175702
175768
|
trigger: "item",
|
|
175703
175769
|
triggerOn: "mousemove",
|
|
175704
|
-
position: function(Ja, js,
|
|
175770
|
+
position: function(Ja, js, Lo, Ec, ol) {
|
|
175705
175771
|
const _l = Ja[0], Xi = Ja[1];
|
|
175706
175772
|
return [_l + 10, Xi];
|
|
175707
175773
|
},
|
|
175708
175774
|
formatter: function(Ja) {
|
|
175709
|
-
const js = un == Ja.name ? "" : Ja.name + "->",
|
|
175710
|
-
return `${js}${un}${
|
|
175775
|
+
const js = un == Ja.name ? "" : Ja.name + "->", Lo = Ja.value ? ", " + Ja.value + " neurons" : "";
|
|
175776
|
+
return `${js}${un}${Lo}`;
|
|
175711
175777
|
}
|
|
175712
175778
|
},
|
|
175713
175779
|
series: [{
|
|
@@ -175736,7 +175802,7 @@ const $xn = {
|
|
|
175736
175802
|
tooltip: {
|
|
175737
175803
|
trigger: "item",
|
|
175738
175804
|
triggerOn: "mousemove",
|
|
175739
|
-
position: function(Ja, js,
|
|
175805
|
+
position: function(Ja, js, Lo, Ec, ol) {
|
|
175740
175806
|
const _l = Ja[0], Xi = Ja[1], Rc = ol.contentSize[0];
|
|
175741
175807
|
return [_l - Rc - 10, Xi];
|
|
175742
175808
|
},
|
|
@@ -175821,7 +175887,7 @@ const $xn = {
|
|
|
175821
175887
|
}, [Y]), Mn(() => {
|
|
175822
175888
|
Zi.length > 0 && Ie(!0);
|
|
175823
175889
|
}, [Zi]);
|
|
175824
|
-
const
|
|
175890
|
+
const Ro = (Se) => {
|
|
175825
175891
|
const { positionx: Me, positiony: Ze, positionz: at } = Se;
|
|
175826
175892
|
let At = new URL(window.location.href), un = new URLSearchParams(At.search).get("atlasReslicingInfo"), bn = {};
|
|
175827
175893
|
un && (bn = JSON.parse(un)), Nt(Me), Gt(Ze), Pn(at), bn.positionX = Me, bn.positionY = Ze, bn.positionZ = at;
|
|
@@ -175925,7 +175991,7 @@ const $xn = {
|
|
|
175925
175991
|
const ec = (Se, Me) => {
|
|
175926
175992
|
clearTimeout(Ku.current), Ku.current = setTimeout(() => {
|
|
175927
175993
|
const Ze = be.current.getObjectByName("Brain");
|
|
175928
|
-
let at = new
|
|
175994
|
+
let at = new wo();
|
|
175929
175995
|
at.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
175930
175996
|
let At = new Te(), jt = new RC();
|
|
175931
175997
|
if (Me)
|
|
@@ -175940,7 +176006,7 @@ const $xn = {
|
|
|
175940
176006
|
y: 0,
|
|
175941
176007
|
z: At.z
|
|
175942
176008
|
})
|
|
175943
|
-
}).then((un) => un.ok ? un.json() :
|
|
176009
|
+
}).then((un) => un.ok ? un.json() : Eo.error({
|
|
175944
176010
|
title: un.message
|
|
175945
176011
|
})).then((un) => {
|
|
175946
176012
|
const bn = un.base64;
|
|
@@ -175959,7 +176025,7 @@ const $xn = {
|
|
|
175959
176025
|
y: 0,
|
|
175960
176026
|
z: 0
|
|
175961
176027
|
})
|
|
175962
|
-
}).then((un) => un.ok ? un.json() :
|
|
176028
|
+
}).then((un) => un.ok ? un.json() : Eo.error({
|
|
175963
176029
|
title: un.message
|
|
175964
176030
|
})).then((un) => {
|
|
175965
176031
|
const bn = un.base64;
|
|
@@ -175984,7 +176050,7 @@ const $xn = {
|
|
|
175984
176050
|
})
|
|
175985
176051
|
}).then((un) => (un.ok, un.json())).then((un) => {
|
|
175986
176052
|
if (un.message) {
|
|
175987
|
-
|
|
176053
|
+
Eo.error({
|
|
175988
176054
|
content: un.message
|
|
175989
176055
|
});
|
|
175990
176056
|
return;
|
|
@@ -176008,7 +176074,7 @@ const $xn = {
|
|
|
176008
176074
|
angles: [un, bn, fn],
|
|
176009
176075
|
center: [At.x, At.y, At.z]
|
|
176010
176076
|
})
|
|
176011
|
-
}).then((Nn) => Nn.ok ? Nn.json() :
|
|
176077
|
+
}).then((Nn) => Nn.ok ? Nn.json() : Eo.error({
|
|
176012
176078
|
title: Nn.message
|
|
176013
176079
|
})).then((Nn) => {
|
|
176014
176080
|
const Rn = Nn.base64;
|
|
@@ -176021,7 +176087,7 @@ const $xn = {
|
|
|
176021
176087
|
});
|
|
176022
176088
|
}
|
|
176023
176089
|
}, 100);
|
|
176024
|
-
},
|
|
176090
|
+
}, Oo = (Se, Me) => {
|
|
176025
176091
|
let Ze, at = 0, At = new URL(window.location.href), un = new URLSearchParams(At.search).get("atlasReslicingInfo"), bn = {};
|
|
176026
176092
|
un && (bn = JSON.parse(un)), qt.current == 1 ? (be.current.children.forEach(function(fn, Nn) {
|
|
176027
176093
|
Me == 3 && fn.name == "CoronalView" && (at = Nn);
|
|
@@ -176034,13 +176100,13 @@ const $xn = {
|
|
|
176034
176100
|
}), Me == 3 && (Pn(Se), bn.positionZ = Se, oo.atlasReslicingInfo = bn, Ze = new Te(Bt, Kt, Se), be.current.children[at].position.setZ(Ze.z)), Me == 2 && (Gt(Se), bn.positionY = Se, oo.atlasReslicingInfo = bn, Ze = new Te(an, Se, an), be.current.children[at].position.setY(Ze.y)), Me == 1 && (Nt(Se), bn.positionX = Se, oo.atlasReslicingInfo = bn, Ze = new Te(Se, Kt, an), be.current.children[at].position.setX(Ze.x)), ec(qt.current, be.current.children[at]));
|
|
176035
176101
|
}, rd = (Se) => {
|
|
176036
176102
|
let Me = new URL(window.location.href), at = new URLSearchParams(Me.search).get("atlasReslicingInfo"), At = {};
|
|
176037
|
-
at && (At = JSON.parse(at)), qt.current == 2 && (Nt(Se), Gt(-5.33), Pn(-8),
|
|
176103
|
+
at && (At = JSON.parse(at)), qt.current == 2 && (Nt(Se), Gt(-5.33), Pn(-8), Oo(Se, 1), At.positionX = Se, At.positionY = -5.33, At.positionZ = -8, oo.atlasReslicingInfo = At), qt.current == 4 && Oo(Se, 1);
|
|
176038
176104
|
}, pf = (Se) => {
|
|
176039
176105
|
let Me = new URL(window.location.href), at = new URLSearchParams(Me.search).get("atlasReslicingInfo"), At = {};
|
|
176040
|
-
at && (At = JSON.parse(at)), qt.current == 3 && (Gt(Se), Pn(-8), Nt(-5.17), At.positionX = -5.17, At.positionY = Se, At.positionZ = -8, oo.atlasReslicingInfo = At,
|
|
176106
|
+
at && (At = JSON.parse(at)), qt.current == 3 && (Gt(Se), Pn(-8), Nt(-5.17), At.positionX = -5.17, At.positionY = Se, At.positionZ = -8, oo.atlasReslicingInfo = At, Oo(Se, 2)), qt.current == 4 && Oo(Se, 2);
|
|
176041
176107
|
}, Gs = (Se) => {
|
|
176042
176108
|
let Me = new URL(window.location.href), at = new URLSearchParams(Me.search).get("atlasReslicingInfo"), At = {};
|
|
176043
|
-
at && (At = JSON.parse(at)), qt.current == 1 && (Pn(Se), Nt(-5.17), Gt(-5.33),
|
|
176109
|
+
at && (At = JSON.parse(at)), qt.current == 1 && (Pn(Se), Nt(-5.17), Gt(-5.33), Oo(Se, 3), At.positionX = -5.17, At.positionY = -5.33, At.positionZ = Se, oo.atlasReslicingInfo = At), qt.current == 4 && Oo(Se, 3);
|
|
176044
176110
|
}, id = (Se, Me) => {
|
|
176045
176111
|
let Ze = 0, at = new URL(window.location.href), jt = new URLSearchParams(at.search).get("atlasReslicingInfo"), un = {};
|
|
176046
176112
|
jt && (un = JSON.parse(jt)), be.current.children.forEach(function(mr, Xr) {
|
|
@@ -176533,7 +176599,7 @@ const $xn = {
|
|
|
176533
176599
|
ut.Lable && Zm(ut.Lable), ee(!0);
|
|
176534
176600
|
} }, x.current.checkedKeys.current.includes(ut.Lable) ? a("5000.6023", { name: ut.Lable }) || `隐藏${ut.Lable}的三维形貌` : a("5000.6024", { name: ut.Lable }) || `显示${ut.Lable}的三维形貌`)
|
|
176535
176601
|
}
|
|
176536
|
-
] : [], [X, ae, oe, ve, Qn,
|
|
176602
|
+
] : [], [X, ae, oe, ve, Qn, Ao, me, Xo, ut]), Oh = (Se) => {
|
|
176537
176603
|
Se = Se.replace(/[\[\]]/g, "\\$&");
|
|
176538
176604
|
var Me = new RegExp("[?&]" + Se + "(=([^&#]*)|&|#|$)"), Ze = Me.exec(window.location.href);
|
|
176539
176605
|
return Ze ? Ze[2] ? decodeURIComponent(Ze[2].replace(/\+/g, " ")) : "" : null;
|
|
@@ -176657,13 +176723,13 @@ const $xn = {
|
|
|
176657
176723
|
Pt.current = at.path;
|
|
176658
176724
|
}
|
|
176659
176725
|
else
|
|
176660
|
-
at.message &&
|
|
176726
|
+
at.message && Eo.error({
|
|
176661
176727
|
content: at.message
|
|
176662
176728
|
});
|
|
176663
176729
|
});
|
|
176664
176730
|
}, qa = (Se, Me) => {
|
|
176665
176731
|
if (Se.file.size / 1024 / 1024 >= 100) {
|
|
176666
|
-
|
|
176732
|
+
Eo.confirm({
|
|
176667
176733
|
title: "File Check",
|
|
176668
176734
|
content: a("5000.7050") || "Please down-sample the slice image to ~10μm/pixel before uploading",
|
|
176669
176735
|
okText: "Yes",
|
|
@@ -176715,7 +176781,7 @@ const $xn = {
|
|
|
176715
176781
|
method: "post",
|
|
176716
176782
|
body: Ze
|
|
176717
176783
|
}).then((at) => at.json()).then((at) => {
|
|
176718
|
-
at.code === 200 ? (sc.success("update success"), Me === 2 ? Fo([{ url: "data:image/png;base64," + at.base64_url }]) : (la([{ url: "data:image/png;base64," + at.base64_url }]), ja({}), Pt.current = at.path)) : at.message &&
|
|
176784
|
+
at.code === 200 ? (sc.success("update success"), Me === 2 ? Fo([{ url: "data:image/png;base64," + at.base64_url }]) : (la([{ url: "data:image/png;base64," + at.base64_url }]), ja({}), Pt.current = at.path)) : at.message && Eo.error({
|
|
176719
176785
|
content: a("5000.0003") || "上传失败,请联系管理员"
|
|
176720
176786
|
});
|
|
176721
176787
|
});
|
|
@@ -176732,7 +176798,7 @@ const $xn = {
|
|
|
176732
176798
|
}), At.forEach((jt) => {
|
|
176733
176799
|
be.current.remove(jt);
|
|
176734
176800
|
}), fetch(Se).then((jt) => jt.json()).then((jt) => {
|
|
176735
|
-
let un = so.current, bn = Do.current, fn =
|
|
176801
|
+
let un = so.current, bn = Do.current, fn = Co.current, Nn = new Go();
|
|
176736
176802
|
const Rn = new ou();
|
|
176737
176803
|
jt.line.forEach((Rr, Oi) => {
|
|
176738
176804
|
var ei = jt.position[Rr.end], ia = jt.position[Rr.start];
|
|
@@ -176790,8 +176856,8 @@ const $xn = {
|
|
|
176790
176856
|
transparent: !1,
|
|
176791
176857
|
depthWrite: !1,
|
|
176792
176858
|
depthTest: !1
|
|
176793
|
-
}),
|
|
176794
|
-
|
|
176859
|
+
}), Lo = new sd(Aa, js);
|
|
176860
|
+
Lo.translateX(bn), Lo.translateY(so.current), Lo.translateZ(fn), Lo.myMeshType = "neuronSphere", Lo.name = `${Ze}-${Rr.end_name}`, Lo.userData.color = Me, Lo.userData.type = "end", We && We.current && (Lo.visible = We.current.end), el(Lo), Rn.add(Lo);
|
|
176795
176861
|
let Ec = new Vi(), ol = [];
|
|
176796
176862
|
ol.push(ia.x * 0.01, ia.y * 0.01, ia.z * 0.01), Ec.setAttribute("position", new va(ol, 3));
|
|
176797
176863
|
let _l = new ph({
|
|
@@ -176953,8 +177019,8 @@ const $xn = {
|
|
|
176953
177019
|
color: ei,
|
|
176954
177020
|
specular: 0,
|
|
176955
177021
|
shininess: 0
|
|
176956
|
-
}),
|
|
176957
|
-
|
|
177022
|
+
}), Lo = new ur(Ja, js), Ec = Ia < 6 ? 0.2 : Ia < 9 ? 0.3 : 0.5;
|
|
177023
|
+
Lo.scale.set(Ec, Ec, Ec), Lo.position.set(Oi[0] * 0.01, Oi[1] * 0.01, Oi[2] * 0.01), Lo.name = "lineNameMesh", Lo.userData.name = Rr.replace("_111", ""), Lo.userData.wholeName = `${Ze}-${Rr.replace("_111", "")}`, Lo.userData.initColor = ei, Lo.userData.type = ia, Lo.userData.isAtlasMapping = "true", Lo.translateY(so.current), Lo.translateZ(Co.current), Lo.translateX(Do.current), Ja.center(), be.current.add(Lo);
|
|
176958
177024
|
});
|
|
176959
177025
|
}
|
|
176960
177026
|
Rn.add(ri), Rn.name = `swcPointGroup${Ze}`, Rn.userData.isAtlasMapping = "true", be.current.add(Rn);
|
|
@@ -176963,8 +177029,8 @@ const $xn = {
|
|
|
176963
177029
|
let Oi = [], ei = [jt.position[0].x, jt.position[0].y, jt.position[0].z];
|
|
176964
177030
|
for (let Aa = jt.line[Rr].start; Aa <= jt.line[Rr].end; Aa++) {
|
|
176965
177031
|
Aa === jt.line[Rr].start && (ei = [jt.position[Aa].x, jt.position[Aa].y, jt.position[Aa].z]);
|
|
176966
|
-
let Ja = jt.position[Aa].x, js = jt.position[Aa].y,
|
|
176967
|
-
(Math.sqrt((Ja - ei[0]) * (Ja - ei[0]) + (js - ei[1]) * (js - ei[1]) + (
|
|
177032
|
+
let Ja = jt.position[Aa].x, js = jt.position[Aa].y, Lo = jt.position[Aa].z;
|
|
177033
|
+
(Math.sqrt((Ja - ei[0]) * (Ja - ei[0]) + (js - ei[1]) * (js - ei[1]) + (Lo - ei[2]) * (Lo - ei[2])) > Ia || Aa === jt.line[Rr].end || Aa === jt.line[Rr].start) && (Oi.push(new Te(Ja, js, Lo)), ei = [Ja, js, Lo]);
|
|
176968
177034
|
}
|
|
176969
177035
|
let ia = new ma(new Vi().setFromPoints(Oi), new su({
|
|
176970
177036
|
color: Me
|
|
@@ -176979,7 +177045,7 @@ const $xn = {
|
|
|
176979
177045
|
if (ai((Ze) => !Ze), ca.file[1].indexOf(".js") > -1)
|
|
176980
177046
|
As("/app-api/d-api/dowload/" + ca.file[1]);
|
|
176981
177047
|
else {
|
|
176982
|
-
var Me = new
|
|
177048
|
+
var Me = new wo();
|
|
176983
177049
|
Me.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
176984
177050
|
const Ze = (Se == null ? void 0 : Se.children[0]).geometry.boundingBox.min, at = (Se == null ? void 0 : Se.children[0]).geometry.boundingBox.max, At = {
|
|
176985
177051
|
bwidth: 0,
|
|
@@ -177038,7 +177104,7 @@ const $xn = {
|
|
|
177038
177104
|
if (At.ok)
|
|
177039
177105
|
return At.json();
|
|
177040
177106
|
{
|
|
177041
|
-
|
|
177107
|
+
Eo.error({
|
|
177042
177108
|
content: a("5000.7027") || "计算失败"
|
|
177043
177109
|
});
|
|
177044
177110
|
let jt = JSON.parse(JSON.stringify(gs.current));
|
|
@@ -177203,7 +177269,7 @@ const $xn = {
|
|
|
177203
177269
|
const Me = be.current.getObjectByName("Brain");
|
|
177204
177270
|
if (Me) {
|
|
177205
177271
|
ai((fn) => !fn);
|
|
177206
|
-
var Ze = new
|
|
177272
|
+
var Ze = new wo();
|
|
177207
177273
|
Ze.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
177208
177274
|
const at = (Me == null ? void 0 : Me.children[0]).geometry.boundingBox.min, At = (Me == null ? void 0 : Me.children[0]).geometry.boundingBox.max, jt = Se.min.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), un = Se.max.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), bn = {
|
|
177209
177275
|
bwidth: jt.x - at.x,
|
|
@@ -177243,7 +177309,7 @@ const $xn = {
|
|
|
177243
177309
|
let Rn = new ma(Nn, At);
|
|
177244
177310
|
jt.add(Rn);
|
|
177245
177311
|
}
|
|
177246
|
-
jt.scale.set(na.current, na.current, na.current), jt.position.set(Do.current, so.current,
|
|
177312
|
+
jt.scale.set(na.current, na.current, na.current), jt.position.set(Do.current, so.current, Co.current), jt.name = "swcUrlDataLine", be.current.add(jt);
|
|
177247
177313
|
});
|
|
177248
177314
|
}, X8 = () => {
|
|
177249
177315
|
new xs().expandByObject(pt.current);
|
|
@@ -177270,7 +177336,7 @@ const $xn = {
|
|
|
177270
177336
|
}, fn = {
|
|
177271
177337
|
x: ((At.x - at.x) / 2 + at.x) * na.current + Do.current,
|
|
177272
177338
|
y: ((At.y - at.y) / 2 + at.y) * na.current + so.current,
|
|
177273
|
-
z: ((At.z - at.z) / 2 + at.z) * na.current +
|
|
177339
|
+
z: ((At.z - at.z) / 2 + at.z) * na.current + Co.current
|
|
177274
177340
|
};
|
|
177275
177341
|
pt.current.scale.set(bn.x, bn.y, bn.z), pt.current.position.set(fn.x, fn.y, fn.z), sn.current.length === 0 ? fetch(aq).then((Nn) => Nn.arrayBuffer()).then(async (Nn) => {
|
|
177276
177342
|
try {
|
|
@@ -177318,7 +177384,7 @@ const $xn = {
|
|
|
177318
177384
|
Se.expandByObject(pt.current);
|
|
177319
177385
|
const Me = be.current.getObjectByName("Brain");
|
|
177320
177386
|
if (Me) {
|
|
177321
|
-
var Ze = new
|
|
177387
|
+
var Ze = new wo();
|
|
177322
177388
|
Ze.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
177323
177389
|
const at = (Me == null ? void 0 : Me.children[0]).geometry.boundingBox.min, At = Se.min.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), jt = Se.max.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), un = {
|
|
177324
177390
|
bwidth: At.x - at.x,
|
|
@@ -177363,7 +177429,7 @@ const $xn = {
|
|
|
177363
177429
|
Se.expandByObject(pt.current);
|
|
177364
177430
|
const Me = be.current.getObjectByName("Brain");
|
|
177365
177431
|
if (Me) {
|
|
177366
|
-
var Ze = new
|
|
177432
|
+
var Ze = new wo();
|
|
177367
177433
|
Ze.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
177368
177434
|
const at = (Me == null ? void 0 : Me.children[0]).geometry.boundingBox.min, At = (Me == null ? void 0 : Me.children[0]).geometry.boundingBox.max, jt = Se.min.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), un = Se.max.clone().applyMatrix4(Me.matrixWorld.clone().invert()).applyQuaternion(Ze), bn = {
|
|
177369
177435
|
bwidth: jt.x - at.x,
|
|
@@ -177454,7 +177520,7 @@ const $xn = {
|
|
|
177454
177520
|
});
|
|
177455
177521
|
}
|
|
177456
177522
|
}).catch((Me) => {
|
|
177457
|
-
li(!1),
|
|
177523
|
+
li(!1), Eo.error({ title: a("5000.7026") || "请求超时,下载失败" });
|
|
177458
177524
|
});
|
|
177459
177525
|
}, Hb = wc((Se) => {
|
|
177460
177526
|
Se.stopPropagation(), (Se.key === "a" || Se.key === "A") && (st.current.getMode() === "translate" ? st.current.setMode("scale") : st.current.setMode("translate"));
|
|
@@ -177540,7 +177606,7 @@ const $xn = {
|
|
|
177540
177606
|
},
|
|
177541
177607
|
body: JSON.stringify(Se)
|
|
177542
177608
|
}).then((Me) => Me.ok ? Me.json() : (Mt(!1), Me.json().then((Ze) => {
|
|
177543
|
-
throw Ie(!0), Me.status === 401 &&
|
|
177609
|
+
throw Ie(!0), Me.status === 401 && Eo.confirm({
|
|
177544
177610
|
content: Ze.message,
|
|
177545
177611
|
onOk() {
|
|
177546
177612
|
fetch("/app-api/d-api/update_key", {
|
|
@@ -177553,9 +177619,9 @@ const $xn = {
|
|
|
177553
177619
|
},
|
|
177554
177620
|
onCancel() {
|
|
177555
177621
|
}
|
|
177556
|
-
}), Me.status === 429 ?
|
|
177622
|
+
}), Me.status === 429 ? Eo.error({
|
|
177557
177623
|
content: a("5000.7029") || "请求过于频繁,请稍后再试"
|
|
177558
|
-
}) :
|
|
177624
|
+
}) : Eo.error({
|
|
177559
177625
|
content: a("5000.7027") || "计算失败"
|
|
177560
177626
|
}), new Error(Ze.message || Me.statusText);
|
|
177561
177627
|
}))).then((Me) => {
|
|
@@ -177610,11 +177676,11 @@ const $xn = {
|
|
|
177610
177676
|
}).then((Me) => {
|
|
177611
177677
|
if (Me.ok)
|
|
177612
177678
|
return Me.json();
|
|
177613
|
-
throw ci(!1), ai(!1),
|
|
177679
|
+
throw ci(!1), ai(!1), Eo.error({
|
|
177614
177680
|
content: a("5000.7028") || "没有合适的路径"
|
|
177615
177681
|
}), new Error(Me.statusText);
|
|
177616
177682
|
}).then((Me) => {
|
|
177617
|
-
ci(!1), ai(!1), Me.code === 200 && N ? N(new Te(Me.point[0], Me.point[1], Me.point[2])) :
|
|
177683
|
+
ci(!1), ai(!1), Me.code === 200 && N ? N(new Te(Me.point[0], Me.point[1], Me.point[2])) : Eo.error({
|
|
177618
177684
|
content: a("5000.7027") || "计算失败"
|
|
177619
177685
|
});
|
|
177620
177686
|
});
|
|
@@ -177652,7 +177718,7 @@ const $xn = {
|
|
|
177652
177718
|
}).then((Ze) => {
|
|
177653
177719
|
if (Ze.ok)
|
|
177654
177720
|
return Ze.json();
|
|
177655
|
-
throw
|
|
177721
|
+
throw Eo.error({
|
|
177656
177722
|
content: a("5000.5047") || "提交失败"
|
|
177657
177723
|
}), new Error(Ze.statusText);
|
|
177658
177724
|
}).then((Ze) => {
|
|
@@ -178479,12 +178545,12 @@ const $xn = {
|
|
|
178479
178545
|
body: Se
|
|
178480
178546
|
}).then((Me) => {
|
|
178481
178547
|
if (!Me.ok)
|
|
178482
|
-
throw
|
|
178548
|
+
throw Eo.error({
|
|
178483
178549
|
content: a("5000.7027") || "计算失败"
|
|
178484
178550
|
}), sr(!1), new Error("Network response was not ok");
|
|
178485
178551
|
return Me.json();
|
|
178486
178552
|
}).then((Me) => {
|
|
178487
|
-
Hd(Me.path), sr(!1),
|
|
178553
|
+
Hd(Me.path), sr(!1), Eo.success({
|
|
178488
178554
|
content: a("4000.0226") || "成功"
|
|
178489
178555
|
});
|
|
178490
178556
|
});
|
|
@@ -178532,10 +178598,10 @@ const $xn = {
|
|
|
178532
178598
|
R.createElement(G1, { open: rr, onClose: () => Wt(!1), steps: Wi, mask: !0 }),
|
|
178533
178599
|
R.createElement(G1, { open: Jn, onClose: () => Cn(!1), steps: Hs, mask: !0 }),
|
|
178534
178600
|
R.createElement(G1, { open: Er, onClose: () => Sr(!1), steps: Ln, mask: !0 }),
|
|
178535
|
-
R.createElement(ML, { direction: 2, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 205, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate:
|
|
178536
|
-
R.createElement(ML, { direction: 3, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 160, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate:
|
|
178537
|
-
R.createElement(ML, { direction: 1, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate:
|
|
178538
|
-
R.createElement(ML, { direction: 4, percentage: 0.5, pointMax: Qe.current, pointMin: ot.current, slice_arbitrary: je, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate:
|
|
178601
|
+
R.createElement(ML, { direction: 2, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 205, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate: Ro, cube_helper: Ve, renderer: f, showMesh: Xn, setAngleX: Ht, setAngleY: Ue, setAngleZ: Dt, gray_value: Fe, slicing_url: xl, setSectionsInfo: he, sectionsInfoRef: Xe, sectionPointRef: Ol, composer: Ye, menutagShowRef: Cl, tabIndex: Qn }),
|
|
178602
|
+
R.createElement(ML, { direction: 3, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 160, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate: Ro, cube_helper: Ve, renderer: f, showMesh: Yn, setAngleX: Ht, setAngleY: Ue, setAngleZ: Dt, gray_value: Fe, slicing_url: xl, setSectionsInfo: he, sectionsInfoRef: Xe, sectionPointRef: Ol, composer: Ye, menutagShowRef: Cl, tabIndex: Qn }),
|
|
178603
|
+
R.createElement(ML, { direction: 1, percentage: 0.2, pointMax: Qe.current, pointMin: ot.current, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate: Ro, cube_helper: Ve, renderer: f, showMesh: yi, setAngleX: Ht, setAngleY: Ue, setAngleZ: Dt, gray_value: Fe, slicing_url: xl, setSectionsInfo: he, sectionsInfoRef: Xe, sectionPointRef: Ol, composer: Ye, menutagShowRef: Cl, tabIndex: Qn }),
|
|
178604
|
+
R.createElement(ML, { direction: 4, percentage: 0.5, pointMax: Qe.current, pointMin: ot.current, slice_arbitrary: je, color: 16777215, sliceImgNum: 264, slicePath: n + "/data/SLICE/", transformControls: st, controls: p, canvas_width: vt, canvas_height: we, handleStateUpdate: Ro, normalVector: ct, cube_helper: Ve, renderer: f, showMesh: Ti, setAngleX: Ht, setAngleY: Ue, setAngleZ: Dt, slicing_url: xl, settransformControlsType: gc, gray_value: Fe, setSectionsInfo: he, sectionsInfoRef: Xe, sectionPointRef: Ol, composer: Ye, menutagShowRef: Cl, tabIndex: Qn }),
|
|
178539
178605
|
R.createElement(
|
|
178540
178606
|
"div",
|
|
178541
178607
|
{ id: "spinner", style: { position: "absolute", zIndex: 999, left: 0, top: 0, width: "100%", height: "100%", display: `${Pi ? "block" : "none"}`, opacity: 0.7, backgroundColor: "#ffffff" } },
|
|
@@ -178547,7 +178613,7 @@ const $xn = {
|
|
|
178547
178613
|
"Loading....wait..."
|
|
178548
178614
|
)
|
|
178549
178615
|
),
|
|
178550
|
-
R.createElement(
|
|
178616
|
+
R.createElement(Eo, { open: mn, centered: !0, okText: a("5000.0011") || "发送邮件", cancelText: a("5000.0112") || "取消", onOk: () => {
|
|
178551
178617
|
const Se = { imageRange: oi.current, keyNum: za.current, size: AT };
|
|
178552
178618
|
fetch("/app-api/java-api/brainsweb-service/websharing/add", {
|
|
178553
178619
|
method: "post",
|
|
@@ -178560,18 +178626,18 @@ const $xn = {
|
|
|
178560
178626
|
throw "error";
|
|
178561
178627
|
return Me.json();
|
|
178562
178628
|
}).then((Me) => {
|
|
178563
|
-
xr(!1),
|
|
178629
|
+
xr(!1), Eo.success({
|
|
178564
178630
|
content: a("5000.7034") || "发送成功"
|
|
178565
178631
|
}), li(!1);
|
|
178566
178632
|
}).catch((Me) => {
|
|
178567
|
-
|
|
178633
|
+
Eo.error({
|
|
178568
178634
|
content: a("5000.7035") || "服务端异常"
|
|
178569
178635
|
}), xr(!1), li(!1);
|
|
178570
178636
|
});
|
|
178571
178637
|
}, onCancel: () => xr(!1) }, a("5000.0012") || "当前下载文件已超出服务器传输限制,您可以选择降低采样等级或者发送邮件,是否发送邮件?"),
|
|
178572
|
-
R.createElement(
|
|
178638
|
+
R.createElement(Eo, { open: $o, centered: !0, footer: null, onCancel: () => {
|
|
178573
178639
|
Is(!1), fo(0);
|
|
178574
|
-
} },
|
|
178640
|
+
} }, Io === 0 ? R.createElement(
|
|
178575
178641
|
R.Fragment,
|
|
178576
178642
|
null,
|
|
178577
178643
|
R.createElement("div", { style: { marginTop: 20 } }, a("5000.5044") || "当前key信息尚未验证,不可计算,请选择申请key或者填写Key"),
|
|
@@ -178579,13 +178645,13 @@ const $xn = {
|
|
|
178579
178645
|
"div",
|
|
178580
178646
|
{ style: { textAlign: "right", marginTop: 20 } },
|
|
178581
178647
|
R.createElement(Da, { style: { marginRight: 10 }, onClick: () => {
|
|
178582
|
-
|
|
178648
|
+
Io === 0 ? fo(1) : (fo(0), Is(!1));
|
|
178583
178649
|
} }, a("5000.5042") || "申请Key"),
|
|
178584
178650
|
R.createElement(Da, { type: "primary", onClick: () => {
|
|
178585
|
-
|
|
178651
|
+
Io === 0 ? fo(2) : (fo(0), Is(!1));
|
|
178586
178652
|
} }, a("5000.5043") || "填写key")
|
|
178587
178653
|
)
|
|
178588
|
-
) :
|
|
178654
|
+
) : Io === 1 ? R.createElement(
|
|
178589
178655
|
R.Fragment,
|
|
178590
178656
|
null,
|
|
178591
178657
|
R.createElement(
|
|
@@ -178658,7 +178724,7 @@ const $xn = {
|
|
|
178658
178724
|
} }, a("5000.5050") || "保存")
|
|
178659
178725
|
)
|
|
178660
178726
|
)),
|
|
178661
|
-
R.createElement(
|
|
178727
|
+
R.createElement(Eo, { open: Gl, centered: !0, footer: null, onCancel: () => {
|
|
178662
178728
|
mo(!1), Ys(0);
|
|
178663
178729
|
} }, qs === 0 ? R.createElement(
|
|
178664
178730
|
R.Fragment,
|
|
@@ -178750,7 +178816,7 @@ const $xn = {
|
|
|
178750
178816
|
},
|
|
178751
178817
|
body: JSON.stringify({ key: za.current, aplType: 2 })
|
|
178752
178818
|
}).then((Se) => Se.ok ? (mo(!1), ji.current = !0, Qn == 3 ? M1() : Z8(), Se.json()) : (ji.current = !1, Se.json())).then((Se) => {
|
|
178753
|
-
Se.message &&
|
|
178819
|
+
Se.message && Eo.error({
|
|
178754
178820
|
content: Se.message
|
|
178755
178821
|
});
|
|
178756
178822
|
});
|
|
@@ -178758,7 +178824,7 @@ const $xn = {
|
|
|
178758
178824
|
)
|
|
178759
178825
|
)),
|
|
178760
178826
|
R.createElement(
|
|
178761
|
-
|
|
178827
|
+
Eo,
|
|
178762
178828
|
{ open: Ae, centered: !0, footer: null, onCancel: () => {
|
|
178763
178829
|
fe(!1);
|
|
178764
178830
|
} },
|
|
@@ -178886,7 +178952,7 @@ const $xn = {
|
|
|
178886
178952
|
)
|
|
178887
178953
|
)
|
|
178888
178954
|
),
|
|
178889
|
-
R.createElement(
|
|
178955
|
+
R.createElement(Eo, { className: "Echart", title: R.createElement(
|
|
178890
178956
|
R.Fragment,
|
|
178891
178957
|
null,
|
|
178892
178958
|
R.createElement("span", null, "Connectivity diagram"),
|
|
@@ -179118,7 +179184,7 @@ const $xn = {
|
|
|
179118
179184
|
}, Ce = () => {
|
|
179119
179185
|
var Ae, Be, Ye, De, _e, Xe;
|
|
179120
179186
|
const ae = be.current.getObjectByName("Brain");
|
|
179121
|
-
let ve = new
|
|
179187
|
+
let ve = new wo();
|
|
179122
179188
|
ve.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2);
|
|
179123
179189
|
let fe = new Te();
|
|
179124
179190
|
if (V.current) {
|
|
@@ -179141,7 +179207,7 @@ const $xn = {
|
|
|
179141
179207
|
y: 0,
|
|
179142
179208
|
z: fe.z
|
|
179143
179209
|
})
|
|
179144
|
-
}).then((qe) => qe.ok ? qe.json() :
|
|
179210
|
+
}).then((qe) => qe.ok ? qe.json() : Eo.error({
|
|
179145
179211
|
title: qe.message
|
|
179146
179212
|
})).then((qe) => {
|
|
179147
179213
|
const We = qe.base64;
|
|
@@ -179158,7 +179224,7 @@ const $xn = {
|
|
|
179158
179224
|
y: 0,
|
|
179159
179225
|
z: 0
|
|
179160
179226
|
})
|
|
179161
|
-
}).then((qe) => qe.ok ? qe.json() :
|
|
179227
|
+
}).then((qe) => qe.ok ? qe.json() : Eo.error({
|
|
179162
179228
|
title: qe.message
|
|
179163
179229
|
})).then((qe) => {
|
|
179164
179230
|
const We = qe.base64;
|
|
@@ -179182,7 +179248,7 @@ const $xn = {
|
|
|
179182
179248
|
y: fe.y,
|
|
179183
179249
|
z: 0
|
|
179184
179250
|
})
|
|
179185
|
-
}).then((qe) => qe.ok ? qe.json() :
|
|
179251
|
+
}).then((qe) => qe.ok ? qe.json() : Eo.error({
|
|
179186
179252
|
title: qe.message
|
|
179187
179253
|
})).then((qe) => {
|
|
179188
179254
|
const We = qe.base64;
|
|
@@ -179203,7 +179269,7 @@ const $xn = {
|
|
|
179203
179269
|
angles: [Ne, Pe, it],
|
|
179204
179270
|
center: [fe.x, fe.y, fe.z]
|
|
179205
179271
|
})
|
|
179206
|
-
}).then((qe) => qe.ok ? qe.json() :
|
|
179272
|
+
}).then((qe) => qe.ok ? qe.json() : Eo.error({
|
|
179207
179273
|
title: qe.message
|
|
179208
179274
|
})).then((qe) => {
|
|
179209
179275
|
const We = qe.base64;
|
|
@@ -181682,11 +181748,11 @@ const b5n = (t) => {
|
|
|
181682
181748
|
if (d.index == 0) {
|
|
181683
181749
|
if (d.left != 0) {
|
|
181684
181750
|
var s = new ur(new ad(i(Math.sqrt(d.left) / 100, 0.025, 0.15), 32, 32), new $l({ color: r(Math.sqrt(d.left), 0, Math.sqrt(2025.5)), transparent: !0 }));
|
|
181685
|
-
s.position.set(d.left_center[0] * 0.01, d.left_center[1] * 0.01, d.left_center[2] * 0.01), s.name = u, s.userData.intensity = d.left, s.userData.type = "points", s.translateX(Do.current), s.translateY(so.current), s.translateZ(
|
|
181751
|
+
s.position.set(d.left_center[0] * 0.01, d.left_center[1] * 0.01, d.left_center[2] * 0.01), s.name = u, s.userData.intensity = d.left, s.userData.type = "points", s.translateX(Do.current), s.translateY(so.current), s.translateZ(Co.current), be.current.add(s);
|
|
181686
181752
|
}
|
|
181687
181753
|
if (d.right != 0) {
|
|
181688
181754
|
var l = new ur(new ad(i(Math.sqrt(d.right) / 100, 0.025, 0.15), 32, 32), new $l({ color: r(Math.sqrt(d.right), 0, Math.sqrt(2025.5)), transparent: !0 }));
|
|
181689
|
-
l.position.set(d.right_center[0] * 0.01, d.right_center[1] * 0.01, d.right_center[2] * 0.01), l.name = u, l.userData.intensity = d.right, l.userData.type = "points", l.translateX(Do.current), l.translateY(so.current), l.translateZ(
|
|
181755
|
+
l.position.set(d.right_center[0] * 0.01, d.right_center[1] * 0.01, d.right_center[2] * 0.01), l.name = u, l.userData.intensity = d.right, l.userData.type = "points", l.translateX(Do.current), l.translateY(so.current), l.translateZ(Co.current), be.current.add(l);
|
|
181690
181756
|
}
|
|
181691
181757
|
}
|
|
181692
181758
|
}
|
|
@@ -181855,7 +181921,7 @@ const fq = cu((t, e) => {
|
|
|
181855
181921
|
depthWrite: !1,
|
|
181856
181922
|
depthTest: !1
|
|
181857
181923
|
}), Pt = new sd(pt, en);
|
|
181858
|
-
Pt.translateX(Do.current), Pt.translateY(so.current), Pt.translateZ(
|
|
181924
|
+
Pt.translateX(Do.current), Pt.translateY(so.current), Pt.translateZ(Co.current), Pt.myMeshType = "neuronSphere", Pt.name = `${qt}-${Qe.end_name}`, Pt.userData.color = gn, Pt.userData.type = "end", N && N.current && (Pt.visible = N.current.end), yi(Pt), Ee.add(Pt);
|
|
181859
181925
|
let sn = new Vi(), hn = [];
|
|
181860
181926
|
hn.push(ct.x * 0.01, ct.y * 0.01, ct.z * 0.01), sn.setAttribute("position", new va(hn, 3));
|
|
181861
181927
|
let zt = new ph({
|
|
@@ -181908,7 +181974,7 @@ const fq = cu((t, e) => {
|
|
|
181908
181974
|
depthWrite: !1,
|
|
181909
181975
|
depthTest: !1
|
|
181910
181976
|
}), Vt = new sd(sn, zt);
|
|
181911
|
-
Vt.translateX(Do.current), Vt.translateY(so.current), Vt.translateZ(
|
|
181977
|
+
Vt.translateX(Do.current), Vt.translateY(so.current), Vt.translateZ(Co.current), Vt.myMeshType = "neuronSphere", Vt.name = `${qt}-${Qe.start_name}`, Vt.userData.type = "start", N && N.current && (Vt.userData.color = N.current.start_color, Vt.visible = N.current.start), yi(Vt), Ee.add(Vt), Qe.start_name && (rt.current.hasOwnProperty(Qe.start_name) ? rt.current[`${Qe.start_name}`].push({
|
|
181912
181978
|
name: qt,
|
|
181913
181979
|
point: [ct.x, ct.y, ct.z],
|
|
181914
181980
|
type: ot === 0 ? "cell" : "start",
|
|
@@ -181982,7 +182048,7 @@ const fq = cu((t, e) => {
|
|
|
181982
182048
|
depthWrite: !1,
|
|
181983
182049
|
depthTest: !1
|
|
181984
182050
|
}), we = new sd(ft, vt);
|
|
181985
|
-
we.translateX(Do.current), we.translateY(so.current), we.translateZ(
|
|
182051
|
+
we.translateX(Do.current), we.translateY(so.current), we.translateZ(Co.current), we.myMeshType = "neuronSphere", we.name = `${qt}-${Tn.line[0].start_name}`, we.userData.color = "#1771FF", we.myMeshType = "neuronSphere", we.name = `${qt}-${Tn.line[0].start_name}`, we.userData.color = "#1771FF", yi(we), Ee.add(we), Ee.name = `swcPointGroup${qt}`, Ge.current.push(Ee), be.current.add(Ee);
|
|
181986
182052
|
let je = 1;
|
|
181987
182053
|
for (let Qe = 0; Qe < Tn.line.length; Qe++) {
|
|
181988
182054
|
let ot = [], Ve = [Tn.position[0].x, Tn.position[0].y, Tn.position[0].z];
|
|
@@ -181996,7 +182062,7 @@ const fq = cu((t, e) => {
|
|
|
181996
182062
|
}));
|
|
181997
182063
|
ct.myMeshType = "SWC", Ie.add(ct);
|
|
181998
182064
|
}
|
|
181999
|
-
Ie.scale.set(na.current, na.current, na.current), Ie.translateX(Do.current), Ie.translateY(so.current), Ie.translateZ(
|
|
182065
|
+
Ie.scale.set(na.current, na.current, na.current), Ie.translateX(Do.current), Ie.translateY(so.current), Ie.translateZ(Co.current), Ie.name = qt, Ie.myMeshType = "SWC", ue.current[qt] = Ie, be.current.add(ue.current[qt]), pn && pn();
|
|
182000
182066
|
});
|
|
182001
182067
|
}, Ti = function(wt) {
|
|
182002
182068
|
return wt.replace("/", "_").replace(" ", "_");
|
|
@@ -182322,7 +182388,7 @@ const fq = cu((t, e) => {
|
|
|
182322
182388
|
la();
|
|
182323
182389
|
}, [f]);
|
|
182324
182390
|
const uo = (wt, kt, qt, gn, pn, On) => {
|
|
182325
|
-
var Tn = new
|
|
182391
|
+
var Tn = new wo();
|
|
182326
182392
|
if (Tn.setFromAxisAngle(new Te(1, 0, 0), Math.PI / 2), !ya.current[kt]) {
|
|
182327
182393
|
var Ie = new YD();
|
|
182328
182394
|
gn = gn || 0.1, Ie.load(wt, function(Ee) {
|
|
@@ -182330,9 +182396,9 @@ const fq = cu((t, e) => {
|
|
|
182330
182396
|
let ft = Ee.clone();
|
|
182331
182397
|
if (kt != "Brain") {
|
|
182332
182398
|
var st = new $i(), vt = new Te(1, 0, 0);
|
|
182333
|
-
st.set(1 - 2 * vt.x * vt.x, -2 * vt.x * vt.y, -2 * vt.x * vt.z, 0, -2 * vt.x * vt.y, 1 - 2 * vt.y * vt.y, -2 * vt.y * vt.z, 0, -2 * vt.x * vt.z, -2 * vt.y * vt.z, 1 - 2 * vt.z * vt.z, 0, 0, 0, 0, 1), ft.applyMatrix4(st), ft.translateX(-Do.current), ft.translateY(
|
|
182399
|
+
st.set(1 - 2 * vt.x * vt.x, -2 * vt.x * vt.y, -2 * vt.x * vt.z, 0, -2 * vt.x * vt.y, 1 - 2 * vt.y * vt.y, -2 * vt.y * vt.z, 0, -2 * vt.x * vt.z, -2 * vt.y * vt.z, 1 - 2 * vt.z * vt.z, 0, 0, 0, 0, 1), ft.applyMatrix4(st), ft.translateX(-Do.current), ft.translateY(Co.current), ft.translateZ(-so.current), ft.name = kt, ft.myMeshType = "FBX", ft.children[0].name = kt, ft.children[0].myMeshType = "FBX", Ya.current[kt] = ft, _m.current && be.current.add(ft);
|
|
182334
182400
|
}
|
|
182335
|
-
Ee.translateX(Do.current), Ee.translateY(
|
|
182401
|
+
Ee.translateX(Do.current), Ee.translateY(Co.current), Ee.translateZ(-so.current), Ee.name = kt, Ee.myMeshType = "FBX", Ee.children[0].name = kt, Ee.children[0].myMeshType = "FBX", ya.current[kt] = Ee, be.current.add(ya.current[kt]);
|
|
182336
182402
|
var we = new Te(), je = new xs().setFromObject(Ee);
|
|
182337
182403
|
je.getCenter(we);
|
|
182338
182404
|
var Qe = new Te();
|
|
@@ -182395,7 +182461,7 @@ const fq = cu((t, e) => {
|
|
|
182395
182461
|
we.x = we.x * -1;
|
|
182396
182462
|
var je = kt[st].length;
|
|
182397
182463
|
if (On && o) {
|
|
182398
|
-
ya.current[wt[ft]].locationLength = o == null ? void 0 : o.current, ya.current[wt[ft]].position.set(0, 0, 0), ya.current[wt[ft]].translateX(Do.current), ya.current[wt[ft]].translateY(
|
|
182464
|
+
ya.current[wt[ft]].locationLength = o == null ? void 0 : o.current, ya.current[wt[ft]].position.set(0, 0, 0), ya.current[wt[ft]].translateX(Do.current), ya.current[wt[ft]].translateY(Co.current), ya.current[wt[ft]].translateZ(-so.current), ya.current[wt[ft]].translateOnAxis(vt, (o == null ? void 0 : o.current) * je), Ya.current[wt[ft]].position.set(0, 0, 0), Ya.current[wt[ft]].translateX(-Do.current), Ya.current[wt[ft]].translateY(Co.current), Ya.current[wt[ft]].translateZ(-so.current), Ya.current[wt[ft]].locationLength = o == null ? void 0 : o.current, Ya.current[wt[ft]].translateOnAxis(we, (o == null ? void 0 : o.current) * je);
|
|
182399
182465
|
continue;
|
|
182400
182466
|
}
|
|
182401
182467
|
switch (gn) {
|
|
@@ -182645,7 +182711,7 @@ const fq = cu((t, e) => {
|
|
|
182645
182711
|
specular: 0,
|
|
182646
182712
|
shininess: 0
|
|
182647
182713
|
}), we = new ur(st, vt), je = pn < 6 ? 0.2 : pn < 9 ? 0.3 : 0.5;
|
|
182648
|
-
we.scale.set(je, je, je), we.position.set(Tn[0] * 0.01, Tn[1] * 0.01, Tn[2] * 0.01), we.name = "lineNameMesh", we.userData.name = On.replace("_111", ""), we.userData.wholeName = `${kt}-${On.replace("_111", "")}`, we.userData.initColor = Ie, we.userData.type = Ee, we.translateY(so.current), we.translateZ(
|
|
182714
|
+
we.scale.set(je, je, je), we.position.set(Tn[0] * 0.01, Tn[1] * 0.01, Tn[2] * 0.01), we.name = "lineNameMesh", we.userData.name = On.replace("_111", ""), we.userData.wholeName = `${kt}-${On.replace("_111", "")}`, we.userData.initColor = Ie, we.userData.type = Ee, we.translateY(so.current), we.translateZ(Co.current), we.translateX(Do.current), st.center(), x != null && x.current && x.current[kt].push(we), be.current.add(we);
|
|
182649
182715
|
});
|
|
182650
182716
|
}
|
|
182651
182717
|
} else
|
|
@@ -182731,7 +182797,7 @@ const fq = cu((t, e) => {
|
|
|
182731
182797
|
}));
|
|
182732
182798
|
en.scale.set(1, 1, 1), Ve.addLevel(en, 10), Ve.name = gn, Ve.myMeshType = "Vessel", Ve.autoUpdate = !1, Tn.add(Ve);
|
|
182733
182799
|
}
|
|
182734
|
-
Tn.scale.set(na.current * 0.1, na.current * 0.1, na.current * 0.1), Tn.translateX(Do.current), Tn.translateY(so.current), Tn.translateZ(
|
|
182800
|
+
Tn.scale.set(na.current * 0.1, na.current * 0.1, na.current * 0.1), Tn.translateX(Do.current), Tn.translateY(so.current), Tn.translateZ(Co.current), Tn.name = gn, Tn.myMeshType = "Vessel", be.current.add(Tn);
|
|
182735
182801
|
let st = {
|
|
182736
182802
|
contentobj: Tn,
|
|
182737
182803
|
contentmaterial: Ie
|
|
@@ -182754,7 +182820,7 @@ const fq = cu((t, e) => {
|
|
|
182754
182820
|
size: ae.current / 100,
|
|
182755
182821
|
color: new Lr(kt)
|
|
182756
182822
|
});
|
|
182757
|
-
On = new sd(Tn, Ee), On.translateX(Do.current), On.translateY(so.current), On.translateZ(
|
|
182823
|
+
On = new sd(Tn, Ee), On.translateX(Do.current), On.translateY(so.current), On.translateZ(Co.current - 0.45), On.name = qt, ue.current[qt] = On, be.current.add(On);
|
|
182758
182824
|
}), gn && gn();
|
|
182759
182825
|
}, Mt = (wt) => {
|
|
182760
182826
|
ht.current = !0;
|
|
@@ -182824,7 +182890,7 @@ const fq = cu((t, e) => {
|
|
|
182824
182890
|
}).then((qt) => {
|
|
182825
182891
|
if (qt.ok)
|
|
182826
182892
|
return qt.json();
|
|
182827
|
-
throw
|
|
182893
|
+
throw Eo.error({
|
|
182828
182894
|
content: h("5000.5047") || "提交失败"
|
|
182829
182895
|
}), new Error(qt.statusText);
|
|
182830
182896
|
}).then((qt) => {
|
|
@@ -182884,7 +182950,7 @@ const fq = cu((t, e) => {
|
|
|
182884
182950
|
"div",
|
|
182885
182951
|
null,
|
|
182886
182952
|
R.createElement(
|
|
182887
|
-
|
|
182953
|
+
Eo,
|
|
182888
182954
|
{ className: "Echart", open: Le, onOk: () => {
|
|
182889
182955
|
gt(!1);
|
|
182890
182956
|
}, onCancel: () => {
|
|
@@ -182957,7 +183023,7 @@ const fq = cu((t, e) => {
|
|
|
182957
183023
|
R.createElement($_, { showLine: !0, onExpand: ca, defaultExpandParent: !0, expandedKeys: X, onCheck: Va, checkable: !0, selectable: !1, treeData: Qn, checkedKeys: v, checkStrictly: !0, autoExpandParent: Y, style: { paddingLeft: "2px" } })
|
|
182958
183024
|
),
|
|
182959
183025
|
R.createElement(
|
|
182960
|
-
|
|
183026
|
+
Eo,
|
|
182961
183027
|
{ open: H, centered: !0, footer: null, onCancel: () => {
|
|
182962
183028
|
Z && Z(!1);
|
|
182963
183029
|
} },
|
|
@@ -185246,33 +185312,33 @@ var $m = {}, Vwn = {
|
|
|
185246
185312
|
var ce = this.project(this.getCenter()), xe = this.project(w), Ke = this.getSize(), Yt = this._zoom;
|
|
185247
185313
|
w = re(w), k = k === void 0 ? Yt : k;
|
|
185248
185314
|
var Sn = Math.max(Ke.x, Ke.y), Ln = Sn * this.getZoomScale(Yt, k), gr = xe.distanceTo(ce) || 1, ui = 1.42, Wi = ui * ui;
|
|
185249
|
-
function xa(
|
|
185250
|
-
var rd =
|
|
185315
|
+
function xa(Oo) {
|
|
185316
|
+
var rd = Oo ? -1 : 1, pf = Oo ? Ln : Sn, Gs = Ln * Ln - Sn * Sn + rd * Wi * Wi * gr * gr, id = 2 * pf * Wi * gr, Ul = Gs / id, Ps = Math.sqrt(Ul * Ul + 1) - Ul, tc = Ps < 1e-9 ? -18 : Math.log(Ps);
|
|
185251
185317
|
return tc;
|
|
185252
185318
|
}
|
|
185253
|
-
function Hs(
|
|
185254
|
-
return (Math.exp(
|
|
185319
|
+
function Hs(Oo) {
|
|
185320
|
+
return (Math.exp(Oo) - Math.exp(-Oo)) / 2;
|
|
185255
185321
|
}
|
|
185256
|
-
function
|
|
185257
|
-
return (Math.exp(
|
|
185322
|
+
function Ro(Oo) {
|
|
185323
|
+
return (Math.exp(Oo) + Math.exp(-Oo)) / 2;
|
|
185258
185324
|
}
|
|
185259
|
-
function kl(
|
|
185260
|
-
return Hs(
|
|
185325
|
+
function kl(Oo) {
|
|
185326
|
+
return Hs(Oo) / Ro(Oo);
|
|
185261
185327
|
}
|
|
185262
185328
|
var Ka = xa(0);
|
|
185263
|
-
function Hc(
|
|
185264
|
-
return Sn * (
|
|
185329
|
+
function Hc(Oo) {
|
|
185330
|
+
return Sn * (Ro(Ka) / Ro(Ka + ui * Oo));
|
|
185265
185331
|
}
|
|
185266
|
-
function Xl(
|
|
185267
|
-
return Sn * (
|
|
185332
|
+
function Xl(Oo) {
|
|
185333
|
+
return Sn * (Ro(Ka) * kl(Ka + ui * Oo) - Hs(Ka)) / Wi;
|
|
185268
185334
|
}
|
|
185269
|
-
function bd(
|
|
185270
|
-
return 1 - Math.pow(1 -
|
|
185335
|
+
function bd(Oo) {
|
|
185336
|
+
return 1 - Math.pow(1 - Oo, 1.5);
|
|
185271
185337
|
}
|
|
185272
185338
|
var Gd = Date.now(), Gc = (xa(1) - Ka) / ui, vc = q.duration ? 1e3 * q.duration : 1e3 * Gc * 0.8;
|
|
185273
185339
|
function ec() {
|
|
185274
|
-
var
|
|
185275
|
-
|
|
185340
|
+
var Oo = (Date.now() - Gd) / vc, rd = bd(Oo) * Gc;
|
|
185341
|
+
Oo <= 1 ? (this._flyToFrame = D(ec, this), this._move(
|
|
185276
185342
|
this.unproject(ce.add(xe.subtract(ce).multiplyBy(Xl(rd) / gr)), Yt),
|
|
185277
185343
|
this.getScaleZoom(Sn / Hc(rd), Yt),
|
|
185278
185344
|
{ flyTo: !0 }
|
|
@@ -186451,12 +186517,12 @@ var $m = {}, Vwn = {
|
|
|
186451
186517
|
zr(w) || (console.warn("latlngs are not flat! Only the first ring will be used"), w = w[0]);
|
|
186452
186518
|
var Wi = re([0, 0]), xa = Y(w), Hs = xa.getNorthWest().distanceTo(xa.getSouthWest()) * xa.getNorthEast().distanceTo(xa.getNorthWest());
|
|
186453
186519
|
Hs < 1700 && (Wi = pt(w));
|
|
186454
|
-
var
|
|
186455
|
-
for (q = 0; q <
|
|
186520
|
+
var Ro = w.length, kl = [];
|
|
186521
|
+
for (q = 0; q < Ro; q++) {
|
|
186456
186522
|
var Ka = re(w[q]);
|
|
186457
186523
|
kl.push(k.project(re([Ka.lat - Wi.lat, Ka.lng - Wi.lng])));
|
|
186458
186524
|
}
|
|
186459
|
-
for (Sn = Ln = gr = 0, q = 0, ce =
|
|
186525
|
+
for (Sn = Ln = gr = 0, q = 0, ce = Ro - 1; q < Ro; ce = q++)
|
|
186460
186526
|
xe = kl[q], Ke = kl[ce], Yt = xe.y * Ke.x - Ke.y * xe.x, Ln += (xe.x + Ke.x) * Yt, gr += (xe.y + Ke.y) * Yt, Sn += Yt * 3;
|
|
186461
186527
|
Sn === 0 ? ui = kl[0] : ui = [Ln / Sn, gr / Sn];
|
|
186462
186528
|
var Hc = k.unproject(H(ui));
|
|
@@ -186546,18 +186612,18 @@ var $m = {}, Vwn = {
|
|
|
186546
186612
|
zr(w) || (console.warn("latlngs are not flat! Only the first ring will be used"), w = w[0]);
|
|
186547
186613
|
var ui = re([0, 0]), Wi = Y(w), xa = Wi.getNorthWest().distanceTo(Wi.getSouthWest()) * Wi.getNorthEast().distanceTo(Wi.getNorthWest());
|
|
186548
186614
|
xa < 1700 && (ui = pt(w));
|
|
186549
|
-
var Hs = w.length,
|
|
186615
|
+
var Hs = w.length, Ro = [];
|
|
186550
186616
|
for (q = 0; q < Hs; q++) {
|
|
186551
186617
|
var kl = re(w[q]);
|
|
186552
|
-
|
|
186618
|
+
Ro.push(k.project(re([kl.lat - ui.lat, kl.lng - ui.lng])));
|
|
186553
186619
|
}
|
|
186554
186620
|
for (q = 0, ce = 0; q < Hs - 1; q++)
|
|
186555
|
-
ce +=
|
|
186621
|
+
ce += Ro[q].distanceTo(Ro[q + 1]) / 2;
|
|
186556
186622
|
if (ce === 0)
|
|
186557
|
-
gr =
|
|
186623
|
+
gr = Ro[0];
|
|
186558
186624
|
else
|
|
186559
186625
|
for (q = 0, Ke = 0; q < Hs - 1; q++)
|
|
186560
|
-
if (Yt =
|
|
186626
|
+
if (Yt = Ro[q], Sn = Ro[q + 1], xe = Yt.distanceTo(Sn), Ke += xe, Ke > ce) {
|
|
186561
186627
|
Ln = (Ke - ce) / xe, gr = [
|
|
186562
186628
|
Sn.x - Ln * (Sn.x - Yt.x),
|
|
186563
186629
|
Sn.y - Ln * (Sn.y - Yt.y)
|
|
@@ -186616,7 +186682,7 @@ var $m = {}, Vwn = {
|
|
|
186616
186682
|
code: "EPSG:4326",
|
|
186617
186683
|
projection: ji,
|
|
186618
186684
|
transformation: ie(1 / 180, 1, -1 / 180, 0.5)
|
|
186619
|
-
}),
|
|
186685
|
+
}), Io = i({}, ne, {
|
|
186620
186686
|
projection: ji,
|
|
186621
186687
|
transformation: ie(1, 0, -1, 0),
|
|
186622
186688
|
scale: function(w) {
|
|
@@ -186631,7 +186697,7 @@ var $m = {}, Vwn = {
|
|
|
186631
186697
|
},
|
|
186632
186698
|
infinite: !0
|
|
186633
186699
|
});
|
|
186634
|
-
ne.Earth = oe, ne.EPSG3395 = Gl, ne.EPSG3857 = Ce, ne.EPSG900913 = ae, ne.EPSG4326 = mo, ne.Simple =
|
|
186700
|
+
ne.Earth = oe, ne.EPSG3395 = Gl, ne.EPSG3857 = Ce, ne.EPSG900913 = ae, ne.EPSG4326 = mo, ne.Simple = Io;
|
|
186635
186701
|
var fo = G.extend({
|
|
186636
186702
|
// Classes extending `L.Layer` will inherit the following options:
|
|
186637
186703
|
options: {
|
|
@@ -187038,7 +187104,7 @@ var $m = {}, Vwn = {
|
|
|
187038
187104
|
_onDragEnd: function(w) {
|
|
187039
187105
|
U(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", w);
|
|
187040
187106
|
}
|
|
187041
|
-
}),
|
|
187107
|
+
}), Ao = fo.extend({
|
|
187042
187108
|
// @section
|
|
187043
187109
|
// @aka Marker options
|
|
187044
187110
|
options: {
|
|
@@ -187224,7 +187290,7 @@ var $m = {}, Vwn = {
|
|
|
187224
187290
|
}
|
|
187225
187291
|
});
|
|
187226
187292
|
function es(w, k) {
|
|
187227
|
-
return new
|
|
187293
|
+
return new Ao(w, k);
|
|
187228
187294
|
}
|
|
187229
187295
|
var Xo = fo.extend({
|
|
187230
187296
|
// @section
|
|
@@ -187724,7 +187790,7 @@ var $m = {}, Vwn = {
|
|
|
187724
187790
|
}
|
|
187725
187791
|
}
|
|
187726
187792
|
function hc(w, k, q, ce) {
|
|
187727
|
-
return w ? w(k, q) : new
|
|
187793
|
+
return w ? w(k, q) : new Ao(q, ce && ce.markersInheritOptions && ce);
|
|
187728
187794
|
}
|
|
187729
187795
|
function Bc(w) {
|
|
187730
187796
|
return new Q(w[1], w[0], w[2]);
|
|
@@ -187760,7 +187826,7 @@ var $m = {}, Vwn = {
|
|
|
187760
187826
|
});
|
|
187761
187827
|
}
|
|
187762
187828
|
};
|
|
187763
|
-
|
|
187829
|
+
Ao.include(uu), al.include(uu), Zo.include(uu), hs.include({
|
|
187764
187830
|
toGeoJSON: function(w) {
|
|
187765
187831
|
var k = !zr(this._latlngs), q = Sl(this._latlngs, k ? 1 : 0, !1, w);
|
|
187766
187832
|
return xl(this, {
|
|
@@ -188858,8 +188924,8 @@ var $m = {}, Vwn = {
|
|
|
188858
188924
|
for (var xa = xe.min.x; xa <= xe.max.x; xa++) {
|
|
188859
188925
|
var Hs = new W(xa, Wi);
|
|
188860
188926
|
if (Hs.z = this._tileZoom, !!this._isValidTile(Hs)) {
|
|
188861
|
-
var
|
|
188862
|
-
|
|
188927
|
+
var Ro = this._tiles[this._tileCoordsToKey(Hs)];
|
|
188928
|
+
Ro ? Ro.current = !0 : Yt.push(Hs);
|
|
188863
188929
|
}
|
|
188864
188930
|
}
|
|
188865
188931
|
if (Yt.sort(function(Ka, Hc) {
|
|
@@ -189976,7 +190042,7 @@ var $m = {}, Vwn = {
|
|
|
189976
190042
|
this._zooming = !1, U(this._animRequest), Cr(document, "touchmove", this._onTouchMove, this), Cr(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
189977
190043
|
}
|
|
189978
190044
|
});
|
|
189979
|
-
xr.addInitHook("addHandler", "touchZoom", Lu), xr.BoxZoom = mc, xr.DoubleClickZoom = Ou, xr.Drag = nu, xr.Keyboard = Hd, xr.ScrollWheelZoom = vd, xr.TapHold = zc, xr.TouchZoom = Lu, n.Bounds = X, n.Browser = Cn, n.CRS = ne, n.Canvas = zd, n.Circle = al, n.CircleMarker = Zo, n.Class = B, n.Control = kt, n.DivIcon = Nl, n.DivOverlay = Js, n.DomEvent = cr, n.DomUtil = Ts, n.Draggable = ot, n.Evented = G, n.FeatureGroup = El, n.GeoJSON = zs, n.GridLayer = Ac, n.Handler = we, n.Icon = cs, n.ImageOverlay = du, n.LatLng = Q, n.LatLngBounds = K, n.Layer = fo, n.LayerGroup = qs, n.LineUtil = za, n.Map = xr, n.Marker =
|
|
190045
|
+
xr.addInitHook("addHandler", "touchZoom", Lu), xr.BoxZoom = mc, xr.DoubleClickZoom = Ou, xr.Drag = nu, xr.Keyboard = Hd, xr.ScrollWheelZoom = vd, xr.TapHold = zc, xr.TouchZoom = Lu, n.Bounds = X, n.Browser = Cn, n.CRS = ne, n.Canvas = zd, n.Circle = al, n.CircleMarker = Zo, n.Class = B, n.Control = kt, n.DivIcon = Nl, n.DivOverlay = Js, n.DomEvent = cr, n.DomUtil = Ts, n.Draggable = ot, n.Evented = G, n.FeatureGroup = El, n.GeoJSON = zs, n.GridLayer = Ac, n.Handler = we, n.Icon = cs, n.ImageOverlay = du, n.LatLng = Q, n.LatLngBounds = K, n.Layer = fo, n.LayerGroup = qs, n.LineUtil = za, n.Map = xr, n.Marker = Ao, n.Mixin = je, n.Path = Xo, n.Point = W, n.PolyUtil = Rt, n.Polygon = Ks, n.Polyline = hs, n.Popup = Qu, n.PosAnimation = mn, n.Projection = Is, n.Rectangle = tu, n.Renderer = Qs, n.SVG = Qi, n.SVGOverlay = Ju, n.TileLayer = Vc, n.Tooltip = gd, n.Transformation = pe, n.Util = z, n.VideoOverlay = Ku, n.bind = o, n.bounds = ee, n.canvas = td, n.circle = Cs, n.circleMarker = no, n.control = qt, n.divIcon = gs, n.extend = i, n.featureGroup = _r, n.geoJSON = gc, n.geoJson = Bd, n.gridLayer = ed, n.icon = jl, n.imageOverlay = $d, n.latLng = re, n.latLngBounds = Y, n.layerGroup = Ys, n.map = wt, n.marker = es, n.point = H, n.polygon = Yu, n.polyline = qo, n.popup = Ll, n.rectangle = Wl, n.setOptions = y, n.stamp = l, n.svg = Dl, n.svgOverlay = Jc, n.tileLayer = md, n.tooltip = Ss, n.transformation = ie, n.version = r, n.videoOverlay = Ol;
|
|
189980
190046
|
var yd = window.L;
|
|
189981
190047
|
n.noConflict = function() {
|
|
189982
190048
|
return window.L = yd, this;
|
|
@@ -191583,7 +191649,7 @@ class dIe extends QC {
|
|
|
191583
191649
|
};
|
|
191584
191650
|
}();
|
|
191585
191651
|
this.rotateCamera = function() {
|
|
191586
|
-
const ne = new Te(), oe = new
|
|
191652
|
+
const ne = new Te(), oe = new wo(), de = new Te(), ue = new Te(), pe = new Te(), ie = new Te();
|
|
191587
191653
|
return function() {
|
|
191588
191654
|
ie.set(y.x - g.x, y.y - g.y, 0);
|
|
191589
191655
|
let ae = ie.length();
|
|
@@ -194160,7 +194226,16 @@ const a4n = {
|
|
|
194160
194226
|
"5000.7048": "Arbitrary",
|
|
194161
194227
|
"5000.7049": "Default mode is manual; You can switch to Auto mode to perform intelligent planning",
|
|
194162
194228
|
"5000.7050": "Please down-sample the slice image to ~10μm/pixel before uploading",
|
|
194163
|
-
"5000.70251": "Analysis
|
|
194229
|
+
"5000.70251": "Clustering Analysis",
|
|
194230
|
+
"5000.7052": "Neuron morphology-based clustering and evaluation",
|
|
194231
|
+
"5000.7054": "Num of Clusters",
|
|
194232
|
+
"5000.7055": "Silhouette Coefficient",
|
|
194233
|
+
"5000.7056": "Line chart:Based on the distribution of projection targets, the selected single neurons were clustered with varied clustering numbers, and the clustering results were evaluated using the Silhouette Coefficient. In general, a larger silhouette coefficient indicates a better clustering performance. You can left-click to select a clustering number that satisfied.",
|
|
194234
|
+
"5000.7057": "t-SNE",
|
|
194235
|
+
"5000.7058": "t-SNE 2",
|
|
194236
|
+
"5000.7059": "Reduction and visualization of clustered neurons",
|
|
194237
|
+
"5000.7060": "Dot chart:In this figure, neurons are plotted as scattered points using the t-SNE algorithm on a distribution map composed of two principal components, with each color representing one cluster. Clicking any point on the distribution map will re-render the corresponding neuron in the main window with the color of its cluster. Clicking the color block above the distribution map that represents a given cluster will re-render all neurons belonging to that cluster in the main window with the same color.",
|
|
194238
|
+
"5000.7061": "Introduction"
|
|
194164
194239
|
}, o4n = {
|
|
194165
194240
|
"2002.0301": "提供基于多人在线协作模式,神经元重建",
|
|
194166
194241
|
"5000.0112": "取消",
|
|
@@ -194548,7 +194623,17 @@ const a4n = {
|
|
|
194548
194623
|
"5000.7048": "任意角度",
|
|
194549
194624
|
"5000.7049": "默认模式为手动;您也可以切换到自动模式,执行【自动规划】",
|
|
194550
194625
|
"5000.7050": "请将图像采样到10微米/像素后再上传",
|
|
194551
|
-
"5000.70251": "
|
|
194626
|
+
"5000.70251": "聚类分析",
|
|
194627
|
+
"5000.7052": "基于神经元形态的聚类及评估",
|
|
194628
|
+
"5000.7053": "请输入至少3个神经元进行聚类",
|
|
194629
|
+
"5000.7054": "聚类数",
|
|
194630
|
+
"5000.7055": "轮廓系数",
|
|
194631
|
+
"5000.7056": "折线图:本图根据投射靶区分布情况,对所选单神经元进行了不同数量的聚类,并对聚类结果使用轮廓系数进行了评估。通常来说,轮廓系数越大,表示聚类效果越好。您可以点击鼠标左键,选中一个您满意的聚类数。",
|
|
194632
|
+
"5000.7057": "t-SNE",
|
|
194633
|
+
"5000.7058": "t-SNE 2",
|
|
194634
|
+
"5000.7059": "聚类神经元的降维与可视化",
|
|
194635
|
+
"5000.7060": "点状图:本图根据t-SNE算法,将神经元以散点形式绘制在了由2个主成分所构成的分布图上,每种颜色代表1个类别。点击分布图中的任意一个点,该点所对应的神经元将在主窗口中被重新渲染为所属类别的颜色。点击分布图上方代表任意一个类别的色块,所有属于该类别的神经元都将在主窗口中被重新渲染为该类别的颜色。",
|
|
194636
|
+
"5000.7061": "使用说明"
|
|
194552
194637
|
}, s4n = "en_us", l4n = {
|
|
194553
194638
|
zh_cn: "zh",
|
|
194554
194639
|
en_us: "en"
|
|
@@ -194576,7 +194661,7 @@ let NIe = Xm.get("terminalVisibility"), MIe = Xm.get("branchingVisibility"), PIe
|
|
|
194576
194661
|
const x5n = (t) => {
|
|
194577
194662
|
const { atlasTopography: e, cerebralVessels: n, datumMarks: r, atlasColormap: i, atlasOntology: a, resourceTab: o, toolTab: s, ScaleNum: l, lang: u, home: d, ServerUrl: f } = t, { t: p } = $Tn(), h = Je({}), g = Je(null), y = Je(new dIe(qi.current, eg.domElement)), [v, m] = mt(1), b = Je(1), [E, C] = mt(AIe ? JSON.parse(AIe) : !0), S = Je(null), x = Je(null), I = Je([]), P = Je(null), A = Je(null), N = Je(!1), D = Je(!1), [U, z] = mt(!0), [B, j] = mt([]), V = Je(2), [G, W] = mt(""), Z = Je([]), H = Je([]), X = Je(new ma()), [ee, K] = mt("nucleusColour"), Y = Je(1), Q = Je(null), [re, ne] = mt(!0), oe = Je(), de = Je(), ue = Je(), pe = Je(), [ie, Ce] = mt(RIe ? JSON.parse(RIe) : []), [ae, ve] = mt(OIe ? JSON.parse(OIe) : []), [fe, Ae] = mt(LIe ? JSON.parse(LIe) : []), Be = Je((Yn) => new Te()), [Ye, De] = mt(!1), _e = Je(new Te()), [Xe, me] = mt(new Te()), [he, Fe] = mt(UIe ? parseInt(UIe) : 1), Ne = Je(!1), [Pe, it] = mt(!1), qe = Je(""), [We, ut] = mt(3), Ct = Je(null), It = Je([]), [lt, ht] = mt(""), Ge = Je(() => {
|
|
194578
194663
|
}), [rt, bt] = mt(1), Le = Je(1), [gt, nn] = mt({}), [Zt, Lt] = mt(""), Qt = Je({}), [on, xn] = mt(""), [Bn, $n] = mt(""), [er, Nr] = mt({}), [jr, rr] = mt(kIe || ""), [Wt, Jn] = mt(!1), [Cn, Er] = mt(0), [Sr, yt] = mt({}), Ht = Je({}), [En, Ue] = mt(DIe ? JSON.parse(DIe) : !0), [_t, Dt] = mt([]), [Bt, Nt] = mt([]), [Kt, Gt] = mt([]), [an, Pn] = mt(!1), [tn, Xt] = mt({});
|
|
194579
|
-
localStorage.setItem("lang", u || "en"), na.current = l, Do.current = -5.7, so.current = -6,
|
|
194664
|
+
localStorage.setItem("lang", u || "en"), na.current = l, Do.current = -5.7, so.current = -6, Co.current = -7.0055;
|
|
194580
194665
|
const [ln, Un] = mt([]), Vn = Je({
|
|
194581
194666
|
start: MIe ? JSON.parse(MIe) : !0,
|
|
194582
194667
|
end: NIe ? JSON.parse(NIe) : !0,
|
|
@@ -194838,7 +194923,7 @@ const x5n = (t) => {
|
|
|
194838
194923
|
specular: 0,
|
|
194839
194924
|
shininess: 0
|
|
194840
194925
|
}), A = new ur(I, P), N = b < 6 ? 0.2 : b < 9 ? 0.3 : 0.5;
|
|
194841
|
-
A.scale.set(N, N, N), A.position.set(C[0] * 0.01, C[1] * 0.01, C[2] * 0.01), A.name = "functionSwcText", A.userData.name = E.replace("_111", ""), A.userData.fathername = y, A.translateY(so.current), A.translateZ(
|
|
194926
|
+
A.scale.set(N, N, N), A.position.set(C[0] * 0.01, C[1] * 0.01, C[2] * 0.01), A.name = "functionSwcText", A.userData.name = E.replace("_111", ""), A.userData.fathername = y, A.translateY(so.current), A.translateZ(Co.current), A.translateX(Do.current), I.center();
|
|
194842
194927
|
const D = be.current.getObjectByName("functionLoopGroup");
|
|
194843
194928
|
D && D.add(A);
|
|
194844
194929
|
});
|
|
@@ -194847,7 +194932,7 @@ const x5n = (t) => {
|
|
|
194847
194932
|
}, f = (g, y, v, m, b) => {
|
|
194848
194933
|
const E = document.getElementById("spinner");
|
|
194849
194934
|
E && (E.style.display = "block"), fetch(g).then((C) => C.json()).then((C) => {
|
|
194850
|
-
let S = so.current, x = Do.current, I =
|
|
194935
|
+
let S = so.current, x = Do.current, I = Co.current, P = new ou();
|
|
194851
194936
|
const A = new ou();
|
|
194852
194937
|
let N = [], D = [];
|
|
194853
194938
|
const U = {};
|
|
@@ -196355,13 +196440,13 @@ c.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
196355
196440
|
10
|
|
196356
196441
|
), mo = Math.round(
|
|
196357
196442
|
parseFloat(c.Utils.getResource("DEFAULT_PANSTEPDISTANCE")) * c.panSpeed
|
|
196358
|
-
),
|
|
196443
|
+
), Io = 0, fo = 0, qs = null, Ys = null, El = parseInt(
|
|
196359
196444
|
c.Utils.getResource("DEFAULT_ANIMATIONOPTIMALMOTIONIMAGES"),
|
|
196360
196445
|
10
|
|
196361
196446
|
), _r = parseInt(
|
|
196362
196447
|
c.Utils.getResource("DEFAULT_ANIMATIONOPTIMALPOSITIONDELTA"),
|
|
196363
196448
|
10
|
|
196364
|
-
), cs = null, jl = null, Us = null, ps = null,
|
|
196449
|
+
), cs = null, jl = null, Us = null, ps = null, Ao = 0, es = 0, Xo = 0, Zo = 0, no = null, al = null, Cs = null, hs = parseFloat(c.Utils.getResource("DEFAULT_ZOOMSTEPDISTANCE")) * c.zoomSpeed;
|
|
196365
196450
|
c.mobileDevice && (hs /= 2);
|
|
196366
196451
|
var qo = 0, Ks = null, Yu = 0, zs = parseInt(
|
|
196367
196452
|
c.Utils.getResource("DEFAULT_ZAPSTEPDURATION"),
|
|
@@ -196394,11 +196479,11 @@ c.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
196394
196479
|
if (c.imageFilters)
|
|
196395
196480
|
var td = null, Ml = null, eu = null, Pl = !1, Qi = [], Dl = [], tu, Wl, mc, Ou = 0, nu = 0, Hd = 0, vd = 0, nd = 0, zc = 0, Lu = 0, yd = 0, w = 0, k = 0, q = 0, ce = 0, xe = 0, Ke = 0, Yt = 0, Sn = 0, Ln = 0, gr = 0, ui = 0, Wi = 0, xa = 0, Hs = 0;
|
|
196396
196481
|
if (c.watermarks)
|
|
196397
|
-
var
|
|
196482
|
+
var Ro, kl, Ka = [], Hc = [];
|
|
196398
196483
|
if (c.imageList)
|
|
196399
196484
|
var Xl, bd, Gd, Gc, vc = [];
|
|
196400
196485
|
if (c.tour)
|
|
196401
|
-
var ec,
|
|
196486
|
+
var ec, Oo, rd, pf;
|
|
196402
196487
|
if (c.imagePath !== null && (c.imagePath.indexOf("zComparisonPath") != -1 ? (c.imageSetPath = c.imagePath.substring(16, c.imagePath.length), c.imageSet = !0, c.comparison = !0) : c.imagePath.indexOf("zSlidePath") != -1 ? (c.slidePath = c.imagePath.substring(11, c.imagePath.length), c.slideshow = !0) : c.imagePath.indexOf("zAnimationPath") != -1 ? (c.imageSetPath = c.imagePath.substring(15, c.imagePath.length), c.imageSet = !0, c.animation = !0) : c.imagePath.indexOf("zSlidestackPath") != -1 && (c.imageSetPath = c.imagePath.substring(16, c.imagePath.length), c.imageSet = !0, c.slidestack = !0)), c.slideshow) {
|
|
196403
196488
|
var Gs = [], id = [], Ul, Ps, tc, Ep, Ed, Zm, N1, M1 = parseFloat(c.Utils.getResource("DEFAULT_SLIDETRANSITIONSTEP")) * c.slideTransitionSpeed;
|
|
196404
196489
|
c.slideTransitionTimeout = null, c.slideOpacity = 0;
|
|
@@ -196468,7 +196553,7 @@ c.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
196468
196553
|
c.Utils.getResource("DEFAULT_LABELICONHEIGHT")
|
|
196469
196554
|
);
|
|
196470
196555
|
if (c.mobileDevice && (Ja /= 2), c.tracking)
|
|
196471
|
-
var
|
|
196556
|
+
var Lo, Ec, ol = [], _l = [], Xi = [], Rc = [], Fs;
|
|
196472
196557
|
}
|
|
196473
196558
|
}
|
|
196474
196559
|
if (c.imagePath !== null && c.imagePath != "null") {
|
|
@@ -198766,13 +198851,13 @@ c.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
198766
198851
|
Or.x,
|
|
198767
198852
|
gi.x,
|
|
198768
198853
|
_a.x
|
|
198769
|
-
),
|
|
198854
|
+
), So = Math.max(
|
|
198770
198855
|
ki.y,
|
|
198771
198856
|
Or.y,
|
|
198772
198857
|
gi.y,
|
|
198773
198858
|
_a.y
|
|
198774
|
-
), Ha = da - ta, ts =
|
|
198775
|
-
if (ao || !c.constrainPanStrict ? c.constrainPanLimit == 3 ? T = ta > 0 ? T - ta : da < tt ? T - (da - tt) : T : c.constrainPanLimit == 2 ? T = ta > rn ? T - (ta - rn) : da < rn ? T - (da - rn) : T : c.constrainPanLimit == 1 && (T = ta > Tt * 9 ? T - (ta - Tt * 9) : da < Tt ? T - (da - Tt) : T) : T = ta > rn - ze / 2 ? T - (ta - (rn - ze / 2)) : da < rn + ze / 2 ? T - (da - (rn + ze / 2)) : T, Fi || !c.constrainPanStrict ? c.constrainPanLimit == 3 ? M = ua > 0 ? M - ua :
|
|
198859
|
+
), Ha = da - ta, ts = So - ua, ao = Ha > tt, Fi = ts > dt;
|
|
198860
|
+
if (ao || !c.constrainPanStrict ? c.constrainPanLimit == 3 ? T = ta > 0 ? T - ta : da < tt ? T - (da - tt) : T : c.constrainPanLimit == 2 ? T = ta > rn ? T - (ta - rn) : da < rn ? T - (da - rn) : T : c.constrainPanLimit == 1 && (T = ta > Tt * 9 ? T - (ta - Tt * 9) : da < Tt ? T - (da - Tt) : T) : T = ta > rn - ze / 2 ? T - (ta - (rn - ze / 2)) : da < rn + ze / 2 ? T - (da - (rn + ze / 2)) : T, Fi || !c.constrainPanStrict ? c.constrainPanLimit == 3 ? M = ua > 0 ? M - ua : So < dt ? M - (So - dt) : M : c.constrainPanLimit == 2 ? M = ua > yn ? M - (ua - yn) : So < yn ? M - (So - yn) : M : c.constrainPanLimit == 1 && (M = ua > $t * 9 ? M - (ua - $t * 9) : So < $t ? M - (So - $t) : M) : M = ua > yn - Re / 2 ? M - (ua - (yn - Re / 2)) : So < yn + Re / 2 ? M - (So - (yn + Re / 2)) : M, J == "image") {
|
|
198776
198861
|
var ge = m.convertViewportEdgeCoordsToImageCoords(T, M, O, F);
|
|
198777
198862
|
T = ge.x, M = ge.y;
|
|
198778
198863
|
}
|
|
@@ -199002,13 +199087,13 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199002
199087
|
}
|
|
199003
199088
|
}
|
|
199004
199089
|
function qse() {
|
|
199005
|
-
|
|
199090
|
+
Ro = new Image(), kl = parseFloat(c.Utils.getResource("DEFAULT_WATERMARKALPHA")), Ro.url = c.watermarkPath, Ro.onload = Yse, Ro.onerror = $Ze, Ro.src = c.watermarkPath;
|
|
199006
199091
|
}
|
|
199007
199092
|
function Yse() {
|
|
199008
199093
|
if (he)
|
|
199009
199094
|
for (var T = parseFloat(
|
|
199010
199095
|
c.Utils.getResource("DEFAULT_WATERMARKMINSCALE")
|
|
199011
|
-
), M = parseFloat(c.Utils.getResource("DEFAULT_WATERMARKSPANW")), O = parseFloat(c.Utils.getResource("DEFAULT_WATERMARKSPANH")), F = m.getZoom(), J = (c.imageW * F - he.width) / 2, se = (c.imageH * F - he.height) / 2, te = (c.imageW / 2 - c.imageX) * F, ge = (c.imageH / 2 - c.imageY) * F, ye = F < T ? T : F, $e = Math.round(c.imageW / M), ze = Math.round(c.imageH / O), Re = m.getViewportDisplayBoundingBoxInPixels(), tt =
|
|
199096
|
+
), M = parseFloat(c.Utils.getResource("DEFAULT_WATERMARKSPANW")), O = parseFloat(c.Utils.getResource("DEFAULT_WATERMARKSPANH")), F = m.getZoom(), J = (c.imageW * F - he.width) / 2, se = (c.imageH * F - he.height) / 2, te = (c.imageW / 2 - c.imageX) * F, ge = (c.imageH / 2 - c.imageY) * F, ye = F < T ? T : F, $e = Math.round(c.imageW / M), ze = Math.round(c.imageH / O), Re = m.getViewportDisplayBoundingBoxInPixels(), tt = Ro.width * ye, dt = Ro.height * ye, Tt = 0, $t = 0, rn = 1; rn <= $e; rn++)
|
|
199012
199097
|
for (var yn = 1; yn <= ze; yn++) {
|
|
199013
199098
|
var In = Math.round(c.imageW / ($e + 1) * rn), Zn = Math.round(c.imageH / (ze + 1) * yn);
|
|
199014
199099
|
if (In > Re.l && In < Re.r && Zn > Re.t && Zn < Re.b) {
|
|
@@ -199031,7 +199116,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199031
199116
|
FZe(T, M, O, F);
|
|
199032
199117
|
}
|
|
199033
199118
|
function FZe(T, M, O, F) {
|
|
199034
|
-
var J =
|
|
199119
|
+
var J = Ro.cloneNode(!1);
|
|
199035
199120
|
c.Utils.setOpacity(J, kl), J.width = T, J.height = M;
|
|
199036
199121
|
var se = c.Utils.createContainerElement(
|
|
199037
199122
|
"div",
|
|
@@ -199291,8 +199376,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199291
199376
|
fi
|
|
199292
199377
|
), Or = T.media, gi = Or.indexOf("/circle.") != -1 || Or.indexOf("/square.") != -1 || Or.indexOf("/triangle.") != -1 || Or.indexOf("/arrowDownLeft.") != -1 || Or.indexOf("/arrowDownRight.") != -1 || Or.indexOf("/arrowUpLeft.") != -1 || Or.indexOf("/arrowUpRight.") != -1 || Or.indexOf("/arrowUp.") != -1 || Or.indexOf("/arrowDown.") != -1 || Or.indexOf("/arrowLeft.") != -1 || Or.indexOf("/arrowRight.") != -1 || Or.indexOf("/lineHorizontal.") != -1 || Or.indexOf("/lineVertical.") != -1, _a = Or == "counter" || Or == "circle" || Or == "square" || Or == "triangle" || Or == "arrowDown" || Or == "arrowDownLeft" || Or == "arrowLeft" || Or == "arrowUpLeft" || Or == "arrowUp" || Or == "arrowUpRight" || Or == "arrowRight" || Or == "arrowDownRight" || Or == "lineHorizontal" || Or == "lineVertical", ta = Or != "External Graphics File" && (_a || gi && c.labelIconsInternal), ua = Or && Or == "polygon";
|
|
199293
199378
|
if (ta || ua) {
|
|
199294
|
-
var da = te ? c.imageW / 2 : c.imageX,
|
|
199295
|
-
Tt = (T.x - da - T.iW / 2) * Yi, $t = (T.y -
|
|
199379
|
+
var da = te ? c.imageW / 2 : c.imageX, So = te ? c.imageH / 2 : c.imageY;
|
|
199380
|
+
Tt = (T.x - da - T.iW / 2) * Yi, $t = (T.y - So - T.iH / 2) * Yi;
|
|
199296
199381
|
}
|
|
199297
199382
|
ye = ki.x + Tt, $e = ki.y + $t;
|
|
199298
199383
|
var Ha = parseFloat(In.style.padding), ts = In.style.fontSize, ao = parseInt(
|
|
@@ -199525,7 +199610,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199525
199610
|
c.debug == 2 && Ah && c.Utils.trace(c.Utils.getResource("ERROR_HOTSPOTMEDIAINVALID")), m.setStatus("XMLParsedViewport", !0), gf(), c.tour ? (m.initializeAudioMuteButtons(), c.Utils.validateCallback("tourLoaded"), rd && !c.tourStop && c.Utils.functionCallWithDelay(function() {
|
|
199526
199611
|
m.tourStart();
|
|
199527
199612
|
}, 750)) : (c.Utils.validateCallback("hotspotsLoadedViewport"), m.setStatus("hotspotsLoadedViewport", !0));
|
|
199528
|
-
}, this.createHotspotFromParameters = function(T, M, O, F, J, se, te, ge, ye, $e, ze, Re, tt, dt, Tt, $t, rn, yn, In, Zn, wr, qn, xi, Br, Ar, Yi, Qa, fi, ki, Or, gi, _a, ta, ua, da,
|
|
199613
|
+
}, this.createHotspotFromParameters = function(T, M, O, F, J, se, te, ge, ye, $e, ze, Re, tt, dt, Tt, $t, rn, yn, In, Zn, wr, qn, xi, Br, Ar, Yi, Qa, fi, ki, Or, gi, _a, ta, ua, da, So, Ha, ts, ao, Fi, ms, ns, yo, No, xo) {
|
|
199529
199614
|
typeof Or < "u" && Or !== null && Or.toString();
|
|
199530
199615
|
var Fr = c.Utils.arrayToArrayOfStrings([
|
|
199531
199616
|
T,
|
|
@@ -199563,7 +199648,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199563
199648
|
ta,
|
|
199564
199649
|
ua,
|
|
199565
199650
|
da,
|
|
199566
|
-
|
|
199651
|
+
So,
|
|
199567
199652
|
Ha,
|
|
199568
199653
|
ts,
|
|
199569
199654
|
ao,
|
|
@@ -199571,22 +199656,22 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199571
199656
|
ms,
|
|
199572
199657
|
ns,
|
|
199573
199658
|
yo,
|
|
199574
|
-
|
|
199575
|
-
|
|
199659
|
+
No,
|
|
199660
|
+
xo
|
|
199576
199661
|
]), bo = '<HOTSPOT ID="' + Fr[0] + '" NAME="' + Fr[1] + '" MEDIATYPE="' + Fr[2] + '" MEDIA="' + Fr[3] + '" AUDIO="' + Fr[4] + '" X="' + Fr[5] + '" Y="' + Fr[6] + '" ZOOM="' + Fr[7] + '" XSCALE="' + Fr[8] + '" YSCALE="' + Fr[9] + '" RADIUS="' + Fr[10] + '" ZMIN="' + Fr[11] + '" ZMAX="' + Fr[12] + '" CLICKURL="' + Fr[13] + '" URLTARGET="' + Fr[14] + '" ROLLOVER="' + Fr[15] + '" CAPTION="' + Fr[16] + '" TOOLTIP="' + Fr[17] + '" TEXTCOLOR="' + Fr[18] + '" BACKCOLOR="' + Fr[19] + '" LINECOLOR="' + Fr[20] + '" FILLCOLOR="' + Fr[21] + '" TEXTVISIBLE="' + Fr[22] + '" BACKVISIBLE="' + Fr[23] + '" LINEVISIBLE="' + Fr[24] + '" FILLVISIBLE="' + Fr[25] + '" CAPTIONPOSITION="' + Fr[26] + '" SAVED="' + Fr[27] + '" INTERNALID="' + Fr[28] + '" POIID="' + Fr[29] + '" SHOWFOR="' + Fr[34] + '" TRANSITION="' + Fr[35] + '" CHANGEFOR="' + Fr[36] + '" ROTATION="' + Fr[37] + '" EDITABLE="' + Fr[38] + '" POPUP="' + Fr[39] + '" POPOFFSETX="' + Fr[40] + '" POPOFFSETY="' + Fr[41] + '" COMMENT="' + Fr[42] + '" USER="' + Fr[43] + '" DATE="' + Fr[44] + '" ></HOTSPOT>', Dr = c.Utils.xmlConvertTextToDoc(bo), Ma = Dr.getElementsByTagName("HOTSPOT")[0];
|
|
199577
199662
|
Ma.getAttribute("INTERNALID") === null && Ma.setAttribute("INTERNALID", pu("hotspot"));
|
|
199578
199663
|
var ba = c.Utils.xmlConvertTextToDoc("<TEMP></TEMP>");
|
|
199579
199664
|
if (c.Utils.stringValidate(Fr[30])) {
|
|
199580
|
-
var
|
|
199665
|
+
var _o = c.Utils.xmlConvertTextToDoc(gi).getElementsByTagName(
|
|
199581
199666
|
"CAPTION"
|
|
199582
199667
|
)[0].innerHTML, ti = ba.createElement("CAPTION");
|
|
199583
|
-
ti.innerHTML =
|
|
199668
|
+
ti.innerHTML = _o, Ma.appendChild(ti);
|
|
199584
199669
|
}
|
|
199585
199670
|
if (c.Utils.stringValidate(Fr[31])) {
|
|
199586
|
-
var
|
|
199671
|
+
var _o = c.Utils.xmlConvertTextToDoc(_a).getElementsByTagName(
|
|
199587
199672
|
"TOOLTIP"
|
|
199588
199673
|
)[0].innerHTML, rs = ba.createElement("TOOLTIP");
|
|
199589
|
-
rs.innerHTML =
|
|
199674
|
+
rs.innerHTML = _o, Ma.appendChild(rs);
|
|
199590
199675
|
}
|
|
199591
199676
|
if (c.Utils.stringValidate(Fr[33])) {
|
|
199592
199677
|
var Ra = ba.createElement("POLYGON");
|
|
@@ -199927,13 +200012,13 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199927
200012
|
x: (ti - Ra.left) * (qn.width / Ra.width),
|
|
199928
200013
|
y: (rs - Ra.top) * (qn.height / Ra.height)
|
|
199929
200014
|
};
|
|
199930
|
-
},
|
|
200015
|
+
}, _o = function(ti, rs, Ra) {
|
|
199931
200016
|
if (Array.isArray(ti)) {
|
|
199932
200017
|
for (let Os = 0; Os < ti.length; Os++)
|
|
199933
|
-
if (
|
|
200018
|
+
if (_o(ti[Os], rs, Ra))
|
|
199934
200019
|
return !0;
|
|
199935
200020
|
}
|
|
199936
|
-
return typeof ti == "object" && ti !== null ? ti.level === rs && "children" in ti && ti.name === Ra || ti.level <= rs && ti.name === Ra ? !0 :
|
|
200021
|
+
return typeof ti == "object" && ti !== null ? ti.level === rs && "children" in ti && ti.name === Ra || ti.level <= rs && ti.name === Ra ? !0 : _o(ti.children, rs, Ra) : !1;
|
|
199937
200022
|
};
|
|
199938
200023
|
rn = UT(T, M, !0, !1);
|
|
199939
200024
|
var qn = document.getElementById("drawingDisplay"), xi = qn.getContext("2d");
|
|
@@ -199957,7 +200042,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
199957
200042
|
var Yi = 20 - (T.level - 1) * 2;
|
|
199958
200043
|
rn.style.fontSize = Yi + "px", rn.style.zIndex = "1";
|
|
199959
200044
|
var Qa = c.Viewport.getZoom();
|
|
199960
|
-
rn.style.fontSize = "14px", T.caption.slice(0, 1).match(/^.*[a-z]+.*$/), Qa <= 0.1 ?
|
|
200045
|
+
rn.style.fontSize = "14px", T.caption.slice(0, 1).match(/^.*[a-z]+.*$/), Qa <= 0.1 ? _o(Cy, 2, In) ? (rn.style.display = "block", rn.style.fontSize = "14px") : rn.style.display = "none" : Qa >= 0.1 && Qa < 0.3 ? _o(Cy, 3, In) ? (rn.style.display = "block", rn.style.fontSize = "14px") : rn.style.display = "none" : Qa > 0.5 && (rn.style.display = "block", rn.style.fontSize = "14px"), rn.style.fontFamily = "Arial", rn.style.color = "#000", mE != 1 ? rn.style.color = "#000" : (rn.style.color = "#fff", rn.style.textShadow = "#FFFFFF 0px 0px 0px,#000000 0px 0px 2px"), rn.style.letterSpacing = "2px";
|
|
199961
200046
|
}
|
|
199962
200047
|
}
|
|
199963
200048
|
var fi = c.Utils.createContainerElement(
|
|
@@ -200053,13 +200138,13 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
200053
200138
|
"visible"
|
|
200054
200139
|
);
|
|
200055
200140
|
da.appendChild(ua), fi.appendChild(da);
|
|
200056
|
-
var
|
|
200141
|
+
var So = -(ua.width / 2) + ze / 2, Ha = -(ua.height / 2) + Re / 2, ts = T.popupOffsetX != 0 ? T.popupOffsetX + So : So, ao = T.popupOffsetY != 0 ? T.popupOffsetY + Ha : Ha;
|
|
200057
200142
|
ts != 0 && ao != 0 && (da.style.left = ts + "px", da.style.top = ao + "px");
|
|
200058
200143
|
}
|
|
200059
200144
|
if (gi.appendChild(fi), Pe.appendChild(gi), yn && xn.appendChild(yn), rn && xn.appendChild(rn), gi.zIndex = T.zIndex, !ge && (c.captionBoxes || T.mediaType == "measure")) {
|
|
200060
200145
|
var Fi = c.Utils.stringValidate(T.backColor) ? T.backColor : TT, ms = Fi.toString();
|
|
200061
200146
|
if (ms) {
|
|
200062
|
-
var ns = c.Utils.hexToRGB(ms).r, yo = c.Utils.hexToRGB(ms).g,
|
|
200147
|
+
var ns = c.Utils.hexToRGB(ms).r, yo = c.Utils.hexToRGB(ms).g, No = c.Utils.hexToRGB(ms).b, xo = gs, Fr = "rgba(" + ns + "," + yo + "," + No + "," + xo + ")";
|
|
200063
200148
|
rn.style.backgroundColor = Fr;
|
|
200064
200149
|
}
|
|
200065
200150
|
}
|
|
@@ -200973,7 +201058,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
200973
201058
|
editable: J
|
|
200974
201059
|
};
|
|
200975
201060
|
}
|
|
200976
|
-
this.createLabelFromParameters = function(T, M, O, F, J, se, te, ge, ye, $e, ze, Re, tt, dt, Tt, $t, rn, yn, In, Zn, wr, qn, xi, Br, Ar, Yi, Qa, fi, ki, Or, gi, _a, ta, ua, da,
|
|
201061
|
+
this.createLabelFromParameters = function(T, M, O, F, J, se, te, ge, ye, $e, ze, Re, tt, dt, Tt, $t, rn, yn, In, Zn, wr, qn, xi, Br, Ar, Yi, Qa, fi, ki, Or, gi, _a, ta, ua, da, So, Ha, ts, ao, Fi, ms, ns, yo, No, xo, Fr, bo) {
|
|
200977
201062
|
var Dr = c.Utils.arrayToArrayOfStrings([
|
|
200978
201063
|
T,
|
|
200979
201064
|
M,
|
|
@@ -201010,7 +201095,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
201010
201095
|
ta,
|
|
201011
201096
|
ua,
|
|
201012
201097
|
da,
|
|
201013
|
-
|
|
201098
|
+
So,
|
|
201014
201099
|
Ha,
|
|
201015
201100
|
ts,
|
|
201016
201101
|
ao,
|
|
@@ -201018,29 +201103,29 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
201018
201103
|
ms,
|
|
201019
201104
|
ns,
|
|
201020
201105
|
yo,
|
|
201021
|
-
|
|
201022
|
-
|
|
201106
|
+
No,
|
|
201107
|
+
xo,
|
|
201023
201108
|
Fr,
|
|
201024
201109
|
bo
|
|
201025
|
-
]), Ma = '<LABEL ID="' + Dr[0] + '" NAME="' + Dr[1] + '" MEDIATYPE="' + Dr[2] + '" MEDIA="' + Dr[3] + '" AUDIO="' + Dr[4] + '" X="' + Dr[5] + '" Y="' + Dr[6] + '" ZOOM="' + Dr[7] + '" XSCALE="' + Dr[8] + '" YSCALE="' + Dr[9] + '" RADIUS="' + Dr[10] + '" ZMIN="' + Dr[11] + '" ZMAX="' + Dr[12] + '" CLICKURL="' + Dr[13] + '" URLTARGET="' + Dr[14] + '" ROLLOVER="' + Dr[15] + '" CAPTION="' + Dr[16] + '" COMMENT="' + Dr[17] + '" TOOLTIP="' + Dr[18] + '" TEXTCOLOR="' + Dr[19] + '" BACKCOLOR="' + Dr[20] + '" LINECOLOR="' + Dr[21] + '" FILLCOLOR="' + Dr[22] + '" TEXTVISIBLE="' + Dr[23] + '" BACKVISIBLE="' + Dr[24] + '" LINEVISIBLE="' + Dr[25] + '" FILLVISIBLE="' + Dr[26] + '" CAPTIONPOSITION="' + Dr[27] + '" SAVED="' + Dr[28] + '" INTERNALID="' + Dr[29] + '" POIID="' + Dr[30] + '" POLYGONCLOSED="' + Dr[33] + '" SHOWFOR="' + Dr[35] + '" TRANSITION="' + Dr[36] + '" CHANGEFOR="' + Dr[37] + '" ROTATION="' + Dr[38] + '" CATEGORY="' + Dr[39] + '" EDITABLE="' + Dr[40] + '" POPUP="' + Dr[41] + '" POPOFFSETX="' + Dr[42] + '" POPOFFSETY="' + Dr[43] + '" USER="' + Dr[44] + '" INITIALS="' + Dr[45] + '" DATE="' + Dr[46] + '" ></LABEL>', ba = c.Utils.xmlConvertTextToDoc(Ma),
|
|
201026
|
-
c.Utils.stringValidate(
|
|
201110
|
+
]), Ma = '<LABEL ID="' + Dr[0] + '" NAME="' + Dr[1] + '" MEDIATYPE="' + Dr[2] + '" MEDIA="' + Dr[3] + '" AUDIO="' + Dr[4] + '" X="' + Dr[5] + '" Y="' + Dr[6] + '" ZOOM="' + Dr[7] + '" XSCALE="' + Dr[8] + '" YSCALE="' + Dr[9] + '" RADIUS="' + Dr[10] + '" ZMIN="' + Dr[11] + '" ZMAX="' + Dr[12] + '" CLICKURL="' + Dr[13] + '" URLTARGET="' + Dr[14] + '" ROLLOVER="' + Dr[15] + '" CAPTION="' + Dr[16] + '" COMMENT="' + Dr[17] + '" TOOLTIP="' + Dr[18] + '" TEXTCOLOR="' + Dr[19] + '" BACKCOLOR="' + Dr[20] + '" LINECOLOR="' + Dr[21] + '" FILLCOLOR="' + Dr[22] + '" TEXTVISIBLE="' + Dr[23] + '" BACKVISIBLE="' + Dr[24] + '" LINEVISIBLE="' + Dr[25] + '" FILLVISIBLE="' + Dr[26] + '" CAPTIONPOSITION="' + Dr[27] + '" SAVED="' + Dr[28] + '" INTERNALID="' + Dr[29] + '" POIID="' + Dr[30] + '" POLYGONCLOSED="' + Dr[33] + '" SHOWFOR="' + Dr[35] + '" TRANSITION="' + Dr[36] + '" CHANGEFOR="' + Dr[37] + '" ROTATION="' + Dr[38] + '" CATEGORY="' + Dr[39] + '" EDITABLE="' + Dr[40] + '" POPUP="' + Dr[41] + '" POPOFFSETX="' + Dr[42] + '" POPOFFSETY="' + Dr[43] + '" USER="' + Dr[44] + '" INITIALS="' + Dr[45] + '" DATE="' + Dr[46] + '" ></LABEL>', ba = c.Utils.xmlConvertTextToDoc(Ma), _o = ba.getElementsByTagName("LABEL")[0];
|
|
201111
|
+
c.Utils.stringValidate(_o.getAttribute("INTERNALID")) || _o.setAttribute("INTERNALID", pu("label"));
|
|
201027
201112
|
var ti = _a;
|
|
201028
201113
|
if (c.Utils.stringValidate(ti)) {
|
|
201029
201114
|
var rs = c.Utils.xmlConvertTextToDoc(ti).getElementsByTagName("CAPTION")[0].innerHTML, Ra = ba.createElement("CAPTION");
|
|
201030
|
-
Ra.innerHTML = rs,
|
|
201115
|
+
Ra.innerHTML = rs, _o.appendChild(Ra);
|
|
201031
201116
|
}
|
|
201032
201117
|
if (ti = ta, c.Utils.stringValidate(ti)) {
|
|
201033
201118
|
var rs = c.Utils.xmlConvertTextToDoc(ti).getElementsByTagName("TOOLTIP")[0].innerHTML, Os = ba.createElement("TOOLTIP");
|
|
201034
|
-
Os.innerHTML = rs,
|
|
201119
|
+
Os.innerHTML = rs, _o.appendChild(Os);
|
|
201035
201120
|
}
|
|
201036
201121
|
if (da != null) {
|
|
201037
201122
|
for (var Zl = ba.createElement("POLYGON"), vs = 0, hu = da.length; vs < hu; vs++) {
|
|
201038
201123
|
var is = ba.createElement("POINT");
|
|
201039
201124
|
is.setAttribute("X", da[vs].x), is.setAttribute("Y", da[vs].y), Zl.appendChild(is);
|
|
201040
201125
|
}
|
|
201041
|
-
|
|
201126
|
+
_o.appendChild(Zl);
|
|
201042
201127
|
}
|
|
201043
|
-
m.createLabelFromXML(
|
|
201128
|
+
m.createLabelFromXML(_o, !0);
|
|
201044
201129
|
}, this.createLabelFromJSON = function(T, M) {
|
|
201045
201130
|
var O = c.Utils.jsonConvertObjectToXMLText(T), F = c.Utils.xmlConvertTextToDoc(O), J = F.getElementsByTagName("LABEL")[0];
|
|
201046
201131
|
m.createLabelFromXML(J, !0);
|
|
@@ -202007,7 +202092,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202007
202092
|
"blur",
|
|
202008
202093
|
$1
|
|
202009
202094
|
), qa.appendChild(ta), qa.appendChild(Hg), c.editMode != "markup") {
|
|
202010
|
-
var
|
|
202095
|
+
var So = c.Utils.createContainerElement(
|
|
202011
202096
|
"div",
|
|
202012
202097
|
"labelTooltipTextBox" + M,
|
|
202013
202098
|
"inline-block",
|
|
@@ -202028,7 +202113,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202028
202113
|
), Ha = document.createTextNode(
|
|
202029
202114
|
c.Utils.getResource("UI_ANNOTATIONPANELLABELTOOLTIP")
|
|
202030
202115
|
);
|
|
202031
|
-
|
|
202116
|
+
So.appendChild(Ha);
|
|
202032
202117
|
var ts = c.Utils.getResource("CONTENT_LABELTOOLTIP"), ao = c.Utils.createTextElement(
|
|
202033
202118
|
"tooltipTextElement" + M,
|
|
202034
202119
|
ts,
|
|
@@ -202057,7 +202142,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202057
202142
|
ao.firstChild,
|
|
202058
202143
|
"blur",
|
|
202059
202144
|
$1
|
|
202060
|
-
), qa.appendChild(
|
|
202145
|
+
), qa.appendChild(So), qa.appendChild(ao);
|
|
202061
202146
|
var Fi = c.Utils.createContainerElement(
|
|
202062
202147
|
"div",
|
|
202063
202148
|
"labelClickURLTextBox" + M,
|
|
@@ -202111,14 +202196,14 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202111
202196
|
"blur",
|
|
202112
202197
|
$1
|
|
202113
202198
|
), qa.appendChild(Fi), qa.appendChild(yo);
|
|
202114
|
-
for (var
|
|
202199
|
+
for (var No = c.Utils.getResource(
|
|
202115
202200
|
"UI_ANNOTATIONLABELCAPTIONPOSITIONCHOICELISTTEXT"
|
|
202116
|
-
).split(","),
|
|
202201
|
+
).split(","), xo = c.Utils.getResource(
|
|
202117
202202
|
"UI_ANNOTATIONLABELCAPTIONPOSITIONCHOICELISTVALUES"
|
|
202118
|
-
).split(","), Fr = 0, bo =
|
|
202203
|
+
).split(","), Fr = 0, bo = No.length; Fr < bo; Fr++)
|
|
202119
202204
|
P2[P2.length] = {
|
|
202120
|
-
text:
|
|
202121
|
-
value:
|
|
202205
|
+
text: No[Fr],
|
|
202206
|
+
value: xo[Fr]
|
|
202122
202207
|
};
|
|
202123
202208
|
var Dr = new c.Utils.createSelectElement(
|
|
202124
202209
|
"labelCaptionPositionList" + M,
|
|
@@ -202142,7 +202227,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202142
202227
|
text: Ma[Fr],
|
|
202143
202228
|
value: ba[Fr]
|
|
202144
202229
|
};
|
|
202145
|
-
var
|
|
202230
|
+
var _o = new c.Utils.createSelectElement(
|
|
202146
202231
|
"labelTargetList" + M,
|
|
202147
202232
|
"",
|
|
202148
202233
|
D2,
|
|
@@ -202154,7 +202239,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
202154
202239
|
Vqe,
|
|
202155
202240
|
"change"
|
|
202156
202241
|
);
|
|
202157
|
-
qa.appendChild(
|
|
202242
|
+
qa.appendChild(_o);
|
|
202158
202243
|
var ti = c.Utils.createContainerElement(
|
|
202159
202244
|
"div",
|
|
202160
202245
|
"labelScaleTextBox" + M,
|
|
@@ -203006,9 +203091,9 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203006
203091
|
10
|
|
203007
203092
|
);
|
|
203008
203093
|
at || (qn = 0);
|
|
203009
|
-
var Br = 9, Ar = 15, Yi = 17, Qa = ze - 24, fi = Yi * 0.5, ki = 1, Or = 4, gi = 3, _a = 0.98, ta = 0.98, ua = 0, da = F.w - tt - se - 5,
|
|
203094
|
+
var Br = 9, Ar = 15, Yi = 17, Qa = ze - 24, fi = Yi * 0.5, ki = 1, Or = 4, gi = 3, _a = 0.98, ta = 0.98, ua = 0, da = F.w - tt - se - 5, So = c.browser == c.browsers.CHROME || c.browser == c.browsers.SAFARI ? -2 : 0, Ha = 0, ts = 0, ao = 0, Fi = 0, ms = 0, ns = 0, yo = 0, No = 0, xo = 0;
|
|
203010
203095
|
if (c.editMode == "edit")
|
|
203011
|
-
var Fr = 0, bo = 0, Dr = 0, Ma = 0, ba = 0,
|
|
203096
|
+
var Fr = 0, bo = 0, Dr = 0, Ma = 0, ba = 0, _o = 0, ti = 0, rs = 0, Ra = 0, Os = 0, Zl = 0, vs = 0;
|
|
203012
203097
|
var hu = 0;
|
|
203013
203098
|
if (c.editMode === null)
|
|
203014
203099
|
Se && (Fr = tt + Or, hu = Fr + Yi), Me && (Ha = hu + Or + ki * 2, yo = Ha + Yi + Or, hu = at ? yo + qn : Ha + Yi), Ze && (Ra = hu + Or + ki, Os = Ra + Yi + Or);
|
|
@@ -203017,9 +203102,9 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203017
203102
|
se > 15 && (se = 15), te > 15 && (te = 15), ge > 22 && (ge = 22), is > 1 && (is = 1), mf > 18 && (mf = 18);
|
|
203018
203103
|
var nc = se * 0.75, Xc = te * 0.75, gu = nc * 2, wd = tt + 3, Xd = te * 1.5, ru = te * 2 + Xc * 1.5, vf = se / 2, Vf = (mf - te) / 2, Fa = te * 0.5, Cc = tt * 1.75, Td = F.w - tt * 2 - 2, zf = te * 7 + fi * 5 + Or, ga = 0, Zp = F.w - tt * 3, Ph = Ar + fi * 3, da = F.w - tt - se - 5, wl = da - ge, n0 = wl - ge;
|
|
203019
203104
|
if (c.editMode == "markup")
|
|
203020
|
-
Br = 0, Cc = tt + Or, ze = F.w - tt * 2, Qa = ze - 24, wd = 0, ts = ki * 2, ao = Fa, Fi = ao + te + fi - ki, ms = ts + te * 2 - ki, _q = fi + Or - ki, Ha = ts + ru + fi - Or - ki * 2, ns = Ha + Ar + Or * 2, yo = ns + Ar + Or * 2,
|
|
203105
|
+
Br = 0, Cc = tt + Or, ze = F.w - tt * 2, Qa = ze - 24, wd = 0, ts = ki * 2, ao = Fa, Fi = ao + te + fi - ki, ms = ts + te * 2 - ki, _q = fi + Or - ki, Ha = ts + ru + fi - Or - ki * 2, ns = Ha + Ar + Or * 2, yo = ns + Ar + Or * 2, No = at ? yo + qn + 5 : ns + Ar + 5, xo = Fa - 5, (c.helpVisible == 1 || c.helpVisible == 2) && (ua = ge);
|
|
203021
203106
|
else if (c.editMode == "edit") {
|
|
203022
|
-
Se && (Fr = tt + Or, bo = Fr + Yi - ki, Dr = Fa, hu = bo + Xd + Or), Me && (Ha = hu + tt, ts = Ha + Yi + Or + ki, ao = Fa + ki, Ma = ao + te + Fa, Fi = Or + ki, ms = ts + te * 2 - ki, _q = fi * 1.5, ns = ts + Xd + fi + Or, yo = ns + te + fi, ba = at ? yo + qn + 5 : ns + te + fi,
|
|
203107
|
+
Se && (Fr = tt + Or, bo = Fr + Yi - ki, Dr = Fa, hu = bo + Xd + Or), Me && (Ha = hu + tt, ts = Ha + Yi + Or + ki, ao = Fa + ki, Ma = ao + te + Fa, Fi = Or + ki, ms = ts + te * 2 - ki, _q = fi * 1.5, ns = ts + Xd + fi + Or, yo = ns + te + fi, ba = at ? yo + qn + 5 : ns + te + fi, _o = ba + te + fi, ti = _o + te + fi, rs = ti + te + fi, No = rs + te + fi + 5, xo = Fa - 5, hu = No + Xd + Or - 5), Ze && (Ra = hu + tt, Os = Ra + Yi + Or + ki, Zl = Os + xi + ki * 2, vs = Fa);
|
|
203023
203108
|
var r0 = gu * 8.5 + 1, Dh = Xc * 1.8;
|
|
203024
203109
|
}
|
|
203025
203110
|
}
|
|
@@ -203047,7 +203132,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203047
203132
|
"none"
|
|
203048
203133
|
);
|
|
203049
203134
|
var a0 = Ai.style;
|
|
203050
|
-
a0.width = ze - ge + "px", a0.left = ye + "px", a0.top = Fr +
|
|
203135
|
+
a0.width = ze - ge + "px", a0.left = ye + "px", a0.top = Fr + So + "px", a0.visibility = "visible";
|
|
203051
203136
|
var mv = document.getElementById("buttonPOIGo" + O);
|
|
203052
203137
|
if (mv) {
|
|
203053
203138
|
c.Utils.buttonSize(mv, se, te);
|
|
@@ -203141,7 +203226,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203141
203226
|
}
|
|
203142
203227
|
if ((c.editMode == "markup" || Me) && io) {
|
|
203143
203228
|
var m9 = io.style;
|
|
203144
|
-
m9.width = ze - ge + "px", m9.left = c.editMode == "markup" ? tt + "px" : ye + "px", m9.top = Ha +
|
|
203229
|
+
m9.width = ze - ge + "px", m9.left = c.editMode == "markup" ? tt + "px" : ye + "px", m9.top = Ha + So + "px", m9.visibility = "visible";
|
|
203145
203230
|
}
|
|
203146
203231
|
var VU = document.getElementById("buttonLabelGo" + O);
|
|
203147
203232
|
if (VU) {
|
|
@@ -203413,7 +203498,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203413
203498
|
);
|
|
203414
203499
|
if (oF && sF) {
|
|
203415
203500
|
var e4 = oF.style;
|
|
203416
|
-
e4.width = ye + "px", e4.height = Ar + "px", e4.left = Cc + "px", e4.top =
|
|
203501
|
+
e4.width = ye + "px", e4.height = Ar + "px", e4.left = Cc + "px", e4.top = _o + gi + "px", e4.visibility = "visible", c.Utils.setTextNodeStyle(
|
|
203417
203502
|
oF,
|
|
203418
203503
|
"black",
|
|
203419
203504
|
"verdana",
|
|
@@ -203428,7 +203513,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203428
203513
|
"none"
|
|
203429
203514
|
);
|
|
203430
203515
|
var vv = sF.style;
|
|
203431
|
-
vv.width = $e + Br + "px", vv.height = Ar + "px", vv.left = Cc + ye + "px", vv.top =
|
|
203516
|
+
vv.width = $e + Br + "px", vv.height = Ar + "px", vv.left = Cc + ye + "px", vv.top = _o + "px", c.Utils.setTextAreaStyle(
|
|
203432
203517
|
sF,
|
|
203433
203518
|
"black",
|
|
203434
203519
|
"verdana",
|
|
@@ -203504,7 +203589,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203504
203589
|
var dce = document.getElementById("buttonContainerLabelEdit" + O);
|
|
203505
203590
|
if (dce) {
|
|
203506
203591
|
var P9 = dce.style;
|
|
203507
|
-
P9.width = F.w + "px", P9.height = Xd + "px", P9.left = "0px", P9.top =
|
|
203592
|
+
P9.width = F.w + "px", P9.height = Xd + "px", P9.left = "0px", P9.top = No + "px";
|
|
203508
203593
|
}
|
|
203509
203594
|
}
|
|
203510
203595
|
if (c.editMode == "edit" && Me) {
|
|
@@ -203512,13 +203597,13 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203512
203597
|
if (pF) {
|
|
203513
203598
|
c.Utils.buttonSize(pF, se, te);
|
|
203514
203599
|
var fce = pF.style;
|
|
203515
|
-
fce.left = da + "px", fce.top =
|
|
203600
|
+
fce.left = da + "px", fce.top = xo + "px";
|
|
203516
203601
|
}
|
|
203517
203602
|
var hF = document.getElementById("buttonLabelAdd" + O);
|
|
203518
203603
|
if (hF) {
|
|
203519
203604
|
c.Utils.buttonSize(hF, se, te);
|
|
203520
203605
|
var pce = hF.style;
|
|
203521
|
-
pce.left = wl + "px", pce.top =
|
|
203606
|
+
pce.left = wl + "px", pce.top = xo + "px";
|
|
203522
203607
|
}
|
|
203523
203608
|
}
|
|
203524
203609
|
if (c.editMode == "edit" && Me || c.editMode == "markup") {
|
|
@@ -203526,7 +203611,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203526
203611
|
if (OS) {
|
|
203527
203612
|
c.Utils.buttonSize(OS, se, te);
|
|
203528
203613
|
var gF = OS.style;
|
|
203529
|
-
gF.left = da - ua + "px", gF.top =
|
|
203614
|
+
gF.left = da - ua + "px", gF.top = xo + "px", c.editMode != "markup" && (gF.display = "none");
|
|
203530
203615
|
}
|
|
203531
203616
|
}
|
|
203532
203617
|
if (c.editMode == "edit" && Me) {
|
|
@@ -203534,7 +203619,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203534
203619
|
if (D9) {
|
|
203535
203620
|
c.Utils.buttonSize(D9, se, te);
|
|
203536
203621
|
var mF = D9.style;
|
|
203537
|
-
mF.left = OS ? wl + "px" : da + "px", mF.top =
|
|
203622
|
+
mF.left = OS ? wl + "px" : da + "px", mF.top = xo + "px", c.editMode != "markup" && (mF.display = "none");
|
|
203538
203623
|
}
|
|
203539
203624
|
}
|
|
203540
203625
|
if (c.editMode == "edit" && Me || c.editMode == "markup") {
|
|
@@ -203542,7 +203627,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203542
203627
|
if (vF) {
|
|
203543
203628
|
c.Utils.buttonSize(vF, se, te);
|
|
203544
203629
|
var yF = vF.style;
|
|
203545
|
-
yF.left = OS && D9 ? n0 - ua + "px" : OS ? wl - ua + "px" : da - ua + "px", yF.top =
|
|
203630
|
+
yF.left = OS && D9 ? n0 - ua + "px" : OS ? wl - ua + "px" : da - ua + "px", yF.top = xo + "px", c.editMode != "markup" && (yF.display = "none");
|
|
203546
203631
|
}
|
|
203547
203632
|
}
|
|
203548
203633
|
if (c.editMode == "markup") {
|
|
@@ -203550,7 +203635,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203550
203635
|
if (bF) {
|
|
203551
203636
|
c.Utils.buttonSize(bF, se, te);
|
|
203552
203637
|
var hce = bF.style;
|
|
203553
|
-
hce.left = da + "px", hce.top =
|
|
203638
|
+
hce.left = da + "px", hce.top = xo + "px";
|
|
203554
203639
|
}
|
|
203555
203640
|
}
|
|
203556
203641
|
if (c.editMode == "edit" && Me || c.editMode == "markup") {
|
|
@@ -203635,7 +203720,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
203635
203720
|
"none"
|
|
203636
203721
|
);
|
|
203637
203722
|
var V9 = Vo.style;
|
|
203638
|
-
V9.width = ze + "px", V9.left = ye + "px", V9.top = Ra +
|
|
203723
|
+
V9.width = ze + "px", V9.left = ye + "px", V9.top = Ra + So + "px", V9.visibility = "visible";
|
|
203639
203724
|
var Tce = F.w - tt * 2 - 2, yv = SF.style;
|
|
203640
203725
|
yv.width = Tce + "px", yv.height = xi + "px", yv.left = tt + "px", yv.top = Os + "px", yv.visibility = "visible", c.Utils.setTextAreaStyle(
|
|
203641
203726
|
SF,
|
|
@@ -204079,7 +204164,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204079
204164
|
);
|
|
204080
204165
|
if (J != -1) {
|
|
204081
204166
|
var se = cn[J];
|
|
204082
|
-
jn = se.internalID, c.Utils.playAudio(
|
|
204167
|
+
jn = se.internalID, c.Utils.playAudio(Oo, se.audio), m.zoomAndPanToView(
|
|
204083
204168
|
se.x,
|
|
204084
204169
|
se.y,
|
|
204085
204170
|
se.z / 100,
|
|
@@ -204655,10 +204740,10 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204655
204740
|
Re.fillStyle = c.polygonFillColor ? c.polygonFillColor : "#FFFFFF";
|
|
204656
204741
|
var gi = 30, _a = 20, ta = $t, ua = rn - Tt, da = Math.sqrt(
|
|
204657
204742
|
(ta - $t) * (ta - $t) + (ua - rn) * (ua - rn)
|
|
204658
|
-
),
|
|
204743
|
+
), So = (da - _a / 3) / da, Ha = Math.round(ta + ($t - ta) * So), ts = Math.round(ua + (rn - ua) * So);
|
|
204659
204744
|
Re.beginPath(), Re.moveTo(ta, ua), Re.lineTo(Ha, ts), Re.stroke();
|
|
204660
|
-
var ao = Math.atan2(ua - rn, 0), Fi = Math.PI / 8, ms = ao + Fi, ns = $t + Math.cos(ms) * gi, yo = rn + Math.sin(ms) * gi,
|
|
204661
|
-
Re.save(), Re.beginPath(), Re.moveTo(
|
|
204745
|
+
var ao = Math.atan2(ua - rn, 0), Fi = Math.PI / 8, ms = ao + Fi, ns = $t + Math.cos(ms) * gi, yo = rn + Math.sin(ms) * gi, No = ao - Fi, xo = $t + Math.cos(No) * gi, Fr = rn + Math.sin(No) * gi, bo = (ns + $t + xo) / 3, Dr = (yo + rn + Fr) / 3;
|
|
204746
|
+
Re.save(), Re.beginPath(), Re.moveTo(xo, Fr), Re.lineTo($t, rn), Re.lineTo(ns, yo), Re.stroke(), Re.beginPath(), Re.lineTo($t, rn), Re.lineTo(xo, Fr), Re.quadraticCurveTo(bo, Dr, ns, yo), Re.fill(), Re.restore();
|
|
204662
204747
|
break;
|
|
204663
204748
|
}
|
|
204664
204749
|
tt != "arrow" && (T.fillVisible && (Re.fillStyle = T.fillColor ? T.fillColor : c.polygonFillColor ? c.polygonFillColor : "#FFFFFF", Re.globalAlpha = ge == "counter" ? parseFloat(c.Utils.getResource("DEFAULT_TRACKINGALPHA")) : parseFloat(c.Utils.getResource("DEFAULT_POLYGONALPHA")), Re.fill()), tt != "line" && Re.closePath(), Re.globalAlpha = 1, Re.stroke()), Re.restore();
|
|
@@ -204829,10 +204914,10 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204829
204914
|
else {
|
|
204830
204915
|
let Dr = function(Ma, ba) {
|
|
204831
204916
|
if (Ma.length > 0 && ba.length > 0) {
|
|
204832
|
-
var
|
|
204917
|
+
var _o = [];
|
|
204833
204918
|
dt.moveTo(Ma[0].x - qn, Ma[0].y - xi);
|
|
204834
204919
|
for (var ti = 1, rs = Ma.length; ti < rs; ti++)
|
|
204835
|
-
if (T.name == "A13" &&
|
|
204920
|
+
if (T.name == "A13" && _o.push("{x:" + Ma[ti].x + ",y:" + Ma[ti].y + "}"), ba[ti] == "N") {
|
|
204836
204921
|
var Ra = Ma[ti].x - qn, Os = Ma[ti].y - xi;
|
|
204837
204922
|
dt.lineTo(Ra, Os);
|
|
204838
204923
|
}
|
|
@@ -204856,7 +204941,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204856
204941
|
Ele(dt, Br, Ar, qn, xi);
|
|
204857
204942
|
var Yi = RU(Br, Ar);
|
|
204858
204943
|
Ar = Yi.typeList, Br = Yi.tPolyPts;
|
|
204859
|
-
var Qa = Ar.findIndex(function(Ma, ba,
|
|
204944
|
+
var Qa = Ar.findIndex(function(Ma, ba, _o) {
|
|
204860
204945
|
return Ma == "S";
|
|
204861
204946
|
});
|
|
204862
204947
|
if (Qa != "-1") {
|
|
@@ -204867,7 +204952,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204867
204952
|
Qa + 1,
|
|
204868
204953
|
Ar.length
|
|
204869
204954
|
);
|
|
204870
|
-
var fi = w5.findIndex(function(Ma, ba,
|
|
204955
|
+
var fi = w5.findIndex(function(Ma, ba, _o) {
|
|
204871
204956
|
return Ma == "S";
|
|
204872
204957
|
});
|
|
204873
204958
|
if (fi != "-1") {
|
|
@@ -204875,7 +204960,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204875
204960
|
fi + 1,
|
|
204876
204961
|
Ar.length
|
|
204877
204962
|
), x3 = qL.slice(0, fi), YL = qL.slice(fi + 1, Ar.length);
|
|
204878
|
-
var ki = T5.findIndex(function(Ma, ba,
|
|
204963
|
+
var ki = T5.findIndex(function(Ma, ba, _o) {
|
|
204879
204964
|
return Ma == "S";
|
|
204880
204965
|
});
|
|
204881
204966
|
if (ki != "-1") {
|
|
@@ -204886,7 +204971,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204886
204971
|
ki + 1,
|
|
204887
204972
|
Ar.length
|
|
204888
204973
|
);
|
|
204889
|
-
var Or = A5.findIndex(function(Ma, ba,
|
|
204974
|
+
var Or = A5.findIndex(function(Ma, ba, _o) {
|
|
204890
204975
|
return Ma == "S";
|
|
204891
204976
|
});
|
|
204892
204977
|
if (Or != "-1") {
|
|
@@ -204897,7 +204982,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204897
204982
|
Or + 1,
|
|
204898
204983
|
Ar.length
|
|
204899
204984
|
);
|
|
204900
|
-
var gi = R5.findIndex(function(Ma, ba,
|
|
204985
|
+
var gi = R5.findIndex(function(Ma, ba, _o) {
|
|
204901
204986
|
return Ma == "S";
|
|
204902
204987
|
});
|
|
204903
204988
|
if (gi != "-1") {
|
|
@@ -204908,7 +204993,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204908
204993
|
gi + 1,
|
|
204909
204994
|
Ar.length
|
|
204910
204995
|
);
|
|
204911
|
-
var _a = w3.findIndex(function(Ma, ba,
|
|
204996
|
+
var _a = w3.findIndex(function(Ma, ba, _o) {
|
|
204912
204997
|
return Ma == "S";
|
|
204913
204998
|
});
|
|
204914
204999
|
_a != "-1" ? (lAe = w3.slice(0, _a), cAe = w3.slice(
|
|
@@ -204917,7 +205002,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204917
205002
|
), oAe = eN.slice(0, _a), sAe = eN.slice(
|
|
204918
205003
|
_a + 1,
|
|
204919
205004
|
Ar.length
|
|
204920
|
-
), w3.findIndex(function(Ma, ba,
|
|
205005
|
+
), w3.findIndex(function(Ma, ba, _o) {
|
|
204921
205006
|
return Ma == "S";
|
|
204922
205007
|
}), Dr(rE, iE), Dr(x3, _3), Dr(_5, I5), Dr(JL, tN), Dr(Lq, Nq), Dr(oAe, lAe), Dr(sAe, cAe)) : (Dr(rE, iE), Dr(x3, _3), Dr(_5, I5), Dr(JL, tN), Dr(Lq, Nq), Dr(eN, w3));
|
|
204923
205008
|
} else
|
|
@@ -204933,8 +205018,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204933
205018
|
} else {
|
|
204934
205019
|
ble(dt, Br, qn, xi), mE == 1 ? dt.fillStyle = "#ffffff" : dt.fillStyle = "#999999", dt.fill(), dt.moveTo(Ha, ts);
|
|
204935
205020
|
for (var ta = 1, ua = Br.length; ta < ua; ta++) {
|
|
204936
|
-
var da = Br[ta].x - qn,
|
|
204937
|
-
dt.lineTo(da,
|
|
205021
|
+
var da = Br[ta].x - qn, So = Br[ta].y - xi;
|
|
205022
|
+
dt.lineTo(da, So);
|
|
204938
205023
|
}
|
|
204939
205024
|
}
|
|
204940
205025
|
c.labelMode == "measure" && !T.polyClosed && !el && typeof M < "u" && M !== null && (Br[Br.length] = { x: M.x, y: M.y });
|
|
@@ -204960,12 +205045,12 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204960
205045
|
} else if (OU(Cy, ao), Mq !== void 0) {
|
|
204961
205046
|
if (mE == 1) {
|
|
204962
205047
|
dt.fillStyle = Mq;
|
|
204963
|
-
var ms = gE.findIndex(function(Ma, ba,
|
|
205048
|
+
var ms = gE.findIndex(function(Ma, ba, _o) {
|
|
204964
205049
|
return Ma == T.name;
|
|
204965
205050
|
});
|
|
204966
205051
|
ms != "-1" && (dt.fillStyle = "#0573E7"), dt.fill();
|
|
204967
205052
|
} else {
|
|
204968
|
-
var ms = gE.findIndex(function(ba,
|
|
205053
|
+
var ms = gE.findIndex(function(ba, _o, ti) {
|
|
204969
205054
|
return ba == T.name;
|
|
204970
205055
|
});
|
|
204971
205056
|
ms != "-1" && (dt.fillStyle = "rgba(0,0,0,0.5)", dt.fill()), c.Utils.clearDisplay(Zt);
|
|
@@ -204973,15 +205058,15 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
204973
205058
|
ye != null && ye.isPointInPath(ge.x, ge.y) && $e.push(T);
|
|
204974
205059
|
}
|
|
204975
205060
|
} else {
|
|
204976
|
-
var ns = T.iW * (100 / T.z), yo = T.iH * (100 / T.z), qn = 0, xi = T.media.indexOf("triangle") == -1 ? 0 : T.iH * 0.23,
|
|
204977
|
-
dt.arc(qn, xi,
|
|
205061
|
+
var ns = T.iW * (100 / T.z), yo = T.iH * (100 / T.z), qn = 0, xi = T.media.indexOf("triangle") == -1 ? 0 : T.iH * 0.23, No = 1.2, xo = Math.max(ns, yo) / 2 * No;
|
|
205062
|
+
dt.arc(qn, xi, xo, 0, 2 * Math.PI);
|
|
204978
205063
|
}
|
|
204979
205064
|
if (!F && (c.editMode === null && c.labelMode == "measure" || c.editing == "addLabel" || c.editing == "editLabel") && (c.labelMode == "rectangle" && Br.length == 4 || c.labelMode == "polygon" || c.labelMode == "measure") && T.internalID == jn && typeof T < "u" && T !== null && T.mediaType != "freehand")
|
|
204980
205065
|
for (var Fr = 1 / yn / In, ta = 0, ua = Br.length; ta < ua; ta++) {
|
|
204981
|
-
var da = Br[ta].x - qn,
|
|
205066
|
+
var da = Br[ta].x - qn, So = Br[ta].y - xi;
|
|
204982
205067
|
xle(
|
|
204983
205068
|
da,
|
|
204984
|
-
|
|
205069
|
+
So,
|
|
204985
205070
|
!el && ta == 0,
|
|
204986
205071
|
Fr
|
|
204987
205072
|
);
|
|
@@ -206391,11 +206476,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206391
206476
|
c.Utils.getResource("UI_TRACKINGPANELLABELUSERNAME")
|
|
206392
206477
|
);
|
|
206393
206478
|
fi.appendChild(ki), In.appendChild(fi);
|
|
206394
|
-
var Or = "#FFFFFF", gi = 24, _a = 8, ta = 22, ua = 14, da = 34,
|
|
206479
|
+
var Or = "#FFFFFF", gi = 24, _a = 8, ta = 22, ua = 14, da = 34, So = 4, Ha = 15, ts = 15, ao = 34, Fi = 4, ms = 20, ns = 20, yo = 1, No = 120, xo = 20, Fr = 6, bo = 34, Dr = 4, Ma = parseInt(
|
|
206395
206480
|
c.Utils.getResource("DEFAULT_TRACKINGPANELLABELFONTSIZE"),
|
|
206396
206481
|
10
|
|
206397
206482
|
);
|
|
206398
|
-
Bi = _a, Fn = 0,
|
|
206483
|
+
Bi = _a, Fn = 0, Lo = c.Utils.createContainerElement(
|
|
206399
206484
|
"div",
|
|
206400
206485
|
"containerTracking" + O,
|
|
206401
206486
|
"inline-block",
|
|
@@ -206413,8 +206498,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206413
206498
|
"nowrap",
|
|
206414
206499
|
null,
|
|
206415
206500
|
!0
|
|
206416
|
-
),
|
|
206417
|
-
for (var ba = 0,
|
|
206501
|
+
), Lo.style.overflowX = "hidden", Fs.appendChild(Lo);
|
|
206502
|
+
for (var ba = 0, _o = ol.length; ba < _o; ba++) {
|
|
206418
206503
|
var Or = ba % 2 == 0 ? "#F8F8F8" : "#FFFFFF", ti = c.Utils.createContainerElement(
|
|
206419
206504
|
"div",
|
|
206420
206505
|
"rowContainer",
|
|
@@ -206434,7 +206519,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206434
206519
|
null,
|
|
206435
206520
|
!0
|
|
206436
206521
|
);
|
|
206437
|
-
|
|
206522
|
+
Lo.appendChild(ti), parseFloat(
|
|
206438
206523
|
c.Utils.getResource("UI_TOOLBARINTERNALBACKGROUNDALPHA")
|
|
206439
206524
|
), c.Utils.getResource(
|
|
206440
206525
|
"UI_TOOLBARINTERNALBACKGROUNDCOLOR"
|
|
@@ -206451,7 +206536,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206451
206536
|
ta + "px",
|
|
206452
206537
|
ua + "px",
|
|
206453
206538
|
Bi + "px",
|
|
206454
|
-
|
|
206539
|
+
So + "px",
|
|
206455
206540
|
"solid",
|
|
206456
206541
|
"1px",
|
|
206457
206542
|
rs,
|
|
@@ -206494,8 +206579,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206494
206579
|
"inline-block",
|
|
206495
206580
|
"absolute",
|
|
206496
206581
|
"hidden",
|
|
206497
|
-
|
|
206498
|
-
|
|
206582
|
+
No + "px",
|
|
206583
|
+
xo + "px",
|
|
206499
206584
|
Bi + "px",
|
|
206500
206585
|
Fr + "px",
|
|
206501
206586
|
"none",
|
|
@@ -206523,7 +206608,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206523
206608
|
"1em",
|
|
206524
206609
|
"left",
|
|
206525
206610
|
"none"
|
|
206526
|
-
), Bi +=
|
|
206611
|
+
), Bi += No + Dr * 3;
|
|
206527
206612
|
var is = "rowCountPerCellTextBox" + ba.toString(), mf = "rowCountPerCellTextNode" + ba.toString();
|
|
206528
206613
|
ti[is] = c.Utils.createContainerElement(
|
|
206529
206614
|
"div",
|
|
@@ -206531,8 +206616,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206531
206616
|
"inline-block",
|
|
206532
206617
|
"absolute",
|
|
206533
206618
|
"hidden",
|
|
206534
|
-
|
|
206535
|
-
|
|
206619
|
+
No + "px",
|
|
206620
|
+
xo + "px",
|
|
206536
206621
|
Bi + "px",
|
|
206537
206622
|
Fr + "px",
|
|
206538
206623
|
"none",
|
|
@@ -206566,8 +206651,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206566
206651
|
"inline-block",
|
|
206567
206652
|
"absolute",
|
|
206568
206653
|
"hidden",
|
|
206569
|
-
|
|
206570
|
-
|
|
206654
|
+
No + "px",
|
|
206655
|
+
xo + "px",
|
|
206571
206656
|
Bi + "px",
|
|
206572
206657
|
Fr + "px",
|
|
206573
206658
|
"none",
|
|
@@ -206655,8 +206740,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206655
206740
|
"inline-block",
|
|
206656
206741
|
"absolute",
|
|
206657
206742
|
"hidden",
|
|
206658
|
-
|
|
206659
|
-
|
|
206743
|
+
No + "px",
|
|
206744
|
+
xo + "px",
|
|
206660
206745
|
Bi + "px",
|
|
206661
206746
|
Fr + "px",
|
|
206662
206747
|
"none",
|
|
@@ -206941,8 +207026,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
206941
207026
|
}
|
|
206942
207027
|
var da = document.getElementById("labelShowTextBox" + O);
|
|
206943
207028
|
if (da) {
|
|
206944
|
-
var
|
|
206945
|
-
|
|
207029
|
+
var So = da.style;
|
|
207030
|
+
So.width = te + "px", So.height = Re + "px", So.left = Bi + "px", So.top = "0px", c.Utils.setTextNodeStyle(
|
|
206946
207031
|
da.firstChild,
|
|
206947
207032
|
"black",
|
|
206948
207033
|
"verdana",
|
|
@@ -207013,8 +207098,8 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207013
207098
|
}
|
|
207014
207099
|
var yo = document.getElementById("labelListTextBox" + O);
|
|
207015
207100
|
if (yo) {
|
|
207016
|
-
var
|
|
207017
|
-
|
|
207101
|
+
var No = yo.style;
|
|
207102
|
+
No.width = te + "px", No.height = Re + "px", No.left = Bi + "px", No.top = "0px", c.Utils.setTextNodeStyle(
|
|
207018
207103
|
yo.firstChild,
|
|
207019
207104
|
"black",
|
|
207020
207105
|
"verdana",
|
|
@@ -207030,11 +207115,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207030
207115
|
);
|
|
207031
207116
|
}
|
|
207032
207117
|
Bi = rn + $t;
|
|
207033
|
-
var
|
|
207034
|
-
if (
|
|
207035
|
-
var Fr =
|
|
207118
|
+
var xo = document.getElementById("containerCounterListLabels" + O);
|
|
207119
|
+
if (xo) {
|
|
207120
|
+
var Fr = xo.style;
|
|
207036
207121
|
Fr.width = F + "px", Fr.height = Re + "px", Fr.left = Bi + "px", Fr.top = yn + "px", c.Utils.setTextNodeStyle(
|
|
207037
|
-
|
|
207122
|
+
xo.firstChild,
|
|
207038
207123
|
"black",
|
|
207039
207124
|
"verdana",
|
|
207040
207125
|
ge + "px",
|
|
@@ -207084,11 +207169,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207084
207169
|
"none"
|
|
207085
207170
|
), Bi += Yi + $t;
|
|
207086
207171
|
}
|
|
207087
|
-
var
|
|
207088
|
-
if (
|
|
207089
|
-
var ti =
|
|
207172
|
+
var _o = document.getElementById("labelYTextBox" + O);
|
|
207173
|
+
if (_o) {
|
|
207174
|
+
var ti = _o.style;
|
|
207090
207175
|
ti.width = te + "px", ti.height = Re + "px", ti.left = Bi + "px", ti.top = "0px", c.Utils.setTextNodeStyle(
|
|
207091
|
-
|
|
207176
|
+
_o.firstChild,
|
|
207092
207177
|
"black",
|
|
207093
207178
|
"verdana",
|
|
207094
207179
|
ge + "px",
|
|
@@ -207579,9 +207664,9 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207579
207664
|
c.Utils.setOpacity(F, 0.2, "");
|
|
207580
207665
|
break;
|
|
207581
207666
|
case "mousedown":
|
|
207582
|
-
for (var J = 0, se =
|
|
207667
|
+
for (var J = 0, se = Lo.children.length; J < se; J++)
|
|
207583
207668
|
c.Utils.setOpacity(
|
|
207584
|
-
|
|
207669
|
+
Lo.childNodes[J].firstChild,
|
|
207585
207670
|
0.4,
|
|
207586
207671
|
""
|
|
207587
207672
|
);
|
|
@@ -207649,7 +207734,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207649
207734
|
Tt && (Tt.style.display = "inline-block");
|
|
207650
207735
|
break;
|
|
207651
207736
|
case "buttonCounterListHide" + F:
|
|
207652
|
-
for (var Re = 0, tt =
|
|
207737
|
+
for (var Re = 0, tt = Lo.children.length; Re < tt; Re++) {
|
|
207653
207738
|
var $e = document.getElementById(
|
|
207654
207739
|
"rowCounterFilteredList" + t.toString()
|
|
207655
207740
|
);
|
|
@@ -207714,7 +207799,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207714
207799
|
c.tourPlaying = !0;
|
|
207715
207800
|
var T = document.getElementById("buttonTourStop"), M = document.getElementById("buttonTourStart");
|
|
207716
207801
|
T && M && (T.style.display = "inline-block", M.style.display = "none"), c.screensaver ? c.constrainPanStrict || (c.constrainPanStrict = !0) : c.Utils.playAudio(
|
|
207717
|
-
|
|
207802
|
+
Oo,
|
|
207718
207803
|
cn[ec].audio
|
|
207719
207804
|
);
|
|
207720
207805
|
var O = c.screensaver ? 0 : u9(ec, "next", cn.length - 1);
|
|
@@ -207739,7 +207824,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
207739
207824
|
}, O);
|
|
207740
207825
|
} else if (typeof ro < "u" && ro !== null && ro.length > 0) {
|
|
207741
207826
|
c.Utils.playAudio(
|
|
207742
|
-
|
|
207827
|
+
Oo,
|
|
207743
207828
|
cn[ec].audio
|
|
207744
207829
|
);
|
|
207745
207830
|
var F = c.tourPlaying ? cn[ec].showFor : 0;
|
|
@@ -208049,7 +208134,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
208049
208134
|
this.slideshowStart = function(T) {
|
|
208050
208135
|
m.slideshowStop(), c.slideshowPlaying = !0;
|
|
208051
208136
|
var M = document.getElementById("buttonSlideshowStop"), O = document.getElementById("buttonSlideshowStart");
|
|
208052
|
-
M && O && (M.style.display = "inline-block", O.style.display = "none"), c.Utils.playAudio(
|
|
208137
|
+
M && O && (M.style.display = "inline-block", O.style.display = "none"), c.Utils.playAudio(Oo, Gs[Ul].audio);
|
|
208053
208138
|
var F = c.slideshowPlaying ? Gs[Ul].showFor : 0, J = T ? 0 : u9(Ul, "next", Gs.length - 1);
|
|
208054
208139
|
J !== null && (c.Utils.loadAudio(Gs[J].audio), c.Utils.functionCallWithDelay(function() {
|
|
208055
208140
|
m.goToSlide(J, null, null, !0);
|
|
@@ -208137,7 +208222,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
208137
208222
|
O
|
|
208138
208223
|
);
|
|
208139
208224
|
}, J);
|
|
208140
|
-
}), c.Viewer.setImage(M, O, null)) : (c.slideOpacity == 0 && (c.Utils.playAudio(
|
|
208225
|
+
}), c.Viewer.setImage(M, O, null)) : (c.slideOpacity == 0 && (c.Utils.playAudio(Oo, Gs[Ul].audio), c.clearCallback("viewUpdateComplete", function() {
|
|
208141
208226
|
c.slideTransitionTimeout = window.setTimeout(function() {
|
|
208142
208227
|
c.Viewport.slideTransitionTimeoutHandler(
|
|
208143
208228
|
T,
|
|
@@ -208201,7 +208286,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
208201
208286
|
if (!c.tracking)
|
|
208202
208287
|
switch (T) {
|
|
208203
208288
|
case "left":
|
|
208204
|
-
|
|
208289
|
+
Io <= 0 && (Io += mo);
|
|
208205
208290
|
break;
|
|
208206
208291
|
case "up":
|
|
208207
208292
|
fo <= 0 && (fo += mo);
|
|
@@ -208210,26 +208295,26 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
208210
208295
|
fo >= 0 && (fo -= mo);
|
|
208211
208296
|
break;
|
|
208212
208297
|
case "right":
|
|
208213
|
-
|
|
208298
|
+
Io >= 0 && (Io -= mo);
|
|
208214
208299
|
break;
|
|
208215
208300
|
case "horizontalStop":
|
|
208216
|
-
|
|
208301
|
+
Io = 0;
|
|
208217
208302
|
break;
|
|
208218
208303
|
case "verticalStop":
|
|
208219
208304
|
fo = 0;
|
|
208220
208305
|
break;
|
|
208221
208306
|
case "stop":
|
|
208222
|
-
|
|
208307
|
+
Io = 0, fo = 0;
|
|
208223
208308
|
break;
|
|
208224
208309
|
}
|
|
208225
|
-
c.panningX =
|
|
208310
|
+
c.panningX = Io == 0 ? "stop" : Io > 0 ? "left" : "right", c.panningY = fo == 0 ? "stop" : fo > 0 ? "up" : "down", c.imageX * $f(tn, 1), c.imageY * $f(tn, 1), Io != 0 || fo != 0 ? Ks || (m.toggleWatermarks(!1), c.useCanvas || c.Utils.clearDisplay(he), cn && cn.length > 39 && m.setHotspotsVisibility(!1), Ks = window.setTimeout(DU, zs)) : (Lle(), m.updateView(), m.toggleWatermarks(!0), cn && cn.length > 39 && m.setHotspotsVisibility(!0));
|
|
208226
208311
|
}
|
|
208227
208312
|
};
|
|
208228
208313
|
function DU() {
|
|
208229
|
-
Ks && (
|
|
208314
|
+
Ks && (Io != 0 || fo != 0 || qo != 0) && (!c.tracking || qo != 0 ? (uYe(Io, fo, qo), Ks = window.setTimeout(
|
|
208230
208315
|
DU,
|
|
208231
208316
|
zs
|
|
208232
|
-
)) : m.zoomAndPanToView(m.getX() +
|
|
208317
|
+
)) : m.zoomAndPanToView(m.getX() + Io, m.getY() + fo));
|
|
208233
208318
|
}
|
|
208234
208319
|
function uYe(T, M, O) {
|
|
208235
208320
|
var F = m.getZoom();
|
|
@@ -208309,7 +208394,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
208309
208394
|
c.interactive && (uu && kU(), c.tourPlaying && M && (m.tourStop(), T = !1), c.slideshowPlaying && M && (m.slideshowStop(), T = !1), c.smoothPan && cs !== null && (c.mouseIsDown || zT(!0), T = !0), T || m.updateView());
|
|
208310
208395
|
};
|
|
208311
208396
|
function Lle() {
|
|
208312
|
-
|
|
208397
|
+
Io = 0, fo = 0, qo = 0, Yu = 0, Ks && (window.clearTimeout(Ks), Ks = null);
|
|
208313
208398
|
}
|
|
208314
208399
|
function kU() {
|
|
208315
208400
|
uu && (window.clearTimeout(uu), uu = null);
|
|
@@ -209268,9 +209353,9 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209268
209353
|
else if (!c.animation || m.getZoom() != c.minZ) {
|
|
209269
209354
|
var ta = te.x - de.mouseXPrior, ua = te.y - de.mouseYPrior;
|
|
209270
209355
|
if (!isNaN(ta) && !isNaN(ua)) {
|
|
209271
|
-
var da = parseFloat(ue.left) + ta,
|
|
209356
|
+
var da = parseFloat(ue.left) + ta, So = parseFloat(ue.top) + ua, Ha = e0(
|
|
209272
209357
|
da,
|
|
209273
|
-
|
|
209358
|
+
So,
|
|
209274
209359
|
c.imageZ,
|
|
209275
209360
|
c.imageR,
|
|
209276
209361
|
"container"
|
|
@@ -209355,7 +209440,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209355
209440
|
!0
|
|
209356
209441
|
));
|
|
209357
209442
|
else {
|
|
209358
|
-
var
|
|
209443
|
+
var No = typeof Ai < "u" && Ai.options.length > 0 ? No = Ai.options[Ai.selectedIndex].value : 0;
|
|
209359
209444
|
if (ei = !1, c.labelMode == "text")
|
|
209360
209445
|
c.editing == "addLabel" ? (m.createLabelFromParameters(
|
|
209361
209446
|
null,
|
|
@@ -209388,7 +209473,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209388
209473
|
"5",
|
|
209389
209474
|
"0",
|
|
209390
209475
|
null,
|
|
209391
|
-
|
|
209476
|
+
No
|
|
209392
209477
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
209393
209478
|
jn,
|
|
209394
209479
|
"x",
|
|
@@ -209403,11 +209488,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209403
209488
|
!0
|
|
209404
209489
|
));
|
|
209405
209490
|
else if (c.labelMode == "icon") {
|
|
209406
|
-
var
|
|
209491
|
+
var xo = document.getElementById(
|
|
209407
209492
|
"labelIconList" + M
|
|
209408
209493
|
);
|
|
209409
|
-
if (
|
|
209410
|
-
var Fr =
|
|
209494
|
+
if (xo) {
|
|
209495
|
+
var Fr = xo[xo.selectedIndex].value, bo;
|
|
209411
209496
|
switch (Fr) {
|
|
209412
209497
|
case "shim":
|
|
209413
209498
|
bo = c.labelIconsInternal ? "circle" : u + "/circle.png";
|
|
@@ -209449,7 +209534,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209449
209534
|
null,
|
|
209450
209535
|
"0",
|
|
209451
209536
|
null,
|
|
209452
|
-
|
|
209537
|
+
No
|
|
209453
209538
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
209454
209539
|
jn,
|
|
209455
209540
|
"x",
|
|
@@ -209471,7 +209556,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209471
209556
|
"CONTENT_TRACKINGLINECOLOR"
|
|
209472
209557
|
), ba = c.Utils.getResource(
|
|
209473
209558
|
"CONTENT_TRACKINGFILLCOLOR"
|
|
209474
|
-
),
|
|
209559
|
+
), _o = c.userName, ti = c.userInitials, rs = pu("label"), gi = Math.round(Re.x).toString(), _a = Math.round(Re.y).toString(), Ra = "100", Os = m.getTrackingCellIDFromCoordinates(
|
|
209475
209560
|
gi,
|
|
209476
209561
|
_a,
|
|
209477
209562
|
Ra
|
|
@@ -209484,7 +209569,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209484
209569
|
var is = ol[wr];
|
|
209485
209570
|
Zl = is.text, hu = is.text + " : " + c.userName, vs = is.value, ba = is.fillColor;
|
|
209486
209571
|
}
|
|
209487
|
-
var mf = Os + " " + gi + ", " + _a + ", " + Ra + ": " +
|
|
209572
|
+
var mf = Os + " " + gi + ", " + _a + ", " + Ra + ": " + _o, nc = c.Utils.stringPadFront(Os, 6, "0") + c.Utils.stringPadFront(rs, 6, "0"), Xc = "counter", bo = "circle", gu = 40, wd = c.Utils.getResource(
|
|
209488
209573
|
"CONTENT_COUNTERCAPTIONPOSITION"
|
|
209489
209574
|
), Xd = c.Utils.getCurrentUTCDateAsString();
|
|
209490
209575
|
m.createLabelFromParameters(
|
|
@@ -209518,7 +209603,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209518
209603
|
wd,
|
|
209519
209604
|
"0",
|
|
209520
209605
|
null,
|
|
209521
|
-
|
|
209606
|
+
No,
|
|
209522
209607
|
null,
|
|
209523
209608
|
null,
|
|
209524
209609
|
null,
|
|
@@ -209532,7 +209617,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209532
209617
|
null,
|
|
209533
209618
|
null,
|
|
209534
209619
|
null,
|
|
209535
|
-
|
|
209620
|
+
_o,
|
|
209536
209621
|
c.userInitials,
|
|
209537
209622
|
Xd
|
|
209538
209623
|
), ei = !0, Xi[Xi.length] = {
|
|
@@ -209544,7 +209629,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209544
209629
|
x: gi,
|
|
209545
209630
|
y: _a,
|
|
209546
209631
|
zoom: Ra,
|
|
209547
|
-
user:
|
|
209632
|
+
user: _o,
|
|
209548
209633
|
name: Zl,
|
|
209549
209634
|
mediaType: Xc,
|
|
209550
209635
|
media: bo,
|
|
@@ -209755,9 +209840,9 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209755
209840
|
else {
|
|
209756
209841
|
var ta = te.x - de.mouseXPrior, ua = te.y - de.mouseYPrior;
|
|
209757
209842
|
if (!isNaN(ta) && !isNaN(ua)) {
|
|
209758
|
-
var da = parseFloat(ue.left) + ta,
|
|
209843
|
+
var da = parseFloat(ue.left) + ta, So = parseFloat(ue.top) + ua, Ha = e0(
|
|
209759
209844
|
da,
|
|
209760
|
-
|
|
209845
|
+
So,
|
|
209761
209846
|
c.imageZ,
|
|
209762
209847
|
c.imageR,
|
|
209763
209848
|
"container"
|
|
@@ -209843,7 +209928,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209843
209928
|
!0
|
|
209844
209929
|
));
|
|
209845
209930
|
else {
|
|
209846
|
-
var
|
|
209931
|
+
var No = typeof Ai < "u" && Ai.options.length > 0 ? No = Ai.options[Ai.selectedIndex].value : 0;
|
|
209847
209932
|
if (ei = !1, c.labelMode == "text")
|
|
209848
209933
|
c.editing == "addLabel" ? (m.createLabelFromParameters(
|
|
209849
209934
|
null,
|
|
@@ -209876,7 +209961,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209876
209961
|
"5",
|
|
209877
209962
|
"0",
|
|
209878
209963
|
null,
|
|
209879
|
-
|
|
209964
|
+
No
|
|
209880
209965
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
209881
209966
|
jn,
|
|
209882
209967
|
"x",
|
|
@@ -209891,11 +209976,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209891
209976
|
!0
|
|
209892
209977
|
));
|
|
209893
209978
|
else if (c.labelMode == "icon") {
|
|
209894
|
-
var
|
|
209979
|
+
var xo = document.getElementById(
|
|
209895
209980
|
"labelIconList" + M
|
|
209896
209981
|
);
|
|
209897
|
-
if (
|
|
209898
|
-
var Fr =
|
|
209982
|
+
if (xo) {
|
|
209983
|
+
var Fr = xo[xo.selectedIndex].value, bo;
|
|
209899
209984
|
switch (Fr) {
|
|
209900
209985
|
case "shim":
|
|
209901
209986
|
bo = c.labelIconsInternal ? "circle" : u + "/circle.png";
|
|
@@ -209937,7 +210022,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
209937
210022
|
null,
|
|
209938
210023
|
"0",
|
|
209939
210024
|
null,
|
|
209940
|
-
|
|
210025
|
+
No
|
|
209941
210026
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
209942
210027
|
jn,
|
|
209943
210028
|
"x",
|
|
@@ -210084,7 +210169,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210084
210169
|
!0
|
|
210085
210170
|
));
|
|
210086
210171
|
else {
|
|
210087
|
-
var
|
|
210172
|
+
var No = typeof Ai < "u" && Ai.options.length > 0 ? No = Ai.options[Ai.selectedIndex].value : 0;
|
|
210088
210173
|
if (ei = !1, c.labelMode == "text")
|
|
210089
210174
|
c.editing == "addLabel" ? (m.createLabelFromParameters(
|
|
210090
210175
|
null,
|
|
@@ -210117,7 +210202,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210117
210202
|
"5",
|
|
210118
210203
|
"0",
|
|
210119
210204
|
null,
|
|
210120
|
-
|
|
210205
|
+
No
|
|
210121
210206
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
210122
210207
|
jn,
|
|
210123
210208
|
"x",
|
|
@@ -210132,11 +210217,11 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210132
210217
|
!0
|
|
210133
210218
|
));
|
|
210134
210219
|
else if (c.labelMode == "icon") {
|
|
210135
|
-
var
|
|
210220
|
+
var xo = document.getElementById(
|
|
210136
210221
|
"labelIconList" + M
|
|
210137
210222
|
);
|
|
210138
|
-
if (
|
|
210139
|
-
var ga =
|
|
210223
|
+
if (xo) {
|
|
210224
|
+
var ga = xo[xo.selectedIndex].value, bo = ga == "shim" ? "" : ga == "External Graphics File" ? ga : u + "/" + ga;
|
|
210140
210225
|
c.editing == "addLabel" ? (m.createLabelFromParameters(
|
|
210141
210226
|
null,
|
|
210142
210227
|
null,
|
|
@@ -210168,7 +210253,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210168
210253
|
null,
|
|
210169
210254
|
"0",
|
|
210170
210255
|
null,
|
|
210171
|
-
|
|
210256
|
+
No
|
|
210172
210257
|
), ei = !0) : Jr && (m.modifyHotspot(
|
|
210173
210258
|
jn,
|
|
210174
210259
|
"x",
|
|
@@ -210277,7 +210362,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210277
210362
|
)), (cs === null || T) && (cs = window.setInterval(wYe, 50)));
|
|
210278
210363
|
}
|
|
210279
210364
|
function zT(T) {
|
|
210280
|
-
cs !== null && T && (window.clearInterval(cs), cs = null), no = null, Us = al = Cs = null,
|
|
210365
|
+
cs !== null && T && (window.clearInterval(cs), cs = null), no = null, Us = al = Cs = null, Ao = es = Xo = Zo = 0;
|
|
210281
210366
|
}
|
|
210282
210367
|
function wYe() {
|
|
210283
210368
|
!c.animation || m.getZoom() != c.minZ ? TYe() : IYe();
|
|
@@ -210288,25 +210373,25 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210288
210373
|
var O = no ? al : ps.x, F = no ? Cs : ps.y, J = O - jl.x, se = F - jl.y, te = T - Us.x, ge = M - Us.y, ye = !isNaN(J) && !isNaN(se) && !isNaN(te) && !isNaN(ge) && (J != 0 || se != 0 || te != 0 || ge != 0);
|
|
210289
210374
|
if (ye) {
|
|
210290
210375
|
var $e = no ? c.smoothPanGlide : 1, ze = no ? 1 : 100;
|
|
210291
|
-
|
|
210376
|
+
Ao = Math.round(
|
|
210292
210377
|
(J - te) / (c.smoothPanEasing * $e) * ze / ze
|
|
210293
210378
|
), es = Math.round(
|
|
210294
210379
|
(se - ge) / (c.smoothPanEasing * $e) * ze / ze
|
|
210295
|
-
), c.mouseIsDown ? (Xo =
|
|
210296
|
-
var Re = T +
|
|
210380
|
+
), c.mouseIsDown ? (Xo = Ao, Zo = es) : (Math.abs(Ao) > Math.abs(Xo) && (Ao = Xo), Math.abs(es) > Math.abs(Zo) && (es = Zo));
|
|
210381
|
+
var Re = T + Ao, tt = M + es, dt = e0(
|
|
210297
210382
|
Re,
|
|
210298
210383
|
tt,
|
|
210299
210384
|
c.imageZ,
|
|
210300
210385
|
c.imageR,
|
|
210301
210386
|
"container"
|
|
210302
210387
|
);
|
|
210303
|
-
ue.left = dt.x + "px", ue.top = dt.y + "px",
|
|
210388
|
+
ue.left = dt.x + "px", ue.top = dt.y + "px", Ao -= Re - dt.x, es -= tt - dt.y, dt.x - zt, dt.y - Vt, ee && ln && Bf(
|
|
210304
210389
|
ee,
|
|
210305
210390
|
qt,
|
|
210306
210391
|
Ti,
|
|
210307
210392
|
"simple",
|
|
210308
210393
|
!1
|
|
210309
|
-
), no && Math.round(
|
|
210394
|
+
), no && Math.round(Ao * ze) / ze == 0 && Math.round(es * ze) / ze == 0 && (no = !1);
|
|
210310
210395
|
var Tt = m.calculateCurrentCenterCoordinates(
|
|
210311
210396
|
dt,
|
|
210312
210397
|
c.imageZ,
|
|
@@ -210314,7 +210399,7 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210314
210399
|
);
|
|
210315
210400
|
!c.comparison || h == 0 ? c.Navigator && c.Navigator.syncNavigatorRectangleToViewport(Tt) : c.Navigator2 && c.Navigator2.syncNavigatorRectangleToViewport(Tt), c.Utils.setBookmarksURL(), c.Viewer.syncComparisonViewport(), c.Viewer.syncOverlayViewports(null, t), c.tracking && m.syncTrackingToViewport();
|
|
210316
210401
|
}
|
|
210317
|
-
} else if (!c.mouseIsDown && no === null &&
|
|
210402
|
+
} else if (!c.mouseIsDown && no === null && Ao != 0 && es != 0) {
|
|
210318
210403
|
var $t = T + Xo, rn = M + Zo, dt = e0(
|
|
210319
210404
|
$t,
|
|
210320
210405
|
rn,
|
|
@@ -210333,23 +210418,23 @@ Tile loading complete for backfill: all requested tiles received.`), ze = !1;
|
|
|
210333
210418
|
var F = no ? al : ps.x, J = no ? Cs : ps.y, se = F - jl.x, te = J - jl.y, ge = M - Us.x, ye = O - Us.y, $e = !isNaN(se) && !isNaN(te) && !isNaN(ge) && !isNaN(ye) && (se != 0 || te != 0 || ge != 0 || ye != 0);
|
|
210334
210419
|
if ($e) {
|
|
210335
210420
|
var ze = no ? c.smoothPanGlide : 1, Re = no ? 1 : 100;
|
|
210336
|
-
|
|
210421
|
+
Ao = Math.round(
|
|
210337
210422
|
(se - ge) / (c.smoothPanEasing * ze) * Re / Re
|
|
210338
210423
|
), es = Math.round(
|
|
210339
210424
|
(te - ye) / (c.smoothPanEasing * ze) * Re / Re
|
|
210340
|
-
), c.mouseIsDown ? (Xo =
|
|
210341
|
-
var tt = M +
|
|
210425
|
+
), c.mouseIsDown ? (Xo = Ao, Zo = es) : (Math.abs(Ao) > Math.abs(Xo) && (Ao = Xo), Math.abs(es) > Math.abs(Zo) && (es = Zo));
|
|
210426
|
+
var tt = M + Ao, dt = O + es;
|
|
210342
210427
|
qs = tt, Ys = dt;
|
|
210343
210428
|
var Tt, $t, rn, yn;
|
|
210344
|
-
c.animator == "motion" ? (Tt = c.animationAxis == "horizontal" ?
|
|
210429
|
+
c.animator == "motion" ? (Tt = c.animationAxis == "horizontal" ? Ao : es, Sq = c.animationAxis == "horizontal" ? Ve : ct, $t = Math.round(El / c.imageSetLength), rn = Tt / 40, yn = 0) : c.animator == "position" && (Tt = c.animationAxis == "horizontal" ? ge : ye, Sq = c.animationAxis == "horizontal" ? Ve : ct, $t = Math.max(
|
|
210345
210430
|
0,
|
|
210346
210431
|
Math.round(
|
|
210347
210432
|
(Sq / 2 - Math.abs(Tt)) / _r
|
|
210348
210433
|
)
|
|
210349
|
-
), rn = 0, yn = c.animationAxis == "horizontal" ? Ve / 10 : ct / 10), $t == 0 && $t++, c.animationCount % $t == 0 && (Tt < -yn ? c.Viewer.viewportPrior(rn) : Tt > yn && c.Viewer.viewportNext(rn)), no && Math.round(
|
|
210434
|
+
), rn = 0, yn = c.animationAxis == "horizontal" ? Ve / 10 : ct / 10), $t == 0 && $t++, c.animationCount % $t == 0 && (Tt < -yn ? c.Viewer.viewportPrior(rn) : Tt > yn && c.Viewer.viewportNext(rn)), no && Math.round(Ao * Re) / Re == 0 && Math.round(es * Re) / Re == 0 && (no = !1);
|
|
210350
210435
|
}
|
|
210351
210436
|
} else
|
|
210352
|
-
!c.mouseIsDown && no === null &&
|
|
210437
|
+
!c.mouseIsDown && no === null && Ao != 0 && es != 0 ? (Xo != 0 || Zo != 0) && (al = ps.x + Xo, Cs = ps.y + Zo, no = !0) : (zT(!0), qs = null, Ys = null);
|
|
210353
210438
|
}
|
|
210354
210439
|
this.getSmoothPanGliding = function() {
|
|
210355
210440
|
return no;
|
|
@@ -211150,7 +211235,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
211150
211235
|
"TIP_TOURSTART"
|
|
211151
211236
|
);
|
|
211152
211237
|
Qe.appendChild(mo.elmt);
|
|
211153
|
-
var
|
|
211238
|
+
var Io = new c.Utils.Button(
|
|
211154
211239
|
"buttonTourStop",
|
|
211155
211240
|
null,
|
|
211156
211241
|
c.skinPath,
|
|
@@ -211165,7 +211250,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
211165
211250
|
mn,
|
|
211166
211251
|
"TIP_TOURSTOP"
|
|
211167
211252
|
);
|
|
211168
|
-
Qe.appendChild(
|
|
211253
|
+
Qe.appendChild(Io.elmt);
|
|
211169
211254
|
}
|
|
211170
211255
|
if (c.slideshow) {
|
|
211171
211256
|
var fo = new c.Utils.Graphic(
|
|
@@ -211304,7 +211389,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
211304
211389
|
"TIP_IMAGEFILTERPANELHIDE"
|
|
211305
211390
|
);
|
|
211306
211391
|
Qe.appendChild(ps.elmt);
|
|
211307
|
-
var
|
|
211392
|
+
var Ao = new c.Utils.Button(
|
|
211308
211393
|
"buttonImageFilterPanelShow",
|
|
211309
211394
|
null,
|
|
211310
211395
|
c.skinPath,
|
|
@@ -211319,7 +211404,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
211319
211404
|
mn,
|
|
211320
211405
|
"TIP_IMAGEFILTERPANELSHOW"
|
|
211321
211406
|
);
|
|
211322
|
-
Qe.appendChild(
|
|
211407
|
+
Qe.appendChild(Ao.elmt), la(Ee);
|
|
211323
211408
|
}
|
|
211324
211409
|
if (c.imageSet && !c.overlays) {
|
|
211325
211410
|
if (Qe.childNodes.length > 1) {
|
|
@@ -212019,7 +212104,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212019
212104
|
c.Utils.getResource("UI_IMAGEFILTERPANELLABELSEPIA")
|
|
212020
212105
|
);
|
|
212021
212106
|
Gl.appendChild(mo);
|
|
212022
|
-
var
|
|
212107
|
+
var Io = new c.Utils.Checkbox(
|
|
212023
212108
|
"checkboxFilterSepia",
|
|
212024
212109
|
"test",
|
|
212025
212110
|
"1px",
|
|
@@ -212030,7 +212115,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212030
212115
|
mn,
|
|
212031
212116
|
"TIP_SEPIA"
|
|
212032
212117
|
);
|
|
212033
|
-
Ee.appendChild(Gl), Ee.appendChild(
|
|
212118
|
+
Ee.appendChild(Gl), Ee.appendChild(Io);
|
|
212034
212119
|
}
|
|
212035
212120
|
var fo = new c.Utils.Graphic(
|
|
212036
212121
|
"imageFilterPanelDivider",
|
|
@@ -212251,19 +212336,19 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212251
212336
|
P = !1, ji += 2;
|
|
212252
212337
|
}
|
|
212253
212338
|
c.progressVisible || (hn = 0);
|
|
212254
|
-
var
|
|
212255
|
-
c.sliderZoomVisible && (
|
|
212256
|
-
var fo = c.logoVisible == 1 ? vt + 2 : 0, qs = c.toolbarVisible != 0 && c.toolbarVisible != 1 && c.minimizeVisible != 0 ? ct : 0, Ys = fo + qs, El = c.panButtonsVisible == 1 ? ct * 4 + Di : 0, _r = c.zoomButtonsVisible == 1 ? ct * 2 : 0, cs = c.resetVisible == 1 ? ct : 0, jl = Ys + za +
|
|
212257
|
-
jl > ft && (y = !0, jl - sn > ft && (v = !0, jl - sn - hn > ft && (m = !0, jl - sn - hn - Ys > ft && (E = !0, jl - sn - hn - Ys - cs > ft && (b = !0,
|
|
212258
|
-
var Us = (ft -
|
|
212339
|
+
var Io = ji * ct + $o * Di;
|
|
212340
|
+
c.sliderZoomVisible && (Io += sn), c.imageSet && c.sliderImageSetVisible && (Io += Is), y = v = m = b = Tq = !1;
|
|
212341
|
+
var fo = c.logoVisible == 1 ? vt + 2 : 0, qs = c.toolbarVisible != 0 && c.toolbarVisible != 1 && c.minimizeVisible != 0 ? ct : 0, Ys = fo + qs, El = c.panButtonsVisible == 1 ? ct * 4 + Di : 0, _r = c.zoomButtonsVisible == 1 ? ct * 2 : 0, cs = c.resetVisible == 1 ? ct : 0, jl = Ys + za + Io + za + hn;
|
|
212342
|
+
jl > ft && (y = !0, jl - sn > ft && (v = !0, jl - sn - hn > ft && (m = !0, jl - sn - hn - Ys > ft && (E = !0, jl - sn - hn - Ys - cs > ft && (b = !0, Io -= El, jl - sn - hn - Ys - cs - El > ft && (Tq = !0, Io -= _r)), Io -= cs), Ys = 0), hn = 0), Io -= sn);
|
|
212343
|
+
var Us = (ft - Io) / 2 - za + 3, ps = document.getElementById("toolbarBackground");
|
|
212259
212344
|
ps && (ps.style.width = ft + "px", ps.style.height = st + "px", ps.firstChild.style.width = ft + "px", ps.firstChild.style.height = st + "px");
|
|
212260
|
-
var
|
|
212261
|
-
|
|
212345
|
+
var Ao = document.getElementById("buttonContainer");
|
|
212346
|
+
Ao && (Ao.style.width = Io + za * 2 + "px", Ao.style.height = st + "px", Ao.style.left = Us + "px");
|
|
212262
212347
|
var es = document.getElementById("buttonBackground");
|
|
212263
212348
|
es && (es.style.width = ft + "px", c.Utils.graphicSize(
|
|
212264
212349
|
es,
|
|
212265
|
-
parseFloat(
|
|
212266
|
-
parseFloat(
|
|
212350
|
+
parseFloat(Ao.style.width),
|
|
212351
|
+
parseFloat(Ao.style.height)
|
|
212267
212352
|
), es.style.left = "0px");
|
|
212268
212353
|
var Xo = document.getElementById("toolbarLogo");
|
|
212269
212354
|
if (Xo) {
|
|
@@ -212506,8 +212591,8 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212506
212591
|
var Hs = document.getElementById("buttonImageFilterPanelHide");
|
|
212507
212592
|
if (Hs) {
|
|
212508
212593
|
c.Utils.buttonSize(Hs, ot, Ve);
|
|
212509
|
-
var
|
|
212510
|
-
|
|
212594
|
+
var Ro = Hs.style;
|
|
212595
|
+
Ro.left = Vt + "px", Ro.top = Dn + "px", Ro.display = j ? "inline-block" : "none";
|
|
212511
212596
|
}
|
|
212512
212597
|
var kl = document.getElementById("buttonImageFilterPanelShow");
|
|
212513
212598
|
if (kl) {
|
|
@@ -212540,12 +212625,12 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212540
212625
|
var ec = parseInt(
|
|
212541
212626
|
c.Utils.getResource("DEFAULT_TOOLBARLABELFONTSIZE"),
|
|
212542
212627
|
10
|
|
212543
|
-
),
|
|
212628
|
+
), Oo = 28, rd = 20, pf = 3, Gs = document.getElementById("labelSyncTextBox"), id = document.getElementById(
|
|
212544
212629
|
"containerFor-checkboxSyncComparison"
|
|
212545
212630
|
), Ul = document.getElementById("checkboxSyncComparison");
|
|
212546
212631
|
if (Gs && id && Ul) {
|
|
212547
212632
|
var Ps = Gs.style;
|
|
212548
|
-
Ps.width =
|
|
212633
|
+
Ps.width = Oo + "px", Ps.height = rd + "px", Ps.left = Vt + "px", Ps.top = Dn + pf + "px", Ps.visibility = "visible", c.Utils.setTextNodeStyle(
|
|
212549
212634
|
Gs,
|
|
212550
212635
|
"black",
|
|
212551
212636
|
"verdana",
|
|
@@ -212560,13 +212645,13 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212560
212645
|
"none"
|
|
212561
212646
|
);
|
|
212562
212647
|
var tc = id.style;
|
|
212563
|
-
tc.width = ot * 1.5 + "px", tc.height = Ve * 1.5 + "px", tc.left = Vt +
|
|
212648
|
+
tc.width = ot * 1.5 + "px", tc.height = Ve * 1.5 + "px", tc.left = Vt + Oo + 3 + "px", tc.top = Dn - pf + "px", Ul.width = ot, Ul.height = Ve, Ul.checked = c.initialSync;
|
|
212564
212649
|
}
|
|
212565
212650
|
}
|
|
212566
212651
|
var Ep = document.getElementById("progressTextBox");
|
|
212567
212652
|
if (Ep) {
|
|
212568
212653
|
var Ed = Ep.style;
|
|
212569
|
-
Ed && (v ? Ed.display = "none" : (Ed.display = "inline-block", Ed.width = hn + "px", Ed.height = zt + "px", Ed.left = ft - parseFloat(
|
|
212654
|
+
Ed && (v ? Ed.display = "none" : (Ed.display = "inline-block", Ed.width = hn + "px", Ed.height = zt + "px", Ed.left = ft - parseFloat(Ao.style.left) - parseFloat(Ed.width) + "px", Ed.top = (st - parseFloat(Ed.height)) / 2 + "px"));
|
|
212570
212655
|
}
|
|
212571
212656
|
}
|
|
212572
212657
|
function ja() {
|
|
@@ -212590,12 +212675,12 @@ c.ZoomifyToolbar = function(t) {
|
|
|
212590
212675
|
zt -= $o;
|
|
212591
212676
|
var Gl = z = Math.round(
|
|
212592
212677
|
zt * za + ct + Qe * 2 + Qe * za + sn * za + Ie * za - 4 + Is
|
|
212593
|
-
), mo = Ee * 2 + Ve + Di,
|
|
212678
|
+
), mo = Ee * 2 + Ve + Di, Io = mo - Ve - Ee * 3.8, fo = Gl - Ie - we, qs = mo - Ee - je * 1.9, Ys = Ie + 5, El = mo - Ee - je - 1, _r = Ie;
|
|
212594
212679
|
Fn = hn + 2;
|
|
212595
212680
|
var cs = document.getElementById("buttonImageFilterPanelShow"), jl = document.getElementById("buttonContainerImageFilter"), Us = document.getElementById("imageFilterList");
|
|
212596
212681
|
if (jl && cs && Us) {
|
|
212597
|
-
var ps = parseFloat(cs.style.left),
|
|
212598
|
-
es.width = Gl + "px", es.height = mo + "px", es.left = ps +
|
|
212682
|
+
var ps = parseFloat(cs.style.left), Ao = parseFloat(cs.parentNode.style.left), es = jl.style;
|
|
212683
|
+
es.width = Gl + "px", es.height = mo + "px", es.left = ps + Ao + Qe - Gl + "px", es.top = -(mo + Ee / 2) + "px";
|
|
212599
212684
|
var Xo = document.getElementById("imageFilterPanelBackground");
|
|
212600
212685
|
if (Xo) {
|
|
212601
212686
|
var Zo = Xo.style;
|
|
@@ -213325,7 +213410,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
213325
213410
|
_r = Gl - Ie * 1.5 - we - zt, Fn = hn - 4;
|
|
213326
213411
|
var mc = document.getElementById("imageFilterStateDivider");
|
|
213327
213412
|
if (mc) {
|
|
213328
|
-
c.Utils.graphicSize(mc, ot,
|
|
213413
|
+
c.Utils.graphicSize(mc, ot, Io);
|
|
213329
213414
|
var Ou = mc.style;
|
|
213330
213415
|
Ou.left = zr > 0 ? _r - Ie + "px" : "-1000px", Ou.top = Ee + "px";
|
|
213331
213416
|
}
|
|
@@ -213415,8 +213500,8 @@ c.ZoomifyToolbar = function(t) {
|
|
|
213415
213500
|
var xa = gr.style;
|
|
213416
213501
|
xa.width = we * 1.5 + "px", xa.height = je * 1.5 + "px", xa.left = _r + zt + 3 + "px", xa.top = Fn - lr + "px", ui.width = we, ui.height = je, Fn += Ve;
|
|
213417
213502
|
}
|
|
213418
|
-
var Hs = document.getElementById("labelEdgesTextBox"),
|
|
213419
|
-
if (Hs &&
|
|
213503
|
+
var Hs = document.getElementById("labelEdgesTextBox"), Ro = document.getElementById("containerFor-checkboxFilterEdges"), kl = document.getElementById("checkboxFilterEdges");
|
|
213504
|
+
if (Hs && Ro && kl) {
|
|
213420
213505
|
var Ka = Hs.style;
|
|
213421
213506
|
Ka.width = zt + "px", Ka.height = Vt + "px", Ka.left = _r + "px", Ka.top = Fn + lr + "px", Ka.visibility = "visible", c.Utils.setTextNodeStyle(
|
|
213422
213507
|
Hs,
|
|
@@ -213432,7 +213517,7 @@ c.ZoomifyToolbar = function(t) {
|
|
|
213432
213517
|
"left",
|
|
213433
213518
|
"none"
|
|
213434
213519
|
);
|
|
213435
|
-
var Hc =
|
|
213520
|
+
var Hc = Ro.style;
|
|
213436
213521
|
Hc.width = we * 1.5 + "px", Hc.height = je * 1.5 + "px", Hc.left = _r + zt + 3 + "px", Hc.top = Fn - lr + "px", kl.width = we, kl.height = je, Fn += Ve;
|
|
213437
213522
|
}
|
|
213438
213523
|
var Xl = document.getElementById("labelSepiaTextBox"), bd = document.getElementById("containerFor-checkboxFilterSepia"), Gd = document.getElementById("checkboxFilterSepia");
|
|
@@ -213459,8 +213544,8 @@ c.ZoomifyToolbar = function(t) {
|
|
|
213459
213544
|
var ec = document.getElementById("imageFilterPanelDivider");
|
|
213460
213545
|
if (ec) {
|
|
213461
213546
|
c.Utils.graphicSize(ec, fo, 5.5);
|
|
213462
|
-
var
|
|
213463
|
-
|
|
213547
|
+
var Oo = ec.style;
|
|
213548
|
+
Oo.left = Ie + "px", Oo.top = qs + 2 + "px";
|
|
213464
213549
|
}
|
|
213465
213550
|
var rd = document.getElementById("buttonImageFilterClear");
|
|
213466
213551
|
if (rd) {
|
|
@@ -224603,7 +224688,7 @@ export {
|
|
|
224603
224688
|
Do as O,
|
|
224604
224689
|
fLt as P,
|
|
224605
224690
|
so as Q,
|
|
224606
|
-
|
|
224691
|
+
Co as R,
|
|
224607
224692
|
X4n as S,
|
|
224608
224693
|
fPe as T,
|
|
224609
224694
|
gm as U,
|