@idmwx/idmui-gl3 4.9.6 → 4.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ var K0 = Object.defineProperty;
2
2
  var J0 = (z, M, b) => M in z ? K0(z, M, { enumerable: !0, configurable: !0, writable: !0, value: b }) : z[M] = b;
3
3
  var K = (z, M, b) => (J0(z, typeof M != "symbol" ? M + "" : M, b), b);
4
4
  import { LayerHelper as I0, CompanyHelper as D0 } from "@idm-plugin/tag";
5
- import { resolveComponent as x, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as O0, createVNode as w, withCtx as e0, normalizeClass as J, Fragment as j, renderList as G, toDisplayString as T, createCommentVNode as _, createTextVNode as $, withDirectives as X0, createStaticVNode as Y0, vShow as w0, defineComponent as V0, withModifiers as E0, mergeProps as Q } from "vue";
6
- import * as C from "@turf/turf";
5
+ import { resolveComponent as x, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as O0, createVNode as C, withCtx as e0, normalizeClass as J, Fragment as j, renderList as G, toDisplayString as T, createCommentVNode as _, createTextVNode as $, withDirectives as X0, createStaticVNode as Y0, vShow as w0, defineComponent as V0, withModifiers as E0, mergeProps as Q } from "vue";
6
+ import * as v from "@turf/turf";
7
7
  import Z0 from "@mapbox/sphericalmercator";
8
8
  import M0 from "moment";
9
9
  import y0 from "mapbox-gl";
@@ -235,7 +235,7 @@ function T1(z, M, b, O, p, o) {
235
235
  style: O0({ top: b.top + 10 + "px", right: p.right + "px" })
236
236
  }, [
237
237
  c("div", b1, [
238
- w(A, {
238
+ C(A, {
239
239
  placement: "left",
240
240
  effect: "light",
241
241
  content: "Menu",
@@ -258,7 +258,7 @@ function T1(z, M, b, O, p, o) {
258
258
  style: O0({ top: b.top + 160 + "px", right: p.right + "px" })
259
259
  }, [
260
260
  c("div", z1, [
261
- w(A, {
261
+ C(A, {
262
262
  placement: "left",
263
263
  effect: "light",
264
264
  content: "Measure",
@@ -274,7 +274,7 @@ function T1(z, M, b, O, p, o) {
274
274
  ]),
275
275
  _: 1
276
276
  }),
277
- w(A, {
277
+ C(A, {
278
278
  placement: "left",
279
279
  effect: "light",
280
280
  content: "Point Meteo",
@@ -290,7 +290,7 @@ function T1(z, M, b, O, p, o) {
290
290
  ]),
291
291
  _: 1
292
292
  }),
293
- w(A, {
293
+ C(A, {
294
294
  placement: "left",
295
295
  effect: "light",
296
296
  content: "Grid",
@@ -306,7 +306,7 @@ function T1(z, M, b, O, p, o) {
306
306
  ]),
307
307
  _: 1
308
308
  }),
309
- w(A, {
309
+ C(A, {
310
310
  placement: "left",
311
311
  effect: "light",
312
312
  content: "3D",
@@ -387,7 +387,7 @@ function T1(z, M, b, O, p, o) {
387
387
  onClick: M[10] || (M[10] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
388
388
  }, "")
389
389
  ]),
390
- w(r, { style: { flex: "1" } }, {
390
+ C(r, { style: { flex: "1" } }, {
391
391
  default: e0(() => [
392
392
  c("div", q1, [
393
393
  c("div", i1, [
@@ -477,19 +477,19 @@ function T1(z, M, b, O, p, o) {
477
477
  c("div", C1, [
478
478
  M[29] || (M[29] = c("span", { class: "layers-title" }, "Forecast Model", -1)),
479
479
  c("div", v1, [
480
- w(q, {
480
+ C(q, {
481
481
  modelValue: p.source,
482
482
  "onUpdate:modelValue": M[16] || (M[16] = (a) => p.source = a),
483
483
  class: "layer-radio flex-col-center-start"
484
484
  }, {
485
485
  default: e0(() => [
486
- w(t, { value: "GFS" }, {
486
+ C(t, { value: "GFS" }, {
487
487
  default: e0(() => M[27] || (M[27] = [
488
488
  $("GFS")
489
489
  ])),
490
490
  _: 1
491
491
  }),
492
- w(t, { value: "CMEMS" }, {
492
+ C(t, { value: "CMEMS" }, {
493
493
  default: e0(() => M[28] || (M[28] = [
494
494
  $("CMEMS")
495
495
  ])),
@@ -543,7 +543,7 @@ const x1 = {
543
543
  return {
544
544
  source: "wind-barb-source",
545
545
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
546
- empty: C.featureCollection([]),
546
+ empty: v.featureCollection([]),
547
547
  right: 10,
548
548
  bottom: 125,
549
549
  windBarbLoaded: !1
@@ -880,12 +880,12 @@ class C0 {
880
880
  try {
881
881
  const a = b.getUniformLocation(O, "u_resolution"), n = b.getUniformLocation(O, "u_image"), s = b.getUniformLocation(O, "u_color");
882
882
  if (b.useProgram(O), b.uniform2f(a, b.canvas.width * M.ratio, b.canvas.height * M.ratio), b.activeTexture(b.TEXTURE0), b.bindTexture(b.TEXTURE_2D, p), b.uniform1i(n, 0), b.activeTexture(b.TEXTURE1), b.bindTexture(b.TEXTURE_2D, o), b.uniform1i(s, 1), t != null && t.uvRange && (t != null && t.sRange)) {
883
- const W = b.getUniformLocation(O, "u_range_u_v"), h = b.getUniformLocation(O, "u_range_s");
884
- b.uniform2f(W, t.uvRange[0], t.uvRange[1]), b.uniform2f(h, t.sRange[0], t.sRange[1]);
883
+ const W = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
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(), m = M.map.getZoom() + 1, L = M.getWorldCopy(d, m);
886
+ const d = M.getBoundPixel(), B = M.map.getZoom() + 1, L = M.getWorldCopy(d, B);
887
887
  for (const W of L) {
888
- const h = (W[0] - d[0]) * M.ratio, R = (W[1] - d[3]) * M.ratio, y = W[2] * M.ratio, [E, N, H, U] = [h, y + h, R, y + R], Y = new Float32Array([E, H, N, H, E, U, E, U, N, H, N, U]);
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
  }
891
891
  } catch (a) {
@@ -3056,7 +3056,7 @@ const j1 = {
3056
3056
  directionLayer: "current-direction-layer",
3057
3057
  speedLayer: "current-speed-layer",
3058
3058
  speedLabelLayer: "current-speed-label-layer",
3059
- empty: C.featureCollection([]),
3059
+ empty: v.featureCollection([]),
3060
3060
  right: 10,
3061
3061
  bottom: 95
3062
3062
  };
@@ -3373,7 +3373,7 @@ const V1 = /* @__PURE__ */ k(K1, [["render", Y1], ["__scopeId", "data-v-163d1f9a
3373
3373
  source: "sig-wave-source",
3374
3374
  heightLayer: "sig-wave-height-layer",
3375
3375
  heightLabelLayer: "sig-wave-height-label-layer",
3376
- empty: C.featureCollection([])
3376
+ empty: v.featureCollection([])
3377
3377
  };
3378
3378
  },
3379
3379
  watch: {
@@ -3496,7 +3496,7 @@ const M2 = /* @__PURE__ */ k(Z1, [["render", $1]]), b2 = {
3496
3496
  directionLayer: "swell-direction-layer",
3497
3497
  heightLayer: "swell-height-layer",
3498
3498
  heightLabelLayer: "swell-height-label-layer",
3499
- empty: C.featureCollection([])
3499
+ empty: v.featureCollection([])
3500
3500
  };
3501
3501
  },
3502
3502
  watch: {
@@ -3657,7 +3657,7 @@ const p2 = /* @__PURE__ */ k(b2, [["render", z2]]), O2 = {
3657
3657
  layer: "prmsl-layer",
3658
3658
  labelLayer: "prmsl-label-layer",
3659
3659
  pointLabelLayer: "prmsl-point-label-layer",
3660
- empty: C.featureCollection([])
3660
+ empty: v.featureCollection([])
3661
3661
  };
3662
3662
  },
3663
3663
  watch: {
@@ -3789,7 +3789,7 @@ const c2 = /* @__PURE__ */ k(O2, [["render", o2]]), A2 = {
3789
3789
  return {
3790
3790
  source: "iceberg-source",
3791
3791
  layer: "iceberg-layer",
3792
- empty: C.featureCollection([])
3792
+ empty: v.featureCollection([])
3793
3793
  };
3794
3794
  },
3795
3795
  watch: {
@@ -3871,9 +3871,9 @@ const a2 = {
3871
3871
  showTropicals: !1,
3872
3872
  activeTropicals: void 0,
3873
3873
  activeTropicalsMarker: void 0,
3874
- empty: C.featureCollection([]),
3874
+ empty: v.featureCollection([]),
3875
3875
  circleSource: "circle-source",
3876
- circleSourceData: C.featureCollection([]),
3876
+ circleSourceData: v.featureCollection([]),
3877
3877
  circleLayer: "tropical-circle-layer"
3878
3878
  };
3879
3879
  },
@@ -3933,14 +3933,14 @@ 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, m, L, W, h;
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), ((m = a.geometry) == null ? void 0 : m.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" && ((h = a.properties) == null || h.type);
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);
3938
3938
  }), q.map((a, n) => {
3939
- var s, d, m, L, W, h, R;
3940
- if (((s = a.geometry) == null ? void 0 : s.type) === "LineString" && ((d = a.properties) == null || d.type), ((m = a.geometry) == null ? void 0 : m.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" && ((h = a.properties) == null ? void 0 : h.type) === "history") {
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") {
3941
3941
  a.properties.format = M0(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3942
- const y = M0((R = a.properties) == null ? void 0 : R.date).utc().format("HHmm") === M0().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3943
- a.properties.showHistoryLabel = y || n === A, a.properties.showNameLabel = n === A, a.properties.name = o;
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
+ a.properties.showHistoryLabel = X || n === A, a.properties.showNameLabel = n === A, a.properties.name = o;
3944
3944
  }
3945
3945
  return a;
3946
3946
  });
@@ -4212,9 +4212,9 @@ 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, m, L, W, h, R, y, E, N, H, U, Y, g, v, 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, L, W, m, h, X, E, y, H, U, Y, R, 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
- 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 = C.featureCollection([...d0]);
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) => {
4219
4219
  s0.features.push(P);
4220
4220
  }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(s0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
@@ -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 = (m = P.properties) == null ? void 0 : m.wind) == null ? void 0 : L.spd) >= 24.5 && ((h = (W = P.properties) == null ? void 0 : W.wind) == null ? void 0 : h.spd) < 32.7 ? b0 = "#ff9100" : ((y = (R = P.properties) == null ? void 0 : R.wind) == null ? void 0 : y.spd) >= 32.7 && ((N = (E = P.properties) == null ? void 0 : E.wind) == null ? void 0 : N.spd) < 41.5 ? b0 = "#f44336" : ((U = (H = P.properties) == null ? void 0 : H.wind) == null ? void 0 : U.spd) >= 41.5 && ((g = (Y = P.properties) == null ? void 0 : Y.wind) == null ? void 0 : g.spd) < 51 ? b0 = "#f903d0" : ((A0 = (v = P.properties) == null ? void 0 : v.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" : ((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";
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">
@@ -4255,11 +4255,11 @@ const a2 = {
4255
4255
  if (this.interpolateMarkers.push(z0), (n0 = P.properties) != null && n0.showCircle) {
4256
4256
  const W0 = { radius: 100, coordinates: P.geometry.coordinates }, l0 = { radius: 200, coordinates: P.geometry.coordinates }, L0 = { radius: 500, coordinates: P.geometry.coordinates };
4257
4257
  (R0 = this.circleSourceData) == null || R0.features.push(
4258
- C.circle(W0.coordinates, W0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4258
+ v.circle(W0.coordinates, W0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4259
4259
  ), (i0 = this.circleSourceData) == null || i0.features.push(
4260
- C.circle(l0.coordinates, l0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4260
+ v.circle(l0.coordinates, l0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4261
4261
  ), (f0 = this.circleSourceData) == null || f0.features.push(
4262
- C.circle(L0.coordinates, L0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4262
+ v.circle(L0.coordinates, L0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4263
4263
  );
4264
4264
  }
4265
4265
  (h0 = (p0 = this.map) == null ? void 0 : p0.getSource(this.circleSource)) == null || h0.setData(this.circleSourceData);
@@ -4271,18 +4271,18 @@ const a2 = {
4271
4271
  var o, A, t, q, r, a, n, s;
4272
4272
  const M = z.features[0], b = (A = (o = this.tropicals) == null ? void 0 : o.data) == null ? void 0 : A.features.filter(
4273
4273
  (d) => {
4274
- var m;
4275
- return d.geometry.type === "LineString" && d.properties.type === "forecast" && d.properties.name === ((m = M == null ? void 0 : M.properties) == null ? void 0 : m.name);
4274
+ var B;
4275
+ return d.geometry.type === "LineString" && d.properties.type === "forecast" && d.properties.name === ((B = M == null ? void 0 : M.properties) == null ? void 0 : B.name);
4276
4276
  }
4277
4277
  );
4278
- b.sort((d, m) => {
4279
- var L, W, h, R;
4280
- return ((L = d.properties) == null ? void 0 : L.model) === "cma" ? -1 : ((W = d.properties) == null ? void 0 : W.model) === "jma" ? ((h = m.properties) == null ? void 0 : h.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((R = m.properties) == null ? void 0 : R.model) ? 1 : -1 : 0;
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;
4281
4281
  });
4282
4282
  const O = (q = (t = this.tropicals) == null ? void 0 : t.data) == null ? void 0 : q.features.filter(
4283
4283
  (d) => {
4284
- var m;
4285
- return d.geometry.type === "LineString" && d.properties.type === "history" && d.properties.name === ((m = M == null ? void 0 : M.properties) == null ? void 0 : m.name);
4284
+ var B;
4285
+ return d.geometry.type === "LineString" && d.properties.type === "history" && d.properties.name === ((B = M == null ? void 0 : M.properties) == null ? void 0 : B.name);
4286
4286
  }
4287
4287
  );
4288
4288
  this.activeTropicals = {
@@ -4302,7 +4302,7 @@ const a2 = {
4302
4302
  r.properties.category === M && (r.properties.disabled = z.disabled);
4303
4303
  }), this.interpolateData.forEach((r) => {
4304
4304
  r.properties.category === M && (r.properties.disabled = z.disabled);
4305
- }), (A = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || A.setData(C.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(C.featureCollection(b)), this.handleDateChange();
4305
+ }), (A = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || A.setData(v.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(v.featureCollection(b)), this.handleDateChange();
4306
4306
  },
4307
4307
  handleStrikeProbability(z) {
4308
4308
  this.$emit("tropicalProbability", z);
@@ -4359,22 +4359,22 @@ const a2 = {
4359
4359
  let q;
4360
4360
  switch (A) {
4361
4361
  case "ne":
4362
- q = C.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4362
+ q = v.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4363
4363
  break;
4364
4364
  case "se":
4365
- q = C.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4365
+ q = v.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4366
4366
  break;
4367
4367
  case "sw":
4368
- q = C.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4368
+ q = v.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4369
4369
  break;
4370
4370
  case "nw":
4371
- q = C.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4371
+ q = v.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4372
4372
  break;
4373
4373
  }
4374
4374
  O.push(...(o = q == null ? void 0 : q.geometry) == null ? void 0 : o.coordinates);
4375
4375
  }
4376
- const p = C.lineString(O);
4377
- return C.lineToPolygon(p, { properties: b });
4376
+ const p = v.lineString(O);
4377
+ return v.lineToPolygon(p, { properties: b });
4378
4378
  }
4379
4379
  }
4380
4380
  }, q2 = {
@@ -4394,49 +4394,49 @@ 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, m, L, W, h, R, y, E;
4397
+ var A, t, q, r, a, n, s, d, B, L, W, m, h, X, E;
4398
4398
  return X0((l(), f("div", q2, [
4399
4399
  c("div", i2, [
4400
4400
  c("div", {
4401
4401
  class: "iconfont close-btn",
4402
- onClick: M[0] || (M[0] = (N) => p.showTropicals = !1)
4402
+ onClick: M[0] || (M[0] = (y) => p.showTropicals = !1)
4403
4403
  }, ""),
4404
4404
  c("div", r2, [
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 = (m = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : m.filter((N) => !N.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) || ((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)
4409
4409
  ]),
4410
4410
  c("div", s2, [
4411
4411
  c("div", W2, [
4412
4412
  c("div", l2, [
4413
4413
  c("div", f2, [
4414
4414
  M[2] || (M[2] = c("label", null, "Wind speed : ", -1)),
4415
- c("span", null, T(((h = (W = p.activeTropicals) == null ? void 0 : W.history) == null ? void 0 : h.kts) || "-") + "[kts]", 1)
4415
+ c("span", null, T(((m = (W = p.activeTropicals) == null ? void 0 : W.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4416
4416
  ]),
4417
4417
  c("div", u2, [
4418
4418
  M[3] || (M[3] = c("label", null, "Pressure : ", -1)),
4419
- c("span", null, T(((y = (R = p.activeTropicals) == null ? void 0 : R.history) == null ? void 0 : y.pressure) || "-") + "[hPa]", 1)
4419
+ c("span", null, T(((X = (h = p.activeTropicals) == null ? void 0 : h.history) == null ? void 0 : X.pressure) || "-") + "[hPa]", 1)
4420
4420
  ])
4421
4421
  ]),
4422
4422
  c("div", L2, [
4423
4423
  c("div", R2, [
4424
4424
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4425
4425
  c("div", h2, [
4426
- (l(!0), f(j, null, G((E = p.activeTropicals) == null ? void 0 : E.forecasts, (N, H) => {
4427
- var U, Y, g, v;
4426
+ (l(!0), f(j, null, G((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, H) => {
4427
+ var U, Y, R, N;
4428
4428
  return l(), f("div", {
4429
4429
  key: H,
4430
4430
  class: J([
4431
4431
  "model",
4432
- N.disabled ? "" : "active",
4433
- H > 0 && H < ((Y = (U = p.activeTropicals) == null ? void 0 : U.forecasts) == null ? void 0 : Y.length) - 1 && ((v = (g = p.activeTropicals) == null ? void 0 : g.forecasts) == null ? void 0 : v.length) > 2 ? "center-child" : ""
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" : ""
4434
4434
  ]),
4435
- onClick: (A0) => o.handleForecastToggle(N)
4435
+ onClick: (A0) => o.handleForecastToggle(y)
4436
4436
  }, [
4437
4437
  c("span", {
4438
- class: J(N.model)
4439
- }, T(N.model), 3)
4438
+ class: J(y.model)
4439
+ }, T(y.model), 3)
4440
4440
  ], 10, m2);
4441
4441
  }), 128))
4442
4442
  ])
@@ -4447,7 +4447,7 @@ function g2(z, M, b, O, p, o) {
4447
4447
  c("div", B2, [
4448
4448
  c("div", {
4449
4449
  class: "button",
4450
- onClick: M[1] || (M[1] = (N) => o.handleStrikeProbability(p.activeTropicals))
4450
+ onClick: M[1] || (M[1] = (y) => o.handleStrikeProbability(p.activeTropicals))
4451
4451
  }, "Strike Probability >>")
4452
4452
  ])
4453
4453
  ])
@@ -5086,14 +5086,14 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5086
5086
  return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
5087
5087
  }
5088
5088
  function d(e) {
5089
- var i = 0, u = e.split("."), B = u[0], X = u[1] || "", D = 1, V, S = 0, F = 1;
5090
- for (e.charCodeAt(0) === 45 && (i = 1, F = -1), i; i < B.length; i++)
5091
- V = s(B.charCodeAt(i)), S = 60 * S + V;
5092
- for (i = 0; i < X.length; i++)
5093
- D = D / 60, V = s(X.charCodeAt(i)), S += V * D;
5089
+ var i = 0, u = e.split("."), g = u[0], w = u[1] || "", D = 1, V, S = 0, F = 1;
5090
+ for (e.charCodeAt(0) === 45 && (i = 1, F = -1), i; i < g.length; i++)
5091
+ V = s(g.charCodeAt(i)), S = 60 * S + V;
5092
+ for (i = 0; i < w.length; i++)
5093
+ D = D / 60, V = s(w.charCodeAt(i)), S += V * D;
5094
5094
  return S * F;
5095
5095
  }
5096
- function m(e) {
5096
+ function B(e) {
5097
5097
  for (var i = 0; i < e.length; i++)
5098
5098
  e[i] = d(e[i]);
5099
5099
  }
@@ -5103,25 +5103,25 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5103
5103
  e[i - 1] = 1 / 0;
5104
5104
  }
5105
5105
  function W(e, i) {
5106
- var u = [], B;
5107
- for (B = 0; B < i.length; B++)
5108
- u[B] = e[i[B]];
5106
+ var u = [], g;
5107
+ for (g = 0; g < i.length; g++)
5108
+ u[g] = e[i[g]];
5109
5109
  return u;
5110
5110
  }
5111
- function h(e) {
5112
- var i = e.split("|"), u = i[2].split(" "), B = i[3].split(""), X = i[4].split(" ");
5113
- return m(u), m(B), m(X), L(X, B.length), {
5111
+ function m(e) {
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), {
5114
5114
  name: i[0],
5115
- abbrs: W(i[1].split(" "), B),
5116
- offsets: W(u, B),
5117
- untils: X,
5115
+ abbrs: W(i[1].split(" "), g),
5116
+ offsets: W(u, g),
5117
+ untils: w,
5118
5118
  population: i[5] | 0
5119
5119
  };
5120
5120
  }
5121
- function R(e) {
5122
- e && this._set(h(e));
5121
+ function h(e) {
5122
+ e && this._set(m(e));
5123
5123
  }
5124
- function y(e, i) {
5124
+ function X(e, i) {
5125
5125
  var u = i.length;
5126
5126
  if (e < i[0])
5127
5127
  return 0;
@@ -5129,18 +5129,18 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5129
5129
  return u - 1;
5130
5130
  if (e >= i[u - 1])
5131
5131
  return -1;
5132
- for (var B, X = 0, D = u - 1; D - X > 1; )
5133
- B = Math.floor((X + D) / 2), i[B] <= e ? X = B : D = B;
5132
+ for (var g, w = 0, D = u - 1; D - w > 1; )
5133
+ g = Math.floor((w + D) / 2), i[g] <= e ? w = g : D = g;
5134
5134
  return D;
5135
5135
  }
5136
- R.prototype = {
5136
+ h.prototype = {
5137
5137
  _set: function(e) {
5138
5138
  this.name = e.name, this.abbrs = e.abbrs, this.untils = e.untils, this.offsets = e.offsets, this.population = e.population;
5139
5139
  },
5140
5140
  _index: function(e) {
5141
- var i = +e, u = this.untils, B;
5142
- if (B = y(i, u), B >= 0)
5143
- return B;
5141
+ var i = +e, u = this.untils, g;
5142
+ if (g = X(i, u), g >= 0)
5143
+ return g;
5144
5144
  },
5145
5145
  countries: function() {
5146
5146
  var e = this.name;
@@ -5149,11 +5149,11 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5149
5149
  });
5150
5150
  },
5151
5151
  parse: function(e) {
5152
- var i = +e, u = this.offsets, B = this.untils, X = B.length - 1, D, V, S, F;
5153
- for (F = 0; F < X; F++)
5154
- if (D = u[F], V = u[F + 1], S = u[F && F - 1], D < V && I.moveAmbiguousForward ? D = V : D > S && I.moveInvalidForward && (D = S), i < B[F] - D * 6e4)
5152
+ var i = +e, u = this.offsets, g = this.untils, w = g.length - 1, D, V, S, F;
5153
+ for (F = 0; F < w; F++)
5154
+ if (D = u[F], V = u[F + 1], S = u[F && F - 1], D < V && I.moveAmbiguousForward ? D = V : D > S && I.moveInvalidForward && (D = S), i < g[F] - D * 6e4)
5155
5155
  return u[F];
5156
- return u[X];
5156
+ return u[w];
5157
5157
  },
5158
5158
  abbr: function(e) {
5159
5159
  return this.abbrs[this._index(e)];
@@ -5168,7 +5168,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5168
5168
  function E(e, i) {
5169
5169
  this.name = e, this.zones = i;
5170
5170
  }
5171
- function N(e) {
5171
+ function y(e) {
5172
5172
  var i = e.toTimeString(), u = i.match(/\([a-z ]+\)/i);
5173
5173
  u && u[0] ? (u = u[0].match(/[A-Z]/g), u = u ? u.join("") : void 0) : (u = i.match(/[A-Z]{3,5}/g), u = u ? u[0] : void 0), u === "GMT" && (u = void 0), this.at = +e, this.abbr = u, this.offset = e.getTimezoneOffset();
5174
5174
  }
@@ -5179,38 +5179,38 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5179
5179
  this.offsetScore += Math.abs(this.zone.utcOffset(e.at) - e.offset), this.zone.abbr(e.at).replace(/[^A-Z]/g, "") !== e.abbr && this.abbrScore++;
5180
5180
  };
5181
5181
  function U(e, i) {
5182
- for (var u, B; B = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5183
- u = new N(new Date(e.at + B)), u.offset === e.offset ? e = u : i = u;
5182
+ for (var u, g; g = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5183
+ u = new y(new Date(e.at + g)), u.offset === e.offset ? e = u : i = u;
5184
5184
  return e;
5185
5185
  }
5186
5186
  function Y() {
5187
- var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new N(new Date(e, 0, 1)), u = i.offset, B = [i], X, D, V, S;
5187
+ var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), u = i.offset, g = [i], w, D, V, S;
5188
5188
  for (S = 1; S < 48; S++)
5189
- V = new Date(e, S, 1).getTimezoneOffset(), V !== u && (D = new N(new Date(e, S, 1)), X = U(i, D), B.push(X), B.push(new N(new Date(X.at + 6e4))), i = D, u = V);
5189
+ V = new Date(e, S, 1).getTimezoneOffset(), V !== u && (D = new y(new Date(e, S, 1)), w = U(i, D), g.push(w), g.push(new y(new Date(w.at + 6e4))), i = D, u = V);
5190
5190
  for (S = 0; S < 4; S++)
5191
- B.push(new N(new Date(e + S, 0, 1))), B.push(new N(new Date(e + S, 6, 1)));
5192
- return B;
5191
+ g.push(new y(new Date(e + S, 0, 1))), g.push(new y(new Date(e + S, 6, 1)));
5192
+ return g;
5193
5193
  }
5194
- function g(e, i) {
5194
+ function R(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
- function v(e, i) {
5198
- var u, B;
5199
- for (m(i), u = 0; u < i.length; u++)
5200
- B = i[u], t[B] = t[B] || {}, t[B][e] = !0;
5197
+ function N(e, i) {
5198
+ var u, g;
5199
+ for (B(i), u = 0; u < i.length; u++)
5200
+ g = i[u], t[g] = t[g] || {}, t[g][e] = !0;
5201
5201
  }
5202
5202
  function A0(e) {
5203
- var i = e.length, u = {}, B = [], X = {}, D, V, S, F;
5203
+ var i = e.length, u = {}, g = [], w = {}, D, V, S, F;
5204
5204
  for (D = 0; D < i; D++)
5205
- if (S = e[D].offset, !X.hasOwnProperty(S)) {
5205
+ if (S = e[D].offset, !w.hasOwnProperty(S)) {
5206
5206
  F = t[S] || {};
5207
5207
  for (V in F)
5208
5208
  F.hasOwnProperty(V) && (u[V] = !0);
5209
- X[S] = !0;
5209
+ w[S] = !0;
5210
5210
  }
5211
5211
  for (D in u)
5212
- u.hasOwnProperty(D) && B.push(A[D]);
5213
- return B;
5212
+ u.hasOwnProperty(D) && g.push(A[D]);
5213
+ return g;
5214
5214
  }
5215
5215
  function n0() {
5216
5216
  try {
@@ -5223,13 +5223,13 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5223
5223
  }
5224
5224
  } catch {
5225
5225
  }
5226
- var u = Y(), B = u.length, X = A0(u), D = [], V, S, F;
5227
- for (S = 0; S < X.length; S++) {
5228
- for (V = new H(p0(X[S])), F = 0; F < B; F++)
5226
+ var u = Y(), g = u.length, w = A0(u), D = [], V, S, F;
5227
+ for (S = 0; S < w.length; S++) {
5228
+ for (V = new H(p0(w[S])), F = 0; F < g; F++)
5229
5229
  V.scoreOffsetAt(u[F]);
5230
5230
  D.push(V);
5231
5231
  }
5232
- return D.sort(g), D.length > 0 ? D[0].zone.name : void 0;
5232
+ return D.sort(R), D.length > 0 ? D[0].zone.name : void 0;
5233
5233
  }
5234
5234
  function R0(e) {
5235
5235
  return (!q || e) && (q = n0()), q;
@@ -5238,14 +5238,14 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5238
5238
  return (e || "").toLowerCase().replace(/\//g, "_");
5239
5239
  }
5240
5240
  function f0(e) {
5241
- var i, u, B, X;
5241
+ var i, u, g, w;
5242
5242
  for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5243
- B = e[i].split("|"), u = B[0], X = i0(u), O[X] = e[i], A[X] = u, v(X, B[2].split(" "));
5243
+ g = e[i].split("|"), u = g[0], w = i0(u), O[w] = e[i], A[w] = u, N(w, g[2].split(" "));
5244
5244
  }
5245
5245
  function p0(e, i) {
5246
5246
  e = i0(e);
5247
- var u = O[e], B;
5248
- return u instanceof R ? u : typeof u == "string" ? (u = new R(u), O[e] = u, u) : p[e] && i !== p0 && (B = p0(p[e], p0)) ? (u = O[e] = new R(), u._set(B), u.name = A[e], u) : null;
5247
+ var u = O[e], g;
5248
+ return u instanceof h ? u : typeof u == "string" ? (u = new h(u), O[e] = u, u) : p[e] && i !== p0 && (g = p0(p[e], p0)) ? (u = O[e] = new h(), u._set(g), u.name = A[e], u) : null;
5249
5249
  }
5250
5250
  function h0() {
5251
5251
  var e, i = [];
@@ -5257,17 +5257,17 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5257
5257
  return Object.keys(o);
5258
5258
  }
5259
5259
  function u0(e) {
5260
- var i, u, B, X;
5260
+ var i, u, g, w;
5261
5261
  for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5262
- u = e[i].split("|"), B = i0(u[0]), X = i0(u[1]), p[B] = X, A[B] = u[0], p[X] = B, A[X] = u[1];
5262
+ u = e[i].split("|"), g = i0(u[0]), w = i0(u[1]), p[g] = w, A[g] = u[0], p[w] = g, A[w] = u[1];
5263
5263
  }
5264
5264
  function r0(e) {
5265
- var i, u, B, X;
5265
+ var i, u, g, w;
5266
5266
  if (!(!e || !e.length))
5267
5267
  for (i = 0; i < e.length; i++)
5268
- X = e[i].split("|"), u = X[0].toUpperCase(), B = X[1].split(" "), o[u] = new E(
5268
+ w = e[i].split("|"), u = w[0].toUpperCase(), g = w[1].split(" "), o[u] = new E(
5269
5269
  u,
5270
- B
5270
+ g
5271
5271
  );
5272
5272
  }
5273
5273
  function d0(e) {
@@ -5277,11 +5277,11 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5277
5277
  if (e = d0(e), !e)
5278
5278
  return null;
5279
5279
  var u = e.zones.sort();
5280
- return i ? u.map(function(B) {
5281
- var X = p0(B);
5280
+ return i ? u.map(function(g) {
5281
+ var w = p0(g);
5282
5282
  return {
5283
- name: B,
5284
- offset: X.utcOffset(/* @__PURE__ */ new Date())
5283
+ name: g,
5284
+ offset: w.utcOffset(/* @__PURE__ */ new Date())
5285
5285
  };
5286
5286
  }) : u;
5287
5287
  }
@@ -5299,19 +5299,19 @@ var F0 = { exports: {} }, G0 = { exports: {} };
5299
5299
  typeof console < "u" && typeof console.error == "function" && console.error(e);
5300
5300
  }
5301
5301
  function I(e) {
5302
- var i = Array.prototype.slice.call(arguments, 0, -1), u = arguments[arguments.length - 1], B = M.utc.apply(null, i), X;
5303
- return !M.isMoment(e) && b0(B) && (X = p0(u)) && B.add(X.parse(B), "minutes"), B.tz(u), B;
5302
+ var i = Array.prototype.slice.call(arguments, 0, -1), u = arguments[arguments.length - 1], g = M.utc.apply(null, i), w;
5303
+ return !M.isMoment(e) && b0(g) && (w = p0(u)) && g.add(w.parse(g), "minutes"), g.tz(u), g;
5304
5304
  }
5305
- I.version = b, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = f0, I.link = u0, I.load = s0, I.zone = p0, I.zoneExists = P, I.guess = R0, I.names = h0, I.Zone = R, I.unpack = h, I.unpackBase60 = d, I.needsOffset = b0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = m0, I.zonesForCountry = B0;
5305
+ I.version = b, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = f0, I.link = u0, I.load = s0, I.zone = p0, I.zoneExists = P, I.guess = R0, I.names = h0, I.Zone = h, I.unpack = m, I.unpackBase60 = d, I.needsOffset = b0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = m0, I.zonesForCountry = B0;
5306
5306
  var z0 = M.fn;
5307
5307
  M.tz = I, M.defaultZone = null, M.updateOffset = function(e, i) {
5308
- var u = M.defaultZone, B;
5308
+ var u = M.defaultZone, g;
5309
5309
  if (e._z === void 0 && (u && b0(e) && !e._isUTC && e.isValid() && (e._d = M.utc(e._a)._d, e.utc().add(u.parse(e), "minutes")), e._z = u), e._z)
5310
- if (B = e._z.utcOffset(e), Math.abs(B) < 16 && (B = B / 60), e.utcOffset !== void 0) {
5311
- var X = e._z;
5312
- e.utcOffset(-B, i), e._z = X;
5310
+ if (g = e._z.utcOffset(e), Math.abs(g) < 16 && (g = g / 60), e.utcOffset !== void 0) {
5311
+ var w = e._z;
5312
+ e.utcOffset(-g, i), e._z = w;
5313
5313
  } else
5314
- e.zone(B, i);
5314
+ e.zone(g, i);
5315
5315
  }, z0.tz = function(e, i) {
5316
5316
  if (e) {
5317
5317
  if (typeof e != "string")
@@ -6281,7 +6281,7 @@ const cM = {
6281
6281
  if (this.showMeteo = !0, this.showMeteo && this.ts) {
6282
6282
  this.handleRender();
6283
6283
  const M = M0();
6284
- ((z = M0(this.ts)) == null ? void 0 : z.diff(M, "d", !0)) >= 0 ? await this.fetchMeteoData(this.point, this.ts, 15) : await this.fetchHistoryData(this.point, this.ts), this.initTableData(this.meteoData);
6284
+ ((z = M0(this.ts)) == null ? void 0 : z.diff(M, "d", !0)) >= 0 ? await this.fetchMeteoData(this.point, this.ts, 7) : await this.fetchHistoryData(this.point, this.ts), this.initTableData(this.meteoData);
6285
6285
  }
6286
6286
  }
6287
6287
  },
@@ -6294,7 +6294,7 @@ const cM = {
6294
6294
  const A = v0(this.ts).tz(this.positionGmt).add(3 * o, "h").format();
6295
6295
  return (t = x0.pickHourly(this.meteoData, A)) == null ? void 0 : t[0];
6296
6296
  });
6297
- this.meteoData && p ? this.initTableData(this.meteoData) : (this.loading || (b >= 0 ? await this.fetchMeteoData(this.point, this.ts, 15) : await this.fetchHistoryData(this.point, this.ts)), this.initTableData(this.meteoData));
6297
+ this.meteoData && p ? this.initTableData(this.meteoData) : (this.loading || (b >= 0 ? await this.fetchMeteoData(this.point, this.ts, 7) : await this.fetchHistoryData(this.point, this.ts)), this.initTableData(this.meteoData));
6298
6298
  }
6299
6299
  }
6300
6300
  }
@@ -6326,8 +6326,6 @@ const cM = {
6326
6326
  };
6327
6327
  }
6328
6328
  },
6329
- mounted() {
6330
- },
6331
6329
  methods: {
6332
6330
  async fetchMeteoData(z, M, b) {
6333
6331
  this.point = z, this.loading = !0, this.meteoData = [];
@@ -6335,7 +6333,7 @@ const cM = {
6335
6333
  lat: z.lat,
6336
6334
  lng: z.lng,
6337
6335
  datetime: O,
6338
- forecastDays: b ?? 15
6336
+ forecastDays: b ?? 7
6339
6337
  }, o = await N0.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, p, {
6340
6338
  headers: {
6341
6339
  Authorization: this.token || this.defaultMeteoToken
@@ -6361,14 +6359,14 @@ const cM = {
6361
6359
  initTableData(z) {
6362
6360
  var M, b, O, p, o, A, t;
6363
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(() => {
6364
- var r, a, n, s, d, m, L, W, h, R, y, E, N, H, U, Y, g, v, 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, 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;
6365
6363
  const q = document.getElementById("meteoMainBox");
6366
6364
  if (!q)
6367
6365
  return !1;
6368
6366
  if (q.className = "main-box", q.style.backgroundImage = null, q.style.backgroundPosition = "top left", ((a = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : a.code) === 0 && ((s = (n = this.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : s.isDay) === 0)
6369
6367
  q.className = "main-box night-bg";
6370
6368
  else {
6371
- const o0 = (m = (d = this.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : m.bg;
6369
+ const o0 = (B = (d = this.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.bg;
6372
6370
  o0 ? (q.className = "main-box font-color-white", q.style.backgroundImage = `url(${o0})`, (o0 === "https://osshz.idmwx.com/asset/weather/bg2.png" || o0 === "https://osshz.idmwx.com/asset/weather/bg5.png") && (q.style.backgroundPosition = "right bottom")) : q.className = "main-box day-bg";
6373
6371
  }
6374
6372
  if (!this.currentHourData)
@@ -6377,7 +6375,7 @@ const cM = {
6377
6375
  const e = v0(this.ts).tz(this.positionGmt).add(3 * o0, "h").format();
6378
6376
  this.tableData.hours.push(e);
6379
6377
  const i = ((L = x0.pickHourly(z, e)) == null ? void 0 : L[0]) || {};
6380
- 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((R = (h = i == null ? void 0 : i.weather) == null ? void 0 : h.precip) == null ? void 0 : R.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (y = i == null ? void 0 : i.weather) == null ? void 0 : y.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((N = i == null ? void 0 : i.weather) == null ? void 0 : N.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((g = (Y = i == null ? void 0 : i.weather) == null ? void 0 : Y.wind) == null ? void 0 : g.bearing), this.tableData.windGust.push(this.roundPrecision((A0 = (v = i == null ? void 0 : i.weather) == null ? void 0 : v.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) ?? "-");
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) ?? "-");
6381
6379
  }
6382
6380
  });
6383
6381
  },
@@ -6454,502 +6452,500 @@ const cM = {
6454
6452
  class: "main-box flex-center"
6455
6453
  };
6456
6454
  function bb(z, M, b, O, p, o) {
6457
- var r, a, n, s, d, m, L, W, h, R, y, E, N, H, U, Y;
6455
+ var r, a, n, s, d, B, L, W, m, h, X, E, y, H, U, Y;
6458
6456
  const A = x("LocationFilled"), t = x("ElIcon"), q = x("ElTooltip");
6459
- return l(), f("div", null, [
6460
- X0(c("div", AM, [
6461
- c("div", eM, [
6462
- c("div", tM, [
6463
- c("div", aM, [
6464
- w(t, { size: "22" }, {
6465
- default: e0(() => [
6466
- w(A)
6467
- ]),
6457
+ return X0((l(), f("div", AM, [
6458
+ c("div", eM, [
6459
+ c("div", tM, [
6460
+ c("div", aM, [
6461
+ C(t, { size: "22" }, {
6462
+ default: e0(() => [
6463
+ C(A)
6464
+ ]),
6465
+ _: 1
6466
+ }),
6467
+ c("div", qM, T(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + T(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6468
+ ]),
6469
+ c("div", {
6470
+ class: "iconfont close",
6471
+ onClick: M[0] || (M[0] = (...R) => o.handleCloseMeteo && o.handleCloseMeteo(...R))
6472
+ }, "")
6473
+ ]),
6474
+ p.loading ? (l(), f("div", Mb, M[30] || (M[30] = [
6475
+ c("img", { src: oM }, null, -1)
6476
+ ]))) : (l(), f("div", iM, [
6477
+ c("div", rM, [
6478
+ c("div", nM, [
6479
+ C(q, {
6480
+ placement: "top",
6481
+ effect: "light",
6482
+ content: (s = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : s.name,
6483
+ "show-after": 1e3
6484
+ }, {
6485
+ default: e0(() => {
6486
+ var R, N, A0, n0;
6487
+ return [
6488
+ (N = (R = p.currentHourData) == null ? void 0 : R.weather) != null && N.url ? (l(), f("img", {
6489
+ key: 0,
6490
+ class: "iconfont icon",
6491
+ style: { "margin-right": "5px" },
6492
+ src: (n0 = (A0 = p.currentHourData) == null ? void 0 : A0.weather) == null ? void 0 : n0.url
6493
+ }, null, 8, dM)) : (l(), f("span", sM))
6494
+ ];
6495
+ }),
6468
6496
  _: 1
6469
- }),
6470
- c("div", qM, T(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + T(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6497
+ }, 8, ["content"]),
6498
+ c("div", WM, [
6499
+ c("div", null, [
6500
+ $(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))
6502
+ ])
6503
+ ]),
6504
+ c("div", lM, [
6505
+ 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)
6508
+ ]),
6509
+ c("div", uM, [
6510
+ M[6] || (M[6] = c("label", null, "Visibility : ", -1)),
6511
+ c("span", null, T(o.roundPrecision((X = (h = p.currentHourData) == null ? void 0 : h.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6512
+ ]),
6513
+ c("div", LM, [
6514
+ M[7] || (M[7] = c("label", null, "Wind : ", -1)),
6515
+ 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
+ ])
6517
+ ])
6471
6518
  ]),
6472
- c("div", {
6473
- class: "iconfont close",
6474
- onClick: M[0] || (M[0] = (...g) => o.handleCloseMeteo && o.handleCloseMeteo(...g))
6475
- }, "")
6519
+ c("div", RM, [
6520
+ c("div", hM, T(p.localDate), 1),
6521
+ c("div", mM, "( UTC " + T(p.positionOffset) + " )", 1)
6522
+ ])
6476
6523
  ]),
6477
- p.loading ? (l(), f("div", Mb, M[30] || (M[30] = [
6478
- c("img", { src: oM }, null, -1)
6479
- ]))) : (l(), f("div", iM, [
6480
- c("div", rM, [
6481
- c("div", nM, [
6482
- w(q, {
6483
- placement: "top",
6484
- effect: "light",
6485
- content: (s = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : s.name,
6486
- "show-after": 1e3
6487
- }, {
6488
- default: e0(() => {
6489
- var g, v, A0, n0;
6490
- return [
6491
- (v = (g = p.currentHourData) == null ? void 0 : g.weather) != null && v.url ? (l(), f("img", {
6524
+ X0(c("div", BM, [
6525
+ c("div", gM, [
6526
+ c("div", {
6527
+ class: J(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6528
+ onClick: M[1] || (M[1] = E0((R) => o.handleSelectTab(1), ["prevent"]))
6529
+ }, "Basis", 2),
6530
+ c("div", {
6531
+ class: J(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6532
+ onClick: M[2] || (M[2] = E0((R) => o.handleSelectTab(2), ["prevent"]))
6533
+ }, "Wave & Current", 2),
6534
+ c("div", {
6535
+ class: J(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6536
+ onClick: M[3] || (M[3] = E0((R) => o.handleSelectTab(3), ["prevent"]))
6537
+ }, "Sea Surface", 2)
6538
+ ]),
6539
+ X0(c("table", NM, [
6540
+ c("tr", yM, [
6541
+ M[8] || (M[8] = c("th", {
6542
+ rowspan: "1",
6543
+ colspan: "1",
6544
+ class: "tr-title"
6545
+ }, [
6546
+ $("Hours"),
6547
+ c("span", { class: "unit" }, "(LT)")
6548
+ ], -1)),
6549
+ (l(!0), f(j, null, G(p.tableData.hours, (R) => (l(), f("th", {
6550
+ rowspan: "1",
6551
+ colspan: "1",
6552
+ key: `HourL${R}`
6553
+ }, T(o.computeHourL(R)), 1))), 128))
6554
+ ]),
6555
+ c("tr", XM, [
6556
+ M[9] || (M[9] = c("th", {
6557
+ rowspan: "1",
6558
+ colspan: "1",
6559
+ class: "tr-title"
6560
+ }, [
6561
+ $("UTC"),
6562
+ c("span", { class: "unit" })
6563
+ ], -1)),
6564
+ (l(!0), f(j, null, G(p.tableData.hours, (R) => (l(), f("th", {
6565
+ rowspan: "1",
6566
+ colspan: "1",
6567
+ key: `HourZ${R}`
6568
+ }, T(o.computeHourZ(R)), 1))), 128))
6569
+ ]),
6570
+ c("tr", wM, [
6571
+ M[10] || (M[10] = c("th", {
6572
+ rowspan: "1",
6573
+ colspan: "1",
6574
+ class: "tr-title"
6575
+ }, null, -1)),
6576
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6577
+ rowspan: "1",
6578
+ colspan: "1",
6579
+ key: `weatherUrls${N}${R}`
6580
+ }, [
6581
+ C(q, {
6582
+ placement: "top",
6583
+ effect: "light",
6584
+ content: p.tableData.weatherNames[N],
6585
+ "show-after": 500
6586
+ }, {
6587
+ default: e0(() => [
6588
+ R ? (l(), f("img", {
6492
6589
  key: 0,
6493
- class: "iconfont icon",
6494
- style: { "margin-right": "5px" },
6495
- src: (n0 = (A0 = p.currentHourData) == null ? void 0 : A0.weather) == null ? void 0 : n0.url
6496
- }, null, 8, dM)) : (l(), f("span", sM))
6497
- ];
6498
- }),
6499
- _: 1
6500
- }, 8, ["content"]),
6501
- c("div", WM, [
6502
- c("div", null, [
6503
- $(T(o.roundPrecision((m = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : m.temp, 0)), 1),
6504
- M[4] || (M[4] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6505
- ])
6506
- ]),
6507
- c("div", lM, [
6508
- c("div", fM, [
6509
- M[5] || (M[5] = c("label", null, "Precip : ", -1)),
6510
- c("span", null, T(o.roundPrecision((h = (W = (L = p.currentHourData) == null ? void 0 : L.weather) == null ? void 0 : W.precip) == null ? void 0 : h.sum, 0)) + " mm", 1)
6511
- ]),
6512
- c("div", uM, [
6513
- M[6] || (M[6] = c("label", null, "Visibility : ", -1)),
6514
- c("span", null, T(o.roundPrecision((y = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : y.visibility, 0)) + " nm", 1)
6515
- ]),
6516
- c("div", LM, [
6517
- M[7] || (M[7] = c("label", null, "Wind : ", -1)),
6518
- c("span", null, T(o.roundPrecision((H = (N = (E = p.currentHourData) == null ? void 0 : E.weather) == null ? void 0 : N.wind) == null ? void 0 : H.kts, 1)) + " kts", 1)
6519
- ])
6520
- ])
6590
+ class: "iconfont weather-icon",
6591
+ src: R
6592
+ }, null, 8, CM)) : _("", !0)
6593
+ ]),
6594
+ _: 2
6595
+ }, 1032, ["content"])
6596
+ ]))), 128))
6597
+ ]),
6598
+ c("tr", vM, [
6599
+ M[11] || (M[11] = c("td", {
6600
+ rowspan: "1",
6601
+ colspan: "1",
6602
+ class: "tr-title"
6603
+ }, [
6604
+ $("Temp"),
6605
+ c("span", { class: "unit" }, "°C")
6606
+ ], -1)),
6607
+ (l(!0), f(j, null, G(p.tableData.temp, (R, N) => (l(), f("td", {
6608
+ rowspan: "1",
6609
+ colspan: "1",
6610
+ key: `weatherUrls${N}${R}`
6611
+ }, T(R), 1))), 128))
6612
+ ]),
6613
+ c("tr", TM, [
6614
+ M[12] || (M[12] = c("td", {
6615
+ rowspan: "1",
6616
+ colspan: "1",
6617
+ class: "tr-title"
6618
+ }, [
6619
+ $("Precip"),
6620
+ c("span", { class: "unit" }, "mm")
6621
+ ], -1)),
6622
+ (l(!0), f(j, null, G(p.tableData.precip1h, (R, N) => (l(), f("td", {
6623
+ rowspan: "1",
6624
+ colspan: "1",
6625
+ key: `precip1h${N}${R}`
6626
+ }, T(R), 1))), 128))
6521
6627
  ]),
6522
- c("div", RM, [
6523
- c("div", hM, T(p.localDate), 1),
6524
- c("div", mM, "( UTC " + T(p.positionOffset) + " )", 1)
6628
+ c("tr", EM, [
6629
+ M[13] || (M[13] = c("td", {
6630
+ rowspan: "1",
6631
+ colspan: "1",
6632
+ class: "tr-title"
6633
+ }, [
6634
+ $("Visibility"),
6635
+ c("span", { class: "unit" }, "nm")
6636
+ ], -1)),
6637
+ (l(!0), f(j, null, G(p.tableData.visibility, (R, N) => (l(), f("td", {
6638
+ rowspan: "1",
6639
+ colspan: "1",
6640
+ key: `visibility${N}${R}`
6641
+ }, T(R), 1))), 128))
6642
+ ]),
6643
+ c("tr", xM, [
6644
+ M[14] || (M[14] = c("td", {
6645
+ rowspan: "1",
6646
+ colspan: "1",
6647
+ class: "tr-title"
6648
+ }, [
6649
+ $("Wind"),
6650
+ c("span", { class: "unit" }, "kts")
6651
+ ], -1)),
6652
+ (l(!0), f(j, null, G(p.tableData.windSpeed, (R, N) => (l(), f("td", {
6653
+ rowspan: "1",
6654
+ colspan: "1",
6655
+ key: `windSpeed${N}${R}`
6656
+ }, [
6657
+ isNaN(p.tableData.windDir[N]) ? _("", !0) : (l(), f("span", {
6658
+ key: 0,
6659
+ class: "iconfont icon blue",
6660
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[N]}deg)` })
6661
+ }, "", 4)),
6662
+ c("span", null, T(R), 1)
6663
+ ]))), 128))
6525
6664
  ])
6665
+ ], 512), [
6666
+ [w0, p.activeIndex === 1]
6526
6667
  ]),
6527
- X0(c("div", BM, [
6528
- c("div", gM, [
6529
- c("div", {
6530
- class: J(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6531
- onClick: M[1] || (M[1] = E0((g) => o.handleSelectTab(1), ["prevent"]))
6532
- }, "Basis", 2),
6533
- c("div", {
6534
- class: J(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6535
- onClick: M[2] || (M[2] = E0((g) => o.handleSelectTab(2), ["prevent"]))
6536
- }, "Wave & Current", 2),
6537
- c("div", {
6538
- class: J(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6539
- onClick: M[3] || (M[3] = E0((g) => o.handleSelectTab(3), ["prevent"]))
6540
- }, "Sea Surface", 2)
6668
+ X0(c("table", IM, [
6669
+ c("tr", DM, [
6670
+ M[15] || (M[15] = c("th", {
6671
+ rowspan: "1",
6672
+ colspan: "1",
6673
+ class: "tr-title"
6674
+ }, [
6675
+ $("Hours"),
6676
+ c("span", { class: "unit" }, "(LT)")
6677
+ ], -1)),
6678
+ (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6679
+ rowspan: "1",
6680
+ colspan: "1",
6681
+ key: `currenthoursL${N}${R}`
6682
+ }, T(o.computeHourL(R)), 1))), 128))
6541
6683
  ]),
6542
- X0(c("table", NM, [
6543
- c("tr", yM, [
6544
- M[8] || (M[8] = c("th", {
6545
- rowspan: "1",
6546
- colspan: "1",
6547
- class: "tr-title"
6548
- }, [
6549
- $("Hours"),
6550
- c("span", { class: "unit" }, "(LT)")
6551
- ], -1)),
6552
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6553
- rowspan: "1",
6554
- colspan: "1",
6555
- key: Math.random()
6556
- }, T(o.computeHourL(g)), 1))), 128))
6557
- ]),
6558
- c("tr", XM, [
6559
- M[9] || (M[9] = c("th", {
6560
- rowspan: "1",
6561
- colspan: "1",
6562
- class: "tr-title"
6563
- }, [
6564
- $("UTC"),
6565
- c("span", { class: "unit" })
6566
- ], -1)),
6567
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6568
- rowspan: "1",
6569
- colspan: "1",
6570
- key: Math.random()
6571
- }, T(o.computeHourZ(g)), 1))), 128))
6572
- ]),
6573
- c("tr", wM, [
6574
- M[10] || (M[10] = c("th", {
6575
- rowspan: "1",
6576
- colspan: "1",
6577
- class: "tr-title"
6578
- }, null, -1)),
6579
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (g, v) => (l(), f("th", {
6580
- rowspan: "1",
6581
- colspan: "1",
6582
- key: Math.random()
6583
- }, [
6584
- w(q, {
6585
- placement: "top",
6586
- effect: "light",
6587
- content: p.tableData.weatherNames[v],
6588
- "show-after": 500
6589
- }, {
6590
- default: e0(() => [
6591
- g ? (l(), f("img", {
6592
- key: 0,
6593
- class: "iconfont weather-icon",
6594
- src: g
6595
- }, null, 8, CM)) : _("", !0)
6596
- ]),
6597
- _: 2
6598
- }, 1032, ["content"])
6599
- ]))), 128))
6600
- ]),
6601
- c("tr", vM, [
6602
- M[11] || (M[11] = c("td", {
6603
- rowspan: "1",
6604
- colspan: "1",
6605
- class: "tr-title"
6606
- }, [
6607
- $("Temp"),
6608
- c("span", { class: "unit" }, "°C")
6609
- ], -1)),
6610
- (l(!0), f(j, null, G(p.tableData.temp, (g) => (l(), f("td", {
6611
- rowspan: "1",
6612
- colspan: "1",
6613
- key: Math.random()
6614
- }, T(g), 1))), 128))
6615
- ]),
6616
- c("tr", TM, [
6617
- M[12] || (M[12] = c("td", {
6618
- rowspan: "1",
6619
- colspan: "1",
6620
- class: "tr-title"
6621
- }, [
6622
- $("Precip"),
6623
- c("span", { class: "unit" }, "mm")
6624
- ], -1)),
6625
- (l(!0), f(j, null, G(p.tableData.precip1h, (g) => (l(), f("td", {
6626
- rowspan: "1",
6627
- colspan: "1",
6628
- key: Math.random()
6629
- }, T(g), 1))), 128))
6630
- ]),
6631
- c("tr", EM, [
6632
- M[13] || (M[13] = c("td", {
6633
- rowspan: "1",
6634
- colspan: "1",
6635
- class: "tr-title"
6636
- }, [
6637
- $("Visibility"),
6638
- c("span", { class: "unit" }, "nm")
6639
- ], -1)),
6640
- (l(!0), f(j, null, G(p.tableData.visibility, (g) => (l(), f("td", {
6641
- rowspan: "1",
6642
- colspan: "1",
6643
- key: Math.random()
6644
- }, T(g), 1))), 128))
6645
- ]),
6646
- c("tr", xM, [
6647
- M[14] || (M[14] = c("td", {
6648
- rowspan: "1",
6649
- colspan: "1",
6650
- class: "tr-title"
6651
- }, [
6652
- $("Wind"),
6653
- c("span", { class: "unit" }, "kts")
6654
- ], -1)),
6655
- (l(!0), f(j, null, G(p.tableData.windSpeed, (g, v) => (l(), f("td", {
6656
- rowspan: "1",
6657
- colspan: "1",
6658
- key: Math.random()
6659
- }, [
6660
- isNaN(p.tableData.windDir[v]) ? _("", !0) : (l(), f("span", {
6661
- key: 0,
6662
- class: "iconfont icon blue",
6663
- style: O0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[v]}deg)` })
6664
- }, "", 4)),
6665
- c("span", null, T(g), 1)
6666
- ]))), 128))
6667
- ])
6668
- ], 512), [
6669
- [w0, p.activeIndex === 1]
6684
+ c("tr", PM, [
6685
+ M[16] || (M[16] = c("th", {
6686
+ rowspan: "1",
6687
+ colspan: "1",
6688
+ class: "tr-title"
6689
+ }, [
6690
+ $("UTC"),
6691
+ c("span", { class: "unit" })
6692
+ ], -1)),
6693
+ (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6694
+ rowspan: "1",
6695
+ colspan: "1",
6696
+ key: `currenthoursZ${N}${R}`
6697
+ }, T(o.computeHourZ(R)), 1))), 128))
6670
6698
  ]),
6671
- X0(c("table", IM, [
6672
- c("tr", DM, [
6673
- M[15] || (M[15] = c("th", {
6674
- rowspan: "1",
6675
- colspan: "1",
6676
- class: "tr-title"
6677
- }, [
6678
- $("Hours"),
6679
- c("span", { class: "unit" }, "(LT)")
6680
- ], -1)),
6681
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6682
- rowspan: "1",
6683
- colspan: "1",
6684
- key: Math.random()
6685
- }, T(o.computeHourL(g)), 1))), 128))
6686
- ]),
6687
- c("tr", PM, [
6688
- M[16] || (M[16] = c("th", {
6689
- rowspan: "1",
6690
- colspan: "1",
6691
- class: "tr-title"
6692
- }, [
6693
- $("UTC"),
6694
- c("span", { class: "unit" })
6695
- ], -1)),
6696
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6697
- rowspan: "1",
6698
- colspan: "1",
6699
- key: Math.random()
6700
- }, T(o.computeHourZ(g)), 1))), 128))
6701
- ]),
6702
- c("tr", SM, [
6703
- M[17] || (M[17] = c("th", {
6704
- rowspan: "1",
6705
- colspan: "1"
6706
- }, null, -1)),
6707
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (g, v) => (l(), f("th", {
6708
- rowspan: "1",
6709
- colspan: "1",
6710
- key: Math.random()
6711
- }, [
6712
- w(q, {
6713
- placement: "top",
6714
- effect: "light",
6715
- content: p.tableData.weatherNames[v],
6716
- "show-after": 500
6717
- }, {
6718
- default: e0(() => [
6719
- g ? (l(), f("img", {
6720
- key: 0,
6721
- class: "iconfont weather-icon",
6722
- src: g
6723
- }, null, 8, kM)) : _("", !0)
6724
- ]),
6725
- _: 2
6726
- }, 1032, ["content"])
6727
- ]))), 128))
6728
- ]),
6729
- c("tr", QM, [
6730
- M[18] || (M[18] = c("td", {
6731
- rowspan: "1",
6732
- colspan: "1",
6733
- class: "tr-title"
6734
- }, [
6735
- $("Sig Wave"),
6736
- c("span", { class: "unit" }, "m")
6737
- ], -1)),
6738
- (l(!0), f(j, null, G(p.tableData.sigwaveHeight, (g, v) => (l(), f("td", {
6739
- rowspan: "1",
6740
- colspan: "1",
6741
- key: Math.random()
6742
- }, [
6743
- isNaN(p.tableData.sigwaveDir[v]) ? _("", !0) : (l(), f("span", {
6744
- key: 0,
6745
- class: "iconfont icon blue",
6746
- style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[v]}deg)` })
6747
- }, "", 4)),
6748
- c("span", null, T(g), 1)
6749
- ]))), 128))
6750
- ]),
6751
- c("tr", HM, [
6752
- M[19] || (M[19] = c("td", {
6753
- rowspan: "1",
6754
- colspan: "1",
6755
- class: "tr-title"
6756
- }, [
6757
- $("Wind Wave"),
6758
- c("span", { class: "unit" }, "m")
6759
- ], -1)),
6760
- (l(!0), f(j, null, G(p.tableData.windwaveHeight, (g, v) => (l(), f("td", {
6761
- rowspan: "1",
6762
- colspan: "1",
6763
- key: Math.random()
6764
- }, [
6765
- isNaN(p.tableData.sigwaveDir[v]) ? _("", !0) : (l(), f("span", {
6766
- key: 0,
6767
- class: "iconfont icon orange",
6768
- style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[v]}deg)` })
6769
- }, "", 4)),
6770
- c("span", null, T(g), 1)
6771
- ]))), 128))
6772
- ]),
6773
- c("tr", _M, [
6774
- M[20] || (M[20] = c("td", {
6775
- rowspan: "1",
6776
- colspan: "1",
6777
- class: "tr-title"
6778
- }, [
6779
- $("Swell"),
6780
- c("span", { class: "unit" }, "m")
6781
- ], -1)),
6782
- (l(!0), f(j, null, G(p.tableData.swellHeight, (g, v) => (l(), f("td", {
6783
- rowspan: "1",
6784
- colspan: "1",
6785
- key: Math.random()
6786
- }, [
6787
- isNaN(p.tableData.swellDir[v]) ? _("", !0) : (l(), f("span", {
6788
- key: 0,
6789
- class: "iconfont icon orange",
6790
- style: O0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[v]}deg)` })
6791
- }, "", 4)),
6792
- c("span", null, T(g), 1)
6793
- ]))), 128))
6794
- ]),
6795
- c("tr", jM, [
6796
- M[21] || (M[21] = c("td", {
6797
- rowspan: "1",
6798
- colspan: "1",
6799
- class: "tr-title"
6800
- }, [
6801
- $("Current"),
6802
- c("span", { class: "unit" }, "kts")
6803
- ], -1)),
6804
- (l(!0), f(j, null, G(p.tableData.currentSpeed, (g, v) => (l(), f("td", {
6805
- rowspan: "1",
6806
- colspan: "1",
6807
- key: Math.random()
6808
- }, [
6809
- isNaN(p.tableData.currentDir[v]) ? _("", !0) : (l(), f("span", {
6810
- key: 0,
6811
- class: "iconfont icon gray",
6812
- id: "meteoGrayIcon",
6813
- style: O0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[v]}deg)` })
6814
- }, "", 4)),
6815
- c("span", null, T(g), 1)
6816
- ]))), 128))
6817
- ])
6818
- ], 512), [
6819
- [w0, p.activeIndex === 2]
6699
+ c("tr", SM, [
6700
+ M[17] || (M[17] = c("th", {
6701
+ rowspan: "1",
6702
+ colspan: "1"
6703
+ }, null, -1)),
6704
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6705
+ rowspan: "1",
6706
+ colspan: "1",
6707
+ key: `currentweatherUrls${N}${R}`
6708
+ }, [
6709
+ C(q, {
6710
+ placement: "top",
6711
+ effect: "light",
6712
+ content: p.tableData.weatherNames[N],
6713
+ "show-after": 500
6714
+ }, {
6715
+ default: e0(() => [
6716
+ R ? (l(), f("img", {
6717
+ key: 0,
6718
+ class: "iconfont weather-icon",
6719
+ src: R
6720
+ }, null, 8, kM)) : _("", !0)
6721
+ ]),
6722
+ _: 2
6723
+ }, 1032, ["content"])
6724
+ ]))), 128))
6820
6725
  ]),
6821
- X0(c("table", FM, [
6822
- c("tr", GM, [
6823
- M[22] || (M[22] = c("th", {
6824
- rowspan: "1",
6825
- colspan: "1",
6826
- class: "tr-title"
6827
- }, [
6828
- $("Hours"),
6829
- c("span", { class: "unit" }, "(LT)")
6830
- ], -1)),
6831
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6832
- rowspan: "1",
6833
- colspan: "1",
6834
- key: Math.random()
6835
- }, T(o.computeHourL(g)), 1))), 128))
6836
- ]),
6837
- c("tr", UM, [
6838
- M[23] || (M[23] = c("th", {
6839
- rowspan: "1",
6840
- colspan: "1",
6841
- class: "tr-title"
6842
- }, [
6843
- $("UTC"),
6844
- c("span", { class: "unit" })
6845
- ], -1)),
6846
- (l(!0), f(j, null, G(p.tableData.hours, (g) => (l(), f("th", {
6847
- rowspan: "1",
6848
- colspan: "1",
6849
- key: Math.random()
6850
- }, T(o.computeHourZ(g)), 1))), 128))
6851
- ]),
6852
- c("tr", KM, [
6853
- M[24] || (M[24] = c("th", {
6854
- rowspan: "1",
6855
- colspan: "1",
6856
- class: "tr-title"
6857
- }, null, -1)),
6858
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (g, v) => (l(), f("th", {
6859
- rowspan: "1",
6860
- colspan: "1",
6861
- key: Math.random()
6862
- }, [
6863
- w(q, {
6864
- placement: "top",
6865
- effect: "light",
6866
- content: p.tableData.weatherNames[v],
6867
- "show-after": 500
6868
- }, {
6869
- default: e0(() => [
6870
- g ? (l(), f("img", {
6871
- key: 0,
6872
- class: "iconfont weather-icon",
6873
- src: g
6874
- }, null, 8, JM)) : _("", !0)
6875
- ]),
6876
- _: 2
6877
- }, 1032, ["content"])
6878
- ]))), 128))
6879
- ]),
6880
- c("tr", YM, [
6881
- M[25] || (M[25] = c("td", {
6882
- rowspan: "1",
6883
- colspan: "1",
6884
- class: "tr-title"
6885
- }, [
6886
- $("SeaLevel"),
6887
- c("span", { class: "unit" }, "m")
6888
- ], -1)),
6889
- (l(!0), f(j, null, G(p.tableData.seaLevel, (g) => (l(), f("td", {
6890
- rowspan: "1",
6891
- colspan: "1",
6892
- key: Math.random()
6893
- }, T(g), 1))), 128))
6894
- ]),
6895
- c("tr", VM, [
6896
- M[26] || (M[26] = c("td", {
6897
- rowspan: "1",
6898
- colspan: "1",
6899
- class: "tr-title"
6900
- }, [
6901
- $("SeaTemp"),
6902
- c("span", { class: "unit" }, "°C")
6903
- ], -1)),
6904
- (l(!0), f(j, null, G(p.tableData.seaTemp, (g) => (l(), f("td", {
6905
- rowspan: "1",
6906
- colspan: "1",
6907
- key: Math.random()
6908
- }, T(g), 1))), 128))
6909
- ]),
6910
- c("tr", ZM, [
6911
- M[27] || (M[27] = c("td", {
6912
- rowspan: "1",
6913
- colspan: "1",
6914
- class: "tr-title"
6915
- }, [
6916
- c("span", { class: "unit" })
6917
- ], -1)),
6918
- (l(!0), f(j, null, G(p.tableData.seaTemp, (g) => (l(), f("td", {
6919
- rowspan: "1",
6920
- colspan: "1",
6921
- key: Math.random()
6922
- }))), 128))
6923
- ]),
6924
- c("tr", $M, [
6925
- M[28] || (M[28] = c("td", {
6926
- rowspan: "1",
6927
- colspan: "1",
6928
- class: "tr-title"
6929
- }, [
6930
- c("span", { class: "unit" })
6931
- ], -1)),
6932
- (l(!0), f(j, null, G(p.tableData.seaTemp, (g) => (l(), f("td", {
6933
- rowspan: "1",
6934
- colspan: "1",
6935
- key: Math.random()
6936
- }))), 128))
6937
- ])
6938
- ], 512), [
6939
- [w0, p.activeIndex === 3]
6726
+ c("tr", QM, [
6727
+ M[18] || (M[18] = c("td", {
6728
+ rowspan: "1",
6729
+ colspan: "1",
6730
+ class: "tr-title"
6731
+ }, [
6732
+ $("Sig Wave"),
6733
+ c("span", { class: "unit" }, "m")
6734
+ ], -1)),
6735
+ (l(!0), f(j, null, G(p.tableData.sigwaveHeight, (R, N) => (l(), f("td", {
6736
+ rowspan: "1",
6737
+ colspan: "1",
6738
+ key: `sigwaveHeight${N}${R}`
6739
+ }, [
6740
+ isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6741
+ key: 0,
6742
+ class: "iconfont icon blue",
6743
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6744
+ }, "", 4)),
6745
+ c("span", null, T(R), 1)
6746
+ ]))), 128))
6747
+ ]),
6748
+ c("tr", HM, [
6749
+ M[19] || (M[19] = c("td", {
6750
+ rowspan: "1",
6751
+ colspan: "1",
6752
+ class: "tr-title"
6753
+ }, [
6754
+ $("Wind Wave"),
6755
+ c("span", { class: "unit" }, "m")
6756
+ ], -1)),
6757
+ (l(!0), f(j, null, G(p.tableData.windwaveHeight, (R, N) => (l(), f("td", {
6758
+ rowspan: "1",
6759
+ colspan: "1",
6760
+ key: `windwaveHeight${N}${R}`
6761
+ }, [
6762
+ isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6763
+ key: 0,
6764
+ class: "iconfont icon orange",
6765
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6766
+ }, "", 4)),
6767
+ c("span", null, T(R), 1)
6768
+ ]))), 128))
6769
+ ]),
6770
+ c("tr", _M, [
6771
+ M[20] || (M[20] = c("td", {
6772
+ rowspan: "1",
6773
+ colspan: "1",
6774
+ class: "tr-title"
6775
+ }, [
6776
+ $("Swell"),
6777
+ c("span", { class: "unit" }, "m")
6778
+ ], -1)),
6779
+ (l(!0), f(j, null, G(p.tableData.swellHeight, (R, N) => (l(), f("td", {
6780
+ rowspan: "1",
6781
+ colspan: "1",
6782
+ key: `swellHeight${N}${R}`
6783
+ }, [
6784
+ isNaN(p.tableData.swellDir[N]) ? _("", !0) : (l(), f("span", {
6785
+ key: 0,
6786
+ class: "iconfont icon orange",
6787
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[N]}deg)` })
6788
+ }, "", 4)),
6789
+ c("span", null, T(R), 1)
6790
+ ]))), 128))
6791
+ ]),
6792
+ c("tr", jM, [
6793
+ M[21] || (M[21] = c("td", {
6794
+ rowspan: "1",
6795
+ colspan: "1",
6796
+ class: "tr-title"
6797
+ }, [
6798
+ $("Current"),
6799
+ c("span", { class: "unit" }, "kts")
6800
+ ], -1)),
6801
+ (l(!0), f(j, null, G(p.tableData.currentSpeed, (R, N) => (l(), f("td", {
6802
+ rowspan: "1",
6803
+ colspan: "1",
6804
+ key: `currentSpeed${N}${R}`
6805
+ }, [
6806
+ isNaN(p.tableData.currentDir[N]) ? _("", !0) : (l(), f("span", {
6807
+ key: 0,
6808
+ class: "iconfont icon gray",
6809
+ id: "meteoGrayIcon",
6810
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[N]}deg)` })
6811
+ }, "", 4)),
6812
+ c("span", null, T(R), 1)
6813
+ ]))), 128))
6940
6814
  ])
6941
6815
  ], 512), [
6942
- [w0, ((Y = (U = p.tableData) == null ? void 0 : U.hours) == null ? void 0 : Y.length) > 0]
6816
+ [w0, p.activeIndex === 2]
6943
6817
  ]),
6944
- M[29] || (M[29] = c("div", { class: "more" }, "More >>", -1))
6945
- ]))
6946
- ])
6947
- ], 512), [
6948
- [w0, p.showMeteo]
6818
+ X0(c("table", FM, [
6819
+ c("tr", GM, [
6820
+ M[22] || (M[22] = c("th", {
6821
+ rowspan: "1",
6822
+ colspan: "1",
6823
+ class: "tr-title"
6824
+ }, [
6825
+ $("Hours"),
6826
+ c("span", { class: "unit" }, "(LT)")
6827
+ ], -1)),
6828
+ (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6829
+ rowspan: "1",
6830
+ colspan: "1",
6831
+ key: `seahoursL${N}${R}`
6832
+ }, T(o.computeHourL(R)), 1))), 128))
6833
+ ]),
6834
+ c("tr", UM, [
6835
+ M[23] || (M[23] = c("th", {
6836
+ rowspan: "1",
6837
+ colspan: "1",
6838
+ class: "tr-title"
6839
+ }, [
6840
+ $("UTC"),
6841
+ c("span", { class: "unit" })
6842
+ ], -1)),
6843
+ (l(!0), f(j, null, G(p.tableData.hours, (R, N) => (l(), f("th", {
6844
+ rowspan: "1",
6845
+ colspan: "1",
6846
+ key: `seahoursZ${N}${R}`
6847
+ }, T(o.computeHourZ(R)), 1))), 128))
6848
+ ]),
6849
+ c("tr", KM, [
6850
+ M[24] || (M[24] = c("th", {
6851
+ rowspan: "1",
6852
+ colspan: "1",
6853
+ class: "tr-title"
6854
+ }, null, -1)),
6855
+ (l(!0), f(j, null, G(p.tableData.weatherUrls, (R, N) => (l(), f("th", {
6856
+ rowspan: "1",
6857
+ colspan: "1",
6858
+ key: `seaweatherUrls${N}${R}`
6859
+ }, [
6860
+ C(q, {
6861
+ placement: "top",
6862
+ effect: "light",
6863
+ content: p.tableData.weatherNames[N],
6864
+ "show-after": 500
6865
+ }, {
6866
+ default: e0(() => [
6867
+ R ? (l(), f("img", {
6868
+ key: 0,
6869
+ class: "iconfont weather-icon",
6870
+ src: R
6871
+ }, null, 8, JM)) : _("", !0)
6872
+ ]),
6873
+ _: 2
6874
+ }, 1032, ["content"])
6875
+ ]))), 128))
6876
+ ]),
6877
+ c("tr", YM, [
6878
+ M[25] || (M[25] = c("td", {
6879
+ rowspan: "1",
6880
+ colspan: "1",
6881
+ class: "tr-title"
6882
+ }, [
6883
+ $("SeaLevel"),
6884
+ c("span", { class: "unit" }, "m")
6885
+ ], -1)),
6886
+ (l(!0), f(j, null, G(p.tableData.seaLevel, (R, N) => (l(), f("td", {
6887
+ rowspan: "1",
6888
+ colspan: "1",
6889
+ key: `SeaLevel${N}${R}`
6890
+ }, T(R), 1))), 128))
6891
+ ]),
6892
+ c("tr", VM, [
6893
+ M[26] || (M[26] = c("td", {
6894
+ rowspan: "1",
6895
+ colspan: "1",
6896
+ class: "tr-title"
6897
+ }, [
6898
+ $("SeaTemp"),
6899
+ c("span", { class: "unit" }, "°C")
6900
+ ], -1)),
6901
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6902
+ rowspan: "1",
6903
+ colspan: "1",
6904
+ key: `SeaTemp${N}${R}`
6905
+ }, T(R), 1))), 128))
6906
+ ]),
6907
+ c("tr", ZM, [
6908
+ M[27] || (M[27] = c("td", {
6909
+ rowspan: "1",
6910
+ colspan: "1",
6911
+ class: "tr-title"
6912
+ }, [
6913
+ c("span", { class: "unit" })
6914
+ ], -1)),
6915
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6916
+ rowspan: "1",
6917
+ colspan: "1",
6918
+ key: `seaTemp-${N}${R}`
6919
+ }))), 128))
6920
+ ]),
6921
+ c("tr", $M, [
6922
+ M[28] || (M[28] = c("td", {
6923
+ rowspan: "1",
6924
+ colspan: "1",
6925
+ class: "tr-title"
6926
+ }, [
6927
+ c("span", { class: "unit" })
6928
+ ], -1)),
6929
+ (l(!0), f(j, null, G(p.tableData.seaTemp, (R, N) => (l(), f("td", {
6930
+ rowspan: "1",
6931
+ colspan: "1",
6932
+ key: `seaTemp--${N}${R}`
6933
+ }))), 128))
6934
+ ])
6935
+ ], 512), [
6936
+ [w0, p.activeIndex === 3]
6937
+ ])
6938
+ ], 512), [
6939
+ [w0, ((Y = (U = p.tableData) == null ? void 0 : U.hours) == null ? void 0 : Y.length) > 0]
6940
+ ]),
6941
+ M[29] || (M[29] = c("div", { class: "more" }, "More >>", -1))
6942
+ ]))
6949
6943
  ])
6944
+ ], 512)), [
6945
+ [w0, p.showMeteo]
6950
6946
  ]);
6951
6947
  }
6952
- const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-a48a15fa"]]), pb = {
6948
+ const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-1e50c527"]]), pb = {
6953
6949
  name: "IdmWarZone",
6954
6950
  props: {
6955
6951
  map: {
@@ -7417,7 +7413,7 @@ const Wb = {
7417
7413
  type: String
7418
7414
  }
7419
7415
  },
7420
- emits: ["port"],
7416
+ emits: ["handleIdmPoint"],
7421
7417
  data() {
7422
7418
  return {
7423
7419
  source: "port-source",
@@ -7460,9 +7456,6 @@ const Wb = {
7460
7456
  this.marker ? this.marker.setLngLat([z.lngLat.lng, z.lngLat.lat]) : this.marker = new y0.Marker(p).setLngLat([z.lngLat.lng, z.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
7461
7457
  }
7462
7458
  },
7463
- handleEmit() {
7464
- this.$emit("port", this.form);
7465
- },
7466
7459
  handleRender() {
7467
7460
  var z;
7468
7461
  this.map ? this.port && (this.map.getSource(this.source) ? (z = this.map) == null || z.getSource(this.source).setData(this.port) : (this.map.addSource(this.source, {
@@ -7494,13 +7487,19 @@ const Wb = {
7494
7487
  },
7495
7488
  handleClear() {
7496
7489
  this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
7490
+ },
7491
+ handleClickMeteo(z) {
7492
+ this.$emit("handleIdmPoint", z);
7497
7493
  }
7498
7494
  }
7499
- }, lb = { id: "port-info" }, fb = { class: "port-box" }, ub = { class: "flex-start" }, Lb = { class: "flex-start" }, Rb = { class: "flex-start" }, hb = {
7495
+ }, lb = {
7496
+ ref: "idmPortInfo",
7497
+ id: "port-info"
7498
+ }, fb = { class: "port-box" }, ub = { class: "flex-start" }, Lb = { class: "flex-start" }, Rb = { class: "flex-start" }, hb = {
7500
7499
  class: "flex-start",
7501
7500
  style: { "align-items": "flex-start" }
7502
- };
7503
- function mb(z, M, b, O, p, o) {
7501
+ }, mb = { class: "meteo-forecast flex-end" };
7502
+ function Bb(z, M, b, O, p, o) {
7504
7503
  return X0((l(), f("div", lb, [
7505
7504
  c("div", {
7506
7505
  class: "close iconfont",
@@ -7509,9 +7508,7 @@ function mb(z, M, b, O, p, o) {
7509
7508
  c("div", fb, [
7510
7509
  c("div", ub, [
7511
7510
  M[2] || (M[2] = c("label", null, "Name : ", -1)),
7512
- c("span", {
7513
- onClick: M[1] || (M[1] = (...A) => o.handleEmit && o.handleEmit(...A))
7514
- }, T(p.form.name), 1)
7511
+ c("span", null, T(p.form.name), 1)
7515
7512
  ]),
7516
7513
  c("div", Lb, [
7517
7514
  M[3] || (M[3] = c("label", null, "Position : ", -1)),
@@ -7524,13 +7521,18 @@ function mb(z, M, b, O, p, o) {
7524
7521
  c("div", hb, [
7525
7522
  M[5] || (M[5] = c("label", null, "Region : ", -1)),
7526
7523
  c("span", null, T(p.form.zoneName || "-"), 1)
7524
+ ]),
7525
+ c("div", mb, [
7526
+ c("span", {
7527
+ onClick: M[1] || (M[1] = (A) => o.handleClickMeteo(p.form))
7528
+ }, "Meteo Forecast")
7527
7529
  ])
7528
7530
  ])
7529
7531
  ], 512)), [
7530
7532
  [w0, p.showPort]
7531
7533
  ]);
7532
7534
  }
7533
- const Bb = /* @__PURE__ */ k(Wb, [["render", mb], ["__scopeId", "data-v-c07e4c45"]]), gb = {
7535
+ const gb = /* @__PURE__ */ k(Wb, [["render", Bb], ["__scopeId", "data-v-56879f0c"]]), Nb = {
7534
7536
  name: "IdmLoadLine",
7535
7537
  props: {
7536
7538
  map: {
@@ -7600,10 +7602,10 @@ const Bb = /* @__PURE__ */ k(Wb, [["render", mb], ["__scopeId", "data-v-c07e4c45
7600
7602
  }
7601
7603
  }
7602
7604
  };
7603
- function Nb(z, M, b, O, p, o) {
7605
+ function yb(z, M, b, O, p, o) {
7604
7606
  return l(), f("div");
7605
7607
  }
7606
- const yb = /* @__PURE__ */ k(gb, [["render", Nb]]), Xb = {
7608
+ const Xb = /* @__PURE__ */ k(Nb, [["render", yb]]), wb = {
7607
7609
  name: "IdmTimezone",
7608
7610
  props: {
7609
7611
  map: {
@@ -7768,10 +7770,10 @@ const yb = /* @__PURE__ */ k(gb, [["render", Nb]]), Xb = {
7768
7770
  }
7769
7771
  }
7770
7772
  };
7771
- function wb(z, M, b, O, p, o) {
7773
+ function Cb(z, M, b, O, p, o) {
7772
7774
  return l(), f("div");
7773
7775
  }
7774
- const Cb = /* @__PURE__ */ k(Xb, [["render", wb]]), vb = {
7776
+ const vb = /* @__PURE__ */ k(wb, [["render", Cb]]), Tb = {
7775
7777
  name: "IdmVoluntaryReportingArea",
7776
7778
  props: {
7777
7779
  map: {
@@ -7859,10 +7861,10 @@ const Cb = /* @__PURE__ */ k(Xb, [["render", wb]]), vb = {
7859
7861
  }
7860
7862
  }
7861
7863
  };
7862
- function Tb(z, M, b, O, p, o) {
7864
+ function Eb(z, M, b, O, p, o) {
7863
7865
  return l(), f("div");
7864
7866
  }
7865
- const Eb = /* @__PURE__ */ k(vb, [["render", Tb]]), xb = {
7867
+ const xb = /* @__PURE__ */ k(Tb, [["render", Eb]]), Ib = {
7866
7868
  name: "IdmSpecialArea",
7867
7869
  props: {
7868
7870
  map: {
@@ -7952,10 +7954,10 @@ const Eb = /* @__PURE__ */ k(vb, [["render", Tb]]), xb = {
7952
7954
  }
7953
7955
  }
7954
7956
  };
7955
- function Ib(z, M, b, O, p, o) {
7957
+ function Db(z, M, b, O, p, o) {
7956
7958
  return l(), f("div");
7957
7959
  }
7958
- const Db = /* @__PURE__ */ k(xb, [["render", Ib]]), Pb = {
7960
+ const Pb = /* @__PURE__ */ k(Ib, [["render", Db]]), Sb = {
7959
7961
  name: "IdmTerminator",
7960
7962
  props: {
7961
7963
  map: {
@@ -8004,11 +8006,11 @@ const Db = /* @__PURE__ */ k(xb, [["render", Ib]]), Pb = {
8004
8006
  }
8005
8007
  }
8006
8008
  };
8007
- function Sb(z, M, b, O, p, o) {
8009
+ function kb(z, M, b, O, p, o) {
8008
8010
  return l(), f("div");
8009
8011
  }
8010
- const kb = /* @__PURE__ */ k(Pb, [["render", Sb]]);
8011
- const Qb = {
8012
+ const Qb = /* @__PURE__ */ k(Sb, [["render", kb]]);
8013
+ const Hb = {
8012
8014
  name: "IdmLatLng",
8013
8015
  props: {
8014
8016
  map: {
@@ -8115,7 +8117,7 @@ const Qb = {
8115
8117
  handleZoomEnd() {
8116
8118
  var M;
8117
8119
  const z = this.handleComputeLatLngs();
8118
- (M = this.map) == null || M.getSource(this.source).setData(C.featureCollection(z));
8120
+ (M = this.map) == null || M.getSource(this.source).setData(v.featureCollection(z));
8119
8121
  },
8120
8122
  handleRender() {
8121
8123
  if (this.map) {
@@ -8164,7 +8166,7 @@ const Qb = {
8164
8166
  }
8165
8167
  }
8166
8168
  };
8167
- function Hb(z, M, b, O, p, o) {
8169
+ function _b(z, M, b, O, p, o) {
8168
8170
  return p.lngLat ? (l(), f("div", {
8169
8171
  key: 0,
8170
8172
  class: "lat-lng-tip",
@@ -8175,7 +8177,7 @@ function Hb(z, M, b, O, p, o) {
8175
8177
  c("span", null, T(p.lngLat.lng.pretty), 1)
8176
8178
  ], 4)) : _("", !0);
8177
8179
  }
8178
- const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c"]]), _b = {
8180
+ const U0 = /* @__PURE__ */ k(Hb, [["render", _b], ["__scopeId", "data-v-ad66a24c"]]), jb = {
8179
8181
  name: "IdmMeasure",
8180
8182
  props: {
8181
8183
  map: {
@@ -8239,22 +8241,22 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8239
8241
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8240
8242
  const s = this.geojson.filter((W) => W.id === M.split("-")[0])[0];
8241
8243
  this.pointMarkers[s.id].filter((W) => {
8242
- var h;
8243
- return ((h = W._element) == null ? void 0 : h.id) === M;
8244
+ var m;
8245
+ return ((m = W._element) == null ? void 0 : m.id) === M;
8244
8246
  })[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]);
8245
- let m;
8246
- s.features.forEach((W, h) => {
8247
+ let B;
8248
+ s.features.forEach((W, m) => {
8247
8249
  if (W.geometry.type === "Point" && W.properties.id == M.split("-")[1]) {
8248
- m = h;
8250
+ B = m;
8249
8251
  return;
8250
8252
  }
8251
8253
  });
8252
8254
  const L = s.features.filter((W) => W.geometry.type === "Point");
8253
8255
  this.handleTmpPointUpdate(
8254
8256
  s,
8255
- L[m - 1],
8256
- { 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[m].properties },
8257
- m === L.length - 1 ? void 0 : L[m + 1]
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]
8258
8260
  );
8259
8261
  }
8260
8262
  },
@@ -8267,8 +8269,8 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8267
8269
  var W;
8268
8270
  return ((W = L._element) == null ? void 0 : W.id) === M;
8269
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]);
8270
- const m = s.features.filter((L) => L.geometry.type === "Point" && L.properties.id == M.split("-")[1])[0];
8271
- m.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((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
8274
  }
8273
8275
  },
8274
8276
  handleContextmenu(z) {
@@ -8295,8 +8297,8 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8295
8297
  q.features = q.features.filter((r) => r.geometry.type === "Point" && r.properties.id !== t[1]), this.handlePointUpdate(q);
8296
8298
  } else if (M !== "marker-label") {
8297
8299
  let t = this.geojson.at(-1);
8298
- t || (t = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8299
- const q = C.feature(
8300
+ t || (t = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8301
+ const q = v.feature(
8300
8302
  {
8301
8303
  type: "Point",
8302
8304
  coordinates: [z.lngLat.lng, z.lngLat.lat]
@@ -8319,7 +8321,7 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8319
8321
  b = Z.roundPrecision(b + a, 2);
8320
8322
  let s;
8321
8323
  t.mode === "RL" ? s = Z.convertToMonotonicLng([q, r]) : s = Z.convertToMonotonicLng(g0.interpolateCoordinates(q, r, 200));
8322
- const d = C.lineString(s.map((m) => [m.lng, m.lat]));
8324
+ const d = v.lineString(s.map((B) => [B.lng, B.lat]));
8323
8325
  d.properties.dist = a, d.properties.bearing = n, d.properties.total = b, O.push(d);
8324
8326
  }
8325
8327
  M.push(...O), z.total = b;
@@ -8327,14 +8329,14 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8327
8329
  return this.handleRender(z), z;
8328
8330
  },
8329
8331
  handleTmpPointUpdate(z, M, b, O) {
8330
- const p = C.featureCollection([]);
8332
+ const p = v.featureCollection([]);
8331
8333
  let o, A;
8332
8334
  if (M) {
8333
8335
  const q = M.properties, r = { lng: M.geometry.coordinates[0], lat: M.geometry.coordinates[1] }, a = { lng: b.lng, lat: b.lat };
8334
8336
  o = g0.calculateDistance(r, a, q.mode === "RL", 2), A = g0.calculateBearing(r, a, q.mode === "RL", 2);
8335
8337
  let n;
8336
8338
  q.mode === "RL" ? n = Z.convertToMonotonicLng([r, a]) : n = Z.convertToMonotonicLng(g0.interpolateCoordinates(r, a, 200));
8337
- const s = C.lineString(n.map((d) => [d.lng, d.lat]));
8339
+ const s = v.lineString(n.map((d) => [d.lng, d.lat]));
8338
8340
  s.properties.dist = o, s.properties.bearing = A, p.features.push(s);
8339
8341
  }
8340
8342
  if (O) {
@@ -8342,7 +8344,7 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8342
8344
  o = g0.calculateDistance(r, a, q.mode === "RL", 2), A = g0.calculateBearing(r, a, q.mode === "RL", 2);
8343
8345
  let n;
8344
8346
  q.mode === "RL" ? n = Z.convertToMonotonicLng([r, a]) : n = Z.convertToMonotonicLng(g0.interpolateCoordinates(r, a, 200));
8345
- const s = C.lineString(n.map((d) => [d.lng, d.lat]));
8347
+ const s = v.lineString(n.map((d) => [d.lng, d.lat]));
8346
8348
  s.properties.dist = o, s.properties.bearing = A, p.features.push(s);
8347
8349
  }
8348
8350
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(p) : this.map.addSource(this.tmpSource, {
@@ -8393,14 +8395,14 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8393
8395
  handleMove(z) {
8394
8396
  this.map.getCanvas().style.cursor = "crosshair";
8395
8397
  let M = this.geojson.at(-1);
8396
- M || (M = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8398
+ M || (M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8397
8399
  const b = M.features.filter((O) => O.geometry.type === "Point");
8398
8400
  b != null && b.length && this.handleTmpPointUpdate(M, b.at(-1), { lng: z.lngLat.lng, lat: z.lngLat.lat });
8399
8401
  },
8400
8402
  handleDblClick(z) {
8401
8403
  z.preventDefault();
8402
8404
  let M = this.geojson.at(-1);
8403
- M.closed = !0, this.handleRender(M), M = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8405
+ M.closed = !0, this.handleRender(M), M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8404
8406
  },
8405
8407
  handleRender(z) {
8406
8408
  var M;
@@ -8457,17 +8459,17 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
8457
8459
  handleClear(z, M = !0) {
8458
8460
  var o, A, t, q, r, a, n, s, d;
8459
8461
  const b = `${z.id}-${this.source}`, O = `${z.id}-${this.layer}`, p = `${z.id}-${this.labelLayer}`;
8460
- (o = this.map) != null && o.getLayer(O) && this.map.removeLayer(O), (A = this.map) != null && A.getLayer(p) && this.map.removeLayer(p), (t = this.map) != null && t.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (q = this.map) != null && q.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (r = this.closeMarkers[z.id]) == null || r.remove(), this.closeMarkers[z.id] = void 0, (a = this.pointMarkers[z.id]) == null || a.forEach((m) => {
8461
- m == null || m.remove();
8462
+ (o = this.map) != null && o.getLayer(O) && this.map.removeLayer(O), (A = this.map) != null && A.getLayer(p) && this.map.removeLayer(p), (t = this.map) != null && t.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (q = this.map) != null && q.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (r = this.closeMarkers[z.id]) == null || r.remove(), this.closeMarkers[z.id] = void 0, (a = this.pointMarkers[z.id]) == null || a.forEach((B) => {
8463
+ B == null || B.remove();
8462
8464
  }), this.pointMarkers[z.id] = [], (n = this.tipMarker) == null || n.remove(), this.tipMarker = void 0, M && ((s = this.map) != null && s.getSource(b)) && this.map.removeSource(b), M && ((d = this.map) != null && d.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8463
8465
  }
8464
8466
  }
8465
8467
  };
8466
- function jb(z, M, b, O, p, o) {
8468
+ function Fb(z, M, b, O, p, o) {
8467
8469
  return l(), f("div");
8468
8470
  }
8469
- const Fb = /* @__PURE__ */ k(_b, [["render", jb]]);
8470
- const Gb = {
8471
+ const Gb = /* @__PURE__ */ k(jb, [["render", Fb]]);
8472
+ const Ub = {
8471
8473
  name: "IdmENC",
8472
8474
  props: {
8473
8475
  map: {
@@ -8519,16 +8521,16 @@ const Gb = {
8519
8521
  }
8520
8522
  },
8521
8523
  methods: {}
8522
- }, Ub = { key: 0 }, Kb = { class: "bar-item" };
8523
- function Jb(z, M, b, O, p, o) {
8524
+ }, Kb = { key: 0 }, Jb = { class: "bar-item" };
8525
+ function Yb(z, M, b, O, p, o) {
8524
8526
  const A = x("ElTooltip");
8525
- return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div", Ub, [
8527
+ return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div", Kb, [
8526
8528
  c("div", {
8527
8529
  class: "menu-bar-box",
8528
8530
  style: O0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8529
8531
  }, [
8530
- c("div", Kb, [
8531
- w(A, {
8532
+ c("div", Jb, [
8533
+ C(A, {
8532
8534
  placement: "left",
8533
8535
  effect: "light",
8534
8536
  content: "Hifleet",
@@ -8544,7 +8546,7 @@ function Jb(z, M, b, O, p, o) {
8544
8546
  ]),
8545
8547
  _: 1
8546
8548
  }),
8547
- w(A, {
8549
+ C(A, {
8548
8550
  placement: "left",
8549
8551
  effect: "light",
8550
8552
  content: "I4insight",
@@ -8564,8 +8566,8 @@ function Jb(z, M, b, O, p, o) {
8564
8566
  ], 4)
8565
8567
  ])) : _("", !0);
8566
8568
  }
8567
- const Yb = /* @__PURE__ */ k(Gb, [["render", Jb], ["__scopeId", "data-v-7301123d"]]);
8568
- const Vb = {
8569
+ const Vb = /* @__PURE__ */ k(Ub, [["render", Yb], ["__scopeId", "data-v-7301123d"]]);
8570
+ const Zb = {
8569
8571
  name: "IdmENC",
8570
8572
  props: {
8571
8573
  map: {
@@ -8621,11 +8623,11 @@ const Vb = {
8621
8623
  }
8622
8624
  }
8623
8625
  };
8624
- function Zb(z, M, b, O, p, o) {
8626
+ function $b(z, M, b, O, p, o) {
8625
8627
  return null;
8626
8628
  }
8627
- const $b = /* @__PURE__ */ k(Vb, [["render", Zb]]);
8628
- const Mz = {
8629
+ const Mz = /* @__PURE__ */ k(Zb, [["render", $b]]);
8630
+ const bz = {
8629
8631
  name: "IdmGLV2",
8630
8632
  components: {
8631
8633
  IdmGlLayer: E1,
@@ -8648,17 +8650,17 @@ const Mz = {
8648
8650
  IdmGmdssArea: eb,
8649
8651
  IdmEcaZone: qb,
8650
8652
  IdmAlertZone: sb,
8651
- IdmPort: Bb,
8652
- IdmLoadLine: yb,
8653
- IdmTimezone: Cb,
8654
- IdmVRA: Eb,
8655
- IdmSpecialArea: Db,
8656
- IdmTerminator: kb,
8653
+ IdmPort: gb,
8654
+ IdmLoadLine: Xb,
8655
+ IdmTimezone: vb,
8656
+ IdmVRA: xb,
8657
+ IdmSpecialArea: Pb,
8658
+ IdmTerminator: Qb,
8657
8659
  IdmLatLng: U0,
8658
- IdmMeasure: Fb,
8660
+ IdmMeasure: Gb,
8659
8661
  IdmPoint: zb,
8660
- IdmENC: Yb,
8661
- IdmWorld12nm: $b
8662
+ IdmENC: Vb,
8663
+ IdmWorld12nm: Mz
8662
8664
  },
8663
8665
  props: {
8664
8666
  map: {
@@ -8791,53 +8793,53 @@ const Mz = {
8791
8793
  const M = (/* @__PURE__ */ new Date()).valueOf();
8792
8794
  let b = 0, O = 0;
8793
8795
  if (this.map) {
8794
- const s = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, d = (o = this.map) == null ? void 0 : o.getBounds(), m = `${d._sw.lng},${d._sw.lat},${d._ne.lng},${d._ne.lat}`;
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}`;
8795
8797
  if (this.particleFactor) {
8796
8798
  const L = I0.WEATHER_LAYERS.find((W) => {
8797
- var h;
8798
- return ((h = W.peer) == null ? void 0 : h.weight) === this.particleFactor.weight;
8799
+ var m;
8800
+ return ((m = W.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8799
8801
  });
8800
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;
8801
8803
  }
8802
8804
  if (this.weatherWeight > 0) {
8803
8805
  let L = this.weatherWeight, W;
8804
8806
  if (z.tropicals || this.weatherWeight & 256 && (W = this.weatherLayers.tropicals, W && (L -= 256, W.version = Math.random() + 1)), L > 0) {
8805
- const h = await N0.get(`${this.gateway}/api/arc/weather/layers/links?l=${L}&v=${this.source}&z=${s}&bbox=${m}&t=${this.ts}`, {
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}`, {
8806
8808
  headers: {
8807
8809
  Authorization: this.token || this.defaultMeteoToken
8808
8810
  }
8809
8811
  });
8810
- if (O = (/* @__PURE__ */ new Date()).valueOf() - (M + b), console.log("weather links elapsed: ", O, ", total: ", b += O), ((A = h == null ? void 0 : h.data) == null ? void 0 : A.code) === 0) {
8811
- const R = (t = h == null ? void 0 : h.data) == null ? void 0 : t.data, y = [];
8812
- for (const N in R)
8813
- N === "ice-edge" && (R[N] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), N !== "tropicals" && y.push(
8814
- N0.get(R[N], {
8812
+ if (O = (/* @__PURE__ */ new Date()).valueOf() - (M + b), console.log("weather links elapsed: ", O, ", total: ", b += O), ((A = m == null ? void 0 : m.data) == null ? void 0 : A.code) === 0) {
8813
+ const h = (t = m == null ? void 0 : m.data) == null ? void 0 : t.data, X = [];
8814
+ for (const y in h)
8815
+ y === "ice-edge" && (h[y] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), y !== "tropicals" && X.push(
8816
+ N0.get(h[y], {
8815
8817
  headers: {
8816
8818
  Authorization: this.token || this.defaultMeteoToken,
8817
- key: N
8819
+ key: y
8818
8820
  },
8819
- responseType: /\.(jpg|png)$/.test(R[N]) ? "blob" : "json"
8821
+ responseType: /\.(jpg|png)$/.test(h[y]) ? "blob" : "json"
8820
8822
  }).catch((H) => {
8821
- console.log(`[${N}] fetch layer error: ${H}`);
8823
+ console.log(`[${y}] fetch layer error: ${H}`);
8822
8824
  })
8823
8825
  );
8824
- const E = await Promise.all(y);
8825
- this.weatherLayers = {}, E.map((N) => {
8826
- var Y, g, v, A0;
8827
- const H = ((Y = N == null ? void 0 : N.data) == null ? void 0 : Y.data) || (N == null ? void 0 : N.data), U = (v = (g = N == null ? void 0 : N.config) == null ? void 0 : g.headers) == null ? void 0 : v.key;
8826
+ const E = await Promise.all(X);
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
8830
  U && H && (this.weatherLayers[U] = {
8829
8831
  raw: H,
8830
- type: ((A0 = N == null ? void 0 : N.config) == null ? void 0 : A0.responseType) === "blob" ? "image" : "json",
8832
+ type: ((A0 = y == null ? void 0 : y.config) == null ? void 0 : A0.responseType) === "blob" ? "image" : "json",
8831
8833
  etime: this.ts
8832
8834
  });
8833
- }), R.tropicals && N0.get(R.tropicals, {
8835
+ }), h.tropicals && N0.get(h.tropicals, {
8834
8836
  headers: {
8835
8837
  Authorization: this.token || this.defaultMeteoToken,
8836
8838
  key: "tropicals"
8837
8839
  }
8838
- }).then((N) => {
8839
- var Y, g, v;
8840
- const H = _0.convert2Geojson(((Y = N == null ? void 0 : N.data) == null ? void 0 : Y.data) || (N == null ? void 0 : N.data)), U = (v = (g = N == null ? void 0 : N.config) == null ? void 0 : g.headers) == null ? void 0 : v.key;
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
8843
  this.weatherLayers[U] = {
8842
8844
  data: H,
8843
8845
  active: !0,
@@ -8849,20 +8851,20 @@ const Mz = {
8849
8851
  });
8850
8852
  }
8851
8853
  if (O = (/* @__PURE__ */ new Date()).valueOf() - (M + b), console.log("weather layers elapsed: ", O, ", total: ", b += O), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8852
- const R = (q = this.weatherLayers["swell-direction"]) == null ? void 0 : q.raw, y = (r = this.weatherLayers["swell-height"]) == null ? void 0 : r.raw;
8854
+ const h = (q = this.weatherLayers["swell-direction"]) == null ? void 0 : q.raw, X = (r = this.weatherLayers["swell-height"]) == null ? void 0 : r.raw;
8853
8855
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8854
8856
  type: "json",
8855
- direction: R,
8856
- height: { raw: y },
8857
+ direction: h,
8858
+ height: { raw: X },
8857
8859
  etime: this.ts
8858
8860
  };
8859
8861
  }
8860
8862
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8861
- const R = (a = this.weatherLayers["current-direction"]) == null ? void 0 : a.raw, y = (n = this.weatherLayers["current-speed"]) == null ? void 0 : n.raw;
8863
+ const h = (a = this.weatherLayers["current-direction"]) == null ? void 0 : a.raw, X = (n = this.weatherLayers["current-speed"]) == null ? void 0 : n.raw;
8862
8864
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8863
8865
  type: "json",
8864
- direction: R,
8865
- speed: { raw: y },
8866
+ direction: h,
8867
+ speed: { raw: X },
8866
8868
  etime: this.ts
8867
8869
  };
8868
8870
  }
@@ -8899,9 +8901,9 @@ const Mz = {
8899
8901
  );
8900
8902
  const n = await Promise.all(a);
8901
8903
  this.otherLayers = { enc: A, world12nm: t }, n.map((s) => {
8902
- var L, W, h;
8903
- const d = ((L = s == null ? void 0 : s.data) == null ? void 0 : L.data) || (s == null ? void 0 : s.data), m = (h = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : h.key;
8904
- this.otherLayers[m] = d;
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;
8906
+ this.otherLayers[B] = d;
8905
8907
  });
8906
8908
  }
8907
8909
  } else if (z.dayNight && o & 1024) {
@@ -8922,9 +8924,9 @@ const Mz = {
8922
8924
  })
8923
8925
  );
8924
8926
  (await Promise.all(a)).map((s) => {
8925
- var L, W, h;
8926
- const d = ((L = s == null ? void 0 : s.data) == null ? void 0 : L.data) || (s == null ? void 0 : s.data), m = (h = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : h.key;
8927
- this.otherLayers[m] = d;
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;
8929
+ this.otherLayers[B] = d;
8928
8930
  });
8929
8931
  }
8930
8932
  }
@@ -8986,29 +8988,29 @@ const Mz = {
8986
8988
  for (const d in this.weatherLayers)
8987
8989
  if (this.weatherLayers[d].active && this.weatherLayers[d].type === "json") {
8988
8990
  this.weatherLayers[d].active = !1, this.weatherLayers[d].version = Math.random() + 1;
8989
- let m = [];
8991
+ let B = [];
8990
8992
  if (["swell", "current"].includes(d)) {
8991
8993
  const L = ((a = this.weatherLayers[d]) == null ? void 0 : a.direction) || {};
8992
8994
  for (const W in L)
8993
8995
  if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8994
- const h = L[W].lng;
8995
- o > A ? h.forEach((R, y) => {
8996
+ const m = L[W].lng;
8997
+ o > A ? m.forEach((h, X) => {
8996
8998
  var E;
8997
- if ((R >= o && R <= 180 || R >= -180 && R <= A) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8998
- const N = C.point([R, W], {
8999
- val: L[W].val[y],
9000
- spd: (E = L[W].spd) == null ? void 0 : E[y]
8999
+ if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
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
9003
  });
9002
- m.push(N);
9004
+ B.push(y);
9003
9005
  }
9004
- }) : h.forEach((R, y) => {
9006
+ }) : m.forEach((h, X) => {
9005
9007
  var E;
9006
- if (R >= o && R <= A && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9007
- const N = C.point([R, W], {
9008
- val: L[W].val[y],
9009
- spd: (E = L[W].spd) == null ? void 0 : E[y]
9008
+ if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
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
9012
  });
9011
- m.push(N);
9013
+ B.push(y);
9012
9014
  }
9013
9015
  });
9014
9016
  }
@@ -9016,21 +9018,21 @@ const Mz = {
9016
9018
  const W = this.weatherLayers[d].height;
9017
9019
  if (W) {
9018
9020
  if (!W.data) {
9019
- const h = [];
9020
- for (const R in (n = W.raw) == null ? void 0 : n.LineString) {
9021
- const y = W.raw.LineString[R];
9022
- for (const E of y)
9023
- h.push(
9024
- C.lineString(E, {
9025
- val: Number(R)
9021
+ const m = [];
9022
+ for (const h in (n = W.raw) == null ? void 0 : n.LineString) {
9023
+ const X = W.raw.LineString[h];
9024
+ for (const E of X)
9025
+ m.push(
9026
+ v.lineString(E, {
9027
+ val: Number(h)
9026
9028
  })
9027
9029
  );
9028
- W.data = C.featureCollection(h);
9030
+ W.data = v.featureCollection(m);
9029
9031
  }
9030
9032
  }
9031
9033
  if (W.data) {
9032
- const h = this.handleBboxClip(W.data, O);
9033
- m = m.concat(h);
9034
+ const m = this.handleBboxClip(W.data, O);
9035
+ B = B.concat(m);
9034
9036
  }
9035
9037
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("height elapsed: ", b, ", total: ", M += b);
9036
9038
  }
@@ -9039,126 +9041,126 @@ const Mz = {
9039
9041
  const W = this.weatherLayers[d].speed;
9040
9042
  if (W) {
9041
9043
  if (!W.data) {
9042
- const R = [];
9043
- for (const y in (s = W.raw) == null ? void 0 : s.Polygon) {
9044
- const E = W.raw.Polygon[y];
9045
- for (const N of E)
9046
- R.push(
9047
- C.polygon(N, {
9048
- val: Number(y)
9044
+ const h = [];
9045
+ for (const X in (s = W.raw) == null ? void 0 : s.Polygon) {
9046
+ const E = W.raw.Polygon[X];
9047
+ for (const y of E)
9048
+ h.push(
9049
+ v.polygon(y, {
9050
+ val: Number(X)
9049
9051
  })
9050
9052
  );
9051
9053
  }
9052
- W.data = C.featureCollection(R);
9054
+ W.data = v.featureCollection(h);
9053
9055
  }
9054
- const h = p < this.zoom ? W.data.features.filter((R) => R.properties.val > 0.5) : W.data.features;
9055
- m = m.concat(h), b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("speed elapsed: ", b, ", total: ", M += b);
9056
+ const m = p < this.zoom ? W.data.features.filter((h) => h.properties.val > 0.5) : W.data.features;
9057
+ B = B.concat(m), b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("speed elapsed: ", b, ", total: ", M += b);
9056
9058
  }
9057
9059
  }
9058
9060
  } else if (d === "wind") {
9059
9061
  const L = this.weatherLayers.wind.raw;
9060
9062
  for (const W in L)
9061
9063
  if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9062
- const h = L[W].lng;
9063
- o > A ? h.forEach((R, y) => {
9064
- if ((R >= o && R <= 180 || R >= -180 && R <= A) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9065
- const E = C.point([R, W], {
9066
- val: L[W].val[y],
9067
- spd: L[W].spd[y]
9064
+ const m = L[W].lng;
9065
+ o > A ? m.forEach((h, X) => {
9066
+ if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9067
+ const E = v.point([h, W], {
9068
+ val: L[W].val[X],
9069
+ spd: L[W].spd[X]
9068
9070
  });
9069
- m.push(E);
9071
+ B.push(E);
9070
9072
  }
9071
- }) : h.forEach((R, y) => {
9072
- if (R >= o && R <= A && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9073
- const E = C.point([R, W], {
9074
- val: L[W].val[y],
9075
- spd: L[W].spd[y]
9073
+ }) : m.forEach((h, X) => {
9074
+ if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9075
+ const E = v.point([h, W], {
9076
+ val: L[W].val[X],
9077
+ spd: L[W].spd[X]
9076
9078
  });
9077
- m.push(E);
9079
+ B.push(E);
9078
9080
  }
9079
9081
  });
9080
9082
  }
9081
9083
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("wind barb elapsed: ", b, ", total: ", M += b);
9082
9084
  } else if (d === "sig-wave-height") {
9083
9085
  if (this.weatherLayers[d].data)
9084
- m = this.weatherLayers[d].data;
9086
+ B = this.weatherLayers[d].data;
9085
9087
  else {
9086
9088
  const L = this.weatherLayers[d].raw;
9087
9089
  if (L) {
9088
9090
  const W = [];
9089
- for (const h in L.Polygon) {
9090
- const R = L.Polygon[h];
9091
- for (const y of R)
9091
+ for (const m in L.Polygon) {
9092
+ const h = L.Polygon[m];
9093
+ for (const X of h)
9092
9094
  W.push(
9093
- C.polygon(y, {
9094
- val: Number(h)
9095
+ v.polygon(X, {
9096
+ val: Number(m)
9095
9097
  })
9096
9098
  );
9097
9099
  }
9098
- for (const h in L.Point) {
9099
- const R = L.Point[h];
9100
- for (const y of R)
9100
+ for (const m in L.Point) {
9101
+ const h = L.Point[m];
9102
+ for (const X of h)
9101
9103
  W.push(
9102
- ...C.points(y, {
9103
- val: Number(h)
9104
+ ...v.points(X, {
9105
+ val: Number(m)
9104
9106
  }).features
9105
9107
  );
9106
9108
  }
9107
- m = m.concat(W);
9109
+ B = B.concat(W);
9108
9110
  }
9109
9111
  }
9110
9112
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("sigWave elapsed: ", b, ", total: ", M += b);
9111
9113
  } else if (d === "prmsl") {
9112
9114
  if (this.weatherLayers[d].data)
9113
- m = this.weatherLayers[d].data;
9115
+ B = this.weatherLayers[d].data;
9114
9116
  else {
9115
9117
  const L = this.weatherLayers[d].raw;
9116
9118
  if (L) {
9117
9119
  const W = [];
9118
- for (const h in L.LineString) {
9119
- const R = L.LineString[h];
9120
- for (const y of R)
9120
+ for (const m in L.LineString) {
9121
+ const h = L.LineString[m];
9122
+ for (const X of h)
9121
9123
  W.push(
9122
- C.lineString(y, {
9123
- val: Number(h)
9124
+ v.lineString(X, {
9125
+ val: Number(m)
9124
9126
  })
9125
9127
  );
9126
9128
  }
9127
- for (const h in L.Point)
9128
- L.Point[h].lng.forEach((R, y) => {
9129
- R = Z.convertToStdLng(R), W.push(
9130
- C.point([R, h], {
9131
- val: L.Point[h].val[y],
9132
- type: L.Point[h].type[y]
9129
+ for (const m in L.Point)
9130
+ L.Point[m].lng.forEach((h, X) => {
9131
+ h = Z.convertToStdLng(h), W.push(
9132
+ v.point([h, m], {
9133
+ val: L.Point[m].val[X],
9134
+ type: L.Point[m].type[X]
9133
9135
  })
9134
9136
  );
9135
9137
  });
9136
- m = m.concat(W);
9138
+ B = B.concat(W);
9137
9139
  }
9138
9140
  }
9139
9141
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("prmsl elapsed: ", b, ", total: ", M += b);
9140
9142
  } else if (d === "arctic" || d === "iceberg") {
9141
9143
  if (this.weatherLayers[d].data)
9142
- m = this.weatherLayers[d].data;
9144
+ B = this.weatherLayers[d].data;
9143
9145
  else {
9144
9146
  const L = this.weatherLayers[d].raw;
9145
9147
  if (L) {
9146
9148
  const W = [];
9147
- for (const h in L.LineString) {
9148
- const R = L.LineString[h];
9149
- for (const y of R)
9149
+ for (const m in L.LineString) {
9150
+ const h = L.LineString[m];
9151
+ for (const X of h)
9150
9152
  W.push(
9151
- C.lineString(y, {
9152
- val: Number(h)
9153
+ v.lineString(X, {
9154
+ val: Number(m)
9153
9155
  })
9154
9156
  );
9155
9157
  }
9156
- m = m.concat(W);
9158
+ B = B.concat(W);
9157
9159
  }
9158
9160
  }
9159
9161
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M);
9160
9162
  }
9161
- console.log(d, " elapsed: ", b, ", total: ", M += b), m.length && (this.weatherLayers[d].data = C.featureCollection(m)), this.weatherLayers[d].active = !0, this.weatherLayers[d].version = Math.random() + 1;
9163
+ console.log(d, " elapsed: ", b, ", total: ", M += b), B.length && (this.weatherLayers[d].data = v.featureCollection(B)), this.weatherLayers[d].active = !0, this.weatherLayers[d].version = Math.random() + 1;
9162
9164
  }
9163
9165
  },
9164
9166
  handleDragEndWithZoom4Image() {
@@ -9170,10 +9172,10 @@ const Mz = {
9170
9172
  return z.features.forEach((o) => {
9171
9173
  if (o.geometry.type !== "Point")
9172
9174
  if (O > p) {
9173
- let A = [O, M._sw.lat, 180, M._ne.lat], t = C.bboxClip(o, A);
9174
- t.geometry.coordinates.length && b.push(t), A = [-180, M._sw.lat, p, M._ne.lat], t = C.bboxClip(o, A), t.geometry.coordinates.length && b.push(t);
9175
+ let A = [O, M._sw.lat, 180, M._ne.lat], t = v.bboxClip(o, A);
9176
+ t.geometry.coordinates.length && b.push(t), A = [-180, M._sw.lat, p, M._ne.lat], t = v.bboxClip(o, A), t.geometry.coordinates.length && b.push(t);
9175
9177
  } else {
9176
- const A = [O, M._sw.lat, p, M._ne.lat], t = C.bboxClip(o, A);
9178
+ const A = [O, M._sw.lat, p, M._ne.lat], t = v.bboxClip(o, A);
9177
9179
  t.geometry.coordinates.length && b.push(t);
9178
9180
  }
9179
9181
  else
@@ -9226,8 +9228,8 @@ const Mz = {
9226
9228
  }
9227
9229
  },
9228
9230
  handle3dToggle(z) {
9229
- var M, b, O, p, o, A, t, q, r, a, n, s, d, m, L, W, h, R, y, E;
9230
- 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((m = this.viewport) == null ? void 0 : m.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (h = this.map) != null && h.getLayer((W = this.viewport) == null ? void 0 : W.particleLayer) && ((R = this.map) != null && R.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((E = this.map) == null || E.moveLayer((y = this.viewport) == null ? void 0 : y.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
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
9233
  },
9232
9234
  handleParticle(z) {
9233
9235
  this.particleFactor = z, this.weatherLayers[z.key] && (this.weatherLayers[z.key].particle = z.particle), this.activeWeatherLayers.map((O) => {
@@ -9243,17 +9245,21 @@ const Mz = {
9243
9245
  },
9244
9246
  handleToggleVersion() {
9245
9247
  this.$emit("toggleVersion", Math.random());
9248
+ },
9249
+ handleIdmPoint(z) {
9250
+ this.$refs.idmPoint.showMeteo = !0, this.$refs.idmPoint.point = z;
9246
9251
  }
9247
9252
  }
9248
- }, bz = {
9253
+ }, zz = {
9249
9254
  key: 0,
9255
+ ref: "mapGlHome",
9250
9256
  className: "map-gl-home"
9251
9257
  };
9252
- function zz(z, M, b, O, p, o) {
9253
- var r0, d0, B0, s0, P, b0, t0, I, z0, W0, l0, L0, o0, e, i, u, B, X, D, V, S, F, T0, S0, k0, Q0, H0;
9254
- 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"), m = x("IdmCurrents"), L = x("IdmCurrentParticle"), W = x("IdmWindBarb"), h = x("IdmWindParticle"), R = x("IdmPrecip3h"), y = x("IdmVisibility"), E = x("IdmWaterTemp"), N = x("IdmTemp"), H = x("IdmArctic"), U = x("IdmWarZone"), Y = x("IdmGmdssArea"), g = x("IdmEcaZone"), v = 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");
9255
- return b.map ? (l(), f("div", bz, [
9256
- w(A, Q({
9258
+ function pz(z, M, b, O, p, o) {
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");
9261
+ return b.map ? (l(), f("div", zz, [
9262
+ C(A, Q({
9257
9263
  ref: "layer",
9258
9264
  map: b.map,
9259
9265
  "toggle-version": b.toggleVersion,
@@ -9275,7 +9281,7 @@ function zz(z, M, b, O, p, o) {
9275
9281
  on3d: o.handle3dToggle,
9276
9282
  onHandleToggleVersion: o.handleToggleVersion
9277
9283
  }), null, 16, ["map", "toggle-version", "map-projection", "showWindFeather", "showWindParticle", "showCurrentIsoband", "showCurrentParticle", "onWeather", "onOther", "on3d", "onHandleToggleVersion"]),
9278
- w(t, Q({
9284
+ C(t, Q({
9279
9285
  map: b.map,
9280
9286
  token: b.token,
9281
9287
  enabled: (r0 = p.otherLayers) == null ? void 0 : r0.enc,
@@ -9283,42 +9289,42 @@ function zz(z, M, b, O, p, o) {
9283
9289
  }, z.$attrs, {
9284
9290
  onEnc: M[7] || (M[7] = (a0) => p.enc = a0)
9285
9291
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
9286
- w(q, Q({
9292
+ C(q, Q({
9287
9293
  map: b.map,
9288
9294
  token: b.token,
9289
9295
  "weather-layers": p.weatherLayers,
9290
9296
  enabled: (d0 = p.otherLayers) == null ? void 0 : d0.world12nm
9291
9297
  }, z.$attrs), null, 16, ["map", "token", "weather-layers", "enabled"]),
9292
- w(r, Q({
9298
+ C(r, Q({
9293
9299
  map: b.map,
9294
9300
  "sig-wave": (B0 = p.weatherLayers) == null ? void 0 : B0["sig-wave-height"],
9295
9301
  "before-layer": b.beforeLayer,
9296
9302
  activeWeatherLayers: p.activeWeatherLayers
9297
9303
  }, z.$attrs), null, 16, ["map", "sig-wave", "before-layer", "activeWeatherLayers"]),
9298
- w(a, Q({
9304
+ C(a, Q({
9299
9305
  map: b.map,
9300
9306
  swell: (s0 = p.weatherLayers) == null ? void 0 : s0.swell,
9301
9307
  "before-layer": b.beforeLayer,
9302
9308
  activeWeatherLayers: p.activeWeatherLayers
9303
9309
  }, z.$attrs), null, 16, ["map", "swell", "before-layer", "activeWeatherLayers"]),
9304
- w(n, Q({
9310
+ C(n, Q({
9305
9311
  map: b.map,
9306
9312
  prmsl: (P = p.weatherLayers) == null ? void 0 : P.prmsl,
9307
9313
  "before-layer": b.beforeLayer,
9308
9314
  "active-weather-layers": p.activeWeatherLayers
9309
9315
  }, z.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
9310
- w(s, Q({
9316
+ C(s, Q({
9311
9317
  map: b.map,
9312
9318
  iceberg: (b0 = p.weatherLayers) == null ? void 0 : b0.iceberg,
9313
9319
  "before-layer": b.beforeLayer
9314
9320
  }, z.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
9315
- w(d, Q({
9321
+ C(d, Q({
9316
9322
  map: b.map,
9317
9323
  date: b.ts,
9318
9324
  tropicals: (t0 = p.weatherLayers) == null ? void 0 : t0.tropicals,
9319
9325
  "before-layer": b.beforeLayer
9320
9326
  }, z.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
9321
- w(m, Q({
9327
+ C(B, Q({
9322
9328
  map: b.map,
9323
9329
  "map-projection": p.mapProjection,
9324
9330
  current: (I = p.weatherLayers) == null ? void 0 : I.current,
@@ -9332,13 +9338,13 @@ function zz(z, M, b, O, p, o) {
9332
9338
  onParticle: o.handleParticle,
9333
9339
  onHandleToggleVersion: o.handleToggleVersion
9334
9340
  }), null, 16, ["map", "map-projection", "current", "before-layer", "showCurrentIsoband", "showCurrentParticle", "margin-bottom", "toggle-version", "weather-layers", "onParticle", "onHandleToggleVersion"]),
9335
- w(L, Q({
9341
+ C(L, Q({
9336
9342
  viewport: p.viewport,
9337
9343
  factor: (z0 = p.weatherLayers) == null ? void 0 : z0["current-particle"],
9338
9344
  "before-layer": b.beforeLayer,
9339
9345
  "toggle-version": b.toggleVersion
9340
9346
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9341
- w(W, Q({
9347
+ C(W, Q({
9342
9348
  ref: "windBarb",
9343
9349
  map: b.map,
9344
9350
  "map-projection": p.mapProjection,
@@ -9353,101 +9359,101 @@ function zz(z, M, b, O, p, o) {
9353
9359
  "weather-layers": p.weatherLayers,
9354
9360
  onParticle: o.handleParticle
9355
9361
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "showWindFeather", "showWindParticle", "toggle-version", "weather-layers", "onParticle"]),
9356
- w(h, Q({
9362
+ C(m, Q({
9357
9363
  viewport: p.viewport,
9358
9364
  factor: (L0 = p.weatherLayers) == null ? void 0 : L0["wind-particle"],
9359
9365
  "before-layer": b.beforeLayer,
9360
9366
  "toggle-version": b.toggleVersion
9361
9367
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9362
- w(R, Q({
9368
+ C(h, Q({
9363
9369
  viewport: p.viewport,
9364
9370
  factor: (o0 = p.weatherLayers) == null ? void 0 : o0.precip3h,
9365
9371
  "before-layer": b.beforeLayer,
9366
9372
  "toggle-version": b.toggleVersion
9367
9373
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9368
- w(y, Q({
9374
+ C(X, Q({
9369
9375
  viewport: p.viewport,
9370
9376
  factor: (e = p.weatherLayers) == null ? void 0 : e.visibility,
9371
9377
  "before-layer": b.beforeLayer,
9372
9378
  "toggle-version": b.toggleVersion
9373
9379
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9374
- w(E, Q({
9380
+ C(E, Q({
9375
9381
  viewport: p.viewport,
9376
9382
  factor: (i = p.weatherLayers) == null ? void 0 : i["water-temp"],
9377
9383
  "before-layer": b.beforeLayer,
9378
9384
  "toggle-version": b.toggleVersion
9379
9385
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9380
- w(N, Q({
9386
+ C(y, Q({
9381
9387
  viewport: p.viewport,
9382
9388
  factor: (u = p.weatherLayers) == null ? void 0 : u.temp,
9383
9389
  "before-layer": b.beforeLayer,
9384
9390
  "toggle-version": b.toggleVersion
9385
9391
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9386
- w(H, Q({
9392
+ C(H, Q({
9387
9393
  viewport: p.viewport,
9388
- factor: (B = p.weatherLayers) == null ? void 0 : B.arctic,
9394
+ factor: (g = p.weatherLayers) == null ? void 0 : g.arctic,
9389
9395
  "before-layer": b.beforeLayer,
9390
9396
  "toggle-version": b.toggleVersion
9391
9397
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9392
- w(U, Q({
9398
+ C(U, Q({
9393
9399
  map: b.map,
9394
- zone: (X = p.otherLayers) == null ? void 0 : X["war-zones"],
9400
+ zone: (w = p.otherLayers) == null ? void 0 : w["war-zones"],
9395
9401
  "before-layer": b.beforeLayer
9396
9402
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9397
- w(Y, Q({
9403
+ C(Y, Q({
9398
9404
  map: b.map,
9399
9405
  area: (D = p.otherLayers) == null ? void 0 : D["gmdss-areas"],
9400
9406
  "before-layer": b.beforeLayer
9401
9407
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9402
- w(g, Q({
9408
+ C(R, Q({
9403
9409
  map: b.map,
9404
9410
  zone: (V = p.otherLayers) == null ? void 0 : V["eca-zones"],
9405
9411
  "before-layer": b.beforeLayer
9406
9412
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9407
- w(v, Q({
9413
+ C(N, Q({
9408
9414
  map: b.map,
9409
9415
  zone: (S = p.otherLayers) == null ? void 0 : S["alert-zones"],
9410
9416
  "before-layer": b.beforeLayer
9411
9417
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9412
- w(A0, Q({
9418
+ C(A0, Q({
9413
9419
  map: b.map,
9414
9420
  port: (F = p.otherLayers) == null ? void 0 : F.ports,
9415
9421
  "before-layer": b.beforeLayer
9416
- }, z.$attrs), null, 16, ["map", "port", "before-layer"]),
9417
- w(n0, Q({
9422
+ }, z.$attrs, { onHandleIdmPoint: o.handleIdmPoint }), null, 16, ["map", "port", "before-layer", "onHandleIdmPoint"]),
9423
+ C(n0, Q({
9418
9424
  map: b.map,
9419
9425
  line: (T0 = p.otherLayers) == null ? void 0 : T0["load-lines"],
9420
9426
  "before-layer": b.beforeLayer
9421
9427
  }, z.$attrs), null, 16, ["map", "line", "before-layer"]),
9422
- w(R0, Q({
9428
+ C(R0, Q({
9423
9429
  map: b.map,
9424
9430
  zone: (S0 = p.otherLayers) == null ? void 0 : S0["time-zones"],
9425
9431
  "before-layer": b.beforeLayer
9426
9432
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9427
- w(i0, Q({
9433
+ C(i0, Q({
9428
9434
  map: b.map,
9429
9435
  area: (k0 = p.otherLayers) == null ? void 0 : k0["voluntary-reporting-area"],
9430
9436
  "before-layer": b.beforeLayer
9431
9437
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9432
- w(f0, Q({
9438
+ C(f0, Q({
9433
9439
  map: b.map,
9434
9440
  area: (Q0 = p.otherLayers) == null ? void 0 : Q0["special-area"],
9435
9441
  "before-layer": b.beforeLayer
9436
9442
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9437
- w(p0, Q({
9443
+ C(p0, Q({
9438
9444
  map: b.map,
9439
9445
  area: (H0 = p.otherLayers) == null ? void 0 : H0["day-night"]
9440
9446
  }, z.$attrs), null, 16, ["map", "area"]),
9441
- w(h0, Q({
9447
+ C(h0, Q({
9442
9448
  map: b.map,
9443
9449
  show: p.showCoord,
9444
9450
  "toggle-version": b.toggleVersion
9445
9451
  }, z.$attrs), null, 16, ["map", "show", "toggle-version"]),
9446
- w(m0, Q({
9452
+ C(m0, Q({
9447
9453
  map: b.map,
9448
9454
  show: p.showMeasure
9449
9455
  }, z.$attrs), null, 16, ["map", "show"]),
9450
- w(u0, Q({
9456
+ C(u0, Q({
9451
9457
  ref: "idmPoint",
9452
9458
  map: b.map,
9453
9459
  show: p.showPoint,
@@ -9456,17 +9462,17 @@ function zz(z, M, b, O, p, o) {
9456
9462
  token: b.token,
9457
9463
  gateway: p.gateway
9458
9464
  }, z.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway"])
9459
- ])) : _("", !0);
9465
+ ], 512)) : _("", !0);
9460
9466
  }
9461
- const pz = /* @__PURE__ */ k(Mz, [["render", zz]]), rz = {
9467
+ const Oz = /* @__PURE__ */ k(bz, [["render", pz]]), nz = {
9462
9468
  install(z) {
9463
- z.component("MapboxGL", pz), z.component("TropicalGL", j0), z.component("LatLngGL", U0);
9469
+ z.component("MapboxGL", Oz), z.component("TropicalGL", j0), z.component("LatLngGL", U0);
9464
9470
  }
9465
9471
  };
9466
9472
  export {
9467
9473
  U0 as LatLngGL,
9468
- pz as MapboxGL,
9469
- rz as MapboxGLPlugin,
9474
+ Oz as MapboxGL,
9475
+ nz as MapboxGLPlugin,
9470
9476
  S1 as MapboxHelper,
9471
9477
  q0 as ParticleSchema,
9472
9478
  j0 as TropicalGL,