@realsee/dnalogel 3.53.3 → 3.53.4

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
@@ -9,7 +9,7 @@ var ya = (n, t, e) => t in n ? fp(n, t, { enumerable: !0, configurable: !0, writ
9
9
  for (var e of Eo(t))
10
10
  Rc.call(t, e) && ya(n, e, t[e]);
11
11
  return n;
12
- }, ee = (n, t) => mp(n, gp(t));
12
+ }, $ = (n, t) => mp(n, gp(t));
13
13
  var Ji = (n, t) => {
14
14
  var e = {};
15
15
  for (var i in n)
@@ -48,7 +48,7 @@ import Vp from "earcut";
48
48
  import { GLTFLoader as Rp } from "@realsee/five/gltf-loader";
49
49
  function _p() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.53.3",
51
+ "%c %c@realsee/dnalogel %cv3.53.4",
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",
@@ -2392,7 +2392,7 @@ function Pv() {
2392
2392
  lineColor: 3407837,
2393
2393
  opacity: 0.7,
2394
2394
  occlusionVisibility: !0
2395
- }, i = new Yt(ee(x({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Yt(ee(x({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
2395
+ }, i = new Yt($(x({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Yt($(x({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
2396
2396
  return t.add(i, s), t;
2397
2397
  }
2398
2398
  function Iv(n) {
@@ -2533,7 +2533,7 @@ function Wf(n, t = 3) {
2533
2533
  function Sv(n, t) {
2534
2534
  const s = Ut(n).intersectRaycaster(t)[0];
2535
2535
  if (s)
2536
- return ee(x({}, s), { raycaster: t, isVirtual: !1 });
2536
+ return $(x({}, s), { raycaster: t, isVirtual: !1 });
2537
2537
  }
2538
2538
  const qc = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, Tv = new b.Vector3(), En = () => !1;
2539
2539
  class Fl extends ct {
@@ -2707,7 +2707,7 @@ class Fl extends ct {
2707
2707
  autoFixPCPosition: this.mode === "cursor",
2708
2708
  initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
2709
2709
  };
2710
- this.pointSelectorHelper = new Gf(this.five, ee(x({}, i == null ? void 0 : i.helper), {
2710
+ this.pointSelectorHelper = new Gf(this.five, $(x({}, i == null ? void 0 : i.helper), {
2711
2711
  magnifierParams: x(x({}, o), (l = i == null ? void 0 : i.helper) == null ? void 0 : l.magnifierParams)
2712
2712
  })), this.pointSelectorHelper.hide();
2713
2713
  }
@@ -3903,7 +3903,7 @@ class Js {
3903
3903
  s && (e ? s.add(i) : s.remove(i));
3904
3904
  });
3905
3905
  d(this, "createObject", (t, e) => {
3906
- const i = new sm(ee(x({ cornerPoints: t }, e), { style: e.wrapperStyle }));
3906
+ const i = new sm($(x({ cornerPoints: t }, e), { style: e.wrapperStyle }));
3907
3907
  return i.element.classList.add(`${rl}__container`), i.element.id = `${rl}__container--${i.uuid}`, i;
3908
3908
  });
3909
3909
  t && this.setScene(t);
@@ -4135,7 +4135,7 @@ let m0 = class extends Js {
4135
4135
  return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
4136
4136
  })(), { autoRender: o } = s;
4137
4137
  s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
4138
- const r = this.create3DElement(this.five.camera, e, ee(x({}, s), { autoRender: !1 }));
4138
+ const r = this.create3DElement(this.five.camera, e, $(x({}, s), { autoRender: !1 }));
4139
4139
  if (!r)
4140
4140
  return;
4141
4141
  const a = r.dispose;
@@ -4149,7 +4149,7 @@ let m0 = class extends Js {
4149
4149
  }, c = () => {
4150
4150
  r.css3DObject.mode === "front" && l(), r.css3DObject.mode === "behind" && un(this.five).then(() => l());
4151
4151
  };
4152
- return o && c(), ee(x({}, r), { render: o ? void 0 : c });
4152
+ return o && c(), $(x({}, r), { render: o ? void 0 : c });
4153
4153
  });
4154
4154
  this.five = e;
4155
4155
  }
@@ -4387,7 +4387,7 @@ function Fe(n) {
4387
4387
  function De(n) {
4388
4388
  return document.createTextNode(n);
4389
4389
  }
4390
- function $() {
4390
+ function ee() {
4391
4391
  return De(" ");
4392
4392
  }
4393
4393
  function Ee() {
@@ -4937,7 +4937,7 @@ function S0(n) {
4937
4937
  ), s, o, r, a, l;
4938
4938
  return {
4939
4939
  c() {
4940
- t = L("div"), e = L("span"), s = De(i), o = $(), r = L("div"), P(e, "class", "room-label-item__text svelte-1d7uzh5"), z(e, "background-image", "url(" + x0 + ")"), te(
4940
+ t = L("div"), e = L("span"), s = De(i), o = ee(), r = L("div"), P(e, "class", "room-label-item__text svelte-1d7uzh5"), z(e, "background-image", "url(" + x0 + ")"), te(
4941
4941
  e,
4942
4942
  "wide",
4943
4943
  /*roomLabel*/
@@ -5458,7 +5458,7 @@ function eA(n, t, e) {
5458
5458
  }
5459
5459
  return o.map((E) => {
5460
5460
  const S = c(E), T = S ? h(E, w) : E.transform, W = C(E), H = o.filter((G) => G.visible && C(G) < W).length * 10;
5461
- return ee(x({}, E), { visible: S, transform: T, zIndex: H });
5461
+ return $(x({}, E), { visible: S, transform: T, zIndex: H });
5462
5462
  });
5463
5463
  }
5464
5464
  function f() {
@@ -5708,7 +5708,7 @@ function cA(n) {
5708
5708
  let t, e, i, s;
5709
5709
  return {
5710
5710
  c() {
5711
- t = L("div"), e = new tr(!1), i = $(), s = new tr(!1), e.a = i, s.a = null, P(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
5711
+ t = L("div"), e = new tr(!1), i = ee(), s = new tr(!1), e.a = i, s.a = null, P(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
5712
5712
  },
5713
5713
  m(o, r) {
5714
5714
  V(o, t, r), e.m(
@@ -5909,7 +5909,7 @@ function bA(n) {
5909
5909
  );
5910
5910
  return {
5911
5911
  c() {
5912
- t = L("div"), a && a.c(), e = $(), l && l.c(), i = $(), c && c.c(), s = Ee(), P(t, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), z(
5912
+ t = L("div"), a && a.c(), e = ee(), l && l.c(), i = ee(), c && c.c(), s = Ee(), P(t, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), z(
5913
5913
  t,
5914
5914
  "opacity",
5915
5915
  /*level1_labelVisible*/
@@ -6568,7 +6568,7 @@ function Ah(n, t) {
6568
6568
  key: n,
6569
6569
  first: null,
6570
6570
  c() {
6571
- e = L("div"), i = L("div"), o = De(s), r = $(), P(i, "class", "floorplan-plugin__rule-text svelte-1fuyezq"), te(
6571
+ e = L("div"), i = L("div"), o = De(s), r = ee(), P(i, "class", "floorplan-plugin__rule-text svelte-1fuyezq"), te(
6572
6572
  i,
6573
6573
  "is-row",
6574
6574
  /*isRow*/
@@ -6622,10 +6622,10 @@ function DA(n) {
6622
6622
  }
6623
6623
  return {
6624
6624
  c() {
6625
- t = L("div"), e = L("div"), i = $(), s = L("div");
6625
+ t = L("div"), e = L("div"), i = ee(), s = L("div");
6626
6626
  for (let v = 0; v < u.length; v += 1)
6627
6627
  u[v].c();
6628
- o = $(), r = L("div");
6628
+ o = ee(), r = L("div");
6629
6629
  for (let v = 0; v < a.length; v += 1)
6630
6630
  a[v].c();
6631
6631
  P(e, "class", "floorplan-plugin__rule-line svelte-1fuyezq"), P(s, "class", "floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"), te(
@@ -6999,7 +6999,7 @@ function HA(n) {
6999
6999
  let t, e, i, s, o, r;
7000
7000
  return {
7001
7001
  c() {
7002
- t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("path"), o = $(), r = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(
7002
+ t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("path"), o = ee(), r = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(
7003
7003
  i,
7004
7004
  "width",
7005
7005
  /*width*/
@@ -7070,7 +7070,7 @@ function WA(n) {
7070
7070
  let t, e, i, s, o, r, a, l, c, h, u;
7071
7071
  return {
7072
7072
  c() {
7073
- t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("pattern"), o = Fe("rect"), r = $(), a = Fe("path"), l = $(), c = Fe("path"), h = $(), u = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(i, "width", "6"), P(i, "height", "50"), P(i, "fill", "none"), P(i, "stroke", "#4B4B57"), P(i, "stroke-width", "0.5"), P(e, "id", "room-material-pattern-1"), P(e, "x", "0"), P(e, "y", "0"), P(e, "width", "12"), P(e, "height", "50"), P(e, "patternUnits", "userSpaceOnUse"), P(e, "patternTransform", "scale(50 50)"), P(o, "x", "0"), P(o, "y", "0"), P(o, "width", "6"), P(o, "height", "50"), P(o, "fill", "none"), P(o, "stroke", "#4B4B57"), P(o, "stroke-width", "0.5"), P(s, "id", "room-material-pattern-2"), P(s, "x", "6"), P(s, "y", "25"), P(s, "width", "12"), P(s, "height", "50"), P(s, "patternUnits", "userSpaceOnUse"), P(s, "patternTransform", "scale(50 50)"), P(
7073
+ t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("pattern"), o = Fe("rect"), r = ee(), a = Fe("path"), l = ee(), c = Fe("path"), h = ee(), u = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(i, "width", "6"), P(i, "height", "50"), P(i, "fill", "none"), P(i, "stroke", "#4B4B57"), P(i, "stroke-width", "0.5"), P(e, "id", "room-material-pattern-1"), P(e, "x", "0"), P(e, "y", "0"), P(e, "width", "12"), P(e, "height", "50"), P(e, "patternUnits", "userSpaceOnUse"), P(e, "patternTransform", "scale(50 50)"), P(o, "x", "0"), P(o, "y", "0"), P(o, "width", "6"), P(o, "height", "50"), P(o, "fill", "none"), P(o, "stroke", "#4B4B57"), P(o, "stroke-width", "0.5"), P(s, "id", "room-material-pattern-2"), P(s, "x", "6"), P(s, "y", "25"), P(s, "width", "12"), P(s, "height", "50"), P(s, "patternUnits", "userSpaceOnUse"), P(s, "patternTransform", "scale(50 50)"), P(
7074
7074
  a,
7075
7075
  "d",
7076
7076
  /*d*/
@@ -7327,7 +7327,7 @@ function $A(n, t, e) {
7327
7327
  "floorIndex" in l && e(3, s = l.floorIndex), "floorplanData" in l && e(4, o = l.floorplanData);
7328
7328
  }, n.$$.update = () => {
7329
7329
  n.$$.dirty & /*floorplanData, floorIndex*/
7330
- 24 && e(0, i = o.floorDatas[s].rooms.map((l) => ee(x({}, l), {
7330
+ 24 && e(0, i = o.floorDatas[s].rooms.map((l) => $(x({}, l), {
7331
7331
  path: l.path.map((c) => km(c, o.bounding))
7332
7332
  })));
7333
7333
  }, [i, r, a, s, o];
@@ -7661,7 +7661,7 @@ function cb(n) {
7661
7661
  );
7662
7662
  return {
7663
7663
  c() {
7664
- t = L("div"), e = L("img"), s = $(), o && o.c(), P(e, "class", "image"), P(e, "alt", "缺省楼层展位图"), ht(e.src, i = /*missingFloorConfig*/
7664
+ t = L("div"), e = L("img"), s = ee(), o && o.c(), P(e, "class", "image"), P(e, "alt", "缺省楼层展位图"), ht(e.src, i = /*missingFloorConfig*/
7665
7665
  n[0].imageURL) || P(e, "src", i), z(
7666
7666
  e,
7667
7667
  "width",
@@ -7827,7 +7827,7 @@ function Ab(n) {
7827
7827
  let t, e, i, s, o;
7828
7828
  return {
7829
7829
  c() {
7830
- t = L("div"), e = L("div"), i = $(), s = L("span"), o = De(
7830
+ t = L("div"), e = L("div"), i = ee(), s = L("span"), o = De(
7831
7831
  /*northDesc*/
7832
7832
  n[0]
7833
7833
  ), P(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), z(e, "background-image", `url(${pb})`), P(s, "class", "floorplan-plugin__compass-text svelte-rpkaro"), P(t, "class", "floorplan-plugin__compass svelte-rpkaro"), z(
@@ -7946,7 +7946,7 @@ function Pb(n) {
7946
7946
  );
7947
7947
  return {
7948
7948
  c() {
7949
- oe(t.$$.fragment), e = $(), m && m.c(), i = $(), oe(s.$$.fragment), o = $(), g && g.c(), r = $(), A && A.c(), a = $(), w && w.c(), l = $(), I && I.c(), c = Ee();
7949
+ oe(t.$$.fragment), e = ee(), m && m.c(), i = ee(), oe(s.$$.fragment), o = ee(), g && g.c(), r = ee(), A && A.c(), a = ee(), w && w.c(), l = ee(), I && I.c(), c = Ee();
7950
7950
  },
7951
7951
  m(C, M) {
7952
7952
  ie(t, C, M), V(C, e, M), m && m.m(C, M), V(C, i, M), ie(s, C, M), V(C, o, M), g && g.m(C, M), V(C, r, M), A && A.m(C, M), V(C, a, M), w && w.m(C, M), V(C, l, M), I && I.m(C, M), V(C, c, M), h = !0;
@@ -9016,7 +9016,7 @@ let Hi = class {
9016
9016
  /**
9017
9017
  * @realsee/dnalogel 版本号
9018
9018
  */
9019
- d(this, "VERSION", "3.53.3");
9019
+ d(this, "VERSION", "3.53.4");
9020
9020
  d(this, "NAME");
9021
9021
  d(this, "five");
9022
9022
  d(this, "workUtil");
@@ -9382,7 +9382,7 @@ let Wb = class extends wi {
9382
9382
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
9383
9383
  getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
9384
9384
  getRuleDistanceText: (u) => u.toString()
9385
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9385
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9386
9386
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
9387
9387
  }
9388
9388
  load(e, i, s = !0) {
@@ -9434,8 +9434,8 @@ let Wb = class extends wi {
9434
9434
  }
9435
9435
  updateState(e, i) {
9436
9436
  var a;
9437
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9438
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9437
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9438
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9439
9439
  }
9440
9440
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
9441
9441
  *
@@ -9464,7 +9464,7 @@ let Wb = class extends wi {
9464
9464
  render(e) {
9465
9465
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
9466
9466
  return;
9467
- const i = ee(x({}, this.state.config), {
9467
+ const i = $(x({}, this.state.config), {
9468
9468
  visible: this.state.visible,
9469
9469
  duration: e != null ? e : 0,
9470
9470
  panoIndex: this.panoIndex,
@@ -9717,7 +9717,7 @@ let Xb = class extends wi {
9717
9717
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
9718
9718
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
9719
9719
  getRuleDistanceText: (h) => h.toString()
9720
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9720
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9721
9721
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), un(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
9722
9722
  }
9723
9723
  load(e, i, s = !0) {
@@ -9777,8 +9777,8 @@ let Xb = class extends wi {
9777
9777
  }
9778
9778
  updateState(e, i) {
9779
9779
  var a;
9780
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9781
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9780
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9781
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9782
9782
  }
9783
9783
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
9784
9784
  *
@@ -9807,7 +9807,7 @@ let Xb = class extends wi {
9807
9807
  render(e) {
9808
9808
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
9809
9809
  return;
9810
- const i = ee(x({}, this.state.config), {
9810
+ const i = $(x({}, this.state.config), {
9811
9811
  visible: this.state.visible,
9812
9812
  duration: e != null ? e : 0,
9813
9813
  panoIndex: this.panoIndex,
@@ -9946,7 +9946,7 @@ let Zb = class extends wi {
9946
9946
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
9947
9947
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
9948
9948
  getRuleDistanceText: (h) => h.toString()
9949
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9949
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9950
9950
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
9951
9951
  }
9952
9952
  load(e, i, s = !0) {
@@ -10049,8 +10049,8 @@ let Zb = class extends wi {
10049
10049
  }
10050
10050
  updateState(e, i) {
10051
10051
  var a;
10052
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
10053
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10052
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
10053
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10054
10054
  }
10055
10055
  addEventListener() {
10056
10056
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -10080,7 +10080,7 @@ let Zb = class extends wi {
10080
10080
  render(e) {
10081
10081
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
10082
10082
  return;
10083
- const i = ee(x({}, this.state.config), {
10083
+ const i = $(x({}, this.state.config), {
10084
10084
  visible: this.state.visible,
10085
10085
  duration: e != null ? e : 0,
10086
10086
  panoIndex: this.panoIndex,
@@ -10238,7 +10238,7 @@ function _h(n, t) {
10238
10238
  key: n,
10239
10239
  first: null,
10240
10240
  c() {
10241
- e = L("div"), i = L("div"), r = $(), P(i, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), z(i, "background-image", `url(${/*extraObject*/
10241
+ e = L("div"), i = L("div"), r = ee(), P(i, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), z(i, "background-image", `url(${/*extraObject*/
10242
10242
  t[1].icon.url})`), z(i, "width", s), z(i, "height", o), P(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), z(e, "top", a), z(e, "left", l), this.first = e;
10243
10243
  },
10244
10244
  m(c, h) {
@@ -10345,7 +10345,7 @@ function r1(n) {
10345
10345
  );
10346
10346
  return {
10347
10347
  c() {
10348
- oe(t.$$.fragment), e = $(), oe(i.$$.fragment), s = $(), c && c.c(), o = Ee();
10348
+ oe(t.$$.fragment), e = ee(), oe(i.$$.fragment), s = ee(), c && c.c(), o = Ee();
10349
10349
  },
10350
10350
  m(h, u) {
10351
10351
  ie(t, h, u), V(h, e, u), ie(i, h, u), V(h, s, u), c && c.m(h, u), V(h, o, u), r = !0;
@@ -10688,7 +10688,7 @@ function Hh(n) {
10688
10688
  u = vt(u, h[f]);
10689
10689
  return s = new e1({ props: u }), {
10690
10690
  c() {
10691
- t = L("div"), oe(e.$$.fragment), i = $(), oe(s.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", o), z(t, "height", r);
10691
+ t = L("div"), oe(e.$$.fragment), i = ee(), oe(s.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", o), z(t, "height", r);
10692
10692
  },
10693
10693
  m(f, m) {
10694
10694
  V(f, t, m), ie(e, t, null), j(t, i), ie(s, t, null), a = !0;
@@ -10986,7 +10986,7 @@ let g1 = class extends wi {
10986
10986
  }
10987
10987
  updateState(e, i) {
10988
10988
  const s = this.state, o = e.config ? x(x({}, s.config), e.config) : s.config;
10989
- this.state = ee(x(x({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10989
+ this.state = $(x(x({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10990
10990
  }
10991
10991
  render() {
10992
10992
  if (this.disposed || !this.state.enabled)
@@ -10997,7 +10997,7 @@ let g1 = class extends wi {
10997
10997
  }
10998
10998
  if (!this.data || !this.wrapper)
10999
10999
  return;
11000
- const e = ee(x({}, this.state.config), {
11000
+ const e = $(x({}, this.state.config), {
11001
11001
  five: this.five,
11002
11002
  floorplanData: this.data,
11003
11003
  visible: this.state.visible,
@@ -11841,7 +11841,7 @@ function T1(n) {
11841
11841
  let v = m(n), p = v(n);
11842
11842
  return {
11843
11843
  c() {
11844
- t = L("div"), p.c(), e = $(), i = L("div"), s = L("div"), r = De(o), P(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), et(() => (
11844
+ t = L("div"), p.c(), e = ee(), i = L("div"), s = L("div"), r = De(o), P(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), et(() => (
11845
11845
  /*div0_elementresize_handler*/
11846
11846
  n[4].call(s)
11847
11847
  )), P(i, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), z(i, "left", l), P(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), z(t, "width", c), z(t, "left", h), z(t, "top", u), z(t, "transform", f), z(
@@ -12547,7 +12547,7 @@ class Rm {
12547
12547
  class iy extends Rm {
12548
12548
  constructor(e) {
12549
12549
  var i;
12550
- e.contentStyle = ee(x({}, e.contentStyle), {
12550
+ e.contentStyle = $(x({}, e.contentStyle), {
12551
12551
  background: "rgba(195,195,195,0.70)",
12552
12552
  border: "0.5px solid rgba(255,255,255,0.6)",
12553
12553
  borderRadius: "999px"
@@ -12702,7 +12702,7 @@ let xr = class {
12702
12702
  });
12703
12703
  });
12704
12704
  var i, s, o;
12705
- 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), {
12705
+ 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 = $(x({}, t.pointSelectorConfig), {
12706
12706
  helper: x({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
12707
12707
  }), 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";
12708
12708
  const e = this.five.getElement();
@@ -12985,9 +12985,9 @@ function hy(n) {
12985
12985
  }
12986
12986
  class dy extends Rm {
12987
12987
  constructor(e) {
12988
- e.containerStyle = ee(x({}, e.containerStyle), {
12988
+ e.containerStyle = $(x({}, e.containerStyle), {
12989
12989
  zIndex: "1"
12990
- }), e.contentStyle = ee(x({}, e.contentStyle), {
12990
+ }), e.contentStyle = $(x({}, e.contentStyle), {
12991
12991
  background: "#6386FF",
12992
12992
  borderRadius: "2px"
12993
12993
  });
@@ -13432,7 +13432,7 @@ class Si extends xr {
13432
13432
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
13433
13433
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
13434
13434
  }
13435
- }).appendTo(this.container), this.pointSelector = new Fl(this.five, ee(x({}, this.pointSelectorConfig), {
13435
+ }).appendTo(this.container), this.pointSelector = new Fl(this.five, $(x({}, this.pointSelectorConfig), {
13436
13436
  mode: this.editParams.pointSelectorMode,
13437
13437
  helper: x({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
13438
13438
  })), this.pointSelector.enable(), this.polyline = new qn({ model: this.model }), this.area = new fl(void 0, {
@@ -14567,7 +14567,7 @@ function ad(n) {
14567
14567
  }
14568
14568
  return {
14569
14569
  c() {
14570
- t = L("div"), e = L("div"), h && h.c(), i = $(), o = De(s), r = $(), P(e, "class", "content svelte-1v1ixi2"), P(t, "class", "button svelte-1v1ixi2"), te(
14570
+ t = L("div"), e = L("div"), h && h.c(), i = ee(), o = De(s), r = ee(), P(e, "class", "content svelte-1v1ixi2"), P(t, "class", "button svelte-1v1ixi2"), te(
14571
14571
  t,
14572
14572
  "active",
14573
14573
  /*activeIndex*/
@@ -14610,7 +14610,7 @@ function Ry(n) {
14610
14610
  l[c] = ad(sd(n, a, c));
14611
14611
  return {
14612
14612
  c() {
14613
- t = L("div"), e = L("div"), i = $(), r && r.c(), s = $(), o = L("div");
14613
+ t = L("div"), e = L("div"), i = ee(), r && r.c(), s = ee(), o = L("div");
14614
14614
  for (let c = 0; c < l.length; c += 1)
14615
14615
  l[c].c();
14616
14616
  P(e, "class", "Switcher-bg svelte-1v1ixi2"), P(o, "class", "Switcher-buttons svelte-1v1ixi2"), te(o, "has-divider", !/*activeButton*/
@@ -14805,7 +14805,7 @@ function dd(n) {
14805
14805
  ), f, m, v;
14806
14806
  return {
14807
14807
  c() {
14808
- t = L("div"), e = L("div"), i = L("div"), s = $(), r = De(o), a = $(), l = L("div"), c = L("div"), h = $(), f = De(u), P(i, "class", "icon svelte-468fdd"), z(i, "background-image", `url(${Jm})`), P(e, "class", "button svelte-468fdd"), te(e, "forbid", !/*canRevoke*/
14808
+ t = L("div"), e = L("div"), i = L("div"), s = ee(), r = De(o), a = ee(), l = L("div"), c = L("div"), h = ee(), f = De(u), P(i, "class", "icon svelte-468fdd"), z(i, "background-image", `url(${Jm})`), P(e, "class", "button svelte-468fdd"), te(e, "forbid", !/*canRevoke*/
14809
14809
  n[3]), P(c, "class", "icon svelte-468fdd"), z(c, "background-image", `url(${qm})`), P(l, "class", "button svelte-468fdd"), P(t, "class", "buttons svelte-468fdd");
14810
14810
  },
14811
14811
  m(p, g) {
@@ -14878,7 +14878,7 @@ function Wy(n) {
14878
14878
  n[4] !== void 0 && (p.setIndex = /*setSwitcherActiveIndex*/
14879
14879
  n[4]), c = new Fy({ props: p }), We.push(() => ec(c, "setIndex", v)), {
14880
14880
  c() {
14881
- t = L("div"), f && f.c(), e = $(), i = L("div"), s = L("div"), o = $(), r = L("div"), m && m.c(), a = $(), l = L("div"), oe(c.$$.fragment), P(s, "class", "mask svelte-468fdd"), P(l, "class", "mode-switcher svelte-468fdd"), P(r, "class", "center svelte-468fdd"), P(i, "class", "bottom svelte-468fdd"), P(t, "class", "Measure-Controller svelte-468fdd");
14881
+ t = L("div"), f && f.c(), e = ee(), i = L("div"), s = L("div"), o = ee(), r = L("div"), m && m.c(), a = ee(), l = L("div"), oe(c.$$.fragment), P(s, "class", "mask svelte-468fdd"), P(l, "class", "mode-switcher svelte-468fdd"), P(r, "class", "center svelte-468fdd"), P(i, "class", "bottom svelte-468fdd"), P(t, "class", "Measure-Controller svelte-468fdd");
14882
14882
  },
14883
14883
  m(g, A) {
14884
14884
  V(g, t, A), f && f.m(t, null), j(t, e), j(t, i), j(i, s), j(i, o), j(i, r), m && m.m(r, null), j(r, a), j(r, l), ie(c, l, null), u = !0;
@@ -15051,7 +15051,7 @@ function md(n) {
15051
15051
  }
15052
15052
  return {
15053
15053
  c() {
15054
- t = L("div"), e = L("div"), h && h.c(), i = $(), o = De(s), r = $(), P(e, "class", "content svelte-1mfj5mk"), P(t, "class", "button svelte-1mfj5mk"), te(
15054
+ t = L("div"), e = L("div"), h && h.c(), i = ee(), o = De(s), r = ee(), P(e, "class", "content svelte-1mfj5mk"), P(t, "class", "button svelte-1mfj5mk"), te(
15055
15055
  t,
15056
15056
  "active",
15057
15057
  /*activeIndex*/
@@ -15091,7 +15091,7 @@ function Zy(n) {
15091
15091
  r[a] = md(ud(n, o, a));
15092
15092
  return {
15093
15093
  c() {
15094
- t = L("div"), e = L("div"), i = $(), s = L("div");
15094
+ t = L("div"), e = L("div"), i = ee(), s = L("div");
15095
15095
  for (let a = 0; a < r.length; a += 1)
15096
15096
  r[a].c();
15097
15097
  P(e, "class", "highlight svelte-1mfj5mk"), z(
@@ -15395,7 +15395,7 @@ function Ad(n) {
15395
15395
  ), o, r, a, l, c;
15396
15396
  return {
15397
15397
  c() {
15398
- t = L("div"), e = L("div"), i = $(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${Jm})`), P(t, "class", "button svelte-ldjbp8"), te(
15398
+ t = L("div"), e = L("div"), i = ee(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${Jm})`), P(t, "class", "button svelte-ldjbp8"), te(
15399
15399
  t,
15400
15400
  "forbid",
15401
15401
  /*buttonState*/
@@ -15441,7 +15441,7 @@ function bd(n) {
15441
15441
  ), o, r, a, l, c;
15442
15442
  return {
15443
15443
  c() {
15444
- t = L("div"), e = L("div"), i = $(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${qm})`), P(t, "class", "button svelte-ldjbp8");
15444
+ t = L("div"), e = L("div"), i = ee(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${qm})`), P(t, "class", "button svelte-ldjbp8");
15445
15445
  },
15446
15446
  m(h, u) {
15447
15447
  V(h, t, u), j(t, e), j(t, i), j(t, o), a = !0, l || (c = we(
@@ -15509,7 +15509,7 @@ function nw(n) {
15509
15509
  );
15510
15510
  return {
15511
15511
  c() {
15512
- t = L("div"), v && v.c(), e = $(), i = L("div"), s = L("div"), o = $(), r = L("div"), p && p.c(), a = $(), l = L("div"), g && g.c(), c = $(), h = L("div"), oe(u.$$.fragment), f = $(), A && A.c(), P(s, "class", "mask svelte-ldjbp8"), P(h, "class", "main-button svelte-ldjbp8"), te(h, "forbid", !/*allowAddPoint*/
15512
+ t = L("div"), v && v.c(), e = ee(), i = L("div"), s = L("div"), o = ee(), r = L("div"), p && p.c(), a = ee(), l = L("div"), g && g.c(), c = ee(), h = L("div"), oe(u.$$.fragment), f = ee(), A && A.c(), P(s, "class", "mask svelte-ldjbp8"), P(h, "class", "main-button svelte-ldjbp8"), te(h, "forbid", !/*allowAddPoint*/
15513
15513
  n[5]), P(l, "class", "controller svelte-ldjbp8"), P(r, "class", "center svelte-ldjbp8"), P(i, "class", "bottom svelte-ldjbp8"), P(t, "class", "Measure-Controller svelte-ldjbp8");
15514
15514
  },
15515
15515
  m(w, I) {
@@ -16295,7 +16295,7 @@ function Cw(n) {
16295
16295
  let t, e, i, s, o, r, a, l, c, h, u, f, m, v, p;
16296
16296
  return {
16297
16297
  c() {
16298
- t = L("div"), e = L("div"), i = $(), s = L("div"), o = L("i"), r = $(), a = L("i"), l = $(), c = L("i"), h = $(), u = L("div"), f = L("div"), P(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), z(e, "transform", "translate(" + /*contentWidth*/
16298
+ t = L("div"), e = L("div"), i = ee(), s = L("div"), o = L("i"), r = ee(), a = L("i"), l = ee(), c = L("i"), h = ee(), u = L("div"), f = L("div"), P(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), z(e, "transform", "translate(" + /*contentWidth*/
16299
16299
  n[7] / 2 * /*contentZoom*/
16300
16300
  n[3] * 3 + "px, " + /*contentHeight*/
16301
16301
  n[8] / 2 * /*upsideDown*/
@@ -16905,7 +16905,7 @@ function zw(n) {
16905
16905
  ), o, r, a, l, c, h;
16906
16906
  return {
16907
16907
  c() {
16908
- t = L("div"), e = L("div"), i = L("span"), o = De(s), r = $(), a = L("div"), P(i, "class", "item-label-item__text svelte-1wufped"), P(e, "class", "item-label-item__text-wrap svelte-1wufped"), z(e, "top", `-${/*itemLabel*/
16908
+ t = L("div"), e = L("div"), i = L("span"), o = De(s), r = ee(), a = L("div"), P(i, "class", "item-label-item__text svelte-1wufped"), P(e, "class", "item-label-item__text-wrap svelte-1wufped"), z(e, "top", `-${/*itemLabel*/
16909
16909
  n[0].strokeLength + 26}px`), P(a, "class", "item-label-item__bar svelte-1wufped"), z(a, "height", `${/*itemLabel*/
16910
16910
  n[0].strokeLength}px`), P(t, "class", l = $e(Tt("item-label-item", { visible: (
16911
16911
  /*itemLabel*/
@@ -17135,10 +17135,10 @@ function _w(n, t, e) {
17135
17135
  const _ = U.map((Z) => {
17136
17136
  const J = A(N, Z), ae = Z.name.length * Rw, re = C(Z.modelPosition[1], c), ve = (r ? g(N, Z) : !0) && !I([J[0], J[1] + re], ae);
17137
17137
  if (!ve)
17138
- return ee(x({}, Z), { visible: ve });
17138
+ return $(x({}, Z), { visible: ve });
17139
17139
  v.push(J);
17140
17140
  const ge = w(J);
17141
- return ee(x({}, Z), {
17141
+ return $(x({}, Z), {
17142
17142
  visible: ve,
17143
17143
  transform: ge,
17144
17144
  strokeLength: re
@@ -17149,7 +17149,7 @@ function _w(n, t, e) {
17149
17149
  })).sort((Z, J) => Z.distance - J.distance);
17150
17150
  return _.map((Z) => {
17151
17151
  const J = Y.findIndex((ae) => ae.itemLabelItem.id === Z.id);
17152
- return J !== void 0 ? ee(x({}, Z), { zIndex: J * 10 }) : Z;
17152
+ return J !== void 0 ? $(x({}, Z), { zIndex: J * 10 }) : Z;
17153
17153
  });
17154
17154
  }, E = () => {
17155
17155
  v = [], e(1, u = M(o, u));
@@ -17473,7 +17473,7 @@ function Uw(n) {
17473
17473
  );
17474
17474
  return {
17475
17475
  c() {
17476
- h && h.c(), t = $(), e = L("div"), i = L("span"), o = De(s), r = $(), a = L("span"), c = De(l), P(i, "class", "item-model svelte-1jhufeh"), P(a, "class", "item-name svelte-1jhufeh"), P(e, "class", "item-label-text svelte-1jhufeh");
17476
+ h && h.c(), t = ee(), e = L("div"), i = L("span"), o = De(s), r = ee(), a = L("span"), c = De(l), P(i, "class", "item-model svelte-1jhufeh"), P(a, "class", "item-name svelte-1jhufeh"), P(e, "class", "item-label-text svelte-1jhufeh");
17477
17477
  },
17478
17478
  m(u, f) {
17479
17479
  h && h.m(u, f), V(u, t, f), V(u, e, f), j(e, i), j(i, o), j(e, r), j(e, a), j(a, c);
@@ -17542,7 +17542,7 @@ function Xw(n) {
17542
17542
  let f = u(n, -1), m = f(n);
17543
17543
  return {
17544
17544
  c() {
17545
- t = L("div"), e = L("div"), m.c(), o = $(), r = L("div"), P(e, "class", s = $e(Tt("item-label-item__text-wrap", {
17545
+ t = L("div"), e = L("div"), m.c(), o = ee(), r = L("div"), P(e, "class", s = $e(Tt("item-label-item__text-wrap", {
17546
17546
  "item-label-item__custom": typeof /*itemLabel*/
17547
17547
  n[0].render == "function"
17548
17548
  })) + " svelte-1jhufeh"), z(e, "bottom", `${/*itemLabel*/
@@ -17857,15 +17857,15 @@ function nC(n, t, e) {
17857
17857
  }, C = (U, _) => {
17858
17858
  const Y = _.map((J) => {
17859
17859
  if (U.state.panoIndex !== J.panoIndex)
17860
- return ee(x({}, J), { visible: !1 });
17860
+ return $(x({}, J), { visible: !1 });
17861
17861
  const ae = I(U, J);
17862
17862
  J.name.length * iC;
17863
17863
  const re = Kw(J.modelPosition[1], l), Pe = U.currentMode === pt.Mode.Panorama ? w(new i(J.position[0], J.position[1], J.position[2])) : !0, ve = o ? A(U, J) : !1, ge = Pe && !ve;
17864
17864
  if (!ge)
17865
- return ee(x({}, J), { visible: ge });
17865
+ return $(x({}, J), { visible: ge });
17866
17866
  p.push(ae);
17867
17867
  const Re = $w(ae);
17868
- return ee(x({}, J), {
17868
+ return $(x({}, J), {
17869
17869
  visible: ge,
17870
17870
  transform: Re,
17871
17871
  strokeLength: re
@@ -17876,7 +17876,7 @@ function nC(n, t, e) {
17876
17876
  })).sort((J, ae) => J.distance - ae.distance);
17877
17877
  return Y.map((J) => {
17878
17878
  const ae = Z.findIndex((re) => re.itemLabelItem.id === J.id);
17879
- return ae !== void 0 ? ee(x({}, J), { zIndex: ae * 10 }) : J;
17879
+ return ae !== void 0 ? $(x({}, J), { zIndex: ae * 10 }) : J;
17880
17880
  });
17881
17881
  }, M = () => {
17882
17882
  p = [], e(1, u = C(s, u));
@@ -17918,14 +17918,14 @@ function nC(n, t, e) {
17918
17918
  longitude: Math.PI + Math.atan2(ae.x, ae.z),
17919
17919
  latitude: Math.acos(ae.y / ae.length()) - Math.PI / 2
17920
17920
  };
17921
- s.setState(ee(x({}, re), {
17921
+ s.setState($(x({}, re), {
17922
17922
  mode: pt.Mode.Panorama,
17923
17923
  panoIndex: U.observerIndex
17924
17924
  })), s.once("initAnimationEnded", () => {
17925
- e(1, u = u.map((Pe) => ee(x({}, Pe), {
17925
+ e(1, u = u.map((Pe) => $(x({}, Pe), {
17926
17926
  isFold: Pe.id !== U.id
17927
17927
  }))), s.once("cameraUpdate", () => {
17928
- e(1, u = u.map((Pe) => ee(x({}, Pe), { isFold: !1 })));
17928
+ e(1, u = u.map((Pe) => $(x({}, Pe), { isFold: !1 })));
17929
17929
  });
17930
17930
  });
17931
17931
  }
@@ -17980,7 +17980,7 @@ class sC extends de {
17980
17980
  }
17981
17981
  }
17982
17982
  function oC(n) {
17983
- return n.item_labels.map((t) => ee(x({}, t), {
17983
+ return n.item_labels.map((t) => $(x({}, t), {
17984
17984
  modelPosition: [t.position[0], t.position[1], t.position[2]],
17985
17985
  observerIndex: void 0
17986
17986
  }));
@@ -18073,14 +18073,14 @@ class aC extends Hi {
18073
18073
  * @param options
18074
18074
  */
18075
18075
  enable(e) {
18076
- this.enabled = !0, this.updateState(ee(x({}, e), { userAction: !0 }));
18076
+ this.enabled = !0, this.updateState($(x({}, e), { userAction: !0 }));
18077
18077
  }
18078
18078
  /**
18079
18079
  * 禁用组件
18080
18080
  * @param options
18081
18081
  */
18082
18082
  disable(e) {
18083
- this.enabled = !1, this.updateState(ee(x({}, e), { userAction: !0 }));
18083
+ this.enabled = !1, this.updateState($(x({}, e), { userAction: !0 }));
18084
18084
  }
18085
18085
  /**
18086
18086
  * 显示 UI
@@ -18089,7 +18089,7 @@ class aC extends Hi {
18089
18089
  */
18090
18090
  show(e) {
18091
18091
  if (this.state.enabled)
18092
- return this.setState(ee(x({}, this.state), { visible: !0 }), e), Promise.resolve();
18092
+ return this.setState($(x({}, this.state), { visible: !0 }), e), Promise.resolve();
18093
18093
  }
18094
18094
  /**
18095
18095
  * 隐藏 UI
@@ -18098,7 +18098,7 @@ class aC extends Hi {
18098
18098
  */
18099
18099
  hide(e) {
18100
18100
  if (this.state.enabled)
18101
- return this.setState(ee(x({}, this.state), { visible: !1 }), e), Promise.resolve();
18101
+ return this.setState($(x({}, this.state), { visible: !1 }), e), Promise.resolve();
18102
18102
  }
18103
18103
  /**
18104
18104
  * 销毁对象
@@ -18125,7 +18125,7 @@ class aC extends Hi {
18125
18125
  this.enabled && (this.container = e, this.render());
18126
18126
  }
18127
18127
  updateState(e) {
18128
- this.setState(ee(x({}, this.state), { enabled: this.enabled, visible: this.visible }), e);
18128
+ this.setState($(x({}, this.state), { enabled: this.enabled, visible: this.visible }), e);
18129
18129
  }
18130
18130
  }
18131
18131
  function lC(n) {
@@ -18136,7 +18136,7 @@ function cC(n) {
18136
18136
  return {
18137
18137
  c() {
18138
18138
  t = L("div"), e = L("div"), i = L("span"), i.textContent = `${/*name*/
18139
- n[8]}`, s = $(), o = L("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", r = $e(Tt(
18139
+ n[8]}`, s = ee(), o = L("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", r = $e(Tt(
18140
18140
  "plugin-DoorLabelPlugin-cnt",
18141
18141
  /*props*/
18142
18142
  n[0].toward
@@ -18382,7 +18382,7 @@ class vC extends aC {
18382
18382
  toward: gC(h.rad)
18383
18383
  });
18384
18384
  });
18385
- }), this.labelItems = this.doorLabels.map((r) => ee(x({}, r), {
18385
+ }), this.labelItems = this.doorLabels.map((r) => $(x({}, r), {
18386
18386
  left: 0,
18387
18387
  top: 0,
18388
18388
  visible: !1,
@@ -19535,7 +19535,7 @@ function Ud(n) {
19535
19535
  }
19536
19536
  }), {
19537
19537
  c() {
19538
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), P(s, "class", o = "arrow " + /*direction*/
19538
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), P(s, "class", o = "arrow " + /*direction*/
19539
19539
  n[0] + " svelte-1ogmlqq"), z(s, "background-image", "url(" + Gw + ")"), P(t, "class", "arrow-wrapper svelte-1ogmlqq");
19540
19540
  },
19541
19541
  m(u, f) {
@@ -19763,7 +19763,7 @@ function AP(n) {
19763
19763
  );
19764
19764
  return {
19765
19765
  c() {
19766
- s && s.c(), t = $(), o && o.c(), e = Ee();
19766
+ s && s.c(), t = ee(), o && o.c(), e = Ee();
19767
19767
  },
19768
19768
  m(r, a) {
19769
19769
  s && s.m(r, a), V(r, t, a), o && o.m(r, a), V(r, e, a), i = !0;
@@ -19890,7 +19890,7 @@ function Zd(n) {
19890
19890
  }
19891
19891
  }), {
19892
19892
  c() {
19893
- oe(t.$$.fragment), e = $(), oe(i.$$.fragment), s = $(), o = L("div"), oe(r.$$.fragment), P(o, "class", "content svelte-5hip41");
19893
+ oe(t.$$.fragment), e = ee(), oe(i.$$.fragment), s = ee(), o = L("div"), oe(r.$$.fragment), P(o, "class", "content svelte-5hip41");
19894
19894
  },
19895
19895
  m(f, m) {
19896
19896
  ie(t, f, m), V(f, e, m), ie(i, f, m), V(f, s, m), V(f, o, m), ie(r, o, null), a = !0, l || (c = [
@@ -20096,7 +20096,7 @@ function MP(n) {
20096
20096
  ((r = n[3]) == null ? void 0 : r.placeholder) == "string" && qd(n);
20097
20097
  return {
20098
20098
  c() {
20099
- i && i.c(), t = $(), s && s.c(), e = Ee();
20099
+ i && i.c(), t = ee(), s && s.c(), e = Ee();
20100
20100
  },
20101
20101
  m(a, l) {
20102
20102
  i && i.m(a, l), V(a, t, l), s && s.m(a, l), V(a, e, l);
@@ -20307,7 +20307,7 @@ function Kd(n) {
20307
20307
  );
20308
20308
  return {
20309
20309
  c() {
20310
- oe(t.$$.fragment), e = $(), i = L("div"), s = L("div"), o = L("div"), r = L("div"), oe(a.$$.fragment), l = $(), h && h.c(), P(r, "class", "title svelte-1oxrkr1"), P(o, "class", "plane svelte-1oxrkr1"), P(s, "class", "plane__wrapper svelte-1oxrkr1"), z(
20310
+ oe(t.$$.fragment), e = ee(), i = L("div"), s = L("div"), o = L("div"), r = L("div"), oe(a.$$.fragment), l = ee(), h && h.c(), P(r, "class", "title svelte-1oxrkr1"), P(o, "class", "plane svelte-1oxrkr1"), P(s, "class", "plane__wrapper svelte-1oxrkr1"), z(
20311
20311
  s,
20312
20312
  "transform",
20313
20313
  /*unfolded*/
@@ -20774,7 +20774,7 @@ function iu(n, t) {
20774
20774
  key: n,
20775
20775
  first: null,
20776
20776
  c() {
20777
- e = L("div"), oe(i.$$.fragment), s = $(), P(e, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = e;
20777
+ e = L("div"), oe(i.$$.fragment), s = ee(), P(e, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = e;
20778
20778
  },
20779
20779
  m(a, l) {
20780
20780
  V(a, e, l), ie(i, e, null), j(e, s), o = !0;
@@ -21319,7 +21319,7 @@ function zI({
21319
21319
  head: 0,
21320
21320
  tail: 0
21321
21321
  };
21322
- return ee(x({}, i), {
21322
+ return $(x({}, i), {
21323
21323
  total: i.head + i.tail
21324
21324
  });
21325
21325
  }
@@ -23305,7 +23305,7 @@ function eE(n) {
23305
23305
  );
23306
23306
  return {
23307
23307
  c() {
23308
- t = L("div"), e = L("div"), m && m.c(), i = $(), s = L("div"), o = L("div"), p && p.c(), a = $(), g && g.c(), l = $(), A && A.c(), c = $(), w && w.c(), P(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
23308
+ t = L("div"), e = L("div"), m && m.c(), i = ee(), s = L("div"), o = L("div"), p && p.c(), a = ee(), g && g.c(), l = ee(), A && A.c(), c = ee(), w && w.c(), P(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
23309
23309
  n[8] + "px)"), z(
23310
23310
  o,
23311
23311
  "transition-duration",
@@ -23692,7 +23692,7 @@ function sE(n) {
23692
23692
  let l = a(n), c = l(n);
23693
23693
  return {
23694
23694
  c() {
23695
- c.c(), t = $(), e = L("div"), i = L("div"), s = L("div"), P(s, "class", "video-icon-img svelte-159ski6"), z(s, "background-image", "url(" + /*func*/
23695
+ c.c(), t = ee(), e = L("div"), i = L("div"), s = L("div"), P(s, "class", "video-icon-img svelte-159ski6"), z(s, "background-image", "url(" + /*func*/
23696
23696
  n[21]() + ")"), te(
23697
23697
  s,
23698
23698
  "canPlay",
@@ -24568,7 +24568,7 @@ function Eu(n) {
24568
24568
  );
24569
24569
  return {
24570
24570
  c() {
24571
- oe(t.$$.fragment), e = $(), i = L("div"), oe(s.$$.fragment), o = $(), c && c.c(), r = $(), h && h.c(), a = Ee(), P(i, "class", "line svelte-1f7m1lj");
24571
+ oe(t.$$.fragment), e = ee(), i = L("div"), oe(s.$$.fragment), o = ee(), c && c.c(), r = ee(), h && h.c(), a = Ee(), P(i, "class", "line svelte-1f7m1lj");
24572
24572
  },
24573
24573
  m(u, f) {
24574
24574
  ie(t, u, f), V(u, e, f), V(u, i, f), ie(s, i, null), V(u, o, f), c && c.m(u, f), V(u, r, f), h && h.m(u, f), V(u, a, f), l = !0;
@@ -24793,7 +24793,7 @@ function Tu(n) {
24793
24793
  t = L("div"), e = L("div");
24794
24794
  for (let h = 0; h < a.length; h += 1)
24795
24795
  a[h].c();
24796
- i = $();
24796
+ i = ee();
24797
24797
  for (let h = 0; h < c.length; h += 1)
24798
24798
  c[h].c();
24799
24799
  P(e, "class", "tags svelte-sezqcq"), P(t, "class", "tags-wrapper svelte-sezqcq");
@@ -24902,7 +24902,7 @@ function ju(n) {
24902
24902
  );
24903
24903
  return {
24904
24904
  c() {
24905
- t = L("div"), i && i.c(), e = $(), s && s.c(), P(t, "class", "footer svelte-sezqcq");
24905
+ t = L("div"), i && i.c(), e = ee(), s && s.c(), P(t, "class", "footer svelte-sezqcq");
24906
24906
  },
24907
24907
  m(o, r) {
24908
24908
  V(o, t, r), i && i.m(t, null), j(t, e), s && s.m(t, null);
@@ -24927,7 +24927,7 @@ function Ou(n) {
24927
24927
  );
24928
24928
  return {
24929
24929
  c() {
24930
- t = L("div"), e = L("span"), s = De(i), o = $(), r && r.c(), P(e, "class", "value svelte-sezqcq"), P(t, "class", "price svelte-sezqcq");
24930
+ t = L("div"), e = L("span"), s = De(i), o = ee(), r && r.c(), P(e, "class", "value svelte-sezqcq"), P(t, "class", "price svelte-sezqcq");
24931
24931
  },
24932
24932
  m(a, l) {
24933
24933
  V(a, t, l), j(t, e), j(e, s), j(t, o), r && r.m(t, null);
@@ -24972,7 +24972,7 @@ function Vu(n) {
24972
24972
  ), r, a, l;
24973
24973
  return {
24974
24974
  c() {
24975
- t = L("div"), e = L("div"), i = $(), s = L("span"), r = De(o), a = $(), l = L("div"), l.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', P(e, "class", "gap svelte-sezqcq"), P(s, "class", "text svelte-sezqcq"), P(t, "class", "goto-button goto-icon svelte-sezqcq"), P(l, "class", "arrow-wrapper svelte-sezqcq");
24975
+ t = L("div"), e = L("div"), i = ee(), s = L("span"), r = De(o), a = ee(), l = L("div"), l.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', P(e, "class", "gap svelte-sezqcq"), P(s, "class", "text svelte-sezqcq"), P(t, "class", "goto-button goto-icon svelte-sezqcq"), P(l, "class", "arrow-wrapper svelte-sezqcq");
24976
24976
  },
24977
24977
  m(c, h) {
24978
24978
  V(c, t, h), j(t, e), j(t, i), j(t, s), j(s, r), V(c, a, h), V(c, l, h);
@@ -25020,7 +25020,7 @@ function wE(n) {
25020
25020
  );
25021
25021
  return {
25022
25022
  c() {
25023
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = $(), r = L("div"), A && A.c(), a = $(), l = L("div"), c = L("div"), h = L("div"), f = De(u), m = $(), w && w.c(), v = $(), I && I.c(), P(s, "class", "line svelte-sezqcq"), z(
25023
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = ee(), r = L("div"), A && A.c(), a = ee(), l = L("div"), c = L("div"), h = L("div"), f = De(u), m = ee(), w && w.c(), v = ee(), I && I.c(), P(s, "class", "line svelte-sezqcq"), z(
25024
25024
  s,
25025
25025
  "transition-delay",
25026
25026
  /*unfolded*/
@@ -25440,7 +25440,7 @@ function DE(n) {
25440
25440
  );
25441
25441
  return {
25442
25442
  c() {
25443
- t = L("div"), r && r.c(), e = $(), i = L("div"), s = L("div"), s.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', P(s, "class", "sound-wave__container svelte-srt2pi"), P(i, "class", "audio-icon svelte-srt2pi"), te(
25443
+ t = L("div"), r && r.c(), e = ee(), i = L("div"), s = L("div"), s.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', P(s, "class", "sound-wave__container svelte-srt2pi"), P(i, "class", "audio-icon svelte-srt2pi"), te(
25444
25444
  i,
25445
25445
  "playing",
25446
25446
  /*playing*/
@@ -25620,7 +25620,7 @@ function Nu(n) {
25620
25620
  }
25621
25621
  }), {
25622
25622
  c() {
25623
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = L("div"), r = L("div"), p && p.c(), a = $(), l = L("div"), oe(c.$$.fragment), h = $(), oe(u.$$.fragment), P(r, "class", "audio-icon svelte-1s6gk4a"), z(l, "display", "inline-block"), P(o, "class", "wrapper svelte-1s6gk4a"), P(s, "class", "content svelte-1s6gk4a"), P(t, "class", "audio-tag svelte-1s6gk4a"), te(
25623
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = L("div"), r = L("div"), p && p.c(), a = ee(), l = L("div"), oe(c.$$.fragment), h = ee(), oe(u.$$.fragment), P(r, "class", "audio-icon svelte-1s6gk4a"), z(l, "display", "inline-block"), P(o, "class", "wrapper svelte-1s6gk4a"), P(s, "class", "content svelte-1s6gk4a"), P(t, "class", "audio-tag svelte-1s6gk4a"), te(
25624
25624
  t,
25625
25625
  "unfolded",
25626
25626
  /*unfolded*/
@@ -25737,7 +25737,7 @@ function Hu(n) {
25737
25737
  n[11]
25738
25738
  ), {
25739
25739
  c() {
25740
- t = L("div"), oe(e.$$.fragment), i = $(), oe(s.$$.fragment), P(t, "class", "audio svelte-1s6gk4a");
25740
+ t = L("div"), oe(e.$$.fragment), i = ee(), oe(s.$$.fragment), P(t, "class", "audio svelte-1s6gk4a");
25741
25741
  },
25742
25742
  m(l, c) {
25743
25743
  V(l, t, c), ie(e, t, null), j(t, i), ie(s, t, null), a = !0;
@@ -26027,7 +26027,7 @@ function RE(n) {
26027
26027
  }
26028
26028
  }), {
26029
26029
  c() {
26030
- t = L("div"), e = L("div"), oe(i.$$.fragment), s = $(), o = L("div"), oe(r.$$.fragment), P(e, "class", "audio-icon__wrapper svelte-58hfjf"), P(o, "class", "text svelte-58hfjf"), P(t, "class", "audio__inner svelte-58hfjf");
26030
+ t = L("div"), e = L("div"), oe(i.$$.fragment), s = ee(), o = L("div"), oe(r.$$.fragment), P(e, "class", "audio-icon__wrapper svelte-58hfjf"), P(o, "class", "text svelte-58hfjf"), P(t, "class", "audio__inner svelte-58hfjf");
26031
26031
  },
26032
26032
  m(l, c) {
26033
26033
  V(l, t, c), j(t, e), ie(i, e, null), j(t, s), j(t, o), ie(r, o, null), a = !0;
@@ -26422,7 +26422,7 @@ function qE(n) {
26422
26422
  const r = Pg(t);
26423
26423
  return Va.set(t, r), r;
26424
26424
  })(), { width: s, height: o } = yield i;
26425
- return ee(x({}, n), {
26425
+ return $(x({}, n), {
26426
26426
  width: s / e,
26427
26427
  height: o / e
26428
26428
  });
@@ -26434,7 +26434,7 @@ function KE(n) {
26434
26434
  if (!t)
26435
26435
  throw new Error("KeyframeIcon requires steps");
26436
26436
  const { width: o, height: r } = yield Pg(e), a = o / i, l = r / i, c = a / t, h = l, u = 1 / s * t + "s";
26437
- return ee(x({}, n), {
26437
+ return $(x({}, n), {
26438
26438
  width: c,
26439
26439
  height: h,
26440
26440
  duration: u
@@ -26464,7 +26464,7 @@ function Yu(n) {
26464
26464
  let r = o(n), a = r(n);
26465
26465
  return {
26466
26466
  c() {
26467
- t = L("div"), s && s.c(), e = $(), a.c(), P(t, "class", "icon"), z(
26467
+ t = L("div"), s && s.c(), e = ee(), a.c(), P(t, "class", "icon"), z(
26468
26468
  t,
26469
26469
  "width",
26470
26470
  /*width*/
@@ -26837,7 +26837,7 @@ function lM(n) {
26837
26837
  }
26838
26838
  function On(n) {
26839
26839
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
26840
- return ee(x({}, n), { width: o, height: r });
26840
+ return $(x({}, n), { width: o, height: r });
26841
26841
  }
26842
26842
  function cM(n, t, e) {
26843
26843
  let i, s, o, r, a, l, c, h, u, { width: f = null } = t, { icon: m = null } = t, { shadow: v = !1 } = t;
@@ -26851,7 +26851,7 @@ function cM(n, t, e) {
26851
26851
  function A(I) {
26852
26852
  return Q(this, null, function* () {
26853
26853
  if (typeof u == "number")
26854
- return ee(x({}, I), { width: u });
26854
+ return $(x({}, I), { width: u });
26855
26855
  const C = yield qE(I);
26856
26856
  return p("iconLoaded", C), C;
26857
26857
  });
@@ -26920,7 +26920,7 @@ function Zu(n) {
26920
26920
  }
26921
26921
  }), {
26922
26922
  c() {
26923
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = De(
26923
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = De(
26924
26924
  /*title*/
26925
26925
  n[1]
26926
26926
  ), P(s, "class", "text svelte-e58ijk"), P(t, "class", "text-wrapper svelte-e58ijk");
@@ -26966,7 +26966,7 @@ function dM(n) {
26966
26966
  );
26967
26967
  return {
26968
26968
  c() {
26969
- t = L("div"), oe(e.$$.fragment), i = $(), o && o.c(), P(t, "class", "wrapper svelte-e58ijk");
26969
+ t = L("div"), oe(e.$$.fragment), i = ee(), o && o.c(), P(t, "class", "wrapper svelte-e58ijk");
26970
26970
  },
26971
26971
  m(r, a) {
26972
26972
  V(r, t, a), ie(e, t, null), j(t, i), o && o.m(t, null), s = !0;
@@ -27022,7 +27022,7 @@ function Ju(n) {
27022
27022
  );
27023
27023
  return {
27024
27024
  c() {
27025
- t = L("div"), e = L("div"), r && r.c(), i = $(), s = L("div"), P(e, "class", "media-item svelte-155de2y"), P(e, "draggable", "false"), P(s, "class", "line svelte-155de2y"), P(t, "class", "wrapper svelte-155de2y");
27025
+ t = L("div"), e = L("div"), r && r.c(), i = ee(), s = L("div"), P(e, "class", "media-item svelte-155de2y"), P(e, "draggable", "false"), P(s, "class", "line svelte-155de2y"), P(t, "class", "wrapper svelte-155de2y");
27026
27026
  },
27027
27027
  m(a, l) {
27028
27028
  V(a, t, l), j(t, e), r && r.m(e, null), j(t, i), j(t, s), o = !0;
@@ -27059,7 +27059,7 @@ function qu(n) {
27059
27059
  }), {
27060
27060
  c() {
27061
27061
  var c;
27062
- oe(t.$$.fragment), e = $(), i = L("img"), r = $(), a = L("div"), P(i, "class", "media-content svelte-155de2y"), ht(i.src, s = /*media*/
27062
+ oe(t.$$.fragment), e = ee(), i = L("img"), r = ee(), a = L("div"), P(i, "class", "media-content svelte-155de2y"), ht(i.src, s = /*media*/
27063
27063
  (c = n[0].thumbnail) != null ? c : (
27064
27064
  /*media*/
27065
27065
  n[0].url
@@ -27644,7 +27644,7 @@ function _a(n, t, e) {
27644
27644
  const C = h[w];
27645
27645
  h[w] = Ge({}, l, C, ...Object.values(I), a, { _isMerged: !0 });
27646
27646
  });
27647
- const f = ee(x({}, c), { configWithFiveMode: h });
27647
+ const f = $(x({}, c), { configWithFiveMode: h });
27648
27648
  return $u(f), Object.values(h).forEach((w) => $u(w)), f._isMerged = !0, f;
27649
27649
  }
27650
27650
  function ef(n) {
@@ -28204,7 +28204,7 @@ class Cc {
28204
28204
  }).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
28205
28205
  var l, c;
28206
28206
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
28207
- }).map((a) => ee(x({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
28207
+ }).map((a) => $(x({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
28208
28208
  const c = l.autoUnfold.distance;
28209
28209
  return !(c && Ro(a, c) === !1);
28210
28210
  }).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
@@ -28244,7 +28244,7 @@ class Cc {
28244
28244
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
28245
28245
  if (!this.enabled)
28246
28246
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
28247
- const t = ee(x({}, this.computeVisible()), {
28247
+ const t = $(x({}, this.computeVisible()), {
28248
28248
  tagInstance: this
28249
28249
  });
28250
28250
  return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
@@ -29561,7 +29561,7 @@ function s3(n) {
29561
29561
  n[7]
29562
29562
  ), {
29563
29563
  c() {
29564
- t = L("div"), e = L("div"), i = $(), oe(s.$$.fragment), o = $(), r = L("div"), a = $(), l = L("div"), oe(c.$$.fragment), P(e, "class", "tag-point-click-helper svelte-7aiuwz"), P(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
29564
+ t = L("div"), e = L("div"), i = ee(), oe(s.$$.fragment), o = ee(), r = L("div"), a = ee(), l = L("div"), oe(c.$$.fragment), P(e, "class", "tag-point-click-helper svelte-7aiuwz"), P(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
29565
29565
  r,
29566
29566
  "transition-delay",
29567
29567
  /*folded*/
@@ -29727,7 +29727,7 @@ function tf(n) {
29727
29727
  }
29728
29728
  return o = p(n), r = v[o] = m[o](n), {
29729
29729
  c() {
29730
- t = L("div"), i.c(), s = $(), r.c(), P(t, "class", "tag svelte-2g2g8a"), P(
29730
+ t = L("div"), i.c(), s = ee(), r.c(), P(t, "class", "tag svelte-2g2g8a"), P(
29731
29731
  t,
29732
29732
  "data-tag-id",
29733
29733
  /*id*/
@@ -30321,7 +30321,7 @@ class wl extends JM {
30321
30321
  });
30322
30322
  d(this, "handleFivePanoArrived", () => Q(this, null, function* () {
30323
30323
  this.tags.forEach((e) => {
30324
- e.state.visible = !1, e.temporaryState = ee(x({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
30324
+ e.state.visible = !1, e.temporaryState = $(x({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
30325
30325
  }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(GC).filter((e) => {
30326
30326
  var i;
30327
30327
  return (i = e.getConfig().modelConfig) == null ? void 0 : i.autoLookAtEnabled;
@@ -30373,7 +30373,7 @@ class wl extends JM {
30373
30373
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
30374
30374
  this.TagContainerSvelte = new A3({
30375
30375
  target: this.container,
30376
- props: ee(x({}, a), { state: ee(x({}, this.state), { enabled: !1 }) })
30376
+ props: $(x({}, a), { state: $(x({}, this.state), { enabled: !1 }) })
30377
30377
  }), oo(() => {
30378
30378
  var l;
30379
30379
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
@@ -30732,13 +30732,13 @@ function af(n) {
30732
30732
  );
30733
30733
  return {
30734
30734
  c() {
30735
- t = L("div"), p && p.c(), e = $(), i = L("div"), s = L("span"), r = De(o), a = De(
30735
+ t = L("div"), p && p.c(), e = ee(), i = L("div"), s = L("span"), r = De(o), a = De(
30736
30736
  /*distance*/
30737
30737
  n[2]
30738
- ), c = De(l), h = $(), u = L("span"), f = De(
30738
+ ), c = De(l), h = ee(), u = L("span"), f = De(
30739
30739
  /*text*/
30740
30740
  n[0]
30741
- ), m = $(), v = L("div"), P(s, "class", "distance svelte-4qjwer"), P(u, "class", "name svelte-4qjwer"), P(i, "class", "distance-and-name svelte-4qjwer"), P(v, "class", "border svelte-4qjwer"), P(t, "class", "text-with-distance svelte-4qjwer");
30741
+ ), m = ee(), v = L("div"), P(s, "class", "distance svelte-4qjwer"), P(u, "class", "name svelte-4qjwer"), P(i, "class", "distance-and-name svelte-4qjwer"), P(v, "class", "border svelte-4qjwer"), P(t, "class", "text-with-distance svelte-4qjwer");
30742
30742
  },
30743
30743
  m(g, A) {
30744
30744
  V(g, t, A), p && p.m(t, null), j(t, e), j(t, i), j(i, s), j(s, r), j(s, a), j(s, c), j(i, h), j(i, u), j(u, f), j(t, m), j(t, v);
@@ -30802,7 +30802,7 @@ function y3(n) {
30802
30802
  );
30803
30803
  return {
30804
30804
  c() {
30805
- t = L("div"), e = L("div"), i = $(), s = L("div"), o = $(), r = L("div"), a = L("div"), l = $(), h && h.c(), c = $(), u && u.c(), P(e, "class", "guide-line__tag-point svelte-4qjwer"), P(s, "class", "guide-line__tag-line svelte-4qjwer"), P(a, "class", "guide-line__tag-icon svelte-4qjwer"), z(a, "background-image", `url(${/*icon_url*/
30805
+ t = L("div"), e = L("div"), i = ee(), s = L("div"), o = ee(), r = L("div"), a = L("div"), l = ee(), h && h.c(), c = ee(), u && u.c(), P(e, "class", "guide-line__tag-point svelte-4qjwer"), P(s, "class", "guide-line__tag-line svelte-4qjwer"), P(a, "class", "guide-line__tag-icon svelte-4qjwer"), z(a, "background-image", `url(${/*icon_url*/
30806
30806
  n[1]})`), P(r, "class", "guide-line__tag-content svelte-4qjwer"), P(t, "class", "guide-line__tag svelte-4qjwer"), z(
30807
30807
  t,
30808
30808
  "opacity",
@@ -31355,7 +31355,7 @@ class Cl {
31355
31355
  s.tag = r, M3(r) && (s.tag.element = (h) => {
31356
31356
  var m, v;
31357
31357
  (m = s.app) == null || m.$destroy();
31358
- const u = t === "start" ? ee(x({}, r.data), { name: this.name, distance: Math.round((v = i.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : r.data, f = new C3({ target: h, intro: !0, props: u });
31358
+ const u = t === "start" ? $(x({}, r.data), { name: this.name, distance: Math.round((v = i.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : r.data, f = new C3({ target: h, intro: !0, props: u });
31359
31359
  return s.app = f, () => f.$destroy();
31360
31360
  }), s.plugin.load({ tagList: [s.tag] });
31361
31361
  const a = this.meshStyle.translate;
@@ -31395,7 +31395,7 @@ class Cl {
31395
31395
  panoIndex: l
31396
31396
  };
31397
31397
  }).filter(xe), r = o.map((l) => l.position.toArray()), a = o.map((l) => l.panoIndex);
31398
- return [ee(x({ type: "CatmullRomCurve3", points: r }, i), { panoIndexList: a, panoIndexMap: s })];
31398
+ return [$(x({ type: "CatmullRomCurve3", points: r }, i), { panoIndexList: a, panoIndexMap: s })];
31399
31399
  }
31400
31400
  }
31401
31401
  function M3(n) {
@@ -31597,7 +31597,7 @@ let jg = class extends zg {
31597
31597
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
31598
31598
  });
31599
31599
  d(this, "moveToStart", () => {
31600
- this.five.setState(ee(x({}, Na(this.curve, 0, this.curveOffset)), { mode: "Model" }));
31600
+ this.five.setState($(x({}, Na(this.curve, 0, this.curveOffset)), { mode: "Model" }));
31601
31601
  });
31602
31602
  d(this, "playFromStart", () => {
31603
31603
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -31667,7 +31667,7 @@ let jg = class extends zg {
31667
31667
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
31668
31668
  (o < 0 || o >= 1) && (o = 0);
31669
31669
  const r = Na(this.curve, o, this.curveOffset);
31670
- if (this.hooks.emit("progressChange", o), this.five.setState(ee(x({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
31670
+ if (this.hooks.emit("progressChange", o), this.five.setState($(x({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
31671
31671
  const c = this.addInterruptListener(() => {
31672
31672
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
31673
31673
  });
@@ -31802,7 +31802,7 @@ class Pc extends zg {
31802
31802
  * @description Play from first keyframe
31803
31803
  */
31804
31804
  playFromStart(e) {
31805
- return this.playFrom(ee(x({}, e), { index: 0 }));
31805
+ return this.playFrom($(x({}, e), { index: 0 }));
31806
31806
  }
31807
31807
  /**
31808
31808
  * @description Format data
@@ -31820,7 +31820,7 @@ class Pc extends zg {
31820
31820
  keyframes: i.keyframes.map((s, o) => {
31821
31821
  var l;
31822
31822
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
31823
- return ee(x({ id: (l = s.uuid) != null ? l : lt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
31823
+ return $(x({ id: (l = s.uuid) != null ? l : lt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
31824
31824
  })
31825
31825
  };
31826
31826
  if (i.panoIndexList) {
@@ -32148,9 +32148,9 @@ class Bg {
32148
32148
  const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, o = t === "panorama" && e.panorama_style.use_auto_depthtest, r = e.panorama_style.auto_depth_test_effect_distance, a = e.path, l = s, c = s, h = s;
32149
32149
  if (e.pano_group) {
32150
32150
  const f = t === "panorama" && e.panorama_style.skip_group === !0;
32151
- i.setGeometryByPanoGroup(e.pano_group, ee(x({ skipPanoGroup: f }, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32151
+ i.setGeometryByPanoGroup(e.pano_group, $(x({ skipPanoGroup: f }, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32152
32152
  } else
32153
- e.path && i.setGeometryByPath(a, ee(x({}, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32153
+ e.path && i.setGeometryByPath(a, $(x({}, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32154
32154
  i.name = e.name, i.setMeshStyle(h), i.setMartial(c), i.setVisibleFloorIndexes((u = e.visible_floor_indexes) != null ? u : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
32155
32155
  }
32156
32156
  show() {
@@ -34574,7 +34574,7 @@ class bk extends Hi {
34574
34574
  o.video_list.forEach((l) => {
34575
34575
  this.controllerMap.set(
34576
34576
  l.render_id,
34577
- new uf(this.five, ee(x({}, l), {
34577
+ new uf(this.five, $(x({}, l), {
34578
34578
  panoIndex: r,
34579
34579
  renderID: a,
34580
34580
  hooks: this.hooks,
@@ -34652,7 +34652,7 @@ class bk extends Hi {
34652
34652
  const o = s.render_id;
34653
34653
  this.controllerMap.set(
34654
34654
  s.render_id,
34655
- new uf(this.five, ee(x({}, s), {
34655
+ new uf(this.five, $(x({}, s), {
34656
34656
  panoIndex: e,
34657
34657
  renderID: o,
34658
34658
  hooks: this.hooks,
@@ -35298,7 +35298,7 @@ function mf(n) {
35298
35298
  t = L("span"), e = De(
35299
35299
  /*content*/
35300
35300
  n[0]
35301
- ), i = $(), s = L("div"), P(t, "class", "room-label-item__text svelte-ntto16"), z(t, "background-image", "url(" + Bk + ")"), P(s, "class", "room-label-item__bar svelte-ntto16");
35301
+ ), i = ee(), s = L("div"), P(t, "class", "room-label-item__text svelte-ntto16"), z(t, "background-image", "url(" + Bk + ")"), P(s, "class", "room-label-item__bar svelte-ntto16");
35302
35302
  },
35303
35303
  m(a, l) {
35304
35304
  V(a, t, l), j(t, e), V(a, i, l), V(a, s, l), o || (r = we(t, "click", function() {
@@ -35934,9 +35934,9 @@ let Gk = class extends wi {
35934
35934
  return i(e) ? {
35935
35935
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
35936
35936
  const o = new b.Shape(), r = s.object_data.points[0];
35937
- return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), ee(x({}, s), {
35937
+ return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), $(x({}, s), {
35938
35938
  floor_index: s.object_data.floorIndex,
35939
- object_data: ee(x({}, s.object_data), {
35939
+ object_data: $(x({}, s.object_data), {
35940
35940
  bottom_y: r[1] + s.object_data.fixedY,
35941
35941
  shape: o.toJSON(),
35942
35942
  height: s.object_data.height + s.object_data.fixedHeight
@@ -36315,11 +36315,11 @@ class ts extends Rt {
36315
36315
  size: (f = e == null ? void 0 : e.size) != null ? f : 8,
36316
36316
  map: pf || (pf = new b.TextureLoader().load(Xk)),
36317
36317
  sizeAttenuation: !1
36318
- }, a = new b.PointsMaterial(ee(x({}, r), {
36318
+ }, a = new b.PointsMaterial($(x({}, r), {
36319
36319
  color: (m = e == null ? void 0 : e.color) != null ? m : 16777215,
36320
36320
  depthTest: !0,
36321
36321
  opacity: 1
36322
- })), l = new b.PointsMaterial(ee(x({}, r), {
36322
+ })), l = new b.PointsMaterial($(x({}, r), {
36323
36323
  size: a.size,
36324
36324
  color: a.color,
36325
36325
  depthWrite: !1,
@@ -36386,7 +36386,7 @@ class Ml extends Yt {
36386
36386
  d(this, "pointGroup", new Rt());
36387
36387
  d(this, "_paramsStyle");
36388
36388
  d(this, "setStyle", (e) => {
36389
- super.setStyle(e), this._paramsStyle = x(x({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(ee(x({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
36389
+ super.setStyle(e), this._paramsStyle = x(x({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle($(x({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
36390
36390
  });
36391
36391
  d(this, "highlight", () => {
36392
36392
  super.highlight(), this.pointMeshes.forEach((e) => e.highlight());
@@ -36417,7 +36417,7 @@ class Ml extends Yt {
36417
36417
  const i = e.map(Ne).filter(xe);
36418
36418
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
36419
36419
  var r;
36420
- const o = new ts(ee(x({}, this.style), { color: (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
36420
+ const o = new ts($(x({}, this.style), { color: (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
36421
36421
  o.position.copy(s), this.pointGroup.add(o);
36422
36422
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
36423
36423
  }
@@ -36489,7 +36489,7 @@ class Gg extends Rt {
36489
36489
  if (r !== 0 && a === void 0)
36490
36490
  return;
36491
36491
  const l = (c = this.lines[r]) != null ? c : (() => {
36492
- const h = new Ml(ee(x({}, this.style), {
36492
+ const h = new Ml($(x({}, this.style), {
36493
36493
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
36494
36494
  }));
36495
36495
  return this.lines[r] = h, this.add(h), h;
@@ -36509,13 +36509,13 @@ class Gg extends Rt {
36509
36509
  }
36510
36510
  class dn extends Gg {
36511
36511
  constructor(...e) {
36512
- super(ee(x({}, e[0]), { withDots: !1 }));
36512
+ super($(x({}, e[0]), { withDots: !1 }));
36513
36513
  d(this, "name", "PolylineMesh");
36514
36514
  }
36515
36515
  }
36516
36516
  class Li extends Gg {
36517
36517
  constructor(...e) {
36518
- super(ee(x({}, e[0]), { withDots: !0 }));
36518
+ super($(x({}, e[0]), { withDots: !0 }));
36519
36519
  d(this, "name", "PolylineWithDotsMesh");
36520
36520
  }
36521
36521
  }
@@ -37109,7 +37109,7 @@ class yf extends Ci {
37109
37109
  return this._editor || (this._editor = new lx(this)), this._editor;
37110
37110
  }
37111
37111
  get data() {
37112
- return ee(x({}, this.baseData), {
37112
+ return $(x({}, this.baseData), {
37113
37113
  points: zt(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
37114
37114
  style: {
37115
37115
  lineColor: new b.Color(this.polyLineMesh.lineColor).getHex(),
@@ -37157,7 +37157,7 @@ function cx(n, t, e) {
37157
37157
  return;
37158
37158
  const { promise: s, resolve: o, reject: r } = Sc(), a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new dn(n.style);
37159
37159
  i.add(l);
37160
- const c = new dn(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37160
+ const c = new dn($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37161
37161
  i.add(c), t.enable();
37162
37162
  const h = [];
37163
37163
  let u, f, m;
@@ -37218,7 +37218,7 @@ class wf extends Ci {
37218
37218
  return this._editor || (this._editor = new hx(this)), this._editor;
37219
37219
  }
37220
37220
  get data() {
37221
- return ee(x({}, this.baseData), {
37221
+ return $(x({}, this.baseData), {
37222
37222
  point: zt(this.applyObjectMatrixWorld(this.pointMesh.position)),
37223
37223
  style: {
37224
37224
  color: this.pointMesh.color.getHex(),
@@ -37283,6 +37283,7 @@ class Or extends Rt {
37283
37283
  transparent: !0,
37284
37284
  side: b.DoubleSide,
37285
37285
  depthTest: !0,
37286
+ depthWrite: !1,
37286
37287
  opacity: (l = e == null ? void 0 : e.opacity) != null ? l : 0.5
37287
37288
  }), s = new b.MeshBasicMaterial({
37288
37289
  color: 16777215,
@@ -37353,7 +37354,7 @@ class Lc extends Or {
37353
37354
  e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems();
37354
37355
  }
37355
37356
  get style() {
37356
- return ee(x({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
37357
+ return $(x({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
37357
37358
  }
37358
37359
  get isBlank() {
37359
37360
  return !!this.geometry.isBlank;
@@ -37421,7 +37422,7 @@ class Jg extends Lc {
37421
37422
  i && this.setPoints(i), s && this.setStyle(s);
37422
37423
  }
37423
37424
  get style() {
37424
- return ee(x({}, super.style), {
37425
+ return $(x({}, super.style), {
37425
37426
  lineWidth: this.lineWidth,
37426
37427
  lineColor: this.lineColor
37427
37428
  });
@@ -37441,7 +37442,7 @@ class Jg extends Lc {
37441
37442
  super.setPoints(e), this.points && (this.line.setPoints(this.points, i), this.addIfNotExists(this.line));
37442
37443
  }
37443
37444
  setStyle(e) {
37444
- super.setStyle(e), this.line.setStyle(e);
37445
+ super.setStyle(e), this.line.setStyle($(x({}, e), { opacity: 1 }));
37445
37446
  }
37446
37447
  highlight() {
37447
37448
  super.highlight(), this.line.highlight();
@@ -37483,7 +37484,7 @@ class Cf extends Ci {
37483
37484
  return this._editor || (this._editor = new dx(this)), this._editor;
37484
37485
  }
37485
37486
  get data() {
37486
- return this.updateMatrixWorld(), ee(x({}, this.baseData), {
37487
+ return this.updateMatrixWorld(), $(x({}, this.baseData), {
37487
37488
  points: zt(this.applyObjectMatrixWorld(this.areaMesh.points)),
37488
37489
  style: {
37489
37490
  color: this.areaMesh.color.getHex(),
@@ -37533,9 +37534,9 @@ function zc(n, t, e) {
37533
37534
  o(new Error("No container"));
37534
37535
  return;
37535
37536
  }
37536
- const a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new dn(ee(x({}, n.style), { opacity: 1 }));
37537
+ const a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new dn($(x({}, n.style), { opacity: 1 }));
37537
37538
  r == null || r.add(l);
37538
- const c = new dn(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37539
+ const c = new dn($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37539
37540
  r == null || r.add(c), t.enable();
37540
37541
  const h = [];
37541
37542
  let u, f, m = !1, v;
@@ -37702,7 +37703,7 @@ class is extends Rt {
37702
37703
  return this.edgeMesh.color;
37703
37704
  }
37704
37705
  setStyle(e = {}) {
37705
- this.paramStyle = x(x({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
37706
+ this.paramStyle = x(x({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle($(x({}, this.paramStyle), { opacity: 1 }));
37706
37707
  }
37707
37708
  setPoints(e) {
37708
37709
  var i;
@@ -37771,7 +37772,7 @@ class Pf extends Ci {
37771
37772
  return this._editor || (this._editor = new qg(this.prismMesh)), this._editor;
37772
37773
  }
37773
37774
  get data() {
37774
- return ee(x({}, this.baseData), {
37775
+ return $(x({}, this.baseData), {
37775
37776
  points: zt(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
37776
37777
  heightPoint: zt(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
37777
37778
  style: {
@@ -37941,7 +37942,7 @@ class gr extends ep {
37941
37942
  super.setPoints(e), this.points && (this.line.setPoints([this.points[0], this.points[1], this.points[2], this.points[3], this.points[0]]), this.addIfNotExists(this.line));
37942
37943
  }
37943
37944
  setStyle(e) {
37944
- super.setStyle(e), this.line.setStyle(e);
37945
+ super.setStyle(e), this.line.setStyle($(x({}, e), { opacity: 1 }));
37945
37946
  }
37946
37947
  highlight() {
37947
37948
  super.highlight(), this.line.highlight();
@@ -37966,7 +37967,7 @@ class If extends Ci {
37966
37967
  return this._editor || (this._editor = new $g(this.rectangleMesh)), this._editor;
37967
37968
  }
37968
37969
  get data() {
37969
- return ee(x({}, this.baseData), {
37970
+ return $(x({}, this.baseData), {
37970
37971
  points: zt(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
37971
37972
  style: {
37972
37973
  color: this.rectangleMesh.color.getHex(),
@@ -38002,7 +38003,7 @@ function mx(n, t, e) {
38002
38003
  const o = n.parent;
38003
38004
  if (!o)
38004
38005
  return s(new Error("No container"));
38005
- const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li(ee(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38006
+ const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li($(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38006
38007
  o.add(a, c, l), t.enable();
38007
38008
  const h = [];
38008
38009
  let u = new b.Vector3(), f = new b.Vector3();
@@ -38053,7 +38054,7 @@ function gx(n, t, e) {
38053
38054
  const o = n.parent;
38054
38055
  if (!o)
38055
38056
  return s(new Error("No container"));
38056
- const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li(ee(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38057
+ const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li($(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38057
38058
  o.add(a, c, l), t.enable();
38058
38059
  const h = [];
38059
38060
  let u = new b.Vector3(), f = new b.Vector3();
@@ -38140,7 +38141,7 @@ class io extends sp {
38140
38141
  this.edgeLine.setPoints(i.concat(i[0]));
38141
38142
  }
38142
38143
  setStyle(e) {
38143
- super.setStyle(e), this.edgeLine.setStyle(e);
38144
+ super.setStyle(e), this.edgeLine.setStyle($(x({}, e), { opacity: 1 }));
38144
38145
  }
38145
38146
  highlight() {
38146
38147
  super.highlight(), this.edgeLine.highlight();
@@ -38161,7 +38162,7 @@ class Ef extends Ci {
38161
38162
  return this._editor || (this._editor = new ip(this.circleMesh)), this._editor;
38162
38163
  }
38163
38164
  get data() {
38164
- return ee(x({}, this.baseData), {
38165
+ return $(x({}, this.baseData), {
38165
38166
  center: zt(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
38166
38167
  normal: zt(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
38167
38168
  radius: this.circleMesh.radius,
@@ -38332,7 +38333,7 @@ class Mf extends Ci {
38332
38333
  return this._editor || (this._editor = new op(this.cylinderMesh)), this._editor;
38333
38334
  }
38334
38335
  get data() {
38335
- return ee(x({}, this.baseData), {
38336
+ return $(x({}, this.baseData), {
38336
38337
  bottomCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
38337
38338
  topCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
38338
38339
  radius: this.cylinderMesh.radius,
@@ -38506,7 +38507,7 @@ class kf extends Ci {
38506
38507
  return this._editor || (this._editor = new ap(this.boxMesh)), this._editor;
38507
38508
  }
38508
38509
  get data() {
38509
- return ee(x({}, this.baseData), {
38510
+ return $(x({}, this.baseData), {
38510
38511
  points: zt(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
38511
38512
  heightPoint: zt(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
38512
38513
  style: {
@@ -38582,7 +38583,7 @@ class xf extends Ci {
38582
38583
  return this._editor || (this._editor = new ax(this)), this._editor;
38583
38584
  }
38584
38585
  get data() {
38585
- return ee(x({}, this.baseData), {
38586
+ return $(x({}, this.baseData), {
38586
38587
  points: zt(this.applyObjectMatrixWorld(this.lineMesh.points)),
38587
38588
  style: {
38588
38589
  lineColor: new b.Color(this.lineMesh.color).getHex(),
@@ -38630,7 +38631,7 @@ function cp(n, t, e) {
38630
38631
  return;
38631
38632
  const { promise: s, resolve: o, reject: r } = Sc(), a = (S = e == null ? void 0 : e.limit) != null ? S : "none", l = new Yt(n.style);
38632
38633
  i.add(l);
38633
- const c = new Yt(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
38634
+ const c = new Yt($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
38634
38635
  i.add(c), t.enable();
38635
38636
  const h = [];
38636
38637
  let u, f, m;
@@ -38719,7 +38720,7 @@ const Vn = class extends ct {
38719
38720
  this.clear();
38720
38721
  const s = (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((r) => {
38721
38722
  var l;
38722
- const a = ee(x({}, r), {
38723
+ const a = $(x({}, r), {
38723
38724
  style: x(x({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
38724
38725
  });
38725
38726
  return r.type === "Point" ? new wf(a, i) : r.type === "line" ? new xf(a, i) : r.type === "Polyline" ? new yf(a, i) : r.type === "Polygon" ? new Cf(a, i) : r.type === "Prism" ? new Pf(a, i) : r.type === "Rectangle" ? new If(a, i) : r.type === "Circle" ? new Ef(a, i) : r.type === "Cylinder" ? new Mf(a, i) : r.type === "Box" ? new kf(a, i) : null;
@@ -39019,7 +39020,7 @@ const Sf = (n, t) => {
39019
39020
  class Tf extends dp {
39020
39021
  constructor(...t) {
39021
39022
  const e = t[0], i = rs(e.model), s = new b.Vector3().lerpVectors(Di(i, 0), Di(i, 5), 0.5);
39022
- super(ee(x({}, e), { position: s })), this.enable();
39023
+ super($(x({}, e), { position: s })), this.enable();
39023
39024
  }
39024
39025
  }
39025
39026
  class Ex extends wi {