@realsee/dnalogel 3.49.13 → 3.49.14-alpha.1

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
@@ -2,12 +2,12 @@ var pE = Object.defineProperty, mE = Object.defineProperties;
2
2
  var gE = Object.getOwnPropertyDescriptors;
3
3
  var ch = Object.getOwnPropertySymbols;
4
4
  var pv = Object.prototype.hasOwnProperty, mv = Object.prototype.propertyIsEnumerable;
5
- var gf = (e, n, t) => n in e ? pE(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, R = (e, n) => {
5
+ var mf = (e, n, t) => n in e ? pE(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, R = (e, n) => {
6
6
  for (var t in n || (n = {}))
7
- pv.call(n, t) && gf(e, t, n[t]);
7
+ pv.call(n, t) && mf(e, t, n[t]);
8
8
  if (ch)
9
9
  for (var t of ch(n))
10
- mv.call(n, t) && gf(e, t, n[t]);
10
+ mv.call(n, t) && mf(e, t, n[t]);
11
11
  return e;
12
12
  }, Me = (e, n) => mE(e, gE(n));
13
13
  var Ps = (e, n) => {
@@ -19,7 +19,7 @@ var Ps = (e, n) => {
19
19
  n.indexOf(i) < 0 && mv.call(e, i) && (t[i] = e[i]);
20
20
  return t;
21
21
  };
22
- var v = (e, n, t) => (gf(e, typeof n != "symbol" ? n + "" : n, t), t);
22
+ var v = (e, n, t) => (mf(e, typeof n != "symbol" ? n + "" : n, t), t);
23
23
  var ee = (e, n, t) => new Promise((i, r) => {
24
24
  var s = (l) => {
25
25
  try {
@@ -38,9 +38,9 @@ var ee = (e, n, t) => new Promise((i, r) => {
38
38
  });
39
39
  import { Camera as vE, Five as Dn, Subscribe as Na } from "@realsee/five";
40
40
  import * as C from "three";
41
- import { Vector3 as Se, Matrix4 as Dl, Object3D as yE, LineSegments as bE, Group as Jo, Raycaster as Fa, MeshBasicMaterial as Yl, CanvasTexture as AE, AnimationMixer as wE, Color as Va, TextureLoader as Z1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as Sp, Mesh as Ll, CurvePath as EE, LineCurve3 as CE, TubeGeometry as PE, ShaderMaterial as J1, SphereGeometry as _E, DoubleSide as q1, RingGeometry as IE, Quaternion as $m, Euler as gv, VideoTexture as SE, Vector4 as TE, SphereBufferGeometry as DE } from "three";
42
- import { CSS3DSprite as LE, CSS3DObject as Tp } from "three/examples/jsm/renderers/CSS3DRenderer";
43
- import Md from "hammerjs";
41
+ import { Vector3 as Se, Matrix4 as Dl, Object3D as yE, LineSegments as bE, Group as Jo, Raycaster as Fa, MeshBasicMaterial as Yl, CanvasTexture as AE, AnimationMixer as wE, Color as Va, TextureLoader as Z1, Vector2 as Fn, PlaneGeometry as xE, sRGBEncoding as ME, LinearFilter as Ip, Mesh as Ll, CurvePath as EE, LineCurve3 as CE, TubeGeometry as PE, ShaderMaterial as J1, SphereGeometry as _E, DoubleSide as q1, RingGeometry as IE, Quaternion as Km, Euler as gv, VideoTexture as SE, Vector4 as TE, SphereBufferGeometry as DE } from "three";
42
+ import { CSS3DSprite as LE, CSS3DObject as Sp } from "three/examples/jsm/renderers/CSS3DRenderer";
43
+ import $m from "hammerjs";
44
44
  import { Line as kE, THREE_Line2 as RE, LineMaterial as OE } from "@realsee/five/line";
45
45
  import bu from "animejs";
46
46
  import { FBXLoader as K1 } from "three/examples/jsm/loaders/FBXLoader";
@@ -48,7 +48,7 @@ import zE from "earcut";
48
48
  import { GLTFLoader as BE } from "@realsee/five/gltf-loader";
49
49
  function NE() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.49.13",
51
+ "%c %c@realsee/dnalogel %cv3.49.14-alpha.1",
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",
@@ -80,7 +80,7 @@ function hh(e, n, t) {
80
80
  const i = e.x, r = e.y, s = Math.floor(i / n * 1e4) / 1e4, o = Math.floor(r / t * 1e4) / 1e4;
81
81
  return { x: s, y: o };
82
82
  }
83
- function vf(e, n, t) {
83
+ function gf(e, n, t) {
84
84
  const { x: i, y: r } = e, s = i * n, o = r * t;
85
85
  return { x: s, y: o };
86
86
  }
@@ -327,11 +327,11 @@ var Ki = Object.freeze({
327
327
  return e._nextId++;
328
328
  }, e._nextId = 0, e;
329
329
  }()
330
- ), Dp = new ew(), Ed = (
330
+ ), Tp = new ew(), Md = (
331
331
  /** @class */
332
332
  function() {
333
333
  function e(n, t) {
334
- t === void 0 && (t = Dp), this._object = n, this._group = t, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Ki.Linear.None, this._interpolationFunction = Bs.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = eg.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
334
+ t === void 0 && (t = Tp), this._object = n, this._group = t, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Ki.Linear.None, this._interpolationFunction = Bs.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = eg.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
335
335
  }
336
336
  return e.prototype.getId = function() {
337
337
  return this._id;
@@ -418,7 +418,7 @@ var Ki = Object.freeze({
418
418
  this._chainedTweens[n].stop();
419
419
  return this;
420
420
  }, e.prototype.group = function(n) {
421
- return n === void 0 && (n = Dp), this._group = n, this;
421
+ return n === void 0 && (n = Tp), this._group = n, this;
422
422
  }, e.prototype.delay = function(n) {
423
423
  return n === void 0 && (n = 0), this._delayTime = n, this;
424
424
  }, e.prototype.repeat = function(n) {
@@ -495,14 +495,14 @@ var Ki = Object.freeze({
495
495
  typeof i == "string" ? this._valuesStartRepeat[n] = this._valuesStartRepeat[n] + parseFloat(i) : this._valuesStartRepeat[n] = this._valuesEnd[n], this._valuesEnd[n] = t;
496
496
  }, e;
497
497
  }()
498
- ), HE = "23.1.1", UE = eg.nextId, er = Dp, WE = er.getAll.bind(er), QE = er.removeAll.bind(er), YE = er.add.bind(er), tw = er.remove.bind(er), XE = er.update.bind(er), Av = {
498
+ ), HE = "23.1.1", UE = eg.nextId, er = Tp, WE = er.getAll.bind(er), QE = er.removeAll.bind(er), YE = er.add.bind(er), tw = er.remove.bind(er), XE = er.update.bind(er), Av = {
499
499
  Easing: Ki,
500
500
  Group: ew,
501
501
  Interpolation: Bs,
502
502
  now: Fo,
503
503
  Sequence: eg,
504
504
  nextId: UE,
505
- Tween: Ed,
505
+ Tween: Md,
506
506
  VERSION: HE,
507
507
  getAll: WE,
508
508
  removeAll: QE,
@@ -511,7 +511,7 @@ var Ki = Object.freeze({
511
511
  update: XE
512
512
  };
513
513
  function ZE(e, n, t, i = Ki.Linear.None) {
514
- const r = new Ed(e).to(n, t).easing(i).start();
514
+ const r = new Md(e).to(n, t).easing(i).start();
515
515
  function s(o) {
516
516
  r.update(o) && requestAnimationFrame(s);
517
517
  }
@@ -962,7 +962,7 @@ let $E = class extends qE {
962
962
  const a = this.canvas[t].getContext("2d");
963
963
  if (!a)
964
964
  return;
965
- const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d = vf(i.move || {}, this.clientWidth, this.clientHeight);
965
+ const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d = gf(i.move || {}, this.clientWidth, this.clientHeight);
966
966
  let f = [d];
967
967
  if (a.strokeStyle = c, a.beginPath(), a.moveTo(d.x, d.y), h && !r) {
968
968
  let m = [];
@@ -973,7 +973,7 @@ let $E = class extends qE {
973
973
  return a.clearRect(0, 0, p.canvas[u].width, p.canvas[u].height), (b = p.tween) == null ? void 0 : b.stop();
974
974
  const y = Math.floor(g);
975
975
  if (!m.find((A) => A === y)) {
976
- if (m.push(y), f.push(vf(l[y], p.clientWidth, p.clientHeight)), f.length < 3)
976
+ if (m.push(y), f.push(gf(l[y], p.clientWidth, p.clientHeight)), f.length < 3)
977
977
  return;
978
978
  const { control: A, end: w } = uh(f);
979
979
  if (!A || !w)
@@ -985,7 +985,7 @@ let $E = class extends qE {
985
985
  });
986
986
  } else {
987
987
  for (let m = 0; m < l.length; m++) {
988
- if (f.push(vf(l[m], this.clientWidth, this.clientHeight)), f.length < 3)
988
+ if (f.push(gf(l[m], this.clientWidth, this.clientHeight)), f.length < 3)
989
989
  continue;
990
990
  const { control: p, end: g } = uh(f);
991
991
  !p || !g || a.quadraticCurveTo(p.x, p.y, g.x, g.y);
@@ -1256,7 +1256,7 @@ function iC(e, n, t = !0) {
1256
1256
  };
1257
1257
  }
1258
1258
  const rC = nC;
1259
- class Lp extends rC {
1259
+ class Dp extends rC {
1260
1260
  constructor() {
1261
1261
  super();
1262
1262
  v(this, "wrapper");
@@ -1399,7 +1399,7 @@ function lr(...e) {
1399
1399
  return e.forEach((t) => n.add(t)), n.divideScalar(e.length), n;
1400
1400
  }
1401
1401
  const tg = (e) => e ? e.visible === !1 ? !1 : tg(e.parent) : !0;
1402
- class kp {
1402
+ class Lp {
1403
1403
  constructor(n = 0, t = 0) {
1404
1404
  v(this, "min");
1405
1405
  v(this, "max");
@@ -1425,7 +1425,7 @@ let lC = class {
1425
1425
  v(this, "xInterval");
1426
1426
  v(this, "yInterval");
1427
1427
  v(this, "isRectangle", !0);
1428
- this.min = n, this.max = t, this.xInterval = new kp(this.min.x, this.max.x), this.yInterval = new kp(this.min.y, this.max.y);
1428
+ this.min = n, this.max = t, this.xInterval = new Lp(this.min.x, this.max.x), this.yInterval = new Lp(this.min.y, this.max.y);
1429
1429
  }
1430
1430
  /** 是否与矩形是否重叠 */
1431
1431
  isOverlapWithRectangle(n) {
@@ -1514,7 +1514,7 @@ class ng {
1514
1514
  const i = this.canvas.getContext("2d");
1515
1515
  if (!i)
1516
1516
  throw new Error("CANNOT CREATE CONTEXT2D");
1517
- this.context = i, this.config.dragEnabled && (this.hammer = new Md(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
1517
+ this.context = i, this.config.dragEnabled && (this.hammer = new $m(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
1518
1518
  }
1519
1519
  enable() {
1520
1520
  if (!this.state.enabled)
@@ -1696,7 +1696,7 @@ function iw(e) {
1696
1696
  }
1697
1697
  if (document.getElementById(xv))
1698
1698
  return;
1699
- const t = new Lp();
1699
+ const t = new Dp();
1700
1700
  t.domElementWrapper.id = xv, t.domElementWrapper.style.zIndex = "1", t.appendToElement(n), t.renderEveryFrame(e.scene, e.camera);
1701
1701
  }
1702
1702
  const vC = `
@@ -1841,7 +1841,7 @@ Object.assign === void 0 && (Object.assign = function(e) {
1841
1841
  }
1842
1842
  return n;
1843
1843
  });
1844
- const _C = "117", IC = 0, Ev = 1, SC = 2, ow = 1, TC = 2, Cl = 3, Vc = 0, xn = 1, Cd = 2, aw = 1, ts = 0, Ol = 1, Cv = 2, Pv = 3, _v = 4, DC = 5, zo = 100, LC = 101, kC = 102, Iv = 103, Sv = 104, RC = 200, OC = 201, zC = 202, BC = 203, lw = 204, cw = 205, NC = 206, FC = 207, VC = 208, GC = 209, jC = 210, HC = 0, UC = 1, WC = 2, Rp = 3, QC = 4, YC = 5, XC = 6, ZC = 7, Pd = 0, JC = 1, qC = 2, zl = 0, hw = 1, KC = 2, $C = 3, eP = 4, tP = 5, ig = 300, rg = 301, sg = 302, uw = 303, og = 304, dw = 305, Gc = 306, ag = 307, wu = 1e3, Kn = 1001, xu = 1002, mn = 1003, Op = 1004, zp = 1005, Bn = 1006, fw = 1007, _d = 1008, jc = 1009, nP = 1010, iP = 1011, Mu = 1012, rP = 1013, fu = 1014, qr = 1015, Eu = 1016, sP = 1017, oP = 1018, aP = 1019, Bl = 1020, lP = 1021, Fs = 1022, Ti = 1023, cP = 1024, hP = 1025, uP = Ti, qo = 1026, Xl = 1027, dP = 1028, fP = 1029, pP = 1030, mP = 1031, gP = 1032, vP = 1033, Tv = 33776, Dv = 33777, Lv = 33778, kv = 33779, Rv = 35840, Ov = 35841, zv = 35842, Bv = 35843, yP = 36196, Nv = 37492, Fv = 37496, bP = 37808, AP = 37809, wP = 37810, xP = 37811, MP = 37812, EP = 37813, CP = 37814, PP = 37815, _P = 37816, IP = 37817, SP = 37818, TP = 37819, DP = 37820, LP = 37821, kP = 36492, RP = 37840, OP = 37841, zP = 37842, BP = 37843, NP = 37844, FP = 37845, VP = 37846, GP = 37847, jP = 37848, HP = 37849, UP = 37850, WP = 37851, QP = 37852, YP = 37853, XP = 2200, ZP = 2201, JP = 2202, Cu = 2300, pu = 2301, yf = 2302, sa = 2400, Vo = 2401, Pu = 2402, lg = 2500, pw = 2501, qP = 0, $n = 3e3, Id = 3001, cg = 3007, hg = 3002, KP = 3003, mw = 3004, gw = 3005, vw = 3006, $P = 3200, e2 = 3201, Ga = 0, t2 = 1, bf = 7680, n2 = 519, Sd = 35044, Zl = 35048;
1844
+ const _C = "117", IC = 0, Ev = 1, SC = 2, ow = 1, TC = 2, Cl = 3, Vc = 0, xn = 1, Ed = 2, aw = 1, ts = 0, Ol = 1, Cv = 2, Pv = 3, _v = 4, DC = 5, zo = 100, LC = 101, kC = 102, Iv = 103, Sv = 104, RC = 200, OC = 201, zC = 202, BC = 203, lw = 204, cw = 205, NC = 206, FC = 207, VC = 208, GC = 209, jC = 210, HC = 0, UC = 1, WC = 2, kp = 3, QC = 4, YC = 5, XC = 6, ZC = 7, Cd = 0, JC = 1, qC = 2, zl = 0, hw = 1, KC = 2, $C = 3, eP = 4, tP = 5, ig = 300, rg = 301, sg = 302, uw = 303, og = 304, dw = 305, Gc = 306, ag = 307, wu = 1e3, Kn = 1001, xu = 1002, mn = 1003, Rp = 1004, Op = 1005, Bn = 1006, fw = 1007, Pd = 1008, jc = 1009, nP = 1010, iP = 1011, Mu = 1012, rP = 1013, fu = 1014, qr = 1015, Eu = 1016, sP = 1017, oP = 1018, aP = 1019, Bl = 1020, lP = 1021, Fs = 1022, Ti = 1023, cP = 1024, hP = 1025, uP = Ti, qo = 1026, Xl = 1027, dP = 1028, fP = 1029, pP = 1030, mP = 1031, gP = 1032, vP = 1033, Tv = 33776, Dv = 33777, Lv = 33778, kv = 33779, Rv = 35840, Ov = 35841, zv = 35842, Bv = 35843, yP = 36196, Nv = 37492, Fv = 37496, bP = 37808, AP = 37809, wP = 37810, xP = 37811, MP = 37812, EP = 37813, CP = 37814, PP = 37815, _P = 37816, IP = 37817, SP = 37818, TP = 37819, DP = 37820, LP = 37821, kP = 36492, RP = 37840, OP = 37841, zP = 37842, BP = 37843, NP = 37844, FP = 37845, VP = 37846, GP = 37847, jP = 37848, HP = 37849, UP = 37850, WP = 37851, QP = 37852, YP = 37853, XP = 2200, ZP = 2201, JP = 2202, Cu = 2300, pu = 2301, vf = 2302, sa = 2400, Vo = 2401, Pu = 2402, lg = 2500, pw = 2501, qP = 0, $n = 3e3, _d = 3001, cg = 3007, hg = 3002, KP = 3003, mw = 3004, gw = 3005, vw = 3006, $P = 3200, e2 = 3201, Ga = 0, t2 = 1, yf = 7680, n2 = 519, Id = 35044, Zl = 35048;
1845
1845
  function Or() {
1846
1846
  }
1847
1847
  Object.assign(Or.prototype, {
@@ -2308,7 +2308,7 @@ var fo, Ys = {
2308
2308
  }
2309
2309
  }, i2 = 0;
2310
2310
  function Wt(e, n, t, i, r, s, o, a, l, c) {
2311
- Object.defineProperty(this, "id", { value: i2++ }), this.uuid = wt.generateUUID(), this.name = "", this.image = e !== void 0 ? e : Wt.DEFAULT_IMAGE, this.mipmaps = [], this.mapping = n !== void 0 ? n : Wt.DEFAULT_MAPPING, this.wrapS = t !== void 0 ? t : Kn, this.wrapT = i !== void 0 ? i : Kn, this.magFilter = r !== void 0 ? r : Bn, this.minFilter = s !== void 0 ? s : _d, this.anisotropy = l !== void 0 ? l : 1, this.format = o !== void 0 ? o : Ti, this.internalFormat = null, this.type = a !== void 0 ? a : jc, this.offset = new pe(0, 0), this.repeat = new pe(1, 1), this.center = new pe(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Qn(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, this.encoding = c !== void 0 ? c : $n, this.version = 0, this.onUpdate = null;
2311
+ Object.defineProperty(this, "id", { value: i2++ }), this.uuid = wt.generateUUID(), this.name = "", this.image = e !== void 0 ? e : Wt.DEFAULT_IMAGE, this.mipmaps = [], this.mapping = n !== void 0 ? n : Wt.DEFAULT_MAPPING, this.wrapS = t !== void 0 ? t : Kn, this.wrapT = i !== void 0 ? i : Kn, this.magFilter = r !== void 0 ? r : Bn, this.minFilter = s !== void 0 ? s : Pd, this.anisotropy = l !== void 0 ? l : 1, this.format = o !== void 0 ? o : Ti, this.internalFormat = null, this.type = a !== void 0 ? a : jc, this.offset = new pe(0, 0), this.repeat = new pe(1, 1), this.center = new pe(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Qn(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, this.encoding = c !== void 0 ? c : $n, this.version = 0, this.onUpdate = null;
2312
2312
  }
2313
2313
  Wt.DEFAULT_IMAGE = void 0;
2314
2314
  Wt.DEFAULT_MAPPING = ig;
@@ -2823,7 +2823,7 @@ Object.assign(Mn.prototype, {
2823
2823
  _onChangeCallback: function() {
2824
2824
  }
2825
2825
  });
2826
- var Af = new B(), Gv = new Mn();
2826
+ var bf = new B(), Gv = new Mn();
2827
2827
  function B(e, n, t) {
2828
2828
  this.x = e || 0, this.y = n || 0, this.z = t || 0;
2829
2829
  }
@@ -3016,10 +3016,10 @@ Object.assign(B.prototype, {
3016
3016
  return this.copy(e).multiplyScalar(t);
3017
3017
  },
3018
3018
  projectOnPlane: function(e) {
3019
- return Af.copy(this).projectOnVector(e), this.sub(Af);
3019
+ return bf.copy(this).projectOnVector(e), this.sub(bf);
3020
3020
  },
3021
3021
  reflect: function(e) {
3022
- return this.sub(Af.copy(e).multiplyScalar(2 * this.dot(e)));
3022
+ return this.sub(bf.copy(e).multiplyScalar(2 * this.dot(e)));
3023
3023
  },
3024
3024
  angleTo: function(e) {
3025
3025
  var n = Math.sqrt(this.lengthSq() * e.lengthSq());
@@ -3832,7 +3832,7 @@ var vr = [
3832
3832
  new B(),
3833
3833
  new B(),
3834
3834
  new B()
3835
- ], hl = new B(), wf = new mi(), go = new B(), vo = new B(), yo = new B(), jr = new B(), Hr = new B(), _s = new B(), ul = new B(), vh = new B(), yh = new B(), Is = new B();
3835
+ ], hl = new B(), Af = new mi(), go = new B(), vo = new B(), yo = new B(), jr = new B(), Hr = new B(), _s = new B(), ul = new B(), vh = new B(), yh = new B(), Is = new B();
3836
3836
  function mi(e, n) {
3837
3837
  this.min = e !== void 0 ? e : new B(1 / 0, 1 / 0, 1 / 0), this.max = n !== void 0 ? n : new B(-1 / 0, -1 / 0, -1 / 0);
3838
3838
  }
@@ -3898,7 +3898,7 @@ Object.assign(mi.prototype, {
3898
3898
  expandByObject: function(e) {
3899
3899
  e.updateWorldMatrix(!1, !1);
3900
3900
  var n = e.geometry;
3901
- n !== void 0 && (n.boundingBox === null && n.computeBoundingBox(), wf.copy(n.boundingBox), wf.applyMatrix4(e.matrixWorld), this.union(wf));
3901
+ n !== void 0 && (n.boundingBox === null && n.computeBoundingBox(), Af.copy(n.boundingBox), Af.applyMatrix4(e.matrixWorld), this.union(Af));
3902
3902
  for (var t = e.children, i = 0, r = t.length; i < r; i++)
3903
3903
  this.expandByObject(t[i]);
3904
3904
  return this;
@@ -3959,7 +3959,7 @@ Object.assign(mi.prototype, {
3959
3959
  _s.x,
3960
3960
  0
3961
3961
  ];
3962
- return !xf(n, go, vo, yo, vh) || (n = [1, 0, 0, 0, 1, 0, 0, 0, 1], !xf(n, go, vo, yo, vh)) ? !1 : (yh.crossVectors(jr, Hr), n = [yh.x, yh.y, yh.z], xf(n, go, vo, yo, vh));
3962
+ return !wf(n, go, vo, yo, vh) || (n = [1, 0, 0, 0, 1, 0, 0, 0, 1], !wf(n, go, vo, yo, vh)) ? !1 : (yh.crossVectors(jr, Hr), n = [yh.x, yh.y, yh.z], wf(n, go, vo, yo, vh));
3963
3963
  },
3964
3964
  clampPoint: function(e, n) {
3965
3965
  return n === void 0 && (console.warn("THREE.Box3: .clampPoint() target is now required"), n = new B()), n.copy(e).clamp(this.min, this.max);
@@ -3987,7 +3987,7 @@ Object.assign(mi.prototype, {
3987
3987
  return e.min.equals(this.min) && e.max.equals(this.max);
3988
3988
  }
3989
3989
  });
3990
- function xf(e, n, t, i, r) {
3990
+ function wf(e, n, t, i, r) {
3991
3991
  var s, o;
3992
3992
  for (s = 0, o = e.length - 3; s <= o; s += 3) {
3993
3993
  Is.fromArray(e, s);
@@ -4057,7 +4057,7 @@ Object.assign(cr.prototype, {
4057
4057
  return e.center.equals(this.center) && e.radius === this.radius;
4058
4058
  }
4059
4059
  });
4060
- var yr = new B(), Mf = new B(), bh = new B(), Ur = new B(), Ef = new B(), Ah = new B(), Cf = new B();
4060
+ var yr = new B(), xf = new B(), bh = new B(), Ur = new B(), Mf = new B(), Ah = new B(), Ef = new B();
4061
4061
  function Ha(e, n) {
4062
4062
  this.origin = e !== void 0 ? e : new B(), this.direction = n !== void 0 ? n : new B(0, 0, -1);
4063
4063
  }
@@ -4093,7 +4093,7 @@ Object.assign(Ha.prototype, {
4093
4093
  return n < 0 ? this.origin.distanceToSquared(e) : (yr.copy(this.direction).multiplyScalar(n).add(this.origin), yr.distanceToSquared(e));
4094
4094
  },
4095
4095
  distanceSqToSegment: function(e, n, t, i) {
4096
- Mf.copy(e).add(n).multiplyScalar(0.5), bh.copy(n).sub(e).normalize(), Ur.copy(this.origin).sub(Mf);
4096
+ xf.copy(e).add(n).multiplyScalar(0.5), bh.copy(n).sub(e).normalize(), Ur.copy(this.origin).sub(xf);
4097
4097
  var r = e.distanceTo(n) * 0.5, s = -this.direction.dot(bh), o = Ur.dot(this.direction), a = -Ur.dot(bh), l = Ur.lengthSq(), c = Math.abs(1 - s * s), h, u, d, f;
4098
4098
  if (c > 0)
4099
4099
  if (h = s * a - o, u = s * o - a, f = r * c, h >= 0)
@@ -4109,7 +4109,7 @@ Object.assign(Ha.prototype, {
4109
4109
  u <= -f ? (h = Math.max(0, -(-s * r + o)), u = h > 0 ? -r : Math.min(Math.max(-r, -a), r), d = -h * h + u * (u + 2 * a) + l) : u <= f ? (h = 0, u = Math.min(Math.max(-r, -a), r), d = u * (u + 2 * a) + l) : (h = Math.max(0, -(s * r + o)), u = h > 0 ? r : Math.min(Math.max(-r, -a), r), d = -h * h + u * (u + 2 * a) + l);
4110
4110
  else
4111
4111
  u = s > 0 ? -r : r, h = Math.max(0, -(s * u + o)), d = -h * h + u * (u + 2 * a) + l;
4112
- return t && t.copy(this.direction).multiplyScalar(h).add(this.origin), i && i.copy(bh).multiplyScalar(u).add(Mf), d;
4112
+ return t && t.copy(this.direction).multiplyScalar(h).add(this.origin), i && i.copy(bh).multiplyScalar(u).add(xf), d;
4113
4113
  },
4114
4114
  intersectSphere: function(e, n) {
4115
4115
  yr.subVectors(e.center, this.origin);
@@ -4148,8 +4148,8 @@ Object.assign(Ha.prototype, {
4148
4148
  return this.intersectBox(e, yr) !== null;
4149
4149
  },
4150
4150
  intersectTriangle: function(e, n, t, i, r) {
4151
- Ef.subVectors(n, e), Ah.subVectors(t, e), Cf.crossVectors(Ef, Ah);
4152
- var s = this.direction.dot(Cf), o;
4151
+ Mf.subVectors(n, e), Ah.subVectors(t, e), Ef.crossVectors(Mf, Ah);
4152
+ var s = this.direction.dot(Ef), o;
4153
4153
  if (s > 0) {
4154
4154
  if (i)
4155
4155
  return null;
@@ -4162,10 +4162,10 @@ Object.assign(Ha.prototype, {
4162
4162
  var a = o * this.direction.dot(Ah.crossVectors(Ur, Ah));
4163
4163
  if (a < 0)
4164
4164
  return null;
4165
- var l = o * this.direction.dot(Ef.cross(Ur));
4165
+ var l = o * this.direction.dot(Mf.cross(Ur));
4166
4166
  if (l < 0 || a + l > s)
4167
4167
  return null;
4168
- var c = -o * Ur.dot(Cf);
4168
+ var c = -o * Ur.dot(Ef);
4169
4169
  return c < 0 ? null : this.at(c / s, r);
4170
4170
  },
4171
4171
  applyMatrix4: function(e) {
@@ -4175,7 +4175,7 @@ Object.assign(Ha.prototype, {
4175
4175
  return e.origin.equals(this.origin) && e.direction.equals(this.direction);
4176
4176
  }
4177
4177
  });
4178
- var Pf = new B(), d2 = new B(), f2 = new Qn();
4178
+ var Cf = new B(), d2 = new B(), f2 = new Qn();
4179
4179
  function Yi(e, n) {
4180
4180
  this.normal = e !== void 0 ? e : new B(1, 0, 0), this.constant = n !== void 0 ? n : 0;
4181
4181
  }
@@ -4191,7 +4191,7 @@ Object.assign(Yi.prototype, {
4191
4191
  return this.normal.copy(e), this.constant = -n.dot(this.normal), this;
4192
4192
  },
4193
4193
  setFromCoplanarPoints: function(e, n, t) {
4194
- var i = Pf.subVectors(t, n).cross(d2.subVectors(e, n)).normalize();
4194
+ var i = Cf.subVectors(t, n).cross(d2.subVectors(e, n)).normalize();
4195
4195
  return this.setFromNormalAndCoplanarPoint(i, e), this;
4196
4196
  },
4197
4197
  clone: function() {
@@ -4218,7 +4218,7 @@ Object.assign(Yi.prototype, {
4218
4218
  },
4219
4219
  intersectLine: function(e, n) {
4220
4220
  n === void 0 && (console.warn("THREE.Plane: .intersectLine() target is now required"), n = new B());
4221
- var t = e.delta(Pf), i = this.normal.dot(t);
4221
+ var t = e.delta(Cf), i = this.normal.dot(t);
4222
4222
  if (i === 0)
4223
4223
  return this.distanceToPoint(e.start) === 0 ? n.copy(e.start) : void 0;
4224
4224
  var r = -(e.start.dot(this.normal) + this.constant) / i;
@@ -4239,7 +4239,7 @@ Object.assign(Yi.prototype, {
4239
4239
  return e === void 0 && (console.warn("THREE.Plane: .coplanarPoint() target is now required"), e = new B()), e.copy(this.normal).multiplyScalar(-this.constant);
4240
4240
  },
4241
4241
  applyMatrix4: function(e, n) {
4242
- var t = n || f2.getNormalMatrix(e), i = this.coplanarPoint(Pf).applyMatrix4(e), r = this.normal.applyMatrix3(t).normalize();
4242
+ var t = n || f2.getNormalMatrix(e), i = this.coplanarPoint(Cf).applyMatrix4(e), r = this.normal.applyMatrix3(t).normalize();
4243
4243
  return this.constant = -i.dot(r), this;
4244
4244
  },
4245
4245
  translate: function(e) {
@@ -4249,7 +4249,7 @@ Object.assign(Yi.prototype, {
4249
4249
  return e.normal.equals(this.normal) && e.constant === this.constant;
4250
4250
  }
4251
4251
  });
4252
- var Ci = new B(), wr = new B(), _f = new B(), br = new B(), bo = new B(), Ao = new B(), Xv = new B(), If = new B(), Sf = new B(), Tf = new B();
4252
+ var Ci = new B(), wr = new B(), Pf = new B(), br = new B(), bo = new B(), Ao = new B(), Xv = new B(), _f = new B(), If = new B(), Sf = new B();
4253
4253
  function Ln(e, n, t) {
4254
4254
  this.a = e !== void 0 ? e : new B(), this.b = n !== void 0 ? n : new B(), this.c = t !== void 0 ? t : new B();
4255
4255
  }
@@ -4262,8 +4262,8 @@ Object.assign(Ln, {
4262
4262
  // static/instance method to calculate barycentric coordinates
4263
4263
  // based on: http://www.blackpawn.com/texts/pointinpoly/default.html
4264
4264
  getBarycoord: function(e, n, t, i, r) {
4265
- Ci.subVectors(i, n), wr.subVectors(t, n), _f.subVectors(e, n);
4266
- var s = Ci.dot(Ci), o = Ci.dot(wr), a = Ci.dot(_f), l = wr.dot(wr), c = wr.dot(_f), h = s * l - o * o;
4265
+ Ci.subVectors(i, n), wr.subVectors(t, n), Pf.subVectors(e, n);
4266
+ var s = Ci.dot(Ci), o = Ci.dot(wr), a = Ci.dot(Pf), l = wr.dot(wr), c = wr.dot(Pf), h = s * l - o * o;
4267
4267
  if (r === void 0 && (console.warn("THREE.Triangle: .getBarycoord() target is now required"), r = new B()), h === 0)
4268
4268
  return r.set(-2, -1, -1);
4269
4269
  var u = 1 / h, d = (l * a - o * c) * u, f = (s * c - o * a) * u;
@@ -4322,19 +4322,19 @@ Object.assign(Ln.prototype, {
4322
4322
  closestPointToPoint: function(e, n) {
4323
4323
  n === void 0 && (console.warn("THREE.Triangle: .closestPointToPoint() target is now required"), n = new B());
4324
4324
  var t = this.a, i = this.b, r = this.c, s, o;
4325
- bo.subVectors(i, t), Ao.subVectors(r, t), If.subVectors(e, t);
4326
- var a = bo.dot(If), l = Ao.dot(If);
4325
+ bo.subVectors(i, t), Ao.subVectors(r, t), _f.subVectors(e, t);
4326
+ var a = bo.dot(_f), l = Ao.dot(_f);
4327
4327
  if (a <= 0 && l <= 0)
4328
4328
  return n.copy(t);
4329
- Sf.subVectors(e, i);
4330
- var c = bo.dot(Sf), h = Ao.dot(Sf);
4329
+ If.subVectors(e, i);
4330
+ var c = bo.dot(If), h = Ao.dot(If);
4331
4331
  if (c >= 0 && h <= c)
4332
4332
  return n.copy(i);
4333
4333
  var u = a * h - c * l;
4334
4334
  if (u <= 0 && a >= 0 && c <= 0)
4335
4335
  return s = a / (a - c), n.copy(t).addScaledVector(bo, s);
4336
- Tf.subVectors(e, r);
4337
- var d = bo.dot(Tf), f = Ao.dot(Tf);
4336
+ Sf.subVectors(e, r);
4337
+ var d = bo.dot(Sf), f = Ao.dot(Sf);
4338
4338
  if (f >= 0 && d <= f)
4339
4339
  return n.copy(r);
4340
4340
  var m = d * l - a * f;
@@ -4503,13 +4503,13 @@ var yw = {
4503
4503
  function Qe(e, n, t) {
4504
4504
  return n === void 0 && t === void 0 ? this.set(e) : this.setRGB(e, n, t);
4505
4505
  }
4506
- function Df(e, n, t) {
4506
+ function Tf(e, n, t) {
4507
4507
  return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (n - e) * 6 * t : t < 1 / 2 ? n : t < 2 / 3 ? e + (n - e) * 6 * (2 / 3 - t) : e;
4508
4508
  }
4509
- function Lf(e) {
4509
+ function Df(e) {
4510
4510
  return e < 0.04045 ? e * 0.0773993808 : Math.pow(e * 0.9478672986 + 0.0521327014, 2.4);
4511
4511
  }
4512
- function kf(e) {
4512
+ function Lf(e) {
4513
4513
  return e < 31308e-7 ? e * 12.92 : 1.055 * Math.pow(e, 0.41666) - 0.055;
4514
4514
  }
4515
4515
  Object.assign(Qe.prototype, {
@@ -4534,7 +4534,7 @@ Object.assign(Qe.prototype, {
4534
4534
  this.r = this.g = this.b = t;
4535
4535
  else {
4536
4536
  var i = t <= 0.5 ? t * (1 + n) : t + n - t * n, r = 2 * t - i;
4537
- this.r = Df(r, i, e + 1 / 3), this.g = Df(r, i, e), this.b = Df(r, i, e - 1 / 3);
4537
+ this.r = Tf(r, i, e + 1 / 3), this.g = Tf(r, i, e), this.b = Tf(r, i, e - 1 / 3);
4538
4538
  }
4539
4539
  return this;
4540
4540
  },
@@ -4595,10 +4595,10 @@ Object.assign(Qe.prototype, {
4595
4595
  return this.copyLinearToGamma(this, e), this;
4596
4596
  },
4597
4597
  copySRGBToLinear: function(e) {
4598
- return this.r = Lf(e.r), this.g = Lf(e.g), this.b = Lf(e.b), this;
4598
+ return this.r = Df(e.r), this.g = Df(e.g), this.b = Df(e.b), this;
4599
4599
  },
4600
4600
  copyLinearToSRGB: function(e) {
4601
- return this.r = kf(e.r), this.g = kf(e.g), this.b = kf(e.b), this;
4601
+ return this.r = Lf(e.r), this.g = Lf(e.g), this.b = Lf(e.b), this;
4602
4602
  },
4603
4603
  convertSRGBToLinear: function() {
4604
4604
  return this.copySRGBToLinear(this), this;
@@ -4698,7 +4698,7 @@ Object.assign(_u.prototype, {
4698
4698
  });
4699
4699
  var p2 = 0;
4700
4700
  function dt() {
4701
- Object.defineProperty(this, "id", { value: p2++ }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Material", this.fog = !0, this.blending = Ol, this.side = Vc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = lw, this.blendDst = cw, this.blendEquation = zo, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.depthFunc = Rp, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc = n2, this.stencilRef = 0, this.stencilFuncMask = 255, this.stencilFail = bf, this.stencilZFail = bf, this.stencilZPass = bf, this.stencilWrite = !1, this.clippingPlanes = null, this.clipIntersection = !1, this.clipShadows = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetFactor = 0, this.polygonOffsetUnits = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.toneMapped = !0, this.userData = {}, this.version = 0;
4701
+ Object.defineProperty(this, "id", { value: p2++ }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Material", this.fog = !0, this.blending = Ol, this.side = Vc, this.flatShading = !1, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.blendSrc = lw, this.blendDst = cw, this.blendEquation = zo, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.depthFunc = kp, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc = n2, this.stencilRef = 0, this.stencilFuncMask = 255, this.stencilFail = yf, this.stencilZFail = yf, this.stencilZPass = yf, this.stencilWrite = !1, this.clippingPlanes = null, this.clipIntersection = !1, this.clipShadows = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetFactor = 0, this.polygonOffsetUnits = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.toneMapped = !0, this.userData = {}, this.version = 0;
4702
4702
  }
4703
4703
  dt.prototype = Object.assign(Object.create(Or.prototype), {
4704
4704
  constructor: dt,
@@ -4777,7 +4777,7 @@ Object.defineProperty(dt.prototype, "needsUpdate", {
4777
4777
  }
4778
4778
  });
4779
4779
  function ki(e) {
4780
- dt.call(this), this.type = "MeshBasicMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.setValues(e);
4780
+ dt.call(this), this.type = "MeshBasicMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Cd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.setValues(e);
4781
4781
  }
4782
4782
  ki.prototype = Object.create(dt.prototype);
4783
4783
  ki.prototype.constructor = ki;
@@ -4789,7 +4789,7 @@ var Gt = new B();
4789
4789
  function ut(e, n, t) {
4790
4790
  if (Array.isArray(e))
4791
4791
  throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");
4792
- this.name = "", this.array = e, this.itemSize = n, this.count = e !== void 0 ? e.length / n : 0, this.normalized = t === !0, this.usage = Sd, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
4792
+ this.name = "", this.array = e, this.itemSize = n, this.count = e !== void 0 ? e.length / n : 0, this.normalized = t === !0, this.usage = Id, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
4793
4793
  }
4794
4794
  Object.defineProperty(ut.prototype, "needsUpdate", {
4795
4795
  set: function(e) {
@@ -4914,36 +4914,36 @@ Object.assign(ut.prototype, {
4914
4914
  };
4915
4915
  }
4916
4916
  });
4917
- function Bp(e, n, t) {
4917
+ function zp(e, n, t) {
4918
4918
  ut.call(this, new Int8Array(e), n, t);
4919
4919
  }
4920
+ zp.prototype = Object.create(ut.prototype);
4921
+ zp.prototype.constructor = zp;
4922
+ function Bp(e, n, t) {
4923
+ ut.call(this, new Uint8Array(e), n, t);
4924
+ }
4920
4925
  Bp.prototype = Object.create(ut.prototype);
4921
4926
  Bp.prototype.constructor = Bp;
4922
4927
  function Np(e, n, t) {
4923
- ut.call(this, new Uint8Array(e), n, t);
4928
+ ut.call(this, new Uint8ClampedArray(e), n, t);
4924
4929
  }
4925
4930
  Np.prototype = Object.create(ut.prototype);
4926
4931
  Np.prototype.constructor = Np;
4927
4932
  function Fp(e, n, t) {
4928
- ut.call(this, new Uint8ClampedArray(e), n, t);
4933
+ ut.call(this, new Int16Array(e), n, t);
4929
4934
  }
4930
4935
  Fp.prototype = Object.create(ut.prototype);
4931
4936
  Fp.prototype.constructor = Fp;
4932
- function Vp(e, n, t) {
4933
- ut.call(this, new Int16Array(e), n, t);
4934
- }
4935
- Vp.prototype = Object.create(ut.prototype);
4936
- Vp.prototype.constructor = Vp;
4937
4937
  function ql(e, n, t) {
4938
4938
  ut.call(this, new Uint16Array(e), n, t);
4939
4939
  }
4940
4940
  ql.prototype = Object.create(ut.prototype);
4941
4941
  ql.prototype.constructor = ql;
4942
- function Gp(e, n, t) {
4942
+ function Vp(e, n, t) {
4943
4943
  ut.call(this, new Int32Array(e), n, t);
4944
4944
  }
4945
- Gp.prototype = Object.create(ut.prototype);
4946
- Gp.prototype.constructor = Gp;
4945
+ Vp.prototype = Object.create(ut.prototype);
4946
+ Vp.prototype.constructor = Vp;
4947
4947
  function Kl(e, n, t) {
4948
4948
  ut.call(this, new Uint32Array(e), n, t);
4949
4949
  }
@@ -4954,11 +4954,11 @@ function ze(e, n, t) {
4954
4954
  }
4955
4955
  ze.prototype = Object.create(ut.prototype);
4956
4956
  ze.prototype.constructor = ze;
4957
- function jp(e, n, t) {
4957
+ function Gp(e, n, t) {
4958
4958
  ut.call(this, new Float64Array(e), n, t);
4959
4959
  }
4960
- jp.prototype = Object.create(ut.prototype);
4961
- jp.prototype.constructor = jp;
4960
+ Gp.prototype = Object.create(ut.prototype);
4961
+ Gp.prototype.constructor = Gp;
4962
4962
  function bw() {
4963
4963
  this.vertices = [], this.normals = [], this.colors = [], this.uvs = [], this.uvs2 = [], this.groups = [], this.morphTargets = {}, this.skinWeights = [], this.skinIndices = [], this.boundingBox = null, this.boundingSphere = null, this.verticesNeedUpdate = !1, this.normalsNeedUpdate = !1, this.colorsNeedUpdate = !1, this.uvsNeedUpdate = !1, this.groupsNeedUpdate = !1;
4964
4964
  }
@@ -5042,7 +5042,7 @@ function Aw(e) {
5042
5042
  e[t] > n && (n = e[t]);
5043
5043
  return n;
5044
5044
  }
5045
- var m2 = 1, Ui = new Mt(), Rf = new je(), wo = new B(), ii = new mi(), dl = new mi(), fn = new B();
5045
+ var m2 = 1, Ui = new Mt(), kf = new je(), wo = new B(), ii = new mi(), dl = new mi(), fn = new B();
5046
5046
  function Xe() {
5047
5047
  Object.defineProperty(this, "id", { value: m2 += 2 }), this.uuid = wt.generateUUID(), this.name = "", this.type = "BufferGeometry", this.index = null, this.attributes = {}, this.morphAttributes = {}, this.morphTargetsRelative = !1, this.groups = [], this.boundingBox = null, this.boundingSphere = null, this.drawRange = { start: 0, count: 1 / 0 }, this.userData = {};
5048
5048
  }
@@ -5104,7 +5104,7 @@ Xe.prototype = Object.assign(Object.create(Or.prototype), {
5104
5104
  return Ui.makeScale(e, n, t), this.applyMatrix4(Ui), this;
5105
5105
  },
5106
5106
  lookAt: function(e) {
5107
- return Rf.lookAt(e), Rf.updateMatrix(), this.applyMatrix4(Rf.matrix), this;
5107
+ return kf.lookAt(e), kf.updateMatrix(), this.applyMatrix4(kf.matrix), this;
5108
5108
  },
5109
5109
  center: function() {
5110
5110
  return this.computeBoundingBox(), this.boundingBox.getCenter(wo).negate(), this.translate(wo.x, wo.y, wo.z), this;
@@ -5360,7 +5360,7 @@ Xe.prototype = Object.assign(Object.create(Or.prototype), {
5360
5360
  this.dispatchEvent({ type: "dispose" });
5361
5361
  }
5362
5362
  });
5363
- var Zv = new Mt(), Ss = new Ha(), Of = new cr(), Wr = new B(), Qr = new B(), Yr = new B(), zf = new B(), Bf = new B(), Nf = new B(), xh = new B(), Mh = new B(), Eh = new B(), Go = new pe(), jo = new pe(), Ho = new pe(), Nl = new B(), Ch = new B();
5363
+ var Zv = new Mt(), Ss = new Ha(), Rf = new cr(), Wr = new B(), Qr = new B(), Yr = new B(), Of = new B(), zf = new B(), Bf = new B(), xh = new B(), Mh = new B(), Eh = new B(), Go = new pe(), jo = new pe(), Ho = new pe(), Nl = new B(), Ch = new B();
5364
5364
  function en(e, n) {
5365
5365
  je.call(this), this.type = "Mesh", this.geometry = e !== void 0 ? e : new Xe(), this.material = n !== void 0 ? n : new ki(), this.updateMorphTargets();
5366
5366
  }
@@ -5387,7 +5387,7 @@ en.prototype = Object.assign(Object.create(je.prototype), {
5387
5387
  },
5388
5388
  raycast: function(e, n) {
5389
5389
  var t = this.geometry, i = this.material, r = this.matrixWorld;
5390
- if (i !== void 0 && (t.boundingSphere === null && t.computeBoundingSphere(), Of.copy(t.boundingSphere), Of.applyMatrix4(r), e.ray.intersectsSphere(Of) !== !1 && (Zv.getInverse(r), Ss.copy(e.ray).applyMatrix4(Zv), !(t.boundingBox !== null && Ss.intersectsBox(t.boundingBox) === !1)))) {
5390
+ if (i !== void 0 && (t.boundingSphere === null && t.computeBoundingSphere(), Rf.copy(t.boundingSphere), Rf.applyMatrix4(r), e.ray.intersectsSphere(Rf) !== !1 && (Zv.getInverse(r), Ss.copy(e.ray).applyMatrix4(Zv), !(t.boundingBox !== null && Ss.intersectsBox(t.boundingBox) === !1)))) {
5391
5391
  var s;
5392
5392
  if (t.isBufferGeometry) {
5393
5393
  var o, a, l, c = t.index, h = t.attributes.position, u = t.morphAttributes.position, d = t.morphTargetsRelative, f = t.attributes.uv, m = t.attributes.uv2, p = t.groups, g = t.drawRange, y, b, A, w, x, M, P, I;
@@ -5429,7 +5429,7 @@ en.prototype = Object.assign(Object.create(je.prototype), {
5429
5429
  });
5430
5430
  function ww(e, n, t, i, r, s, o, a) {
5431
5431
  var l;
5432
- if (n.side === xn ? l = i.intersectTriangle(o, s, r, !0, a) : l = i.intersectTriangle(r, s, o, n.side !== Cd, a), l === null)
5432
+ if (n.side === xn ? l = i.intersectTriangle(o, s, r, !0, a) : l = i.intersectTriangle(r, s, o, n.side !== Ed, a), l === null)
5433
5433
  return null;
5434
5434
  Ch.copy(a), Ch.applyMatrix4(e.matrixWorld);
5435
5435
  var c = t.ray.origin.distanceTo(Ch);
@@ -5446,7 +5446,7 @@ function Ph(e, n, t, i, r, s, o, a, l, c, h, u) {
5446
5446
  xh.set(0, 0, 0), Mh.set(0, 0, 0), Eh.set(0, 0, 0);
5447
5447
  for (var f = 0, m = s.length; f < m; f++) {
5448
5448
  var p = d[f], g = s[f];
5449
- p !== 0 && (zf.fromBufferAttribute(g, c), Bf.fromBufferAttribute(g, h), Nf.fromBufferAttribute(g, u), o ? (xh.addScaledVector(zf, p), Mh.addScaledVector(Bf, p), Eh.addScaledVector(Nf, p)) : (xh.addScaledVector(zf.sub(Wr), p), Mh.addScaledVector(Bf.sub(Qr), p), Eh.addScaledVector(Nf.sub(Yr), p)));
5449
+ p !== 0 && (Of.fromBufferAttribute(g, c), zf.fromBufferAttribute(g, h), Bf.fromBufferAttribute(g, u), o ? (xh.addScaledVector(Of, p), Mh.addScaledVector(zf, p), Eh.addScaledVector(Bf, p)) : (xh.addScaledVector(Of.sub(Wr), p), Mh.addScaledVector(zf.sub(Qr), p), Eh.addScaledVector(Bf.sub(Yr), p)));
5450
5450
  }
5451
5451
  Wr.add(xh), Qr.add(Mh), Yr.add(Eh);
5452
5452
  }
@@ -5459,7 +5459,7 @@ function Ph(e, n, t, i, r, s, o, a, l, c, h, u) {
5459
5459
  }
5460
5460
  return y;
5461
5461
  }
5462
- var g2 = 0, Wi = new Mt(), Ff = new je(), _h = new B();
5462
+ var g2 = 0, Wi = new Mt(), Nf = new je(), _h = new B();
5463
5463
  function pt() {
5464
5464
  Object.defineProperty(this, "id", { value: g2 += 2 }), this.uuid = wt.generateUUID(), this.name = "", this.type = "Geometry", this.vertices = [], this.colors = [], this.faces = [], this.faceVertexUvs = [[]], this.morphTargets = [], this.morphNormals = [], this.skinWeights = [], this.skinIndices = [], this.lineDistances = [], this.boundingBox = null, this.boundingSphere = null, this.elementsNeedUpdate = !1, this.verticesNeedUpdate = !1, this.uvsNeedUpdate = !1, this.normalsNeedUpdate = !1, this.colorsNeedUpdate = !1, this.lineDistancesNeedUpdate = !1, this.groupsNeedUpdate = !1;
5465
5465
  }
@@ -5495,7 +5495,7 @@ pt.prototype = Object.assign(Object.create(Or.prototype), {
5495
5495
  return Wi.makeScale(e, n, t), this.applyMatrix4(Wi), this;
5496
5496
  },
5497
5497
  lookAt: function(e) {
5498
- return Ff.lookAt(e), Ff.updateMatrix(), this.applyMatrix4(Ff.matrix), this;
5498
+ return Nf.lookAt(e), Nf.updateMatrix(), this.applyMatrix4(Nf.matrix), this;
5499
5499
  },
5500
5500
  fromBufferGeometry: function(e) {
5501
5501
  var n = this, t = e.index !== null ? e.index.array : void 0, i = e.attributes;
@@ -5855,10 +5855,10 @@ class v2 extends pt {
5855
5855
  widthSegments: r,
5856
5856
  heightSegments: s,
5857
5857
  depthSegments: o
5858
- }, this.fromBufferGeometry(new Td(n, t, i, r, s, o)), this.mergeVertices();
5858
+ }, this.fromBufferGeometry(new Sd(n, t, i, r, s, o)), this.mergeVertices();
5859
5859
  }
5860
5860
  }
5861
- class Td extends Xe {
5861
+ class Sd extends Xe {
5862
5862
  constructor(n, t, i, r, s, o) {
5863
5863
  super(), this.type = "BoxBufferGeometry", this.parameters = {
5864
5864
  width: n,
@@ -6177,7 +6177,7 @@ ec.prototype.fromEquirectangularTexture = function(e, n) {
6177
6177
  blending: ts
6178
6178
  });
6179
6179
  r.uniforms.tEquirect.value = n;
6180
- var s = new en(new Td(5, 5, 5), r);
6180
+ var s = new en(new Sd(5, 5, 5), r);
6181
6181
  t.add(s);
6182
6182
  var o = new $l(1, 10, this);
6183
6183
  return o.update(e, t), s.geometry.dispose(), s.material.dispose(), this;
@@ -9551,7 +9551,7 @@ function GI(e, n, t, i) {
9551
9551
  var y = m.background, b = e.xr, A = b.getSession && b.getSession();
9552
9552
  if (A && A.environmentBlendMode === "additive" && (y = null), y === null ? d(r, s) : y && y.isColor && (d(y, 1), g = !0), (e.autoClear || g) && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), y && (y.isCubeTexture || y.isWebGLCubeRenderTarget || y.mapping === Gc)) {
9553
9553
  a === void 0 && (a = new en(
9554
- new Td(1, 1, 1),
9554
+ new Sd(1, 1, 1),
9555
9555
  new ei({
9556
9556
  type: "BackgroundCubeMaterial",
9557
9557
  uniforms: oa(Mr.cube.uniforms),
@@ -10252,14 +10252,14 @@ _w.prototype.setValue = function(e, n, t) {
10252
10252
  o.setValue(e, n[o.id], t);
10253
10253
  }
10254
10254
  };
10255
- var Vf = /([\w\d_]+)(\])?(\[|\.)?/g;
10255
+ var Ff = /([\w\d_]+)(\])?(\[|\.)?/g;
10256
10256
  function t0(e, n) {
10257
10257
  e.seq.push(n), e.map[n.id] = n;
10258
10258
  }
10259
10259
  function LS(e, n, t) {
10260
10260
  var i = e.name, r = i.length;
10261
- for (Vf.lastIndex = 0; ; ) {
10262
- var s = Vf.exec(i), o = Vf.lastIndex, a = s[1], l = s[2] === "]", c = s[3];
10261
+ for (Ff.lastIndex = 0; ; ) {
10262
+ var s = Ff.exec(i), o = Ff.lastIndex, a = s[1], l = s[2] === "]", c = s[3];
10263
10263
  if (l && (a = a | 0), c === void 0 || c === "[" && o + 2 === r) {
10264
10264
  t0(t, c === void 0 ? new DS(a, e, n) : new Pw(a, e, n));
10265
10265
  break;
@@ -10313,7 +10313,7 @@ function Iw(e) {
10313
10313
  switch (e) {
10314
10314
  case $n:
10315
10315
  return ["Linear", "( value )"];
10316
- case Id:
10316
+ case _d:
10317
10317
  return ["sRGB", "( value )"];
10318
10318
  case hg:
10319
10319
  return ["RGBE", "( value )"];
@@ -10406,14 +10406,14 @@ function s0(e, n) {
10406
10406
  return e.replace(/NUM_CLIPPING_PLANES/g, n.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g, n.numClippingPlanes - n.numClipIntersection);
10407
10407
  }
10408
10408
  var VS = /^[ \t]*#include +<([\w\d./]+)>/gm;
10409
- function Hp(e) {
10409
+ function jp(e) {
10410
10410
  return e.replace(VS, GS);
10411
10411
  }
10412
10412
  function GS(e, n) {
10413
10413
  var t = _t[n];
10414
10414
  if (t === void 0)
10415
10415
  throw new Error("Can not resolve #include <" + n + ">");
10416
- return Hp(t);
10416
+ return jp(t);
10417
10417
  }
10418
10418
  var jS = /#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g, HS = /#pragma unroll_loop_start[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}[\s]+?#pragma unroll_loop_end/g;
10419
10419
  function o0(e) {
@@ -10476,7 +10476,7 @@ function XS(e) {
10476
10476
  var n = "ENVMAP_BLENDING_NONE";
10477
10477
  if (e.envMap)
10478
10478
  switch (e.combine) {
10479
- case Pd:
10479
+ case Cd:
10480
10480
  n = "ENVMAP_BLENDING_MULTIPLY";
10481
10481
  break;
10482
10482
  case JC:
@@ -10652,7 +10652,7 @@ function ZS(e, n, t) {
10652
10652
  `
10653
10653
  `
10654
10654
  ].filter(Pl).join(`
10655
- `)), s = Hp(s), s = r0(s, t), s = s0(s, t), o = Hp(o), o = r0(o, t), o = s0(o, t), s = o0(s), o = o0(o), t.isWebGL2 && !t.isRawShaderMaterial) {
10655
+ `)), s = jp(s), s = r0(s, t), s = s0(s, t), o = jp(o), o = r0(o, t), o = s0(o, t), s = o0(s), o = o0(o), t.isWebGL2 && !t.isRawShaderMaterial) {
10656
10656
  var y = !1, b = /^\s*#version\s+300\s+es\s*\n/;
10657
10657
  t.isShaderMaterial && s.match(b) !== null && o.match(b) !== null && (y = !0, s = s.replace(b, ""), o = o.replace(b, "")), p = [
10658
10658
  `#version 300 es
@@ -10916,7 +10916,7 @@ function JS(e, n, t) {
10916
10916
  physicallyCorrectLights: e.physicallyCorrectLights,
10917
10917
  premultipliedAlpha: p.premultipliedAlpha,
10918
10918
  alphaTest: p.alphaTest,
10919
- doubleSided: p.side === Cd,
10919
+ doubleSided: p.side === Ed,
10920
10920
  flipSided: p.side === xn,
10921
10921
  depthPacking: p.depthPacking !== void 0 ? p.depthPacking : !1,
10922
10922
  index0AttributeName: p.index0AttributeName,
@@ -11316,7 +11316,7 @@ void main() {
11316
11316
  gl_Position = vec4( position, 1.0 );
11317
11317
  }`;
11318
11318
  function Tw(e, n, t) {
11319
- var i = new Hc(), r = new pe(), s = new pe(), o = new Nt(), a = [], l = [], c = {}, h = { 0: xn, 1: Vc, 2: Cd }, u = new ei({
11319
+ var i = new Hc(), r = new pe(), s = new pe(), o = new Nt(), a = [], l = [], c = {}, h = { 0: xn, 1: Vc, 2: Ed }, u = new ei({
11320
11320
  defines: {
11321
11321
  SAMPLE_RATE: 2 / 8,
11322
11322
  HALF_SAMPLE_RATE: 1 / 8
@@ -11477,7 +11477,7 @@ function c3(e, n, t) {
11477
11477
  case WC:
11478
11478
  e.depthFunc(513);
11479
11479
  break;
11480
- case Rp:
11480
+ case kp:
11481
11481
  e.depthFunc(515);
11482
11482
  break;
11483
11483
  case QC:
@@ -11548,7 +11548,7 @@ function c3(e, n, t) {
11548
11548
  return Ye;
11549
11549
  }
11550
11550
  var ye = {};
11551
- ye[3553] = ve(3553, 3553, 1), ye[34067] = ve(34067, 34069, 6), a.setClear(0, 0, 0, 1), l.setClear(1), c.setClear(0), Be(2929), l.setFunc(Rp), N(!1), j(Ev), Be(2884), xe(ts);
11551
+ ye[3553] = ve(3553, 3553, 1), ye[34067] = ve(34067, 34069, 6), a.setClear(0, 0, 0, 1), l.setClear(1), c.setClear(0), Be(2929), l.setFunc(kp), N(!1), j(Ev), Be(2884), xe(ts);
11552
11552
  function Je() {
11553
11553
  for (var $ = 0, We = u.length; $ < We; $++)
11554
11554
  u[$] = 0;
@@ -11652,7 +11652,7 @@ function c3(e, n, t) {
11652
11652
  Ye = Ye || We, Pt = Pt || $e, Ot = Ot || yt, (We !== b || Ye !== x) && (e.blendEquationSeparate(Te[We], Te[Ye]), b = We, x = Ye), ($e !== A || yt !== w || Pt !== M || Ot !== P) && (e.blendFuncSeparate(mt[$e], mt[yt], mt[Pt], mt[Ot]), A = $e, w = yt, M = Pt, P = Ot), y = $, I = null;
11653
11653
  }
11654
11654
  function Ne($, We) {
11655
- $.side === Cd ? oe(2884) : Be(2884);
11655
+ $.side === Ed ? oe(2884) : Be(2884);
11656
11656
  var $e = $.side === xn;
11657
11657
  We && ($e = !$e), N($e), $.blending === Ol && $.transparent === !1 ? xe(ts) : xe($.blending, $.blendEquation, $.blendSrc, $.blendDst, $.blendEquationAlpha, $.blendSrcAlpha, $.blendDstAlpha, $.premultipliedAlpha), l.setFunc($.depthFunc), l.setTest($.depthTest), l.setMask($.depthWrite), a.setMask($.colorWrite);
11658
11658
  var yt = $.stencilWrite;
@@ -11798,7 +11798,7 @@ function h3(e, n, t, i, r, s, o) {
11798
11798
  return j === 6403 && (Ce === 5126 && (me = 33326), Ce === 5131 && (me = 33325), Ce === 5121 && (me = 33321)), j === 6407 && (Ce === 5126 && (me = 34837), Ce === 5131 && (me = 34843), Ce === 5121 && (me = 32849)), j === 6408 && (Ce === 5126 && (me = 34836), Ce === 5131 && (me = 34842), Ce === 5121 && (me = 32856)), (me === 33325 || me === 33326 || me === 34842 || me === 34836) && n.get("EXT_color_buffer_float"), me;
11799
11799
  }
11800
11800
  function M(N) {
11801
- return N === mn || N === Op || N === zp ? 9728 : 9729;
11801
+ return N === mn || N === Rp || N === Op ? 9728 : 9729;
11802
11802
  }
11803
11803
  function P(N) {
11804
11804
  var j = N.target;
@@ -11913,11 +11913,11 @@ function h3(e, n, t, i, r, s, o) {
11913
11913
  [xu]: 33648
11914
11914
  }, ne = {
11915
11915
  [mn]: 9728,
11916
- [Op]: 9984,
11917
- [zp]: 9986,
11916
+ [Rp]: 9984,
11917
+ [Op]: 9986,
11918
11918
  [Bn]: 9729,
11919
11919
  [fw]: 9985,
11920
- [_d]: 9987
11920
+ [Pd]: 9987
11921
11921
  };
11922
11922
  function de(N, j, Ce) {
11923
11923
  Ce ? (e.texParameteri(N, 10242, te[j.wrapS]), e.texParameteri(N, 10243, te[j.wrapT]), (N === 32879 || N === 35866) && e.texParameteri(N, 32882, te[j.wrapR]), e.texParameteri(N, 10240, ne[j.magFilter]), e.texParameteri(N, 10241, ne[j.minFilter])) : (e.texParameteri(N, 10242, 33071), e.texParameteri(N, 10243, 33071), (N === 32879 || N === 35866) && e.texParameteri(N, 32882, 33071), (j.wrapS !== Kn || j.wrapT !== Kn) && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."), e.texParameteri(N, 10240, M(j.magFilter)), e.texParameteri(N, 10241, M(j.minFilter)), j.minFilter !== mn && j.minFilter !== Bn && console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."));
@@ -12173,11 +12173,11 @@ function u3(e, n, t) {
12173
12173
  }
12174
12174
  return { convert: r };
12175
12175
  }
12176
- function Up(e) {
12176
+ function Hp(e) {
12177
12177
  An.call(this), this.cameras = e || [];
12178
12178
  }
12179
- Up.prototype = Object.assign(Object.create(An.prototype), {
12180
- constructor: Up,
12179
+ Hp.prototype = Object.assign(Object.create(An.prototype), {
12180
+ constructor: Hp,
12181
12181
  isArrayCamera: !0
12182
12182
  });
12183
12183
  function ic() {
@@ -12214,7 +12214,7 @@ function Dw(e, n) {
12214
12214
  h.layers.enable(1), h.viewport = new Nt();
12215
12215
  var u = new An();
12216
12216
  u.layers.enable(2), u.viewport = new Nt();
12217
- var d = [h, u], f = new Up();
12217
+ var d = [h, u], f = new Hp();
12218
12218
  f.layers.enable(1), f.layers.enable(2);
12219
12219
  var m = null, p = null;
12220
12220
  this.enabled = !1, this.isPresenting = !1, this.getController = function(D) {
@@ -12848,13 +12848,13 @@ function Lw(e) {
12848
12848
  He.setTexture2D(V, 0), oe.unbindTexture();
12849
12849
  }, typeof __THREE_DEVTOOLS__ != "undefined" && __THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe", { detail: this }));
12850
12850
  }
12851
- function Wp(e, n) {
12851
+ function Up(e, n) {
12852
12852
  this.name = "", this.color = new Qe(e), this.density = n !== void 0 ? n : 25e-5;
12853
12853
  }
12854
- Object.assign(Wp.prototype, {
12854
+ Object.assign(Up.prototype, {
12855
12855
  isFogExp2: !0,
12856
12856
  clone: function() {
12857
- return new Wp(this.color, this.density);
12857
+ return new Up(this.color, this.density);
12858
12858
  },
12859
12859
  toJSON: function() {
12860
12860
  return {
@@ -12864,13 +12864,13 @@ Object.assign(Wp.prototype, {
12864
12864
  };
12865
12865
  }
12866
12866
  });
12867
- function Qp(e, n, t) {
12867
+ function Wp(e, n, t) {
12868
12868
  this.name = "", this.color = new Qe(e), this.near = n !== void 0 ? n : 1, this.far = t !== void 0 ? t : 1e3;
12869
12869
  }
12870
- Object.assign(Qp.prototype, {
12870
+ Object.assign(Wp.prototype, {
12871
12871
  isFog: !0,
12872
12872
  clone: function() {
12873
- return new Qp(this.color, this.near, this.far);
12873
+ return new Wp(this.color, this.near, this.far);
12874
12874
  },
12875
12875
  toJSON: function() {
12876
12876
  return {
@@ -12882,7 +12882,7 @@ Object.assign(Qp.prototype, {
12882
12882
  }
12883
12883
  });
12884
12884
  function ls(e, n) {
12885
- this.array = e, this.stride = n, this.count = e !== void 0 ? e.length / n : 0, this.usage = Sd, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
12885
+ this.array = e, this.stride = n, this.count = e !== void 0 ? e.length / n : 0, this.usage = Id, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
12886
12886
  }
12887
12887
  Object.defineProperty(ls.prototype, "needsUpdate", {
12888
12888
  set: function(e) {
@@ -13000,8 +13000,8 @@ Js.prototype.isSpriteMaterial = !0;
13000
13000
  Js.prototype.copy = function(e) {
13001
13001
  return dt.prototype.copy.call(this, e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.rotation = e.rotation, this.sizeAttenuation = e.sizeAttenuation, this;
13002
13002
  };
13003
- var Co, pl = new B(), Po = new B(), _o = new B(), Io = new pe(), ml = new pe(), kw = new Mt(), Sh = new B(), gl = new B(), Th = new B(), h0 = new pe(), Gf = new pe(), u0 = new pe();
13004
- function Yp(e) {
13003
+ var Co, pl = new B(), Po = new B(), _o = new B(), Io = new pe(), ml = new pe(), kw = new Mt(), Sh = new B(), gl = new B(), Th = new B(), h0 = new pe(), Vf = new pe(), u0 = new pe();
13004
+ function Qp(e) {
13005
13005
  if (je.call(this), this.type = "Sprite", Co === void 0) {
13006
13006
  Co = new Xe();
13007
13007
  var n = new Float32Array([
@@ -13030,22 +13030,22 @@ function Yp(e) {
13030
13030
  }
13031
13031
  this.geometry = Co, this.material = e !== void 0 ? e : new Js(), this.center = new pe(0.5, 0.5);
13032
13032
  }
13033
- Yp.prototype = Object.assign(Object.create(je.prototype), {
13034
- constructor: Yp,
13033
+ Qp.prototype = Object.assign(Object.create(je.prototype), {
13034
+ constructor: Qp,
13035
13035
  isSprite: !0,
13036
13036
  raycast: function(e, n) {
13037
13037
  e.camera === null && console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'), Po.setFromMatrixScale(this.matrixWorld), kw.copy(e.camera.matrixWorld), this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse, this.matrixWorld), _o.setFromMatrixPosition(this.modelViewMatrix), e.camera.isPerspectiveCamera && this.material.sizeAttenuation === !1 && Po.multiplyScalar(-_o.z);
13038
13038
  var t = this.material.rotation, i, r;
13039
13039
  t !== 0 && (r = Math.cos(t), i = Math.sin(t));
13040
13040
  var s = this.center;
13041
- Dh(Sh.set(-0.5, -0.5, 0), _o, s, Po, i, r), Dh(gl.set(0.5, -0.5, 0), _o, s, Po, i, r), Dh(Th.set(0.5, 0.5, 0), _o, s, Po, i, r), h0.set(0, 0), Gf.set(1, 0), u0.set(1, 1);
13041
+ Dh(Sh.set(-0.5, -0.5, 0), _o, s, Po, i, r), Dh(gl.set(0.5, -0.5, 0), _o, s, Po, i, r), Dh(Th.set(0.5, 0.5, 0), _o, s, Po, i, r), h0.set(0, 0), Vf.set(1, 0), u0.set(1, 1);
13042
13042
  var o = e.ray.intersectTriangle(Sh, gl, Th, !1, pl);
13043
- if (!(o === null && (Dh(gl.set(-0.5, 0.5, 0), _o, s, Po, i, r), Gf.set(0, 1), o = e.ray.intersectTriangle(Sh, Th, gl, !1, pl), o === null))) {
13043
+ if (!(o === null && (Dh(gl.set(-0.5, 0.5, 0), _o, s, Po, i, r), Vf.set(0, 1), o = e.ray.intersectTriangle(Sh, Th, gl, !1, pl), o === null))) {
13044
13044
  var a = e.ray.origin.distanceTo(pl);
13045
13045
  a < e.near || a > e.far || n.push({
13046
13046
  distance: a,
13047
13047
  point: pl.clone(),
13048
- uv: Ln.getUV(pl, Sh, gl, Th, h0, Gf, u0, new pe()),
13048
+ uv: Ln.getUV(pl, Sh, gl, Th, h0, Vf, u0, new pe()),
13049
13049
  face: null,
13050
13050
  object: this
13051
13051
  });
@@ -13132,11 +13132,11 @@ Tu.prototype = Object.assign(Object.create(je.prototype), {
13132
13132
  return n;
13133
13133
  }
13134
13134
  });
13135
- function Xp(e, n) {
13135
+ function Yp(e, n) {
13136
13136
  e && e.isGeometry && console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead."), en.call(this, e, n), this.type = "SkinnedMesh", this.bindMode = "attached", this.bindMatrix = new Mt(), this.bindMatrixInverse = new Mt();
13137
13137
  }
13138
- Xp.prototype = Object.assign(Object.create(en.prototype), {
13139
- constructor: Xp,
13138
+ Yp.prototype = Object.assign(Object.create(en.prototype), {
13139
+ constructor: Yp,
13140
13140
  isSkinnedMesh: !0,
13141
13141
  bind: function(e, n) {
13142
13142
  this.skeleton = e, n === void 0 && (this.updateMatrixWorld(!0), this.skeleton.calculateInverses(), n = this.matrixWorld), this.bindMatrix.copy(n), this.bindMatrixInverse.getInverse(n);
@@ -13174,7 +13174,7 @@ Xp.prototype = Object.assign(Object.create(en.prototype), {
13174
13174
  }()
13175
13175
  });
13176
13176
  var f0 = new Mt(), f3 = new Mt();
13177
- function Zp(e, n) {
13177
+ function Xp(e, n) {
13178
13178
  if (e = e || [], this.bones = e.slice(0), this.boneMatrices = new Float32Array(this.bones.length * 16), this.frame = -1, n === void 0)
13179
13179
  this.calculateInverses();
13180
13180
  else if (this.bones.length === n.length)
@@ -13185,7 +13185,7 @@ function Zp(e, n) {
13185
13185
  this.boneInverses.push(new Mt());
13186
13186
  }
13187
13187
  }
13188
- Object.assign(Zp.prototype, {
13188
+ Object.assign(Xp.prototype, {
13189
13189
  calculateInverses: function() {
13190
13190
  this.boneInverses = [];
13191
13191
  for (var e = 0, n = this.bones.length; e < n; e++) {
@@ -13208,7 +13208,7 @@ Object.assign(Zp.prototype, {
13208
13208
  i !== void 0 && (i.needsUpdate = !0);
13209
13209
  },
13210
13210
  clone: function() {
13211
- return new Zp(this.bones, this.boneInverses);
13211
+ return new Xp(this.bones, this.boneInverses);
13212
13212
  },
13213
13213
  getBoneByName: function(e) {
13214
13214
  for (var n = 0, t = this.bones.length; n < t; n++) {
@@ -13229,11 +13229,11 @@ p0.prototype = Object.assign(Object.create(je.prototype), {
13229
13229
  isBone: !0
13230
13230
  });
13231
13231
  var m0 = new Mt(), g0 = new Mt(), kh = [], vl = new en();
13232
- function Jp(e, n, t) {
13232
+ function Zp(e, n, t) {
13233
13233
  en.call(this, e, n), this.instanceMatrix = new ut(new Float32Array(t * 16), 16), this.count = t, this.frustumCulled = !1;
13234
13234
  }
13235
- Jp.prototype = Object.assign(Object.create(en.prototype), {
13236
- constructor: Jp,
13235
+ Zp.prototype = Object.assign(Object.create(en.prototype), {
13236
+ constructor: Zp,
13237
13237
  isInstancedMesh: !0,
13238
13238
  getMatrixAt: function(e, n) {
13239
13239
  n.fromArray(this.instanceMatrix.array, e * 16);
@@ -13396,11 +13396,11 @@ gn.prototype = Object.assign(Object.create(vi.prototype), {
13396
13396
  return this;
13397
13397
  }
13398
13398
  });
13399
- function qp(e, n) {
13399
+ function Jp(e, n) {
13400
13400
  vi.call(this, e, n), this.type = "LineLoop";
13401
13401
  }
13402
- qp.prototype = Object.assign(Object.create(vi.prototype), {
13403
- constructor: qp,
13402
+ Jp.prototype = Object.assign(Object.create(vi.prototype), {
13403
+ constructor: Jp,
13404
13404
  isLineLoop: !0
13405
13405
  });
13406
13406
  function qs(e) {
@@ -13412,31 +13412,31 @@ qs.prototype.isPointsMaterial = !0;
13412
13412
  qs.prototype.copy = function(e) {
13413
13413
  return dt.prototype.copy.call(this, e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.size = e.size, this.sizeAttenuation = e.sizeAttenuation, this.morphTargets = e.morphTargets, this;
13414
13414
  };
13415
- var A0 = new Mt(), Kp = new Ha(), Nh = new cr(), Fh = new B();
13416
- function $p(e, n) {
13415
+ var A0 = new Mt(), qp = new Ha(), Nh = new cr(), Fh = new B();
13416
+ function Kp(e, n) {
13417
13417
  je.call(this), this.type = "Points", this.geometry = e !== void 0 ? e : new Xe(), this.material = n !== void 0 ? n : new qs(), this.updateMorphTargets();
13418
13418
  }
13419
- $p.prototype = Object.assign(Object.create(je.prototype), {
13420
- constructor: $p,
13419
+ Kp.prototype = Object.assign(Object.create(je.prototype), {
13420
+ constructor: Kp,
13421
13421
  isPoints: !0,
13422
13422
  raycast: function(e, n) {
13423
13423
  var t = this.geometry, i = this.matrixWorld, r = e.params.Points.threshold;
13424
13424
  if (t.boundingSphere === null && t.computeBoundingSphere(), Nh.copy(t.boundingSphere), Nh.applyMatrix4(i), Nh.radius += r, e.ray.intersectsSphere(Nh) !== !1) {
13425
- A0.getInverse(i), Kp.copy(e.ray).applyMatrix4(A0);
13425
+ A0.getInverse(i), qp.copy(e.ray).applyMatrix4(A0);
13426
13426
  var s = r / ((this.scale.x + this.scale.y + this.scale.z) / 3), o = s * s;
13427
13427
  if (t.isBufferGeometry) {
13428
13428
  var a = t.index, l = t.attributes, c = l.position.array;
13429
13429
  if (a !== null)
13430
13430
  for (var h = a.array, u = 0, d = h.length; u < d; u++) {
13431
13431
  var f = h[u];
13432
- Fh.fromArray(c, f * 3), jf(Fh, f, o, i, e, n, this);
13432
+ Fh.fromArray(c, f * 3), Gf(Fh, f, o, i, e, n, this);
13433
13433
  }
13434
13434
  else
13435
13435
  for (var u = 0, m = c.length / 3; u < m; u++)
13436
- Fh.fromArray(c, u * 3), jf(Fh, u, o, i, e, n, this);
13436
+ Fh.fromArray(c, u * 3), Gf(Fh, u, o, i, e, n, this);
13437
13437
  } else
13438
13438
  for (var p = t.vertices, u = 0, m = p.length; u < m; u++)
13439
- jf(p[u], u, o, i, e, n, this);
13439
+ Gf(p[u], u, o, i, e, n, this);
13440
13440
  }
13441
13441
  },
13442
13442
  updateMorphTargets: function() {
@@ -13458,11 +13458,11 @@ $p.prototype = Object.assign(Object.create(je.prototype), {
13458
13458
  return new this.constructor(this.geometry, this.material).copy(this);
13459
13459
  }
13460
13460
  });
13461
- function jf(e, n, t, i, r, s, o) {
13462
- var a = Kp.distanceSqToPoint(e);
13461
+ function Gf(e, n, t, i, r, s, o) {
13462
+ var a = qp.distanceSqToPoint(e);
13463
13463
  if (a < t) {
13464
13464
  var l = new B();
13465
- Kp.closestPointToPoint(e, l), l.applyMatrix4(i);
13465
+ qp.closestPointToPoint(e, l), l.applyMatrix4(i);
13466
13466
  var c = r.ray.origin.distanceTo(l);
13467
13467
  if (c < r.near || c > r.far)
13468
13468
  return;
@@ -14219,7 +14219,7 @@ function Rw(e, n, t, i, r) {
14219
14219
  else
14220
14220
  for (s = t - i; s >= n; s -= i)
14221
14221
  o = x0(s, e[s], e[s + 1], o);
14222
- return o && Dd(o, o.next) && (pc(o), o = o.next), o;
14222
+ return o && Td(o, o.next) && (pc(o), o = o.next), o;
14223
14223
  }
14224
14224
  function cs(e, n) {
14225
14225
  if (!e)
@@ -14227,7 +14227,7 @@ function cs(e, n) {
14227
14227
  n || (n = e);
14228
14228
  var t = e, i;
14229
14229
  do
14230
- if (i = !1, !t.steiner && (Dd(t, t.next) || Kt(t.prev, t, t.next) === 0)) {
14230
+ if (i = !1, !t.steiner && (Td(t, t.next) || Kt(t.prev, t, t.next) === 0)) {
14231
14231
  if (pc(t), t = n = t.prev, t === t.next)
14232
14232
  break;
14233
14233
  i = !0;
@@ -14266,7 +14266,7 @@ function g3(e, n, t, i) {
14266
14266
  var r = e.prev, s = e, o = e.next;
14267
14267
  if (Kt(r, s, o) >= 0)
14268
14268
  return !1;
14269
- for (var a = r.x < s.x ? r.x < o.x ? r.x : o.x : s.x < o.x ? s.x : o.x, l = r.y < s.y ? r.y < o.y ? r.y : o.y : s.y < o.y ? s.y : o.y, c = r.x > s.x ? r.x > o.x ? r.x : o.x : s.x > o.x ? s.x : o.x, h = r.y > s.y ? r.y > o.y ? r.y : o.y : s.y > o.y ? s.y : o.y, u = em(a, l, n, t, i), d = em(c, h, n, t, i), f = e.prevZ, m = e.nextZ; f && f.z >= u && m && m.z <= d; ) {
14269
+ for (var a = r.x < s.x ? r.x < o.x ? r.x : o.x : s.x < o.x ? s.x : o.x, l = r.y < s.y ? r.y < o.y ? r.y : o.y : s.y < o.y ? s.y : o.y, c = r.x > s.x ? r.x > o.x ? r.x : o.x : s.x > o.x ? s.x : o.x, h = r.y > s.y ? r.y > o.y ? r.y : o.y : s.y > o.y ? s.y : o.y, u = $p(a, l, n, t, i), d = $p(c, h, n, t, i), f = e.prevZ, m = e.nextZ; f && f.z >= u && m && m.z <= d; ) {
14270
14270
  if (f !== e.prev && f !== e.next && Uo(r.x, r.y, s.x, s.y, o.x, o.y, f.x, f.y) && Kt(f.prev, f, f.next) >= 0 || (f = f.prevZ, m !== e.prev && m !== e.next && Uo(r.x, r.y, s.x, s.y, o.x, o.y, m.x, m.y) && Kt(m.prev, m, m.next) >= 0))
14271
14271
  return !1;
14272
14272
  m = m.nextZ;
@@ -14287,7 +14287,7 @@ function v3(e, n, t) {
14287
14287
  var i = e;
14288
14288
  do {
14289
14289
  var r = i.prev, s = i.next.next;
14290
- !Dd(r, s) && Ow(r, i, i.next, s) && fc(r, s) && fc(s, r) && (n.push(r.i / t), n.push(i.i / t), n.push(s.i / t), pc(i), pc(i.next), i = e = s), i = i.next;
14290
+ !Td(r, s) && Ow(r, i, i.next, s) && fc(r, s) && fc(s, r) && (n.push(r.i / t), n.push(i.i / t), n.push(s.i / t), pc(i), pc(i.next), i = e = s), i = i.next;
14291
14291
  } while (i !== e);
14292
14292
  return cs(i);
14293
14293
  }
@@ -14356,7 +14356,7 @@ function M3(e, n) {
14356
14356
  function E3(e, n, t, i) {
14357
14357
  var r = e;
14358
14358
  do
14359
- r.z === null && (r.z = em(r.x, r.y, n, t, i)), r.prevZ = r.prev, r.nextZ = r.next, r = r.next;
14359
+ r.z === null && (r.z = $p(r.x, r.y, n, t, i)), r.prevZ = r.prev, r.nextZ = r.next, r = r.next;
14360
14360
  while (r !== e);
14361
14361
  r.prevZ.nextZ = null, r.prevZ = null, C3(r);
14362
14362
  }
@@ -14374,7 +14374,7 @@ function C3(e) {
14374
14374
  } while (o > 1);
14375
14375
  return e;
14376
14376
  }
14377
- function em(e, n, t, i, r) {
14377
+ function $p(e, n, t, i, r) {
14378
14378
  return e = 32767 * (e - t) * r, n = 32767 * (n - i) * r, e = (e | e << 8) & 16711935, e = (e | e << 4) & 252645135, e = (e | e << 2) & 858993459, e = (e | e << 1) & 1431655765, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, e | n << 1;
14379
14379
  }
14380
14380
  function P3(e) {
@@ -14391,12 +14391,12 @@ function _3(e, n) {
14391
14391
  return e.next.i !== n.i && e.prev.i !== n.i && !I3(e, n) && // dones't intersect other edges
14392
14392
  (fc(e, n) && fc(n, e) && S3(e, n) && // locally visible
14393
14393
  (Kt(e.prev, e, n.prev) || Kt(e, n.prev, n)) || // does not create opposite-facing sectors
14394
- Dd(e, n) && Kt(e.prev, e, e.next) > 0 && Kt(n.prev, n, n.next) > 0);
14394
+ Td(e, n) && Kt(e.prev, e, e.next) > 0 && Kt(n.prev, n, n.next) > 0);
14395
14395
  }
14396
14396
  function Kt(e, n, t) {
14397
14397
  return (n.y - e.y) * (t.x - n.x) - (n.x - e.x) * (t.y - n.y);
14398
14398
  }
14399
- function Dd(e, n) {
14399
+ function Td(e, n) {
14400
14400
  return e.x === n.x && e.y === n.y;
14401
14401
  }
14402
14402
  function Ow(e, n, t, i) {
@@ -14429,17 +14429,17 @@ function S3(e, n) {
14429
14429
  return i;
14430
14430
  }
14431
14431
  function zw(e, n) {
14432
- var t = new tm(e.i, e.x, e.y), i = new tm(n.i, n.x, n.y), r = e.next, s = n.prev;
14432
+ var t = new em(e.i, e.x, e.y), i = new em(n.i, n.x, n.y), r = e.next, s = n.prev;
14433
14433
  return e.next = n, n.prev = e, t.next = r, r.prev = t, i.next = t, t.prev = i, s.next = i, i.prev = s, i;
14434
14434
  }
14435
14435
  function x0(e, n, t, i) {
14436
- var r = new tm(e, n, t);
14436
+ var r = new em(e, n, t);
14437
14437
  return i ? (r.next = i.next, r.prev = i, i.next.prev = r, i.next = r) : (r.prev = r, r.next = r), r;
14438
14438
  }
14439
14439
  function pc(e) {
14440
14440
  e.next.prev = e.prev, e.prev.next = e.next, e.prevZ && (e.prevZ.nextZ = e.nextZ), e.nextZ && (e.nextZ.prevZ = e.prevZ);
14441
14441
  }
14442
- function tm(e, n, t) {
14442
+ function em(e, n, t) {
14443
14443
  this.i = e, this.x = n, this.y = t, this.prev = null, this.next = null, this.z = null, this.prevZ = null, this.nextZ = null, this.steiner = !1;
14444
14444
  }
14445
14445
  function T3(e, n, t, i) {
@@ -15025,7 +15025,7 @@ var Un = /* @__PURE__ */ Object.freeze({
15025
15025
  CircleGeometry: Zu,
15026
15026
  CircleBufferGeometry: yc,
15027
15027
  BoxGeometry: v2,
15028
- BoxBufferGeometry: Td
15028
+ BoxBufferGeometry: Sd
15029
15029
  });
15030
15030
  function ga(e) {
15031
15031
  dt.call(this), this.type = "ShadowMaterial", this.color = new Qe(0), this.transparent = !0, this.setValues(e);
@@ -15067,7 +15067,7 @@ va.prototype.copy = function(e) {
15067
15067
  }, this.clearcoat = e.clearcoat, this.clearcoatMap = e.clearcoatMap, this.clearcoatRoughness = e.clearcoatRoughness, this.clearcoatRoughnessMap = e.clearcoatRoughnessMap, this.clearcoatNormalMap = e.clearcoatNormalMap, this.clearcoatNormalScale.copy(e.clearcoatNormalScale), this.reflectivity = e.reflectivity, e.sheen ? this.sheen = (this.sheen || new Qe()).copy(e.sheen) : this.sheen = null, this.transparency = e.transparency, this;
15068
15068
  };
15069
15069
  function Ks(e) {
15070
- dt.call(this), this.type = "MeshPhongMaterial", this.color = new Qe(16777215), this.specular = new Qe(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Ga, this.normalScale = new pe(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
15070
+ dt.call(this), this.type = "MeshPhongMaterial", this.color = new Qe(16777215), this.specular = new Qe(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Ga, this.normalScale = new pe(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Cd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
15071
15071
  }
15072
15072
  Ks.prototype = Object.create(dt.prototype);
15073
15073
  Ks.prototype.constructor = Ks;
@@ -15094,7 +15094,7 @@ ba.prototype.copy = function(e) {
15094
15094
  return dt.prototype.copy.call(this, e), this.bumpMap = e.bumpMap, this.bumpScale = e.bumpScale, this.normalMap = e.normalMap, this.normalMapType = e.normalMapType, this.normalScale.copy(e.normalScale), this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.skinning = e.skinning, this.morphTargets = e.morphTargets, this.morphNormals = e.morphNormals, this;
15095
15095
  };
15096
15096
  function Aa(e) {
15097
- dt.call(this), this.type = "MeshLambertMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Pd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
15097
+ dt.call(this), this.type = "MeshLambertMaterial", this.color = new Qe(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new Qe(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.combine = Cd, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.skinning = !1, this.morphTargets = !1, this.morphNormals = !1, this.setValues(e);
15098
15098
  }
15099
15099
  Aa.prototype = Object.create(dt.prototype);
15100
15100
  Aa.prototype.constructor = Aa;
@@ -15342,11 +15342,11 @@ Object.assign(pi.prototype, {
15342
15342
  //( N-1, tN-1, t ), returns this.resultBuffer
15343
15343
  afterEnd_: pi.prototype.copySampleValue_
15344
15344
  });
15345
- function nm(e, n, t, i) {
15345
+ function tm(e, n, t, i) {
15346
15346
  pi.call(this, e, n, t, i), this._weightPrev = -0, this._offsetPrev = -0, this._weightNext = -0, this._offsetNext = -0;
15347
15347
  }
15348
- nm.prototype = Object.assign(Object.create(pi.prototype), {
15349
- constructor: nm,
15348
+ tm.prototype = Object.assign(Object.create(pi.prototype), {
15349
+ constructor: tm,
15350
15350
  DefaultSettings_: {
15351
15351
  endingStart: sa,
15352
15352
  endingEnd: sa
@@ -15395,11 +15395,11 @@ Ju.prototype = Object.assign(Object.create(pi.prototype), {
15395
15395
  return r;
15396
15396
  }
15397
15397
  });
15398
- function im(e, n, t, i) {
15398
+ function nm(e, n, t, i) {
15399
15399
  pi.call(this, e, n, t, i);
15400
15400
  }
15401
- im.prototype = Object.assign(Object.create(pi.prototype), {
15402
- constructor: im,
15401
+ nm.prototype = Object.assign(Object.create(pi.prototype), {
15402
+ constructor: nm,
15403
15403
  interpolate_: function(e) {
15404
15404
  return this.copySampleValue_(e - 1);
15405
15405
  }
@@ -15436,13 +15436,13 @@ Object.assign(Vn.prototype, {
15436
15436
  ValueBufferType: Float32Array,
15437
15437
  DefaultInterpolation: pu,
15438
15438
  InterpolantFactoryMethodDiscrete: function(e) {
15439
- return new im(this.times, this.values, this.getValueSize(), e);
15439
+ return new nm(this.times, this.values, this.getValueSize(), e);
15440
15440
  },
15441
15441
  InterpolantFactoryMethodLinear: function(e) {
15442
15442
  return new Ju(this.times, this.values, this.getValueSize(), e);
15443
15443
  },
15444
15444
  InterpolantFactoryMethodSmooth: function(e) {
15445
- return new nm(this.times, this.values, this.getValueSize(), e);
15445
+ return new tm(this.times, this.values, this.getValueSize(), e);
15446
15446
  },
15447
15447
  setInterpolation: function(e) {
15448
15448
  var n;
@@ -15453,7 +15453,7 @@ Object.assign(Vn.prototype, {
15453
15453
  case pu:
15454
15454
  n = this.InterpolantFactoryMethodLinear;
15455
15455
  break;
15456
- case yf:
15456
+ case vf:
15457
15457
  n = this.InterpolantFactoryMethodSmooth;
15458
15458
  break;
15459
15459
  }
@@ -15475,7 +15475,7 @@ Object.assign(Vn.prototype, {
15475
15475
  case this.InterpolantFactoryMethodLinear:
15476
15476
  return pu;
15477
15477
  case this.InterpolantFactoryMethodSmooth:
15478
- return yf;
15478
+ return vf;
15479
15479
  }
15480
15480
  },
15481
15481
  getValueSize: function() {
@@ -15540,7 +15540,7 @@ Object.assign(Vn.prototype, {
15540
15540
  // removes equivalent sequential keys as common in morph target sequences
15541
15541
  // (0,0,0,0,1,1,1,0,0,0,0,0,0,0) --> (0,0,1,1,0,0)
15542
15542
  optimize: function() {
15543
- for (var e = qt.arraySlice(this.times), n = qt.arraySlice(this.values), t = this.getValueSize(), i = this.getInterpolation() === yf, r = 1, s = e.length - 1, o = 1; o < s; ++o) {
15543
+ for (var e = qt.arraySlice(this.times), n = qt.arraySlice(this.values), t = this.getValueSize(), i = this.getInterpolation() === vf, r = 1, s = e.length - 1, o = 1; o < s; ++o) {
15544
15544
  var a = !1, l = e[o], c = e[o + 1];
15545
15545
  if (l !== c && (o !== 1 || l !== l[0]))
15546
15546
  if (i)
@@ -15575,11 +15575,11 @@ Object.assign(Vn.prototype, {
15575
15575
  return i.createInterpolant = this.createInterpolant, i;
15576
15576
  }
15577
15577
  });
15578
- function rm(e, n, t) {
15578
+ function im(e, n, t) {
15579
15579
  Vn.call(this, e, n, t);
15580
15580
  }
15581
- rm.prototype = Object.assign(Object.create(Vn.prototype), {
15582
- constructor: rm,
15581
+ im.prototype = Object.assign(Object.create(Vn.prototype), {
15582
+ constructor: im,
15583
15583
  ValueTypeName: "bool",
15584
15584
  ValueBufferType: Array,
15585
15585
  DefaultInterpolation: Cu,
@@ -15589,11 +15589,11 @@ rm.prototype = Object.assign(Object.create(Vn.prototype), {
15589
15589
  // representation of a single value and a custom interpolant that
15590
15590
  // computes "firstValue ^ isOdd( index )".
15591
15591
  });
15592
- function sm(e, n, t, i) {
15592
+ function rm(e, n, t, i) {
15593
15593
  Vn.call(this, e, n, t, i);
15594
15594
  }
15595
- sm.prototype = Object.assign(Object.create(Vn.prototype), {
15596
- constructor: sm,
15595
+ rm.prototype = Object.assign(Object.create(Vn.prototype), {
15596
+ constructor: rm,
15597
15597
  ValueTypeName: "color"
15598
15598
  // ValueBufferType is inherited
15599
15599
  // DefaultInterpolation is inherited
@@ -15609,11 +15609,11 @@ bc.prototype = Object.assign(Object.create(Vn.prototype), {
15609
15609
  // ValueBufferType is inherited
15610
15610
  // DefaultInterpolation is inherited
15611
15611
  });
15612
- function om(e, n, t, i) {
15612
+ function sm(e, n, t, i) {
15613
15613
  pi.call(this, e, n, t, i);
15614
15614
  }
15615
- om.prototype = Object.assign(Object.create(pi.prototype), {
15616
- constructor: om,
15615
+ sm.prototype = Object.assign(Object.create(pi.prototype), {
15616
+ constructor: sm,
15617
15617
  interpolate_: function(e, n, t, i) {
15618
15618
  for (var r = this.resultBuffer, s = this.sampleValues, o = this.valueSize, a = e * o, l = (t - n) / (i - n), c = a + o; a !== c; a += 4)
15619
15619
  Mn.slerpFlat(r, 0, s, a - o, s, a, l);
@@ -15629,16 +15629,16 @@ qu.prototype = Object.assign(Object.create(Vn.prototype), {
15629
15629
  // ValueBufferType is inherited
15630
15630
  DefaultInterpolation: pu,
15631
15631
  InterpolantFactoryMethodLinear: function(e) {
15632
- return new om(this.times, this.values, this.getValueSize(), e);
15632
+ return new sm(this.times, this.values, this.getValueSize(), e);
15633
15633
  },
15634
15634
  InterpolantFactoryMethodSmooth: void 0
15635
15635
  // not yet implemented
15636
15636
  });
15637
- function am(e, n, t, i) {
15637
+ function om(e, n, t, i) {
15638
15638
  Vn.call(this, e, n, t, i);
15639
15639
  }
15640
- am.prototype = Object.assign(Object.create(Vn.prototype), {
15641
- constructor: am,
15640
+ om.prototype = Object.assign(Object.create(Vn.prototype), {
15641
+ constructor: om,
15642
15642
  ValueTypeName: "string",
15643
15643
  ValueBufferType: Array,
15644
15644
  DefaultInterpolation: Cu,
@@ -15671,14 +15671,14 @@ function k3(e) {
15671
15671
  case "vector4":
15672
15672
  return Ac;
15673
15673
  case "color":
15674
- return sm;
15674
+ return rm;
15675
15675
  case "quaternion":
15676
15676
  return qu;
15677
15677
  case "bool":
15678
15678
  case "boolean":
15679
- return rm;
15679
+ return im;
15680
15680
  case "string":
15681
- return am;
15681
+ return om;
15682
15682
  }
15683
15683
  throw new Error("THREE.KeyframeTrack: Unsupported typeName: " + e);
15684
15684
  }
@@ -16092,7 +16092,7 @@ _0.prototype = Object.assign(Object.create(Vt.prototype), {
16092
16092
  var r = this, s = new aa(), o = new tr(this.manager);
16093
16093
  return o.setResponseType("arraybuffer"), o.setPath(this.path), o.load(e, function(a) {
16094
16094
  var l = r.parse(a);
16095
- l && (l.image !== void 0 ? s.image = l.image : l.data !== void 0 && (s.image.width = l.width, s.image.height = l.height, s.image.data = l.data), s.wrapS = l.wrapS !== void 0 ? l.wrapS : Kn, s.wrapT = l.wrapT !== void 0 ? l.wrapT : Kn, s.magFilter = l.magFilter !== void 0 ? l.magFilter : Bn, s.minFilter = l.minFilter !== void 0 ? l.minFilter : Bn, s.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.format !== void 0 && (s.format = l.format), l.type !== void 0 && (s.type = l.type), l.mipmaps !== void 0 && (s.mipmaps = l.mipmaps, s.minFilter = _d), l.mipmapCount === 1 && (s.minFilter = Bn), s.needsUpdate = !0, n && n(s, l));
16095
+ l && (l.image !== void 0 ? s.image = l.image : l.data !== void 0 && (s.image.width = l.width, s.image.height = l.height, s.image.data = l.data), s.wrapS = l.wrapS !== void 0 ? l.wrapS : Kn, s.wrapT = l.wrapT !== void 0 ? l.wrapT : Kn, s.magFilter = l.magFilter !== void 0 ? l.magFilter : Bn, s.minFilter = l.minFilter !== void 0 ? l.minFilter : Bn, s.anisotropy = l.anisotropy !== void 0 ? l.anisotropy : 1, l.format !== void 0 && (s.format = l.format), l.type !== void 0 && (s.type = l.type), l.mipmaps !== void 0 && (s.mipmaps = l.mipmaps, s.minFilter = Pd), l.mipmapCount === 1 && (s.minFilter = Bn), s.needsUpdate = !0, n && n(s, l));
16096
16096
  }, t, i), s;
16097
16097
  }
16098
16098
  });
@@ -16118,11 +16118,11 @@ wc.prototype = Object.assign(Object.create(Vt.prototype), {
16118
16118
  return o.addEventListener("load", a, !1), o.addEventListener("error", l, !1), e.substr(0, 5) !== "data:" && this.crossOrigin !== void 0 && (o.crossOrigin = this.crossOrigin), r.manager.itemStart(e), o.src = e, o;
16119
16119
  }
16120
16120
  });
16121
- function lm(e) {
16121
+ function am(e) {
16122
16122
  Vt.call(this, e);
16123
16123
  }
16124
- lm.prototype = Object.assign(Object.create(Vt.prototype), {
16125
- constructor: lm,
16124
+ am.prototype = Object.assign(Object.create(Vt.prototype), {
16125
+ constructor: am,
16126
16126
  load: function(e, n, t, i) {
16127
16127
  var r = new as(), s = new wc(this.manager);
16128
16128
  s.setCrossOrigin(this.crossOrigin), s.setPath(this.path);
@@ -16137,11 +16137,11 @@ lm.prototype = Object.assign(Object.create(Vt.prototype), {
16137
16137
  return r;
16138
16138
  }
16139
16139
  });
16140
- function cm(e) {
16140
+ function lm(e) {
16141
16141
  Vt.call(this, e);
16142
16142
  }
16143
- cm.prototype = Object.assign(Object.create(Vt.prototype), {
16144
- constructor: cm,
16143
+ lm.prototype = Object.assign(Object.create(Vt.prototype), {
16144
+ constructor: lm,
16145
16145
  load: function(e, n, t, i) {
16146
16146
  var r = new Wt(), s = new wc(this.manager);
16147
16147
  return s.setCrossOrigin(this.crossOrigin), s.setPath(this.path), s.load(e, function(o) {
@@ -16321,7 +16321,7 @@ function dg() {
16321
16321
  }
16322
16322
  };
16323
16323
  }
16324
- var jh = new B(), Hf = new dg(), Uf = new dg(), Wf = new dg();
16324
+ var jh = new B(), jf = new dg(), Hf = new dg(), Uf = new dg();
16325
16325
  function ai(e, n, t, i) {
16326
16326
  at.call(this), this.type = "CatmullRomCurve3", this.points = e || [], this.closed = n || !1, this.curveType = t || "centripetal", this.tension = i || 0.5;
16327
16327
  }
@@ -16334,13 +16334,13 @@ ai.prototype.getPoint = function(e, n) {
16334
16334
  var l, c, h, u;
16335
16335
  if (this.closed || o > 0 ? l = i[(o - 1) % r] : (jh.subVectors(i[0], i[1]).add(i[0]), l = jh), c = i[o % r], h = i[(o + 1) % r], this.closed || o + 2 < r ? u = i[(o + 2) % r] : (jh.subVectors(i[r - 1], i[r - 2]).add(i[r - 1]), u = jh), this.curveType === "centripetal" || this.curveType === "chordal") {
16336
16336
  var d = this.curveType === "chordal" ? 0.5 : 0.25, f = Math.pow(l.distanceToSquared(c), d), m = Math.pow(c.distanceToSquared(h), d), p = Math.pow(h.distanceToSquared(u), d);
16337
- m < 1e-4 && (m = 1), f < 1e-4 && (f = m), p < 1e-4 && (p = m), Hf.initNonuniformCatmullRom(l.x, c.x, h.x, u.x, f, m, p), Uf.initNonuniformCatmullRom(l.y, c.y, h.y, u.y, f, m, p), Wf.initNonuniformCatmullRom(l.z, c.z, h.z, u.z, f, m, p);
16337
+ m < 1e-4 && (m = 1), f < 1e-4 && (f = m), p < 1e-4 && (p = m), jf.initNonuniformCatmullRom(l.x, c.x, h.x, u.x, f, m, p), Hf.initNonuniformCatmullRom(l.y, c.y, h.y, u.y, f, m, p), Uf.initNonuniformCatmullRom(l.z, c.z, h.z, u.z, f, m, p);
16338
16338
  } else
16339
- this.curveType === "catmullrom" && (Hf.initCatmullRom(l.x, c.x, h.x, u.x, this.tension), Uf.initCatmullRom(l.y, c.y, h.y, u.y, this.tension), Wf.initCatmullRom(l.z, c.z, h.z, u.z, this.tension));
16339
+ this.curveType === "catmullrom" && (jf.initCatmullRom(l.x, c.x, h.x, u.x, this.tension), Hf.initCatmullRom(l.y, c.y, h.y, u.y, this.tension), Uf.initCatmullRom(l.z, c.z, h.z, u.z, this.tension));
16340
16340
  return t.set(
16341
+ jf.calc(a),
16341
16342
  Hf.calc(a),
16342
- Uf.calc(a),
16343
- Wf.calc(a)
16343
+ Uf.calc(a)
16344
16344
  ), t;
16345
16345
  };
16346
16346
  ai.prototype.copy = function(e) {
@@ -16584,7 +16584,7 @@ sr.prototype.fromJSON = function(e) {
16584
16584
  }
16585
16585
  return this;
16586
16586
  };
16587
- var hm = /* @__PURE__ */ Object.freeze({
16587
+ var cm = /* @__PURE__ */ Object.freeze({
16588
16588
  __proto__: null,
16589
16589
  ArcCurve: xc,
16590
16590
  CatmullRomCurve3: ai,
@@ -16682,7 +16682,7 @@ es.prototype = Object.assign(Object.create(at.prototype), {
16682
16682
  at.prototype.fromJSON.call(this, e), this.autoClose = e.autoClose, this.curves = [];
16683
16683
  for (var n = 0, t = e.curves.length; n < t; n++) {
16684
16684
  var i = e.curves[n];
16685
- this.curves.push(new hm[i.type]().fromJSON(i));
16685
+ this.curves.push(new cm[i.type]().fromJSON(i));
16686
16686
  }
16687
16687
  return this;
16688
16688
  }
@@ -16822,11 +16822,11 @@ Jt.prototype = Object.assign(Object.create(je.prototype), {
16822
16822
  return n.object.color = this.color.getHex(), n.object.intensity = this.intensity, this.groundColor !== void 0 && (n.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (n.object.distance = this.distance), this.angle !== void 0 && (n.object.angle = this.angle), this.decay !== void 0 && (n.object.decay = this.decay), this.penumbra !== void 0 && (n.object.penumbra = this.penumbra), this.shadow !== void 0 && (n.object.shadow = this.shadow.toJSON()), n;
16823
16823
  }
16824
16824
  });
16825
- function um(e, n, t) {
16825
+ function hm(e, n, t) {
16826
16826
  Jt.call(this, e, t), this.type = "HemisphereLight", this.castShadow = void 0, this.position.copy(je.DefaultUp), this.updateMatrix(), this.groundColor = new Qe(n);
16827
16827
  }
16828
- um.prototype = Object.assign(Object.create(Jt.prototype), {
16829
- constructor: um,
16828
+ hm.prototype = Object.assign(Object.create(Jt.prototype), {
16829
+ constructor: hm,
16830
16830
  isHemisphereLight: !0,
16831
16831
  copy: function(e) {
16832
16832
  return Jt.prototype.copy.call(this, e), this.groundColor.copy(e.groundColor), this;
@@ -16885,18 +16885,18 @@ Object.assign(Lr.prototype, {
16885
16885
  return this.bias !== 0 && (e.bias = this.bias), this.radius !== 1 && (e.radius = this.radius), (this.mapSize.x !== 512 || this.mapSize.y !== 512) && (e.mapSize = this.mapSize.toArray()), e.camera = this.camera.toJSON(!1).object, delete e.camera.matrix, e;
16886
16886
  }
16887
16887
  });
16888
- function dm() {
16888
+ function um() {
16889
16889
  Lr.call(this, new An(50, 1, 0.5, 500));
16890
16890
  }
16891
- dm.prototype = Object.assign(Object.create(Lr.prototype), {
16892
- constructor: dm,
16891
+ um.prototype = Object.assign(Object.create(Lr.prototype), {
16892
+ constructor: um,
16893
16893
  isSpotLightShadow: !0,
16894
16894
  updateMatrices: function(e) {
16895
16895
  var n = this.camera, t = wt.RAD2DEG * 2 * e.angle, i = this.mapSize.width / this.mapSize.height, r = e.distance || n.far;
16896
16896
  (t !== n.fov || i !== n.aspect || r !== n.far) && (n.fov = t, n.aspect = i, n.far = r, n.updateProjectionMatrix()), Lr.prototype.updateMatrices.call(this, e);
16897
16897
  }
16898
16898
  });
16899
- function fm(e, n, t, i, r, s) {
16899
+ function dm(e, n, t, i, r, s) {
16900
16900
  Jt.call(this, e, n), this.type = "SpotLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), Object.defineProperty(this, "power", {
16901
16901
  get: function() {
16902
16902
  return this.intensity * Math.PI;
@@ -16904,16 +16904,16 @@ function fm(e, n, t, i, r, s) {
16904
16904
  set: function(o) {
16905
16905
  this.intensity = o / Math.PI;
16906
16906
  }
16907
- }), this.distance = t !== void 0 ? t : 0, this.angle = i !== void 0 ? i : Math.PI / 3, this.penumbra = r !== void 0 ? r : 0, this.decay = s !== void 0 ? s : 1, this.shadow = new dm();
16907
+ }), this.distance = t !== void 0 ? t : 0, this.angle = i !== void 0 ? i : Math.PI / 3, this.penumbra = r !== void 0 ? r : 0, this.decay = s !== void 0 ? s : 1, this.shadow = new um();
16908
16908
  }
16909
- fm.prototype = Object.assign(Object.create(Jt.prototype), {
16910
- constructor: fm,
16909
+ dm.prototype = Object.assign(Object.create(Jt.prototype), {
16910
+ constructor: dm,
16911
16911
  isSpotLight: !0,
16912
16912
  copy: function(e) {
16913
16913
  return Jt.prototype.copy.call(this, e), this.distance = e.distance, this.angle = e.angle, this.penumbra = e.penumbra, this.decay = e.decay, this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
16914
16914
  }
16915
16915
  });
16916
- function pm() {
16916
+ function fm() {
16917
16917
  Lr.call(this, new An(90, 1, 0.5, 500)), this._frameExtents = new pe(4, 2), this._viewportCount = 6, this._viewports = [
16918
16918
  // These viewports map a cube-map onto a 2D texture with the
16919
16919
  // following orientation:
@@ -16955,8 +16955,8 @@ function pm() {
16955
16955
  new B(0, 0, -1)
16956
16956
  ];
16957
16957
  }
16958
- pm.prototype = Object.assign(Object.create(Lr.prototype), {
16959
- constructor: pm,
16958
+ fm.prototype = Object.assign(Object.create(Lr.prototype), {
16959
+ constructor: fm,
16960
16960
  isPointLightShadow: !0,
16961
16961
  updateMatrices: function(e, n) {
16962
16962
  n === void 0 && (n = 0);
@@ -16964,7 +16964,7 @@ pm.prototype = Object.assign(Object.create(Lr.prototype), {
16964
16964
  r.setFromMatrixPosition(e.matrixWorld), t.position.copy(r), s.copy(t.position), s.add(this._cubeDirections[n]), t.up.copy(this._cubeUps[n]), t.lookAt(s), t.updateMatrixWorld(), i.makeTranslation(-r.x, -r.y, -r.z), o.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), this._frustum.setFromProjectionMatrix(o);
16965
16965
  }
16966
16966
  });
16967
- function mm(e, n, t, i) {
16967
+ function pm(e, n, t, i) {
16968
16968
  Jt.call(this, e, n), this.type = "PointLight", Object.defineProperty(this, "power", {
16969
16969
  get: function() {
16970
16970
  return this.intensity * 4 * Math.PI;
@@ -16972,10 +16972,10 @@ function mm(e, n, t, i) {
16972
16972
  set: function(r) {
16973
16973
  this.intensity = r / (4 * Math.PI);
16974
16974
  }
16975
- }), this.distance = t !== void 0 ? t : 0, this.decay = i !== void 0 ? i : 1, this.shadow = new pm();
16975
+ }), this.distance = t !== void 0 ? t : 0, this.decay = i !== void 0 ? i : 1, this.shadow = new fm();
16976
16976
  }
16977
- mm.prototype = Object.assign(Object.create(Jt.prototype), {
16978
- constructor: mm,
16977
+ pm.prototype = Object.assign(Object.create(Jt.prototype), {
16978
+ constructor: pm,
16979
16979
  isPointLight: !0,
16980
16980
  copy: function(e) {
16981
16981
  return Jt.prototype.copy.call(this, e), this.distance = e.distance, this.decay = e.decay, this.shadow = e.shadow.clone(), this;
@@ -17017,38 +17017,38 @@ Mc.prototype = Object.assign(Object.create(_r.prototype), {
17017
17017
  return n.object.zoom = this.zoom, n.object.left = this.left, n.object.right = this.right, n.object.top = this.top, n.object.bottom = this.bottom, n.object.near = this.near, n.object.far = this.far, this.view !== null && (n.object.view = Object.assign({}, this.view)), n;
17018
17018
  }
17019
17019
  });
17020
- function gm() {
17020
+ function mm() {
17021
17021
  Lr.call(this, new Mc(-5, 5, 5, -5, 0.5, 500));
17022
17022
  }
17023
- gm.prototype = Object.assign(Object.create(Lr.prototype), {
17024
- constructor: gm,
17023
+ mm.prototype = Object.assign(Object.create(Lr.prototype), {
17024
+ constructor: mm,
17025
17025
  isDirectionalLightShadow: !0,
17026
17026
  updateMatrices: function(e) {
17027
17027
  Lr.prototype.updateMatrices.call(this, e);
17028
17028
  }
17029
17029
  });
17030
- function vm(e, n) {
17031
- Jt.call(this, e, n), this.type = "DirectionalLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), this.shadow = new gm();
17030
+ function gm(e, n) {
17031
+ Jt.call(this, e, n), this.type = "DirectionalLight", this.position.copy(je.DefaultUp), this.updateMatrix(), this.target = new je(), this.shadow = new mm();
17032
17032
  }
17033
- vm.prototype = Object.assign(Object.create(Jt.prototype), {
17034
- constructor: vm,
17033
+ gm.prototype = Object.assign(Object.create(Jt.prototype), {
17034
+ constructor: gm,
17035
17035
  isDirectionalLight: !0,
17036
17036
  copy: function(e) {
17037
17037
  return Jt.prototype.copy.call(this, e), this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
17038
17038
  }
17039
17039
  });
17040
- function ym(e, n) {
17040
+ function vm(e, n) {
17041
17041
  Jt.call(this, e, n), this.type = "AmbientLight", this.castShadow = void 0;
17042
17042
  }
17043
- ym.prototype = Object.assign(Object.create(Jt.prototype), {
17044
- constructor: ym,
17043
+ vm.prototype = Object.assign(Object.create(Jt.prototype), {
17044
+ constructor: vm,
17045
17045
  isAmbientLight: !0
17046
17046
  });
17047
- function bm(e, n, t, i) {
17047
+ function ym(e, n, t, i) {
17048
17048
  Jt.call(this, e, n), this.type = "RectAreaLight", this.width = t !== void 0 ? t : 10, this.height = i !== void 0 ? i : 10;
17049
17049
  }
17050
- bm.prototype = Object.assign(Object.create(Jt.prototype), {
17051
- constructor: bm,
17050
+ ym.prototype = Object.assign(Object.create(Jt.prototype), {
17051
+ constructor: ym,
17052
17052
  isRectAreaLight: !0,
17053
17053
  copy: function(e) {
17054
17054
  return Jt.prototype.copy.call(this, e), this.width = e.width, this.height = e.height, this;
@@ -17158,11 +17158,11 @@ Di.prototype = Object.assign(Object.create(Jt.prototype), {
17158
17158
  return n.object.sh = this.sh.toArray(), n;
17159
17159
  }
17160
17160
  });
17161
- function Am(e) {
17161
+ function bm(e) {
17162
17162
  Vt.call(this, e), this.textures = {};
17163
17163
  }
17164
- Am.prototype = Object.assign(Object.create(Vt.prototype), {
17165
- constructor: Am,
17164
+ bm.prototype = Object.assign(Object.create(Vt.prototype), {
17165
+ constructor: bm,
17166
17166
  load: function(e, n, t, i) {
17167
17167
  var r = this, s = new tr(r.manager);
17168
17168
  s.setPath(r.path), s.load(e, function(o) {
@@ -17254,11 +17254,11 @@ Ea.prototype = Object.assign(Object.create(Xe.prototype), {
17254
17254
  return e.instanceCount = this.instanceCount, e.isInstancedBufferGeometry = !0, e;
17255
17255
  }
17256
17256
  });
17257
- function wm(e, n, t, i) {
17257
+ function Am(e, n, t, i) {
17258
17258
  typeof t == "number" && (i = t, t = !1, console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")), ut.call(this, e, n, t), this.meshPerAttribute = i || 1;
17259
17259
  }
17260
- wm.prototype = Object.assign(Object.create(ut.prototype), {
17261
- constructor: wm,
17260
+ Am.prototype = Object.assign(Object.create(ut.prototype), {
17261
+ constructor: Am,
17262
17262
  isInstancedBufferAttribute: !0,
17263
17263
  copy: function(e) {
17264
17264
  return ut.prototype.copy.call(this, e), this.meshPerAttribute = e.meshPerAttribute, this;
@@ -17268,11 +17268,11 @@ wm.prototype = Object.assign(Object.create(ut.prototype), {
17268
17268
  return e.meshPerAttribute = this.meshPerAttribute, e.isInstancedBufferAttribute = !0, e;
17269
17269
  }
17270
17270
  });
17271
- function xm(e) {
17271
+ function wm(e) {
17272
17272
  Vt.call(this, e);
17273
17273
  }
17274
- xm.prototype = Object.assign(Object.create(Vt.prototype), {
17275
- constructor: xm,
17274
+ wm.prototype = Object.assign(Object.create(Vt.prototype), {
17275
+ constructor: wm,
17276
17276
  load: function(e, n, t, i) {
17277
17277
  var r = this, s = new tr(r.manager);
17278
17278
  s.setPath(r.path), s.load(e, function(o) {
@@ -17286,19 +17286,19 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
17286
17286
  parse: function(e) {
17287
17287
  var n = e.isInstancedBufferGeometry ? new Ea() : new Xe(), t = e.data.index;
17288
17288
  if (t !== void 0) {
17289
- var i = new Qf[t.type](t.array);
17289
+ var i = new Wf[t.type](t.array);
17290
17290
  n.setIndex(new ut(i, 1));
17291
17291
  }
17292
17292
  var r = e.data.attributes;
17293
17293
  for (var s in r) {
17294
- var o = r[s], i = new Qf[o.type](o.array), a = o.isInstancedBufferAttribute ? wm : ut, l = new a(i, o.itemSize, o.normalized);
17294
+ var o = r[s], i = new Wf[o.type](o.array), a = o.isInstancedBufferAttribute ? Am : ut, l = new a(i, o.itemSize, o.normalized);
17295
17295
  o.name !== void 0 && (l.name = o.name), n.setAttribute(s, l);
17296
17296
  }
17297
17297
  var c = e.data.morphAttributes;
17298
17298
  if (c)
17299
17299
  for (var s in c) {
17300
17300
  for (var h = c[s], u = [], d = 0, f = h.length; d < f; d++) {
17301
- var o = h[d], i = new Qf[o.type](o.array), l = new ut(i, o.itemSize, o.normalized);
17301
+ var o = h[d], i = new Wf[o.type](o.array), l = new ut(i, o.itemSize, o.normalized);
17302
17302
  o.name !== void 0 && (l.name = o.name), u.push(l);
17303
17303
  }
17304
17304
  n.morphAttributes[s] = u;
@@ -17319,7 +17319,7 @@ xm.prototype = Object.assign(Object.create(Vt.prototype), {
17319
17319
  return e.name && (n.name = e.name), e.userData && (n.userData = e.userData), n;
17320
17320
  }
17321
17321
  });
17322
- var Qf = {
17322
+ var Wf = {
17323
17323
  Int8Array,
17324
17324
  Uint8Array,
17325
17325
  // Workaround for IE11 pre KB2929437. See #11440
@@ -17331,11 +17331,11 @@ var Qf = {
17331
17331
  Float32Array,
17332
17332
  Float64Array
17333
17333
  };
17334
- function Mm(e) {
17334
+ function xm(e) {
17335
17335
  Vt.call(this, e);
17336
17336
  }
17337
- Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17338
- constructor: Mm,
17337
+ xm.prototype = Object.assign(Object.create(Vt.prototype), {
17338
+ constructor: xm,
17339
17339
  load: function(e, n, t, i) {
17340
17340
  var r = this, s = this.path === "" ? Vw.extractUrlBase(e) : this.path;
17341
17341
  this.resourcePath = this.resourcePath || s;
@@ -17374,7 +17374,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17374
17374
  parseGeometries: function(e, n) {
17375
17375
  var t = {};
17376
17376
  if (e !== void 0)
17377
- for (var i = new xm(), r = 0, s = e.length; r < s; r++) {
17377
+ for (var i = new wm(), r = 0, s = e.length; r < s; r++) {
17378
17378
  var o, a = e[r];
17379
17379
  switch (a.type) {
17380
17380
  case "PlaneGeometry":
@@ -17492,7 +17492,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17492
17492
  case "TubeGeometry":
17493
17493
  case "TubeBufferGeometry":
17494
17494
  o = new Un[a.type](
17495
- new hm[a.path.type]().fromJSON(a.path),
17495
+ new cm[a.path.type]().fromJSON(a.path),
17496
17496
  a.tubularSegments,
17497
17497
  a.radius,
17498
17498
  a.radialSegments,
@@ -17535,7 +17535,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17535
17535
  u.push(h);
17536
17536
  }
17537
17537
  var d = a.options.extrudePath;
17538
- d !== void 0 && (a.options.extrudePath = new hm[d.type]().fromJSON(d)), o = new Un[a.type](
17538
+ d !== void 0 && (a.options.extrudePath = new cm[d.type]().fromJSON(d)), o = new Un[a.type](
17539
17539
  u,
17540
17540
  a.options
17541
17541
  );
@@ -17558,7 +17558,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17558
17558
  parseMaterials: function(e, n) {
17559
17559
  var t = {}, i = {};
17560
17560
  if (e !== void 0) {
17561
- var r = new Am();
17561
+ var r = new bm();
17562
17562
  r.setTextures(n);
17563
17563
  for (var s = 0, o = e.length; s < o; s++) {
17564
17564
  var a = e[s];
@@ -17642,7 +17642,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17642
17642
  }
17643
17643
  switch (e.type) {
17644
17644
  case "Scene":
17645
- i = new Jl(), e.background !== void 0 && Number.isInteger(e.background) && (i.background = new Qe(e.background)), e.fog !== void 0 && (e.fog.type === "Fog" ? i.fog = new Qp(e.fog.color, e.fog.near, e.fog.far) : e.fog.type === "FogExp2" && (i.fog = new Wp(e.fog.color, e.fog.density)));
17645
+ i = new Jl(), e.background !== void 0 && Number.isInteger(e.background) && (i.background = new Qe(e.background)), e.fog !== void 0 && (e.fog.type === "Fog" ? i.fog = new Wp(e.fog.color, e.fog.near, e.fog.far) : e.fog.type === "FogExp2" && (i.fog = new Up(e.fog.color, e.fog.density)));
17646
17646
  break;
17647
17647
  case "PerspectiveCamera":
17648
17648
  i = new An(e.fov, e.aspect, e.near, e.far), e.focus !== void 0 && (i.focus = e.focus), e.zoom !== void 0 && (i.zoom = e.zoom), e.filmGauge !== void 0 && (i.filmGauge = e.filmGauge), e.filmOffset !== void 0 && (i.filmOffset = e.filmOffset), e.view !== void 0 && (i.view = Object.assign({}, e.view));
@@ -17651,22 +17651,22 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17651
17651
  i = new Mc(e.left, e.right, e.top, e.bottom, e.near, e.far), e.zoom !== void 0 && (i.zoom = e.zoom), e.view !== void 0 && (i.view = Object.assign({}, e.view));
17652
17652
  break;
17653
17653
  case "AmbientLight":
17654
- i = new ym(e.color, e.intensity);
17654
+ i = new vm(e.color, e.intensity);
17655
17655
  break;
17656
17656
  case "DirectionalLight":
17657
- i = new vm(e.color, e.intensity);
17657
+ i = new gm(e.color, e.intensity);
17658
17658
  break;
17659
17659
  case "PointLight":
17660
- i = new mm(e.color, e.intensity, e.distance, e.decay);
17660
+ i = new pm(e.color, e.intensity, e.distance, e.decay);
17661
17661
  break;
17662
17662
  case "RectAreaLight":
17663
- i = new bm(e.color, e.intensity, e.width, e.height);
17663
+ i = new ym(e.color, e.intensity, e.width, e.height);
17664
17664
  break;
17665
17665
  case "SpotLight":
17666
- i = new fm(e.color, e.intensity, e.distance, e.angle, e.penumbra, e.decay);
17666
+ i = new dm(e.color, e.intensity, e.distance, e.angle, e.penumbra, e.decay);
17667
17667
  break;
17668
17668
  case "HemisphereLight":
17669
- i = new um(e.color, e.groundColor, e.intensity);
17669
+ i = new hm(e.color, e.groundColor, e.intensity);
17670
17670
  break;
17671
17671
  case "LightProbe":
17672
17672
  i = new Di().fromJSON(e);
@@ -17679,7 +17679,7 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17679
17679
  break;
17680
17680
  case "InstancedMesh":
17681
17681
  var o = r(e.geometry), a = s(e.material), l = e.count, c = e.instanceMatrix;
17682
- i = new Jp(o, a, l), i.instanceMatrix = new ut(new Float32Array(c.array), 16);
17682
+ i = new Zp(o, a, l), i.instanceMatrix = new ut(new Float32Array(c.array), 16);
17683
17683
  break;
17684
17684
  case "LOD":
17685
17685
  i = new Tu();
@@ -17688,17 +17688,17 @@ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17688
17688
  i = new vi(r(e.geometry), s(e.material), e.mode);
17689
17689
  break;
17690
17690
  case "LineLoop":
17691
- i = new qp(r(e.geometry), s(e.material));
17691
+ i = new Jp(r(e.geometry), s(e.material));
17692
17692
  break;
17693
17693
  case "LineSegments":
17694
17694
  i = new gn(r(e.geometry), s(e.material));
17695
17695
  break;
17696
17696
  case "PointCloud":
17697
17697
  case "Points":
17698
- i = new $p(r(e.geometry), s(e.material));
17698
+ i = new Kp(r(e.geometry), s(e.material));
17699
17699
  break;
17700
17700
  case "Sprite":
17701
- i = new Yp(s(e.material));
17701
+ i = new Qp(s(e.material));
17702
17702
  break;
17703
17703
  case "Group":
17704
17704
  i = new ic();
@@ -17734,11 +17734,11 @@ var H3 = {
17734
17734
  MirroredRepeatWrapping: xu
17735
17735
  }, T0 = {
17736
17736
  NearestFilter: mn,
17737
- NearestMipmapNearestFilter: Op,
17738
- NearestMipmapLinearFilter: zp,
17737
+ NearestMipmapNearestFilter: Rp,
17738
+ NearestMipmapLinearFilter: Op,
17739
17739
  LinearFilter: Bn,
17740
17740
  LinearMipmapNearestFilter: fw,
17741
- LinearMipmapLinearFilter: _d
17741
+ LinearMipmapLinearFilter: Pd
17742
17742
  };
17743
17743
  function D0(e) {
17744
17744
  typeof createImageBitmap == "undefined" && console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."), typeof fetch == "undefined" && console.warn("THREE.ImageBitmapLoader: fetch() not supported."), Vt.call(this, e), this.options = void 0;
@@ -17936,11 +17936,11 @@ var Hh, Hw = {
17936
17936
  Hh = e;
17937
17937
  }
17938
17938
  };
17939
- function Em(e) {
17939
+ function Mm(e) {
17940
17940
  Vt.call(this, e);
17941
17941
  }
17942
- Em.prototype = Object.assign(Object.create(Vt.prototype), {
17943
- constructor: Em,
17942
+ Mm.prototype = Object.assign(Object.create(Vt.prototype), {
17943
+ constructor: Mm,
17944
17944
  load: function(e, n, t, i) {
17945
17945
  var r = this, s = new tr(r.manager);
17946
17946
  s.setResponseType("arraybuffer"), s.setPath(r.path), s.load(e, function(o) {
@@ -19190,11 +19190,11 @@ G0.prototype = Object.assign(Object.create(Or.prototype), {
19190
19190
  t !== null && (this._deactivateAction(t), this._removeInactiveAction(t));
19191
19191
  }
19192
19192
  });
19193
- function Cm(e) {
19193
+ function Em(e) {
19194
19194
  typeof e == "string" && (console.warn("THREE.Uniform: Type parameter is no longer needed."), e = arguments[1]), this.value = e;
19195
19195
  }
19196
- Cm.prototype.clone = function() {
19197
- return new Cm(this.value.clone === void 0 ? this.value : this.value.clone());
19196
+ Em.prototype.clone = function() {
19197
+ return new Em(this.value.clone === void 0 ? this.value : this.value.clone());
19198
19198
  };
19199
19199
  function Ku(e, n, t) {
19200
19200
  ls.call(this, e, n), this.meshPerAttribute = t || 1;
@@ -19224,10 +19224,10 @@ function Zw(e, n, t, i) {
19224
19224
  function j0(e, n) {
19225
19225
  return e.distance - n.distance;
19226
19226
  }
19227
- function Pm(e, n, t, i) {
19227
+ function Cm(e, n, t, i) {
19228
19228
  if (e.layers.test(n.layers) && e.raycast(n, t), i === !0)
19229
19229
  for (var r = e.children, s = 0, o = r.length; s < o; s++)
19230
- Pm(r[s], n, t, !0);
19230
+ Cm(r[s], n, t, !0);
19231
19231
  }
19232
19232
  Object.assign(Zw.prototype, {
19233
19233
  set: function(e, n) {
@@ -19238,14 +19238,14 @@ Object.assign(Zw.prototype, {
19238
19238
  },
19239
19239
  intersectObject: function(e, n, t) {
19240
19240
  var i = t || [];
19241
- return Pm(e, this, i, n), i.sort(j0), i;
19241
+ return Cm(e, this, i, n), i.sort(j0), i;
19242
19242
  },
19243
19243
  intersectObjects: function(e, n, t) {
19244
19244
  var i = t || [];
19245
19245
  if (Array.isArray(e) === !1)
19246
19246
  return console.warn("THREE.Raycaster.intersectObjects: objects is not an Array."), i;
19247
19247
  for (var r = 0, s = e.length; r < s; r++)
19248
- Pm(e[r], this, i, n);
19248
+ Cm(e[r], this, i, n);
19249
19249
  return i.sort(j0), i;
19250
19250
  }
19251
19251
  });
@@ -19485,7 +19485,7 @@ Cc.prototype.update = function() {
19485
19485
  var e = this.light.distance ? this.light.distance : 1e3, n = e * Math.tan(this.light.angle);
19486
19486
  this.cone.scale.set(n, n, e), W0.setFromMatrixPosition(this.light.target.matrixWorld), this.cone.lookAt(W0), this.color !== void 0 ? this.cone.material.color.set(this.color) : this.cone.material.color.copy(this.light.color);
19487
19487
  };
19488
- var Xr = new B(), Wh = new Mt(), Yf = new Mt();
19488
+ var Xr = new B(), Wh = new Mt(), Qf = new Mt();
19489
19489
  function Kw(e) {
19490
19490
  var n = [];
19491
19491
  e && e.isBone && n.push(e);
@@ -19507,10 +19507,10 @@ Ca.prototype.constructor = Ca;
19507
19507
  Ca.prototype.isSkeletonHelper = !0;
19508
19508
  Ca.prototype.updateMatrixWorld = function(e) {
19509
19509
  var n = this.bones, t = this.geometry, i = t.getAttribute("position");
19510
- Yf.getInverse(this.root.matrixWorld);
19510
+ Qf.getInverse(this.root.matrixWorld);
19511
19511
  for (var r = 0, s = 0; r < n.length; r++) {
19512
19512
  var o = n[r];
19513
- o.parent && o.parent.isBone && (Wh.multiplyMatrices(Yf, o.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s, Xr.x, Xr.y, Xr.z), Wh.multiplyMatrices(Yf, o.parent.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s + 1, Xr.x, Xr.y, Xr.z), s += 2);
19513
+ o.parent && o.parent.isBone && (Wh.multiplyMatrices(Qf, o.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s, Xr.x, Xr.y, Xr.z), Wh.multiplyMatrices(Qf, o.parent.matrixWorld), Xr.setFromMatrixPosition(Wh), i.setXYZ(s + 1, Xr.x, Xr.y, Xr.z), s += 2);
19514
19514
  }
19515
19515
  t.getAttribute("position").needsUpdate = !0, je.prototype.updateMatrixWorld.call(this, e);
19516
19516
  };
@@ -19555,7 +19555,7 @@ _c.prototype.update = function() {
19555
19555
  }
19556
19556
  e.lookAt(oT.setFromMatrixPosition(this.light.matrixWorld).negate());
19557
19557
  };
19558
- function _m(e, n, t, i) {
19558
+ function Pm(e, n, t, i) {
19559
19559
  e = e || 10, n = n || 10, t = new Qe(t !== void 0 ? t : 4473924), i = new Qe(i !== void 0 ? i : 8947848);
19560
19560
  for (var r = n / 2, s = e / n, o = e / 2, a = [], l = [], c = 0, h = 0, u = -o; c <= n; c++, u += s) {
19561
19561
  a.push(-o, 0, u, o, 0, u), a.push(u, 0, -o, u, 0, o);
@@ -19567,8 +19567,8 @@ function _m(e, n, t, i) {
19567
19567
  var m = new un({ vertexColors: !0, toneMapped: !1 });
19568
19568
  gn.call(this, f, m), this.type = "GridHelper";
19569
19569
  }
19570
- _m.prototype = Object.assign(Object.create(gn.prototype), {
19571
- constructor: _m,
19570
+ Pm.prototype = Object.assign(Object.create(gn.prototype), {
19571
+ constructor: Pm,
19572
19572
  copy: function(e) {
19573
19573
  return gn.prototype.copy.call(this, e), this.geometry.copy(e.geometry), this.material.copy(e.material), this;
19574
19574
  },
@@ -19576,7 +19576,7 @@ _m.prototype = Object.assign(Object.create(gn.prototype), {
19576
19576
  return new this.constructor().copy(this);
19577
19577
  }
19578
19578
  });
19579
- function Im(e, n, t, i, r, s) {
19579
+ function _m(e, n, t, i, r, s) {
19580
19580
  e = e || 10, n = n || 16, t = t || 8, i = i || 64, r = new Qe(r !== void 0 ? r : 4473924), s = new Qe(s !== void 0 ? s : 8947848);
19581
19581
  var o = [], a = [], l, c, h, u, d, f, m;
19582
19582
  for (u = 0; u <= n; u++)
@@ -19589,8 +19589,8 @@ function Im(e, n, t, i, r, s) {
19589
19589
  var g = new un({ vertexColors: !0, toneMapped: !1 });
19590
19590
  gn.call(this, p, g), this.type = "PolarGridHelper";
19591
19591
  }
19592
- Im.prototype = Object.create(gn.prototype);
19593
- Im.prototype.constructor = Im;
19592
+ _m.prototype = Object.create(gn.prototype);
19593
+ _m.prototype.constructor = _m;
19594
19594
  var X0 = new B(), Qh = new B(), Z0 = new B();
19595
19595
  function Ic(e, n, t) {
19596
19596
  je.call(this), this.light = e, this.light.updateMatrixWorld(), this.matrix = e.matrixWorld, this.matrixAutoUpdate = !1, this.color = t, n === void 0 && (n = 1);
@@ -19695,9 +19695,9 @@ nd.prototype.updateMatrixWorld = function(e) {
19695
19695
  var n = -this.plane.constant;
19696
19696
  Math.abs(n) < 1e-8 && (n = 1e-8), this.scale.set(0.5 * this.size, 0.5 * this.size, n), this.children[0].material.side = n < 0 ? xn : Vc, this.lookAt(this.plane.normal), je.prototype.updateMatrixWorld.call(this, e);
19697
19697
  };
19698
- var J0 = new B(), Zh, Xf;
19698
+ var J0 = new B(), Zh, Yf;
19699
19699
  function ds(e, n, t, i, r, s) {
19700
- je.call(this), this.type = "ArrowHelper", e === void 0 && (e = new B(0, 0, 1)), n === void 0 && (n = new B(0, 0, 0)), t === void 0 && (t = 1), i === void 0 && (i = 16776960), r === void 0 && (r = 0.2 * t), s === void 0 && (s = 0.2 * r), Zh === void 0 && (Zh = new Xe(), Zh.setAttribute("position", new ze([0, 0, 0, 0, 1, 0], 3)), Xf = new hs(0, 0.5, 1, 5, 1), Xf.translate(0, -0.5, 0)), this.position.copy(n), this.line = new vi(Zh, new un({ color: i, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new en(Xf, new ki({ color: i, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(t, r, s);
19700
+ je.call(this), this.type = "ArrowHelper", e === void 0 && (e = new B(0, 0, 1)), n === void 0 && (n = new B(0, 0, 0)), t === void 0 && (t = 1), i === void 0 && (i = 16776960), r === void 0 && (r = 0.2 * t), s === void 0 && (s = 0.2 * r), Zh === void 0 && (Zh = new Xe(), Zh.setAttribute("position", new ze([0, 0, 0, 0, 1, 0], 3)), Yf = new hs(0, 0.5, 1, 5, 1), Yf.translate(0, -0.5, 0)), this.position.copy(n), this.line = new vi(Zh, new un({ color: i, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new en(Yf, new ki({ color: i, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(t, r, s);
19701
19701
  }
19702
19702
  ds.prototype = Object.create(je.prototype);
19703
19703
  ds.prototype.constructor = ds;
@@ -19724,7 +19724,7 @@ ds.prototype.copy = function(e) {
19724
19724
  ds.prototype.clone = function() {
19725
19725
  return new this.constructor().copy(this);
19726
19726
  };
19727
- function Sm(e) {
19727
+ function Im(e) {
19728
19728
  e = e || 1;
19729
19729
  var n = [
19730
19730
  0,
@@ -19769,17 +19769,17 @@ function Sm(e) {
19769
19769
  var r = new un({ vertexColors: !0, toneMapped: !1 });
19770
19770
  gn.call(this, i, r), this.type = "AxesHelper";
19771
19771
  }
19772
- Sm.prototype = Object.create(gn.prototype);
19773
- Sm.prototype.constructor = Sm;
19772
+ Im.prototype = Object.create(gn.prototype);
19773
+ Im.prototype.constructor = Im;
19774
19774
  var Ko = 4, rs = 8, Qi = Math.pow(2, rs), $w = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], ex = rs - Ko + 1 + $w.length, Bo = 20, Zi = {
19775
19775
  [$n]: 0,
19776
- [Id]: 1,
19776
+ [_d]: 1,
19777
19777
  [hg]: 2,
19778
19778
  [mw]: 3,
19779
19779
  [gw]: 4,
19780
19780
  [vw]: 5,
19781
19781
  [cg]: 6
19782
- }, Zf = new Mc(), { _lodPlanes: yl, _sizeLods: q0, _sigmas: Jh } = lT(), Jf = null, zs = (1 + Math.sqrt(5)) / 2, So = 1 / zs, K0 = [
19782
+ }, Xf = new Mc(), { _lodPlanes: yl, _sizeLods: q0, _sigmas: Jh } = lT(), Zf = null, zs = (1 + Math.sqrt(5)) / 2, So = 1 / zs, K0 = [
19783
19783
  new B(1, 1, 1),
19784
19784
  new B(-1, 1, 1),
19785
19785
  new B(1, 1, -1),
@@ -19804,7 +19804,7 @@ $0.prototype = {
19804
19804
  * is placed at the origin).
19805
19805
  */
19806
19806
  fromScene: function(e, n = 0, t = 0.1, i = 100) {
19807
- Jf = this._renderer.getRenderTarget();
19807
+ Zf = this._renderer.getRenderTarget();
19808
19808
  var r = this._allocateTargets();
19809
19809
  return this._sceneToCubeUV(e, t, i, r), n > 0 && this._blur(r, 0, 0, n), this._applyPMREM(r), this._cleanup(r), r;
19810
19810
  },
@@ -19822,7 +19822,7 @@ $0.prototype = {
19822
19822
  * as this matches best with the 256 x 256 cubemap output.
19823
19823
  */
19824
19824
  fromCubemap: function(e) {
19825
- Jf = this._renderer.getRenderTarget();
19825
+ Zf = this._renderer.getRenderTarget();
19826
19826
  var n = this._allocateTargets(e);
19827
19827
  return this._textureToCubeUV(e, n), this._applyPMREM(n), this._cleanup(n), n;
19828
19828
  },
@@ -19852,7 +19852,7 @@ $0.prototype = {
19852
19852
  },
19853
19853
  // private interface
19854
19854
  _cleanup: function(e) {
19855
- this._pingPongRenderTarget.dispose(), this._renderer.setRenderTarget(Jf), e.scissorTest = !1, e.setSize(e.width, e.height);
19855
+ this._pingPongRenderTarget.dispose(), this._renderer.setRenderTarget(Zf), e.scissorTest = !1, e.setSize(e.width, e.height);
19856
19856
  },
19857
19857
  _allocateTargets: function(e) {
19858
19858
  var n = {
@@ -19869,7 +19869,7 @@ $0.prototype = {
19869
19869
  },
19870
19870
  _compileMaterial: function(e) {
19871
19871
  var n = new en(yl[0], e);
19872
- this._renderer.compile(n, Zf);
19872
+ this._renderer.compile(n, Xf);
19873
19873
  },
19874
19874
  _sceneToCubeUV: function(e, n, t, i) {
19875
19875
  var r = 90, s = 1, o = new An(r, s, n, t), a = [1, -1, 1, 1, 1, 1], l = [1, 1, 1, -1, -1, -1], c = this._renderer, h = c.outputEncoding, u = c.toneMapping, d = c.toneMappingExposure, f = c.getClearColor(), m = c.getClearAlpha();
@@ -19884,7 +19884,7 @@ $0.prototype = {
19884
19884
  }
19885
19885
  for (var A = 0; A < 6; A++) {
19886
19886
  var w = A % 3;
19887
- w == 0 ? (o.up.set(0, a[A], 0), o.lookAt(l[A], 0, 0)) : w == 1 ? (o.up.set(0, 0, a[A]), o.lookAt(0, l[A], 0)) : (o.up.set(0, a[A], 0), o.lookAt(0, 0, l[A])), qf(
19887
+ w == 0 ? (o.up.set(0, a[A], 0), o.lookAt(l[A], 0, 0)) : w == 1 ? (o.up.set(0, 0, a[A]), o.lookAt(0, l[A], 0)) : (o.up.set(0, a[A], 0), o.lookAt(0, 0, l[A])), Jf(
19888
19888
  i,
19889
19889
  w * Qi,
19890
19890
  A > 2 ? Qi : 0,
@@ -19898,7 +19898,7 @@ $0.prototype = {
19898
19898
  var t = this._renderer;
19899
19899
  e.isCubeTexture ? this._cubemapShader == null && (this._cubemapShader = ny()) : this._equirectShader == null && (this._equirectShader = ty());
19900
19900
  var i = e.isCubeTexture ? this._cubemapShader : this._equirectShader, r = new en(yl[0], i), s = i.uniforms;
19901
- s.envMap.value = e, e.isCubeTexture || s.texelSize.value.set(1 / e.image.width, 1 / e.image.height), s.inputEncoding.value = Zi[e.encoding], s.outputEncoding.value = Zi[n.texture.encoding], qf(n, 0, 0, 3 * Qi, 2 * Qi), t.setRenderTarget(n), t.render(r, Zf);
19901
+ s.envMap.value = e, e.isCubeTexture || s.texelSize.value.set(1 / e.image.width, 1 / e.image.height), s.inputEncoding.value = Zi[e.encoding], s.outputEncoding.value = Zi[n.texture.encoding], Jf(n, 0, 0, 3 * Qi, 2 * Qi), t.setRenderTarget(n), t.render(r, Xf);
19902
19902
  },
19903
19903
  _applyPMREM: function(e) {
19904
19904
  var n = this._renderer, t = n.autoClear;
@@ -19951,11 +19951,11 @@ $0.prototype = {
19951
19951
  g[b] = g[b] / y;
19952
19952
  u.envMap.value = e.texture, u.samples.value = p, u.weights.value = g, u.latitudinal.value = s === "latitudinal", o && (u.poleAxis.value = o), u.dTheta.value = f, u.mipInt.value = rs - t, u.inputEncoding.value = Zi[e.texture.encoding], u.outputEncoding.value = Zi[e.texture.encoding];
19953
19953
  var w = q0[i], x = 3 * Math.max(0, Qi - 2 * w), M = (i === 0 ? 0 : 2 * Qi) + 2 * w * (i > rs - Ko ? i - rs + Ko : 0);
19954
- qf(n, x, M, 3 * w, 2 * w), a.setRenderTarget(n), a.render(h, Zf);
19954
+ Jf(n, x, M, 3 * w, 2 * w), a.setRenderTarget(n), a.render(h, Xf);
19955
19955
  }
19956
19956
  };
19957
19957
  function aT(e) {
19958
- return e === void 0 || e.type !== jc ? !1 : e.encoding === $n || e.encoding === Id || e.encoding === cg;
19958
+ return e === void 0 || e.type !== jc ? !1 : e.encoding === $n || e.encoding === _d || e.encoding === cg;
19959
19959
  }
19960
19960
  function lT() {
19961
19961
  for (var e = [], n = [], t = [], i = rs, r = 0; r < ex; r++) {
@@ -19997,7 +19997,7 @@ function ey(e) {
19997
19997
  var n = new fi(3 * Qi, 3 * Qi, e);
19998
19998
  return n.texture.mapping = Gc, n.texture.name = "PMREM.cubeUv", n.scissorTest = !0, n;
19999
19999
  }
20000
- function qf(e, n, t, i, r) {
20000
+ function Jf(e, n, t, i, r) {
20001
20001
  e.viewport.set(n, t, i, r), e.scissor.set(n, t, i, r);
20002
20002
  }
20003
20003
  function cT(e) {
@@ -20268,7 +20268,7 @@ Object.assign(tx.prototype, {
20268
20268
  console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.");
20269
20269
  }
20270
20270
  });
20271
- _m.prototype.setColors = function() {
20271
+ Pm.prototype.setColors = function() {
20272
20272
  console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.");
20273
20273
  };
20274
20274
  Ca.prototype.update = function() {
@@ -20287,7 +20287,7 @@ Vt.Handlers = {
20287
20287
  console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.");
20288
20288
  }
20289
20289
  };
20290
- Object.assign(Mm.prototype, {
20290
+ Object.assign(xm.prototype, {
20291
20291
  setTexturePath: function(e) {
20292
20292
  return console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath()."), this.setResourcePath(e);
20293
20293
  }
@@ -20587,7 +20587,7 @@ Object.defineProperties(Tu.prototype, {
20587
20587
  }
20588
20588
  }
20589
20589
  });
20590
- Object.defineProperty(Zp.prototype, "useVertexTexture", {
20590
+ Object.defineProperty(Xp.prototype, "useVertexTexture", {
20591
20591
  get: function() {
20592
20592
  console.warn("THREE.Skeleton: useVertexTexture has been removed.");
20593
20593
  },
@@ -20595,7 +20595,7 @@ Object.defineProperty(Zp.prototype, "useVertexTexture", {
20595
20595
  console.warn("THREE.Skeleton: useVertexTexture has been removed.");
20596
20596
  }
20597
20597
  });
20598
- Xp.prototype.initBones = function() {
20598
+ Yp.prototype.initBones = function() {
20599
20599
  console.error("THREE.SkinnedMesh: initBones() has been removed.");
20600
20600
  };
20601
20601
  Object.defineProperty(at.prototype, "__arcLengthDivisions", {
@@ -20693,7 +20693,7 @@ Object.defineProperties(ut.prototype, {
20693
20693
  });
20694
20694
  Object.assign(ut.prototype, {
20695
20695
  setDynamic: function(e) {
20696
- return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Zl : Sd), this;
20696
+ return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Zl : Id), this;
20697
20697
  },
20698
20698
  copyIndicesArray: function() {
20699
20699
  console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.");
@@ -20772,7 +20772,7 @@ Object.defineProperties(ls.prototype, {
20772
20772
  });
20773
20773
  Object.assign(ls.prototype, {
20774
20774
  setDynamic: function(e) {
20775
- return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Zl : Sd), this;
20775
+ return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."), this.setUsage(e === !0 ? Zl : Id), this;
20776
20776
  },
20777
20777
  setArray: function() {
20778
20778
  console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers");
@@ -20789,7 +20789,7 @@ Object.assign(Ir.prototype, {
20789
20789
  console.error("THREE.ExtrudeBufferGeometry: .addShape() has been removed.");
20790
20790
  }
20791
20791
  });
20792
- Object.defineProperties(Cm.prototype, {
20792
+ Object.defineProperties(Em.prototype, {
20793
20793
  dynamic: {
20794
20794
  set: function() {
20795
20795
  console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.");
@@ -20985,7 +20985,7 @@ Object.defineProperties(Lw.prototype, {
20985
20985
  return console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), !1;
20986
20986
  },
20987
20987
  set: function(e) {
20988
- console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), this.outputEncoding = e === !0 ? Id : $n;
20988
+ console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."), this.outputEncoding = e === !0 ? _d : $n;
20989
20989
  }
20990
20990
  }
20991
20991
  });
@@ -21101,7 +21101,7 @@ Object.defineProperties(Ec.prototype, {
21101
21101
  load: {
21102
21102
  value: function(e) {
21103
21103
  console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");
21104
- var n = this, t = new Em();
21104
+ var n = this, t = new Mm();
21105
21105
  return t.load(e, function(i) {
21106
21106
  n.setBuffer(i);
21107
21107
  }), this;
@@ -21122,14 +21122,14 @@ $l.prototype.updateCubeMap = function(e, n) {
21122
21122
  Ys.crossOrigin = void 0;
21123
21123
  Ys.loadTexture = function(e, n, t, i) {
21124
21124
  console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");
21125
- var r = new cm();
21125
+ var r = new lm();
21126
21126
  r.setCrossOrigin(this.crossOrigin);
21127
21127
  var s = r.load(e, t, void 0, i);
21128
21128
  return n && (s.mapping = n), s;
21129
21129
  };
21130
21130
  Ys.loadTextureCube = function(e, n, t, i) {
21131
21131
  console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");
21132
- var r = new lm();
21132
+ var r = new am();
21133
21133
  r.setCrossOrigin(this.crossOrigin);
21134
21134
  var s = r.load(e, t, void 0, i);
21135
21135
  return n && (s.mapping = n), s;
@@ -21263,7 +21263,7 @@ class ti extends yE {
21263
21263
  return t !== null && t.remove(this), this;
21264
21264
  }
21265
21265
  }
21266
- function Kf(e, n, t) {
21266
+ function qf(e, n, t) {
21267
21267
  const { x: i, y: r, z: s } = n.clone().project(e);
21268
21268
  return s > 1 ? void 0 : {
21269
21269
  leftPx: (i + 1) / 2 * t.x,
@@ -21286,7 +21286,7 @@ const Sc = (e, n) => {
21286
21286
  return e;
21287
21287
  const t = new C.Vector3(), i = new C.Quaternion(), r = new C.Vector3();
21288
21288
  return n.decompose(t, i, r), e.clone().multiply(r).applyQuaternion(i).add(t);
21289
- }, $f = /* @__PURE__ */ new Map();
21289
+ }, Kf = /* @__PURE__ */ new Map();
21290
21290
  class hT extends nx {
21291
21291
  constructor(t) {
21292
21292
  super(t);
@@ -21295,10 +21295,10 @@ class hT extends nx {
21295
21295
  get fromType() {
21296
21296
  var r, s;
21297
21297
  const t = this.workCode;
21298
- if ($f.has(t))
21299
- return $f.get(t);
21298
+ if (Kf.has(t))
21299
+ return Kf.get(t);
21300
21300
  const i = (s = (r = JSON.parse(this.work.raw.works[0])) == null ? void 0 : r.from_type) != null ? s : "vr";
21301
- return $f.set(t, i), i;
21301
+ return Kf.set(t, i), i;
21302
21302
  }
21303
21303
  /**
21304
21304
  * @description 设置插件当前的 workCode
@@ -21355,7 +21355,7 @@ class hT extends nx {
21355
21355
  return (i = this.observers) == null ? void 0 : i[t];
21356
21356
  }
21357
21357
  }
21358
- class Ld extends nx {
21358
+ class Dd extends nx {
21359
21359
  constructor(t) {
21360
21360
  super(t);
21361
21361
  v(this, "workUtil", new hT(this.five));
@@ -21432,7 +21432,7 @@ class Gs {
21432
21432
  }
21433
21433
  });
21434
21434
  var r, s, o;
21435
- this.five = n, this.fiveUtil = (r = n.__fiveUtil__) != null ? r : n.__fiveUtil__ = new Ld(n), this.originPosition = t ? Ft(t).clone() : void 0, this.transformedPosition = (s = this.originPosition) == null ? void 0 : s.clone(), this.positionsForRotate = (o = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : o.map((a) => Ft(a).clone()), this.container = (() => {
21435
+ this.five = n, this.fiveUtil = (r = n.__fiveUtil__) != null ? r : n.__fiveUtil__ = new Dd(n), this.originPosition = t ? Ft(t).clone() : void 0, this.transformedPosition = (s = this.originPosition) == null ? void 0 : s.clone(), this.positionsForRotate = (o = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : o.map((a) => Ft(a).clone()), this.container = (() => {
21436
21436
  const a = document.createElement("div");
21437
21437
  return a.style.width = "0", a.style.height = "0", a.style.position = "absolute", a.style.transition = "opacity 0.2s linear", a;
21438
21438
  })(), this.config = i != null ? i : {}, this.enable(), this.show(), this.addResizeListener();
@@ -21480,7 +21480,7 @@ class Gs {
21480
21480
  this.container.style.left = "-100%", this.container.style.top = "-100%";
21481
21481
  return;
21482
21482
  }
21483
- const n = this.five.renderer.getSize(uT), t = Kf(this.five.camera, this.transformedPosition, n);
21483
+ const n = this.five.renderer.getSize(uT), t = qf(this.five.camera, this.transformedPosition, n);
21484
21484
  if (!t) {
21485
21485
  this.container.style.left = "-100%", this.container.style.top = "-100%";
21486
21486
  return;
@@ -21493,7 +21493,7 @@ class Gs {
21493
21493
  })(), r = (() => {
21494
21494
  if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
21495
21495
  return 0;
21496
- const [s, o] = this.positionsForRotate, a = Kf(this.five.camera, s, n), l = Kf(this.five.camera, o, n);
21496
+ const [s, o] = this.positionsForRotate, a = qf(this.five.camera, s, n), l = qf(this.five.camera, o, n);
21497
21497
  if (!a || !l)
21498
21498
  return 0;
21499
21499
  const c = a.leftPx > l.leftPx ? l : a, h = a.leftPx > l.leftPx ? a : l, u = h.leftPx - c.leftPx, d = h.topPx - c.topPx;
@@ -21512,7 +21512,7 @@ class Gs {
21512
21512
  function dT(e, n, t) {
21513
21513
  return new Gs(e, n, t);
21514
21514
  }
21515
- function kd(e) {
21515
+ function Ld(e) {
21516
21516
  ry(e), e.traverse((n) => ry(n));
21517
21517
  }
21518
21518
  function ry(e) {
@@ -21617,7 +21617,7 @@ class Oi extends ti {
21617
21617
  resolution: r.resolution
21618
21618
  });
21619
21619
  this.line = new oy(i, r), this.backLine = new oy(i, s), this.line.renderOrder = 1, this.backLine.renderOrder = 0, this.line.name = "lineFrontMaterial", this.backLine.name = "lineBackMaterial", t && this.setStyle(t), t != null && t.points && this.setPoints(t.points), this.addEventListener("removed", () => {
21620
- kd(this);
21620
+ Ld(this);
21621
21621
  });
21622
21622
  }
21623
21623
  get style() {
@@ -21930,16 +21930,16 @@ class sx extends bE {
21930
21930
  super(n, t);
21931
21931
  }
21932
21932
  }
21933
- const ep = new C.Vector3();
21933
+ const $f = new C.Vector3();
21934
21934
  class MT extends C.Sphere {
21935
21935
  expandByPoint(n) {
21936
21936
  if (this.isEmpty())
21937
21937
  return this.center.copy(n), this.radius = 0, this;
21938
- ep.subVectors(n, this.center);
21939
- const t = ep.lengthSq();
21938
+ $f.subVectors(n, this.center);
21939
+ const t = $f.lengthSq();
21940
21940
  if (t > this.radius * this.radius) {
21941
21941
  const i = Math.sqrt(t), r = (i - this.radius) * 0.5;
21942
- this.center.addScaledVector(ep, r / i), this.radius += r;
21942
+ this.center.addScaledVector($f, r / i), this.radius += r;
21943
21943
  }
21944
21944
  return this;
21945
21945
  }
@@ -21985,12 +21985,12 @@ function ox(e) {
21985
21985
  return bg(e, "sphere");
21986
21986
  }
21987
21987
  function CT(e) {
21988
- return Rd(e, "box3");
21988
+ return kd(e, "box3");
21989
21989
  }
21990
21990
  function ax(e) {
21991
- return Rd(e, "sphere");
21991
+ return kd(e, "sphere");
21992
21992
  }
21993
- function Rd(e, n) {
21993
+ function kd(e, n) {
21994
21994
  const t = n === "box3" ? new C.Box3() : new MT(), i = new C.Vector3();
21995
21995
  if (e.updateWorldMatrix(!1, !1), e.traverse((r) => {
21996
21996
  var o;
@@ -22012,7 +22012,7 @@ function Rd(e, n) {
22012
22012
  return t;
22013
22013
  }
22014
22014
  function bg(e, n) {
22015
- const t = Rd(e, n);
22015
+ const t = kd(e, n);
22016
22016
  return t && t.applyMatrix4(PT(e.matrixWorld.clone())), t;
22017
22017
  }
22018
22018
  const PT = (e) => {
@@ -22050,7 +22050,7 @@ function ay(e) {
22050
22050
  i && (t instanceof HTMLElement && (t.style.opacity = i.opacity === void 0 ? "" : i.opacity, t.style.display = i.visible.display, t.style.visibility = i.visible.visibility), t.isObject3D && (t.visible = i.visible, t.material && (t.material instanceof C.ShaderMaterial ? (t.material.uniforms.opacity && (t.material.uniforms.opacity.value = i.opacity), t.material.transparent = i.transparent) : (t.material.opacity = i.opacity, t.material.transparent = i.transparent))), _i.delete(t));
22051
22051
  });
22052
22052
  }
22053
- function Od(e, n) {
22053
+ function Rd(e, n) {
22054
22054
  var a;
22055
22055
  const t = (a = n == null ? void 0 : n.traverseTHREEObject) != null ? a : !0;
22056
22056
  let i = zr(e);
@@ -22094,7 +22094,7 @@ function Od(e, n) {
22094
22094
  }), s;
22095
22095
  }
22096
22096
  function lx(e, n) {
22097
- return Od(e, R({
22097
+ return Rd(e, R({
22098
22098
  update: (t) => {
22099
22099
  var i;
22100
22100
  t.animatables.forEach((r) => {
@@ -22107,9 +22107,9 @@ function lx(e, n) {
22107
22107
  }
22108
22108
  }, n));
22109
22109
  }
22110
- const tp = Math.PI * 2;
22110
+ const ep = Math.PI * 2;
22111
22111
  function IT(e) {
22112
- return (e % tp + tp) % tp;
22112
+ return (e % ep + ep) % ep;
22113
22113
  }
22114
22114
  function Uc(e) {
22115
22115
  return {
@@ -22131,7 +22131,7 @@ function ST(e, n, t) {
22131
22131
  const i = ax(n);
22132
22132
  if (!i)
22133
22133
  return;
22134
- const r = new Ld(e), s = (b = t == null ? void 0 : t.scale) != null ? b : 1.4, o = i.center, a = e.camera.position.clone().sub(o).setY(0).normalize(), l = e.state.mode === "Mapview" ? e.state.fov : 60, h = Math.max(1.5, i.radius * s), u = h * (1 / Math.tan(C.MathUtils.degToRad(l / 2)));
22134
+ const r = new Dd(e), s = (b = t == null ? void 0 : t.scale) != null ? b : 1.4, o = i.center, a = e.camera.position.clone().sub(o).setY(0).normalize(), l = e.state.mode === "Mapview" ? e.state.fov : 60, h = Math.max(1.5, i.radius * s), u = h * (1 / Math.tan(C.MathUtils.degToRad(l / 2)));
22135
22135
  let d = 0;
22136
22136
  const f = [], m = (x) => {
22137
22137
  const M = C.MathUtils.degToRad(x);
@@ -22170,7 +22170,7 @@ function cx(e, n, t) {
22170
22170
  var p, g;
22171
22171
  if (!n)
22172
22172
  return;
22173
- const i = (p = t == null ? void 0 : t.distance) != null ? p : 3, r = new Ld(e), s = e.camera.position.clone().sub(n).setY(0).normalize(), o = e.state.mode === "Mapview" ? e.state.fov : 60, a = i, l = a * Math.cos(C.MathUtils.degToRad(o / 2)), c = a * Math.sin(C.MathUtils.degToRad(o / 2));
22173
+ const i = (p = t == null ? void 0 : t.distance) != null ? p : 3, r = new Dd(e), s = e.camera.position.clone().sub(n).setY(0).normalize(), o = e.state.mode === "Mapview" ? e.state.fov : 60, a = i, l = a * Math.cos(C.MathUtils.degToRad(o / 2)), c = a * Math.sin(C.MathUtils.degToRad(o / 2));
22174
22174
  let h = 0;
22175
22175
  const u = [], d = (y) => {
22176
22176
  const b = C.MathUtils.degToRad(y);
@@ -22211,7 +22211,7 @@ function hx(e) {
22211
22211
  function Ag(e, n) {
22212
22212
  return hx(n) ? n : `${e}${n}`;
22213
22213
  }
22214
- class Pa extends Ed {
22214
+ class Pa extends Md {
22215
22215
  constructor() {
22216
22216
  super(...arguments);
22217
22217
  v(this, "disposeMethods", []);
@@ -22267,7 +22267,7 @@ function kT() {
22267
22267
  function rd(e) {
22268
22268
  return Object.prototype.toString.call(e) === "[object Object]";
22269
22269
  }
22270
- function zd(e, n) {
22270
+ function Od(e, n) {
22271
22271
  return e === n ? !0 : typeof e != typeof n ? !1 : !!(Number.isNaN(e) && Number.isNaN(n));
22272
22272
  }
22273
22273
  function RT(e, n) {
@@ -22276,7 +22276,7 @@ function RT(e, n) {
22276
22276
  return !1;
22277
22277
  for (let r = 0, s = t.length; r < s; r++) {
22278
22278
  const o = t[r];
22279
- if (!zd(e[o], n[o]))
22279
+ if (!Od(e[o], n[o]))
22280
22280
  return !1;
22281
22281
  }
22282
22282
  return !0;
@@ -22285,15 +22285,15 @@ function OT(e, n) {
22285
22285
  if (e.length !== n.length)
22286
22286
  return !1;
22287
22287
  for (let t = 0, i = e.length; t < i; t++)
22288
- if (!zd(e[t], n[t]))
22288
+ if (!Od(e[t], n[t]))
22289
22289
  return !1;
22290
22290
  return !0;
22291
22291
  }
22292
22292
  function zT(e, n) {
22293
- return zd(e, n) ? !0 : rd(e) && rd(n) ? RT(e, n) : Array.isArray(e) && Array.isArray(n) ? OT(e, n) : !1;
22293
+ return Od(e, n) ? !0 : rd(e) && rd(n) ? RT(e, n) : Array.isArray(e) && Array.isArray(n) ? OT(e, n) : !1;
22294
22294
  }
22295
22295
  function wg(e, n) {
22296
- return zd(e, n) ? !0 : rd(e) && rd(n) ? NT(e, n) : Array.isArray(e) && Array.isArray(n) ? BT(e, n) : !1;
22296
+ return Od(e, n) ? !0 : rd(e) && rd(n) ? NT(e, n) : Array.isArray(e) && Array.isArray(n) ? BT(e, n) : !1;
22297
22297
  }
22298
22298
  function BT(e, n) {
22299
22299
  if (e.length !== n.length)
@@ -22320,7 +22320,7 @@ function Nn(e, n, t = { deep: !1 }) {
22320
22320
  const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22321
22321
  __proto__: null,
22322
22322
  BetterTween: Pa,
22323
- Interval: kp,
22323
+ Interval: Lp,
22324
22324
  LineSegments: sx,
22325
22325
  Magnifier: ng,
22326
22326
  Object3D: rx,
@@ -22330,7 +22330,7 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22330
22330
  absoluteUrl: Ag,
22331
22331
  animeMap: _l,
22332
22332
  awaitNextFrame: LT,
22333
- blink: Od,
22333
+ blink: Rd,
22334
22334
  bounding: bg,
22335
22335
  boundingBox: Wa,
22336
22336
  boundingSphere: ox,
@@ -22356,11 +22356,11 @@ const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22356
22356
  requestAnimationFrameInterval: Qa,
22357
22357
  tweenProgress: Dc,
22358
22358
  uuid: wn,
22359
- worldBounding: Rd,
22359
+ worldBounding: kd,
22360
22360
  worldBoundingBox: CT,
22361
22361
  worldBoundingSphere: ax
22362
22362
  }, Symbol.toStringTag, { value: "Module" })), ux = 1, ly = `CSS3DObjectPlus@${ux}`, FT = 216e-5, VT = 3e-3;
22363
- class dx extends Tp {
22363
+ class dx extends Sp {
22364
22364
  constructor(t) {
22365
22365
  var x, M, P, I, T;
22366
22366
  if (kr(t.cornerPoints) && kr(t.width))
@@ -22547,15 +22547,15 @@ class UT extends fx {
22547
22547
  }), super.add(...t), this;
22548
22548
  }
22549
22549
  }
22550
- const WT = 3, Tm = "CSS3DRenderer", Il = `${Tm}@${WT}`, To = () => {
22550
+ const WT = 3, Sm = "CSS3DRenderer", Il = `${Sm}@${WT}`, To = () => {
22551
22551
  console.error(`${Il} is disposed`);
22552
22552
  }, pn = {
22553
22553
  css3DObjects: [],
22554
22554
  frontModeStore: {
22555
- css3DRenderer: new Lp()
22555
+ css3DRenderer: new Dp()
22556
22556
  },
22557
22557
  behindModeStore: {
22558
- css3DRenderer: new Lp()
22558
+ css3DRenderer: new Dp()
22559
22559
  }
22560
22560
  };
22561
22561
  function cy(e) {
@@ -22671,7 +22671,7 @@ class Lc {
22671
22671
  });
22672
22672
  v(this, "createObject", (n, t) => {
22673
22673
  const i = new dx(Me(R({ cornerPoints: n }, t), { style: t.wrapperStyle }));
22674
- return i.element.classList.add(`${Tm}__container`), i.element.id = `${Tm}__container--${i.uuid}`, i;
22674
+ return i.element.classList.add(`${Sm}__container`), i.element.id = `${Sm}__container--${i.uuid}`, i;
22675
22675
  });
22676
22676
  n && this.setScene(n);
22677
22677
  }
@@ -22803,9 +22803,9 @@ class Lc {
22803
22803
  handleDisable() {
22804
22804
  var n, t, i;
22805
22805
  this.store.frontModeGroup.children.forEach((r) => {
22806
- r instanceof Tp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
22806
+ r instanceof Sp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
22807
22807
  }), (n = this.store.behindModeGroup) == null || n.children.forEach((r) => {
22808
- r instanceof Tp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
22808
+ r instanceof Sp && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
22809
22809
  }), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((i = this.getBehindCSS3DScene()) == null || i.remove(this.store.behindModeGroup));
22810
22810
  }
22811
22811
  handleDispose() {
@@ -22823,14 +22823,14 @@ Si.style.height = "100%";
22823
22823
  Si.style.pointerEvents = "none";
22824
22824
  function px(e) {
22825
22825
  var i, r, s, o, a;
22826
- const n = (a = (r = np(e.getElement())) != null ? r : np((i = e.getElement()) == null ? void 0 : i.parentElement)) != null ? a : np((o = (s = e.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : o.parentElement), t = n == null ? void 0 : n.parentElement;
22826
+ const n = (a = (r = tp(e.getElement())) != null ? r : tp((i = e.getElement()) == null ? void 0 : i.parentElement)) != null ? a : tp((o = (s = e.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : o.parentElement), t = n == null ? void 0 : n.parentElement;
22827
22827
  if (t)
22828
22828
  return t.contains(Si) || n.parentElement.insertBefore(Si, n), Si;
22829
22829
  console.error(
22830
22830
  "Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
22831
22831
  );
22832
22832
  }
22833
- function np(e) {
22833
+ function tp(e) {
22834
22834
  var a;
22835
22835
  if (!e)
22836
22836
  return;
@@ -22972,8 +22972,8 @@ let ZT = class extends Lc {
22972
22972
  }), this.created3DElementResults = [];
22973
22973
  }
22974
22974
  };
22975
- const Bd = (e) => new ZT(e);
22976
- function ip(e, n, t = new Se(1, 1, 1), i = !1) {
22975
+ const zd = (e) => new ZT(e);
22976
+ function np(e, n, t = new Se(1, 1, 1), i = !1) {
22977
22977
  const r = new sw(e, n);
22978
22978
  return r.setMaterial({ dashed: i, color: t, linewidth: 1 }), r.remove(r.points), r;
22979
22979
  }
@@ -22994,17 +22994,17 @@ const N6 = (e) => {
22994
22994
  const r = (h, u = 2, d = 0.1) => {
22995
22995
  const f = u / 2, p = c(h, d), g = new Jo();
22996
22996
  g.add(
22997
- ip(
22997
+ np(
22998
22998
  new Se(p.x + f, p.y, p.z),
22999
22999
  new Se(p.x - f, p.y, p.z),
23000
23000
  new Se(1, 0, 0)
23001
23001
  ),
23002
- ip(
23002
+ np(
23003
23003
  new Se(p.x, p.y + f, p.z),
23004
23004
  new Se(p.x, p.y - f, p.z),
23005
23005
  new Se(0, 1, 0)
23006
23006
  ),
23007
- ip(
23007
+ np(
23008
23008
  new Se(p.x, p.y, p.z + f),
23009
23009
  new Se(p.x, p.y, p.z - f),
23010
23010
  new Se(0, 0, 1)
@@ -23319,7 +23319,7 @@ function Mx(e) {
23319
23319
  function Ai(e) {
23320
23320
  vs().$$.on_destroy.push(e);
23321
23321
  }
23322
- function Nd() {
23322
+ function Bd() {
23323
23323
  const e = vs();
23324
23324
  return (n, t, { cancelable: i = !1 } = {}) => {
23325
23325
  const r = e.$$.callbacks[n];
@@ -23332,7 +23332,7 @@ function Nd() {
23332
23332
  return !0;
23333
23333
  };
23334
23334
  }
23335
- function Dm(e, n) {
23335
+ function Tm(e, n) {
23336
23336
  return vs().$$.context.set(e, n), n;
23337
23337
  }
23338
23338
  function fs(e) {
@@ -23344,10 +23344,10 @@ function Ka(e, n) {
23344
23344
  }
23345
23345
  const No = [], Qt = [];
23346
23346
  let ta = [];
23347
- const Lm = [], Ex = /* @__PURE__ */ Promise.resolve();
23348
- let km = !1;
23347
+ const Dm = [], Ex = /* @__PURE__ */ Promise.resolve();
23348
+ let Lm = !1;
23349
23349
  function Cx() {
23350
- km || (km = !0, Ex.then(Ig));
23350
+ Lm || (Lm = !0, Ex.then(Ig));
23351
23351
  }
23352
23352
  function fy() {
23353
23353
  return Cx(), Ex;
@@ -23356,9 +23356,9 @@ function sn(e) {
23356
23356
  ta.push(e);
23357
23357
  }
23358
23358
  function _g(e) {
23359
- Lm.push(e);
23359
+ Dm.push(e);
23360
23360
  }
23361
- const rp = /* @__PURE__ */ new Set();
23361
+ const ip = /* @__PURE__ */ new Set();
23362
23362
  let Do = 0;
23363
23363
  function Ig() {
23364
23364
  if (Do !== 0)
@@ -23377,13 +23377,13 @@ function Ig() {
23377
23377
  Qt.pop()();
23378
23378
  for (let n = 0; n < ta.length; n += 1) {
23379
23379
  const t = ta[n];
23380
- rp.has(t) || (rp.add(t), t());
23380
+ ip.has(t) || (ip.add(t), t());
23381
23381
  }
23382
23382
  ta.length = 0;
23383
23383
  } while (No.length);
23384
- for (; Lm.length; )
23385
- Lm.pop()();
23386
- km = !1, rp.clear(), Pr(e);
23384
+ for (; Dm.length; )
23385
+ Dm.pop()();
23386
+ Lm = !1, ip.clear(), Pr(e);
23387
23387
  }
23388
23388
  function sD(e) {
23389
23389
  if (e.fragment !== null) {
@@ -23853,7 +23853,7 @@ var Ix = function() {
23853
23853
  }, n;
23854
23854
  }()
23855
23855
  );
23856
- }(), Rm = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ud = function() {
23856
+ }(), km = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ud = function() {
23857
23857
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
23858
23858
  }(), pD = function() {
23859
23859
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ud) : function(e) {
@@ -23904,14 +23904,14 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
23904
23904
  return t.broadcastActive();
23905
23905
  }), n.length > 0;
23906
23906
  }, e.prototype.connect_ = function() {
23907
- !Rm || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), bD ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
23907
+ !km || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), bD ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
23908
23908
  attributes: !0,
23909
23909
  childList: !0,
23910
23910
  characterData: !0,
23911
23911
  subtree: !0
23912
23912
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
23913
23913
  }, e.prototype.disconnect_ = function() {
23914
- !Rm || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
23914
+ !km || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
23915
23915
  }, e.prototype.onTransitionEnd_ = function(n) {
23916
23916
  var t = n.propertyName, i = t === void 0 ? "" : t, r = yD.some(function(s) {
23917
23917
  return !!~i.indexOf(s);
@@ -23935,7 +23935,7 @@ var vD = 20, yD = ["top", "right", "bottom", "left", "width", "height", "size",
23935
23935
  }, Sa = function(e) {
23936
23936
  var n = e && e.ownerDocument && e.ownerDocument.defaultView;
23937
23937
  return n || ud;
23938
- }, Tx = Fd(0, 0, 0, 0);
23938
+ }, Tx = Nd(0, 0, 0, 0);
23939
23939
  function dd(e) {
23940
23940
  return parseFloat(e) || 0;
23941
23941
  }
@@ -23956,7 +23956,7 @@ function wD(e) {
23956
23956
  }
23957
23957
  function xD(e) {
23958
23958
  var n = e.getBBox();
23959
- return Fd(0, 0, n.width, n.height);
23959
+ return Nd(0, 0, n.width, n.height);
23960
23960
  }
23961
23961
  function MD(e) {
23962
23962
  var n = e.clientWidth, t = e.clientHeight;
@@ -23967,7 +23967,7 @@ function MD(e) {
23967
23967
  var c = Math.round(a + s) - n, h = Math.round(l + o) - t;
23968
23968
  Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
23969
23969
  }
23970
- return Fd(r.left, r.top, a, l);
23970
+ return Nd(r.left, r.top, a, l);
23971
23971
  }
23972
23972
  var ED = function() {
23973
23973
  return typeof SVGGraphicsElement != "undefined" ? function(e) {
@@ -23980,7 +23980,7 @@ function CD(e) {
23980
23980
  return e === Sa(e).document.documentElement;
23981
23981
  }
23982
23982
  function PD(e) {
23983
- return Rm ? ED(e) ? xD(e) : MD(e) : Tx;
23983
+ return km ? ED(e) ? xD(e) : MD(e) : Tx;
23984
23984
  }
23985
23985
  function _D(e) {
23986
23986
  var n = e.x, t = e.y, i = e.width, r = e.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, o = Object.create(s.prototype);
@@ -23995,14 +23995,14 @@ function _D(e) {
23995
23995
  left: n
23996
23996
  }), o;
23997
23997
  }
23998
- function Fd(e, n, t, i) {
23998
+ function Nd(e, n, t, i) {
23999
23999
  return { x: e, y: n, width: t, height: i };
24000
24000
  }
24001
24001
  var ID = (
24002
24002
  /** @class */
24003
24003
  function() {
24004
24004
  function e(n) {
24005
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Fd(0, 0, 0, 0), this.target = n;
24005
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Nd(0, 0, 0, 0), this.target = n;
24006
24006
  }
24007
24007
  return e.prototype.isActive = function() {
24008
24008
  var n = PD(this.target);
@@ -25709,7 +25709,7 @@ class gL extends ke {
25709
25709
  );
25710
25710
  }
25711
25711
  }
25712
- function Vd(e, n = {}) {
25712
+ function Fd(e, n = {}) {
25713
25713
  let t = "";
25714
25714
  const { needZ: i, needA: r } = n;
25715
25715
  return (i ? e.slice().concat(e[0]) : e.slice()).forEach((o, a) => {
@@ -25773,7 +25773,7 @@ function wL(e, n, t) {
25773
25773
  "path" in s && t(1, r = s.path);
25774
25774
  }, e.$$.update = () => {
25775
25775
  e.$$.dirty & /*path*/
25776
- 2 && t(0, i = Vd(r, { needZ: !0 }));
25776
+ 2 && t(0, i = Fd(r, { needZ: !0 }));
25777
25777
  }, [i, r];
25778
25778
  }
25779
25779
  class xL extends ke {
@@ -25836,15 +25836,15 @@ function ML(e) {
25836
25836
  }
25837
25837
  };
25838
25838
  }
25839
- const sp = 6;
25839
+ const rp = 6;
25840
25840
  function EL(e, n, t) {
25841
25841
  let i, { path: r } = n;
25842
- const s = sp * 2, o = `M0 ${sp} h ${s} M${sp} 0 v ${s}`;
25842
+ const s = rp * 2, o = `M0 ${rp} h ${s} M${rp} 0 v ${s}`;
25843
25843
  return e.$$set = (a) => {
25844
25844
  "path" in a && t(3, r = a.path);
25845
25845
  }, e.$$.update = () => {
25846
25846
  e.$$.dirty & /*path*/
25847
- 8 && t(0, i = Vd(r, { needZ: !0 }));
25847
+ 8 && t(0, i = Fd(r, { needZ: !0 }));
25848
25848
  }, [i, s, o, r];
25849
25849
  }
25850
25850
  class CL extends ke {
@@ -25910,7 +25910,7 @@ function _L(e, n, t) {
25910
25910
  "path" in s && t(1, r = s.path);
25911
25911
  }, e.$$.update = () => {
25912
25912
  e.$$.dirty & /*path*/
25913
- 2 && t(0, i = Vd(r, { needZ: !0 }));
25913
+ 2 && t(0, i = Fd(r, { needZ: !0 }));
25914
25914
  }, [i, r];
25915
25915
  }
25916
25916
  class IL extends ke {
@@ -26187,7 +26187,7 @@ function NL(e, n, t) {
26187
26187
  function u() {
26188
26188
  c == null || c.set(void 0);
26189
26189
  }
26190
- const { bounding: d } = a, f = Vd(s.path, {
26190
+ const { bounding: d } = a, f = Fd(s.path, {
26191
26191
  needZ: !0,
26192
26192
  format: (m) => Ox(m, d)
26193
26193
  });
@@ -27802,7 +27802,7 @@ let ws = class {
27802
27802
  /**
27803
27803
  * @realsee/dnalogel 版本号
27804
27804
  */
27805
- v(this, "VERSION", "3.49.13");
27805
+ v(this, "VERSION", "3.49.14-alpha.1");
27806
27806
  v(this, "NAME");
27807
27807
  v(this, "five");
27808
27808
  v(this, "workUtil");
@@ -27821,7 +27821,7 @@ let ws = class {
27821
27821
  return this.workUtil.workCode;
27822
27822
  }
27823
27823
  updateFive(n) {
27824
- this.five = n, this.fiveUtil = new Ld(n), this.workUtil = this.fiveUtil.workUtil;
27824
+ this.five = n, this.fiveUtil = new Dd(n), this.workUtil = this.fiveUtil.workUtil;
27825
27825
  }
27826
27826
  /**
27827
27827
  * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
@@ -29888,7 +29888,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
29888
29888
  { roomType: "100900000013", description: "衣" },
29889
29889
  { roomType: "100900000015", description: "商铺" },
29890
29890
  { roomType: "100900000016", description: "写字楼" }
29891
- ], op = (e, n, t) => {
29891
+ ], sp = (e, n, t) => {
29892
29892
  const i = new C.Matrix4(), r = new C.Euler(e, n, t, "YXZ");
29893
29893
  return i.makeRotationFromEuler(r), i;
29894
29894
  }, qk = (e, {
@@ -29898,7 +29898,7 @@ const $6 = (e, n) => new Jk(e, n), eG = [
29898
29898
  }) => {
29899
29899
  if (n && e.scale.set(n, n, n), t) {
29900
29900
  const [r, s, o] = t;
29901
- r && e.applyMatrix4(op(r, 0, 0)), s && e.applyMatrix4(op(0, s, 0)), o && e.applyMatrix4(op(0, 0, o));
29901
+ r && e.applyMatrix4(sp(r, 0, 0)), s && e.applyMatrix4(sp(0, s, 0)), o && e.applyMatrix4(sp(0, 0, o));
29902
29902
  }
29903
29903
  return i && e.position.set(i.x, i.y, i.z), e;
29904
29904
  };
@@ -30023,7 +30023,7 @@ const $k = ({ x: e, y: n, z: t }) => new Se(e, n, t), rG = (e, n) => {
30023
30023
  return { load: l, enable: (b) => (t.enabled || (t.enabled = !0, d(e.currentMode), e.on("modeChange", d), h(b)), !0), disable: () => (t.enabled && (t.enabled = !1, u(), e.off("modeChange", d)), !0) };
30024
30024
  }, e5 = Ki;
30025
30025
  function t5(e, n, t, i = e5.Linear.None) {
30026
- const r = new Ed(e).to(n, t).easing(i);
30026
+ const r = new Md(e).to(n, t).easing(i);
30027
30027
  Wc(() => r.start(0));
30028
30028
  const s = Qa((a) => {
30029
30029
  r.update(a) === !1 && s();
@@ -30052,13 +30052,13 @@ function Ky(e) {
30052
30052
  function $y(e) {
30053
30053
  return e % gu;
30054
30054
  }
30055
- function ap(e, n, t) {
30055
+ function op(e, n, t) {
30056
30056
  return e + (n - e) * t;
30057
30057
  }
30058
- const Om = (e, n, t) => {
30058
+ const Rm = (e, n, t) => {
30059
30059
  const i = Math.PI, r = i * 2;
30060
30060
  let s = Ky(e), o = Ky(n);
30061
- return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ? Om(s, o, Cr.Anticlockwise) : t === Cr.Loop && s - o > i ? Om(s, o, Cr.Clockwise) : { from: s, to: o };
30061
+ return t === Cr.Anticlockwise && s < o && (s += r), t === Cr.Clockwise && o < s && (o += r), t === Cr.Loop && o - s > i ? Rm(s, o, Cr.Anticlockwise) : t === Cr.Loop && s - o > i ? Rm(s, o, Cr.Clockwise) : { from: s, to: o };
30062
30062
  }, sG = (e) => {
30063
30063
  const n = {}, t = (l, c, ...h) => ee(void 0, [l, c, ...h], function* (s, o, a = { preload: !0 }) {
30064
30064
  return n.interruptCallback && n.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== e.currentMode && (yield e.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== e.panoIndex && (yield e.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((u, d) => {
@@ -30072,7 +30072,7 @@ const Om = (e, n, t) => {
30072
30072
  }, s)) : d(new Error("unexpected error"));
30073
30073
  });
30074
30074
  }), i = (s) => {
30075
- const o = e.state, a = $y(o.latitude), l = $y(s.latitude), { from: c, to: h } = Om(
30075
+ const o = e.state, a = $y(o.latitude), l = $y(s.latitude), { from: c, to: h } = Rm(
30076
30076
  o.longitude,
30077
30077
  s.longitude,
30078
30078
  s.rotation || Cr.Loop
@@ -30101,7 +30101,7 @@ const Om = (e, n, t) => {
30101
30101
  return yield new Promise((f) => {
30102
30102
  const m = ({ progress: A }) => {
30103
30103
  const w = {};
30104
- w.longitude = ap(u.longitude, d.longitude, A), w.latitude = ap(u.latitude, d.latitude, A), w.fov = ap(u.fov, d.fov, A), e.setState(w, !0);
30104
+ w.longitude = op(u.longitude, d.longitude, A), w.latitude = op(u.latitude, d.latitude, A), w.fov = op(u.fov, d.fov, A), e.setState(w, !0);
30105
30105
  }, p = () => {
30106
30106
  f(!0);
30107
30107
  }, g = () => {
@@ -31220,7 +31220,7 @@ class x5 extends Br {
31220
31220
  new C.Vector3(0.7, 0, 0.7),
31221
31221
  new C.Vector3(-0.7, 0, 0.7)
31222
31222
  ];
31223
- return Bd(this.five).create3DDomContainer(t);
31223
+ return zd(this.five).create3DDomContainer(t);
31224
31224
  }
31225
31225
  }
31226
31226
  const cG = (e, n) => new x5(e, n), M5 = 1, E5 = 3, C5 = new Va(16777215), P5 = new Va(6522623), _5 = new Va(16777215), I5 = new Va(6522623), S5 = 6, T5 = 8, D5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", Wx = new Z1().load(D5), L5 = {
@@ -31457,7 +31457,7 @@ let ka = class Yx {
31457
31457
  }
31458
31458
  };
31459
31459
  const nu = (e) => e.preventDefault();
31460
- let Gd = class {
31460
+ let Vd = class {
31461
31461
  constructor(n) {
31462
31462
  v(this, "model");
31463
31463
  v(this, "five");
@@ -31643,7 +31643,7 @@ function N5(e) {
31643
31643
  const n = Qc([e[0].clone(), e[1].clone(), e[2].clone()]), t = new C.Quaternion().setFromUnitVectors(new C.Vector3(0, 1, 0), n), r = e.map((o) => o.clone().applyQuaternion(t)).flatMap((o) => [o.x, o.z]);
31644
31644
  return zE(r);
31645
31645
  }
31646
- function zm(e, n) {
31646
+ function Om(e, n) {
31647
31647
  const t = Array.isArray(n) ? n : [n];
31648
31648
  for (let i = 0; i < t.length; i++) {
31649
31649
  const r = e.start, s = e.end, o = t[i].start, a = t[i].end;
@@ -31698,7 +31698,7 @@ function Zx(e, n) {
31698
31698
  return { start: t[c - 1], end: t[c] };
31699
31699
  }).filter(Boolean);
31700
31700
  for (let l = 0; l < a.length; l++)
31701
- if (zm(a[l], a.slice(l)))
31701
+ if (Om(a[l], a.slice(l)))
31702
31702
  return;
31703
31703
  }
31704
31704
  const i = t.flatMap((a) => [a.x, a.y, a.z]), r = new C.Float32BufferAttribute(i, 3), s = N5(t), o = new C.BufferGeometry();
@@ -31799,7 +31799,7 @@ class Y5 extends Qx {
31799
31799
  this.contentDom.innerText = `${kr(s) ? t : t.toFixed(s)}${r}`;
31800
31800
  }
31801
31801
  }
31802
- class Bm {
31802
+ class zm {
31803
31803
  constructor(n, t) {
31804
31804
  v(this, "id", wn());
31805
31805
  v(this, "selected", !1);
@@ -31939,7 +31939,6 @@ class eM extends En {
31939
31939
  v(this, "five");
31940
31940
  v(this, "_outOfFive", !1);
31941
31941
  v(this, "_enabled", !1);
31942
- v(this, "hammer");
31943
31942
  v(this, "mode");
31944
31943
  /** 长按屏幕的动作触发后为true,手指抬起后为false */
31945
31944
  v(this, "pressDown", !1);
@@ -31947,6 +31946,8 @@ class eM extends En {
31947
31946
  v(this, "adherePoints");
31948
31947
  /** 吸附点的半径 */
31949
31948
  v(this, "adherePointsRadius", 0.1);
31949
+ /** 有值时表明处于按压检查阶段 */
31950
+ v(this, "setPressDown");
31950
31951
  v(this, "lastFiveHelperVisible");
31951
31952
  v(this, "lastIntersection");
31952
31953
  v(this, "mousePosition");
@@ -31982,32 +31983,32 @@ class eM extends En {
31982
31983
  v(this, "onClick", () => {
31983
31984
  this.select();
31984
31985
  });
31985
- /**
31986
- * 1. 如果之前没有长按行为「即没有长按点时」-> 滑动全景
31987
- * 2. 如果有长按点,把长按点位置更新为当前位置
31988
- */
31989
- v(this, "onPan", (t) => {
31990
- this.pressDown && (t != null && t.center && (this.mousePosition = {
31991
- clientX: t.center.x,
31992
- clientY: t.center.y
31993
- }), this.mouseNdcPosition && this.updateByNdcPosition(this.mouseNdcPosition));
31986
+ v(this, "onTouchStart", (t) => {
31987
+ console.log("touchstart"), this.setPressDown = setTimeout(() => {
31988
+ if (this.setPressDown = void 0, this.mousePosition = {
31989
+ clientX: t.touches[0].clientX,
31990
+ clientY: t.touches[0].clientY
31991
+ }, !this.mouseNdcPosition)
31992
+ return;
31993
+ const i = this.updateByNdcPosition(this.mouseNdcPosition);
31994
+ this.pressDown = i;
31995
+ }, 300);
31994
31996
  });
31995
- /**
31996
- * @description: 长按屏幕后,更新长按点的位置
31997
- */
31998
- v(this, "onPress", (t) => {
31999
- if (t != null && t.center && (this.mousePosition = {
32000
- clientX: t.center.x,
32001
- clientY: t.center.y
32002
- }), !this.mouseNdcPosition)
31997
+ v(this, "onTouchMove", (t) => {
31998
+ if (console.log("touchmove"), this.setPressDown) {
31999
+ clearTimeout(this.setPressDown), this.setPressDown = void 0;
32003
32000
  return;
32004
- const i = this.updateByNdcPosition(this.mouseNdcPosition);
32005
- this.pressDown = i;
32001
+ }
32002
+ if (this.pressDown) {
32003
+ if (this.mousePosition = {
32004
+ clientX: t.touches[0].clientX,
32005
+ clientY: t.touches[0].clientY
32006
+ }, !this.mouseNdcPosition)
32007
+ return;
32008
+ this.updateByNdcPosition(this.mouseNdcPosition);
32009
+ }
32006
32010
  });
32007
- /**
32008
- * @description: 手指抬起后,重置pressDown状态
32009
- */
32010
- v(this, "onPanEnd", () => {
32011
+ v(this, "onTouchEnd", (t) => {
32011
32012
  this.pressDown && (setTimeout(() => {
32012
32013
  this.pressDown = !1;
32013
32014
  }, 100), this.select());
@@ -32130,14 +32131,14 @@ class eM extends En {
32130
32131
  const t = this.five.getElement();
32131
32132
  if (!t)
32132
32133
  throw new Error("five element not found");
32133
- this.hammer || (this.hammer = new Md(t)), this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Oo), this.five.on("wantsChangeMode", Oo), this.five.on("wantsTapGesture", Oo), t.addEventListener("mousemove", this.updateByMousePosition), Rc || t.addEventListener("wheel", this.onMouseWheel), t.addEventListener("click", this.onClick), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
32134
+ this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Oo), this.five.on("wantsChangeMode", Oo), this.five.on("wantsTapGesture", Oo), Rc ? (t.addEventListener("touchstart", this.onTouchStart, { passive: !0 }), t.addEventListener("touchmove", this.onTouchMove), t.addEventListener("touchend", this.onTouchEnd)) : (t.addEventListener("click", this.onClick), t.addEventListener("mousemove", this.updateByMousePosition), t.addEventListener("wheel", this.onMouseWheel), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave)), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
32134
32135
  }
32135
32136
  disable() {
32136
32137
  if (!this.enabled)
32137
32138
  return;
32138
32139
  this.enabled = !1, this.pointSelectorHelper.disable(), this.five.getElement().style.cursor = "";
32139
32140
  const t = this.five.getElement();
32140
- this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Oo), this.five.off("wantsChangeMode", Oo), this.five.off("wantsTapGesture", Oo), this.five.helperVisible = this.lastFiveHelperVisible, t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("wheel", this.onMouseWheel), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave), t == null || t.removeEventListener("click", this.onClick), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panoArrived", this.renderScreenCenter), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
32141
+ this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Oo), this.five.off("wantsChangeMode", Oo), this.five.off("wantsTapGesture", Oo), this.five.helperVisible = this.lastFiveHelperVisible, t == null || t.removeEventListener("touchstart", this.onTouchStart), t == null || t.removeEventListener("touchmove", this.onTouchMove), t == null || t.removeEventListener("touchend", this.onTouchEnd), t == null || t.removeEventListener("click", this.onClick), t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("wheel", this.onMouseWheel), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave), this.five.off("panoArrived", this.renderScreenCenter), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
32141
32142
  }
32142
32143
  dispose() {
32143
32144
  this.disable(), this.pointSelectorHelper.dispose();
@@ -32238,7 +32239,7 @@ function $5(e, n) {
32238
32239
  return e.x === n.x && e.y === n.y;
32239
32240
  }
32240
32241
  const cb = () => !1;
32241
- class Kr extends Gd {
32242
+ class Kr extends Vd {
32242
32243
  constructor(t) {
32243
32244
  super(t);
32244
32245
  v(this, "type", "edit");
@@ -32392,7 +32393,7 @@ class Kr extends Gd {
32392
32393
  this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
32393
32394
  } else
32394
32395
  this.perpendicularDashed.hide();
32395
- const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = zm({ start: t, end: i }, o), l = zm({ start: i, end: this.area.points[0] }, o);
32396
+ const o = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = Om({ start: t, end: i }, o), l = Om({ start: i, end: this.area.points[0] }, o);
32396
32397
  if (a || l)
32397
32398
  this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
32398
32399
  else {
@@ -32470,7 +32471,7 @@ class Kr extends Gd {
32470
32471
  }).appendTo(this.container), this.pointSelector = new eM(this.five, Me(R({}, this.pointSelectorConfig), {
32471
32472
  mode: this.editParams.pointSelectorMode,
32472
32473
  helper: R({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
32473
- })), this.pointSelector.enable(), this.polyline = new Ra({ model: this.model }), this.area = new Bm(void 0, {
32474
+ })), this.pointSelector.enable(), this.polyline = new Ra({ model: this.model }), this.area = new zm(void 0, {
32474
32475
  five: this.five,
32475
32476
  model: this.model,
32476
32477
  meshContainer: this.group,
@@ -32495,7 +32496,7 @@ class Kr extends Gd {
32495
32496
  this.onSelect();
32496
32497
  }
32497
32498
  complete() {
32498
- this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new Bm(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((t) => {
32499
+ this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new zm(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((t) => {
32499
32500
  t.hook.on("selected", this.chooseLine), t.distanceItem.setCanSelect(!0);
32500
32501
  }), this.polyline = new Ra({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
32501
32502
  }
@@ -32517,7 +32518,7 @@ class Kr extends Gd {
32517
32518
  this.unHighlightLines(this.model.getAllLines()), !t.selected && (t.selected = !0, this.group.add(t.lightMesh), t.distanceItem.highlight(), this.five.needsRender = !0);
32518
32519
  }
32519
32520
  }
32520
- class hb extends Gd {
32521
+ class hb extends Vd {
32521
32522
  constructor(t) {
32522
32523
  super(t);
32523
32524
  v(this, "type", "view");
@@ -32570,7 +32571,7 @@ class hb extends Gd {
32570
32571
  });
32571
32572
  const i = this.five.getElement();
32572
32573
  if (i) {
32573
- const r = new Md(i);
32574
+ const r = new $m(i);
32574
32575
  this.hammer = r;
32575
32576
  }
32576
32577
  this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
@@ -32599,7 +32600,7 @@ function ub(e) {
32599
32600
  return { point: o, ndcPoint: a };
32600
32601
  }
32601
32602
  const db = () => !1;
32602
- class fb extends Gd {
32603
+ class fb extends Vd {
32603
32604
  constructor(t) {
32604
32605
  super(t);
32605
32606
  v(this, "type", "watch");
@@ -32725,7 +32726,7 @@ class fb extends Gd {
32725
32726
  this.deleteDom = new Vg(this.five, {
32726
32727
  i18n: this.config.i18n,
32727
32728
  onClick: () => {
32728
- this.choose === "line" ? this.deleteLine() : this.choose instanceof Bm && this.deleteArea(this.choose);
32729
+ this.choose === "line" ? this.deleteLine() : this.choose instanceof zm && this.deleteArea(this.choose);
32729
32730
  },
32730
32731
  cancel: this.cancelDeleteClickCallback
32731
32732
  }).appendTo(this.container), this.model.getAllLines().forEach((r) => {
@@ -32738,7 +32739,7 @@ class fb extends Gd {
32738
32739
  const i = this.five.getElement();
32739
32740
  if (i) {
32740
32741
  this.fiveElement = i;
32741
- const r = new Md(i);
32742
+ const r = new $m(i);
32742
32743
  this.hammer = r, r.on("pan", this.onPan), r.on("panstart", this.onPanStart), r.on("panend", this.onPanEnd);
32743
32744
  }
32744
32745
  this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", db), this.model.hook.on("polylineRemoved", this.polylineRemoved);
@@ -32875,7 +32876,7 @@ function nM(e) {
32875
32876
  let i = 10349931;
32876
32877
  t && e.ballColor >= 0 && (i = e.ballColor);
32877
32878
  const r = new Jo(), s = new xE(0.3, 0.3), o = n ? i4 : r4, a = new Z1().load(o);
32878
- a.encoding = ME, a.minFilter = Sp;
32879
+ a.encoding = ME, a.minFilter = Ip;
32879
32880
  const l = new Yl({
32880
32881
  map: a,
32881
32882
  transparent: !0,
@@ -33009,7 +33010,7 @@ class a4 {
33009
33010
  return this.mouseGroup;
33010
33011
  }
33011
33012
  }
33012
- class wl extends Gd {
33013
+ class wl extends Vd {
33013
33014
  constructor(t) {
33014
33015
  super(t);
33015
33016
  v(this, "state", "watching");
@@ -34754,18 +34755,18 @@ function gd(e) {
34754
34755
  return e === null ? "null" : typeof e == "undefined" ? "undefined" : typeof e == "object" ? Array.isArray(e) ? "array" : "object" : typeof e;
34755
34756
  }
34756
34757
  function cM(e) {
34757
- return gd(e) === "object" ? Fm(e) : gd(e) === "array" ? Nm(e) : e;
34758
+ return gd(e) === "object" ? Nm(e) : gd(e) === "array" ? Bm(e) : e;
34758
34759
  }
34759
- function Nm(e) {
34760
+ function Bm(e) {
34760
34761
  return e.map(cM);
34761
34762
  }
34762
- function Fm(e) {
34763
+ function Nm(e) {
34763
34764
  const n = {};
34764
34765
  for (const t in e)
34765
34766
  e.hasOwnProperty(t) && (n[t] = cM(e[t]));
34766
34767
  return n;
34767
34768
  }
34768
- function jd(e, n = [], t = {}) {
34769
+ function Gd(e, n = [], t = {}) {
34769
34770
  const i = {
34770
34771
  arrayBehaviour: t.arrayBehaviour || "replace"
34771
34772
  // Can be "merge" or "replace".
@@ -34777,15 +34778,15 @@ function jd(e, n = [], t = {}) {
34777
34778
  if (d === "object")
34778
34779
  if (f !== "undefined") {
34779
34780
  const m = f === "object" ? s[h] : {};
34780
- s[h] = jd({}, [m, Fm(u)], i);
34781
+ s[h] = Gd({}, [m, Nm(u)], i);
34781
34782
  } else
34782
- s[h] = Fm(u);
34783
+ s[h] = Nm(u);
34783
34784
  else if (d === "array")
34784
34785
  if (f === "array") {
34785
- const m = Nm(u);
34786
+ const m = Bm(u);
34786
34787
  s[h] = i.arrayBehaviour === "merge" ? s[h].concat(m) : m;
34787
34788
  } else
34788
- s[h] = Nm(u);
34789
+ s[h] = Bm(u);
34789
34790
  else
34790
34791
  s[h] = u;
34791
34792
  }
@@ -34793,13 +34794,13 @@ function jd(e, n = [], t = {}) {
34793
34794
  return s;
34794
34795
  }
34795
34796
  Q4.exports = function(n, ...t) {
34796
- return jd(n, t);
34797
+ return Gd(n, t);
34797
34798
  };
34798
34799
  jt.noMutate = function(...n) {
34799
- return jd({}, n);
34800
+ return Gd({}, n);
34800
34801
  };
34801
34802
  jt.withOptions = function(n, t, i) {
34802
- return jd(n, t, i);
34803
+ return Gd(n, t, i);
34803
34804
  };
34804
34805
  function Y4(e) {
34805
34806
  Ue(e, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
@@ -35662,10 +35663,10 @@ class pR {
35662
35663
  }
35663
35664
  }
35664
35665
  }
35665
- const lp = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", mG = (e, n) => {
35666
+ const ap = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", mG = (e, n) => {
35666
35667
  var te, ne, de, ve, ye, Je, be, ae;
35667
35668
  let t = n == null ? void 0 : n.container, i = 1.4;
35668
- const r = (te = n == null ? void 0 : n.wait) != null ? te : 200, s = (ne = n == null ? void 0 : n.maxNumberOnScreen) != null ? ne : 3, o = (de = n == null ? void 0 : n.minRad) != null ? de : Math.PI / 4, a = (ve = n == null ? void 0 : n.nearTolerance) != null ? ve : 100, l = (ye = n == null ? void 0 : n.upsideHeight) != null ? ye : 1.6, c = (Je = n == null ? void 0 : n.minDistance) != null ? Je : 1.2, h = (be = n == null ? void 0 : n.maxDistance) != null ? be : 3.5, u = Bd(e), d = document.createElement("div");
35669
+ const r = (te = n == null ? void 0 : n.wait) != null ? te : 200, s = (ne = n == null ? void 0 : n.maxNumberOnScreen) != null ? ne : 3, o = (de = n == null ? void 0 : n.minRad) != null ? de : Math.PI / 4, a = (ve = n == null ? void 0 : n.nearTolerance) != null ? ve : 100, l = (ye = n == null ? void 0 : n.upsideHeight) != null ? ye : 1.6, c = (Je = n == null ? void 0 : n.minDistance) != null ? Je : 1.2, h = (be = n == null ? void 0 : n.maxDistance) != null ? be : 3.5, u = zd(e), d = document.createElement("div");
35669
35670
  d.classList.add("PanoSpatialTagPlugin"), Object.assign(d.style, hR);
35670
35671
  const f = new Na();
35671
35672
  let m = new Image();
@@ -35800,11 +35801,11 @@ const lp = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
35800
35801
  j.distance + Nb
35801
35802
  ), [qe] = p.intersectObjects ? me.intersectObjects(p.intersectObjects, !0) : e.model.loaded ? e.model.intersectRaycaster(me) : me.intersectObjects(e.model.children, !0);
35802
35803
  if (qe && j.distance - qe.distance < Nb) {
35803
- const { position: Ae, normal: he, id: st, replacement: et } = j, lt = new C.Plane().setFromNormalAndCoplanarPoint(he, Ae), Re = Ae.clone().sub(oe.position).cross(new C.Vector3(0, 1, 0)).setLength(lp), tt = [
35804
+ const { position: Ae, normal: he, id: st, replacement: et } = j, lt = new C.Plane().setFromNormalAndCoplanarPoint(he, Ae), Re = Ae.clone().sub(oe.position).cross(new C.Vector3(0, 1, 0)).setLength(ap), tt = [
35804
35805
  Ae.clone(),
35805
35806
  Ae.clone().add(Re),
35806
- Ae.clone().add(new C.Vector3(0, lp, 0)).add(Re),
35807
- Ae.clone().add(new C.Vector3(0, lp, 0))
35807
+ Ae.clone().add(new C.Vector3(0, ap, 0)).add(Re),
35808
+ Ae.clone().add(new C.Vector3(0, ap, 0))
35808
35809
  ].map((We) => lt.projectPoint(We, new C.Vector3())), { container: Ze, dispose: Ke } = u.create3DDomContainer(tt) || {}, $ = new cR({
35809
35810
  target: Ze,
35810
35811
  props: {
@@ -35886,12 +35887,12 @@ const lp = 1e-3, Nb = 0.01, mR = "https://vrlab-image4.ljcdn.com/release/web/Pan
35886
35887
  dispose: K
35887
35888
  };
35888
35889
  };
35889
- var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Wo || {}), Vm = {}, gR = {
35890
+ var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARGE = "large", e.EXTRA_LARGE = "x-large", e))(Wo || {}), Fm = {}, gR = {
35890
35891
  get exports() {
35891
- return Vm;
35892
+ return Fm;
35892
35893
  },
35893
35894
  set exports(e) {
35894
- Vm = e;
35895
+ Fm = e;
35895
35896
  }
35896
35897
  };
35897
35898
  /*!
@@ -35929,7 +35930,7 @@ var Wo = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MIDLLE = "middle", e.LARG
35929
35930
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
35930
35931
  })();
35931
35932
  })(gR);
35932
- const qn = Vm;
35933
+ const qn = Fm;
35933
35934
  function vR(e) {
35934
35935
  Ue(e, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
35935
35936
  }
@@ -36350,7 +36351,7 @@ function _R(e) {
36350
36351
  n.push(i);
36351
36352
  }), n;
36352
36353
  }
36353
- const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/R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FqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcd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FawAAAABJRU5ErkJggg==", AG = (e, { videoElement: n }) => {
36354
+ const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII=", Hg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAACoCAMAAAD6pITnAAABQVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACvr68AAAAAAAAAAAB5eXkAAAA8PDzr6+sLCwuenp4UFBT////8/PyLi4umpqZycnKxsbHMzMykpKTy8vKoqKhcXFwpKSmwsLD+/v7k5OSCgoLw8PDo6Oi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LYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", SR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", AG = (e, { videoElement: n }) => {
36354
36355
  const t = {
36355
36356
  videoMeshes: [],
36356
36357
  videoTextureEnabled: !1,
@@ -36358,7 +36359,7 @@ const IR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
36358
36359
  rectPoints: [],
36359
36360
  enabled: !1,
36360
36361
  videoElement: n
36361
- }, i = Bd(e), r = /* @__PURE__ */ new Map(), s = (y) => {
36362
+ }, i = zd(e), r = /* @__PURE__ */ new Map(), s = (y) => {
36362
36363
  t.videoTexture && (t.videoTexture.image.muted = y);
36363
36364
  }, o = () => t.videoTexture ? t.videoTexture.image.muted : !0, a = () => {
36364
36365
  if (t.enabled || !t.videoTexture)
@@ -37387,7 +37388,7 @@ class nO extends QR {
37387
37388
  if (o !== null && s !== null) {
37388
37389
  const l = {};
37389
37390
  if (a > 0) {
37390
- const h = new Se(0, 0, -1), u = o.clone(), d = new $m();
37391
+ const h = new Se(0, 0, -1), u = o.clone(), d = new Km();
37391
37392
  d.setFromUnitVectors(h, u);
37392
37393
  const f = new gv();
37393
37394
  f.setFromQuaternion(d, "YXZ"), l.longitude = f.y;
@@ -37475,7 +37476,7 @@ const EG = (e) => new nO(e);
37475
37476
  function dM(e, n) {
37476
37477
  console.warn(`🚫 ==> [${e}]: ${n}`);
37477
37478
  }
37478
- var Hd = {}, iO = rO;
37479
+ var jd = {}, iO = rO;
37479
37480
  function rO(e, n, t) {
37480
37481
  return e[0] = n[0] + t[0], e[1] = n[1] + t[1], e;
37481
37482
  }
@@ -37496,27 +37497,27 @@ var uO = dO;
37496
37497
  function dO(e, n) {
37497
37498
  return e[0] * n[0] + e[1] * n[1];
37498
37499
  }
37499
- var fO = iO, jm = sO, fM = aO, pO = cO, mO = uO, Xb = [0, 0];
37500
- Hd.computeMiter = function(n, t, i, r, s) {
37501
- return fO(n, i, r), fM(n, n), jm(t, -n[1], n[0]), jm(Xb, -i[1], i[0]), s / mO(t, Xb);
37500
+ var fO = iO, Gm = sO, fM = aO, pO = cO, mO = uO, Xb = [0, 0];
37501
+ jd.computeMiter = function(n, t, i, r, s) {
37502
+ return fO(n, i, r), fM(n, n), Gm(t, -n[1], n[0]), Gm(Xb, -i[1], i[0]), s / mO(t, Xb);
37502
37503
  };
37503
- Hd.normal = function(n, t) {
37504
- return jm(n, -t[1], t[0]), n;
37504
+ jd.normal = function(n, t) {
37505
+ return Gm(n, -t[1], t[0]), n;
37505
37506
  };
37506
- Hd.direction = function(n, t, i) {
37507
+ jd.direction = function(n, t, i) {
37507
37508
  return pO(n, t, i), fM(n, n), n;
37508
37509
  };
37509
- var Ar = Hd, Os = [0, 0], iu = [0, 0], Zb = [0, 0], xl = [0, 0], gO = function(e, n) {
37510
+ var Ar = jd, Os = [0, 0], iu = [0, 0], Zb = [0, 0], xl = [0, 0], gO = function(e, n) {
37510
37511
  var t = null, i = [];
37511
37512
  n && (e = e.slice(), e.push(e[0]));
37512
37513
  for (var r = e.length, s = 1; s < r; s++) {
37513
37514
  var o = e[s - 1], a = e[s], l = s < e.length - 1 ? e[s + 1] : null;
37514
- if (Ar.direction(Os, a, o), t || (t = [0, 0], Ar.normal(t, Os)), s === 1 && cp(i, t, 1), !l)
37515
- Ar.normal(t, Os), cp(i, t, 1);
37515
+ if (Ar.direction(Os, a, o), t || (t = [0, 0], Ar.normal(t, Os)), s === 1 && lp(i, t, 1), !l)
37516
+ Ar.normal(t, Os), lp(i, t, 1);
37516
37517
  else {
37517
37518
  Ar.direction(iu, l, a);
37518
37519
  var c = Ar.computeMiter(Zb, xl, Os, iu, 1);
37519
- cp(i, xl, c);
37520
+ lp(i, xl, c);
37520
37521
  }
37521
37522
  }
37522
37523
  if (e.length > 2 && n) {
@@ -37527,7 +37528,7 @@ var Ar = Hd, Os = [0, 0], iu = [0, 0], Zb = [0, 0], xl = [0, 0], gO = function(e
37527
37528
  }
37528
37529
  return i;
37529
37530
  };
37530
- function cp(e, n, t) {
37531
+ function lp(e, n, t) {
37531
37532
  e.push([[n[0], n[1]], t]);
37532
37533
  }
37533
37534
  function pM(e, n) {
@@ -37737,7 +37738,7 @@ function IO(e) {
37737
37738
  function SO(e) {
37738
37739
  return e.stickType === "Plane" && e.contentType === "MediaPlane";
37739
37740
  }
37740
- function Hm(e) {
37741
+ function jm(e) {
37741
37742
  const n = (() => {
37742
37743
  if ($i(e) && e.matrix) {
37743
37744
  const t = new Dl().fromArray(e.matrix);
@@ -37748,7 +37749,7 @@ function Hm(e) {
37748
37749
  return tC(n);
37749
37750
  }
37750
37751
  function Jb(e) {
37751
- const n = Hm(e);
37752
+ const n = jm(e);
37752
37753
  return lr(...Array.isArray(n) ? n : [n]);
37753
37754
  }
37754
37755
  function ru(e, n) {
@@ -39890,7 +39891,7 @@ function Lz(e) {
39890
39891
  };
39891
39892
  }
39892
39893
  function kz(e, n, t) {
39893
- const i = Nd();
39894
+ const i = Bd();
39894
39895
  let { pagesCount: r = 1 } = n, { currentPageIndex: s = 0 } = n;
39895
39896
  function o(l) {
39896
39897
  i("pageChange", l);
@@ -40056,7 +40057,7 @@ function Xg(e) {
40056
40057
  };
40057
40058
  }
40058
40059
  const Qz = 110, Yz = 9, Xz = 111, Zz = 20;
40059
- function hp(e) {
40060
+ function cp(e) {
40060
40061
  if ("TouchEvent" in window && e instanceof TouchEvent) {
40061
40062
  const n = e.touches[0];
40062
40063
  return {
@@ -40077,13 +40078,13 @@ function Jz(e, { thresholdProvider: n }) {
40077
40078
  }
40078
40079
  function c(d) {
40079
40080
  o = Date.now(), s = 0, a = !0;
40080
- const f = hp(d);
40081
+ const f = cp(d);
40081
40082
  i = f.x, r = f.y, t("swipeStart", { x: i, y: r }), Wz(window, h), Uz(window, u);
40082
40083
  }
40083
40084
  function h(d) {
40084
40085
  if (!a)
40085
40086
  return;
40086
- const f = hp(d), m = f.x - i, p = f.y - r;
40087
+ const f = cp(d), m = f.x - i, p = f.y - r;
40087
40088
  i = f.x, r = f.y, t("swipeMove", { x: i, y: r, dx: m, dy: p }), m !== 0 && Math.sign(m) !== Math.sign(s) && (s = 0), s += m, Math.abs(s) > n() && (t("swipeThresholdReached", { direction: s > 0 ? Ba : gs }), mA(window, u), gA(window, h));
40088
40089
  }
40089
40090
  function u(d) {
@@ -40091,7 +40092,7 @@ function Jz(e, { thresholdProvider: n }) {
40091
40092
  t("swipeFailed");
40092
40093
  return;
40093
40094
  }
40094
- const f = hp(d);
40095
+ const f = cp(d);
40095
40096
  t("swipeEnd", { x: f.x, y: f.y });
40096
40097
  }
40097
40098
  return jz(e, c), {
@@ -40269,7 +40270,7 @@ function dB({
40269
40270
  t - 1
40270
40271
  );
40271
40272
  }
40272
- function up({
40273
+ function hp({
40273
40274
  infinite: e,
40274
40275
  pageIndex: n,
40275
40276
  clonesCountHead: t,
@@ -40368,7 +40369,7 @@ const Hl = (e, n, t) => {
40368
40369
  if (t === void 0)
40369
40370
  throw new Error(`Required arg "${n}" was not provided`);
40370
40371
  return t;
40371
- }, Um = (e) => (n) => {
40372
+ }, Hm = (e) => (n) => {
40372
40373
  e[n] && e[n]();
40373
40374
  };
40374
40375
  var yB = "Expected a function", xM = "__lodash_hash_undefined__", MM = 1 / 0, bB = "[object Function]", AB = "[object GeneratorFunction]", wB = "[object Symbol]", xB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, MB = /^\w*$/, EB = /^\./, CB = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, PB = /[\\^$.*+?()[\]{}|]/g, _B = /\\(\\)?/g, IB = /^\[object .+?Constructor\]$/, SB = typeof di == "object" && di && di.Object === Object && di, TB = typeof self == "object" && self && self.Object === Object && self, Zg = SB || TB || Function("return this")();
@@ -40384,8 +40385,8 @@ function LB(e) {
40384
40385
  }
40385
40386
  return n;
40386
40387
  }
40387
- var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype, dp = Zg["__core-js_shared__"], bA = function() {
40388
- var e = /[^.]+$/.exec(dp && dp.keys && dp.keys.IE_PROTO || "");
40388
+ var kB = Array.prototype, RB = Function.prototype, EM = Object.prototype, up = Zg["__core-js_shared__"], bA = function() {
40389
+ var e = /[^.]+$/.exec(up && up.keys && up.keys.IE_PROTO || "");
40389
40390
  return e ? "Symbol(src)_1." + e : "";
40390
40391
  }(), CM = RB.toString, Jg = EM.hasOwnProperty, PM = EM.toString, OB = RegExp(
40391
40392
  "^" + CM.call(Jg).replace(PB, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -40435,21 +40436,21 @@ function HB() {
40435
40436
  this.__data__ = [];
40436
40437
  }
40437
40438
  function UB(e) {
40438
- var n = this.__data__, t = Ud(n, e);
40439
+ var n = this.__data__, t = Hd(n, e);
40439
40440
  if (t < 0)
40440
40441
  return !1;
40441
40442
  var i = n.length - 1;
40442
40443
  return t == i ? n.pop() : zB.call(n, t, 1), !0;
40443
40444
  }
40444
40445
  function WB(e) {
40445
- var n = this.__data__, t = Ud(n, e);
40446
+ var n = this.__data__, t = Hd(n, e);
40446
40447
  return t < 0 ? void 0 : n[t][1];
40447
40448
  }
40448
40449
  function QB(e) {
40449
- return Ud(this.__data__, e) > -1;
40450
+ return Hd(this.__data__, e) > -1;
40450
40451
  }
40451
40452
  function YB(e, n) {
40452
- var t = this.__data__, i = Ud(t, e);
40453
+ var t = this.__data__, i = Hd(t, e);
40453
40454
  return i < 0 ? t.push([e, n]) : t[i][1] = n, this;
40454
40455
  }
40455
40456
  el.prototype.clear = HB;
@@ -40472,23 +40473,23 @@ function XB() {
40472
40473
  };
40473
40474
  }
40474
40475
  function ZB(e) {
40475
- return Wd(this, e).delete(e);
40476
+ return Ud(this, e).delete(e);
40476
40477
  }
40477
40478
  function JB(e) {
40478
- return Wd(this, e).get(e);
40479
+ return Ud(this, e).get(e);
40479
40480
  }
40480
40481
  function qB(e) {
40481
- return Wd(this, e).has(e);
40482
+ return Ud(this, e).has(e);
40482
40483
  }
40483
40484
  function KB(e, n) {
40484
- return Wd(this, e).set(e, n), this;
40485
+ return Ud(this, e).set(e, n), this;
40485
40486
  }
40486
40487
  oo.prototype.clear = XB;
40487
40488
  oo.prototype.delete = ZB;
40488
40489
  oo.prototype.get = JB;
40489
40490
  oo.prototype.has = qB;
40490
40491
  oo.prototype.set = KB;
40491
- function Ud(e, n) {
40492
+ function Hd(e, n) {
40492
40493
  for (var t = e.length; t--; )
40493
40494
  if (c9(e[t][0], n))
40494
40495
  return t;
@@ -40517,7 +40518,7 @@ function t9(e) {
40517
40518
  function n9(e) {
40518
40519
  return IM(e) ? e : o9(e);
40519
40520
  }
40520
- function Wd(e, n) {
40521
+ function Ud(e, n) {
40521
40522
  var t = e.__data__;
40522
40523
  return r9(n) ? t[typeof n == "string" ? "string" : "hash"] : t.map;
40523
40524
  }
@@ -40771,13 +40772,13 @@ var ou = f9, vd = {}, p9 = {
40771
40772
  function tl(E) {
40772
40773
  return this.__data__.delete(E);
40773
40774
  }
40774
- function Yd(E) {
40775
+ function Qd(E) {
40775
40776
  return this.__data__.get(E);
40776
40777
  }
40777
- function Xd(E) {
40778
+ function Yd(E) {
40778
40779
  return this.__data__.has(E);
40779
40780
  }
40780
- function Zd(E, L) {
40781
+ function Xd(E, L) {
40781
40782
  var J = this.__data__;
40782
40783
  if (J instanceof it) {
40783
40784
  var le = J.__data__;
@@ -40787,11 +40788,11 @@ var ou = f9, vd = {}, p9 = {
40787
40788
  }
40788
40789
  return J.set(E, L), this;
40789
40790
  }
40790
- ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Yd, ln.prototype.has = Xd, ln.prototype.set = Zd;
40791
+ ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Qd, ln.prototype.has = Yd, ln.prototype.set = Xd;
40791
40792
  function ao(E, L) {
40792
40793
  var J = sl(E) || ho(E) ? Te(E.length, String) : [], le = J.length, bt = !!le;
40793
40794
  for (var rt in E)
40794
- (L || st.call(E, rt)) && !(bt && (rt == "length" || hf(rt, le))) && J.push(rt);
40795
+ (L || st.call(E, rt)) && !(bt && (rt == "length" || cf(rt, le))) && J.push(rt);
40795
40796
  return J;
40796
40797
  }
40797
40798
  function Kc(E, L, J) {
@@ -40815,8 +40816,8 @@ var ou = f9, vd = {}, p9 = {
40815
40816
  return E;
40816
40817
  var dn = sl(E);
40817
40818
  if (dn) {
40818
- if (Lt = lf(E), !L)
40819
- return sf(E, Lt);
40819
+ if (Lt = af(E), !L)
40820
+ return rf(E, Lt);
40820
40821
  } else {
40821
40822
  var zt = pr(E), Rn = zt == h || zt == u;
40822
40823
  if (rh(E))
@@ -40825,11 +40826,11 @@ var ou = f9, vd = {}, p9 = {
40825
40826
  if (mt(E))
40826
40827
  return rt ? E : {};
40827
40828
  if (Lt = ji(Rn ? {} : E), !L)
40828
- return of(E, Gi(Lt, E));
40829
+ return sf(E, Gi(Lt, E));
40829
40830
  } else {
40830
40831
  if (!ne[zt])
40831
40832
  return rt ? E : {};
40832
- Lt = cf(E, zt, nl, L);
40833
+ Lt = lf(E, zt, nl, L);
40833
40834
  }
40834
40835
  }
40835
40836
  St || (St = new ln());
@@ -40837,28 +40838,28 @@ var ou = f9, vd = {}, p9 = {
40837
40838
  if (Zn)
40838
40839
  return Zn;
40839
40840
  if (St.set(E, Lt), !dn)
40840
- var bn = J ? af(E) : al(E);
40841
+ var bn = J ? of(E) : al(E);
40841
40842
  return Be(bn || E, function(On, In) {
40842
40843
  bn && (In = On, On = E[In]), Kc(Lt, In, nl(On, L, J, le, In, E, St));
40843
40844
  }), Lt;
40844
40845
  }
40845
- function Jd(E) {
40846
+ function Zd(E) {
40846
40847
  return Hi(E) ? $(E) : {};
40847
40848
  }
40848
- function qd(E, L, J) {
40849
+ function Jd(E, L, J) {
40849
40850
  var le = L(E);
40850
40851
  return sl(E) ? le : oe(le, J(E));
40851
40852
  }
40852
- function Kd(E) {
40853
+ function qd(E) {
40853
40854
  return et.call(E);
40854
40855
  }
40855
- function $d(E) {
40856
- if (!Hi(E) || df(E))
40856
+ function Kd(E) {
40857
+ if (!Hi(E) || uf(E))
40857
40858
  return !1;
40858
40859
  var L = ol(E) || mt(E) ? lt : K;
40859
40860
  return L.test(Hn(E));
40860
40861
  }
40861
- function ef(E) {
40862
+ function $d(E) {
40862
40863
  if (!th(E))
40863
40864
  return Pt(E);
40864
40865
  var L = [];
@@ -40888,18 +40889,18 @@ var ou = f9, vd = {}, p9 = {
40888
40889
  var L = new E.constructor(E.source, q.exec(E));
40889
40890
  return L.lastIndex = E.lastIndex, L;
40890
40891
  }
40891
- function tf(E, L, J) {
40892
+ function ef(E, L, J) {
40892
40893
  var le = L ? J(N(E), !0) : N(E);
40893
40894
  return fe(le, we, new E.constructor());
40894
40895
  }
40895
- function nf(E) {
40896
+ function tf(E) {
40896
40897
  return ie ? Object(ie.call(E)) : {};
40897
40898
  }
40898
- function rf(E, L) {
40899
+ function nf(E, L) {
40899
40900
  var J = L ? il(E.buffer) : E.buffer;
40900
40901
  return new E.constructor(J, E.byteOffset, E.length);
40901
40902
  }
40902
- function sf(E, L) {
40903
+ function rf(E, L) {
40903
40904
  var J = -1, le = E.length;
40904
40905
  for (L || (L = Array(le)); ++J < le; )
40905
40906
  L[J] = E[J];
@@ -40913,21 +40914,21 @@ var ou = f9, vd = {}, p9 = {
40913
40914
  }
40914
40915
  return J;
40915
40916
  }
40916
- function of(E, L) {
40917
+ function sf(E, L) {
40917
40918
  return rl(E, fr(E), L);
40918
40919
  }
40919
- function af(E) {
40920
- return qd(E, al, fr);
40920
+ function of(E) {
40921
+ return Jd(E, al, fr);
40921
40922
  }
40922
40923
  function Es(E, L) {
40923
40924
  var J = E.__data__;
40924
- return uf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
40925
+ return hf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
40925
40926
  }
40926
40927
  function wi(E, L) {
40927
40928
  var J = He(E, L);
40928
- return $d(J) ? J : void 0;
40929
+ return Kd(J) ? J : void 0;
40929
40930
  }
40930
- var fr = yt ? Ne(yt, Object) : pf, pr = Kd;
40931
+ var fr = yt ? Ne(yt, Object) : ff, pr = qd;
40931
40932
  (Ot && pr(new Ot(new ArrayBuffer(1))) != M || Ht && pr(new Ht()) != d || Xt && pr(Xt.resolve()) != p || kt && pr(new kt()) != y || on && pr(new on()) != w) && (pr = function(E) {
40932
40933
  var L = et.call(E), J = L == m ? E.constructor : void 0, le = J ? Hn(J) : void 0;
40933
40934
  if (le)
@@ -40945,14 +40946,14 @@ var ou = f9, vd = {}, p9 = {
40945
40946
  }
40946
40947
  return L;
40947
40948
  });
40948
- function lf(E) {
40949
+ function af(E) {
40949
40950
  var L = E.length, J = E.constructor(L);
40950
40951
  return L && typeof E[0] == "string" && st.call(E, "index") && (J.index = E.index, J.input = E.input), J;
40951
40952
  }
40952
40953
  function ji(E) {
40953
- return typeof E.constructor == "function" && !th(E) ? Jd(Ke(E)) : {};
40954
+ return typeof E.constructor == "function" && !th(E) ? Zd(Ke(E)) : {};
40954
40955
  }
40955
- function cf(E, L, J, le) {
40956
+ function lf(E, L, J, le) {
40956
40957
  var bt = E.constructor;
40957
40958
  switch (L) {
40958
40959
  case x:
@@ -40971,7 +40972,7 @@ var ou = f9, vd = {}, p9 = {
40971
40972
  case O:
40972
40973
  case G:
40973
40974
  case S:
40974
- return rf(E, le);
40975
+ return nf(E, le);
40975
40976
  case d:
40976
40977
  return $c(E, le, J);
40977
40978
  case f:
@@ -40980,19 +40981,19 @@ var ou = f9, vd = {}, p9 = {
40980
40981
  case g:
40981
40982
  return eh(E);
40982
40983
  case y:
40983
- return tf(E, le, J);
40984
+ return ef(E, le, J);
40984
40985
  case A:
40985
- return nf(E);
40986
+ return tf(E);
40986
40987
  }
40987
40988
  }
40988
- function hf(E, L) {
40989
+ function cf(E, L) {
40989
40990
  return L = L == null ? r : L, !!L && (typeof E == "number" || te.test(E)) && E > -1 && E % 1 == 0 && E < L;
40990
40991
  }
40991
- function uf(E) {
40992
+ function hf(E) {
40992
40993
  var L = typeof E;
40993
40994
  return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
40994
40995
  }
40995
- function df(E) {
40996
+ function uf(E) {
40996
40997
  return !!Ae && Ae in E;
40997
40998
  }
40998
40999
  function th(E) {
@@ -41019,16 +41020,16 @@ var ou = f9, vd = {}, p9 = {
41019
41020
  return E === L || E !== E && L !== L;
41020
41021
  }
41021
41022
  function ho(E) {
41022
- return ff(E) && st.call(E, "callee") && (!We.call(E, "callee") || et.call(E) == s);
41023
+ return df(E) && st.call(E, "callee") && (!We.call(E, "callee") || et.call(E) == s);
41023
41024
  }
41024
41025
  var sl = Array.isArray;
41025
41026
  function uo(E) {
41026
41027
  return E != null && sh(E.length) && !ol(E);
41027
41028
  }
41028
- function ff(E) {
41029
+ function df(E) {
41029
41030
  return oh(E) && uo(E);
41030
41031
  }
41031
- var rh = Ye || mf;
41032
+ var rh = Ye || pf;
41032
41033
  function ol(E) {
41033
41034
  var L = Hi(E) ? et.call(E) : "";
41034
41035
  return L == h || L == u;
@@ -41044,12 +41045,12 @@ var ou = f9, vd = {}, p9 = {
41044
41045
  return !!E && typeof E == "object";
41045
41046
  }
41046
41047
  function al(E) {
41047
- return uo(E) ? ao(E) : ef(E);
41048
+ return uo(E) ? ao(E) : $d(E);
41048
41049
  }
41049
- function pf() {
41050
+ function ff() {
41050
41051
  return [];
41051
41052
  }
41052
- function mf() {
41053
+ function pf() {
41053
41054
  return !1;
41054
41055
  }
41055
41056
  e.exports = nh;
@@ -41207,17 +41208,17 @@ var yd = {}, g9 = {
41207
41208
  var L = wi(this, E).delete(E);
41208
41209
  return this.size -= L ? 1 : 0, L;
41209
41210
  }
41210
- function Yd(E) {
41211
+ function Qd(E) {
41211
41212
  return wi(this, E).get(E);
41212
41213
  }
41213
- function Xd(E) {
41214
+ function Yd(E) {
41214
41215
  return wi(this, E).has(E);
41215
41216
  }
41216
- function Zd(E, L) {
41217
+ function Xd(E, L) {
41217
41218
  var J = wi(this, E), le = J.size;
41218
41219
  return J.set(E, L), this.size += J.size == le ? 0 : 1, this;
41219
41220
  }
41220
- ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Yd, ln.prototype.has = Xd, ln.prototype.set = Zd;
41221
+ ln.prototype.clear = xs, ln.prototype.delete = tl, ln.prototype.get = Qd, ln.prototype.has = Yd, ln.prototype.set = Xd;
41221
41222
  function ao(E) {
41222
41223
  var L = -1, J = E == null ? 0 : E.length;
41223
41224
  for (this.__data__ = new ln(); ++L < J; )
@@ -41237,17 +41238,17 @@ var yd = {}, g9 = {
41237
41238
  function nl() {
41238
41239
  this.__data__ = new Dt(), this.size = 0;
41239
41240
  }
41240
- function Jd(E) {
41241
+ function Zd(E) {
41241
41242
  var L = this.__data__, J = L.delete(E);
41242
41243
  return this.size = L.size, J;
41243
41244
  }
41244
- function qd(E) {
41245
+ function Jd(E) {
41245
41246
  return this.__data__.get(E);
41246
41247
  }
41247
- function Kd(E) {
41248
+ function qd(E) {
41248
41249
  return this.__data__.has(E);
41249
41250
  }
41250
- function $d(E, L) {
41251
+ function Kd(E, L) {
41251
41252
  var J = this.__data__;
41252
41253
  if (J instanceof Dt) {
41253
41254
  var le = J.__data__;
@@ -41257,15 +41258,15 @@ var yd = {}, g9 = {
41257
41258
  }
41258
41259
  return J.set(E, L), this.size = J.size, this;
41259
41260
  }
41260
- Gi.prototype.clear = nl, Gi.prototype.delete = Jd, Gi.prototype.get = qd, Gi.prototype.has = Kd, Gi.prototype.set = $d;
41261
- function ef(E, L) {
41261
+ Gi.prototype.clear = nl, Gi.prototype.delete = Zd, Gi.prototype.get = Jd, Gi.prototype.has = qd, Gi.prototype.set = Kd;
41262
+ function $d(E, L) {
41262
41263
  var J = ho(E), le = !J && ih(E), bt = !J && !le && uo(E), rt = !J && !le && !bt && oh(E), St = J || le || bt || rt, Lt = St ? j(E.length, String) : [], dn = Lt.length;
41263
41264
  for (var zt in E)
41264
41265
  (L || Ke.call(E, zt)) && !(St && // Safari 9 has enumerable `arguments.length` in strict mode.
41265
41266
  (zt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
41266
41267
  bt && (zt == "offset" || zt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
41267
41268
  rt && (zt == "buffer" || zt == "byteLength" || zt == "byteOffset") || // Skip index properties.
41268
- cf(zt, dn))) && Lt.push(zt);
41269
+ lf(zt, dn))) && Lt.push(zt);
41269
41270
  return Lt;
41270
41271
  }
41271
41272
  function co(E, L) {
@@ -41285,9 +41286,9 @@ var yd = {}, g9 = {
41285
41286
  return Hi(E) && Ms(E) == a;
41286
41287
  }
41287
41288
  function eh(E, L, J, le, bt) {
41288
- return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L : tf(E, L, J, le, eh, bt);
41289
+ return E === L ? !0 : E == null || L == null || !Hi(E) && !Hi(L) ? E !== E && L !== L : ef(E, L, J, le, eh, bt);
41289
41290
  }
41290
- function tf(E, L, J, le, bt, rt) {
41291
+ function ef(E, L, J, le, bt, rt) {
41291
41292
  var St = ho(E), Lt = ho(L), dn = St ? l : ji(E), zt = Lt ? l : ji(L);
41292
41293
  dn = dn == a ? b : dn, zt = zt == a ? b : zt;
41293
41294
  var Rn = dn == b, Zn = zt == b, bn = dn == zt;
@@ -41297,7 +41298,7 @@ var yd = {}, g9 = {
41297
41298
  St = !0, Rn = !1;
41298
41299
  }
41299
41300
  if (bn && !Rn)
41300
- return rt || (rt = new Gi()), St || oh(E) ? rl(E, L, J, le, bt, rt) : of(E, L, dn, J, le, bt, rt);
41301
+ return rt || (rt = new Gi()), St || oh(E) ? rl(E, L, J, le, bt, rt) : sf(E, L, dn, J, le, bt, rt);
41301
41302
  if (!(J & r)) {
41302
41303
  var On = Rn && Ke.call(E, "__wrapped__"), In = Zn && Ke.call(L, "__wrapped__");
41303
41304
  if (On || In) {
@@ -41305,19 +41306,19 @@ var yd = {}, g9 = {
41305
41306
  return rt || (rt = new Gi()), bt(Fr, mr, J, le, rt);
41306
41307
  }
41307
41308
  }
41308
- return bn ? (rt || (rt = new Gi()), af(E, L, J, le, bt, rt)) : !1;
41309
+ return bn ? (rt || (rt = new Gi()), of(E, L, J, le, bt, rt)) : !1;
41309
41310
  }
41310
- function nf(E) {
41311
- if (!sh(E) || uf(E))
41311
+ function tf(E) {
41312
+ if (!sh(E) || hf(E))
41312
41313
  return !1;
41313
41314
  var L = rh(E) ? $e : ye;
41314
41315
  return L.test(Hn(E));
41315
41316
  }
41316
- function rf(E) {
41317
+ function nf(E) {
41317
41318
  return Hi(E) && ol(E.length) && !!be[Ms(E)];
41318
41319
  }
41319
- function sf(E) {
41320
- if (!df(E))
41320
+ function rf(E) {
41321
+ if (!uf(E))
41321
41322
  return an(E);
41322
41323
  var L = [];
41323
41324
  for (var J in Object(E))
@@ -41357,7 +41358,7 @@ var yd = {}, g9 = {
41357
41358
  }
41358
41359
  return rt.delete(E), rt.delete(L), Zn;
41359
41360
  }
41360
- function of(E, L, J, le, bt, rt, St) {
41361
+ function sf(E, L, J, le, bt, rt, St) {
41361
41362
  switch (J) {
41362
41363
  case k:
41363
41364
  if (E.byteLength != L.byteLength || E.byteOffset != L.byteOffset)
@@ -41392,7 +41393,7 @@ var yd = {}, g9 = {
41392
41393
  }
41393
41394
  return !1;
41394
41395
  }
41395
- function af(E, L, J, le, bt, rt) {
41396
+ function of(E, L, J, le, bt, rt) {
41396
41397
  var St = J & r, Lt = Es(E), dn = Lt.length, zt = Es(L), Rn = zt.length;
41397
41398
  if (dn != Rn && !St)
41398
41399
  return !1;
@@ -41424,15 +41425,15 @@ var yd = {}, g9 = {
41424
41425
  return rt.delete(E), rt.delete(L), In;
41425
41426
  }
41426
41427
  function Es(E) {
41427
- return il(E, al, lf);
41428
+ return il(E, al, af);
41428
41429
  }
41429
41430
  function wi(E, L) {
41430
41431
  var J = E.__data__;
41431
- return hf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
41432
+ return cf(L) ? J[typeof L == "string" ? "string" : "hash"] : J.map;
41432
41433
  }
41433
41434
  function fr(E, L) {
41434
41435
  var J = qe(E, L);
41435
- return nf(J) ? J : void 0;
41436
+ return tf(J) ? J : void 0;
41436
41437
  }
41437
41438
  function pr(E) {
41438
41439
  var L = Ke.call(E, Xt), J = E[Xt];
@@ -41444,11 +41445,11 @@ var yd = {}, g9 = {
41444
41445
  var bt = We.call(E);
41445
41446
  return le && (L ? E[Xt] = J : delete E[Xt]), bt;
41446
41447
  }
41447
- var lf = kt ? function(E) {
41448
+ var af = kt ? function(E) {
41448
41449
  return E == null ? [] : (E = Object(E), xe(kt(E), function(L) {
41449
41450
  return Ot.call(E, L);
41450
41451
  }));
41451
- } : pf, ji = Ms;
41452
+ } : ff, ji = Ms;
41452
41453
  (_n && ji(new _n(new ArrayBuffer(1))) != k || ci && ji(new ci()) != p || Fi && ji(Fi.resolve()) != A || Vi && ji(new Vi()) != M || V && ji(new V()) != z) && (ji = function(E) {
41453
41454
  var L = Ms(E), J = L == b ? E.constructor : void 0, le = J ? Hn(J) : "";
41454
41455
  if (le)
@@ -41466,17 +41467,17 @@ var yd = {}, g9 = {
41466
41467
  }
41467
41468
  return L;
41468
41469
  });
41469
- function cf(E, L) {
41470
+ function lf(E, L) {
41470
41471
  return L = L == null ? o : L, !!L && (typeof E == "number" || Je.test(E)) && E > -1 && E % 1 == 0 && E < L;
41471
41472
  }
41472
- function hf(E) {
41473
+ function cf(E) {
41473
41474
  var L = typeof E;
41474
41475
  return L == "string" || L == "number" || L == "symbol" || L == "boolean" ? E !== "__proto__" : E === null;
41475
41476
  }
41476
- function uf(E) {
41477
+ function hf(E) {
41477
41478
  return !!$ && $ in E;
41478
41479
  }
41479
- function df(E) {
41480
+ function uf(E) {
41480
41481
  var L = E && E.constructor, J = typeof L == "function" && L.prototype || Re;
41481
41482
  return E === J;
41482
41483
  }
@@ -41507,8 +41508,8 @@ var yd = {}, g9 = {
41507
41508
  function sl(E) {
41508
41509
  return E != null && ol(E.length) && !rh(E);
41509
41510
  }
41510
- var uo = on || mf;
41511
- function ff(E, L) {
41511
+ var uo = on || pf;
41512
+ function df(E, L) {
41512
41513
  return eh(E, L);
41513
41514
  }
41514
41515
  function rh(E) {
@@ -41527,17 +41528,17 @@ var yd = {}, g9 = {
41527
41528
  function Hi(E) {
41528
41529
  return E != null && typeof E == "object";
41529
41530
  }
41530
- var oh = mt ? Ce(mt) : rf;
41531
+ var oh = mt ? Ce(mt) : nf;
41531
41532
  function al(E) {
41532
- return sl(E) ? ef(E) : sf(E);
41533
+ return sl(E) ? $d(E) : rf(E);
41533
41534
  }
41534
- function pf() {
41535
+ function ff() {
41535
41536
  return [];
41536
41537
  }
41537
- function mf() {
41538
+ function pf() {
41538
41539
  return !1;
41539
41540
  }
41540
- e.exports = ff;
41541
+ e.exports = df;
41541
41542
  })(g9, yd);
41542
41543
  const v9 = yd, y9 = (e, n) => v9(e, n), b9 = (e) => Object.keys(e || {}), A9 = (e, n) => {
41543
41544
  const t = {};
@@ -41806,7 +41807,7 @@ function S9(e) {
41806
41807
  },
41807
41808
  methods: {
41808
41809
  _prev({ data: o }) {
41809
- o.currentParticleIndex = up({
41810
+ o.currentParticleIndex = hp({
41810
41811
  infinite: o.infinite,
41811
41812
  pageIndex: o.currentPageIndex - 1,
41812
41813
  clonesCountHead: o.clonesCountHead,
@@ -41817,7 +41818,7 @@ function S9(e) {
41817
41818
  });
41818
41819
  },
41819
41820
  _next({ data: o }) {
41820
- o.currentParticleIndex = up({
41821
+ o.currentParticleIndex = hp({
41821
41822
  infinite: o.infinite,
41822
41823
  pageIndex: o.currentPageIndex + 1,
41823
41824
  clonesCountHead: o.clonesCountHead,
@@ -41844,7 +41845,7 @@ function S9(e) {
41844
41845
  return;
41845
41846
  }
41846
41847
  if (o.autoplay) {
41847
- const c = () => Um({
41848
+ const c = () => Hm({
41848
41849
  [gs]: () => ee(this, null, function* () {
41849
41850
  return a.showNextPage();
41850
41851
  }),
@@ -41896,7 +41897,7 @@ function S9(e) {
41896
41897
  });
41897
41898
  },
41898
41899
  _getParticleIndexByPageIndex({ data: o }, a) {
41899
- return up({
41900
+ return hp({
41900
41901
  infinite: o.infinite,
41901
41902
  pageIndex: a,
41902
41903
  clonesCountHead: o.clonesCountHead,
@@ -42483,7 +42484,7 @@ function N9(e) {
42483
42484
  function F9(e, n, t) {
42484
42485
  let { $$slots: i = {}, $$scope: r } = n, s = [], o, a, l = 0, c = 0, h = 1;
42485
42486
  const [{ data: u, progressManager: d }, f, m] = S9((xe, Ne) => {
42486
- Um({
42487
+ Hm({
42487
42488
  currentPageIndex: () => t(5, o = Ne),
42488
42489
  progressValue: () => t(7, a = Ne),
42489
42490
  offset: () => t(8, l = Ne),
@@ -42491,7 +42492,7 @@ function F9(e, n, t) {
42491
42492
  pagesCount: () => t(10, h = Ne),
42492
42493
  loaded: () => t(6, s = Ne)
42493
42494
  })(xe);
42494
- }), p = Nd();
42495
+ }), p = Bd();
42495
42496
  let { timingFunction: g = "ease-in-out" } = n, { arrows: y = !0 } = n, { infinite: b = !0 } = n, { initialPageIndex: A = 0 } = n, { duration: w = 500 } = n, { autoplay: x = !1 } = n, { autoplayDuration: M = 3e3 } = n, { autoplayDirection: P = gs } = n, { pauseOnFocus: I = !1 } = n, { autoplayProgressVisible: T = !1 } = n, { dots: z = !0 } = n, { swiping: D = !0 } = n, { particlesToShow: k = 1 } = n, { particlesToScroll: O = 1 } = n;
42496
42497
  function G(xe, Ne) {
42497
42498
  return ee(this, null, function* () {
@@ -42549,7 +42550,7 @@ function F9(e, n, t) {
42549
42550
  }
42550
42551
  function Je(xe) {
42551
42552
  return ee(this, null, function* () {
42552
- D && (yield Um({
42553
+ D && (yield Hm({
42553
42554
  [gs]: f.showNextPage,
42554
42555
  [Ba]: f.showPrevPage
42555
42556
  })(xe.detail.direction));
@@ -43030,7 +43031,7 @@ function Y9(e, n, t) {
43030
43031
  s.videoInstance = k, t(0, s);
43031
43032
  });
43032
43033
  }
43033
- const z = () => l === "withText" ? Hg : l === "withoutText" ? Gm : l, D = (k) => {
43034
+ const z = () => l === "withText" ? Hg : l === "withoutText" ? Vm : l, D = (k) => {
43034
43035
  h && i && (t(10, i.muted = !1, i), i.play());
43035
43036
  };
43036
43037
  return e.$$set = (k) => {
@@ -44348,7 +44349,7 @@ function hN(e) {
44348
44349
  }
44349
44350
  function uN(e, n, t) {
44350
44351
  let { $$slots: i = {}, $$scope: r } = n, { url: s } = n, { enable: o = !0 } = n, { style: a = "" } = n, { hooksInfo: l } = n;
44351
- const c = Nd(), h = fs("hooks"), u = fs("mediaStore");
44352
+ const c = Bd(), h = fs("hooks"), u = fs("mediaStore");
44352
44353
  let d, f = !0;
44353
44354
  function m() {
44354
44355
  t(
@@ -45440,7 +45441,7 @@ let RN = class extends ke {
45440
45441
  super(), Le(this, n, kN, LN, De, { tag: 0 }, DN);
45441
45442
  }
45442
45443
  };
45443
- const fp = /* @__PURE__ */ new Map();
45444
+ const dp = /* @__PURE__ */ new Map();
45444
45445
  function RM(e) {
45445
45446
  return ee(this, null, function* () {
45446
45447
  return new Promise((n, t) => {
@@ -45456,10 +45457,10 @@ function RM(e) {
45456
45457
  function ON(e) {
45457
45458
  return ee(this, null, function* () {
45458
45459
  const { url: n, ratio: t = 3 } = e, i = (() => {
45459
- if (fp.has(n))
45460
- return fp.get(n);
45460
+ if (dp.has(n))
45461
+ return dp.get(n);
45461
45462
  const o = RM(n);
45462
- return fp.set(n, o), o;
45463
+ return dp.set(n, o), o;
45463
45464
  })(), { width: r, height: s } = yield i;
45464
45465
  return Me(R({}, e), {
45465
45466
  width: r / t,
@@ -45880,7 +45881,7 @@ function Yo(e) {
45880
45881
  }
45881
45882
  function YN(e, n, t) {
45882
45883
  let i, r, s, o, a, l, c, h, u, { width: d = null } = n, { icon: f = null } = n, { shadow: m = !1 } = n;
45883
- const p = Nd();
45884
+ const p = Bd();
45884
45885
  function g(A) {
45885
45886
  return ee(this, null, function* () {
45886
45887
  const w = yield zN(A);
@@ -46274,7 +46275,7 @@ function c8(e) {
46274
46275
  const [n, t, i, r] = e, s = n.distanceTo(t), o = t.distanceTo(i), a = i.distanceTo(r), l = r.distanceTo(n), c = n.distanceTo(i), h = t.distanceTo(r);
46275
46276
  return s === a && o === l && c === h;
46276
46277
  }
46277
- class pp extends C.Mesh {
46278
+ class fp extends C.Mesh {
46278
46279
  /**
46279
46280
  * @description 生成一个四边形的Mesh
46280
46281
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -46490,7 +46491,7 @@ class FM extends BM {
46490
46491
  v(this, "buttonMesh");
46491
46492
  v(this, "videoTextureMap");
46492
46493
  v(this, "ImageTextureMap");
46493
- this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? Hg : a === "withoutText" ? Gm : typeof a == "string" ? a : Gm)(), this.videoCoverSrc = s, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(lr(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
46494
+ this.cornerPoints = i, this.src = t, this.buttonSrc = (() => a === "withText" ? Hg : a === "withoutText" ? Vm : typeof a == "string" ? a : Vm)(), this.videoCoverSrc = s, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(lr(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
46494
46495
  l ? this.addButtonMesh() : this.play(!0);
46495
46496
  }), this.addEventListener("removed", () => {
46496
46497
  this.remove(...this.children);
@@ -46537,7 +46538,7 @@ class FM extends BM {
46537
46538
  return this.coverMesh;
46538
46539
  if (!this.videoCoverSrc)
46539
46540
  return;
46540
- const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Tl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new pp(o, s);
46541
+ const { texture: i, transparent: r } = yield this.getImageTexture(this.videoCoverSrc), s = new C.MeshBasicMaterial({ transparent: !1, map: i }), o = Tl(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new fp(o, s);
46541
46542
  return a.position.copy(new Se(0, 0, 0)), a.name = "videoCoverMesh", a;
46542
46543
  }))();
46543
46544
  return t && (this.children.includes(this.coverMesh) || (this.add(t), this.coverMesh = t)), t;
@@ -46557,7 +46558,7 @@ class FM extends BM {
46557
46558
  "videoLoaded",
46558
46559
  () => l(Tl(this.objectFit, this.cornerPoints, r.image.videoWidth / r.image.videoHeight))
46559
46560
  );
46560
- }), a = new pp(o, s);
46561
+ }), a = new fp(o, s);
46561
46562
  return a.name = "videoMesh", a.position.copy(new Se(0, 0, 0)), a;
46562
46563
  }))();
46563
46564
  if (!t)
@@ -46586,7 +46587,7 @@ class FM extends BM {
46586
46587
  var f, m, p, g;
46587
46588
  if (this.buttonMesh)
46588
46589
  return this.buttonMesh;
46589
- const i = (m = (f = this.videoMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, r = (g = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, r, s) / s * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Tl("contain", this.cornerPoints, l.image.width / l.image.height), u = new pp(h, new f8(l));
46590
+ const i = (m = (f = this.videoMesh) == null ? void 0 : f.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, r = (g = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, r, s) / s * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Tl("contain", this.cornerPoints, l.image.width / l.image.height), u = new fp(h, new f8(l));
46590
46591
  u.position.copy(new Se(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
46591
46592
  u,
46592
46593
  "click",
@@ -46641,7 +46642,7 @@ const p8 = {
46641
46642
  renderType: "Dom"
46642
46643
  };
46643
46644
  var m8 = /* @__PURE__ */ ((e) => (e.PointTag = "PointTag", e.PlaneTag = "PlaneTag", e))(m8 || {}), g8 = /* @__PURE__ */ ((e) => (e.Audio = "Audio", e.Text = "Text", e.ImageText = "ImageText", e.Image = "Image", e.Video = "Video", e.Link = "Link", e.Sticker = "Sticker", e.VRLink = "VRLink", e.PanoLink = "PanoLink", e.Marketing = "Marketing", e.MediaPlane = "MediaPlane", e.MediaModel = "MediaModel", e.Model = "Model", e.Panorama = "Panorama", e.Custom = "Custom", e.Unknown = "Unknown", e))(g8 || {}), v8 = /* @__PURE__ */ ((e) => (e.Two = "2D", e.Three = "3D", e))(v8 || {});
46644
- function mp(e, n, t) {
46645
+ function pp(e, n, t) {
46645
46646
  var f, m, p, g, y;
46646
46647
  const i = (f = t == null ? void 0 : t.useCache) != null ? f : !0;
46647
46648
  if (!e)
@@ -46778,7 +46779,7 @@ class ev {
46778
46779
  t.stickType = i;
46779
46780
  const r = JSON.parse(JSON.stringify(t.data)), s = (l = t.initialConfig) != null ? l : t.config ? JSON.parse(JSON.stringify(t.config)) : {};
46780
46781
  t.initialConfig = s;
46781
- const o = mp(t, n.config), a = this.getConfig(t);
46782
+ const o = pp(t, n.config), a = this.getConfig(t);
46782
46783
  t.config = a, this.id = (c = t.id) != null ? c : wn(), this.enabled = (h = t.enabled) != null ? h : !0, this.contentType = t.contentType, this.data = (u = a.initialData) != null && u.important ? jt(t.data, r, a.initialData) : jt(t.data, a.initialData, r), this.state = R({
46783
46784
  visible: void 0,
46784
46785
  unfolded: !this.can("fold")
@@ -46805,12 +46806,12 @@ class ev {
46805
46806
  return this.plugin.workUtil;
46806
46807
  }
46807
46808
  get centerPosition() {
46808
- const n = Hm(this);
46809
+ const n = jm(this);
46809
46810
  return lr(...Array.isArray(n) ? n : [n]);
46810
46811
  }
46811
46812
  get currentConfig() {
46812
46813
  var r, s;
46813
- const n = mp(this, this.plugin.config, { useCache: !0 }), t = this.five.getCurrentState().mode, i = (r = n.configWithFiveMode) == null ? void 0 : r[t];
46814
+ const n = pp(this, this.plugin.config, { useCache: !0 }), t = this.five.getCurrentState().mode, i = (r = n.configWithFiveMode) == null ? void 0 : r[t];
46814
46815
  return (s = i != null ? i : n) != null ? s : {};
46815
46816
  }
46816
46817
  get currentVisible() {
@@ -46882,7 +46883,7 @@ class ev {
46882
46883
  console.warn("tagDom is empty");
46883
46884
  return;
46884
46885
  }
46885
- yield (r ? Od : lx)(s, R({
46886
+ yield (r ? Rd : lx)(s, R({
46886
46887
  begin: () => {
46887
46888
  r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
46888
46889
  },
@@ -46971,7 +46972,7 @@ class ev {
46971
46972
  }
46972
46973
  getConfig(n, t) {
46973
46974
  var o, a, l;
46974
- const i = mp(n != null ? n : this, this.plugin.config, { useCache: t == null ? void 0 : t.useCache }), r = (o = t == null ? void 0 : t.fiveMode) != null ? o : this.five.getCurrentState().mode, s = (a = i.configWithFiveMode) == null ? void 0 : a[r];
46975
+ const i = pp(n != null ? n : this, this.plugin.config, { useCache: t == null ? void 0 : t.useCache }), r = (o = t == null ? void 0 : t.fiveMode) != null ? o : this.five.getCurrentState().mode, s = (a = i.configWithFiveMode) == null ? void 0 : a[r];
46975
46976
  return (l = s != null ? s : i) != null ? l : {};
46976
46977
  }
46977
46978
  getDistance(n, t = 3) {
@@ -47149,7 +47150,7 @@ class ev {
47149
47150
  (() => {
47150
47151
  var f;
47151
47152
  const d = (f = t.checkPoints) != null ? f : "center";
47152
- return d === "center" ? Jb(this) : d === "corner" ? Hm(this) : Array.isArray(d) ? d : [];
47153
+ return d === "center" ? Jb(this) : d === "corner" ? jm(this) : Array.isArray(d) ? d : [];
47153
47154
  })()
47154
47155
  );
47155
47156
  let o = 0, a = 0;
@@ -47927,7 +47928,7 @@ function T8(e) {
47927
47928
  }
47928
47929
  function D8(e, n, t) {
47929
47930
  let i, r, s, o, a, l, { tag: c } = n, { hooks: h } = n, { rendererMap: u = /* @__PURE__ */ new Map() } = n, { contentTypeMap: d = /* @__PURE__ */ new Map() } = n, { state: f } = n, { mediaStore: m } = n, { temporaryState: p } = n;
47930
- Dm("hooks", h), Dm("mediaStore", m);
47931
+ Tm("hooks", h), Tm("mediaStore", m);
47931
47932
  let g, y;
47932
47933
  function b(I) {
47933
47934
  I ? h.emit("exposure", { id: o, type: "start" }) : h.emit("exposure", { id: o, type: "end" });
@@ -48095,23 +48096,23 @@ const L8 = {
48095
48096
  };
48096
48097
  class d1 extends C.Raycaster {
48097
48098
  intersectObject(n, t = !0, i = []) {
48098
- return Wm(n, this, i, t), i.sort(f1), i;
48099
+ return Um(n, this, i, t), i.sort(f1), i;
48099
48100
  }
48100
48101
  intersectObjects(n, t = !0, i = []) {
48101
48102
  for (let r = 0, s = n.length; r < s; r++)
48102
- Wm(n[r], this, i, t);
48103
+ Um(n[r], this, i, t);
48103
48104
  return i.sort(f1), i;
48104
48105
  }
48105
48106
  }
48106
48107
  function f1(e, n) {
48107
48108
  return e.distance - n.distance;
48108
48109
  }
48109
- function Wm(e, n, t, i) {
48110
+ function Um(e, n, t, i) {
48110
48111
  let r = !0;
48111
48112
  if (e.layers.test(n.layers) && e.raycast(n, t) === !1 && (r = !1), r === !0 && i === !0) {
48112
48113
  const s = e.children;
48113
48114
  for (let o = 0, a = s.length; o < a; o++)
48114
- Wm(s[o], n, t, !0);
48115
+ Um(s[o], n, t, !0);
48115
48116
  }
48116
48117
  }
48117
48118
  function tv(e, n, t, i) {
@@ -48402,7 +48403,7 @@ class k8 extends ws {
48402
48403
  get css3DRenderPlugin() {
48403
48404
  var t, i, r;
48404
48405
  if (!this._css3DRenderPlugin) {
48405
- const s = Bd(this.five);
48406
+ const s = zd(this.five);
48406
48407
  this._css3DRenderPlugin = s, (t = s.frontModeCSS3DRenderer) != null && t.domElementWrapper && (s.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (r = (i = this.params.containerZIndex) == null ? void 0 : i.toString()) != null ? r : "");
48407
48408
  }
48408
48409
  return this._css3DRenderPlugin;
@@ -48516,7 +48517,7 @@ class R8 extends k8 {
48516
48517
  if (r.tag3DContentSvelte) {
48517
48518
  const { svelteApp: u, css3DInstance: d, initialNormal: f, currentNormal: m } = r.tag3DContentSvelte;
48518
48519
  if ((o = d == null ? void 0 : d.css3DObject) == null || o.setVisible((this.state.visible && ((s = r.state) == null ? void 0 : s.visible)) !== !1), u.$set({ tag: r, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !f.equals(m)) {
48519
- const p = new $m().setFromUnitVectors(f, m);
48520
+ const p = new Km().setFromUnitVectors(f, m);
48520
48521
  d.css3DObject.setRotationFromQuaternion(p);
48521
48522
  }
48522
48523
  return;
@@ -49538,7 +49539,7 @@ function eF(e) {
49538
49539
  }
49539
49540
  function tF(e, n, t) {
49540
49541
  let { tags: i = [] } = n, { hooks: r } = n, { mediaStore: s } = n, { rendererMap: o } = n, { contentTypeMap: a } = n, { state: l } = n, { temporaryState: c } = n, { zIndex: h = void 0 } = n;
49541
- return Dm("hooks", r), e.$$set = (u) => {
49542
+ return Tm("hooks", r), e.$$set = (u) => {
49542
49543
  "tags" in u && t(0, i = u.tags), "hooks" in u && t(7, r = u.hooks), "mediaStore" in u && t(1, s = u.mediaStore), "rendererMap" in u && t(2, o = u.rendererMap), "contentTypeMap" in u && t(3, a = u.contentTypeMap), "state" in u && t(4, l = u.state), "temporaryState" in u && t(5, c = u.temporaryState), "zIndex" in u && t(6, h = u.zIndex);
49543
49544
  }, [
49544
49545
  i,
@@ -49574,7 +49575,7 @@ class nF extends ke {
49574
49575
  }
49575
49576
  }
49576
49577
  const jM = "Dnalogel-PanoTagPlugin", TG = (e) => `${jM}--${e}`;
49577
- class Qm extends R8 {
49578
+ class Wm extends R8 {
49578
49579
  constructor(t, i) {
49579
49580
  super(t);
49580
49581
  /** state */
@@ -49983,7 +49984,7 @@ class Qm extends R8 {
49983
49984
  };
49984
49985
  }
49985
49986
  }
49986
- const DG = (e, n) => new Qm(e, n);
49987
+ const DG = (e, n) => new Wm(e, n);
49987
49988
  function iF(e) {
49988
49989
  Ue(e, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
49989
49990
  }
@@ -50306,7 +50307,7 @@ const lF = (
50306
50307
  }
50307
50308
  `
50308
50309
  );
50309
- class Ym {
50310
+ class Qm {
50310
50311
  constructor(n, t) {
50311
50312
  v(this, "name", "");
50312
50313
  v(this, "startTagContainer");
@@ -50604,7 +50605,7 @@ class Ym {
50604
50605
  var n, t, i, r, s, o;
50605
50606
  if (this.disposed)
50606
50607
  return this.logError("disposed");
50607
- Od([this.group, (i = (t = (n = this.startTagContainer) == null ? void 0 : n.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : i.dom, (o = (s = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : s.tags[0]) == null ? void 0 : o.dom], {
50608
+ Rd([this.group, (i = (t = (n = this.startTagContainer) == null ? void 0 : n.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : i.dom, (o = (s = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : s.tags[0]) == null ? void 0 : o.dom], {
50608
50609
  loop: 6,
50609
50610
  updateRender: () => {
50610
50611
  this.five.needsRender = !0;
@@ -50639,7 +50640,7 @@ class Ym {
50639
50640
  const i = this.curvePath;
50640
50641
  if (!(t != null && t.data))
50641
50642
  return;
50642
- const r = n === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new Qm(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (c = this.endTagContainer) != null ? c : (() => (this.endTagContainer = { tag: null, plugin: new Qm(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = jt({}, {
50643
+ const r = n === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new Wm(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (c = this.endTagContainer) != null ? c : (() => (this.endTagContainer = { tag: null, plugin: new Wm(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = jt({}, {
50643
50644
  contentType: "Custom",
50644
50645
  stickType: "2DPoint",
50645
50646
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
@@ -50697,8 +50698,8 @@ function hF(e) {
50697
50698
  }
50698
50699
  const LG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50699
50700
  __proto__: null,
50700
- GuideLineModeItem: Ym
50701
- }, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin", gp = `${HM}`;
50701
+ GuideLineModeItem: Qm
50702
+ }, Symbol.toStringTag, { value: "Module" })), HM = "CruisePlugin", mp = `${HM}`;
50702
50703
  class UM extends ws {
50703
50704
  constructor(t, i) {
50704
50705
  super(t, i);
@@ -50719,13 +50720,13 @@ class UM extends ws {
50719
50720
  });
50720
50721
  v(this, "GuideLine");
50721
50722
  v(this, "disposedErrorLog", () => {
50722
- console.error(`${gp} is disposed`);
50723
+ console.error(`${mp} is disposed`);
50723
50724
  });
50724
50725
  v(this, "disableWarnLog", () => {
50725
- console.warn(`${gp} is disabled`);
50726
+ console.warn(`${mp} is disabled`);
50726
50727
  });
50727
50728
  v(this, "disableErrorLog", () => {
50728
- console.error(`${gp} is disabled`);
50729
+ console.error(`${mp} is disabled`);
50729
50730
  });
50730
50731
  this.config = i, Object.assign(window, { [`__${HM}_DEBUG__`]: this });
50731
50732
  }
@@ -50873,7 +50874,7 @@ class UM extends ws {
50873
50874
  i != null && i.warnLog && this.disableWarnLog();
50874
50875
  }
50875
50876
  }
50876
- function vp(e, n, t) {
50877
+ function gp(e, n, t) {
50877
50878
  var l, c, h;
50878
50879
  const i = new C.Vector3().fromArray([(l = t.x) != null ? l : 0, (c = t.y) != null ? c : 0, (h = t.z) != null ? h : 0]), r = e.getPointAt(n).clone().add(i), s = e.getTangentAt(n), { longitude: o, latitude: a } = Uc(s);
50879
50880
  return { offset: r.clone(), longitude: o, latitude: a, distance: 0 };
@@ -50891,7 +50892,7 @@ let WM = class extends UM {
50891
50892
  this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: i });
50892
50893
  });
50893
50894
  v(this, "moveToStart", () => {
50894
- this.five.setState(Me(R({}, vp(this.curve, 0, this.curveOffset)), { mode: "Model" }));
50895
+ this.five.setState(Me(R({}, gp(this.curve, 0, this.curveOffset)), { mode: "Model" }));
50895
50896
  });
50896
50897
  v(this, "playFromStart", () => {
50897
50898
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -50960,7 +50961,7 @@ let WM = class extends UM {
50960
50961
  const r = this.getPauseData();
50961
50962
  let s = (l = r == null ? void 0 : r.playedProgress) != null ? l : 0;
50962
50963
  (s < 0 || s >= 1) && (s = 0);
50963
- const o = vp(this.curve, s, this.curveOffset);
50964
+ const o = gp(this.curve, s, this.curveOffset);
50964
50965
  if (this.hooks.emit("progressChange", s), this.five.setState(Me(R({}, o), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
50965
50966
  const c = this.addInterruptListener(() => {
50966
50967
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
@@ -50973,7 +50974,7 @@ let WM = class extends UM {
50973
50974
  else if (this.state.playing === !1)
50974
50975
  this.five.off("renderFrame", a);
50975
50976
  else if (c >= 0) {
50976
- const h = vp(this.curve, c, this.curveOffset);
50977
+ const h = gp(this.curve, c, this.curveOffset);
50977
50978
  this.hooks.emit("progressChange", c), this.five.setState(h, !0);
50978
50979
  }
50979
50980
  };
@@ -51426,7 +51427,7 @@ class QM {
51426
51427
  v(this, "plugin");
51427
51428
  v(this, "five");
51428
51429
  v(this, "logError", (n) => dM("GuideLineItem: ", n));
51429
- this.id = n.id, this.five = n.five, this.plugin = n.plugin, this.panoramaItem = new Ym(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new Ym(this.five, { mode: "model", plugin: this.plugin, parent: this });
51430
+ this.id = n.id, this.five = n.five, this.plugin = n.plugin, this.panoramaItem = new Qm(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new Qm(this.five, { mode: "model", plugin: this.plugin, parent: this });
51430
51431
  }
51431
51432
  get visible() {
51432
51433
  return this._visible;
@@ -51512,11 +51513,11 @@ function gF(e, n) {
51512
51513
  const RG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51513
51514
  __proto__: null,
51514
51515
  GuideLineItem: QM
51515
- }, Symbol.toStringTag, { value: "Module" })), Xm = "GuideLinePlugin", x1 = `${Xm}`;
51516
+ }, Symbol.toStringTag, { value: "Module" })), Ym = "GuideLinePlugin", x1 = `${Ym}`;
51516
51517
  let vF = class extends Br {
51517
51518
  constructor(t, i) {
51518
51519
  super(t, i);
51519
- v(this, "name", Xm);
51520
+ v(this, "name", Ym);
51520
51521
  v(this, "cruisePlugin");
51521
51522
  /** GuideLineItem 索引 */
51522
51523
  v(this, "itemMap", /* @__PURE__ */ new Map());
@@ -51532,7 +51533,7 @@ let vF = class extends Br {
51532
51533
  v(this, "disposedErrorLog", () => {
51533
51534
  console.error(`${x1} is disposed`);
51534
51535
  });
51535
- this._config = i != null ? i : {}, this.cruisePlugin = new iv(t), Object.assign(window, { [`__${Xm}_DEBUG__`]: this });
51536
+ this._config = i != null ? i : {}, this.cruisePlugin = new iv(t), Object.assign(window, { [`__${Ym}_DEBUG__`]: this });
51536
51537
  }
51537
51538
  get config() {
51538
51539
  return this._config;
@@ -51752,7 +51753,7 @@ function CF(e, n) {
51752
51753
  y: -(e.y - r) / i * 2 + 1
51753
51754
  });
51754
51755
  }
51755
- function Qd(e, n, t) {
51756
+ function Wd(e, n, t) {
51756
51757
  if (!n || !t || !e)
51757
51758
  return;
51758
51759
  const i = CF(n, t);
@@ -51764,7 +51765,7 @@ function Qd(e, n, t) {
51764
51765
  function PF(e, n) {
51765
51766
  return !(Math.abs(e.x - n.x) > 1e-5 || Math.abs(e.y - n.y) > 1e-5 || Math.abs(e.z - n.z) > 1e-5);
51766
51767
  }
51767
- class yp extends EF {
51768
+ class vp extends EF {
51768
51769
  constructor(t) {
51769
51770
  var h;
51770
51771
  super(t.direction);
@@ -51794,20 +51795,20 @@ class yp extends EF {
51794
51795
  this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
51795
51796
  }
51796
51797
  }
51797
- const bp = {
51798
+ const yp = {
51798
51799
  X: 15618642,
51799
51800
  Y: 4765519,
51800
51801
  Z: 4227839
51801
51802
  };
51802
51803
  class ia {
51803
51804
  static get X() {
51804
- return new C.Color(bp.X).convertSRGBToLinear().clone();
51805
+ return new C.Color(yp.X).convertSRGBToLinear().clone();
51805
51806
  }
51806
51807
  static get Y() {
51807
- return new C.Color(bp.Y).convertSRGBToLinear().clone();
51808
+ return new C.Color(yp.Y).convertSRGBToLinear().clone();
51808
51809
  }
51809
51810
  static get Z() {
51810
- return new C.Color(bp.Z).convertSRGBToLinear().clone();
51811
+ return new C.Color(yp.Z).convertSRGBToLinear().clone();
51811
51812
  }
51812
51813
  }
51813
51814
  function rv(e, n) {
@@ -51820,7 +51821,7 @@ class _F extends bF {
51820
51821
  v(this, "xArrow");
51821
51822
  v(this, "yArrow");
51822
51823
  v(this, "zArrow");
51823
- i.xArrowEnable !== !1 && (this.xArrow = new yp({ direction: "x", color: ia.X })), i.yArrowEnable !== !1 && (this.yArrow = new yp({ direction: "y", color: ia.Y })), i.zArrowEnable !== !1 && (this.zArrow = new yp({ direction: "z", color: ia.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
51824
+ i.xArrowEnable !== !1 && (this.xArrow = new vp({ direction: "x", color: ia.X })), i.yArrowEnable !== !1 && (this.yArrow = new vp({ direction: "y", color: ia.Y })), i.zArrowEnable !== !1 && (this.zArrow = new vp({ direction: "z", color: ia.Z })), this.add(...[this.xArrow, this.yArrow, this.zArrow].filter(Boolean));
51824
51825
  }
51825
51826
  show() {
51826
51827
  super.show(), this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0);
@@ -51880,7 +51881,7 @@ class TF extends wF {
51880
51881
  v(this, "children", []);
51881
51882
  v(this, "angleTips");
51882
51883
  v(this, "container");
51883
- (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Ap({ direction: "x", color: ia.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Ap({ direction: "y", color: ia.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Ap({ direction: "z", color: ia.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = SF({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
51884
+ (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new bp({ direction: "x", color: ia.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new bp({ direction: "y", color: ia.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new bp({ direction: "z", color: ia.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = SF({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
51884
51885
  }
51885
51886
  hide() {
51886
51887
  this.children.forEach((t) => t.hide());
@@ -51901,7 +51902,7 @@ class TF extends wF {
51901
51902
  this.removeFromParent(), (i = (t = this.angleTips) == null ? void 0 : t.element) == null || i.remove();
51902
51903
  }
51903
51904
  }
51904
- class Ap extends C.Group {
51905
+ class bp extends C.Group {
51905
51906
  constructor(t) {
51906
51907
  super();
51907
51908
  v(this, "direction");
@@ -52694,7 +52695,7 @@ class NF extends Zc {
52694
52695
  v(this, "dragging", (t) => {
52695
52696
  if (!this.isDragging || !this.startInfo)
52696
52697
  return;
52697
- const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
52698
+ const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
52698
52699
  return s ? (this.move(s), !1) : this.dragEnd();
52699
52700
  });
52700
52701
  v(this, "dragEnd", () => {
@@ -52925,10 +52926,10 @@ class UF {
52925
52926
  t != null && t.warnLog && jF();
52926
52927
  }
52927
52928
  }
52928
- function wp(e) {
52929
+ function Ap(e) {
52929
52930
  return e * Math.PI / 180;
52930
52931
  }
52931
- const xp = new C.Quaternion();
52932
+ const wp = new C.Quaternion();
52932
52933
  class WF extends Zc {
52933
52934
  constructor(...t) {
52934
52935
  var c, h, u;
@@ -52947,7 +52948,7 @@ class WF extends Zc {
52947
52948
  return this.helperObject3D.position.clone();
52948
52949
  }
52949
52950
  setRotateAngle(t) {
52950
- const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(wp(i), wp(r), wp(s)), a = new C.Quaternion().setFromEuler(o);
52951
+ const { x: i = 0, y: r = 0, z: s = 0 } = t, o = new C.Euler(Ap(i), Ap(r), Ap(s)), a = new C.Quaternion().setFromEuler(o);
52951
52952
  if (this.hooks.emit("wantToRotate", a))
52952
52953
  return;
52953
52954
  const { originObject3D: c, rotateCenter: h } = this;
@@ -52982,12 +52983,12 @@ class WF extends Zc {
52982
52983
  if (r === "z")
52983
52984
  return new C.Vector3(0, 0, 1).applyQuaternion(l);
52984
52985
  })(), h = new C.Plane().setFromNormalAndCoplanarPoint(c, s), d = h.projectPoint(s.clone(), new C.Vector3()).clone().sub(this.rotateCenter), f = d.angleTo(o.baseAxes.clone().applyQuaternion(l));
52985
- this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, xp.copy(l), this.helperObject3D.showDraggingHelper([r]), this.hooks.emit("rotateStart"), this.isDragging = !0;
52986
+ this.setAngleHelperStart(r, f), this.setAngleHelperLength(r, 0), this.startInfo = { direction: r, startVector: d, plane: h, angleHelper: o, angle: 0, helperQuaternion: l.clone() }, wp.copy(l), this.helperObject3D.showDraggingHelper([r]), this.hooks.emit("rotateStart"), this.isDragging = !0;
52986
52987
  }
52987
52988
  dragging(t) {
52988
52989
  if (!this.isDragging)
52989
52990
  return;
52990
- const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
52991
+ const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
52991
52992
  return s ? (this.rotate(s), !1) : this.dragEnd();
52992
52993
  }
52993
52994
  rotate(t) {
@@ -53013,10 +53014,10 @@ class WF extends Zc {
53013
53014
  const b = new C.Vector3().subVectors(l.position, h).applyQuaternion(f).add(h);
53014
53015
  l.position.copy(b);
53015
53016
  }
53016
- l.applyQuaternion(f), xp.premultiply(f), this.internalHooks.emit("applyObjectRotate", { quaternion: f, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
53017
+ l.applyQuaternion(f), wp.premultiply(f), this.internalHooks.emit("applyObjectRotate", { quaternion: f, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
53017
53018
  }
53018
53019
  dragEnd() {
53019
- this.isDragging && (this.internalHooks.emit("setObjectRotate", xp, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
53020
+ this.isDragging && (this.internalHooks.emit("setObjectRotate", wp, this.rotateCenter), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("rotateEnd"));
53020
53021
  }
53021
53022
  getAngleHelper(t) {
53022
53023
  var i, r, s;
@@ -53105,7 +53106,7 @@ class QF extends Zc {
53105
53106
  dragging(t) {
53106
53107
  if (!this.isDragging)
53107
53108
  return;
53108
- const i = Qd(this.camera, t, this.container);
53109
+ const i = Wd(this.camera, t, this.container);
53109
53110
  if (!i)
53110
53111
  return this.dragEnd();
53111
53112
  this.scale(i);
@@ -53241,7 +53242,7 @@ class qF extends Zc {
53241
53242
  v(this, "dragging", (t) => {
53242
53243
  if (!this.isDragging || !this.startInfo)
53243
53244
  return;
53244
- const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Qd(this.camera, { x: i, y: r }, this.container);
53245
+ const i = "touches" in t ? t.touches[0].clientX : t.x, r = "touches" in t ? t.touches[0].clientY : t.y, s = Wd(this.camera, { x: i, y: r }, this.container);
53245
53246
  return s ? (this.scale(s), !1) : this.dragEnd();
53246
53247
  });
53247
53248
  v(this, "scale", (t) => {
@@ -53279,7 +53280,7 @@ class qF extends Zc {
53279
53280
  this.hooks.emit("wantToScale", o) || (this.originObject3D.scale.copy(o), this.internalHooks.emit("setObjectScale", o), this.hooks.emit("scale", o), this.render());
53280
53281
  }
53281
53282
  }
53282
- const Zm = "Object3DHelperPlugin", ov = Zm, KF = () => {
53283
+ const Xm = "Object3DHelperPlugin", ov = Xm, KF = () => {
53283
53284
  console.error(`${ov} is disposed`);
53284
53285
  }, $F = () => {
53285
53286
  console.warn(`${ov} is disabled`);
@@ -53289,7 +53290,7 @@ const Zm = "Object3DHelperPlugin", ov = Zm, KF = () => {
53289
53290
  class ZM extends ws {
53290
53291
  constructor(t) {
53291
53292
  super(t);
53292
- v(this, "name", Zm);
53293
+ v(this, "name", Xm);
53293
53294
  v(this, "state", {
53294
53295
  visible: !0,
53295
53296
  enabled: !0,
@@ -53298,7 +53299,7 @@ class ZM extends ws {
53298
53299
  v(this, "objectHelperMap", /* @__PURE__ */ new Map());
53299
53300
  v(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
53300
53301
  v(this, "css3DRender");
53301
- this.five = t, this.css3DRender = new Lc(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${Zm.toUpperCase()}_DEBUG__`]: this });
53302
+ this.five = t, this.css3DRender = new Lc(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${Xm.toUpperCase()}_DEBUG__`]: this });
53302
53303
  }
53303
53304
  /**
53304
53305
  * @description Show guide line
@@ -53552,7 +53553,7 @@ class E1 {
53552
53553
  if (!n)
53553
53554
  return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
53554
53555
  this.observer = n;
53555
- const { x: t, y: i, z: r, w: s } = n.quaternion, o = new $m(t, i, r, s), a = n.position;
53556
+ const { x: t, y: i, z: r, w: s } = n.quaternion, o = new Km(t, i, r, s), a = n.position;
53556
53557
  this.videoMesh.position.fromArray([a.x, a.y, a.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new Se(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(o);
53557
53558
  });
53558
53559
  /** 兼容视频播放 */
@@ -53658,7 +53659,7 @@ class E1 {
53658
53659
  const i = document.createElement("video");
53659
53660
  i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
53660
53661
  const r = new SE(this.video);
53661
- r.minFilter = Sp, r.magFilter = Sp;
53662
+ r.minFilter = Ip, r.magFilter = Ip;
53662
53663
  const s = new J1({
53663
53664
  vertexShader: tV,
53664
53665
  fragmentShader: nV,
@@ -53963,7 +53964,7 @@ function cV(e, n) {
53963
53964
  function hV(e, n) {
53964
53965
  return e * e * n;
53965
53966
  }
53966
- function Mp(e, n, t, i) {
53967
+ function xp(e, n, t, i) {
53967
53968
  return lV(e, n) + cV(e, t) + hV(e, i);
53968
53969
  }
53969
53970
  function uV(e, n) {
@@ -53980,31 +53981,31 @@ function fV(e, n) {
53980
53981
  function pV(e, n) {
53981
53982
  return e * e * e * n;
53982
53983
  }
53983
- function Ep(e, n, t, i, r) {
53984
+ function Mp(e, n, t, i, r) {
53984
53985
  return uV(e, n) + dV(e, t) + fV(e, i) + pV(e, r);
53985
53986
  }
53986
- function Jm(e, n) {
53987
+ function Zm(e, n) {
53987
53988
  const t = n.length - 1;
53988
53989
  if (t < 1)
53989
53990
  throw new Error("length of points must greater than 2");
53990
53991
  if (t === 2)
53991
53992
  return new C.Vector3(
53992
- Mp(e, n[0].x, n[1].x, n[2].x),
53993
- Mp(e, n[0].y, n[1].y, n[2].y),
53994
- Mp(e, n[0].z, n[1].z, n[2].z)
53993
+ xp(e, n[0].x, n[1].x, n[2].x),
53994
+ xp(e, n[0].y, n[1].y, n[2].y),
53995
+ xp(e, n[0].z, n[1].z, n[2].z)
53995
53996
  );
53996
53997
  if (t === 3)
53997
53998
  return new C.Vector3(
53998
- Ep(e, n[0].x, n[1].x, n[2].x, n[3].x),
53999
- Ep(e, n[0].y, n[1].y, n[2].y, n[3].y),
54000
- Ep(e, n[0].z, n[1].z, n[2].z, n[3].z)
53999
+ Mp(e, n[0].x, n[1].x, n[2].x, n[3].x),
54000
+ Mp(e, n[0].y, n[1].y, n[2].y, n[3].y),
54001
+ Mp(e, n[0].z, n[1].z, n[2].z, n[3].z)
54001
54002
  );
54002
54003
  if (t === 1) {
54003
54004
  const [r, s] = n;
54004
54005
  return r.clone().add(s.clone().sub(r).multiplyScalar(e));
54005
54006
  }
54006
54007
  const i = [];
54007
- return n.reduce((r, s) => (i.push(Jm(e, [r, s])), s)), Jm(e, i);
54008
+ return n.reduce((r, s) => (i.push(Zm(e, [r, s])), s)), Zm(e, i);
54008
54009
  }
54009
54010
  class mV extends C.Curve {
54010
54011
  constructor(t = []) {
@@ -54014,7 +54015,7 @@ class mV extends C.Curve {
54014
54015
  this.type = "CustomBezierCurve3", this.controlPoints = t;
54015
54016
  }
54016
54017
  getPoint(t, i = new C.Vector3()) {
54017
- const r = i, s = Jm(t, this.controlPoints);
54018
+ const r = i, s = Zm(t, this.controlPoints);
54018
54019
  return r.copy(s), r;
54019
54020
  }
54020
54021
  copy(t) {
@@ -54855,10 +54856,10 @@ class PV {
54855
54856
  });
54856
54857
  var l, c, h, u;
54857
54858
  const i = t.object_data, r = i.bottom_y, s = i.height, o = new C.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
54858
- this.data = t, this.id = t.id, this.name = (h = t.name) != null ? h : "", this.plugin = n, this.height = s, this.bottomY = r, this.opacity = a, this.shape = new C.Shape().fromJSON(i.shape), this.floorIndex = t.floor_index, this.makerObject = new C.Mesh(_1(this.shape, s), _V(o, a)), Cp(this.makerObject, r), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new sx(
54859
+ this.data = t, this.id = t.id, this.name = (h = t.name) != null ? h : "", this.plugin = n, this.height = s, this.bottomY = r, this.opacity = a, this.shape = new C.Shape().fromJSON(i.shape), this.floorIndex = t.floor_index, this.makerObject = new C.Mesh(_1(this.shape, s), _V(o, a)), Ep(this.makerObject, r), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new sx(
54859
54860
  new C.EdgesGeometry(this.makerObject.geometry),
54860
54861
  new C.LineBasicMaterial({ color: o, transparent: !0 })
54861
- ), Cp(this.outline, r), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(s), this.modelGroup = new CV(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
54862
+ ), Ep(this.outline, r), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(s), this.modelGroup = new CV(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
54862
54863
  }
54863
54864
  /** 挂载标注 */
54864
54865
  mount() {
@@ -54906,7 +54907,7 @@ class PV {
54906
54907
  throw new Error("高度必须大于 0");
54907
54908
  this.height = n, this.makerObject.geometry = _1(this.shape, n), this.outline.geometry = new C.EdgesGeometry(this.makerObject.geometry);
54908
54909
  const t = this.shape.extractPoints(10).shape.slice(0, -1), i = r5(t), r = new C.Vector3(i.x, i.y, n);
54909
- Cp(r, this.bottomY), this.tagPosition.copy(r), this.updateTag(), this.plugin.five.needsRender = !0;
54910
+ Ep(r, this.bottomY), this.tagPosition.copy(r), this.updateTag(), this.plugin.five.needsRender = !0;
54910
54911
  }
54911
54912
  /** 更改标注标签的显示层级
54912
54913
  * @description 为什么需要这个方法
@@ -54934,7 +54935,7 @@ function _V(e, n) {
54934
54935
  transparent: !0
54935
54936
  });
54936
54937
  }
54937
- function Cp(e, n) {
54938
+ function Ep(e, n) {
54938
54939
  const t = new C.Matrix4(), i = new C.Matrix4().makeRotationX(Math.PI / 2), r = new C.Matrix4().makeTranslation(0, 0, -n), s = new C.Matrix4().makeScale(1, 1, -1);
54939
54940
  t.multiply(i), t.multiply(r), t.multiply(s), e.applyMatrix4(t);
54940
54941
  }
@@ -55457,7 +55458,7 @@ class DV {
55457
55458
  constructor(n) {
55458
55459
  v(this, "container");
55459
55460
  v(this, "deleteButton");
55460
- this.container = n;
55461
+ this.container = n != null ? n : document.documentElement;
55461
55462
  }
55462
55463
  /**
55463
55464
  * @param type - The type of the cursor.
@@ -55467,7 +55468,7 @@ class DV {
55467
55468
  t ? this.container.style.cursor = `url(${t}), auto` : this.container.style.cursor = n;
55468
55469
  }
55469
55470
  showDeleteButton(n) {
55470
- const { clientX: t, clientY: i, container: r, onClick: s } = n;
55471
+ const { clientX: t, clientY: i, container: r = this.container, onClick: s } = n;
55471
55472
  let o = this.deleteButton;
55472
55473
  return o || (o = document.createElement("div"), o.style.position = "absolute", o.style.width = "20px", o.style.height = "20px", o.style.transform = "translate(-50%, -40px)", o.style.borderRadius = "50%", o.style.cursor = "pointer", o.style.zIndex = "9999", o.style.cursor = "pointer", o.style.userSelect = "none", o.style.display = "flex", o.style.alignItems = "center", o.style.justifyContent = "center", o.style.backgroundImage = "url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMC43MDYlIiB5MT0iNDIuNzQ0JSIgeDI9Ijg5LjA2NCUiIHkyPSI1Ny4yMDglIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii4zMDgiIG9mZnNldD0iNDkuNTY5JSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iLS4yNSIgeT0iLS4yNSIgd2lkdGg9IjU3LjUiIGhlaWdodD0iMjMuNSIgcng9IjExLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEpIiBmaWxsPSIjMkMyQzJDIiBzdHJva2U9InVybCgjcHJlZml4X19hKSIgc3Ryb2tlLXdpZHRoPSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsLW9wYWNpdHk9Ii4zMDMiLz48L3N2Zz4=)", o.innerHTML = '<svg width="16px" height="17px" viewBox="0 0 16 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="22.185491%" y1="100%" x2="66.8316686%" y2="6.67239121%" id="1"><stop stop-color="#FFFCFC" stop-opacity="0.6"></stop><stop stop-color="#FFFFFF" offset="100%"></stop></linearGradient></defs> <path fill="url(#1)" fill-rule="nonzero" transform="translate(2.16 2.16)" d="M11.2979686,2.71818182 C11.611378,2.71818182 11.8654465,2.97561809 11.8654465,3.29318182 C11.8654465,3.58428191 11.6519584,3.82485822 11.374972,3.86293275 L11.2979686,3.86818182 L10.464,3.868 L9.7236795,10.6246222 C9.64153248,11.3737453 9.04854423,11.9512142 8.32013277,12.0165596 L8.18206028,12.0227273 L3.68338622,12.0227273 C2.89302127,12.0227273 2.22904821,11.4205655 2.141767,10.6246222 L2.141767,10.6246222 L1.4,3.868 L0.567477876,3.86818182 C0.254068499,3.86818182 0,3.61074555 0,3.29318182 C0,3.00208173 0.213488114,2.76150541 0.49047449,2.72343089 L0.567477876,2.71818182 L11.2979686,2.71818182 Z M9.322,3.868 L2.542,3.868 L3.26978106,10.4976259 C3.28762252,10.6603274 3.39528004,10.7928487 3.53932022,10.8467307 L3.61412483,10.866894 L3.68338622,10.8727273 L8.18206028,10.8727273 C8.39410941,10.8727273 8.57224853,10.7111717 8.59566544,10.4976259 L8.59566544,10.4976259 L9.322,3.868 Z M8.16824216,0 C8.48165153,0 8.73572003,0.257436269 8.73572003,0.575 C8.73572003,0.866100087 8.52223192,1.1066764 8.24524554,1.14475093 L8.16824216,1.15 L3.69720434,1.15 C3.38379497,1.15 3.12972647,0.892563731 3.12972647,0.575 C3.12972647,0.283899913 3.34321458,0.0433235966 3.62020096,0.00524907226 L3.69720434,0 L8.16824216,0 Z"></path></svg>'), this.deleteButton = o, r.appendChild(o), o.style.left = `${t}px`, o.style.top = `${i}px`, o.onclick = () => {
55473
55474
  r.removeChild(o), s();
@@ -55559,7 +55560,7 @@ class Bc extends ti {
55559
55560
  opacity: 0.5
55560
55561
  })), c = new C.Points(s, a), h = new C.Points(s, l);
55561
55562
  this.fontMesh = c, this.backgroundMesh = h, c.name = "FontMesh", h.name = "BackgroundMesh", c.renderOrder = 10, h.renderOrder = 0, this.add(c, h), t != null && t.point && this.position.copy(Ft(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
55562
- kd(this);
55563
+ Ld(this);
55563
55564
  });
55564
55565
  }
55565
55566
  get color() {
@@ -55595,7 +55596,7 @@ class Bc extends ti {
55595
55596
  t ? (i(t), this.dom.setPosition(this.position.clone())) : i(null);
55596
55597
  }
55597
55598
  }
55598
- class qm extends Oi {
55599
+ class Jm extends Oi {
55599
55600
  constructor(t) {
55600
55601
  super();
55601
55602
  v(this, "name", "LineWithDotsMesh");
@@ -55654,7 +55655,7 @@ class eE extends ti {
55654
55655
  v(this, "paramsStyle");
55655
55656
  const o = t, { withDots: i, points: r } = o, s = Ps(o, ["withDots", "points"]);
55656
55657
  this.withDots = i != null ? i : !0, r && this.setPoints(r), s && this.setStyle(s), this.addEventListener("removed", () => {
55657
- kd(this);
55658
+ Ld(this);
55658
55659
  });
55659
55660
  }
55660
55661
  get style() {
@@ -55705,7 +55706,7 @@ class eE extends ti {
55705
55706
  if (o !== 0 && a === void 0)
55706
55707
  return;
55707
55708
  const l = (c = this.lines[o]) != null ? c : (() => {
55708
- const h = new qm(Me(R({}, this.style), {
55709
+ const h = new Jm(Me(R({}, this.style), {
55709
55710
  pointVisibility: this.withDots ? { startPoint: o === 0, endPoint: !0 } : !1
55710
55711
  }));
55711
55712
  return this.lines[o] = h, this.add(h), h;
@@ -55735,8 +55736,8 @@ class Ul extends eE {
55735
55736
  v(this, "name", "PolylineWithDotsMesh");
55736
55737
  }
55737
55738
  }
55738
- const Pp = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
55739
- function _p(e, n, t, i) {
55739
+ const Cp = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
55740
+ function Pp(e, n, t, i) {
55740
55741
  e.addEventListener ? e.addEventListener(n, t, i) : e.attachEvent && e.attachEvent("on".concat(n), t);
55741
55742
  }
55742
55743
  function El(e, n, t, i) {
@@ -55808,9 +55809,9 @@ const Nc = {
55808
55809
  ".": 190,
55809
55810
  "/": 191,
55810
55811
  "`": 192,
55811
- "-": Pp ? 173 : 189,
55812
- "=": Pp ? 61 : 187,
55813
- ";": Pp ? 59 : 186,
55812
+ "-": Cp ? 173 : 189,
55813
+ "=": Cp ? 61 : 187,
55814
+ ";": Cp ? 59 : 186,
55814
55815
  "'": 222,
55815
55816
  "[": 219,
55816
55817
  "]": 221,
@@ -55831,7 +55832,7 @@ const Nc = {
55831
55832
  "⌘": 91,
55832
55833
  cmd: 91,
55833
55834
  command: 91
55834
- }, Km = {
55835
+ }, qm = {
55835
55836
  16: "shiftKey",
55836
55837
  18: "altKey",
55837
55838
  17: "ctrlKey",
@@ -55974,7 +55975,7 @@ function T1(e, n) {
55974
55975
  if (!ri.filter.call(this, e))
55975
55976
  return;
55976
55977
  if ((i === 93 || i === 224) && (i = 91), Yt.indexOf(i) === -1 && i !== 229 && Yt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
55977
- const l = Km[a];
55978
+ const l = qm[a];
55978
55979
  e[a] && Yt.indexOf(l) === -1 ? Yt.push(l) : !e[a] && Yt.indexOf(l) > -1 ? Yt.splice(Yt.indexOf(l), 1) : a === "metaKey" && e[a] && Yt.length === 3 && (e.ctrlKey || e.shiftKey || e.altKey || (Yt = Yt.slice(Yt.indexOf(l))));
55979
55980
  }), i in Tn) {
55980
55981
  Tn[i] = !0;
@@ -55984,7 +55985,7 @@ function T1(e, n) {
55984
55985
  return;
55985
55986
  }
55986
55987
  for (const a in Tn)
55987
- Object.prototype.hasOwnProperty.call(Tn, a) && (Tn[a] = e[Km[a]]);
55988
+ Object.prototype.hasOwnProperty.call(Tn, a) && (Tn[a] = e[qm[a]]);
55988
55989
  e.getModifierState && !(e.altKey && !e.ctrlKey) && e.getModifierState("AltGraph") && (Yt.indexOf(17) === -1 && Yt.push(17), Yt.indexOf(18) === -1 && Yt.push(18), Tn[17] = !0, Tn[18] = !0);
55989
55990
  const r = Fc();
55990
55991
  if (t)
@@ -56032,7 +56033,7 @@ function ri(e, n, t) {
56032
56033
  keydownListener: f,
56033
56034
  keyupListenr: m,
56034
56035
  capture: u
56035
- }), _p(o, "keydown", f, u), _p(o, "keyup", m, u);
56036
+ }), Pp(o, "keydown", f, u), Pp(o, "keyup", m, u);
56036
56037
  }
56037
56038
  if (!Wl) {
56038
56039
  const f = () => {
@@ -56041,7 +56042,7 @@ function ri(e, n, t) {
56041
56042
  Wl = {
56042
56043
  listener: f,
56043
56044
  capture: u
56044
- }, _p(window, "focus", f, u);
56045
+ }, Pp(window, "focus", f, u);
56045
56046
  }
56046
56047
  }
56047
56048
  }
@@ -56083,7 +56084,7 @@ function av(e) {
56083
56084
  El(window, "focus", r, s), Wl = null;
56084
56085
  }
56085
56086
  }
56086
- const Ip = {
56087
+ const _p = {
56087
56088
  getPressedKeyString: FV,
56088
56089
  setScope: rE,
56089
56090
  getScope: Fc,
@@ -56096,10 +56097,10 @@ const Ip = {
56096
56097
  unbind: sE,
56097
56098
  keyMap: Nc,
56098
56099
  modifier: ar,
56099
- modifierMap: Km
56100
+ modifierMap: qm
56100
56101
  };
56101
- for (const e in Ip)
56102
- Object.prototype.hasOwnProperty.call(Ip, e) && (ri[e] = Ip[e]);
56102
+ for (const e in _p)
56103
+ Object.prototype.hasOwnProperty.call(_p, e) && (ri[e] = _p[e]);
56103
56104
  if (typeof window != "undefined") {
56104
56105
  const e = window.hotkeys;
56105
56106
  ri.noConflict = (n) => (n && window.hotkeys === ri && (window.hotkeys = e), ri), window.hotkeys = ri;
@@ -56123,7 +56124,7 @@ class Nr extends ti {
56123
56124
  v(this, "on", (t, i, r) => hn.modules.fiveDomEvents.addEventListener(this, t, i, r));
56124
56125
  v(this, "off", (...t) => hn.modules.fiveDomEvents.removeEventListener(this, ...t));
56125
56126
  t != null && t.id && (this.uuid = t.id), this.config = R({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), t != null && t.style && (t.style.occlusionVisibility = this.config.occlusionVisibility, t.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
56126
- kd(this);
56127
+ Ld(this);
56127
56128
  }), ri("esc", () => {
56128
56129
  this.stopCreating();
56129
56130
  }), this.config.canEdit && (ri("backspace, delete", () => {
@@ -56461,7 +56462,7 @@ class R1 extends Nr {
56461
56462
  */
56462
56463
  create(t) {
56463
56464
  return ee(this, null, function* () {
56464
- this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Bc(t)), yield JV(this.pointMesh, this.pointSelector), this.editor.enable();
56465
+ this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Bc(t)), yield JV(this.pointMesh, this.pointSelector);
56465
56466
  });
56466
56467
  }
56467
56468
  }
@@ -57600,7 +57601,7 @@ class Q1 extends Nr {
57600
57601
  v(this, "type", "Line");
57601
57602
  v(this, "lineMesh");
57602
57603
  v(this, "creatingObject");
57603
- t && (this.lineMesh = new qm(R(R({}, t.style), t)), this.add(this.lineMesh)), this.editor = new QV(this);
57604
+ t && (this.lineMesh = new Jm(R(R({}, t.style), t)), this.add(this.lineMesh)), this.editor = new QV(this);
57604
57605
  }
57605
57606
  get data() {
57606
57607
  return Me(R({}, this.baseData), {
@@ -57639,7 +57640,7 @@ class Q1 extends Nr {
57639
57640
  create(t) {
57640
57641
  return ee(this, null, function* () {
57641
57642
  this.removeChildren();
57642
- const i = new qm(t);
57643
+ const i = new Jm(t);
57643
57644
  this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = h6(i, this.pointSelector, t), yield this.creatingObject.finished, this.editor.enable();
57644
57645
  });
57645
57646
  }
@@ -58201,7 +58202,7 @@ NE();
58201
58202
  export {
58202
58203
  QG as AreaMakerPlugin,
58203
58204
  Lc as CSS3DRender,
58204
- Bd as CSS3DRenderPlugin,
58205
+ zd as CSS3DRenderPlugin,
58205
58206
  i5 as CameraMovementEffect,
58206
58207
  sG as CameraMovementPlugin,
58207
58208
  g8 as ContentType,
@@ -58249,7 +58250,7 @@ export {
58249
58250
  lG as PanoRulerProPlugin,
58250
58251
  mG as PanoSpatialTagPlugin,
58251
58252
  DG as PanoTagPlugin,
58252
- Qm as PanoTagPluginController,
58253
+ Wm as PanoTagPluginController,
58253
58254
  jG as PanoVideoPlugin,
58254
58255
  GG as PanoVideoPluginType,
58255
58256
  UG as PipelinePlugin,