dpot-ui 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -2,14 +2,14 @@ var Sf = Object.defineProperty, Mf = Object.defineProperties;
2
2
  var Ef = Object.getOwnPropertyDescriptors;
3
3
  var Br = Object.getOwnPropertySymbols;
4
4
  var sl = Object.prototype.hasOwnProperty, ol = Object.prototype.propertyIsEnumerable;
5
- var io = Math.pow, rl = (n, e, t) => e in n ? Sf(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Le = (n, e) => {
5
+ var io = Math.pow, rl = (n, e, t) => e in n ? Sf(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, De = (n, e) => {
6
6
  for (var t in e || (e = {}))
7
7
  sl.call(e, t) && rl(n, t, e[t]);
8
8
  if (Br)
9
9
  for (var t of Br(e))
10
10
  ol.call(e, t) && rl(n, t, e[t]);
11
11
  return n;
12
- }, nt = (n, e) => Mf(n, Ef(e));
12
+ }, rt = (n, e) => Mf(n, Ef(e));
13
13
  var zr = (n, e) => {
14
14
  var t = {};
15
15
  for (var i in n)
@@ -82,7 +82,7 @@ const Tf = (n, e, t) => zt(void 0, null, function* () {
82
82
  let c = yield o.getElementRects({ reference: n, floating: e, strategy: r }), { x: u, y: h } = al(c, i, l), f = i, d = {}, g = 0;
83
83
  for (let _ = 0; _ < a.length; _++) {
84
84
  const { name: m, fn: p } = a[_], { x: S, y: v, data: M, reset: b } = yield p({ x: u, y: h, initialPlacement: i, placement: f, strategy: r, middlewareData: d, rects: c, platform: o, elements: { reference: n, floating: e } });
85
- u = S != null ? S : u, h = v != null ? v : h, d = nt(Le({}, d), { [m]: Le(Le({}, d[m]), M) }), b && g <= 50 && (g++, typeof b == "object" && (b.placement && (f = b.placement), b.rects && (c = b.rects === !0 ? yield o.getElementRects({ reference: n, floating: e, strategy: r }) : b.rects), { x: u, y: h } = al(c, f, l)), _ = -1);
85
+ u = S != null ? S : u, h = v != null ? v : h, d = rt(De({}, d), { [m]: De(De({}, d[m]), M) }), b && g <= 50 && (g++, typeof b == "object" && (b.placement && (f = b.placement), b.rects && (c = b.rects === !0 ? yield o.getElementRects({ reference: n, floating: e, strategy: r }) : b.rects), { x: u, y: h } = al(c, f, l)), _ = -1);
86
86
  }
87
87
  return { x: u, y: h, placement: f, strategy: r, middlewareData: d };
88
88
  });
@@ -91,17 +91,17 @@ function Ki(n, e) {
91
91
  }
92
92
  function Xu(n) {
93
93
  return typeof n != "number" ? function(e) {
94
- return Le({ top: 0, right: 0, bottom: 0, left: 0 }, e);
94
+ return De({ top: 0, right: 0, bottom: 0, left: 0 }, e);
95
95
  }(n) : { top: n, right: n, bottom: n, left: n };
96
96
  }
97
97
  function As(n) {
98
- return nt(Le({}, n), { top: n.y, left: n.x, right: n.x + n.width, bottom: n.y + n.height });
98
+ return rt(De({}, n), { top: n.y, left: n.x, right: n.x + n.width, bottom: n.y + n.height });
99
99
  }
100
100
  function Cs(n, e) {
101
101
  return zt(this, null, function* () {
102
102
  var t;
103
103
  e === void 0 && (e = {});
104
- const { x: i, y: r, platform: s, rects: o, elements: a, strategy: l } = n, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: h = "floating", altBoundary: f = !1, padding: d = 0 } = Ki(e, n), g = Xu(d), _ = a[f ? h === "floating" ? "reference" : "floating" : h], m = As(yield s.getClippingRect({ element: (t = yield s.isElement == null ? void 0 : s.isElement(_)) == null || t ? _ : _.contextElement || (yield s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)), boundary: c, rootBoundary: u, strategy: l })), p = h === "floating" ? nt(Le({}, o.floating), { x: i, y: r }) : o.reference, S = yield s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating), v = (yield s.isElement == null ? void 0 : s.isElement(S)) && (yield s.getScale == null ? void 0 : s.getScale(S)) || { x: 1, y: 1 }, M = As(s.convertOffsetParentRelativeRectToViewportRelativeRect ? yield s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: p, offsetParent: S, strategy: l }) : p);
104
+ const { x: i, y: r, platform: s, rects: o, elements: a, strategy: l } = n, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: h = "floating", altBoundary: f = !1, padding: d = 0 } = Ki(e, n), g = Xu(d), _ = a[f ? h === "floating" ? "reference" : "floating" : h], m = As(yield s.getClippingRect({ element: (t = yield s.isElement == null ? void 0 : s.isElement(_)) == null || t ? _ : _.contextElement || (yield s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)), boundary: c, rootBoundary: u, strategy: l })), p = h === "floating" ? rt(De({}, o.floating), { x: i, y: r }) : o.reference, S = yield s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating), v = (yield s.isElement == null ? void 0 : s.isElement(S)) && (yield s.getScale == null ? void 0 : s.getScale(S)) || { x: 1, y: 1 }, M = As(s.convertOffsetParentRelativeRectToViewportRelativeRect ? yield s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: p, offsetParent: S, strategy: l }) : p);
105
105
  return { top: (m.top - M.top + g.top) / v.y, bottom: (M.bottom - m.bottom + g.bottom) / v.y, left: (m.left - M.left + g.left) / v.x, right: (M.right - m.right + g.right) / v.x };
106
106
  });
107
107
  }
@@ -203,11 +203,11 @@ const Df = function(n) {
203
203
  const { rects: i } = t, o = Ki(n, t), { strategy: r = "referenceHidden" } = o, s = zr(o, ["strategy"]);
204
204
  switch (r) {
205
205
  case "referenceHidden": {
206
- const a = ll(yield Cs(t, nt(Le({}, s), { elementContext: "reference" })), i.reference);
206
+ const a = ll(yield Cs(t, rt(De({}, s), { elementContext: "reference" })), i.reference);
207
207
  return { data: { referenceHiddenOffsets: a, referenceHidden: cl(a) } };
208
208
  }
209
209
  case "escaped": {
210
- const a = ll(yield Cs(t, nt(Le({}, s), { altBoundary: !0 })), i.floating);
210
+ const a = ll(yield Cs(t, rt(De({}, s), { altBoundary: !0 })), i.floating);
211
211
  return { data: { escapedOffsets: a, escaped: cl(a) } };
212
212
  }
213
213
  default:
@@ -221,7 +221,7 @@ const Df = function(n) {
221
221
  const { x: i, y: r } = t, s = yield function(o, a) {
222
222
  return zt(this, null, function* () {
223
223
  const { placement: l, platform: c, elements: u } = o, h = yield c.isRTL == null ? void 0 : c.isRTL(u.floating), f = si(l), d = Pr(l), g = Lr(l) === "x", _ = ["left", "top"].includes(f) ? -1 : 1, m = h && g ? -1 : 1, p = Ki(a, o);
224
- let { mainAxis: S, crossAxis: v, alignmentAxis: M } = typeof p == "number" ? { mainAxis: p, crossAxis: 0, alignmentAxis: null } : Le({ mainAxis: 0, crossAxis: 0, alignmentAxis: null }, p);
224
+ let { mainAxis: S, crossAxis: v, alignmentAxis: M } = typeof p == "number" ? { mainAxis: p, crossAxis: 0, alignmentAxis: null } : De({ mainAxis: 0, crossAxis: 0, alignmentAxis: null }, p);
225
225
  return d && typeof M == "number" && (v = d === "end" ? -1 * M : M), g ? { x: v * m, y: S * _ } : { x: S * _, y: v * m };
226
226
  });
227
227
  }(t, n);
@@ -248,8 +248,8 @@ const Nf = function(n) {
248
248
  const S = d === "y" ? "bottom" : "right";
249
249
  _ = Ko(_ + h[d === "y" ? "top" : "left"], _, _ - h[S]);
250
250
  }
251
- const m = l.fn(nt(Le({}, t), { [f]: g, [d]: _ }));
252
- return nt(Le({}, m), { data: { x: m.x - i, y: m.y - r } });
251
+ const m = l.fn(rt(De({}, t), { [f]: g, [d]: _ }));
252
+ return rt(De({}, m), { data: { x: m.x - i, y: m.y - r } });
253
253
  });
254
254
  } };
255
255
  };
@@ -387,7 +387,7 @@ function fl(n, e, t) {
387
387
  }(e, t);
388
388
  else {
389
389
  const r = Yu(n);
390
- i = nt(Le({}, e), { x: e.x - r.x, y: e.y - r.y });
390
+ i = rt(De({}, e), { x: e.x - r.x, y: e.y - r.y });
391
391
  }
392
392
  return As(i);
393
393
  }
@@ -464,7 +464,7 @@ const Bf = { getClippingRect: function(n) {
464
464
  return zt(this, null, function* () {
465
465
  let { reference: e, floating: t, strategy: i } = n;
466
466
  const r = this.getOffsetParent || pl, s = this.getDimensions;
467
- return { reference: Ff(e, yield r(t), i), floating: Le({ x: 0, y: 0 }, yield s(t)) };
467
+ return { reference: Ff(e, yield r(t), i), floating: De({ x: 0, y: 0 }, yield s(t)) };
468
468
  });
469
469
  }, getClientRects: (n) => Array.from(n.getClientRects()), isRTL: (n) => on(n).direction === "rtl" };
470
470
  function zf(n, e, t, i) {
@@ -512,8 +512,8 @@ function zf(n, e, t, i) {
512
512
  };
513
513
  }
514
514
  const Hf = (n, e, t) => {
515
- const i = /* @__PURE__ */ new Map(), r = Le({ platform: Bf }, t), s = nt(Le({}, r.platform), { _c: i });
516
- return Tf(n, e, nt(Le({}, r), { platform: s }));
515
+ const i = /* @__PURE__ */ new Map(), r = De({ platform: Bf }, t), s = rt(De({}, r.platform), { _c: i });
516
+ return Tf(n, e, rt(De({}, r), { platform: s }));
517
517
  };
518
518
  var kf = function() {
519
519
  var n = this, e = n.$createElement, t = n._self._c || e;
@@ -1439,7 +1439,7 @@ const Ud = {
1439
1439
  if (!this.lazyLoad || !this.pageInfo)
1440
1440
  return;
1441
1441
  const e = n.target.offsetHeight;
1442
- [...n.target.children].map((i) => i.offsetHeight).reduce((i, r) => i + r, 0) - n.target.scrollTop < e * 1.5 && this.pageInfo.current * this.pageInfo.size < this.pageInfo.total && (this.key = (this.pageInfo.current + 1) * this.pageInfo.size, this.$emit("change", nt(Le({}, this.pageInfo), { current: this.pageInfo.current + 1 })));
1442
+ [...n.target.children].map((i) => i.offsetHeight).reduce((i, r) => i + r, 0) - n.target.scrollTop < e * 1.5 && this.pageInfo.current * this.pageInfo.size < this.pageInfo.total && (this.key = (this.pageInfo.current + 1) * this.pageInfo.size, this.$emit("change", rt(De({}, this.pageInfo), { current: this.pageInfo.current + 1 })));
1443
1443
  }
1444
1444
  }
1445
1445
  }, El = {};
@@ -1584,13 +1584,13 @@ const Hd = {
1584
1584
  this.$emit("changeWidth", { [this.fullCode.join("_")]: this.$el.offsetWidth });
1585
1585
  },
1586
1586
  handleChildResize(n) {
1587
- this.widthObj = Le(Le({}, this.widthObj), n), this.$emit("changeWidth", n);
1587
+ this.widthObj = De(De({}, this.widthObj), n), this.$emit("changeWidth", n);
1588
1588
  },
1589
1589
  handleItemClick(n, e) {
1590
- n.sortKey && this.$emit("changeSort", Le({}, n), e);
1590
+ n.sortKey && this.$emit("changeSort", De({}, n), e);
1591
1591
  },
1592
1592
  handleChangeFilter(n) {
1593
- this.$emit("changeFilter", { [this.fullCode.join("_")]: nt(Le({ target: this.fullCode }, n), { filterKey: this.item.filterKey || this.item.code, filterFn: this.item.filterFn }) });
1593
+ this.$emit("changeFilter", { [this.fullCode.join("_")]: rt(De({ target: this.fullCode }, n), { filterKey: this.item.filterKey || this.item.code, filterFn: this.item.filterFn }) });
1594
1594
  }
1595
1595
  },
1596
1596
  mounted() {
@@ -1700,7 +1700,7 @@ const $d = {
1700
1700
  },
1701
1701
  computed: {
1702
1702
  fixedStyle() {
1703
- return this.data.map((n, e) => nt(Le({}, Qo(this.data, this.widthInfo, e)), { backgroundColor: this.bgColor }));
1703
+ return this.data.map((n, e) => rt(De({}, Qo(this.data, this.widthInfo, e)), { backgroundColor: this.bgColor }));
1704
1704
  }
1705
1705
  },
1706
1706
  watch: {
@@ -1726,7 +1726,7 @@ const $d = {
1726
1726
  methods: {
1727
1727
  computFixedStyle: Qo,
1728
1728
  handleChangeWidthInfo(n) {
1729
- this.widthInfo = Le(Le({}, this.widthInfo), n), clearTimeout(this.timer), this.timer = setTimeout(() => {
1729
+ this.widthInfo = De(De({}, this.widthInfo), n), clearTimeout(this.timer), this.timer = setTimeout(() => {
1730
1730
  this.$emit("changeWidth", this.widthInfo), this.isBlock = Object.values(this.widthInfo).reduce((e, t) => e + t, 0) > this.$el.offsetWidth - 2, this.$emit("changeBlock", this.isBlock);
1731
1731
  }, 100);
1732
1732
  },
@@ -2001,7 +2001,7 @@ const Jd = {
2001
2001
  // 平铺表头
2002
2002
  deepHeadData() {
2003
2003
  const n = [], e = (t) => {
2004
- t.children ? t.children.forEach((i) => e(nt(Le({}, i), { code: `${t.code}_${i.code}` }))) : n.push(t);
2004
+ t.children ? t.children.forEach((i) => e(rt(De({}, i), { code: `${t.code}_${i.code}` }))) : n.push(t);
2005
2005
  };
2006
2006
  return this.resultHeadData.forEach((t) => e(t)), n;
2007
2007
  },
@@ -2027,12 +2027,12 @@ const Jd = {
2027
2027
  return (s.length > 1 || o.length > 1) && (t = !0), e ? a - l : l - a;
2028
2028
  }), t) {
2029
2029
  const i = (r, s, o) => {
2030
- let a = Le({}, s);
2030
+ let a = De({}, s);
2031
2031
  if (r.children)
2032
- a = nt(Le({}, a), { [r.code]: Object.fromEntries(r.children.map((l) => [l.code, i(l, a[r.code][l.code], o)])) });
2032
+ a = rt(De({}, a), { [r.code]: Object.fromEntries(r.children.map((l) => [l.code, i(l, a[r.code][l.code], o)])) });
2033
2033
  else if (a[r.code] instanceof Object && [a[r.code].slot || a[r.code].raw || a[r.code].value].flat().length === o.length) {
2034
2034
  let l = {};
2035
- a[r.code].slot ? l.slot = o.map((c) => a[r.code].slot[c]) : a[r.code].raw ? l.slot = o.map((c) => a[r.code].raw[c]) : a[r.code].value && (l.slot = o.map((c) => a[r.code].value[c])), a = Le(Le({}, a), l);
2035
+ a[r.code].slot ? l.slot = o.map((c) => a[r.code].slot[c]) : a[r.code].raw ? l.slot = o.map((c) => a[r.code].raw[c]) : a[r.code].value && (l.slot = o.map((c) => a[r.code].value[c])), a = De(De({}, a), l);
2036
2036
  }
2037
2037
  return a;
2038
2038
  };
@@ -2047,7 +2047,7 @@ const Jd = {
2047
2047
  });
2048
2048
  let l = {};
2049
2049
  return this.resultHeadData.forEach((c) => {
2050
- l = Le(Le({}, l), i(c, r, a));
2050
+ l = De(De({}, l), i(c, r, a));
2051
2051
  }), l;
2052
2052
  } else
2053
2053
  return r;
@@ -2062,17 +2062,17 @@ const Jd = {
2062
2062
  },
2063
2063
  // 表体渲染数据
2064
2064
  resultData() {
2065
- return Object.keys(this.widthInfo).length < this.headData.length || !this.headData.length ? [] : this.sortBodyData.slice(this.beforeIndex, this.currentIndex).concat(this.totalData ? [nt(Le({}, this.totalData), { __sub: "", __isTotalData: !0 })] : []).map((n, e) => {
2065
+ return Object.keys(this.widthInfo).length < this.headData.length || !this.headData.length ? [] : this.sortBodyData.slice(this.beforeIndex, this.currentIndex).concat(this.totalData ? [rt(De({}, this.totalData), { __sub: "", __isTotalData: !0 })] : []).map((n, e) => {
2066
2066
  const t = this.handleComputItem(n, !0);
2067
2067
  return Object.keys(t).forEach((i) => {
2068
2068
  if (t[i] instanceof Object && (t[i].merge || 0) > 1) {
2069
2069
  const r = this.deepHeadData.findIndex((o) => o.code === i), s = this.deepHeadData.slice(r, r + t[i].merge);
2070
2070
  s.forEach((o) => {
2071
2071
  const a = t[o.code];
2072
- a instanceof Object || (t[o.code] = { value: a }), t[o.code] = nt(Le({}, t[o.code]), { isMergeIgnored: !0 });
2072
+ a instanceof Object || (t[o.code] = { value: a }), t[o.code] = rt(De({}, t[o.code]), { isMergeIgnored: !0 });
2073
2073
  }), t[i].isMerge = !0, t[i].width = s.map((o) => this.widthInfo[o.code] || 0).reduce((o, a) => o + a, 0);
2074
2074
  }
2075
- }), nt(Le(Le({
2075
+ }), rt(De(De({
2076
2076
  __sub: e + parseInt(this.basicSub) + this.beforeIndex
2077
2077
  }, n), t), {
2078
2078
  __key: e + this.beforeIndex
@@ -2154,7 +2154,7 @@ const Jd = {
2154
2154
  handleComputItem(n, e) {
2155
2155
  let t = {};
2156
2156
  const i = (r, s) => {
2157
- s.children ? s.children.forEach((o) => i((r || {})[o.code], nt(Le({}, o), { code: `${s.code}_${o.code}` }))) : t[s.code] = r;
2157
+ s.children ? s.children.forEach((o) => i((r || {})[o.code], rt(De({}, o), { code: `${s.code}_${o.code}` }))) : t[s.code] = r;
2158
2158
  };
2159
2159
  return this.headData.filter((r) => e || r.children).forEach((r) => i(n[r.code], r)), t;
2160
2160
  },
@@ -2188,7 +2188,7 @@ const Jd = {
2188
2188
  },
2189
2189
  // 操作筛选
2190
2190
  handleChangeFilter(n) {
2191
- this.filterInfo = Le(Le({}, this.filterInfo), n), this.beforeIndex = 0, this.currentIndex = 50, this.$refs.table.scrollTop = 0, this.$emit("changeFilter", Object.values(this.filterInfo).map((e) => ({ key: e.key, value: e.value })));
2191
+ this.filterInfo = De(De({}, this.filterInfo), n), this.beforeIndex = 0, this.currentIndex = 50, this.$refs.table.scrollTop = 0, this.$emit("changeFilter", Object.values(this.filterInfo).map((e) => ({ key: e.key, value: e.value })));
2192
2192
  }
2193
2193
  }
2194
2194
  }, wl = {};
@@ -2503,7 +2503,7 @@ const Ap = /* @__PURE__ */ function() {
2503
2503
  * Copyright 2010-2023 Three.js Authors
2504
2504
  * SPDX-License-Identifier: MIT
2505
2505
  */
2506
- const Aa = "156", zn = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, _i = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, Cp = 0, Ll = 1, Rp = 2, nh = 1, Pp = 2, An = 3, jn = 0, Ot = 1, Cn = 2, Wn = 0, Hi = 1, Dl = 2, Il = 3, Ul = 4, Lp = 5, Ni = 100, Dp = 101, Ip = 102, Nl = 103, Ol = 104, Up = 200, Np = 201, Op = 202, Fp = 203, ih = 204, rh = 205, Bp = 206, zp = 207, Hp = 208, kp = 209, Gp = 210, Vp = 0, Wp = 1, Xp = 2, ea = 3, $p = 4, qp = 5, jp = 6, Yp = 7, Ca = 0, Kp = 1, Zp = 2, Xn = 0, Jp = 1, Qp = 2, em = 3, tm = 4, nm = 5, sh = 300, Vi = 301, Wi = 302, ta = 303, na = 304, Gs = 306, ia = 1e3, nn = 1001, ra = 1002, Dt = 1003, Fl = 1004, so = 1005, $t = 1006, im = 1007, yr = 1008, $n = 1009, rm = 1010, sm = 1011, Ra = 1012, oh = 1013, kn = 1014, Gn = 1015, Sr = 1016, ah = 1017, lh = 1018, oi = 1020, om = 1021, rn = 1023, am = 1024, lm = 1025, ai = 1026, Xi = 1027, cm = 1028, ch = 1029, um = 1030, uh = 1031, hh = 1033, oo = 33776, ao = 33777, lo = 33778, co = 33779, Bl = 35840, zl = 35841, Hl = 35842, kl = 35843, hm = 36196, Gl = 37492, Vl = 37496, Wl = 37808, Xl = 37809, $l = 37810, ql = 37811, jl = 37812, Yl = 37813, Kl = 37814, Zl = 37815, Jl = 37816, Ql = 37817, ec = 37818, tc = 37819, nc = 37820, ic = 37821, uo = 36492, rc = 36494, sc = 36495, fm = 36283, oc = 36284, ac = 36285, lc = 36286, fh = 3e3, li = 3001, dm = 3200, pm = 3201, dh = 0, mm = 1, ci = "", it = "srgb", gn = "srgb-linear", Vs = "display-p3", ho = 7680, gm = 519, _m = 512, vm = 513, xm = 514, ym = 515, Sm = 516, Mm = 517, Em = 518, bm = 519, sa = 35044, cc = "300 es", oa = 1035, Rn = 2e3, Ds = 2001;
2506
+ const Aa = "156", zn = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, _i = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, Cp = 0, Ll = 1, Rp = 2, nh = 1, Pp = 2, An = 3, jn = 0, Ot = 1, Cn = 2, Wn = 0, Hi = 1, Dl = 2, Il = 3, Ul = 4, Lp = 5, Ni = 100, Dp = 101, Ip = 102, Nl = 103, Ol = 104, Up = 200, Np = 201, Op = 202, Fp = 203, ih = 204, rh = 205, Bp = 206, zp = 207, Hp = 208, kp = 209, Gp = 210, Vp = 0, Wp = 1, Xp = 2, ea = 3, $p = 4, qp = 5, jp = 6, Yp = 7, Ca = 0, Kp = 1, Zp = 2, Xn = 0, Jp = 1, Qp = 2, em = 3, tm = 4, nm = 5, sh = 300, Vi = 301, Wi = 302, ta = 303, na = 304, Gs = 306, ia = 1e3, nn = 1001, ra = 1002, Dt = 1003, Fl = 1004, so = 1005, $t = 1006, im = 1007, yr = 1008, $n = 1009, rm = 1010, sm = 1011, Ra = 1012, oh = 1013, kn = 1014, Gn = 1015, Sr = 1016, ah = 1017, lh = 1018, oi = 1020, om = 1021, rn = 1023, am = 1024, lm = 1025, ai = 1026, Xi = 1027, cm = 1028, ch = 1029, um = 1030, uh = 1031, hh = 1033, oo = 33776, ao = 33777, lo = 33778, co = 33779, Bl = 35840, zl = 35841, Hl = 35842, kl = 35843, hm = 36196, Gl = 37492, Vl = 37496, Wl = 37808, Xl = 37809, $l = 37810, ql = 37811, jl = 37812, Yl = 37813, Kl = 37814, Zl = 37815, Jl = 37816, Ql = 37817, ec = 37818, tc = 37819, nc = 37820, ic = 37821, uo = 36492, rc = 36494, sc = 36495, fm = 36283, oc = 36284, ac = 36285, lc = 36286, fh = 3e3, li = 3001, dm = 3200, pm = 3201, dh = 0, mm = 1, ci = "", nt = "srgb", gn = "srgb-linear", Vs = "display-p3", ho = 7680, gm = 519, _m = 512, vm = 513, xm = 514, ym = 515, Sm = 516, Mm = 517, Em = 518, bm = 519, sa = 35044, cc = "300 es", oa = 1035, Rn = 2e3, Ds = 2001;
2507
2507
  class gi {
2508
2508
  addEventListener(e, t) {
2509
2509
  this._listeners === void 0 && (this._listeners = {});
@@ -3125,11 +3125,11 @@ function Vm(n) {
3125
3125
  }
3126
3126
  const Wm = {
3127
3127
  [gn]: (n) => n,
3128
- [it]: (n) => n.convertSRGBToLinear(),
3128
+ [nt]: (n) => n.convertSRGBToLinear(),
3129
3129
  [Vs]: Gm
3130
3130
  }, Xm = {
3131
3131
  [gn]: (n) => n,
3132
- [it]: (n) => n.convertLinearToSRGB(),
3132
+ [nt]: (n) => n.convertLinearToSRGB(),
3133
3133
  [Vs]: Vm
3134
3134
  }, Zt = {
3135
3135
  enabled: !0,
@@ -3238,7 +3238,7 @@ function mo(n) {
3238
3238
  let qm = 0;
3239
3239
  class It extends gi {
3240
3240
  constructor(e = It.DEFAULT_IMAGE, t = It.DEFAULT_MAPPING, i = nn, r = nn, s = $t, o = yr, a = rn, l = $n, c = It.DEFAULT_ANISOTROPY, u = ci) {
3241
- super(), this.isTexture = !0, Object.defineProperty(this, "id", { value: qm++ }), this.uuid = mn(), this.name = "", this.source = new _h(e), this.mipmaps = [], this.mapping = t, this.channel = 0, this.wrapS = i, this.wrapT = r, this.magFilter = s, this.minFilter = o, this.anisotropy = c, this.format = a, this.internalFormat = null, this.type = l, this.offset = new ue(0, 0), this.repeat = new ue(1, 1), this.center = new ue(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Be(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, typeof u == "string" ? this.colorSpace = u : (pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace = u === li ? it : ci), this.userData = {}, this.version = 0, this.onUpdate = null, this.isRenderTargetTexture = !1, this.needsPMREMUpdate = !1;
3241
+ super(), this.isTexture = !0, Object.defineProperty(this, "id", { value: qm++ }), this.uuid = mn(), this.name = "", this.source = new _h(e), this.mipmaps = [], this.mapping = t, this.channel = 0, this.wrapS = i, this.wrapT = r, this.magFilter = s, this.minFilter = o, this.anisotropy = c, this.format = a, this.internalFormat = null, this.type = l, this.offset = new ue(0, 0), this.repeat = new ue(1, 1), this.center = new ue(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new Be(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, typeof u == "string" ? this.colorSpace = u : (pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace = u === li ? nt : ci), this.userData = {}, this.version = 0, this.onUpdate = null, this.isRenderTargetTexture = !1, this.needsPMREMUpdate = !1;
3242
3242
  }
3243
3243
  get image() {
3244
3244
  return this.source.data;
@@ -3325,10 +3325,10 @@ class It extends gi {
3325
3325
  e === !0 && (this.version++, this.source.needsUpdate = !0);
3326
3326
  }
3327
3327
  get encoding() {
3328
- return pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace === it ? li : fh;
3328
+ return pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace === nt ? li : fh;
3329
3329
  }
3330
3330
  set encoding(e) {
3331
- pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace = e === li ? it : ci;
3331
+ pr("THREE.Texture: Property .encoding has been replaced by .colorSpace."), this.colorSpace = e === li ? nt : ci;
3332
3332
  }
3333
3333
  }
3334
3334
  It.DEFAULT_IMAGE = null;
@@ -3537,7 +3537,7 @@ class jm extends gi {
3537
3537
  constructor(e = 1, t = 1, i = {}) {
3538
3538
  super(), this.isRenderTarget = !0, this.width = e, this.height = t, this.depth = 1, this.scissor = new Ke(0, 0, e, t), this.scissorTest = !1, this.viewport = new Ke(0, 0, e, t);
3539
3539
  const r = { width: e, height: t, depth: 1 };
3540
- i.encoding !== void 0 && (pr("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."), i.colorSpace = i.encoding === li ? it : ci), this.texture = new It(r, i.mapping, i.wrapS, i.wrapT, i.magFilter, i.minFilter, i.format, i.type, i.anisotropy, i.colorSpace), this.texture.isRenderTargetTexture = !0, this.texture.flipY = !1, this.texture.generateMipmaps = i.generateMipmaps !== void 0 ? i.generateMipmaps : !1, this.texture.internalFormat = i.internalFormat !== void 0 ? i.internalFormat : null, this.texture.minFilter = i.minFilter !== void 0 ? i.minFilter : $t, this.depthBuffer = i.depthBuffer !== void 0 ? i.depthBuffer : !0, this.stencilBuffer = i.stencilBuffer !== void 0 ? i.stencilBuffer : !1, this.depthTexture = i.depthTexture !== void 0 ? i.depthTexture : null, this.samples = i.samples !== void 0 ? i.samples : 0;
3540
+ i.encoding !== void 0 && (pr("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."), i.colorSpace = i.encoding === li ? nt : ci), this.texture = new It(r, i.mapping, i.wrapS, i.wrapT, i.magFilter, i.minFilter, i.format, i.type, i.anisotropy, i.colorSpace), this.texture.isRenderTargetTexture = !0, this.texture.flipY = !1, this.texture.generateMipmaps = i.generateMipmaps !== void 0 ? i.generateMipmaps : !1, this.texture.internalFormat = i.internalFormat !== void 0 ? i.internalFormat : null, this.texture.minFilter = i.minFilter !== void 0 ? i.minFilter : $t, this.depthBuffer = i.depthBuffer !== void 0 ? i.depthBuffer : !0, this.stencilBuffer = i.stencilBuffer !== void 0 ? i.stencilBuffer : !1, this.depthTexture = i.depthTexture !== void 0 ? i.depthTexture : null, this.samples = i.samples !== void 0 ? i.samples : 0;
3541
3541
  }
3542
3542
  setSize(e, t, i = 1) {
3543
3543
  (this.width !== e || this.height !== t || this.depth !== i) && (this.width = e, this.height = t, this.depth = i, this.texture.image.width = e, this.texture.image.height = t, this.texture.image.depth = i, this.dispose()), this.viewport.set(0, 0, e, t), this.scissor.set(0, 0, e, t);
@@ -4423,9 +4423,9 @@ class La {
4423
4423
  return new this.constructor().copy(this);
4424
4424
  }
4425
4425
  }
4426
- class rt {
4426
+ class it {
4427
4427
  constructor(e, t, i, r, s, o, a, l, c, u, h, f, d, g, _, m) {
4428
- rt.prototype.isMatrix4 = !0, this.elements = [
4428
+ it.prototype.isMatrix4 = !0, this.elements = [
4429
4429
  1,
4430
4430
  0,
4431
4431
  0,
@@ -4469,7 +4469,7 @@ class rt {
4469
4469
  ), this;
4470
4470
  }
4471
4471
  clone() {
4472
- return new rt().fromArray(this.elements);
4472
+ return new it().fromArray(this.elements);
4473
4473
  }
4474
4474
  copy(e) {
4475
4475
  const t = this.elements, i = e.elements;
@@ -4811,7 +4811,7 @@ class rt {
4811
4811
  return e[t] = i[0], e[t + 1] = i[1], e[t + 2] = i[2], e[t + 3] = i[3], e[t + 4] = i[4], e[t + 5] = i[5], e[t + 6] = i[6], e[t + 7] = i[7], e[t + 8] = i[8], e[t + 9] = i[9], e[t + 10] = i[10], e[t + 11] = i[11], e[t + 12] = i[12], e[t + 13] = i[13], e[t + 14] = i[14], e[t + 15] = i[15], e;
4812
4812
  }
4813
4813
  }
4814
- const Ei = /* @__PURE__ */ new D(), Jt = /* @__PURE__ */ new rt(), Zm = /* @__PURE__ */ new D(0, 0, 0), Jm = /* @__PURE__ */ new D(1, 1, 1), On = /* @__PURE__ */ new D(), Xr = /* @__PURE__ */ new D(), Ht = /* @__PURE__ */ new D(), dc = /* @__PURE__ */ new rt(), pc = /* @__PURE__ */ new pi();
4814
+ const Ei = /* @__PURE__ */ new D(), Jt = /* @__PURE__ */ new it(), Zm = /* @__PURE__ */ new D(0, 0, 0), Jm = /* @__PURE__ */ new D(1, 1, 1), On = /* @__PURE__ */ new D(), Xr = /* @__PURE__ */ new D(), Ht = /* @__PURE__ */ new D(), dc = /* @__PURE__ */ new it(), pc = /* @__PURE__ */ new pi();
4815
4815
  class Ws {
4816
4816
  constructor(e = 0, t = 0, i = 0, r = Ws.DEFAULT_ORDER) {
4817
4817
  this.isEuler = !0, this._x = e, this._y = t, this._z = i, this._order = r;
@@ -4933,7 +4933,7 @@ class Da {
4933
4933
  }
4934
4934
  }
4935
4935
  let Qm = 0;
4936
- const mc = /* @__PURE__ */ new D(), bi = /* @__PURE__ */ new pi(), bn = /* @__PURE__ */ new rt(), $r = /* @__PURE__ */ new D(), ir = /* @__PURE__ */ new D(), eg = /* @__PURE__ */ new D(), tg = /* @__PURE__ */ new pi(), gc = /* @__PURE__ */ new D(1, 0, 0), _c = /* @__PURE__ */ new D(0, 1, 0), vc = /* @__PURE__ */ new D(0, 0, 1), ng = { type: "added" }, ig = { type: "removed" };
4936
+ const mc = /* @__PURE__ */ new D(), bi = /* @__PURE__ */ new pi(), bn = /* @__PURE__ */ new it(), $r = /* @__PURE__ */ new D(), ir = /* @__PURE__ */ new D(), eg = /* @__PURE__ */ new D(), tg = /* @__PURE__ */ new pi(), gc = /* @__PURE__ */ new D(1, 0, 0), _c = /* @__PURE__ */ new D(0, 1, 0), vc = /* @__PURE__ */ new D(0, 0, 1), ng = { type: "added" }, ig = { type: "removed" };
4937
4937
  class at extends gi {
4938
4938
  constructor() {
4939
4939
  super(), this.isObject3D = !0, Object.defineProperty(this, "id", { value: Qm++ }), this.uuid = mn(), this.name = "", this.type = "Object3D", this.parent = null, this.children = [], this.up = at.DEFAULT_UP.clone();
@@ -4966,12 +4966,12 @@ class at extends gi {
4966
4966
  value: r
4967
4967
  },
4968
4968
  modelViewMatrix: {
4969
- value: new rt()
4969
+ value: new it()
4970
4970
  },
4971
4971
  normalMatrix: {
4972
4972
  value: new Be()
4973
4973
  }
4974
- }), this.matrix = new rt(), this.matrixWorld = new rt(), this.matrixAutoUpdate = at.DEFAULT_MATRIX_AUTO_UPDATE, this.matrixWorldNeedsUpdate = !1, this.matrixWorldAutoUpdate = at.DEFAULT_MATRIX_WORLD_AUTO_UPDATE, this.layers = new Da(), this.visible = !0, this.castShadow = !1, this.receiveShadow = !1, this.frustumCulled = !0, this.renderOrder = 0, this.animations = [], this.userData = {};
4974
+ }), this.matrix = new it(), this.matrixWorld = new it(), this.matrixAutoUpdate = at.DEFAULT_MATRIX_AUTO_UPDATE, this.matrixWorldNeedsUpdate = !1, this.matrixWorldAutoUpdate = at.DEFAULT_MATRIX_WORLD_AUTO_UPDATE, this.layers = new Da(), this.visible = !0, this.castShadow = !1, this.receiveShadow = !1, this.frustumCulled = !0, this.renderOrder = 0, this.animations = [], this.userData = {};
4975
4975
  }
4976
4976
  onBeforeRender() {
4977
4977
  }
@@ -5588,7 +5588,7 @@ class je {
5588
5588
  setScalar(e) {
5589
5589
  return this.r = e, this.g = e, this.b = e, this;
5590
5590
  }
5591
- setHex(e, t = it) {
5591
+ setHex(e, t = nt) {
5592
5592
  return e = Math.floor(e), this.r = (e >> 16 & 255) / 255, this.g = (e >> 8 & 255) / 255, this.b = (e & 255) / 255, Zt.toWorkingColorSpace(this, t), this;
5593
5593
  }
5594
5594
  setRGB(e, t, i, r = Zt.workingColorSpace) {
@@ -5603,7 +5603,7 @@ class je {
5603
5603
  }
5604
5604
  return Zt.toWorkingColorSpace(this, r), this;
5605
5605
  }
5606
- setStyle(e, t = it) {
5606
+ setStyle(e, t = nt) {
5607
5607
  function i(s) {
5608
5608
  s !== void 0 && parseFloat(s) < 1 && console.warn("THREE.Color: Alpha component of " + e + " will be ignored.");
5609
5609
  }
@@ -5658,7 +5658,7 @@ class je {
5658
5658
  return this.setColorName(e, t);
5659
5659
  return this;
5660
5660
  }
5661
- setColorName(e, t = it) {
5661
+ setColorName(e, t = nt) {
5662
5662
  const i = xh[e.toLowerCase()];
5663
5663
  return i !== void 0 ? this.setHex(i, t) : console.warn("THREE.Color: Unknown color " + e), this;
5664
5664
  }
@@ -5680,10 +5680,10 @@ class je {
5680
5680
  convertLinearToSRGB() {
5681
5681
  return this.copyLinearToSRGB(this), this;
5682
5682
  }
5683
- getHex(e = it) {
5683
+ getHex(e = nt) {
5684
5684
  return Zt.fromWorkingColorSpace(At.copy(this), e), Math.round(vt(At.r * 255, 0, 255)) * 65536 + Math.round(vt(At.g * 255, 0, 255)) * 256 + Math.round(vt(At.b * 255, 0, 255));
5685
5685
  }
5686
- getHexString(e = it) {
5686
+ getHexString(e = nt) {
5687
5687
  return ("000000" + this.getHex(e).toString(16)).slice(-6);
5688
5688
  }
5689
5689
  getHSL(e, t = Zt.workingColorSpace) {
@@ -5713,10 +5713,10 @@ class je {
5713
5713
  getRGB(e, t = Zt.workingColorSpace) {
5714
5714
  return Zt.fromWorkingColorSpace(At.copy(this), t), e.r = At.r, e.g = At.g, e.b = At.b, e;
5715
5715
  }
5716
- getStyle(e = it) {
5716
+ getStyle(e = nt) {
5717
5717
  Zt.fromWorkingColorSpace(At.copy(this), e);
5718
5718
  const t = At.r, i = At.g, r = At.b;
5719
- return e !== it ? `color(${e} ${t.toFixed(3)} ${i.toFixed(3)} ${r.toFixed(3)})` : `rgb(${Math.round(t * 255)},${Math.round(i * 255)},${Math.round(r * 255)})`;
5719
+ return e !== nt ? `color(${e} ${t.toFixed(3)} ${i.toFixed(3)} ${r.toFixed(3)})` : `rgb(${Math.round(t * 255)},${Math.round(i * 255)},${Math.round(r * 255)})`;
5720
5720
  }
5721
5721
  offsetHSL(e, t, i) {
5722
5722
  return this.getHSL(en), en.h += e, en.s += t, en.l += i, this.setHSL(en.h, en.s, en.l), this;
@@ -5916,7 +5916,7 @@ class jt extends an {
5916
5916
  }
5917
5917
  }
5918
5918
  let sg = 0;
5919
- const Xt = /* @__PURE__ */ new rt(), Ao = /* @__PURE__ */ new at(), Ai = /* @__PURE__ */ new D(), kt = /* @__PURE__ */ new Kn(), rr = /* @__PURE__ */ new Kn(), St = /* @__PURE__ */ new D();
5919
+ const Xt = /* @__PURE__ */ new it(), Ao = /* @__PURE__ */ new at(), Ai = /* @__PURE__ */ new D(), kt = /* @__PURE__ */ new Kn(), rr = /* @__PURE__ */ new Kn(), St = /* @__PURE__ */ new D();
5920
5920
  class _n extends gi {
5921
5921
  constructor() {
5922
5922
  super(), this.isBufferGeometry = !0, Object.defineProperty(this, "id", { value: sg++ }), this.uuid = mn(), 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 = {};
@@ -6228,7 +6228,7 @@ class _n extends gi {
6228
6228
  this.dispatchEvent({ type: "dispose" });
6229
6229
  }
6230
6230
  }
6231
- const yc = /* @__PURE__ */ new rt(), ti = /* @__PURE__ */ new La(), Kr = /* @__PURE__ */ new Dr(), Sc = /* @__PURE__ */ new D(), Ci = /* @__PURE__ */ new D(), Ri = /* @__PURE__ */ new D(), Pi = /* @__PURE__ */ new D(), Co = /* @__PURE__ */ new D(), Zr = /* @__PURE__ */ new D(), Jr = /* @__PURE__ */ new ue(), Qr = /* @__PURE__ */ new ue(), es = /* @__PURE__ */ new ue(), Mc = /* @__PURE__ */ new D(), Ec = /* @__PURE__ */ new D(), bc = /* @__PURE__ */ new D(), ts = /* @__PURE__ */ new D(), ns = /* @__PURE__ */ new D();
6231
+ const yc = /* @__PURE__ */ new it(), ti = /* @__PURE__ */ new La(), Kr = /* @__PURE__ */ new Dr(), Sc = /* @__PURE__ */ new D(), Ci = /* @__PURE__ */ new D(), Ri = /* @__PURE__ */ new D(), Pi = /* @__PURE__ */ new D(), Co = /* @__PURE__ */ new D(), Zr = /* @__PURE__ */ new D(), Jr = /* @__PURE__ */ new ue(), Qr = /* @__PURE__ */ new ue(), es = /* @__PURE__ */ new ue(), Mc = /* @__PURE__ */ new D(), Ec = /* @__PURE__ */ new D(), bc = /* @__PURE__ */ new D(), ts = /* @__PURE__ */ new D(), ns = /* @__PURE__ */ new D();
6232
6232
  class pn extends at {
6233
6233
  constructor(e = new _n(), t = new Ia()) {
6234
6234
  super(), this.isMesh = !0, this.type = "Mesh", this.geometry = e, this.material = t, this.updateMorphTargets();
@@ -6467,7 +6467,7 @@ class Yn extends Zi {
6467
6467
  }
6468
6468
  class Eh extends at {
6469
6469
  constructor() {
6470
- super(), this.isCamera = !0, this.type = "Camera", this.matrixWorldInverse = new rt(), this.projectionMatrix = new rt(), this.projectionMatrixInverse = new rt(), this.coordinateSystem = Rn;
6470
+ super(), this.isCamera = !0, this.type = "Camera", this.matrixWorldInverse = new it(), this.projectionMatrix = new it(), this.projectionMatrixInverse = new it(), this.coordinateSystem = Rn;
6471
6471
  }
6472
6472
  copy(e, t) {
6473
6473
  return super.copy(e, t), this.matrixWorldInverse.copy(e.matrixWorldInverse), this.projectionMatrix.copy(e.projectionMatrix), this.projectionMatrixInverse.copy(e.projectionMatrixInverse), this.coordinateSystem = e.coordinateSystem, this;
@@ -6644,7 +6644,7 @@ class hg extends di {
6644
6644
  constructor(e = 1, t = {}) {
6645
6645
  super(e, e, t), this.isWebGLCubeRenderTarget = !0;
6646
6646
  const i = { width: e, height: e, depth: 1 }, r = [i, i, i, i, i, i];
6647
- t.encoding !== void 0 && (pr("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."), t.colorSpace = t.encoding === li ? it : ci), this.texture = new bh(r, t.mapping, t.wrapS, t.wrapT, t.magFilter, t.minFilter, t.format, t.type, t.anisotropy, t.colorSpace), this.texture.isRenderTargetTexture = !0, this.texture.generateMipmaps = t.generateMipmaps !== void 0 ? t.generateMipmaps : !1, this.texture.minFilter = t.minFilter !== void 0 ? t.minFilter : $t;
6647
+ t.encoding !== void 0 && (pr("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."), t.colorSpace = t.encoding === li ? nt : ci), this.texture = new bh(r, t.mapping, t.wrapS, t.wrapT, t.magFilter, t.minFilter, t.format, t.type, t.anisotropy, t.colorSpace), this.texture.isRenderTargetTexture = !0, this.texture.generateMipmaps = t.generateMipmaps !== void 0 ? t.generateMipmaps : !1, this.texture.minFilter = t.minFilter !== void 0 ? t.minFilter : $t;
6648
6648
  }
6649
6649
  fromEquirectangularTexture(e, t) {
6650
6650
  this.texture.type = t.type, this.texture.colorSpace = t.colorSpace, this.texture.generateMipmaps = t.generateMipmaps, this.texture.minFilter = t.minFilter, this.texture.magFilter = t.magFilter;
@@ -10889,7 +10889,7 @@ function $v(n, e, t, i, r, s, o) {
10889
10889
  get: function() {
10890
10890
  return this.uniforms.envMap.value;
10891
10891
  }
10892
- }), r.update(u)), u.material.uniforms.envMap.value = v, u.material.uniforms.flipEnvMap.value = v.isCubeTexture && v.isRenderTargetTexture === !1 ? -1 : 1, u.material.uniforms.backgroundBlurriness.value = p.backgroundBlurriness, u.material.uniforms.backgroundIntensity.value = p.backgroundIntensity, u.material.toneMapped = v.colorSpace !== it, (h !== v || f !== v.version || d !== n.toneMapping) && (u.material.needsUpdate = !0, h = v, f = v.version, d = n.toneMapping), u.layers.enableAll(), m.unshift(u, u.geometry, u.material, 0, 0, null)) : v && v.isTexture && (c === void 0 && (c = new pn(
10892
+ }), r.update(u)), u.material.uniforms.envMap.value = v, u.material.uniforms.flipEnvMap.value = v.isCubeTexture && v.isRenderTargetTexture === !1 ? -1 : 1, u.material.uniforms.backgroundBlurriness.value = p.backgroundBlurriness, u.material.uniforms.backgroundIntensity.value = p.backgroundIntensity, u.material.toneMapped = v.colorSpace !== nt, (h !== v || f !== v.version || d !== n.toneMapping) && (u.material.needsUpdate = !0, h = v, f = v.version, d = n.toneMapping), u.layers.enableAll(), m.unshift(u, u.geometry, u.material, 0, 0, null)) : v && v.isTexture && (c === void 0 && (c = new pn(
10893
10893
  new Oa(2, 2),
10894
10894
  new Yn({
10895
10895
  name: "BackgroundMaterial",
@@ -10905,7 +10905,7 @@ function $v(n, e, t, i, r, s, o) {
10905
10905
  get: function() {
10906
10906
  return this.uniforms.t2D.value;
10907
10907
  }
10908
- }), r.update(c)), c.material.uniforms.t2D.value = v, c.material.uniforms.backgroundIntensity.value = p.backgroundIntensity, c.material.toneMapped = v.colorSpace !== it, v.matrixAutoUpdate === !0 && v.updateMatrix(), c.material.uniforms.uvTransform.value.copy(v.matrix), (h !== v || f !== v.version || d !== n.toneMapping) && (c.material.needsUpdate = !0, h = v, f = v.version, d = n.toneMapping), c.layers.enableAll(), m.unshift(c, c.geometry, c.material, 0, 0, null));
10908
+ }), r.update(c)), c.material.uniforms.t2D.value = v, c.material.uniforms.backgroundIntensity.value = p.backgroundIntensity, c.material.toneMapped = v.colorSpace !== nt, v.matrixAutoUpdate === !0 && v.updateMatrix(), c.material.uniforms.uvTransform.value.copy(v.matrix), (h !== v || f !== v.version || d !== n.toneMapping) && (c.material.needsUpdate = !0, h = v, f = v.version, d = n.toneMapping), c.layers.enableAll(), m.unshift(c, c.geometry, c.material, 0, 0, null));
10909
10909
  }
10910
10910
  function _(m, p) {
10911
10911
  m.getRGB(ss, Mh(n)), i.buffers.color.setClear(ss.r, ss.g, ss.b, p, o);
@@ -12591,7 +12591,7 @@ function nx(n) {
12591
12591
  switch (n) {
12592
12592
  case gn:
12593
12593
  return ["Linear", "( value )"];
12594
- case it:
12594
+ case nt:
12595
12595
  return ["sRGB", "( value )"];
12596
12596
  default:
12597
12597
  return console.warn("THREE.WebGLProgram: Unsupported color space:", n), ["Linear", "( value )"];
@@ -13278,7 +13278,7 @@ function Mx(n, e, t, i, r, s, o) {
13278
13278
  shadowMapType: n.shadowMap.type,
13279
13279
  toneMapping: Je,
13280
13280
  useLegacyLights: n._useLegacyLights,
13281
- decodeVideoTexture: Ve && x.map.isVideoTexture === !0 && x.map.colorSpace === it,
13281
+ decodeVideoTexture: Ve && x.map.isVideoTexture === !0 && x.map.colorSpace === nt,
13282
13282
  premultipliedAlpha: x.premultipliedAlpha,
13283
13283
  doubleSided: x.side === Cn,
13284
13284
  flipSided: x.side === Ot,
@@ -13579,7 +13579,7 @@ function Px(n, e) {
13579
13579
  };
13580
13580
  for (let u = 0; u < 9; u++)
13581
13581
  r.probe.push(new D());
13582
- const s = new D(), o = new rt(), a = new rt();
13582
+ const s = new D(), o = new it(), a = new it();
13583
13583
  function l(u, h) {
13584
13584
  let f = 0, d = 0, g = 0;
13585
13585
  for (let F = 0; F < 9; F++)
@@ -14284,7 +14284,7 @@ function Bx(n, e, t, i, r, s, o) {
14284
14284
  console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '" + A + "'");
14285
14285
  }
14286
14286
  let le = y;
14287
- return y === n.RED && (W === n.FLOAT && (le = n.R32F), W === n.HALF_FLOAT && (le = n.R16F), W === n.UNSIGNED_BYTE && (le = n.R8)), y === n.RED_INTEGER && (W === n.UNSIGNED_BYTE && (le = n.R8UI), W === n.UNSIGNED_SHORT && (le = n.R16UI), W === n.UNSIGNED_INT && (le = n.R32UI), W === n.BYTE && (le = n.R8I), W === n.SHORT && (le = n.R16I), W === n.INT && (le = n.R32I)), y === n.RG && (W === n.FLOAT && (le = n.RG32F), W === n.HALF_FLOAT && (le = n.RG16F), W === n.UNSIGNED_BYTE && (le = n.RG8)), y === n.RGBA && (W === n.FLOAT && (le = n.RGBA32F), W === n.HALF_FLOAT && (le = n.RGBA16F), W === n.UNSIGNED_BYTE && (le = se === it && ie === !1 ? n.SRGB8_ALPHA8 : n.RGBA8), W === n.UNSIGNED_SHORT_4_4_4_4 && (le = n.RGBA4), W === n.UNSIGNED_SHORT_5_5_5_1 && (le = n.RGB5_A1)), (le === n.R16F || le === n.R32F || le === n.RG16F || le === n.RG32F || le === n.RGBA16F || le === n.RGBA32F) && e.get("EXT_color_buffer_float"), le;
14287
+ return y === n.RED && (W === n.FLOAT && (le = n.R32F), W === n.HALF_FLOAT && (le = n.R16F), W === n.UNSIGNED_BYTE && (le = n.R8)), y === n.RED_INTEGER && (W === n.UNSIGNED_BYTE && (le = n.R8UI), W === n.UNSIGNED_SHORT && (le = n.R16UI), W === n.UNSIGNED_INT && (le = n.R32UI), W === n.BYTE && (le = n.R8I), W === n.SHORT && (le = n.R16I), W === n.INT && (le = n.R32I)), y === n.RG && (W === n.FLOAT && (le = n.RG32F), W === n.HALF_FLOAT && (le = n.RG16F), W === n.UNSIGNED_BYTE && (le = n.RG8)), y === n.RGBA && (W === n.FLOAT && (le = n.RGBA32F), W === n.HALF_FLOAT && (le = n.RGBA16F), W === n.UNSIGNED_BYTE && (le = se === nt && ie === !1 ? n.SRGB8_ALPHA8 : n.RGBA8), W === n.UNSIGNED_SHORT_4_4_4_4 && (le = n.RGBA4), W === n.UNSIGNED_SHORT_5_5_5_1 && (le = n.RGB5_A1)), (le === n.R16F || le === n.R32F || le === n.RG16F || le === n.RG32F || le === n.RGBA16F || le === n.RGBA32F) && e.get("EXT_color_buffer_float"), le;
14288
14288
  }
14289
14289
  function x(A, y, W) {
14290
14290
  return R(A, W) === !0 || A.isFramebufferTexture && A.minFilter !== Dt && A.minFilter !== $t ? Math.log2(Math.max(y.width, y.height)) + 1 : A.mipmaps !== void 0 && A.mipmaps.length > 0 ? A.mipmaps.length : A.isCompressedTexture && Array.isArray(A.image) ? y.mipmaps.length : 1;
@@ -14729,7 +14729,7 @@ function Bx(n, e, t, i, r, s, o) {
14729
14729
  }
14730
14730
  function tt(A, y) {
14731
14731
  const W = A.colorSpace, se = A.format, ie = A.type;
14732
- return A.isCompressedTexture === !0 || A.isVideoTexture === !0 || A.format === oa || W !== gn && W !== ci && (W === it || W === Vs ? a === !1 ? e.has("EXT_sRGB") === !0 && se === rn ? (A.format = oa, A.minFilter = $t, A.generateMipmaps = !1) : y = gh.sRGBToLinear(y) : (se !== rn || ie !== $n) && console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.") : console.error("THREE.WebGLTextures: Unsupported texture color space:", W)), y;
14732
+ return A.isCompressedTexture === !0 || A.isVideoTexture === !0 || A.format === oa || W !== gn && W !== ci && (W === nt || W === Vs ? a === !1 ? e.has("EXT_sRGB") === !0 && se === rn ? (A.format = oa, A.minFilter = $t, A.generateMipmaps = !1) : y = gh.sRGBToLinear(y) : (se !== rn || ie !== $n) && console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.") : console.error("THREE.WebGLTextures: Unsupported texture color space:", W)), y;
14733
14733
  }
14734
14734
  this.allocateTextureUnit = V, this.resetTextureUnits = H, this.setTexture2D = Q, this.setTexture2DArray = B, this.setTexture3D = q, this.setTextureCube = oe, this.rebindTextures = ae, this.setupRenderTarget = ne, this.updateRenderTargetMipmap = be, this.updateMultisampleRenderTarget = ye, this.setupDepthRenderbuffer = J, this.setupFrameBufferTexture = Ce, this.useMultisampledRTT = Pe;
14735
14735
  }
@@ -14738,7 +14738,7 @@ function Hx(n, e, t) {
14738
14738
  const i = t.isWebGL2;
14739
14739
  function r(s, o = ci) {
14740
14740
  let a;
14741
- const l = o === it || o === Vs ? _t : zx;
14741
+ const l = o === nt || o === Vs ? _t : zx;
14742
14742
  if (s === $n)
14743
14743
  return n.UNSIGNED_BYTE;
14744
14744
  if (s === ah)
@@ -15384,7 +15384,7 @@ class Ph {
15384
15384
  * @type {?Function}
15385
15385
  */
15386
15386
  onShaderError: null
15387
- }, this.autoClear = !0, this.autoClearColor = !0, this.autoClearDepth = !0, this.autoClearStencil = !0, this.sortObjects = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.outputColorSpace = it, this._useLegacyLights = !1, this.toneMapping = Xn, this.toneMappingExposure = 1;
15387
+ }, this.autoClear = !0, this.autoClearColor = !0, this.autoClearDepth = !0, this.autoClearStencil = !0, this.sortObjects = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.outputColorSpace = nt, this._useLegacyLights = !1, this.toneMapping = Xn, this.toneMappingExposure = 1;
15388
15388
  const v = this;
15389
15389
  let M = !1, b = 0, R = 0, w = null, N = -1, x = null;
15390
15390
  const E = new Ke(), F = new Ke();
@@ -15395,7 +15395,7 @@ class Ph {
15395
15395
  let q = !1;
15396
15396
  const oe = new Na();
15397
15397
  let me = !1, ge = !1, Ae = null;
15398
- const we = new rt(), Te = new ue(), Ve = new D(), Ze = { background: null, fog: null, environment: null, overrideMaterial: null, isScene: !0 };
15398
+ const we = new it(), Te = new ue(), Ve = new D(), Ze = { background: null, fog: null, environment: null, overrideMaterial: null, isScene: !0 };
15399
15399
  function Ce() {
15400
15400
  return w === null ? H : 1;
15401
15401
  }
@@ -15497,8 +15497,8 @@ class Ph {
15497
15497
  Y = Me === hh || Me === uh || Me === ch;
15498
15498
  }
15499
15499
  if (Y) {
15500
- const Me = w.texture.type, Re = Me === $n || Me === kn || Me === Ra || Me === oi || Me === ah || Me === lh, Ie = X.getClearColor(), Ue = X.getClearAlpha(), ke = Ie.r, De = Ie.g, Oe = Ie.b;
15501
- Re ? (d[0] = ke, d[1] = De, d[2] = Oe, d[3] = Ue, P.clearBufferuiv(P.COLOR, 0, d)) : (g[0] = ke, g[1] = De, g[2] = Oe, g[3] = Ue, P.clearBufferiv(P.COLOR, 0, g));
15500
+ const Me = w.texture.type, Re = Me === $n || Me === kn || Me === Ra || Me === oi || Me === ah || Me === lh, Ie = X.getClearColor(), Ue = X.getClearAlpha(), ke = Ie.r, Le = Ie.g, Oe = Ie.b;
15501
+ Re ? (d[0] = ke, d[1] = Le, d[2] = Oe, d[3] = Ue, P.clearBufferuiv(P.COLOR, 0, d)) : (g[0] = ke, g[1] = Le, g[2] = Oe, g[3] = Ue, P.clearBufferiv(P.COLOR, 0, g));
15502
15502
  } else
15503
15503
  G |= P.COLOR_BUFFER_BIT;
15504
15504
  }
@@ -15546,8 +15546,8 @@ class Ph {
15546
15546
  return;
15547
15547
  ke = 2;
15548
15548
  }
15549
- const De = j.drawRange, Oe = j.attributes.position;
15550
- let ot = De.start * ke, ct = (De.start + De.count) * ke;
15549
+ const Le = j.drawRange, Oe = j.attributes.position;
15550
+ let ot = Le.start * ke, ct = (Le.start + Le.count) * ke;
15551
15551
  Me !== null && (ot = Math.max(ot, Me.start * ke), ct = Math.min(ct, (Me.start + Me.count) * ke)), Ue !== null ? (ot = Math.max(ot, 0), ct = Math.min(ct, Ue.count)) : Oe != null && (ot = Math.max(ot, 0), ct = Math.min(ct, Oe.count));
15552
15552
  const Wt = ct - ot;
15553
15553
  if (Wt < 0 || Wt === 1 / 0)
@@ -15638,7 +15638,7 @@ class Ph {
15638
15638
  const Re = y.update(T), Ie = T.material;
15639
15639
  if (G && (T.boundingSphere !== void 0 ? (T.boundingSphere === null && T.computeBoundingSphere(), Ve.copy(T.boundingSphere.center)) : (Re.boundingSphere === null && Re.computeBoundingSphere(), Ve.copy(Re.boundingSphere.center)), Ve.applyMatrix4(T.matrixWorld).applyMatrix4(we)), Array.isArray(Ie)) {
15640
15640
  const Ue = Re.groups;
15641
- for (let ke = 0, De = Ue.length; ke < De; ke++) {
15641
+ for (let ke = 0, Le = Ue.length; ke < Le; ke++) {
15642
15642
  const Oe = Ue[ke], ot = Ie[Oe.materialIndex];
15643
15643
  ot && ot.visible && _.push(T, Re, ot, j, Ve.z, Oe);
15644
15644
  }
@@ -15668,7 +15668,7 @@ class Ph {
15668
15668
  v.toneMapping = Xn, Or(T, j, G), Se.updateMultisampleRenderTarget(Ae), Se.updateRenderTargetMipmap(Ae);
15669
15669
  let Ie = !1;
15670
15670
  for (let Ue = 0, ke = k.length; Ue < ke; Ue++) {
15671
- const De = k[Ue], Oe = De.object, ot = De.geometry, ct = De.material, Wt = De.group;
15671
+ const Le = k[Ue], Oe = Le.object, ot = Le.geometry, ct = Le.material, Wt = Le.group;
15672
15672
  if (ct.side === Cn && Oe.layers.test(G.layers)) {
15673
15673
  const yn = ct.side;
15674
15674
  ct.side = Ot, ct.needsUpdate = !0, el(Oe, j, G, ot, ct, Wt), ct.side = yn, ct.needsUpdate = !0, Ie = !0;
@@ -15679,8 +15679,8 @@ class Ph {
15679
15679
  function Or(T, k, j) {
15680
15680
  const G = k.isScene === !0 ? k.overrideMaterial : null;
15681
15681
  for (let Y = 0, Me = T.length; Y < Me; Y++) {
15682
- const Re = T[Y], Ie = Re.object, Ue = Re.geometry, ke = G === null ? Re.material : G, De = Re.group;
15683
- Ie.layers.test(j.layers) && el(Ie, k, j, Ue, ke, De);
15682
+ const Re = T[Y], Ie = Re.object, Ue = Re.geometry, ke = G === null ? Re.material : G, Le = Re.group;
15683
+ Ie.layers.test(j.layers) && el(Ie, k, j, Ue, ke, Le);
15684
15684
  }
15685
15685
  }
15686
15686
  function el(T, k, j, G, Y, Me) {
@@ -15691,16 +15691,16 @@ class Ph {
15691
15691
  const G = ye.get(T), Y = m.state.lights, Me = m.state.shadowsArray, Re = Y.state.version, Ie = W.getParameters(T, Y.state, Me, k, j), Ue = W.getProgramCacheKey(Ie);
15692
15692
  let ke = G.programs;
15693
15693
  G.environment = T.isMeshStandardMaterial ? k.environment : null, G.fog = k.fog, G.envMap = (T.isMeshStandardMaterial ? ze : Pe).get(T.envMap || G.environment), ke === void 0 && (T.addEventListener("dispose", fe), ke = /* @__PURE__ */ new Map(), G.programs = ke);
15694
- let De = ke.get(Ue);
15695
- if (De !== void 0) {
15696
- if (G.currentProgram === De && G.lightsStateVersion === Re)
15697
- return tl(T, Ie), De;
15694
+ let Le = ke.get(Ue);
15695
+ if (Le !== void 0) {
15696
+ if (G.currentProgram === Le && G.lightsStateVersion === Re)
15697
+ return tl(T, Ie), Le;
15698
15698
  } else
15699
- Ie.uniforms = W.getUniforms(T), T.onBuild(j, Ie, v), T.onBeforeCompile(Ie, v), De = W.acquireProgram(Ie, Ue), ke.set(Ue, De), G.uniforms = Ie.uniforms;
15699
+ Ie.uniforms = W.getUniforms(T), T.onBuild(j, Ie, v), T.onBeforeCompile(Ie, v), Le = W.acquireProgram(Ie, Ue), ke.set(Ue, Le), G.uniforms = Ie.uniforms;
15700
15700
  const Oe = G.uniforms;
15701
15701
  (!T.isShaderMaterial && !T.isRawShaderMaterial || T.clipping === !0) && (Oe.clippingPlanes = Ee.uniform), tl(T, Ie), G.needsLights = xf(T), G.lightsStateVersion = Re, G.needsLights && (Oe.ambientLightColor.value = Y.state.ambient, Oe.lightProbe.value = Y.state.probe, Oe.directionalLights.value = Y.state.directional, Oe.directionalLightShadows.value = Y.state.directionalShadow, Oe.spotLights.value = Y.state.spot, Oe.spotLightShadows.value = Y.state.spotShadow, Oe.rectAreaLights.value = Y.state.rectArea, Oe.ltc_1.value = Y.state.rectAreaLTC1, Oe.ltc_2.value = Y.state.rectAreaLTC2, Oe.pointLights.value = Y.state.point, Oe.pointLightShadows.value = Y.state.pointShadow, Oe.hemisphereLights.value = Y.state.hemi, Oe.directionalShadowMap.value = Y.state.directionalShadowMap, Oe.directionalShadowMatrix.value = Y.state.directionalShadowMatrix, Oe.spotShadowMap.value = Y.state.spotShadowMap, Oe.spotLightMatrix.value = Y.state.spotLightMatrix, Oe.spotLightMap.value = Y.state.spotLightMap, Oe.pointShadowMap.value = Y.state.pointShadowMap, Oe.pointShadowMatrix.value = Y.state.pointShadowMatrix);
15702
- const ot = De.getUniforms(), ct = Ss.seqWithValue(ot.seq, Oe);
15703
- return G.currentProgram = De, G.uniformsList = ct, De;
15702
+ const ot = Le.getUniforms(), ct = Ss.seqWithValue(ot.seq, Oe);
15703
+ return G.currentProgram = Le, G.uniformsList = ct, Le;
15704
15704
  }
15705
15705
  function tl(T, k) {
15706
15706
  const j = ye.get(T);
@@ -15708,7 +15708,7 @@ class Ph {
15708
15708
  }
15709
15709
  function _f(T, k, j, G, Y) {
15710
15710
  k.isScene !== !0 && (k = Ze), Se.resetTextureUnits();
15711
- const Me = k.fog, Re = G.isMeshStandardMaterial ? k.environment : null, Ie = w === null ? v.outputColorSpace : w.isXRRenderTarget === !0 ? w.texture.colorSpace : gn, Ue = (G.isMeshStandardMaterial ? ze : Pe).get(G.envMap || Re), ke = G.vertexColors === !0 && !!j.attributes.color && j.attributes.color.itemSize === 4, De = !!j.attributes.tangent && (!!G.normalMap || G.anisotropy > 0), Oe = !!j.morphAttributes.position, ot = !!j.morphAttributes.normal, ct = !!j.morphAttributes.color;
15711
+ const Me = k.fog, Re = G.isMeshStandardMaterial ? k.environment : null, Ie = w === null ? v.outputColorSpace : w.isXRRenderTarget === !0 ? w.texture.colorSpace : gn, Ue = (G.isMeshStandardMaterial ? ze : Pe).get(G.envMap || Re), ke = G.vertexColors === !0 && !!j.attributes.color && j.attributes.color.itemSize === 4, Le = !!j.attributes.tangent && (!!G.normalMap || G.anisotropy > 0), Oe = !!j.morphAttributes.position, ot = !!j.morphAttributes.normal, ct = !!j.morphAttributes.color;
15712
15712
  let Wt = Xn;
15713
15713
  G.toneMapped && (w === null || w.isXRRenderTarget === !0) && (Wt = v.toneMapping);
15714
15714
  const yn = j.morphAttributes.position || j.morphAttributes.normal || j.morphAttributes.color, ft = yn !== void 0 ? yn.length : 0, Ge = ye.get(G), Qs = m.state.lights;
@@ -15717,7 +15717,7 @@ class Ph {
15717
15717
  Ee.setState(G, T, Bt);
15718
15718
  }
15719
15719
  let dt = !1;
15720
- G.version === Ge.__version ? (Ge.needsLights && Ge.lightsStateVersion !== Qs.state.version || Ge.outputColorSpace !== Ie || Y.isInstancedMesh && Ge.instancing === !1 || !Y.isInstancedMesh && Ge.instancing === !0 || Y.isSkinnedMesh && Ge.skinning === !1 || !Y.isSkinnedMesh && Ge.skinning === !0 || Y.isInstancedMesh && Ge.instancingColor === !0 && Y.instanceColor === null || Y.isInstancedMesh && Ge.instancingColor === !1 && Y.instanceColor !== null || Ge.envMap !== Ue || G.fog === !0 && Ge.fog !== Me || Ge.numClippingPlanes !== void 0 && (Ge.numClippingPlanes !== Ee.numPlanes || Ge.numIntersection !== Ee.numIntersection) || Ge.vertexAlphas !== ke || Ge.vertexTangents !== De || Ge.morphTargets !== Oe || Ge.morphNormals !== ot || Ge.morphColors !== ct || Ge.toneMapping !== Wt || ae.isWebGL2 === !0 && Ge.morphTargetsCount !== ft) && (dt = !0) : (dt = !0, Ge.__version = G.version);
15720
+ G.version === Ge.__version ? (Ge.needsLights && Ge.lightsStateVersion !== Qs.state.version || Ge.outputColorSpace !== Ie || Y.isInstancedMesh && Ge.instancing === !1 || !Y.isInstancedMesh && Ge.instancing === !0 || Y.isSkinnedMesh && Ge.skinning === !1 || !Y.isSkinnedMesh && Ge.skinning === !0 || Y.isInstancedMesh && Ge.instancingColor === !0 && Y.instanceColor === null || Y.isInstancedMesh && Ge.instancingColor === !1 && Y.instanceColor !== null || Ge.envMap !== Ue || G.fog === !0 && Ge.fog !== Me || Ge.numClippingPlanes !== void 0 && (Ge.numClippingPlanes !== Ee.numPlanes || Ge.numIntersection !== Ee.numIntersection) || Ge.vertexAlphas !== ke || Ge.vertexTangents !== Le || Ge.morphTargets !== Oe || Ge.morphNormals !== ot || Ge.morphColors !== ct || Ge.toneMapping !== Wt || ae.isWebGL2 === !0 && Ge.morphTargetsCount !== ft) && (dt = !0) : (dt = !0, Ge.__version = G.version);
15721
15721
  let Zn = Ge.currentProgram;
15722
15722
  dt === !0 && (Zn = Fr(G, k, Y));
15723
15723
  let nl = !1, er = !1, eo = !1;
@@ -15775,8 +15775,8 @@ class Ph {
15775
15775
  Ue.__useDefaultFramebuffer !== void 0 ? (ne.bindFramebuffer(P.FRAMEBUFFER, null), G = !1) : Ue.__webglFramebuffer === void 0 ? Se.setupRenderTarget(T) : Ue.__hasExternalTextures && Se.rebindTextures(T, ye.get(T.texture).__webglTexture, ye.get(T.depthTexture).__webglTexture);
15776
15776
  const ke = T.texture;
15777
15777
  (ke.isData3DTexture || ke.isDataArrayTexture || ke.isCompressedArrayTexture) && (Re = !0);
15778
- const De = ye.get(T).__webglFramebuffer;
15779
- T.isWebGLCubeRenderTarget ? (Array.isArray(De[k]) ? Y = De[k][j] : Y = De[k], Me = !0) : ae.isWebGL2 && T.samples > 0 && Se.useMultisampledRTT(T) === !1 ? Y = ye.get(T).__webglMultisampledFramebuffer : Array.isArray(De) ? Y = De[j] : Y = De, E.copy(T.viewport), F.copy(T.scissor), ee = T.scissorTest;
15778
+ const Le = ye.get(T).__webglFramebuffer;
15779
+ T.isWebGLCubeRenderTarget ? (Array.isArray(Le[k]) ? Y = Le[k][j] : Y = Le[k], Me = !0) : ae.isWebGL2 && T.samples > 0 && Se.useMultisampledRTT(T) === !1 ? Y = ye.get(T).__webglMultisampledFramebuffer : Array.isArray(Le) ? Y = Le[j] : Y = Le, E.copy(T.viewport), F.copy(T.scissor), ee = T.scissorTest;
15780
15780
  } else
15781
15781
  E.copy(Q).multiplyScalar(H).floor(), F.copy(B).multiplyScalar(H).floor(), ee = q;
15782
15782
  if (ne.bindFramebuffer(P.FRAMEBUFFER, Y) && ae.drawBuffers && G && ne.drawBuffers(T, Y), ne.viewport(E), ne.scissor(F), ne.setScissorTest(ee), Me) {
@@ -15796,19 +15796,19 @@ class Ph {
15796
15796
  if (T.isWebGLCubeRenderTarget && Re !== void 0 && (Ie = Ie[Re]), Ie) {
15797
15797
  ne.bindFramebuffer(P.FRAMEBUFFER, Ie);
15798
15798
  try {
15799
- const Ue = T.texture, ke = Ue.format, De = Ue.type;
15799
+ const Ue = T.texture, ke = Ue.format, Le = Ue.type;
15800
15800
  if (ke !== rn && pe.convert(ke) !== P.getParameter(P.IMPLEMENTATION_COLOR_READ_FORMAT)) {
15801
15801
  console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");
15802
15802
  return;
15803
15803
  }
15804
- const Oe = De === Sr && (J.has("EXT_color_buffer_half_float") || ae.isWebGL2 && J.has("EXT_color_buffer_float"));
15805
- if (De !== $n && pe.convert(De) !== P.getParameter(P.IMPLEMENTATION_COLOR_READ_TYPE) && // Edge and Chrome Mac < 52 (#9513)
15806
- !(De === Gn && (ae.isWebGL2 || J.has("OES_texture_float") || J.has("WEBGL_color_buffer_float"))) && // Chrome Mac >= 52 and Firefox
15804
+ const Oe = Le === Sr && (J.has("EXT_color_buffer_half_float") || ae.isWebGL2 && J.has("EXT_color_buffer_float"));
15805
+ if (Le !== $n && pe.convert(Le) !== P.getParameter(P.IMPLEMENTATION_COLOR_READ_TYPE) && // Edge and Chrome Mac < 52 (#9513)
15806
+ !(Le === Gn && (ae.isWebGL2 || J.has("OES_texture_float") || J.has("WEBGL_color_buffer_float"))) && // Chrome Mac >= 52 and Firefox
15807
15807
  !Oe) {
15808
15808
  console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");
15809
15809
  return;
15810
15810
  }
15811
- k >= 0 && k <= T.width - G && j >= 0 && j <= T.height - Y && P.readPixels(k, j, G, Y, pe.convert(ke), pe.convert(De), Me);
15811
+ k >= 0 && k <= T.width - G && j >= 0 && j <= T.height - Y && P.readPixels(k, j, G, Y, pe.convert(ke), pe.convert(Le), Me);
15812
15812
  } finally {
15813
15813
  const Ue = w !== null ? ye.get(w).__webglFramebuffer : null;
15814
15814
  ne.bindFramebuffer(P.FRAMEBUFFER, Ue);
@@ -15826,18 +15826,18 @@ class Ph {
15826
15826
  return;
15827
15827
  }
15828
15828
  const Me = T.max.x - T.min.x + 1, Re = T.max.y - T.min.y + 1, Ie = T.max.z - T.min.z + 1, Ue = pe.convert(G.format), ke = pe.convert(G.type);
15829
- let De;
15829
+ let Le;
15830
15830
  if (G.isData3DTexture)
15831
- Se.setTexture3D(G, 0), De = P.TEXTURE_3D;
15831
+ Se.setTexture3D(G, 0), Le = P.TEXTURE_3D;
15832
15832
  else if (G.isDataArrayTexture)
15833
- Se.setTexture2DArray(G, 0), De = P.TEXTURE_2D_ARRAY;
15833
+ Se.setTexture2DArray(G, 0), Le = P.TEXTURE_2D_ARRAY;
15834
15834
  else {
15835
15835
  console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");
15836
15836
  return;
15837
15837
  }
15838
15838
  P.pixelStorei(P.UNPACK_FLIP_Y_WEBGL, G.flipY), P.pixelStorei(P.UNPACK_PREMULTIPLY_ALPHA_WEBGL, G.premultiplyAlpha), P.pixelStorei(P.UNPACK_ALIGNMENT, G.unpackAlignment);
15839
15839
  const Oe = P.getParameter(P.UNPACK_ROW_LENGTH), ot = P.getParameter(P.UNPACK_IMAGE_HEIGHT), ct = P.getParameter(P.UNPACK_SKIP_PIXELS), Wt = P.getParameter(P.UNPACK_SKIP_ROWS), yn = P.getParameter(P.UNPACK_SKIP_IMAGES), ft = j.isCompressedTexture ? j.mipmaps[0] : j.image;
15840
- P.pixelStorei(P.UNPACK_ROW_LENGTH, ft.width), P.pixelStorei(P.UNPACK_IMAGE_HEIGHT, ft.height), P.pixelStorei(P.UNPACK_SKIP_PIXELS, T.min.x), P.pixelStorei(P.UNPACK_SKIP_ROWS, T.min.y), P.pixelStorei(P.UNPACK_SKIP_IMAGES, T.min.z), j.isDataTexture || j.isData3DTexture ? P.texSubImage3D(De, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ke, ft.data) : j.isCompressedArrayTexture ? (console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."), P.compressedTexSubImage3D(De, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ft.data)) : P.texSubImage3D(De, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ke, ft), P.pixelStorei(P.UNPACK_ROW_LENGTH, Oe), P.pixelStorei(P.UNPACK_IMAGE_HEIGHT, ot), P.pixelStorei(P.UNPACK_SKIP_PIXELS, ct), P.pixelStorei(P.UNPACK_SKIP_ROWS, Wt), P.pixelStorei(P.UNPACK_SKIP_IMAGES, yn), Y === 0 && G.generateMipmaps && P.generateMipmap(De), ne.unbindTexture();
15840
+ P.pixelStorei(P.UNPACK_ROW_LENGTH, ft.width), P.pixelStorei(P.UNPACK_IMAGE_HEIGHT, ft.height), P.pixelStorei(P.UNPACK_SKIP_PIXELS, T.min.x), P.pixelStorei(P.UNPACK_SKIP_ROWS, T.min.y), P.pixelStorei(P.UNPACK_SKIP_IMAGES, T.min.z), j.isDataTexture || j.isData3DTexture ? P.texSubImage3D(Le, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ke, ft.data) : j.isCompressedArrayTexture ? (console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."), P.compressedTexSubImage3D(Le, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ft.data)) : P.texSubImage3D(Le, Y, k.x, k.y, k.z, Me, Re, Ie, Ue, ke, ft), P.pixelStorei(P.UNPACK_ROW_LENGTH, Oe), P.pixelStorei(P.UNPACK_IMAGE_HEIGHT, ot), P.pixelStorei(P.UNPACK_SKIP_PIXELS, ct), P.pixelStorei(P.UNPACK_SKIP_ROWS, Wt), P.pixelStorei(P.UNPACK_SKIP_IMAGES, yn), Y === 0 && G.generateMipmaps && P.generateMipmap(Le), ne.unbindTexture();
15841
15841
  }, this.initTexture = function(T) {
15842
15842
  T.isCubeTexture ? Se.setTextureCube(T, 0) : T.isData3DTexture ? Se.setTexture3D(T, 0) : T.isDataArrayTexture || T.isCompressedArrayTexture ? Se.setTexture2DArray(T, 0) : Se.setTexture2D(T, 0), ne.unbindTexture();
15843
15843
  }, this.resetState = function() {
@@ -15854,10 +15854,10 @@ class Ph {
15854
15854
  console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."), this.useLegacyLights = !e;
15855
15855
  }
15856
15856
  get outputEncoding() {
15857
- return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."), this.outputColorSpace === it ? li : fh;
15857
+ return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."), this.outputColorSpace === nt ? li : fh;
15858
15858
  }
15859
15859
  set outputEncoding(e) {
15860
- console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."), this.outputColorSpace = e === li ? it : gn;
15860
+ console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."), this.outputColorSpace = e === li ? nt : gn;
15861
15861
  }
15862
15862
  get useLegacyLights() {
15863
15863
  return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."), this._useLegacyLights;
@@ -16112,7 +16112,7 @@ class vn {
16112
16112
  return this.getTangent(i, t);
16113
16113
  }
16114
16114
  computeFrenetFrames(e, t) {
16115
- const i = new D(), r = [], s = [], o = [], a = new D(), l = new rt();
16115
+ const i = new D(), r = [], s = [], o = [], a = new D(), l = new it();
16116
16116
  for (let d = 0; d <= e; d++) {
16117
16117
  const g = d / e;
16118
16118
  r[d] = this.getTangentAt(g, new D());
@@ -17288,10 +17288,10 @@ class Py extends at {
17288
17288
  return t.object.color = this.color.getHex(), t.object.intensity = this.intensity, this.groundColor !== void 0 && (t.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (t.object.distance = this.distance), this.angle !== void 0 && (t.object.angle = this.angle), this.decay !== void 0 && (t.object.decay = this.decay), this.penumbra !== void 0 && (t.object.penumbra = this.penumbra), this.shadow !== void 0 && (t.object.shadow = this.shadow.toJSON()), t;
17289
17289
  }
17290
17290
  }
17291
- const Fo = /* @__PURE__ */ new rt(), Qc = /* @__PURE__ */ new D(), eu = /* @__PURE__ */ new D();
17291
+ const Fo = /* @__PURE__ */ new it(), Qc = /* @__PURE__ */ new D(), eu = /* @__PURE__ */ new D();
17292
17292
  class Ly {
17293
17293
  constructor(e) {
17294
- this.camera = e, this.bias = 0, this.normalBias = 0, this.radius = 1, this.blurSamples = 8, this.mapSize = new ue(512, 512), this.map = null, this.mapPass = null, this.matrix = new rt(), this.autoUpdate = !0, this.needsUpdate = !1, this._frustum = new Na(), this._frameExtents = new ue(1, 1), this._viewportCount = 1, this._viewports = [
17294
+ this.camera = e, this.bias = 0, this.normalBias = 0, this.radius = 1, this.blurSamples = 8, this.mapSize = new ue(512, 512), this.map = null, this.mapPass = null, this.matrix = new it(), this.autoUpdate = !0, this.needsUpdate = !1, this._frustum = new Na(), this._frameExtents = new ue(1, 1), this._viewportCount = 1, this._viewports = [
17295
17295
  new Ke(0, 0, 1, 1)
17296
17296
  ];
17297
17297
  }
@@ -17342,7 +17342,7 @@ class Ly {
17342
17342
  return this.bias !== 0 && (e.bias = this.bias), this.normalBias !== 0 && (e.normalBias = this.normalBias), 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;
17343
17343
  }
17344
17344
  }
17345
- const tu = /* @__PURE__ */ new rt(), sr = /* @__PURE__ */ new D(), Bo = /* @__PURE__ */ new D();
17345
+ const tu = /* @__PURE__ */ new it(), sr = /* @__PURE__ */ new D(), Bo = /* @__PURE__ */ new D();
17346
17346
  class Dy extends Ly {
17347
17347
  constructor() {
17348
17348
  super(new Vt(90, 1, 0.5, 500)), this.isPointLightShadow = !0, this._frameExtents = new ue(4, 2), this._viewportCount = 6, this._viewports = [
@@ -17940,7 +17940,7 @@ class Ho extends at {
17940
17940
  return super.copy(e, t), this.element = e.element.cloneNode(!0), this.center = e.center, this;
17941
17941
  }
17942
17942
  }
17943
- const Ui = new D(), lu = new rt(), cu = new rt(), uu = new D(), hu = new D();
17943
+ const Ui = new D(), lu = new it(), cu = new it(), uu = new D(), hu = new D();
17944
17944
  class zy {
17945
17945
  constructor(e = {}) {
17946
17946
  const t = this;
@@ -18579,7 +18579,7 @@ class Ga extends Yn {
18579
18579
  }), this.setValues(e);
18580
18580
  }
18581
18581
  }
18582
- const du = new D(), pu = new D(), Mt = new Ke(), Et = new Ke(), un = new Ke(), ko = new D(), Go = new rt(), bt = new Oy(), mu = new D(), ps = new Kn(), ms = new Dr(), hn = new Ke();
18582
+ const du = new D(), pu = new D(), Mt = new Ke(), Et = new Ke(), un = new Ke(), ko = new D(), Go = new it(), bt = new Oy(), mu = new D(), ps = new Kn(), ms = new Dr(), hn = new Ke();
18583
18583
  let dn, ui;
18584
18584
  function gu(n, e, t) {
18585
18585
  return hn.set(0, 0, -e, 1).applyMatrix4(n.projectionMatrix), hn.multiplyScalar(1 / hn.w), hn.x = ui / t.width, hn.y = ui / t.height, hn.applyMatrix4(n.projectionMatrixInverse), hn.multiplyScalar(1 / hn.w), Math.abs(Math.max(hn.x, hn.y));
@@ -21056,11 +21056,25 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21056
21056
  mouseScale() {
21057
21057
  return this.wheelScale / this.baseScale;
21058
21058
  },
21059
+ // 显示的数据
21060
+ focusData() {
21061
+ var r;
21062
+ let n = [], e = [], t = [];
21063
+ this.computCode = null;
21064
+ let i = (r = this.areaObj) != null && r.areaList ? this.areaObj.areaList.map((s) => s) : [];
21065
+ if (i.forEach((s) => {
21066
+ s.gps && (n.push(s.province), e.push(s.city), t.push(s.area));
21067
+ }), n.length) {
21068
+ let s = "";
21069
+ return n.length === 1 ? e.length > 1 ? (this.computCode = n[0], s = "city") : t.length > 1 ? (this.computCode = e[0], s = "area") : (this.computCode = t[0], s = "area") : (this.computCode = 1e5, s = "province"), i.map((o) => rt(De({}, o), { code: o[s] }));
21070
+ } else
21071
+ return i;
21072
+ },
21059
21073
  // 小弹窗
21060
21074
  tipsData() {
21061
- return this.tipsData = (this.infoOpt || []).map((n) => {
21075
+ return (this.infoOpt || []).map((n) => {
21062
21076
  var e;
21063
- return nt(Le({}, n), {
21077
+ return rt(De({}, n), {
21064
21078
  code: n.code || ((e = this.focusData.find((t) => t.gps && t.gps.join("") === n.gps.join(""))) == null ? void 0 : e.code)
21065
21079
  });
21066
21080
  });
@@ -21071,30 +21085,13 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21071
21085
  this.adcode && (this.computCode = null);
21072
21086
  },
21073
21087
  code() {
21074
- vr.dispose(), this.getData();
21088
+ this.getData();
21075
21089
  },
21076
- areaObj: {
21077
- immediate: !0,
21078
- handler(n) {
21079
- let e = [], t = [], i = [];
21080
- if (this.computCode = null, this.focusData = (n == null ? void 0 : n.areaList) || [], this.focusData.forEach((r) => {
21081
- r.gps && (e.push(r.province), t.push(r.city), i.push(r.area));
21082
- }), e.length) {
21083
- let r = "";
21084
- e.length === 1 ? t.length > 1 ? (this.computCode = e[0], r = "city") : i.length > 1 ? (this.computCode = t[0], r = "area") : (this.computCode = i[0], r = "area") : (this.computCode = 1e5, r = "province"), this.focusData = this.focusData.map((s) => nt(Le({}, s), { code: s[r] }));
21085
- }
21086
- this.loading || this.renderMap();
21087
- }
21090
+ focusData() {
21091
+ this.loading || this.renderMap();
21088
21092
  },
21089
- infoOpt: {
21090
- handler(n) {
21091
- this.tipsData = (n || []).map((e) => {
21092
- var t;
21093
- return nt(Le({}, e), {
21094
- code: e.code || ((t = this.focusData.find((i) => i.gps && i.gps.join("") === e.gps.join(""))) == null ? void 0 : t.code)
21095
- });
21096
- }), this.drawTips(), this.animate();
21097
- }
21093
+ tipsData() {
21094
+ this.drawTips(), this.animate();
21098
21095
  }
21099
21096
  },
21100
21097
  data() {
@@ -21110,8 +21107,6 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21110
21107
  mapScale: 1,
21111
21108
  activeTips: [],
21112
21109
  activeMesh: [],
21113
- focusData: [],
21114
- tipsData: [],
21115
21110
  tipsMesh: null,
21116
21111
  circleMesh: null,
21117
21112
  canvasDom: null,
@@ -21125,14 +21120,14 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21125
21120
  };
21126
21121
  },
21127
21122
  mounted() {
21128
- this.getData(), this.canvasDom = this.$refs.canvas, this.size = { width: this.canvasDom.clientWidth, height: this.canvasDom.clientHeight }, this.viewObserver = new ResizeObserver(this.updateViewSize), this.viewObserver.observe(this.$el), this.create();
21123
+ vr.dispose(), this.getData(), this.canvasDom = this.$refs.canvas, this.size = { width: this.$el.offsetWidth, height: this.$el.offsetHeight }, this.viewObserver = new ResizeObserver(this.updateViewSize), this.viewObserver.observe(this.$el), this.create();
21129
21124
  },
21130
21125
  methods: {
21131
21126
  // 获取地图数据
21132
21127
  getData() {
21133
21128
  this.code && (this.loading = !0, mf(this.code).then((n) => {
21134
21129
  this.mapScale = Math.max(n.scale * 0.8, 1), this.mapData = n;
21135
- let e = Le({}, this.centroidMapList);
21130
+ let e = De({}, this.centroidMapList);
21136
21131
  if (n.features.forEach((t) => {
21137
21132
  e[t.adcode] = t.centroid || t.center;
21138
21133
  }), !this.centroidMapList[this.code]) {
@@ -21151,17 +21146,15 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21151
21146
  });
21152
21147
  }), e[this.code] = [(Math.max(...t) - Math.min(...t)) / 2 + Math.min(...t), (Math.max(...i) - Math.min(...i)) / 2 + Math.min(...i)];
21153
21148
  }
21154
- this.centroidMapList = Le({}, e), this.renderMap(), this.loading = !1, this.controller && this.controller.reset();
21149
+ this.centroidMapList = De({}, e), this.renderMap(), this.loading = !1, this.controller && this.controller.reset();
21155
21150
  }));
21156
21151
  },
21157
21152
  // 设置宽高及修正地图位置
21158
21153
  updateViewSize() {
21159
- vr.dispose();
21160
- const n = this.$el, e = n.querySelector("canvas");
21161
- e && (e.style.position = "absolute"), this.baseRem = Math.max(window.outerWidth / 1920, 1), this.size = {
21162
- width: n.clientWidth,
21163
- height: n.clientHeight
21164
- }, e && (e.style.position = ""), this.controller && this.controller.reset(), this.camera && (this.camera.aspect = this.size.width / this.size.height, this.camera.updateProjectionMatrix(), this.renderer.setSize(this.size.width, this.size.height), this.infoRender.setSize(this.size.width, this.size.height));
21154
+ this.canvasDom && (this.canvasDom.style.position = "absolute"), this.baseRem = Math.max(window.outerWidth / 1920, 1), this.size = {
21155
+ width: this.$el.offsetWidth,
21156
+ height: this.$el.offsetHeight
21157
+ }, this.canvasDom && (this.canvasDom.style.position = ""), this.controller && this.controller.reset(), this.camera && (this.camera.aspect = this.size.width / this.size.height, this.camera.updateProjectionMatrix(), this.renderer.setSize(this.size.width, this.size.height), this.infoRender.setSize(this.size.width, this.size.height));
21165
21158
  },
21166
21159
  // 创建地图
21167
21160
  create() {
@@ -21178,7 +21171,7 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21178
21171
  }, 200);
21179
21172
  return;
21180
21173
  }
21181
- this.tipsMesh && this.tipsMesh.remove(...this.tipsMesh.children), this.circleMesh && this.circleMesh.remove(...this.circleMesh.children), this.activeMesh.length && (this.activeMesh = []), this.scene.remove(...this.scene.children);
21174
+ vr.dispose(), this.tipsMesh && this.tipsMesh.remove(...this.tipsMesh.children), this.circleMesh && this.circleMesh.remove(...this.circleMesh.children), this.activeMesh.length && (this.activeMesh = []), this.scene.remove(...this.scene.children);
21182
21175
  const n = ys(new at());
21183
21176
  n.name = "map";
21184
21177
  const e = Du().center(this.centroid).scale(this.scale).translate([0, 0]), { blockList: t, infoData: i } = this.drawItemArea(e);
@@ -21208,7 +21201,7 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21208
21201
  let t = [], i = [];
21209
21202
  this.mapData.features.forEach((o) => {
21210
21203
  const a = this.focusData.find((l) => l.code === o.properties.adcode);
21211
- a ? t.push(nt(Le({}, o), { gps: a.gps, _hasData_: !0 })) : i.push(o);
21204
+ a ? t.push(rt(De({}, o), { gps: a.gps, _hasData_: !0 })) : i.push(o);
21212
21205
  });
21213
21206
  let r = [];
21214
21207
  return { blockList: [...i, ...t].map((o) => {
@@ -21261,7 +21254,7 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21261
21254
  worldUnits: !0,
21262
21255
  alphaToCoverage: !0
21263
21256
  }), a = new Vy(s, o);
21264
- return a.name = i || "line", a.computeLineDistances(), t && (a.userData = Le({}, t)), a;
21257
+ return a.name = i || "line", a.computeLineDistances(), t && (a.userData = De({}, t)), a;
21265
21258
  },
21266
21259
  // 绘制小弹窗
21267
21260
  drawTips() {
@@ -21285,7 +21278,7 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21285
21278
  }), this.activeMesh = []);
21286
21279
  const n = Du().center(this.centroid).scale(this.scale).translate([0, 0]), e = this.tipsData.map((s) => {
21287
21280
  const o = this.mapData.features.find((a) => a.properties.adcode === s.code) || { properties: { centroid: this.centroid, name: s.name, adcode: s.code } };
21288
- return Le({
21281
+ return De({
21289
21282
  userData: s
21290
21283
  }, o);
21291
21284
  }), t = e.map((s) => s.userData.gps || s.properties.centroid || s.properties.center).concat(e.length > 1 ? [] : [this.centroid]);
@@ -21344,7 +21337,7 @@ const ys = vr.track.bind(vr), kM = bf.extend({
21344
21337
  if (!t.length || !t[0].object.userData.mapInfo)
21345
21338
  return;
21346
21339
  const i = t[0].object.userData.mapInfo.properties.adcode;
21347
- this.$emit("click", this.focusData.find((r) => r.code === i)), this.animate();
21340
+ this.$emit("click", i, this.focusData.find((r) => r.code === i)), this.animate();
21348
21341
  },
21349
21342
  // 滚轮事件
21350
21343
  handleMouseWheel() {
@@ -21376,7 +21369,7 @@ var WM = /* @__PURE__ */ Tt(
21376
21369
  VM,
21377
21370
  !1,
21378
21371
  XM,
21379
- "71f7b544",
21372
+ "18652e1a",
21380
21373
  null,
21381
21374
  null
21382
21375
  );
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .dp-popover_box_[data-v-b200f0b4]{line-height:1;display:flex;align-items:center}.dp-popover_view_[data-v-b200f0b4]{position:absolute;min-width:100px;z-index:1000;border-radius:6px;border:1px solid #eee;box-shadow:0 0 18px #ccc}.dp-popover_ref_[data-v-b200f0b4]{line-height:1}.dp-popover_content_[data-v-b200f0b4]{background-color:#fff;border-radius:6px;position:relative;z-index:2;overflow:hidden}.dp-popover_arrow_[data-v-b200f0b4]{position:absolute;width:8px;height:8px;visibility:hidden}.dp-popover_arrow_[data-v-b200f0b4]:before{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;visibility:visible;content:"";background-color:#fff;transform:rotate(45deg);border:1px solid #eee}.dp-check_view_[data-v-6dfce8b2]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-6dfce8b2]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-6dfce8b2]{pointer-events:none}.dp-check_tag_[data-v-6dfce8b2]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-check_name_[data-v-6dfce8b2]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-6dfce8b2]{border-color:#4386f5;background-color:#4386f5}.dp-check_view_checked_ .dp-check_tag_[data-v-6dfce8b2]:before{content:"";width:9px;height:5px;border-bottom:1px solid #fff;border-left:1px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.dp-check_view_checked_ .dp-check_name_[data-v-6dfce8b2]{color:#4386f5}.dp-radio_view_[data-v-1d357f3a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-1d357f3a]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-1d357f3a]{pointer-events:none}.dp-radio_tag_[data-v-1d357f3a]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-radio_name_[data-v-1d357f3a]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]{border-color:#4386f5}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#4386f5}.dp-radio_view_checked_ .dp-radio_name_[data-v-1d357f3a]{color:#4386f5}.dp-checkfilter_view_[data-v-0403222f]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_list_[data-v-0403222f]{max-height:40vh;overflow:auto}.dp-checkfilter_arrow_[data-v-0403222f]{position:relative;width:6px;height:6px;margin:0 6px;border-bottom:2px solid;border-left:2px solid;transform:rotate(-45deg) translateY(-2px);transition:all .1s}.dp-checkfilter_item_[data-v-0403222f]{padding:8px 15px}.dp-checkfilter_item_+.dp-checkfilter_item_[data-v-0403222f]{border-top:1px solid #e8e8e8}.dp-checkfilter_title_checked_[data-v-0403222f]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-0403222f]{transform:rotate(135deg) translate(3px,-3px)}.dp-list_title_view_[data-v-9da1e6ee]{display:flex;align-items:center;background-color:#d4dbe7;border-radius:5px;padding:3px 10px;position:sticky;top:0}.dp-list_title_item_[data-v-9da1e6ee]{flex-shrink:0;line-height:3;display:flex;align-items:center}.dp-list_title_sub_[data-v-9da1e6ee]{width:60px}.dp-list_title_item_sort_[data-v-9da1e6ee]{display:flex;align-items:center;cursor:pointer}.dp-list_title_sort_[data-v-9da1e6ee]{position:relative;width:0;font-size:0;height:10px;border:1px solid;margin:0 6px}.dp-list_title_sort_up_[data-v-9da1e6ee]:before,.dp-list_title_sort_down_[data-v-9da1e6ee]:after{content:"";position:absolute;left:-3px;width:4px;height:4px;border-left:2px solid;border-top:2px solid}.dp-list_title_sort_up_[data-v-9da1e6ee]:before{top:0;transform:rotate(45deg)}.dp-list_title_sort_down_[data-v-9da1e6ee]:after{bottom:0;transform:rotate(-135deg)}.dp-select_view_[data-v-233570c0]{display:flex;align-items:center;flex-shrink:0;border:1px solid #ccc;border-radius:4px;padding:3px 5px;cursor:pointer}.dp-select_current_[data-v-233570c0]{flex:1;margin-right:10px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp-select_placeholder_[data-v-233570c0]{color:#ccc}.dp-select_clearable_[data-v-233570c0]{display:inline-block;opacity:0;width:12px;height:12px;color:#ccc;border:1px solid;border-radius:10px;position:relative}.dp-select_clearable_[data-v-233570c0]:hover{color:#333}.dp-select_clearable_[data-v-233570c0]:before,.dp-select_clearable_[data-v-233570c0]:after{content:"";position:absolute;width:100%;height:1px;background-color:currentColor;top:50%}.dp-select_clearable_[data-v-233570c0]:before{transform:rotate(45deg) scale(.7)}.dp-select_clearable_[data-v-233570c0]:after{transform:rotate(-45deg) scale(.7)}.dp-select_view_:hover .dp-select_clearable_[data-v-233570c0]{opacity:100}.dp-select_arrow_[data-v-233570c0]{display:inline-block;width:8px;height:8px;margin-left:6px;color:#999;border-left:1px solid;border-top:1px solid;transform:rotate(-135deg) translate(2px,2px);transition:all .2s}.dp-select_arrow_show_[data-v-233570c0]{transform:rotate(45deg) translate(1px,2px)}.dp-select_list_[data-v-233570c0]{overflow:auto}.dp-select_opt_item_[data-v-233570c0]{padding:8px 15px;display:flex;flex-wrap:wrap;cursor:pointer}.dp-select_opt_item_+.dp-select_opt_item_[data-v-233570c0]{border-top:1px solid #ccc}.dp-select_opt_item_[data-v-233570c0]:hover,.dp-select_opt_item_active_[data-v-233570c0]{background-color:#4386f5;color:#fff;border-top-color:#4386f5}.dp-input_view_[data-v-cf64bc14]{display:flex;flex:1;align-items:center;border:1px solid;border-radius:4px;padding:5px}.dp-input_view_small_[data-v-cf64bc14]{padding:2px}.dp-input_view_border_[data-v-cf64bc14]{border-color:#ccc}.dp-input_view_border_none_[data-v-cf64bc14]{border-color:transparent}.dp-input_content_[data-v-cf64bc14]{flex:1;line-height:1.5}.dp-input_input_[data-v-cf64bc14]{width:100%}.dp-input_input_center_[data-v-cf64bc14]{text-align:center}.dp-input_input_right_[data-v-cf64bc14]{text-align:right}.dp-input_unit_[data-v-cf64bc14]{flex-shrink:0;margin-left:5px;font-size:12px}.dp-pagin_view_[data-v-34a73120]{display:flex;align-items:center;justify-content:flex-end;padding:5px 10px;border-top:1px solid #ccc}.dp-pagin_total_[data-v-34a73120]{margin-right:10px}.dp-pagin_group_[data-v-34a73120]{display:flex;align-items:center;margin-left:10px}.dp-pagin_item_[data-v-34a73120]{width:24px;height:24px;margin:0 5px;display:flex;align-items:center;justify-content:center;border:1px solid #ccc;border-radius:4px;cursor:pointer}.dp-pagin_item_[data-v-34a73120]:hover,.dp-pagin_item_active_[data-v-34a73120]{background-color:#4386f5;border-color:#4386f5;color:#fff}.dp-pagin_more_view_[data-v-34a73120]{display:flex;align-items:center;margin:0 5px}.dp-pagin_more_item_[data-v-34a73120],.dp-pagin_more_view_[data-v-34a73120]:before,.dp-pagin_more_view_[data-v-34a73120]:after{content:"";width:5px;height:5px;border-radius:5px;background-color:#000;margin:0 3px}.dp-pagin_arrow_left_[data-v-34a73120],.dp-pagin_arrow_right_[data-v-34a73120]{display:block;width:10px;height:10px;border-left:1px solid;border-top:1px solid}.dp-pagin_arrow_left_[data-v-34a73120]{transform:rotate(-45deg) translate(2px,1px)}.dp-pagin_arrow_right_[data-v-34a73120]{transform:rotate(135deg) translate(2px,3px)}.dp-pagin_link_view_[data-v-34a73120]{display:flex;align-items:center}.dp-pagin_link_[data-v-34a73120]{width:50px;margin:0 5px}.dp-list_view_[data-v-5427cfc0]{flex:1;display:flex;flex-direction:column;overflow:auto}.dp-list_list_[data-v-5427cfc0]{flex:1;overflow:auto}.dp-list_item_[data-v-5427cfc0]{display:flex;align-items:center;border-bottom:1px solid #ddd;padding:5px 10px;box-sizing:border-box}.dp-list_item_sub_[data-v-5427cfc0]{width:60px}.dp-table_header_item_height_[data-v-2e3e05d2]{min-height:40px}.dp-table_header_item_[data-v-2e3e05d2]{white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;flex-shrink:0}.dp-table_header_item_group_[data-v-2e3e05d2]{flex-direction:column;align-items:start}.dp-table_header_item_group_title_[data-v-2e3e05d2]{align-self:stretch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp-table_header_item_group_title_[data-v-2e3e05d2]:before{content:" ";display:inline-block;height:100%;vertical-align:middle}.dp-table_header_item_border_[data-v-2e3e05d2]{border-right:1px solid;border-bottom:1px solid;padding:3px 10px}.dp-table_header_item_child_[data-v-2e3e05d2]{display:flex}.dp-table_header_item_sort_[data-v-2e3e05d2]{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;width:16px;height:12px}.dp-table_header_item_sort_[data-v-2e3e05d2]:before,.dp-table_header_item_sort_[data-v-2e3e05d2]:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}.dp-table_header_item_sort_[data-v-2e3e05d2]:before{border-bottom:5px solid #999}.dp-table_header_item_sort_[data-v-2e3e05d2]:after{border-top:5px solid #999}.dp-table_header_item_sort_up_[data-v-2e3e05d2]:before{border-bottom-color:#fe8227}.dp-table_header_item_sort_down_[data-v-2e3e05d2]:after{border-top-color:#fe8227}.dp-table_header_item_cursor_[data-v-2e3e05d2]{cursor:pointer}.dp-table_header_filter_view_[data-v-2e3e05d2]{flex:1}.dp-table_header_view_[data-v-093a0750]{flex-shrink:0;display:inline-flex;border-top:1px solid;position:sticky;z-index:3;top:0;user-select:none}.dp-table_fixed_bg_[data-v-093a0750]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-093a0750]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_view_box_[data-v-dfb020e6]{display:flex;flex-direction:column;flex:1;font-size:0;max-height:100vh;overflow:auto}.dp-table_view_border_[data-v-dfb020e6]{flex:1;border-left:1px solid;display:inline-flex!important;flex-direction:column;max-width:100%;box-sizing:border-box;overflow:auto;position:relative}.dp-table_view_bottom_border_[data-v-dfb020e6]{position:absolute;z-index:4;left:0;bottom:0;width:100%;height:0;border-top:1px solid}.dp-table_view_right_border_[data-v-dfb020e6]{position:absolute;z-index:4;right:0;top:0;width:0;height:100%;border-left:1px solid}.dp-table_view_[data-v-dfb020e6]{flex:1;display:inline-block;width:100%;max-height:100%;font-size:0;position:relative;box-sizing:border-box;overflow:auto}.dp-table_body_view_[data-v-dfb020e6]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px;min-width:100%}.dp-table_body_view_[data-v-dfb020e6]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-dfb020e6]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-dfb020e6]{font-size:14px}.dp-table_body_item_[data-v-dfb020e6]{display:inline-flex}.dp-table_fixed_bg_[data-v-dfb020e6]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-dfb020e6]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-dfb020e6]{display:flex;flex-direction:column;flex-shrink:0}.dp-table_body_item_group_col_>*[data-v-dfb020e6]{flex:1}.dp-table_body_item_child_[data-v-dfb020e6]{flex-shrink:0;display:flex;align-items:center;justify-content:center;text-align:center;border-right:1px solid;border-bottom:1px solid;box-sizing:border-box;overflow:hidden}.dp-table_total_view_[data-v-dfb020e6]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-dfb020e6]{position:absolute;left:0;top:-1px;color:inherit;z-index:4;width:100%;border-top:1px solid}.problem-raw[data-v-72b440c0]:after{content:"";display:block;clear:both}.icon[data-v-3766159a]{vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:0}.dp-capsule_view_[data-v-729c1722]{display:inline-flex;position:relative;flex-shrink:0;margin:2px}.dp-capsule_view_[data-v-729c1722]:before{content:"";position:absolute;inset:-2px;border:1px solid #4386f5;border-radius:200px}.pointer[data-v-729c1722]{cursor:pointer}.dp-capsule_view_active_[data-v-729c1722]{position:absolute;transition:left .1s;top:0;border-radius:200px;height:100%}.dp-capsule_view_item_[data-v-729c1722]{flex:1;position:relative;z-index:2;padding:0 10px;text-align:center;line-height:1.8;white-space:nowrap}.dp-toggleraw_icon_[data-v-1a73bbf6]{padding:5px}.dp-toggleraw_content_[data-v-1a73bbf6]{width:240px;display:flex;align-items:center;justify-content:space-between}.dp-toggleraw_tips_[data-v-1a73bbf6]{margin-right:10px}.dp-toggleraw_empty_[data-v-1a73bbf6]{width:26px}.dp-map_view[data-v-71f7b544]{width:100%;height:100%;position:relative;user-select:none;overflow:hidden}.dp-map_canvas_view[data-v-71f7b544]{width:100%;height:100%}html{font-size:14px}p,ul{margin:0;margin-block-start:0;margin-block-end:0}li{list-style:none}ul,ol{padding:0}
1
+ .dp-popover_box_[data-v-b200f0b4]{line-height:1;display:flex;align-items:center}.dp-popover_view_[data-v-b200f0b4]{position:absolute;min-width:100px;z-index:1000;border-radius:6px;border:1px solid #eee;box-shadow:0 0 18px #ccc}.dp-popover_ref_[data-v-b200f0b4]{line-height:1}.dp-popover_content_[data-v-b200f0b4]{background-color:#fff;border-radius:6px;position:relative;z-index:2;overflow:hidden}.dp-popover_arrow_[data-v-b200f0b4]{position:absolute;width:8px;height:8px;visibility:hidden}.dp-popover_arrow_[data-v-b200f0b4]:before{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;visibility:visible;content:"";background-color:#fff;transform:rotate(45deg);border:1px solid #eee}.dp-check_view_[data-v-6dfce8b2]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-6dfce8b2]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-6dfce8b2]{pointer-events:none}.dp-check_tag_[data-v-6dfce8b2]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-check_name_[data-v-6dfce8b2]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-6dfce8b2]{border-color:#4386f5;background-color:#4386f5}.dp-check_view_checked_ .dp-check_tag_[data-v-6dfce8b2]:before{content:"";width:9px;height:5px;border-bottom:1px solid #fff;border-left:1px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.dp-check_view_checked_ .dp-check_name_[data-v-6dfce8b2]{color:#4386f5}.dp-radio_view_[data-v-1d357f3a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-1d357f3a]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-1d357f3a]{pointer-events:none}.dp-radio_tag_[data-v-1d357f3a]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-radio_name_[data-v-1d357f3a]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]{border-color:#4386f5}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#4386f5}.dp-radio_view_checked_ .dp-radio_name_[data-v-1d357f3a]{color:#4386f5}.dp-checkfilter_view_[data-v-0403222f]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_list_[data-v-0403222f]{max-height:40vh;overflow:auto}.dp-checkfilter_arrow_[data-v-0403222f]{position:relative;width:6px;height:6px;margin:0 6px;border-bottom:2px solid;border-left:2px solid;transform:rotate(-45deg) translateY(-2px);transition:all .1s}.dp-checkfilter_item_[data-v-0403222f]{padding:8px 15px}.dp-checkfilter_item_+.dp-checkfilter_item_[data-v-0403222f]{border-top:1px solid #e8e8e8}.dp-checkfilter_title_checked_[data-v-0403222f]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-0403222f]{transform:rotate(135deg) translate(3px,-3px)}.dp-list_title_view_[data-v-9da1e6ee]{display:flex;align-items:center;background-color:#d4dbe7;border-radius:5px;padding:3px 10px;position:sticky;top:0}.dp-list_title_item_[data-v-9da1e6ee]{flex-shrink:0;line-height:3;display:flex;align-items:center}.dp-list_title_sub_[data-v-9da1e6ee]{width:60px}.dp-list_title_item_sort_[data-v-9da1e6ee]{display:flex;align-items:center;cursor:pointer}.dp-list_title_sort_[data-v-9da1e6ee]{position:relative;width:0;font-size:0;height:10px;border:1px solid;margin:0 6px}.dp-list_title_sort_up_[data-v-9da1e6ee]:before,.dp-list_title_sort_down_[data-v-9da1e6ee]:after{content:"";position:absolute;left:-3px;width:4px;height:4px;border-left:2px solid;border-top:2px solid}.dp-list_title_sort_up_[data-v-9da1e6ee]:before{top:0;transform:rotate(45deg)}.dp-list_title_sort_down_[data-v-9da1e6ee]:after{bottom:0;transform:rotate(-135deg)}.dp-select_view_[data-v-233570c0]{display:flex;align-items:center;flex-shrink:0;border:1px solid #ccc;border-radius:4px;padding:3px 5px;cursor:pointer}.dp-select_current_[data-v-233570c0]{flex:1;margin-right:10px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp-select_placeholder_[data-v-233570c0]{color:#ccc}.dp-select_clearable_[data-v-233570c0]{display:inline-block;opacity:0;width:12px;height:12px;color:#ccc;border:1px solid;border-radius:10px;position:relative}.dp-select_clearable_[data-v-233570c0]:hover{color:#333}.dp-select_clearable_[data-v-233570c0]:before,.dp-select_clearable_[data-v-233570c0]:after{content:"";position:absolute;width:100%;height:1px;background-color:currentColor;top:50%}.dp-select_clearable_[data-v-233570c0]:before{transform:rotate(45deg) scale(.7)}.dp-select_clearable_[data-v-233570c0]:after{transform:rotate(-45deg) scale(.7)}.dp-select_view_:hover .dp-select_clearable_[data-v-233570c0]{opacity:100}.dp-select_arrow_[data-v-233570c0]{display:inline-block;width:8px;height:8px;margin-left:6px;color:#999;border-left:1px solid;border-top:1px solid;transform:rotate(-135deg) translate(2px,2px);transition:all .2s}.dp-select_arrow_show_[data-v-233570c0]{transform:rotate(45deg) translate(1px,2px)}.dp-select_list_[data-v-233570c0]{overflow:auto}.dp-select_opt_item_[data-v-233570c0]{padding:8px 15px;display:flex;flex-wrap:wrap;cursor:pointer}.dp-select_opt_item_+.dp-select_opt_item_[data-v-233570c0]{border-top:1px solid #ccc}.dp-select_opt_item_[data-v-233570c0]:hover,.dp-select_opt_item_active_[data-v-233570c0]{background-color:#4386f5;color:#fff;border-top-color:#4386f5}.dp-input_view_[data-v-cf64bc14]{display:flex;flex:1;align-items:center;border:1px solid;border-radius:4px;padding:5px}.dp-input_view_small_[data-v-cf64bc14]{padding:2px}.dp-input_view_border_[data-v-cf64bc14]{border-color:#ccc}.dp-input_view_border_none_[data-v-cf64bc14]{border-color:transparent}.dp-input_content_[data-v-cf64bc14]{flex:1;line-height:1.5}.dp-input_input_[data-v-cf64bc14]{width:100%}.dp-input_input_center_[data-v-cf64bc14]{text-align:center}.dp-input_input_right_[data-v-cf64bc14]{text-align:right}.dp-input_unit_[data-v-cf64bc14]{flex-shrink:0;margin-left:5px;font-size:12px}.dp-pagin_view_[data-v-34a73120]{display:flex;align-items:center;justify-content:flex-end;padding:5px 10px;border-top:1px solid #ccc}.dp-pagin_total_[data-v-34a73120]{margin-right:10px}.dp-pagin_group_[data-v-34a73120]{display:flex;align-items:center;margin-left:10px}.dp-pagin_item_[data-v-34a73120]{width:24px;height:24px;margin:0 5px;display:flex;align-items:center;justify-content:center;border:1px solid #ccc;border-radius:4px;cursor:pointer}.dp-pagin_item_[data-v-34a73120]:hover,.dp-pagin_item_active_[data-v-34a73120]{background-color:#4386f5;border-color:#4386f5;color:#fff}.dp-pagin_more_view_[data-v-34a73120]{display:flex;align-items:center;margin:0 5px}.dp-pagin_more_item_[data-v-34a73120],.dp-pagin_more_view_[data-v-34a73120]:before,.dp-pagin_more_view_[data-v-34a73120]:after{content:"";width:5px;height:5px;border-radius:5px;background-color:#000;margin:0 3px}.dp-pagin_arrow_left_[data-v-34a73120],.dp-pagin_arrow_right_[data-v-34a73120]{display:block;width:10px;height:10px;border-left:1px solid;border-top:1px solid}.dp-pagin_arrow_left_[data-v-34a73120]{transform:rotate(-45deg) translate(2px,1px)}.dp-pagin_arrow_right_[data-v-34a73120]{transform:rotate(135deg) translate(2px,3px)}.dp-pagin_link_view_[data-v-34a73120]{display:flex;align-items:center}.dp-pagin_link_[data-v-34a73120]{width:50px;margin:0 5px}.dp-list_view_[data-v-5427cfc0]{flex:1;display:flex;flex-direction:column;overflow:auto}.dp-list_list_[data-v-5427cfc0]{flex:1;overflow:auto}.dp-list_item_[data-v-5427cfc0]{display:flex;align-items:center;border-bottom:1px solid #ddd;padding:5px 10px;box-sizing:border-box}.dp-list_item_sub_[data-v-5427cfc0]{width:60px}.dp-table_header_item_height_[data-v-2e3e05d2]{min-height:40px}.dp-table_header_item_[data-v-2e3e05d2]{white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;flex-shrink:0}.dp-table_header_item_group_[data-v-2e3e05d2]{flex-direction:column;align-items:start}.dp-table_header_item_group_title_[data-v-2e3e05d2]{align-self:stretch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp-table_header_item_group_title_[data-v-2e3e05d2]:before{content:" ";display:inline-block;height:100%;vertical-align:middle}.dp-table_header_item_border_[data-v-2e3e05d2]{border-right:1px solid;border-bottom:1px solid;padding:3px 10px}.dp-table_header_item_child_[data-v-2e3e05d2]{display:flex}.dp-table_header_item_sort_[data-v-2e3e05d2]{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;width:16px;height:12px}.dp-table_header_item_sort_[data-v-2e3e05d2]:before,.dp-table_header_item_sort_[data-v-2e3e05d2]:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}.dp-table_header_item_sort_[data-v-2e3e05d2]:before{border-bottom:5px solid #999}.dp-table_header_item_sort_[data-v-2e3e05d2]:after{border-top:5px solid #999}.dp-table_header_item_sort_up_[data-v-2e3e05d2]:before{border-bottom-color:#fe8227}.dp-table_header_item_sort_down_[data-v-2e3e05d2]:after{border-top-color:#fe8227}.dp-table_header_item_cursor_[data-v-2e3e05d2]{cursor:pointer}.dp-table_header_filter_view_[data-v-2e3e05d2]{flex:1}.dp-table_header_view_[data-v-093a0750]{flex-shrink:0;display:inline-flex;border-top:1px solid;position:sticky;z-index:3;top:0;user-select:none}.dp-table_fixed_bg_[data-v-093a0750]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-093a0750]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_view_box_[data-v-dfb020e6]{display:flex;flex-direction:column;flex:1;font-size:0;max-height:100vh;overflow:auto}.dp-table_view_border_[data-v-dfb020e6]{flex:1;border-left:1px solid;display:inline-flex!important;flex-direction:column;max-width:100%;box-sizing:border-box;overflow:auto;position:relative}.dp-table_view_bottom_border_[data-v-dfb020e6]{position:absolute;z-index:4;left:0;bottom:0;width:100%;height:0;border-top:1px solid}.dp-table_view_right_border_[data-v-dfb020e6]{position:absolute;z-index:4;right:0;top:0;width:0;height:100%;border-left:1px solid}.dp-table_view_[data-v-dfb020e6]{flex:1;display:inline-block;width:100%;max-height:100%;font-size:0;position:relative;box-sizing:border-box;overflow:auto}.dp-table_body_view_[data-v-dfb020e6]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px;min-width:100%}.dp-table_body_view_[data-v-dfb020e6]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-dfb020e6]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-dfb020e6]{font-size:14px}.dp-table_body_item_[data-v-dfb020e6]{display:inline-flex}.dp-table_fixed_bg_[data-v-dfb020e6]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-dfb020e6]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-dfb020e6]{display:flex;flex-direction:column;flex-shrink:0}.dp-table_body_item_group_col_>*[data-v-dfb020e6]{flex:1}.dp-table_body_item_child_[data-v-dfb020e6]{flex-shrink:0;display:flex;align-items:center;justify-content:center;text-align:center;border-right:1px solid;border-bottom:1px solid;box-sizing:border-box;overflow:hidden}.dp-table_total_view_[data-v-dfb020e6]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-dfb020e6]{position:absolute;left:0;top:-1px;color:inherit;z-index:4;width:100%;border-top:1px solid}.problem-raw[data-v-72b440c0]:after{content:"";display:block;clear:both}.icon[data-v-3766159a]{vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:0}.dp-capsule_view_[data-v-729c1722]{display:inline-flex;position:relative;flex-shrink:0;margin:2px}.dp-capsule_view_[data-v-729c1722]:before{content:"";position:absolute;inset:-2px;border:1px solid #4386f5;border-radius:200px}.pointer[data-v-729c1722]{cursor:pointer}.dp-capsule_view_active_[data-v-729c1722]{position:absolute;transition:left .1s;top:0;border-radius:200px;height:100%}.dp-capsule_view_item_[data-v-729c1722]{flex:1;position:relative;z-index:2;padding:0 10px;text-align:center;line-height:1.8;white-space:nowrap}.dp-toggleraw_icon_[data-v-1a73bbf6]{padding:5px}.dp-toggleraw_content_[data-v-1a73bbf6]{width:240px;display:flex;align-items:center;justify-content:space-between}.dp-toggleraw_tips_[data-v-1a73bbf6]{margin-right:10px}.dp-toggleraw_empty_[data-v-1a73bbf6]{width:26px}.dp-map_view[data-v-18652e1a]{width:100%;height:100%;position:relative;user-select:none;overflow:hidden}.dp-map_canvas_view[data-v-18652e1a]{width:100%;height:100%}html{font-size:14px}p,ul{margin:0;margin-block-start:0;margin-block-end:0}li{list-style:none}ul,ol{padding:0}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dpot-ui",
3
3
  "private": false,
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "author": "Jeesn",
6
6
  "main": "./dist/index.es.js",
7
7
  "module": "./dist/index.es.js",