@realsee/dnalogel 3.52.0 → 3.52.2

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/index.js CHANGED
@@ -48,7 +48,7 @@ import Bp from "earcut";
48
48
  import { GLTFLoader as Vp } from "@realsee/five/gltf-loader";
49
49
  function Rp() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.52.0",
51
+ "%c %c@realsee/dnalogel %cv3.52.2",
52
52
  [
53
53
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
54
54
  "background-repeat: no-repeat",
@@ -1394,7 +1394,7 @@ class av extends b.Mesh {
1394
1394
  return e !== null && e.remove(this), this;
1395
1395
  }
1396
1396
  }
1397
- function zt(...n) {
1397
+ function jt(...n) {
1398
1398
  const t = new se();
1399
1399
  return n.forEach((e) => t.add(e)), t.divideScalar(n.length), t;
1400
1400
  }
@@ -1675,7 +1675,7 @@ class Ti {
1675
1675
  d(this, "extraObjectsForIntersectCheck", []);
1676
1676
  /**
1677
1677
  * @description 模拟3D
1678
- * @default true
1678
+ * @default false
1679
1679
  */
1680
1680
  d(this, "simulate3D", !1);
1681
1681
  /**
@@ -2299,7 +2299,7 @@ class Yt extends Rt {
2299
2299
  }).filter(xe).map((s) => Xs(this, s));
2300
2300
  i.forEach(([s, o], r) => {
2301
2301
  var c;
2302
- const a = zt(s, o);
2302
+ const a = jt(s, o);
2303
2303
  this.doms[r] = (c = this.doms[r]) != null ? c : (() => {
2304
2304
  const h = new Ti(this.five);
2305
2305
  return h.intersectCheck = !1, h.simulate3D = !0, h;
@@ -3613,7 +3613,7 @@ class sm extends el {
3613
3613
  new se(F, -F, 0),
3614
3614
  new se(F, F, 0)
3615
3615
  ];
3616
- })(), o = (S = e.ratio) != null ? S : s0, r = (T = e.dpr) != null ? T : 1, a = (W = e.pointerEvents) != null ? W : "auto", l = Math.max(n0, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Ko(c / o * r), f = Ko(h / o * r), m = zt(...s);
3616
+ })(), o = (S = e.ratio) != null ? S : s0, r = (T = e.dpr) != null ? T : 1, a = (W = e.pointerEvents) != null ? W : "auto", l = Math.max(n0, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = Ko(c / o * r), f = Ko(h / o * r), m = jt(...s);
3617
3617
  let v;
3618
3618
  if (l === o)
3619
3619
  i.style.width = `${u}px`, i.style.height = `${f}px`, v = i;
@@ -9023,7 +9023,7 @@ let Hi = class {
9023
9023
  /**
9024
9024
  * @realsee/dnalogel 版本号
9025
9025
  */
9026
- d(this, "VERSION", "3.52.0");
9026
+ d(this, "VERSION", "3.52.2");
9027
9027
  d(this, "NAME");
9028
9028
  d(this, "five");
9029
9029
  d(this, "workUtil");
@@ -12575,7 +12575,7 @@ class ey extends Rm {
12575
12575
  const s = i.clientWidth, o = i.clientHeight, r = s / 2, a = o / 2;
12576
12576
  if (this.line.points.length < 2)
12577
12577
  return;
12578
- const [l, c] = this.line.points.map((T) => T.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = zt(l, c).clone().project(e.camera), m = new Ct(h.x * r, h.y * a), v = new Ct(u.x * r, u.y * a), p = m.distanceTo(v);
12578
+ const [l, c] = this.line.points.map((T) => T.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = jt(l, c).clone().project(e.camera), m = new Ct(h.x * r, h.y * a), v = new Ct(u.x * r, u.y * a), p = m.distanceTo(v);
12579
12579
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Zo(h) && !Zo(u) || !Zo(f) || p === 0))() === !1) {
12580
12580
  this.hide();
12581
12581
  return;
@@ -12658,7 +12658,7 @@ let Jn = class _m {
12658
12658
  const t = new _m(this.points[0].clone(), this.points[1].clone(), this.model);
12659
12659
  return t.text = this.text, t;
12660
12660
  }
12661
- }, Ot = class Fm {
12661
+ }, Bt = class Fm {
12662
12662
  constructor(t) {
12663
12663
  d(this, "id");
12664
12664
  d(this, "position");
@@ -12711,7 +12711,7 @@ let xr = class {
12711
12711
  var i, s, o;
12712
12712
  this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = ee(x({}, t.pointSelectorConfig), {
12713
12713
  helper: x({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
12714
- }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Jn(new Ot([0, 0, 0]), new Ot([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Jn(new Ot([0, 0, 0]), new Ot([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new os(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
12714
+ }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Jn(new Bt([0, 0, 0]), new Bt([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Jn(new Bt([0, 0, 0]), new Bt([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new os(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
12715
12715
  const e = this.five.getElement();
12716
12716
  e && (e.addEventListener("touchstart", Bo), e.addEventListener("contextmenu", Bo));
12717
12717
  }
@@ -12836,7 +12836,7 @@ let xr = class {
12836
12836
  const c = o.get(l.id);
12837
12837
  if (c)
12838
12838
  return c;
12839
- const h = new Ot(l.position);
12839
+ const h = new Bt(l.position);
12840
12840
  return h.id = l.id, o.set(l.id, h), h;
12841
12841
  }
12842
12842
  function a() {
@@ -12976,7 +12976,7 @@ function ac(n, t, e) {
12976
12976
  }
12977
12977
  function Qm(n, t, e, i) {
12978
12978
  const s = i != null ? i : ac(n, t, e);
12979
- return zt(n, t, e).multiplyScalar(s);
12979
+ return jt(n, t, e).multiplyScalar(s);
12980
12980
  }
12981
12981
  function ly(n) {
12982
12982
  var s;
@@ -13070,7 +13070,7 @@ class fl {
13070
13070
  this.points = this.points.concat(t);
13071
13071
  const e = this.points.at(-2), i = this.points.at(-1);
13072
13072
  if (e && i) {
13073
- const o = new Jn(new Ot(e), new Ot(i), this.polyline.model);
13073
+ const o = new Jn(new Bt(e), new Bt(i), this.polyline.model);
13074
13074
  this.polyline.addLine(o), this.meshContainer.add(o.mesh), this.five && (o.distanceItem.setCanSelect(!1), o.distanceItem.appendTo(this.domContainer), o.distanceItem.update(this.five));
13075
13075
  }
13076
13076
  (s = this.meshContainer) != null && s.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new b.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
@@ -13240,7 +13240,7 @@ class Si extends xr {
13240
13240
  this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
13241
13241
  return;
13242
13242
  } else
13243
- this.lastPoint = new Ot(this.area.points[this.area.points.length - 1]), this.updateDashed();
13243
+ this.lastPoint = new Bt(this.area.points[this.area.points.length - 1]), this.updateDashed();
13244
13244
  this.five.needsRender = !0;
13245
13245
  }
13246
13246
  });
@@ -13293,7 +13293,7 @@ class Si extends xr {
13293
13293
  })();
13294
13294
  if (!e)
13295
13295
  return;
13296
- const i = new Ot(e), s = this.lastPoint;
13296
+ const i = new Bt(e), s = this.lastPoint;
13297
13297
  if (s != null && s.position && i.position.equals(s == null ? void 0 : s.position))
13298
13298
  return;
13299
13299
  this.lastPoint = i;
@@ -13889,7 +13889,7 @@ class yy {
13889
13889
  const t = this.getIntersection();
13890
13890
  if (t) {
13891
13891
  this.pieceChange(t), this.updateMouseGroup(t);
13892
- const e = new Ot(this.mouseGroup.position);
13892
+ const e = new Bt(this.mouseGroup.position);
13893
13893
  this.hook.emit("nowPointChange", e);
13894
13894
  }
13895
13895
  });
@@ -13897,7 +13897,7 @@ class yy {
13897
13897
  var s;
13898
13898
  this.dotAnimation();
13899
13899
  const i = (s = this.getIntersection()) == null ? void 0 : s.point;
13900
- i && (e === "editing" ? this.hook.emit("getStartPoint", new Ot(i)) : this.hook.emit("getEndPoint", new Ot(i)));
13900
+ i && (e === "editing" ? this.hook.emit("getStartPoint", new Bt(i)) : this.hook.emit("getEndPoint", new Bt(i)));
13901
13901
  });
13902
13902
  /** 计算目标中心点经纬度 */
13903
13903
  d(this, "computedCenterMouseXY", () => {
@@ -15710,7 +15710,7 @@ class sw {
15710
15710
  return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((t = this.revoke) == null || t.dispose()), (e = this.mainController) == null || e.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
15711
15711
  }
15712
15712
  }
15713
- var Bt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Ge = {}, ow = {
15713
+ var Vt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Ge = {}, ow = {
15714
15714
  get exports() {
15715
15715
  return Ge;
15716
15716
  },
@@ -18717,7 +18717,7 @@ function bl(n) {
18717
18717
  }
18718
18718
  function Fd(n) {
18719
18719
  const t = bl(n);
18720
- return zt(...Array.isArray(t) ? t : [t]);
18720
+ return jt(...Array.isArray(t) ? t : [t]);
18721
18721
  }
18722
18722
  function Ro(n, t) {
18723
18723
  if (n === void 0)
@@ -19088,20 +19088,20 @@ function Gd(n) {
19088
19088
  return {
19089
19089
  c() {
19090
19090
  t = L("div"), P(t, "class", "shadow svelte-faoauy"), P(t, "style", e = `
19091
- left: ${jt(
19091
+ left: ${Ot(
19092
19092
  /*left*/
19093
19093
  n[5]
19094
19094
  )};
19095
- bottom: ${jt(
19095
+ bottom: ${Ot(
19096
19096
  /*bottom*/
19097
19097
  n[6]
19098
19098
  )};
19099
19099
  border-radius: ${/*round*/
19100
19100
  n[10] ? "9999px" : "0"};
19101
- box-shadow: 0 0 ${jt(
19101
+ box-shadow: 0 0 ${Ot(
19102
19102
  /*blurRadius*/
19103
19103
  n[11]
19104
- )} ${jt(
19104
+ )} ${Ot(
19105
19105
  /*spreadRadius*/
19106
19106
  n[12]
19107
19107
  )} rgba(0, 0, 0, ${/*opacity*/
@@ -19112,10 +19112,10 @@ function Gd(n) {
19112
19112
  n[9] ? "transform: translateX(-50%); top: 50%" : ""}
19113
19113
  ${/*center*/
19114
19114
  n[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
19115
- `), z(t, "width", jt(
19115
+ `), z(t, "width", Ot(
19116
19116
  /*width*/
19117
19117
  n[3]
19118
- )), z(t, "height", jt(
19118
+ )), z(t, "height", Ot(
19119
19119
  /*height*/
19120
19120
  n[4]
19121
19121
  )), z(
@@ -19131,20 +19131,20 @@ function Gd(n) {
19131
19131
  p(r, a) {
19132
19132
  n = r, (!o || a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
19133
19133
  16352 && e !== (e = `
19134
- left: ${jt(
19134
+ left: ${Ot(
19135
19135
  /*left*/
19136
19136
  n[5]
19137
19137
  )};
19138
- bottom: ${jt(
19138
+ bottom: ${Ot(
19139
19139
  /*bottom*/
19140
19140
  n[6]
19141
19141
  )};
19142
19142
  border-radius: ${/*round*/
19143
19143
  n[10] ? "9999px" : "0"};
19144
- box-shadow: 0 0 ${jt(
19144
+ box-shadow: 0 0 ${Ot(
19145
19145
  /*blurRadius*/
19146
19146
  n[11]
19147
- )} ${jt(
19147
+ )} ${Ot(
19148
19148
  /*spreadRadius*/
19149
19149
  n[12]
19150
19150
  )} rgba(0, 0, 0, ${/*opacity*/
@@ -19159,11 +19159,11 @@ function Gd(n) {
19159
19159
  const l = a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
19160
19160
  16352;
19161
19161
  (l || a & /*width, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
19162
- 16360) && z(t, "width", jt(
19162
+ 16360) && z(t, "width", Ot(
19163
19163
  /*width*/
19164
19164
  n[3]
19165
19165
  )), (l || a & /*height, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
19166
- 16368) && z(t, "height", jt(
19166
+ 16368) && z(t, "height", Ot(
19167
19167
  /*height*/
19168
19168
  n[4]
19169
19169
  )), (l || a & /*zIndex, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
@@ -19223,7 +19223,7 @@ function tP(n) {
19223
19223
  }
19224
19224
  };
19225
19225
  }
19226
- function jt(n) {
19226
+ function Ot(n) {
19227
19227
  return typeof n == "number" ? n / 16 + "rem" : n;
19228
19228
  }
19229
19229
  function iP(n, t, e) {
@@ -21339,7 +21339,7 @@ const Qs = (n, t, e) => {
21339
21339
  }, yl = (n) => (t) => {
21340
21340
  n[t] && n[t]();
21341
21341
  };
21342
- var LI = "Expected a function", dg = "__lodash_hash_undefined__", ug = 1 / 0, zI = "[object Function]", jI = "[object GeneratorFunction]", OI = "[object Symbol]", BI = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, VI = /^\w*$/, RI = /^\./, _I = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, FI = /[\\^$.*+?()[\]{}|]/g, NI = /\\(\\)?/g, HI = /^\[object .+?Constructor\]$/, GI = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, QI = typeof self == "object" && self && self.Object === Object && self, vc = GI || QI || Function("return this")();
21342
+ var LI = "Expected a function", dg = "__lodash_hash_undefined__", ug = 1 / 0, zI = "[object Function]", jI = "[object GeneratorFunction]", OI = "[object Symbol]", BI = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, VI = /^\w*$/, RI = /^\./, _I = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, FI = /[\\^$.*+?()[\]{}|]/g, NI = /\\(\\)?/g, HI = /^\[object .+?Constructor\]$/, GI = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, QI = typeof self == "object" && self && self.Object === Object && self, vc = GI || QI || Function("return this")();
21343
21343
  function WI(n, t) {
21344
21344
  return n == null ? void 0 : n[t];
21345
21345
  }
@@ -21581,7 +21581,7 @@ var Fo = k2, fr = {}, x2 = {
21581
21581
  (function(n, t) {
21582
21582
  var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", v = "[object Object]", p = "[object Promise]", g = "[object RegExp]", A = "[object Set]", w = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", M = "[object ArrayBuffer]", E = "[object DataView]", S = "[object Float32Array]", T = "[object Float64Array]", W = "[object Int8Array]", F = "[object Int16Array]", H = "[object Int32Array]", G = "[object Uint8Array]", N = "[object Uint8ClampedArray]", U = "[object Uint16Array]", _ = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, J = /^\[object .+?Constructor\]$/, ae = /^(?:0|[1-9]\d*)$/, re = {};
21583
21583
  re[o] = re[r] = re[M] = re[E] = re[a] = re[l] = re[S] = re[T] = re[W] = re[F] = re[H] = re[f] = re[m] = re[v] = re[g] = re[A] = re[w] = re[I] = re[G] = re[N] = re[U] = re[_] = !0, re[c] = re[h] = re[C] = !1;
21584
- var Pe = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, ve = typeof self == "object" && self && self.Object === Object && self, ge = Pe || ve || Function("return this")(), Re = t && !t.nodeType && t, ye = Re && !0 && n && !n.nodeType && n, Qe = ye && ye.exports === Re;
21584
+ var Pe = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, ve = typeof self == "object" && self && self.Object === Object && self, ge = Pe || ve || Function("return this")(), Re = t && !t.nodeType && t, ye = Re && !0 && n && !n.nodeType && n, Qe = ye && ye.exports === Re;
21585
21585
  function K(y, k) {
21586
21586
  return y.set(k[0], k[1]), y;
21587
21587
  }
@@ -22034,7 +22034,7 @@ var mr = {}, S2 = {
22034
22034
  (function(n, t) {
22035
22035
  var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", A = "[object Null]", w = "[object Object]", I = "[object Promise]", C = "[object Proxy]", M = "[object RegExp]", E = "[object Set]", S = "[object String]", T = "[object Symbol]", W = "[object Undefined]", F = "[object WeakMap]", H = "[object ArrayBuffer]", G = "[object DataView]", N = "[object Float32Array]", U = "[object Float64Array]", _ = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", J = "[object Uint8Array]", ae = "[object Uint8ClampedArray]", re = "[object Uint16Array]", Pe = "[object Uint32Array]", ve = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, Re = /^(?:0|[1-9]\d*)$/, ye = {};
22036
22036
  ye[N] = ye[U] = ye[_] = ye[Y] = ye[Z] = ye[J] = ye[ae] = ye[re] = ye[Pe] = !0, ye[a] = ye[l] = ye[H] = ye[h] = ye[G] = ye[u] = ye[f] = ye[m] = ye[p] = ye[g] = ye[w] = ye[M] = ye[E] = ye[S] = ye[F] = !1;
22037
- var Qe = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, K = typeof self == "object" && self && self.Object === Object && self, Ae = Qe || K || Function("return this")(), Le = t && !t.nodeType && t, pe = Le && !0 && n && !n.nodeType && n, Ye = pe && pe.exports === Le, ze = Ye && Qe.process, ke = function() {
22037
+ var Qe = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, K = typeof self == "object" && self && self.Object === Object && self, Ae = Qe || K || Function("return this")(), Le = t && !t.nodeType && t, pe = Le && !0 && n && !n.nodeType && n, Ye = pe && pe.exports === Le, ze = Ye && Qe.process, ke = function() {
22038
22038
  try {
22039
22039
  return ze && ze.binding && ze.binding("util");
22040
22040
  } catch (y) {
@@ -27250,7 +27250,7 @@ class Ra extends b.Mesh {
27250
27250
  constructor(e, i, s) {
27251
27251
  if (e.length !== 4)
27252
27252
  throw new Error("QuadrangleMesh: Invalid number of points, it's not a quadrangle");
27253
- const [o, r, a, l] = e, c = zt(...e), h = [o.clone().sub(c), r.clone().sub(c), a.clone().sub(c), l.clone().sub(c)], u = new Eg(h, s);
27253
+ const [o, r, a, l] = e, c = jt(...e), h = [o.clone().sub(c), r.clone().sub(c), a.clone().sub(c), l.clone().sub(c)], u = new Eg(h, s);
27254
27254
  super(u, i);
27255
27255
  d(this, "name", "QuadrangleMesh");
27256
27256
  this.position.copy(c);
@@ -27423,7 +27423,7 @@ class kg extends Mg {
27423
27423
  (p = s == null ? void 0 : s.objectFit) != null ? p : "contain",
27424
27424
  r,
27425
27425
  l.image.width / l.image.height
27426
- ), f = zt(...u), m = u.map((g) => g.clone().sub(f)), v = new Eg(m);
27426
+ ), f = jt(...u), m = u.map((g) => g.clone().sub(f)), v = new Eg(m);
27427
27427
  this.position.copy(f), this.geometry = v, this.material = h;
27428
27428
  }).catch((l) => {
27429
27429
  console.error(`Imageplane error ${l == null ? void 0 : l.message}`);
@@ -27458,7 +27458,7 @@ class xg extends Mg {
27458
27458
  d(this, "buttonMesh");
27459
27459
  d(this, "videoTextureMap");
27460
27460
  d(this, "ImageTextureMap");
27461
- this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? dc : a === "withoutText" ? vl : typeof a == "string" ? a : vl)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(zt(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
27461
+ this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? dc : a === "withoutText" ? vl : typeof a == "string" ? a : vl)(), this.videoCoverSrc = o, this.objectFit = r, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(jt(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
27462
27462
  l ? this.addButtonMesh() : this.play(!0);
27463
27463
  }), this.addEventListener("removed", () => {
27464
27464
  this.remove(...this.children);
@@ -27774,7 +27774,7 @@ class Cc {
27774
27774
  }
27775
27775
  get centerPosition() {
27776
27776
  const t = bl(this);
27777
- return zt(...Array.isArray(t) ? t : [t]);
27777
+ return jt(...Array.isArray(t) ? t : [t]);
27778
27778
  }
27779
27779
  get currentConfig() {
27780
27780
  var s, o;
@@ -29302,7 +29302,7 @@ class XM extends YM {
29302
29302
  if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
29303
29303
  return;
29304
29304
  i.updateWorldMatrix(!1, !1);
29305
- const a = i.matrixWorld, l = new se().fromArray(r[0]), c = new se().fromArray(r[2]), h = zt(l, c).add(new se(0, 0, 5e-4)), u = new _s().setPosition(h), f = new _s().makeScale(s, s, s), m = new _s().multiply(a).multiply(u).multiply(f);
29305
+ const a = i.matrixWorld, l = new se().fromArray(r[0]), c = new se().fromArray(r[2]), h = jt(l, c).add(new se(0, 0, 5e-4)), u = new _s().setPosition(h), f = new _s().makeScale(s, s, s), m = new _s().multiply(a).multiply(u).multiply(f);
29306
29306
  m.decompose(o.position, o.quaternion, o.scale);
29307
29307
  const v = o.opacityMesh;
29308
29308
  v && m.decompose(v.position, v.quaternion, v.scale);
@@ -35296,7 +35296,7 @@ let zk = class extends wi {
35296
35296
  };
35297
35297
  const YD = (n) => new zk(n), jk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMx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ax/Edn2uKDEd9BM8tbzxe98IraJJM7CBP98JjHFmR+3vqxOXzmmWceaKU337CxGhqCTUVolIGMabAnhGgUb71iahI7fFf7FIFCb3j/18voiuemdd/Mu/+uE1sQWfeX3MBuyzx5B39P/fRcr4dcAT9p5bxl4zhIgNqgnlRkILKuf1654tIUCk2oLJYbQpr0ZqRrGt30C1tk4FnyQYccray31B3s9UQviG104IUGmZ8mH5v+3qF2w51nn332TzHCsI7KJzEVm6akEVuPhLWGhUeM0CAjvkHmxCM+uCYPD2R0f2Ilt7lB4tMGZ3i7qPqfe+65P6j3X1y5du3aZ3rSefrGjRsvkNxpI80AeTGC0NgGoakvuFYrtvDjD11okBF6m3yjdfze9eM7sbPQIC8sg8detlPdP7XCy8ASOh6IC534Qf126Au6Aq7S+0P9jOJ/f/jhh7dfeeWVN1C4c+cOv5zoxsQgKD7O/OgIT3OLgrrkLAMR9EuQYsXLlWO5ePNMJ25s7Fhv8EIraduDDOJI7kfh6FT98M6Ka/GrLbE0/131X79+/YVXX331+tNPP32b3nt1tGhXP/rooz/ruf9N/YzWQ/2e2c8Cfg7Wz8RC9WkeE8pj/rQltMRH/jXdsdreAEp04mg8u22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==";
35298
35298
  function Ok(n) {
35299
- me(n, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1s88cj8{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1s88cj8{font-size:0.625rem}");
35299
+ me(n, "svelte-ntto16", ".room-label-item.svelte-ntto16{position:absolute;font-size:0.625rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-ntto16{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-ntto16{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}");
35300
35300
  }
35301
35301
  function mf(n) {
35302
35302
  let t, e, i, s, o, r;
@@ -35305,12 +35305,7 @@ function mf(n) {
35305
35305
  t = L("span"), e = De(
35306
35306
  /*content*/
35307
35307
  n[0]
35308
- ), i = $(), s = L("div"), P(t, "class", "room-label-item__text svelte-1s88cj8"), z(t, "background-image", "url(" + jk + ")"), te(
35309
- t,
35310
- "wide",
35311
- /*content*/
35312
- n[0].length > 3
35313
- ), P(s, "class", "room-label-item__bar svelte-1s88cj8");
35308
+ ), i = $(), s = L("div"), P(t, "class", "room-label-item__text svelte-ntto16"), z(t, "background-image", "url(" + jk + ")"), P(s, "class", "room-label-item__bar svelte-ntto16");
35314
35309
  },
35315
35310
  m(a, l) {
35316
35311
  V(a, t, l), j(t, e), V(a, i, l), V(a, s, l), o || (r = we(t, "click", function() {
@@ -35326,12 +35321,6 @@ function mf(n) {
35326
35321
  e,
35327
35322
  /*content*/
35328
35323
  n[0]
35329
- ), l & /*content*/
35330
- 1 && te(
35331
- t,
35332
- "wide",
35333
- /*content*/
35334
- n[0].length > 3
35335
35324
  );
35336
35325
  },
35337
35326
  d(a) {
@@ -35344,7 +35333,7 @@ function Bk(n) {
35344
35333
  n[5] && mf(n);
35345
35334
  return {
35346
35335
  c() {
35347
- t = L("div"), e && e.c(), P(t, "class", "room-label-item svelte-1s88cj8"), z(
35336
+ t = L("div"), e && e.c(), P(t, "class", "room-label-item svelte-ntto16"), z(
35348
35337
  t,
35349
35338
  "z-index",
35350
35339
  /*zIndex*/
@@ -37007,12 +36996,8 @@ class Ci extends Rt {
37007
36996
  Ke.modules.cursor.removeDeleteButton();
37008
36997
  });
37009
36998
  }
37010
- applyObjectMatrixWorld(e) {
37011
- return this.updateMatrixWorld(), Xs(this, e);
37012
- }
37013
- applyObjectQuaternion(e) {
37014
- const i = this.quaternion.clone();
37015
- return Array.isArray(e) ? e.map((s) => s.clone().applyQuaternion(i)) : e.clone().applyQuaternion(i);
36999
+ applyObjectMatrixWorld(e, i) {
37000
+ return i.updateMatrixWorld(), Xs(i, e);
37016
37001
  }
37017
37002
  }
37018
37003
  class jr extends Rt {
@@ -37105,7 +37090,7 @@ class rx extends Dc {
37105
37090
  return this.originObject.polyLineMesh.points;
37106
37091
  }
37107
37092
  }
37108
- function Vt(n) {
37093
+ function zt(n) {
37109
37094
  return Array.isArray(n) ? n.map((t) => [t.x, t.y, t.z]) : [n.x, n.y, n.z];
37110
37095
  }
37111
37096
  function Sc() {
@@ -37132,7 +37117,7 @@ class yf extends Ci {
37132
37117
  }
37133
37118
  get data() {
37134
37119
  return ee(x({}, this.baseData), {
37135
- points: Vt(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
37120
+ points: zt(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
37136
37121
  style: {
37137
37122
  lineColor: new b.Color(this.polyLineMesh.lineColor).getHex(),
37138
37123
  lineWidth: this.polyLineMesh.lineWidth,
@@ -37241,7 +37226,7 @@ class wf extends Ci {
37241
37226
  }
37242
37227
  get data() {
37243
37228
  return ee(x({}, this.baseData), {
37244
- point: Vt(this.applyObjectMatrixWorld(this.pointMesh.position)),
37229
+ point: zt(this.applyObjectMatrixWorld(this.pointMesh.position)),
37245
37230
  style: {
37246
37231
  color: this.pointMesh.color.getHex(),
37247
37232
  size: this.pointMesh.size
@@ -37506,7 +37491,7 @@ class Cf extends Ci {
37506
37491
  }
37507
37492
  get data() {
37508
37493
  return this.updateMatrixWorld(), ee(x({}, this.baseData), {
37509
- points: Vt(this.applyObjectMatrixWorld(this.areaMesh.points)),
37494
+ points: zt(this.applyObjectMatrixWorld(this.areaMesh.points)),
37510
37495
  style: {
37511
37496
  color: this.areaMesh.color.getHex(),
37512
37497
  lineColor: this.areaMesh.lineColor.getHex(),
@@ -37794,8 +37779,8 @@ class Pf extends Ci {
37794
37779
  }
37795
37780
  get data() {
37796
37781
  return ee(x({}, this.baseData), {
37797
- points: Vt(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions)),
37798
- heightPoint: Vt(this.applyObjectMatrixWorld(this.prismMesh.topPosition)),
37782
+ points: zt(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
37783
+ heightPoint: zt(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
37799
37784
  style: {
37800
37785
  color: this.prismMesh.color.getHex(),
37801
37786
  lineWidth: this.prismMesh.lineWidth,
@@ -37929,13 +37914,6 @@ class ep extends Lc {
37929
37914
  get color() {
37930
37915
  return this.meshFont.material.color;
37931
37916
  }
37932
- /**
37933
- * @description: 构造矩形所需的三个点
37934
- */
37935
- get builtPoints() {
37936
- var e, i;
37937
- return (i = (e = this.meshFont) == null ? void 0 : e.geometry) == null ? void 0 : i.points.slice(0, 3);
37938
- }
37939
37917
  setPoints(e) {
37940
37918
  const i = e.map(Ne).filter(xe);
37941
37919
  if (i.length < 3) {
@@ -37980,7 +37958,7 @@ class gr extends ep {
37980
37958
  }
37981
37959
  }
37982
37960
  function tp(n, t) {
37983
- const e = fn(n), i = zt(...n), s = t.clone().sub(i);
37961
+ const e = fn(n), i = jt(...n), s = t.clone().sub(i);
37984
37962
  return e.dot(s) >= 0 ? n : n.slice().reverse();
37985
37963
  }
37986
37964
  class If extends Ci {
@@ -37996,7 +37974,7 @@ class If extends Ci {
37996
37974
  }
37997
37975
  get data() {
37998
37976
  return ee(x({}, this.baseData), {
37999
- points: this.rectangleMesh.builtPoints.map((e) => e.toArray()),
37977
+ points: zt(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
38000
37978
  style: {
38001
37979
  color: this.rectangleMesh.color.getHex(),
38002
37980
  opacity: this.rectangleMesh.opacity,
@@ -38191,8 +38169,8 @@ class Ef extends Ci {
38191
38169
  }
38192
38170
  get data() {
38193
38171
  return ee(x({}, this.baseData), {
38194
- center: Vt(this.applyObjectMatrixWorld(this.circleMesh.center)),
38195
- normal: Vt(this.applyObjectQuaternion(this.circleMesh.normal)),
38172
+ center: zt(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
38173
+ normal: zt(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
38196
38174
  radius: this.circleMesh.radius,
38197
38175
  style: {
38198
38176
  color: this.circleMesh.color.getHex()
@@ -38362,8 +38340,8 @@ class Mf extends Ci {
38362
38340
  }
38363
38341
  get data() {
38364
38342
  return ee(x({}, this.baseData), {
38365
- bottomCenter: Vt(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter)),
38366
- topCenter: Vt(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter)),
38343
+ bottomCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
38344
+ topCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
38367
38345
  radius: this.cylinderMesh.radius,
38368
38346
  style: {
38369
38347
  color: this.cylinderMesh.color.getHex()
@@ -38517,7 +38495,7 @@ class Sl extends is {
38517
38495
  this._geometryInfoCache = void 0;
38518
38496
  return;
38519
38497
  }
38520
- const s = zt(...e), o = i.clone().sub(e[0]), r = s.clone().add(o.clone().divideScalar(2));
38498
+ const s = jt(...e), o = i.clone().sub(e[0]), r = s.clone().add(o.clone().divideScalar(2));
38521
38499
  this._geometryInfoCache = { center: r };
38522
38500
  }
38523
38501
  return this._geometryInfoCache;
@@ -38536,8 +38514,8 @@ class kf extends Ci {
38536
38514
  }
38537
38515
  get data() {
38538
38516
  return ee(x({}, this.baseData), {
38539
- points: Vt(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions)),
38540
- heightPoint: Vt(this.applyObjectMatrixWorld(this.boxMesh.topPosition)),
38517
+ points: zt(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
38518
+ heightPoint: zt(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
38541
38519
  style: {
38542
38520
  color: this.boxMesh.color.getHex(),
38543
38521
  opacity: this.boxMesh.opacity,
@@ -38570,7 +38548,7 @@ function lp(n, t, e) {
38570
38548
  }
38571
38549
  const r = new gr(n.style);
38572
38550
  o.add(r), yield jc(r, t, e), o.remove(r), n.setPoints({ points: r.points });
38573
- const a = new Yt(), l = fn(n.bottomPositions), c = zt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(10)), u = c.clone().sub(l.clone().multiplyScalar(10));
38551
+ const a = new Yt(), l = fn(n.bottomPositions), c = jt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(10)), u = c.clone().sub(l.clone().multiplyScalar(10));
38574
38552
  a.setPoints([h, u]), o.add(a), t.enable();
38575
38553
  const f = (g) => {
38576
38554
  v(), i();
@@ -38612,7 +38590,7 @@ class xf extends Ci {
38612
38590
  }
38613
38591
  get data() {
38614
38592
  return ee(x({}, this.baseData), {
38615
- points: Vt(this.applyObjectMatrixWorld(this.lineMesh.points)),
38593
+ points: zt(this.applyObjectMatrixWorld(this.lineMesh.points)),
38616
38594
  style: {
38617
38595
  lineColor: new b.Color(this.lineMesh.color).getHex(),
38618
38596
  lineWidth: this.lineMesh.lineWidth,
@@ -39307,7 +39285,7 @@ export {
39307
39285
  pD as PanoMeasurePlugin,
39308
39286
  Jn as PanoMeasurePluginLine,
39309
39287
  Wm as PanoMeasurePluginModel,
39310
- Ot as PanoMeasurePluginPoint,
39288
+ Bt as PanoMeasurePluginPoint,
39311
39289
  qn as PanoMeasurePluginPolyline,
39312
39290
  cD as PanoRulerPlugin,
39313
39291
  dD as PanoRulerProPlugin,