@idmwx/idmui-gl3 5.0.8 → 5.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var J0 = Object.defineProperty;
2
2
  var Y0 = (z, M, b) => M in z ? J0(z, M, { enumerable: !0, configurable: !0, writable: !0, value: b }) : z[M] = b;
3
- var K = (z, M, b) => (Y0(z, typeof M != "symbol" ? M + "" : M, b), b);
3
+ var J = (z, M, b) => (Y0(z, typeof M != "symbol" ? M + "" : M, b), b);
4
4
  import { LayerHelper as D0, CompanyHelper as S0 } from "@idm-plugin/tag";
5
- import { resolveComponent as I, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as o0, createVNode as C, withCtx as A0, normalizeClass as J, Fragment as j, renderList as G, toDisplayString as w, createCommentVNode as _, createTextVNode as p0, withDirectives as y0, createStaticVNode as V0, vShow as X0, defineComponent as Z0, withModifiers as x0, mergeProps as Q } from "vue";
5
+ import { resolveComponent as I, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as o0, createVNode as C, withCtx as A0, normalizeClass as U, Fragment as j, renderList as G, toDisplayString as w, createCommentVNode as _, createTextVNode as p0, withDirectives as y0, createStaticVNode as V0, vShow as X0, defineComponent as Z0, withModifiers as E0, mergeProps as Q } from "vue";
6
6
  import * as T from "@turf/turf";
7
7
  import $0 from "@mapbox/sphericalmercator";
8
8
  import Y from "moment";
@@ -247,7 +247,7 @@ function E1(z, M, b, O, p, o) {
247
247
  }, {
248
248
  default: A0(() => [
249
249
  c("div", {
250
- class: J(b.layerToggle ? "menu-icon active" : "menu-icon"),
250
+ class: U(b.layerToggle ? "menu-icon active" : "menu-icon"),
251
251
  onClick: M[0] || (M[0] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
252
252
  }, M[17] || (M[17] = [
253
253
  c("span", { class: "iconfont" }, "", -1)
@@ -270,7 +270,7 @@ function E1(z, M, b, O, p, o) {
270
270
  }, {
271
271
  default: A0(() => [
272
272
  c("div", {
273
- class: J(p.showMeasure ? "menu-icon active" : "menu-icon"),
273
+ class: U(p.showMeasure ? "menu-icon active" : "menu-icon"),
274
274
  onClick: M[1] || (M[1] = (...a) => o.handleMeasureToggle && o.handleMeasureToggle(...a))
275
275
  }, M[18] || (M[18] = [
276
276
  c("span", { class: "iconfont" }, "", -1)
@@ -286,7 +286,7 @@ function E1(z, M, b, O, p, o) {
286
286
  }, {
287
287
  default: A0(() => [
288
288
  c("div", {
289
- class: J(p.showPoint ? "menu-icon active" : "menu-icon"),
289
+ class: U(p.showPoint ? "menu-icon active" : "menu-icon"),
290
290
  onClick: M[2] || (M[2] = (...a) => o.handlePointToggle && o.handlePointToggle(...a))
291
291
  }, M[19] || (M[19] = [
292
292
  c("span", { class: "iconfont" }, "", -1)
@@ -302,7 +302,7 @@ function E1(z, M, b, O, p, o) {
302
302
  }, {
303
303
  default: A0(() => [
304
304
  c("div", {
305
- class: J(p.showCoord ? "menu-icon active" : "menu-icon"),
305
+ class: U(p.showCoord ? "menu-icon active" : "menu-icon"),
306
306
  onClick: M[3] || (M[3] = (...a) => o.handleCoordToggle && o.handleCoordToggle(...a))
307
307
  }, M[20] || (M[20] = [
308
308
  c("span", { class: "iconfont" }, "", -1)
@@ -318,7 +318,7 @@ function E1(z, M, b, O, p, o) {
318
318
  }, {
319
319
  default: A0(() => [
320
320
  c("div", {
321
- class: J(p.show3d ? "menu-icon active" : "menu-icon"),
321
+ class: U(p.show3d ? "menu-icon active" : "menu-icon"),
322
322
  onClick: M[4] || (M[4] = (...a) => o.handle3DToggle && o.handle3DToggle(...a))
323
323
  }, M[21] || (M[21] = [
324
324
  c("span", { class: "iconfont" }, "", -1)
@@ -345,7 +345,7 @@ function E1(z, M, b, O, p, o) {
345
345
  ]),
346
346
  (l(!0), f(j, null, G(p.layers.weather.filter((a) => a.collected), (a) => (l(), f("div", {
347
347
  key: a.key,
348
- class: J(o.computeLayerClass(a, p.activeWeatherLayers))
348
+ class: U(o.computeLayerClass(a, p.activeWeatherLayers))
349
349
  }, [
350
350
  c("div", {
351
351
  class: "checkbox",
@@ -357,21 +357,21 @@ function E1(z, M, b, O, p, o) {
357
357
  }, w(a.name), 9, e1),
358
358
  a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", t1, [
359
359
  c("i", {
360
- class: J(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
360
+ class: U(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
361
361
  onClick: M[6] || (M[6] = (n) => o.handleToggleWindParticle())
362
362
  }, "", 2),
363
363
  c("i", {
364
- class: J(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
364
+ class: U(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
365
365
  onClick: M[7] || (M[7] = (n) => o.handleToggleWindFeather())
366
366
  }, "", 2)
367
367
  ])) : _("", !0),
368
368
  a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", a1, [
369
369
  c("i", {
370
- class: J(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
370
+ class: U(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
371
371
  onClick: M[8] || (M[8] = (n) => o.handleToggleCurrentParticle())
372
372
  }, "", 2),
373
373
  c("i", {
374
- class: J(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
374
+ class: U(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
375
375
  onClick: M[9] || (M[9] = (n) => o.handleToggleCurrentIsoband())
376
376
  }, "", 2)
377
377
  ])) : _("", !0)
@@ -382,7 +382,7 @@ function E1(z, M, b, O, p, o) {
382
382
  style: o0({ top: b.top + "px", right: b.layerToggle ? "0px" : "-240px" })
383
383
  }, [
384
384
  c("div", {
385
- class: J(["list-box", b.layerToggle ? "right-bar" : ""])
385
+ class: U(["list-box", b.layerToggle ? "right-bar" : ""])
386
386
  }, [
387
387
  c("div", q1, [
388
388
  M[23] || (M[23] = c("div", null, "Layers", -1)),
@@ -410,7 +410,7 @@ function E1(z, M, b, O, p, o) {
410
410
  }, [
411
411
  a.hide ? _("", !0) : (l(), f("div", {
412
412
  key: 0,
413
- class: J(o.computeLayerClass(a, p.activeWeatherLayers))
413
+ class: U(o.computeLayerClass(a, p.activeWeatherLayers))
414
414
  }, [
415
415
  c("div", W1, [
416
416
  c("div", {
@@ -423,21 +423,21 @@ function E1(z, M, b, O, p, o) {
423
423
  }, w(a.name), 9, f1),
424
424
  a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", u1, [
425
425
  c("i", {
426
- class: J(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
426
+ class: U(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
427
427
  onClick: M[12] || (M[12] = (n) => o.handleToggleWindParticle())
428
428
  }, "", 2),
429
429
  c("i", {
430
- class: J(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
430
+ class: U(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
431
431
  onClick: M[13] || (M[13] = (n) => o.handleToggleWindFeather())
432
432
  }, "", 2)
433
433
  ])) : _("", !0),
434
434
  a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", L1, [
435
435
  c("i", {
436
- class: J(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
436
+ class: U(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
437
437
  onClick: M[14] || (M[14] = (n) => o.handleToggleCurrentParticle())
438
438
  }, "", 2),
439
439
  c("i", {
440
- class: J(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
440
+ class: U(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
441
441
  onClick: M[15] || (M[15] = (n) => o.handleToggleCurrentIsoband())
442
442
  }, "", 2)
443
443
  ])) : _("", !0)
@@ -465,7 +465,7 @@ function E1(z, M, b, O, p, o) {
465
465
  var n;
466
466
  return l(), f("div", {
467
467
  key: a.key,
468
- class: J(["layer flex-between", o.computeLayerClass(a, p.activeOtherLayers)]),
468
+ class: U(["layer flex-between", o.computeLayerClass(a, p.activeOtherLayers)]),
469
469
  onClick: (s) => o.handleOtherLayerPick(a)
470
470
  }, [
471
471
  c("div", y1, [
@@ -677,15 +677,15 @@ function S1(z, M, b, O, p, o) {
677
677
  const P1 = /* @__PURE__ */ k(I1, [["render", S1]]);
678
678
  class P0 {
679
679
  constructor(M) {
680
- K(this, "map");
681
- K(this, "mercator");
682
- K(this, "rampColorLayer");
683
- K(this, "rampColorSource");
684
- K(this, "particleLayer");
685
- K(this, "particleSource");
686
- K(this, "rampColorCanvas");
687
- K(this, "particleCanvas");
688
- K(this, "ratio");
680
+ J(this, "map");
681
+ J(this, "mercator");
682
+ J(this, "rampColorLayer");
683
+ J(this, "rampColorSource");
684
+ J(this, "particleLayer");
685
+ J(this, "particleSource");
686
+ J(this, "rampColorCanvas");
687
+ J(this, "particleCanvas");
688
+ J(this, "ratio");
689
689
  this.map = M, this.mercator = new $0(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
690
690
  }
691
691
  /**
@@ -899,7 +899,7 @@ class C0 {
899
899
  }
900
900
  const d = M.getBoundPixel(), B = M.map.getZoom() + 1, R = M.getWorldCopy(d, B);
901
901
  for (const W of R) {
902
- 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], V = new Float32Array([E, H, y, H, E, U, E, U, y, H, y, U]);
902
+ const m = (W[0] - d[0]) * M.ratio, h = (W[1] - d[3]) * M.ratio, X = W[2] * M.ratio, [E, y, H, K] = [m, X + m, h, X + h], V = new Float32Array([E, H, y, H, E, K, E, K, y, H, y, K]);
903
903
  b.bindBuffer(b.ARRAY_BUFFER, A), b.bufferData(b.ARRAY_BUFFER, V, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
904
904
  }
905
905
  } catch (a) {
@@ -951,7 +951,7 @@ class C0 {
951
951
  class e0 {
952
952
  }
953
953
  // 顶点渲染
954
- K(e0, "vertexSchema", `
954
+ J(e0, "vertexSchema", `
955
955
  //canvas 坐标系上的坐标 (x, y)
956
956
  attribute vec2 a_position; //像素坐标
957
957
  attribute vec2 a_texCoord; //纹理坐标
@@ -966,7 +966,7 @@ K(e0, "vertexSchema", `
966
966
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
967
967
  v_texCoord = a_texCoord;
968
968
  }`), // 类如风、流等u v双变量片元渲染
969
- K(e0, "uvFragmentSchema", `
969
+ J(e0, "uvFragmentSchema", `
970
970
  precision mediump float;
971
971
  uniform sampler2D u_image;
972
972
  uniform vec2 u_range_u_v;
@@ -985,7 +985,7 @@ K(e0, "uvFragmentSchema", `
985
985
 
986
986
  gl_FragColor = color;
987
987
  }`), // 类如浪、气压等单变量片元渲染
988
- K(e0, "fragmentSchema", `
988
+ J(e0, "fragmentSchema", `
989
989
  precision mediump float;
990
990
  uniform sampler2D u_image; // 灰度
991
991
  uniform sampler2D u_color; // 色值映射
@@ -998,7 +998,7 @@ K(e0, "fragmentSchema", `
998
998
  }`);
999
999
  class r0 {
1000
1000
  }
1001
- K(r0, "vertexSchema", `
1001
+ J(r0, "vertexSchema", `
1002
1002
  precision mediump float;
1003
1003
 
1004
1004
  attribute float a_index; // 索引
@@ -1022,7 +1022,7 @@ K(r0, "vertexSchema", `
1022
1022
  gl_PointSize = 1.0;
1023
1023
  // gl_PointSize = u_point;
1024
1024
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
1025
- }`), K(r0, "fragmentSchema", `
1025
+ }`), J(r0, "fragmentSchema", `
1026
1026
  precision mediump float;
1027
1027
 
1028
1028
  uniform sampler2D u_factor;
@@ -1044,7 +1044,7 @@ K(r0, "vertexSchema", `
1044
1044
 
1045
1045
  float f = 1.0 - uv.b;
1046
1046
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
1047
- }`), K(r0, "quadVertSchema", `
1047
+ }`), J(r0, "quadVertSchema", `
1048
1048
  precision mediump float;
1049
1049
 
1050
1050
  attribute vec2 a_pos;
@@ -1054,7 +1054,7 @@ K(r0, "vertexSchema", `
1054
1054
  void main() {
1055
1055
  v_tex_pos = a_pos;
1056
1056
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
1057
- }`), K(r0, "screenFragmentSchema", `
1057
+ }`), J(r0, "screenFragmentSchema", `
1058
1058
  precision mediump float;
1059
1059
 
1060
1060
  uniform sampler2D u_screen;
@@ -1066,7 +1066,7 @@ K(r0, "vertexSchema", `
1066
1066
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
1067
1067
  // a hack to guarantee opacity fade out even with a value close to 1.0
1068
1068
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
1069
- }`), K(r0, "updateFragmentSchema", `
1069
+ }`), J(r0, "updateFragmentSchema", `
1070
1070
  precision mediump float;
1071
1071
 
1072
1072
  uniform sampler2D u_particles;
@@ -1147,12 +1147,12 @@ K(r0, "vertexSchema", `
1147
1147
  }`);
1148
1148
  class k1 {
1149
1149
  constructor(M = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
1150
- K(this, "token");
1151
- K(this, "mapboxCustomer");
1152
- K(this, "i4");
1153
- K(this, "hi");
1154
- K(this, "td");
1155
- K(this, "windy");
1150
+ J(this, "token");
1151
+ J(this, "mapboxCustomer");
1152
+ J(this, "i4");
1153
+ J(this, "hi");
1154
+ J(this, "td");
1155
+ J(this, "windy");
1156
1156
  this.token = M, this.mapboxCustomer = {
1157
1157
  source: this.initialOnlineStyle().sources.composite,
1158
1158
  layers: {
@@ -4226,7 +4226,7 @@ const q2 = {
4226
4226
  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));
4227
4227
  },
4228
4228
  handleDateChange() {
4229
- var z, M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0;
4229
+ var z, M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0;
4230
4230
  if ((z = this.interpolateMarkers) == null || z.forEach((q0) => q0 == null ? void 0 : q0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4231
4231
  const q0 = Y(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), n0 = this.interpolateData.filter((D) => D.properties.date === q0.format() && !D.properties.disabled), R0 = this.handleComputePolygons(n0), d0 = T.featureCollection([...n0]);
4232
4232
  R0.forEach((D) => {
@@ -4248,7 +4248,7 @@ const q2 = {
4248
4248
  for (const D of n0)
4249
4249
  if (!D.properties.disabled) {
4250
4250
  let L = "#f44336";
4251
- ((t = (A = D.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = D.properties) == null ? void 0 : q.wind) != null && r.spd) ? L = "#03f869" : ((n = (a = D.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (s = D.properties) == null ? void 0 : s.wind) == null ? void 0 : d.spd) < 24.5 ? L = "#f2f202" : ((R = (B = D.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((m = (W = D.properties) == null ? void 0 : W.wind) == null ? void 0 : m.spd) < 32.7 ? L = "#ff9100" : ((X = (h = D.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = D.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? L = "#f44336" : ((U = (H = D.properties) == null ? void 0 : H.wind) == null ? void 0 : U.spd) >= 41.5 && ((M0 = (V = D.properties) == null ? void 0 : V.wind) == null ? void 0 : M0.spd) < 51 ? L = "#f903d0" : ((t0 = (b0 = D.properties) == null ? void 0 : b0.wind) == null ? void 0 : t0.spd) >= 51 ? L = "#8702f9" : L = "#f44336";
4251
+ ((t = (A = D.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = D.properties) == null ? void 0 : q.wind) != null && r.spd) ? L = "#03f869" : ((n = (a = D.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (s = D.properties) == null ? void 0 : s.wind) == null ? void 0 : d.spd) < 24.5 ? L = "#f2f202" : ((R = (B = D.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((m = (W = D.properties) == null ? void 0 : W.wind) == null ? void 0 : m.spd) < 32.7 ? L = "#ff9100" : ((X = (h = D.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = D.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? L = "#f44336" : ((K = (H = D.properties) == null ? void 0 : H.wind) == null ? void 0 : K.spd) >= 41.5 && ((M0 = (V = D.properties) == null ? void 0 : V.wind) == null ? void 0 : M0.spd) < 51 ? L = "#f903d0" : ((t0 = (b0 = D.properties) == null ? void 0 : b0.wind) == null ? void 0 : t0.spd) >= 51 ? L = "#8702f9" : L = "#f44336";
4252
4252
  const N = `<svg t="1719918955501"
4253
4253
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
4254
4254
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -4438,18 +4438,18 @@ function N2(z, M, b, O, p, o) {
4438
4438
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4439
4439
  c("div", m2, [
4440
4440
  (l(!0), f(j, null, G((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, H) => {
4441
- var U, V, M0, b0;
4441
+ var K, V, M0, b0;
4442
4442
  return l(), f("div", {
4443
4443
  key: H,
4444
- class: J([
4444
+ class: U([
4445
4445
  "model",
4446
4446
  y.disabled ? "" : "active",
4447
- H > 0 && H < ((V = (U = p.activeTropicals) == null ? void 0 : U.forecasts) == null ? void 0 : V.length) - 1 && ((b0 = (M0 = p.activeTropicals) == null ? void 0 : M0.forecasts) == null ? void 0 : b0.length) > 2 ? "center-child" : ""
4447
+ H > 0 && H < ((V = (K = p.activeTropicals) == null ? void 0 : K.forecasts) == null ? void 0 : V.length) - 1 && ((b0 = (M0 = p.activeTropicals) == null ? void 0 : M0.forecasts) == null ? void 0 : b0.length) > 2 ? "center-child" : ""
4448
4448
  ]),
4449
4449
  onClick: (t0) => o.handleForecastToggle(y)
4450
4450
  }, [
4451
4451
  c("span", {
4452
- class: J(y.model)
4452
+ class: U(y.model)
4453
4453
  }, w(y.model), 3)
4454
4454
  ], 10, B2);
4455
4455
  }), 128))
@@ -5192,7 +5192,7 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5192
5192
  H.prototype.scoreOffsetAt = function(e) {
5193
5193
  this.offsetScore += Math.abs(this.zone.utcOffset(e.at) - e.offset), this.zone.abbr(e.at).replace(/[^A-Z]/g, "") !== e.abbr && this.abbrScore++;
5194
5194
  };
5195
- function U(e, i) {
5195
+ function K(e, i) {
5196
5196
  for (var u, g; g = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5197
5197
  u = new y(new Date(e.at + g)), u.offset === e.offset ? e = u : i = u;
5198
5198
  return e;
@@ -5200,7 +5200,7 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5200
5200
  function V() {
5201
5201
  var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), u = i.offset, g = [i], v, S, Z, P;
5202
5202
  for (P = 1; P < 48; P++)
5203
- Z = new Date(e, P, 1).getTimezoneOffset(), Z !== u && (S = new y(new Date(e, P, 1)), v = U(i, S), g.push(v), g.push(new y(new Date(v.at + 6e4))), i = S, u = Z);
5203
+ Z = new Date(e, P, 1).getTimezoneOffset(), Z !== u && (S = new y(new Date(e, P, 1)), v = K(i, S), g.push(v), g.push(new y(new Date(v.at + 6e4))), i = S, u = Z);
5204
5204
  for (P = 0; P < 4; P++)
5205
5205
  g.push(new y(new Date(e + P, 0, 1))), g.push(new y(new Date(e + P, 6, 1)));
5206
5206
  return g;
@@ -6406,7 +6406,7 @@ const AM = {
6406
6406
  initTableData(z) {
6407
6407
  var M, b, O, p, o, A, t;
6408
6408
  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 = T0(this.ts)) == null ? void 0 : o.tz(this.positionGmt)) == null ? void 0 : A.format("MMM-DD/HHmm[LT]"), this.currentHourData = (t = v0.pickHourly(z, Y(this.ts))) == null ? void 0 : t[0], this.$nextTick(() => {
6409
- var r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0;
6409
+ var r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0;
6410
6410
  const q = document.getElementById("meteoMainBox");
6411
6411
  if (!q)
6412
6412
  return !1;
@@ -6422,7 +6422,7 @@ const AM = {
6422
6422
  const e = T0(this.ts).tz(this.positionGmt).add(3 * c0, "h").format();
6423
6423
  this.tableData.hours.push(e);
6424
6424
  const i = ((R = v0.pickHourly(z, e)) == null ? void 0 : R[0]) || {};
6425
- 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((M0 = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : M0.bearing), this.tableData.windGust.push(this.roundPrecision((t0 = (b0 = i == null ? void 0 : i.weather) == null ? void 0 : b0.wind) == null ? void 0 : t0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((f0 = (l0 = i == null ? void 0 : i.wave) == null ? void 0 : l0.sig) == null ? void 0 : f0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((s0 = (a0 = i == null ? void 0 : i.wave) == null ? void 0 : a0.sig) == null ? void 0 : s0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((u0 = (z0 = i == null ? void 0 : i.wave) == null ? void 0 : z0.wd) == null ? void 0 : u0.height, 1) ?? "-"), this.tableData.windwaveDir.push((W0 = (L0 = i == null ? void 0 : i.wave) == null ? void 0 : L0.wd) == null ? void 0 : W0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((n0 = (q0 = i == null ? void 0 : i.wave) == null ? void 0 : q0.wd) == null ? void 0 : n0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((d0 = (R0 = i == null ? void 0 : i.wave) == null ? void 0 : R0.swell) == null ? void 0 : d0.height, 1) ?? "-"), this.tableData.swellDir.push((L = (D = i == null ? void 0 : i.wave) == null ? void 0 : D.swell) == null ? void 0 : L.bearing), this.tableData.swellPeriod.push(this.roundPrecision((x = (N = i == null ? void 0 : i.wave) == null ? void 0 : N.swell) == null ? void 0 : x.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision(($ = i == null ? void 0 : i.current) == null ? void 0 : $.speed, 1) ?? "-"), this.tableData.currentDir.push((h0 = i == null ? void 0 : i.current) == null ? void 0 : h0.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((m0 = i == null ? void 0 : i.weather) == null ? void 0 : m0.url), this.tableData.weatherNames.push(((B0 = i == null ? void 0 : i.weather) == null ? void 0 : B0.name) ?? "-");
6425
+ 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((K = (H = i == null ? void 0 : i.weather) == null ? void 0 : H.wind) == null ? void 0 : K.kts, 1) ?? "-"), this.tableData.windDir.push((M0 = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : M0.bearing), this.tableData.windGust.push(this.roundPrecision((t0 = (b0 = i == null ? void 0 : i.weather) == null ? void 0 : b0.wind) == null ? void 0 : t0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((f0 = (l0 = i == null ? void 0 : i.wave) == null ? void 0 : l0.sig) == null ? void 0 : f0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((s0 = (a0 = i == null ? void 0 : i.wave) == null ? void 0 : a0.sig) == null ? void 0 : s0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((u0 = (z0 = i == null ? void 0 : i.wave) == null ? void 0 : z0.wd) == null ? void 0 : u0.height, 1) ?? "-"), this.tableData.windwaveDir.push((W0 = (L0 = i == null ? void 0 : i.wave) == null ? void 0 : L0.wd) == null ? void 0 : W0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((n0 = (q0 = i == null ? void 0 : i.wave) == null ? void 0 : q0.wd) == null ? void 0 : n0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((d0 = (R0 = i == null ? void 0 : i.wave) == null ? void 0 : R0.swell) == null ? void 0 : d0.height, 1) ?? "-"), this.tableData.swellDir.push((L = (D = i == null ? void 0 : i.wave) == null ? void 0 : D.swell) == null ? void 0 : L.bearing), this.tableData.swellPeriod.push(this.roundPrecision((x = (N = i == null ? void 0 : i.wave) == null ? void 0 : N.swell) == null ? void 0 : x.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision(($ = i == null ? void 0 : i.current) == null ? void 0 : $.speed, 1) ?? "-"), this.tableData.currentDir.push((h0 = i == null ? void 0 : i.current) == null ? void 0 : h0.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((m0 = i == null ? void 0 : i.weather) == null ? void 0 : m0.url), this.tableData.weatherNames.push(((B0 = i == null ? void 0 : i.weather) == null ? void 0 : B0.name) ?? "-");
6426
6426
  }
6427
6427
  });
6428
6428
  },
@@ -6548,7 +6548,7 @@ const AM = {
6548
6548
  class: "main-box flex-center"
6549
6549
  };
6550
6550
  function rb(z, M, b, O, p, o) {
6551
- var r, a, n, s, d, B, R, W, m, h, X, E, y, H, U, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D;
6551
+ var r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D;
6552
6552
  const A = I("LocationFilled"), t = I("ElIcon"), q = I("ElTooltip");
6553
6553
  return y0((l(), f("div", eM, [
6554
6554
  c("div", tM, [
@@ -6567,7 +6567,7 @@ function rb(z, M, b, O, p, o) {
6567
6567
  onClick: M[0] || (M[0] = (...L) => o.handleCloseMeteo && o.handleCloseMeteo(...L))
6568
6568
  }, "")
6569
6569
  ]),
6570
- p.loading ? (l(), f("div", ib, M[32] || (M[32] = [
6570
+ p.loading ? (l(), f("div", ib, M[33] || (M[33] = [
6571
6571
  c("img", { src: cM }, null, -1)
6572
6572
  ]))) : (l(), f("div", rM, [
6573
6573
  c("div", nM, [
@@ -6594,20 +6594,20 @@ function rb(z, M, b, O, p, o) {
6594
6594
  c("div", lM, [
6595
6595
  c("div", null, [
6596
6596
  p0(w(o.roundPrecision((B = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.temp, 0)), 1),
6597
- M[5] || (M[5] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6597
+ M[6] || (M[6] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6598
6598
  ])
6599
6599
  ]),
6600
6600
  c("div", fM, [
6601
6601
  c("div", uM, [
6602
- M[6] || (M[6] = c("label", null, "Precip : ", -1)),
6602
+ M[7] || (M[7] = c("label", null, "Precip : ", -1)),
6603
6603
  c("span", null, w(o.roundPrecision((m = (W = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : W.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6604
6604
  ]),
6605
6605
  c("div", LM, [
6606
- M[7] || (M[7] = c("label", null, "Visibility : ", -1)),
6606
+ M[8] || (M[8] = c("label", null, "Visibility : ", -1)),
6607
6607
  c("span", null, w(o.roundPrecision((X = (h = p.currentHourData) == null ? void 0 : h.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6608
6608
  ]),
6609
6609
  c("div", RM, [
6610
- M[8] || (M[8] = c("label", null, "Wind : ", -1)),
6610
+ M[9] || (M[9] = c("label", null, "Wind : ", -1)),
6611
6611
  c("span", null, w(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)
6612
6612
  ])
6613
6613
  ])
@@ -6620,21 +6620,25 @@ function rb(z, M, b, O, p, o) {
6620
6620
  y0(c("div", gM, [
6621
6621
  c("div", NM, [
6622
6622
  c("div", {
6623
- class: J(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6624
- onClick: M[1] || (M[1] = x0((L) => o.handleSelectTab(1), ["prevent"]))
6623
+ class: U(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6624
+ onClick: M[1] || (M[1] = E0((L) => o.handleSelectTab(1), ["prevent"]))
6625
6625
  }, "Basis", 2),
6626
6626
  c("div", {
6627
- class: J(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6628
- onClick: M[2] || (M[2] = x0((L) => o.handleSelectTab(2), ["prevent"]))
6627
+ class: U(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6628
+ onClick: M[2] || (M[2] = E0((L) => o.handleSelectTab(2), ["prevent"]))
6629
6629
  }, "Wave & Current", 2),
6630
6630
  c("div", {
6631
- class: J(["menu-item", p.activeIndex === 4 ? "active" : ""]),
6632
- onClick: M[3] || (M[3] = x0((L) => o.handleSelectTab(4), ["prevent"]))
6631
+ class: U(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6632
+ onClick: M[3] || (M[3] = E0((L) => o.handleSelectTab(3), ["prevent"]))
6633
+ }, "Sea Surface", 2),
6634
+ c("div", {
6635
+ class: U(["menu-item", p.activeIndex === 4 ? "active" : ""]),
6636
+ onClick: M[4] || (M[4] = E0((L) => o.handleSelectTab(4), ["prevent"]))
6633
6637
  }, "Tides", 2)
6634
6638
  ]),
6635
6639
  y0(c("table", yM, [
6636
6640
  c("tr", XM, [
6637
- M[9] || (M[9] = c("th", {
6641
+ M[10] || (M[10] = c("th", {
6638
6642
  rowspan: "1",
6639
6643
  colspan: "1",
6640
6644
  class: "tr-title"
@@ -6649,7 +6653,7 @@ function rb(z, M, b, O, p, o) {
6649
6653
  }, w(o.computeHourL(L)), 1))), 128))
6650
6654
  ]),
6651
6655
  c("tr", wM, [
6652
- M[10] || (M[10] = c("th", {
6656
+ M[11] || (M[11] = c("th", {
6653
6657
  rowspan: "1",
6654
6658
  colspan: "1",
6655
6659
  class: "tr-title"
@@ -6664,7 +6668,7 @@ function rb(z, M, b, O, p, o) {
6664
6668
  }, w(o.computeHourZ(L)), 1))), 128))
6665
6669
  ]),
6666
6670
  c("tr", CM, [
6667
- M[11] || (M[11] = c("th", {
6671
+ M[12] || (M[12] = c("th", {
6668
6672
  rowspan: "1",
6669
6673
  colspan: "1",
6670
6674
  class: "tr-title"
@@ -6692,7 +6696,7 @@ function rb(z, M, b, O, p, o) {
6692
6696
  ]))), 128))
6693
6697
  ]),
6694
6698
  c("tr", TM, [
6695
- M[12] || (M[12] = c("td", {
6699
+ M[13] || (M[13] = c("td", {
6696
6700
  rowspan: "1",
6697
6701
  colspan: "1",
6698
6702
  class: "tr-title"
@@ -6707,7 +6711,7 @@ function rb(z, M, b, O, p, o) {
6707
6711
  }, w(L), 1))), 128))
6708
6712
  ]),
6709
6713
  c("tr", EM, [
6710
- M[13] || (M[13] = c("td", {
6714
+ M[14] || (M[14] = c("td", {
6711
6715
  rowspan: "1",
6712
6716
  colspan: "1",
6713
6717
  class: "tr-title"
@@ -6722,7 +6726,7 @@ function rb(z, M, b, O, p, o) {
6722
6726
  }, w(L), 1))), 128))
6723
6727
  ]),
6724
6728
  c("tr", xM, [
6725
- M[14] || (M[14] = c("td", {
6729
+ M[15] || (M[15] = c("td", {
6726
6730
  rowspan: "1",
6727
6731
  colspan: "1",
6728
6732
  class: "tr-title"
@@ -6737,7 +6741,7 @@ function rb(z, M, b, O, p, o) {
6737
6741
  }, w(L), 1))), 128))
6738
6742
  ]),
6739
6743
  c("tr", IM, [
6740
- M[15] || (M[15] = c("td", {
6744
+ M[16] || (M[16] = c("td", {
6741
6745
  rowspan: "1",
6742
6746
  colspan: "1",
6743
6747
  class: "tr-title"
@@ -6763,7 +6767,7 @@ function rb(z, M, b, O, p, o) {
6763
6767
  ]),
6764
6768
  y0(c("table", DM, [
6765
6769
  c("tr", SM, [
6766
- M[16] || (M[16] = c("th", {
6770
+ M[17] || (M[17] = c("th", {
6767
6771
  rowspan: "1",
6768
6772
  colspan: "1",
6769
6773
  class: "tr-title"
@@ -6778,7 +6782,7 @@ function rb(z, M, b, O, p, o) {
6778
6782
  }, w(o.computeHourL(L)), 1))), 128))
6779
6783
  ]),
6780
6784
  c("tr", PM, [
6781
- M[17] || (M[17] = c("th", {
6785
+ M[18] || (M[18] = c("th", {
6782
6786
  rowspan: "1",
6783
6787
  colspan: "1",
6784
6788
  class: "tr-title"
@@ -6793,7 +6797,7 @@ function rb(z, M, b, O, p, o) {
6793
6797
  }, w(o.computeHourZ(L)), 1))), 128))
6794
6798
  ]),
6795
6799
  c("tr", kM, [
6796
- M[18] || (M[18] = c("th", {
6800
+ M[19] || (M[19] = c("th", {
6797
6801
  rowspan: "1",
6798
6802
  colspan: "1"
6799
6803
  }, null, -1)),
@@ -6820,7 +6824,7 @@ function rb(z, M, b, O, p, o) {
6820
6824
  ]))), 128))
6821
6825
  ]),
6822
6826
  c("tr", HM, [
6823
- M[19] || (M[19] = c("td", {
6827
+ M[20] || (M[20] = c("td", {
6824
6828
  rowspan: "1",
6825
6829
  colspan: "1",
6826
6830
  class: "tr-title"
@@ -6842,7 +6846,7 @@ function rb(z, M, b, O, p, o) {
6842
6846
  ]))), 128))
6843
6847
  ]),
6844
6848
  c("tr", _M, [
6845
- M[20] || (M[20] = c("td", {
6849
+ M[21] || (M[21] = c("td", {
6846
6850
  rowspan: "1",
6847
6851
  colspan: "1",
6848
6852
  class: "tr-title"
@@ -6864,7 +6868,7 @@ function rb(z, M, b, O, p, o) {
6864
6868
  ]))), 128))
6865
6869
  ]),
6866
6870
  c("tr", jM, [
6867
- M[21] || (M[21] = c("td", {
6871
+ M[22] || (M[22] = c("td", {
6868
6872
  rowspan: "1",
6869
6873
  colspan: "1",
6870
6874
  class: "tr-title"
@@ -6886,7 +6890,7 @@ function rb(z, M, b, O, p, o) {
6886
6890
  ]))), 128))
6887
6891
  ]),
6888
6892
  c("tr", FM, [
6889
- M[22] || (M[22] = c("td", {
6893
+ M[23] || (M[23] = c("td", {
6890
6894
  rowspan: "1",
6891
6895
  colspan: "1",
6892
6896
  class: "tr-title"
@@ -6913,7 +6917,7 @@ function rb(z, M, b, O, p, o) {
6913
6917
  ]),
6914
6918
  y0(c("table", GM, [
6915
6919
  c("tr", UM, [
6916
- M[23] || (M[23] = c("th", {
6920
+ M[24] || (M[24] = c("th", {
6917
6921
  rowspan: "1",
6918
6922
  colspan: "1",
6919
6923
  class: "tr-title"
@@ -6928,7 +6932,7 @@ function rb(z, M, b, O, p, o) {
6928
6932
  }, w(o.computeHourL(L)), 1))), 128))
6929
6933
  ]),
6930
6934
  c("tr", KM, [
6931
- M[24] || (M[24] = c("th", {
6935
+ M[25] || (M[25] = c("th", {
6932
6936
  rowspan: "1",
6933
6937
  colspan: "1",
6934
6938
  class: "tr-title"
@@ -6943,7 +6947,7 @@ function rb(z, M, b, O, p, o) {
6943
6947
  }, w(o.computeHourZ(L)), 1))), 128))
6944
6948
  ]),
6945
6949
  c("tr", JM, [
6946
- M[25] || (M[25] = c("th", {
6950
+ M[26] || (M[26] = c("th", {
6947
6951
  rowspan: "1",
6948
6952
  colspan: "1",
6949
6953
  class: "tr-title"
@@ -6971,7 +6975,7 @@ function rb(z, M, b, O, p, o) {
6971
6975
  ]))), 128))
6972
6976
  ]),
6973
6977
  c("tr", VM, [
6974
- M[26] || (M[26] = c("td", {
6978
+ M[27] || (M[27] = c("td", {
6975
6979
  rowspan: "1",
6976
6980
  colspan: "1",
6977
6981
  class: "tr-title"
@@ -6986,7 +6990,7 @@ function rb(z, M, b, O, p, o) {
6986
6990
  }, w(L), 1))), 128))
6987
6991
  ]),
6988
6992
  c("tr", ZM, [
6989
- M[27] || (M[27] = c("td", {
6993
+ M[28] || (M[28] = c("td", {
6990
6994
  rowspan: "1",
6991
6995
  colspan: "1",
6992
6996
  class: "tr-title"
@@ -7001,7 +7005,7 @@ function rb(z, M, b, O, p, o) {
7001
7005
  }, w(L), 1))), 128))
7002
7006
  ]),
7003
7007
  c("tr", $M, [
7004
- M[28] || (M[28] = c("td", {
7008
+ M[29] || (M[29] = c("td", {
7005
7009
  rowspan: "1",
7006
7010
  colspan: "1",
7007
7011
  class: "tr-title"
@@ -7015,7 +7019,7 @@ function rb(z, M, b, O, p, o) {
7015
7019
  }))), 128))
7016
7020
  ]),
7017
7021
  c("tr", Mb, [
7018
- M[29] || (M[29] = c("td", {
7022
+ M[30] || (M[30] = c("td", {
7019
7023
  rowspan: "1",
7020
7024
  colspan: "1",
7021
7025
  class: "tr-title"
@@ -7032,7 +7036,7 @@ function rb(z, M, b, O, p, o) {
7032
7036
  [X0, p.activeIndex === 3]
7033
7037
  ]),
7034
7038
  y0(c("table", bb, [
7035
- M[30] || (M[30] = c("tr", { class: "tr-tide flex-space" }, [
7039
+ M[31] || (M[31] = c("tr", { class: "tr-tide flex-space" }, [
7036
7040
  c("th", {
7037
7041
  rowspan: "1",
7038
7042
  colspan: "1",
@@ -7055,7 +7059,7 @@ function rb(z, M, b, O, p, o) {
7055
7059
  }, "Low Tide")
7056
7060
  ], -1)),
7057
7061
  c("tr", zb, [
7058
- c("td", pb, w(o.computeHourHmmLT((V = (U = p.tideTableData) == null ? void 0 : U[0]) == null ? void 0 : V.date)), 1),
7062
+ c("td", pb, w(o.computeHourHmmLT((V = (K = p.tideTableData) == null ? void 0 : K[0]) == null ? void 0 : V.date)), 1),
7059
7063
  c("td", Ob, w(o.computeHourHmmLT((b0 = (M0 = p.tideTableData) == null ? void 0 : M0[1]) == null ? void 0 : b0.date)), 1),
7060
7064
  c("td", ob, w(o.computeHourHmmLT((l0 = (t0 = p.tideTableData) == null ? void 0 : t0[2]) == null ? void 0 : l0.date)), 1),
7061
7065
  c("td", cb, w(o.computeHourHmmLT((a0 = (f0 = p.tideTableData) == null ? void 0 : f0[3]) == null ? void 0 : a0.date)), 1)
@@ -7066,7 +7070,7 @@ function rb(z, M, b, O, p, o) {
7066
7070
  c("td", ab, w((q0 = (W0 = p.tideTableData) == null ? void 0 : W0[2]) == null ? void 0 : q0.height) + " m", 1),
7067
7071
  c("td", qb, w((R0 = (n0 = p.tideTableData) == null ? void 0 : n0[3]) == null ? void 0 : R0.height) + " m", 1)
7068
7072
  ]),
7069
- M[31] || (M[31] = c("tr", { class: "tr-tide flex-center info" }, [
7073
+ M[32] || (M[32] = c("tr", { class: "tr-tide flex-center info" }, [
7070
7074
  c("span", null, "Tide Datum: Chart Datum")
7071
7075
  ], -1))
7072
7076
  ], 512), [
@@ -7077,7 +7081,7 @@ function rb(z, M, b, O, p, o) {
7077
7081
  ]),
7078
7082
  c("div", {
7079
7083
  class: "more",
7080
- onClick: M[4] || (M[4] = (...L) => o.handleMeteoMore && o.handleMeteoMore(...L))
7084
+ onClick: M[5] || (M[5] = (...L) => o.handleMeteoMore && o.handleMeteoMore(...L))
7081
7085
  }, "More >>")
7082
7086
  ]))
7083
7087
  ])
@@ -7085,7 +7089,7 @@ function rb(z, M, b, O, p, o) {
7085
7089
  [X0, p.showMeteo]
7086
7090
  ]);
7087
7091
  }
7088
- const nb = /* @__PURE__ */ k(AM, [["render", rb], ["__scopeId", "data-v-e3aa87eb"]]), db = {
7092
+ const nb = /* @__PURE__ */ k(AM, [["render", rb], ["__scopeId", "data-v-8d989ad0"]]), db = {
7089
7093
  name: "IdmWarZone",
7090
7094
  props: {
7091
7095
  map: {
@@ -8681,7 +8685,7 @@ function ez(z, M, b, O, p, o) {
8681
8685
  }, {
8682
8686
  default: A0(() => [
8683
8687
  c("div", {
8684
- class: J(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8688
+ class: U(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8685
8689
  onClick: M[0] || (M[0] = (t) => p.vendor = "hi")
8686
8690
  }, M[2] || (M[2] = [
8687
8691
  c("span", { class: "iconfont" }, "HI", -1)
@@ -8697,7 +8701,7 @@ function ez(z, M, b, O, p, o) {
8697
8701
  }, {
8698
8702
  default: A0(() => [
8699
8703
  c("div", {
8700
- class: J(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8704
+ class: U(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8701
8705
  onClick: M[1] || (M[1] = (t) => p.vendor = "i4")
8702
8706
  }, M[3] || (M[3] = [
8703
8707
  c("span", { class: "iconfont" }, "I4", -1)
@@ -8969,8 +8973,8 @@ const rz = {
8969
8973
  const E = await Promise.all(X);
8970
8974
  this.weatherLayers = {}, E.map((y) => {
8971
8975
  var V, M0, b0, t0;
8972
- const H = ((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data), U = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8973
- U && H && (this.weatherLayers[U] = {
8976
+ const H = ((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data), K = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8977
+ K && H && (this.weatherLayers[K] = {
8974
8978
  raw: H,
8975
8979
  type: ((t0 = y == null ? void 0 : y.config) == null ? void 0 : t0.responseType) === "blob" ? "image" : "json",
8976
8980
  etime: this.ts
@@ -8982,8 +8986,8 @@ const rz = {
8982
8986
  }
8983
8987
  }).then((y) => {
8984
8988
  var V, M0, b0;
8985
- const H = j0.convert2Geojson(((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data)), U = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8986
- this.weatherLayers[U] = {
8989
+ const H = j0.convert2Geojson(((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data)), K = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8990
+ this.weatherLayers[K] = {
8987
8991
  data: H,
8988
8992
  active: !0,
8989
8993
  cached: !1,
@@ -9396,8 +9400,8 @@ const rz = {
9396
9400
  className: "map-gl-home"
9397
9401
  };
9398
9402
  function dz(z, M, b, O, p, o) {
9399
- var q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0, c0, e, i, u, g, v, S, Z, P, F, E0, k0, Q0, H0, _0;
9400
- const A = I("IdmGlLayer"), t = I("IdmENC"), q = I("IdmWorld12nm"), r = I("IdmSigWave"), a = I("IdmSwell"), n = I("IdmPrmsl"), s = I("IdmIceberg"), d = I("IdmTropicals"), B = I("IdmCurrents"), R = I("IdmCurrentParticle"), W = I("IdmWindBarb"), m = I("IdmWindParticle"), h = I("IdmPrecip3h"), X = I("IdmVisibility"), E = I("IdmWaterTemp"), y = I("IdmTemp"), H = I("IdmArctic"), U = I("IdmWarZone"), V = I("IdmGmdssArea"), M0 = I("IdmEcaZone"), b0 = I("IdmAlertZone"), t0 = I("IdmPort"), l0 = I("IdmLoadLine"), f0 = I("IdmTimezone"), a0 = I("IdmVRA"), s0 = I("IdmSpecialArea"), z0 = I("IdmTerminator"), u0 = I("IdmLatLng"), L0 = I("IdmMeasure"), W0 = I("IdmPoint");
9403
+ var q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0, c0, e, i, u, g, v, S, Z, P, F, x0, k0, Q0, H0, _0;
9404
+ const A = I("IdmGlLayer"), t = I("IdmENC"), q = I("IdmWorld12nm"), r = I("IdmSigWave"), a = I("IdmSwell"), n = I("IdmPrmsl"), s = I("IdmIceberg"), d = I("IdmTropicals"), B = I("IdmCurrents"), R = I("IdmCurrentParticle"), W = I("IdmWindBarb"), m = I("IdmWindParticle"), h = I("IdmPrecip3h"), X = I("IdmVisibility"), E = I("IdmWaterTemp"), y = I("IdmTemp"), H = I("IdmArctic"), K = I("IdmWarZone"), V = I("IdmGmdssArea"), M0 = I("IdmEcaZone"), b0 = I("IdmAlertZone"), t0 = I("IdmPort"), l0 = I("IdmLoadLine"), f0 = I("IdmTimezone"), a0 = I("IdmVRA"), s0 = I("IdmSpecialArea"), z0 = I("IdmTerminator"), u0 = I("IdmLatLng"), L0 = I("IdmMeasure"), W0 = I("IdmPoint");
9401
9405
  return b.map ? (l(), f("div", nz, [
9402
9406
  C(A, Q({
9403
9407
  ref: "layer",
@@ -9535,7 +9539,7 @@ function dz(z, M, b, O, p, o) {
9535
9539
  "before-layer": b.beforeLayer,
9536
9540
  "toggle-version": b.toggleVersion
9537
9541
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9538
- C(U, Q({
9542
+ C(K, Q({
9539
9543
  map: b.map,
9540
9544
  zone: (v = p.otherLayers) == null ? void 0 : v["war-zones"],
9541
9545
  "before-layer": b.beforeLayer
@@ -9563,7 +9567,7 @@ function dz(z, M, b, O, p, o) {
9563
9567
  }, z.$attrs), null, 16, ["map", "port", "before-layer", "meteoSource"]),
9564
9568
  C(l0, Q({
9565
9569
  map: b.map,
9566
- line: (E0 = p.otherLayers) == null ? void 0 : E0["load-lines"],
9570
+ line: (x0 = p.otherLayers) == null ? void 0 : x0["load-lines"],
9567
9571
  "before-layer": b.beforeLayer
9568
9572
  }, z.$attrs), null, 16, ["map", "line", "before-layer"]),
9569
9573
  C(f0, Q({