@idmwx/idmui-gl3 6.1.3 → 6.1.5

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
@@ -5,7 +5,7 @@ import { LayerHelper as Ve, CompanyHelper as Ze } from "@idm-plugin/tag";
5
5
  import ee from "moment";
6
6
  import Qe from "axios";
7
7
  import Ye from "moment-timezone";
8
- import { resolveComponent as R, openBlock as m, createElementBlock as u, createElementVNode as o, normalizeStyle as oe, createVNode as H, withCtx as Ie, normalizeClass as Z, Fragment as V, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as le, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as qe, mergeProps as X } from "vue";
8
+ import { resolveComponent as R, openBlock as m, createElementBlock as u, createElementVNode as o, normalizeStyle as le, createVNode as H, withCtx as Ie, normalizeClass as Z, Fragment as V, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as ne, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as qe, mergeProps as X } from "vue";
9
9
  import * as S from "@turf/turf";
10
10
  import At from "@mapbox/sphericalmercator";
11
11
  import je from "mapbox-gl";
@@ -266,10 +266,10 @@ const U = (a, e) => {
266
266
  }, Bt = ["onClick"], It = ["onClick"], Et = {
267
267
  key: 0,
268
268
  class: "flex-start"
269
- }, Dt = {
269
+ }, kt = {
270
270
  key: 1,
271
271
  class: "flex-start"
272
- }, kt = { class: "header-box flex-between" }, zt = { class: "weather-layers card-bg" }, Pt = { class: "layers-title flex-between" }, Mt = {
272
+ }, Dt = { class: "header-box flex-between" }, zt = { class: "weather-layers card-bg" }, Pt = { class: "layers-title flex-between" }, Mt = {
273
273
  key: 0,
274
274
  class: "iconfont active"
275
275
  }, St = {
@@ -305,7 +305,7 @@ function aa(a, e, t, r, i, s) {
305
305
  return m(), u("div", vt, [
306
306
  o("div", {
307
307
  class: "menu-bar-box",
308
- style: oe({ top: t.top + 10 + "px", right: i.right + "px" })
308
+ style: le({ top: t.top + 10 + "px", right: i.right + "px" })
309
309
  }, [
310
310
  o("div", bt, [
311
311
  H(n, {
@@ -328,7 +328,7 @@ function aa(a, e, t, r, i, s) {
328
328
  ], 4),
329
329
  o("div", {
330
330
  class: "menu-bar-box",
331
- style: oe({ top: t.top + 160 + "px", right: i.right + "px" })
331
+ style: le({ top: t.top + 160 + "px", right: i.right + "px" })
332
332
  }, [
333
333
  o("div", Lt, [
334
334
  H(n, {
@@ -400,7 +400,7 @@ function aa(a, e, t, r, i, s) {
400
400
  s.hasCollectedLayers ? (m(), u("div", {
401
401
  key: 0,
402
402
  class: "active-layers",
403
- style: oe({ right: i.right + "px", bottom: "100px" })
403
+ style: le({ right: i.right + "px", bottom: "100px" })
404
404
  }, [
405
405
  o("div", Ct, [
406
406
  e[22] || (e[22] = o("div", { style: { margin: "2px 5px" } }, "Weather Layers", -1)),
@@ -434,7 +434,7 @@ function aa(a, e, t, r, i, s) {
434
434
  onClick: e[7] || (e[7] = (d) => s.handleToggleWindFeather())
435
435
  }, "", 2)
436
436
  ])) : J("", !0),
437
- h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", Dt, [
437
+ h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", kt, [
438
438
  o("i", {
439
439
  class: Z(["iconfont sub-layer-icon", i.showCurrentParticleCollected ? "active" : ""]),
440
440
  onClick: e[8] || (e[8] = (d) => s.handleToggleCurrentParticle())
@@ -448,12 +448,12 @@ function aa(a, e, t, r, i, s) {
448
448
  ], 4)) : J("", !0),
449
449
  o("div", {
450
450
  class: "available-layers flex-center",
451
- style: oe({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
451
+ style: le({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
452
452
  }, [
453
453
  o("div", {
454
454
  class: Z(["list-box", t.layerToggle ? "right-bar" : ""])
455
455
  }, [
456
- o("div", kt, [
456
+ o("div", Dt, [
457
457
  e[23] || (e[23] = o("div", null, "Layers", -1)),
458
458
  o("div", {
459
459
  class: "iconfont close-btn",
@@ -562,11 +562,11 @@ function aa(a, e, t, r, i, s) {
562
562
  value: h.name
563
563
  }, {
564
564
  default: Ie(() => {
565
- var A, v, E, w, D, _;
565
+ var A, v, E, w, k, _;
566
566
  return [
567
- le(I(h.name) + " ", 1),
567
+ ne(I(h.name) + " ", 1),
568
568
  d !== 0 ? (m(), u("span", $t, I(h.resolution) + "km " + I(h.length) + "days", 1)) : J("", !0),
569
- d === 0 ? (m(), u("div", ea, "Provides the best forecast")) : (E = (v = (A = h == null ? void 0 : h.update) == null ? void 0 : A.default) == null ? void 0 : v.meta) != null && E.initialisationTime ? (m(), u("div", ta, "Update: " + I(s.computeDateZ((_ = (D = (w = h == null ? void 0 : h.update) == null ? void 0 : w.default) == null ? void 0 : D.meta) == null ? void 0 : _.initialisationTime)), 1)) : J("", !0)
569
+ d === 0 ? (m(), u("div", ea, "Provides the best forecast")) : (E = (v = (A = h == null ? void 0 : h.update) == null ? void 0 : A.default) == null ? void 0 : v.meta) != null && E.initialisationTime ? (m(), u("div", ta, "Update: " + I(s.computeDateZ((_ = (k = (w = h == null ? void 0 : h.update) == null ? void 0 : w.default) == null ? void 0 : k.meta) == null ? void 0 : _.initialisationTime)), 1)) : J("", !0)
570
570
  ];
571
571
  }),
572
572
  _: 2
@@ -959,7 +959,7 @@ class We {
959
959
  h.resolution && t.uniform2f(h.resolution, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, i), h.image && t.uniform1i(h.image, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, s), h.color && t.uniform1i(h.color, 1), l != null && l.uvRange && (l != null && l.sRange) && (h.uvRange && t.uniform2f(h.uvRange, l.uvRange[0], l.uvRange[1]), h.sRange && t.uniform2f(h.sRange, l.sRange[0], l.sRange[1])), h.scale && t.uniform1f(h.scale, (l == null ? void 0 : l.scale) || 1);
960
960
  const d = e.getBoundPixel(), A = e.map.getZoom() + 1, v = e.getWorldCopy(d, A);
961
961
  for (const E of v) {
962
- const w = (E[0] - d[0]) * e.ratio, D = (E[1] - d[3]) * e.ratio, _ = E[2] * e.ratio, [f, b, g, C] = [w, _ + w, D, _ + D], y = new Float32Array([f, g, b, g, f, C, f, C, b, g, b, C]);
962
+ const w = (E[0] - d[0]) * e.ratio, k = (E[1] - d[3]) * e.ratio, _ = E[2] * e.ratio, [f, b, g, C] = [w, _ + w, k, _ + k], y = new Float32Array([f, g, b, g, f, C, f, C, b, g, b, C]);
963
963
  t.bindBuffer(t.ARRAY_BUFFER, n), t.bufferData(t.ARRAY_BUFFER, y, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
964
964
  }
965
965
  } catch (h) {
@@ -1008,10 +1008,10 @@ class We {
1008
1008
  });
1009
1009
  }
1010
1010
  }
1011
- class ne {
1011
+ class oe {
1012
1012
  }
1013
1013
  // 顶点渲染
1014
- te(ne, "vertexSchema", `
1014
+ te(oe, "vertexSchema", `
1015
1015
  //canvas 坐标系上的坐标 (x, y)
1016
1016
  attribute vec2 a_position; //像素坐标
1017
1017
  attribute vec2 a_texCoord; //纹理坐标
@@ -1026,7 +1026,7 @@ te(ne, "vertexSchema", `
1026
1026
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
1027
1027
  v_texCoord = a_texCoord;
1028
1028
  }`), // 类如风、流等u v双变量片元渲染
1029
- te(ne, "uvFragmentSchema", `
1029
+ te(oe, "uvFragmentSchema", `
1030
1030
  precision mediump float;
1031
1031
  uniform sampler2D u_image;
1032
1032
  uniform vec2 u_range_u_v;
@@ -1046,7 +1046,7 @@ te(ne, "uvFragmentSchema", `
1046
1046
 
1047
1047
  gl_FragColor = color;
1048
1048
  }`), // 类如浪、气压等单变量片元渲染
1049
- te(ne, "fragmentSchema", `
1049
+ te(oe, "fragmentSchema", `
1050
1050
  precision mediump float;
1051
1051
  uniform sampler2D u_image; // 灰度
1052
1052
  uniform sampler2D u_color; // 色值映射
@@ -3209,7 +3209,7 @@ const la = {
3209
3209
  [1, "rgb(91, 136, 161)"]
3210
3210
  ];
3211
3211
  this.rampColor = this.webgl.setup(this.context, a);
3212
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
3212
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.uvFragmentSchema);
3213
3213
  this.program = e, this.aPositionBuffer = t;
3214
3214
  }
3215
3215
  this.handleParticleSetup();
@@ -3263,7 +3263,7 @@ function ca(a, e, t, r, i, s) {
3263
3263
  return (n = t.factor) != null && n.active ? (m(), u("div", ha, [
3264
3264
  o("div", {
3265
3265
  class: "legend-bars flex-center",
3266
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3266
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3267
3267
  }, e[0] || (e[0] = [
3268
3268
  o("span", null, "kts", -1),
3269
3269
  o("span", null, "0", -1),
@@ -3537,7 +3537,7 @@ const ga = {
3537
3537
  [1, "rgb(195,194,194)"]
3538
3538
  ];
3539
3539
  this.rampColor = this.webgl.setup(this.context, a);
3540
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
3540
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.uvFragmentSchema);
3541
3541
  this.program = e, this.aPositionBuffer = t;
3542
3542
  }
3543
3543
  this.handleParticleSetup();
@@ -3596,7 +3596,7 @@ function fa(a, e, t, r, i, s) {
3596
3596
  return (n = t.factor) != null && n.active ? (m(), u("div", ya, [
3597
3597
  o("div", {
3598
3598
  class: "legend-bars flex-center",
3599
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3599
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3600
3600
  }, e[0] || (e[0] = [
3601
3601
  o("span", null, "kts", -1),
3602
3602
  o("span", null, "0", -1),
@@ -4124,7 +4124,7 @@ const Ea = {
4124
4124
  // 100%
4125
4125
  ];
4126
4126
  this.rampColor = this.webgl.setup(this.context, a);
4127
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4127
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4128
4128
  this.program = e, this.aPositionBuffer = t;
4129
4129
  }
4130
4130
  },
@@ -4137,13 +4137,13 @@ const Ea = {
4137
4137
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4138
4138
  }
4139
4139
  }
4140
- }, Da = { key: 0 };
4141
- function ka(a, e, t, r, i, s) {
4140
+ }, ka = { key: 0 };
4141
+ function Da(a, e, t, r, i, s) {
4142
4142
  var n;
4143
- return (n = t.factor) != null && n.active ? (m(), u("div", Da, [
4143
+ return (n = t.factor) != null && n.active ? (m(), u("div", ka, [
4144
4144
  o("div", {
4145
4145
  class: "legend-bars flex-center",
4146
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4146
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4147
4147
  }, e[0] || (e[0] = [
4148
4148
  o("span", null, null, -1),
4149
4149
  o("span", { style: { display: "inline-block", position: "relative", left: "-10px" } }, "%", -1),
@@ -4160,7 +4160,7 @@ function ka(a, e, t, r, i, s) {
4160
4160
  ]), 4)
4161
4161
  ])) : J("", !0);
4162
4162
  }
4163
- const za = /* @__PURE__ */ U(Ea, [["render", ka], ["__scopeId", "data-v-ae31802c"]]);
4163
+ const za = /* @__PURE__ */ U(Ea, [["render", Da], ["__scopeId", "data-v-ae31802c"]]);
4164
4164
  const Pa = {
4165
4165
  name: "IdmCover",
4166
4166
  props: {
@@ -4240,7 +4240,7 @@ const Pa = {
4240
4240
  // 100%
4241
4241
  ];
4242
4242
  this.rampColor = this.webgl.setup(this.context, a);
4243
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4243
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4244
4244
  this.program = e, this.aPositionBuffer = t;
4245
4245
  }
4246
4246
  },
@@ -4259,7 +4259,7 @@ function Sa(a, e, t, r, i, s) {
4259
4259
  return (n = t.factor) != null && n.active ? (m(), u("div", Ma, [
4260
4260
  o("div", {
4261
4261
  class: "legend-bars flex-center",
4262
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4262
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4263
4263
  }, e[0] || (e[0] = [
4264
4264
  o("span", null, "%", -1),
4265
4265
  o("span", null, "20", -1),
@@ -4358,7 +4358,7 @@ const Qa = {
4358
4358
  // 4m
4359
4359
  ];
4360
4360
  this.rampColor = this.webgl.setup(this.context, a);
4361
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4361
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4362
4362
  this.program = e, this.aPositionBuffer = t;
4363
4363
  }
4364
4364
  },
@@ -4377,7 +4377,7 @@ function Na(a, e, t, r, i, s) {
4377
4377
  return (n = t.factor) != null && n.active ? (m(), u("div", Ha, [
4378
4378
  o("div", {
4379
4379
  class: "legend-bars flex-center",
4380
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4380
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4381
4381
  }, e[0] || (e[0] = [
4382
4382
  o("span", null, "m", -1),
4383
4383
  o("span", null, "0", -1),
@@ -4735,11 +4735,11 @@ class ht {
4735
4735
  }), i;
4736
4736
  }
4737
4737
  static pickHourly(e, t) {
4738
- var r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De;
4738
+ var r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke;
4739
4739
  const re = typeof t == "string" ? ee(t) : t, ce = e == null ? void 0 : e.weather, Q = e == null ? void 0 : e.marine, Be = ee((i = (r = ce == null ? void 0 : ce[0]) == null ? void 0 : r.hourly) == null ? void 0 : i.date).utc(), K = Be.clone().add((l = (n = (s = ce == null ? void 0 : ce[0]) == null ? void 0 : s.hourly) == null ? void 0 : n.time) == null ? void 0 : l.at(0), "h"), q = Be.clone().add((h = (p = (c = ce == null ? void 0 : ce[0]) == null ? void 0 : c.hourly) == null ? void 0 : p.time) == null ? void 0 : h.at(-1), "h"), Me = [];
4740
4740
  if (re.isBetween(K, q, "millisecond", "[]")) {
4741
4741
  const P = re.utc().diff(K, "h", !1);
4742
- let de, ke;
4742
+ let de, De;
4743
4743
  if (ce) {
4744
4744
  let Se = 0, Te = 0;
4745
4745
  for (const z of ce) {
@@ -4752,7 +4752,7 @@ class ht {
4752
4752
  temp: (v = O == null ? void 0 : O.temperature_2m) == null ? void 0 : v.at(P),
4753
4753
  apparentTemp: (E = O == null ? void 0 : O.apparent_temperature) == null ? void 0 : E.at(P),
4754
4754
  rh: (w = O == null ? void 0 : O.relative_humidity_2m) == null ? void 0 : w.at(P),
4755
- dp: (D = O == null ? void 0 : O.dew_point_2m) == null ? void 0 : D.at(P),
4755
+ dp: (k = O == null ? void 0 : O.dew_point_2m) == null ? void 0 : k.at(P),
4756
4756
  precip: {
4757
4757
  probability: (_ = O == null ? void 0 : O.precipitation_probability) == null ? void 0 : _.at(P),
4758
4758
  sum: (f = O == null ? void 0 : O.precipitation) == null ? void 0 : f.at(P),
@@ -4766,7 +4766,7 @@ class ht {
4766
4766
  wind: {
4767
4767
  speed: (L = O == null ? void 0 : O.wind_speed_10m) == null ? void 0 : L.at(P),
4768
4768
  kts: (T = O == null ? void 0 : O.wind_speed_10m) == null ? void 0 : T.at(P),
4769
- degree: (k = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : k.at(P),
4769
+ degree: (D = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : D.at(P),
4770
4770
  bearing: ((F = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : F.at(P)) !== null ? (((N = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : N.at(P)) + 180) % 360 : null,
4771
4771
  gusts: (j = O == null ? void 0 : O.wind_gusts_10m) == null ? void 0 : j.at(P)
4772
4772
  },
@@ -4784,7 +4784,7 @@ class ht {
4784
4784
  let Se = 0;
4785
4785
  for (const Te of Q) {
4786
4786
  const z = Te == null ? void 0 : Te.hourly;
4787
- ke = {
4787
+ De = {
4788
4788
  wave: {
4789
4789
  sig: {
4790
4790
  height: (W = z == null ? void 0 : z.wave_height) == null ? void 0 : W.at(P),
@@ -4814,8 +4814,8 @@ class ht {
4814
4814
  bearing: ((Ee = z == null ? void 0 : z.ocean_current_direction) == null ? void 0 : Ee.at(P)) ?? null
4815
4815
  },
4816
4816
  sst: (He = z == null ? void 0 : z.sea_surface_temperature) == null ? void 0 : He.at(P),
4817
- height: (De = z == null ? void 0 : z.sea_level_height_msl) == null ? void 0 : De.at(P)
4818
- }, ke.wave = this.parseWave(ke.wave, de == null ? void 0 : de.wind), ke.current.direction = this.degree2Direction(ke.current.degree), Object.assign(Me[Se], ke), Se++;
4817
+ height: (ke = z == null ? void 0 : z.sea_level_height_msl) == null ? void 0 : ke.at(P)
4818
+ }, De.wave = this.parseWave(De.wave, de == null ? void 0 : de.wind), De.current.direction = this.degree2Direction(De.current.degree), Object.assign(Me[Se], De), Se++;
4819
4819
  }
4820
4820
  }
4821
4821
  }
@@ -4844,8 +4844,8 @@ class ht {
4844
4844
  };
4845
4845
  }
4846
4846
  static pickDaily(e, t) {
4847
- var r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B;
4848
- const ze = typeof t == "string" ? ee(t) : t, ve = e == null ? void 0 : e.weather, Pe = e == null ? void 0 : e.marine, Ee = ee((s = (i = (r = ve == null ? void 0 : ve[0]) == null ? void 0 : r.daily) == null ? void 0 : i.time) == null ? void 0 : s.at(0)), He = ee((c = (l = (n = ve == null ? void 0 : ve[0]) == null ? void 0 : n.daily) == null ? void 0 : l.time) == null ? void 0 : c.at(-1)), De = [];
4847
+ var r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B;
4848
+ const ze = typeof t == "string" ? ee(t) : t, ve = e == null ? void 0 : e.weather, Pe = e == null ? void 0 : e.marine, Ee = ee((s = (i = (r = ve == null ? void 0 : ve[0]) == null ? void 0 : r.daily) == null ? void 0 : i.time) == null ? void 0 : s.at(0)), He = ee((c = (l = (n = ve == null ? void 0 : ve[0]) == null ? void 0 : n.daily) == null ? void 0 : l.time) == null ? void 0 : c.at(-1)), ke = [];
4849
4849
  if (ze.isBetween(Ee, He, "millisecond", "[]")) {
4850
4850
  let re, ce;
4851
4851
  const Q = ze.diff(Ee, "d", !1);
@@ -4865,7 +4865,7 @@ class ht {
4865
4865
  },
4866
4866
  precip: {
4867
4867
  sum: (w = K.precipitation_sum) == null ? void 0 : w.at(Q),
4868
- rainSum: (D = K.rain_sum) == null ? void 0 : D.at(Q),
4868
+ rainSum: (k = K.rain_sum) == null ? void 0 : k.at(Q),
4869
4869
  snowfallSum: (_ = K.snowfall_sum) == null ? void 0 : _.at(Q),
4870
4870
  showersSum: (f = K.showers_sum) == null ? void 0 : f.at(Q),
4871
4871
  hours: (b = K.precipitation_hours) == null ? void 0 : b.at(Q),
@@ -4878,14 +4878,14 @@ class ht {
4878
4878
  },
4879
4879
  wind: {
4880
4880
  speed: (T = K.wind_speed_10m_max) == null ? void 0 : T.at(Q),
4881
- kts: (k = K.wind_speed_10m_max) == null ? void 0 : k.at(Q),
4881
+ kts: (D = K.wind_speed_10m_max) == null ? void 0 : D.at(Q),
4882
4882
  degree: (F = K.wind_direction_10m_dominant) == null ? void 0 : F.at(Q),
4883
4883
  gusts: (N = K.wind_gusts_10m_max) == null ? void 0 : N.at(Q),
4884
4884
  bearing: ((j = K.wind_direction_10m_dominant) == null ? void 0 : j.at(Q)) !== null ? (((G = K.wind_direction_10m_dominant) == null ? void 0 : G.at(Q)) + 180) % 360 : null
4885
4885
  }
4886
4886
  };
4887
4887
  const { name: q, url: Me, bg: P } = this.parseWeatherCode(re.code, !0);
4888
- re.name = q, re.url = Me, re.bg = P, re.wind.scale = this.beaufort(this.kts2ms(re.wind.kts)), re.wind.direction = this.degree2Direction(re.wind.degree), De.push({
4888
+ re.name = q, re.url = Me, re.bg = P, re.wind.scale = this.beaufort(this.kts2ms(re.wind.kts)), re.wind.direction = this.degree2Direction(re.wind.degree), ke.push({
4889
4889
  utc: Ee.add(Q, "d").utc().format(),
4890
4890
  model: Be.model,
4891
4891
  weather: { ...re }
@@ -4918,11 +4918,11 @@ class ht {
4918
4918
  bearing: ((_e = q.wind_wave_direction_dominant) == null ? void 0 : _e.at(Q)) !== null ? (((B = q.wind_wave_direction_dominant) == null ? void 0 : B.at(Q)) + 180) % 360 : null
4919
4919
  }
4920
4920
  }
4921
- }, ce.wave = this.parseWave(ce.wave, re == null ? void 0 : re.wind), Object.assign(De[Be], ce), Be++;
4921
+ }, ce.wave = this.parseWave(ce.wave, re == null ? void 0 : re.wind), Object.assign(ke[Be], ce), Be++;
4922
4922
  }
4923
4923
  }
4924
4924
  }
4925
- return De;
4925
+ return ke;
4926
4926
  }
4927
4927
  static parseWave(e, t) {
4928
4928
  if (e.sig.direction = this.degree2Direction(e.sig.degree), e.swell.direction = this.degree2Direction(e.swell.degree), e.wd.direction = this.degree2Direction(e.wd.degree), e.sig.scale = this.douglas(e.sig.height), e.swell.scale = this.douglas(e.swell.height), e.wd.scale = this.douglas(e.wd.height), e.sig.height === 0) {
@@ -5683,7 +5683,7 @@ const Oa = {
5683
5683
  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), (a = this.interpolateMarkers) == null || a.forEach((e) => e == null ? void 0 : e.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));
5684
5684
  },
5685
5685
  handleDateChange() {
5686
- var a, e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me;
5686
+ var a, e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T, D, F, N, j, G, W, me;
5687
5687
  if ((a = this.interpolateMarkers) == null || a.forEach((he) => he == null ? void 0 : he.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
5688
5688
  const he = ee(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ue = this.interpolateData.filter((Y) => Y.properties.date === he.format() && !Y.properties.disabled), fe = this.handleComputePolygons(ue), ge = S.featureCollection([...ue]);
5689
5689
  fe.forEach((Y) => {
@@ -5705,7 +5705,7 @@ const Oa = {
5705
5705
  for (const Y of ue)
5706
5706
  if (!Y.properties.disabled) {
5707
5707
  let ae = "#f44336";
5708
- ((l = (n = Y.properties) == null ? void 0 : n.wind) == null ? void 0 : l.kts) < 32 || !((p = (c = Y.properties) == null ? void 0 : c.wind) != null && p.kts) ? ae = "#03f869" : ((d = (h = Y.properties) == null ? void 0 : h.wind) == null ? void 0 : d.kts) >= 32 && ((v = (A = Y.properties) == null ? void 0 : A.wind) == null ? void 0 : v.kts) < 47 ? ae = "#f2f202" : ((w = (E = Y.properties) == null ? void 0 : E.wind) == null ? void 0 : w.kts) >= 47 && ((_ = (D = Y.properties) == null ? void 0 : D.wind) == null ? void 0 : _.kts) < 63 ? ae = "#ff9100" : ((b = (f = Y.properties) == null ? void 0 : f.wind) == null ? void 0 : b.kts) >= 63 && ((C = (g = Y.properties) == null ? void 0 : g.wind) == null ? void 0 : C.kts) < 79 ? ae = "#f44336" : ((L = (y = Y.properties) == null ? void 0 : y.wind) == null ? void 0 : L.kts) >= 79 && ((k = (T = Y.properties) == null ? void 0 : T.wind) == null ? void 0 : k.kts) < 94 ? ae = "#f903d0" : ((N = (F = Y.properties) == null ? void 0 : F.wind) == null ? void 0 : N.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
5708
+ ((l = (n = Y.properties) == null ? void 0 : n.wind) == null ? void 0 : l.kts) < 32 || !((p = (c = Y.properties) == null ? void 0 : c.wind) != null && p.kts) ? ae = "#03f869" : ((d = (h = Y.properties) == null ? void 0 : h.wind) == null ? void 0 : d.kts) >= 32 && ((v = (A = Y.properties) == null ? void 0 : A.wind) == null ? void 0 : v.kts) < 47 ? ae = "#f2f202" : ((w = (E = Y.properties) == null ? void 0 : E.wind) == null ? void 0 : w.kts) >= 47 && ((_ = (k = Y.properties) == null ? void 0 : k.wind) == null ? void 0 : _.kts) < 63 ? ae = "#ff9100" : ((b = (f = Y.properties) == null ? void 0 : f.wind) == null ? void 0 : b.kts) >= 63 && ((C = (g = Y.properties) == null ? void 0 : g.wind) == null ? void 0 : C.kts) < 79 ? ae = "#f44336" : ((L = (y = Y.properties) == null ? void 0 : y.wind) == null ? void 0 : L.kts) >= 79 && ((D = (T = Y.properties) == null ? void 0 : T.wind) == null ? void 0 : D.kts) < 94 ? ae = "#f903d0" : ((N = (F = Y.properties) == null ? void 0 : F.wind) == null ? void 0 : N.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
5709
5709
  const Ae = `<svg t="1719918955501"
5710
5710
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
5711
5711
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -5856,25 +5856,25 @@ const Oa = {
5856
5856
  style: { "justify-content": "flex-start" }
5857
5857
  }, ai = { class: "forecast-models" }, ii = ["onClick"], ri = { class: "more" };
5858
5858
  function si(a, e, t, r, i, s) {
5859
- var n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T;
5859
+ var n, l, c, p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T;
5860
5860
  return Fe((m(), u("div", Ra, [
5861
5861
  o("div", ja, [
5862
5862
  o("div", {
5863
5863
  class: "iconfont close-btn",
5864
- onClick: e[0] || (e[0] = (k) => i.showTropicals = !1)
5864
+ onClick: e[0] || (e[0] = (D) => i.showTropicals = !1)
5865
5865
  }, ""),
5866
5866
  o("div", Wa, [
5867
5867
  (l = (n = i.activeTropicals) == null ? void 0 : n.history) != null && l.level ? (m(), u("span", Ga, I((p = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : p.level) + " , ", 1)) : J("", !0),
5868
- le(I((h = i.activeTropicals) == null ? void 0 : h.name), 1)
5868
+ ne(I((h = i.activeTropicals) == null ? void 0 : h.name), 1)
5869
5869
  ]),
5870
- o("div", Ua, " Last update: " + I(s.computeTime(((A = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : A.updated) || ((w = (E = (v = i.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : E.filter((k) => !k.disabled)[0]) == null ? void 0 : w.date))), 1)
5870
+ o("div", Ua, " Last update: " + I(s.computeTime(((A = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : A.updated) || ((w = (E = (v = i.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : E.filter((D) => !D.disabled)[0]) == null ? void 0 : w.date))), 1)
5871
5871
  ]),
5872
5872
  o("div", Ya, [
5873
5873
  o("div", Ka, [
5874
5874
  o("div", Xa, [
5875
5875
  o("div", Ja, [
5876
5876
  e[2] || (e[2] = o("label", null, "Wind speed : ", -1)),
5877
- o("span", null, I(((_ = (D = i.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : _.kts) || "-") + " [kts]", 1),
5877
+ o("span", null, I(((_ = (k = i.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : _.kts) || "-") + " [kts]", 1),
5878
5878
  o("span", null, ", BF " + I(s.computeBF(((b = (f = i.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : b.kts) || 0)), 1)
5879
5879
  ]),
5880
5880
  o("div", qa, [
@@ -5896,20 +5896,20 @@ function si(a, e, t, r, i, s) {
5896
5896
  o("div", ti, [
5897
5897
  e[6] || (e[6] = o("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
5898
5898
  o("div", ai, [
5899
- (m(!0), u(V, null, $((T = i.activeTropicals) == null ? void 0 : T.forecasts, (k, F) => {
5899
+ (m(!0), u(V, null, $((T = i.activeTropicals) == null ? void 0 : T.forecasts, (D, F) => {
5900
5900
  var N, j, G, W;
5901
5901
  return m(), u("div", {
5902
5902
  key: F,
5903
5903
  class: Z([
5904
5904
  "model",
5905
- k.disabled ? "" : "active",
5905
+ D.disabled ? "" : "active",
5906
5906
  F > 0 && F < ((j = (N = i.activeTropicals) == null ? void 0 : N.forecasts) == null ? void 0 : j.length) - 1 && ((W = (G = i.activeTropicals) == null ? void 0 : G.forecasts) == null ? void 0 : W.length) > 2 ? "center-child" : ""
5907
5907
  ]),
5908
- onClick: (me) => s.handleForecastToggle(k)
5908
+ onClick: (me) => s.handleForecastToggle(D)
5909
5909
  }, [
5910
5910
  o("span", {
5911
- class: Z(k.model)
5912
- }, I(k.model), 3)
5911
+ class: Z(D.model)
5912
+ }, I(D.model), 3)
5913
5913
  ], 10, ii);
5914
5914
  }), 128))
5915
5915
  ])
@@ -5920,7 +5920,7 @@ function si(a, e, t, r, i, s) {
5920
5920
  o("div", ri, [
5921
5921
  o("div", {
5922
5922
  class: "button",
5923
- onClick: e[1] || (e[1] = (k) => s.handleStrikeProbability(i.activeTropicals))
5923
+ onClick: e[1] || (e[1] = (D) => s.handleStrikeProbability(i.activeTropicals))
5924
5924
  }, "Strike Probability >>")
5925
5925
  ])
5926
5926
  ])
@@ -6017,7 +6017,7 @@ const oi = {
6017
6017
  [1, "rgba(197,5,58,0.8)"]
6018
6018
  ];
6019
6019
  this.rampColor = this.webgl.setup(this.context, a);
6020
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6020
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6021
6021
  this.program = e, this.aPositionBuffer = t;
6022
6022
  }
6023
6023
  },
@@ -6036,7 +6036,7 @@ function li(a, e, t, r, i, s) {
6036
6036
  return (n = t.factor) != null && n.active ? (m(), u("div", ni, [
6037
6037
  o("div", {
6038
6038
  class: "legend-bars flex-center",
6039
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6039
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6040
6040
  }, e[0] || (e[0] = [
6041
6041
  o("span", null, "mm", -1),
6042
6042
  o("span", null, "1.5", -1),
@@ -6131,7 +6131,7 @@ const ci = {
6131
6131
  [1, "rgba(144,144,144,0)"]
6132
6132
  ];
6133
6133
  this.rampColor = this.webgl.setup(this.context, a);
6134
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6134
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6135
6135
  this.program = e, this.aPositionBuffer = t;
6136
6136
  }
6137
6137
  },
@@ -6150,7 +6150,7 @@ function pi(a, e, t, r, i, s) {
6150
6150
  return (n = t.factor) != null && n.active ? (m(), u("div", di, [
6151
6151
  o("div", {
6152
6152
  class: "legend-bars flex-center",
6153
- style: oe([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
6153
+ style: le([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
6154
6154
  }, e[0] || (e[0] = [
6155
6155
  o("span", null, "nm", -1),
6156
6156
  o("span", null, "0", -1),
@@ -6251,7 +6251,7 @@ const ui = {
6251
6251
  //
6252
6252
  ];
6253
6253
  this.rampColor = this.webgl.setup(this.context, a);
6254
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6254
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6255
6255
  this.program = e, this.aPositionBuffer = t;
6256
6256
  }
6257
6257
  },
@@ -6270,7 +6270,7 @@ function yi(a, e, t, r, i, s) {
6270
6270
  return (n = t.factor) != null && n.active ? (m(), u("div", gi, [
6271
6271
  o("div", {
6272
6272
  class: "legend-bars flex-center",
6273
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6273
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6274
6274
  }, e[0] || (e[0] = [
6275
6275
  o("span", null, "°C", -1),
6276
6276
  o("span", null, "0", -1),
@@ -6374,7 +6374,7 @@ const Ai = {
6374
6374
  [1, "rgb(138, 43, 10)"]
6375
6375
  ];
6376
6376
  this.rampColor = this.webgl.setup(this.context, a);
6377
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6377
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6378
6378
  this.program = e, this.aPositionBuffer = t;
6379
6379
  }
6380
6380
  },
@@ -6393,7 +6393,7 @@ function vi(a, e, t, r, i, s) {
6393
6393
  return (n = t.factor) != null && n.active ? (m(), u("div", wi, [
6394
6394
  o("div", {
6395
6395
  class: "legend-bars flex-center",
6396
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6396
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6397
6397
  }, e[0] || (e[0] = [
6398
6398
  o("span", null, "°C", -1),
6399
6399
  o("span", null, "-20", -1),
@@ -6618,7 +6618,7 @@ const _i = {
6618
6618
  initTableData(a) {
6619
6619
  var e, t, r, i, s, n, l, c, p;
6620
6620
  this.clearTable(), this.positionGmt = (t = (e = a == null ? void 0 : a.weather) == null ? void 0 : e[0]) == null ? void 0 : t.timezone, this.positionOffset = (i = (r = a == null ? void 0 : a.weather) == null ? void 0 : r[0]) == null ? void 0 : i.offset, this.localDate = (n = (s = Ye(this.ts)) == null ? void 0 : s.tz(this.positionGmt)) == null ? void 0 : n.format("MMM-DD/HHmm[LT]"), this.currentHourData = (l = Ke.pickHourly(a, ee(this.ts))) == null ? void 0 : l[0], ((p = (c = this.currentHourData) == null ? void 0 : c.weather) == null ? void 0 : p.isDay) === 0 ? this.isDay = !1 : this.isDay = !0, this.$nextTick(() => {
6621
- var d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe;
6621
+ var d, A, v, E, w, k, _, f, b, g, C, y, L, T, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe;
6622
6622
  if (!document.getElementById("meteoMainBox"))
6623
6623
  return !1;
6624
6624
  if (!this.currentHourData)
@@ -6627,7 +6627,7 @@ const _i = {
6627
6627
  const _e = Ye(this.ts).tz(this.positionGmt).add(3 * we, "h").format();
6628
6628
  this.tableData.hours.push(_e);
6629
6629
  const B = ((d = Ke.pickHourly(a, _e)) == null ? void 0 : d[0]) || {};
6630
- this.tableData.temp.push(this.roundPrecision((A = B == null ? void 0 : B.weather) == null ? void 0 : A.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((E = (v = B == null ? void 0 : B.weather) == null ? void 0 : v.precip) == null ? void 0 : E.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((D = (w = B == null ? void 0 : B.weather) == null ? void 0 : w.precip) == null ? void 0 : D.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((_ = B == null ? void 0 : B.weather) == null ? void 0 : _.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((b = (f = B == null ? void 0 : B.weather) == null ? void 0 : f.wind) == null ? void 0 : b.kts, 1) ?? "-"), this.tableData.windDir.push((C = (g = B == null ? void 0 : B.weather) == null ? void 0 : g.wind) == null ? void 0 : C.bearing), this.tableData.windGust.push(this.roundPrecision((L = (y = B == null ? void 0 : B.weather) == null ? void 0 : y.wind) == null ? void 0 : L.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((k = (T = B == null ? void 0 : B.wave) == null ? void 0 : T.sig) == null ? void 0 : k.height, 1) ?? "-"), this.tableData.sigwaveDir.push((N = (F = B == null ? void 0 : B.wave) == null ? void 0 : F.sig) == null ? void 0 : N.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((G = (j = B == null ? void 0 : B.wave) == null ? void 0 : j.wd) == null ? void 0 : G.height, 1) ?? "-"), this.tableData.windwaveDir.push((me = (W = B == null ? void 0 : B.wave) == null ? void 0 : W.wd) == null ? void 0 : me.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((ue = (he = B == null ? void 0 : B.wave) == null ? void 0 : he.wd) == null ? void 0 : ue.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((ge = (fe = B == null ? void 0 : B.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.height, 1) ?? "-"), this.tableData.swellDir.push((ae = (Y = B == null ? void 0 : B.wave) == null ? void 0 : Y.swell) == null ? void 0 : ae.bearing), this.tableData.swellPeriod.push(this.roundPrecision((pe = (Ae = B == null ? void 0 : B.wave) == null ? void 0 : Ae.swell) == null ? void 0 : pe.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((ye = B == null ? void 0 : B.current) == null ? void 0 : ye.speed, 1) ?? "-"), this.tableData.currentDir.push((Le = B == null ? void 0 : B.current) == null ? void 0 : Le.bearing), this.tableData.seaLevel.push(this.roundPrecision(B == null ? void 0 : B.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(B == null ? void 0 : B.sst, 0) ?? "-"), this.tableData.weatherUrls.push((Ce = B == null ? void 0 : B.weather) == null ? void 0 : Ce.url), this.tableData.weatherNames.push(((xe = B == null ? void 0 : B.weather) == null ? void 0 : xe.name) ?? "-");
6630
+ this.tableData.temp.push(this.roundPrecision((A = B == null ? void 0 : B.weather) == null ? void 0 : A.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((E = (v = B == null ? void 0 : B.weather) == null ? void 0 : v.precip) == null ? void 0 : E.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((k = (w = B == null ? void 0 : B.weather) == null ? void 0 : w.precip) == null ? void 0 : k.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((_ = B == null ? void 0 : B.weather) == null ? void 0 : _.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((b = (f = B == null ? void 0 : B.weather) == null ? void 0 : f.wind) == null ? void 0 : b.kts, 1) ?? "-"), this.tableData.windDir.push((C = (g = B == null ? void 0 : B.weather) == null ? void 0 : g.wind) == null ? void 0 : C.bearing), this.tableData.windGust.push(this.roundPrecision((L = (y = B == null ? void 0 : B.weather) == null ? void 0 : y.wind) == null ? void 0 : L.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((D = (T = B == null ? void 0 : B.wave) == null ? void 0 : T.sig) == null ? void 0 : D.height, 1) ?? "-"), this.tableData.sigwaveDir.push((N = (F = B == null ? void 0 : B.wave) == null ? void 0 : F.sig) == null ? void 0 : N.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((G = (j = B == null ? void 0 : B.wave) == null ? void 0 : j.wd) == null ? void 0 : G.height, 1) ?? "-"), this.tableData.windwaveDir.push((me = (W = B == null ? void 0 : B.wave) == null ? void 0 : W.wd) == null ? void 0 : me.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((ue = (he = B == null ? void 0 : B.wave) == null ? void 0 : he.wd) == null ? void 0 : ue.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((ge = (fe = B == null ? void 0 : B.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.height, 1) ?? "-"), this.tableData.swellDir.push((ae = (Y = B == null ? void 0 : B.wave) == null ? void 0 : Y.swell) == null ? void 0 : ae.bearing), this.tableData.swellPeriod.push(this.roundPrecision((pe = (Ae = B == null ? void 0 : B.wave) == null ? void 0 : Ae.swell) == null ? void 0 : pe.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((ye = B == null ? void 0 : B.current) == null ? void 0 : ye.speed, 1) ?? "-"), this.tableData.currentDir.push((Le = B == null ? void 0 : B.current) == null ? void 0 : Le.bearing), this.tableData.seaLevel.push(this.roundPrecision(B == null ? void 0 : B.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(B == null ? void 0 : B.sst, 0) ?? "-"), this.tableData.weatherUrls.push((Ce = B == null ? void 0 : B.weather) == null ? void 0 : Ce.url), this.tableData.weatherNames.push(((xe = B == null ? void 0 : B.weather) == null ? void 0 : xe.name) ?? "-");
6631
6631
  }
6632
6632
  });
6633
6633
  },
@@ -6708,7 +6708,7 @@ const _i = {
6708
6708
  }, Bi = {
6709
6709
  id: "point-meteo",
6710
6710
  class: "point-meteo"
6711
- }, Ii = { class: "meteo-box" }, Ei = { class: "header-box flex-between" }, Di = { class: "flex-center" }, ki = { class: "lnglat" }, zi = { class: "flex-center" }, Pi = { class: "summary-row flex-between" }, Mi = { class: "summary flex-center" }, Si = ["src"], Ti = {
6711
+ }, Ii = { class: "meteo-box" }, Ei = { class: "header-box flex-between" }, ki = { class: "flex-center" }, Di = { class: "lnglat" }, zi = { class: "flex-center" }, Pi = { class: "summary-row flex-between" }, Mi = { class: "summary flex-center" }, Si = ["src"], Ti = {
6712
6712
  key: 1,
6713
6713
  class: "icon flex-center",
6714
6714
  style: { "margin-right": "5px" }
@@ -6733,7 +6733,7 @@ const _i = {
6733
6733
  }, Er = {
6734
6734
  class: "flex-space",
6735
6735
  style: { flex: "1", "padding-left": "30px" }
6736
- }, Dr = { class: "flex-between" }, kr = {
6736
+ }, kr = { class: "flex-between" }, Dr = {
6737
6737
  class: "flex-space",
6738
6738
  style: { flex: "1", "line-height": "30px" }
6739
6739
  }, zr = {
@@ -6750,19 +6750,19 @@ const _i = {
6750
6750
  class: "main-box flex-center"
6751
6751
  };
6752
6752
  function Qr(a, e, t, r, i, s) {
6753
- var p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De, re, ce, Q, Be, K, q, Me, P, de, ke, Se, Te, z, O, Ge, Ue, ie, Ne, tt, at, it, rt, st, ot;
6753
+ var p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke, re, ce, Q, Be, K, q, Me, P, de, De, Se, Te, z, O, Ge, Ue, ie, Ne, tt, at, it, rt, st, ot;
6754
6754
  const n = R("LocationFilled"), l = R("ElIcon"), c = R("ElTooltip");
6755
6755
  return Fe((m(), u("div", Bi, [
6756
6756
  o("div", Ii, [
6757
6757
  o("div", Ei, [
6758
- o("div", Di, [
6758
+ o("div", ki, [
6759
6759
  H(l, { size: "22" }, {
6760
6760
  default: Ie(() => [
6761
6761
  H(n)
6762
6762
  ]),
6763
6763
  _: 1
6764
6764
  }),
6765
- o("div", ki, I(s.computeLat((p = i.point) == null ? void 0 : p.lat)) + "," + I(s.computeLng((h = i.point) == null ? void 0 : h.lng)), 1)
6765
+ o("div", Di, I(s.computeLat((p = i.point) == null ? void 0 : p.lat)) + "," + I(s.computeLng((h = i.point) == null ? void 0 : h.lng)), 1)
6766
6766
  ]),
6767
6767
  o("div", zi, [
6768
6768
  i.showTables ? (m(), u("div", {
@@ -6810,14 +6810,14 @@ function Qr(a, e, t, r, i, s) {
6810
6810
  }, 8, ["content"]),
6811
6811
  o("div", Qi, [
6812
6812
  o("div", null, [
6813
- le(I(s.roundPrecision((E = (v = i.currentHourData) == null ? void 0 : v.weather) == null ? void 0 : E.temp, 0)), 1),
6813
+ ne(I(s.roundPrecision((E = (v = i.currentHourData) == null ? void 0 : v.weather) == null ? void 0 : E.temp, 0)), 1),
6814
6814
  e[8] || (e[8] = o("span", { style: { "font-size": "14px" } }, "°C", -1))
6815
6815
  ])
6816
6816
  ]),
6817
6817
  o("div", Hi, [
6818
6818
  o("div", Ni, [
6819
6819
  e[9] || (e[9] = o("label", null, "Precip : ", -1)),
6820
- o("span", null, I(s.roundPrecision((_ = (D = (w = i.currentHourData) == null ? void 0 : w.weather) == null ? void 0 : D.precip) == null ? void 0 : _.sum, 0)) + " mm", 1)
6820
+ o("span", null, I(s.roundPrecision((_ = (k = (w = i.currentHourData) == null ? void 0 : w.weather) == null ? void 0 : k.precip) == null ? void 0 : _.sum, 0)) + " mm", 1)
6821
6821
  ]),
6822
6822
  o("div", Fi, [
6823
6823
  e[10] || (e[10] = o("label", null, "Visibility : ", -1)),
@@ -6860,7 +6860,7 @@ function Qr(a, e, t, r, i, s) {
6860
6860
  colspan: "1",
6861
6861
  class: "tr-title"
6862
6862
  }, [
6863
- le("Hours"),
6863
+ ne("Hours"),
6864
6864
  o("span", { class: "unit" }, "(LT)")
6865
6865
  ], -1)),
6866
6866
  (m(!0), u(V, null, $(i.tableData.hours, (x) => (m(), u("th", {
@@ -6875,7 +6875,7 @@ function Qr(a, e, t, r, i, s) {
6875
6875
  colspan: "1",
6876
6876
  class: "tr-title"
6877
6877
  }, [
6878
- le("UTC"),
6878
+ ne("UTC"),
6879
6879
  o("span", { class: "unit" })
6880
6880
  ], -1)),
6881
6881
  (m(!0), u(V, null, $(i.tableData.hours, (x) => (m(), u("th", {
@@ -6918,7 +6918,7 @@ function Qr(a, e, t, r, i, s) {
6918
6918
  colspan: "1",
6919
6919
  class: "tr-title"
6920
6920
  }, [
6921
- le("Temp"),
6921
+ ne("Temp"),
6922
6922
  o("span", { class: "unit" }, "°C")
6923
6923
  ], -1)),
6924
6924
  (m(!0), u(V, null, $(i.tableData.temp, (x, M) => (m(), u("td", {
@@ -6933,7 +6933,7 @@ function Qr(a, e, t, r, i, s) {
6933
6933
  colspan: "1",
6934
6934
  class: "tr-title"
6935
6935
  }, [
6936
- le("Precip"),
6936
+ ne("Precip"),
6937
6937
  o("span", { class: "unit" }, "mm")
6938
6938
  ], -1)),
6939
6939
  (m(!0), u(V, null, $(i.tableData.precip1h, (x, M) => (m(), u("td", {
@@ -6948,7 +6948,7 @@ function Qr(a, e, t, r, i, s) {
6948
6948
  colspan: "1",
6949
6949
  class: "tr-title"
6950
6950
  }, [
6951
- le("Visibility"),
6951
+ ne("Visibility"),
6952
6952
  o("span", { class: "unit" }, "nm")
6953
6953
  ], -1)),
6954
6954
  (m(!0), u(V, null, $(i.tableData.visibility, (x, M) => (m(), u("td", {
@@ -6963,7 +6963,7 @@ function Qr(a, e, t, r, i, s) {
6963
6963
  colspan: "1",
6964
6964
  class: "tr-title"
6965
6965
  }, [
6966
- le("Wind gust"),
6966
+ ne("Wind gust"),
6967
6967
  o("span", { class: "unit" }, "kts")
6968
6968
  ], -1)),
6969
6969
  (m(!0), u(V, null, $(i.tableData.windGust, (x, M) => (m(), u("td", {
@@ -6971,11 +6971,6 @@ function Qr(a, e, t, r, i, s) {
6971
6971
  colspan: "1",
6972
6972
  key: `windGust${M}${x}`
6973
6973
  }, [
6974
- isNaN(i.tableData.windDir[M]) ? J("", !0) : (m(), u("span", {
6975
- key: 0,
6976
- class: "iconfont icon blue",
6977
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windDir[M]}deg)` })
6978
- }, "", 4)),
6979
6974
  o("span", null, I(x), 1)
6980
6975
  ]))), 128))
6981
6976
  ])
@@ -6989,7 +6984,7 @@ function Qr(a, e, t, r, i, s) {
6989
6984
  colspan: "1",
6990
6985
  class: "tr-title"
6991
6986
  }, [
6992
- le("Hours"),
6987
+ ne("Hours"),
6993
6988
  o("span", { class: "unit" }, "(LT)")
6994
6989
  ], -1)),
6995
6990
  (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
@@ -7004,7 +6999,7 @@ function Qr(a, e, t, r, i, s) {
7004
6999
  colspan: "1",
7005
7000
  class: "tr-title"
7006
7001
  }, [
7007
- le("UTC"),
7002
+ ne("UTC"),
7008
7003
  o("span", { class: "unit" })
7009
7004
  ], -1)),
7010
7005
  (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
@@ -7019,7 +7014,7 @@ function Qr(a, e, t, r, i, s) {
7019
7014
  colspan: "1",
7020
7015
  class: "tr-title"
7021
7016
  }, [
7022
- le("Wind"),
7017
+ ne("Wind"),
7023
7018
  o("span", { class: "unit" }, "kts")
7024
7019
  ], -1)),
7025
7020
  (m(!0), u(V, null, $(i.tableData.windSpeed, (x, M) => (m(), u("td", {
@@ -7030,7 +7025,7 @@ function Qr(a, e, t, r, i, s) {
7030
7025
  isNaN(i.tableData.windDir[M]) ? J("", !0) : (m(), u("span", {
7031
7026
  key: 0,
7032
7027
  class: "iconfont icon wind",
7033
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windDir[M]}deg)` })
7028
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.windDir[M]}deg)` })
7034
7029
  }, "", 4)),
7035
7030
  o("span", null, I(x), 1)
7036
7031
  ]))), 128))
@@ -7041,7 +7036,7 @@ function Qr(a, e, t, r, i, s) {
7041
7036
  colspan: "1",
7042
7037
  class: "tr-title"
7043
7038
  }, [
7044
- le("Sig Wave"),
7039
+ ne("Sig Wave"),
7045
7040
  o("span", { class: "unit" }, "m")
7046
7041
  ], -1)),
7047
7042
  (m(!0), u(V, null, $(i.tableData.sigwaveHeight, (x, M) => (m(), u("td", {
@@ -7052,7 +7047,7 @@ function Qr(a, e, t, r, i, s) {
7052
7047
  isNaN(i.tableData.sigwaveDir[M]) ? J("", !0) : (m(), u("span", {
7053
7048
  key: 0,
7054
7049
  class: "iconfont icon sigwave",
7055
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.sigwaveDir[M]}deg)` })
7050
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.sigwaveDir[M]}deg)` })
7056
7051
  }, "", 4)),
7057
7052
  o("span", null, I(x), 1)
7058
7053
  ]))), 128))
@@ -7063,7 +7058,7 @@ function Qr(a, e, t, r, i, s) {
7063
7058
  colspan: "1",
7064
7059
  class: "tr-title"
7065
7060
  }, [
7066
- le("Wind Wave"),
7061
+ ne("Wind Wave"),
7067
7062
  o("span", { class: "unit" }, "m")
7068
7063
  ], -1)),
7069
7064
  (m(!0), u(V, null, $(i.tableData.windwaveHeight, (x, M) => (m(), u("td", {
@@ -7074,7 +7069,7 @@ function Qr(a, e, t, r, i, s) {
7074
7069
  isNaN(i.tableData.sigwaveDir[M]) ? J("", !0) : (m(), u("span", {
7075
7070
  key: 0,
7076
7071
  class: "iconfont icon windwave",
7077
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windwaveDir[M]}deg)` })
7072
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.windwaveDir[M]}deg)` })
7078
7073
  }, "", 4)),
7079
7074
  o("span", null, I(x), 1)
7080
7075
  ]))), 128))
@@ -7085,7 +7080,7 @@ function Qr(a, e, t, r, i, s) {
7085
7080
  colspan: "1",
7086
7081
  class: "tr-title"
7087
7082
  }, [
7088
- le("Swell"),
7083
+ ne("Swell"),
7089
7084
  o("span", { class: "unit" }, "m")
7090
7085
  ], -1)),
7091
7086
  (m(!0), u(V, null, $(i.tableData.swellHeight, (x, M) => (m(), u("td", {
@@ -7096,7 +7091,7 @@ function Qr(a, e, t, r, i, s) {
7096
7091
  isNaN(i.tableData.swellDir[M]) ? J("", !0) : (m(), u("span", {
7097
7092
  key: 0,
7098
7093
  class: "iconfont icon swell",
7099
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.swellDir[M]}deg)` })
7094
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.swellDir[M]}deg)` })
7100
7095
  }, "", 4)),
7101
7096
  o("span", null, I(x), 1)
7102
7097
  ]))), 128))
@@ -7107,7 +7102,7 @@ function Qr(a, e, t, r, i, s) {
7107
7102
  colspan: "1",
7108
7103
  class: "tr-title"
7109
7104
  }, [
7110
- le("Current"),
7105
+ ne("Current"),
7111
7106
  o("span", { class: "unit" }, "kts")
7112
7107
  ], -1)),
7113
7108
  (m(!0), u(V, null, $(i.tableData.currentSpeed, (x, M) => (m(), u("td", {
@@ -7119,7 +7114,7 @@ function Qr(a, e, t, r, i, s) {
7119
7114
  key: 0,
7120
7115
  class: "iconfont icon current",
7121
7116
  id: "meteoGrayIcon",
7122
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.currentDir[M]}deg)` })
7117
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.currentDir[M]}deg)` })
7123
7118
  }, "", 4)),
7124
7119
  o("span", null, I(x), 1)
7125
7120
  ]))), 128))
@@ -7134,7 +7129,7 @@ function Qr(a, e, t, r, i, s) {
7134
7129
  colspan: "1",
7135
7130
  class: "tr-title"
7136
7131
  }, [
7137
- le("Hours"),
7132
+ ne("Hours"),
7138
7133
  o("span", { class: "unit" }, "(LT)")
7139
7134
  ], -1)),
7140
7135
  (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
@@ -7149,7 +7144,7 @@ function Qr(a, e, t, r, i, s) {
7149
7144
  colspan: "1",
7150
7145
  class: "tr-title"
7151
7146
  }, [
7152
- le("UTC"),
7147
+ ne("UTC"),
7153
7148
  o("span", { class: "unit" })
7154
7149
  ], -1)),
7155
7150
  (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
@@ -7164,7 +7159,7 @@ function Qr(a, e, t, r, i, s) {
7164
7159
  colspan: "1",
7165
7160
  class: "tr-title"
7166
7161
  }, [
7167
- le("SeaLevel"),
7162
+ ne("SeaLevel"),
7168
7163
  o("span", { class: "unit" }, "m")
7169
7164
  ], -1)),
7170
7165
  (m(!0), u(V, null, $(i.tableData.seaLevel, (x, M) => (m(), u("td", {
@@ -7179,7 +7174,7 @@ function Qr(a, e, t, r, i, s) {
7179
7174
  colspan: "1",
7180
7175
  class: "tr-title"
7181
7176
  }, [
7182
- le("SeaTemp"),
7177
+ ne("SeaTemp"),
7183
7178
  o("span", { class: "unit" }, "°C")
7184
7179
  ], -1)),
7185
7180
  (m(!0), u(V, null, $(i.tableData.seaTemp, (x, M) => (m(), u("td", {
@@ -7229,7 +7224,7 @@ function Qr(a, e, t, r, i, s) {
7229
7224
  o("div", vr, [
7230
7225
  o("div", br, [
7231
7226
  e[32] || (e[32] = o("div", null, "Wind", -1)),
7232
- o("div", null, I((N = (F = (k = i.currentHourData) == null ? void 0 : k.weather) == null ? void 0 : F.wind) == null ? void 0 : N.direction) + "/" + I(s.roundPrecision((W = (G = (j = i.currentHourData) == null ? void 0 : j.weather) == null ? void 0 : G.wind) == null ? void 0 : W.kts, 1)) + "kts/BF" + I((ue = (he = (me = i.currentHourData) == null ? void 0 : me.weather) == null ? void 0 : he.wind) == null ? void 0 : ue.scale) + "/" + I(s.roundPrecision((Y = (ge = (fe = i.currentHourData) == null ? void 0 : fe.weather) == null ? void 0 : ge.wind) == null ? void 0 : Y.gusts, 1)) + " kts", 1)
7227
+ o("div", null, I((N = (F = (D = i.currentHourData) == null ? void 0 : D.weather) == null ? void 0 : F.wind) == null ? void 0 : N.direction) + "/" + I(s.roundPrecision((W = (G = (j = i.currentHourData) == null ? void 0 : j.weather) == null ? void 0 : G.wind) == null ? void 0 : W.kts, 1)) + "kts/BF" + I((ue = (he = (me = i.currentHourData) == null ? void 0 : me.weather) == null ? void 0 : he.wind) == null ? void 0 : ue.scale) + "/" + I(s.roundPrecision((Y = (ge = (fe = i.currentHourData) == null ? void 0 : fe.weather) == null ? void 0 : ge.wind) == null ? void 0 : Y.gusts, 1)) + " kts", 1)
7233
7228
  ]),
7234
7229
  o("div", Lr, [
7235
7230
  e[33] || (e[33] = o("div", null, "Sig wave", -1)),
@@ -7239,11 +7234,11 @@ function Qr(a, e, t, r, i, s) {
7239
7234
  o("div", Cr, [
7240
7235
  o("div", xr, [
7241
7236
  e[34] || (e[34] = o("div", null, "Wind wave", -1)),
7242
- o("div", null, I((ve = (ze = (B = i.currentHourData) == null ? void 0 : B.wave) == null ? void 0 : ze.wd) == null ? void 0 : ve.direction) + "/" + I(s.roundPrecision((He = (Ee = (Pe = i.currentHourData) == null ? void 0 : Pe.wave) == null ? void 0 : Ee.wd) == null ? void 0 : He.height, 1)) + "m/" + I(s.roundPrecision((ce = (re = (De = i.currentHourData) == null ? void 0 : De.wave) == null ? void 0 : re.wd) == null ? void 0 : ce.period, 1)) + "s", 1)
7237
+ o("div", null, I((ve = (ze = (B = i.currentHourData) == null ? void 0 : B.wave) == null ? void 0 : ze.wd) == null ? void 0 : ve.direction) + "/" + I(s.roundPrecision((He = (Ee = (Pe = i.currentHourData) == null ? void 0 : Pe.wave) == null ? void 0 : Ee.wd) == null ? void 0 : He.height, 1)) + "m/" + I(s.roundPrecision((ce = (re = (ke = i.currentHourData) == null ? void 0 : ke.wave) == null ? void 0 : re.wd) == null ? void 0 : ce.period, 1)) + "s", 1)
7243
7238
  ]),
7244
7239
  o("div", _r, [
7245
7240
  e[35] || (e[35] = o("div", null, "Swell", -1)),
7246
- o("div", null, I((K = (Be = (Q = i.currentHourData) == null ? void 0 : Q.wave) == null ? void 0 : Be.swell) == null ? void 0 : K.direction) + "/" + I(s.roundPrecision((P = (Me = (q = i.currentHourData) == null ? void 0 : q.wave) == null ? void 0 : Me.swell) == null ? void 0 : P.height, 1)) + "m/" + I(s.roundPrecision((Se = (ke = (de = i.currentHourData) == null ? void 0 : de.wave) == null ? void 0 : ke.swell) == null ? void 0 : Se.period, 1)) + "s", 1)
7241
+ o("div", null, I((K = (Be = (Q = i.currentHourData) == null ? void 0 : Q.wave) == null ? void 0 : Be.swell) == null ? void 0 : K.direction) + "/" + I(s.roundPrecision((P = (Me = (q = i.currentHourData) == null ? void 0 : q.wave) == null ? void 0 : Me.swell) == null ? void 0 : P.height, 1)) + "m/" + I(s.roundPrecision((Se = (De = (de = i.currentHourData) == null ? void 0 : de.wave) == null ? void 0 : De.swell) == null ? void 0 : Se.period, 1)) + "s", 1)
7247
7242
  ])
7248
7243
  ]),
7249
7244
  o("div", Br, [
@@ -7256,8 +7251,8 @@ function Qr(a, e, t, r, i, s) {
7256
7251
  o("div", null, I(s.roundPrecision((Ue = i.currentHourData) == null ? void 0 : Ue.height, 1)) + "m", 1)
7257
7252
  ])
7258
7253
  ]),
7259
- o("div", Dr, [
7260
- o("div", kr, [
7254
+ o("div", kr, [
7255
+ o("div", Dr, [
7261
7256
  e[38] || (e[38] = o("div", null, "Sea Temp", -1)),
7262
7257
  o("div", null, I(s.roundPrecision((ie = i.currentHourData) == null ? void 0 : ie.sst, 1)) + "°C", 1)
7263
7258
  ]),
@@ -7289,7 +7284,7 @@ function Qr(a, e, t, r, i, s) {
7289
7284
  [Oe, i.showMeteo]
7290
7285
  ]);
7291
7286
  }
7292
- const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-cdc6da70"]]), Nr = {
7287
+ const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-fa02c365"]]), Nr = {
7293
7288
  name: "IdmWarZone",
7294
7289
  props: {
7295
7290
  map: {
@@ -8547,7 +8542,7 @@ function xs(a, e, t, r, i, s) {
8547
8542
  return i.lngLat ? (m(), u("div", {
8548
8543
  key: 0,
8549
8544
  class: "lat-lng-tip",
8550
- style: oe({ right: i.right + "px", bottom: t.bottom })
8545
+ style: le({ right: i.right + "px", bottom: t.bottom })
8551
8546
  }, [
8552
8547
  o("span", null, I(i.lngLat.lat.pretty), 1),
8553
8548
  e[0] || (e[0] = o("span", null, ", ", -1)),
@@ -8623,19 +8618,19 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8623
8618
  var t, r, i, s, n, l, c, p, h, d;
8624
8619
  const e = (r = (t = a.target) == null ? void 0 : t._element) == null ? void 0 : r.id;
8625
8620
  if ((e == null ? void 0 : e.split("-").length) === 2) {
8626
- const A = this.geojson.filter((D) => D.id === e.split("-")[0])[0];
8627
- this.pointMarkers[A.id].filter((D) => {
8621
+ const A = this.geojson.filter((k) => k.id === e.split("-")[0])[0];
8622
+ this.pointMarkers[A.id].filter((k) => {
8628
8623
  var _;
8629
- return ((_ = D._element) == null ? void 0 : _.id) === e;
8624
+ return ((_ = k._element) == null ? void 0 : _.id) === e;
8630
8625
  })[0].setLngLat([(s = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : s.lng, (l = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : l.lat]);
8631
8626
  let E;
8632
- A.features.forEach((D, _) => {
8633
- if (D.geometry.type === "Point" && D.properties.id == e.split("-")[1]) {
8627
+ A.features.forEach((k, _) => {
8628
+ if (k.geometry.type === "Point" && k.properties.id == e.split("-")[1]) {
8634
8629
  E = _;
8635
8630
  return;
8636
8631
  }
8637
8632
  });
8638
- const w = A.features.filter((D) => D.geometry.type === "Point");
8633
+ const w = A.features.filter((k) => k.geometry.type === "Point");
8639
8634
  this.handleTmpPointUpdate(
8640
8635
  A,
8641
8636
  w[E - 1],
@@ -8650,8 +8645,8 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8650
8645
  if ((e == null ? void 0 : e.split("-").length) === 2) {
8651
8646
  const A = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
8652
8647
  this.pointMarkers[A.id].filter((w) => {
8653
- var D;
8654
- return ((D = w._element) == null ? void 0 : D.id) === e;
8648
+ var k;
8649
+ return ((k = w._element) == null ? void 0 : k.id) === e;
8655
8650
  })[0].setLngLat([(s = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : s.lng, (l = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : l.lat]);
8656
8651
  const E = A.features.filter((w) => w.geometry.type === "Point" && w.properties.id == e.split("-")[1])[0];
8657
8652
  E.geometry.coordinates = [(p = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : p.lng, (d = (h = a.target) == null ? void 0 : h._lngLat) == null ? void 0 : d.lat], A.features = A.features.filter((w) => w.geometry.type === "Point"), this.handlePointUpdate(A);
@@ -8908,15 +8903,15 @@ const Es = {
8908
8903
  this.vendor = this.permission & Ze.LEVEL.Supper ? "hi" : "i4";
8909
8904
  },
8910
8905
  methods: {}
8911
- }, Ds = { key: 0 }, ks = { class: "bar-item" };
8906
+ }, ks = { key: 0 }, Ds = { class: "bar-item" };
8912
8907
  function zs(a, e, t, r, i, s) {
8913
8908
  const n = R("ElTooltip");
8914
- return t.enabled && t.permission & i.helper.LEVEL.Supper ? (m(), u("div", Ds, [
8909
+ return t.enabled && t.permission & i.helper.LEVEL.Supper ? (m(), u("div", ks, [
8915
8910
  o("div", {
8916
8911
  class: "menu-bar-box",
8917
- style: oe({ position: "absolute", right: i.right + "px", bottom: t.bottom })
8912
+ style: le({ position: "absolute", right: i.right + "px", bottom: t.bottom })
8918
8913
  }, [
8919
- o("div", ks, [
8914
+ o("div", Ds, [
8920
8915
  H(n, {
8921
8916
  placement: "left",
8922
8917
  effect: "light",
@@ -9216,11 +9211,11 @@ const js = {
9216
9211
  },
9217
9212
  activeWeatherLayers: {
9218
9213
  handler() {
9219
- var t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T;
9214
+ var t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, g, C, y, L, T;
9220
9215
  if (!this.map)
9221
9216
  return !1;
9222
- const a = this.activeWeatherLayers.some((k) => k.key === "wind" && k.particle === !0 || k.key === "current" && k.particle === !0 || k.key === "ice-edge" || k.key === "ice-thickness" || k.key === "ice-cover" || k.key === "temp" || k.key === "water-temp"), e = this.activeWeatherLayers.some((k) => k.key === "visibility" || k.key === "precip3h");
9223
- this.activeWeatherLayers.length > 0 ? (!a && this.map.getZoom() > 3 && this.enc ? (r = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || r.setLayoutProperty("visibility", "visible") : ((s = (i = this.map) == null ? void 0 : i.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (l = (n = this.map) == null ? void 0 : n.getLayer("hi")) == null || l.setLayoutProperty("visibility", "none")), (p = (c = this.map) == null ? void 0 : c.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || p.setLayoutProperty("visibility", "visible"), (d = this.map) != null && d.getLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((E = this.map) == null || E.moveLayer((v = this.viewport) == null ? void 0 : v.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), e && ((D = this.map) == null || D.moveLayer(this.helper.mapboxCustomer.layers.countryBoundary.id, (w = this.viewport) == null ? void 0 : w.rampColorLayer))) : ((f = (_ = this.map) == null ? void 0 : _.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || f.setLayoutProperty("visibility", "none"), this.enc && this.map.getZoom() > 3 ? (g = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || g.setLayoutProperty("visibility", "visible") : ((y = (C = this.map) == null ? void 0 : C.getLayer("i4")) == null || y.setLayoutProperty("visibility", "none"), (T = (L = this.map) == null ? void 0 : L.getLayer("hi")) == null || T.setLayoutProperty("visibility", "none"))), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
9217
+ const a = this.activeWeatherLayers.some((D) => D.key === "wind" && D.particle === !0 || D.key === "current" && D.particle === !0 || D.key === "ice-edge" || D.key === "ice-thickness" || D.key === "ice-cover" || D.key === "temp" || D.key === "water-temp"), e = this.activeWeatherLayers.some((D) => D.key === "visibility" || D.key === "precip3h");
9218
+ this.activeWeatherLayers.length > 0 ? (!a && this.map.getZoom() > 3 && this.enc ? (r = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || r.setLayoutProperty("visibility", "visible") : ((s = (i = this.map) == null ? void 0 : i.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (l = (n = this.map) == null ? void 0 : n.getLayer("hi")) == null || l.setLayoutProperty("visibility", "none")), (p = (c = this.map) == null ? void 0 : c.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || p.setLayoutProperty("visibility", "visible"), (d = this.map) != null && d.getLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((E = this.map) == null || E.moveLayer((v = this.viewport) == null ? void 0 : v.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), e && ((k = this.map) == null || k.moveLayer(this.helper.mapboxCustomer.layers.countryBoundary.id, (w = this.viewport) == null ? void 0 : w.rampColorLayer))) : ((f = (_ = this.map) == null ? void 0 : _.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || f.setLayoutProperty("visibility", "none"), this.enc && this.map.getZoom() > 3 ? (g = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || g.setLayoutProperty("visibility", "visible") : ((y = (C = this.map) == null ? void 0 : C.getLayer("i4")) == null || y.setLayoutProperty("visibility", "none"), (T = (L = this.map) == null ? void 0 : L.getLayer("hi")) == null || T.setLayoutProperty("visibility", "none"))), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
9224
9219
  },
9225
9220
  immediate: !0
9226
9221
  },
@@ -9278,16 +9273,16 @@ const js = {
9278
9273
  if (this.map) {
9279
9274
  const v = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, E = (s = this.map) == null ? void 0 : s.getBounds(), w = `${E._sw.lng},${E._sw.lat},${E._ne.lng},${E._ne.lat}`;
9280
9275
  if (this.particleFactor && ((n = this.$refs.layer) != null && n.autoActive)) {
9281
- const D = Ve.WEATHER_LAYERS.find((_) => {
9276
+ const k = Ve.WEATHER_LAYERS.find((_) => {
9282
9277
  var f;
9283
9278
  return ((f = _.peer) == null ? void 0 : f.weight) === this.particleFactor.weight;
9284
9279
  });
9285
- this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & D.weight ? this.weatherWeight : this.weatherWeight + D.weight : this.weatherWeight = this.weatherWeight & D.weight ? this.weatherWeight - D.weight : this.weatherWeight;
9280
+ this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & k.weight ? this.weatherWeight : this.weatherWeight + k.weight : this.weatherWeight = this.weatherWeight & k.weight ? this.weatherWeight - k.weight : this.weatherWeight;
9286
9281
  }
9287
9282
  if (this.weatherWeight > 0) {
9288
- let D = this.weatherWeight, _;
9289
- if (a.tropicals || this.weatherWeight & 256 && (_ = this.weatherLayers.tropicals, _ && (D -= 256, _.version = Math.random() + 1)), D > 0) {
9290
- const f = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], b = await Qe.get(`${f}/api/arc/weather/layers2/links?l=${D}&v=${this.source}&z=${v}&bbox=${w}&t=${this.ts}`, {
9283
+ let k = this.weatherWeight, _;
9284
+ if (a.tropicals || this.weatherWeight & 256 && (_ = this.weatherLayers.tropicals, _ && (k -= 256, _.version = Math.random() + 1)), k > 0) {
9285
+ const f = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], b = await Qe.get(`${f}/api/arc/weather/layers2/links?l=${k}&v=${this.source}&z=${v}&bbox=${w}&t=${this.ts}`, {
9291
9286
  headers: {
9292
9287
  Authorization: this.token || this.defaultMeteoToken
9293
9288
  }
@@ -9309,8 +9304,8 @@ const js = {
9309
9304
  const y = await Promise.all(C);
9310
9305
  this.weatherLayers = {}, y.map((L) => {
9311
9306
  var F, N, j, G;
9312
- const T = ((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data), k = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9313
- k && T && (this.weatherLayers[k] = {
9307
+ const T = ((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data), D = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9308
+ D && T && (this.weatherLayers[D] = {
9314
9309
  raw: T,
9315
9310
  type: ((G = L == null ? void 0 : L.config) == null ? void 0 : G.responseType) === "blob" ? "image" : "json",
9316
9311
  etime: b.data.etime
@@ -9322,8 +9317,8 @@ const js = {
9322
9317
  }
9323
9318
  }).then((L) => {
9324
9319
  var F, N, j;
9325
- const T = ct.convert2Geojson(((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data)), k = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9326
- this.weatherLayers[k] = {
9320
+ const T = ct.convert2Geojson(((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data)), D = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9321
+ this.weatherLayers[D] = {
9327
9322
  data: T,
9328
9323
  active: !0,
9329
9324
  cached: !1,
@@ -9385,8 +9380,8 @@ const js = {
9385
9380
  const E = await Promise.all(v);
9386
9381
  this.otherLayers = { enc: n, world12nm: l, worldMarine: c, chinaRoute: p }, E.map((w) => {
9387
9382
  var f, b, g;
9388
- const D = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9389
- this.otherLayers[_] = D;
9383
+ const k = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9384
+ this.otherLayers[_] = k;
9390
9385
  });
9391
9386
  }
9392
9387
  } else if (a.dayNight && s & 1024) {
@@ -9408,8 +9403,8 @@ const js = {
9408
9403
  );
9409
9404
  (await Promise.all(v)).map((w) => {
9410
9405
  var f, b, g;
9411
- const D = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9412
- this.otherLayers[_] = D;
9406
+ const k = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9407
+ this.otherLayers[_] = k;
9413
9408
  });
9414
9409
  }
9415
9410
  }
@@ -9469,21 +9464,21 @@ const js = {
9469
9464
  let e = 0, t = 0;
9470
9465
  const r = (p = this.map) == null ? void 0 : p.getBounds(), i = this.map.getZoom(), s = se.convertToStdLng(r._sw.lng), n = se.convertToStdLng(r._ne.lng), l = Math.floor(r._sw.lat), c = Math.ceil(r._ne.lat);
9471
9466
  for (const w in this.weatherLayers) {
9472
- let D = !1;
9467
+ let k = !1;
9473
9468
  if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
9474
9469
  let _ = [];
9475
9470
  if (w === "swell") {
9476
- D = !0;
9471
+ k = !0;
9477
9472
  const f = ((h = this.weatherLayers[w]) == null ? void 0 : h.direction) || {};
9478
9473
  for (const g in f)
9479
9474
  if (g > l && g < c && (!(i <= this.zoom) || g % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9480
9475
  const C = f[g].lng;
9481
9476
  s > n ? C.forEach((y, L) => {
9482
- var T, k, F, N, j, G;
9477
+ var T, D, F, N, j, G;
9483
9478
  if (i < 2) {
9484
9479
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9485
9480
  const W = S.point([y, g], {
9486
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9481
+ val: ((T = f[g].val) == null ? void 0 : T[L]) || ((D = f[g].dir) == null ? void 0 : D[L]),
9487
9482
  spd: (F = f[g].spd) == null ? void 0 : F[L]
9488
9483
  });
9489
9484
  _.push(W);
@@ -9496,11 +9491,11 @@ const js = {
9496
9491
  _.push(W);
9497
9492
  }
9498
9493
  }) : C.forEach((y, L) => {
9499
- var T, k, F, N, j, G;
9494
+ var T, D, F, N, j, G;
9500
9495
  if (s < 2) {
9501
9496
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9502
9497
  const W = S.point([y, g], {
9503
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9498
+ val: ((T = f[g].val) == null ? void 0 : T[L]) || ((D = f[g].dir) == null ? void 0 : D[L]),
9504
9499
  spd: (F = f[g].spd) == null ? void 0 : F[L]
9505
9500
  });
9506
9501
  _.push(W);
@@ -9537,17 +9532,17 @@ const js = {
9537
9532
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("swell height elapsed: ", t, ", total: ", e += t);
9538
9533
  }
9539
9534
  } else if (w === "current" && this.showCurrentIsoband) {
9540
- D = !0;
9535
+ k = !0;
9541
9536
  const f = ((A = this.weatherLayers[w]) == null ? void 0 : A.direction) || {};
9542
9537
  for (const g in f)
9543
9538
  if (g > l && g < c && (!(i <= this.zoom) || g % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9544
9539
  const C = f[g].lng;
9545
9540
  s > n ? C.forEach((y, L) => {
9546
- var T, k, F, N, j, G;
9541
+ var T, D, F, N, j, G;
9547
9542
  if (i < 2) {
9548
9543
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9549
9544
  const W = S.point([y, g], {
9550
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9545
+ val: ((T = f[g].val) == null ? void 0 : T[L]) || ((D = f[g].dir) == null ? void 0 : D[L]),
9551
9546
  spd: (F = f[g].spd) == null ? void 0 : F[L]
9552
9547
  });
9553
9548
  _.push(W);
@@ -9560,11 +9555,11 @@ const js = {
9560
9555
  _.push(W);
9561
9556
  }
9562
9557
  }) : C.forEach((y, L) => {
9563
- var T, k, F, N, j, G;
9558
+ var T, D, F, N, j, G;
9564
9559
  if (s < 2) {
9565
9560
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9566
9561
  const W = S.point([y, g], {
9567
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9562
+ val: ((T = f[g].val) == null ? void 0 : T[L]) || ((D = f[g].dir) == null ? void 0 : D[L]),
9568
9563
  spd: (F = f[g].spd) == null ? void 0 : F[L]
9569
9564
  });
9570
9565
  _.push(W);
@@ -9598,13 +9593,13 @@ const js = {
9598
9593
  _ = _.concat(g), t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
9599
9594
  }
9600
9595
  } else if (w === "wind" && this.showWindFeather) {
9601
- D = !0;
9596
+ k = !0;
9602
9597
  const f = this.weatherLayers.wind.raw;
9603
9598
  for (const b in f)
9604
9599
  if (b > l && b < c && (!(i <= this.zoom) || b % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9605
9600
  const g = f[b].lng;
9606
9601
  s > n ? g.forEach((C, y) => {
9607
- var L, T, k, F;
9602
+ var L, T, D, F;
9608
9603
  if (i < 2) {
9609
9604
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9610
9605
  const N = S.point([C, b], {
@@ -9615,13 +9610,13 @@ const js = {
9615
9610
  }
9616
9611
  } else if ((C >= s && C <= 180 || C >= -180 && C <= n) && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9617
9612
  const N = S.point([C, b], {
9618
- dir: ((k = f[b].val) == null ? void 0 : k[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9613
+ dir: ((D = f[b].val) == null ? void 0 : D[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9619
9614
  spd: f[b].spd[y]
9620
9615
  });
9621
9616
  _.push(N);
9622
9617
  }
9623
9618
  }) : g.forEach((C, y) => {
9624
- var L, T, k, F;
9619
+ var L, T, D, F;
9625
9620
  if (i < 2) {
9626
9621
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9627
9622
  const N = S.point([C, b], {
@@ -9632,7 +9627,7 @@ const js = {
9632
9627
  }
9633
9628
  } else if (C >= s && C <= n && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9634
9629
  const N = S.point([C, b], {
9635
- dir: ((k = f[b].val) == null ? void 0 : k[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9630
+ dir: ((D = f[b].val) == null ? void 0 : D[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9636
9631
  spd: f[b].spd[y]
9637
9632
  });
9638
9633
  _.push(N);
@@ -9644,7 +9639,7 @@ const js = {
9644
9639
  if (this.weatherLayers[w].data)
9645
9640
  _ = this.weatherLayers[w].data;
9646
9641
  else {
9647
- D = !0;
9642
+ k = !0;
9648
9643
  const f = this.weatherLayers[w].raw;
9649
9644
  if (f) {
9650
9645
  const b = [];
@@ -9674,7 +9669,7 @@ const js = {
9674
9669
  if (this.weatherLayers[w].data)
9675
9670
  _ = this.weatherLayers[w].data;
9676
9671
  else {
9677
- D = !0;
9672
+ k = !0;
9678
9673
  const f = this.weatherLayers[w].raw;
9679
9674
  if (f) {
9680
9675
  const b = [];
@@ -9701,7 +9696,7 @@ const js = {
9701
9696
  }
9702
9697
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
9703
9698
  }
9704
- _.length && (this.weatherLayers[w].data = S.featureCollection(_)), D && (this.weatherLayers[w].version = Math.random() + 1);
9699
+ _.length && (this.weatherLayers[w].data = S.featureCollection(_)), k && (this.weatherLayers[w].version = Math.random() + 1);
9705
9700
  }
9706
9701
  }
9707
9702
  },
@@ -9772,8 +9767,8 @@ const js = {
9772
9767
  }
9773
9768
  },
9774
9769
  handle3dToggle(a) {
9775
- var e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g;
9776
- a ? (this.map.setProjection("globe"), this.mapProjection = "globe", (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.rampColorLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((s = this.map) == null || s.moveLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (l = this.map) != null && l.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) && ((c = this.map) != null && c.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((h = this.map) == null || h.moveLayer((p = this.viewport) == null ? void 0 : p.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("move", this.handleDraWeather4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("move", this.handleDraWeather4Image), this.handleDraWeather4Image(), (A = this.map) != null && A.getLayer((d = this.viewport) == null ? void 0 : d.rampColorLayer) && ((v = this.map) != null && v.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((w = this.map) == null || w.moveLayer((E = this.viewport) == null ? void 0 : E.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (_ = this.map) != null && _.getLayer((D = this.viewport) == null ? void 0 : D.particleLayer) && ((f = this.map) != null && f.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((g = this.map) == null || g.moveLayer((b = this.viewport) == null ? void 0 : b.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9770
+ var e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, g;
9771
+ a ? (this.map.setProjection("globe"), this.mapProjection = "globe", (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.rampColorLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((s = this.map) == null || s.moveLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (l = this.map) != null && l.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) && ((c = this.map) != null && c.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((h = this.map) == null || h.moveLayer((p = this.viewport) == null ? void 0 : p.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("move", this.handleDraWeather4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("move", this.handleDraWeather4Image), this.handleDraWeather4Image(), (A = this.map) != null && A.getLayer((d = this.viewport) == null ? void 0 : d.rampColorLayer) && ((v = this.map) != null && v.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((w = this.map) == null || w.moveLayer((E = this.viewport) == null ? void 0 : E.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (_ = this.map) != null && _.getLayer((k = this.viewport) == null ? void 0 : k.particleLayer) && ((f = this.map) != null && f.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((g = this.map) == null || g.moveLayer((b = this.viewport) == null ? void 0 : b.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9777
9772
  },
9778
9773
  handleParticle(a) {
9779
9774
  this.particleFactor = a, this.weatherLayers[a.key] && (this.weatherLayers[a.key].particle = a.particle), this.activeWeatherLayers.map((r) => {
@@ -9797,8 +9792,8 @@ const js = {
9797
9792
  className: "map-gl-home"
9798
9793
  };
9799
9794
  function Gs(a, e, t, r, i, s) {
9800
- var pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De, re, ce, Q, Be, K, q, Me, P, de, ke, Se, Te, z, O, Ge, Ue;
9801
- const n = R("IdmGlLayer"), l = R("IdmENC"), c = R("IdmWorld12nm"), p = R("IdmWorldMarine"), h = R("IdmChinaRoute"), d = R("IdmSigWave"), A = R("IdmSwell"), v = R("IdmPrmsl"), E = R("IdmIceEdge"), w = R("IdmIceCover"), D = R("IdmIceThickness"), _ = R("IdmTropicals"), f = R("IdmCurrents"), b = R("IdmCurrentParticle"), g = R("IdmWindBarb"), C = R("IdmWindParticle"), y = R("IdmPrecip3h"), L = R("IdmVisibility"), T = R("IdmWaterTemp"), k = R("IdmTemp"), F = R("IdmWarZone"), N = R("IdmGmdssArea"), j = R("IdmEcaZone"), G = R("IdmAlertZone"), W = R("IdmPort"), me = R("IdmLoadLine"), he = R("IdmTimezone"), ue = R("IdmVRA"), fe = R("IdmSpecialArea"), ge = R("IdmTerminator"), Y = R("IdmLatLng"), ae = R("IdmMeasure"), Ae = R("IdmPoint");
9795
+ var pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke, re, ce, Q, Be, K, q, Me, P, de, De, Se, Te, z, O, Ge, Ue;
9796
+ const n = R("IdmGlLayer"), l = R("IdmENC"), c = R("IdmWorld12nm"), p = R("IdmWorldMarine"), h = R("IdmChinaRoute"), d = R("IdmSigWave"), A = R("IdmSwell"), v = R("IdmPrmsl"), E = R("IdmIceEdge"), w = R("IdmIceCover"), k = R("IdmIceThickness"), _ = R("IdmTropicals"), f = R("IdmCurrents"), b = R("IdmCurrentParticle"), g = R("IdmWindBarb"), C = R("IdmWindParticle"), y = R("IdmPrecip3h"), L = R("IdmVisibility"), T = R("IdmWaterTemp"), D = R("IdmTemp"), F = R("IdmWarZone"), N = R("IdmGmdssArea"), j = R("IdmEcaZone"), G = R("IdmAlertZone"), W = R("IdmPort"), me = R("IdmLoadLine"), he = R("IdmTimezone"), ue = R("IdmVRA"), fe = R("IdmSpecialArea"), ge = R("IdmTerminator"), Y = R("IdmLatLng"), ae = R("IdmMeasure"), Ae = R("IdmPoint");
9802
9797
  return t.map ? (m(), u("div", Ws, [
9803
9798
  H(n, X({
9804
9799
  ref: "layer",
@@ -9887,7 +9882,7 @@ function Gs(a, e, t, r, i, s) {
9887
9882
  "toggle-version": t.toggleVersion,
9888
9883
  "before-layer": t.beforeLayer
9889
9884
  }, a.$attrs), null, 16, ["viewport", "factor", "toggle-version", "before-layer"]),
9890
- H(D, X({
9885
+ H(k, X({
9891
9886
  viewport: i.viewport,
9892
9887
  factor: (ve = i.weatherLayers) == null ? void 0 : ve["ice-thickness"],
9893
9888
  "toggle-version": t.toggleVersion,
@@ -9924,7 +9919,7 @@ function Gs(a, e, t, r, i, s) {
9924
9919
  ref: "windBarb",
9925
9920
  map: t.map,
9926
9921
  "map-projection": i.mapProjection,
9927
- wind: (De = i.weatherLayers) == null ? void 0 : De.wind,
9922
+ wind: (ke = i.weatherLayers) == null ? void 0 : ke.wind,
9928
9923
  current: (re = i.weatherLayers) == null ? void 0 : re.current,
9929
9924
  "before-layer": t.beforeLayer,
9930
9925
  "margin-bottom": i.showRampColor ? "56px" : "30px",
@@ -9960,7 +9955,7 @@ function Gs(a, e, t, r, i, s) {
9960
9955
  "before-layer": t.beforeLayer,
9961
9956
  "toggle-version": t.toggleVersion
9962
9957
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9963
- H(k, X({
9958
+ H(D, X({
9964
9959
  viewport: i.viewport,
9965
9960
  factor: (q = i.weatherLayers) == null ? void 0 : q.temp,
9966
9961
  "before-layer": t.beforeLayer,
@@ -9983,7 +9978,7 @@ function Gs(a, e, t, r, i, s) {
9983
9978
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
9984
9979
  H(G, X({
9985
9980
  map: t.map,
9986
- zone: (ke = i.otherLayers) == null ? void 0 : ke["alert-zones"],
9981
+ zone: (De = i.otherLayers) == null ? void 0 : De["alert-zones"],
9987
9982
  "before-layer": t.beforeLayer
9988
9983
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
9989
9984
  H(W, X({
@@ -10051,5 +10046,5 @@ export {
10051
10046
  dt as TropicalGL,
10052
10047
  et as Viewport,
10053
10048
  We as WebGL,
10054
- ne as WebGLSchema
10049
+ oe as WebGLSchema
10055
10050
  };