@idmwx/idmui-gl4 1.8.6 → 1.8.7

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,19 +1,19 @@
1
1
  var $a = Object.defineProperty;
2
2
  var Ka = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
- var he = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
4
- import Se from "axios";
5
- import { useTheme as Le } from "vuetify";
6
- import { openBlock as y, createElementBlock as M, resolveComponent as x, createBlock as R, withCtx as f, createVNode as u, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ye, toDisplayString as m, createTextVNode as J, Fragment as be, renderList as we, withDirectives as Ve, vShow as Ze, mergeProps as B, normalizeStyle as ae } from "vue";
7
- import xe from "mapbox-gl";
3
+ var pe = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
4
+ import Me from "axios";
5
+ import { useTheme as Ce } from "vuetify";
6
+ import { openBlock as y, createElementBlock as M, resolveComponent as x, createBlock as R, withCtx as f, createVNode as u, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ye, toDisplayString as m, createTextVNode as K, Fragment as xe, renderList as _e, withDirectives as Ve, vShow as Ze, mergeProps as B, normalizeStyle as ae } from "vue";
7
+ import ke from "mapbox-gl";
8
8
  import S from "moment";
9
- import { LngLatHelper as X, TropicalHelper as Za, LaneHelper as We } from "@idm-plugin/geo";
9
+ import { LngLatHelper as $, TropicalHelper as Za, LaneHelper as We } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as Co, TidesAssist as So } from "@idm-plugin/meteo";
11
11
  import * as Mo from "echarts";
12
12
  import * as H from "@turf/turf";
13
13
  import { LayerHelper as To, CompanyHelper as Ja } from "@idm-plugin/tag2";
14
14
  import Qa from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ei } from "@idm-plugin/tag";
16
- const q = (t, e) => {
16
+ const X = (t, e) => {
17
17
  const o = t.__vccOpts || t;
18
18
  for (const [i, a] of e)
19
19
  o[i] = a;
@@ -32,7 +32,7 @@ const q = (t, e) => {
32
32
  }
33
33
  },
34
34
  setup() {
35
- return { Theme: Le() };
35
+ return { Theme: Ce() };
36
36
  },
37
37
  data() {
38
38
  return {
@@ -115,7 +115,7 @@ const q = (t, e) => {
115
115
  function oi(t, e, o, i, a, r) {
116
116
  return y(), M("div");
117
117
  }
118
- const ai = /* @__PURE__ */ q(ti, [["render", oi]]), ii = {
118
+ const ai = /* @__PURE__ */ X(ti, [["render", oi]]), ii = {
119
119
  name: "IdmGmdssArea",
120
120
  props: {
121
121
  map: {
@@ -129,7 +129,7 @@ const ai = /* @__PURE__ */ q(ti, [["render", oi]]), ii = {
129
129
  }
130
130
  },
131
131
  setup() {
132
- return { Theme: Le() };
132
+ return { Theme: Ce() };
133
133
  },
134
134
  data() {
135
135
  return {
@@ -242,7 +242,7 @@ const ai = /* @__PURE__ */ q(ti, [["render", oi]]), ii = {
242
242
  function ri(t, e, o, i, a, r) {
243
243
  return y(), M("div");
244
244
  }
245
- const si = /* @__PURE__ */ q(ii, [["render", ri]]), li = {
245
+ const si = /* @__PURE__ */ X(ii, [["render", ri]]), li = {
246
246
  name: "IdmEcaZone",
247
247
  props: {
248
248
  map: {
@@ -256,7 +256,7 @@ const si = /* @__PURE__ */ q(ii, [["render", ri]]), li = {
256
256
  }
257
257
  },
258
258
  setup() {
259
- return { Theme: Le() };
259
+ return { Theme: Ce() };
260
260
  },
261
261
  data() {
262
262
  return {
@@ -338,7 +338,7 @@ const si = /* @__PURE__ */ q(ii, [["render", ri]]), li = {
338
338
  function ni(t, e, o, i, a, r) {
339
339
  return y(), M("div");
340
340
  }
341
- const ci = /* @__PURE__ */ q(li, [["render", ni]]);
341
+ const ci = /* @__PURE__ */ X(li, [["render", ni]]);
342
342
  const mi = {
343
343
  name: "IdmAlertZone",
344
344
  props: {
@@ -353,7 +353,7 @@ const mi = {
353
353
  }
354
354
  },
355
355
  setup() {
356
- return { Theme: Le() };
356
+ return { Theme: Ce() };
357
357
  },
358
358
  data() {
359
359
  return {
@@ -389,7 +389,7 @@ const mi = {
389
389
  const l = (n = document.getElementById("idm-gl4-zone-info")) == null ? void 0 : n.cloneNode(!0), c = (g = l == null ? void 0 : l.children[1]) == null ? void 0 : g.children[0];
390
390
  c && (c.onclick = () => {
391
391
  this.handleRemoveMarker();
392
- }), this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([230, 0]).addTo(this.map);
392
+ }), this.marker = new ke.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([230, 0]).addTo(this.map);
393
393
  }));
394
394
  },
395
395
  handleRender() {
@@ -525,7 +525,7 @@ function hi(t, e, o, i, a, r) {
525
525
  _: 1
526
526
  })) : D("", !0);
527
527
  }
528
- const pi = /* @__PURE__ */ q(mi, [["render", hi]]);
528
+ const pi = /* @__PURE__ */ X(mi, [["render", hi]]);
529
529
  const ui = {
530
530
  name: "PortDetail",
531
531
  props: {
@@ -1338,7 +1338,7 @@ const ui = {
1338
1338
  emits: ["follow", "cancelFollow", "meteoMore", "close", "closeAllDetail"],
1339
1339
  setup() {
1340
1340
  return {
1341
- Theme: Le()
1341
+ Theme: Ce()
1342
1342
  };
1343
1343
  },
1344
1344
  data() {
@@ -1368,7 +1368,7 @@ const ui = {
1368
1368
  computed: {
1369
1369
  dateList() {
1370
1370
  var o, i, a, r;
1371
- const t = [], e = (o = this.port) != null && o.lng && ((i = this.port) != null && i.lat) ? X.guessTimeZoneOffset((a = this.port) == null ? void 0 : a.lng, (r = this.port) == null ? void 0 : r.lat) : 0;
1371
+ const t = [], e = (o = this.port) != null && o.lng && ((i = this.port) != null && i.lat) ? $.guessTimeZoneOffset((a = this.port) == null ? void 0 : a.lng, (r = this.port) == null ? void 0 : r.lat) : 0;
1372
1372
  for (let l = 0; l < 4; l++) {
1373
1373
  let c = {
1374
1374
  index: l,
@@ -1389,7 +1389,7 @@ const ui = {
1389
1389
  return function(t, e, o = "yyyy-MM-DD HH:mm") {
1390
1390
  if (!t || !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
1391
1391
  return "-";
1392
- const i = e != null && e.lng && (e != null && e.lat) ? X.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1392
+ const i = e != null && e.lng && (e != null && e.lat) ? $.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1393
1393
  return S(t).utcOffset(i).format(o);
1394
1394
  };
1395
1395
  },
@@ -1397,18 +1397,18 @@ const ui = {
1397
1397
  return function(t) {
1398
1398
  if (!t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat))
1399
1399
  return "-";
1400
- const e = X.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat);
1400
+ const e = $.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat);
1401
1401
  return "( UTC " + (e >= 0 ? "+" : "") + e + " )";
1402
1402
  };
1403
1403
  },
1404
1404
  computePosition() {
1405
1405
  return function(t) {
1406
- return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
1406
+ return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
1407
1407
  };
1408
1408
  },
1409
1409
  computeRoundPrecision() {
1410
1410
  return function(t, e = 4) {
1411
- return t == null || isNaN(t) || isNaN(e) ? "-" : X.roundPrecision(t, e);
1411
+ return t == null || isNaN(t) || isNaN(e) ? "-" : $.roundPrecision(t, e);
1412
1412
  };
1413
1413
  }
1414
1414
  },
@@ -1466,7 +1466,7 @@ const ui = {
1466
1466
  weatherModels: t,
1467
1467
  marineModels: e
1468
1468
  };
1469
- await Se.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, o, {
1469
+ await Me.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, o, {
1470
1470
  headers: {
1471
1471
  Authorization: this.token || this.defaultMeteoToken
1472
1472
  }
@@ -1490,10 +1490,10 @@ const ui = {
1490
1490
  { label: "Swell", key: "weather.swell", unit: "m" },
1491
1491
  { label: "Current", key: "weather.current", unit: "kts" }
1492
1492
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1493
- var c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le, me, K, ie, pe, de, ue, F, se, ve, Pe, Ce;
1493
+ var c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie, me, ue, de, he, q, re, F, se, ye, ve, be;
1494
1494
  let r = {};
1495
1495
  const l = ((c = Co.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
1496
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : L.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((p = l == null ? void 0 : l.weather) == null ? void 0 : p.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ce = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ce.direction, r.windwavePeriod = this.computeRoundPrecision((me = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : me.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ie = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : ie.height, 1) ?? "-", r.swellDir = (de = (pe = l == null ? void 0 : l.wave) == null ? void 0 : pe.swell) == null ? void 0 : de.direction, r.swellPeriod = this.computeRoundPrecision((F = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((se = l == null ? void 0 : l.current) == null ? void 0 : se.speed, 1) ?? "-", r.currentDir = (ve = l == null ? void 0 : l.current) == null ? void 0 : ve.direction, r.currentSpeed = this.computeRoundPrecision((Pe = l == null ? void 0 : l.current) == null ? void 0 : Pe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Ce = l == null ? void 0 : l.weather) == null ? void 0 : Ce.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1496
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : L.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((p = l == null ? void 0 : l.weather) == null ? void 0 : p.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (ne = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((me = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.wd) == null ? void 0 : me.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((de = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : de.height, 1) ?? "-", r.swellDir = (q = (he = l == null ? void 0 : l.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, r.swellPeriod = this.computeRoundPrecision((F = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((se = l == null ? void 0 : l.current) == null ? void 0 : se.speed, 1) ?? "-", r.currentDir = (ye = l == null ? void 0 : l.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (be = l == null ? void 0 : l.weather) == null ? void 0 : be.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1497
1497
  });
1498
1498
  },
1499
1499
  handleTide() {
@@ -1517,7 +1517,7 @@ const ui = {
1517
1517
  forecastDays: 5,
1518
1518
  extremes: !0,
1519
1519
  heights: !0
1520
- }, e = await Se.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, t, {
1520
+ }, e = await Me.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, t, {
1521
1521
  headers: {
1522
1522
  Authorization: this.token
1523
1523
  }
@@ -1738,7 +1738,7 @@ function yr(t, e, o, i, a, r) {
1738
1738
  u(g, { color: "warning" })
1739
1739
  ]),
1740
1740
  default: f(() => [
1741
- J(" " + m(t.$t("actions.unfollow")), 1)
1741
+ K(" " + m(t.$t("actions.unfollow")), 1)
1742
1742
  ]),
1743
1743
  _: 1
1744
1744
  }, 8, ["onClick"])) : (y(), R(l, {
@@ -1751,7 +1751,7 @@ function yr(t, e, o, i, a, r) {
1751
1751
  onClick: r.handleFollow
1752
1752
  }, {
1753
1753
  default: f(() => [
1754
- J(m(t.$t("actions.follow")), 1)
1754
+ K(m(t.$t("actions.follow")), 1)
1755
1755
  ]),
1756
1756
  _: 1
1757
1757
  }, 8, ["onClick"])),
@@ -1763,7 +1763,7 @@ function yr(t, e, o, i, a, r) {
1763
1763
  onClick: r.handleMeteoMore
1764
1764
  }, {
1765
1765
  default: f(() => [
1766
- J(m(t.$t("actions.7dayForcast")), 1)
1766
+ K(m(t.$t("actions.7dayForcast")), 1)
1767
1767
  ]),
1768
1768
  _: 1
1769
1769
  }, 8, ["onClick"])
@@ -1820,7 +1820,7 @@ function yr(t, e, o, i, a, r) {
1820
1820
  rounded: "1"
1821
1821
  }, {
1822
1822
  default: f(() => [
1823
- (y(!0), M(be, null, we(r.dateList, (p) => (y(), R(l, {
1823
+ (y(!0), M(xe, null, _e(r.dateList, (p) => (y(), R(l, {
1824
1824
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1825
1825
  density: "compact",
1826
1826
  color: "primary",
@@ -1828,7 +1828,7 @@ function yr(t, e, o, i, a, r) {
1828
1828
  value: p.index
1829
1829
  }, {
1830
1830
  default: f(() => [
1831
- J(m(p.label), 1)
1831
+ K(m(p.label), 1)
1832
1832
  ]),
1833
1833
  _: 2
1834
1834
  }, 1032, ["value"]))), 256))
@@ -1837,11 +1837,11 @@ function yr(t, e, o, i, a, r) {
1837
1837
  }, 8, ["modelValue"]),
1838
1838
  s("table", Hi, [
1839
1839
  s("tbody", null, [
1840
- (y(!0), M(be, null, we(a.tableData, (p) => (y(), M("tr", {
1840
+ (y(!0), M(xe, null, _e(a.tableData, (p) => (y(), M("tr", {
1841
1841
  key: p.id
1842
1842
  }, [
1843
1843
  s("th", Gi, [
1844
- J(m(t.$t(`${p.key}`)) + " ", 1),
1844
+ K(m(t.$t(`${p.key}`)) + " ", 1),
1845
1845
  p.unit ? (y(), M("span", Ui, " ( " + m(p.unit) + " )", 1)) : D("", !0)
1846
1846
  ]),
1847
1847
  s("td", Wi, [
@@ -1914,7 +1914,7 @@ function yr(t, e, o, i, a, r) {
1914
1914
  s("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
1915
1915
  s("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
1916
1916
  ]),
1917
- (y(!0), M(be, null, we(a.tideTableData, (p, z) => {
1917
+ (y(!0), M(xe, null, _e(a.tideTableData, (p, z) => {
1918
1918
  var T;
1919
1919
  return y(), M("tr", { key: z }, [
1920
1920
  s("td", ur, m(t.$t(`tide.${(T = p == null ? void 0 : p.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
@@ -1932,7 +1932,7 @@ function yr(t, e, o, i, a, r) {
1932
1932
  _: 1
1933
1933
  });
1934
1934
  }
1935
- const Io = /* @__PURE__ */ q(ui, [["render", yr], ["__scopeId", "data-v-1c0a4e51"]]);
1935
+ const Io = /* @__PURE__ */ X(ui, [["render", yr], ["__scopeId", "data-v-1c0a4e51"]]);
1936
1936
  const br = {
1937
1937
  name: "IdmPort",
1938
1938
  components: {
@@ -1953,7 +1953,7 @@ const br = {
1953
1953
  }
1954
1954
  },
1955
1955
  setup() {
1956
- return { Theme: Le() };
1956
+ return { Theme: Ce() };
1957
1957
  },
1958
1958
  emits: ["closeAllDetail"],
1959
1959
  data() {
@@ -2028,7 +2028,7 @@ const br = {
2028
2028
  if (e.properties.id) {
2029
2029
  this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
2030
2030
  const r = (a = document.getElementById("idmPortInfo")) == null ? void 0 : a.cloneNode(!0);
2031
- this.marker = new xe.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
2031
+ this.marker = new ke.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
2032
2032
  }
2033
2033
  },
2034
2034
  handleLeave() {
@@ -2078,7 +2078,7 @@ function _r(t, e, o, i, a, r) {
2078
2078
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : D("", !0)
2079
2079
  ]);
2080
2080
  }
2081
- const kr = /* @__PURE__ */ q(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3"]]), zr = {
2081
+ const kr = /* @__PURE__ */ X(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3"]]), zr = {
2082
2082
  name: "IdmLoadLine",
2083
2083
  props: {
2084
2084
  map: {
@@ -2092,7 +2092,7 @@ const kr = /* @__PURE__ */ q(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3
2092
2092
  }
2093
2093
  },
2094
2094
  setup() {
2095
- return { Theme: Le() };
2095
+ return { Theme: Ce() };
2096
2096
  },
2097
2097
  data() {
2098
2098
  return {
@@ -2122,7 +2122,7 @@ const kr = /* @__PURE__ */ q(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3
2122
2122
  function Lr(t, e, o, i, a, r) {
2123
2123
  return y(), M("div");
2124
2124
  }
2125
- const Pr = /* @__PURE__ */ q(zr, [["render", Lr]]), Cr = {
2125
+ const Pr = /* @__PURE__ */ X(zr, [["render", Lr]]), Cr = {
2126
2126
  name: "IdmTimezone",
2127
2127
  props: {
2128
2128
  map: {
@@ -2136,7 +2136,7 @@ const Pr = /* @__PURE__ */ q(zr, [["render", Lr]]), Cr = {
2136
2136
  }
2137
2137
  },
2138
2138
  setup() {
2139
- return { Theme: Le() };
2139
+ return { Theme: Ce() };
2140
2140
  },
2141
2141
  data() {
2142
2142
  return {
@@ -2317,7 +2317,7 @@ const Pr = /* @__PURE__ */ q(zr, [["render", Lr]]), Cr = {
2317
2317
  }), (i = this.map.getSource(this.source)) == null || i.setData(a);
2318
2318
  const r = document.createElement("div");
2319
2319
  r.className = "v-card--variant-elevated rounded px-2 py-1 text-body-1", r.innerHTML = `<div>UTC ${t.features[0].properties.offSet}:00</div>
2320
- <div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new xe.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
2320
+ <div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new ke.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
2321
2321
  }
2322
2322
  },
2323
2323
  handleLeave() {
@@ -2327,7 +2327,7 @@ const Pr = /* @__PURE__ */ q(zr, [["render", Lr]]), Cr = {
2327
2327
  function Tr(t, e, o, i, a, r) {
2328
2328
  return y(), M("div");
2329
2329
  }
2330
- const Sr = /* @__PURE__ */ q(Cr, [["render", Tr]]), Mr = {
2330
+ const Sr = /* @__PURE__ */ X(Cr, [["render", Tr]]), Mr = {
2331
2331
  name: "IdmVoluntaryReportingArea",
2332
2332
  props: {
2333
2333
  map: {
@@ -2341,7 +2341,7 @@ const Sr = /* @__PURE__ */ q(Cr, [["render", Tr]]), Mr = {
2341
2341
  }
2342
2342
  },
2343
2343
  setup() {
2344
- return { Theme: Le() };
2344
+ return { Theme: Ce() };
2345
2345
  },
2346
2346
  data() {
2347
2347
  return {
@@ -2422,7 +2422,7 @@ const Sr = /* @__PURE__ */ q(Cr, [["render", Tr]]), Mr = {
2422
2422
  function Ir(t, e, o, i, a, r) {
2423
2423
  return y(), M("div");
2424
2424
  }
2425
- const Dr = /* @__PURE__ */ q(Mr, [["render", Ir]]), Ar = {
2425
+ const Dr = /* @__PURE__ */ X(Mr, [["render", Ir]]), Ar = {
2426
2426
  name: "IdmSpecialArea",
2427
2427
  props: {
2428
2428
  map: {
@@ -2436,7 +2436,7 @@ const Dr = /* @__PURE__ */ q(Mr, [["render", Ir]]), Ar = {
2436
2436
  }
2437
2437
  },
2438
2438
  setup() {
2439
- return { Theme: Le() };
2439
+ return { Theme: Ce() };
2440
2440
  },
2441
2441
  data() {
2442
2442
  return {
@@ -2456,7 +2456,7 @@ const Dr = /* @__PURE__ */ q(Mr, [["render", Ir]]), Ar = {
2456
2456
  methods: {
2457
2457
  handleRender() {
2458
2458
  this.handleClear(), this.area && (this.area.features.forEach((t) => {
2459
- t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => X.convertToMonotonicLng2(e));
2459
+ t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => $.convertToMonotonicLng2(e));
2460
2460
  }), this.map.addSource(this.source, {
2461
2461
  type: "geojson",
2462
2462
  data: this.area
@@ -2517,7 +2517,7 @@ const Dr = /* @__PURE__ */ q(Mr, [["render", Ir]]), Ar = {
2517
2517
  function Rr(t, e, o, i, a, r) {
2518
2518
  return y(), M("div");
2519
2519
  }
2520
- const Or = /* @__PURE__ */ q(Ar, [["render", Rr]]), Br = {
2520
+ const Or = /* @__PURE__ */ X(Ar, [["render", Rr]]), Br = {
2521
2521
  name: "IdmTerminator",
2522
2522
  props: {
2523
2523
  map: {
@@ -2571,7 +2571,7 @@ const Or = /* @__PURE__ */ q(Ar, [["render", Rr]]), Br = {
2571
2571
  function Er(t, e, o, i, a, r) {
2572
2572
  return y(), M("div");
2573
2573
  }
2574
- const jr = /* @__PURE__ */ q(Br, [["render", Er]]), Nr = {
2574
+ const jr = /* @__PURE__ */ X(Br, [["render", Er]]), Nr = {
2575
2575
  name: "IdmWorld12nm",
2576
2576
  props: {
2577
2577
  map: {
@@ -2628,7 +2628,7 @@ const jr = /* @__PURE__ */ q(Br, [["render", Er]]), Nr = {
2628
2628
  function Fr(t, e, o, i, a, r) {
2629
2629
  return null;
2630
2630
  }
2631
- const Hr = /* @__PURE__ */ q(Nr, [["render", Fr]]);
2631
+ const Hr = /* @__PURE__ */ X(Nr, [["render", Fr]]);
2632
2632
  const Gr = {
2633
2633
  name: "IdmWorldMarine",
2634
2634
  props: {
@@ -2667,7 +2667,7 @@ const Gr = {
2667
2667
  function Ur(t, e, o, i, a, r) {
2668
2668
  return null;
2669
2669
  }
2670
- const Wr = /* @__PURE__ */ q(Gr, [["render", Ur]]), Vr = {
2670
+ const Wr = /* @__PURE__ */ X(Gr, [["render", Ur]]), Vr = {
2671
2671
  name: "IdmChinaRoute",
2672
2672
  props: {
2673
2673
  map: {
@@ -2706,7 +2706,7 @@ const Wr = /* @__PURE__ */ q(Gr, [["render", Ur]]), Vr = {
2706
2706
  function Zr(t, e, o, i, a, r) {
2707
2707
  return null;
2708
2708
  }
2709
- const Yr = /* @__PURE__ */ q(Vr, [["render", Zr]]);
2709
+ const Yr = /* @__PURE__ */ X(Vr, [["render", Zr]]);
2710
2710
  const qr = {
2711
2711
  name: "IdmTideStations",
2712
2712
  props: {
@@ -2743,7 +2743,7 @@ const qr = {
2743
2743
  },
2744
2744
  setup() {
2745
2745
  return {
2746
- Theme: Le()
2746
+ Theme: Ce()
2747
2747
  };
2748
2748
  },
2749
2749
  emits: ["close", "closeAllDetail"],
@@ -2759,7 +2759,7 @@ const qr = {
2759
2759
  computed: {
2760
2760
  dateList() {
2761
2761
  var o, i, a, r;
2762
- const t = [], e = (o = this.station) != null && o.lng && ((i = this.station) != null && i.lat) ? X.guessTimeZoneOffset((a = this.station) == null ? void 0 : a.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
2762
+ const t = [], e = (o = this.station) != null && o.lng && ((i = this.station) != null && i.lat) ? $.guessTimeZoneOffset((a = this.station) == null ? void 0 : a.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
2763
2763
  for (let l = 0; l < 4; l++) {
2764
2764
  let c = {
2765
2765
  index: l,
@@ -2778,7 +2778,7 @@ const qr = {
2778
2778
  return function(t, e, o = "yyyy-MM-DD HH:mm") {
2779
2779
  if (!t || !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
2780
2780
  return "-";
2781
- const i = e != null && e.lng && (e != null && e.lat) ? X.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
2781
+ const i = e != null && e.lng && (e != null && e.lat) ? $.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
2782
2782
  return S(t).utcOffset(i).format(o);
2783
2783
  };
2784
2784
  },
@@ -2786,18 +2786,18 @@ const qr = {
2786
2786
  return function(t) {
2787
2787
  if (!t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat))
2788
2788
  return "-";
2789
- const e = X.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat);
2789
+ const e = $.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat);
2790
2790
  return "( UTC " + (e >= 0 ? "+" : "") + e + " )";
2791
2791
  };
2792
2792
  },
2793
2793
  computePosition() {
2794
2794
  return function(t) {
2795
- return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
2795
+ return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
2796
2796
  };
2797
2797
  },
2798
2798
  computeRoundPrecision() {
2799
2799
  return function(t, e = 4) {
2800
- return t == null || isNaN(t) || isNaN(e) ? "-" : X.roundPrecision(t, e);
2800
+ return t == null || isNaN(t) || isNaN(e) ? "-" : $.roundPrecision(t, e);
2801
2801
  };
2802
2802
  }
2803
2803
  },
@@ -2834,7 +2834,7 @@ const qr = {
2834
2834
  forecastDays: 5,
2835
2835
  extremes: !0,
2836
2836
  heights: !0
2837
- }, e = await Se.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, t, {
2837
+ }, e = await Me.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, t, {
2838
2838
  headers: {
2839
2839
  Authorization: this.token || this.defaultMeteoToken
2840
2840
  //
@@ -3063,7 +3063,7 @@ function Ts(t, e, o, i, a, r) {
3063
3063
  rounded: "1"
3064
3064
  }, {
3065
3065
  default: f(() => [
3066
- (y(!0), M(be, null, we(r.dateList, (L) => (y(), R(l, {
3066
+ (y(!0), M(xe, null, _e(r.dateList, (L) => (y(), R(l, {
3067
3067
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3068
3068
  density: "compact",
3069
3069
  color: "primary",
@@ -3071,7 +3071,7 @@ function Ts(t, e, o, i, a, r) {
3071
3071
  value: L.index
3072
3072
  }, {
3073
3073
  default: f(() => [
3074
- J(m(L.label), 1)
3074
+ K(m(L.label), 1)
3075
3075
  ]),
3076
3076
  _: 2
3077
3077
  }, 1032, ["value"]))), 256))
@@ -3086,7 +3086,7 @@ function Ts(t, e, o, i, a, r) {
3086
3086
  s("th", ks, m(t.$t("time.time")) + " ( LT )", 1),
3087
3087
  s("th", zs, m(t.$t("tide.height")) + " ( m )", 1)
3088
3088
  ]),
3089
- (y(!0), M(be, null, we(a.tideTableData, (L, p) => {
3089
+ (y(!0), M(xe, null, _e(a.tideTableData, (L, p) => {
3090
3090
  var z;
3091
3091
  return y(), M("tr", { key: p }, [
3092
3092
  s("td", Ls, m(t.$t(`tide.${(z = L == null ? void 0 : L.type) == null ? void 0 : z.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
@@ -3104,7 +3104,7 @@ function Ts(t, e, o, i, a, r) {
3104
3104
  _: 1
3105
3105
  });
3106
3106
  }
3107
- const Ss = /* @__PURE__ */ q(qr, [["render", Ts], ["__scopeId", "data-v-b79e1aa0"]]);
3107
+ const Ss = /* @__PURE__ */ X(qr, [["render", Ts], ["__scopeId", "data-v-b79e1aa0"]]);
3108
3108
  const Ms = {
3109
3109
  name: "IdmTideStations",
3110
3110
  components: {
@@ -3169,7 +3169,7 @@ const Ms = {
3169
3169
  if (e.properties) {
3170
3170
  this.showInfo = !0, this.hoverStation = e.properties, this.hoverStation.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.hoverStation.lng = e.geometry.coordinates[0], this.hoverStation.lat = e.geometry.coordinates[1], (o = this.marker) == null || o.remove();
3171
3171
  const a = (i = document.getElementById("idmTidalInfo")) == null ? void 0 : i.cloneNode(!0);
3172
- this.marker = new xe.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
3172
+ this.marker = new ke.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
3173
3173
  }
3174
3174
  },
3175
3175
  handleLeave() {
@@ -3212,7 +3212,7 @@ function Os(t, e, o, i, a, r) {
3212
3212
  }, t.$attrs), null, 16, ["station", "onClose"])) : D("", !0)
3213
3213
  ]);
3214
3214
  }
3215
- const Bs = /* @__PURE__ */ q(Ms, [["render", Os], ["__scopeId", "data-v-4611be64"]]), Es = {
3215
+ const Bs = /* @__PURE__ */ X(Ms, [["render", Os], ["__scopeId", "data-v-4611be64"]]), Es = {
3216
3216
  name: "IdmIceAreas",
3217
3217
  props: {
3218
3218
  map: {
@@ -3250,7 +3250,7 @@ const Bs = /* @__PURE__ */ q(Ms, [["render", Os], ["__scopeId", "data-v-4611be64
3250
3250
  function js(t, e, o, i, a, r) {
3251
3251
  return null;
3252
3252
  }
3253
- const Ns = /* @__PURE__ */ q(Es, [["render", js]]);
3253
+ const Ns = /* @__PURE__ */ X(Es, [["render", js]]);
3254
3254
  const Fs = {
3255
3255
  name: "IdmLatLng",
3256
3256
  props: {
@@ -3307,7 +3307,7 @@ const Fs = {
3307
3307
  },
3308
3308
  "lngLat.e": {
3309
3309
  handler(t) {
3310
- this.lngLat.lng = X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty, this.lngLat.lat = X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty, this.lngLat.str = `[${X.str2Lng(t == null ? void 0 : t.lng, 4)}, ${X.str2Lat(t == null ? void 0 : t.lat, 4)}]`;
3310
+ this.lngLat.lng = $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty, this.lngLat.lat = $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty, this.lngLat.str = `[${$.str2Lng(t == null ? void 0 : t.lng, 4)}, ${$.str2Lat(t == null ? void 0 : t.lat, 4)}]`;
3311
3311
  },
3312
3312
  immediate: !0
3313
3313
  }
@@ -3432,7 +3432,7 @@ function Hs(t, e, o, i, a, r) {
3432
3432
  s("div", null, m((n = a.lngLat) == null ? void 0 : n.str), 1)
3433
3433
  ], 4);
3434
3434
  }
3435
- const qa = /* @__PURE__ */ q(Fs, [["render", Hs]]);
3435
+ const qa = /* @__PURE__ */ X(Fs, [["render", Hs]]);
3436
3436
  const Gs = {
3437
3437
  name: "IdmFollowPort",
3438
3438
  components: {
@@ -4238,7 +4238,7 @@ const Gs = {
4238
4238
  }
4239
4239
  },
4240
4240
  setup() {
4241
- return { Theme: Le() };
4241
+ return { Theme: Ce() };
4242
4242
  },
4243
4243
  emits: ["closeAllDetail"],
4244
4244
  data() {
@@ -4331,7 +4331,7 @@ const Gs = {
4331
4331
  if (e.properties.id) {
4332
4332
  this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
4333
4333
  const r = (a = document.getElementById("idmFollowPortInfo")) == null ? void 0 : a.cloneNode(!0);
4334
- this.marker = new xe.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
4334
+ this.marker = new ke.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
4335
4335
  }
4336
4336
  },
4337
4337
  handleLeave() {
@@ -4382,7 +4382,7 @@ function Zs(t, e, o, i, a, r) {
4382
4382
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : D("", !0)
4383
4383
  ]);
4384
4384
  }
4385
- const Ys = /* @__PURE__ */ q(Gs, [["render", Zs], ["__scopeId", "data-v-95e70a1f"]]);
4385
+ const Ys = /* @__PURE__ */ X(Gs, [["render", Zs], ["__scopeId", "data-v-95e70a1f"]]);
4386
4386
  const qs = {
4387
4387
  name: "IdmFollowPosition",
4388
4388
  props: {
@@ -4406,7 +4406,7 @@ const qs = {
4406
4406
  }
4407
4407
  },
4408
4408
  setup() {
4409
- return { Theme: Le() };
4409
+ return { Theme: Ce() };
4410
4410
  },
4411
4411
  data() {
4412
4412
  return {
@@ -4420,7 +4420,7 @@ const qs = {
4420
4420
  computed: {
4421
4421
  computePosition() {
4422
4422
  return function(t) {
4423
- return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
4423
+ return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
4424
4424
  };
4425
4425
  }
4426
4426
  },
@@ -4507,7 +4507,7 @@ const qs = {
4507
4507
  if (e.properties.id) {
4508
4508
  this.showInfo = !0, this.position = e.properties, (o = this.marker) == null || o.remove();
4509
4509
  const i = document.getElementById("idmFollowPositionInfo").cloneNode(!0);
4510
- this.marker = new xe.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
4510
+ this.marker = new ke.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
4511
4511
  }
4512
4512
  },
4513
4513
  handleLeave() {
@@ -4546,7 +4546,7 @@ function Js(t, e, o, i, a, r) {
4546
4546
  [Ze, a.showInfo]
4547
4547
  ]);
4548
4548
  }
4549
- const Qs = /* @__PURE__ */ q(qs, [["render", Js], ["__scopeId", "data-v-cd6c9f7e"]]);
4549
+ const Qs = /* @__PURE__ */ X(qs, [["render", Js], ["__scopeId", "data-v-cd6c9f7e"]]);
4550
4550
  const el = {
4551
4551
  name: "IdmOtherLayerr",
4552
4552
  components: {
@@ -4700,7 +4700,7 @@ const el = {
4700
4700
  var e, o;
4701
4701
  let t = this.layerWeight;
4702
4702
  if (t) {
4703
- const i = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], a = await Se.get(`${i}/api/arc/other/layers/links?l=${t}&t=${this.realTime}`, {
4703
+ const i = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], a = await Me.get(`${i}/api/arc/other/layers/links?l=${t}&t=${this.realTime}`, {
4704
4704
  headers: {
4705
4705
  Authorization: this.defaultMeteoToken
4706
4706
  }
@@ -4709,7 +4709,7 @@ const el = {
4709
4709
  const r = (o = a == null ? void 0 : a.data) == null ? void 0 : o.data, l = [];
4710
4710
  for (const n in r)
4711
4711
  l.push(
4712
- Se.get(r[n], {
4712
+ Me.get(r[n], {
4713
4713
  headers: {
4714
4714
  Authorization: this.defaultMeteoToken,
4715
4715
  key: n
@@ -4726,7 +4726,7 @@ const el = {
4726
4726
  },
4727
4727
  async fetchDayNightLayer() {
4728
4728
  var o, i;
4729
- const t = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], e = await Se.get(`${t}/api/arc/other/layers/links?l=1024&t=${this.realTime}`, {
4729
+ const t = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], e = await Me.get(`${t}/api/arc/other/layers/links?l=1024&t=${this.realTime}`, {
4730
4730
  headers: {
4731
4731
  Authorization: this.defaultMeteoToken
4732
4732
  }
@@ -4756,8 +4756,8 @@ const el = {
4756
4756
  class: "border rounded-sm"
4757
4757
  }, dl = { class: "text-body-2 text-center pt-1" };
4758
4758
  function hl(t, e, o, i, a, r) {
4759
- var $, ce, le, me, K, ie, pe, de, ue;
4760
- const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), L = x("IdmLatLng"), p = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), k = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), A = x("IdmVRA"), N = x("IdmSpecialArea"), V = x("IdmWorld12nm"), Y = x("IdmChinaRoute"), Z = x("IdmIceAreas"), ee = x("IdmFollowPort"), Q = x("IdmFollowPosition");
4759
+ var J, ne, ie, me, ue, de, he, q, re;
4760
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), L = x("IdmLatLng"), p = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), k = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), A = x("IdmVRA"), N = x("IdmSpecialArea"), V = x("IdmWorld12nm"), Y = x("IdmChinaRoute"), Z = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
4761
4761
  return y(), M("div", tl, [
4762
4762
  s("div", {
4763
4763
  class: "menu-bar-box transition px-1 rounded",
@@ -4818,7 +4818,7 @@ function hl(t, e, o, i, a, r) {
4818
4818
  style: { "font-size": "16px !important" }
4819
4819
  }, {
4820
4820
  default: f(() => [
4821
- J(m(t.$t("layer.mapFeathers")), 1)
4821
+ K(m(t.$t("layer.mapFeathers")), 1)
4822
4822
  ]),
4823
4823
  _: 1
4824
4824
  })
@@ -4828,7 +4828,7 @@ function hl(t, e, o, i, a, r) {
4828
4828
  u(b, { class: "pb-2" }, {
4829
4829
  default: f(() => [
4830
4830
  s("div", rl, [
4831
- (y(!0), M(be, null, we(a.mapFeathers, (F) => (y(), M("div", {
4831
+ (y(!0), M(xe, null, _e(a.mapFeathers, (F) => (y(), M("div", {
4832
4832
  key: F.value,
4833
4833
  class: "mb-2 feather-item",
4834
4834
  onClick: (se) => r.handleToggleMapFeather(F)
@@ -4841,7 +4841,7 @@ function hl(t, e, o, i, a, r) {
4841
4841
  s("div", dl, m(t.$t(`layer.${F.locale}`)), 1)
4842
4842
  ], 8, sl))), 128))
4843
4843
  ]),
4844
- (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), R(h, {
4844
+ (y(!0), M(xe, null, _e(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), R(h, {
4845
4845
  key: F.key,
4846
4846
  modelValue: a.checkList,
4847
4847
  "onUpdate:modelValue": e[0] || (e[0] = (se) => a.checkList = se),
@@ -4871,7 +4871,7 @@ function hl(t, e, o, i, a, r) {
4871
4871
  style: { "font-size": "16px !important" }
4872
4872
  }, {
4873
4873
  default: f(() => [
4874
- J(m(t.$t("layer.pointsOfInteresting")), 1)
4874
+ K(m(t.$t("layer.pointsOfInteresting")), 1)
4875
4875
  ]),
4876
4876
  _: 1
4877
4877
  })
@@ -4880,7 +4880,7 @@ function hl(t, e, o, i, a, r) {
4880
4880
  }),
4881
4881
  u(b, { class: "py-2" }, {
4882
4882
  default: f(() => [
4883
- (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4883
+ (y(!0), M(xe, null, _e(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4884
4884
  key: F.key,
4885
4885
  modelValue: a.checkList,
4886
4886
  "onUpdate:modelValue": e[1] || (e[1] = (se) => a.checkList = se),
@@ -4910,7 +4910,7 @@ function hl(t, e, o, i, a, r) {
4910
4910
  style: { "font-size": "16px !important" }
4911
4911
  }, {
4912
4912
  default: f(() => [
4913
- J(m(t.$t("layer.otherLayers")), 1)
4913
+ K(m(t.$t("layer.otherLayers")), 1)
4914
4914
  ]),
4915
4915
  _: 1
4916
4916
  })
@@ -4919,7 +4919,7 @@ function hl(t, e, o, i, a, r) {
4919
4919
  }),
4920
4920
  u(b, { class: "py-2" }, {
4921
4921
  default: f(() => [
4922
- (y(!0), M(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4922
+ (y(!0), M(xe, null, _e(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4923
4923
  key: F.key,
4924
4924
  modelValue: a.checkList,
4925
4925
  "onUpdate:modelValue": e[2] || (e[2] = (se) => a.checkList = se),
@@ -4949,7 +4949,7 @@ function hl(t, e, o, i, a, r) {
4949
4949
  style: { "font-size": "16px !important" }
4950
4950
  }, {
4951
4951
  default: f(() => [
4952
- J(m(t.$t("layer.myFollows")), 1)
4952
+ K(m(t.$t("layer.myFollows")), 1)
4953
4953
  ]),
4954
4954
  _: 1
4955
4955
  })
@@ -4997,19 +4997,19 @@ function hl(t, e, o, i, a, r) {
4997
4997
  o.map ? (y(), R(p, B({
4998
4998
  key: 1,
4999
4999
  map: o.map,
5000
- area: ($ = a.otherLayers) == null ? void 0 : $["day-night"]
5000
+ area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
5001
5001
  }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : D("", !0),
5002
5002
  o.map ? (y(), R(z, B({
5003
5003
  key: 2,
5004
5004
  map: o.map,
5005
- zone: (ce = a.otherLayers) == null ? void 0 : ce["time-zones"],
5005
+ zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"],
5006
5006
  realTime: o.realTime
5007
5007
  }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : D("", !0),
5008
5008
  o.map ? (y(), R(T, B({
5009
5009
  key: 3,
5010
5010
  ref: "idmPorts",
5011
5011
  map: o.map,
5012
- ports: (le = a.otherLayers) == null ? void 0 : le.ports,
5012
+ ports: (ie = a.otherLayers) == null ? void 0 : ie.ports,
5013
5013
  gateway: o.gateway,
5014
5014
  token: o.token,
5015
5015
  "forecast-model": o.forecastModel,
@@ -5039,17 +5039,17 @@ function hl(t, e, o, i, a, r) {
5039
5039
  o.map ? (y(), R(P, B({
5040
5040
  key: 6,
5041
5041
  map: o.map,
5042
- zone: (K = a.otherLayers) == null ? void 0 : K["eca-zones"]
5042
+ zone: (ue = a.otherLayers) == null ? void 0 : ue["eca-zones"]
5043
5043
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5044
5044
  o.map ? (y(), R(k, B({
5045
5045
  key: 7,
5046
5046
  map: o.map,
5047
- zone: (ie = a.otherLayers) == null ? void 0 : ie["war-zones"]
5047
+ zone: (de = a.otherLayers) == null ? void 0 : de["war-zones"]
5048
5048
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5049
5049
  o.map ? (y(), R(v, B({
5050
5050
  key: 8,
5051
5051
  map: o.map,
5052
- area: (pe = a.otherLayers) == null ? void 0 : pe["gmdss-areas"]
5052
+ area: (he = a.otherLayers) == null ? void 0 : he["gmdss-areas"]
5053
5053
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5054
5054
  o.map ? (y(), R(C, B({
5055
5055
  key: 9,
@@ -5065,12 +5065,12 @@ function hl(t, e, o, i, a, r) {
5065
5065
  o.map ? (y(), R(A, B({
5066
5066
  key: 11,
5067
5067
  map: o.map,
5068
- area: (de = a.otherLayers) == null ? void 0 : de["voluntary-reporting-area"]
5068
+ area: (q = a.otherLayers) == null ? void 0 : q["voluntary-reporting-area"]
5069
5069
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5070
5070
  o.map ? (y(), R(N, B({
5071
5071
  key: 12,
5072
5072
  map: o.map,
5073
- area: (ue = a.otherLayers) == null ? void 0 : ue["special-area"]
5073
+ area: (re = a.otherLayers) == null ? void 0 : re["special-area"]
5074
5074
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5075
5075
  o.map ? (y(), R(V, B({
5076
5076
  key: 13,
@@ -5089,7 +5089,7 @@ function hl(t, e, o, i, a, r) {
5089
5089
  map: o.map,
5090
5090
  show: a.checkList.includes("ice-areas")
5091
5091
  }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
5092
- o.map ? (y(), R(ee, B({
5092
+ o.map ? (y(), R(Q, B({
5093
5093
  key: 16,
5094
5094
  ref: "idmFollowPort",
5095
5095
  map: o.map,
@@ -5099,7 +5099,7 @@ function hl(t, e, o, i, a, r) {
5099
5099
  "forecast-model": o.forecastModel,
5100
5100
  realTime: o.realTime
5101
5101
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
5102
- o.map ? (y(), R(Q, B({
5102
+ o.map ? (y(), R(ee, B({
5103
5103
  key: 17,
5104
5104
  ref: "idmFollowPosition",
5105
5105
  map: o.map,
@@ -5109,18 +5109,18 @@ function hl(t, e, o, i, a, r) {
5109
5109
  }, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : D("", !0)
5110
5110
  ]);
5111
5111
  }
5112
- const pl = /* @__PURE__ */ q(el, [["render", hl]]);
5112
+ const pl = /* @__PURE__ */ X(el, [["render", hl]]);
5113
5113
  class Do {
5114
5114
  constructor(e) {
5115
- he(this, "map");
5116
- he(this, "mercator");
5117
- he(this, "rampColorLayer");
5118
- he(this, "rampColorSource");
5119
- he(this, "particleLayer");
5120
- he(this, "particleSource");
5121
- he(this, "rampColorCanvas");
5122
- he(this, "particleCanvas");
5123
- he(this, "ratio");
5115
+ pe(this, "map");
5116
+ pe(this, "mercator");
5117
+ pe(this, "rampColorLayer");
5118
+ pe(this, "rampColorSource");
5119
+ pe(this, "particleLayer");
5120
+ pe(this, "particleSource");
5121
+ pe(this, "rampColorCanvas");
5122
+ pe(this, "particleCanvas");
5123
+ pe(this, "ratio");
5124
5124
  this.map = e, this.mercator = new Qa(), 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;
5125
5125
  }
5126
5126
  /**
@@ -5395,10 +5395,10 @@ class Ne {
5395
5395
  });
5396
5396
  }
5397
5397
  }
5398
- class ne {
5398
+ class ce {
5399
5399
  }
5400
5400
  // 顶点渲染
5401
- he(ne, "vertexSchema", `
5401
+ pe(ce, "vertexSchema", `
5402
5402
  //canvas 坐标系上的坐标 (x, y)
5403
5403
  attribute vec2 a_position; //像素坐标
5404
5404
  attribute vec2 a_texCoord; //纹理坐标
@@ -5413,7 +5413,7 @@ he(ne, "vertexSchema", `
5413
5413
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
5414
5414
  v_texCoord = a_texCoord;
5415
5415
  }`), // 类如风、流等u v双变量片元渲染
5416
- he(ne, "uvFragmentSchema", `
5416
+ pe(ce, "uvFragmentSchema", `
5417
5417
  precision mediump float;
5418
5418
  uniform sampler2D u_image;
5419
5419
  uniform vec2 u_range_u_v;
@@ -5433,7 +5433,7 @@ he(ne, "uvFragmentSchema", `
5433
5433
 
5434
5434
  gl_FragColor = color;
5435
5435
  }`), // 类如浪、气压等单变量片元渲染
5436
- he(ne, "fragmentSchema", `
5436
+ pe(ce, "fragmentSchema", `
5437
5437
  precision mediump float;
5438
5438
  uniform sampler2D u_image; // 灰度
5439
5439
  uniform sampler2D u_color; // 色值映射
@@ -5444,9 +5444,9 @@ he(ne, "fragmentSchema", `
5444
5444
  vec4 color = texture2D(u_color, vec2(rgba.r, 0));
5445
5445
  gl_FragColor = color;
5446
5446
  }`);
5447
- class ze {
5447
+ class Pe {
5448
5448
  }
5449
- he(ze, "vertexSchema", `
5449
+ pe(Pe, "vertexSchema", `
5450
5450
  precision mediump float;
5451
5451
 
5452
5452
  attribute float a_index; // 索引
@@ -5470,7 +5470,7 @@ he(ze, "vertexSchema", `
5470
5470
  gl_PointSize = 1.0;
5471
5471
  // gl_PointSize = u_point;
5472
5472
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
5473
- }`), he(ze, "fragmentSchema", `
5473
+ }`), pe(Pe, "fragmentSchema", `
5474
5474
  precision mediump float;
5475
5475
 
5476
5476
  uniform sampler2D u_factor;
@@ -5492,7 +5492,7 @@ he(ze, "vertexSchema", `
5492
5492
 
5493
5493
  float f = 1.0 - uv.b;
5494
5494
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
5495
- }`), he(ze, "quadVertSchema", `
5495
+ }`), pe(Pe, "quadVertSchema", `
5496
5496
  precision mediump float;
5497
5497
 
5498
5498
  attribute vec2 a_pos;
@@ -5502,7 +5502,7 @@ he(ze, "vertexSchema", `
5502
5502
  void main() {
5503
5503
  v_tex_pos = a_pos;
5504
5504
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
5505
- }`), he(ze, "screenFragmentSchema", `
5505
+ }`), pe(Pe, "screenFragmentSchema", `
5506
5506
  precision mediump float;
5507
5507
 
5508
5508
  uniform sampler2D u_screen;
@@ -5514,7 +5514,7 @@ he(ze, "vertexSchema", `
5514
5514
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
5515
5515
  // a hack to guarantee opacity fade out even with a value close to 1.0
5516
5516
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
5517
- }`), he(ze, "updateFragmentSchema", `
5517
+ }`), pe(Pe, "updateFragmentSchema", `
5518
5518
  precision mediump float;
5519
5519
 
5520
5520
  uniform sampler2D u_particles;
@@ -5754,7 +5754,7 @@ const ul = {
5754
5754
  function fl(t, e, o, i, a, r) {
5755
5755
  return null;
5756
5756
  }
5757
- const yl = /* @__PURE__ */ q(gl, [["render", fl]]);
5757
+ const yl = /* @__PURE__ */ X(gl, [["render", fl]]);
5758
5758
  const bl = {
5759
5759
  name: "IdmWindParticle",
5760
5760
  props: {
@@ -5862,7 +5862,7 @@ const bl = {
5862
5862
  [1, "rgb(91, 136, 161)"]
5863
5863
  ];
5864
5864
  this.rampColor = this.webgl.setup(this.context, t);
5865
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
5865
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
5866
5866
  this.program = e, this.aPositionBuffer = o;
5867
5867
  }
5868
5868
  this.handleParticleSetup();
@@ -5876,11 +5876,11 @@ const bl = {
5876
5876
  ];
5877
5877
  this.wrapper = this.webgl.bindParticle(
5878
5878
  this.particleContext,
5879
- ze.vertexSchema,
5880
- ze.fragmentSchema,
5881
- ze.quadVertSchema,
5882
- ze.screenFragmentSchema,
5883
- ze.updateFragmentSchema
5879
+ Pe.vertexSchema,
5880
+ Pe.fragmentSchema,
5881
+ Pe.quadVertSchema,
5882
+ Pe.screenFragmentSchema,
5883
+ Pe.updateFragmentSchema
5884
5884
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = { ...this.wrapper, ...this.webgl.setupParticle(this.particleContext, 9e3), ...this.webgl.resize(this.viewport, this.particleContext) }, this.viewport.map.on("resize", this.handleResize), this.viewport.map.on("movestart", this.handlePause), this.viewport.map.on("moveend", this.handlePlay);
5885
5885
  }
5886
5886
  },
@@ -5937,7 +5937,7 @@ function xl(t, e, o, i, a, r) {
5937
5937
  ]), 4)
5938
5938
  ])) : D("", !0);
5939
5939
  }
5940
- const vl = /* @__PURE__ */ q(bl, [["render", xl]]), _l = {
5940
+ const vl = /* @__PURE__ */ X(bl, [["render", xl]]), _l = {
5941
5941
  name: "IdmCurrent",
5942
5942
  props: {
5943
5943
  map: {
@@ -6095,7 +6095,7 @@ const vl = /* @__PURE__ */ q(bl, [["render", xl]]), _l = {
6095
6095
  function kl(t, e, o, i, a, r) {
6096
6096
  return null;
6097
6097
  }
6098
- const zl = /* @__PURE__ */ q(_l, [["render", kl]]);
6098
+ const zl = /* @__PURE__ */ X(_l, [["render", kl]]);
6099
6099
  const Ll = {
6100
6100
  name: "IdmCurrentParticle",
6101
6101
  props: {
@@ -6195,7 +6195,7 @@ const Ll = {
6195
6195
  [1, "rgb(195,194,194)"]
6196
6196
  ];
6197
6197
  this.rampColor = this.webgl.setup(this.context, t);
6198
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
6198
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
6199
6199
  this.program = e, this.aPositionBuffer = o;
6200
6200
  }
6201
6201
  this.handleParticleSetup();
@@ -6210,11 +6210,11 @@ const Ll = {
6210
6210
  ];
6211
6211
  this.wrapper = this.webgl.bindParticle(
6212
6212
  this.particleContext,
6213
- ze.vertexSchema,
6214
- ze.fragmentSchema,
6215
- ze.quadVertSchema,
6216
- ze.screenFragmentSchema,
6217
- ze.updateFragmentSchema
6213
+ Pe.vertexSchema,
6214
+ Pe.fragmentSchema,
6215
+ Pe.quadVertSchema,
6216
+ Pe.screenFragmentSchema,
6217
+ Pe.updateFragmentSchema
6218
6218
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = {
6219
6219
  ...this.wrapper,
6220
6220
  ...this.webgl.setupParticle(this.particleContext, 9e3),
@@ -6274,7 +6274,7 @@ function Cl(t, e, o, i, a, r) {
6274
6274
  ]), 4)
6275
6275
  ])) : D("", !0);
6276
6276
  }
6277
- const Tl = /* @__PURE__ */ q(Ll, [["render", Cl]]);
6277
+ const Tl = /* @__PURE__ */ X(Ll, [["render", Cl]]);
6278
6278
  const Sl = {
6279
6279
  name: "IdmSigWave",
6280
6280
  props: {
@@ -6367,7 +6367,7 @@ const Sl = {
6367
6367
  //13
6368
6368
  ];
6369
6369
  this.rampColor = this.webgl.setup(this.context, t);
6370
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6370
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
6371
6371
  this.program = e, this.aPositionBuffer = o;
6372
6372
  }
6373
6373
  },
@@ -6398,7 +6398,7 @@ function Il(t, e, o, i, a, r) {
6398
6398
  ]), 4)
6399
6399
  ])) : D("", !0);
6400
6400
  }
6401
- const Dl = /* @__PURE__ */ q(Sl, [["render", Il], ["__scopeId", "data-v-fa73c319"]]), Al = {
6401
+ const Dl = /* @__PURE__ */ X(Sl, [["render", Il], ["__scopeId", "data-v-fa73c319"]]), Al = {
6402
6402
  name: "IdmSigWaveHeight",
6403
6403
  props: {
6404
6404
  map: {
@@ -6546,7 +6546,7 @@ const Dl = /* @__PURE__ */ q(Sl, [["render", Il], ["__scopeId", "data-v-fa73c319
6546
6546
  function Rl(t, e, o, i, a, r) {
6547
6547
  return null;
6548
6548
  }
6549
- const Ol = /* @__PURE__ */ q(Al, [["render", Rl]]);
6549
+ const Ol = /* @__PURE__ */ X(Al, [["render", Rl]]);
6550
6550
  const Bl = {
6551
6551
  name: "IdmSwell",
6552
6552
  props: {
@@ -6639,7 +6639,7 @@ const Bl = {
6639
6639
  //13
6640
6640
  ];
6641
6641
  this.rampColor = this.webgl.setup(this.context, t);
6642
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6642
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
6643
6643
  this.program = e, this.aPositionBuffer = o;
6644
6644
  }
6645
6645
  },
@@ -6670,7 +6670,7 @@ function jl(t, e, o, i, a, r) {
6670
6670
  ]), 4)
6671
6671
  ])) : D("", !0);
6672
6672
  }
6673
- const Nl = /* @__PURE__ */ q(Bl, [["render", jl], ["__scopeId", "data-v-d47b8b5c"]]), Fl = {
6673
+ const Nl = /* @__PURE__ */ X(Bl, [["render", jl], ["__scopeId", "data-v-d47b8b5c"]]), Fl = {
6674
6674
  name: "IdmPrmsl",
6675
6675
  props: {
6676
6676
  map: {
@@ -6852,7 +6852,7 @@ function Gl(t, e, o, i, a, r) {
6852
6852
  ], 4)
6853
6853
  ])) : D("", !0);
6854
6854
  }
6855
- const Ul = /* @__PURE__ */ q(Fl, [["render", Gl]]);
6855
+ const Ul = /* @__PURE__ */ X(Fl, [["render", Gl]]);
6856
6856
  const Wl = {
6857
6857
  name: "IdmIceEdge",
6858
6858
  props: {
@@ -6938,7 +6938,7 @@ const Wl = {
6938
6938
  // 100%
6939
6939
  ];
6940
6940
  this.rampColor = this.webgl.setup(this.context, t);
6941
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6941
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
6942
6942
  this.program = e, this.aPositionBuffer = o;
6943
6943
  }
6944
6944
  },
@@ -6974,7 +6974,7 @@ function Zl(t, e, o, i, a, r) {
6974
6974
  ]), 4)
6975
6975
  ])) : D("", !0);
6976
6976
  }
6977
- const Yl = /* @__PURE__ */ q(Wl, [["render", Zl]]);
6977
+ const Yl = /* @__PURE__ */ X(Wl, [["render", Zl]]);
6978
6978
  const ql = {
6979
6979
  name: "IdmCover",
6980
6980
  props: {
@@ -7051,7 +7051,7 @@ const ql = {
7051
7051
  // 100%
7052
7052
  ];
7053
7053
  this.rampColor = this.webgl.setup(this.context, t);
7054
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7054
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7055
7055
  this.program = e, this.aPositionBuffer = o;
7056
7056
  }
7057
7057
  },
@@ -7081,7 +7081,7 @@ function $l(t, e, o, i, a, r) {
7081
7081
  ]), 4)
7082
7082
  ])) : D("", !0);
7083
7083
  }
7084
- const Kl = /* @__PURE__ */ q(ql, [["render", $l], ["__scopeId", "data-v-dcedee39"]]);
7084
+ const Kl = /* @__PURE__ */ X(ql, [["render", $l], ["__scopeId", "data-v-dcedee39"]]);
7085
7085
  const Jl = {
7086
7086
  name: "IdmThickness",
7087
7087
  props: {
@@ -7165,7 +7165,7 @@ const Jl = {
7165
7165
  // 4m
7166
7166
  ];
7167
7167
  this.rampColor = this.webgl.setup(this.context, t);
7168
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7168
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7169
7169
  this.program = e, this.aPositionBuffer = o;
7170
7170
  }
7171
7171
  },
@@ -7196,7 +7196,7 @@ function en(t, e, o, i, a, r) {
7196
7196
  ]), 4)
7197
7197
  ])) : D("", !0);
7198
7198
  }
7199
- const tn = /* @__PURE__ */ q(Jl, [["render", en]]);
7199
+ const tn = /* @__PURE__ */ X(Jl, [["render", en]]);
7200
7200
  const on = {
7201
7201
  name: "IdmPrecip3h",
7202
7202
  props: {
@@ -7281,7 +7281,7 @@ const on = {
7281
7281
  [1, "rgba(197,5,58,0.8)"]
7282
7282
  ];
7283
7283
  this.rampColor = this.webgl.setup(this.context, t);
7284
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7284
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7285
7285
  this.program = e, this.aPositionBuffer = o;
7286
7286
  }
7287
7287
  },
@@ -7313,7 +7313,7 @@ function rn(t, e, o, i, a, r) {
7313
7313
  ]), 4)
7314
7314
  ])) : D("", !0);
7315
7315
  }
7316
- const sn = /* @__PURE__ */ q(on, [["render", rn]]);
7316
+ const sn = /* @__PURE__ */ X(on, [["render", rn]]);
7317
7317
  const ln = {
7318
7318
  name: "IdmVisibility",
7319
7319
  props: {
@@ -7388,7 +7388,7 @@ const ln = {
7388
7388
  [1, "rgba(144,144,144,0)"]
7389
7389
  ];
7390
7390
  this.rampColor = this.webgl.setup(this.context, t);
7391
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7391
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7392
7392
  this.program = e, this.aPositionBuffer = o;
7393
7393
  }
7394
7394
  },
@@ -7418,7 +7418,7 @@ function cn(t, e, o, i, a, r) {
7418
7418
  ]), 4)
7419
7419
  ])) : D("", !0);
7420
7420
  }
7421
- const mn = /* @__PURE__ */ q(ln, [["render", cn]]);
7421
+ const mn = /* @__PURE__ */ X(ln, [["render", cn]]);
7422
7422
  const dn = {
7423
7423
  name: "IdmWaterTemp",
7424
7424
  props: {
@@ -7496,7 +7496,7 @@ const dn = {
7496
7496
  //
7497
7497
  ];
7498
7498
  this.rampColor = this.webgl.setup(this.context, t);
7499
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7499
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7500
7500
  this.program = e, this.aPositionBuffer = o;
7501
7501
  }
7502
7502
  },
@@ -7526,7 +7526,7 @@ function pn(t, e, o, i, a, r) {
7526
7526
  ]), 4)
7527
7527
  ])) : D("", !0);
7528
7528
  }
7529
- const un = /* @__PURE__ */ q(dn, [["render", pn]]);
7529
+ const un = /* @__PURE__ */ X(dn, [["render", pn]]);
7530
7530
  const gn = {
7531
7531
  name: "IdmTemp",
7532
7532
  props: {
@@ -7615,7 +7615,7 @@ const gn = {
7615
7615
  [1, "rgb(138, 43, 10)"]
7616
7616
  ];
7617
7617
  this.rampColor = this.webgl.setup(this.context, t);
7618
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7618
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7619
7619
  this.program = e, this.aPositionBuffer = o;
7620
7620
  }
7621
7621
  },
@@ -7647,7 +7647,7 @@ function yn(t, e, o, i, a, r) {
7647
7647
  ]), 4)
7648
7648
  ])) : D("", !0);
7649
7649
  }
7650
- const bn = /* @__PURE__ */ q(gn, [["render", yn]]);
7650
+ const bn = /* @__PURE__ */ X(gn, [["render", yn]]);
7651
7651
  const wn = {
7652
7652
  name: "IdmGlLayer",
7653
7653
  components: {
@@ -7903,7 +7903,7 @@ const wn = {
7903
7903
  },
7904
7904
  async fetchModels() {
7905
7905
  this.models = {};
7906
- const t = await Se.get(`${this.gateway}/api/arc/meteo2/models2`, {
7906
+ const t = await Me.get(`${this.gateway}/api/arc/meteo2/models2`, {
7907
7907
  headers: {
7908
7908
  Authorization: this.defaultMeteoToken
7909
7909
  }
@@ -7926,7 +7926,7 @@ const wn = {
7926
7926
  if (this.weatherWeight > 0) {
7927
7927
  let T = this.weatherWeight;
7928
7928
  if (T > 0) {
7929
- const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
7929
+ const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Me.get(
7930
7930
  `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${L}&bbox=${z}&t=${this.realTime}`,
7931
7931
  {
7932
7932
  headers: {
@@ -7938,7 +7938,7 @@ const wn = {
7938
7938
  const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
7939
7939
  for (const C in P)
7940
7940
  k.push(
7941
- Se.get(P[C], {
7941
+ Me.get(P[C], {
7942
7942
  headers: {
7943
7943
  Authorization: this.defaultMeteoToken,
7944
7944
  key: C
@@ -8036,7 +8036,7 @@ const wn = {
8036
8036
  let e = 0, o = 0;
8037
8037
  const i = (r = this.map) == null ? void 0 : r.getBounds(), a = (l = this.map) == null ? void 0 : l.getZoom();
8038
8038
  if (i && a) {
8039
- const w = X.convertToStdLng(i._sw.lng), L = X.convertToStdLng(i._ne.lng), p = Math.floor(i._sw.lat), z = Math.ceil(i._ne.lat);
8039
+ const w = $.convertToStdLng(i._sw.lng), L = $.convertToStdLng(i._ne.lng), p = Math.floor(i._sw.lat), z = Math.ceil(i._ne.lat);
8040
8040
  for (const T in this.weatherLayers) {
8041
8041
  let O = !1;
8042
8042
  if (this.weatherLayers[T].active && this.weatherLayers[T].type === "json") {
@@ -8048,38 +8048,38 @@ const wn = {
8048
8048
  if (v > p && v < z && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8049
8049
  const C = P[v].lng;
8050
8050
  w > L ? C.forEach((_, A) => {
8051
- var N, V, Y, Z, ee, Q;
8051
+ var N, V, Y, Z, Q, ee;
8052
8052
  if (a < 2) {
8053
8053
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8054
- const $ = H.point([_, v], {
8054
+ const J = H.point([_, v], {
8055
8055
  val: ((N = P[v].val) == null ? void 0 : N[A]) || ((V = P[v].dir) == null ? void 0 : V[A]),
8056
8056
  spd: (Y = P[v].spd) == null ? void 0 : Y[A]
8057
8057
  });
8058
- I.push($);
8058
+ I.push(J);
8059
8059
  }
8060
8060
  } else if ((_ >= w && _ <= 180 || _ >= -180 && _ <= L) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8061
- const $ = H.point([_, v], {
8062
- val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((ee = P[v].dir) == null ? void 0 : ee[A]),
8063
- spd: (Q = P[v].spd) == null ? void 0 : Q[A]
8061
+ const J = H.point([_, v], {
8062
+ val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((Q = P[v].dir) == null ? void 0 : Q[A]),
8063
+ spd: (ee = P[v].spd) == null ? void 0 : ee[A]
8064
8064
  });
8065
- I.push($);
8065
+ I.push(J);
8066
8066
  }
8067
8067
  }) : C.forEach((_, A) => {
8068
- var N, V, Y, Z, ee, Q;
8068
+ var N, V, Y, Z, Q, ee;
8069
8069
  if (w < 2) {
8070
8070
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8071
- const $ = H.point([_, v], {
8071
+ const J = H.point([_, v], {
8072
8072
  val: ((N = P[v].val) == null ? void 0 : N[A]) || ((V = P[v].dir) == null ? void 0 : V[A]),
8073
8073
  spd: (Y = P[v].spd) == null ? void 0 : Y[A]
8074
8074
  });
8075
- I.push($);
8075
+ I.push(J);
8076
8076
  }
8077
8077
  } else if (_ >= w && _ <= L && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8078
- const $ = H.point([_, v], {
8079
- val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((ee = P[v].dir) == null ? void 0 : ee[A]),
8080
- spd: (Q = P[v].spd) == null ? void 0 : Q[A]
8078
+ const J = H.point([_, v], {
8079
+ val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((Q = P[v].dir) == null ? void 0 : Q[A]),
8080
+ spd: (ee = P[v].spd) == null ? void 0 : ee[A]
8081
8081
  });
8082
- I.push($);
8082
+ I.push(J);
8083
8083
  }
8084
8084
  });
8085
8085
  }
@@ -8112,38 +8112,38 @@ const wn = {
8112
8112
  if (v > p && v < z && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8113
8113
  const C = P[v].lng;
8114
8114
  w > L ? C.forEach((_, A) => {
8115
- var N, V, Y, Z, ee, Q;
8115
+ var N, V, Y, Z, Q, ee;
8116
8116
  if (a < 2) {
8117
8117
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8118
- const $ = H.point([_, v], {
8118
+ const J = H.point([_, v], {
8119
8119
  val: ((N = P[v].val) == null ? void 0 : N[A]) || ((V = P[v].dir) == null ? void 0 : V[A]),
8120
8120
  spd: (Y = P[v].spd) == null ? void 0 : Y[A]
8121
8121
  });
8122
- I.push($);
8122
+ I.push(J);
8123
8123
  }
8124
8124
  } else if ((_ >= w && _ <= 180 || _ >= -180 && _ <= L) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8125
- const $ = H.point([_, v], {
8126
- val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((ee = P[v].dir) == null ? void 0 : ee[A]),
8127
- spd: (Q = P[v].spd) == null ? void 0 : Q[A]
8125
+ const J = H.point([_, v], {
8126
+ val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((Q = P[v].dir) == null ? void 0 : Q[A]),
8127
+ spd: (ee = P[v].spd) == null ? void 0 : ee[A]
8128
8128
  });
8129
- I.push($);
8129
+ I.push(J);
8130
8130
  }
8131
8131
  }) : C.forEach((_, A) => {
8132
- var N, V, Y, Z, ee, Q;
8132
+ var N, V, Y, Z, Q, ee;
8133
8133
  if (w < 2) {
8134
8134
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8135
- const $ = H.point([_, v], {
8135
+ const J = H.point([_, v], {
8136
8136
  val: ((N = P[v].val) == null ? void 0 : N[A]) || ((V = P[v].dir) == null ? void 0 : V[A]),
8137
8137
  spd: (Y = P[v].spd) == null ? void 0 : Y[A]
8138
8138
  });
8139
- I.push($);
8139
+ I.push(J);
8140
8140
  }
8141
8141
  } else if (_ >= w && _ <= L && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8142
- const $ = H.point([_, v], {
8143
- val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((ee = P[v].dir) == null ? void 0 : ee[A]),
8144
- spd: (Q = P[v].spd) == null ? void 0 : Q[A]
8142
+ const J = H.point([_, v], {
8143
+ val: ((Z = P[v].val) == null ? void 0 : Z[A]) || ((Q = P[v].dir) == null ? void 0 : Q[A]),
8144
+ spd: (ee = P[v].spd) == null ? void 0 : ee[A]
8145
8145
  });
8146
- I.push($);
8146
+ I.push(J);
8147
8147
  }
8148
8148
  });
8149
8149
  }
@@ -8267,7 +8267,7 @@ const wn = {
8267
8267
  }
8268
8268
  for (const v in P.Point)
8269
8269
  P.Point[v].lng.forEach((C, _) => {
8270
- C = X.convertToStdLng(C), k.push(
8270
+ C = $.convertToStdLng(C), k.push(
8271
8271
  H.point([C, v], {
8272
8272
  val: P.Point[v].val[_],
8273
8273
  type: P.Point[v].type[_]
@@ -8290,7 +8290,7 @@ const wn = {
8290
8290
  this.handleDrawWeather4Json();
8291
8291
  },
8292
8292
  handleBboxClip(t, e) {
8293
- const o = [], i = X.convertToStdLng(e._sw.lng), a = X.convertToStdLng(e._ne.lng);
8293
+ const o = [], i = $.convertToStdLng(e._sw.lng), a = $.convertToStdLng(e._ne.lng);
8294
8294
  return t.features.forEach((r) => {
8295
8295
  if (r.geometry.type !== "Point")
8296
8296
  if (i > a) {
@@ -8322,8 +8322,8 @@ const wn = {
8322
8322
  class: "d-flex justify-start align-center ga-4 pl-6"
8323
8323
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Un = { class: "text-body-2 text-label mb-3" }, Wn = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Zn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" }, Qn = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
8324
8324
  function ic(t, e, o, i, a, r) {
8325
- var me, K, ie, pe, de, ue, F, se, ve, Pe, Ce, De, Ae, Re, ke;
8326
- const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), L = x("VSwitch"), p = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), k = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), A = x("IdmCurrentParticle"), N = x("IdmWave"), V = x("IdmSwell"), Y = x("IdmIceEdge"), Z = x("IdmIceCover"), ee = x("IdmIceThickness"), Q = x("IdmPrecip3h"), $ = x("IdmVisibility"), ce = x("IdmWaterTemp"), le = x("IdmTemp");
8325
+ var me, ue, de, he, q, re, F, se, ye, ve, be, Te, Ae, Re, Le;
8326
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), L = x("VSwitch"), p = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), k = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), A = x("IdmCurrentParticle"), N = x("IdmWave"), V = x("IdmSwell"), Y = x("IdmIceEdge"), Z = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), ne = x("IdmWaterTemp"), ie = x("IdmTemp");
8327
8327
  return y(), M("div", xn, [
8328
8328
  s("div", {
8329
8329
  class: "menu-bar-box transition pa-1",
@@ -8391,7 +8391,7 @@ function ic(t, e, o, i, a, r) {
8391
8391
  e[10] || (e[10] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
8392
8392
  u(g, { class: "ma-0 ml-n1 text-body-2" }, {
8393
8393
  default: f(() => [
8394
- (y(!0), M(be, null, we(a.legend.barbs, (G, te) => (y(), R(n, {
8394
+ (y(!0), M(xe, null, _e(a.legend.barbs, (G, te) => (y(), R(n, {
8395
8395
  key: G,
8396
8396
  cols: "6",
8397
8397
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -8423,7 +8423,7 @@ function ic(t, e, o, i, a, r) {
8423
8423
  style: { width: "100px" }
8424
8424
  }, {
8425
8425
  default: f(() => [
8426
- (y(!0), M(be, null, we(a.legend.sigWaveHeight, (G, te) => (y(), R(n, {
8426
+ (y(!0), M(xe, null, _e(a.legend.sigWaveHeight, (G, te) => (y(), R(n, {
8427
8427
  key: te,
8428
8428
  cols: "12",
8429
8429
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -8455,7 +8455,7 @@ function ic(t, e, o, i, a, r) {
8455
8455
  style: { width: "110px" }
8456
8456
  }, {
8457
8457
  default: f(() => [
8458
- (y(!0), M(be, null, we(a.legend.current, (G, te) => (y(), R(n, {
8458
+ (y(!0), M(xe, null, _e(a.legend.current, (G, te) => (y(), R(n, {
8459
8459
  key: te,
8460
8460
  cols: "12",
8461
8461
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
@@ -8530,7 +8530,7 @@ function ic(t, e, o, i, a, r) {
8530
8530
  style: { "font-size": "16px !important" }
8531
8531
  }, {
8532
8532
  default: f(() => [
8533
- J(m(t.$t("weather.overlays")), 1)
8533
+ K(m(t.$t("weather.overlays")), 1)
8534
8534
  ]),
8535
8535
  _: 1
8536
8536
  })
@@ -8539,7 +8539,7 @@ function ic(t, e, o, i, a, r) {
8539
8539
  }),
8540
8540
  u(h, { class: "py-2" }, {
8541
8541
  default: f(() => [
8542
- (y(!0), M(be, null, we(a.tagLayers.filter((G) => G.overlays), (G) => (y(), R(T, {
8542
+ (y(!0), M(xe, null, _e(a.tagLayers.filter((G) => G.overlays), (G) => (y(), R(T, {
8543
8543
  key: G.key,
8544
8544
  modelValue: a.checkList,
8545
8545
  "onUpdate:modelValue": e[2] || (e[2] = (te) => a.checkList = te),
@@ -8570,7 +8570,7 @@ function ic(t, e, o, i, a, r) {
8570
8570
  style: { "font-size": "16px !important" }
8571
8571
  }, {
8572
8572
  default: f(() => [
8573
- J(m(t.$t("weather.renders")), 1)
8573
+ K(m(t.$t("weather.renders")), 1)
8574
8574
  ]),
8575
8575
  _: 1
8576
8576
  })
@@ -8579,7 +8579,7 @@ function ic(t, e, o, i, a, r) {
8579
8579
  }),
8580
8580
  u(h, { class: "py-2" }, {
8581
8581
  default: f(() => [
8582
- (y(!0), M(be, null, we(a.tagLayers.filter((G) => !G.overlays), (G) => (y(), M(be, {
8582
+ (y(!0), M(xe, null, _e(a.tagLayers.filter((G) => !G.overlays), (G) => (y(), M(xe, {
8583
8583
  key: G.key
8584
8584
  }, [
8585
8585
  u(O, {
@@ -8647,7 +8647,7 @@ function ic(t, e, o, i, a, r) {
8647
8647
  disabled: !a.autoActive
8648
8648
  }, {
8649
8649
  default: f(() => [
8650
- J(m(t.$t("weather.significant")), 1)
8650
+ K(m(t.$t("weather.significant")), 1)
8651
8651
  ]),
8652
8652
  _: 1
8653
8653
  }, 8, ["color", "disabled"]),
@@ -8661,7 +8661,7 @@ function ic(t, e, o, i, a, r) {
8661
8661
  value: "swell"
8662
8662
  }, {
8663
8663
  default: f(() => [
8664
- J(m(t.$t("weather.swell")), 1)
8664
+ K(m(t.$t("weather.swell")), 1)
8665
8665
  ]),
8666
8666
  _: 1
8667
8667
  }, 8, ["color", "disabled"])
@@ -8690,7 +8690,7 @@ function ic(t, e, o, i, a, r) {
8690
8690
  disabled: !a.autoActive
8691
8691
  }, {
8692
8692
  default: f(() => [
8693
- J(m(t.$t("weather.coverage")), 1)
8693
+ K(m(t.$t("weather.coverage")), 1)
8694
8694
  ]),
8695
8695
  _: 1
8696
8696
  }, 8, ["color", "disabled"]),
@@ -8704,7 +8704,7 @@ function ic(t, e, o, i, a, r) {
8704
8704
  value: "ice-thickness"
8705
8705
  }, {
8706
8706
  default: f(() => [
8707
- J(m(t.$t("weather.thickness")), 1)
8707
+ K(m(t.$t("weather.thickness")), 1)
8708
8708
  ]),
8709
8709
  _: 1
8710
8710
  }, 8, ["color", "disabled"])
@@ -8730,7 +8730,7 @@ function ic(t, e, o, i, a, r) {
8730
8730
  style: { "font-size": "16px !important" }
8731
8731
  }, {
8732
8732
  default: f(() => [
8733
- J(m(t.$t("weather.forecastModel")), 1)
8733
+ K(m(t.$t("weather.forecastModel")), 1)
8734
8734
  ]),
8735
8735
  _: 1
8736
8736
  })
@@ -8739,14 +8739,14 @@ function ic(t, e, o, i, a, r) {
8739
8739
  }),
8740
8740
  u(h, { class: "" }, {
8741
8741
  default: f(() => {
8742
- var G, te, Fe, Me, ge, Te, U, fe, oe, re, Oe, He, Ge, E, ye, Ie, Be, Ee, j, Ue, W, qe, Xe, $e, _e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
8742
+ var G, te, Fe, Ie, ge, Se, U, fe, oe, le, Oe, He, Ge, E, we, De, Be, Ee, j, Ue, W, qe, Xe, $e, ze, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
8743
8743
  return [
8744
8744
  s("div", On, m(t.$t("weather.atmospheric")), 1),
8745
- s("div", Bn, m((Fe = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((Te = (ge = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Te.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (fe = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8745
+ s("div", Bn, m((Fe = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((Se = (ge = (Ie = a.models) == null ? void 0 : Ie.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Se.spatialResolution) + m(t.$t("units.km")) + " " + m((le = (oe = (fe = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : le.days) + m(t.$t("units.days")), 1),
8746
8746
  s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
8747
8747
  s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((E = (Ge = (He = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ge.meta) == null ? void 0 : E.availabilityTime)), 1),
8748
- s("div", Nn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Ee = (Be = (Ie = (ye = a.models) == null ? void 0 : ye.weather) == null ? void 0 : Ie.NOAA) == null ? void 0 : Be.meta) == null ? void 0 : Ee.initialisationTime)), 1),
8749
- s("div", Fn, m((W = (Ue = (j = a.models) == null ? void 0 : j.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : W.source) + " " + m(($e = (Xe = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Xe.ECMWF) == null ? void 0 : $e.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = (Ke = (_e = a.models) == null ? void 0 : _e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
8748
+ s("div", Nn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Ee = (Be = (De = (we = a.models) == null ? void 0 : we.weather) == null ? void 0 : De.NOAA) == null ? void 0 : Be.meta) == null ? void 0 : Ee.initialisationTime)), 1),
8749
+ s("div", Fn, m((W = (Ue = (j = a.models) == null ? void 0 : j.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : W.source) + " " + m(($e = (Xe = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Xe.ECMWF) == null ? void 0 : $e.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = (Ke = (ze = a.models) == null ? void 0 : ze.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
8750
8750
  s("div", Hn, m(t.$t("weather.source")) + ": ECMWF", 1),
8751
8751
  s("div", Gn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
8752
8752
  s("div", Un, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
@@ -8788,7 +8788,7 @@ function ic(t, e, o, i, a, r) {
8788
8788
  key: 2,
8789
8789
  map: o.map,
8790
8790
  "before-layer": "empty-layer-2",
8791
- "sig-wave-height": (K = a.weatherLayers) == null ? void 0 : K["sig-wave-height"],
8791
+ "sig-wave-height": (ue = a.weatherLayers) == null ? void 0 : ue["sig-wave-height"],
8792
8792
  "menu-toggle": o.menuToggle,
8793
8793
  "active-weather-layers": a.activeWeatherLayers
8794
8794
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
@@ -8797,27 +8797,27 @@ function ic(t, e, o, i, a, r) {
8797
8797
  map: o.map,
8798
8798
  "map-feather": o.mapFeather,
8799
8799
  "before-layer": "empty-layer-2",
8800
- current: (ie = a.weatherLayers) == null ? void 0 : ie.current,
8800
+ current: (de = a.weatherLayers) == null ? void 0 : de.current,
8801
8801
  "menu-toggle": o.menuToggle
8802
8802
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : D("", !0),
8803
8803
  o.map ? (y(), R(C, B({
8804
8804
  key: 4,
8805
8805
  map: o.map,
8806
8806
  "before-layer": "empty-layer-2",
8807
- prmsl: (pe = a.weatherLayers) == null ? void 0 : pe.prmsl,
8807
+ prmsl: (he = a.weatherLayers) == null ? void 0 : he.prmsl,
8808
8808
  "menu-toggle": o.menuToggle,
8809
8809
  "active-weather-layers": a.activeWeatherLayers
8810
8810
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
8811
8811
  o.map ? (y(), R(_, B({
8812
8812
  key: 5,
8813
8813
  viewport: a.viewport,
8814
- factor: (de = a.weatherLayers) == null ? void 0 : de["wind-particle"],
8814
+ factor: (q = a.weatherLayers) == null ? void 0 : q["wind-particle"],
8815
8815
  "menu-toggle": o.menuToggle
8816
8816
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8817
8817
  o.map ? (y(), R(A, B({
8818
8818
  key: 6,
8819
8819
  viewport: a.viewport,
8820
- factor: (ue = a.weatherLayers) == null ? void 0 : ue["current-particle"],
8820
+ factor: (re = a.weatherLayers) == null ? void 0 : re["current-particle"],
8821
8821
  "menu-toggle": o.menuToggle
8822
8822
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8823
8823
  o.map ? (y(), R(N, B({
@@ -8837,48 +8837,48 @@ function ic(t, e, o, i, a, r) {
8837
8837
  o.map ? (y(), R(Y, B({
8838
8838
  key: 9,
8839
8839
  viewport: a.viewport,
8840
- factor: (ve = a.weatherLayers) == null ? void 0 : ve["ice-edge"],
8840
+ factor: (ye = a.weatherLayers) == null ? void 0 : ye["ice-edge"],
8841
8841
  "menu-toggle": o.menuToggle
8842
8842
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8843
8843
  o.map ? (y(), R(Z, B({
8844
8844
  key: 10,
8845
8845
  viewport: a.viewport,
8846
- factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-cover"],
8846
+ factor: (ve = a.weatherLayers) == null ? void 0 : ve["ice-cover"],
8847
8847
  "menu-toggle": o.menuToggle
8848
8848
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8849
- o.map ? (y(), R(ee, B({
8849
+ o.map ? (y(), R(Q, B({
8850
8850
  key: 11,
8851
8851
  viewport: a.viewport,
8852
- factor: (Ce = a.weatherLayers) == null ? void 0 : Ce["ice-thickness"],
8852
+ factor: (be = a.weatherLayers) == null ? void 0 : be["ice-thickness"],
8853
8853
  "menu-toggle": o.menuToggle
8854
8854
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8855
- o.map ? (y(), R(Q, B({
8855
+ o.map ? (y(), R(ee, B({
8856
8856
  key: 12,
8857
8857
  viewport: a.viewport,
8858
- factor: (De = a.weatherLayers) == null ? void 0 : De.precip3h,
8858
+ factor: (Te = a.weatherLayers) == null ? void 0 : Te.precip3h,
8859
8859
  "menu-toggle": o.menuToggle
8860
8860
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8861
- o.map ? (y(), R($, B({
8861
+ o.map ? (y(), R(J, B({
8862
8862
  key: 13,
8863
8863
  viewport: a.viewport,
8864
8864
  factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.visibility,
8865
8865
  "menu-toggle": o.menuToggle
8866
8866
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8867
- o.map ? (y(), R(ce, B({
8867
+ o.map ? (y(), R(ne, B({
8868
8868
  key: 14,
8869
8869
  viewport: a.viewport,
8870
8870
  factor: (Re = a.weatherLayers) == null ? void 0 : Re["water-temp"],
8871
8871
  "menu-toggle": o.menuToggle
8872
8872
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8873
- o.map ? (y(), R(le, B({
8873
+ o.map ? (y(), R(ie, B({
8874
8874
  key: 15,
8875
8875
  viewport: a.viewport,
8876
- factor: (ke = a.weatherLayers) == null ? void 0 : ke.temp,
8876
+ factor: (Le = a.weatherLayers) == null ? void 0 : Le.temp,
8877
8877
  "menu-toggle": o.menuToggle
8878
8878
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0)
8879
8879
  ]);
8880
8880
  }
8881
- const rc = /* @__PURE__ */ q(wn, [["render", ic]]), Lo = [
8881
+ const rc = /* @__PURE__ */ X(wn, [["render", ic]]), Lo = [
8882
8882
  {
8883
8883
  rank: 0,
8884
8884
  name: "Best Match",
@@ -9225,22 +9225,22 @@ class Ya {
9225
9225
  }), a;
9226
9226
  }
9227
9227
  static pickHourly(e, o) {
9228
- var i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le, me, K, ie, pe, de, ue, F, se, ve, Pe, Ce, De, Ae, Re, ke, G, te, Fe, Me, ge, Te;
9229
- const U = typeof o == "string" ? S(o) : o, fe = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, re = S((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Oe = re.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = re.clone().add((h = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : h.at(-1), "h"), Ge = [];
9228
+ var i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie, me, ue, de, he, q, re, F, se, ye, ve, be, Te, Ae, Re, Le, G, te, Fe, Ie, ge, Se;
9229
+ const U = typeof o == "string" ? S(o) : o, fe = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, le = S((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Oe = le.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = le.clone().add((h = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : h.at(-1), "h"), Ge = [];
9230
9230
  if (U.isBetween(Oe, He, "millisecond", "[]")) {
9231
9231
  const E = U.utc().diff(Oe, "h", !1);
9232
- let ye, Ie;
9232
+ let we, De;
9233
9233
  if (fe) {
9234
9234
  let Be = 0, Ee = 0, j = 0;
9235
9235
  for (const Ue of fe) {
9236
9236
  const W = Ue == null ? void 0 : Ue.hourly;
9237
- for (let _e = E - (E - 1) % 3; _e <= E; _e++)
9238
- Be += (b = W == null ? void 0 : W.precipitation) == null ? void 0 : b.at(_e);
9239
- for (let _e = E - (E - 1) % 6; _e <= E; _e++)
9240
- Ee += (w = W == null ? void 0 : W.precipitation) == null ? void 0 : w.at(_e);
9241
- for (let _e = E - (E - 1) % 12; _e <= E; _e++)
9242
- j += (L = W == null ? void 0 : W.precipitation) == null ? void 0 : L.at(_e);
9243
- ye = {
9237
+ for (let ze = E - (E - 1) % 3; ze <= E; ze++)
9238
+ Be += (b = W == null ? void 0 : W.precipitation) == null ? void 0 : b.at(ze);
9239
+ for (let ze = E - (E - 1) % 6; ze <= E; ze++)
9240
+ Ee += (w = W == null ? void 0 : W.precipitation) == null ? void 0 : w.at(ze);
9241
+ for (let ze = E - (E - 1) % 12; ze <= E; ze++)
9242
+ j += (L = W == null ? void 0 : W.precipitation) == null ? void 0 : L.at(ze);
9243
+ we = {
9244
9244
  temp: (p = W == null ? void 0 : W.temperature_2m) == null ? void 0 : p.at(E),
9245
9245
  apparentTemp: (z = W == null ? void 0 : W.apparent_temperature) == null ? void 0 : z.at(E),
9246
9246
  rh: (T = W == null ? void 0 : W.relative_humidity_2m) == null ? void 0 : T.at(E),
@@ -9261,16 +9261,16 @@ class Ya {
9261
9261
  speed: (N = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : N.at(E),
9262
9262
  kts: (V = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : V.at(E),
9263
9263
  degree: (Y = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Y.at(E),
9264
- bearing: ((Z = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((ee = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : ee.at(E)) + 180) % 360 : null,
9265
- gusts: (Q = W == null ? void 0 : W.wind_gusts_10m) == null ? void 0 : Q.at(E)
9264
+ bearing: ((Z = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((Q = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Q.at(E)) + 180) % 360 : null,
9265
+ gusts: (ee = W == null ? void 0 : W.wind_gusts_10m) == null ? void 0 : ee.at(E)
9266
9266
  },
9267
- isDay: ($ = W == null ? void 0 : W.is_day) == null ? void 0 : $.at(E)
9267
+ isDay: (J = W == null ? void 0 : W.is_day) == null ? void 0 : J.at(E)
9268
9268
  };
9269
- const { name: qe, url: Xe, bg: $e } = this.parseWeatherCode(ye.code, ye.isDay);
9270
- ye.name = qe, ye.url = Xe, ye.bg = $e, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Ge.push({
9269
+ const { name: qe, url: Xe, bg: $e } = this.parseWeatherCode(we.code, we.isDay);
9270
+ we.name = qe, we.url = Xe, we.bg = $e, we.wind.scale = this.beaufort(this.kts2ms(we.wind.kts)), we.wind.direction = this.degree2Direction(we.wind.degree), Ge.push({
9271
9271
  utc: Oe.add(E, "h").format(),
9272
9272
  model: Ue.model,
9273
- weather: { ...ye }
9273
+ weather: { ...we }
9274
9274
  });
9275
9275
  }
9276
9276
  }
@@ -9278,38 +9278,38 @@ class Ya {
9278
9278
  let Be = 0;
9279
9279
  for (const Ee of oe) {
9280
9280
  const j = Ee == null ? void 0 : Ee.hourly;
9281
- Ie = {
9281
+ De = {
9282
9282
  wave: {
9283
9283
  sig: {
9284
- height: (ce = j == null ? void 0 : j.wave_height) == null ? void 0 : ce.at(E),
9285
- degree: (le = j == null ? void 0 : j.wave_direction) == null ? void 0 : le.at(E),
9286
- bearing: ((me = j == null ? void 0 : j.wave_direction) == null ? void 0 : me.at(E)) !== null ? (((K = j == null ? void 0 : j.wave_direction) == null ? void 0 : K.at(E)) + 180) % 360 : null,
9287
- period: (ie = j == null ? void 0 : j.wave_period) == null ? void 0 : ie.at(E)
9284
+ height: (ne = j == null ? void 0 : j.wave_height) == null ? void 0 : ne.at(E),
9285
+ degree: (ie = j == null ? void 0 : j.wave_direction) == null ? void 0 : ie.at(E),
9286
+ bearing: ((me = j == null ? void 0 : j.wave_direction) == null ? void 0 : me.at(E)) !== null ? (((ue = j == null ? void 0 : j.wave_direction) == null ? void 0 : ue.at(E)) + 180) % 360 : null,
9287
+ period: (de = j == null ? void 0 : j.wave_period) == null ? void 0 : de.at(E)
9288
9288
  },
9289
9289
  swell: {
9290
- height: (pe = j == null ? void 0 : j.swell_wave_height) == null ? void 0 : pe.at(E),
9291
- degree: (de = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : de.at(E),
9292
- bearing: ((ue = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : ue.at(E)) !== null ? (((F = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : F.at(E)) + 180) % 360 : null,
9290
+ height: (he = j == null ? void 0 : j.swell_wave_height) == null ? void 0 : he.at(E),
9291
+ degree: (q = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : q.at(E),
9292
+ bearing: ((re = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : re.at(E)) !== null ? (((F = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : F.at(E)) + 180) % 360 : null,
9293
9293
  period: (se = j == null ? void 0 : j.swell_wave_period) == null ? void 0 : se.at(E),
9294
- peakPeriod: (ve = j == null ? void 0 : j.swell_wave_peak_period) == null ? void 0 : ve.at(E)
9294
+ peakPeriod: (ye = j == null ? void 0 : j.swell_wave_peak_period) == null ? void 0 : ye.at(E)
9295
9295
  },
9296
9296
  wd: {
9297
- height: (Pe = j == null ? void 0 : j.wind_wave_height) == null ? void 0 : Pe.at(E),
9298
- degree: (Ce = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Ce.at(E),
9299
- bearing: ((De = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : De.at(E)) !== null ? (((Ae = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Ae.at(E)) + 180) % 360 : null,
9297
+ height: (ve = j == null ? void 0 : j.wind_wave_height) == null ? void 0 : ve.at(E),
9298
+ degree: (be = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : be.at(E),
9299
+ bearing: ((Te = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Te.at(E)) !== null ? (((Ae = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Ae.at(E)) + 180) % 360 : null,
9300
9300
  period: (Re = j == null ? void 0 : j.wind_wave_period) == null ? void 0 : Re.at(E),
9301
- peakPeriod: (ke = j == null ? void 0 : j.wind_wave_peak_period) == null ? void 0 : ke.at(E)
9301
+ peakPeriod: (Le = j == null ? void 0 : j.wind_wave_peak_period) == null ? void 0 : Le.at(E)
9302
9302
  }
9303
9303
  },
9304
9304
  current: {
9305
9305
  speed: (G = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : G.at(E),
9306
9306
  kts: (te = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : te.at(E),
9307
9307
  degree: (Fe = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Fe.at(E),
9308
- bearing: ((Me = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Me.at(E)) ?? null
9308
+ bearing: ((Ie = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Ie.at(E)) ?? null
9309
9309
  },
9310
9310
  sst: (ge = j == null ? void 0 : j.sea_surface_temperature) == null ? void 0 : ge.at(E),
9311
- height: (Te = j == null ? void 0 : j.sea_level_height_msl) == null ? void 0 : Te.at(E)
9312
- }, Ie.wave = this.parseWave(Ie.wave, ye == null ? void 0 : ye.wind), Ie.current.direction = this.degree2Direction(Ie.current.degree), Object.assign(Ge[Be], Ie), Be++;
9311
+ height: (Se = j == null ? void 0 : j.sea_level_height_msl) == null ? void 0 : Se.at(E)
9312
+ }, De.wave = this.parseWave(De.wave, we == null ? void 0 : we.wind), De.current.direction = this.degree2Direction(De.current.degree), Object.assign(Ge[Be], De), Be++;
9313
9313
  }
9314
9314
  }
9315
9315
  }
@@ -9338,13 +9338,13 @@ class Ya {
9338
9338
  };
9339
9339
  }
9340
9340
  static pickDaily(e, o) {
9341
- var i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le, me, K, ie, pe, de, ue, F, se, ve, Pe, Ce, De, Ae;
9342
- const Re = typeof o == "string" ? S(o) : o, ke = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = S((r = (a = (i = ke == null ? void 0 : ke[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (l = ke == null ? void 0 : ke[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9341
+ var i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie, me, ue, de, he, q, re, F, se, ye, ve, be, Te, Ae;
9342
+ const Re = typeof o == "string" ? S(o) : o, Le = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = S((r = (a = (i = Le == null ? void 0 : Le[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (l = Le == null ? void 0 : Le[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
9343
9343
  if (Re.isBetween(te, Fe, "millisecond", "[]")) {
9344
- let ge, Te;
9344
+ let ge, Se;
9345
9345
  const U = Re.diff(te, "d", !1);
9346
- if (ke)
9347
- for (const fe of ke) {
9346
+ if (Le)
9347
+ for (const fe of Le) {
9348
9348
  const oe = fe.daily;
9349
9349
  ge = {
9350
9350
  code: (g = oe.weather_code) == null ? void 0 : g.at(U),
@@ -9375,11 +9375,11 @@ class Ya {
9375
9375
  kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(U),
9376
9376
  degree: (V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(U),
9377
9377
  gusts: (Y = oe.wind_gusts_10m_max) == null ? void 0 : Y.at(U),
9378
- bearing: ((Z = oe.wind_direction_10m_dominant) == null ? void 0 : Z.at(U)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(U)) + 180) % 360 : null
9378
+ bearing: ((Z = oe.wind_direction_10m_dominant) == null ? void 0 : Z.at(U)) !== null ? (((Q = oe.wind_direction_10m_dominant) == null ? void 0 : Q.at(U)) + 180) % 360 : null
9379
9379
  }
9380
9380
  };
9381
- const { name: re, url: Oe, bg: He } = this.parseWeatherCode(ge.code, !0);
9382
- ge.name = re, ge.url = Oe, ge.bg = He, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Me.push({
9381
+ const { name: le, url: Oe, bg: He } = this.parseWeatherCode(ge.code, !0);
9382
+ ge.name = le, ge.url = Oe, ge.bg = He, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Ie.push({
9383
9383
  utc: te.add(U, "d").utc().format(),
9384
9384
  model: fe.model,
9385
9385
  weather: { ...ge }
@@ -9388,36 +9388,36 @@ class Ya {
9388
9388
  if (G) {
9389
9389
  let fe = 0;
9390
9390
  for (const oe of G) {
9391
- const re = oe.daily;
9392
- Te = {
9391
+ const le = oe.daily;
9392
+ Se = {
9393
9393
  wave: {
9394
9394
  sig: {
9395
- height: (Q = re.wave_height_max) == null ? void 0 : Q.at(U),
9396
- degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(U),
9397
- period: (ce = re.wave_period_max) == null ? void 0 : ce.at(U),
9398
- bearing: ((le = re.wave_direction_dominant) == null ? void 0 : le.at(U)) !== null ? (((me = re.wave_direction_dominant) == null ? void 0 : me.at(U)) + 180) % 360 : null
9395
+ height: (ee = le.wave_height_max) == null ? void 0 : ee.at(U),
9396
+ degree: (J = le.wave_direction_dominant) == null ? void 0 : J.at(U),
9397
+ period: (ne = le.wave_period_max) == null ? void 0 : ne.at(U),
9398
+ bearing: ((ie = le.wave_direction_dominant) == null ? void 0 : ie.at(U)) !== null ? (((me = le.wave_direction_dominant) == null ? void 0 : me.at(U)) + 180) % 360 : null
9399
9399
  },
9400
9400
  swell: {
9401
- height: (K = re.swell_wave_height_max) == null ? void 0 : K.at(U),
9402
- degree: (ie = re.swell_wave_direction_dominant) == null ? void 0 : ie.at(U),
9403
- period: (pe = re.swell_wave_period_max) == null ? void 0 : pe.at(U),
9404
- peakPeriod: (de = re.swell_wave_peak_period_max) == null ? void 0 : de.at(U),
9401
+ height: (ue = le.swell_wave_height_max) == null ? void 0 : ue.at(U),
9402
+ degree: (de = le.swell_wave_direction_dominant) == null ? void 0 : de.at(U),
9403
+ period: (he = le.swell_wave_period_max) == null ? void 0 : he.at(U),
9404
+ peakPeriod: (q = le.swell_wave_peak_period_max) == null ? void 0 : q.at(U),
9405
9405
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
9406
- bearing: ((ue = re.swell_wave_direction_dominant) == null ? void 0 : ue.at(U)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
9406
+ bearing: ((re = le.swell_wave_direction_dominant) == null ? void 0 : re.at(U)) !== null ? ((F = le.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
9407
9407
  },
9408
9408
  wd: {
9409
- height: (se = re.wind_wave_height_max) == null ? void 0 : se.at(U),
9410
- degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(U),
9411
- period: (Pe = re.wind_wave_period_max) == null ? void 0 : Pe.at(U),
9412
- peakPeriod: (Ce = re.wind_wave_peak_period_max) == null ? void 0 : Ce.at(U),
9413
- bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) + 180) % 360 : null
9409
+ height: (se = le.wind_wave_height_max) == null ? void 0 : se.at(U),
9410
+ degree: (ye = le.wind_wave_direction_dominant) == null ? void 0 : ye.at(U),
9411
+ period: (ve = le.wind_wave_period_max) == null ? void 0 : ve.at(U),
9412
+ peakPeriod: (be = le.wind_wave_peak_period_max) == null ? void 0 : be.at(U),
9413
+ bearing: ((Te = le.wind_wave_direction_dominant) == null ? void 0 : Te.at(U)) !== null ? (((Ae = le.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) + 180) % 360 : null
9414
9414
  }
9415
9415
  }
9416
- }, Te.wave = this.parseWave(Te.wave, ge == null ? void 0 : ge.wind), Object.assign(Me[fe], Te), fe++;
9416
+ }, Se.wave = this.parseWave(Se.wave, ge == null ? void 0 : ge.wind), Object.assign(Ie[fe], Se), fe++;
9417
9417
  }
9418
9418
  }
9419
9419
  }
9420
- return Me;
9420
+ return Ie;
9421
9421
  }
9422
9422
  static parseWave(e, o) {
9423
9423
  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) {
@@ -9867,7 +9867,7 @@ const sc = {
9867
9867
  },
9868
9868
  emits: ["tropical", "tropicalCenterPoints", "tropicalProbability", "tropicalNotification"],
9869
9869
  setup() {
9870
- return { Theme: Le() };
9870
+ return { Theme: Ce() };
9871
9871
  },
9872
9872
  data() {
9873
9873
  return {
@@ -9954,7 +9954,7 @@ const sc = {
9954
9954
  };
9955
9955
  },
9956
9956
  computePosition() {
9957
- return (t) => !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
9957
+ return (t) => !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
9958
9958
  }
9959
9959
  },
9960
9960
  watch: {
@@ -10011,14 +10011,14 @@ const sc = {
10011
10011
  const t = (/* @__PURE__ */ new Date()).valueOf();
10012
10012
  let e = 0, o = 0, i = (a = To.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : a.weight;
10013
10013
  if (i > 0) {
10014
- const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await Se.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
10014
+ const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await Me.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
10015
10015
  headers: {
10016
10016
  Authorization: this.defaultMeteoToken
10017
10017
  }
10018
10018
  });
10019
10019
  if (o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("weather links elapsed: ", o, ", total: ", e += o), ((r = n == null ? void 0 : n.data) == null ? void 0 : r.code) === 0) {
10020
10020
  const g = (l = n == null ? void 0 : n.data) == null ? void 0 : l.data;
10021
- await Se.get(g.tropicals, {
10021
+ await Me.get(g.tropicals, {
10022
10022
  headers: {
10023
10023
  Authorization: this.defaultMeteoToken,
10024
10024
  key: "tropicals"
@@ -10308,14 +10308,14 @@ const sc = {
10308
10308
  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), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.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)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
10309
10309
  },
10310
10310
  handleDateChange() {
10311
- var t, e, o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee;
10312
- if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10313
- const Q = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((K) => K.properties.date === (Q == null ? void 0 : Q.format()) && !K.properties.disabled), ce = this.handleComputePolygons($), le = H.featureCollection([...$]);
10314
- ce.forEach((K) => {
10315
- le.features.push(K);
10316
- }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(le) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
10311
+ var t, e, o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne;
10312
+ if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10313
+ const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), me = this.interpolateData.filter((q) => q.properties.date === (ie == null ? void 0 : ie.format()) && !q.properties.disabled), ue = this.handleComputePolygons(me), de = H.featureCollection([...me]);
10314
+ ue.forEach((q) => {
10315
+ de.features.push(q);
10316
+ }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(de) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
10317
10317
  type: "geojson",
10318
- data: le
10318
+ data: de
10319
10319
  }), (r = this.map) == null || r.addLayer({
10320
10320
  id: this.interpolateLineLayer,
10321
10321
  type: "line",
@@ -10327,22 +10327,28 @@ const sc = {
10327
10327
  "line-width": 1
10328
10328
  }
10329
10329
  }, "empty-layer-3")), this.interpolateMarkers = [];
10330
- const me = [];
10331
- for (const K of $)
10332
- if (!K.properties.disabled) {
10333
- me.some((F) => {
10334
- var se;
10335
- return F.properties.name === ((se = K.properties) == null ? void 0 : se.name);
10336
- }) || me.push(K);
10337
- let ie = "#f44336";
10338
- ((c = (l = K.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = K.properties) == null ? void 0 : n.wind) != null && g.kts) ? ie = "#03f869" : ((b = (h = K.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((L = (w = K.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) < 47 ? ie = "#f2f202" : ((z = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = K.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ie = "#ff9100" : ((P = (I = K.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((v = (k = K.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 79 ? ie = "#f44336" : ((_ = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((N = (A = K.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ie = "#f903d0" : ((Y = (V = K.properties) == null ? void 0 : V.wind) == null ? void 0 : Y.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
10339
- const pe = `<svg t="1719918955501"
10330
+ const he = [];
10331
+ for (const q of me)
10332
+ if (!q.properties.disabled) {
10333
+ if (!he.some((ve) => {
10334
+ var be;
10335
+ return ve.properties.name === ((be = q.properties) == null ? void 0 : be.name);
10336
+ })) {
10337
+ const ve = ((c = (l = this.tropicals.data.features.find((be) => {
10338
+ var Te;
10339
+ return be.properties.name === ((Te = q.properties) == null ? void 0 : Te.name);
10340
+ })) == null ? void 0 : l.properties) == null ? void 0 : c.nameCn) || ((n = q.properties) == null ? void 0 : n.name) || "-";
10341
+ q.properties.nameCn = ve, he.push(q);
10342
+ }
10343
+ let re = "#f44336";
10344
+ ((h = (g = q.properties) == null ? void 0 : g.wind) == null ? void 0 : h.kts) < 32 || !((w = (b = q.properties) == null ? void 0 : b.wind) != null && w.kts) ? re = "#03f869" : ((p = (L = q.properties) == null ? void 0 : L.wind) == null ? void 0 : p.kts) >= 32 && ((T = (z = q.properties) == null ? void 0 : z.wind) == null ? void 0 : T.kts) < 47 ? re = "#f2f202" : ((I = (O = q.properties) == null ? void 0 : O.wind) == null ? void 0 : I.kts) >= 47 && ((k = (P = q.properties) == null ? void 0 : P.wind) == null ? void 0 : k.kts) < 63 ? re = "#ff9100" : ((C = (v = q.properties) == null ? void 0 : v.wind) == null ? void 0 : C.kts) >= 63 && ((A = (_ = q.properties) == null ? void 0 : _.wind) == null ? void 0 : A.kts) < 79 ? re = "#f44336" : ((V = (N = q.properties) == null ? void 0 : N.wind) == null ? void 0 : V.kts) >= 79 && ((Z = (Y = q.properties) == null ? void 0 : Y.wind) == null ? void 0 : Z.kts) < 94 ? re = "#f903d0" : ((ee = (Q = q.properties) == null ? void 0 : Q.wind) == null ? void 0 : ee.kts) >= 94 ? re = "#8702f9" : re = "#f44336";
10345
+ const F = `<svg t="1719918955501"
10340
10346
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
10341
10347
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
10342
10348
  <path
10343
10349
  d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
10344
- fill="${ie}" p-id="18383"></path>
10345
- <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${ie}"
10350
+ fill="${re}" p-id="18383"></path>
10351
+ <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${re}"
10346
10352
  p-id="18384"></path>
10347
10353
  <path
10348
10354
  d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
@@ -10350,14 +10356,14 @@ const sc = {
10350
10356
  <path
10351
10357
  d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
10352
10358
  fill="#ffffff" p-id="18386"></path>
10353
- </svg>`, de = document.createElement("div");
10354
- de.className = "idm-tropical-gl4-hourly-marker", de.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${pe}</div>`;
10355
- const ue = new xe.Marker(de).setLngLat(K.geometry.coordinates).addTo(this.map);
10356
- this.interpolateMarkers.push(ue);
10359
+ </svg>`, se = document.createElement("div");
10360
+ se.className = "idm-tropical-gl4-hourly-marker", se.innerHTML = `<div class="${q.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${F}</div>`;
10361
+ const ye = new ke.Marker(se).setLngLat(q.geometry.coordinates).addTo(this.map);
10362
+ this.interpolateMarkers.push(ye);
10357
10363
  }
10358
- this.$emit("tropicalCenterPoints", me);
10364
+ this.$emit("tropicalCenterPoints", he);
10359
10365
  } else
10360
- (Z = this.map) != null && Z.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
10366
+ (J = this.map) != null && J.getSource(this.interpolateSource) && ((ne = this.map) == null || ne.getSource(this.interpolateSource).setData(this.empty));
10361
10367
  },
10362
10368
  handleClick(t) {
10363
10369
  var a, r, l, c, n, g, h, b, w, L;
@@ -10380,7 +10386,7 @@ const sc = {
10380
10386
  showCircle: (L = (w = o[0]) == null ? void 0 : w.properties) == null ? void 0 : L.showCircle
10381
10387
  }, this.showTropicalsInfo = !0, this.$nextTick(() => {
10382
10388
  const p = document.getElementById("idm-tropical-gl4-info");
10383
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new xe.Marker(p).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10389
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ke.Marker(p).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10384
10390
  });
10385
10391
  },
10386
10392
  handleCloseInfoMarker() {
@@ -10480,7 +10486,7 @@ const sc = {
10480
10486
  );
10481
10487
  this.hoverPoint && (this.hoverPoint.lng = o.geometry.coordinates[0], this.hoverPoint.lat = o.geometry.coordinates[1], this.hoverPoint.update = (c = (l = i == null ? void 0 : i[0]) == null ? void 0 : l.properties) == null ? void 0 : c.date, (n = this.hoverMarker) == null || n.remove(), this.showHoverPoint = !0, this.$nextTick(() => {
10482
10488
  const g = document.getElementById("tropicalHoverMarkerInfo").cloneNode(!0);
10483
- this.hoverMarker = new xe.Marker(g).setLngLat(o.geometry.coordinates).setOffset([160, 0]).addTo(this.map);
10489
+ this.hoverMarker = new ke.Marker(g).setLngLat(o.geometry.coordinates).setOffset([160, 0]).addTo(this.map);
10484
10490
  }));
10485
10491
  },
10486
10492
  handleLeave() {
@@ -10620,7 +10626,7 @@ function tm(t, e, o, i, a, r) {
10620
10626
  s("div", zc, [
10621
10627
  s("label", Lc, m(t.$t("weather.forecastModels")) + " : ", 1),
10622
10628
  s("div", Pc, [
10623
- (y(!0), M(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
10629
+ (y(!0), M(xe, null, _e((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
10624
10630
  key: A,
10625
10631
  density: "compact",
10626
10632
  variant: _.disabled ? "text" : "flat",
@@ -10630,7 +10636,7 @@ function tm(t, e, o, i, a, r) {
10630
10636
  onClick: je((N) => r.handleForecastToggle(_), ["stop"])
10631
10637
  }, {
10632
10638
  default: f(() => [
10633
- J(m(_.model), 1)
10639
+ K(m(_.model), 1)
10634
10640
  ]),
10635
10641
  _: 2
10636
10642
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -10655,7 +10661,7 @@ function tm(t, e, o, i, a, r) {
10655
10661
  s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
10656
10662
  ])),
10657
10663
  default: f(() => [
10658
- J(" " + m(t.$t("weather.legend")), 1)
10664
+ K(" " + m(t.$t("weather.legend")), 1)
10659
10665
  ]),
10660
10666
  _: 1
10661
10667
  }, 8, ["color"]),
@@ -10668,7 +10674,7 @@ function tm(t, e, o, i, a, r) {
10668
10674
  onClick: e[1] || (e[1] = je((p) => r.handleNotification(a.activeTropicals), ["stop"]))
10669
10675
  }, {
10670
10676
  default: f(() => [
10671
- J(m(t.$t("actions.notify")), 1)
10677
+ K(m(t.$t("actions.notify")), 1)
10672
10678
  ]),
10673
10679
  _: 1
10674
10680
  })) : D("", !0),
@@ -10680,7 +10686,7 @@ function tm(t, e, o, i, a, r) {
10680
10686
  onClick: e[2] || (e[2] = je((p) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
10681
10687
  }, {
10682
10688
  default: f(() => [
10683
- J(m(t.$t("actions.viewReport")), 1)
10689
+ K(m(t.$t("actions.viewReport")), 1)
10684
10690
  ]),
10685
10691
  _: 1
10686
10692
  })
@@ -10775,7 +10781,7 @@ function tm(t, e, o, i, a, r) {
10775
10781
  u(L),
10776
10782
  u(n, { class: "text-body-1" }, {
10777
10783
  default: f(() => {
10778
- var p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le;
10784
+ var p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie;
10779
10785
  return [
10780
10786
  s("div", Rc, [
10781
10787
  ((p = a.hoverPoint) == null ? void 0 : p.type) === "forecast" ? (y(), M("div", Oc, [
@@ -10808,11 +10814,11 @@ function tm(t, e, o, i, a, r) {
10808
10814
  ]),
10809
10815
  ((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (y(), M("div", Xc, [
10810
10816
  s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10811
- s("span", null, m(((Q = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
10817
+ s("span", null, m(((ee = JSON.parse((Q = a.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : ee.kts) ?? "-") + " kts", 1)
10812
10818
  ])) : D("", !0),
10813
- (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), M("div", Kc, [
10819
+ ((J = a.hoverPoint) == null ? void 0 : J.type) === "history" ? (y(), M("div", Kc, [
10814
10820
  s("label", Jc, m(t.$t("tropical.moveDir")) + " : ", 1),
10815
- s("span", null, m(((le = JSON.parse((ce = a.hoverPoint) == null ? void 0 : ce.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
10821
+ s("span", null, m(((ie = JSON.parse((ne = a.hoverPoint) == null ? void 0 : ne.movement)) == null ? void 0 : ie.deg) ?? "-") + " °", 1)
10816
10822
  ])) : D("", !0),
10817
10823
  s("div", Qc, [
10818
10824
  s("label", em, m(t.$t("tropical.position")) + " : ", 1),
@@ -10830,7 +10836,7 @@ function tm(t, e, o, i, a, r) {
10830
10836
  ])
10831
10837
  ]);
10832
10838
  }
10833
- const Xa = /* @__PURE__ */ q(sc, [["render", tm]]);
10839
+ const Xa = /* @__PURE__ */ X(sc, [["render", tm]]);
10834
10840
  const om = {
10835
10841
  name: "DateTimePicker",
10836
10842
  props: {
@@ -11031,7 +11037,7 @@ function lm(t, e, o, i, a, r) {
11031
11037
  onClick: r.handleOpenDatePicker
11032
11038
  }, {
11033
11039
  default: f(() => [
11034
- J(m(a.currentDateTime) + " | UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
11040
+ K(m(a.currentDateTime) + " | UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
11035
11041
  ]),
11036
11042
  _: 1
11037
11043
  }, 8, ["height", "width", "onClick"]),
@@ -11066,7 +11072,7 @@ function lm(t, e, o, i, a, r) {
11066
11072
  s("div", sm, m(a.currentTime), 1),
11067
11073
  u(b, { class: "pa-0 flex-1-1-0 scroll" }, {
11068
11074
  default: f(() => [
11069
- (y(!0), M(be, null, we(r.hourOptions, (z, T) => (y(), R(h, {
11075
+ (y(!0), M(xe, null, _e(r.hourOptions, (z, T) => (y(), R(h, {
11070
11076
  key: T,
11071
11077
  value: z,
11072
11078
  color: "primary",
@@ -11081,7 +11087,7 @@ function lm(t, e, o, i, a, r) {
11081
11087
  onClick: (O) => a.currentTime = z
11082
11088
  }, {
11083
11089
  default: f(() => [
11084
- J(m(z), 1)
11090
+ K(m(z), 1)
11085
11091
  ]),
11086
11092
  _: 2
11087
11093
  }, 1032, ["onClick"])
@@ -11108,7 +11114,7 @@ function lm(t, e, o, i, a, r) {
11108
11114
  onClick: r.handleCancelDate
11109
11115
  }, {
11110
11116
  default: f(() => e[1] || (e[1] = [
11111
- J("Cancel", -1)
11117
+ K("Cancel", -1)
11112
11118
  ])),
11113
11119
  _: 1,
11114
11120
  __: [1]
@@ -11121,7 +11127,7 @@ function lm(t, e, o, i, a, r) {
11121
11127
  onClick: r.handleConfirmDate
11122
11128
  }, {
11123
11129
  default: f(() => e[2] || (e[2] = [
11124
- J("Confirm", -1)
11130
+ K("Confirm", -1)
11125
11131
  ])),
11126
11132
  _: 1,
11127
11133
  __: [2]
@@ -11134,7 +11140,7 @@ function lm(t, e, o, i, a, r) {
11134
11140
  }, 8, ["style"])) : D("", !0)
11135
11141
  ], 512);
11136
11142
  }
11137
- const Ao = /* @__PURE__ */ q(om, [["render", lm]]);
11143
+ const Ao = /* @__PURE__ */ X(om, [["render", lm]]);
11138
11144
  const nm = {
11139
11145
  name: "IdmPoint",
11140
11146
  components: {
@@ -11252,12 +11258,12 @@ const nm = {
11252
11258
  },
11253
11259
  computePosition() {
11254
11260
  return function(t) {
11255
- return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : X.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + X.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
11261
+ return !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat) ? "-" : $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty + " / " + $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty;
11256
11262
  };
11257
11263
  },
11258
11264
  computeRoundPrecision() {
11259
11265
  return function(t, e = 4) {
11260
- return t == null || isNaN(t) || isNaN(e) ? "-" : X.roundPrecision(t, e);
11266
+ return t == null || isNaN(t) || isNaN(e) ? "-" : $.roundPrecision(t, e);
11261
11267
  };
11262
11268
  }
11263
11269
  },
@@ -11349,7 +11355,7 @@ const nm = {
11349
11355
  weatherModels: e,
11350
11356
  marineModels: o
11351
11357
  };
11352
- await Se.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
11358
+ await Me.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
11353
11359
  headers: {
11354
11360
  Authorization: this.token || this.defaultMeteoToken
11355
11361
  }
@@ -11369,7 +11375,7 @@ const nm = {
11369
11375
  pastDays: 1,
11370
11376
  weatherModels: e,
11371
11377
  marineModels: o
11372
- }, a = await Se.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
11378
+ }, a = await Me.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
11373
11379
  headers: {
11374
11380
  Authorization: this.token || this.defaultMeteoToken
11375
11381
  }
@@ -11377,10 +11383,10 @@ const nm = {
11377
11383
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
11378
11384
  },
11379
11385
  initTableData(t) {
11380
- var o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le, me, K, ie, pe, de, ue, F, se, ve;
11386
+ var o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie, me, ue, de, he, q, re, F, se, ye;
11381
11387
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
11382
11388
  const e = ((l = Co.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11383
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((p = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : p.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ce = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ce.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((me = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : me.height, 1) ?? "-", this.currentHourData.swellDir = (ie = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.swell) == null ? void 0 : ie.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((de = (pe = e == null ? void 0 : e.wave) == null ? void 0 : pe.swell) == null ? void 0 : de.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ue = e == null ? void 0 : e.current) == null ? void 0 : ue.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((se = e == null ? void 0 : e.current) == null ? void 0 : se.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ve = e == null ? void 0 : e.weather) == null ? void 0 : ve.url;
11389
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((p = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : p.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((me = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.height, 1) ?? "-", this.currentHourData.swellDir = (de = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : de.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((re = e == null ? void 0 : e.current) == null ? void 0 : re.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((se = e == null ? void 0 : e.current) == null ? void 0 : se.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.url;
11384
11390
  },
11385
11391
  handleBind() {
11386
11392
  var t, e;
@@ -11396,7 +11402,7 @@ const nm = {
11396
11402
  return !1;
11397
11403
  },
11398
11404
  handleGetPosition(t) {
11399
- this.form.latDegree = Number(X.lat2pretty(t.lat).degree), this.form.latMinute = Number(X.lat2pretty(t.lat).minute), this.form.latDirection = X.lat2pretty(t.lat).direction, this.form.lngDegree = Number(X.lng2pretty(t.lng).degree), this.form.lngMinute = Number(X.lng2pretty(t.lng).minute), this.form.lngDirection = X.lng2pretty(t.lng).direction;
11405
+ this.form.latDegree = Number($.lat2pretty(t.lat).degree), this.form.latMinute = Number($.lat2pretty(t.lat).minute), this.form.latDirection = $.lat2pretty(t.lat).direction, this.form.lngDegree = Number($.lng2pretty(t.lng).degree), this.form.lngMinute = Number($.lng2pretty(t.lng).minute), this.form.lngDirection = $.lng2pretty(t.lng).direction;
11400
11406
  },
11401
11407
  handleDrawInfoMarker(t) {
11402
11408
  t && (this.map.flyTo({
@@ -11406,9 +11412,9 @@ const nm = {
11406
11412
  var i, a, r;
11407
11413
  (i = this.positionMarker) == null || i.remove();
11408
11414
  const e = (a = document.getElementById("idm-position-icon")) == null ? void 0 : a.cloneNode(!0);
11409
- this.positionMarker = new xe.Marker(e).setLngLat(t).setOffset([0, -15]).addTo(this.map);
11415
+ this.positionMarker = new ke.Marker(e).setLngLat(t).setOffset([0, -15]).addTo(this.map);
11410
11416
  const o = document.getElementById("idm-gl4-spot-meteo");
11411
- this.meteoInfoMarker ? (r = this.meteoInfoMarker) == null || r.setLngLat(t) : this.meteoInfoMarker = new xe.Marker(o).setLngLat(t).setOffset([0, -190]).addTo(this.map);
11417
+ this.meteoInfoMarker ? (r = this.meteoInfoMarker) == null || r.setLngLat(t) : this.meteoInfoMarker = new ke.Marker(o).setLngLat(t).setOffset([0, -190]).addTo(this.map);
11412
11418
  }));
11413
11419
  },
11414
11420
  handleMeteoMore() {
@@ -11621,7 +11627,7 @@ function Xm(t, e, o, i, a, r) {
11621
11627
  onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
11622
11628
  }, {
11623
11629
  default: f(() => [
11624
- J(m(a.form.lngDirection), 1)
11630
+ K(m(a.form.lngDirection), 1)
11625
11631
  ]),
11626
11632
  _: 1
11627
11633
  })
@@ -11701,7 +11707,7 @@ function Xm(t, e, o, i, a, r) {
11701
11707
  onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
11702
11708
  }, {
11703
11709
  default: f(() => [
11704
- J(m(a.form.latDirection), 1)
11710
+ K(m(a.form.latDirection), 1)
11705
11711
  ]),
11706
11712
  _: 1
11707
11713
  })
@@ -11772,7 +11778,7 @@ function Xm(t, e, o, i, a, r) {
11772
11778
  "base-color": ""
11773
11779
  }, {
11774
11780
  default: f(() => e[14] || (e[14] = [
11775
- J("NOAA", -1)
11781
+ K("NOAA", -1)
11776
11782
  ])),
11777
11783
  _: 1,
11778
11784
  __: [14]
@@ -11786,7 +11792,7 @@ function Xm(t, e, o, i, a, r) {
11786
11792
  value: "ECMWF"
11787
11793
  }, {
11788
11794
  default: f(() => e[15] || (e[15] = [
11789
- J("ECMWF", -1)
11795
+ K("ECMWF", -1)
11790
11796
  ])),
11791
11797
  _: 1,
11792
11798
  __: [15]
@@ -11813,7 +11819,7 @@ function Xm(t, e, o, i, a, r) {
11813
11819
  onClick: r.cancelForm
11814
11820
  }, {
11815
11821
  default: f(() => [
11816
- J(m(t.$t("actions.clear")), 1)
11822
+ K(m(t.$t("actions.clear")), 1)
11817
11823
  ]),
11818
11824
  _: 1
11819
11825
  }, 8, ["onClick"]),
@@ -11827,7 +11833,7 @@ function Xm(t, e, o, i, a, r) {
11827
11833
  class: "text-none text-body-1"
11828
11834
  }, {
11829
11835
  default: f(() => [
11830
- J(m(t.$t("actions.confirm")), 1)
11836
+ K(m(t.$t("actions.confirm")), 1)
11831
11837
  ]),
11832
11838
  _: 1
11833
11839
  }, 8, ["loading"])
@@ -11933,7 +11939,7 @@ function Xm(t, e, o, i, a, r) {
11933
11939
  })
11934
11940
  ]),
11935
11941
  default: f(() => [
11936
- J(" " + m(t.$t("actions.unfollow")), 1)
11942
+ K(" " + m(t.$t("actions.unfollow")), 1)
11937
11943
  ]),
11938
11944
  _: 1
11939
11945
  }, 8, ["onClick"])) : (y(), R(l, {
@@ -11950,7 +11956,7 @@ function Xm(t, e, o, i, a, r) {
11950
11956
  u(P, { style: { "font-size": "20px", "margin-top": "-2px" } })
11951
11957
  ]),
11952
11958
  default: f(() => [
11953
- J(m(t.$t("actions.follow")) + " ", 1)
11959
+ K(m(t.$t("actions.follow")) + " ", 1)
11954
11960
  ]),
11955
11961
  _: 1
11956
11962
  }, 8, ["onClick"])),
@@ -11963,7 +11969,7 @@ function Xm(t, e, o, i, a, r) {
11963
11969
  onClick: je(r.handleMeteoMore, ["stop"])
11964
11970
  }, {
11965
11971
  default: f(() => [
11966
- J(m(t.$t("spot.forecast")), 1)
11972
+ K(m(t.$t("spot.forecast")), 1)
11967
11973
  ]),
11968
11974
  _: 1
11969
11975
  }, 8, ["onClick"])
@@ -11984,7 +11990,7 @@ function Xm(t, e, o, i, a, r) {
11984
11990
  ])
11985
11991
  ]);
11986
11992
  }
11987
- const $m = /* @__PURE__ */ q(nm, [["render", Xm]]);
11993
+ const $m = /* @__PURE__ */ X(nm, [["render", Xm]]);
11988
11994
  const Km = {
11989
11995
  name: "IdmMeasure",
11990
11996
  props: {
@@ -12001,7 +12007,7 @@ const Km = {
12001
12007
  }
12002
12008
  },
12003
12009
  setup() {
12004
- return { Theme: Le() };
12010
+ return { Theme: Ce() };
12005
12011
  },
12006
12012
  data() {
12007
12013
  return {
@@ -12120,7 +12126,7 @@ const Km = {
12120
12126
  const c = this.geojson.filter((n) => n.id === e.split("-")[0])[0].features.filter((n) => n.geometry.type === "Point");
12121
12127
  if (c.length > 2 && c.filter((g) => g.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
12122
12128
  const g = document.createElement("div");
12123
- g.className = "idm-gl4-measure-contextmenu-marker", g.innerHTML = `<span id="del-${e}" class="del-point">${$t("actions.detele")}</span>`, this.contextmenu = new xe.Marker(g).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
12129
+ g.className = "idm-gl4-measure-contextmenu-marker", g.innerHTML = `<span id="del-${e}" class="del-point">${$t("actions.detele")}</span>`, this.contextmenu = new ke.Marker(g).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
12124
12130
  }
12125
12131
  }
12126
12132
  },
@@ -12158,13 +12164,13 @@ const Km = {
12158
12164
  const i = [];
12159
12165
  for (let a = 1; a < e.length; a++) {
12160
12166
  const r = e[a - 1], l = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, h = We.calculateDistance(n, g, c.mode === "RL", 4), b = We.calculateBearing(n, g, c.mode === "RL", 2);
12161
- o = X.roundPrecision(o + h, 4);
12167
+ o = $.roundPrecision(o + h, 4);
12162
12168
  let w;
12163
- c.mode === "RL" ? w = X.convertToMonotonicLng([n, g]) : w = X.convertToMonotonicLng(We.interpolateCoordinates(n, g, 200));
12169
+ c.mode === "RL" ? w = $.convertToMonotonicLng([n, g]) : w = $.convertToMonotonicLng(We.interpolateCoordinates(n, g, 200));
12164
12170
  const L = H.lineString(w.map((z) => [z.lng, z.lat]));
12165
12171
  L.properties.dist = h, L.properties.bearing = b, L.properties.total = o, L.properties.name = "Line " + this.currentLineIndex, i.push(L);
12166
12172
  const p = e[a];
12167
- p.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), p.properties.sumLabel = p.properties.totalDist + " nm";
12173
+ p.properties.totalDist = $.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), p.properties.sumLabel = p.properties.totalDist + " nm";
12168
12174
  }
12169
12175
  e.push(...i), t.total = o;
12170
12176
  }
@@ -12177,7 +12183,7 @@ const Km = {
12177
12183
  const n = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, h = { lng: o.lng, lat: o.lat };
12178
12184
  r = We.calculateDistance(g, h, n.mode === "RL", 4), l = We.calculateBearing(g, h, n.mode === "RL", 2);
12179
12185
  let b;
12180
- n.mode === "RL" ? b = X.convertToMonotonicLng([g, h]) : b = X.convertToMonotonicLng(We.interpolateCoordinates(g, h, 200));
12186
+ n.mode === "RL" ? b = $.convertToMonotonicLng([g, h]) : b = $.convertToMonotonicLng(We.interpolateCoordinates(g, h, 200));
12181
12187
  const w = H.lineString(b.map((L) => [L.lng, L.lat]));
12182
12188
  w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
12183
12189
  }
@@ -12185,7 +12191,7 @@ const Km = {
12185
12191
  const n = o.properties, g = o, h = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
12186
12192
  r = We.calculateDistance(g, h, n.mode === "RL", 4), l = We.calculateBearing(g, h, n.mode === "RL", 2);
12187
12193
  let b;
12188
- n.mode === "RL" ? b = X.convertToMonotonicLng([g, h]) : b = X.convertToMonotonicLng(We.interpolateCoordinates(g, h, 200));
12194
+ n.mode === "RL" ? b = $.convertToMonotonicLng([g, h]) : b = $.convertToMonotonicLng(We.interpolateCoordinates(g, h, 200));
12189
12195
  const w = H.lineString(b.map((L) => [L.lng, L.lat]));
12190
12196
  w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
12191
12197
  }
@@ -12231,7 +12237,7 @@ const Km = {
12231
12237
  if (i)
12232
12238
  c = `<div class="marker-label">${this.$t("measure.dragTips")}</div>`;
12233
12239
  else {
12234
- const n = X.roundPrecision((t.total ?? 0) + r, 1);
12240
+ const n = $.roundPrecision((t.total ?? 0) + r, 1);
12235
12241
  c = `<div class="marker-label">${this.$t("measure.totalDistance")}: <b>${n}</b>nm, ${this.$t(
12236
12242
  "measure.bearing"
12237
12243
  )}: <b>${l}</b>°</div><div class="marker-label"> ${this.$t("measure.mode")}${this.navigation === "RL" ? "RL" : "GC"}, ${this.$t(
@@ -12242,7 +12248,7 @@ const Km = {
12242
12248
  this.tipMarker._element.innerHTML = c, this.tipMarker.setLngLat([o.lng, o.lat]);
12243
12249
  else {
12244
12250
  const n = document.createElement("div");
12245
- n.className = "idm-gl4-measure-tip-marker", n.innerHTML = c, this.tipMarker = new xe.Marker(n).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
12251
+ n.className = "idm-gl4-measure-tip-marker", n.innerHTML = c, this.tipMarker = new ke.Marker(n).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
12246
12252
  }
12247
12253
  },
12248
12254
  handleMove(t) {
@@ -12318,12 +12324,12 @@ const Km = {
12318
12324
  for (const c of l) {
12319
12325
  const n = document.createElement("div");
12320
12326
  n.id = `${t.id}-${c.properties.id}`, n.className = `${t.closed ? "idm-gl4-measure-marker closed" : "idm-gl4-measure-marker"}`, n.innerHTML = '<div class="marker-circle"></div>';
12321
- const g = new xe.Marker({ element: n, draggable: !0, contextmenu: !0 }).setLngLat(c.geometry.coordinates).addTo(this.map);
12327
+ const g = new ke.Marker({ element: n, draggable: !0, contextmenu: !0 }).setLngLat(c.geometry.coordinates).addTo(this.map);
12322
12328
  g.on("drag", this.handleDrag), g.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(g) : this.pointMarkers[t.id] = [g];
12323
12329
  }
12324
12330
  if (t.closed) {
12325
12331
  const c = l.at(-1), g = t.features.filter((b) => b.geometry.type === "LineString").at(-1), h = document.createElement("div");
12326
- h.className = "idm-gl4-measure-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new xe.Marker(h).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
12332
+ h.className = "idm-gl4-measure-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new ke.Marker(h).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
12327
12333
  }
12328
12334
  }
12329
12335
  },
@@ -12367,7 +12373,7 @@ function Qm(t, e, o, i, a, r) {
12367
12373
  ], 4)
12368
12374
  ]);
12369
12375
  }
12370
- const ed = /* @__PURE__ */ q(Km, [["render", Qm]]);
12376
+ const ed = /* @__PURE__ */ X(Km, [["render", Qm]]);
12371
12377
  const td = {
12372
12378
  name: "IdmBottomBar",
12373
12379
  components: { DateTimePicker: Ao },
@@ -12524,12 +12530,12 @@ function dd(t, e, o, i, a, r) {
12524
12530
  "min-width": "30"
12525
12531
  }, {
12526
12532
  default: f(() => [
12527
- J(m(a.intervalHour) + " h ", 1),
12533
+ K(m(a.intervalHour) + " h ", 1),
12528
12534
  u(h, { activator: "parent" }, {
12529
12535
  default: f(() => [
12530
12536
  u(g, { class: "pa-1" }, {
12531
12537
  default: f(() => [
12532
- (y(!0), M(be, null, we(a.intervalOptions, (p, z) => (y(), R(n, {
12538
+ (y(!0), M(xe, null, _e(a.intervalOptions, (p, z) => (y(), R(n, {
12533
12539
  key: z,
12534
12540
  value: p,
12535
12541
  variant: a.intervalHour === p ? "tonal" : "text",
@@ -12546,7 +12552,7 @@ function dd(t, e, o, i, a, r) {
12546
12552
  onClick: (T) => a.intervalHour = p
12547
12553
  }, {
12548
12554
  default: f(() => [
12549
- J(m(p) + "h", 1)
12555
+ K(m(p) + "h", 1)
12550
12556
  ]),
12551
12557
  _: 2
12552
12558
  }, 1032, ["onClick"])
@@ -12754,7 +12760,7 @@ function dd(t, e, o, i, a, r) {
12754
12760
  onClick: e[7] || (e[7] = (p) => a.source = "GFS")
12755
12761
  }, {
12756
12762
  default: f(() => e[16] || (e[16] = [
12757
- J("NOAA", -1)
12763
+ K("NOAA", -1)
12758
12764
  ])),
12759
12765
  _: 1,
12760
12766
  __: [16]
@@ -12767,7 +12773,7 @@ function dd(t, e, o, i, a, r) {
12767
12773
  onClick: e[8] || (e[8] = (p) => a.source = "ECMWF")
12768
12774
  }, {
12769
12775
  default: f(() => e[17] || (e[17] = [
12770
- J("ECMWF", -1)
12776
+ K("ECMWF", -1)
12771
12777
  ])),
12772
12778
  _: 1,
12773
12779
  __: [17]
@@ -12779,7 +12785,7 @@ function dd(t, e, o, i, a, r) {
12779
12785
  style: ae({ right: a.right + "px" })
12780
12786
  }, [
12781
12787
  a.showTimezone ? (y(), M("div", ld, [
12782
- (y(!0), M(be, null, we(a.offsets, (p) => (y(), M("div", {
12788
+ (y(!0), M(xe, null, _e(a.offsets, (p) => (y(), M("div", {
12783
12789
  key: p,
12784
12790
  class: "item rounded text-body-2 hover-active",
12785
12791
  onClick: (z) => a.timeZone = p
@@ -12795,7 +12801,7 @@ function dd(t, e, o, i, a, r) {
12795
12801
  onClick: e[9] || (e[9] = (p) => a.showTimezone = !a.showTimezone)
12796
12802
  }, {
12797
12803
  default: f(() => [
12798
- J(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12804
+ K(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12799
12805
  ]),
12800
12806
  _: 1
12801
12807
  }),
@@ -12804,7 +12810,7 @@ function dd(t, e, o, i, a, r) {
12804
12810
  ], 4)
12805
12811
  ]);
12806
12812
  }
12807
- const hd = /* @__PURE__ */ q(td, [["render", dd]]), pd = {
12813
+ const hd = /* @__PURE__ */ X(td, [["render", dd]]), pd = {
12808
12814
  name: "IdmGL4",
12809
12815
  components: {
12810
12816
  IdmOtherLayer: pl,
@@ -12935,16 +12941,16 @@ function gd(t, e, o, i, a, r) {
12935
12941
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
12936
12942
  ], 512);
12937
12943
  }
12938
- const fd = /* @__PURE__ */ q(pd, [["render", gd]]);
12944
+ const fd = /* @__PURE__ */ X(pd, [["render", gd]]);
12939
12945
  class yd {
12940
12946
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
12941
- he(this, "originStyle");
12942
- he(this, "mapboxStyle");
12943
- he(this, "i4");
12944
- he(this, "hi");
12945
- he(this, "td");
12946
- he(this, "windy");
12947
- var o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, ee, Q, $, ce, le, me, K, ie, pe, de, ue, F, se, ve, Pe, Ce, De, Ae, Re, ke, G, te, Fe, Me, ge, Te, U, fe, oe, re, Oe, He, Ge, E, ye, Ie, Be, Ee, j, Ue, W, qe, Xe, $e, _e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Uo, Wo, Vo, Zo, Yo, qo, Xo, $o, Ko, Jo, Qo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Ua, Wa, Va;
12947
+ pe(this, "originStyle");
12948
+ pe(this, "mapboxStyle");
12949
+ pe(this, "i4");
12950
+ pe(this, "hi");
12951
+ pe(this, "td");
12952
+ pe(this, "windy");
12953
+ var o, i, a, r, l, c, n, g, h, b, w, L, p, z, T, O, I, P, k, v, C, _, A, N, V, Y, Z, Q, ee, J, ne, ie, me, ue, de, he, q, re, F, se, ye, ve, be, Te, Ae, Re, Le, G, te, Fe, Ie, ge, Se, U, fe, oe, le, Oe, He, Ge, E, we, De, Be, Ee, j, Ue, W, qe, Xe, $e, ze, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Uo, Wo, Vo, Zo, Yo, qo, Xo, $o, Ko, Jo, Qo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Ua, Wa, Va;
12948
12954
  this.i4 = {
12949
12955
  source: {
12950
12956
  type: "raster",
@@ -31598,27 +31604,27 @@ class yd {
31598
31604
  (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((d) => d.id === "water-outline2"),
31599
31605
  (N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
31600
31606
  (Y = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Y.find((d) => d.id === "water-line-label"),
31601
- (ee = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
31602
- ($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
31603
- (le = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : le.find((d) => d.id === "ne-10m-outline"),
31604
- (K = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : K.find((d) => d.id === "ne-10m-label"),
31605
- (pe = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : pe.find((d) => d.id === "china-route-line"),
31606
- (ue = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : ue.find((d) => d.id === "china-route-fill"),
31607
+ (Q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Q.find((d) => d.id === "water-point-label"),
31608
+ (J = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : J.find((d) => d.id === "world-12nm-v4-20231025"),
31609
+ (ie = (ne = this.originStyle) == null ? void 0 : ne.light.layers) == null ? void 0 : ie.find((d) => d.id === "ne-10m-outline"),
31610
+ (ue = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : ue.find((d) => d.id === "ne-10m-label"),
31611
+ (he = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : he.find((d) => d.id === "china-route-line"),
31612
+ (re = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : re.find((d) => d.id === "china-route-fill"),
31607
31613
  (se = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : se.find((d) => d.id === "china-route-label"),
31608
- (Pe = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Pe.find((d) => d.id === "admin-0-boundary-bg"),
31609
- (De = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : De.find((d) => d.id === "admin-0-boundary"),
31614
+ (ve = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : ve.find((d) => d.id === "admin-0-boundary-bg"),
31615
+ (Te = (be = this.originStyle) == null ? void 0 : be.light.layers) == null ? void 0 : Te.find((d) => d.id === "admin-0-boundary"),
31610
31616
  (Re = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : Re.find((d) => d.id === "admin-0-boundary-disputed"),
31611
- (G = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
31617
+ (G = (Le = this.originStyle) == null ? void 0 : Le.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
31612
31618
  (Fe = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : Fe.find((d) => d.id === "continent-label"),
31613
- (ge = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
31614
- (U = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
31619
+ (ge = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
31620
+ (U = (Se = this.originStyle) == null ? void 0 : Se.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
31615
31621
  (oe = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
31616
31622
  ]
31617
31623
  },
31618
31624
  dark: {
31619
31625
  version: 8,
31620
31626
  name: "dark",
31621
- metadata: (re = this.originStyle) == null ? void 0 : re.dark.metadata,
31627
+ metadata: (le = this.originStyle) == null ? void 0 : le.dark.metadata,
31622
31628
  center: [90.22129259388525, -3.2084663486364606],
31623
31629
  zoom: 1.2556266457717493,
31624
31630
  bearing: 0,
@@ -31637,12 +31643,12 @@ class yd {
31637
31643
  protected: !1,
31638
31644
  draft: !1,
31639
31645
  layers: [
31640
- (Ie = (ye = this.originStyle) == null ? void 0 : ye.dark.layers) == null ? void 0 : Ie.find((d) => d.id === "land"),
31646
+ (De = (we = this.originStyle) == null ? void 0 : we.dark.layers) == null ? void 0 : De.find((d) => d.id === "land"),
31641
31647
  (Ee = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : Ee.find((d) => d.id === "water"),
31642
31648
  (Ue = (j = this.originStyle) == null ? void 0 : j.dark.layers) == null ? void 0 : Ue.find((d) => d.id === "ice-area-fill"),
31643
31649
  (qe = (W = this.originStyle) == null ? void 0 : W.dark.layers) == null ? void 0 : qe.find((d) => d.id === "ice-area-line"),
31644
31650
  ($e = (Xe = this.originStyle) == null ? void 0 : Xe.dark.layers) == null ? void 0 : $e.find((d) => d.id === "loadlines-label"),
31645
- (Ke = (_e = this.originStyle) == null ? void 0 : _e.dark.layers) == null ? void 0 : Ke.find((d) => d.id === "loadlines-fill"),
31651
+ (Ke = (ze = this.originStyle) == null ? void 0 : ze.dark.layers) == null ? void 0 : Ke.find((d) => d.id === "loadlines-fill"),
31646
31652
  (Qe = (Je = this.originStyle) == null ? void 0 : Je.dark.layers) == null ? void 0 : Qe.find((d) => d.id === "empty-layer-0"),
31647
31653
  (tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((d) => d.id === "empty-layer-1"),
31648
31654
  (at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((d) => d.id === "country-boundaries"),
@@ -31862,8 +31868,8 @@ const bd = {
31862
31868
  },
31863
31869
  methods: {
31864
31870
  async initOnlineMap() {
31865
- this.helper = new yd(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31866
- const t = new xe.Map({
31871
+ this.helper = new yd(this.token), ke.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31872
+ const t = new ke.Map({
31867
31873
  container: "map",
31868
31874
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
31869
31875
  // style: 'mapbox://styles/neatchenheng/cmdqwez32005b01re2w0k3zk4', // dark
@@ -31890,7 +31896,7 @@ const bd = {
31890
31896
  },
31891
31897
  addScaleControl() {
31892
31898
  var e;
31893
- this.map.addControl(new xe.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
31899
+ this.map.addControl(new ke.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
31894
31900
  const t = (e = document.getElementsByClassName("mapboxgl-ctrl-scale")) == null ? void 0 : e[0];
31895
31901
  t && (t.className = "mapboxgl-ctrl-scale " + this.mapFeather);
31896
31902
  },
@@ -31954,7 +31960,7 @@ function kd(t, e, o, i, a, r) {
31954
31960
  ])
31955
31961
  ]);
31956
31962
  }
31957
- const zd = /* @__PURE__ */ q(bd, [["render", kd]]);
31963
+ const zd = /* @__PURE__ */ X(bd, [["render", kd]]);
31958
31964
  const Ld = {
31959
31965
  name: "DateRangePicker",
31960
31966
  props: {
@@ -32148,7 +32154,7 @@ function Td(t, e, o, i, a, r) {
32148
32154
  onClick: r.handleOpenDatePicker
32149
32155
  }, {
32150
32156
  default: f(() => [
32151
- J(m(a.dateRangeStr), 1)
32157
+ K(m(a.dateRangeStr), 1)
32152
32158
  ]),
32153
32159
  _: 1
32154
32160
  }, 8, ["height", "width", "onClick"]),
@@ -32192,7 +32198,7 @@ function Td(t, e, o, i, a, r) {
32192
32198
  onClick: r.handleCancelDate
32193
32199
  }, {
32194
32200
  default: f(() => e[1] || (e[1] = [
32195
- J("Cancel", -1)
32201
+ K("Cancel", -1)
32196
32202
  ])),
32197
32203
  _: 1,
32198
32204
  __: [1]
@@ -32205,7 +32211,7 @@ function Td(t, e, o, i, a, r) {
32205
32211
  onClick: r.handleConfirmDate
32206
32212
  }, {
32207
32213
  default: f(() => e[2] || (e[2] = [
32208
- J("Confirm", -1)
32214
+ K("Confirm", -1)
32209
32215
  ])),
32210
32216
  _: 1,
32211
32217
  __: [2]
@@ -32218,7 +32224,7 @@ function Td(t, e, o, i, a, r) {
32218
32224
  }, 8, ["style"])) : D("", !0)
32219
32225
  ], 512);
32220
32226
  }
32221
- const Sd = /* @__PURE__ */ q(Ld, [["render", Td]]), Hd = {
32227
+ const Sd = /* @__PURE__ */ X(Ld, [["render", Td]]), Hd = {
32222
32228
  install(t) {
32223
32229
  t.component("MapInitial", zd), t.component("MapboxGL", fd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Ao), t.component("DateRangePicker", Sd), t.component("PortDetail", Io);
32224
32230
  }
@@ -32230,10 +32236,10 @@ export {
32230
32236
  zd as MapInitial,
32231
32237
  fd as MapboxGL,
32232
32238
  Hd as MapboxGLPlugin,
32233
- ze as ParticleSchema,
32239
+ Pe as ParticleSchema,
32234
32240
  Io as PortDetail,
32235
32241
  Xa as TropicalGL,
32236
32242
  Do as Viewport,
32237
32243
  Ne as WebGL,
32238
- ne as WebGLSchema
32244
+ ce as WebGLSchema
32239
32245
  };