@idmwx/idmui-gl3 4.9.8 → 4.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -883,8 +883,8 @@ class C0 {
883
883
  const W = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
884
884
  b.uniform2f(W, t.uvRange[0], t.uvRange[1]), b.uniform2f(m, t.sRange[0], t.sRange[1]);
885
885
  }
886
- const d = M.getBoundPixel(), B = M.map.getZoom() + 1, L = M.getWorldCopy(d, B);
887
- for (const W of L) {
886
+ const d = M.getBoundPixel(), B = M.map.getZoom() + 1, R = M.getWorldCopy(d, B);
887
+ for (const W of R) {
888
888
  const m = (W[0] - d[0]) * M.ratio, h = (W[1] - d[3]) * M.ratio, X = W[2] * M.ratio, [E, y, H, U] = [m, X + m, h, X + h], Y = new Float32Array([E, H, y, H, E, U, E, U, y, H, y, U]);
889
889
  b.bindBuffer(b.ARRAY_BUFFER, A), b.bufferData(b.ARRAY_BUFFER, Y, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
890
890
  }
@@ -3933,11 +3933,11 @@ const a2 = {
3933
3933
  var n, s;
3934
3934
  return ((n = a.geometry) == null ? void 0 : n.type) === "LineString" && ((s = a.properties) == null ? void 0 : s.type) === "forecast";
3935
3935
  })[0]) == null || r.properties.model, q.forEach((a, n) => {
3936
- var s, d, B, L, W, m;
3937
- ((s = a.geometry) == null ? void 0 : s.type) === "Point" && ((d = a.properties) == null ? void 0 : d.type) === "history" && (A = n, t = t === void 0 ? n : t), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((L = a.properties) == null ? void 0 : L.type) === "forecast" && t === void 0 && (t = n), ((W = a.geometry) == null ? void 0 : W.type) === "LineString" && ((m = a.properties) == null || m.type);
3936
+ var s, d, B, R, W, m;
3937
+ ((s = a.geometry) == null ? void 0 : s.type) === "Point" && ((d = a.properties) == null ? void 0 : d.type) === "history" && (A = n, t = t === void 0 ? n : t), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && t === void 0 && (t = n), ((W = a.geometry) == null ? void 0 : W.type) === "LineString" && ((m = a.properties) == null || m.type);
3938
3938
  }), q.map((a, n) => {
3939
- var s, d, B, L, W, m, h;
3940
- if (((s = a.geometry) == null ? void 0 : s.type) === "LineString" && ((d = a.properties) == null || d.type), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((L = a.properties) == null ? void 0 : L.type) === "forecast" && (a.properties.name = o, a.properties.format = M0(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((W = a.geometry) == null ? void 0 : W.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3939
+ var s, d, B, R, W, m, h;
3940
+ if (((s = a.geometry) == null ? void 0 : s.type) === "LineString" && ((d = a.properties) == null || d.type), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && (a.properties.name = o, a.properties.format = M0(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((W = a.geometry) == null ? void 0 : W.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3941
3941
  a.properties.format = M0(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3942
3942
  const X = M0((h = a.properties) == null ? void 0 : h.date).utc().format("HHmm") === M0().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3943
3943
  a.properties.showHistoryLabel = X || n === A, a.properties.showNameLabel = n === A, a.properties.name = o;
@@ -4212,7 +4212,7 @@ const a2 = {
4212
4212
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (z = this.interpolateMarkers) == null || z.forEach((M) => M == null ? void 0 : M.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
4213
4213
  },
4214
4214
  handleDateChange() {
4215
- var z, M, b, O, p, o, A, t, q, r, a, n, s, d, B, L, W, m, h, X, E, y, H, U, Y, R, N, A0, n0, R0, i0, f0, p0, h0, m0, u0;
4215
+ var z, M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, Y, L, N, A0, n0, R0, i0, f0, p0, h0, m0, u0;
4216
4216
  if ((z = this.interpolateMarkers) == null || z.forEach((r0) => r0 == null ? void 0 : r0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4217
4217
  const r0 = M0(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), d0 = this.interpolateData.filter((P) => P.properties.date === r0.format() && !P.properties.disabled), B0 = this.handleComputePolygons(d0), s0 = v.featureCollection([...d0]);
4218
4218
  B0.forEach((P) => {
@@ -4234,7 +4234,7 @@ const a2 = {
4234
4234
  for (const P of d0)
4235
4235
  if (!P.properties.disabled) {
4236
4236
  let b0 = "#f44336";
4237
- ((t = (A = P.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = P.properties) == null ? void 0 : q.wind) != null && r.spd) ? b0 = "#03f869" : ((n = (a = P.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (s = P.properties) == null ? void 0 : s.wind) == null ? void 0 : d.spd) < 24.5 ? b0 = "#f2f202" : ((L = (B = P.properties) == null ? void 0 : B.wind) == null ? void 0 : L.spd) >= 24.5 && ((m = (W = P.properties) == null ? void 0 : W.wind) == null ? void 0 : m.spd) < 32.7 ? b0 = "#ff9100" : ((X = (h = P.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = P.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? b0 = "#f44336" : ((U = (H = P.properties) == null ? void 0 : H.wind) == null ? void 0 : U.spd) >= 41.5 && ((R = (Y = P.properties) == null ? void 0 : Y.wind) == null ? void 0 : R.spd) < 51 ? b0 = "#f903d0" : ((A0 = (N = P.properties) == null ? void 0 : N.wind) == null ? void 0 : A0.spd) >= 51 ? b0 = "#8702f9" : b0 = "#f44336";
4237
+ ((t = (A = P.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = P.properties) == null ? void 0 : q.wind) != null && r.spd) ? b0 = "#03f869" : ((n = (a = P.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (s = P.properties) == null ? void 0 : s.wind) == null ? void 0 : d.spd) < 24.5 ? b0 = "#f2f202" : ((R = (B = P.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((m = (W = P.properties) == null ? void 0 : W.wind) == null ? void 0 : m.spd) < 32.7 ? b0 = "#ff9100" : ((X = (h = P.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = P.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? b0 = "#f44336" : ((U = (H = P.properties) == null ? void 0 : H.wind) == null ? void 0 : U.spd) >= 41.5 && ((L = (Y = P.properties) == null ? void 0 : Y.wind) == null ? void 0 : L.spd) < 51 ? b0 = "#f903d0" : ((A0 = (N = P.properties) == null ? void 0 : N.wind) == null ? void 0 : A0.spd) >= 51 ? b0 = "#8702f9" : b0 = "#f44336";
4238
4238
  const t0 = `<svg t="1719918955501"
4239
4239
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
4240
4240
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -4276,8 +4276,8 @@ const a2 = {
4276
4276
  }
4277
4277
  );
4278
4278
  b.sort((d, B) => {
4279
- var L, W, m, h;
4280
- return ((L = d.properties) == null ? void 0 : L.model) === "cma" ? -1 : ((W = d.properties) == null ? void 0 : W.model) === "jma" ? ((m = B.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((h = B.properties) == null ? void 0 : h.model) ? 1 : -1 : 0;
4279
+ var R, W, m, h;
4280
+ return ((R = d.properties) == null ? void 0 : R.model) === "cma" ? -1 : ((W = d.properties) == null ? void 0 : W.model) === "jma" ? ((m = B.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((h = B.properties) == null ? void 0 : h.model) ? 1 : -1 : 0;
4281
4281
  });
4282
4282
  const O = (q = (t = this.tropicals) == null ? void 0 : t.data) == null ? void 0 : q.features.filter(
4283
4283
  (d) => {
@@ -4394,7 +4394,7 @@ const a2 = {
4394
4394
  style: { "justify-content": "flex-start" }
4395
4395
  }, h2 = { class: "forecast-models" }, m2 = ["onClick"], B2 = { class: "more" };
4396
4396
  function g2(z, M, b, O, p, o) {
4397
- var A, t, q, r, a, n, s, d, B, L, W, m, h, X, E;
4397
+ var A, t, q, r, a, n, s, d, B, R, W, m, h, X, E;
4398
4398
  return X0((l(), f("div", q2, [
4399
4399
  c("div", i2, [
4400
4400
  c("div", {
@@ -4405,7 +4405,7 @@ function g2(z, M, b, O, p, o) {
4405
4405
  (t = (A = p.activeTropicals) == null ? void 0 : A.history) != null && t.level ? (l(), f("span", n2, T((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : _("", !0),
4406
4406
  $(T((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4407
4407
  ]),
4408
- c("div", d2, " Last update: " + T(o.computeTime(((s = (n = p.activeTropicals) == null ? void 0 : n.history) == null ? void 0 : s.updated) || ((L = (B = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : B.filter((y) => !y.disabled)[0]) == null ? void 0 : L.date))), 1)
4408
+ c("div", d2, " Last update: " + T(o.computeTime(((s = (n = p.activeTropicals) == null ? void 0 : n.history) == null ? void 0 : s.updated) || ((R = (B = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : B.filter((y) => !y.disabled)[0]) == null ? void 0 : R.date))), 1)
4409
4409
  ]),
4410
4410
  c("div", s2, [
4411
4411
  c("div", W2, [
@@ -4424,13 +4424,13 @@ function g2(z, M, b, O, p, o) {
4424
4424
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4425
4425
  c("div", h2, [
4426
4426
  (l(!0), f(j, null, G((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, H) => {
4427
- var U, Y, R, N;
4427
+ var U, Y, L, N;
4428
4428
  return l(), f("div", {
4429
4429
  key: H,
4430
4430
  class: J([
4431
4431
  "model",
4432
4432
  y.disabled ? "" : "active",
4433
- H > 0 && H < ((Y = (U = p.activeTropicals) == null ? void 0 : U.forecasts) == null ? void 0 : Y.length) - 1 && ((N = (R = p.activeTropicals) == null ? void 0 : R.forecasts) == null ? void 0 : N.length) > 2 ? "center-child" : ""
4433
+ H > 0 && H < ((Y = (U = p.activeTropicals) == null ? void 0 : U.forecasts) == null ? void 0 : Y.length) - 1 && ((N = (L = p.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : N.length) > 2 ? "center-child" : ""
4434
4434
  ]),
4435
4435
  onClick: (A0) => o.handleForecastToggle(y)
4436
4436
  }, [
@@ -5097,7 +5097,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5097
5097
  for (var i = 0; i < e.length; i++)
5098
5098
  e[i] = d(e[i]);
5099
5099
  }
5100
- function L(e, i) {
5100
+ function R(e, i) {
5101
5101
  for (var u = 0; u < i; u++)
5102
5102
  e[u] = Math.round((e[u - 1] || 0) + e[u] * 6e4);
5103
5103
  e[i - 1] = 1 / 0;
@@ -5110,7 +5110,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5110
5110
  }
5111
5111
  function m(e) {
5112
5112
  var i = e.split("|"), u = i[2].split(" "), g = i[3].split(""), w = i[4].split(" ");
5113
- return B(u), B(g), B(w), L(w, g.length), {
5113
+ return B(u), B(g), B(w), R(w, g.length), {
5114
5114
  name: i[0],
5115
5115
  abbrs: W(i[1].split(" "), g),
5116
5116
  offsets: W(u, g),
@@ -5191,7 +5191,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5191
5191
  g.push(new y(new Date(e + S, 0, 1))), g.push(new y(new Date(e + S, 6, 1)));
5192
5192
  return g;
5193
5193
  }
5194
- function R(e, i) {
5194
+ function L(e, i) {
5195
5195
  return e.offsetScore !== i.offsetScore ? e.offsetScore - i.offsetScore : e.abbrScore !== i.abbrScore ? e.abbrScore - i.abbrScore : e.zone.population !== i.zone.population ? i.zone.population - e.zone.population : i.zone.name.localeCompare(e.zone.name);
5196
5196
  }
5197
5197
  function N(e, i) {
@@ -5229,7 +5229,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5229
5229
  V.scoreOffsetAt(u[F]);
5230
5230
  D.push(V);
5231
5231
  }
5232
- return D.sort(R), D.length > 0 ? D[0].zone.name : void 0;
5232
+ return D.sort(L), D.length > 0 ? D[0].zone.name : void 0;
5233
5233
  }
5234
5234
  function R0(e) {
5235
5235
  return (!q || e) && (q = n0()), q;
@@ -6359,7 +6359,7 @@ const cM = {
6359
6359
  initTableData(z) {
6360
6360
  var M, b, O, p, o, A, t;
6361
6361
  this.clearTable(), this.positionGmt = (b = (M = z == null ? void 0 : z.weather) == null ? void 0 : M[0]) == null ? void 0 : b.timezone, this.positionOffset = (p = (O = z == null ? void 0 : z.weather) == null ? void 0 : O[0]) == null ? void 0 : p.offset, this.localDate = (A = (o = v0(this.ts)) == null ? void 0 : o.tz(this.positionGmt)) == null ? void 0 : A.format("MMM-DD/HHmm[LT]"), this.currentHourData = (t = x0.pickHourly(z, M0(this.ts))) == null ? void 0 : t[0], this.$nextTick(() => {
6362
- var r, a, n, s, d, B, L, W, m, h, X, E, y, H, U, Y, R, N, A0, n0, R0, i0, f0, p0, h0, m0, u0, r0, d0, B0, s0, P, b0, t0, I, z0, W0, l0, L0;
6362
+ var r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, Y, L, N, A0, n0, R0, i0, f0, p0, h0, m0, u0, r0, d0, B0, s0, P, b0, t0, I, z0, W0, l0, L0;
6363
6363
  const q = document.getElementById("meteoMainBox");
6364
6364
  if (!q)
6365
6365
  return !1;
@@ -6374,8 +6374,8 @@ const cM = {
6374
6374
  for (let o0 = 0; o0 < 8; o0++) {
6375
6375
  const e = v0(this.ts).tz(this.positionGmt).add(3 * o0, "h").format();
6376
6376
  this.tableData.hours.push(e);
6377
- const i = ((L = x0.pickHourly(z, e)) == null ? void 0 : L[0]) || {};
6378
- this.tableData.temp.push(this.roundPrecision((W = i == null ? void 0 : i.weather) == null ? void 0 : W.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((h = (m = i == null ? void 0 : i.weather) == null ? void 0 : m.precip) == null ? void 0 : h.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((U = (H = i == null ? void 0 : i.weather) == null ? void 0 : H.wind) == null ? void 0 : U.kts, 1) ?? "-"), this.tableData.windDir.push((R = (Y = i == null ? void 0 : i.weather) == null ? void 0 : Y.wind) == null ? void 0 : R.bearing), this.tableData.windGust.push(this.roundPrecision((A0 = (N = i == null ? void 0 : i.weather) == null ? void 0 : N.wind) == null ? void 0 : A0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((R0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : R0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((f0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : f0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((h0 = (p0 = i == null ? void 0 : i.wave) == null ? void 0 : p0.wd) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.windwaveDir.push((u0 = (m0 = i == null ? void 0 : i.wave) == null ? void 0 : m0.wd) == null ? void 0 : u0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((d0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : d0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((s0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.swell) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.swellDir.push((b0 = (P = i == null ? void 0 : i.wave) == null ? void 0 : P.swell) == null ? void 0 : b0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((I = (t0 = i == null ? void 0 : i.wave) == null ? void 0 : t0.swell) == null ? void 0 : I.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((z0 = i == null ? void 0 : i.current) == null ? void 0 : z0.speed, 1) ?? "-"), this.tableData.currentDir.push((W0 = i == null ? void 0 : i.current) == null ? void 0 : W0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((l0 = i == null ? void 0 : i.weather) == null ? void 0 : l0.url), this.tableData.weatherNames.push(((L0 = i == null ? void 0 : i.weather) == null ? void 0 : L0.name) ?? "-");
6377
+ const i = ((R = x0.pickHourly(z, e)) == null ? void 0 : R[0]) || {};
6378
+ this.tableData.temp.push(this.roundPrecision((W = i == null ? void 0 : i.weather) == null ? void 0 : W.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((h = (m = i == null ? void 0 : i.weather) == null ? void 0 : m.precip) == null ? void 0 : h.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((U = (H = i == null ? void 0 : i.weather) == null ? void 0 : H.wind) == null ? void 0 : U.kts, 1) ?? "-"), this.tableData.windDir.push((L = (Y = i == null ? void 0 : i.weather) == null ? void 0 : Y.wind) == null ? void 0 : L.bearing), this.tableData.windGust.push(this.roundPrecision((A0 = (N = i == null ? void 0 : i.weather) == null ? void 0 : N.wind) == null ? void 0 : A0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((R0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : R0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((f0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : f0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((h0 = (p0 = i == null ? void 0 : i.wave) == null ? void 0 : p0.wd) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.windwaveDir.push((u0 = (m0 = i == null ? void 0 : i.wave) == null ? void 0 : m0.wd) == null ? void 0 : u0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((d0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : d0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((s0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.swell) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.swellDir.push((b0 = (P = i == null ? void 0 : i.wave) == null ? void 0 : P.swell) == null ? void 0 : b0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((I = (t0 = i == null ? void 0 : i.wave) == null ? void 0 : t0.swell) == null ? void 0 : I.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((z0 = i == null ? void 0 : i.current) == null ? void 0 : z0.speed, 1) ?? "-"), this.tableData.currentDir.push((W0 = i == null ? void 0 : i.current) == null ? void 0 : W0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((l0 = i == null ? void 0 : i.weather) == null ? void 0 : l0.url), this.tableData.weatherNames.push(((L0 = i == null ? void 0 : i.weather) == null ? void 0 : L0.name) ?? "-");
6379
6379
  }
6380
6380
  });
6381
6381
  },
@@ -6414,26 +6414,23 @@ const cM = {
6414
6414
  this.show ? ((z = this.map) == null || z.on("click", this.handleClick), this.map.getCanvas().style.cursor = "pointer") : ((M = this.map) == null || M.off("click", this.handleClick), this.showMeteo = !1);
6415
6415
  },
6416
6416
  handleClick(z) {
6417
- z.originalEvent.stopPropagation();
6418
- const M = z.originalEvent.target.className;
6419
- if (M.indexOf("close") > -1)
6420
- this.showMeteo = !1;
6421
- else if (M === "more")
6422
- this.$emit("meteoMore", this.point);
6423
- else if (M === "mapboxgl-canvas")
6417
+ if (z.originalEvent.stopPropagation(), z.originalEvent.target.className === "mapboxgl-canvas")
6424
6418
  this.point = z.lngLat;
6425
6419
  else
6426
6420
  return !1;
6427
6421
  },
6422
+ handleMeteoMore() {
6423
+ this.$emit("meteoMore", this.point);
6424
+ },
6425
+ handleCloseMeteo() {
6426
+ this.showMeteo = !1;
6427
+ },
6428
6428
  handleRender() {
6429
6429
  this.$nextTick(() => {
6430
6430
  var M;
6431
6431
  const z = document.getElementById("point-meteo");
6432
6432
  this.point && (this.meteoMarker ? (M = this.meteoMarker) == null || M.setLngLat([this.point.lng, this.point.lat]) : this.meteoMarker = new y0.Marker(z).setLngLat([this.point.lng, this.point.lat]).addTo(this.map));
6433
6433
  });
6434
- },
6435
- handleCloseMeteo() {
6436
- this.showMeteo = !1;
6437
6434
  }
6438
6435
  }
6439
6436
  }, AM = {
@@ -6452,7 +6449,7 @@ const cM = {
6452
6449
  class: "main-box flex-center"
6453
6450
  };
6454
6451
  function bb(z, M, b, O, p, o) {
6455
- var r, a, n, s, d, B, L, W, m, h, X, E, y, H, U, Y;
6452
+ var r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, Y;
6456
6453
  const A = x("LocationFilled"), t = x("ElIcon"), q = x("ElTooltip");
6457
6454
  return X0((l(), f("div", AM, [
6458
6455
  c("div", eM, [
@@ -6468,7 +6465,7 @@ function bb(z, M, b, O, p, o) {
6468
6465
  ]),
6469
6466
  c("div", {
6470
6467
  class: "iconfont close",
6471
- onClick: M[0] || (M[0] = (...R) => o.handleCloseMeteo && o.handleCloseMeteo(...R))
6468
+ onClick: M[0] || (M[0] = (...L) => o.handleCloseMeteo && o.handleCloseMeteo(...L))
6472
6469
  }, "")
6473
6470
  ]),
6474
6471
  p.loading ? (l(), f("div", Mb, M[30] || (M[30] = [
@@ -6483,9 +6480,9 @@ function bb(z, M, b, O, p, o) {
6483
6480
  "show-after": 1e3
6484
6481
  }, {
6485
6482
  default: e0(() => {
6486
- var R, N, A0, n0;
6483
+ var L, N, A0, n0;
6487
6484
  return [
6488
- (N = (R = p.currentHourData) == null ? void 0 : R.weather) != null && N.url ? (l(), f("img", {
6485
+ (N = (L = p.currentHourData) == null ? void 0 : L.weather) != null && N.url ? (l(), f("img", {
6489
6486
  key: 0,
6490
6487
  class: "iconfont icon",
6491
6488
  style: { "margin-right": "5px" },
@@ -6498,20 +6495,20 @@ function bb(z, M, b, O, p, o) {
6498
6495
  c("div", WM, [
6499
6496
  c("div", null, [
6500
6497
  $(T(o.roundPrecision((B = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.temp, 0)), 1),
6501
- M[4] || (M[4] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6498
+ M[5] || (M[5] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6502
6499
  ])
6503
6500
  ]),
6504
6501
  c("div", lM, [
6505
6502
  c("div", fM, [
6506
- M[5] || (M[5] = c("label", null, "Precip : ", -1)),
6507
- c("span", null, T(o.roundPrecision((m = (W = (L = p.currentHourData) == null ? void 0 : L.weather) == null ? void 0 : W.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6503
+ M[6] || (M[6] = c("label", null, "Precip : ", -1)),
6504
+ c("span", null, T(o.roundPrecision((m = (W = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : W.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6508
6505
  ]),
6509
6506
  c("div", uM, [
6510
- M[6] || (M[6] = c("label", null, "Visibility : ", -1)),
6507
+ M[7] || (M[7] = c("label", null, "Visibility : ", -1)),
6511
6508
  c("span", null, T(o.roundPrecision((X = (h = p.currentHourData) == null ? void 0 : h.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6512
6509
  ]),
6513
6510
  c("div", LM, [
6514
- M[7] || (M[7] = c("label", null, "Wind : ", -1)),
6511
+ M[8] || (M[8] = c("label", null, "Wind : ", -1)),
6515
6512
  c("span", null, T(o.roundPrecision((H = (y = (E = p.currentHourData) == null ? void 0 : E.weather) == null ? void 0 : y.wind) == null ? void 0 : H.kts, 1)) + " kts", 1)
6516
6513
  ])
6517
6514
  ])
@@ -6525,20 +6522,20 @@ function bb(z, M, b, O, p, o) {
6525
6522
  c("div", gM, [
6526
6523
  c("div", {
6527
6524
  class: J(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6528
- onClick: M[1] || (M[1] = E0((R) => o.handleSelectTab(1), ["prevent"]))
6525
+ onClick: M[1] || (M[1] = E0((L) => o.handleSelectTab(1), ["prevent"]))
6529
6526
  }, "Basis", 2),
6530
6527
  c("div", {
6531
6528
  class: J(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6532
- onClick: M[2] || (M[2] = E0((R) => o.handleSelectTab(2), ["prevent"]))
6529
+ onClick: M[2] || (M[2] = E0((L) => o.handleSelectTab(2), ["prevent"]))
6533
6530
  }, "Wave & Current", 2),
6534
6531
  c("div", {
6535
6532
  class: J(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6536
- onClick: M[3] || (M[3] = E0((R) => o.handleSelectTab(3), ["prevent"]))
6533
+ onClick: M[3] || (M[3] = E0((L) => o.handleSelectTab(3), ["prevent"]))
6537
6534
  }, "Sea Surface", 2)
6538
6535
  ]),
6539
6536
  X0(c("table", NM, [
6540
6537
  c("tr", yM, [
6541
- M[8] || (M[8] = c("th", {
6538
+ M[9] || (M[9] = c("th", {
6542
6539
  rowspan: "1",
6543
6540
  colspan: "1",
6544
6541
  class: "tr-title"
@@ -6546,14 +6543,14 @@ function bb(z, M, b, O, p, o) {
6546
6543
  $("Hours"),
6547
6544
  c("span", { class: "unit" }, "(LT)")
6548
6545
  ], -1)),
6549
- (l(!0), f(j, null, G(p.tableData.hours, (R) => (l(), f("th", {
6546
+ (l(!0), f(j, null, G(p.tableData.hours, (L) => (l(), f("th", {
6550
6547
  rowspan: "1",
6551
6548
  colspan: "1",
6552
- key: `HourL${R}`
6553
- }, T(o.computeHourL(R)), 1))), 128))
6549
+ key: `HourL${L}`
6550
+ }, T(o.computeHourL(L)), 1))), 128))
6554
6551
  ]),
6555
6552
  c("tr", XM, [
6556
- M[9] || (M[9] = c("th", {
6553
+ M[10] || (M[10] = c("th", {
6557
6554
  rowspan: "1",
6558
6555
  colspan: "1",
6559
6556
  class: "tr-title"
@@ -6561,22 +6558,22 @@ function bb(z, M, b, O, p, o) {
6561
6558
  $("UTC"),
6562
6559
  c("span", { class: "unit" })
6563
6560
  ], -1)),
6564
- (l(!0), f(j, null, G(p.tableData.hours, (R) => (l(), f("th", {
6561
+ (l(!0), f(j, null, G(p.tableData.hours, (L) => (l(), f("th", {
6565
6562
  rowspan: "1",
6566
6563
  colspan: "1",
6567
- key: `HourZ${R}`
6568
- }, T(o.computeHourZ(R)), 1))), 128))
6564
+ key: `HourZ${L}`
6565
+ }, T(o.computeHourZ(L)), 1))), 128))
6569
6566
  ]),
6570
6567
  c("tr", wM, [
6571
- M[10] || (M[10] = c("th", {
6568
+ M[11] || (M[11] = c("th", {
6572
6569
  rowspan: "1",
6573
6570
  colspan: "1",
6574
6571
  class: "tr-title"
6575
6572
  }, null, -1)),
6576
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6573
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6577
6574
  rowspan: "1",
6578
6575
  colspan: "1",
6579
- key: `weatherUrls${N}${R}`
6576
+ key: `weatherUrls${N}${L}`
6580
6577
  }, [
6581
6578
  C(q, {
6582
6579
  placement: "top",
@@ -6585,10 +6582,10 @@ function bb(z, M, b, O, p, o) {
6585
6582
  "show-after": 500
6586
6583
  }, {
6587
6584
  default: e0(() => [
6588
- R ? (l(), f("img", {
6585
+ L ? (l(), f("img", {
6589
6586
  key: 0,
6590
6587
  class: "iconfont weather-icon",
6591
- src: R
6588
+ src: L
6592
6589
  }, null, 8, CM)) : _("", !0)
6593
6590
  ]),
6594
6591
  _: 2
@@ -6596,7 +6593,7 @@ function bb(z, M, b, O, p, o) {
6596
6593
  ]))), 128))
6597
6594
  ]),
6598
6595
  c("tr", vM, [
6599
- M[11] || (M[11] = c("td", {
6596
+ M[12] || (M[12] = c("td", {
6600
6597
  rowspan: "1",
6601
6598
  colspan: "1",
6602
6599
  class: "tr-title"
@@ -6604,14 +6601,14 @@ function bb(z, M, b, O, p, o) {
6604
6601
  $("Temp"),
6605
6602
  c("span", { class: "unit" }, "°C")
6606
6603
  ], -1)),
6607
- (l(!0), f(j, null, G(p.tableData.temp, (R, N) => (l(), f("td", {
6604
+ (l(!0), f(j, null, G(p.tableData.temp, (L, N) => (l(), f("td", {
6608
6605
  rowspan: "1",
6609
6606
  colspan: "1",
6610
- key: `weatherUrls${N}${R}`
6611
- }, T(R), 1))), 128))
6607
+ key: `weatherUrls${N}${L}`
6608
+ }, T(L), 1))), 128))
6612
6609
  ]),
6613
6610
  c("tr", TM, [
6614
- M[12] || (M[12] = c("td", {
6611
+ M[13] || (M[13] = c("td", {
6615
6612
  rowspan: "1",
6616
6613
  colspan: "1",
6617
6614
  class: "tr-title"
@@ -6619,14 +6616,14 @@ function bb(z, M, b, O, p, o) {
6619
6616
  $("Precip"),
6620
6617
  c("span", { class: "unit" }, "mm")
6621
6618
  ], -1)),
6622
- (l(!0), f(j, null, G(p.tableData.precip1h, (R, N) => (l(), f("td", {
6619
+ (l(!0), f(j, null, G(p.tableData.precip1h, (L, N) => (l(), f("td", {
6623
6620
  rowspan: "1",
6624
6621
  colspan: "1",
6625
- key: `precip1h${N}${R}`
6626
- }, T(R), 1))), 128))
6622
+ key: `precip1h${N}${L}`
6623
+ }, T(L), 1))), 128))
6627
6624
  ]),
6628
6625
  c("tr", EM, [
6629
- M[13] || (M[13] = c("td", {
6626
+ M[14] || (M[14] = c("td", {
6630
6627
  rowspan: "1",
6631
6628
  colspan: "1",
6632
6629
  class: "tr-title"
@@ -6634,14 +6631,14 @@ function bb(z, M, b, O, p, o) {
6634
6631
  $("Visibility"),
6635
6632
  c("span", { class: "unit" }, "nm")
6636
6633
  ], -1)),
6637
- (l(!0), f(j, null, G(p.tableData.visibility, (R, N) => (l(), f("td", {
6634
+ (l(!0), f(j, null, G(p.tableData.visibility, (L, N) => (l(), f("td", {
6638
6635
  rowspan: "1",
6639
6636
  colspan: "1",
6640
- key: `visibility${N}${R}`
6641
- }, T(R), 1))), 128))
6637
+ key: `visibility${N}${L}`
6638
+ }, T(L), 1))), 128))
6642
6639
  ]),
6643
6640
  c("tr", xM, [
6644
- M[14] || (M[14] = c("td", {
6641
+ M[15] || (M[15] = c("td", {
6645
6642
  rowspan: "1",
6646
6643
  colspan: "1",
6647
6644
  class: "tr-title"
@@ -6649,17 +6646,17 @@ function bb(z, M, b, O, p, o) {
6649
6646
  $("Wind"),
6650
6647
  c("span", { class: "unit" }, "kts")
6651
6648
  ], -1)),
6652
- (l(!0), f(j, null, G(p.tableData.windSpeed, (R, N) => (l(), f("td", {
6649
+ (l(!0), f(j, null, G(p.tableData.windSpeed, (L, N) => (l(), f("td", {
6653
6650
  rowspan: "1",
6654
6651
  colspan: "1",
6655
- key: `windSpeed${N}${R}`
6652
+ key: `windSpeed${N}${L}`
6656
6653
  }, [
6657
6654
  isNaN(p.tableData.windDir[N]) ? _("", !0) : (l(), f("span", {
6658
6655
  key: 0,
6659
6656
  class: "iconfont icon blue",
6660
6657
  style: O0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[N]}deg)` })
6661
6658
  }, "", 4)),
6662
- c("span", null, T(R), 1)
6659
+ c("span", null, T(L), 1)
6663
6660
  ]))), 128))
6664
6661
  ])
6665
6662
  ], 512), [
@@ -6667,7 +6664,7 @@ function bb(z, M, b, O, p, o) {
6667
6664
  ]),
6668
6665
  X0(c("table", IM, [
6669
6666
  c("tr", DM, [
6670
- M[15] || (M[15] = c("th", {
6667
+ M[16] || (M[16] = c("th", {
6671
6668
  rowspan: "1",
6672
6669
  colspan: "1",
6673
6670
  class: "tr-title"
@@ -6675,14 +6672,14 @@ function bb(z, M, b, O, p, o) {
6675
6672
  $("Hours"),
6676
6673
  c("span", { class: "unit" }, "(LT)")
6677
6674
  ], -1)),
6678
- (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6675
+ (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6679
6676
  rowspan: "1",
6680
6677
  colspan: "1",
6681
- key: `currenthoursL${N}${R}`
6682
- }, T(o.computeHourL(R)), 1))), 128))
6678
+ key: `currenthoursL${N}${L}`
6679
+ }, T(o.computeHourL(L)), 1))), 128))
6683
6680
  ]),
6684
6681
  c("tr", PM, [
6685
- M[16] || (M[16] = c("th", {
6682
+ M[17] || (M[17] = c("th", {
6686
6683
  rowspan: "1",
6687
6684
  colspan: "1",
6688
6685
  class: "tr-title"
@@ -6690,21 +6687,21 @@ function bb(z, M, b, O, p, o) {
6690
6687
  $("UTC"),
6691
6688
  c("span", { class: "unit" })
6692
6689
  ], -1)),
6693
- (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6690
+ (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6694
6691
  rowspan: "1",
6695
6692
  colspan: "1",
6696
- key: `currenthoursZ${N}${R}`
6697
- }, T(o.computeHourZ(R)), 1))), 128))
6693
+ key: `currenthoursZ${N}${L}`
6694
+ }, T(o.computeHourZ(L)), 1))), 128))
6698
6695
  ]),
6699
6696
  c("tr", SM, [
6700
- M[17] || (M[17] = c("th", {
6697
+ M[18] || (M[18] = c("th", {
6701
6698
  rowspan: "1",
6702
6699
  colspan: "1"
6703
6700
  }, null, -1)),
6704
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6701
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6705
6702
  rowspan: "1",
6706
6703
  colspan: "1",
6707
- key: `currentweatherUrls${N}${R}`
6704
+ key: `currentweatherUrls${N}${L}`
6708
6705
  }, [
6709
6706
  C(q, {
6710
6707
  placement: "top",
@@ -6713,10 +6710,10 @@ function bb(z, M, b, O, p, o) {
6713
6710
  "show-after": 500
6714
6711
  }, {
6715
6712
  default: e0(() => [
6716
- R ? (l(), f("img", {
6713
+ L ? (l(), f("img", {
6717
6714
  key: 0,
6718
6715
  class: "iconfont weather-icon",
6719
- src: R
6716
+ src: L
6720
6717
  }, null, 8, kM)) : _("", !0)
6721
6718
  ]),
6722
6719
  _: 2
@@ -6724,7 +6721,7 @@ function bb(z, M, b, O, p, o) {
6724
6721
  ]))), 128))
6725
6722
  ]),
6726
6723
  c("tr", QM, [
6727
- M[18] || (M[18] = c("td", {
6724
+ M[19] || (M[19] = c("td", {
6728
6725
  rowspan: "1",
6729
6726
  colspan: "1",
6730
6727
  class: "tr-title"
@@ -6732,21 +6729,21 @@ function bb(z, M, b, O, p, o) {
6732
6729
  $("Sig Wave"),
6733
6730
  c("span", { class: "unit" }, "m")
6734
6731
  ], -1)),
6735
- (l(!0), f(j, null, G(p.tableData.sigwaveHeight, (R, N) => (l(), f("td", {
6732
+ (l(!0), f(j, null, G(p.tableData.sigwaveHeight, (L, N) => (l(), f("td", {
6736
6733
  rowspan: "1",
6737
6734
  colspan: "1",
6738
- key: `sigwaveHeight${N}${R}`
6735
+ key: `sigwaveHeight${N}${L}`
6739
6736
  }, [
6740
6737
  isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6741
6738
  key: 0,
6742
6739
  class: "iconfont icon blue",
6743
6740
  style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6744
6741
  }, "", 4)),
6745
- c("span", null, T(R), 1)
6742
+ c("span", null, T(L), 1)
6746
6743
  ]))), 128))
6747
6744
  ]),
6748
6745
  c("tr", HM, [
6749
- M[19] || (M[19] = c("td", {
6746
+ M[20] || (M[20] = c("td", {
6750
6747
  rowspan: "1",
6751
6748
  colspan: "1",
6752
6749
  class: "tr-title"
@@ -6754,21 +6751,21 @@ function bb(z, M, b, O, p, o) {
6754
6751
  $("Wind Wave"),
6755
6752
  c("span", { class: "unit" }, "m")
6756
6753
  ], -1)),
6757
- (l(!0), f(j, null, G(p.tableData.windwaveHeight, (R, N) => (l(), f("td", {
6754
+ (l(!0), f(j, null, G(p.tableData.windwaveHeight, (L, N) => (l(), f("td", {
6758
6755
  rowspan: "1",
6759
6756
  colspan: "1",
6760
- key: `windwaveHeight${N}${R}`
6757
+ key: `windwaveHeight${N}${L}`
6761
6758
  }, [
6762
6759
  isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6763
6760
  key: 0,
6764
6761
  class: "iconfont icon orange",
6765
6762
  style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6766
6763
  }, "", 4)),
6767
- c("span", null, T(R), 1)
6764
+ c("span", null, T(L), 1)
6768
6765
  ]))), 128))
6769
6766
  ]),
6770
6767
  c("tr", _M, [
6771
- M[20] || (M[20] = c("td", {
6768
+ M[21] || (M[21] = c("td", {
6772
6769
  rowspan: "1",
6773
6770
  colspan: "1",
6774
6771
  class: "tr-title"
@@ -6776,21 +6773,21 @@ function bb(z, M, b, O, p, o) {
6776
6773
  $("Swell"),
6777
6774
  c("span", { class: "unit" }, "m")
6778
6775
  ], -1)),
6779
- (l(!0), f(j, null, G(p.tableData.swellHeight, (R, N) => (l(), f("td", {
6776
+ (l(!0), f(j, null, G(p.tableData.swellHeight, (L, N) => (l(), f("td", {
6780
6777
  rowspan: "1",
6781
6778
  colspan: "1",
6782
- key: `swellHeight${N}${R}`
6779
+ key: `swellHeight${N}${L}`
6783
6780
  }, [
6784
6781
  isNaN(p.tableData.swellDir[N]) ? _("", !0) : (l(), f("span", {
6785
6782
  key: 0,
6786
6783
  class: "iconfont icon orange",
6787
6784
  style: O0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[N]}deg)` })
6788
6785
  }, "", 4)),
6789
- c("span", null, T(R), 1)
6786
+ c("span", null, T(L), 1)
6790
6787
  ]))), 128))
6791
6788
  ]),
6792
6789
  c("tr", jM, [
6793
- M[21] || (M[21] = c("td", {
6790
+ M[22] || (M[22] = c("td", {
6794
6791
  rowspan: "1",
6795
6792
  colspan: "1",
6796
6793
  class: "tr-title"
@@ -6798,10 +6795,10 @@ function bb(z, M, b, O, p, o) {
6798
6795
  $("Current"),
6799
6796
  c("span", { class: "unit" }, "kts")
6800
6797
  ], -1)),
6801
- (l(!0), f(j, null, G(p.tableData.currentSpeed, (R, N) => (l(), f("td", {
6798
+ (l(!0), f(j, null, G(p.tableData.currentSpeed, (L, N) => (l(), f("td", {
6802
6799
  rowspan: "1",
6803
6800
  colspan: "1",
6804
- key: `currentSpeed${N}${R}`
6801
+ key: `currentSpeed${N}${L}`
6805
6802
  }, [
6806
6803
  isNaN(p.tableData.currentDir[N]) ? _("", !0) : (l(), f("span", {
6807
6804
  key: 0,
@@ -6809,7 +6806,7 @@ function bb(z, M, b, O, p, o) {
6809
6806
  id: "meteoGrayIcon",
6810
6807
  style: O0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[N]}deg)` })
6811
6808
  }, "", 4)),
6812
- c("span", null, T(R), 1)
6809
+ c("span", null, T(L), 1)
6813
6810
  ]))), 128))
6814
6811
  ])
6815
6812
  ], 512), [
@@ -6817,7 +6814,7 @@ function bb(z, M, b, O, p, o) {
6817
6814
  ]),
6818
6815
  X0(c("table", FM, [
6819
6816
  c("tr", GM, [
6820
- M[22] || (M[22] = c("th", {
6817
+ M[23] || (M[23] = c("th", {
6821
6818
  rowspan: "1",
6822
6819
  colspan: "1",
6823
6820
  class: "tr-title"
@@ -6825,14 +6822,14 @@ function bb(z, M, b, O, p, o) {
6825
6822
  $("Hours"),
6826
6823
  c("span", { class: "unit" }, "(LT)")
6827
6824
  ], -1)),
6828
- (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6825
+ (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6829
6826
  rowspan: "1",
6830
6827
  colspan: "1",
6831
- key: `seahoursL${N}${R}`
6832
- }, T(o.computeHourL(R)), 1))), 128))
6828
+ key: `seahoursL${N}${L}`
6829
+ }, T(o.computeHourL(L)), 1))), 128))
6833
6830
  ]),
6834
6831
  c("tr", UM, [
6835
- M[23] || (M[23] = c("th", {
6832
+ M[24] || (M[24] = c("th", {
6836
6833
  rowspan: "1",
6837
6834
  colspan: "1",
6838
6835
  class: "tr-title"
@@ -6840,22 +6837,22 @@ function bb(z, M, b, O, p, o) {
6840
6837
  $("UTC"),
6841
6838
  c("span", { class: "unit" })
6842
6839
  ], -1)),
6843
- (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6840
+ (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6844
6841
  rowspan: "1",
6845
6842
  colspan: "1",
6846
- key: `seahoursZ${N}${R}`
6847
- }, T(o.computeHourZ(R)), 1))), 128))
6843
+ key: `seahoursZ${N}${L}`
6844
+ }, T(o.computeHourZ(L)), 1))), 128))
6848
6845
  ]),
6849
6846
  c("tr", KM, [
6850
- M[24] || (M[24] = c("th", {
6847
+ M[25] || (M[25] = c("th", {
6851
6848
  rowspan: "1",
6852
6849
  colspan: "1",
6853
6850
  class: "tr-title"
6854
6851
  }, null, -1)),
6855
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6852
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6856
6853
  rowspan: "1",
6857
6854
  colspan: "1",
6858
- key: `seaweatherUrls${N}${R}`
6855
+ key: `seaweatherUrls${N}${L}`
6859
6856
  }, [
6860
6857
  C(q, {
6861
6858
  placement: "top",
@@ -6864,10 +6861,10 @@ function bb(z, M, b, O, p, o) {
6864
6861
  "show-after": 500
6865
6862
  }, {
6866
6863
  default: e0(() => [
6867
- R ? (l(), f("img", {
6864
+ L ? (l(), f("img", {
6868
6865
  key: 0,
6869
6866
  class: "iconfont weather-icon",
6870
- src: R
6867
+ src: L
6871
6868
  }, null, 8, JM)) : _("", !0)
6872
6869
  ]),
6873
6870
  _: 2
@@ -6875,7 +6872,7 @@ function bb(z, M, b, O, p, o) {
6875
6872
  ]))), 128))
6876
6873
  ]),
6877
6874
  c("tr", YM, [
6878
- M[25] || (M[25] = c("td", {
6875
+ M[26] || (M[26] = c("td", {
6879
6876
  rowspan: "1",
6880
6877
  colspan: "1",
6881
6878
  class: "tr-title"
@@ -6883,14 +6880,14 @@ function bb(z, M, b, O, p, o) {
6883
6880
  $("SeaLevel"),
6884
6881
  c("span", { class: "unit" }, "m")
6885
6882
  ], -1)),
6886
- (l(!0), f(j, null, G(p.tableData.seaLevel, (R, N) => (l(), f("td", {
6883
+ (l(!0), f(j, null, G(p.tableData.seaLevel, (L, N) => (l(), f("td", {
6887
6884
  rowspan: "1",
6888
6885
  colspan: "1",
6889
- key: `SeaLevel${N}${R}`
6890
- }, T(R), 1))), 128))
6886
+ key: `SeaLevel${N}${L}`
6887
+ }, T(L), 1))), 128))
6891
6888
  ]),
6892
6889
  c("tr", VM, [
6893
- M[26] || (M[26] = c("td", {
6890
+ M[27] || (M[27] = c("td", {
6894
6891
  rowspan: "1",
6895
6892
  colspan: "1",
6896
6893
  class: "tr-title"
@@ -6898,38 +6895,38 @@ function bb(z, M, b, O, p, o) {
6898
6895
  $("SeaTemp"),
6899
6896
  c("span", { class: "unit" }, "°C")
6900
6897
  ], -1)),
6901
- (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6898
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6902
6899
  rowspan: "1",
6903
6900
  colspan: "1",
6904
- key: `SeaTemp${N}${R}`
6905
- }, T(R), 1))), 128))
6901
+ key: `SeaTemp${N}${L}`
6902
+ }, T(L), 1))), 128))
6906
6903
  ]),
6907
6904
  c("tr", ZM, [
6908
- M[27] || (M[27] = c("td", {
6905
+ M[28] || (M[28] = c("td", {
6909
6906
  rowspan: "1",
6910
6907
  colspan: "1",
6911
6908
  class: "tr-title"
6912
6909
  }, [
6913
6910
  c("span", { class: "unit" })
6914
6911
  ], -1)),
6915
- (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6912
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6916
6913
  rowspan: "1",
6917
6914
  colspan: "1",
6918
- key: `seaTemp-${N}${R}`
6915
+ key: `seaTemp-${N}${L}`
6919
6916
  }))), 128))
6920
6917
  ]),
6921
6918
  c("tr", $M, [
6922
- M[28] || (M[28] = c("td", {
6919
+ M[29] || (M[29] = c("td", {
6923
6920
  rowspan: "1",
6924
6921
  colspan: "1",
6925
6922
  class: "tr-title"
6926
6923
  }, [
6927
6924
  c("span", { class: "unit" })
6928
6925
  ], -1)),
6929
- (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6926
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6930
6927
  rowspan: "1",
6931
6928
  colspan: "1",
6932
- key: `seaTemp--${N}${R}`
6929
+ key: `seaTemp--${N}${L}`
6933
6930
  }))), 128))
6934
6931
  ])
6935
6932
  ], 512), [
@@ -6938,14 +6935,17 @@ function bb(z, M, b, O, p, o) {
6938
6935
  ], 512), [
6939
6936
  [w0, ((Y = (U = p.tableData) == null ? void 0 : U.hours) == null ? void 0 : Y.length) > 0]
6940
6937
  ]),
6941
- M[29] || (M[29] = c("div", { class: "more" }, "More >>", -1))
6938
+ c("div", {
6939
+ class: "more",
6940
+ onClick: M[4] || (M[4] = (...L) => o.handleMeteoMore && o.handleMeteoMore(...L))
6941
+ }, "More >>")
6942
6942
  ]))
6943
6943
  ])
6944
6944
  ], 512)), [
6945
6945
  [w0, p.showMeteo]
6946
6946
  ]);
6947
6947
  }
6948
- const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-1e50c527"]]), pb = {
6948
+ const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-a0922901"]]), pb = {
6949
6949
  name: "IdmWarZone",
6950
6950
  props: {
6951
6951
  map: {
@@ -8251,12 +8251,12 @@ const U0 = /* @__PURE__ */ k(Hb, [["render", _b], ["__scopeId", "data-v-ad66a24c
8251
8251
  return;
8252
8252
  }
8253
8253
  });
8254
- const L = s.features.filter((W) => W.geometry.type === "Point");
8254
+ const R = s.features.filter((W) => W.geometry.type === "Point");
8255
8255
  this.handleTmpPointUpdate(
8256
8256
  s,
8257
- L[B - 1],
8258
- { lng: (r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, lat: (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat, properties: L[B].properties },
8259
- B === L.length - 1 ? void 0 : L[B + 1]
8257
+ R[B - 1],
8258
+ { lng: (r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, lat: (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat, properties: R[B].properties },
8259
+ B === R.length - 1 ? void 0 : R[B + 1]
8260
8260
  );
8261
8261
  }
8262
8262
  },
@@ -8264,13 +8264,13 @@ const U0 = /* @__PURE__ */ k(Hb, [["render", _b], ["__scopeId", "data-v-ad66a24c
8264
8264
  var b, O, p, o, A, t, q, r, a, n;
8265
8265
  const M = (O = (b = z.target) == null ? void 0 : b._element) == null ? void 0 : O.id;
8266
8266
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8267
- const s = this.geojson.filter((L) => L.id === M.split("-")[0])[0];
8268
- this.pointMarkers[s.id].filter((L) => {
8267
+ const s = this.geojson.filter((R) => R.id === M.split("-")[0])[0];
8268
+ this.pointMarkers[s.id].filter((R) => {
8269
8269
  var W;
8270
- return ((W = L._element) == null ? void 0 : W.id) === M;
8270
+ return ((W = R._element) == null ? void 0 : W.id) === M;
8271
8271
  })[0].setLngLat([(o = (p = z.target) == null ? void 0 : p._lngLat) == null ? void 0 : o.lng, (t = (A = z.target) == null ? void 0 : A._lngLat) == null ? void 0 : t.lat]);
8272
- const B = s.features.filter((L) => L.geometry.type === "Point" && L.properties.id == M.split("-")[1])[0];
8273
- B.geometry.coordinates = [(r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat], s.features = s.features.filter((L) => L.geometry.type === "Point"), this.handlePointUpdate(s);
8272
+ const B = s.features.filter((R) => R.geometry.type === "Point" && R.properties.id == M.split("-")[1])[0];
8273
+ B.geometry.coordinates = [(r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat], s.features = s.features.filter((R) => R.geometry.type === "Point"), this.handlePointUpdate(s);
8274
8274
  }
8275
8275
  },
8276
8276
  handleContextmenu(z) {
@@ -8795,16 +8795,16 @@ const bz = {
8795
8795
  if (this.map) {
8796
8796
  const s = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, d = (o = this.map) == null ? void 0 : o.getBounds(), B = `${d._sw.lng},${d._sw.lat},${d._ne.lng},${d._ne.lat}`;
8797
8797
  if (this.particleFactor) {
8798
- const L = I0.WEATHER_LAYERS.find((W) => {
8798
+ const R = I0.WEATHER_LAYERS.find((W) => {
8799
8799
  var m;
8800
8800
  return ((m = W.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8801
8801
  });
8802
- this.particleFactor.particle ? this.weatherWeight = this.weatherWeight & L.weight ? this.weatherWeight : this.weatherWeight + L.weight : this.weatherWeight = this.weatherWeight & L.weight ? this.weatherWeight - L.weight : this.weatherWeight;
8802
+ this.particleFactor.particle ? this.weatherWeight = this.weatherWeight & R.weight ? this.weatherWeight : this.weatherWeight + R.weight : this.weatherWeight = this.weatherWeight & R.weight ? this.weatherWeight - R.weight : this.weatherWeight;
8803
8803
  }
8804
8804
  if (this.weatherWeight > 0) {
8805
- let L = this.weatherWeight, W;
8806
- if (z.tropicals || this.weatherWeight & 256 && (W = this.weatherLayers.tropicals, W && (L -= 256, W.version = Math.random() + 1)), L > 0) {
8807
- const m = await N0.get(`${this.gateway}/api/arc/weather/layers/links?l=${L}&v=${this.source}&z=${s}&bbox=${B}&t=${this.ts}`, {
8805
+ let R = this.weatherWeight, W;
8806
+ if (z.tropicals || this.weatherWeight & 256 && (W = this.weatherLayers.tropicals, W && (R -= 256, W.version = Math.random() + 1)), R > 0) {
8807
+ const m = await N0.get(`${this.gateway}/api/arc/weather/layers/links?l=${R}&v=${this.source}&z=${s}&bbox=${B}&t=${this.ts}`, {
8808
8808
  headers: {
8809
8809
  Authorization: this.token || this.defaultMeteoToken
8810
8810
  }
@@ -8825,8 +8825,8 @@ const bz = {
8825
8825
  );
8826
8826
  const E = await Promise.all(X);
8827
8827
  this.weatherLayers = {}, E.map((y) => {
8828
- var Y, R, N, A0;
8829
- const H = ((Y = y == null ? void 0 : y.data) == null ? void 0 : Y.data) || (y == null ? void 0 : y.data), U = (N = (R = y == null ? void 0 : y.config) == null ? void 0 : R.headers) == null ? void 0 : N.key;
8828
+ var Y, L, N, A0;
8829
+ const H = ((Y = y == null ? void 0 : y.data) == null ? void 0 : Y.data) || (y == null ? void 0 : y.data), U = (N = (L = y == null ? void 0 : y.config) == null ? void 0 : L.headers) == null ? void 0 : N.key;
8830
8830
  U && H && (this.weatherLayers[U] = {
8831
8831
  raw: H,
8832
8832
  type: ((A0 = y == null ? void 0 : y.config) == null ? void 0 : A0.responseType) === "blob" ? "image" : "json",
@@ -8838,8 +8838,8 @@ const bz = {
8838
8838
  key: "tropicals"
8839
8839
  }
8840
8840
  }).then((y) => {
8841
- var Y, R, N;
8842
- const H = _0.convert2Geojson(((Y = y == null ? void 0 : y.data) == null ? void 0 : Y.data) || (y == null ? void 0 : y.data)), U = (N = (R = y == null ? void 0 : y.config) == null ? void 0 : R.headers) == null ? void 0 : N.key;
8841
+ var Y, L, N;
8842
+ const H = _0.convert2Geojson(((Y = y == null ? void 0 : y.data) == null ? void 0 : Y.data) || (y == null ? void 0 : y.data)), U = (N = (L = y == null ? void 0 : y.config) == null ? void 0 : L.headers) == null ? void 0 : N.key;
8843
8843
  this.weatherLayers[U] = {
8844
8844
  data: H,
8845
8845
  active: !0,
@@ -8901,8 +8901,8 @@ const bz = {
8901
8901
  );
8902
8902
  const n = await Promise.all(a);
8903
8903
  this.otherLayers = { enc: A, world12nm: t }, n.map((s) => {
8904
- var L, W, m;
8905
- const d = ((L = s == null ? void 0 : s.data) == null ? void 0 : L.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
8904
+ var R, W, m;
8905
+ const d = ((R = s == null ? void 0 : s.data) == null ? void 0 : R.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
8906
8906
  this.otherLayers[B] = d;
8907
8907
  });
8908
8908
  }
@@ -8924,8 +8924,8 @@ const bz = {
8924
8924
  })
8925
8925
  );
8926
8926
  (await Promise.all(a)).map((s) => {
8927
- var L, W, m;
8928
- const d = ((L = s == null ? void 0 : s.data) == null ? void 0 : L.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
8927
+ var R, W, m;
8928
+ const d = ((R = s == null ? void 0 : s.data) == null ? void 0 : R.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
8929
8929
  this.otherLayers[B] = d;
8930
8930
  });
8931
8931
  }
@@ -8990,16 +8990,16 @@ const bz = {
8990
8990
  this.weatherLayers[d].active = !1, this.weatherLayers[d].version = Math.random() + 1;
8991
8991
  let B = [];
8992
8992
  if (["swell", "current"].includes(d)) {
8993
- const L = ((a = this.weatherLayers[d]) == null ? void 0 : a.direction) || {};
8994
- for (const W in L)
8993
+ const R = ((a = this.weatherLayers[d]) == null ? void 0 : a.direction) || {};
8994
+ for (const W in R)
8995
8995
  if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8996
- const m = L[W].lng;
8996
+ const m = R[W].lng;
8997
8997
  o > A ? m.forEach((h, X) => {
8998
8998
  var E;
8999
8999
  if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9000
9000
  const y = v.point([h, W], {
9001
- val: L[W].val[X],
9002
- spd: (E = L[W].spd) == null ? void 0 : E[X]
9001
+ val: R[W].val[X],
9002
+ spd: (E = R[W].spd) == null ? void 0 : E[X]
9003
9003
  });
9004
9004
  B.push(y);
9005
9005
  }
@@ -9007,8 +9007,8 @@ const bz = {
9007
9007
  var E;
9008
9008
  if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9009
9009
  const y = v.point([h, W], {
9010
- val: L[W].val[X],
9011
- spd: (E = L[W].spd) == null ? void 0 : E[X]
9010
+ val: R[W].val[X],
9011
+ spd: (E = R[W].spd) == null ? void 0 : E[X]
9012
9012
  });
9013
9013
  B.push(y);
9014
9014
  }
@@ -9058,23 +9058,23 @@ const bz = {
9058
9058
  }
9059
9059
  }
9060
9060
  } else if (d === "wind") {
9061
- const L = this.weatherLayers.wind.raw;
9062
- for (const W in L)
9061
+ const R = this.weatherLayers.wind.raw;
9062
+ for (const W in R)
9063
9063
  if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9064
- const m = L[W].lng;
9064
+ const m = R[W].lng;
9065
9065
  o > A ? m.forEach((h, X) => {
9066
9066
  if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9067
9067
  const E = v.point([h, W], {
9068
- val: L[W].val[X],
9069
- spd: L[W].spd[X]
9068
+ val: R[W].val[X],
9069
+ spd: R[W].spd[X]
9070
9070
  });
9071
9071
  B.push(E);
9072
9072
  }
9073
9073
  }) : m.forEach((h, X) => {
9074
9074
  if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9075
9075
  const E = v.point([h, W], {
9076
- val: L[W].val[X],
9077
- spd: L[W].spd[X]
9076
+ val: R[W].val[X],
9077
+ spd: R[W].spd[X]
9078
9078
  });
9079
9079
  B.push(E);
9080
9080
  }
@@ -9085,11 +9085,11 @@ const bz = {
9085
9085
  if (this.weatherLayers[d].data)
9086
9086
  B = this.weatherLayers[d].data;
9087
9087
  else {
9088
- const L = this.weatherLayers[d].raw;
9089
- if (L) {
9088
+ const R = this.weatherLayers[d].raw;
9089
+ if (R) {
9090
9090
  const W = [];
9091
- for (const m in L.Polygon) {
9092
- const h = L.Polygon[m];
9091
+ for (const m in R.Polygon) {
9092
+ const h = R.Polygon[m];
9093
9093
  for (const X of h)
9094
9094
  W.push(
9095
9095
  v.polygon(X, {
@@ -9097,8 +9097,8 @@ const bz = {
9097
9097
  })
9098
9098
  );
9099
9099
  }
9100
- for (const m in L.Point) {
9101
- const h = L.Point[m];
9100
+ for (const m in R.Point) {
9101
+ const h = R.Point[m];
9102
9102
  for (const X of h)
9103
9103
  W.push(
9104
9104
  ...v.points(X, {
@@ -9114,11 +9114,11 @@ const bz = {
9114
9114
  if (this.weatherLayers[d].data)
9115
9115
  B = this.weatherLayers[d].data;
9116
9116
  else {
9117
- const L = this.weatherLayers[d].raw;
9118
- if (L) {
9117
+ const R = this.weatherLayers[d].raw;
9118
+ if (R) {
9119
9119
  const W = [];
9120
- for (const m in L.LineString) {
9121
- const h = L.LineString[m];
9120
+ for (const m in R.LineString) {
9121
+ const h = R.LineString[m];
9122
9122
  for (const X of h)
9123
9123
  W.push(
9124
9124
  v.lineString(X, {
@@ -9126,12 +9126,12 @@ const bz = {
9126
9126
  })
9127
9127
  );
9128
9128
  }
9129
- for (const m in L.Point)
9130
- L.Point[m].lng.forEach((h, X) => {
9129
+ for (const m in R.Point)
9130
+ R.Point[m].lng.forEach((h, X) => {
9131
9131
  h = Z.convertToStdLng(h), W.push(
9132
9132
  v.point([h, m], {
9133
- val: L.Point[m].val[X],
9134
- type: L.Point[m].type[X]
9133
+ val: R.Point[m].val[X],
9134
+ type: R.Point[m].type[X]
9135
9135
  })
9136
9136
  );
9137
9137
  });
@@ -9143,11 +9143,11 @@ const bz = {
9143
9143
  if (this.weatherLayers[d].data)
9144
9144
  B = this.weatherLayers[d].data;
9145
9145
  else {
9146
- const L = this.weatherLayers[d].raw;
9147
- if (L) {
9146
+ const R = this.weatherLayers[d].raw;
9147
+ if (R) {
9148
9148
  const W = [];
9149
- for (const m in L.LineString) {
9150
- const h = L.LineString[m];
9149
+ for (const m in R.LineString) {
9150
+ const h = R.LineString[m];
9151
9151
  for (const X of h)
9152
9152
  W.push(
9153
9153
  v.lineString(X, {
@@ -9228,8 +9228,8 @@ const bz = {
9228
9228
  }
9229
9229
  },
9230
9230
  handle3dToggle(z) {
9231
- var M, b, O, p, o, A, t, q, r, a, n, s, d, B, L, W, m, h, X, E;
9232
- z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((A = this.viewport) == null ? void 0 : A.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (s = this.map) != null && s.getLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((L = this.map) == null || L.moveLayer((B = this.viewport) == null ? void 0 : B.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((W = this.viewport) == null ? void 0 : W.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((E = this.map) == null || E.moveLayer((X = this.viewport) == null ? void 0 : X.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9231
+ var M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E;
9232
+ z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((A = this.viewport) == null ? void 0 : A.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (s = this.map) != null && s.getLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((R = this.map) == null || R.moveLayer((B = this.viewport) == null ? void 0 : B.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((W = this.viewport) == null ? void 0 : W.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((E = this.map) == null || E.moveLayer((X = this.viewport) == null ? void 0 : X.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9233
9233
  },
9234
9234
  handleParticle(z) {
9235
9235
  this.particleFactor = z, this.weatherLayers[z.key] && (this.weatherLayers[z.key].particle = z.particle), this.activeWeatherLayers.map((O) => {
@@ -9257,7 +9257,7 @@ const bz = {
9257
9257
  };
9258
9258
  function pz(z, M, b, O, p, o) {
9259
9259
  var r0, d0, B0, s0, P, b0, t0, I, z0, W0, l0, L0, o0, e, i, u, g, w, D, V, S, F, T0, S0, k0, Q0, H0;
9260
- const A = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), a = x("IdmSwell"), n = x("IdmPrmsl"), s = x("IdmIceberg"), d = x("IdmTropicals"), B = x("IdmCurrents"), L = x("IdmCurrentParticle"), W = x("IdmWindBarb"), m = x("IdmWindParticle"), h = x("IdmPrecip3h"), X = x("IdmVisibility"), E = x("IdmWaterTemp"), y = x("IdmTemp"), H = x("IdmArctic"), U = x("IdmWarZone"), Y = x("IdmGmdssArea"), R = x("IdmEcaZone"), N = x("IdmAlertZone"), A0 = x("IdmPort"), n0 = x("IdmLoadLine"), R0 = x("IdmTimezone"), i0 = x("IdmVRA"), f0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), h0 = x("IdmLatLng"), m0 = x("IdmMeasure"), u0 = x("IdmPoint");
9260
+ const A = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), a = x("IdmSwell"), n = x("IdmPrmsl"), s = x("IdmIceberg"), d = x("IdmTropicals"), B = x("IdmCurrents"), R = x("IdmCurrentParticle"), W = x("IdmWindBarb"), m = x("IdmWindParticle"), h = x("IdmPrecip3h"), X = x("IdmVisibility"), E = x("IdmWaterTemp"), y = x("IdmTemp"), H = x("IdmArctic"), U = x("IdmWarZone"), Y = x("IdmGmdssArea"), L = x("IdmEcaZone"), N = x("IdmAlertZone"), A0 = x("IdmPort"), n0 = x("IdmLoadLine"), R0 = x("IdmTimezone"), i0 = x("IdmVRA"), f0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), h0 = x("IdmLatLng"), m0 = x("IdmMeasure"), u0 = x("IdmPoint");
9261
9261
  return b.map ? (l(), f("div", zz, [
9262
9262
  C(A, Q({
9263
9263
  ref: "layer",
@@ -9338,7 +9338,7 @@ function pz(z, M, b, O, p, o) {
9338
9338
  onParticle: o.handleParticle,
9339
9339
  onHandleToggleVersion: o.handleToggleVersion
9340
9340
  }), null, 16, ["map", "map-projection", "current", "before-layer", "showCurrentIsoband", "showCurrentParticle", "margin-bottom", "toggle-version", "weather-layers", "onParticle", "onHandleToggleVersion"]),
9341
- C(L, Q({
9341
+ C(R, Q({
9342
9342
  viewport: p.viewport,
9343
9343
  factor: (z0 = p.weatherLayers) == null ? void 0 : z0["current-particle"],
9344
9344
  "before-layer": b.beforeLayer,
@@ -9405,7 +9405,7 @@ function pz(z, M, b, O, p, o) {
9405
9405
  area: (D = p.otherLayers) == null ? void 0 : D["gmdss-areas"],
9406
9406
  "before-layer": b.beforeLayer
9407
9407
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9408
- C(R, Q({
9408
+ C(L, Q({
9409
9409
  map: b.map,
9410
9410
  zone: (V = p.otherLayers) == null ? void 0 : V["eca-zones"],
9411
9411
  "before-layer": b.beforeLayer