x-runtime-lib 0.8.173 → 0.8.175

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.
@@ -700,8 +700,8 @@ function lN(g, A, e, t, I, C) {
700
700
  l || (l = a == "constructor");
701
701
  }
702
702
  if (c && !l) {
703
- var y = g.constructor, M = A.constructor;
704
- y != M && "constructor" in g && "constructor" in A && !(typeof y == "function" && y instanceof y && typeof M == "function" && M instanceof M) && (c = !1);
703
+ var d = g.constructor, v = A.constructor;
704
+ d != v && "constructor" in g && "constructor" in A && !(typeof d == "function" && d instanceof d && typeof v == "function" && v instanceof v) && (c = !1);
705
705
  }
706
706
  return C.delete(g), C.delete(A), c;
707
707
  }
@@ -1119,19 +1119,19 @@ function xN(g = {}) {
1119
1119
  }
1120
1120
  function s(l, h) {
1121
1121
  var u, D;
1122
- const y = (u = l.key) == null ? void 0 : u.toLowerCase(), f = [(D = l.code) == null ? void 0 : D.toLowerCase(), y].filter(Boolean);
1123
- y && (h ? i.add(y) : i.delete(y));
1124
- for (const v of f)
1125
- n.add(v), a(v, h);
1126
- if (y === "shift" && !h) {
1127
- const v = Array.from(o), w = v.indexOf("shift");
1128
- v.forEach((d, p) => {
1129
- p >= w && (i.delete(d), a(d, !1));
1122
+ const d = (u = l.key) == null ? void 0 : u.toLowerCase(), f = [(D = l.code) == null ? void 0 : D.toLowerCase(), d].filter(Boolean);
1123
+ d && (h ? i.add(d) : i.delete(d));
1124
+ for (const M of f)
1125
+ n.add(M), a(M, h);
1126
+ if (d === "shift" && !h) {
1127
+ const M = Array.from(o), w = M.indexOf("shift");
1128
+ M.forEach((y, p) => {
1129
+ p >= w && (i.delete(y), a(y, !1));
1130
1130
  }), o.clear();
1131
- } else typeof l.getModifierState == "function" && l.getModifierState("Shift") && h && [...i, ...f].forEach((v) => o.add(v));
1132
- y === "meta" && !h ? (r.forEach((v) => {
1133
- i.delete(v), a(v, !1);
1134
- }), r.clear()) : typeof l.getModifierState == "function" && l.getModifierState("Meta") && h && [...i, ...f].forEach((v) => r.add(v));
1131
+ } else typeof l.getModifierState == "function" && l.getModifierState("Shift") && h && [...i, ...f].forEach((M) => o.add(M));
1132
+ d === "meta" && !h ? (r.forEach((M) => {
1133
+ i.delete(M), a(M, !1);
1134
+ }), r.clear()) : typeof l.getModifierState == "function" && l.getModifierState("Meta") && h && [...i, ...f].forEach((M) => r.add(M));
1135
1135
  }
1136
1136
  re(e, "keydown", (l) => (s(l, !0), C(l)), { passive: I }), re(e, "keyup", (l) => (s(l, !1), C(l)), { passive: I }), re("blur", E, { passive: I }), re("focus", E, { passive: I });
1137
1137
  const c = new Proxy(
@@ -1142,8 +1142,8 @@ function xN(g = {}) {
1142
1142
  return Reflect.get(l, h, u);
1143
1143
  if (h = h.toLowerCase(), h in t && (h = t[h]), !(h in Q))
1144
1144
  if (/[+_-]/.test(h)) {
1145
- const y = h.split(/[+_-]/g).map((M) => M.trim());
1146
- Q[h] = ng(() => y.map((M) => HA(c[M])).every(Boolean));
1145
+ const d = h.split(/[+_-]/g).map((v) => v.trim());
1146
+ Q[h] = ng(() => d.map((v) => HA(c[v])).every(Boolean));
1147
1147
  } else
1148
1148
  Q[h] = Qg(!1);
1149
1149
  const D = Reflect.get(l, h, u);
@@ -1695,6 +1695,12 @@ class Ik {
1695
1695
  move(A, e) {
1696
1696
  this.intersection = this.computeIntersection("pointer", A, e), this.commit(e, !0);
1697
1697
  }
1698
+ /**
1699
+ * computes and commits the pointer if a move has not yet occured
1700
+ */
1701
+ over(A, e) {
1702
+ this.wasMoved || (this.intersection = this.computeIntersection("pointer", A, e), this.commit(e, !1));
1703
+ }
1698
1704
  /**
1699
1705
  * emits a move without (re-)computing the intersection
1700
1706
  * just emitting a move event to the current intersection
@@ -1935,59 +1941,62 @@ function lk(g, A, e, t) {
1935
1941
  );
1936
1942
  }
1937
1943
  function hk(g, A, e, t, I, C, i = {}) {
1938
- const B = i?.forwardPointerCapture ?? !0, Q = /* @__PURE__ */ new Map(), r = i.pointerTypePrefix ?? "forward-", o = (v, w) => {
1939
- let d = Q.get(v.pointerId);
1940
- return d != null || (d = new Ik(Ek(), `${r}${v.pointerType}`, v.pointerState, new nk((p, F) => (t(p, F), A()), i), A, void 0, B ? I.bind(null, v.pointerId) : void 0, B ? C.bind(null, v.pointerId) : void 0, i), w != "move" && w != "wheel" && (d.setIntersection(d.computeIntersection("pointer", e, v)), d.commit(v, !1)), Q.set(v.pointerId, d)), d;
1941
- }, n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), E = [], s = [], c = (v, w, d) => {
1942
- switch (v) {
1944
+ const B = i?.forwardPointerCapture ?? !0, Q = /* @__PURE__ */ new Map(), r = i.pointerTypePrefix ?? "forward-", o = (w, y) => {
1945
+ let p = Q.get(w.pointerId);
1946
+ return p != null || (p = new Ik(Ek(), `${r}${w.pointerType}`, w.pointerState, new nk((F, R) => (t(F, R), A()), i), A, void 0, B ? I.bind(null, w.pointerId) : void 0, B ? C.bind(null, w.pointerId) : void 0, i), y != "move" && y != "wheel" && (p.setIntersection(p.computeIntersection("pointer", e, w)), p.commit(w, !1)), Q.set(w.pointerId, p)), p;
1947
+ }, n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), E = [], s = [], c = (w, y, p) => {
1948
+ switch (w) {
1943
1949
  case "move":
1944
- d.move(e, w);
1950
+ p.move(e, y);
1951
+ return;
1952
+ case "over":
1953
+ p.move(e, y);
1945
1954
  return;
1946
1955
  case "wheel":
1947
- d.wheel(e, w);
1956
+ p.wheel(e, y);
1948
1957
  return;
1949
1958
  case "cancel":
1950
- d.cancel(w);
1959
+ p.cancel(y);
1951
1960
  return;
1952
1961
  case "down":
1953
- if (!Pc(w))
1962
+ if (!Pc(y))
1954
1963
  return;
1955
- d.down(w);
1964
+ p.down(y);
1956
1965
  return;
1957
1966
  case "up":
1958
- if (!Pc(w))
1967
+ if (!Pc(y))
1959
1968
  return;
1960
- d.up(w);
1969
+ p.up(y);
1961
1970
  return;
1962
1971
  case "exit":
1963
- a.delete(d), n.delete(d), d.exit(w);
1972
+ a.delete(p), n.delete(p), p.exit(y);
1964
1973
  return;
1965
1974
  }
1966
- }, l = (v, w) => {
1967
- const d = o(w, v);
1968
- v === "move" && a.set(d, w), v === "wheel" && n.set(d, w), i.batchEvents ?? !0 ? s.push({ type: v, event: w }) : c(v, w, d);
1969
- }, h = l.bind(null, "move"), u = l.bind(null, "cancel"), D = l.bind(null, "down"), y = l.bind(null, "up"), M = l.bind(null, "wheel"), f = l.bind(null, "exit");
1970
- return g.addEventListener("pointermove", h), g.addEventListener("pointercancel", u), g.addEventListener("pointerdown", D), g.addEventListener("pointerup", y), g.addEventListener("wheel", M), g.addEventListener("pointerleave", f), {
1975
+ }, l = (w, y) => {
1976
+ const p = o(y, w);
1977
+ w === "move" && a.set(p, y), w === "wheel" && n.set(p, y), i.batchEvents ?? !0 ? s.push({ type: w, event: y }) : c(w, y, p);
1978
+ }, h = l.bind(null, "move"), u = l.bind(null, "over"), D = l.bind(null, "cancel"), d = l.bind(null, "down"), v = l.bind(null, "up"), f = l.bind(null, "wheel"), M = l.bind(null, "exit");
1979
+ return g.addEventListener("pointermove", h), g.addEventListener("pointerover", u), g.addEventListener("pointercancel", D), g.addEventListener("pointerdown", d), g.addEventListener("pointerup", v), g.addEventListener("wheel", f), g.addEventListener("pointerleave", M), {
1971
1980
  destroy() {
1972
- g.removeEventListener("pointermove", h), g.removeEventListener("pointercancel", u), g.removeEventListener("pointerdown", D), g.removeEventListener("pointerup", y), g.removeEventListener("wheel", M), g.removeEventListener("pointerleave", f), a.clear(), n.clear();
1981
+ g.removeEventListener("pointermove", h), g.removeEventListener("pointerover", u), g.removeEventListener("pointercancel", D), g.removeEventListener("pointerdown", d), g.removeEventListener("pointerup", v), g.removeEventListener("wheel", f), g.removeEventListener("pointerleave", M), a.clear(), n.clear();
1973
1982
  },
1974
1983
  update() {
1975
- const v = s.length;
1976
- for (let w = 0; w < v; w++) {
1977
- const { type: d, event: p } = s[w], F = o(p, d);
1978
- if (d === "move" && (E.push(F), a.get(F) != p)) {
1979
- F.emitMove(p);
1984
+ const w = s.length;
1985
+ for (let y = 0; y < w; y++) {
1986
+ const { type: p, event: F } = s[y], R = o(F, p);
1987
+ if (p === "move" && (E.push(R), a.get(R) != F)) {
1988
+ R.emitMove(F);
1980
1989
  continue;
1981
1990
  }
1982
- if (d === "wheel" && n.get(F) != p) {
1983
- F.emitWheel(p);
1991
+ if (p === "wheel" && n.get(R) != F) {
1992
+ R.emitWheel(F);
1984
1993
  continue;
1985
1994
  }
1986
- c(d, p, F);
1995
+ c(p, F, R);
1987
1996
  }
1988
1997
  if (s.length = 0, i.intersectEveryFrame ?? !1)
1989
- for (const [w, d] of a.entries())
1990
- E.includes(w) || w.move(e, d);
1998
+ for (const [y, p] of a.entries())
1999
+ E.includes(y) || y.move(e, p);
1991
2000
  E.length = 0;
1992
2001
  }
1993
2002
  };
@@ -2117,31 +2126,31 @@ function Mk({ scene: g, canvas: A, options: e, contextParts: { sizes: t, camera:
2117
2126
  const u = /* @__PURE__ */ GB(), D = () => {
2118
2127
  B.value = s.value ? 1 : Math.max(0, B.value - 1), u.trigger(i);
2119
2128
  };
2120
- let y = (w) => {
2129
+ let d = (w) => {
2121
2130
  I.activeCamera.value && (i.render(g.value, I.activeCamera.value), w());
2122
2131
  };
2123
- const M = (w) => {
2124
- y = w;
2132
+ const v = (w) => {
2133
+ d = w;
2125
2134
  }, f = vk(() => {
2126
- B.value && y(D);
2135
+ B.value && d(D);
2127
2136
  });
2128
2137
  l.on(f.start), cg([t.width, t.height], () => {
2129
2138
  i.setSize(t.width.value, t.height.value), !h && i.domElement.width && i.domElement.height && (l.trigger(i), h = !0), E();
2130
2139
  }, { immediate: !0 }), Gg(() => {
2131
2140
  pk(i, t.pixelRatio.value, HA(e.dpr));
2132
2141
  }), HA(e.renderMode) === "on-demand" && n(), HA(e.renderMode) === "manual" && NN(100, { callback: a });
2133
- const v = ng(() => {
2134
- const w = HA(e.clearColor), d = HA(e.clearAlpha), p = typeof w == "string" && w.length === 9 && w.startsWith("#");
2135
- return p && d !== void 0 && fk(`clearColor with alpha (e.g. ${w}) and clearAlpha cannot both be set, using clearColor as source of truth`), p ? {
2142
+ const M = ng(() => {
2143
+ const w = HA(e.clearColor), y = HA(e.clearAlpha), p = typeof w == "string" && w.length === 9 && w.startsWith("#");
2144
+ return p && y !== void 0 && fk(`clearColor with alpha (e.g. ${w}) and clearAlpha cannot both be set, using clearColor as source of truth`), p ? {
2136
2145
  alpha: Number.parseInt(w.slice(7, 9), 16) / 255,
2137
2146
  color: w.slice(0, 7)
2138
2147
  } : {
2139
- alpha: d,
2148
+ alpha: y,
2140
2149
  color: w
2141
2150
  };
2142
2151
  });
2143
2152
  return Gg(() => {
2144
- const w = v.value;
2153
+ const w = M.value;
2145
2154
  w.color === void 0 || w.alpha === void 0 || i.setClearColor(w.color, w.alpha);
2146
2155
  }), Gg(() => {
2147
2156
  const w = e.toneMapping;
@@ -2169,7 +2178,7 @@ function Mk({ scene: g, canvas: A, options: e, contextParts: { sizes: t, camera:
2169
2178
  invalidate: n,
2170
2179
  canBeInvalidated: r,
2171
2180
  mode: HA(e.renderMode),
2172
- replaceRenderFunction: M
2181
+ replaceRenderFunction: v
2173
2182
  };
2174
2183
  }
2175
2184
  function Fk(g, A, e = 10) {
@@ -2262,7 +2271,7 @@ const Wc = /* @__PURE__ */ (() => {
2262
2271
  const g = class extends Zo {
2263
2272
  constructor(e, t = {}) {
2264
2273
  super(e), this.isReflector = !0, this.type = "Reflector", this.camera = new ri();
2265
- const I = this, C = t.color !== void 0 ? new EC(t.color) : new EC(8355711), i = t.textureWidth || 512, B = t.textureHeight || 512, Q = t.clipBias || 0, r = t.shader || g.ReflectorShader, o = t.multisample !== void 0 ? t.multisample : 4, n = new vi(), a = new DA(), E = new DA(), s = new DA(), c = new CI(), l = new DA(0, 0, -1), h = new Ic(), u = new DA(), D = new DA(), y = new Ic(), M = new CI(), f = this.camera, v = new FF(i, B, {
2274
+ const I = this, C = t.color !== void 0 ? new EC(t.color) : new EC(8355711), i = t.textureWidth || 512, B = t.textureHeight || 512, Q = t.clipBias || 0, r = t.shader || g.ReflectorShader, o = t.multisample !== void 0 ? t.multisample : 4, n = new vi(), a = new DA(), E = new DA(), s = new DA(), c = new CI(), l = new DA(0, 0, -1), h = new Ic(), u = new DA(), D = new DA(), d = new Ic(), v = new CI(), f = this.camera, M = new FF(i, B, {
2266
2275
  samples: o,
2267
2276
  type: RF
2268
2277
  }), w = new fl({
@@ -2270,26 +2279,26 @@ const Wc = /* @__PURE__ */ (() => {
2270
2279
  fragmentShader: r.fragmentShader,
2271
2280
  vertexShader: r.vertexShader
2272
2281
  });
2273
- w.uniforms.tDiffuse.value = v.texture, w.uniforms.color.value = C, w.uniforms.textureMatrix.value = M, this.material = w, this.onBeforeRender = function(d, p, F) {
2282
+ w.uniforms.tDiffuse.value = M.texture, w.uniforms.color.value = C, w.uniforms.textureMatrix.value = v, this.material = w, this.onBeforeRender = function(y, p, F) {
2274
2283
  if (E.setFromMatrixPosition(I.matrixWorld), s.setFromMatrixPosition(F.matrixWorld), c.extractRotation(I.matrixWorld), a.set(0, 0, 1), a.applyMatrix4(c), u.subVectors(E, s), u.dot(a) > 0)
2275
2284
  return;
2276
- u.reflect(a).negate(), u.add(E), c.extractRotation(F.matrixWorld), l.set(0, 0, -1), l.applyMatrix4(c), l.add(s), D.subVectors(E, l), D.reflect(a).negate(), D.add(E), f.position.copy(u), f.up.set(0, 1, 0), f.up.applyMatrix4(c), f.up.reflect(a), f.lookAt(D), f.far = F.far, f.updateMatrixWorld(), f.projectionMatrix.copy(F.projectionMatrix), M.set(0.5, 0, 0, 0.5, 0, 0.5, 0, 0.5, 0, 0, 0.5, 0.5, 0, 0, 0, 1), M.multiply(f.projectionMatrix), M.multiply(f.matrixWorldInverse), M.multiply(I.matrixWorld), n.setFromNormalAndCoplanarPoint(a, E), n.applyMatrix4(f.matrixWorldInverse), h.set(
2285
+ u.reflect(a).negate(), u.add(E), c.extractRotation(F.matrixWorld), l.set(0, 0, -1), l.applyMatrix4(c), l.add(s), D.subVectors(E, l), D.reflect(a).negate(), D.add(E), f.position.copy(u), f.up.set(0, 1, 0), f.up.applyMatrix4(c), f.up.reflect(a), f.lookAt(D), f.far = F.far, f.updateMatrixWorld(), f.projectionMatrix.copy(F.projectionMatrix), v.set(0.5, 0, 0, 0.5, 0, 0.5, 0, 0.5, 0, 0, 0.5, 0.5, 0, 0, 0, 1), v.multiply(f.projectionMatrix), v.multiply(f.matrixWorldInverse), v.multiply(I.matrixWorld), n.setFromNormalAndCoplanarPoint(a, E), n.applyMatrix4(f.matrixWorldInverse), h.set(
2277
2286
  n.normal.x,
2278
2287
  n.normal.y,
2279
2288
  n.normal.z,
2280
2289
  n.constant
2281
2290
  );
2282
2291
  const R = f.projectionMatrix;
2283
- y.x = (Math.sign(h.x) + R.elements[8]) / R.elements[0], y.y = (Math.sign(h.y) + R.elements[9]) / R.elements[5], y.z = -1, y.w = (1 + R.elements[10]) / R.elements[14], h.multiplyScalar(2 / h.dot(y)), R.elements[2] = h.x, R.elements[6] = h.y, R.elements[10] = h.z + 1 - Q, R.elements[14] = h.w, I.visible = !1;
2284
- const m = d.getRenderTarget(), L = d.xr.enabled, Y = d.shadowMap.autoUpdate, H = d.toneMapping;
2292
+ d.x = (Math.sign(h.x) + R.elements[8]) / R.elements[0], d.y = (Math.sign(h.y) + R.elements[9]) / R.elements[5], d.z = -1, d.w = (1 + R.elements[10]) / R.elements[14], h.multiplyScalar(2 / h.dot(d)), R.elements[2] = h.x, R.elements[6] = h.y, R.elements[10] = h.z + 1 - Q, R.elements[14] = h.w, I.visible = !1;
2293
+ const m = y.getRenderTarget(), L = y.xr.enabled, Y = y.shadowMap.autoUpdate, H = y.toneMapping;
2285
2294
  let V = !1;
2286
- "outputColorSpace" in d ? V = d.outputColorSpace === "srgb" : V = d.outputEncoding === 3001, d.xr.enabled = !1, d.shadowMap.autoUpdate = !1, "outputColorSpace" in d ? d.outputColorSpace = "srgb-linear" : d.outputEncoding = 3e3, d.toneMapping = SF, d.setRenderTarget(v), d.state.buffers.depth.setMask(!0), d.autoClear === !1 && d.clear(), d.render(p, f), d.xr.enabled = L, d.shadowMap.autoUpdate = Y, d.toneMapping = H, "outputColorSpace" in d ? d.outputColorSpace = V ? "srgb" : "srgb-linear" : d.outputEncoding = V ? 3001 : 3e3, d.setRenderTarget(m);
2295
+ "outputColorSpace" in y ? V = y.outputColorSpace === "srgb" : V = y.outputEncoding === 3001, y.xr.enabled = !1, y.shadowMap.autoUpdate = !1, "outputColorSpace" in y ? y.outputColorSpace = "srgb-linear" : y.outputEncoding = 3e3, y.toneMapping = SF, y.setRenderTarget(M), y.state.buffers.depth.setMask(!0), y.autoClear === !1 && y.clear(), y.render(p, f), y.xr.enabled = L, y.shadowMap.autoUpdate = Y, y.toneMapping = H, "outputColorSpace" in y ? y.outputColorSpace = V ? "srgb" : "srgb-linear" : y.outputEncoding = V ? 3001 : 3e3, y.setRenderTarget(m);
2287
2296
  const x = F.viewport;
2288
- x !== void 0 && d.state.viewport(x), I.visible = !0;
2297
+ x !== void 0 && y.state.viewport(x), I.visible = !0;
2289
2298
  }, this.getRenderTarget = function() {
2290
- return v;
2299
+ return M;
2291
2300
  }, this.dispose = function() {
2292
- v.dispose(), I.material.dispose();
2301
+ M.dispose(), I.material.dispose();
2293
2302
  };
2294
2303
  }
2295
2304
  };
@@ -2476,15 +2485,15 @@ class fy extends uy {
2476
2485
  const tc = t.object.position;
2477
2486
  BA.setFromUnitVectors(A.up, Z), FA.copy(BA).invert(), J.copy(tc).sub(t.target), J.applyQuaternion(BA), o.setFromVector3(J), t.autoRotate && Q === B.NONE && L(R()), t.enableDamping ? (o.theta += n.theta * t.dampingFactor, o.phi += n.phi * t.dampingFactor) : (o.theta += n.theta, o.phi += n.phi);
2478
2487
  let Et = t.minAzimuthAngle, st = t.maxAzimuthAngle;
2479
- isFinite(Et) && isFinite(st) && (Et < -Math.PI ? Et += me : Et > Math.PI && (Et -= me), st < -Math.PI ? st += me : st > Math.PI && (st -= me), Et <= st ? o.theta = Math.max(Et, Math.min(st, o.theta)) : o.theta = o.theta > (Et + st) / 2 ? Math.max(Et, o.theta) : Math.min(st, o.theta)), o.phi = Math.max(t.minPolarAngle, Math.min(t.maxPolarAngle, o.phi)), o.makeSafe(), t.enableDamping === !0 ? t.target.addScaledVector(E, t.dampingFactor) : t.target.add(E), t.zoomToCursor && d || t.object.isOrthographicCamera ? o.radius = iA(o.radius) : o.radius = iA(o.radius * a), J.setFromSpherical(o), J.applyQuaternion(FA), tc.copy(t.target).add(J), t.object.matrixAutoUpdate || t.object.updateMatrix(), t.object.lookAt(t.target), t.enableDamping === !0 ? (n.theta *= 1 - t.dampingFactor, n.phi *= 1 - t.dampingFactor, E.multiplyScalar(1 - t.dampingFactor)) : (n.set(0, 0, 0), E.set(0, 0, 0));
2488
+ isFinite(Et) && isFinite(st) && (Et < -Math.PI ? Et += me : Et > Math.PI && (Et -= me), st < -Math.PI ? st += me : st > Math.PI && (st -= me), Et <= st ? o.theta = Math.max(Et, Math.min(st, o.theta)) : o.theta = o.theta > (Et + st) / 2 ? Math.max(Et, o.theta) : Math.min(st, o.theta)), o.phi = Math.max(t.minPolarAngle, Math.min(t.maxPolarAngle, o.phi)), o.makeSafe(), t.enableDamping === !0 ? t.target.addScaledVector(E, t.dampingFactor) : t.target.add(E), t.zoomToCursor && y || t.object.isOrthographicCamera ? o.radius = iA(o.radius) : o.radius = iA(o.radius * a), J.setFromSpherical(o), J.applyQuaternion(FA), tc.copy(t.target).add(J), t.object.matrixAutoUpdate || t.object.updateMatrix(), t.object.lookAt(t.target), t.enableDamping === !0 ? (n.theta *= 1 - t.dampingFactor, n.phi *= 1 - t.dampingFactor, E.multiplyScalar(1 - t.dampingFactor)) : (n.set(0, 0, 0), E.set(0, 0, 0));
2480
2489
  let mi = !1;
2481
- if (t.zoomToCursor && d) {
2490
+ if (t.zoomToCursor && y) {
2482
2491
  let Ni = null;
2483
2492
  if (t.object instanceof ri && t.object.isPerspectiveCamera) {
2484
2493
  const ki = J.length();
2485
2494
  Ni = iA(ki * a);
2486
2495
  const GQ = ki - Ni;
2487
- t.object.position.addScaledVector(v, GQ), t.object.updateMatrixWorld();
2496
+ t.object.position.addScaledVector(M, GQ), t.object.updateMatrixWorld();
2488
2497
  } else if (t.object.isOrthographicCamera) {
2489
2498
  const ki = new DA(w.x, w.y, 0);
2490
2499
  ki.unproject(t.object), t.object.zoom = Math.max(t.minZoom, Math.min(t.maxZoom, t.object.zoom / a)), t.object.updateProjectionMatrix(), mi = !0;
@@ -2494,7 +2503,7 @@ class fy extends uy {
2494
2503
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), t.zoomToCursor = !1;
2495
2504
  Ni !== null && (t.screenSpacePanning ? t.target.set(0, 0, -1).transformDirection(t.object.matrix).multiplyScalar(Ni).add(t.object.position) : (UQ.origin.copy(t.object.position), UQ.direction.set(0, 0, -1).transformDirection(t.object.matrix), Math.abs(t.object.up.dot(UQ.direction)) < Pk ? A.lookAt(t.target) : (Xc.setFromNormalAndCoplanarPoint(t.object.up, t.target), UQ.intersectPlane(Xc, t.target))));
2496
2505
  } else t.object instanceof zt && t.object.isOrthographicCamera && (mi = a !== 1, mi && (t.object.zoom = Math.max(t.minZoom, Math.min(t.maxZoom, t.object.zoom / a)), t.object.updateProjectionMatrix()));
2497
- return a = 1, d = !1, mi || GA.distanceToSquared(t.object.position) > r || 8 * (1 - Cg.dot(t.object.quaternion)) > r ? (t.dispatchEvent(I), GA.copy(t.object.position), Cg.copy(t.object.quaternion), mi = !1, !0) : !1;
2506
+ return a = 1, y = !1, mi || GA.distanceToSquared(t.object.position) > r || 8 * (1 - Cg.dot(t.object.quaternion)) > r ? (t.dispatchEvent(I), GA.copy(t.object.position), Cg.copy(t.object.quaternion), mi = !1, !0) : !1;
2498
2507
  };
2499
2508
  })(), this.connect = (J) => {
2500
2509
  t.domElement = J, t.domElement.style.touchAction = "none", t.domElement.addEventListener("contextmenu", G), t.domElement.addEventListener("pointerdown", OA), t.domElement.addEventListener("pointercancel", X), t.domElement.addEventListener("wheel", kt);
@@ -2515,8 +2524,8 @@ class fy extends uy {
2515
2524
  let Q = B.NONE;
2516
2525
  const r = 1e-6, o = new Cc(), n = new Cc();
2517
2526
  let a = 1;
2518
- const E = new DA(), s = new rg(), c = new rg(), l = new rg(), h = new rg(), u = new rg(), D = new rg(), y = new rg(), M = new rg(), f = new rg(), v = new DA(), w = new rg();
2519
- let d = !1;
2527
+ const E = new DA(), s = new rg(), c = new rg(), l = new rg(), h = new rg(), u = new rg(), D = new rg(), d = new rg(), v = new rg(), f = new rg(), M = new DA(), w = new rg();
2528
+ let y = !1;
2520
2529
  const p = [], F = {};
2521
2530
  function R() {
2522
2531
  return 2 * Math.PI / 60 / 60 * t.autoRotateSpeed;
@@ -2570,9 +2579,9 @@ class fy extends uy {
2570
2579
  function eA(J) {
2571
2580
  if (!t.zoomToCursor || !t.domElement)
2572
2581
  return;
2573
- d = !0;
2582
+ y = !0;
2574
2583
  const Z = t.domElement.getBoundingClientRect(), BA = J.clientX - Z.left, FA = J.clientY - Z.top, GA = Z.width, Cg = Z.height;
2575
- w.x = BA / GA * 2 - 1, w.y = -(FA / Cg) * 2 + 1, v.set(w.x, w.y, 1).unproject(t.object).sub(t.object.position).normalize();
2584
+ w.x = BA / GA * 2 - 1, w.y = -(FA / Cg) * 2 + 1, M.set(w.x, w.y, 1).unproject(t.object).sub(t.object.position).normalize();
2576
2585
  }
2577
2586
  function iA(J) {
2578
2587
  return Math.max(t.minDistance, Math.min(t.maxDistance, J));
@@ -2581,7 +2590,7 @@ class fy extends uy {
2581
2590
  s.set(J.clientX, J.clientY);
2582
2591
  }
2583
2592
  function MA(J) {
2584
- eA(J), y.set(J.clientX, J.clientY);
2593
+ eA(J), d.set(J.clientX, J.clientY);
2585
2594
  }
2586
2595
  function JA(J) {
2587
2596
  h.set(J.clientX, J.clientY);
@@ -2592,7 +2601,7 @@ class fy extends uy {
2592
2601
  Z && (L(2 * Math.PI * l.x / Z.clientHeight), Y(2 * Math.PI * l.y / Z.clientHeight)), s.copy(c), t.update();
2593
2602
  }
2594
2603
  function q(J) {
2595
- M.set(J.clientX, J.clientY), f.subVectors(M, y), f.y > 0 ? W(m()) : f.y < 0 && $(m()), y.copy(M), t.update();
2604
+ v.set(J.clientX, J.clientY), f.subVectors(v, d), f.y > 0 ? W(m()) : f.y < 0 && $(m()), d.copy(v), t.update();
2596
2605
  }
2597
2606
  function S(J) {
2598
2607
  u.set(J.clientX, J.clientY), D.subVectors(u, h).multiplyScalar(t.panSpeed), x(D.x, D.y), h.copy(u), t.update();
@@ -2636,7 +2645,7 @@ class fy extends uy {
2636
2645
  }
2637
2646
  function P() {
2638
2647
  const J = p[0].pageX - p[1].pageX, Z = p[0].pageY - p[1].pageY, BA = Math.sqrt(J * J + Z * Z);
2639
- y.set(0, BA);
2648
+ d.set(0, BA);
2640
2649
  }
2641
2650
  function AA() {
2642
2651
  t.enableZoom && P(), t.enablePan && T();
@@ -2666,7 +2675,7 @@ class fy extends uy {
2666
2675
  }
2667
2676
  function xA(J) {
2668
2677
  const Z = aA(J), BA = J.pageX - Z.x, FA = J.pageY - Z.y, GA = Math.sqrt(BA * BA + FA * FA);
2669
- M.set(0, GA), f.set(0, Math.pow(M.y / y.y, t.zoomSpeed)), W(f.y), y.copy(M);
2678
+ v.set(0, GA), f.set(0, Math.pow(v.y / d.y, t.zoomSpeed)), W(f.y), d.copy(v);
2670
2679
  }
2671
2680
  function Ag(J) {
2672
2681
  t.enableZoom && xA(J), t.enablePan && yA(J);
@@ -2895,10 +2904,10 @@ function Wk() {
2895
2904
  })({ 1: [function(e, t, I) {
2896
2905
  (function(C, i, B, Q, r, o, n, a, E) {
2897
2906
  var s = e("crypto");
2898
- function c(f, v) {
2899
- v = u(f, v);
2907
+ function c(f, M) {
2908
+ M = u(f, M);
2900
2909
  var w;
2901
- return (w = v.algorithm !== "passthrough" ? s.createHash(v.algorithm) : new M()).write === void 0 && (w.write = w.update, w.end = w.update), y(v, w).dispatch(f), w.update || w.end(""), w.digest ? w.digest(v.encoding === "buffer" ? void 0 : v.encoding) : (f = w.read(), v.encoding !== "buffer" ? f.toString(v.encoding) : f);
2910
+ return (w = M.algorithm !== "passthrough" ? s.createHash(M.algorithm) : new v()).write === void 0 && (w.write = w.update, w.end = w.update), d(M, w).dispatch(f), w.update || w.end(""), w.digest ? w.digest(M.encoding === "buffer" ? void 0 : M.encoding) : (f = w.read(), M.encoding !== "buffer" ? f.toString(M.encoding) : f);
2902
2911
  }
2903
2912
  (I = t.exports = c).sha1 = function(f) {
2904
2913
  return c(f);
@@ -2910,10 +2919,10 @@ function Wk() {
2910
2919
  return c(f, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
2911
2920
  };
2912
2921
  var l = s.getHashes ? s.getHashes().slice() : ["sha1", "md5"], h = (l.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
2913
- function u(f, v) {
2922
+ function u(f, M) {
2914
2923
  var w = {};
2915
- if (w.algorithm = (v = v || {}).algorithm || "sha1", w.encoding = v.encoding || "hex", w.excludeValues = !!v.excludeValues, w.algorithm = w.algorithm.toLowerCase(), w.encoding = w.encoding.toLowerCase(), w.ignoreUnknown = v.ignoreUnknown === !0, w.respectType = v.respectType !== !1, w.respectFunctionNames = v.respectFunctionNames !== !1, w.respectFunctionProperties = v.respectFunctionProperties !== !1, w.unorderedArrays = v.unorderedArrays === !0, w.unorderedSets = v.unorderedSets !== !1, w.unorderedObjects = v.unorderedObjects !== !1, w.replacer = v.replacer || void 0, w.excludeKeys = v.excludeKeys || void 0, f === void 0) throw new Error("Object argument required.");
2916
- for (var d = 0; d < l.length; ++d) l[d].toLowerCase() === w.algorithm.toLowerCase() && (w.algorithm = l[d]);
2924
+ if (w.algorithm = (M = M || {}).algorithm || "sha1", w.encoding = M.encoding || "hex", w.excludeValues = !!M.excludeValues, w.algorithm = w.algorithm.toLowerCase(), w.encoding = w.encoding.toLowerCase(), w.ignoreUnknown = M.ignoreUnknown === !0, w.respectType = M.respectType !== !1, w.respectFunctionNames = M.respectFunctionNames !== !1, w.respectFunctionProperties = M.respectFunctionProperties !== !1, w.unorderedArrays = M.unorderedArrays === !0, w.unorderedSets = M.unorderedSets !== !1, w.unorderedObjects = M.unorderedObjects !== !1, w.replacer = M.replacer || void 0, w.excludeKeys = M.excludeKeys || void 0, f === void 0) throw new Error("Object argument required.");
2925
+ for (var y = 0; y < l.length; ++y) l[y].toLowerCase() === w.algorithm.toLowerCase() && (w.algorithm = l[y]);
2917
2926
  if (l.indexOf(w.algorithm) === -1) throw new Error('Algorithm "' + w.algorithm + '" not supported. supported values: ' + l.join(", "));
2918
2927
  if (h.indexOf(w.encoding) === -1 && w.algorithm !== "passthrough") throw new Error('Encoding "' + w.encoding + '" not supported. supported values: ' + h.join(", "));
2919
2928
  return w;
@@ -2921,135 +2930,135 @@ function Wk() {
2921
2930
  function D(f) {
2922
2931
  if (typeof f == "function") return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(f)) != null;
2923
2932
  }
2924
- function y(f, v, w) {
2933
+ function d(f, M, w) {
2925
2934
  w = w || [];
2926
- function d(p) {
2927
- return v.update ? v.update(p, "utf8") : v.write(p, "utf8");
2935
+ function y(p) {
2936
+ return M.update ? M.update(p, "utf8") : M.write(p, "utf8");
2928
2937
  }
2929
2938
  return { dispatch: function(p) {
2930
2939
  return this["_" + ((p = f.replacer ? f.replacer(p) : p) === null ? "null" : typeof p)](p);
2931
2940
  }, _object: function(p) {
2932
2941
  var F, R = Object.prototype.toString.call(p), m = /\[object (.*)\]/i.exec(R);
2933
2942
  if (m = (m = m ? m[1] : "unknown:[" + R + "]").toLowerCase(), 0 <= (R = w.indexOf(p))) return this.dispatch("[CIRCULAR:" + R + "]");
2934
- if (w.push(p), B !== void 0 && B.isBuffer && B.isBuffer(p)) return d("buffer:"), d(p);
2943
+ if (w.push(p), B !== void 0 && B.isBuffer && B.isBuffer(p)) return y("buffer:"), y(p);
2935
2944
  if (m === "object" || m === "function" || m === "asyncfunction") return R = Object.keys(p), f.unorderedObjects && (R = R.sort()), f.respectType === !1 || D(p) || R.splice(0, 0, "prototype", "__proto__", "constructor"), f.excludeKeys && (R = R.filter(function(L) {
2936
2945
  return !f.excludeKeys(L);
2937
- })), d("object:" + R.length + ":"), F = this, R.forEach(function(L) {
2938
- F.dispatch(L), d(":"), f.excludeValues || F.dispatch(p[L]), d(",");
2946
+ })), y("object:" + R.length + ":"), F = this, R.forEach(function(L) {
2947
+ F.dispatch(L), y(":"), f.excludeValues || F.dispatch(p[L]), y(",");
2939
2948
  });
2940
2949
  if (!this["_" + m]) {
2941
- if (f.ignoreUnknown) return d("[" + m + "]");
2950
+ if (f.ignoreUnknown) return y("[" + m + "]");
2942
2951
  throw new Error('Unknown object type "' + m + '"');
2943
2952
  }
2944
2953
  this["_" + m](p);
2945
2954
  }, _array: function(p, L) {
2946
2955
  L = L !== void 0 ? L : f.unorderedArrays !== !1;
2947
2956
  var R = this;
2948
- if (d("array:" + p.length + ":"), !L || p.length <= 1) return p.forEach(function(Y) {
2957
+ if (y("array:" + p.length + ":"), !L || p.length <= 1) return p.forEach(function(Y) {
2949
2958
  return R.dispatch(Y);
2950
2959
  });
2951
2960
  var m = [], L = p.map(function(Y) {
2952
- var H = new M(), V = w.slice();
2953
- return y(f, H, V).dispatch(Y), m = m.concat(V.slice(w.length)), H.read().toString();
2961
+ var H = new v(), V = w.slice();
2962
+ return d(f, H, V).dispatch(Y), m = m.concat(V.slice(w.length)), H.read().toString();
2954
2963
  });
2955
2964
  return w = w.concat(m), L.sort(), this._array(L, !1);
2956
2965
  }, _date: function(p) {
2957
- return d("date:" + p.toJSON());
2966
+ return y("date:" + p.toJSON());
2958
2967
  }, _symbol: function(p) {
2959
- return d("symbol:" + p.toString());
2968
+ return y("symbol:" + p.toString());
2960
2969
  }, _error: function(p) {
2961
- return d("error:" + p.toString());
2970
+ return y("error:" + p.toString());
2962
2971
  }, _boolean: function(p) {
2963
- return d("bool:" + p.toString());
2972
+ return y("bool:" + p.toString());
2964
2973
  }, _string: function(p) {
2965
- d("string:" + p.length + ":"), d(p.toString());
2974
+ y("string:" + p.length + ":"), y(p.toString());
2966
2975
  }, _function: function(p) {
2967
- d("fn:"), D(p) ? this.dispatch("[native]") : this.dispatch(p.toString()), f.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(p.name)), f.respectFunctionProperties && this._object(p);
2976
+ y("fn:"), D(p) ? this.dispatch("[native]") : this.dispatch(p.toString()), f.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(p.name)), f.respectFunctionProperties && this._object(p);
2968
2977
  }, _number: function(p) {
2969
- return d("number:" + p.toString());
2978
+ return y("number:" + p.toString());
2970
2979
  }, _xml: function(p) {
2971
- return d("xml:" + p.toString());
2980
+ return y("xml:" + p.toString());
2972
2981
  }, _null: function() {
2973
- return d("Null");
2982
+ return y("Null");
2974
2983
  }, _undefined: function() {
2975
- return d("Undefined");
2984
+ return y("Undefined");
2976
2985
  }, _regexp: function(p) {
2977
- return d("regex:" + p.toString());
2986
+ return y("regex:" + p.toString());
2978
2987
  }, _uint8array: function(p) {
2979
- return d("uint8array:"), this.dispatch(Array.prototype.slice.call(p));
2988
+ return y("uint8array:"), this.dispatch(Array.prototype.slice.call(p));
2980
2989
  }, _uint8clampedarray: function(p) {
2981
- return d("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(p));
2990
+ return y("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(p));
2982
2991
  }, _int8array: function(p) {
2983
- return d("int8array:"), this.dispatch(Array.prototype.slice.call(p));
2992
+ return y("int8array:"), this.dispatch(Array.prototype.slice.call(p));
2984
2993
  }, _uint16array: function(p) {
2985
- return d("uint16array:"), this.dispatch(Array.prototype.slice.call(p));
2994
+ return y("uint16array:"), this.dispatch(Array.prototype.slice.call(p));
2986
2995
  }, _int16array: function(p) {
2987
- return d("int16array:"), this.dispatch(Array.prototype.slice.call(p));
2996
+ return y("int16array:"), this.dispatch(Array.prototype.slice.call(p));
2988
2997
  }, _uint32array: function(p) {
2989
- return d("uint32array:"), this.dispatch(Array.prototype.slice.call(p));
2998
+ return y("uint32array:"), this.dispatch(Array.prototype.slice.call(p));
2990
2999
  }, _int32array: function(p) {
2991
- return d("int32array:"), this.dispatch(Array.prototype.slice.call(p));
3000
+ return y("int32array:"), this.dispatch(Array.prototype.slice.call(p));
2992
3001
  }, _float32array: function(p) {
2993
- return d("float32array:"), this.dispatch(Array.prototype.slice.call(p));
3002
+ return y("float32array:"), this.dispatch(Array.prototype.slice.call(p));
2994
3003
  }, _float64array: function(p) {
2995
- return d("float64array:"), this.dispatch(Array.prototype.slice.call(p));
3004
+ return y("float64array:"), this.dispatch(Array.prototype.slice.call(p));
2996
3005
  }, _arraybuffer: function(p) {
2997
- return d("arraybuffer:"), this.dispatch(new Uint8Array(p));
3006
+ return y("arraybuffer:"), this.dispatch(new Uint8Array(p));
2998
3007
  }, _url: function(p) {
2999
- return d("url:" + p.toString());
3008
+ return y("url:" + p.toString());
3000
3009
  }, _map: function(p) {
3001
- return d("map:"), p = Array.from(p), this._array(p, f.unorderedSets !== !1);
3010
+ return y("map:"), p = Array.from(p), this._array(p, f.unorderedSets !== !1);
3002
3011
  }, _set: function(p) {
3003
- return d("set:"), p = Array.from(p), this._array(p, f.unorderedSets !== !1);
3012
+ return y("set:"), p = Array.from(p), this._array(p, f.unorderedSets !== !1);
3004
3013
  }, _file: function(p) {
3005
- return d("file:"), this.dispatch([p.name, p.size, p.type, p.lastModfied]);
3014
+ return y("file:"), this.dispatch([p.name, p.size, p.type, p.lastModfied]);
3006
3015
  }, _blob: function() {
3007
- if (f.ignoreUnknown) return d("[blob]");
3016
+ if (f.ignoreUnknown) return y("[blob]");
3008
3017
  throw Error(`Hashing Blob objects is currently not supported
3009
3018
  (see https://github.com/puleos/object-hash/issues/26)
3010
3019
  Use "options.replacer" or "options.ignoreUnknown"
3011
3020
  `);
3012
3021
  }, _domwindow: function() {
3013
- return d("domwindow");
3022
+ return y("domwindow");
3014
3023
  }, _bigint: function(p) {
3015
- return d("bigint:" + p.toString());
3024
+ return y("bigint:" + p.toString());
3016
3025
  }, _process: function() {
3017
- return d("process");
3026
+ return y("process");
3018
3027
  }, _timer: function() {
3019
- return d("timer");
3028
+ return y("timer");
3020
3029
  }, _pipe: function() {
3021
- return d("pipe");
3030
+ return y("pipe");
3022
3031
  }, _tcp: function() {
3023
- return d("tcp");
3032
+ return y("tcp");
3024
3033
  }, _udp: function() {
3025
- return d("udp");
3034
+ return y("udp");
3026
3035
  }, _tty: function() {
3027
- return d("tty");
3036
+ return y("tty");
3028
3037
  }, _statwatcher: function() {
3029
- return d("statwatcher");
3038
+ return y("statwatcher");
3030
3039
  }, _securecontext: function() {
3031
- return d("securecontext");
3040
+ return y("securecontext");
3032
3041
  }, _connection: function() {
3033
- return d("connection");
3042
+ return y("connection");
3034
3043
  }, _zlib: function() {
3035
- return d("zlib");
3044
+ return y("zlib");
3036
3045
  }, _context: function() {
3037
- return d("context");
3046
+ return y("context");
3038
3047
  }, _nodescript: function() {
3039
- return d("nodescript");
3048
+ return y("nodescript");
3040
3049
  }, _httpparser: function() {
3041
- return d("httpparser");
3050
+ return y("httpparser");
3042
3051
  }, _dataview: function() {
3043
- return d("dataview");
3052
+ return y("dataview");
3044
3053
  }, _signal: function() {
3045
- return d("signal");
3054
+ return y("signal");
3046
3055
  }, _fsevent: function() {
3047
- return d("fsevent");
3056
+ return y("fsevent");
3048
3057
  }, _tlswrap: function() {
3049
- return d("tlswrap");
3058
+ return y("tlswrap");
3050
3059
  } };
3051
3060
  }
3052
- function M() {
3061
+ function v() {
3053
3062
  return { buf: "", write: function(f) {
3054
3063
  this.buf += f;
3055
3064
  }, end: function(f) {
@@ -3058,32 +3067,32 @@ Use "options.replacer" or "options.ignoreUnknown"
3058
3067
  return this.buf;
3059
3068
  } };
3060
3069
  }
3061
- I.writeToStream = function(f, v, w) {
3062
- return w === void 0 && (w = v, v = {}), y(v = u(f, v), w).dispatch(f);
3070
+ I.writeToStream = function(f, M, w) {
3071
+ return w === void 0 && (w = M, M = {}), d(M = u(f, M), w).dispatch(f);
3063
3072
  };
3064
3073
  }).call(this, e("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
3065
3074
  }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(e, t, I) {
3066
3075
  (function(C, i, B, Q, r, o, n, a, E) {
3067
3076
  (function(s) {
3068
- var c = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, h = 47, u = 48, D = 97, y = 65, M = 45, f = 95;
3069
- function v(w) {
3070
- return w = w.charCodeAt(0), w === l || w === M ? 62 : w === h || w === f ? 63 : w < u ? -1 : w < u + 10 ? w - u + 26 + 26 : w < y + 26 ? w - y : w < D + 26 ? w - D + 26 : void 0;
3077
+ var c = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, h = 47, u = 48, D = 97, d = 65, v = 45, f = 95;
3078
+ function M(w) {
3079
+ return w = w.charCodeAt(0), w === l || w === v ? 62 : w === h || w === f ? 63 : w < u ? -1 : w < u + 10 ? w - u + 26 + 26 : w < d + 26 ? w - d : w < D + 26 ? w - D + 26 : void 0;
3071
3080
  }
3072
3081
  s.toByteArray = function(w) {
3073
- var d, p;
3082
+ var y, p;
3074
3083
  if (0 < w.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
3075
3084
  var F = w.length, F = w.charAt(F - 2) === "=" ? 2 : w.charAt(F - 1) === "=" ? 1 : 0, R = new c(3 * w.length / 4 - F), m = 0 < F ? w.length - 4 : w.length, L = 0;
3076
3085
  function Y(H) {
3077
3086
  R[L++] = H;
3078
3087
  }
3079
- for (d = 0; d < m; d += 4, 0) Y((16711680 & (p = v(w.charAt(d)) << 18 | v(w.charAt(d + 1)) << 12 | v(w.charAt(d + 2)) << 6 | v(w.charAt(d + 3)))) >> 16), Y((65280 & p) >> 8), Y(255 & p);
3080
- return F == 2 ? Y(255 & (p = v(w.charAt(d)) << 2 | v(w.charAt(d + 1)) >> 4)) : F == 1 && (Y((p = v(w.charAt(d)) << 10 | v(w.charAt(d + 1)) << 4 | v(w.charAt(d + 2)) >> 2) >> 8 & 255), Y(255 & p)), R;
3088
+ for (y = 0; y < m; y += 4, 0) Y((16711680 & (p = M(w.charAt(y)) << 18 | M(w.charAt(y + 1)) << 12 | M(w.charAt(y + 2)) << 6 | M(w.charAt(y + 3)))) >> 16), Y((65280 & p) >> 8), Y(255 & p);
3089
+ return F == 2 ? Y(255 & (p = M(w.charAt(y)) << 2 | M(w.charAt(y + 1)) >> 4)) : F == 1 && (Y((p = M(w.charAt(y)) << 10 | M(w.charAt(y + 1)) << 4 | M(w.charAt(y + 2)) >> 2) >> 8 & 255), Y(255 & p)), R;
3081
3090
  }, s.fromByteArray = function(w) {
3082
- var d, p, F, R, m = w.length % 3, L = "";
3091
+ var y, p, F, R, m = w.length % 3, L = "";
3083
3092
  function Y(H) {
3084
3093
  return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(H);
3085
3094
  }
3086
- for (d = 0, F = w.length - m; d < F; d += 3) p = (w[d] << 16) + (w[d + 1] << 8) + w[d + 2], L += Y((R = p) >> 18 & 63) + Y(R >> 12 & 63) + Y(R >> 6 & 63) + Y(63 & R);
3095
+ for (y = 0, F = w.length - m; y < F; y += 3) p = (w[y] << 16) + (w[y + 1] << 8) + w[y + 2], L += Y((R = p) >> 18 & 63) + Y(R >> 12 & 63) + Y(R >> 6 & 63) + Y(63 & R);
3087
3096
  switch (m) {
3088
3097
  case 1:
3089
3098
  L = (L += Y((p = w[w.length - 1]) >> 2)) + Y(p << 4 & 63) + "==";
@@ -3132,26 +3141,26 @@ Use "options.replacer" or "options.ignoreUnknown"
3132
3141
  for (var T = N; T < U; T++) b += String.fromCharCode(S[T]);
3133
3142
  return b;
3134
3143
  }
3135
- function y(S, N, U, P) {
3144
+ function d(S, N, U, P) {
3136
3145
  P || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 1 < S.length, "Trying to read beyond buffer length"));
3137
3146
  var T, P = S.length;
3138
3147
  if (!(P <= N)) return U ? (T = S[N], N + 1 < P && (T |= S[N + 1] << 8)) : (T = S[N] << 8, N + 1 < P && (T |= S[N + 1])), T;
3139
3148
  }
3140
- function M(S, N, U, P) {
3149
+ function v(S, N, U, P) {
3141
3150
  P || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 3 < S.length, "Trying to read beyond buffer length"));
3142
3151
  var T, P = S.length;
3143
3152
  if (!(P <= N)) return U ? (N + 2 < P && (T = S[N + 2] << 16), N + 1 < P && (T |= S[N + 1] << 8), T |= S[N], N + 3 < P && (T += S[N + 3] << 24 >>> 0)) : (N + 1 < P && (T = S[N + 1] << 16), N + 2 < P && (T |= S[N + 2] << 8), N + 3 < P && (T |= S[N + 3]), T += S[N] << 24 >>> 0), T;
3144
3153
  }
3145
3154
  function f(S, N, U, b) {
3146
- if (b || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 1 < S.length, "Trying to read beyond buffer length")), !(S.length <= N)) return b = y(S, N, U, !0), 32768 & b ? -1 * (65535 - b + 1) : b;
3155
+ if (b || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 1 < S.length, "Trying to read beyond buffer length")), !(S.length <= N)) return b = d(S, N, U, !0), 32768 & b ? -1 * (65535 - b + 1) : b;
3147
3156
  }
3148
- function v(S, N, U, b) {
3149
- if (b || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 3 < S.length, "Trying to read beyond buffer length")), !(S.length <= N)) return b = M(S, N, U, !0), 2147483648 & b ? -1 * (4294967295 - b + 1) : b;
3157
+ function M(S, N, U, b) {
3158
+ if (b || (q(typeof U == "boolean", "missing or invalid endian"), q(N != null, "missing offset"), q(N + 3 < S.length, "Trying to read beyond buffer length")), !(S.length <= N)) return b = v(S, N, U, !0), 2147483648 & b ? -1 * (4294967295 - b + 1) : b;
3150
3159
  }
3151
3160
  function w(S, N, U, b) {
3152
3161
  return b || (q(typeof U == "boolean", "missing or invalid endian"), q(N + 3 < S.length, "Trying to read beyond buffer length")), c.read(S, N, U, 23, 4);
3153
3162
  }
3154
- function d(S, N, U, b) {
3163
+ function y(S, N, U, b) {
3155
3164
  return b || (q(typeof U == "boolean", "missing or invalid endian"), q(N + 7 < S.length, "Trying to read beyond buffer length")), c.read(S, N, U, 52, 8);
3156
3165
  }
3157
3166
  function p(S, N, U, b, T) {
@@ -3337,13 +3346,13 @@ list should be an Array.`), S.length === 0) return new l(0);
3337
3346
  }, l.prototype.readUInt8 = function(S, N) {
3338
3347
  if (N || (q(S != null, "missing offset"), q(S < this.length, "Trying to read beyond buffer length")), !(S >= this.length)) return this[S];
3339
3348
  }, l.prototype.readUInt16LE = function(S, N) {
3340
- return y(this, S, !0, N);
3349
+ return d(this, S, !0, N);
3341
3350
  }, l.prototype.readUInt16BE = function(S, N) {
3342
- return y(this, S, !1, N);
3351
+ return d(this, S, !1, N);
3343
3352
  }, l.prototype.readUInt32LE = function(S, N) {
3344
- return M(this, S, !0, N);
3353
+ return v(this, S, !0, N);
3345
3354
  }, l.prototype.readUInt32BE = function(S, N) {
3346
- return M(this, S, !1, N);
3355
+ return v(this, S, !1, N);
3347
3356
  }, l.prototype.readInt8 = function(S, N) {
3348
3357
  if (N || (q(S != null, "missing offset"), q(S < this.length, "Trying to read beyond buffer length")), !(S >= this.length)) return 128 & this[S] ? -1 * (255 - this[S] + 1) : this[S];
3349
3358
  }, l.prototype.readInt16LE = function(S, N) {
@@ -3351,17 +3360,17 @@ list should be an Array.`), S.length === 0) return new l(0);
3351
3360
  }, l.prototype.readInt16BE = function(S, N) {
3352
3361
  return f(this, S, !1, N);
3353
3362
  }, l.prototype.readInt32LE = function(S, N) {
3354
- return v(this, S, !0, N);
3363
+ return M(this, S, !0, N);
3355
3364
  }, l.prototype.readInt32BE = function(S, N) {
3356
- return v(this, S, !1, N);
3365
+ return M(this, S, !1, N);
3357
3366
  }, l.prototype.readFloatLE = function(S, N) {
3358
3367
  return w(this, S, !0, N);
3359
3368
  }, l.prototype.readFloatBE = function(S, N) {
3360
3369
  return w(this, S, !1, N);
3361
3370
  }, l.prototype.readDoubleLE = function(S, N) {
3362
- return d(this, S, !0, N);
3371
+ return y(this, S, !0, N);
3363
3372
  }, l.prototype.readDoubleBE = function(S, N) {
3364
- return d(this, S, !1, N);
3373
+ return y(this, S, !1, N);
3365
3374
  }, l.prototype.writeUInt8 = function(S, N, U) {
3366
3375
  U || (q(S != null, "missing value"), q(N != null, "missing offset"), q(N < this.length, "trying to write beyond buffer length"), MA(S, 255)), N >= this.length || (this[N] = S);
3367
3376
  }, l.prototype.writeUInt16LE = function(S, N, U) {
@@ -3463,25 +3472,25 @@ list should be an Array.`), S.length === 0) return new l(0);
3463
3472
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(e, t, I) {
3464
3473
  (function(C, i, s, Q, r, o, n, a, E) {
3465
3474
  var s = e("buffer").Buffer, c = 4, l = new s(c);
3466
- l.fill(0), t.exports = { hash: function(h, u, D, y) {
3467
- for (var M = u((function(p, F) {
3475
+ l.fill(0), t.exports = { hash: function(h, u, D, d) {
3476
+ for (var v = u((function(p, F) {
3468
3477
  p.length % c != 0 && (R = p.length + (c - p.length % c), p = s.concat([p, l], R));
3469
3478
  for (var R, m = [], L = F ? p.readInt32BE : p.readInt32LE, Y = 0; Y < p.length; Y += c) m.push(L.call(p, Y));
3470
3479
  return m;
3471
- })(h = s.isBuffer(h) ? h : new s(h), y), 8 * h.length), u = y, f = new s(D), v = u ? f.writeInt32BE : f.writeInt32LE, w = 0; w < M.length; w++) v.call(f, M[w], 4 * w, !0);
3480
+ })(h = s.isBuffer(h) ? h : new s(h), d), 8 * h.length), u = d, f = new s(D), M = u ? f.writeInt32BE : f.writeInt32LE, w = 0; w < v.length; w++) M.call(f, v[w], 4 * w, !0);
3472
3481
  return f;
3473
3482
  } };
3474
3483
  }).call(this, e("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3475
3484
  }, { buffer: 3, lYpoI2: 11 }], 5: [function(e, t, I) {
3476
3485
  (function(C, i, s, Q, r, o, n, a, E) {
3477
- var s = e("buffer").Buffer, c = e("./sha"), l = e("./sha256"), h = e("./rng"), u = { sha1: c, sha256: l, md5: e("./md5") }, D = 64, y = new s(D);
3478
- function M(p, F) {
3486
+ var s = e("buffer").Buffer, c = e("./sha"), l = e("./sha256"), h = e("./rng"), u = { sha1: c, sha256: l, md5: e("./md5") }, D = 64, d = new s(D);
3487
+ function v(p, F) {
3479
3488
  var R = u[p = p || "sha1"], m = [];
3480
3489
  return R || f("algorithm:", p, "is not yet supported"), { update: function(L) {
3481
3490
  return s.isBuffer(L) || (L = new s(L)), m.push(L), L.length, this;
3482
3491
  }, digest: function(L) {
3483
3492
  var Y = s.concat(m), Y = F ? (function(H, V, x) {
3484
- s.isBuffer(V) || (V = new s(V)), s.isBuffer(x) || (x = new s(x)), V.length > D ? V = H(V) : V.length < D && (V = s.concat([V, y], D));
3493
+ s.isBuffer(V) || (V = new s(V)), s.isBuffer(x) || (x = new s(x)), V.length > D ? V = H(V) : V.length < D && (V = s.concat([V, d], D));
3485
3494
  for (var O = new s(D), W = new s(D), $ = 0; $ < D; $++) O[$] = 54 ^ V[$], W[$] = 92 ^ V[$];
3486
3495
  return x = H(s.concat([O, x])), H(s.concat([W, x]));
3487
3496
  })(R, F, Y) : R(Y);
@@ -3493,9 +3502,9 @@ list should be an Array.`), S.length === 0) return new l(0);
3493
3502
  throw new Error([p, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
3494
3503
  `));
3495
3504
  }
3496
- y.fill(0), I.createHash = function(p) {
3497
- return M(p);
3498
- }, I.createHmac = M, I.randomBytes = function(p, F) {
3505
+ d.fill(0), I.createHash = function(p) {
3506
+ return v(p);
3507
+ }, I.createHmac = v, I.randomBytes = function(p, F) {
3499
3508
  if (!F || !F.call) return new s(h(p));
3500
3509
  try {
3501
3510
  F.call(this, void 0, new s(h(p)));
@@ -3503,42 +3512,42 @@ list should be an Array.`), S.length === 0) return new l(0);
3503
3512
  F(R);
3504
3513
  }
3505
3514
  };
3506
- var v, w = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], d = function(p) {
3515
+ var M, w = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], y = function(p) {
3507
3516
  I[p] = function() {
3508
3517
  f("sorry,", p, "is not implemented yet");
3509
3518
  };
3510
3519
  };
3511
- for (v in w) d(w[v]);
3520
+ for (M in w) y(w[M]);
3512
3521
  }).call(this, e("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3513
3522
  }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(e, t, I) {
3514
3523
  (function(C, i, B, Q, r, o, n, a, E) {
3515
3524
  var s = e("./helpers");
3516
- function c(f, v) {
3517
- f[v >> 5] |= 128 << v % 32, f[14 + (v + 64 >>> 9 << 4)] = v;
3518
- for (var w = 1732584193, d = -271733879, p = -1732584194, F = 271733878, R = 0; R < f.length; R += 16) {
3519
- var m = w, L = d, Y = p, H = F, w = h(w, d, p, F, f[R + 0], 7, -680876936), F = h(F, w, d, p, f[R + 1], 12, -389564586), p = h(p, F, w, d, f[R + 2], 17, 606105819), d = h(d, p, F, w, f[R + 3], 22, -1044525330);
3520
- w = h(w, d, p, F, f[R + 4], 7, -176418897), F = h(F, w, d, p, f[R + 5], 12, 1200080426), p = h(p, F, w, d, f[R + 6], 17, -1473231341), d = h(d, p, F, w, f[R + 7], 22, -45705983), w = h(w, d, p, F, f[R + 8], 7, 1770035416), F = h(F, w, d, p, f[R + 9], 12, -1958414417), p = h(p, F, w, d, f[R + 10], 17, -42063), d = h(d, p, F, w, f[R + 11], 22, -1990404162), w = h(w, d, p, F, f[R + 12], 7, 1804603682), F = h(F, w, d, p, f[R + 13], 12, -40341101), p = h(p, F, w, d, f[R + 14], 17, -1502002290), w = u(w, d = h(d, p, F, w, f[R + 15], 22, 1236535329), p, F, f[R + 1], 5, -165796510), F = u(F, w, d, p, f[R + 6], 9, -1069501632), p = u(p, F, w, d, f[R + 11], 14, 643717713), d = u(d, p, F, w, f[R + 0], 20, -373897302), w = u(w, d, p, F, f[R + 5], 5, -701558691), F = u(F, w, d, p, f[R + 10], 9, 38016083), p = u(p, F, w, d, f[R + 15], 14, -660478335), d = u(d, p, F, w, f[R + 4], 20, -405537848), w = u(w, d, p, F, f[R + 9], 5, 568446438), F = u(F, w, d, p, f[R + 14], 9, -1019803690), p = u(p, F, w, d, f[R + 3], 14, -187363961), d = u(d, p, F, w, f[R + 8], 20, 1163531501), w = u(w, d, p, F, f[R + 13], 5, -1444681467), F = u(F, w, d, p, f[R + 2], 9, -51403784), p = u(p, F, w, d, f[R + 7], 14, 1735328473), w = D(w, d = u(d, p, F, w, f[R + 12], 20, -1926607734), p, F, f[R + 5], 4, -378558), F = D(F, w, d, p, f[R + 8], 11, -2022574463), p = D(p, F, w, d, f[R + 11], 16, 1839030562), d = D(d, p, F, w, f[R + 14], 23, -35309556), w = D(w, d, p, F, f[R + 1], 4, -1530992060), F = D(F, w, d, p, f[R + 4], 11, 1272893353), p = D(p, F, w, d, f[R + 7], 16, -155497632), d = D(d, p, F, w, f[R + 10], 23, -1094730640), w = D(w, d, p, F, f[R + 13], 4, 681279174), F = D(F, w, d, p, f[R + 0], 11, -358537222), p = D(p, F, w, d, f[R + 3], 16, -722521979), d = D(d, p, F, w, f[R + 6], 23, 76029189), w = D(w, d, p, F, f[R + 9], 4, -640364487), F = D(F, w, d, p, f[R + 12], 11, -421815835), p = D(p, F, w, d, f[R + 15], 16, 530742520), w = y(w, d = D(d, p, F, w, f[R + 2], 23, -995338651), p, F, f[R + 0], 6, -198630844), F = y(F, w, d, p, f[R + 7], 10, 1126891415), p = y(p, F, w, d, f[R + 14], 15, -1416354905), d = y(d, p, F, w, f[R + 5], 21, -57434055), w = y(w, d, p, F, f[R + 12], 6, 1700485571), F = y(F, w, d, p, f[R + 3], 10, -1894986606), p = y(p, F, w, d, f[R + 10], 15, -1051523), d = y(d, p, F, w, f[R + 1], 21, -2054922799), w = y(w, d, p, F, f[R + 8], 6, 1873313359), F = y(F, w, d, p, f[R + 15], 10, -30611744), p = y(p, F, w, d, f[R + 6], 15, -1560198380), d = y(d, p, F, w, f[R + 13], 21, 1309151649), w = y(w, d, p, F, f[R + 4], 6, -145523070), F = y(F, w, d, p, f[R + 11], 10, -1120210379), p = y(p, F, w, d, f[R + 2], 15, 718787259), d = y(d, p, F, w, f[R + 9], 21, -343485551), w = M(w, m), d = M(d, L), p = M(p, Y), F = M(F, H);
3525
+ function c(f, M) {
3526
+ f[M >> 5] |= 128 << M % 32, f[14 + (M + 64 >>> 9 << 4)] = M;
3527
+ for (var w = 1732584193, y = -271733879, p = -1732584194, F = 271733878, R = 0; R < f.length; R += 16) {
3528
+ var m = w, L = y, Y = p, H = F, w = h(w, y, p, F, f[R + 0], 7, -680876936), F = h(F, w, y, p, f[R + 1], 12, -389564586), p = h(p, F, w, y, f[R + 2], 17, 606105819), y = h(y, p, F, w, f[R + 3], 22, -1044525330);
3529
+ w = h(w, y, p, F, f[R + 4], 7, -176418897), F = h(F, w, y, p, f[R + 5], 12, 1200080426), p = h(p, F, w, y, f[R + 6], 17, -1473231341), y = h(y, p, F, w, f[R + 7], 22, -45705983), w = h(w, y, p, F, f[R + 8], 7, 1770035416), F = h(F, w, y, p, f[R + 9], 12, -1958414417), p = h(p, F, w, y, f[R + 10], 17, -42063), y = h(y, p, F, w, f[R + 11], 22, -1990404162), w = h(w, y, p, F, f[R + 12], 7, 1804603682), F = h(F, w, y, p, f[R + 13], 12, -40341101), p = h(p, F, w, y, f[R + 14], 17, -1502002290), w = u(w, y = h(y, p, F, w, f[R + 15], 22, 1236535329), p, F, f[R + 1], 5, -165796510), F = u(F, w, y, p, f[R + 6], 9, -1069501632), p = u(p, F, w, y, f[R + 11], 14, 643717713), y = u(y, p, F, w, f[R + 0], 20, -373897302), w = u(w, y, p, F, f[R + 5], 5, -701558691), F = u(F, w, y, p, f[R + 10], 9, 38016083), p = u(p, F, w, y, f[R + 15], 14, -660478335), y = u(y, p, F, w, f[R + 4], 20, -405537848), w = u(w, y, p, F, f[R + 9], 5, 568446438), F = u(F, w, y, p, f[R + 14], 9, -1019803690), p = u(p, F, w, y, f[R + 3], 14, -187363961), y = u(y, p, F, w, f[R + 8], 20, 1163531501), w = u(w, y, p, F, f[R + 13], 5, -1444681467), F = u(F, w, y, p, f[R + 2], 9, -51403784), p = u(p, F, w, y, f[R + 7], 14, 1735328473), w = D(w, y = u(y, p, F, w, f[R + 12], 20, -1926607734), p, F, f[R + 5], 4, -378558), F = D(F, w, y, p, f[R + 8], 11, -2022574463), p = D(p, F, w, y, f[R + 11], 16, 1839030562), y = D(y, p, F, w, f[R + 14], 23, -35309556), w = D(w, y, p, F, f[R + 1], 4, -1530992060), F = D(F, w, y, p, f[R + 4], 11, 1272893353), p = D(p, F, w, y, f[R + 7], 16, -155497632), y = D(y, p, F, w, f[R + 10], 23, -1094730640), w = D(w, y, p, F, f[R + 13], 4, 681279174), F = D(F, w, y, p, f[R + 0], 11, -358537222), p = D(p, F, w, y, f[R + 3], 16, -722521979), y = D(y, p, F, w, f[R + 6], 23, 76029189), w = D(w, y, p, F, f[R + 9], 4, -640364487), F = D(F, w, y, p, f[R + 12], 11, -421815835), p = D(p, F, w, y, f[R + 15], 16, 530742520), w = d(w, y = D(y, p, F, w, f[R + 2], 23, -995338651), p, F, f[R + 0], 6, -198630844), F = d(F, w, y, p, f[R + 7], 10, 1126891415), p = d(p, F, w, y, f[R + 14], 15, -1416354905), y = d(y, p, F, w, f[R + 5], 21, -57434055), w = d(w, y, p, F, f[R + 12], 6, 1700485571), F = d(F, w, y, p, f[R + 3], 10, -1894986606), p = d(p, F, w, y, f[R + 10], 15, -1051523), y = d(y, p, F, w, f[R + 1], 21, -2054922799), w = d(w, y, p, F, f[R + 8], 6, 1873313359), F = d(F, w, y, p, f[R + 15], 10, -30611744), p = d(p, F, w, y, f[R + 6], 15, -1560198380), y = d(y, p, F, w, f[R + 13], 21, 1309151649), w = d(w, y, p, F, f[R + 4], 6, -145523070), F = d(F, w, y, p, f[R + 11], 10, -1120210379), p = d(p, F, w, y, f[R + 2], 15, 718787259), y = d(y, p, F, w, f[R + 9], 21, -343485551), w = v(w, m), y = v(y, L), p = v(p, Y), F = v(F, H);
3521
3530
  }
3522
- return Array(w, d, p, F);
3531
+ return Array(w, y, p, F);
3523
3532
  }
3524
- function l(f, v, w, d, p, F) {
3525
- return M((v = M(M(v, f), M(d, F))) << p | v >>> 32 - p, w);
3533
+ function l(f, M, w, y, p, F) {
3534
+ return v((M = v(v(M, f), v(y, F))) << p | M >>> 32 - p, w);
3526
3535
  }
3527
- function h(f, v, w, d, p, F, R) {
3528
- return l(v & w | ~v & d, f, v, p, F, R);
3536
+ function h(f, M, w, y, p, F, R) {
3537
+ return l(M & w | ~M & y, f, M, p, F, R);
3529
3538
  }
3530
- function u(f, v, w, d, p, F, R) {
3531
- return l(v & d | w & ~d, f, v, p, F, R);
3539
+ function u(f, M, w, y, p, F, R) {
3540
+ return l(M & y | w & ~y, f, M, p, F, R);
3532
3541
  }
3533
- function D(f, v, w, d, p, F, R) {
3534
- return l(v ^ w ^ d, f, v, p, F, R);
3542
+ function D(f, M, w, y, p, F, R) {
3543
+ return l(M ^ w ^ y, f, M, p, F, R);
3535
3544
  }
3536
- function y(f, v, w, d, p, F, R) {
3537
- return l(w ^ (v | ~d), f, v, p, F, R);
3545
+ function d(f, M, w, y, p, F, R) {
3546
+ return l(w ^ (M | ~y), f, M, p, F, R);
3538
3547
  }
3539
- function M(f, v) {
3540
- var w = (65535 & f) + (65535 & v);
3541
- return (f >> 16) + (v >> 16) + (w >> 16) << 16 | 65535 & w;
3548
+ function v(f, M) {
3549
+ var w = (65535 & f) + (65535 & M);
3550
+ return (f >> 16) + (M >> 16) + (w >> 16) << 16 | 65535 & w;
3542
3551
  }
3543
3552
  t.exports = function(f) {
3544
3553
  return s.hash(f, c, 16);
@@ -3556,18 +3565,18 @@ list should be an Array.`), S.length === 0) return new l(0);
3556
3565
  var s = e("./helpers");
3557
3566
  function c(u, D) {
3558
3567
  u[D >> 5] |= 128 << 24 - D % 32, u[15 + (D + 64 >> 9 << 4)] = D;
3559
- for (var y, M, f, v = Array(80), w = 1732584193, d = -271733879, p = -1732584194, F = 271733878, R = -1009589776, m = 0; m < u.length; m += 16) {
3560
- for (var L = w, Y = d, H = p, V = F, x = R, O = 0; O < 80; O++) {
3561
- v[O] = O < 16 ? u[m + O] : h(v[O - 3] ^ v[O - 8] ^ v[O - 14] ^ v[O - 16], 1);
3562
- var W = l(l(h(w, 5), (W = d, M = p, f = F, (y = O) < 20 ? W & M | ~W & f : !(y < 40) && y < 60 ? W & M | W & f | M & f : W ^ M ^ f)), l(l(R, v[O]), (y = O) < 20 ? 1518500249 : y < 40 ? 1859775393 : y < 60 ? -1894007588 : -899497514)), R = F, F = p, p = h(d, 30), d = w, w = W;
3568
+ for (var d, v, f, M = Array(80), w = 1732584193, y = -271733879, p = -1732584194, F = 271733878, R = -1009589776, m = 0; m < u.length; m += 16) {
3569
+ for (var L = w, Y = y, H = p, V = F, x = R, O = 0; O < 80; O++) {
3570
+ M[O] = O < 16 ? u[m + O] : h(M[O - 3] ^ M[O - 8] ^ M[O - 14] ^ M[O - 16], 1);
3571
+ var W = l(l(h(w, 5), (W = y, v = p, f = F, (d = O) < 20 ? W & v | ~W & f : !(d < 40) && d < 60 ? W & v | W & f | v & f : W ^ v ^ f)), l(l(R, M[O]), (d = O) < 20 ? 1518500249 : d < 40 ? 1859775393 : d < 60 ? -1894007588 : -899497514)), R = F, F = p, p = h(y, 30), y = w, w = W;
3563
3572
  }
3564
- w = l(w, L), d = l(d, Y), p = l(p, H), F = l(F, V), R = l(R, x);
3573
+ w = l(w, L), y = l(y, Y), p = l(p, H), F = l(F, V), R = l(R, x);
3565
3574
  }
3566
- return Array(w, d, p, F, R);
3575
+ return Array(w, y, p, F, R);
3567
3576
  }
3568
3577
  function l(u, D) {
3569
- var y = (65535 & u) + (65535 & D);
3570
- return (u >> 16) + (D >> 16) + (y >> 16) << 16 | 65535 & y;
3578
+ var d = (65535 & u) + (65535 & D);
3579
+ return (u >> 16) + (D >> 16) + (d >> 16) << 16 | 65535 & d;
3571
3580
  }
3572
3581
  function h(u, D) {
3573
3582
  return u << D | u >>> 32 - D;
@@ -3578,23 +3587,23 @@ list should be an Array.`), S.length === 0) return new l(0);
3578
3587
  }).call(this, e("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3579
3588
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(e, t, I) {
3580
3589
  (function(C, i, B, Q, r, o, n, a, E) {
3581
- function s(D, y) {
3582
- var M = (65535 & D) + (65535 & y);
3583
- return (D >> 16) + (y >> 16) + (M >> 16) << 16 | 65535 & M;
3590
+ function s(D, d) {
3591
+ var v = (65535 & D) + (65535 & d);
3592
+ return (D >> 16) + (d >> 16) + (v >> 16) << 16 | 65535 & v;
3584
3593
  }
3585
- function c(D, y) {
3586
- var M, f = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), v = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), w = new Array(64);
3587
- D[y >> 5] |= 128 << 24 - y % 32, D[15 + (y + 64 >> 9 << 4)] = y;
3588
- for (var d, p, F = 0; F < D.length; F += 16) {
3589
- for (var R = v[0], m = v[1], L = v[2], Y = v[3], H = v[4], V = v[5], x = v[6], O = v[7], W = 0; W < 64; W++) w[W] = W < 16 ? D[W + F] : s(s(s((p = w[W - 2], h(p, 17) ^ h(p, 19) ^ u(p, 10)), w[W - 7]), (p = w[W - 15], h(p, 7) ^ h(p, 18) ^ u(p, 3))), w[W - 16]), M = s(s(s(s(O, h(p = H, 6) ^ h(p, 11) ^ h(p, 25)), H & V ^ ~H & x), f[W]), w[W]), d = s(h(d = R, 2) ^ h(d, 13) ^ h(d, 22), R & m ^ R & L ^ m & L), O = x, x = V, V = H, H = s(Y, M), Y = L, L = m, m = R, R = s(M, d);
3590
- v[0] = s(R, v[0]), v[1] = s(m, v[1]), v[2] = s(L, v[2]), v[3] = s(Y, v[3]), v[4] = s(H, v[4]), v[5] = s(V, v[5]), v[6] = s(x, v[6]), v[7] = s(O, v[7]);
3594
+ function c(D, d) {
3595
+ var v, f = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), M = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), w = new Array(64);
3596
+ D[d >> 5] |= 128 << 24 - d % 32, D[15 + (d + 64 >> 9 << 4)] = d;
3597
+ for (var y, p, F = 0; F < D.length; F += 16) {
3598
+ for (var R = M[0], m = M[1], L = M[2], Y = M[3], H = M[4], V = M[5], x = M[6], O = M[7], W = 0; W < 64; W++) w[W] = W < 16 ? D[W + F] : s(s(s((p = w[W - 2], h(p, 17) ^ h(p, 19) ^ u(p, 10)), w[W - 7]), (p = w[W - 15], h(p, 7) ^ h(p, 18) ^ u(p, 3))), w[W - 16]), v = s(s(s(s(O, h(p = H, 6) ^ h(p, 11) ^ h(p, 25)), H & V ^ ~H & x), f[W]), w[W]), y = s(h(y = R, 2) ^ h(y, 13) ^ h(y, 22), R & m ^ R & L ^ m & L), O = x, x = V, V = H, H = s(Y, v), Y = L, L = m, m = R, R = s(v, y);
3599
+ M[0] = s(R, M[0]), M[1] = s(m, M[1]), M[2] = s(L, M[2]), M[3] = s(Y, M[3]), M[4] = s(H, M[4]), M[5] = s(V, M[5]), M[6] = s(x, M[6]), M[7] = s(O, M[7]);
3591
3600
  }
3592
- return v;
3601
+ return M;
3593
3602
  }
3594
- var l = e("./helpers"), h = function(D, y) {
3595
- return D >>> y | D << 32 - y;
3596
- }, u = function(D, y) {
3597
- return D >>> y;
3603
+ var l = e("./helpers"), h = function(D, d) {
3604
+ return D >>> d | D << 32 - d;
3605
+ }, u = function(D, d) {
3606
+ return D >>> d;
3598
3607
  };
3599
3608
  t.exports = function(D) {
3600
3609
  return l.hash(D, c, 32, !0);
@@ -3603,19 +3612,19 @@ list should be an Array.`), S.length === 0) return new l(0);
3603
3612
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(e, t, I) {
3604
3613
  (function(C, i, B, Q, r, o, n, a, E) {
3605
3614
  I.read = function(s, c, l, h, F) {
3606
- var D, y, M = 8 * F - h - 1, f = (1 << M) - 1, v = f >> 1, w = -7, d = l ? F - 1 : 0, p = l ? -1 : 1, F = s[c + d];
3607
- for (d += p, D = F & (1 << -w) - 1, F >>= -w, w += M; 0 < w; D = 256 * D + s[c + d], d += p, w -= 8) ;
3608
- for (y = D & (1 << -w) - 1, D >>= -w, w += h; 0 < w; y = 256 * y + s[c + d], d += p, w -= 8) ;
3609
- if (D === 0) D = 1 - v;
3615
+ var D, d, v = 8 * F - h - 1, f = (1 << v) - 1, M = f >> 1, w = -7, y = l ? F - 1 : 0, p = l ? -1 : 1, F = s[c + y];
3616
+ for (y += p, D = F & (1 << -w) - 1, F >>= -w, w += v; 0 < w; D = 256 * D + s[c + y], y += p, w -= 8) ;
3617
+ for (d = D & (1 << -w) - 1, D >>= -w, w += h; 0 < w; d = 256 * d + s[c + y], y += p, w -= 8) ;
3618
+ if (D === 0) D = 1 - M;
3610
3619
  else {
3611
- if (D === f) return y ? NaN : 1 / 0 * (F ? -1 : 1);
3612
- y += Math.pow(2, h), D -= v;
3620
+ if (D === f) return d ? NaN : 1 / 0 * (F ? -1 : 1);
3621
+ d += Math.pow(2, h), D -= M;
3613
3622
  }
3614
- return (F ? -1 : 1) * y * Math.pow(2, D - h);
3623
+ return (F ? -1 : 1) * d * Math.pow(2, D - h);
3615
3624
  }, I.write = function(s, c, l, h, u, R) {
3616
- var y, M, f = 8 * R - u - 1, v = (1 << f) - 1, w = v >> 1, d = u === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = h ? 0 : R - 1, F = h ? 1 : -1, R = c < 0 || c === 0 && 1 / c < 0 ? 1 : 0;
3617
- for (c = Math.abs(c), isNaN(c) || c === 1 / 0 ? (M = isNaN(c) ? 1 : 0, y = v) : (y = Math.floor(Math.log(c) / Math.LN2), c * (h = Math.pow(2, -y)) < 1 && (y--, h *= 2), 2 <= (c += 1 <= y + w ? d / h : d * Math.pow(2, 1 - w)) * h && (y++, h /= 2), v <= y + w ? (M = 0, y = v) : 1 <= y + w ? (M = (c * h - 1) * Math.pow(2, u), y += w) : (M = c * Math.pow(2, w - 1) * Math.pow(2, u), y = 0)); 8 <= u; s[l + p] = 255 & M, p += F, M /= 256, u -= 8) ;
3618
- for (y = y << u | M, f += u; 0 < f; s[l + p] = 255 & y, p += F, y /= 256, f -= 8) ;
3625
+ var d, v, f = 8 * R - u - 1, M = (1 << f) - 1, w = M >> 1, y = u === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = h ? 0 : R - 1, F = h ? 1 : -1, R = c < 0 || c === 0 && 1 / c < 0 ? 1 : 0;
3626
+ for (c = Math.abs(c), isNaN(c) || c === 1 / 0 ? (v = isNaN(c) ? 1 : 0, d = M) : (d = Math.floor(Math.log(c) / Math.LN2), c * (h = Math.pow(2, -d)) < 1 && (d--, h *= 2), 2 <= (c += 1 <= d + w ? y / h : y * Math.pow(2, 1 - w)) * h && (d++, h /= 2), M <= d + w ? (v = 0, d = M) : 1 <= d + w ? (v = (c * h - 1) * Math.pow(2, u), d += w) : (v = c * Math.pow(2, w - 1) * Math.pow(2, u), d = 0)); 8 <= u; s[l + p] = 255 & v, p += F, v /= 256, u -= 8) ;
3627
+ for (d = d << u | v, f += u; 0 < f; s[l + p] = 255 & d, p += F, d /= 256, f -= 8) ;
3619
3628
  s[l + p - F] |= 128 * R;
3620
3629
  };
3621
3630
  }).call(this, e("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
@@ -4104,7 +4113,7 @@ function Xk() {
4104
4113
  var jn, Iu;
4105
4114
  function jk() {
4106
4115
  if (Iu) return jn;
4107
- Iu = 1, jn = y;
4116
+ Iu = 1, jn = d;
4108
4117
  var g = wy(), A = Zk(), e = dy(), t = qk(), I = Xk(), C = 999, i = 9999, B = 0, Q = 1, r = 2, o = 3, n = 4, a = 5, E = 6, s = 7, c = 8, l = 9, h = 10, u = 11, D = [
4109
4118
  "block-comment",
4110
4119
  "line-comment",
@@ -4119,11 +4128,11 @@ function jk() {
4119
4128
  "eof",
4120
4129
  "integer"
4121
4130
  ];
4122
- function y(M) {
4123
- var f = 0, v = 0, w = C, d, p, F = [], R = [], m = 1, L = 0, Y = 0, H = !1, V = !1, x = "", O;
4124
- M = M || {};
4131
+ function d(v) {
4132
+ var f = 0, M = 0, w = C, y, p, F = [], R = [], m = 1, L = 0, Y = 0, H = !1, V = !1, x = "", O;
4133
+ v = v || {};
4125
4134
  var W = e, $ = g;
4126
- M.version === "300 es" && (W = I, $ = t);
4135
+ v.version === "300 es" && (W = I, $ = t);
4127
4136
  for (var eA = {}, iA = {}, f = 0; f < W.length; f++)
4128
4137
  eA[W[f]] = !0;
4129
4138
  for (var f = 0; f < $.length; f++)
@@ -4143,7 +4152,7 @@ function jk() {
4143
4152
  function MA(yA) {
4144
4153
  f = 0, yA.toString && (yA = yA.toString()), x += yA.replace(/\r\n/g, `
4145
4154
  `), O = x.length;
4146
- for (var xA; d = x[f], f < O; ) {
4155
+ for (var xA; y = x[f], f < O; ) {
4147
4156
  switch (xA = f, w) {
4148
4157
  case B:
4149
4158
  f = U();
@@ -4179,48 +4188,48 @@ function jk() {
4179
4188
  xA !== f && (x[xA] === `
4180
4189
  ` ? (L = 0, ++m) : ++L);
4181
4190
  }
4182
- return v += f, x = x.slice(f), R;
4191
+ return M += f, x = x.slice(f), R;
4183
4192
  }
4184
4193
  function JA(yA) {
4185
4194
  return F.length && rA(F.join("")), w = h, rA("(eof)"), R;
4186
4195
  }
4187
4196
  function bA() {
4188
- return F = F.length ? [] : F, p === "/" && d === "*" ? (Y = v + f - 1, w = B, p = d, f + 1) : p === "/" && d === "/" ? (Y = v + f - 1, w = Q, p = d, f + 1) : d === "#" ? (w = r, Y = v + f, f) : /\s/.test(d) ? (w = l, Y = v + f, f) : (H = /\d/.test(d), V = /[^\w_]/.test(d), Y = v + f, w = H ? n : V ? o : i, f);
4197
+ return F = F.length ? [] : F, p === "/" && y === "*" ? (Y = M + f - 1, w = B, p = y, f + 1) : p === "/" && y === "/" ? (Y = M + f - 1, w = Q, p = y, f + 1) : y === "#" ? (w = r, Y = M + f, f) : /\s/.test(y) ? (w = l, Y = M + f, f) : (H = /\d/.test(y), V = /[^\w_]/.test(y), Y = M + f, w = H ? n : V ? o : i, f);
4189
4198
  }
4190
4199
  function q() {
4191
- return /[^\s]/g.test(d) ? (rA(F.join("")), w = C, f) : (F.push(d), p = d, f + 1);
4200
+ return /[^\s]/g.test(y) ? (rA(F.join("")), w = C, f) : (F.push(y), p = y, f + 1);
4192
4201
  }
4193
4202
  function S() {
4194
- return (d === "\r" || d === `
4195
- `) && p !== "\\" ? (rA(F.join("")), w = C, f) : (F.push(d), p = d, f + 1);
4203
+ return (y === "\r" || y === `
4204
+ `) && p !== "\\" ? (rA(F.join("")), w = C, f) : (F.push(y), p = y, f + 1);
4196
4205
  }
4197
4206
  function N() {
4198
4207
  return S();
4199
4208
  }
4200
4209
  function U() {
4201
- return d === "/" && p === "*" ? (F.push(d), rA(F.join("")), w = C, f + 1) : (F.push(d), p = d, f + 1);
4210
+ return y === "/" && p === "*" ? (F.push(y), rA(F.join("")), w = C, f + 1) : (F.push(y), p = y, f + 1);
4202
4211
  }
4203
4212
  function b() {
4204
- if (p === "." && /\d/.test(d))
4213
+ if (p === "." && /\d/.test(y))
4205
4214
  return w = a, f;
4206
- if (p === "/" && d === "*")
4215
+ if (p === "/" && y === "*")
4207
4216
  return w = B, f;
4208
- if (p === "/" && d === "/")
4217
+ if (p === "/" && y === "/")
4209
4218
  return w = Q, f;
4210
- if (d === "." && F.length) {
4219
+ if (y === "." && F.length) {
4211
4220
  for (; T(F); ) ;
4212
4221
  return w = a, f;
4213
4222
  }
4214
- if (d === ";" || d === ")" || d === "(") {
4223
+ if (y === ";" || y === ")" || y === "(") {
4215
4224
  if (F.length) for (; T(F); ) ;
4216
- return rA(d), w = C, f + 1;
4225
+ return rA(y), w = C, f + 1;
4217
4226
  }
4218
- var yA = F.length === 2 && d !== "=";
4219
- if (/[\w_\d\s]/.test(d) || yA) {
4227
+ var yA = F.length === 2 && y !== "=";
4228
+ if (/[\w_\d\s]/.test(y) || yA) {
4220
4229
  for (; T(F); ) ;
4221
4230
  return w = C, f;
4222
4231
  }
4223
- return F.push(d), p = d, f + 1;
4232
+ return F.push(y), p = y, f + 1;
4224
4233
  }
4225
4234
  function T(yA) {
4226
4235
  var xA = 0, Ag, RA;
@@ -4233,20 +4242,20 @@ function jk() {
4233
4242
  } while (!0);
4234
4243
  }
4235
4244
  function P() {
4236
- return /[^a-fA-F0-9]/.test(d) ? (rA(F.join("")), w = C, f) : (F.push(d), p = d, f + 1);
4245
+ return /[^a-fA-F0-9]/.test(y) ? (rA(F.join("")), w = C, f) : (F.push(y), p = y, f + 1);
4237
4246
  }
4238
4247
  function AA() {
4239
- return d === "." || /[eE]/.test(d) ? (F.push(d), w = a, p = d, f + 1) : d === "x" && F.length === 1 && F[0] === "0" ? (w = u, F.push(d), p = d, f + 1) : /[^\d]/.test(d) ? (rA(F.join("")), w = C, f) : (F.push(d), p = d, f + 1);
4248
+ return y === "." || /[eE]/.test(y) ? (F.push(y), w = a, p = y, f + 1) : y === "x" && F.length === 1 && F[0] === "0" ? (w = u, F.push(y), p = y, f + 1) : /[^\d]/.test(y) ? (rA(F.join("")), w = C, f) : (F.push(y), p = y, f + 1);
4240
4249
  }
4241
4250
  function pA() {
4242
- return d === "f" && (F.push(d), p = d, f += 1), /[eE]/.test(d) || (d === "-" || d === "+") && /[eE]/.test(p) ? (F.push(d), p = d, f + 1) : /[^\d]/.test(d) ? (rA(F.join("")), w = C, f) : (F.push(d), p = d, f + 1);
4251
+ return y === "f" && (F.push(y), p = y, f += 1), /[eE]/.test(y) || (y === "-" || y === "+") && /[eE]/.test(p) ? (F.push(y), p = y, f + 1) : /[^\d]/.test(y) ? (rA(F.join("")), w = C, f) : (F.push(y), p = y, f + 1);
4243
4252
  }
4244
4253
  function LA() {
4245
- if (/[^\d\w_]/.test(d)) {
4254
+ if (/[^\d\w_]/.test(y)) {
4246
4255
  var yA = F.join("");
4247
4256
  return iA[yA] ? w = c : eA[yA] ? w = s : w = E, rA(F.join("")), w = C, f;
4248
4257
  }
4249
- return F.push(d), p = d, f + 1;
4258
+ return F.push(y), p = y, f + 1;
4250
4259
  }
4251
4260
  }
4252
4261
  return jn;
@@ -4437,8 +4446,8 @@ function eU() {
4437
4446
  var i = 1 / 0, B = 0, Q = Math.round, r = Q(window.devicePixelRatio || 1), o = 80 * r, n = 48 * r, a = 3 * r, E = 2 * r, s = 3 * r, c = 15 * r, l = 74 * r, h = 30 * r, u = document.createElement("canvas");
4438
4447
  u.width = o, u.height = n, u.style.cssText = "width:80px;height:48px";
4439
4448
  var D = u.getContext("2d");
4440
- return D.font = "bold " + 9 * r + "px Helvetica,Arial,sans-serif", D.textBaseline = "top", D.fillStyle = C, D.fillRect(0, 0, o, n), D.fillStyle = I, D.fillText(t, a, E), D.fillRect(s, c, l, h), D.fillStyle = C, D.globalAlpha = 0.9, D.fillRect(s, c, l, h), { dom: u, update: function(y, M) {
4441
- i = Math.min(i, y), B = Math.max(B, y), D.fillStyle = C, D.globalAlpha = 1, D.fillRect(0, 0, o, c), D.fillStyle = I, D.fillText(Q(y) + " " + t + " (" + Q(i) + "-" + Q(B) + ")", a, E), D.drawImage(u, s + r, c, l - r, h, s, c, l - r, h), D.fillRect(s + l - r, c, r, h), D.fillStyle = C, D.globalAlpha = 0.9, D.fillRect(s + l - r, c, r, Q((1 - y / M) * h));
4449
+ return D.font = "bold " + 9 * r + "px Helvetica,Arial,sans-serif", D.textBaseline = "top", D.fillStyle = C, D.fillRect(0, 0, o, n), D.fillStyle = I, D.fillText(t, a, E), D.fillRect(s, c, l, h), D.fillStyle = C, D.globalAlpha = 0.9, D.fillRect(s, c, l, h), { dom: u, update: function(d, v) {
4450
+ i = Math.min(i, d), B = Math.max(B, d), D.fillStyle = C, D.globalAlpha = 1, D.fillRect(0, 0, o, c), D.fillStyle = I, D.fillText(Q(d) + " " + t + " (" + Q(i) + "-" + Q(B) + ")", a, E), D.drawImage(u, s + r, c, l - r, h, s, c, l - r, h), D.fillRect(s + l - r, c, r, h), D.fillStyle = C, D.globalAlpha = 0.9, D.fillRect(s + l - r, c, r, Q((1 - d / v) * h));
4442
4451
  } };
4443
4452
  }, e;
4444
4453
  });
@@ -4823,21 +4832,21 @@ var rU = /* @__PURE__ */ Se({
4823
4832
  Gg(() => {
4824
4833
  E.value || u.value ? o.value = -C.value : c.value || D.value ? o.value = C.value : o.value = 0, a.value || l.value ? n.value = C.value : s.value || h.value ? n.value = -C.value : n.value = 0;
4825
4834
  }), A({ instance: B });
4826
- const y = (F) => I("isLock", F), M = (F) => I("change", F), f = new DA(), v = new DA(), w = new aC(), d = (F, R) => {
4835
+ const d = (F) => I("isLock", F), v = (F) => I("change", F), f = new DA(), M = new DA(), w = new aC(), y = (F, R) => {
4827
4836
  if (!i.value?.position && !f) return;
4828
4837
  const m = i.value, L = F * 1e-3;
4829
- m?.translateZ(-R), w.set(v.x * L, v.y * L, v.z * L, 1).normalize(), m?.quaternion.multiply(w), (o.value || n.value) && I("change", B.value);
4838
+ m?.translateZ(-R), w.set(M.x * L, M.y * L, M.z * L, 1).normalize(), m?.quaternion.multiply(w), (o.value || n.value) && I("change", B.value);
4830
4839
  }, { onBeforeRender: p } = vC();
4831
4840
  return p(({ delta: F }) => {
4832
- B.value instanceof Dy && B.value?.isLocked && (d(F, n.value), B.value.moveRight(o.value));
4841
+ B.value instanceof Dy && B.value?.isLocked && (y(F, n.value), B.value.moveRight(o.value));
4833
4842
  }), (F, R) => CA(Q) ? (Be(), Gd(CA(cU), {
4834
4843
  key: 0,
4835
4844
  selector: g.selector,
4836
4845
  "make-default": g.makeDefault,
4837
4846
  camera: g.camera || CA(i),
4838
4847
  "dom-element": g.domElement || CA(Q).domElement,
4839
- onIsLock: y,
4840
- onChange: M
4848
+ onIsLock: d,
4849
+ onChange: v
4841
4850
  }, null, 8, [
4842
4851
  "selector",
4843
4852
  "make-default",
@@ -4993,24 +5002,24 @@ var aU = /* @__PURE__ */ Se({
4993
5002
  "end"
4994
5003
  ],
4995
5004
  setup(g, { expose: A, emit: e }) {
4996
- const t = g, { autoRotate: I, autoRotateSpeed: C, enableDamping: i, dampingFactor: B, enablePan: Q, keyPanSpeed: r, maxAzimuthAngle: o, minAzimuthAngle: n, maxPolarAngle: a, minPolarAngle: E, minDistance: s, maxDistance: c, minZoom: l, maxZoom: h, enableZoom: u, zoomSpeed: D, enableRotate: y, rotateSpeed: M } = QQ(t), { camera: f, renderer: v, extend: w, controls: d, invalidate: p } = sI();
5005
+ const t = g, { autoRotate: I, autoRotateSpeed: C, enableDamping: i, dampingFactor: B, enablePan: Q, keyPanSpeed: r, maxAzimuthAngle: o, minAzimuthAngle: n, maxPolarAngle: a, minPolarAngle: E, minDistance: s, maxDistance: c, minZoom: l, maxZoom: h, enableZoom: u, zoomSpeed: D, enableRotate: d, rotateSpeed: v } = QQ(t), { camera: f, renderer: M, extend: w, controls: y, invalidate: p } = sI();
4997
5006
  cg(t, () => {
4998
5007
  p();
4999
5008
  });
5000
5009
  const F = Qg(null);
5001
- w({ MapControls: Vk }), cg(d, (m) => {
5002
- m && t.makeDefault ? d.value = m : d.value = null;
5010
+ w({ MapControls: Vk }), cg(y, (m) => {
5011
+ m && t.makeDefault ? y.value = m : y.value = null;
5003
5012
  });
5004
5013
  const { onBeforeRender: R } = vC();
5005
5014
  return R(() => {
5006
5015
  F.value && (i.value || I.value) && F.value.update();
5007
5016
  }), it(() => {
5008
5017
  F.value && F.value.dispose();
5009
- }), A({ instance: F }), (m, L) => (g.camera || CA(f)) && (g.domElement || CA(v).domElement) ? (Be(), Je("TresMapControls", {
5018
+ }), A({ instance: F }), (m, L) => (g.camera || CA(f)) && (g.domElement || CA(M).domElement) ? (Be(), Je("TresMapControls", {
5010
5019
  key: 0,
5011
5020
  ref_key: "controlsRef",
5012
5021
  ref: F,
5013
- args: [g.camera || CA(f), g.domElement || CA(v).domElement],
5022
+ args: [g.camera || CA(f), g.domElement || CA(M).domElement],
5014
5023
  "auto-rotate": CA(I),
5015
5024
  "auto-rotate-speed": CA(C),
5016
5025
  "enable-damping": CA(i),
@@ -5028,8 +5037,8 @@ var aU = /* @__PURE__ */ Se({
5028
5037
  "max-zoom": CA(h),
5029
5038
  "enable-zoom": CA(u),
5030
5039
  "zoom-speed": CA(D),
5031
- "enable-rotate": CA(y),
5032
- "rotate-speed": CA(M)
5040
+ "enable-rotate": CA(d),
5041
+ "rotate-speed": CA(v)
5033
5042
  }, null, 8, nU)) : rQ("v-if", !0);
5034
5043
  }
5035
5044
  }), l4 = aU;
@@ -5201,7 +5210,7 @@ var sU = /* @__PURE__ */ Se({
5201
5210
  "end"
5202
5211
  ],
5203
5212
  setup(g, { expose: A, emit: e }) {
5204
- const t = g, I = e, { makeDefault: C, autoRotate: i, autoRotateSpeed: B, enableDamping: Q, dampingFactor: r, enablePan: o, keyPanSpeed: n, maxAzimuthAngle: a, minAzimuthAngle: E, maxPolarAngle: s, minPolarAngle: c, minDistance: l, maxDistance: h, minZoom: u, maxZoom: D, enableZoom: y, zoomSpeed: M, enableRotate: f, touches: v, rotateSpeed: w, target: d, mouseButtons: p } = QQ(t), { camera: F, renderer: R, extend: m, controls: L, invalidate: Y } = sI(), H = Qg(null);
5213
+ const t = g, I = e, { makeDefault: C, autoRotate: i, autoRotateSpeed: B, enableDamping: Q, dampingFactor: r, enablePan: o, keyPanSpeed: n, maxAzimuthAngle: a, minAzimuthAngle: E, maxPolarAngle: s, minPolarAngle: c, minDistance: l, maxDistance: h, minZoom: u, maxZoom: D, enableZoom: d, zoomSpeed: v, enableRotate: f, touches: M, rotateSpeed: w, target: y, mouseButtons: p } = QQ(t), { camera: F, renderer: R, extend: m, controls: L, invalidate: Y } = sI(), H = Qg(null);
5205
5214
  m({ OrbitControls: fy }), cg(H, (O) => {
5206
5215
  V(), O && C.value ? L.value = O : L.value = null;
5207
5216
  });
@@ -5219,7 +5228,7 @@ var sU = /* @__PURE__ */ Se({
5219
5228
  ref_key: "controlsRef",
5220
5229
  ref: H,
5221
5230
  key: (g.camera || CA(F))?.uuid,
5222
- target: CA(d),
5231
+ target: CA(y),
5223
5232
  "auto-rotate": CA(i),
5224
5233
  "auto-rotate-speed": CA(B),
5225
5234
  "enable-damping": CA(Q),
@@ -5235,9 +5244,9 @@ var sU = /* @__PURE__ */ Se({
5235
5244
  "max-distance": CA(h),
5236
5245
  "min-zoom": CA(u),
5237
5246
  "max-zoom": CA(D),
5238
- touches: CA(v),
5239
- "enable-zoom": CA(y),
5240
- "zoom-speed": CA(M),
5247
+ touches: CA(M),
5248
+ "enable-zoom": CA(d),
5249
+ "zoom-speed": CA(v),
5241
5250
  "enable-rotate": CA(f),
5242
5251
  "rotate-speed": CA(w),
5243
5252
  "mouse-buttons": CA(p),
@@ -5517,7 +5526,7 @@ var GU = /* @__PURE__ */ Se({
5517
5526
  },
5518
5527
  emits: ["onOcclude"],
5519
5528
  setup(g, { expose: A, emit: e }) {
5520
- const t = g, I = e, C = _F(), { geometry: i, material: B, as: Q, transform: r, portal: o, wrapperClass: n, eps: a, distanceFactor: E, fullscreen: s, center: c, pointerEvents: l, sprite: h, prepend: u, occlude: D, zIndexRange: y, castShadow: M, receiveShadow: f, transparentMaterial: v, calculatePosition: w } = QQ(t), d = PF(), p = Qg(null), F = Qg(null), R = new mF(), { renderer: m, scene: L, camera: Y, sizes: H } = oQ(), V = ng(() => document.createElement(Q.value)), x = new yd(), O = new DA(), W = new CI(), $ = new aC(), eA = Ae([
5529
+ const t = g, I = e, C = _F(), { geometry: i, material: B, as: Q, transform: r, portal: o, wrapperClass: n, eps: a, distanceFactor: E, fullscreen: s, center: c, pointerEvents: l, sprite: h, prepend: u, occlude: D, zIndexRange: d, castShadow: v, receiveShadow: f, transparentMaterial: M, calculatePosition: w } = QQ(t), y = PF(), p = Qg(null), F = Qg(null), R = new mF(), { renderer: m, scene: L, camera: Y, sizes: H } = oQ(), V = ng(() => document.createElement(Q.value)), x = new yd(), O = new DA(), W = new CI(), $ = new aC(), eA = Ae([
5521
5530
  0,
5522
5531
  0,
5523
5532
  0
@@ -5527,7 +5536,7 @@ var GU = /* @__PURE__ */ Se({
5527
5536
  left: "0",
5528
5537
  willChange: "transform",
5529
5538
  pointerEvents: l.value,
5530
- ...typeof d.style == "object" ? d.style : {}
5539
+ ...typeof y.style == "object" ? y.style : {}
5531
5540
  })), q = ng(() => {
5532
5541
  const T = H.width.value, P = H.height.value;
5533
5542
  return r.value ? {
@@ -5557,18 +5566,18 @@ var GU = /* @__PURE__ */ Se({
5557
5566
  vertexShader: h.value ? Bu : r.value ? DU : Bu,
5558
5567
  fragmentShader: uU,
5559
5568
  side: Md,
5560
- transparent: v.value,
5569
+ transparent: M.value,
5561
5570
  uniforms: {
5562
5571
  uWidth: { value: 1 },
5563
5572
  uHeight: { value: 1 }
5564
5573
  }
5565
5574
  }));
5566
5575
  Gg(() => {
5567
- U.value.transparent = v.value;
5576
+ U.value.transparent = M.value;
5568
5577
  }), cg([D, () => m.instance], ([T, P]) => {
5569
5578
  if (!P || T !== "blending") return;
5570
5579
  const AA = P.domElement;
5571
- AA.style.zIndex = `${Math.floor(y.value[0] / 2)}`, AA.style.position = "absolute";
5580
+ AA.style.zIndex = `${Math.floor(d.value[0] / 2)}`, AA.style.position = "absolute";
5572
5581
  }, { immediate: !0 }), cg(() => [
5573
5582
  p.value,
5574
5583
  m.instance,
@@ -5580,16 +5589,16 @@ var GU = /* @__PURE__ */ Se({
5580
5589
  if (!T || !P || !Y.activeCamera.value) return;
5581
5590
  JA.value = !1, L.value?.updateMatrixWorld();
5582
5591
  const AA = V.value.style;
5583
- AA.position = "absolute", AA.top = "0", AA.left = "0", r.value ? (AA.pointerEvents = "none", AA.overflow = "hidden", AA.transformStyle = "preserve-3d") : (AA.transformOrigin = "0 0", AA.willChange = "transform", D.value || (AA.zIndex = `${y.value[0]}`));
5592
+ AA.position = "absolute", AA.top = "0", AA.left = "0", r.value ? (AA.pointerEvents = "none", AA.overflow = "hidden", AA.transformStyle = "preserve-3d") : (AA.transformOrigin = "0 0", AA.willChange = "transform", D.value || (AA.zIndex = `${d.value[0]}`));
5584
5593
  const pA = o.value || P.domElement?.parentNode;
5585
5594
  pA && !V.value.parentNode && (u.value ? pA.prepend(V.value) : pA.appendChild(V.value)), rA.value = r.value ? mQ("div", { style: q.value }, [mQ("div", { style: S.value }, [mQ("div", {
5586
5595
  key: p.value?.uuid,
5587
- class: d.class,
5588
- style: d.style
5596
+ class: y.class,
5597
+ style: y.style
5589
5598
  }, C.default?.())])]) : mQ("div", {
5590
5599
  key: p.value?.uuid,
5591
5600
  style: q.value,
5592
- class: d.class
5601
+ class: y.class
5593
5602
  }, C.default?.()), VF(rA.value, V.value);
5594
5603
  }), Gg(() => {
5595
5604
  n.value && (V.value.className = n.value);
@@ -5610,7 +5619,7 @@ var GU = /* @__PURE__ */ Se({
5610
5619
  Array.isArray(D.value) ? XA = D.value : D.value !== "blending" && (XA = [L.value]), XA && (X = yU(P, AA, x, XA) && !dI);
5611
5620
  } else X = !dI;
5612
5621
  X !== MA.value && (MA.value = X, V.value.style.display = X ? "block" : "none", I("onOcclude", !X), Lg = !0);
5613
- const yI = Math.floor(y.value[0] / 2), kt = D.value ? N.value ? [y.value[0], yI] : [yI - 1, 0] : y.value;
5622
+ const yI = Math.floor(d.value[0] / 2), kt = D.value ? N.value ? [d.value[0], yI] : [yI - 1, 0] : d.value;
5614
5623
  if (V.value.style.zIndex = `${MU(P, AA, kt)}`, r.value) {
5615
5624
  const XA = AA.projectionMatrix.elements[5] * Ag, vg = FU(AA.matrixWorldInverse), Mg = AA instanceof zt, G = Mg ? `scale(${XA})translate(${OE(-(AA.right + AA.left) / 2)}px,${OE((AA.top + AA.bottom) / 2)}px)` : `translateZ(${XA}px)`;
5616
5625
  let K = P.matrixWorld;
@@ -5641,7 +5650,7 @@ var GU = /* @__PURE__ */ Se({
5641
5650
  const Mg = vg[0]?.el;
5642
5651
  if (Mg) {
5643
5652
  const G = AA instanceof zt;
5644
- if (G && i.value && d.scale) Array.isArray(d.scale) ? d.scale instanceof DA ? XA.scale.copy(d.scale) : XA.scale.set(1 / d.scale[0], 1 / d.scale[1], 1 / d.scale[2]) : XA.scale.setScalar(1 / d.scale);
5653
+ if (G && i.value && y.scale) Array.isArray(y.scale) ? y.scale instanceof DA ? XA.scale.copy(y.scale) : XA.scale.set(1 / y.scale[0], 1 / y.scale[1], 1 / y.scale[2]) : XA.scale.setScalar(1 / y.scale);
5645
5654
  else if (!G && !i.value) {
5646
5655
  const K = (E.value || 10) / 400;
5647
5656
  if (h.value)
@@ -5681,7 +5690,7 @@ var GU = /* @__PURE__ */ Se({
5681
5690
  ref_key: "occlusionMeshRef",
5682
5691
  ref: F,
5683
5692
  material: U.value,
5684
- "cast-shadow": CA(M),
5693
+ "cast-shadow": CA(v),
5685
5694
  "receive-shadow": CA(f),
5686
5695
  geometry: CA(i) || CA(R)
5687
5696
  }, null, 8, SU)) : rQ("v-if", !0)], 512));
@@ -7173,146 +7182,146 @@ function KL(g, A) {
7173
7182
  var h = 0;
7174
7183
  for (h = 0; h < s; h++)
7175
7184
  i[h] = g[E + h];
7176
- var u = 0, D = c, y = E;
7177
- if (g[y++] = g[D++], --l === 0) {
7185
+ var u = 0, D = c, d = E;
7186
+ if (g[d++] = g[D++], --l === 0) {
7178
7187
  for (h = 0; h < s; h++)
7179
- g[y + h] = i[u + h];
7188
+ g[d + h] = i[u + h];
7180
7189
  return;
7181
7190
  }
7182
7191
  if (s === 1) {
7183
7192
  for (h = 0; h < l; h++)
7184
- g[y + h] = g[D + h];
7185
- g[y + l] = i[u];
7193
+ g[d + h] = g[D + h];
7194
+ g[d + l] = i[u];
7186
7195
  return;
7187
7196
  }
7188
- for (var M = e, f, v, w; ; ) {
7189
- f = 0, v = 0, w = !1;
7197
+ for (var v = e, f, M, w; ; ) {
7198
+ f = 0, M = 0, w = !1;
7190
7199
  do
7191
7200
  if (A(g[D], i[u]) < 0) {
7192
- if (g[y++] = g[D++], v++, f = 0, --l === 0) {
7201
+ if (g[d++] = g[D++], M++, f = 0, --l === 0) {
7193
7202
  w = !0;
7194
7203
  break;
7195
7204
  }
7196
- } else if (g[y++] = i[u++], f++, v = 0, --s === 1) {
7205
+ } else if (g[d++] = i[u++], f++, M = 0, --s === 1) {
7197
7206
  w = !0;
7198
7207
  break;
7199
7208
  }
7200
- while ((f | v) < M);
7209
+ while ((f | M) < v);
7201
7210
  if (w)
7202
7211
  break;
7203
7212
  do {
7204
7213
  if (f = Ia(g[D], i, u, s, 0, A), f !== 0) {
7205
7214
  for (h = 0; h < f; h++)
7206
- g[y + h] = i[u + h];
7207
- if (y += f, u += f, s -= f, s <= 1) {
7215
+ g[d + h] = i[u + h];
7216
+ if (d += f, u += f, s -= f, s <= 1) {
7208
7217
  w = !0;
7209
7218
  break;
7210
7219
  }
7211
7220
  }
7212
- if (g[y++] = g[D++], --l === 0) {
7221
+ if (g[d++] = g[D++], --l === 0) {
7213
7222
  w = !0;
7214
7223
  break;
7215
7224
  }
7216
- if (v = ta(i[u], g, D, l, 0, A), v !== 0) {
7217
- for (h = 0; h < v; h++)
7218
- g[y + h] = g[D + h];
7219
- if (y += v, D += v, l -= v, l === 0) {
7225
+ if (M = ta(i[u], g, D, l, 0, A), M !== 0) {
7226
+ for (h = 0; h < M; h++)
7227
+ g[d + h] = g[D + h];
7228
+ if (d += M, D += M, l -= M, l === 0) {
7220
7229
  w = !0;
7221
7230
  break;
7222
7231
  }
7223
7232
  }
7224
- if (g[y++] = i[u++], --s === 1) {
7233
+ if (g[d++] = i[u++], --s === 1) {
7225
7234
  w = !0;
7226
7235
  break;
7227
7236
  }
7228
- M--;
7229
- } while (f >= Ji || v >= Ji);
7237
+ v--;
7238
+ } while (f >= Ji || M >= Ji);
7230
7239
  if (w)
7231
7240
  break;
7232
- M < 0 && (M = 0), M += 2;
7241
+ v < 0 && (v = 0), v += 2;
7233
7242
  }
7234
- if (e = M, e < 1 && (e = 1), s === 1) {
7243
+ if (e = v, e < 1 && (e = 1), s === 1) {
7235
7244
  for (h = 0; h < l; h++)
7236
- g[y + h] = g[D + h];
7237
- g[y + l] = i[u];
7245
+ g[d + h] = g[D + h];
7246
+ g[d + l] = i[u];
7238
7247
  } else {
7239
7248
  if (s === 0)
7240
7249
  throw new Error();
7241
7250
  for (h = 0; h < s; h++)
7242
- g[y + h] = i[u + h];
7251
+ g[d + h] = i[u + h];
7243
7252
  }
7244
7253
  }
7245
7254
  function a(E, s, c, l) {
7246
7255
  var h = 0;
7247
7256
  for (h = 0; h < l; h++)
7248
7257
  i[h] = g[c + h];
7249
- var u = E + s - 1, D = l - 1, y = c + l - 1, M = 0, f = 0;
7250
- if (g[y--] = g[u--], --s === 0) {
7251
- for (M = y - (l - 1), h = 0; h < l; h++)
7252
- g[M + h] = i[h];
7258
+ var u = E + s - 1, D = l - 1, d = c + l - 1, v = 0, f = 0;
7259
+ if (g[d--] = g[u--], --s === 0) {
7260
+ for (v = d - (l - 1), h = 0; h < l; h++)
7261
+ g[v + h] = i[h];
7253
7262
  return;
7254
7263
  }
7255
7264
  if (l === 1) {
7256
- for (y -= s, u -= s, f = y + 1, M = u + 1, h = s - 1; h >= 0; h--)
7257
- g[f + h] = g[M + h];
7258
- g[y] = i[D];
7265
+ for (d -= s, u -= s, f = d + 1, v = u + 1, h = s - 1; h >= 0; h--)
7266
+ g[f + h] = g[v + h];
7267
+ g[d] = i[D];
7259
7268
  return;
7260
7269
  }
7261
- for (var v = e; ; ) {
7262
- var w = 0, d = 0, p = !1;
7270
+ for (var M = e; ; ) {
7271
+ var w = 0, y = 0, p = !1;
7263
7272
  do
7264
7273
  if (A(i[D], g[u]) < 0) {
7265
- if (g[y--] = g[u--], w++, d = 0, --s === 0) {
7274
+ if (g[d--] = g[u--], w++, y = 0, --s === 0) {
7266
7275
  p = !0;
7267
7276
  break;
7268
7277
  }
7269
- } else if (g[y--] = i[D--], d++, w = 0, --l === 1) {
7278
+ } else if (g[d--] = i[D--], y++, w = 0, --l === 1) {
7270
7279
  p = !0;
7271
7280
  break;
7272
7281
  }
7273
- while ((w | d) < v);
7282
+ while ((w | y) < M);
7274
7283
  if (p)
7275
7284
  break;
7276
7285
  do {
7277
7286
  if (w = s - Ia(i[D], g, E, s, s - 1, A), w !== 0) {
7278
- for (y -= w, u -= w, s -= w, f = y + 1, M = u + 1, h = w - 1; h >= 0; h--)
7279
- g[f + h] = g[M + h];
7287
+ for (d -= w, u -= w, s -= w, f = d + 1, v = u + 1, h = w - 1; h >= 0; h--)
7288
+ g[f + h] = g[v + h];
7280
7289
  if (s === 0) {
7281
7290
  p = !0;
7282
7291
  break;
7283
7292
  }
7284
7293
  }
7285
- if (g[y--] = i[D--], --l === 1) {
7294
+ if (g[d--] = i[D--], --l === 1) {
7286
7295
  p = !0;
7287
7296
  break;
7288
7297
  }
7289
- if (d = l - ta(g[u], i, 0, l, l - 1, A), d !== 0) {
7290
- for (y -= d, D -= d, l -= d, f = y + 1, M = D + 1, h = 0; h < d; h++)
7291
- g[f + h] = i[M + h];
7298
+ if (y = l - ta(g[u], i, 0, l, l - 1, A), y !== 0) {
7299
+ for (d -= y, D -= y, l -= y, f = d + 1, v = D + 1, h = 0; h < y; h++)
7300
+ g[f + h] = i[v + h];
7292
7301
  if (l <= 1) {
7293
7302
  p = !0;
7294
7303
  break;
7295
7304
  }
7296
7305
  }
7297
- if (g[y--] = g[u--], --s === 0) {
7306
+ if (g[d--] = g[u--], --s === 0) {
7298
7307
  p = !0;
7299
7308
  break;
7300
7309
  }
7301
- v--;
7302
- } while (w >= Ji || d >= Ji);
7310
+ M--;
7311
+ } while (w >= Ji || y >= Ji);
7303
7312
  if (p)
7304
7313
  break;
7305
- v < 0 && (v = 0), v += 2;
7314
+ M < 0 && (M = 0), M += 2;
7306
7315
  }
7307
- if (e = v, e < 1 && (e = 1), l === 1) {
7308
- for (y -= s, u -= s, f = y + 1, M = u + 1, h = s - 1; h >= 0; h--)
7309
- g[f + h] = g[M + h];
7310
- g[y] = i[D];
7316
+ if (e = M, e < 1 && (e = 1), l === 1) {
7317
+ for (d -= s, u -= s, f = d + 1, v = u + 1, h = s - 1; h >= 0; h--)
7318
+ g[f + h] = g[v + h];
7319
+ g[d] = i[D];
7311
7320
  } else {
7312
7321
  if (l === 0)
7313
7322
  throw new Error();
7314
- for (M = y - (l - 1), h = 0; h < l; h++)
7315
- g[M + h] = i[h];
7323
+ for (v = d - (l - 1), h = 0; h < l; h++)
7324
+ g[v + h] = i[h];
7316
7325
  }
7317
7326
  }
7318
7327
  return {
@@ -7543,13 +7552,13 @@ function no(g, A, e, t, I, C) {
7543
7552
  var l = n / o, s = -B / i + l, h = -l / 2;
7544
7553
  s >= 0 && s <= 1 && (C[E++] = s), h >= 0 && h <= 1 && (C[E++] = h);
7545
7554
  } else if (c > 0) {
7546
- var u = gI(c), D = o * B + 1.5 * i * (-n + u), y = o * B + 1.5 * i * (-n - u);
7547
- D < 0 ? D = -JQ(-D, HQ) : D = JQ(D, HQ), y < 0 ? y = -JQ(-y, HQ) : y = JQ(y, HQ);
7548
- var s = (-B - (D + y)) / (3 * i);
7555
+ var u = gI(c), D = o * B + 1.5 * i * (-n + u), d = o * B + 1.5 * i * (-n - u);
7556
+ D < 0 ? D = -JQ(-D, HQ) : D = JQ(D, HQ), d < 0 ? d = -JQ(-d, HQ) : d = JQ(d, HQ);
7557
+ var s = (-B - (D + d)) / (3 * i);
7549
7558
  s >= 0 && s <= 1 && (C[E++] = s);
7550
7559
  } else {
7551
- var M = (2 * o * B - 3 * i * n) / (2 * gI(o * o * o)), f = Math.acos(M) / 3, v = gI(o), w = Math.cos(f), s = (-B - 2 * v * w) / (3 * i), h = (-B + v * (w + fu * Math.sin(f))) / (3 * i), d = (-B + v * (w - fu * Math.sin(f))) / (3 * i);
7552
- s >= 0 && s <= 1 && (C[E++] = s), h >= 0 && h <= 1 && (C[E++] = h), d >= 0 && d <= 1 && (C[E++] = d);
7560
+ var v = (2 * o * B - 3 * i * n) / (2 * gI(o * o * o)), f = Math.acos(v) / 3, M = gI(o), w = Math.cos(f), s = (-B - 2 * M * w) / (3 * i), h = (-B + M * (w + fu * Math.sin(f))) / (3 * i), y = (-B + M * (w - fu * Math.sin(f))) / (3 * i);
7561
+ s >= 0 && s <= 1 && (C[E++] = s), h >= 0 && h <= 1 && (C[E++] = h), y >= 0 && y <= 1 && (C[E++] = y);
7553
7562
  }
7554
7563
  }
7555
7564
  return E;
@@ -8290,20 +8299,20 @@ var Hi = [0, 0, 0, 0], BK = (function() {
8290
8299
  else if (TQ(C))
8291
8300
  C === Yr ? Ba(u, E[I], s[I], h) : tK(u, E[I], s[I], h);
8292
8301
  else if (Fu(C)) {
8293
- var D = E[I], y = s[I], M = C === is;
8302
+ var D = E[I], d = s[I], v = C === is;
8294
8303
  A[Q] = {
8295
- type: M ? "linear" : "radial",
8296
- x: Dt(D.x, y.x, h),
8297
- y: Dt(D.y, y.y, h),
8298
- colorStops: nA(D.colorStops, function(v, w) {
8299
- var d = y.colorStops[w];
8304
+ type: v ? "linear" : "radial",
8305
+ x: Dt(D.x, d.x, h),
8306
+ y: Dt(D.y, d.y, h),
8307
+ colorStops: nA(D.colorStops, function(M, w) {
8308
+ var y = d.colorStops[w];
8300
8309
  return {
8301
- offset: Dt(v.offset, d.offset, h),
8302
- color: Hr(Ba([], v.color, d.color, h))
8310
+ offset: Dt(M.offset, y.offset, h),
8311
+ color: Hr(Ba([], M.color, y.color, h))
8303
8312
  };
8304
8313
  }),
8305
- global: y.global
8306
- }, M ? (A[Q].x2 = Dt(D.x2, y.x2, h), A[Q].y2 = Dt(D.y2, y.y2, h)) : A[Q].r = Dt(D.r, y.r, h);
8314
+ global: d.global
8315
+ }, v ? (A[Q].x2 = Dt(D.x2, d.x2, h), A[Q].y2 = Dt(D.y2, d.y2, h)) : A[Q].r = Dt(D.r, d.r, h);
8307
8316
  } else if (r)
8308
8317
  Ba(u, E[I], s[I], h), t || (A[Q] = Hr(u));
8309
8318
  else {
@@ -8980,8 +8989,8 @@ var LC = {}, la = "__zr_normal__", ha = JB.concat(["ignore"]), uK = Qt(JB, funct
8980
8989
  C.getLocalTransform(PQ), hI(PQ, PQ), wA.copy(u, a), u.applyTransform(PQ);
8981
8990
  } else
8982
8991
  h.overflowRect = null;
8983
- var D = t.inside == null ? typeof t.position == "string" && t.position.indexOf("inside") >= 0 : t.inside, y = void 0, M = void 0, f = void 0;
8984
- D && this.canBeInsideText() ? (y = t.insideFill, M = t.insideStroke, (y == null || y === "auto") && (y = this.getInsideTextFill()), (M == null || M === "auto") && (M = this.getInsideTextStroke(y), f = !0)) : (y = t.outsideFill, M = t.outsideStroke, (y == null || y === "auto") && (y = this.getOutsideFill()), (M == null || M === "auto") && (M = this.getOutsideStroke(y), f = !0)), y = y || "#000", (y !== h.fill || M !== h.stroke || f !== h.autoStroke || i !== h.align || B !== h.verticalAlign) && (Q = !0, h.fill = y, h.stroke = M, h.autoStroke = f, h.align = i, h.verticalAlign = B, e.setDefaultTextStyle(h)), e.__dirty |= Qe, Q && e.dirtyStyle(!0);
8992
+ var D = t.inside == null ? typeof t.position == "string" && t.position.indexOf("inside") >= 0 : t.inside, d = void 0, v = void 0, f = void 0;
8993
+ D && this.canBeInsideText() ? (d = t.insideFill, v = t.insideStroke, (d == null || d === "auto") && (d = this.getInsideTextFill()), (v == null || v === "auto") && (v = this.getInsideTextStroke(d), f = !0)) : (d = t.outsideFill, v = t.outsideStroke, (d == null || d === "auto") && (d = this.getOutsideFill()), (v == null || v === "auto") && (v = this.getOutsideStroke(d), f = !0)), d = d || "#000", (d !== h.fill || v !== h.stroke || f !== h.autoStroke || i !== h.align || B !== h.verticalAlign) && (Q = !0, h.fill = d, h.stroke = v, h.autoStroke = f, h.align = i, h.verticalAlign = B, e.setDefaultTextStyle(h)), e.__dirty |= Qe, Q && e.dirtyStyle(!0);
8985
8994
  }
8986
8995
  }, g.prototype.canBeInsideText = function() {
8987
8996
  return !0;
@@ -9345,37 +9354,37 @@ function i0(g, A, e, t, I, C, i, B) {
9345
9354
  }
9346
9355
  var D = c.length;
9347
9356
  if (!n && D)
9348
- for (var y = 0; y < s.length; y++) {
9349
- var M = s[y];
9350
- if (M.targetName === A) {
9351
- var f = M.stopTracks(c);
9357
+ for (var d = 0; d < s.length; d++) {
9358
+ var v = s[d];
9359
+ if (v.targetName === A) {
9360
+ var f = v.stopTracks(c);
9352
9361
  if (f) {
9353
- var v = kA(s, M);
9354
- s.splice(v, 1);
9362
+ var M = kA(s, v);
9363
+ s.splice(M, 1);
9355
9364
  }
9356
9365
  }
9357
9366
  }
9358
9367
  if (I.force || (c = ag(c, function(F) {
9359
9368
  return !dK(t[F], e[F]);
9360
9369
  }), D = c.length), D > 0 || I.force && !i.length) {
9361
- var w = void 0, d = void 0, p = void 0;
9370
+ var w = void 0, y = void 0, p = void 0;
9362
9371
  if (B) {
9363
- d = {}, a && (w = {});
9364
- for (var y = 0; y < D; y++) {
9365
- var h = c[y];
9366
- d[h] = e[h], a ? w[h] = t[h] : e[h] = t[h];
9372
+ y = {}, a && (w = {});
9373
+ for (var d = 0; d < D; d++) {
9374
+ var h = c[d];
9375
+ y[h] = e[h], a ? w[h] = t[h] : e[h] = t[h];
9367
9376
  }
9368
9377
  } else if (a) {
9369
9378
  p = {};
9370
- for (var y = 0; y < D; y++) {
9371
- var h = c[y];
9379
+ for (var d = 0; d < D; d++) {
9380
+ var h = c[d];
9372
9381
  p[h] = Jr(e[h]), wK(e, t, h);
9373
9382
  }
9374
9383
  }
9375
- var M = new Kl(e, !1, !1, n ? ag(s, function(R) {
9384
+ var v = new Kl(e, !1, !1, n ? ag(s, function(R) {
9376
9385
  return R.targetName === A;
9377
9386
  }) : null);
9378
- M.targetName = A, I.scope && (M.scope = I.scope), a && w && M.whenWithKeys(0, w, c), p && M.whenWithKeys(0, p, c), M.whenWithKeys(r ?? 500, B ? d : t, c).delay(o || 0), g.addAnimator(M, A), i.push(M);
9387
+ v.targetName = A, I.scope && (v.scope = I.scope), a && w && v.whenWithKeys(0, w, c), p && v.whenWithKeys(0, p, c), v.whenWithKeys(r ?? 500, B ? y : t, c).delay(o || 0), g.addAnimator(v, A), i.push(v);
9379
9388
  }
9380
9389
  }
9381
9390
  var pK = {}, eg = (function(g) {
@@ -10356,20 +10365,20 @@ function dJ(g, A, e, t) {
10356
10365
  s = s || h.length > D, h = h.slice(0, D), u = h.length * a;
10357
10366
  }
10358
10367
  if (I && o && c != null)
10359
- for (var y = d0(c, r, A.ellipsis, {
10368
+ for (var d = d0(c, r, A.ellipsis, {
10360
10369
  minChar: A.truncateMinChar,
10361
10370
  placeholder: A.placeholder
10362
- }), M = {}, f = 0; f < h.length; f++)
10363
- y0(M, h[f], y), h[f] = M.textLine, s = s || M.isTruncated;
10364
- for (var v = l, w = 0, d = tt(r), f = 0; f < h.length; f++)
10365
- w = Math.max(It(d, h[f]), w);
10371
+ }), v = {}, f = 0; f < h.length; f++)
10372
+ y0(v, h[f], d), h[f] = v.textLine, s = s || v.isTruncated;
10373
+ for (var M = l, w = 0, y = tt(r), f = 0; f < h.length; f++)
10374
+ w = Math.max(It(y, h[f]), w);
10366
10375
  c == null && (c = w);
10367
10376
  var p = c;
10368
- return v += Q, p += B, {
10377
+ return M += Q, p += B, {
10369
10378
  lines: h,
10370
10379
  height: l,
10371
10380
  outerWidth: p,
10372
- outerHeight: v,
10381
+ outerHeight: M,
10373
10382
  lineHeight: a,
10374
10383
  calculatedLineHeight: n,
10375
10384
  contentWidth: w,
@@ -10406,18 +10415,18 @@ function vJ(g, A, e, t, I) {
10406
10415
  l > s && wa(C, i.substring(s, l), A, E), wa(C, c[2], A, E, c[1]), s = fa.lastIndex;
10407
10416
  }
10408
10417
  s < i.length && wa(C, i.substring(s, i.length), A, E);
10409
- var h = [], u = 0, D = 0, y = a === "truncate", M = A.lineOverflow === "truncate", f = {};
10410
- function v(JA, bA, q) {
10418
+ var h = [], u = 0, D = 0, d = a === "truncate", v = A.lineOverflow === "truncate", f = {};
10419
+ function M(JA, bA, q) {
10411
10420
  JA.width = bA, JA.lineHeight = q, u += q, D = Math.max(D, bA);
10412
10421
  }
10413
10422
  A: for (var w = 0; w < C.lines.length; w++) {
10414
- for (var d = C.lines[w], p = 0, F = 0, R = 0; R < d.tokens.length; R++) {
10415
- var m = d.tokens[R], L = m.styleName && A.rich[m.styleName] || {}, Y = m.textPadding = L.padding, H = Y ? Y[1] + Y[3] : 0, V = m.font = L.font || A.font;
10423
+ for (var y = C.lines[w], p = 0, F = 0, R = 0; R < y.tokens.length; R++) {
10424
+ var m = y.tokens[R], L = m.styleName && A.rich[m.styleName] || {}, Y = m.textPadding = L.padding, H = Y ? Y[1] + Y[3] : 0, V = m.font = L.font || A.font;
10416
10425
  m.contentHeight = Cn(V);
10417
10426
  var x = lA(L.height, m.contentHeight);
10418
- if (m.innerHeight = x, Y && (x += Y[0] + Y[2]), m.height = x, m.lineHeight = ye(L.lineHeight, A.lineHeight, x), m.align = L && L.align || I, m.verticalAlign = L && L.verticalAlign || "middle", M && n != null && u + m.lineHeight > n) {
10427
+ if (m.innerHeight = x, Y && (x += Y[0] + Y[2]), m.height = x, m.lineHeight = ye(L.lineHeight, A.lineHeight, x), m.align = L && L.align || I, m.verticalAlign = L && L.verticalAlign || "middle", v && n != null && u + m.lineHeight > n) {
10419
10428
  var O = C.lines.length;
10420
- R > 0 ? (d.tokens = d.tokens.slice(0, R), v(d, F, p), C.lines = C.lines.slice(0, w + 1)) : C.lines = C.lines.slice(0, w), C.isTruncated = C.isTruncated || C.lines.length < O;
10429
+ R > 0 ? (y.tokens = y.tokens.slice(0, R), M(y, F, p), C.lines = C.lines.slice(0, w + 1)) : C.lines = C.lines.slice(0, w), C.isTruncated = C.isTruncated || C.lines.length < O;
10421
10430
  break A;
10422
10431
  }
10423
10432
  var W = L.width, $ = W == null || W === "auto";
@@ -10428,12 +10437,12 @@ function vJ(g, A, e, t, I) {
10428
10437
  var eA = L.backgroundColor, iA = eA && eA.image;
10429
10438
  iA && (iA = DJ(iA), on(iA) && (m.width = Math.max(m.width, iA.width * x / iA.height)));
10430
10439
  }
10431
- var rA = y && o != null ? o - F : null;
10440
+ var rA = d && o != null ? o - F : null;
10432
10441
  rA != null && rA < m.width ? !$ || rA < H ? (m.text = "", m.width = m.contentWidth = 0) : (w0(f, m.text, rA - H, V, A.ellipsis, { minChar: A.truncateMinChar }), m.text = f.text, C.isTruncated = C.isTruncated || f.isTruncated, m.width = m.contentWidth = It(tt(V), m.text)) : m.contentWidth = It(tt(V), m.text);
10433
10442
  }
10434
10443
  m.width += H, F += m.width, L && (p = Math.max(p, m.lineHeight));
10435
10444
  }
10436
- v(d, F, p);
10445
+ M(y, F, p);
10437
10446
  }
10438
10447
  C.outerWidth = C.width = lA(o, D), C.outerHeight = C.height = lA(n, u), C.contentHeight = u, C.contentWidth = D, C.outerWidth += Q, C.outerHeight += r;
10439
10448
  for (var w = 0; w < h.length; w++) {
@@ -10460,8 +10469,8 @@ function wa(g, A, e, t, I) {
10460
10469
  for (var l = tt(Q), h = 0; h < o.length; h++) {
10461
10470
  var u = o[h], D = new yJ();
10462
10471
  if (D.styleName = I, D.text = u, D.isLineHolder = !u && !C, typeof i.width == "number" ? D.width = i.width : D.width = n ? n[h] : It(l, u), !h && !r) {
10463
- var y = (B[B.length - 1] || (B[0] = new _u())).tokens, M = y.length;
10464
- M === 1 && y[0].isLineHolder ? y[0] = D : (u || !M || C) && y.push(D);
10472
+ var d = (B[B.length - 1] || (B[0] = new _u())).tokens, v = d.length;
10473
+ v === 1 && d[0].isLineHolder ? d[0] = D : (u || !v || C) && d.push(D);
10465
10474
  } else
10466
10475
  B.push(new _u([D]));
10467
10476
  }
@@ -10868,18 +10877,18 @@ var DC = (function() {
10868
10877
  break;
10869
10878
  }
10870
10879
  case TA.C: {
10871
- var y = A[a++], M = A[a++], l = A[a++], h = A[a++], f = A[a++], v = A[a++];
10872
- c = YL(C, i, y, M, l, h, f, v, 10), C = f, i = v;
10880
+ var d = A[a++], v = A[a++], l = A[a++], h = A[a++], f = A[a++], M = A[a++];
10881
+ c = YL(C, i, d, v, l, h, f, M, 10), C = f, i = M;
10873
10882
  break;
10874
10883
  }
10875
10884
  case TA.Q: {
10876
- var y = A[a++], M = A[a++], l = A[a++], h = A[a++];
10877
- c = TL(C, i, y, M, l, h, 10), C = l, i = h;
10885
+ var d = A[a++], v = A[a++], l = A[a++], h = A[a++];
10886
+ c = TL(C, i, d, v, l, h, 10), C = l, i = h;
10878
10887
  break;
10879
10888
  }
10880
10889
  case TA.A:
10881
- var w = A[a++], d = A[a++], p = A[a++], F = A[a++], R = A[a++], m = A[a++], L = m + R;
10882
- a += 1, s && (B = UI(R) * p + w, Q = LI(R) * F + d), c = Fa(p, F) * Ma(Tt, Math.abs(m)), C = UI(L) * p + w, i = LI(L) * F + d;
10890
+ var w = A[a++], y = A[a++], p = A[a++], F = A[a++], R = A[a++], m = A[a++], L = m + R;
10891
+ a += 1, s && (B = UI(R) * p + w, Q = LI(R) * F + y), c = Fa(p, F) * Ma(Tt, Math.abs(m)), C = UI(L) * p + w, i = LI(L) * F + y;
10883
10892
  break;
10884
10893
  case TA.R: {
10885
10894
  B = C = A[a++], Q = i = A[a++];
@@ -10897,18 +10906,18 @@ var DC = (function() {
10897
10906
  }
10898
10907
  return this._pathLen = o, o;
10899
10908
  }, g.prototype.rebuildPath = function(A, e) {
10900
- var t = this.data, I = this._ux, C = this._uy, i = this._len, B, Q, r, o, n, a, E = e < 1, s, c, l = 0, h = 0, u, D = 0, y, M;
10909
+ var t = this.data, I = this._ux, C = this._uy, i = this._len, B, Q, r, o, n, a, E = e < 1, s, c, l = 0, h = 0, u, D = 0, d, v;
10901
10910
  if (!(E && (this._pathSegLen || this._calculateLength(), s = this._pathSegLen, c = this._pathLen, u = e * c, !u)))
10902
10911
  A: for (var f = 0; f < i; ) {
10903
- var v = t[f++], w = f === 1;
10904
- switch (w && (r = t[f], o = t[f + 1], B = r, Q = o), v !== TA.L && D > 0 && (A.lineTo(y, M), D = 0), v) {
10912
+ var M = t[f++], w = f === 1;
10913
+ switch (w && (r = t[f], o = t[f + 1], B = r, Q = o), M !== TA.L && D > 0 && (A.lineTo(d, v), D = 0), M) {
10905
10914
  case TA.M:
10906
10915
  B = r = t[f++], Q = o = t[f++], A.moveTo(r, o);
10907
10916
  break;
10908
10917
  case TA.L: {
10909
10918
  n = t[f++], a = t[f++];
10910
- var d = lt(n - r), p = lt(a - o);
10911
- if (d > I || p > C) {
10919
+ var y = lt(n - r), p = lt(a - o);
10920
+ if (y > I || p > C) {
10912
10921
  if (E) {
10913
10922
  var F = s[h++];
10914
10923
  if (l + F > u) {
@@ -10920,8 +10929,8 @@ var DC = (function() {
10920
10929
  }
10921
10930
  A.lineTo(n, a), r = n, o = a, D = 0;
10922
10931
  } else {
10923
- var m = d * d + p * p;
10924
- m > D && (y = n, M = a, D = m);
10932
+ var m = y * y + p * p;
10933
+ m > D && (d = n, v = a, D = m);
10925
10934
  }
10926
10935
  break;
10927
10936
  }
@@ -11161,22 +11170,22 @@ function M0(g, A, e, t, I) {
11161
11170
  Q = C[s++], r = C[s++];
11162
11171
  break;
11163
11172
  case Lt.A:
11164
- var h = C[s++], u = C[s++], D = C[s++], y = C[s++], M = C[s++], f = C[s++];
11173
+ var h = C[s++], u = C[s++], D = C[s++], d = C[s++], v = C[s++], f = C[s++];
11165
11174
  s += 1;
11166
- var v = !!(1 - C[s++]);
11167
- a = Math.cos(M) * D + h, E = Math.sin(M) * y + u, l ? (o = a, n = E) : B += ft(Q, r, a, E, t, I);
11168
- var w = (t - h) * y / D + h;
11175
+ var M = !!(1 - C[s++]);
11176
+ a = Math.cos(v) * D + h, E = Math.sin(v) * d + u, l ? (o = a, n = E) : B += ft(Q, r, a, E, t, I);
11177
+ var w = (t - h) * d / D + h;
11169
11178
  if (e) {
11170
- if (YJ(h, u, y, M, M + f, v, A, w, I))
11179
+ if (YJ(h, u, d, v, v + f, M, A, w, I))
11171
11180
  return !0;
11172
11181
  } else
11173
- B += VJ(h, u, y, M, M + f, v, w, I);
11174
- Q = Math.cos(M + f) * D + h, r = Math.sin(M + f) * y + u;
11182
+ B += VJ(h, u, d, v, v + f, M, w, I);
11183
+ Q = Math.cos(v + f) * D + h, r = Math.sin(v + f) * d + u;
11175
11184
  break;
11176
11185
  case Lt.R:
11177
11186
  o = Q = C[s++], n = r = C[s++];
11178
- var d = C[s++], p = C[s++];
11179
- if (a = o + d, E = n + p, e) {
11187
+ var y = C[s++], p = C[s++];
11188
+ if (a = o + y, E = n + p, e) {
11180
11189
  if (JC(o, n, a, n, A, t, I) || JC(a, n, a, E, A, t, I) || JC(a, E, o, E, A, t, I) || JC(o, E, o, n, A, t, I))
11181
11190
  return !0;
11182
11191
  } else
@@ -11622,13 +11631,13 @@ var eH = {}, zu = {
11622
11631
  this.isTruncated = !!n.isTruncated;
11623
11632
  var u = i, D = iC(B, n.contentHeight, r);
11624
11633
  if (a || I) {
11625
- var y = ui(i, c, Q), M = iC(B, s, r);
11626
- a && this._renderBackground(e, e, y, M, c, s);
11634
+ var d = ui(i, c, Q), v = iC(B, s, r);
11635
+ a && this._renderBackground(e, e, d, v, c, s);
11627
11636
  }
11628
11637
  D += h / 2, I && (u = CD(i, Q, I), r === "top" ? D += I[0] : r === "bottom" && (D -= I[2]));
11629
- for (var f = 0, v = !1, w = !1, d = ID("fill" in e ? e.fill : (w = !0, C.fill)), p = tD("stroke" in e ? e.stroke : !E && (!C.autoStroke || w) ? (f = $u, v = !0, C.stroke) : null), F = e.textShadowBlur > 0, R = 0; R < l.length; R++) {
11638
+ for (var f = 0, M = !1, w = !1, y = ID("fill" in e ? e.fill : (w = !0, C.fill)), p = tD("stroke" in e ? e.stroke : !E && (!C.autoStroke || w) ? (f = $u, M = !0, C.stroke) : null), F = e.textShadowBlur > 0, R = 0; R < l.length; R++) {
11630
11639
  var m = this._getOrCreateChild(uo), L = m.createStyle();
11631
- m.useStyle(L), L.text = l[R], L.x = u, L.y = D, L.textAlign = Q, L.textBaseline = "middle", L.opacity = e.opacity, L.strokeFirst = !0, F && (L.shadowBlur = e.textShadowBlur || 0, L.shadowColor = e.textShadowColor || "transparent", L.shadowOffsetX = e.textShadowOffsetX || 0, L.shadowOffsetY = e.textShadowOffsetY || 0), L.stroke = p, L.fill = d, p && (L.lineWidth = e.lineWidth || f, L.lineDash = e.lineDash, L.lineDashOffset = e.lineDashOffset || 0), L.font = t, gD(L, e), D += h, m.setBoundingRect(Ds(L, n.contentWidth, n.calculatedLineHeight, v ? 0 : null));
11640
+ m.useStyle(L), L.text = l[R], L.x = u, L.y = D, L.textAlign = Q, L.textBaseline = "middle", L.opacity = e.opacity, L.strokeFirst = !0, F && (L.shadowBlur = e.textShadowBlur || 0, L.shadowColor = e.textShadowColor || "transparent", L.shadowOffsetX = e.textShadowOffsetX || 0, L.shadowOffsetY = e.textShadowOffsetY || 0), L.stroke = p, L.fill = y, p && (L.lineWidth = e.lineWidth || f, L.lineDash = e.lineDash, L.lineDashOffset = e.lineDashOffset || 0), L.font = t, gD(L, e), D += h, m.setBoundingRect(Ds(L, n.contentWidth, n.calculatedLineHeight, M ? 0 : null));
11632
11641
  }
11633
11642
  }, A.prototype._updateRichTexts = function() {
11634
11643
  var e = this.style, t = this._defaultStyle, I = e.align || t.align, C = e.verticalAlign || t.verticalAlign, i = e.x || 0, B = e.y || 0;
@@ -11639,12 +11648,12 @@ var eH = {}, zu = {
11639
11648
  E && (l += E[3], h += E[0]);
11640
11649
  var u = l + o;
11641
11650
  ma(e) && this._renderBackground(e, e, s, c, n, a);
11642
- for (var D = !!e.backgroundColor, y = 0; y < r.lines.length; y++) {
11643
- for (var M = r.lines[y], f = M.tokens, v = f.length, w = M.lineHeight, d = M.width, p = 0, F = l, R = u, m = v - 1, L = void 0; p < v && (L = f[p], !L.align || L.align === "left"); )
11644
- this._placeToken(L, e, w, h, F, "left", D), d -= L.width, F += L.width, p++;
11651
+ for (var D = !!e.backgroundColor, d = 0; d < r.lines.length; d++) {
11652
+ for (var v = r.lines[d], f = v.tokens, M = f.length, w = v.lineHeight, y = v.width, p = 0, F = l, R = u, m = M - 1, L = void 0; p < M && (L = f[p], !L.align || L.align === "left"); )
11653
+ this._placeToken(L, e, w, h, F, "left", D), y -= L.width, F += L.width, p++;
11645
11654
  for (; m >= 0 && (L = f[m], L.align === "right"); )
11646
- this._placeToken(L, e, w, h, R, "right", D), d -= L.width, R -= L.width, m--;
11647
- for (F += (o - (F - l) - (u - R) - d) / 2; p <= m; )
11655
+ this._placeToken(L, e, w, h, R, "right", D), y -= L.width, R -= L.width, m--;
11656
+ for (F += (o - (F - l) - (u - R) - y) / 2; p <= m; )
11648
11657
  L = f[p], this._placeToken(L, e, w, h, F + L.width / 2, "center", D), F += L.width, p++;
11649
11658
  h += w;
11650
11659
  }
@@ -11659,8 +11668,8 @@ var eH = {}, zu = {
11659
11668
  s && (i = CD(i, B, s), n -= e.height / 2 - s[0] - e.innerHeight / 2);
11660
11669
  var c = this._getOrCreateChild(uo), l = c.createStyle();
11661
11670
  c.useStyle(l);
11662
- var h = this._defaultStyle, u = !1, D = 0, y = !1, M = ID("fill" in r ? r.fill : "fill" in t ? t.fill : (u = !0, h.fill)), f = tD("stroke" in r ? r.stroke : "stroke" in t ? t.stroke : !E && !Q && (!h.autoStroke || u) ? (D = $u, y = !0, h.stroke) : null), v = r.textShadowBlur > 0 || t.textShadowBlur > 0;
11663
- l.text = e.text, l.x = i, l.y = n, v && (l.shadowBlur = r.textShadowBlur || t.textShadowBlur || 0, l.shadowColor = r.textShadowColor || t.textShadowColor || "transparent", l.shadowOffsetX = r.textShadowOffsetX || t.textShadowOffsetX || 0, l.shadowOffsetY = r.textShadowOffsetY || t.textShadowOffsetY || 0), l.textAlign = B, l.textBaseline = "middle", l.font = e.font || BI, l.opacity = ye(r.opacity, t.opacity, 1), gD(l, r), f && (l.lineWidth = ye(r.lineWidth, t.lineWidth, D), l.lineDash = lA(r.lineDash, t.lineDash), l.lineDashOffset = t.lineDashOffset || 0, l.stroke = f), M && (l.fill = M), c.setBoundingRect(Ds(l, e.contentWidth, e.contentHeight, y ? 0 : null));
11671
+ var h = this._defaultStyle, u = !1, D = 0, d = !1, v = ID("fill" in r ? r.fill : "fill" in t ? t.fill : (u = !0, h.fill)), f = tD("stroke" in r ? r.stroke : "stroke" in t ? t.stroke : !E && !Q && (!h.autoStroke || u) ? (D = $u, d = !0, h.stroke) : null), M = r.textShadowBlur > 0 || t.textShadowBlur > 0;
11672
+ l.text = e.text, l.x = i, l.y = n, M && (l.shadowBlur = r.textShadowBlur || t.textShadowBlur || 0, l.shadowColor = r.textShadowColor || t.textShadowColor || "transparent", l.shadowOffsetX = r.textShadowOffsetX || t.textShadowOffsetX || 0, l.shadowOffsetY = r.textShadowOffsetY || t.textShadowOffsetY || 0), l.textAlign = B, l.textBaseline = "middle", l.font = e.font || BI, l.opacity = ye(r.opacity, t.opacity, 1), gD(l, r), f && (l.lineWidth = ye(r.lineWidth, t.lineWidth, D), l.lineDash = lA(r.lineDash, t.lineDash), l.lineDashOffset = t.lineDashOffset || 0, l.stroke = f), v && (l.fill = v), c.setBoundingRect(Ds(l, e.contentWidth, e.contentHeight, d ? 0 : null));
11664
11673
  }, A.prototype._renderBackground = function(e, t, I, C, i, B) {
11665
11674
  var Q = e.backgroundColor, r = e.borderWidth, o = e.borderColor, n = Q && Q.image, a = Q && !n, E = e.borderRadius, s = this, c, l;
11666
11675
  if (a || e.lineHeight || r && o) {
@@ -11682,8 +11691,8 @@ var eH = {}, zu = {
11682
11691
  var u = c.style;
11683
11692
  u.lineWidth = r, u.stroke = o, u.strokeOpacity = lA(e.strokeOpacity, 1), u.lineDash = e.borderDash, u.lineDashOffset = e.borderDashOffset || 0, c.strokeContainThreshold = 0, c.hasFill() && c.hasStroke() && (u.strokeFirst = !0, u.lineWidth *= 2);
11684
11693
  }
11685
- var y = (c || l).style;
11686
- y.shadowBlur = e.shadowBlur || 0, y.shadowColor = e.shadowColor || "transparent", y.shadowOffsetX = e.shadowOffsetX || 0, y.shadowOffsetY = e.shadowOffsetY || 0, y.opacity = ye(e.opacity, t.opacity, 1);
11694
+ var d = (c || l).style;
11695
+ d.shadowBlur = e.shadowBlur || 0, d.shadowColor = e.shadowColor || "transparent", d.shadowOffsetX = e.shadowOffsetX || 0, d.shadowOffsetY = e.shadowOffsetY || 0, d.opacity = ye(e.opacity, t.opacity, 1);
11687
11696
  }, A.makeFont = function(e) {
11688
11697
  var t = "";
11689
11698
  return BH(e) && (t = [
@@ -12101,15 +12110,15 @@ function NH(g, A) {
12101
12110
  C = 2;
12102
12111
  break;
12103
12112
  case s:
12104
- var l = A[4], h = A[5], u = cD(A[0] * A[0] + A[1] * A[1]), D = cD(A[2] * A[2] + A[3] * A[3]), y = mH(-A[1] / D, A[0] / u);
12105
- e[i] *= u, e[i++] += l, e[i] *= D, e[i++] += h, e[i++] *= u, e[i++] *= D, e[i++] += y, e[i++] += y, i += 2, B = i;
12113
+ var l = A[4], h = A[5], u = cD(A[0] * A[0] + A[1] * A[1]), D = cD(A[2] * A[2] + A[3] * A[3]), d = mH(-A[1] / D, A[0] / u);
12114
+ e[i] *= u, e[i++] += l, e[i] *= D, e[i++] += h, e[i++] *= u, e[i++] *= D, e[i++] += d, e[i++] += d, i += 2, B = i;
12106
12115
  break;
12107
12116
  case E:
12108
12117
  r[0] = e[i++], r[1] = e[i++], dg(r, r, A), e[B++] = r[0], e[B++] = r[1], r[0] += e[i++], r[1] += e[i++], dg(r, r, A), e[B++] = r[0], e[B++] = r[1];
12109
12118
  }
12110
12119
  for (Q = 0; Q < C; Q++) {
12111
- var M = GH[Q];
12112
- M[0] = e[i++], M[1] = e[i++], dg(M, M, A), e[B++] = M[0], e[B++] = M[1];
12120
+ var v = GH[Q];
12121
+ v[0] = e[i++], v[1] = e[i++], dg(v, v, A), e[B++] = v[0], e[B++] = v[1];
12113
12122
  }
12114
12123
  }
12115
12124
  g.increaseVersion();
@@ -12128,12 +12137,12 @@ function DD(g, A) {
12128
12137
  function fD(g, A, e, t, I, C, i, B, Q, r, o) {
12129
12138
  var n = Q * (xi / 180), a = XQ(n) * (g - e) / 2 + qQ(n) * (A - t) / 2, E = -1 * qQ(n) * (g - e) / 2 + XQ(n) * (A - t) / 2, s = a * a / (i * i) + E * E / (B * B);
12130
12139
  s > 1 && (i *= ka(s), B *= ka(s));
12131
- var c = (I === C ? -1 : 1) * ka((i * i * (B * B) - i * i * (E * E) - B * B * (a * a)) / (i * i * (E * E) + B * B * (a * a))) || 0, l = c * i * E / B, h = c * -B * a / i, u = (g + e) / 2 + XQ(n) * l - qQ(n) * h, D = (A + t) / 2 + qQ(n) * l + XQ(n) * h, y = DD([1, 0], [(a - l) / i, (E - h) / B]), M = [(a - l) / i, (E - h) / B], f = [(-1 * a - l) / i, (-1 * E - h) / B], v = DD(M, f);
12132
- if (Fs(M, f) <= -1 && (v = xi), Fs(M, f) >= 1 && (v = 0), v < 0) {
12133
- var w = Math.round(v / xi * 1e6) / 1e6;
12134
- v = xi * 2 + w % 2 * xi;
12140
+ var c = (I === C ? -1 : 1) * ka((i * i * (B * B) - i * i * (E * E) - B * B * (a * a)) / (i * i * (E * E) + B * B * (a * a))) || 0, l = c * i * E / B, h = c * -B * a / i, u = (g + e) / 2 + XQ(n) * l - qQ(n) * h, D = (A + t) / 2 + qQ(n) * l + XQ(n) * h, d = DD([1, 0], [(a - l) / i, (E - h) / B]), v = [(a - l) / i, (E - h) / B], f = [(-1 * a - l) / i, (-1 * E - h) / B], M = DD(v, f);
12141
+ if (Fs(v, f) <= -1 && (M = xi), Fs(v, f) >= 1 && (M = 0), M < 0) {
12142
+ var w = Math.round(M / xi * 1e6) / 1e6;
12143
+ M = xi * 2 + w % 2 * xi;
12135
12144
  }
12136
- o.addData(r, u, D, i, B, y, v, n, C);
12145
+ o.addData(r, u, D, i, B, d, M, n, C);
12137
12146
  }
12138
12147
  var kH = /([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig, UH = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;
12139
12148
  function LH(g) {
@@ -12147,7 +12156,7 @@ function LH(g) {
12147
12156
  for (var o = Q[r], n = o.charAt(0), a = void 0, E = o.match(UH) || [], s = E.length, c = 0; c < s; c++)
12148
12157
  E[c] = parseFloat(E[c]);
12149
12158
  for (var l = 0; l < s; ) {
12150
- var h = void 0, u = void 0, D = void 0, y = void 0, M = void 0, f = void 0, v = void 0, w = e, d = t, p = void 0, F = void 0;
12159
+ var h = void 0, u = void 0, D = void 0, d = void 0, v = void 0, f = void 0, M = void 0, w = e, y = t, p = void 0, F = void 0;
12151
12160
  switch (n) {
12152
12161
  case "l":
12153
12162
  e += E[l++], t += E[l++], a = B.L, A.addData(a, e, t);
@@ -12180,16 +12189,16 @@ function LH(g) {
12180
12189
  a = B.C, A.addData(a, E[l++] + e, E[l++] + t, E[l++] + e, E[l++] + t, E[l++] + e, E[l++] + t), e += E[l - 2], t += E[l - 1];
12181
12190
  break;
12182
12191
  case "S":
12183
- h = e, u = t, p = A.len(), F = A.data, i === B.C && (h += e - F[p - 4], u += t - F[p - 3]), a = B.C, w = E[l++], d = E[l++], e = E[l++], t = E[l++], A.addData(a, h, u, w, d, e, t);
12192
+ h = e, u = t, p = A.len(), F = A.data, i === B.C && (h += e - F[p - 4], u += t - F[p - 3]), a = B.C, w = E[l++], y = E[l++], e = E[l++], t = E[l++], A.addData(a, h, u, w, y, e, t);
12184
12193
  break;
12185
12194
  case "s":
12186
- h = e, u = t, p = A.len(), F = A.data, i === B.C && (h += e - F[p - 4], u += t - F[p - 3]), a = B.C, w = e + E[l++], d = t + E[l++], e += E[l++], t += E[l++], A.addData(a, h, u, w, d, e, t);
12195
+ h = e, u = t, p = A.len(), F = A.data, i === B.C && (h += e - F[p - 4], u += t - F[p - 3]), a = B.C, w = e + E[l++], y = t + E[l++], e += E[l++], t += E[l++], A.addData(a, h, u, w, y, e, t);
12187
12196
  break;
12188
12197
  case "Q":
12189
- w = E[l++], d = E[l++], e = E[l++], t = E[l++], a = B.Q, A.addData(a, w, d, e, t);
12198
+ w = E[l++], y = E[l++], e = E[l++], t = E[l++], a = B.Q, A.addData(a, w, y, e, t);
12190
12199
  break;
12191
12200
  case "q":
12192
- w = E[l++] + e, d = E[l++] + t, e += E[l++], t += E[l++], a = B.Q, A.addData(a, w, d, e, t);
12201
+ w = E[l++] + e, y = E[l++] + t, e += E[l++], t += E[l++], a = B.Q, A.addData(a, w, y, e, t);
12193
12202
  break;
12194
12203
  case "T":
12195
12204
  h = e, u = t, p = A.len(), F = A.data, i === B.Q && (h += e - F[p - 4], u += t - F[p - 3]), e = E[l++], t = E[l++], a = B.Q, A.addData(a, h, u, e, t);
@@ -12198,10 +12207,10 @@ function LH(g) {
12198
12207
  h = e, u = t, p = A.len(), F = A.data, i === B.Q && (h += e - F[p - 4], u += t - F[p - 3]), e += E[l++], t += E[l++], a = B.Q, A.addData(a, h, u, e, t);
12199
12208
  break;
12200
12209
  case "A":
12201
- D = E[l++], y = E[l++], M = E[l++], f = E[l++], v = E[l++], w = e, d = t, e = E[l++], t = E[l++], a = B.A, fD(w, d, e, t, f, v, D, y, M, a, A);
12210
+ D = E[l++], d = E[l++], v = E[l++], f = E[l++], M = E[l++], w = e, y = t, e = E[l++], t = E[l++], a = B.A, fD(w, y, e, t, f, M, D, d, v, a, A);
12202
12211
  break;
12203
12212
  case "a":
12204
- D = E[l++], y = E[l++], M = E[l++], f = E[l++], v = E[l++], w = e, d = t, e += E[l++], t += E[l++], a = B.A, fD(w, d, e, t, f, v, D, y, M, a, A);
12213
+ D = E[l++], d = E[l++], v = E[l++], f = E[l++], M = E[l++], w = e, y = t, e += E[l++], t += E[l++], a = B.A, fD(w, y, e, t, f, M, D, d, v, a, A);
12205
12214
  break;
12206
12215
  }
12207
12216
  }
@@ -12306,14 +12315,14 @@ function TH(g, A, e, t, I, C, i, B) {
12306
12315
  return a = (o * (A - C) - n * (g - I)) / a, [g + a * Q, A + a * r];
12307
12316
  }
12308
12317
  function jQ(g, A, e, t, I, C, i) {
12309
- var B = g - e, Q = A - t, r = (i ? C : -C) / fB(B * B + Q * Q), o = r * Q, n = -r * B, a = g + o, E = A + n, s = e + o, c = t + n, l = (a + s) / 2, h = (E + c) / 2, u = s - a, D = c - E, y = u * u + D * D, M = I - C, f = a * c - s * E, v = (D < 0 ? -1 : 1) * fB(rB(0, M * M * y - f * f)), w = (f * D - u * v) / y, d = (-f * u - D * v) / y, p = (f * D + u * v) / y, F = (-f * u + D * v) / y, R = w - l, m = d - h, L = p - l, Y = F - h;
12310
- return R * R + m * m > L * L + Y * Y && (w = p, d = F), {
12318
+ var B = g - e, Q = A - t, r = (i ? C : -C) / fB(B * B + Q * Q), o = r * Q, n = -r * B, a = g + o, E = A + n, s = e + o, c = t + n, l = (a + s) / 2, h = (E + c) / 2, u = s - a, D = c - E, d = u * u + D * D, v = I - C, f = a * c - s * E, M = (D < 0 ? -1 : 1) * fB(rB(0, v * v * d - f * f)), w = (f * D - u * M) / d, y = (-f * u - D * M) / d, p = (f * D + u * M) / d, F = (-f * u + D * M) / d, R = w - l, m = y - h, L = p - l, Y = F - h;
12319
+ return R * R + m * m > L * L + Y * Y && (w = p, y = F), {
12311
12320
  cx: w,
12312
- cy: d,
12321
+ cy: y,
12313
12322
  x0: -o,
12314
12323
  y0: -n,
12315
- x1: w * (I / M - 1),
12316
- y1: d * (I / M - 1)
12324
+ x1: w * (I / v - 1),
12325
+ y1: y * (I / v - 1)
12317
12326
  };
12318
12327
  }
12319
12328
  function _H(g) {
@@ -12342,24 +12351,24 @@ function PH(g, A) {
12342
12351
  else if (E > Ua - Ne)
12343
12352
  g.moveTo(o + t * bC(Q), n + t * JI(Q)), g.arc(o, n, t, Q, r, !a), I > Ne && (g.moveTo(o + I * bC(r), n + I * JI(r)), g.arc(o, n, I, r, Q, a));
12344
12353
  else {
12345
- var c = void 0, l = void 0, h = void 0, u = void 0, D = void 0, y = void 0, M = void 0, f = void 0, v = void 0, w = void 0, d = void 0, p = void 0, F = void 0, R = void 0, m = void 0, L = void 0, Y = t * bC(Q), H = t * JI(Q), V = I * bC(r), x = I * JI(r), O = E > Ne;
12354
+ var c = void 0, l = void 0, h = void 0, u = void 0, D = void 0, d = void 0, v = void 0, f = void 0, M = void 0, w = void 0, y = void 0, p = void 0, F = void 0, R = void 0, m = void 0, L = void 0, Y = t * bC(Q), H = t * JI(Q), V = I * bC(r), x = I * JI(r), O = E > Ne;
12346
12355
  if (O) {
12347
12356
  var W = A.cornerRadius;
12348
12357
  W && (e = _H(W), c = e[0], l = e[1], h = e[2], u = e[3]);
12349
12358
  var $ = wD(t - I) / 2;
12350
- if (D = qe($, h), y = qe($, u), M = qe($, c), f = qe($, l), d = v = rB(D, y), p = w = rB(M, f), (v > Ne || w > Ne) && (F = t * bC(r), R = t * JI(r), m = I * bC(Q), L = I * JI(Q), E < _0)) {
12359
+ if (D = qe($, h), d = qe($, u), v = qe($, c), f = qe($, l), y = M = rB(D, d), p = w = rB(v, f), (M > Ne || w > Ne) && (F = t * bC(r), R = t * JI(r), m = I * bC(Q), L = I * JI(Q), E < _0)) {
12351
12360
  var eA = TH(Y, H, m, L, F, R, V, x);
12352
12361
  if (eA) {
12353
12362
  var iA = Y - eA[0], rA = H - eA[1], MA = F - eA[0], JA = R - eA[1], bA = 1 / JI(xH((iA * MA + rA * JA) / (fB(iA * iA + rA * rA) * fB(MA * MA + JA * JA))) / 2), q = fB(eA[0] * eA[0] + eA[1] * eA[1]);
12354
- d = qe(v, (t - q) / (bA + 1)), p = qe(w, (I - q) / (bA - 1));
12363
+ y = qe(M, (t - q) / (bA + 1)), p = qe(w, (I - q) / (bA - 1));
12355
12364
  }
12356
12365
  }
12357
12366
  }
12358
12367
  if (!O)
12359
12368
  g.moveTo(o + Y, n + H);
12360
- else if (d > Ne) {
12361
- var S = qe(h, d), N = qe(u, d), U = jQ(m, L, Y, H, t, S, a), b = jQ(F, R, V, x, t, N, a);
12362
- g.moveTo(o + U.cx + U.x0, n + U.cy + U.y0), d < v && S === N ? g.arc(o + U.cx, n + U.cy, d, Fg(U.y0, U.x0), Fg(b.y0, b.x0), !a) : (S > 0 && g.arc(o + U.cx, n + U.cy, S, Fg(U.y0, U.x0), Fg(U.y1, U.x1), !a), g.arc(o, n, t, Fg(U.cy + U.y1, U.cx + U.x1), Fg(b.cy + b.y1, b.cx + b.x1), !a), N > 0 && g.arc(o + b.cx, n + b.cy, N, Fg(b.y1, b.x1), Fg(b.y0, b.x0), !a));
12369
+ else if (y > Ne) {
12370
+ var S = qe(h, y), N = qe(u, y), U = jQ(m, L, Y, H, t, S, a), b = jQ(F, R, V, x, t, N, a);
12371
+ g.moveTo(o + U.cx + U.x0, n + U.cy + U.y0), y < M && S === N ? g.arc(o + U.cx, n + U.cy, y, Fg(U.y0, U.x0), Fg(b.y0, b.x0), !a) : (S > 0 && g.arc(o + U.cx, n + U.cy, S, Fg(U.y0, U.x0), Fg(U.y1, U.x1), !a), g.arc(o, n, t, Fg(U.cy + U.y1, U.cx + U.x1), Fg(b.cy + b.y1, b.cx + b.x1), !a), N > 0 && g.arc(o + b.cx, n + b.cy, N, Fg(b.y1, b.x1), Fg(b.y0, b.x0), !a));
12363
12372
  } else
12364
12373
  g.moveTo(o + Y, n + H), g.arc(o, n, t, Q, r, !a);
12365
12374
  if (!(I > Ne) || !O)
@@ -13295,16 +13304,16 @@ function mD(g, A, e, t, I, C, i, B, Q, r) {
13295
13304
  D != null && (g[u] = D);
13296
13305
  }
13297
13306
  if (g.verticalAlign == null) {
13298
- var y = A.getShallow("baseline");
13299
- y != null && (g.verticalAlign = y);
13307
+ var d = A.getShallow("baseline");
13308
+ d != null && (g.verticalAlign = d);
13300
13309
  }
13301
13310
  if (!Q || !C.disableBox) {
13302
13311
  for (var h = 0; h < GD.length; h++) {
13303
13312
  var u = GD[h], D = A.getShallow(u);
13304
13313
  D != null && (g[u] = D);
13305
13314
  }
13306
- var M = A.getShallow("borderType");
13307
- M != null && (g.borderDash = M), (g.backgroundColor === "auto" || g.backgroundColor === "inherit") && o && (er.NODE_ENV !== "production" && g.backgroundColor === "auto" && hg("backgroundColor: 'auto'", "backgroundColor: 'inherit'"), g.backgroundColor = o), (g.borderColor === "auto" || g.borderColor === "inherit") && o && (er.NODE_ENV !== "production" && g.borderColor === "auto" && hg("borderColor: 'auto'", "borderColor: 'inherit'"), g.borderColor = o);
13315
+ var v = A.getShallow("borderType");
13316
+ v != null && (g.borderDash = v), (g.backgroundColor === "auto" || g.backgroundColor === "inherit") && o && (er.NODE_ENV !== "production" && g.backgroundColor === "auto" && hg("backgroundColor: 'auto'", "backgroundColor: 'inherit'"), g.backgroundColor = o), (g.borderColor === "auto" || g.borderColor === "inherit") && o && (er.NODE_ENV !== "production" && g.borderColor === "auto" && hg("borderColor: 'auto'", "borderColor: 'inherit'"), g.borderColor = o);
13308
13317
  }
13309
13318
  }
13310
13319
  function cY(g, A) {
@@ -13851,8 +13860,8 @@ function xY(g) {
13851
13860
  }
13852
13861
  }
13853
13862
  function pQ(g, A, e, t) {
13854
- var I = Gt(g), C = I[Ep(e)](), i = I[rh(e)]() + 1, B = Math.floor((i - 1) / 3) + 1, Q = I[oh(e)](), r = I["get" + (e ? "UTC" : "") + "Day"](), o = I[nh(e)](), n = (o - 1) % 12 + 1, a = I[ah(e)](), E = I[Eh(e)](), s = I[sh(e)](), c = o >= 12 ? "pm" : "am", l = c.toUpperCase(), h = t instanceof ZA ? t : NY(t || ap) || kY(), u = h.getModel("time"), D = u.get("month"), y = u.get("monthAbbr"), M = u.get("dayOfWeek"), f = u.get("dayOfWeekAbbr");
13855
- return (A || "").replace(/{a}/g, c + "").replace(/{A}/g, l + "").replace(/{yyyy}/g, C + "").replace(/{yy}/g, Hg(C % 100 + "", 2)).replace(/{Q}/g, B + "").replace(/{MMMM}/g, D[i - 1]).replace(/{MMM}/g, y[i - 1]).replace(/{MM}/g, Hg(i, 2)).replace(/{M}/g, i + "").replace(/{dd}/g, Hg(Q, 2)).replace(/{d}/g, Q + "").replace(/{eeee}/g, M[r]).replace(/{ee}/g, f[r]).replace(/{e}/g, r + "").replace(/{HH}/g, Hg(o, 2)).replace(/{H}/g, o + "").replace(/{hh}/g, Hg(n + "", 2)).replace(/{h}/g, n + "").replace(/{mm}/g, Hg(a, 2)).replace(/{m}/g, a + "").replace(/{ss}/g, Hg(E, 2)).replace(/{s}/g, E + "").replace(/{SSS}/g, Hg(s, 3)).replace(/{S}/g, s + "");
13863
+ var I = Gt(g), C = I[Ep(e)](), i = I[rh(e)]() + 1, B = Math.floor((i - 1) / 3) + 1, Q = I[oh(e)](), r = I["get" + (e ? "UTC" : "") + "Day"](), o = I[nh(e)](), n = (o - 1) % 12 + 1, a = I[ah(e)](), E = I[Eh(e)](), s = I[sh(e)](), c = o >= 12 ? "pm" : "am", l = c.toUpperCase(), h = t instanceof ZA ? t : NY(t || ap) || kY(), u = h.getModel("time"), D = u.get("month"), d = u.get("monthAbbr"), v = u.get("dayOfWeek"), f = u.get("dayOfWeekAbbr");
13864
+ return (A || "").replace(/{a}/g, c + "").replace(/{A}/g, l + "").replace(/{yyyy}/g, C + "").replace(/{yy}/g, Hg(C % 100 + "", 2)).replace(/{Q}/g, B + "").replace(/{MMMM}/g, D[i - 1]).replace(/{MMM}/g, d[i - 1]).replace(/{MM}/g, Hg(i, 2)).replace(/{M}/g, i + "").replace(/{dd}/g, Hg(Q, 2)).replace(/{d}/g, Q + "").replace(/{eeee}/g, v[r]).replace(/{ee}/g, f[r]).replace(/{e}/g, r + "").replace(/{HH}/g, Hg(o, 2)).replace(/{H}/g, o + "").replace(/{hh}/g, Hg(n + "", 2)).replace(/{h}/g, n + "").replace(/{mm}/g, Hg(a, 2)).replace(/{m}/g, a + "").replace(/{ss}/g, Hg(E, 2)).replace(/{s}/g, E + "").replace(/{SSS}/g, Hg(s, 3)).replace(/{S}/g, s + "");
13856
13865
  }
13857
13866
  function TY(g, A, e, t, I) {
13858
13867
  var C = null;
@@ -14598,12 +14607,12 @@ function ob(g, A, e, t, I, C) {
14598
14607
  var n = g;
14599
14608
  if (e === RC) {
14600
14609
  for (var a = n[C], E = 0; E < (a || []).length && E < B; E++)
14601
- if ((i = y(a[I + E])) != null)
14610
+ if ((i = d(a[I + E])) != null)
14602
14611
  return i;
14603
14612
  } else
14604
14613
  for (var E = 0; E < n.length && E < B; E++) {
14605
14614
  var s = n[I + E];
14606
- if (s && (i = y(s[C])) != null)
14615
+ if (s && (i = d(s[C])) != null)
14607
14616
  return i;
14608
14617
  }
14609
14618
  } else if (A === Pe) {
@@ -14612,7 +14621,7 @@ function ob(g, A, e, t, I, C) {
14612
14621
  return Ce.Not;
14613
14622
  for (var E = 0; E < c.length && E < B; E++) {
14614
14623
  var l = c[E];
14615
- if (l && (i = y(l[Q])) != null)
14624
+ if (l && (i = d(l[Q])) != null)
14616
14625
  return i;
14617
14626
  }
14618
14627
  } else if (A === at) {
@@ -14623,21 +14632,21 @@ function ob(g, A, e, t, I, C) {
14623
14632
  if (!a || Ng(a))
14624
14633
  return Ce.Not;
14625
14634
  for (var E = 0; E < a.length && E < B; E++)
14626
- if ((i = y(a[E])) != null)
14635
+ if ((i = d(a[E])) != null)
14627
14636
  return i;
14628
14637
  } else if (A === ae)
14629
14638
  for (var u = g, E = 0; E < u.length && E < B; E++) {
14630
14639
  var l = u[E], D = hQ(l);
14631
14640
  if (!tA(D))
14632
14641
  return Ce.Not;
14633
- if ((i = y(D[C])) != null)
14642
+ if ((i = d(D[C])) != null)
14634
14643
  return i;
14635
14644
  }
14636
- function y(M) {
14637
- var f = QA(M);
14638
- if (M != null && Number.isFinite(Number(M)) && M !== "")
14645
+ function d(v) {
14646
+ var f = QA(v);
14647
+ if (v != null && Number.isFinite(Number(v)) && v !== "")
14639
14648
  return f ? Ce.Might : Ce.Not;
14640
- if (f && M !== "-")
14649
+ if (f && v !== "-")
14641
14650
  return Ce.Must;
14642
14651
  }
14643
14652
  return Ce.Not;
@@ -14800,21 +14809,21 @@ var fh = (
14800
14809
  E ? r && r.get(n) ? "replaceMerge" : "normalMerge" : "replaceAll"
14801
14810
  ), c = qK(E, a, s);
14802
14811
  eJ(c, n, NA), I[n] = null, C.set(n, null), i.set(n, 0);
14803
- var l = [], h = [], u = 0, D, y;
14804
- k(c, function(M, f) {
14805
- var v = M.existing, w = M.newOption;
14812
+ var l = [], h = [], u = 0, D, d;
14813
+ k(c, function(v, f) {
14814
+ var M = v.existing, w = v.newOption;
14806
14815
  if (!w)
14807
- v && (v.mergeOption({}, this), v.optionUpdated({}, !1));
14816
+ M && (M.mergeOption({}, this), M.optionUpdated({}, !1));
14808
14817
  else {
14809
- var d = n === "series", p = NA.getClass(
14818
+ var y = n === "series", p = NA.getClass(
14810
14819
  n,
14811
- M.keyInfo.subType,
14812
- !d
14820
+ v.keyInfo.subType,
14821
+ !y
14813
14822
  // Give a more detailed warn later if series don't exists
14814
14823
  );
14815
14824
  if (!p) {
14816
14825
  if (Ii.NODE_ENV !== "production") {
14817
- var F = M.keyInfo.subType, R = ub[F];
14826
+ var F = v.keyInfo.subType, R = ub[F];
14818
14827
  So[F] || (So[F] = !0, PA(R ? "Series " + F + ` is used but not imported.
14819
14828
  import { ` + R + ` } from 'echarts/charts';
14820
14829
  echarts.use([` + R + "]);" : "Unknown series " + F));
@@ -14823,21 +14832,21 @@ echarts.use([` + R + "]);" : "Unknown series " + F));
14823
14832
  }
14824
14833
  if (n === "tooltip") {
14825
14834
  if (D) {
14826
- Ii.NODE_ENV !== "production" && (y || (mg("Currently only one tooltip component is allowed."), y = !0));
14835
+ Ii.NODE_ENV !== "production" && (d || (mg("Currently only one tooltip component is allowed."), d = !0));
14827
14836
  return;
14828
14837
  }
14829
14838
  D = !0;
14830
14839
  }
14831
- if (v && v.constructor === p)
14832
- v.name = M.keyInfo.name, v.mergeOption(w, this), v.optionUpdated(w, !1);
14840
+ if (M && M.constructor === p)
14841
+ M.name = v.keyInfo.name, M.mergeOption(w, this), M.optionUpdated(w, !1);
14833
14842
  else {
14834
14843
  var m = z({
14835
14844
  componentIndex: f
14836
- }, M.keyInfo);
14837
- v = new p(w, this, this, m), z(v, m), M.brandNew && (v.__requireNewView = !0), v.init(w, this, this), v.optionUpdated(null, !0);
14845
+ }, v.keyInfo);
14846
+ M = new p(w, this, this, m), z(M, m), v.brandNew && (M.__requireNewView = !0), M.init(w, this, this), M.optionUpdated(null, !0);
14838
14847
  }
14839
14848
  }
14840
- v ? (l.push(v.option), h.push(v), u++) : (l.push(void 0), h.push(void 0));
14849
+ M ? (l.push(M.option), h.push(M), u++) : (l.push(void 0), h.push(void 0));
14841
14850
  }, this), I[n] = l, C.set(n, h), i.set(n, u), n === "series" && Cr(this);
14842
14851
  }
14843
14852
  this._seriesIndices || Cr(this);
@@ -16261,9 +16270,9 @@ var ks = (
16261
16270
  }
16262
16271
  s = !0;
16263
16272
  } else if (C === 2) {
16264
- for (var l = E[I[0]], D = E[I[1]], y = A[I[1]][0], M = A[I[1]][1], h = 0; h < t; h++) {
16273
+ for (var l = E[I[0]], D = E[I[1]], d = A[I[1]][0], v = A[I[1]][1], h = 0; h < t; h++) {
16265
16274
  var u = l[h], f = D[h];
16266
- (u >= n && u <= a || isNaN(u)) && (f >= y && f <= M || isNaN(f)) && (Q[r++] = c), c++;
16275
+ (u >= n && u <= a || isNaN(u)) && (f >= d && f <= v || isNaN(f)) && (Q[r++] = c), c++;
16267
16276
  }
16268
16277
  s = !0;
16269
16278
  }
@@ -16271,13 +16280,13 @@ var ks = (
16271
16280
  if (!s)
16272
16281
  if (C === 1)
16273
16282
  for (var h = 0; h < i; h++) {
16274
- var v = e.getRawIndex(h), u = E[I[0]][v];
16275
- (u >= n && u <= a || isNaN(u)) && (Q[r++] = v);
16283
+ var M = e.getRawIndex(h), u = E[I[0]][M];
16284
+ (u >= n && u <= a || isNaN(u)) && (Q[r++] = M);
16276
16285
  }
16277
16286
  else
16278
16287
  for (var h = 0; h < i; h++) {
16279
- for (var w = !0, v = e.getRawIndex(h), d = 0; d < C; d++) {
16280
- var p = I[d], u = E[p][v];
16288
+ for (var w = !0, M = e.getRawIndex(h), y = 0; y < C; y++) {
16289
+ var p = I[y], u = E[p][M];
16281
16290
  (u < A[p][0] || u > A[p][1]) && (w = !1);
16282
16291
  }
16283
16292
  w && (Q[r++] = e.getRawIndex(h));
@@ -16309,21 +16318,21 @@ var ks = (
16309
16318
  E[B++] = r;
16310
16319
  for (var s = 1; s < i - 1; s += Q) {
16311
16320
  for (var c = Math.min(s + Q, i - 1), l = Math.min(s + Q * 2, i), h = (l + c) / 2, u = 0, D = c; D < l; D++) {
16312
- var y = this.getRawIndex(D), M = C[y];
16313
- isNaN(M) || (u += M);
16321
+ var d = this.getRawIndex(D), v = C[d];
16322
+ isNaN(v) || (u += v);
16314
16323
  }
16315
16324
  u /= l - c;
16316
- var f = s, v = Math.min(s + Q, i), w = s - 1, d = C[r];
16325
+ var f = s, M = Math.min(s + Q, i), w = s - 1, y = C[r];
16317
16326
  o = -1, a = f;
16318
- for (var p = -1, F = 0, D = f; D < v; D++) {
16319
- var y = this.getRawIndex(D), M = C[y];
16320
- if (isNaN(M)) {
16321
- F++, p < 0 && (p = y);
16327
+ for (var p = -1, F = 0, D = f; D < M; D++) {
16328
+ var d = this.getRawIndex(D), v = C[d];
16329
+ if (isNaN(v)) {
16330
+ F++, p < 0 && (p = d);
16322
16331
  continue;
16323
16332
  }
16324
- n = Math.abs((w - h) * (M - d) - (w - D) * (u - d)), n > o && (o = n, a = y);
16333
+ n = Math.abs((w - h) * (v - y) - (w - D) * (u - y)), n > o && (o = n, a = d);
16325
16334
  }
16326
- F > 0 && F < v - f && (E[B++] = Math.min(p, a), a = Math.max(p, a)), E[B++] = a, r = a;
16335
+ F > 0 && F < M - f && (E[B++] = Math.min(p, a), a = Math.max(p, a)), E[B++] = a, r = a;
16327
16336
  }
16328
16337
  return E[B++] = this.getRawIndex(i - 1), t._count = B, t._indices = E, t.getRawIndex = this._getRawIdx, t;
16329
16338
  }, g.prototype.minmaxDownSample = function(A, e) {
@@ -16334,8 +16343,8 @@ var ks = (
16334
16343
  var h = this.getRawIndex(o + l), u = i[h];
16335
16344
  u < a && (a = u, n = o + l), u > s && (s = u, E = o + l);
16336
16345
  }
16337
- var D = this.getRawIndex(n), y = this.getRawIndex(E);
16338
- n < E ? (Q[r++] = D, Q[r++] = y) : (Q[r++] = y, Q[r++] = D);
16346
+ var D = this.getRawIndex(n), d = this.getRawIndex(E);
16347
+ n < E ? (Q[r++] = D, Q[r++] = d) : (Q[r++] = d, Q[r++] = D);
16339
16348
  }
16340
16349
  return t._count = r, t._indices = Q, t._updateGetRawIdx(), t;
16341
16350
  }, g.prototype.downSample = function(A, e, t, I) {
@@ -16652,9 +16661,9 @@ function Ex(g, A, e, t) {
16652
16661
  return g.renderMode === "richText" ? Vp(g, a, E) + C.richText + n : Ls(t, '<div style="' + E + ";" + s + ';">' + Yg(a) + "</div>" + n, e);
16653
16662
  }
16654
16663
  function sx(g, A, e, t) {
16655
- var I = g.renderMode, C = A.noName, i = A.noValue, B = !A.markerType, Q = A.name, r = g.useUTC, o = A.valueFormatter || g.valueFormatter || function(y) {
16656
- return y = tA(y) ? y : [y], nA(y, function(M, f) {
16657
- return Gs(M, tA(E) ? E[f] : E, r);
16664
+ var I = g.renderMode, C = A.noName, i = A.noValue, B = !A.markerType, Q = A.name, r = g.useUTC, o = A.valueFormatter || g.valueFormatter || function(d) {
16665
+ return d = tA(d) ? d : [d], nA(d, function(v, f) {
16666
+ return Gs(v, tA(E) ? E[f] : E, r);
16658
16667
  });
16659
16668
  };
16660
16669
  if (!(C && i)) {
@@ -18247,15 +18256,15 @@ function cT(g, A, e, t) {
18247
18256
  (!A.silent || Q) && r && A.createPathProxy();
18248
18257
  var o = A.path || hT, n = A.__dirty;
18249
18258
  if (!t) {
18250
- var a = e.fill, E = e.stroke, s = i && !!a.colorStops, c = C && !!E.colorStops, l = i && !!a.image, h = C && !!E.image, u = void 0, D = void 0, y = void 0, M = void 0, f = void 0;
18251
- (s || c) && (f = A.getBoundingRect()), s && (u = n ? bs(g, a, f) : A.__canvasFillGradient, A.__canvasFillGradient = u), c && (D = n ? bs(g, E, f) : A.__canvasStrokeGradient, A.__canvasStrokeGradient = D), l && (y = n || !A.__canvasFillPattern ? xs(g, a, A) : A.__canvasFillPattern, A.__canvasFillPattern = y), h && (M = n || !A.__canvasStrokePattern ? xs(g, E, A) : A.__canvasStrokePattern, A.__canvasStrokePattern = M), s ? g.fillStyle = u : l && (y ? g.fillStyle = y : i = !1), c ? g.strokeStyle = D : h && (M ? g.strokeStyle = M : C = !1);
18259
+ var a = e.fill, E = e.stroke, s = i && !!a.colorStops, c = C && !!E.colorStops, l = i && !!a.image, h = C && !!E.image, u = void 0, D = void 0, d = void 0, v = void 0, f = void 0;
18260
+ (s || c) && (f = A.getBoundingRect()), s && (u = n ? bs(g, a, f) : A.__canvasFillGradient, A.__canvasFillGradient = u), c && (D = n ? bs(g, E, f) : A.__canvasStrokeGradient, A.__canvasStrokeGradient = D), l && (d = n || !A.__canvasFillPattern ? xs(g, a, A) : A.__canvasFillPattern, A.__canvasFillPattern = d), h && (v = n || !A.__canvasStrokePattern ? xs(g, E, A) : A.__canvasStrokePattern, A.__canvasStrokePattern = v), s ? g.fillStyle = u : l && (d ? g.fillStyle = d : i = !1), c ? g.strokeStyle = D : h && (v ? g.strokeStyle = v : C = !1);
18252
18261
  }
18253
- var v = A.getGlobalScale();
18254
- o.setScale(v[0], v[1], A.segmentIgnoreThreshold);
18255
- var w, d;
18256
- g.setLineDash && e.lineDash && (I = Iv(A), w = I[0], d = I[1]);
18262
+ var M = A.getGlobalScale();
18263
+ o.setScale(M[0], M[1], A.segmentIgnoreThreshold);
18264
+ var w, y;
18265
+ g.setLineDash && e.lineDash && (I = Iv(A), w = I[0], y = I[1]);
18257
18266
  var p = !0;
18258
- (r || n & ti) && (o.setDPR(g.dpr), Q ? o.setContext(null) : (o.setContext(g), p = !1), o.reset(), A.buildPath(o, A.shape, t), o.toStatic(), A.pathUpdated()), p && o.rebuildPath(g, Q ? B : 1), w && (g.setLineDash(w), g.lineDashOffset = d), t || (e.strokeFirst ? (C && df(g, e), i && wf(g, e)) : (i && wf(g, e), C && df(g, e))), w && g.setLineDash([]);
18267
+ (r || n & ti) && (o.setDPR(g.dpr), Q ? o.setContext(null) : (o.setContext(g), p = !1), o.reset(), A.buildPath(o, A.shape, t), o.toStatic(), A.pathUpdated()), p && o.rebuildPath(g, Q ? B : 1), w && (g.setLineDash(w), g.lineDashOffset = y), t || (e.strokeFirst ? (C && df(g, e), i && wf(g, e)) : (i && wf(g, e), C && df(g, e))), w && g.setLineDash([]);
18259
18268
  }
18260
18269
  function uT(g, A, e) {
18261
18270
  var t = A.__image = f0(e.image, A.__image, A, A.onload);
@@ -18427,20 +18436,20 @@ function Ts(g, A) {
18427
18436
  var c = Gf.get(s);
18428
18437
  c && (I ? r.svgElement = c : r.image = c);
18429
18438
  }
18430
- var l = Qv(i.dashArrayX), h = MT(i.dashArrayY), u = Bv(i.symbol), D = FT(l), y = rv(h), M = !I && Fe.createCanvas(), f = I && {
18439
+ var l = Qv(i.dashArrayX), h = MT(i.dashArrayY), u = Bv(i.symbol), D = FT(l), d = rv(h), v = !I && Fe.createCanvas(), f = I && {
18431
18440
  tag: "g",
18432
18441
  attrs: {},
18433
18442
  key: "dcl",
18434
18443
  children: []
18435
- }, v = d(), w;
18436
- M && (M.width = v.width * e, M.height = v.height * e, w = M.getContext("2d")), p(), n && Gf.put(s, M || f), r.image = M, r.svgElement = f, r.svgWidth = v.width, r.svgHeight = v.height;
18437
- function d() {
18444
+ }, M = y(), w;
18445
+ v && (v.width = M.width * e, v.height = M.height * e, w = v.getContext("2d")), p(), n && Gf.put(s, v || f), r.image = v, r.svgElement = f, r.svgWidth = M.width, r.svgHeight = M.height;
18446
+ function y() {
18438
18447
  for (var F = 1, R = 0, m = D.length; R < m; ++R)
18439
18448
  F = Ku(F, D[R]);
18440
18449
  for (var L = 1, R = 0, m = u.length; R < m; ++R)
18441
18450
  L = Ku(L, u[R].length);
18442
18451
  F *= L;
18443
- var Y = y * D.length * u.length;
18452
+ var Y = d * D.length * u.length;
18444
18453
  if (vT.NODE_ENV !== "production") {
18445
18454
  var H = function(V) {
18446
18455
  console.warn("Calculated decal size is greater than " + V + " due to decal option settings so " + V + " is used for the decal size. Please consider changing the decal option to make a smaller decal or set " + V + " to be larger to avoid incontinuity.");
@@ -18453,14 +18462,14 @@ function Ts(g, A) {
18453
18462
  };
18454
18463
  }
18455
18464
  function p() {
18456
- w && (w.clearRect(0, 0, M.width, M.height), i.backgroundColor && (w.fillStyle = i.backgroundColor, w.fillRect(0, 0, M.width, M.height)));
18465
+ w && (w.clearRect(0, 0, v.width, v.height), i.backgroundColor && (w.fillStyle = i.backgroundColor, w.fillRect(0, 0, v.width, v.height)));
18457
18466
  for (var F = 0, R = 0; R < h.length; ++R)
18458
18467
  F += h[R];
18459
18468
  if (F <= 0)
18460
18469
  return;
18461
- for (var m = -y, L = 0, Y = 0, H = 0; m < v.height; ) {
18470
+ for (var m = -d, L = 0, Y = 0, H = 0; m < M.height; ) {
18462
18471
  if (L % 2 === 0) {
18463
- for (var V = Y / 2 % u.length, x = 0, O = 0, W = 0; x < v.width * 2; ) {
18472
+ for (var V = Y / 2 % u.length, x = 0, O = 0, W = 0; x < M.width * 2; ) {
18464
18473
  for (var $ = 0, R = 0; R < l[H].length; ++R)
18465
18474
  $ += l[H][R];
18466
18475
  if ($ <= 0)
@@ -18819,11 +18828,11 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
18819
18828
  var t = e.type === "svg", I = this.group, C = Math.min, i = Math.max, B = 1 / 0;
18820
18829
  if (bo[I]) {
18821
18830
  var Q = B, r = B, o = -B, n = -B, a = [], E = e && e.pixelRatio || this.getDevicePixelRatio();
18822
- k(oC, function(D, y) {
18831
+ k(oC, function(D, d) {
18823
18832
  if (D.group === I) {
18824
- var M = t ? D.getZr().painter.getSvgDom().innerHTML : D.renderToCanvas(vA(e)), f = D.getDom().getBoundingClientRect();
18833
+ var v = t ? D.getZr().painter.getSvgDom().innerHTML : D.renderToCanvas(vA(e)), f = D.getDom().getBoundingClientRect();
18825
18834
  Q = C(f.left, Q), r = C(f.top, r), o = i(f.right, o), n = i(f.bottom, n), a.push({
18826
- dom: M,
18835
+ dom: v,
18827
18836
  left: f.left,
18828
18837
  top: f.top
18829
18838
  });
@@ -18838,8 +18847,8 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
18838
18847
  }), t) {
18839
18848
  var u = "";
18840
18849
  return k(a, function(D) {
18841
- var y = D.left - Q, M = D.top - r;
18842
- u += '<g transform="translate(' + y + "," + M + ')">' + D.dom + "</g>";
18850
+ var d = D.left - Q, v = D.top - r;
18851
+ u += '<g transform="translate(' + d + "," + v + ')">' + D.dom + "</g>";
18843
18852
  }), h.painter.getSvgRoot().innerHTML = u, e.connectedBackgroundColor && h.painter.setBackgroundColor(e.connectedBackgroundColor), h.refreshImmediately(), h.painter.toDataURL();
18844
18853
  } else
18845
18854
  return e.connectedBackgroundColor && h.add(new Ig({
@@ -18853,14 +18862,14 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
18853
18862
  fill: e.connectedBackgroundColor
18854
18863
  }
18855
18864
  })), k(a, function(D) {
18856
- var y = new mt({
18865
+ var d = new mt({
18857
18866
  style: {
18858
18867
  x: D.left * E - Q,
18859
18868
  y: D.top * E - r,
18860
18869
  image: D.dom
18861
18870
  }
18862
18871
  });
18863
- h.add(y);
18872
+ h.add(d);
18864
18873
  }), h.refreshImmediately(), l.toDataURL("image/" + (e && e.type || "png"));
18865
18874
  } else
18866
18875
  return this.getDataURL(e);
@@ -19039,14 +19048,14 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19039
19048
  }, $a = function(n, a) {
19040
19049
  for (var E = n._model, s = n._scheduler, c = a ? n._componentsViews : n._chartsViews, l = a ? n._componentsMap : n._chartsMap, h = n._zr, u = n._api, D = 0; D < c.length; D++)
19041
19050
  c[D].__alive = !1;
19042
- a ? E.eachComponent(function(f, v) {
19043
- f !== "series" && y(v);
19044
- }) : E.eachSeries(y);
19045
- function y(f) {
19046
- var v = f.__requireNewView;
19051
+ a ? E.eachComponent(function(f, M) {
19052
+ f !== "series" && d(M);
19053
+ }) : E.eachSeries(d);
19054
+ function d(f) {
19055
+ var M = f.__requireNewView;
19047
19056
  f.__requireNewView = !1;
19048
- var w = "_ec_" + f.id + "_" + f.type, d = !v && l[w];
19049
- if (!d) {
19057
+ var w = "_ec_" + f.id + "_" + f.type, y = !M && l[w];
19058
+ if (!y) {
19050
19059
  var p = gt(f.type), F = a ? te.getClass(p.main, p.sub) : (
19051
19060
  // FIXME:TS
19052
19061
  // (ChartView as ChartViewConstructor).getClass('series', classType.sub)
@@ -19055,21 +19064,21 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19055
19064
  // But need a base class to make a type series.
19056
19065
  _g.getClass(p.sub)
19057
19066
  );
19058
- Bg.NODE_ENV !== "production" && sA(F, p.sub + " does not exist."), d = new F(), d.init(E, u), l[w] = d, c.push(d), h.add(d.group);
19067
+ Bg.NODE_ENV !== "production" && sA(F, p.sub + " does not exist."), y = new F(), y.init(E, u), l[w] = y, c.push(y), h.add(y.group);
19059
19068
  }
19060
- f.__viewId = d.__id = w, d.__alive = !0, d.__model = f, d.group.__ecComponentInfo = {
19069
+ f.__viewId = y.__id = w, y.__alive = !0, y.__model = f, y.group.__ecComponentInfo = {
19061
19070
  mainType: f.mainType,
19062
19071
  index: f.componentIndex
19063
- }, !a && s.prepareView(d, f, E, u);
19072
+ }, !a && s.prepareView(y, f, E, u);
19064
19073
  }
19065
19074
  for (var D = 0; D < c.length; ) {
19066
- var M = c[D];
19067
- M.__alive ? D++ : (!a && M.renderTask.dispose(), h.remove(M.group), M.dispose(E, u), c.splice(D, 1), l[M.__id] === M && delete l[M.__id], M.__id = M.group.__ecComponentInfo = null);
19075
+ var v = c[D];
19076
+ v.__alive ? D++ : (!a && v.renderTask.dispose(), h.remove(v.group), v.dispose(E, u), c.splice(D, 1), l[v.__id] === v && delete l[v.__id], v.__id = v.group.__ecComponentInfo = null);
19068
19077
  }
19069
19078
  }, Er = function(n, a, E, s, c) {
19070
19079
  var l = n._model;
19071
19080
  if (l.setUpdatePayload(E), !s) {
19072
- k([].concat(n._componentsViews).concat(n._chartsViews), M);
19081
+ k([].concat(n._componentsViews).concat(n._chartsViews), v);
19073
19082
  return;
19074
19083
  }
19075
19084
  var h = {};
@@ -19079,28 +19088,28 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19079
19088
  query: h
19080
19089
  };
19081
19090
  c && (u.subType = c);
19082
- var D = E.excludeSeriesId, y;
19083
- D != null && (y = dA(), k(Tg(D), function(f) {
19084
- var v = be(f, null);
19085
- v != null && y.set(v, !0);
19091
+ var D = E.excludeSeriesId, d;
19092
+ D != null && (d = dA(), k(Tg(D), function(f) {
19093
+ var M = be(f, null);
19094
+ M != null && d.set(M, !0);
19086
19095
  })), l && l.eachComponent(u, function(f) {
19087
- var v = y && y.get(f.id) != null;
19088
- if (!v)
19096
+ var M = d && d.get(f.id) != null;
19097
+ if (!M)
19089
19098
  if (hD(E))
19090
19099
  if (f instanceof ee)
19091
19100
  E.type === QC && !E.notBlur && !f.get(["emphasis", "disabled"]) && fH(f, E, n._api);
19092
19101
  else {
19093
- var w = Xl(f.mainType, f.componentIndex, E.name, n._api), d = w.focusSelf, p = w.dispatchers;
19094
- E.type === QC && d && !E.notBlur && ps(f.mainType, f.componentIndex, n._api), p && k(p, function(F) {
19102
+ var w = Xl(f.mainType, f.componentIndex, E.name, n._api), y = w.focusSelf, p = w.dispatchers;
19103
+ E.type === QC && y && !E.notBlur && ps(f.mainType, f.componentIndex, n._api), p && k(p, function(F) {
19095
19104
  E.type === QC ? PB(F) : VB(F);
19096
19105
  });
19097
19106
  }
19098
19107
  else Ms(E) && f instanceof ee && (yH(f, E, n._api), sD(f), se(n));
19099
19108
  }, n), l && l.eachComponent(u, function(f) {
19100
- var v = y && y.get(f.id) != null;
19101
- v || M(n[s === "series" ? "_chartsMap" : "_componentsMap"][f.__viewId]);
19109
+ var M = d && d.get(f.id) != null;
19110
+ M || v(n[s === "series" ? "_chartsMap" : "_componentsMap"][f.__viewId]);
19102
19111
  }, n);
19103
- function M(f) {
19112
+ function v(f) {
19104
19113
  f && f.__alive && f[a] && f[a](f.__model, l, n._api, E);
19105
19114
  }
19106
19115
  }, ct = {
@@ -19132,8 +19141,8 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19132
19141
  var D = a.getViewOfComponentModel(u);
19133
19142
  if (D && D.__alive)
19134
19143
  if (D.updateTransform) {
19135
- var y = D.updateTransform(u, E, s, n);
19136
- y && y.update && c.push(D);
19144
+ var d = D.updateTransform(u, E, s, n);
19145
+ d && d.update && c.push(D);
19137
19146
  } else
19138
19147
  c.push(D);
19139
19148
  }
@@ -19184,9 +19193,9 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19184
19193
  qg(n.id);
19185
19194
  return;
19186
19195
  }
19187
- for (var l = n._model, h = n._coordSysMgr.getCoordinateSystems(), u, D = Da(l, E), y = 0; y < h.length; y++) {
19188
- var M = h[y];
19189
- if (M[a] && (u = M[a](l, D, s, c)) != null)
19196
+ for (var l = n._model, h = n._coordSysMgr.getCoordinateSystems(), u, D = Da(l, E), d = 0; d < h.length; d++) {
19197
+ var v = h[d];
19198
+ if (v[a] && (u = v[a](l, D, s, c)) != null)
19190
19199
  return u;
19191
19200
  }
19192
19201
  Bg.NODE_ENV !== "production" && mg("No coordinate system that supports " + a + " found by the given finder.");
@@ -19197,20 +19206,20 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19197
19206
  s.updateStreamModes(c, E[c.__viewId]);
19198
19207
  });
19199
19208
  }, gE = function(n, a) {
19200
- var E = this, s = this.getModel(), c = n.type, l = n.escapeConnect, h = Jo[c], u = (h.update || "update").split(":"), D = u.pop(), y = u[0] != null && gt(u[0]);
19209
+ var E = this, s = this.getModel(), c = n.type, l = n.escapeConnect, h = Jo[c], u = (h.update || "update").split(":"), D = u.pop(), d = u[0] != null && gt(u[0]);
19201
19210
  this[Eg] = !0, WC(this);
19202
- var M = [n], f = !1;
19203
- n.batch && (f = !0, M = nA(n.batch, function(H) {
19211
+ var v = [n], f = !1;
19212
+ n.batch && (f = !0, v = nA(n.batch, function(H) {
19204
19213
  return H = YA(z({}, H), n), H.batch = null, H;
19205
19214
  }));
19206
- var v = [], w, d = [], p = h.nonRefinedEventType, F = Ms(n), R = hD(n);
19207
- if (R && H0(this._api), k(M, function(H) {
19215
+ var M = [], w, y = [], p = h.nonRefinedEventType, F = Ms(n), R = hD(n);
19216
+ if (R && H0(this._api), k(v, function(H) {
19208
19217
  var V = h.action(H, s, E._api);
19209
- if (h.refineEvent ? d.push(V) : w = V, w = w || z({}, H), w.type = p, v.push(w), R) {
19218
+ if (h.refineEvent ? y.push(V) : w = V, w = w || z({}, H), w.type = p, M.push(w), R) {
19210
19219
  var x = Tl(n), O = x.queryOptionMap, W = x.mainTypeSpecified, $ = W ? O.keys()[0] : "series";
19211
19220
  Er(E, D, H, $), se(E);
19212
- } else F ? (Er(E, D, H, "series"), se(E)) : y && Er(E, D, H, y.main, y.sub);
19213
- }), D !== "none" && !R && !F && !y)
19221
+ } else F ? (Er(E, D, H, "series"), se(E)) : d && Er(E, D, H, d.main, d.sub);
19222
+ }), D !== "none" && !R && !F && !d)
19214
19223
  try {
19215
19224
  this[Dg] ? (VI(this), ct.update.call(this, n), this[Dg] = null) : ct[D].call(this, n);
19216
19225
  } catch (H) {
@@ -19219,11 +19228,11 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19219
19228
  if (f ? w = {
19220
19229
  type: p,
19221
19230
  escapeConnect: l,
19222
- batch: v
19223
- } : w = v[0], this[Eg] = !1, !a) {
19231
+ batch: M
19232
+ } : w = M[0], this[Eg] = !1, !a) {
19224
19233
  var m = void 0;
19225
19234
  if (h.refineEvent) {
19226
- var L = h.refineEvent(d, n, s, this._api).eventContent;
19235
+ var L = h.refineEvent(y, n, s, this._api).eventContent;
19227
19236
  sA(EA(L)), m = YA({
19228
19237
  type: h.refinedEventType
19229
19238
  }, L), m.fromAction = n.type, m.fromActionPayload = n, m.escapeConnect = !0;
@@ -19276,10 +19285,10 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19276
19285
  function I(n) {
19277
19286
  var a = [], E = [], s = !1;
19278
19287
  if (n.eachComponent(function(u, D) {
19279
- var y = D.get("zlevel") || 0, M = D.get("z") || 0, f = D.getZLevelKey();
19288
+ var d = D.get("zlevel") || 0, v = D.get("z") || 0, f = D.getZLevelKey();
19280
19289
  s = s || !!f, (u === "series" ? E : a).push({
19281
- zlevel: y,
19282
- z: M,
19290
+ zlevel: d,
19291
+ z: v,
19283
19292
  idx: D.componentIndex,
19284
19293
  type: u,
19285
19294
  key: f
@@ -19289,8 +19298,8 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19289
19298
  Lr(c, function(u, D) {
19290
19299
  return u.zlevel === D.zlevel ? u.z - D.z : u.zlevel - D.zlevel;
19291
19300
  }), k(c, function(u) {
19292
- var D = n.getComponent(u.type, u.idx), y = u.zlevel, M = u.key;
19293
- l != null && (y = Math.max(l, y)), M ? (y === l && M !== h && y++, h = M) : h && (y === l && y++, h = ""), l = y, D.setZLevel(y);
19301
+ var D = n.getComponent(u.type, u.idx), d = u.zlevel, v = u.key;
19302
+ l != null && (d = Math.max(l, d)), v ? (d === l && v !== h && d++, h = v) : h && (d === l && d++, h = ""), l = d, D.setZLevel(d);
19294
19303
  });
19295
19304
  }
19296
19305
  }
@@ -19312,13 +19321,13 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19312
19321
  }), Ue.trigger("series:beforeupdate", a, E, c);
19313
19322
  var u = !1;
19314
19323
  a.eachSeries(function(D) {
19315
- var y = n._chartsMap[D.__viewId];
19316
- y.__alive = !0;
19317
- var M = y.renderTask;
19318
- h.updatePayload(M, s), r(D, y), l && l.get(D.uid) && M.dirty(), M.perform(h.getPerformArgs(M)) && (u = !0), y.group.silent = !!D.get("silent"), B(D, y), sD(D);
19324
+ var d = n._chartsMap[D.__viewId];
19325
+ d.__alive = !0;
19326
+ var v = d.renderTask;
19327
+ h.updatePayload(v, s), r(D, d), l && l.get(D.uid) && v.dirty(), v.perform(h.getPerformArgs(v)) && (u = !0), d.group.silent = !!D.get("silent"), B(D, d), sD(D);
19319
19328
  }), h.unfinished = u || h.unfinished, Ue.trigger("series:layoutlabels", a, E, c), Ue.trigger("series:transition", a, E, c), a.eachSeries(function(D) {
19320
- var y = n._chartsMap[D.__viewId];
19321
- Q(D, y), o(D, y);
19329
+ var d = n._chartsMap[D.__viewId];
19330
+ Q(D, d), o(D, d);
19322
19331
  }), i(n, a), Ue.trigger("series:afterupdate", a, E, c);
19323
19332
  }, se = function(n) {
19324
19333
  n[ja] = !0, n.getZr().wakeUp();
@@ -19388,8 +19397,8 @@ var VI, $a, Er, ct, sr, AE, gE, VC, OC, Uf, Lf, eE, Kf, lr, Jf, wv, se, Hf, WC,
19388
19397
  }
19389
19398
  if (s) {
19390
19399
  h.stateTransition = l;
19391
- var D = h.getTextContent(), y = h.getTextGuideLine();
19392
- D && (D.stateTransition = l), y && (y.stateTransition = l);
19400
+ var D = h.getTextContent(), d = h.getTextGuideLine();
19401
+ D && (D.stateTransition = l), d && (d.stateTransition = l);
19393
19402
  }
19394
19403
  h.__dirty && C(h);
19395
19404
  }
@@ -20193,23 +20202,23 @@ function Jh(g, A) {
20193
20202
  !o && A.encodeDefaulter && (o = A.encodeDefaulter(g, i));
20194
20203
  for (var n = dA(o), a = new Yp(i), E = 0; E < a.length; E++)
20195
20204
  a[E] = -1;
20196
- function s(d) {
20197
- var p = a[d];
20205
+ function s(y) {
20206
+ var p = a[y];
20198
20207
  if (p < 0) {
20199
- var F = t[d], R = EA(F) ? F : {
20208
+ var F = t[y], R = EA(F) ? F : {
20200
20209
  name: F
20201
20210
  }, m = new Zr(), L = R.name;
20202
20211
  L != null && r.get(L) != null && (m.name = m.displayName = L), R.type != null && (m.type = R.type), R.displayName != null && (m.displayName = R.displayName);
20203
20212
  var Y = C.length;
20204
- return a[d] = Y, m.storeDimIndex = d, C.push(m), m;
20213
+ return a[y] = Y, m.storeDimIndex = y, C.push(m), m;
20205
20214
  }
20206
20215
  return C[p];
20207
20216
  }
20208
20217
  if (!B)
20209
20218
  for (var E = 0; E < i; E++)
20210
20219
  s(E);
20211
- n.each(function(d, p) {
20212
- var F = Tg(d).slice();
20220
+ n.each(function(y, p) {
20221
+ var F = Tg(y).slice();
20213
20222
  if (F.length === 1 && !QA(F[0]) && F[0] < 0) {
20214
20223
  n.set(p, !1);
20215
20224
  return;
@@ -20221,12 +20230,12 @@ function Jh(g, A) {
20221
20230
  });
20222
20231
  });
20223
20232
  var c = 0;
20224
- k(e, function(d) {
20233
+ k(e, function(y) {
20225
20234
  var p, F, R, m;
20226
- if (QA(d))
20227
- p = d, m = {};
20235
+ if (QA(y))
20236
+ p = y, m = {};
20228
20237
  else {
20229
- m = d, p = m.name;
20238
+ m = y, p = m.name;
20230
20239
  var L = m.ordinalMeta;
20231
20240
  m.ordinalMeta = null, m = z({}, m), m.ordinalMeta = L, F = m.dimsDef, R = m.otherDims, m.name = m.coordDim = m.coordDimIndex = m.dimsDef = m.otherDims = null;
20232
20241
  }
@@ -20250,25 +20259,25 @@ function Jh(g, A) {
20250
20259
  });
20251
20260
  }
20252
20261
  });
20253
- function l(d, p, F) {
20254
- ms.get(p) != null ? d.otherDims[p] = F : (d.coordDim = p, d.coordDimIndex = F, I.set(p, !0));
20262
+ function l(y, p, F) {
20263
+ ms.get(p) != null ? y.otherDims[p] = F : (y.coordDim = p, y.coordDimIndex = F, I.set(p, !0));
20255
20264
  }
20256
20265
  var h = A.generateCoord, u = A.generateCoordCount, D = u != null;
20257
20266
  u = h ? u || 1 : 0;
20258
- var y = h || "value";
20259
- function M(d) {
20260
- d.name == null && (d.name = d.coordDim);
20267
+ var d = h || "value";
20268
+ function v(y) {
20269
+ y.name == null && (y.name = y.coordDim);
20261
20270
  }
20262
20271
  if (B)
20263
- k(C, function(d) {
20264
- M(d);
20265
- }), C.sort(function(d, p) {
20266
- return d.storeDimIndex - p.storeDimIndex;
20272
+ k(C, function(y) {
20273
+ v(y);
20274
+ }), C.sort(function(y, p) {
20275
+ return y.storeDimIndex - p.storeDimIndex;
20267
20276
  });
20268
20277
  else
20269
20278
  for (var f = 0; f < i; f++) {
20270
- var v = s(f), w = v.coordDim;
20271
- w == null && (v.coordDim = D_(y, I, D), v.coordDimIndex = 0, (!h || u <= 0) && (v.isExtraCoord = !0), u--), M(v), v.type == null && (Fp(g, f) === Ce.Must || v.isExtraCoord && (v.otherDims.itemName != null || v.otherDims.seriesName != null)) && (v.type = "ordinal");
20279
+ var M = s(f), w = M.coordDim;
20280
+ w == null && (M.coordDim = D_(d, I, D), M.coordDimIndex = 0, (!h || u <= 0) && (M.isExtraCoord = !0), u--), v(M), M.type == null && (Fp(g, f) === Ce.Must || M.isExtraCoord && (M.otherDims.itemName != null || M.otherDims.seriesName != null)) && (M.type = "ordinal");
20272
20281
  }
20273
20282
  return c_(C), new Gv({
20274
20283
  source: g,
@@ -20449,8 +20458,8 @@ function RQ(g, A, e) {
20449
20458
  store: E
20450
20459
  }), c = new gQ(n, A);
20451
20460
  c.setCalculationInfo(s);
20452
- var l = a != null && M_(I) ? function(h, u, D, y) {
20453
- return y === a ? D : this.defaultDimValueGetter(h, u, D, y);
20461
+ var l = a != null && M_(I) ? function(h, u, D, d) {
20462
+ return d === a ? D : this.defaultDimValueGetter(h, u, D, d);
20454
20463
  } : null;
20455
20464
  return c.hasItemOption = !1, c.initData(
20456
20465
  // Try to reuse the data store in sourceManager if using dataset.
@@ -20883,11 +20892,11 @@ function J_(g) {
20883
20892
  E = Math.max(E, 0), k(C, function(h) {
20884
20893
  var u = h.maxWidth, D = h.minWidth;
20885
20894
  if (h.width) {
20886
- var y = h.width;
20887
- u && (y = Math.min(y, u)), D && (y = Math.max(y, D)), h.width = y, n -= y + o * y, a--;
20895
+ var d = h.width;
20896
+ u && (d = Math.min(d, u)), D && (d = Math.max(d, D)), h.width = d, n -= d + o * d, a--;
20888
20897
  } else {
20889
- var y = E;
20890
- u && u < y && (y = Math.min(u, n)), D && D > y && (y = D), y !== E && (h.width = y, n -= y + o * y, a--);
20898
+ var d = E;
20899
+ u && u < d && (d = Math.min(u, n)), D && D > d && (d = D), d !== E && (h.width = d, n -= d + o * d, a--);
20891
20900
  }
20892
20901
  }), E = (n - r) / (a + (a - 1) * o), E = Math.max(E, 0);
20893
20902
  var s = 0, c;
@@ -20929,8 +20938,8 @@ function b_(g) {
20929
20938
  if (Tv(A)) {
20930
20939
  var e = A.getData(), t = A.coordinateSystem, I = t.getBaseAxis(), C = t.getOtherAxis(I), i = e.getDimensionIndex(e.mapDimension(C.dim)), B = e.getDimensionIndex(e.mapDimension(I.dim)), Q = A.get("showBackground", !0), r = e.mapDimension(C.dim), o = e.getCalculationInfo("stackResultDimension"), n = wC(e, r) && !!e.getCalculationInfo("stackedOnSeries"), a = C.isHorizontal(), E = x_(I, C), s = _v(A), c = A.get("barMinHeight") || 0, l = o && e.getDimensionIndex(o), h = e.getLayout("size"), u = e.getLayout("offset");
20931
20940
  return {
20932
- progress: function(D, y) {
20933
- for (var M = D.count, f = s && dt(M * 3), v = s && Q && dt(M * 3), w = s && dt(M), d = t.master.getRect(), p = a ? d.width : d.height, F, R = y.getStore(), m = 0; (F = D.next()) != null; ) {
20941
+ progress: function(D, d) {
20942
+ for (var v = D.count, f = s && dt(v * 3), M = s && Q && dt(v * 3), w = s && dt(v), y = t.master.getRect(), p = a ? y.width : y.height, F, R = d.getStore(), m = 0; (F = D.next()) != null; ) {
20934
20943
  var L = R.get(n ? l : i, F), Y = R.get(B, F), H = E, V = void 0;
20935
20944
  n && (V = +L - R.get(i, F));
20936
20945
  var x = void 0, O = void 0, W = void 0, $ = void 0;
@@ -20949,17 +20958,17 @@ function b_(g) {
20949
20958
  }
20950
20959
  x = eA[0] + u, O = H, W = h, $ = eA[1] - H, Math.abs($) < c && ($ = ($ <= 0 ? -1 : 1) * c);
20951
20960
  }
20952
- s ? (f[m] = x, f[m + 1] = O, f[m + 2] = a ? W : $, v && (v[m] = a ? d.x : x, v[m + 1] = a ? O : d.y, v[m + 2] = p), w[F] = F) : y.setItemLayout(F, {
20961
+ s ? (f[m] = x, f[m + 1] = O, f[m + 2] = a ? W : $, M && (M[m] = a ? y.x : x, M[m + 1] = a ? O : y.y, M[m + 2] = p), w[F] = F) : d.setItemLayout(F, {
20953
20962
  x,
20954
20963
  y: O,
20955
20964
  width: W,
20956
20965
  height: $
20957
20966
  }), m += 3;
20958
20967
  }
20959
- s && y.setLayout({
20968
+ s && d.setLayout({
20960
20969
  largePoints: f,
20961
20970
  largeDataIndices: w,
20962
- largeBackgroundPoints: v,
20971
+ largeBackgroundPoints: M,
20963
20972
  valueAxisHorizontal: a
20964
20973
  });
20965
20974
  }
@@ -21180,11 +21189,11 @@ function j_(g, A, e, t, I, C) {
21180
21189
  return m.value - L.value;
21181
21190
  });
21182
21191
  for (var u = [], D = 0; D < a.length; ++D) {
21183
- var y = a[D].value;
21184
- (D === 0 || a[D - 1].value !== y) && (u.push(a[D]), y >= t[0] && y <= t[1] && E++);
21192
+ var d = a[D].value;
21193
+ (D === 0 || a[D - 1].value !== d) && (u.push(a[D]), d >= t[0] && d <= t[1] && E++);
21185
21194
  }
21186
- var M = I / A;
21187
- if (E > M * 1.5 && s > M / 1.5 || (n.push(u), E > M || g === B[c]))
21195
+ var v = I / A;
21196
+ if (E > v * 1.5 && s > v / 1.5 || (n.push(u), E > v || g === B[c]))
21188
21197
  break;
21189
21198
  }
21190
21199
  a = [];
@@ -21197,11 +21206,11 @@ function j_(g, A, e, t, I, C) {
21197
21206
  });
21198
21207
  }), function(m) {
21199
21208
  return m.length > 0;
21200
- }), v = [], w = f.length - 1, c = 0; c < f.length; ++c)
21201
- for (var d = f[c], p = 0; p < d.length; ++p) {
21202
- var F = Fo(d[p].value, e);
21203
- v.push({
21204
- value: d[p].value,
21209
+ }), M = [], w = f.length - 1, c = 0; c < f.length; ++c)
21210
+ for (var y = f[c], p = 0; p < y.length; ++p) {
21211
+ var F = Fo(y[p].value, e);
21212
+ M.push({
21213
+ value: y[p].value,
21205
21214
  time: {
21206
21215
  level: w - c,
21207
21216
  upperTimeUnit: F,
@@ -21209,11 +21218,11 @@ function j_(g, A, e, t, I, C) {
21209
21218
  }
21210
21219
  });
21211
21220
  }
21212
- v.sort(function(m, L) {
21221
+ M.sort(function(m, L) {
21213
21222
  return m.value - L.value;
21214
21223
  });
21215
- for (var R = [], c = 0; c < v.length; ++c)
21216
- (c === 0 || v[c].value !== v[c - 1].value) && R.push(v[c]);
21224
+ for (var R = [], c = 0; c < M.length; ++c)
21225
+ (c === 0 || M[c].value !== M[c - 1].value) && R.push(M[c]);
21217
21226
  return R;
21218
21227
  }
21219
21228
  fI.registerClass(Pv);
@@ -22022,13 +22031,13 @@ function U2(g, A) {
22022
22031
  }), t.font, "center", "top");
22023
22032
  h = D.width * 1.3, u = D.height * 1.3, c = Math.max(c, h, 7), l = Math.max(l, u, 7);
22024
22033
  }
22025
- var y = c / E, M = l / s;
22026
- isNaN(y) && (y = 1 / 0), isNaN(M) && (M = 1 / 0);
22027
- var f = Math.max(0, Math.floor(Math.min(y, M)));
22034
+ var d = c / E, v = l / s;
22035
+ isNaN(d) && (d = 1 / 0), isNaN(v) && (v = 1 / 0);
22036
+ var f = Math.max(0, Math.floor(Math.min(d, v)));
22028
22037
  if (e === Te.estimate)
22029
22038
  return A.out.noPxChangeTryDetermine.push(mA(L2, null, g, f, Q)), f;
22030
- var v = tM(g, f, Q);
22031
- return v ?? f;
22039
+ var M = tM(g, f, Q);
22040
+ return M ?? f;
22032
22041
  }
22033
22042
  function L2(g, A, e) {
22034
22043
  return tM(g, A, e) == null;
@@ -22887,7 +22896,7 @@ var II = (
22887
22896
  if (h != null) {
22888
22897
  var u = t.get(["axisLine", "symbolSize"]);
22889
22898
  QA(h) && (h = [h, h]), (QA(u) || KA(u)) && (u = [u, u]);
22890
- var D = Gn(t.get(["axisLine", "symbolOffset"]) || 0, u), y = u[0], M = u[1];
22899
+ var D = Gn(t.get(["axisLine", "symbolOffset"]) || 0, u), d = u[0], v = u[1];
22891
22900
  k([{
22892
22901
  rotate: g.rotation + Math.PI / 2,
22893
22902
  offset: D[0],
@@ -22896,13 +22905,13 @@ var II = (
22896
22905
  rotate: g.rotation - Math.PI / 2,
22897
22906
  offset: D[1],
22898
22907
  r: Math.sqrt((n[0] - a[0]) * (n[0] - a[0]) + (n[1] - a[1]) * (n[1] - a[1]))
22899
- }], function(f, v) {
22900
- if (h[v] !== "none" && h[v] != null) {
22901
- var w = oI(h[v], -y / 2, -M / 2, y, M, s.stroke, !0), d = f.r + f.offset, p = E ? a : n;
22908
+ }], function(f, M) {
22909
+ if (h[M] !== "none" && h[M] != null) {
22910
+ var w = oI(h[M], -d / 2, -v / 2, d, v, s.stroke, !0), y = f.r + f.offset, p = E ? a : n;
22902
22911
  w.attr({
22903
22912
  rotation: f.rotate,
22904
- x: p[0] + d * Math.cos(g.rotation),
22905
- y: p[1] - d * Math.sin(g.rotation),
22913
+ x: p[0] + y * Math.cos(g.rotation),
22914
+ y: p[1] - y * Math.sin(g.rotation),
22906
22915
  silent: !0,
22907
22916
  z2: 11
22908
22917
  }), I.add(w);
@@ -22954,29 +22963,29 @@ var II = (
22954
22963
  n === "start" ? (h.x = c[0] - l * s, u.x = -l) : n === "end" ? (h.x = c[1] + l * s, u.x = l) : (h.x = (c[0] + c[1]) / 2, h.y = g.labelOffset + a * s, u.y = a);
22955
22964
  var D = ve();
22956
22965
  u.transform(In(D, D, g.rotation));
22957
- var y = t.get("nameRotate");
22958
- y != null && (y = y * jt / 180);
22959
- var M, f;
22960
- pi(n) ? M = II.innerTextLayout(
22966
+ var d = t.get("nameRotate");
22967
+ d != null && (d = d * jt / 180);
22968
+ var v, f;
22969
+ pi(n) ? v = II.innerTextLayout(
22961
22970
  g.rotation,
22962
- y ?? g.rotation,
22971
+ d ?? g.rotation,
22963
22972
  // Adapt to axis.
22964
22973
  a
22965
- ) : (M = o1(g.rotation, n, y || 0, c), f = g.raw.axisNameAvailableWidth, f != null && (f = Math.abs(f / Math.sin(M.rotation)), !isFinite(f) && (f = null)));
22966
- var v = E.getFont(), w = t.get("nameTruncate", !0) || {}, d = w.ellipsis, p = Mt(g.raw.nameTruncateMaxWidth, w.maxWidth, f), F = B.nameMarginLevel || 0, R = new yg({
22974
+ ) : (v = o1(g.rotation, n, d || 0, c), f = g.raw.axisNameAvailableWidth, f != null && (f = Math.abs(f / Math.sin(v.rotation)), !isFinite(f) && (f = null)));
22975
+ var M = E.getFont(), w = t.get("nameTruncate", !0) || {}, y = w.ellipsis, p = Mt(g.raw.nameTruncateMaxWidth, w.maxWidth, f), F = B.nameMarginLevel || 0, R = new yg({
22967
22976
  x: h.x,
22968
22977
  y: h.y,
22969
- rotation: M.rotation,
22978
+ rotation: v.rotation,
22970
22979
  silent: II.isLabelSilent(t),
22971
22980
  style: Ft(E, {
22972
22981
  text: o,
22973
- font: v,
22982
+ font: M,
22974
22983
  overflow: "truncate",
22975
22984
  width: p,
22976
- ellipsis: d,
22985
+ ellipsis: y,
22977
22986
  fill: E.getTextColor() || t.get(["axisLine", "lineStyle", "color"]),
22978
- align: E.get("align") || M.textAlign,
22979
- verticalAlign: E.get("verticalAlign") || M.textVerticalAlign
22987
+ align: E.get("align") || v.textAlign,
22988
+ verticalAlign: E.get("verticalAlign") || v.textVerticalAlign
22980
22989
  }),
22981
22990
  z2: 1
22982
22991
  });
@@ -23138,13 +23147,13 @@ function l1(g, A, e, t, I, C) {
23138
23147
  return;
23139
23148
  }
23140
23149
  var o = I.getModel("axisLabel"), n = i.getViewLabels(r), a = (Mt(g.raw.labelRotate, o.get("rotate")) || 0) * jt / 180, E = II.innerTextLayout(g.rotation, a, g.labelDirection), s = I.getCategories && I.getCategories(!0), c = [], l = I.get("triggerEvent"), h = 1 / 0, u = -1 / 0;
23141
- k(n, function(y, M) {
23142
- var f, v = i.scale.type === "ordinal" ? i.scale.getRawOrdinalNumber(y.tickValue) : y.tickValue, w = y.formattedLabel, d = y.rawLabel, p = o;
23143
- if (s && s[v]) {
23144
- var F = s[v];
23150
+ k(n, function(d, v) {
23151
+ var f, M = i.scale.type === "ordinal" ? i.scale.getRawOrdinalNumber(d.tickValue) : d.tickValue, w = d.formattedLabel, y = d.rawLabel, p = o;
23152
+ if (s && s[M]) {
23153
+ var F = s[M];
23145
23154
  EA(F) && F.textStyle && (p = new ZA(F.textStyle, o, I.ecModel));
23146
23155
  }
23147
- var R = p.getTextColor() || I.get(["axisLine", "lineStyle", "color"]), m = p.getShallow("align", !0) || E.textAlign, L = lA(p.getShallow("alignMinLabel", !0), m), Y = lA(p.getShallow("alignMaxLabel", !0), m), H = p.getShallow("verticalAlign", !0) || p.getShallow("baseline", !0) || E.textVerticalAlign, V = lA(p.getShallow("verticalAlignMinLabel", !0), H), x = lA(p.getShallow("verticalAlignMaxLabel", !0), H), O = 10 + (((f = y.time) === null || f === void 0 ? void 0 : f.level) || 0);
23156
+ var R = p.getTextColor() || I.get(["axisLine", "lineStyle", "color"]), m = p.getShallow("align", !0) || E.textAlign, L = lA(p.getShallow("alignMinLabel", !0), m), Y = lA(p.getShallow("alignMaxLabel", !0), m), H = p.getShallow("verticalAlign", !0) || p.getShallow("baseline", !0) || E.textVerticalAlign, V = lA(p.getShallow("verticalAlignMinLabel", !0), H), x = lA(p.getShallow("verticalAlignMaxLabel", !0), H), O = 10 + (((f = d.time) === null || f === void 0 ? void 0 : f.level) || 0);
23148
23157
  h = Math.min(h, O), u = Math.max(u, O);
23149
23158
  var W = new yg({
23150
23159
  // --- transform props start ---
@@ -23159,8 +23168,8 @@ function l1(g, A, e, t, I, C) {
23159
23168
  z2: O,
23160
23169
  style: Ft(p, {
23161
23170
  text: w,
23162
- align: M === 0 ? L : M === n.length - 1 ? Y : m,
23163
- verticalAlign: M === 0 ? V : M === n.length - 1 ? x : H,
23171
+ align: v === 0 ? L : v === n.length - 1 ? Y : m,
23172
+ verticalAlign: v === 0 ? V : v === n.length - 1 ? x : H,
23164
23173
  fill: cA(R) ? R(
23165
23174
  // (1) In category axis with data zoom, tick is not the original
23166
23175
  // index of axis.data. So tick should not be exposed to user
@@ -23169,14 +23178,14 @@ function l1(g, A, e, t, I, C) {
23169
23178
  // input. But in interval scale the formatted label is like '223,445', which
23170
23179
  // maked user replace ','. So we modify it to return original val but remain
23171
23180
  // it as 'string' to avoid error in replacing.
23172
- i.type === "category" ? d : i.type === "value" ? v + "" : v,
23173
- M
23181
+ i.type === "category" ? y : i.type === "value" ? M + "" : M,
23182
+ v
23174
23183
  ) : R
23175
23184
  })
23176
23185
  });
23177
- W.anid = "label_" + v;
23186
+ W.anid = "label_" + M;
23178
23187
  var $ = IQ(W);
23179
- if ($.break = y.break, $.tickValue = v, $.layoutRotation = E.rotation, dn({
23188
+ if ($.break = d.break, $.tickValue = M, $.layoutRotation = E.rotation, dn({
23180
23189
  el: W,
23181
23190
  componentModel: I,
23182
23191
  itemName: w,
@@ -23184,25 +23193,25 @@ function l1(g, A, e, t, I, C) {
23184
23193
  isTruncated: function() {
23185
23194
  return W.isTruncated;
23186
23195
  },
23187
- value: d,
23188
- tickIndex: M
23196
+ value: y,
23197
+ tickIndex: v
23189
23198
  }
23190
23199
  }), l) {
23191
23200
  var eA = II.makeAxisEventDataBase(I);
23192
- eA.targetType = "axisLabel", eA.value = d, eA.tickIndex = M, y.break && (eA.break = {
23201
+ eA.targetType = "axisLabel", eA.value = y, eA.tickIndex = v, d.break && (eA.break = {
23193
23202
  // type: labelItem.break.type,
23194
- start: y.break.parsedBreak.vmin,
23195
- end: y.break.parsedBreak.vmax
23196
- }), i.type === "category" && (eA.dataIndex = v), SA(W).eventData = eA, y.break && u1(I, C, W, y.break);
23203
+ start: d.break.parsedBreak.vmin,
23204
+ end: d.break.parsedBreak.vmax
23205
+ }), i.type === "category" && (eA.dataIndex = M), SA(W).eventData = eA, d.break && u1(I, C, W, d.break);
23197
23206
  }
23198
23207
  c.push(W), Q.add(W);
23199
23208
  });
23200
- var D = nA(c, function(y) {
23209
+ var D = nA(c, function(d) {
23201
23210
  return {
23202
- label: y,
23203
- priority: IQ(y).break ? y.z2 + (u - h + 1) : y.z2,
23211
+ label: d,
23212
+ priority: IQ(d).break ? d.z2 + (u - h + 1) : d.z2,
23204
23213
  defaultAttr: {
23205
- ignore: y.ignore
23214
+ ignore: d.ignore
23206
23215
  }
23207
23216
  };
23208
23217
  });
@@ -23322,10 +23331,10 @@ function y1(g, A, e) {
23322
23331
  var u = s * B;
23323
23332
  l = Math.ceil(o[1] / s) * s, c = ug(l - u), c < 0 && o[0] >= 0 ? (c = 0, l = ug(u)) : l > 0 && o[1] <= 0 && (l = 0, c = -ug(u));
23324
23333
  }
23325
- var D = (C[0].value - i[0].value) / Q, y = (C[B].value - i[B].value) / Q;
23326
- if (I.setExtent.call(g, c + s * D, l + s * y), I.setInterval.call(g, s), (D || y) && I.setNiceExtent.call(g, c + s, l - s), d1.NODE_ENV !== "production") {
23327
- var M = I.getTicks.call(g);
23328
- M[1] && (!R_(s) || ho(M[1].value) > ho(s)) && mg("The ticks may be not readable when set min: " + A.get("min") + ", max: " + A.get("max") + (" and alignTicks: true. (" + ((t = A.axis) === null || t === void 0 ? void 0 : t.dim) + "AxisIndex: " + A.componentIndex + ")"), !0);
23334
+ var D = (C[0].value - i[0].value) / Q, d = (C[B].value - i[B].value) / Q;
23335
+ if (I.setExtent.call(g, c + s * D, l + s * d), I.setInterval.call(g, s), (D || d) && I.setNiceExtent.call(g, c + s, l - s), d1.NODE_ENV !== "production") {
23336
+ var v = I.getTicks.call(g);
23337
+ v[1] && (!R_(s) || ho(v[1].value) > ho(s)) && mg("The ticks may be not readable when set min: " + A.get("min") + ", max: " + A.get("max") + (" and alignTicks: true. (" + ((t = A.axis) === null || t === void 0 ? void 0 : t.dim) + "AxisIndex: " + A.componentIndex + ")"), !0);
23329
23338
  }
23330
23339
  }
23331
23340
  var CQ = {}, nw = [
@@ -23697,29 +23706,29 @@ function G1(g, A, e) {
23697
23706
  (a || E) && k(s.baseAxes, tg(c, E ? "cross" : !0, a)), E && k(s.otherAxes, tg(c, "cross", !1));
23698
23707
  }
23699
23708
  function c(l, h, u) {
23700
- var D = u.model.getModel("axisPointer", I), y = D.get("show");
23701
- if (!(!y || y === "auto" && !l && !el(D))) {
23709
+ var D = u.model.getModel("axisPointer", I), d = D.get("show");
23710
+ if (!(!d || d === "auto" && !l && !el(D))) {
23702
23711
  h == null && (h = D.get("triggerTooltip")), D = l ? m1(u, n, I, A, l, h) : D;
23703
- var M = D.get("snap"), f = D.get("triggerEmphasis"), v = iQ(u.model), w = h || M || u.type === "category", d = g.axesInfo[v] = {
23704
- key: v,
23712
+ var v = D.get("snap"), f = D.get("triggerEmphasis"), M = iQ(u.model), w = h || v || u.type === "category", y = g.axesInfo[M] = {
23713
+ key: M,
23705
23714
  axis: u,
23706
23715
  coordSys: B,
23707
23716
  axisPointerModel: D,
23708
23717
  triggerTooltip: h,
23709
23718
  triggerEmphasis: f,
23710
23719
  involveSeries: w,
23711
- snap: M,
23720
+ snap: v,
23712
23721
  useHandle: el(D),
23713
23722
  seriesModels: [],
23714
23723
  linkGroup: null
23715
23724
  };
23716
- r[v] = d, g.seriesInvolved = g.seriesInvolved || w;
23725
+ r[M] = y, g.seriesInvolved = g.seriesInvolved || w;
23717
23726
  var p = k1(C, u);
23718
23727
  if (p != null) {
23719
23728
  var F = i[p] || (i[p] = {
23720
23729
  axesInfo: {}
23721
23730
  });
23722
- F.axesInfo[v] = d, F.mapper = C[p].mapper, d.linkGroup = F;
23731
+ F.axesInfo[M] = y, F.mapper = C[p].mapper, y.linkGroup = F;
23723
23732
  }
23724
23733
  }
23725
23734
  }
@@ -23841,15 +23850,15 @@ function J1(g, A, e, t) {
23841
23850
  var l = I.toGlobalCoord(r[0].coord), h = i.getAreaStyle();
23842
23851
  B = tA(B) ? B : [B];
23843
23852
  for (var s = 1; s < r.length; s++) {
23844
- var u = I.toGlobalCoord(r[s].coord), D = void 0, y = void 0, M = void 0, f = void 0;
23845
- I.isHorizontal() ? (D = l, y = Q.y, M = u - D, f = Q.height, l = D + M) : (D = Q.x, y = l, M = Q.width, f = u - y, l = y + f);
23846
- var v = r[s - 1].tickValue;
23847
- v != null && a.set(v, E), A.add(new Ig({
23848
- anid: v != null ? "area_" + v : null,
23853
+ var u = I.toGlobalCoord(r[s].coord), D = void 0, d = void 0, v = void 0, f = void 0;
23854
+ I.isHorizontal() ? (D = l, d = Q.y, v = u - D, f = Q.height, l = D + v) : (D = Q.x, d = l, v = Q.width, f = u - d, l = d + f);
23855
+ var M = r[s - 1].tickValue;
23856
+ M != null && a.set(M, E), A.add(new Ig({
23857
+ anid: M != null ? "area_" + M : null,
23849
23858
  shape: {
23850
23859
  x: D,
23851
- y,
23852
- width: M,
23860
+ y: d,
23861
+ width: v,
23853
23862
  height: f
23854
23863
  },
23855
23864
  style: YA({
@@ -23901,10 +23910,10 @@ var Y1 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], dM = (
23901
23910
  }), c = [], l = [], h = B.getLineStyle(), u = 0; u < s.length; u++) {
23902
23911
  var D = C.toGlobalCoord(s[u].coord);
23903
23912
  if (!(u === 0 && !r || u === s.length - 1 && !o)) {
23904
- var y = s[u].tickValue;
23913
+ var d = s[u].tickValue;
23905
23914
  a ? (c[0] = D, c[1] = n.y, l[0] = D, l[1] = n.y + n.height) : (c[0] = n.x, c[1] = D, l[0] = n.x + n.width, l[1] = D);
23906
- var M = E++ % Q.length, f = new ot({
23907
- anid: y != null ? "line_" + y : null,
23915
+ var v = E++ % Q.length, f = new ot({
23916
+ anid: d != null ? "line_" + d : null,
23908
23917
  autoBatch: !0,
23909
23918
  shape: {
23910
23919
  x1: c[0],
@@ -23913,7 +23922,7 @@ var Y1 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], dM = (
23913
23922
  y2: l[1]
23914
23923
  },
23915
23924
  style: YA({
23916
- stroke: Q[M]
23925
+ stroke: Q[v]
23917
23926
  }, h),
23918
23927
  silent: !0
23919
23928
  });
@@ -24513,22 +24522,22 @@ function iP(g, A, e) {
24513
24522
  };
24514
24523
  k(B.coordSysMap, function(h, u) {
24515
24524
  var D = Q || h.containPoint(I);
24516
- k(B.coordSysAxesInfo[u], function(y, M) {
24517
- var f = y.axis, v = EP(r, y);
24518
- if (!n && D && (!r || v)) {
24519
- var w = v && v.value;
24520
- w == null && !Q && (w = f.pointToData(I)), w != null && vw(y, w, c, !1, a);
24525
+ k(B.coordSysAxesInfo[u], function(d, v) {
24526
+ var f = d.axis, M = EP(r, d);
24527
+ if (!n && D && (!r || M)) {
24528
+ var w = M && M.value;
24529
+ w == null && !Q && (w = f.pointToData(I)), w != null && vw(d, w, c, !1, a);
24521
24530
  }
24522
24531
  });
24523
24532
  });
24524
24533
  var l = {};
24525
24534
  return k(o, function(h, u) {
24526
24535
  var D = h.linkGroup;
24527
- D && !E[u] && k(D.axesInfo, function(y, M) {
24528
- var f = E[M];
24529
- if (y !== h && f) {
24530
- var v = f.value;
24531
- D.mapper && (v = h.axis.scale.parse(D.mapper(v, Mw(y), Mw(h)))), l[h.key] = v;
24536
+ D && !E[u] && k(D.axesInfo, function(d, v) {
24537
+ var f = E[v];
24538
+ if (d !== h && f) {
24539
+ var M = f.value;
24540
+ D.mapper && (M = h.axis.scale.parse(D.mapper(M, Mw(d), Mw(h)))), l[h.key] = M;
24532
24541
  }
24533
24542
  });
24534
24543
  }), k(l, function(h, u) {
@@ -25518,24 +25527,24 @@ var HP = new Ig({
25518
25527
  }), n = [], a = new Za();
25519
25528
  k(e, function(u) {
25520
25529
  k(u.dataByAxis, function(D) {
25521
- var y = I.getComponent(D.axisDim + "Axis", D.axisIndex), M = D.value;
25522
- if (!(!y || M == null)) {
25523
- var f = vM(M, y.axis, I, D.seriesDataIndices, D.valueLabelOpt), v = di("section", {
25530
+ var d = I.getComponent(D.axisDim + "Axis", D.axisIndex), v = D.value;
25531
+ if (!(!d || v == null)) {
25532
+ var f = vM(v, d.axis, I, D.seriesDataIndices, D.valueLabelOpt), M = di("section", {
25524
25533
  header: f,
25525
25534
  noHeader: !He(f),
25526
25535
  sortBlocks: !0,
25527
25536
  blocks: []
25528
25537
  });
25529
- o.blocks.push(v), k(D.seriesDataIndices, function(w) {
25530
- var d = I.getSeriesByIndex(w.seriesIndex), p = w.dataIndexInside, F = d.getDataParams(p);
25538
+ o.blocks.push(M), k(D.seriesDataIndices, function(w) {
25539
+ var y = I.getSeriesByIndex(w.seriesIndex), p = w.dataIndexInside, F = y.getDataParams(p);
25531
25540
  if (!(F.dataIndex < 0)) {
25532
- F.axisDim = D.axisDim, F.axisIndex = D.axisIndex, F.axisType = D.axisType, F.axisId = D.axisId, F.axisValue = xo(y.axis, {
25533
- value: M
25541
+ F.axisDim = D.axisDim, F.axisIndex = D.axisIndex, F.axisType = D.axisType, F.axisId = D.axisId, F.axisValue = xo(d.axis, {
25542
+ value: v
25534
25543
  }), F.axisValueLabel = f, F.marker = a.makeTooltipMarker("item", fC(F.color), Q);
25535
- var R = ef(d.formatTooltip(p, !0, null)), m = R.frag;
25544
+ var R = ef(y.formatTooltip(p, !0, null)), m = R.frag;
25536
25545
  if (m) {
25537
- var L = eB([d], C).get("valueFormatter");
25538
- v.blocks.push(L ? z({
25546
+ var L = eB([y], C).get("valueFormatter");
25547
+ M.blocks.push(L ? z({
25539
25548
  valueFormatter: L
25540
25549
  }, m) : m);
25541
25550
  }
@@ -25560,11 +25569,11 @@ var HP = new Ig({
25560
25569
  if (!(l != null && l !== "item")) {
25561
25570
  var h = r.getDataParams(o, n), u = new Za();
25562
25571
  h.marker = u.makeTooltipMarker("item", fC(h.color), E);
25563
- var D = ef(r.formatTooltip(o, !1, n)), y = c.get("order"), M = c.get("valueFormatter"), f = D.frag, v = f ? Qf(M ? z({
25564
- valueFormatter: M
25565
- }, f) : f, u, E, y, C.get("useUTC"), c.get("textStyle")) : D.text, w = "item_" + r.name + "_" + o;
25572
+ var D = ef(r.formatTooltip(o, !1, n)), d = c.get("order"), v = c.get("valueFormatter"), f = D.frag, M = f ? Qf(v ? z({
25573
+ valueFormatter: v
25574
+ }, f) : f, u, E, d, C.get("useUTC"), c.get("textStyle")) : D.text, w = "item_" + r.name + "_" + o;
25566
25575
  this._showOrMove(c, function() {
25567
- this._showTooltipContent(c, v, h, w, e.offsetX, e.offsetY, e.position, e.target, u);
25576
+ this._showTooltipContent(c, M, h, w, e.offsetX, e.offsetY, e.position, e.target, u);
25568
25577
  }), I({
25569
25578
  type: "showTip",
25570
25579
  dataIndexInside: o,
@@ -25610,8 +25619,8 @@ var HP = new Ig({
25610
25619
  var l = e.ecModel.get("useUTC"), h = tA(I) ? I[0] : I, u = h && h.axisType && h.axisType.indexOf("time") >= 0;
25611
25620
  E = a, u && (E = pQ(h.axisValue, E, l)), E = ch(E, I, !0);
25612
25621
  } else if (cA(a)) {
25613
- var D = mA(function(y, M) {
25614
- y === this._ticket && (n.setContent(M, o, e, c, Q), this._updatePosition(e, Q, i, B, n, I, r));
25622
+ var D = mA(function(d, v) {
25623
+ d === this._ticket && (n.setContent(v, o, e, c, Q), this._updatePosition(e, Q, i, B, n, I, r));
25615
25624
  }, this);
25616
25625
  this._ticket = C, E = a(I, C, D);
25617
25626
  } else
@@ -25666,8 +25675,8 @@ var HP = new Ig({
25666
25675
  var D = l[u];
25667
25676
  i = i && h.seriesIndex === D.seriesIndex && h.dataIndex === D.dataIndex;
25668
25677
  }), C && k(a.seriesDataIndices, function(h) {
25669
- var u = h.seriesIndex, D = t[u], y = C[u];
25670
- D && y && y.data !== D.data && (i = !1);
25678
+ var u = h.seriesIndex, D = t[u], d = C[u];
25679
+ D && d && d.data !== D.data && (i = !1);
25671
25680
  });
25672
25681
  });
25673
25682
  }), this._lastDataByCoordSys = e, this._cbParamsList = t, !!i;
@@ -25836,15 +25845,15 @@ var PP = (
25836
25845
  } : null, C.add(o), a && C.add(E);
25837
25846
  var h = C.getBoundingRect(), u = e.getBoxLayoutParams();
25838
25847
  u.width = h.width, u.height = h.height;
25839
- var D = Mn(e, I), y = Rt(u, D.refContainer, e.get("padding"));
25840
- Q || (Q = e.get("left") || e.get("right"), Q === "middle" && (Q = "center"), Q === "right" ? y.x += y.width : Q === "center" && (y.x += y.width / 2)), r || (r = e.get("top") || e.get("bottom"), r === "center" && (r = "middle"), r === "bottom" ? y.y += y.height : r === "middle" && (y.y += y.height / 2), r = r || "top"), C.x = y.x, C.y = y.y, C.markRedraw();
25841
- var M = {
25848
+ var D = Mn(e, I), d = Rt(u, D.refContainer, e.get("padding"));
25849
+ Q || (Q = e.get("left") || e.get("right"), Q === "middle" && (Q = "center"), Q === "right" ? d.x += d.width : Q === "center" && (d.x += d.width / 2)), r || (r = e.get("top") || e.get("bottom"), r === "center" && (r = "middle"), r === "bottom" ? d.y += d.height : r === "middle" && (d.y += d.height / 2), r = r || "top"), C.x = d.x, C.y = d.y, C.markRedraw();
25850
+ var v = {
25842
25851
  align: Q,
25843
25852
  verticalAlign: r
25844
25853
  };
25845
- o.setStyle(M), E.setStyle(M), h = C.getBoundingRect();
25846
- var f = y.margin, v = e.getItemStyle(["color", "opacity"]);
25847
- v.fill = e.get("backgroundColor");
25854
+ o.setStyle(v), E.setStyle(v), h = C.getBoundingRect();
25855
+ var f = d.margin, M = e.getItemStyle(["color", "opacity"]);
25856
+ M.fill = e.get("backgroundColor");
25848
25857
  var w = new Ig({
25849
25858
  shape: {
25850
25859
  x: h.x - f[3],
@@ -25853,7 +25862,7 @@ var PP = (
25853
25862
  height: h.height + f[0] + f[2],
25854
25863
  r: e.get("borderRadius")
25855
25864
  },
25856
- style: v,
25865
+ style: M,
25857
25866
  subPixelOptimize: !0,
25858
25867
  silent: !0
25859
25868
  });
@@ -25955,11 +25964,11 @@ var Zh = (
25955
25964
  var u = C && C.itemModel ? C.itemModel : e.getItemModel(t), D = u.getModel("emphasis");
25956
25965
  r = D.getModel("itemStyle").getItemStyle(), n = u.getModel(["select", "itemStyle"]).getItemStyle(), o = u.getModel(["blur", "itemStyle"]).getItemStyle(), a = D.get("focus"), E = D.get("blurScope"), s = D.get("disabled"), c = Gi(u), l = D.getShallow("scale"), h = u.getShallow("cursor");
25957
25966
  }
25958
- var y = e.getItemVisual(t, "symbolRotate");
25959
- B.attr("rotation", (y || 0) * Math.PI / 180 || 0);
25960
- var M = Gn(e.getItemVisual(t, "symbolOffset"), I);
25961
- M && (B.x = M[0], B.y = M[1]), h && B.attr("cursor", h);
25962
- var f = e.getItemVisual(t, "style"), v = f.fill;
25967
+ var d = e.getItemVisual(t, "symbolRotate");
25968
+ B.attr("rotation", (d || 0) * Math.PI / 180 || 0);
25969
+ var v = Gn(e.getItemVisual(t, "symbolOffset"), I);
25970
+ v && (B.x = v[0], B.y = v[1]), h && B.attr("cursor", h);
25971
+ var f = e.getItemVisual(t, "style"), M = f.fill;
25963
25972
  if (B instanceof mt) {
25964
25973
  var w = B.style;
25965
25974
  B.useStyle(z({
@@ -25971,15 +25980,15 @@ var Zh = (
25971
25980
  height: w.height
25972
25981
  }, f));
25973
25982
  } else
25974
- B.__isEmptyBrush ? B.useStyle(z({}, f)) : B.useStyle(f), B.style.decal = null, B.setColor(v, i && i.symbolInnerColor), B.style.strokeNoScale = !0;
25975
- var d = e.getItemVisual(t, "liftZ"), p = this._z2;
25976
- d != null ? p == null && (this._z2 = B.z2, B.z2 += d) : p != null && (B.z2 = p, this._z2 = null);
25983
+ B.__isEmptyBrush ? B.useStyle(z({}, f)) : B.useStyle(f), B.style.decal = null, B.setColor(M, i && i.symbolInnerColor), B.style.strokeNoScale = !0;
25984
+ var y = e.getItemVisual(t, "liftZ"), p = this._z2;
25985
+ y != null ? p == null && (this._z2 = B.z2, B.z2 += y) : p != null && (B.z2 = p, this._z2 = null);
25977
25986
  var F = i && i.useNameLabel;
25978
25987
  yQ(B, c, {
25979
25988
  labelFetcher: Q,
25980
25989
  labelDataIndex: t,
25981
25990
  defaultText: R,
25982
- inheritColor: v,
25991
+ inheritColor: M,
25983
25992
  defaultOpacity: f.opacity
25984
25993
  });
25985
25994
  function R(Y) {
@@ -26241,25 +26250,25 @@ var ZP = (
26241
26250
  }
26242
26251
  var l = e.getItemVisual(t, "style"), h = l.stroke;
26243
26252
  i.useStyle(l), i.style.fill = null, i.style.strokeNoScale = !0, i.ensureState("emphasis").style = B, i.ensureState("blur").style = Q, i.ensureState("select").style = r, k(fE, function(f) {
26244
- var v = this.childOfName(f);
26245
- if (v) {
26246
- v.setColor(h), v.style.opacity = l.opacity;
26253
+ var M = this.childOfName(f);
26254
+ if (M) {
26255
+ M.setColor(h), M.style.opacity = l.opacity;
26247
26256
  for (var w = 0; w < Re.length; w++) {
26248
- var d = Re[w], p = i.getState(d);
26257
+ var y = Re[w], p = i.getState(y);
26249
26258
  if (p) {
26250
- var F = p.style || {}, R = v.ensureState(d), m = R.style || (R.style = {});
26251
- F.stroke != null && (m[v.__isEmptyBrush ? "stroke" : "fill"] = F.stroke), F.opacity != null && (m.opacity = F.opacity);
26259
+ var F = p.style || {}, R = M.ensureState(y), m = R.style || (R.style = {});
26260
+ F.stroke != null && (m[M.__isEmptyBrush ? "stroke" : "fill"] = F.stroke), F.opacity != null && (m.opacity = F.opacity);
26252
26261
  }
26253
26262
  }
26254
- v.markRedraw();
26263
+ M.markRedraw();
26255
26264
  }
26256
26265
  }, this);
26257
26266
  var u = C.getRawValue(t);
26258
26267
  yQ(this, o, {
26259
26268
  labelDataIndex: t,
26260
26269
  labelFetcher: {
26261
- getFormattedLabel: function(f, v) {
26262
- return C.getFormattedLabel(f, v, e.dataType);
26270
+ getFormattedLabel: function(f, M) {
26271
+ return C.getFormattedLabel(f, M, e.dataType);
26263
26272
  }
26264
26273
  },
26265
26274
  inheritColor: h || oA.color.neutral99,
@@ -26268,10 +26277,10 @@ var ZP = (
26268
26277
  });
26269
26278
  var D = this.getTextContent();
26270
26279
  if (D) {
26271
- var y = o.normal;
26272
- D.__align = D.style.align, D.__verticalAlign = D.style.verticalAlign, D.__position = y.get("position") || "middle";
26273
- var M = y.get("distance");
26274
- tA(M) || (M = [M, M]), D.__labelDistance = M;
26280
+ var d = o.normal;
26281
+ D.__align = D.style.align, D.__verticalAlign = D.style.verticalAlign, D.__position = d.get("position") || "middle";
26282
+ var v = d.get("distance");
26283
+ tA(v) || (v = [v, v]), D.__labelDistance = v;
26275
26284
  }
26276
26285
  this.setTextConfig({
26277
26286
  position: null,
@@ -26309,28 +26318,28 @@ var ZP = (
26309
26318
  }
26310
26319
  if (t && (t.setPosition(o), E(t, 0), t.scaleX = t.scaleY = i * r, t.markRedraw()), I && (I.setPosition(n), E(I, 1), I.scaleX = I.scaleY = i * r, I.markRedraw()), C && !C.ignore) {
26311
26320
  C.x = C.y = 0, C.originX = C.originY = 0;
26312
- var s = void 0, c = void 0, l = C.__labelDistance, h = l[0] * i, u = l[1] * i, D = r / 2, y = Q.tangentAt(D), M = [y[1], -y[0]], f = Q.pointAt(D);
26313
- M[1] > 0 && (M[0] = -M[0], M[1] = -M[1]);
26314
- var v = y[0] < 0 ? -1 : 1;
26321
+ var s = void 0, c = void 0, l = C.__labelDistance, h = l[0] * i, u = l[1] * i, D = r / 2, d = Q.tangentAt(D), v = [d[1], -d[0]], f = Q.pointAt(D);
26322
+ v[1] > 0 && (v[0] = -v[0], v[1] = -v[1]);
26323
+ var M = d[0] < 0 ? -1 : 1;
26315
26324
  if (C.__position !== "start" && C.__position !== "end") {
26316
- var w = -Math.atan2(y[1], y[0]);
26325
+ var w = -Math.atan2(d[1], d[0]);
26317
26326
  n[0] < o[0] && (w = Math.PI + w), C.rotation = w;
26318
26327
  }
26319
- var d = void 0;
26328
+ var y = void 0;
26320
26329
  switch (C.__position) {
26321
26330
  case "insideStartTop":
26322
26331
  case "insideMiddleTop":
26323
26332
  case "insideEndTop":
26324
26333
  case "middle":
26325
- d = -u, c = "bottom";
26334
+ y = -u, c = "bottom";
26326
26335
  break;
26327
26336
  case "insideStartBottom":
26328
26337
  case "insideMiddleBottom":
26329
26338
  case "insideEndBottom":
26330
- d = u, c = "top";
26339
+ y = u, c = "top";
26331
26340
  break;
26332
26341
  default:
26333
- d = 0, c = "middle";
26342
+ y = 0, c = "middle";
26334
26343
  }
26335
26344
  switch (C.__position) {
26336
26345
  case "end":
@@ -26342,18 +26351,18 @@ var ZP = (
26342
26351
  case "insideStartTop":
26343
26352
  case "insideStart":
26344
26353
  case "insideStartBottom":
26345
- C.x = h * v + o[0], C.y = o[1] + d, s = y[0] < 0 ? "right" : "left", C.originX = -h * v, C.originY = -d;
26354
+ C.x = h * M + o[0], C.y = o[1] + y, s = d[0] < 0 ? "right" : "left", C.originX = -h * M, C.originY = -y;
26346
26355
  break;
26347
26356
  case "insideMiddleTop":
26348
26357
  case "insideMiddle":
26349
26358
  case "insideMiddleBottom":
26350
26359
  case "middle":
26351
- C.x = f[0], C.y = f[1] + d, s = "center", C.originY = -d;
26360
+ C.x = f[0], C.y = f[1] + y, s = "center", C.originY = -y;
26352
26361
  break;
26353
26362
  case "insideEndTop":
26354
26363
  case "insideEnd":
26355
26364
  case "insideEndBottom":
26356
- C.x = -h * v + n[0], C.y = n[1] + d, s = y[0] >= 0 ? "right" : "left", C.originX = h * v, C.originY = -d;
26365
+ C.x = -h * M + n[0], C.y = n[1] + y, s = d[0] >= 0 ? "right" : "left", C.originX = h * M, C.originY = -y;
26357
26366
  break;
26358
26367
  }
26359
26368
  C.scaleX = C.scaleY = i, C.setStyle({
@@ -26682,30 +26691,30 @@ var jP = function(g, A) {
26682
26691
  var D = I.getSeriesByName(h)[0];
26683
26692
  if (!o.get(h)) {
26684
26693
  if (D) {
26685
- var y = D.getData(), M = y.getVisual("legendLineStyle") || {}, f = y.getVisual("legendIcon"), v = y.getVisual("style"), w = this._createItem(D, h, c, s, t, e, M, v, f, n, C);
26686
- w.on("click", XC(Ow, h, null, C, E)).on("mouseover", XC(Ql, D.name, null, C, E)).on("mouseout", XC(rl, D.name, null, C, E)), I.ssr && w.eachChild(function(d) {
26687
- var p = SA(d);
26694
+ var d = D.getData(), v = d.getVisual("legendLineStyle") || {}, f = d.getVisual("legendIcon"), M = d.getVisual("style"), w = this._createItem(D, h, c, s, t, e, v, M, f, n, C);
26695
+ w.on("click", XC(Ow, h, null, C, E)).on("mouseover", XC(Ql, D.name, null, C, E)).on("mouseout", XC(rl, D.name, null, C, E)), I.ssr && w.eachChild(function(y) {
26696
+ var p = SA(y);
26688
26697
  p.seriesIndex = D.seriesIndex, p.dataIndex = c, p.ssrType = "legend";
26689
- }), a && w.eachChild(function(d) {
26690
- l.packEventData(d, t, D, c, h);
26698
+ }), a && w.eachChild(function(y) {
26699
+ l.packEventData(y, t, D, c, h);
26691
26700
  }), o.set(h, !0);
26692
26701
  } else
26693
- I.eachRawSeries(function(d) {
26702
+ I.eachRawSeries(function(y) {
26694
26703
  var p = this;
26695
- if (!o.get(h) && d.legendVisualProvider) {
26696
- var F = d.legendVisualProvider;
26704
+ if (!o.get(h) && y.legendVisualProvider) {
26705
+ var F = y.legendVisualProvider;
26697
26706
  if (!F.containName(h))
26698
26707
  return;
26699
26708
  var R = F.indexOfName(h), m = F.getItemVisual(R, "style"), L = F.getItemVisual(R, "legendIcon"), Y = ne(m.fill);
26700
26709
  Y && Y[3] === 0 && (Y[3] = 0.2, m = z(z({}, m), {
26701
26710
  fill: cI(Y, "rgba")
26702
26711
  }));
26703
- var H = this._createItem(d, h, c, s, t, e, {}, m, L, n, C);
26712
+ var H = this._createItem(y, h, c, s, t, e, {}, m, L, n, C);
26704
26713
  H.on("click", XC(Ow, null, h, C, E)).on("mouseover", XC(Ql, null, h, C, E)).on("mouseout", XC(rl, null, h, C, E)), I.ssr && H.eachChild(function(V) {
26705
26714
  var x = SA(V);
26706
- x.seriesIndex = d.seriesIndex, x.dataIndex = c, x.ssrType = "legend";
26715
+ x.seriesIndex = y.seriesIndex, x.dataIndex = c, x.ssrType = "legend";
26707
26716
  }), a && H.eachChild(function(V) {
26708
- p.packEventData(V, t, d, c, h);
26717
+ p.packEventData(V, t, y, c, h);
26709
26718
  }), o.set(h, !0);
26710
26719
  }
26711
26720
  }, this);
@@ -26750,45 +26759,45 @@ var jP = function(g, A) {
26750
26759
  }, A.prototype._createItem = function(e, t, I, C, i, B, Q, r, o, n, a) {
26751
26760
  var E = e.visualDrawType, s = i.get("itemWidth"), c = i.get("itemHeight"), l = i.isSelected(t), h = C.get("symbolRotate"), u = C.get("symbolKeepAspect"), D = C.get("icon");
26752
26761
  o = D || o || "roundRect";
26753
- var y = $P(o, C, Q, r, E, l, a), M = new pr(), f = C.getModel("textStyle");
26762
+ var d = $P(o, C, Q, r, E, l, a), v = new pr(), f = C.getModel("textStyle");
26754
26763
  if (cA(e.getLegendIcon) && (!D || D === "inherit"))
26755
- M.add(e.getLegendIcon({
26764
+ v.add(e.getLegendIcon({
26756
26765
  itemWidth: s,
26757
26766
  itemHeight: c,
26758
26767
  icon: o,
26759
26768
  iconRotate: h,
26760
- itemStyle: y.itemStyle,
26761
- lineStyle: y.lineStyle,
26769
+ itemStyle: d.itemStyle,
26770
+ lineStyle: d.lineStyle,
26762
26771
  symbolKeepAspect: u
26763
26772
  }));
26764
26773
  else {
26765
- var v = D === "inherit" && e.getData().getVisual("symbol") ? h === "inherit" ? e.getData().getVisual("symbolRotate") : h : 0;
26766
- M.add(AV({
26774
+ var M = D === "inherit" && e.getData().getVisual("symbol") ? h === "inherit" ? e.getData().getVisual("symbolRotate") : h : 0;
26775
+ v.add(AV({
26767
26776
  itemWidth: s,
26768
26777
  itemHeight: c,
26769
26778
  icon: o,
26770
- iconRotate: v,
26771
- itemStyle: y.itemStyle,
26779
+ iconRotate: M,
26780
+ itemStyle: d.itemStyle,
26772
26781
  symbolKeepAspect: u
26773
26782
  }));
26774
26783
  }
26775
- var w = B === "left" ? s + 5 : -5, d = B, p = i.get("formatter"), F = t;
26784
+ var w = B === "left" ? s + 5 : -5, y = B, p = i.get("formatter"), F = t;
26776
26785
  QA(p) && p ? F = p.replace("{name}", t ?? "") : cA(p) && (F = p(t));
26777
26786
  var R = l ? f.getTextColor() : C.get("inactiveColor");
26778
- M.add(new yg({
26787
+ v.add(new yg({
26779
26788
  style: Ft(f, {
26780
26789
  text: F,
26781
26790
  x: w,
26782
26791
  y: c / 2,
26783
26792
  fill: R,
26784
- align: d,
26793
+ align: y,
26785
26794
  verticalAlign: "middle"
26786
26795
  }, {
26787
26796
  inheritColor: R
26788
26797
  })
26789
26798
  }));
26790
26799
  var m = new Ig({
26791
- shape: M.getBoundingRect(),
26800
+ shape: v.getBoundingRect(),
26792
26801
  style: {
26793
26802
  // Cannot use 'invisible' because SVG SSR will miss the node
26794
26803
  fill: "transparent"
@@ -26799,9 +26808,9 @@ var jP = function(g, A) {
26799
26808
  componentModel: i,
26800
26809
  itemName: t,
26801
26810
  itemTooltipOption: L.option
26802
- }), M.add(m), M.eachChild(function(Y) {
26811
+ }), v.add(m), v.eachChild(function(Y) {
26803
26812
  Y.silent = !0;
26804
- }), m.silent = !n, this.getContentGroup().add(M), wo(M), M.__legendDataIndex = I, M;
26813
+ }), m.silent = !n, this.getContentGroup().add(v), wo(v), v.__legendDataIndex = I, v;
26805
26814
  }, A.prototype.layoutInner = function(e, t, I, C, i, B) {
26806
26815
  var Q = this.getContentGroup(), r = this.getSelectorGroup();
26807
26816
  pB(e.get("orient"), Q, e.get("itemGap"), I.width, I.height);
@@ -27046,20 +27055,20 @@ var qw = eg, dE = ["width", "height"], yE = ["x", "y"], IV = (
27046
27055
  t || (l[C] = o[r]);
27047
27056
  var h = [0, 0], u = [-s.x, -s.y], D = lA(e.get("pageButtonGap", !0), e.get("itemGap", !0));
27048
27057
  if (c) {
27049
- var y = e.get("pageButtonPosition", !0);
27050
- y === "end" ? u[C] += I[i] - s[i] : h[C] += s[i] + D;
27058
+ var d = e.get("pageButtonPosition", !0);
27059
+ d === "end" ? u[C] += I[i] - s[i] : h[C] += s[i] + D;
27051
27060
  }
27052
27061
  u[1 - C] += E[B] / 2 - s[B] / 2, o.setPosition(l), n.setPosition(h), a.setPosition(u);
27053
- var M = {
27062
+ var v = {
27054
27063
  x: 0,
27055
27064
  y: 0
27056
27065
  };
27057
- if (M[i] = c ? I[i] : E[i], M[B] = Math.max(E[B], s[B]), M[Q] = Math.min(0, s[Q] + u[1 - C]), n.__rectSize = I[i], c) {
27066
+ if (v[i] = c ? I[i] : E[i], v[B] = Math.max(E[B], s[B]), v[Q] = Math.min(0, s[Q] + u[1 - C]), n.__rectSize = I[i], c) {
27058
27067
  var f = {
27059
27068
  x: 0,
27060
27069
  y: 0
27061
27070
  };
27062
- f[i] = Math.max(I[i] - s[i] - D, 0), f[B] = M[B], n.setClipPath(new Ig({
27071
+ f[i] = Math.max(I[i] - s[i] - D, 0), f[B] = v[B], n.setClipPath(new Ig({
27063
27072
  shape: f
27064
27073
  })), n.__rectSize = f[i];
27065
27074
  } else
@@ -27069,17 +27078,17 @@ var qw = eg, dE = ["width", "height"], yE = ["x", "y"], IV = (
27069
27078
  silent: !0
27070
27079
  });
27071
27080
  });
27072
- var v = this._getPageInfo(e);
27073
- return v.pageIndex != null && kg(
27081
+ var M = this._getPageInfo(e);
27082
+ return M.pageIndex != null && kg(
27074
27083
  o,
27075
27084
  {
27076
- x: v.contentPosition[0],
27077
- y: v.contentPosition[1]
27085
+ x: M.contentPosition[0],
27086
+ y: M.contentPosition[1]
27078
27087
  },
27079
27088
  // When switch from "show controller" to "not show controller", view should be
27080
27089
  // updated immediately without animation, otherwise causes weird effect.
27081
27090
  c ? e : null
27082
- ), this._updatePageInfoView(e, v), M;
27091
+ ), this._updatePageInfoView(e, M), v;
27083
27092
  }, A.prototype._pageGo = function(e, t, I) {
27084
27093
  var C = this._getPageInfo(t)[e];
27085
27094
  C != null && I.dispatchAction({
@@ -27108,28 +27117,28 @@ var qw = eg, dE = ["width", "height"], yE = ["x", "y"], IV = (
27108
27117
  };
27109
27118
  if (!n)
27110
27119
  return s;
27111
- var c = y(n);
27120
+ var c = d(n);
27112
27121
  s.contentPosition[i] = -c.s;
27113
27122
  for (var l = r + 1, h = c, u = c, D = null; l <= a; ++l)
27114
- D = y(o[l]), // Half of the last item is out of the window.
27115
- (!D && u.e > h.s + C || D && !M(D, h.s)) && (u.i > h.i ? h = u : h = D, h && (s.pageNextDataIndex == null && (s.pageNextDataIndex = h.i), ++s.pageCount)), u = D;
27123
+ D = d(o[l]), // Half of the last item is out of the window.
27124
+ (!D && u.e > h.s + C || D && !v(D, h.s)) && (u.i > h.i ? h = u : h = D, h && (s.pageNextDataIndex == null && (s.pageNextDataIndex = h.i), ++s.pageCount)), u = D;
27116
27125
  for (var l = r - 1, h = c, u = c, D = null; l >= -1; --l)
27117
- D = y(o[l]), // If the the end item does not intersect with the window started
27126
+ D = d(o[l]), // If the the end item does not intersect with the window started
27118
27127
  // from the current item, a page can be settled.
27119
- (!D || !M(u, D.s)) && h.i < u.i && (u = h, s.pagePrevDataIndex == null && (s.pagePrevDataIndex = h.i), ++s.pageCount, ++s.pageIndex), h = D;
27128
+ (!D || !v(u, D.s)) && h.i < u.i && (u = h, s.pagePrevDataIndex == null && (s.pagePrevDataIndex = h.i), ++s.pageCount, ++s.pageIndex), h = D;
27120
27129
  return s;
27121
- function y(f) {
27130
+ function d(f) {
27122
27131
  if (f) {
27123
- var v = f.getBoundingRect(), w = v[Q] + f[Q];
27132
+ var M = f.getBoundingRect(), w = M[Q] + f[Q];
27124
27133
  return {
27125
27134
  s: w,
27126
- e: w + v[B],
27135
+ e: w + M[B],
27127
27136
  i: f.__legendDataIndex
27128
27137
  };
27129
27138
  }
27130
27139
  }
27131
- function M(f, v) {
27132
- return f.e >= v && f.s <= v + C;
27140
+ function v(f, M) {
27141
+ return f.e >= M && f.s <= M + C;
27133
27142
  }
27134
27143
  }, A.prototype._findTargetItemIndex = function(e) {
27135
27144
  if (!this._showController)
@@ -27304,23 +27313,23 @@ function aV(g, A) {
27304
27313
  }
27305
27314
  function EV(g, A, e, t, I, C, i, B) {
27306
27315
  for (var Q = aV(g, A), r = [], o = [], n = [], a = [], E = [], s = [], c = [], l = _M(I, A, i), h = g.getLayout("points") || [], u = A.getLayout("points") || [], D = 0; D < Q.length; D++) {
27307
- var y = Q[D], M = !0, f = void 0, v = void 0;
27308
- switch (y.cmd) {
27316
+ var d = Q[D], v = !0, f = void 0, M = void 0;
27317
+ switch (d.cmd) {
27309
27318
  case "=":
27310
- f = y.idx * 2, v = y.idx1 * 2;
27311
- var w = h[f], d = h[f + 1], p = u[v], F = u[v + 1];
27312
- (isNaN(w) || isNaN(d)) && (w = p, d = F), r.push(w, d), o.push(p, F), n.push(e[f], e[f + 1]), a.push(t[v], t[v + 1]), c.push(A.getRawIndex(y.idx1));
27319
+ f = d.idx * 2, M = d.idx1 * 2;
27320
+ var w = h[f], y = h[f + 1], p = u[M], F = u[M + 1];
27321
+ (isNaN(w) || isNaN(y)) && (w = p, y = F), r.push(w, y), o.push(p, F), n.push(e[f], e[f + 1]), a.push(t[M], t[M + 1]), c.push(A.getRawIndex(d.idx1));
27313
27322
  break;
27314
27323
  case "+":
27315
- var R = y.idx, m = l.dataDimsForPoint, L = I.dataToPoint([A.get(m[0], R), A.get(m[1], R)]);
27316
- v = R * 2, r.push(L[0], L[1]), o.push(u[v], u[v + 1]);
27324
+ var R = d.idx, m = l.dataDimsForPoint, L = I.dataToPoint([A.get(m[0], R), A.get(m[1], R)]);
27325
+ M = R * 2, r.push(L[0], L[1]), o.push(u[M], u[M + 1]);
27317
27326
  var Y = PM(l, I, A, R);
27318
- n.push(Y[0], Y[1]), a.push(t[v], t[v + 1]), c.push(A.getRawIndex(R));
27327
+ n.push(Y[0], Y[1]), a.push(t[M], t[M + 1]), c.push(A.getRawIndex(R));
27319
27328
  break;
27320
27329
  case "-":
27321
- M = !1;
27330
+ v = !1;
27322
27331
  }
27323
- M && (E.push(y), s.push(s.length));
27332
+ v && (E.push(d), s.push(s.length));
27324
27333
  }
27325
27334
  s.sort(function(MA, JA) {
27326
27335
  return c[MA] - c[JA];
@@ -27356,24 +27365,24 @@ function ol(g, A, e, t, I, C, i, B, Q) {
27356
27365
  if (c === e)
27357
27366
  g[C > 0 ? "moveTo" : "lineTo"](h, u), n = h, a = u;
27358
27367
  else {
27359
- var D = h - r, y = u - o;
27360
- if (D * D + y * y < 0.5) {
27368
+ var D = h - r, d = u - o;
27369
+ if (D * D + d * d < 0.5) {
27361
27370
  c += C;
27362
27371
  continue;
27363
27372
  }
27364
27373
  if (i > 0) {
27365
- for (var M = c + C, f = A[M * 2], v = A[M * 2 + 1]; f === h && v === u && l < t; )
27366
- l++, M += C, c += C, f = A[M * 2], v = A[M * 2 + 1], h = A[c * 2], u = A[c * 2 + 1], D = h - r, y = u - o;
27374
+ for (var v = c + C, f = A[v * 2], M = A[v * 2 + 1]; f === h && M === u && l < t; )
27375
+ l++, v += C, c += C, f = A[v * 2], M = A[v * 2 + 1], h = A[c * 2], u = A[c * 2 + 1], D = h - r, d = u - o;
27367
27376
  var w = l + 1;
27368
27377
  if (Q)
27369
- for (; nC(f, v) && w < t; )
27370
- w++, M += C, f = A[M * 2], v = A[M * 2 + 1];
27371
- var d = 0.5, p = 0, F = 0, R = void 0, m = void 0;
27372
- if (w >= t || nC(f, v))
27378
+ for (; nC(f, M) && w < t; )
27379
+ w++, v += C, f = A[v * 2], M = A[v * 2 + 1];
27380
+ var y = 0.5, p = 0, F = 0, R = void 0, m = void 0;
27381
+ if (w >= t || nC(f, M))
27373
27382
  E = h, s = u;
27374
27383
  else {
27375
- p = f - r, F = v - o;
27376
- var L = h - r, Y = f - h, H = u - o, V = v - u, x = void 0, O = void 0;
27384
+ p = f - r, F = M - o;
27385
+ var L = h - r, Y = f - h, H = u - o, V = M - u, x = void 0, O = void 0;
27377
27386
  if (B === "x") {
27378
27387
  x = Math.abs(L), O = Math.abs(Y);
27379
27388
  var W = p > 0 ? 1 : -1;
@@ -27383,7 +27392,7 @@ function ol(g, A, e, t, I, C, i, B, Q) {
27383
27392
  var $ = F > 0 ? 1 : -1;
27384
27393
  E = h, s = u - $ * x * i, R = h, m = u + $ * O * i;
27385
27394
  } else
27386
- x = Math.sqrt(L * L + H * H), O = Math.sqrt(Y * Y + V * V), d = O / (O + x), E = h - p * i * (1 - d), s = u - F * i * (1 - d), R = h + p * i * d, m = u + F * i * d, R = Yt(R, bt(f, h)), m = Yt(m, bt(v, u)), R = bt(R, Yt(f, h)), m = bt(m, Yt(v, u)), p = R - h, F = m - u, E = h - p * x / O, s = u - F * x / O, E = Yt(E, bt(r, h)), s = Yt(s, bt(o, u)), E = bt(E, Yt(r, h)), s = bt(s, Yt(o, u)), p = h - E, F = u - s, R = h + p * O / x, m = u + F * O / x;
27395
+ x = Math.sqrt(L * L + H * H), O = Math.sqrt(Y * Y + V * V), y = O / (O + x), E = h - p * i * (1 - y), s = u - F * i * (1 - y), R = h + p * i * y, m = u + F * i * y, R = Yt(R, bt(f, h)), m = Yt(m, bt(M, u)), R = bt(R, Yt(f, h)), m = bt(m, Yt(M, u)), p = R - h, F = m - u, E = h - p * x / O, s = u - F * x / O, E = Yt(E, bt(r, h)), s = Yt(s, bt(o, u)), E = bt(E, Yt(r, h)), s = bt(s, Yt(o, u)), p = h - E, F = u - s, R = h + p * O / x, m = u + F * O / x;
27387
27396
  }
27388
27397
  g.bezierCurveTo(n, a, E, s, h, u), n = R, a = m;
27389
27398
  } else
@@ -27436,20 +27445,20 @@ var VM = (
27436
27445
  break;
27437
27446
  case i.L:
27438
27447
  if (E = C[n++], s = C[n++], D = r ? (e - B) / (E - B) : (e - Q) / (s - Q), D <= 1 && D >= 0) {
27439
- var y = r ? (s - Q) * D + Q : (E - B) * D + B;
27440
- return r ? [e, y] : [y, e];
27448
+ var d = r ? (s - Q) * D + Q : (E - B) * D + B;
27449
+ return r ? [e, d] : [d, e];
27441
27450
  }
27442
27451
  B = E, Q = s;
27443
27452
  break;
27444
27453
  case i.C:
27445
27454
  E = C[n++], s = C[n++], c = C[n++], l = C[n++], h = C[n++], u = C[n++];
27446
- var M = r ? no(B, E, c, h, e, o) : no(Q, s, l, u, e, o);
27447
- if (M > 0)
27448
- for (var f = 0; f < M; f++) {
27449
- var v = o[f];
27450
- if (v <= 1 && v >= 0) {
27451
- var y = r ? pg(Q, s, l, u, v) : pg(B, E, c, h, v);
27452
- return r ? [e, y] : [y, e];
27455
+ var v = r ? no(B, E, c, h, e, o) : no(Q, s, l, u, e, o);
27456
+ if (v > 0)
27457
+ for (var f = 0; f < v; f++) {
27458
+ var M = o[f];
27459
+ if (M <= 1 && M >= 0) {
27460
+ var d = r ? pg(Q, s, l, u, M) : pg(B, E, c, h, M);
27461
+ return r ? [e, d] : [d, e];
27453
27462
  }
27454
27463
  }
27455
27464
  B = h, Q = u;
@@ -27778,9 +27787,9 @@ var FV = (
27778
27787
  var e = new eg(), t = new JM();
27779
27788
  this.group.add(t.group), this._symbolDraw = t, this._lineGroup = e, this._changePolyState = mA(this._changePolyState, this);
27780
27789
  }, A.prototype.render = function(e, t, I) {
27781
- var C = e.coordinateSystem, i = this.group, B = e.getData(), Q = e.getModel("lineStyle"), r = e.getModel("areaStyle"), o = B.getLayout("points") || [], n = C.type === "polar", a = this._coordSys, E = this._symbolDraw, s = this._polyline, c = this._polygon, l = this._lineGroup, h = !t.ssr && e.get("animation"), u = !r.isEmpty(), D = r.get("origin"), y = _M(C, B, D), M = u && uV(C, B, y), f = e.get("showSymbol"), v = e.get("connectNulls"), w = f && !n && wV(e, B, C), d = this._data;
27782
- d && d.eachItemGraphicEl(function(MA, JA) {
27783
- MA.__temp && (i.remove(MA), d.setItemGraphicEl(JA, null));
27790
+ var C = e.coordinateSystem, i = this.group, B = e.getData(), Q = e.getModel("lineStyle"), r = e.getModel("areaStyle"), o = B.getLayout("points") || [], n = C.type === "polar", a = this._coordSys, E = this._symbolDraw, s = this._polyline, c = this._polygon, l = this._lineGroup, h = !t.ssr && e.get("animation"), u = !r.isEmpty(), D = r.get("origin"), d = _M(C, B, D), v = u && uV(C, B, d), f = e.get("showSymbol"), M = e.get("connectNulls"), w = f && !n && wV(e, B, C), y = this._data;
27791
+ y && y.eachItemGraphicEl(function(MA, JA) {
27792
+ MA.__temp && (i.remove(MA), y.setItemGraphicEl(JA, null));
27784
27793
  }), f || E.remove(), i.add(l);
27785
27794
  var p = n ? !1 : e.get("step"), F;
27786
27795
  C && C.getArea && e.get("clip", !0) && (F = C.getArea(), F.width != null ? (F.x -= 0.1, F.y -= 0.1, F.width += 0.2, F.height += 0.2) : F.r0 && (F.r0 -= 0.5, F.r += 0.5)), this._clipShapeForSymbol = F;
@@ -27793,9 +27802,9 @@ var FV = (
27793
27802
  getSymbolPoint: function(MA) {
27794
27803
  return [o[MA * 2], o[MA * 2 + 1]];
27795
27804
  }
27796
- }), h && this._initSymbolLabelAnimation(B, C, F), p && (M && (M = xt(M, o, C, p, v)), o = xt(o, null, C, p, v)), s = this._newPolyline(o), u ? c = this._newPolygon(o, M) : c && (l.remove(c), c = this._polygon = null), n || this._initOrUpdateEndLabel(e, C, fC(R)), l.setClipPath(pE(this, C, !0, e));
27805
+ }), h && this._initSymbolLabelAnimation(B, C, F), p && (v && (v = xt(v, o, C, p, M)), o = xt(o, null, C, p, M)), s = this._newPolyline(o), u ? c = this._newPolygon(o, v) : c && (l.remove(c), c = this._polygon = null), n || this._initOrUpdateEndLabel(e, C, fC(R)), l.setClipPath(pE(this, C, !0, e));
27797
27806
  else {
27798
- u && !c ? c = this._newPolygon(o, M) : c && !u && (l.remove(c), c = this._polygon = null), n || this._initOrUpdateEndLabel(e, C, fC(R));
27807
+ u && !c ? c = this._newPolygon(o, v) : c && !u && (l.remove(c), c = this._polygon = null), n || this._initOrUpdateEndLabel(e, C, fC(R));
27799
27808
  var m = l.getClipPath();
27800
27809
  if (m) {
27801
27810
  var L = pE(this, C, !1, e);
@@ -27811,11 +27820,11 @@ var FV = (
27811
27820
  getSymbolPoint: function(MA) {
27812
27821
  return [o[MA * 2], o[MA * 2 + 1]];
27813
27822
  }
27814
- }), (!Xw(this._stackedOnPoints, M) || !Xw(this._points, o)) && (h ? this._doUpdateAnimation(B, M, C, I, p, D, v) : (p && (M && (M = xt(M, o, C, p, v)), o = xt(o, null, C, p, v)), s.setShape({
27823
+ }), (!Xw(this._stackedOnPoints, v) || !Xw(this._points, o)) && (h ? this._doUpdateAnimation(B, v, C, I, p, D, M) : (p && (v && (v = xt(v, o, C, p, M)), o = xt(o, null, C, p, M)), s.setShape({
27815
27824
  points: o
27816
27825
  }), c && c.setShape({
27817
27826
  points: o,
27818
- stackedOnPoints: M
27827
+ stackedOnPoints: v
27819
27828
  })));
27820
27829
  }
27821
27830
  var Y = e.getModel("emphasis"), H = Y.get("focus"), V = Y.get("blurScope"), x = Y.get("disabled");
@@ -27836,7 +27845,7 @@ var FV = (
27836
27845
  if (s.setShape({
27837
27846
  smooth: W,
27838
27847
  smoothMonotone: $,
27839
- connectNulls: v
27848
+ connectNulls: M
27840
27849
  }), c) {
27841
27850
  var eA = B.getCalculationInfo("stackedOnSeries"), iA = 0;
27842
27851
  c.useStyle(YA(r.getAreaStyle(), {
@@ -27848,13 +27857,13 @@ var FV = (
27848
27857
  smooth: W,
27849
27858
  stackedOnSmooth: iA,
27850
27859
  smoothMonotone: $,
27851
- connectNulls: v
27860
+ connectNulls: M
27852
27861
  }), vs(c, e, "areaStyle"), SA(c).seriesIndex = e.seriesIndex, OB(c, H, V, x);
27853
27862
  }
27854
27863
  var rA = this._changePolyState;
27855
27864
  B.eachItemGraphicEl(function(MA) {
27856
27865
  MA && (MA.onHoverStateChange = rA);
27857
- }), this._polyline.onHoverStateChange = rA, this._data = B, this._coordSys = C, this._stackedOnPoints = M, this._points = o, this._step = p, this._valueOrigin = D, e.get("triggerLineEvent") && (this.packEventData(e, s), c && this.packEventData(e, c));
27866
+ }), this._polyline.onHoverStateChange = rA, this._data = B, this._coordSys = C, this._stackedOnPoints = v, this._points = o, this._step = p, this._valueOrigin = D, e.get("triggerLineEvent") && (this.packEventData(e, s), c && this.packEventData(e, c));
27858
27867
  }, A.prototype.packEventData = function(e, t) {
27859
27868
  SA(t).eventData = {
27860
27869
  componentType: "series",
@@ -27920,15 +27929,15 @@ var FV = (
27920
27929
  var l = [E.x, E.y], h = void 0, u = void 0, D = void 0;
27921
27930
  if (I)
27922
27931
  if (i) {
27923
- var y = I, M = t.pointToCoord(l);
27924
- C ? (h = y.startAngle, u = y.endAngle, D = -M[1] / 180 * Math.PI) : (h = y.r0, u = y.r, D = M[0]);
27932
+ var d = I, v = t.pointToCoord(l);
27933
+ C ? (h = d.startAngle, u = d.endAngle, D = -v[1] / 180 * Math.PI) : (h = d.r0, u = d.r, D = v[0]);
27925
27934
  } else {
27926
27935
  var f = I;
27927
27936
  C ? (h = f.x, u = f.x + f.width, D = E.x) : (h = f.y + f.height, u = f.y, D = E.y);
27928
27937
  }
27929
- var v = u === h ? 0 : (D - h) / (u - h);
27930
- Q && (v = 1 - v);
27931
- var w = cA(n) ? n(s) : o * v + a, d = c.getSymbolPath(), p = d.getTextContent();
27938
+ var M = u === h ? 0 : (D - h) / (u - h);
27939
+ Q && (M = 1 - M);
27940
+ var w = cA(n) ? n(s) : o * M + a, y = c.getSymbolPath(), p = y.getTextContent();
27932
27941
  c.attr({
27933
27942
  scaleX: 0,
27934
27943
  scaleY: 0
@@ -27946,7 +27955,7 @@ var FV = (
27946
27955
  }, {
27947
27956
  duration: 300,
27948
27957
  delay: w
27949
- }), d.disableLabelAnimation = !0;
27958
+ }), y.disableLabelAnimation = !0;
27950
27959
  }
27951
27960
  });
27952
27961
  }, A.prototype._initOrUpdateEndLabel = function(e, t, I) {
@@ -27977,28 +27986,28 @@ var FV = (
27977
27986
  var r = this._endLabel, o = this._polyline;
27978
27987
  if (r) {
27979
27988
  e < 1 && C.originalX == null && (C.originalX = r.x, C.originalY = r.y);
27980
- var n = I.getLayout("points"), a = I.hostModel, E = a.get("connectNulls"), s = B.get("precision"), c = B.get("distance") || 0, l = Q.getBaseAxis(), h = l.isHorizontal(), u = l.inverse, D = t.shape, y = u ? h ? D.x : D.y + D.height : h ? D.x + D.width : D.y, M = (h ? c : 0) * (u ? -1 : 1), f = (h ? 0 : -c) * (u ? -1 : 1), v = h ? "x" : "y", w = vV(n, y, v), d = w.range, p = d[1] - d[0], F = void 0;
27989
+ var n = I.getLayout("points"), a = I.hostModel, E = a.get("connectNulls"), s = B.get("precision"), c = B.get("distance") || 0, l = Q.getBaseAxis(), h = l.isHorizontal(), u = l.inverse, D = t.shape, d = u ? h ? D.x : D.y + D.height : h ? D.x + D.width : D.y, v = (h ? c : 0) * (u ? -1 : 1), f = (h ? 0 : -c) * (u ? -1 : 1), M = h ? "x" : "y", w = vV(n, d, M), y = w.range, p = y[1] - y[0], F = void 0;
27981
27990
  if (p >= 1) {
27982
27991
  if (p > 1 && !E) {
27983
- var R = Ad(n, d[0]);
27992
+ var R = Ad(n, y[0]);
27984
27993
  r.attr({
27985
- x: R[0] + M,
27994
+ x: R[0] + v,
27986
27995
  y: R[1] + f
27987
- }), i && (F = a.getRawValue(d[0]));
27996
+ }), i && (F = a.getRawValue(y[0]));
27988
27997
  } else {
27989
- var R = o.getPointOn(y, v);
27998
+ var R = o.getPointOn(d, M);
27990
27999
  R && r.attr({
27991
- x: R[0] + M,
28000
+ x: R[0] + v,
27992
28001
  y: R[1] + f
27993
28002
  });
27994
- var m = a.getRawValue(d[0]), L = a.getRawValue(d[1]);
28003
+ var m = a.getRawValue(y[0]), L = a.getRawValue(y[1]);
27995
28004
  i && (F = BJ(I, s, m, L, w.t));
27996
28005
  }
27997
- C.lastFrameIndex = d[0];
28006
+ C.lastFrameIndex = y[0];
27998
28007
  } else {
27999
- var Y = e === 1 || C.lastFrameIndex > 0 ? d[0] : 0, R = Ad(n, Y);
28008
+ var Y = e === 1 || C.lastFrameIndex > 0 ? y[0] : 0, R = Ad(n, Y);
28000
28009
  i && (F = a.getRawValue(Y)), r.attr({
28001
- x: R[0] + M,
28010
+ x: R[0] + v,
28002
28011
  y: R[1] + f
28003
28012
  });
28004
28013
  }
@@ -28033,22 +28042,22 @@ var FV = (
28033
28042
  stackedOnPoints: l
28034
28043
  }
28035
28044
  }, n), r.shape.points !== o.shape.points && (o.shape.points = r.shape.points));
28036
- for (var u = [], D = a.status, y = 0; y < D.length; y++) {
28037
- var M = D[y].cmd;
28038
- if (M === "=") {
28039
- var f = e.getItemGraphicEl(D[y].idx1);
28045
+ for (var u = [], D = a.status, d = 0; d < D.length; d++) {
28046
+ var v = D[d].cmd;
28047
+ if (v === "=") {
28048
+ var f = e.getItemGraphicEl(D[d].idx1);
28040
28049
  f && u.push({
28041
28050
  el: f,
28042
- ptIdx: y
28051
+ ptIdx: d
28043
28052
  // Index of points
28044
28053
  });
28045
28054
  }
28046
28055
  }
28047
28056
  r.animators && r.animators.length && r.animators[0].during(function() {
28048
28057
  o && o.dirtyShape();
28049
- for (var v = r.shape.__points, w = 0; w < u.length; w++) {
28050
- var d = u[w].el, p = u[w].ptIdx * 2;
28051
- d.x = v[p], d.y = v[p + 1], d.markRedraw();
28058
+ for (var M = r.shape.__points, w = 0; w < u.length; w++) {
28059
+ var y = u[w].el, p = u[w].ptIdx * 2;
28060
+ y.x = M[p], y.y = M[p + 1], y.markRedraw();
28052
28061
  }
28053
28062
  });
28054
28063
  }, A.prototype.remove = function(e) {
@@ -28076,8 +28085,8 @@ function RV(g, A) {
28076
28085
  for (var E = n.end - n.start, s = dt(E * i), c = [], l = [], h = n.start, u = 0; h < n.end; h++) {
28077
28086
  var D = void 0;
28078
28087
  if (i === 1) {
28079
- var y = Q.get(r, h);
28080
- D = I.dataToPoint(y, null, l);
28088
+ var d = Q.get(r, h);
28089
+ D = I.dataToPoint(d, null, l);
28081
28090
  } else
28082
28091
  c[0] = Q.get(r, h), c[1] = Q.get(o, h), D = I.dataToPoint(c, null, l);
28083
28092
  s[u++] = D[0], s[u++] = D[1];
@@ -28171,18 +28180,18 @@ var al = (
28171
28180
  B[E] = a.toGlobalCoord(a.getExtent()[h ? 1 : 0]);
28172
28181
  return;
28173
28182
  }
28174
- for (var u = void 0, D = void 0, y = 1, M = 0; M < s.length; M++) {
28175
- var f = s[M].coord, v = M === s.length - 1 ? s[M - 1].tickValue + y : s[M].tickValue;
28176
- if (v === l) {
28183
+ for (var u = void 0, D = void 0, d = 1, v = 0; v < s.length; v++) {
28184
+ var f = s[v].coord, M = v === s.length - 1 ? s[v - 1].tickValue + d : s[v].tickValue;
28185
+ if (M === l) {
28177
28186
  D = f;
28178
28187
  break;
28179
- } else if (v < l)
28188
+ } else if (M < l)
28180
28189
  u = f;
28181
- else if (u != null && v > l) {
28190
+ else if (u != null && M > l) {
28182
28191
  D = (f + u) / 2;
28183
28192
  break;
28184
28193
  }
28185
- M === 1 && (y = v - s[0].tickValue);
28194
+ v === 1 && (d = M - s[0].tickValue);
28186
28195
  }
28187
28196
  D == null && (u ? u && (D = s[s.length - 1].coord) : D = s[0].coord), B[E] = a.toGlobalCoord(D);
28188
28197
  }
@@ -28295,39 +28304,39 @@ function kV(g, A) {
28295
28304
  var i = I.position;
28296
28305
  if (!i || i instanceof Array)
28297
28306
  return lo(t, I, C);
28298
- var B = g(i), Q = I.distance != null ? I.distance : 5, r = this.shape, o = r.cx, n = r.cy, a = r.r, E = r.r0, s = (a + E) / 2, c = r.startAngle, l = r.endAngle, h = (c + l) / 2, u = e ? Math.abs(a - E) / 2 : 0, D = Math.cos, y = Math.sin, M = o + a * D(c), f = n + a * y(c), v = "left", w = "top";
28307
+ var B = g(i), Q = I.distance != null ? I.distance : 5, r = this.shape, o = r.cx, n = r.cy, a = r.r, E = r.r0, s = (a + E) / 2, c = r.startAngle, l = r.endAngle, h = (c + l) / 2, u = e ? Math.abs(a - E) / 2 : 0, D = Math.cos, d = Math.sin, v = o + a * D(c), f = n + a * d(c), M = "left", w = "top";
28299
28308
  switch (B) {
28300
28309
  case "startArc":
28301
- M = o + (E - Q) * D(h), f = n + (E - Q) * y(h), v = "center", w = "top";
28310
+ v = o + (E - Q) * D(h), f = n + (E - Q) * d(h), M = "center", w = "top";
28302
28311
  break;
28303
28312
  case "insideStartArc":
28304
- M = o + (E + Q) * D(h), f = n + (E + Q) * y(h), v = "center", w = "bottom";
28313
+ v = o + (E + Q) * D(h), f = n + (E + Q) * d(h), M = "center", w = "bottom";
28305
28314
  break;
28306
28315
  case "startAngle":
28307
- M = o + s * D(c) + vr(c, Q + u, !1), f = n + s * y(c) + Mr(c, Q + u, !1), v = "right", w = "middle";
28316
+ v = o + s * D(c) + vr(c, Q + u, !1), f = n + s * d(c) + Mr(c, Q + u, !1), M = "right", w = "middle";
28308
28317
  break;
28309
28318
  case "insideStartAngle":
28310
- M = o + s * D(c) + vr(c, -Q + u, !1), f = n + s * y(c) + Mr(c, -Q + u, !1), v = "left", w = "middle";
28319
+ v = o + s * D(c) + vr(c, -Q + u, !1), f = n + s * d(c) + Mr(c, -Q + u, !1), M = "left", w = "middle";
28311
28320
  break;
28312
28321
  case "middle":
28313
- M = o + s * D(h), f = n + s * y(h), v = "center", w = "middle";
28322
+ v = o + s * D(h), f = n + s * d(h), M = "center", w = "middle";
28314
28323
  break;
28315
28324
  case "endArc":
28316
- M = o + (a + Q) * D(h), f = n + (a + Q) * y(h), v = "center", w = "bottom";
28325
+ v = o + (a + Q) * D(h), f = n + (a + Q) * d(h), M = "center", w = "bottom";
28317
28326
  break;
28318
28327
  case "insideEndArc":
28319
- M = o + (a - Q) * D(h), f = n + (a - Q) * y(h), v = "center", w = "top";
28328
+ v = o + (a - Q) * D(h), f = n + (a - Q) * d(h), M = "center", w = "top";
28320
28329
  break;
28321
28330
  case "endAngle":
28322
- M = o + s * D(l) + vr(l, Q + u, !0), f = n + s * y(l) + Mr(l, Q + u, !0), v = "left", w = "middle";
28331
+ v = o + s * D(l) + vr(l, Q + u, !0), f = n + s * d(l) + Mr(l, Q + u, !0), M = "left", w = "middle";
28323
28332
  break;
28324
28333
  case "insideEndAngle":
28325
- M = o + s * D(l) + vr(l, -Q + u, !0), f = n + s * y(l) + Mr(l, -Q + u, !0), v = "right", w = "middle";
28334
+ v = o + s * D(l) + vr(l, -Q + u, !0), f = n + s * d(l) + Mr(l, -Q + u, !0), M = "right", w = "middle";
28326
28335
  break;
28327
28336
  default:
28328
28337
  return lo(t, I, C);
28329
28338
  }
28330
- return t = t || {}, t.x = M, t.y = f, t.align = v, t.verticalAlign = w, t;
28339
+ return t = t || {}, t.x = v, t.y = f, t.align = M, t.verticalAlign = w, t;
28331
28340
  };
28332
28341
  }
28333
28342
  function UV(g, A, e, t) {
@@ -28430,13 +28439,13 @@ var JV = (
28430
28439
  E && this._enableRealtimeSort(E, B, I);
28431
28440
  var s = e.get("clip", !0) || E, c = KV(r, B);
28432
28441
  i.removeClipPath();
28433
- var l = e.get("roundCap", !0), h = e.get("showBackground", !0), u = e.getModel("backgroundStyle"), D = u.get("borderRadius") || 0, y = [], M = this._backgroundEls, f = C && C.isInitSort, v = C && C.type === "changeAxisOrder";
28442
+ var l = e.get("roundCap", !0), h = e.get("showBackground", !0), u = e.getModel("backgroundStyle"), D = u.get("borderRadius") || 0, d = [], v = this._backgroundEls, f = C && C.isInitSort, M = C && C.type === "changeAxisOrder";
28434
28443
  function w(F) {
28435
28444
  var R = Fr[r.type](B, F);
28436
28445
  if (!R)
28437
28446
  return null;
28438
28447
  var m = VV(r, n, R);
28439
- return m.useStyle(u.getItemStyle()), r.type === "cartesian2d" ? m.setShape("r", D) : m.setShape("cornerRadius", D), y[F] = m, m;
28448
+ return m.useStyle(u.getItemStyle()), r.type === "cartesian2d" ? m.setShape("r", D) : m.setShape("cornerRadius", D), d[F] = m, m;
28440
28449
  }
28441
28450
  B.diff(Q).add(function(F) {
28442
28451
  var R = B.getItemModel(F), m = Fr[r.type](B, F, R);
@@ -28455,7 +28464,7 @@ var JV = (
28455
28464
  if (L) {
28456
28465
  if (h) {
28457
28466
  var Y = void 0;
28458
- M.length === 0 ? Y = w(R) : (Y = M[R], Y.useStyle(u.getItemStyle()), r.type === "cartesian2d" ? Y.setShape("r", D) : Y.setShape("cornerRadius", D), y[F] = Y);
28467
+ v.length === 0 ? Y = w(R) : (Y = v[R], Y.useStyle(u.getItemStyle()), r.type === "cartesian2d" ? Y.setShape("r", D) : Y.setShape("cornerRadius", D), d[F] = Y);
28459
28468
  var H = Fr[r.type](B, F), V = zM(n, H, r);
28460
28469
  kg(Y, {
28461
28470
  shape: V
@@ -28469,7 +28478,7 @@ var JV = (
28469
28478
  var O = !1;
28470
28479
  s && (O = ed[r.type](c, L), O && i.remove(x));
28471
28480
  var W = x && (x.type === "sector" && l || x.type === "sausage" && !l);
28472
- if (W && (x && Tr(x, e, R), x = null), x ? X0(x) : x = td[r.type](e, B, F, L, n, a, o.model, !0, l), E && (x.forceLabelAnimation = !0), v) {
28481
+ if (W && (x && Tr(x, e, R), x = null), x ? X0(x) : x = td[r.type](e, B, F, L, n, a, o.model, !0, l), E && (x.forceLabelAnimation = !0), M) {
28473
28482
  var $ = x.getTextContent();
28474
28483
  if ($) {
28475
28484
  var eA = pn($);
@@ -28479,7 +28488,7 @@ var JV = (
28479
28488
  Bd(x, B, F, m, L, e, n, r.type === "polar");
28480
28489
  f ? x.attr({
28481
28490
  shape: L
28482
- }) : E ? Id(E, a, x, L, F, n, !0, v) : kg(x, {
28491
+ }) : E ? Id(E, a, x, L, F, n, !0, M) : kg(x, {
28483
28492
  shape: L
28484
28493
  }, e, F, null), B.setItemGraphicEl(F, x), x.ignore = O, i.add(x);
28485
28494
  }
@@ -28487,11 +28496,11 @@ var JV = (
28487
28496
  var R = Q.getItemGraphicEl(F);
28488
28497
  R && Tr(R, e, F);
28489
28498
  }).execute();
28490
- var d = this._backgroundGroup || (this._backgroundGroup = new eg());
28491
- d.removeAll();
28492
- for (var p = 0; p < y.length; ++p)
28493
- d.add(y[p]);
28494
- i.add(d), this._backgroundEls = y, this._data = B;
28499
+ var y = this._backgroundGroup || (this._backgroundGroup = new eg());
28500
+ y.removeAll();
28501
+ for (var p = 0; p < d.length; ++p)
28502
+ y.add(d[p]);
28503
+ i.add(y), this._backgroundEls = d, this._data = B;
28495
28504
  }, A.prototype._renderLarge = function(e, t, I) {
28496
28505
  this._clear(), rd(e, this.group), this._updateLargeClip(e);
28497
28506
  }, A.prototype._incrementalRenderLarge = function(e, t) {
@@ -29136,8 +29145,8 @@ function $h(g, A, e, t) {
29136
29145
  tF(e, l, Q, r);
29137
29146
  }
29138
29147
  QO[A](g, B, i, o, Q, r, n), B.eachEdge(function(h, u) {
29139
- var D = ye(h.getModel().get(["lineStyle", "curveness"]), jh(h, g, u), 0), y = et(h.node1.getLayout()), M = et(h.node2.getLayout()), f, v = (y[0] + M[0]) / 2, w = (y[1] + M[1]) / 2;
29140
- +D && (D *= 3, f = [Q * D + v * (1 - D), r * D + w * (1 - D)]), h.setLayout([y, M, f]);
29148
+ var D = ye(h.getModel().get(["lineStyle", "curveness"]), jh(h, g, u), 0), d = et(h.node1.getLayout()), v = et(h.node2.getLayout()), f, M = (d[0] + v[0]) / 2, w = (d[1] + v[1]) / 2;
29149
+ +D && (D *= 3, f = [Q * D + M * (1 - D), r * D + w * (1 - D)]), h.setLayout([d, v, f]);
29141
29150
  });
29142
29151
  }
29143
29152
  }
@@ -29235,30 +29244,30 @@ function oO(g, A, e) {
29235
29244
  step: function(l) {
29236
29245
  s && s(t, I);
29237
29246
  for (var h = [], u = t.length, D = 0; D < I.length; D++) {
29238
- var y = I[D];
29239
- if (!y.ignoreForceLayout) {
29240
- var M = y.n1, f = y.n2;
29241
- Ot(h, f.p, M.p);
29242
- var v = kB(h) - y.d, w = f.w / (M.w + f.w);
29243
- isNaN(w) && (w = 0), MC(h, h), !M.fixed && jC(M.p, M.p, h, w * v * E), !f.fixed && jC(f.p, f.p, h, -(1 - w) * v * E);
29247
+ var d = I[D];
29248
+ if (!d.ignoreForceLayout) {
29249
+ var v = d.n1, f = d.n2;
29250
+ Ot(h, f.p, v.p);
29251
+ var M = kB(h) - d.d, w = f.w / (v.w + f.w);
29252
+ isNaN(w) && (w = 0), MC(h, h), !v.fixed && jC(v.p, v.p, h, w * M * E), !f.fixed && jC(f.p, f.p, h, -(1 - w) * M * E);
29244
29253
  }
29245
29254
  }
29246
29255
  for (var D = 0; D < u; D++) {
29247
- var d = t[D];
29248
- d.fixed || (Ot(h, Q, d.p), jC(d.p, d.p, h, r * E));
29256
+ var y = t[D];
29257
+ y.fixed || (Ot(h, Q, y.p), jC(y.p, y.p, h, r * E));
29249
29258
  }
29250
29259
  for (var D = 0; D < u; D++)
29251
- for (var M = t[D], p = D + 1; p < u; p++) {
29260
+ for (var v = t[D], p = D + 1; p < u; p++) {
29252
29261
  var f = t[p];
29253
- Ot(h, f.p, M.p);
29254
- var v = kB(h);
29255
- v === 0 && (Jy(h, Math.random() - 0.5, Math.random() - 0.5), v = 1);
29256
- var F = (M.rep + f.rep) / v / v;
29257
- !M.fixed && jC(M.pp, M.pp, h, F), !f.fixed && jC(f.pp, f.pp, h, -F);
29262
+ Ot(h, f.p, v.p);
29263
+ var M = kB(h);
29264
+ M === 0 && (Jy(h, Math.random() - 0.5, Math.random() - 0.5), M = 1);
29265
+ var F = (v.rep + f.rep) / M / M;
29266
+ !v.fixed && jC(v.pp, v.pp, h, F), !f.fixed && jC(f.pp, f.pp, h, -F);
29258
29267
  }
29259
29268
  for (var R = [], D = 0; D < u; D++) {
29260
- var d = t[D];
29261
- d.fixed || (Ot(R, d.p, d.pp), jC(d.p, d.p, R, E), Rg(d.pp, d.p));
29269
+ var y = t[D];
29270
+ y.fixed || (Ot(R, y.p, y.pp), jC(y.p, y.p, R, E), Rg(y.pp, y.p));
29262
29271
  }
29263
29272
  E = E * 0.992;
29264
29273
  var m = E < 0.01;
@@ -29273,44 +29282,44 @@ function nO(g) {
29273
29282
  if (A.get("layout") === "force") {
29274
29283
  var t = A.preservedPoints || {}, I = A.getGraph(), C = I.data, i = I.edgeData, B = A.getModel("force"), Q = B.get("initLayout");
29275
29284
  A.preservedPoints ? C.each(function(D) {
29276
- var y = C.getId(D);
29277
- C.setItemLayout(D, t[y] || [NaN, NaN]);
29285
+ var d = C.getId(D);
29286
+ C.setItemLayout(D, t[d] || [NaN, NaN]);
29278
29287
  }) : !Q || Q === "none" ? eF(A) : Q === "circular" && $h(A, "value");
29279
29288
  var r = C.getDataExtent("value"), o = i.getDataExtent("value"), n = B.get("repulsion"), a = B.get("edgeLength"), E = tA(n) ? n : [n, n], s = tA(a) ? a : [a, a];
29280
29289
  s = [s[1], s[0]];
29281
- var c = C.mapArray("value", function(D, y) {
29282
- var M = C.getItemLayout(y), f = YB(D, r, E);
29290
+ var c = C.mapArray("value", function(D, d) {
29291
+ var v = C.getItemLayout(d), f = YB(D, r, E);
29283
29292
  return isNaN(f) && (f = (E[0] + E[1]) / 2), {
29284
29293
  w: f,
29285
29294
  rep: f,
29286
- fixed: C.getItemModel(y).get("fixed"),
29287
- p: !M || isNaN(M[0]) || isNaN(M[1]) ? null : M
29295
+ fixed: C.getItemModel(d).get("fixed"),
29296
+ p: !v || isNaN(v[0]) || isNaN(v[1]) ? null : v
29288
29297
  };
29289
- }), l = i.mapArray("value", function(D, y) {
29290
- var M = I.getEdgeByIndex(y), f = YB(D, o, s);
29298
+ }), l = i.mapArray("value", function(D, d) {
29299
+ var v = I.getEdgeByIndex(d), f = YB(D, o, s);
29291
29300
  isNaN(f) && (f = (s[0] + s[1]) / 2);
29292
- var v = M.getModel(), w = ye(M.getModel().get(["lineStyle", "curveness"]), -jh(M, A, y, !0), 0);
29301
+ var M = v.getModel(), w = ye(v.getModel().get(["lineStyle", "curveness"]), -jh(v, A, d, !0), 0);
29293
29302
  return {
29294
- n1: c[M.node1.dataIndex],
29295
- n2: c[M.node2.dataIndex],
29303
+ n1: c[v.node1.dataIndex],
29304
+ n2: c[v.node2.dataIndex],
29296
29305
  d: f,
29297
29306
  curveness: w,
29298
- ignoreForceLayout: v.get("ignoreForceLayout")
29307
+ ignoreForceLayout: M.get("ignoreForceLayout")
29299
29308
  };
29300
29309
  }), h = e.getBoundingRect(), u = oO(c, l, {
29301
29310
  rect: h,
29302
29311
  gravity: B.get("gravity"),
29303
29312
  friction: B.get("friction")
29304
29313
  });
29305
- u.beforeStep(function(D, y) {
29306
- for (var M = 0, f = D.length; M < f; M++)
29307
- D[M].fixed && Rg(D[M].p, I.getNodeByIndex(M).getLayout());
29308
- }), u.afterStep(function(D, y, M) {
29309
- for (var f = 0, v = D.length; f < v; f++)
29314
+ u.beforeStep(function(D, d) {
29315
+ for (var v = 0, f = D.length; v < f; v++)
29316
+ D[v].fixed && Rg(D[v].p, I.getNodeByIndex(v).getLayout());
29317
+ }), u.afterStep(function(D, d, v) {
29318
+ for (var f = 0, M = D.length; f < M; f++)
29310
29319
  D[f].fixed || I.getNodeByIndex(f).setLayout(D[f].p), t[C.getId(f)] = D[f].p;
29311
- for (var f = 0, v = y.length; f < v; f++) {
29312
- var w = y[f], d = I.getEdgeByIndex(f), p = w.n1.p, F = w.n2.p, R = d.getLayout();
29313
- R = R ? R.slice() : [], R[0] = R[0] || [], R[1] = R[1] || [], Rg(R[0], p), Rg(R[1], F), +w.curveness && (R[2] = [(p[0] + F[0]) / 2 - (p[1] - F[1]) * w.curveness, (p[1] + F[1]) / 2 - (F[0] - p[0]) * w.curveness]), d.setLayout(R);
29320
+ for (var f = 0, M = d.length; f < M; f++) {
29321
+ var w = d[f], y = I.getEdgeByIndex(f), p = w.n1.p, F = w.n2.p, R = y.getLayout();
29322
+ R = R ? R.slice() : [], R[0] = R[0] || [], R[1] = R[1] || [], Rg(R[0], p), Rg(R[1], F), +w.curveness && (R[2] = [(p[0] + F[0]) / 2 - (p[1] - F[1]) * w.curveness, (p[1] + F[1]) / 2 - (F[0] - p[0]) * w.curveness]), y.setLayout(R);
29314
29323
  }
29315
29324
  }), A.forceLayout = u, A.preservedPoints = t, u.step();
29316
29325
  } else
@@ -29434,41 +29443,41 @@ var sO = (
29434
29443
  var s = e.forceLayout, c = e.get(["force", "layoutAnimation"]);
29435
29444
  s && (B = !0, this._startForceLayoutIteration(s, I, c));
29436
29445
  var l = e.get("layout");
29437
- a.graph.eachNode(function(y) {
29438
- var M = y.dataIndex, f = y.getGraphicEl(), v = y.getModel();
29446
+ a.graph.eachNode(function(d) {
29447
+ var v = d.dataIndex, f = d.getGraphicEl(), M = d.getModel();
29439
29448
  if (f) {
29440
29449
  f.off("drag").off("dragend");
29441
- var w = v.get("draggable");
29450
+ var w = M.get("draggable");
29442
29451
  w && f.on("drag", function(p) {
29443
29452
  switch (l) {
29444
29453
  case "force":
29445
- s.warmUp(), !C._layouting && C._startForceLayoutIteration(s, I, c), s.setFixed(M), a.setItemLayout(M, [f.x, f.y]);
29454
+ s.warmUp(), !C._layouting && C._startForceLayoutIteration(s, I, c), s.setFixed(v), a.setItemLayout(v, [f.x, f.y]);
29446
29455
  break;
29447
29456
  case "circular":
29448
- a.setItemLayout(M, [f.x, f.y]), y.setLayout({
29457
+ a.setItemLayout(v, [f.x, f.y]), d.setLayout({
29449
29458
  fixed: !0
29450
- }, !0), $h(e, "symbolSize", y, [p.offsetX, p.offsetY]), C.updateLayout(e);
29459
+ }, !0), $h(e, "symbolSize", d, [p.offsetX, p.offsetY]), C.updateLayout(e);
29451
29460
  break;
29452
29461
  default:
29453
- a.setItemLayout(M, [f.x, f.y]), zh(e.getGraph(), e), C.updateLayout(e);
29462
+ a.setItemLayout(v, [f.x, f.y]), zh(e.getGraph(), e), C.updateLayout(e);
29454
29463
  break;
29455
29464
  }
29456
29465
  }).on("dragend", function() {
29457
- s && s.setUnfixed(M);
29458
- }), f.setDraggable(w, !!v.get("cursor"));
29459
- var d = v.get(["emphasis", "focus"]);
29460
- d === "adjacency" && (SA(f).focus = y.getAdjacentDataIndices());
29466
+ s && s.setUnfixed(v);
29467
+ }), f.setDraggable(w, !!M.get("cursor"));
29468
+ var y = M.get(["emphasis", "focus"]);
29469
+ y === "adjacency" && (SA(f).focus = d.getAdjacentDataIndices());
29461
29470
  }
29462
- }), a.graph.eachEdge(function(y) {
29463
- var M = y.getGraphicEl(), f = y.getModel().get(["emphasis", "focus"]);
29464
- M && f === "adjacency" && (SA(M).focus = {
29465
- edge: [y.dataIndex],
29466
- node: [y.node1.dataIndex, y.node2.dataIndex]
29471
+ }), a.graph.eachEdge(function(d) {
29472
+ var v = d.getGraphicEl(), f = d.getModel().get(["emphasis", "focus"]);
29473
+ v && f === "adjacency" && (SA(v).focus = {
29474
+ edge: [d.dataIndex],
29475
+ node: [d.node1.dataIndex, d.node2.dataIndex]
29467
29476
  });
29468
29477
  });
29469
29478
  var h = e.get("layout") === "circular" && e.get(["circular", "rotateLabel"]), u = a.getLayout("cx"), D = a.getLayout("cy");
29470
- a.graph.eachNode(function(y) {
29471
- tF(y, h, u, D);
29479
+ a.graph.eachNode(function(d) {
29480
+ tF(d, h, u, D);
29472
29481
  }), this._firstRender = !1, B || this._renderThumbnail(e, I, this._symbolDraw, this._lineDraw);
29473
29482
  }, A.prototype.dispose = function() {
29474
29483
  this.remove(), this._controller && this._controller.dispose(), this._controllerHost = null;
@@ -29552,15 +29561,15 @@ var sO = (
29552
29561
  height: s.scaleY,
29553
29562
  x: c - s.scaleX / 2,
29554
29563
  y: l - s.scaleY / 2
29555
- }), D = vA(s.style), y = new s.constructor({
29564
+ }), D = vA(s.style), d = new s.constructor({
29556
29565
  shape: u,
29557
29566
  style: D,
29558
29567
  z2: 151
29559
29568
  });
29560
- n.add(y);
29569
+ n.add(d);
29561
29570
  }
29562
29571
  for (var a = 0; a < r.length; a++) {
29563
- var E = r[a], M = E.children()[0], D = vA(M.style), u = vA(M.shape), f = new YM({
29572
+ var E = r[a], v = E.children()[0], D = vA(v.style), u = vA(v.shape), f = new YM({
29564
29573
  style: D,
29565
29574
  shape: u,
29566
29575
  z2: 151
@@ -30052,19 +30061,19 @@ var kE = (function(g) {
30052
30061
  var D = new wA(0, 0, 0, 0);
30053
30062
  D.copy(u), i.push(D);
30054
30063
  } else {
30055
- for (var y = !1, M = 1 / 0, f = 0, v = 0; v < i.length; ++v) {
30056
- var w = i[v];
30064
+ for (var d = !1, v = 1 / 0, f = 0, M = 0; M < i.length; ++M) {
30065
+ var w = i[M];
30057
30066
  if (w.intersect(u)) {
30058
- var d = new wA(0, 0, 0, 0);
30059
- d.copy(w), d.union(u), i[v] = d, y = !0;
30067
+ var y = new wA(0, 0, 0, 0);
30068
+ y.copy(w), y.union(u), i[M] = y, d = !0;
30060
30069
  break;
30061
30070
  } else if (Q) {
30062
30071
  r.copy(u), r.union(w);
30063
30072
  var p = u.width * u.height, F = w.width * w.height, R = r.width * r.height, m = R - p - F;
30064
- m < M && (M = m, f = v);
30073
+ m < v && (v = m, f = M);
30065
30074
  }
30066
30075
  }
30067
- if (Q && (i[f].union(u), y = !0), !y) {
30076
+ if (Q && (i[f].union(u), d = !0), !d) {
30068
30077
  var D = new wA(0, 0, 0, 0);
30069
30078
  D.copy(u), i.push(D);
30070
30079
  }
@@ -30116,8 +30125,8 @@ var kE = (function(g) {
30116
30125
  if (i.clearRect(c, l, h, u), t && t !== "transparent") {
30117
30126
  var D = void 0;
30118
30127
  if (nQ(t)) {
30119
- var y = t.global || t.__width === h && t.__height === u;
30120
- D = y && t.__canvasGradient || bs(i, t, {
30128
+ var d = t.global || t.__width === h && t.__height === u;
30129
+ D = d && t.__canvasGradient || bs(i, t, {
30121
30130
  x: 0,
30122
30131
  y: 0,
30123
30132
  width: h,
@@ -30241,15 +30250,15 @@ var dO = (function() {
30241
30250
  r.__builtin__ && r !== this._hoverlayer && (r.__dirty || t) && C.push(r);
30242
30251
  }
30243
30252
  for (var o = !0, n = !1, a = function(c) {
30244
- var l = C[c], h = l.ctx, u = i && l.createRepaintRects(A, e, E._width, E._height), D = t ? l.__startIndex : l.__drawIndex, y = !t && l.incremental && Date.now, M = y && Date.now(), f = l.zlevel === E._zlevelList[0] ? E._backgroundColor : null;
30253
+ var l = C[c], h = l.ctx, u = i && l.createRepaintRects(A, e, E._width, E._height), D = t ? l.__startIndex : l.__drawIndex, d = !t && l.incremental && Date.now, v = d && Date.now(), f = l.zlevel === E._zlevelList[0] ? E._backgroundColor : null;
30245
30254
  if (l.__startIndex === l.__endIndex)
30246
30255
  l.clear(!1, f, u);
30247
30256
  else if (D === l.__startIndex) {
30248
- var v = A[D];
30249
- (!v.incremental || !v.notClear || t) && l.clear(!1, f, u);
30257
+ var M = A[D];
30258
+ (!M.incremental || !M.notClear || t) && l.clear(!1, f, u);
30250
30259
  }
30251
30260
  D === -1 && (console.error("For some unknown reason. drawIndex is -1"), D = l.__startIndex);
30252
- var w, d = function(m) {
30261
+ var w, y = function(m) {
30253
30262
  var L = {
30254
30263
  inHover: !1,
30255
30264
  allClipped: !1,
@@ -30259,8 +30268,8 @@ var dO = (function() {
30259
30268
  };
30260
30269
  for (w = D; w < l.__endIndex; w++) {
30261
30270
  var Y = A[w];
30262
- if (Y.__inHover && (n = !0), I._doPaintEl(Y, l, i, m, L, w === l.__endIndex - 1), y) {
30263
- var H = Date.now() - M;
30271
+ if (Y.__inHover && (n = !0), I._doPaintEl(Y, l, i, m, L, w === l.__endIndex - 1), d) {
30272
+ var H = Date.now() - v;
30264
30273
  if (H > 15)
30265
30274
  break;
30266
30275
  }
@@ -30273,10 +30282,10 @@ var dO = (function() {
30273
30282
  else
30274
30283
  for (var p = E.dpr, F = 0; F < u.length; ++F) {
30275
30284
  var R = u[F];
30276
- h.save(), h.beginPath(), h.rect(R.x * p, R.y * p, R.width * p, R.height * p), h.clip(), d(R), h.restore();
30285
+ h.save(), h.beginPath(), h.rect(R.x * p, R.y * p, R.width * p, R.height * p), h.clip(), y(R), h.restore();
30277
30286
  }
30278
30287
  else
30279
- h.save(), d(), h.restore();
30288
+ h.save(), y(), h.restore();
30280
30289
  l.__drawIndex = w, l.__drawIndex < l.__endIndex && (o = !1);
30281
30290
  }, E = this, s = 0; s < C.length; s++)
30282
30291
  a(s);
@@ -31520,12 +31529,12 @@ var t4 = (() => {
31520
31529
  }), E = (G) => fetch(G, { credentials: "same-origin" }).then((K) => K.ok ? K.arrayBuffer() : Promise.reject(Error(K.status + " : " + K.url))));
31521
31530
  var c = t.print || console.log.bind(console), l = t.printErr || console.error.bind(console);
31522
31531
  Object.assign(t, o), o = null, t.thisProgram && (n = t.thisProgram);
31523
- var h = t.wasmBinary, u, D = !1, y, M, f, v, w;
31524
- function d() {
31532
+ var h = t.wasmBinary, u, D = !1, d, v, f, M, w;
31533
+ function y() {
31525
31534
  var G = u.buffer;
31526
- t.HEAP8 = M = new Int8Array(G), t.HEAP16 = new Int16Array(G), t.HEAPU8 = f = new Uint8Array(G), t.HEAPU16 = new Uint16Array(G), t.HEAP32 = v = new Int32Array(G), t.HEAPU32 = w = new Uint32Array(G), t.HEAPF32 = new Float32Array(G), t.HEAPF64 = new Float64Array(G);
31535
+ t.HEAP8 = v = new Int8Array(G), t.HEAP16 = new Int16Array(G), t.HEAPU8 = f = new Uint8Array(G), t.HEAPU16 = new Uint16Array(G), t.HEAP32 = M = new Int32Array(G), t.HEAPU32 = w = new Uint32Array(G), t.HEAPF32 = new Float32Array(G), t.HEAPF64 = new Float64Array(G);
31527
31536
  }
31528
- t.wasmMemory ? u = t.wasmMemory : u = new WebAssembly.Memory({ initial: (t.INITIAL_MEMORY || 16777216) / 65536, maximum: 32768 }), d();
31537
+ t.wasmMemory ? u = t.wasmMemory : u = new WebAssembly.Memory({ initial: (t.INITIAL_MEMORY || 16777216) / 65536, maximum: 32768 }), y();
31529
31538
  var p = [], F = [], R = [];
31530
31539
  function m() {
31531
31540
  var G = t.preRun.shift();
@@ -31533,7 +31542,7 @@ var t4 = (() => {
31533
31542
  }
31534
31543
  var L = 0, Y = null;
31535
31544
  function H(G) {
31536
- throw t.onAbort?.(G), G = "Aborted(" + G + ")", l(G), D = !0, y = 1, G = new WebAssembly.RuntimeError(G + ". Build with -sASSERTIONS for more info."), C(G), G;
31545
+ throw t.onAbort?.(G), G = "Aborted(" + G + ")", l(G), D = !0, d = 1, G = new WebAssembly.RuntimeError(G + ". Build with -sASSERTIONS for more info."), C(G), G;
31537
31546
  }
31538
31547
  var V = (G) => G.startsWith("data:application/octet-stream;base64,"), x;
31539
31548
  function O(G) {
@@ -31579,11 +31588,11 @@ var t4 = (() => {
31579
31588
  }, q = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335], S = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], N = {}, U = (G) => {
31580
31589
  if (!(G instanceof iA || G == "unwind")) throw G;
31581
31590
  }, b = 0, T = (G) => {
31582
- throw y = G, MA || 0 < b || (t.onExit?.(G), D = !0), new iA(G);
31591
+ throw d = G, MA || 0 < b || (t.onExit?.(G), D = !0), new iA(G);
31583
31592
  }, P = (G) => {
31584
31593
  if (!D) try {
31585
31594
  if (G(), !(MA || 0 < b)) try {
31586
- y = G = y, T(G);
31595
+ d = G = d, T(G);
31587
31596
  } catch (K) {
31588
31597
  U(K);
31589
31598
  }
@@ -31658,7 +31667,7 @@ var t4 = (() => {
31658
31667
  return Cg;
31659
31668
  }, array: (GA) => {
31660
31669
  var Cg = kt(GA.length);
31661
- return M.set(GA, Cg), Cg;
31670
+ return v.set(GA, Cg), Cg;
31662
31671
  } };
31663
31672
  G = t["_" + G];
31664
31673
  var J = [], Z = 0;
@@ -31676,9 +31685,9 @@ var t4 = (() => {
31676
31685
  }, n: () => {
31677
31686
  MA = !1, b = 0;
31678
31687
  }, j: function(G, K, _) {
31679
- G = new Date(1e3 * (K + 2097152 >>> 0 < 4194305 - !!G ? (G >>> 0) + 4294967296 * K : NaN)), v[_ >> 2] = G.getSeconds(), v[_ + 4 >> 2] = G.getMinutes(), v[_ + 8 >> 2] = G.getHours(), v[_ + 12 >> 2] = G.getDate(), v[_ + 16 >> 2] = G.getMonth(), v[_ + 20 >> 2] = G.getFullYear() - 1900, v[_ + 24 >> 2] = G.getDay(), K = G.getFullYear(), v[_ + 28 >> 2] = (K % 4 !== 0 || K % 100 === 0 && K % 400 !== 0 ? S : q)[G.getMonth()] + G.getDate() - 1 | 0, v[_ + 36 >> 2] = -(60 * G.getTimezoneOffset()), K = new Date(G.getFullYear(), 6, 1).getTimezoneOffset();
31688
+ G = new Date(1e3 * (K + 2097152 >>> 0 < 4194305 - !!G ? (G >>> 0) + 4294967296 * K : NaN)), M[_ >> 2] = G.getSeconds(), M[_ + 4 >> 2] = G.getMinutes(), M[_ + 8 >> 2] = G.getHours(), M[_ + 12 >> 2] = G.getDate(), M[_ + 16 >> 2] = G.getMonth(), M[_ + 20 >> 2] = G.getFullYear() - 1900, M[_ + 24 >> 2] = G.getDay(), K = G.getFullYear(), M[_ + 28 >> 2] = (K % 4 !== 0 || K % 100 === 0 && K % 400 !== 0 ? S : q)[G.getMonth()] + G.getDate() - 1 | 0, M[_ + 36 >> 2] = -(60 * G.getTimezoneOffset()), K = new Date(G.getFullYear(), 6, 1).getTimezoneOffset();
31680
31689
  var j = new Date(G.getFullYear(), 0, 1).getTimezoneOffset();
31681
- v[_ + 32 >> 2] = (K != j && G.getTimezoneOffset() == Math.min(j, K)) | 0;
31690
+ M[_ + 32 >> 2] = (K != j && G.getTimezoneOffset() == Math.min(j, K)) | 0;
31682
31691
  }, l: (G, K) => {
31683
31692
  if (N[G] && (clearTimeout(N[G].id), delete N[G]), !K) return 0;
31684
31693
  var _ = setTimeout(() => {
@@ -31687,7 +31696,7 @@ var t4 = (() => {
31687
31696
  return N[G] = { id: _, Na: K }, 0;
31688
31697
  }, o: (G, K, _, j) => {
31689
31698
  var aA = (/* @__PURE__ */ new Date()).getFullYear(), J = new Date(aA, 0, 1).getTimezoneOffset();
31690
- aA = new Date(aA, 6, 1).getTimezoneOffset(), w[G >> 2] = 60 * Math.max(J, aA), v[K >> 2] = +(J != aA), K = (Z) => {
31699
+ aA = new Date(aA, 6, 1).getTimezoneOffset(), w[G >> 2] = 60 * Math.max(J, aA), M[K >> 2] = +(J != aA), K = (Z) => {
31691
31700
  var BA = Math.abs(Z);
31692
31701
  return `UTC${0 <= Z ? "-" : "+"}${String(Math.floor(BA / 60)).padStart(2, "0")}${String(BA % 60).padStart(2, "0")}`;
31693
31702
  }, G = K(J), K = K(aA), aA < J ? (pA(G, _, 17), pA(
@@ -31704,7 +31713,7 @@ var t4 = (() => {
31704
31713
  A: {
31705
31714
  j = (Math.min(2147483648, 65536 * Math.ceil(Math.max(G, j) / 65536)) - u.buffer.byteLength + 65535) / 65536;
31706
31715
  try {
31707
- u.grow(j), d();
31716
+ u.grow(j), y();
31708
31717
  var aA = 1;
31709
31718
  break A;
31710
31719
  } catch {
@@ -31718,8 +31727,8 @@ var t4 = (() => {
31718
31727
  var _ = 0;
31719
31728
  return yA().forEach((j, aA) => {
31720
31729
  var J = K + _;
31721
- for (aA = w[G + 4 * aA >> 2] = J, J = 0; J < j.length; ++J) M[aA++] = j.charCodeAt(J);
31722
- M[aA] = 0, _ += j.length + 1;
31730
+ for (aA = w[G + 4 * aA >> 2] = J, J = 0; J < j.length; ++J) v[aA++] = j.charCodeAt(J);
31731
+ v[aA] = 0, _ += j.length + 1;
31723
31732
  }), 0;
31724
31733
  }, g: (G, K) => {
31725
31734
  var _ = yA();