@idmwx/idmui-gl4 1.7.6 → 1.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,9 +3,9 @@ var Ka = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var de = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as ze } from "vuetify";
6
- import { openBlock as y, createElementBlock as S, resolveComponent as x, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as Ue, vShow as We, mergeProps as B, normalizeStyle as ie } from "vue";
6
+ import { openBlock as y, createElementBlock as M, resolveComponent as x, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as Ue, vShow as We, mergeProps as B, normalizeStyle as ie } from "vue";
7
7
  import xe from "mapbox-gl";
8
- import M from "moment";
8
+ import S from "moment";
9
9
  import { LngLatHelper as X, TropicalHelper as Va, LaneHelper as Ge } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as Co, TidesAssist as Ya } from "@idm-plugin/meteo";
11
11
  import * as So from "echarts";
@@ -113,7 +113,7 @@ const Y = (t, e) => {
113
113
  }
114
114
  };
115
115
  function oi(t, e, o, i, a, r) {
116
- return y(), S("div");
116
+ return y(), M("div");
117
117
  }
118
118
  const ai = /* @__PURE__ */ Y(ti, [["render", oi]]), ii = {
119
119
  name: "IdmGmdssArea",
@@ -240,7 +240,7 @@ const ai = /* @__PURE__ */ Y(ti, [["render", oi]]), ii = {
240
240
  }
241
241
  };
242
242
  function ri(t, e, o, i, a, r) {
243
- return y(), S("div");
243
+ return y(), M("div");
244
244
  }
245
245
  const si = /* @__PURE__ */ Y(ii, [["render", ri]]), li = {
246
246
  name: "IdmEcaZone",
@@ -336,7 +336,7 @@ const si = /* @__PURE__ */ Y(ii, [["render", ri]]), li = {
336
336
  }
337
337
  };
338
338
  function ni(t, e, o, i, a, r) {
339
- return y(), S("div");
339
+ return y(), M("div");
340
340
  }
341
341
  const ci = /* @__PURE__ */ Y(li, [["render", ni]]);
342
342
  const mi = {
@@ -1370,13 +1370,13 @@ const ui = {
1370
1370
  let c = {
1371
1371
  index: l,
1372
1372
  dateTimeList: [],
1373
- label: M().utcOffset(e).add(l, "days").format("MM-DD ddd"),
1374
- startTime: M().utcOffset(e).add(l, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
1375
- dateTime: M().utcOffset(e).add(l, "days").format()
1373
+ label: S().utcOffset(e).add(l, "days").format("MM-DD ddd"),
1374
+ startTime: S().utcOffset(e).add(l, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
1375
+ dateTime: S().utcOffset(e).add(l, "days").format()
1376
1376
  };
1377
1377
  for (let n = 0; n < 4; n++)
1378
1378
  c.dateTimeList.push(
1379
- M(c.startTime).utcOffset(e).add(n * this.interval, "hours").utc().format()
1379
+ S(c.startTime).utcOffset(e).add(n * this.interval, "hours").utc().format()
1380
1380
  );
1381
1381
  t.push(c);
1382
1382
  }
@@ -1387,7 +1387,7 @@ const ui = {
1387
1387
  if (!t || !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
1388
1388
  return "-";
1389
1389
  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;
1390
- return M(t).utcOffset(i).format(o);
1390
+ return S(t).utcOffset(i).format(o);
1391
1391
  };
1392
1392
  },
1393
1393
  computeTimeOffset() {
@@ -1489,7 +1489,7 @@ const ui = {
1489
1489
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1490
1490
  var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Le, Pe;
1491
1491
  let r = {};
1492
- const l = ((c = Co.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1492
+ const l = ((c = Co.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
1493
1493
  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((u = l == null ? void 0 : l.weather) == null ? void 0 : u.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((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.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((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.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 = (k = l == null ? void 0 : l.wave) == null ? void 0 : k.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((W = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : W.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((J = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((Q = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : Q.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (ve = l == null ? void 0 : l.current) == null ? void 0 : ve.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.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 = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.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;
1494
1494
  });
1495
1495
  },
@@ -1769,7 +1769,7 @@ function yr(t, e, o, i, a, r) {
1769
1769
  s("div", xi, [
1770
1770
  s("div", vi, [
1771
1771
  s("div", _i, [
1772
- (y(), S("svg", ki, [
1772
+ (y(), M("svg", ki, [
1773
1773
  s("use", {
1774
1774
  "xlink:href": `#icon-title-${o.theme}`
1775
1775
  }, null, 8, zi)
@@ -1796,7 +1796,7 @@ function yr(t, e, o, i, a, r) {
1796
1796
  s("div", Oi, [
1797
1797
  s("div", Bi, [
1798
1798
  s("div", Ei, [
1799
- (y(), S("svg", ji, [
1799
+ (y(), M("svg", ji, [
1800
1800
  s("use", {
1801
1801
  "xlink:href": `#icon-title-${o.theme}`
1802
1802
  }, null, 8, Ni)
@@ -1817,7 +1817,7 @@ function yr(t, e, o, i, a, r) {
1817
1817
  rounded: "1"
1818
1818
  }, {
1819
1819
  default: f(() => [
1820
- (y(!0), S(be, null, we(r.dateList, (g) => (y(), R(l, {
1820
+ (y(!0), M(be, null, we(r.dateList, (g) => (y(), R(l, {
1821
1821
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1822
1822
  density: "compact",
1823
1823
  color: "primary",
@@ -1834,40 +1834,40 @@ function yr(t, e, o, i, a, r) {
1834
1834
  }, 8, ["modelValue"]),
1835
1835
  s("table", Hi, [
1836
1836
  s("tbody", null, [
1837
- (y(!0), S(be, null, we(a.tableData, (g) => (y(), S("tr", {
1837
+ (y(!0), M(be, null, we(a.tableData, (g) => (y(), M("tr", {
1838
1838
  key: g.id
1839
1839
  }, [
1840
1840
  s("th", Gi, [
1841
1841
  K(m(t.$t(`${g.key}`)) + " ", 1),
1842
- g.unit ? (y(), S("span", Ui, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1842
+ g.unit ? (y(), M("span", Ui, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1843
1843
  ]),
1844
1844
  s("td", Wi, [
1845
- g.img ? (y(), S("img", {
1845
+ g.img ? (y(), M("img", {
1846
1846
  key: 0,
1847
1847
  src: g == null ? void 0 : g.value0,
1848
1848
  style: { height: "30px" }
1849
- }, null, 8, Vi)) : (y(), S("span", Zi, m((g == null ? void 0 : g.value0) ?? "-"), 1))
1849
+ }, null, 8, Vi)) : (y(), M("span", Zi, m((g == null ? void 0 : g.value0) ?? "-"), 1))
1850
1850
  ]),
1851
1851
  s("td", Yi, [
1852
- g.img ? (y(), S("img", {
1852
+ g.img ? (y(), M("img", {
1853
1853
  key: 0,
1854
1854
  src: g == null ? void 0 : g.value1,
1855
1855
  style: { height: "30px" }
1856
- }, null, 8, qi)) : (y(), S("span", Xi, m((g == null ? void 0 : g.value1) ?? "-"), 1))
1856
+ }, null, 8, qi)) : (y(), M("span", Xi, m((g == null ? void 0 : g.value1) ?? "-"), 1))
1857
1857
  ]),
1858
1858
  s("td", $i, [
1859
- g.img ? (y(), S("img", {
1859
+ g.img ? (y(), M("img", {
1860
1860
  key: 0,
1861
1861
  src: g == null ? void 0 : g.value2,
1862
1862
  style: { height: "30px" }
1863
- }, null, 8, Ki)) : (y(), S("span", Ji, m((g == null ? void 0 : g.value2) ?? "-"), 1))
1863
+ }, null, 8, Ki)) : (y(), M("span", Ji, m((g == null ? void 0 : g.value2) ?? "-"), 1))
1864
1864
  ]),
1865
1865
  s("td", Qi, [
1866
- g.img ? (y(), S("img", {
1866
+ g.img ? (y(), M("img", {
1867
1867
  key: 0,
1868
1868
  src: g == null ? void 0 : g.value3,
1869
1869
  style: { height: "30px" }
1870
- }, null, 8, er)) : (y(), S("span", tr, m((g == null ? void 0 : g.value3) ?? "-"), 1))
1870
+ }, null, 8, er)) : (y(), M("span", tr, m((g == null ? void 0 : g.value3) ?? "-"), 1))
1871
1871
  ])
1872
1872
  ]))), 128))
1873
1873
  ])
@@ -1877,7 +1877,7 @@ function yr(t, e, o, i, a, r) {
1877
1877
  s("div", or, [
1878
1878
  s("div", ar, [
1879
1879
  s("div", ir, [
1880
- (y(), S("svg", rr, [
1880
+ (y(), M("svg", rr, [
1881
1881
  s("use", {
1882
1882
  "xlink:href": `#icon-title-${o.theme}`
1883
1883
  }, null, 8, sr)
@@ -1902,7 +1902,7 @@ function yr(t, e, o, i, a, r) {
1902
1902
  }, null, 8, ["onClick"]))
1903
1903
  ])
1904
1904
  ]),
1905
- a.showTideDetail ? (y(), S("div", nr, [
1905
+ a.showTideDetail ? (y(), M("div", nr, [
1906
1906
  s("div", cr, null, 512),
1907
1907
  s("table", mr, [
1908
1908
  s("tbody", null, [
@@ -1911,9 +1911,9 @@ function yr(t, e, o, i, a, r) {
1911
1911
  s("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
1912
1912
  s("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
1913
1913
  ]),
1914
- (y(!0), S(be, null, we(a.tideTableData, (g, P) => {
1914
+ (y(!0), M(be, null, we(a.tideTableData, (g, P) => {
1915
1915
  var T;
1916
- return y(), S("tr", { key: P }, [
1916
+ return y(), M("tr", { key: P }, [
1917
1917
  s("td", ur, m(t.$t(`tide.${(T = g == null ? void 0 : g.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1918
1918
  s("td", gr, m(r.computeLocalTime(g == null ? void 0 : g.date, o.port, "MM-DD HH:mm")), 1),
1919
1919
  s("td", fr, m((g == null ? void 0 : g.height) ?? "-") + " m", 1)
@@ -2039,7 +2039,7 @@ const br = {
2039
2039
  }, wr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, xr = { class: "d-flex justify-start align-center text-label" }, vr = { class: "d-flex justify-start align-center text-label" };
2040
2040
  function _r(t, e, o, i, a, r) {
2041
2041
  const l = x("VCardText"), c = x("VCard"), n = x("PortDetail");
2042
- return y(), S("div", null, [
2042
+ return y(), M("div", null, [
2043
2043
  Ue(p(c, {
2044
2044
  id: "idmPortInfo",
2045
2045
  ref: "idmPortInfo"
@@ -2117,7 +2117,7 @@ const kr = /* @__PURE__ */ Y(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3
2117
2117
  }
2118
2118
  };
2119
2119
  function Lr(t, e, o, i, a, r) {
2120
- return y(), S("div");
2120
+ return y(), M("div");
2121
2121
  }
2122
2122
  const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2123
2123
  name: "IdmTimezone",
@@ -2144,6 +2144,14 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2144
2144
  marker: null
2145
2145
  };
2146
2146
  },
2147
+ computed: {
2148
+ timeZoneName() {
2149
+ return (t) => {
2150
+ var o;
2151
+ return (o = S.tz.names().filter((i) => S.tz(S(), i).utcOffset() === t * 60)) == null ? void 0 : o[0];
2152
+ };
2153
+ }
2154
+ },
2147
2155
  watch: {
2148
2156
  zone: {
2149
2157
  handler() {
@@ -2305,7 +2313,8 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2305
2313
  return c.properties.offSet === t.features[0].properties.offSet ? (c.properties.opacity = 0.25, c.properties.lineOpacity = 0.7, c.properties.width = 2) : (c.properties.opacity = 0, c.properties.lineOpacity = 0.2, c.properties.width = 1), c;
2306
2314
  }), (i = this.map.getSource(this.source)) == null || i.setData(a);
2307
2315
  const r = document.createElement("div");
2308
- r.className = "v-card--variant-elevated rounded px-2 py-1 text-body-1", r.innerHTML = `<div>UTC ${t.features[0].properties.offSet}</div>`, this.marker = new xe.Marker(r).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
2316
+ 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>
2317
+ <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);
2309
2318
  }
2310
2319
  },
2311
2320
  handleLeave() {
@@ -2313,7 +2322,7 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2313
2322
  }
2314
2323
  };
2315
2324
  function Tr(t, e, o, i, a, r) {
2316
- return y(), S("div");
2325
+ return y(), M("div");
2317
2326
  }
2318
2327
  const Sr = /* @__PURE__ */ Y(Cr, [["render", Tr]]), Mr = {
2319
2328
  name: "IdmVoluntaryReportingArea",
@@ -2408,7 +2417,7 @@ const Sr = /* @__PURE__ */ Y(Cr, [["render", Tr]]), Mr = {
2408
2417
  }
2409
2418
  };
2410
2419
  function Ir(t, e, o, i, a, r) {
2411
- return y(), S("div");
2420
+ return y(), M("div");
2412
2421
  }
2413
2422
  const Dr = /* @__PURE__ */ Y(Mr, [["render", Ir]]), Ar = {
2414
2423
  name: "IdmSpecialArea",
@@ -2503,7 +2512,7 @@ const Dr = /* @__PURE__ */ Y(Mr, [["render", Ir]]), Ar = {
2503
2512
  }
2504
2513
  };
2505
2514
  function Rr(t, e, o, i, a, r) {
2506
- return y(), S("div");
2515
+ return y(), M("div");
2507
2516
  }
2508
2517
  const Or = /* @__PURE__ */ Y(Ar, [["render", Rr]]), Br = {
2509
2518
  name: "IdmTerminator",
@@ -2557,7 +2566,7 @@ const Or = /* @__PURE__ */ Y(Ar, [["render", Rr]]), Br = {
2557
2566
  }
2558
2567
  };
2559
2568
  function Er(t, e, o, i, a, r) {
2560
- return y(), S("div");
2569
+ return y(), M("div");
2561
2570
  }
2562
2571
  const jr = /* @__PURE__ */ Y(Br, [["render", Er]]), Nr = {
2563
2572
  name: "IdmWorld12nm",
@@ -2749,12 +2758,12 @@ const qr = {
2749
2758
  let c = {
2750
2759
  index: l,
2751
2760
  dateTimeList: [],
2752
- label: M().utcOffset(e).add(l, "days").format("MM-DD ddd"),
2753
- startTime: M().utcOffset(e).add(l, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
2754
- dateTime: M().utcOffset(e).add(l, "days").format()
2761
+ label: S().utcOffset(e).add(l, "days").format("MM-DD ddd"),
2762
+ startTime: S().utcOffset(e).add(l, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
2763
+ dateTime: S().utcOffset(e).add(l, "days").format()
2755
2764
  };
2756
2765
  for (let n = 0; n < 4; n++)
2757
- c.dateTimeList.push(M(c.startTime).utcOffset(e).add(n * 3, "hours").utc().format());
2766
+ c.dateTimeList.push(S(c.startTime).utcOffset(e).add(n * 3, "hours").utc().format());
2758
2767
  t.push(c);
2759
2768
  }
2760
2769
  return t;
@@ -2764,7 +2773,7 @@ const qr = {
2764
2773
  if (!t || !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
2765
2774
  return "-";
2766
2775
  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;
2767
- return M(t).utcOffset(i).format(o);
2776
+ return S(t).utcOffset(i).format(o);
2768
2777
  };
2769
2778
  },
2770
2779
  computeTimeOffset() {
@@ -2999,7 +3008,7 @@ function Ts(t, e, o, i, a, r) {
2999
3008
  s("div", Qr, [
3000
3009
  s("div", es, [
3001
3010
  s("div", ts, [
3002
- (y(), S("svg", os, [
3011
+ (y(), M("svg", os, [
3003
3012
  s("use", {
3004
3013
  "xlink:href": `#icon-title-${o.theme}`
3005
3014
  }, null, 8, as)
@@ -3026,7 +3035,7 @@ function Ts(t, e, o, i, a, r) {
3026
3035
  s("div", us, [
3027
3036
  s("div", gs, [
3028
3037
  s("div", fs, [
3029
- (y(), S("svg", ys, [
3038
+ (y(), M("svg", ys, [
3030
3039
  s("use", {
3031
3040
  "xlink:href": `#icon-title-${o.theme}`
3032
3041
  }, null, 8, bs)
@@ -3047,7 +3056,7 @@ function Ts(t, e, o, i, a, r) {
3047
3056
  rounded: "1"
3048
3057
  }, {
3049
3058
  default: f(() => [
3050
- (y(!0), S(be, null, we(r.dateList, (_) => (y(), R(l, {
3059
+ (y(!0), M(be, null, we(r.dateList, (_) => (y(), R(l, {
3051
3060
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3052
3061
  density: "compact",
3053
3062
  color: "primary",
@@ -3070,9 +3079,9 @@ function Ts(t, e, o, i, a, r) {
3070
3079
  s("th", ks, m(t.$t("time.time")) + " ( LT )", 1),
3071
3080
  s("th", zs, m(t.$t("tide.height")) + " ( m )", 1)
3072
3081
  ]),
3073
- (y(!0), S(be, null, we(a.tideTableData, (_, g) => {
3082
+ (y(!0), M(be, null, we(a.tideTableData, (_, g) => {
3074
3083
  var P;
3075
- return y(), S("tr", { key: g }, [
3084
+ return y(), M("tr", { key: g }, [
3076
3085
  s("td", Ls, m(t.$t(`tide.${(P = _ == null ? void 0 : _.type) == null ? void 0 : P.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3077
3086
  s("td", Ps, m(r.computeLocalTime(_ == null ? void 0 : _.date, o.station, "MM-DD HH:mm")), 1),
3078
3087
  s("td", Cs, m((_ == null ? void 0 : _.height) ?? "-") + " m", 1)
@@ -3167,7 +3176,7 @@ const Ms = {
3167
3176
  }, Is = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Ds = { class: "d-flex justify-start align-center" }, As = { class: "d-flex justify-start align-center" }, Rs = { class: "text-label" };
3168
3177
  function Os(t, e, o, i, a, r) {
3169
3178
  const l = x("v-card-text"), c = x("v-card"), n = x("TideDetail");
3170
- return y(), S("div", null, [
3179
+ return y(), M("div", null, [
3171
3180
  Ue(p(c, { id: "idmTidalInfo" }, {
3172
3181
  default: f(() => [
3173
3182
  p(l, { class: "pr-8 text-body-1" }, {
@@ -3407,7 +3416,7 @@ const Fs = {
3407
3416
  };
3408
3417
  function Hs(t, e, o, i, a, r) {
3409
3418
  var l, c, n;
3410
- return y(), S("div", {
3419
+ return y(), M("div", {
3411
3420
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3412
3421
  style: ie({ right: a.right + "px" })
3413
3422
  }, [
@@ -4329,7 +4338,7 @@ const Gs = {
4329
4338
  }, Us = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ws = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4330
4339
  function Zs(t, e, o, i, a, r) {
4331
4340
  const l = x("v-card-text"), c = x("v-card"), n = x("PortDetail");
4332
- return y(), S("div", null, [
4341
+ return y(), M("div", null, [
4333
4342
  Ue(p(c, {
4334
4343
  id: "idmFollowPortInfo",
4335
4344
  ref: "idmFollowPortInfo"
@@ -4475,7 +4484,7 @@ const qs = {
4475
4484
  if (e.properties) {
4476
4485
  const b = e.properties;
4477
4486
  b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
4478
- const w = M(), _ = (o = M(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), g = {
4487
+ const w = S(), _ = (o = S(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), g = {
4479
4488
  lat: b.lat,
4480
4489
  lng: b.lng,
4481
4490
  datetime: this.realTime,
@@ -4517,7 +4526,7 @@ function Js(t, e, o, i, a, r) {
4517
4526
  s("div", $s, [
4518
4527
  s("span", null, m(r.computePosition(a.position)), 1)
4519
4528
  ]),
4520
- a.position.remark ? (y(), S("div", Ks, [
4529
+ a.position.remark ? (y(), M("div", Ks, [
4521
4530
  s("span", null, m(a.position.remark ?? "-"), 1)
4522
4531
  ])) : D("", !0)
4523
4532
  ])
@@ -4742,7 +4751,7 @@ const el = {
4742
4751
  function hl(t, e, o, i, a, r) {
4743
4752
  var $, ne, se, Q, ae, he, ce, pe, ge;
4744
4753
  const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), g = x("IdmTerminator"), P = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), L = x("IdmEcaZone"), z = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), k = x("IdmWorldMarine"), A = x("IdmVRA"), N = x("IdmSpecialArea"), V = x("IdmWorld12nm"), Z = x("IdmChinaRoute"), W = x("IdmIceAreas"), ee = x("IdmFollowPort"), J = x("IdmFollowPosition");
4745
- return y(), S("div", tl, [
4754
+ return y(), M("div", tl, [
4746
4755
  s("div", {
4747
4756
  class: "menu-bar-box transition px-1 rounded",
4748
4757
  style: ie({ top: o.top + 10 + "px", right: a.right + "px" })
@@ -4812,7 +4821,7 @@ function hl(t, e, o, i, a, r) {
4812
4821
  p(b, { class: "pb-2" }, {
4813
4822
  default: f(() => [
4814
4823
  s("div", rl, [
4815
- (y(!0), S(be, null, we(a.mapFeathers, (F) => (y(), S("div", {
4824
+ (y(!0), M(be, null, we(a.mapFeathers, (F) => (y(), M("div", {
4816
4825
  key: F.value,
4817
4826
  class: "mb-2 feather-item",
4818
4827
  onClick: (me) => r.handleToggleMapFeather(F)
@@ -4820,12 +4829,12 @@ function hl(t, e, o, i, a, r) {
4820
4829
  s("div", {
4821
4830
  class: Ne([a.mapFeather === F.value ? "active" : "", "img-box"])
4822
4831
  }, [
4823
- F.value === "dark" ? (y(), S("img", ll)) : F.value === "nautical" ? (y(), S("img", nl)) : F.value === "satellite" ? (y(), S("img", cl)) : (y(), S("img", ml))
4832
+ F.value === "dark" ? (y(), M("img", ll)) : F.value === "nautical" ? (y(), M("img", nl)) : F.value === "satellite" ? (y(), M("img", cl)) : (y(), M("img", ml))
4824
4833
  ], 2),
4825
4834
  s("div", dl, m(t.$t(`layer.${F.locale}`)), 1)
4826
4835
  ], 8, sl))), 128))
4827
4836
  ]),
4828
- (y(!0), S(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), R(h, {
4837
+ (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), R(h, {
4829
4838
  key: F.key,
4830
4839
  modelValue: a.checkList,
4831
4840
  "onUpdate:modelValue": e[0] || (e[0] = (me) => a.checkList = me),
@@ -4864,7 +4873,7 @@ function hl(t, e, o, i, a, r) {
4864
4873
  }),
4865
4874
  p(b, { class: "py-2" }, {
4866
4875
  default: f(() => [
4867
- (y(!0), S(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4876
+ (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4868
4877
  key: F.key,
4869
4878
  modelValue: a.checkList,
4870
4879
  "onUpdate:modelValue": e[1] || (e[1] = (me) => a.checkList = me),
@@ -4903,7 +4912,7 @@ function hl(t, e, o, i, a, r) {
4903
4912
  }),
4904
4913
  p(b, { class: "py-2" }, {
4905
4914
  default: f(() => [
4906
- (y(!0), S(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), R(h, {
4915
+ (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, {
4907
4916
  key: F.key,
4908
4917
  modelValue: a.checkList,
4909
4918
  "onUpdate:modelValue": e[2] || (e[2] = (me) => a.checkList = me),
@@ -4986,8 +4995,9 @@ function hl(t, e, o, i, a, r) {
4986
4995
  o.map ? (y(), R(P, B({
4987
4996
  key: 2,
4988
4997
  map: o.map,
4989
- zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"]
4990
- }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone"])) : D("", !0),
4998
+ zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"],
4999
+ realTime: o.realTime
5000
+ }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : D("", !0),
4991
5001
  o.map ? (y(), R(T, B({
4992
5002
  key: 3,
4993
5003
  ref: "idmPorts",
@@ -5903,7 +5913,7 @@ const bl = {
5903
5913
  }, wl = { key: 0 };
5904
5914
  function xl(t, e, o, i, a, r) {
5905
5915
  var l;
5906
- return (l = o.factor) != null && l.active ? (y(), S("div", wl, [
5916
+ return (l = o.factor) != null && l.active ? (y(), M("div", wl, [
5907
5917
  s("div", {
5908
5918
  class: "legend-bars-gl4 wind",
5909
5919
  style: ie({ right: a.right + "px" })
@@ -6241,7 +6251,7 @@ const Ll = {
6241
6251
  }, Pl = { key: 0 };
6242
6252
  function Cl(t, e, o, i, a, r) {
6243
6253
  var l;
6244
- return (l = o.factor) != null && l.active ? (y(), S("div", Pl, [
6254
+ return (l = o.factor) != null && l.active ? (y(), M("div", Pl, [
6245
6255
  s("div", {
6246
6256
  class: "legend-bars-gl4 current",
6247
6257
  style: ie({ right: a.right + "px" })
@@ -6365,7 +6375,7 @@ const Sl = {
6365
6375
  }, Ml = { key: 0 };
6366
6376
  function Il(t, e, o, i, a, r) {
6367
6377
  var l;
6368
- return (l = o.factor) != null && l.active ? (y(), S("div", Ml, [
6378
+ return (l = o.factor) != null && l.active ? (y(), M("div", Ml, [
6369
6379
  s("div", {
6370
6380
  class: "legend-bars-gl4 sig-wave",
6371
6381
  style: ie({ right: a.right + "px" })
@@ -6637,7 +6647,7 @@ const Bl = {
6637
6647
  }, El = { key: 0 };
6638
6648
  function jl(t, e, o, i, a, r) {
6639
6649
  var l;
6640
- return (l = o.factor) != null && l.active ? (y(), S("div", El, [
6650
+ return (l = o.factor) != null && l.active ? (y(), M("div", El, [
6641
6651
  s("div", {
6642
6652
  class: "legend-bars-gl4 swell",
6643
6653
  style: ie({ right: a.right + "px" })
@@ -6804,7 +6814,7 @@ const Nl = /* @__PURE__ */ Y(Bl, [["render", jl], ["__scopeId", "data-v-d47b8b5c
6804
6814
  function Gl(t, e, o, i, a, r) {
6805
6815
  var n;
6806
6816
  const l = x("VBtn"), c = x("VTooltip");
6807
- return (n = o.prmsl) != null && n.active ? (y(), S("div", Hl, [
6817
+ return (n = o.prmsl) != null && n.active ? (y(), M("div", Hl, [
6808
6818
  s("div", {
6809
6819
  class: "menu-bar-box pa-1 rounded",
6810
6820
  style: ie({ right: a.right + "px" })
@@ -6936,7 +6946,7 @@ const Wl = {
6936
6946
  }, Vl = { key: 0 };
6937
6947
  function Zl(t, e, o, i, a, r) {
6938
6948
  var l;
6939
- return (l = o.factor) != null && l.active ? (y(), S("div", Vl, [
6949
+ return (l = o.factor) != null && l.active ? (y(), M("div", Vl, [
6940
6950
  s("div", {
6941
6951
  class: "legend-bars-gl4 ice-edge",
6942
6952
  style: ie({ right: a.right + "px" })
@@ -7049,7 +7059,7 @@ const ql = {
7049
7059
  }, Xl = { key: 0 };
7050
7060
  function $l(t, e, o, i, a, r) {
7051
7061
  var l;
7052
- return (l = o.factor) != null && l.active ? (y(), S("div", Xl, [
7062
+ return (l = o.factor) != null && l.active ? (y(), M("div", Xl, [
7053
7063
  s("div", {
7054
7064
  class: "legend-bars-gl4 ice-cover",
7055
7065
  style: ie({ right: a.right + "px" })
@@ -7163,7 +7173,7 @@ const Jl = {
7163
7173
  }, Ql = { key: 0 };
7164
7174
  function en(t, e, o, i, a, r) {
7165
7175
  var l;
7166
- return (l = o.factor) != null && l.active ? (y(), S("div", Ql, [
7176
+ return (l = o.factor) != null && l.active ? (y(), M("div", Ql, [
7167
7177
  s("div", {
7168
7178
  class: "legend-bars-gl4 ice-thickness",
7169
7179
  style: ie({ right: a.right + "px" })
@@ -7279,7 +7289,7 @@ const on = {
7279
7289
  }, an = { key: 0 };
7280
7290
  function rn(t, e, o, i, a, r) {
7281
7291
  var l;
7282
- return (l = o.factor) != null && l.active ? (y(), S("div", an, [
7292
+ return (l = o.factor) != null && l.active ? (y(), M("div", an, [
7283
7293
  s("div", {
7284
7294
  class: "legend-bars-gl4 precip3h",
7285
7295
  style: ie({ right: a.right + "px" })
@@ -7386,7 +7396,7 @@ const ln = {
7386
7396
  }, nn = { key: 0 };
7387
7397
  function cn(t, e, o, i, a, r) {
7388
7398
  var l;
7389
- return (l = o.factor) != null && l.active ? (y(), S("div", nn, [
7399
+ return (l = o.factor) != null && l.active ? (y(), M("div", nn, [
7390
7400
  s("div", {
7391
7401
  class: "legend-bars-gl4 visibility",
7392
7402
  style: ie({ right: a.right + "px" })
@@ -7494,7 +7504,7 @@ const dn = {
7494
7504
  }, hn = { key: 0 };
7495
7505
  function pn(t, e, o, i, a, r) {
7496
7506
  var l;
7497
- return (l = o.factor) != null && l.active ? (y(), S("div", hn, [
7507
+ return (l = o.factor) != null && l.active ? (y(), M("div", hn, [
7498
7508
  s("div", {
7499
7509
  class: "legend-bars-gl4 water-temp",
7500
7510
  style: ie({ right: a.right + "px" })
@@ -7613,7 +7623,7 @@ const gn = {
7613
7623
  }, fn = { key: 0 };
7614
7624
  function yn(t, e, o, i, a, r) {
7615
7625
  var l;
7616
- return (l = o.factor) != null && l.active ? (y(), S("div", fn, [
7626
+ return (l = o.factor) != null && l.active ? (y(), M("div", fn, [
7617
7627
  s("div", {
7618
7628
  class: "legend-bars-gl4 temp",
7619
7629
  style: ie({ right: a.right + "px" })
@@ -7753,7 +7763,7 @@ const wn = {
7753
7763
  return function(t) {
7754
7764
  var e;
7755
7765
  if (t) {
7756
- const o = M(t);
7766
+ const o = S(t);
7757
7767
  return `${(e = o == null ? void 0 : o.utc()) == null ? void 0 : e.format("MMM-DD/HHmm")}Z`;
7758
7768
  }
7759
7769
  return "-";
@@ -7761,7 +7771,7 @@ const wn = {
7761
7771
  },
7762
7772
  computeDateUpdate() {
7763
7773
  return function(t) {
7764
- return t ? M(t).fromNow() : "-";
7774
+ return t ? S(t).fromNow() : "-";
7765
7775
  };
7766
7776
  },
7767
7777
  overlaysKeys() {
@@ -7805,7 +7815,7 @@ const wn = {
7805
7815
  },
7806
7816
  realTime: {
7807
7817
  handler(t, e) {
7808
- t && e && M(t).utc().format("yyyy-MM-DD HH") !== M(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
7818
+ t && e && S(t).utc().format("yyyy-MM-DD HH") !== S(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
7809
7819
  this.fetchWeatherLayers();
7810
7820
  });
7811
7821
  },
@@ -8309,7 +8319,7 @@ const wn = {
8309
8319
  function ic(t, e, o, i, a, r) {
8310
8320
  var Q, ae, he, ce, pe, ge, F, me, ve, Le, Pe, De, Ae, Re, _e;
8311
8321
  const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), u = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), g = x("VCardTitle"), P = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), k = x("IdmWindParticle"), A = x("IdmCurrentParticle"), N = x("IdmWave"), V = x("IdmSwell"), Z = x("IdmIceEdge"), W = x("IdmIceCover"), ee = x("IdmIceThickness"), J = x("IdmPrecip3h"), $ = x("IdmVisibility"), ne = x("IdmWaterTemp"), se = x("IdmTemp");
8312
- return y(), S("div", xn, [
8322
+ return y(), M("div", xn, [
8313
8323
  s("div", {
8314
8324
  class: "menu-bar-box transition pa-1",
8315
8325
  style: ie({ top: o.top + 94 + "px", right: a.right + "px" })
@@ -8336,7 +8346,7 @@ function ic(t, e, o, i, a, r) {
8336
8346
  _: 1
8337
8347
  }, 8, ["text"])
8338
8348
  ], 4),
8339
- r.showTipMenu ? (y(), S("div", vn, [
8349
+ r.showTipMenu ? (y(), M("div", vn, [
8340
8350
  s("div", {
8341
8351
  class: "menu-bar-box pa-1 rounded",
8342
8352
  style: ie({ right: a.right + "px" })
@@ -8376,7 +8386,7 @@ function ic(t, e, o, i, a, r) {
8376
8386
  e[10] || (e[10] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
8377
8387
  p(u, { class: "ma-0 ml-n1 text-body-2" }, {
8378
8388
  default: f(() => [
8379
- (y(!0), S(be, null, we(a.legend.barbs, (G, te) => (y(), R(n, {
8389
+ (y(!0), M(be, null, we(a.legend.barbs, (G, te) => (y(), R(n, {
8380
8390
  key: G,
8381
8391
  cols: "6",
8382
8392
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -8408,14 +8418,14 @@ function ic(t, e, o, i, a, r) {
8408
8418
  style: { width: "100px" }
8409
8419
  }, {
8410
8420
  default: f(() => [
8411
- (y(!0), S(be, null, we(a.legend.sigWaveHeight, (G, te) => (y(), R(n, {
8421
+ (y(!0), M(be, null, we(a.legend.sigWaveHeight, (G, te) => (y(), R(n, {
8412
8422
  key: te,
8413
8423
  cols: "12",
8414
8424
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
8415
8425
  }, {
8416
8426
  default: f(() => [
8417
8427
  s("div", zn, [
8418
- te === 0 ? (y(), S("div", Ln)) : (y(), S("div", {
8428
+ te === 0 ? (y(), M("div", Ln)) : (y(), M("div", {
8419
8429
  key: 1,
8420
8430
  style: ie({ width: "24px", height: "12px", background: G.color })
8421
8431
  }, null, 4)),
@@ -8440,7 +8450,7 @@ function ic(t, e, o, i, a, r) {
8440
8450
  style: { width: "110px" }
8441
8451
  }, {
8442
8452
  default: f(() => [
8443
- (y(!0), S(be, null, we(a.legend.current, (G, te) => (y(), R(n, {
8453
+ (y(!0), M(be, null, we(a.legend.current, (G, te) => (y(), R(n, {
8444
8454
  key: te,
8445
8455
  cols: "12",
8446
8456
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
@@ -8524,7 +8534,7 @@ function ic(t, e, o, i, a, r) {
8524
8534
  }),
8525
8535
  p(h, { class: "py-2" }, {
8526
8536
  default: f(() => [
8527
- (y(!0), S(be, null, we(a.tagLayers.filter((G) => G.overlays), (G) => (y(), R(T, {
8537
+ (y(!0), M(be, null, we(a.tagLayers.filter((G) => G.overlays), (G) => (y(), R(T, {
8528
8538
  key: G.key,
8529
8539
  modelValue: a.checkList,
8530
8540
  "onUpdate:modelValue": e[2] || (e[2] = (te) => a.checkList = te),
@@ -8564,7 +8574,7 @@ function ic(t, e, o, i, a, r) {
8564
8574
  }),
8565
8575
  p(h, { class: "py-2" }, {
8566
8576
  default: f(() => [
8567
- (y(!0), S(be, null, we(a.tagLayers.filter((G) => !G.overlays), (G) => (y(), S(be, {
8577
+ (y(!0), M(be, null, we(a.tagLayers.filter((G) => !G.overlays), (G) => (y(), M(be, {
8568
8578
  key: G.key
8569
8579
  }, [
8570
8580
  p(O, {
@@ -8580,7 +8590,7 @@ function ic(t, e, o, i, a, r) {
8580
8590
  "hide-details": "",
8581
8591
  onClick: (te) => a.renderKey = a.renderKey === G.key ? "" : G.key
8582
8592
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
8583
- a.renderKey === "wind-particle" && G.key === "wind-particle" ? (y(), S("div", An, [
8593
+ a.renderKey === "wind-particle" && G.key === "wind-particle" ? (y(), M("div", An, [
8584
8594
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8585
8595
  p(_, {
8586
8596
  modelValue: a.showWindParticle,
@@ -8595,7 +8605,7 @@ function ic(t, e, o, i, a, r) {
8595
8605
  "hide-details": ""
8596
8606
  }, null, 8, ["modelValue"])
8597
8607
  ])) : D("", !0),
8598
- a.renderKey === "current-particle" && G.key === "current-particle" ? (y(), S("div", Rn, [
8608
+ a.renderKey === "current-particle" && G.key === "current-particle" ? (y(), M("div", Rn, [
8599
8609
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8600
8610
  p(_, {
8601
8611
  modelValue: a.showCurrentParticle,
@@ -8730,27 +8740,27 @@ function ic(t, e, o, i, a, r) {
8730
8740
  s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((fe = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8731
8741
  s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
8732
8742
  s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Ie = (ye = (j = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : j.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Ie.availabilityTime)), 1),
8733
- s("div", Nn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((q = (E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.NOAA) == null ? void 0 : E.meta) == null ? void 0 : q.initialisationTime)), 1),
8743
+ s("div", Nn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((q = (E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.NOAA) == null ? void 0 : E.meta) == null ? void 0 : q.initialisationTime)), 1),
8734
8744
  s("div", Fn, m((Ye = (Ze = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : Ye.source) + " " + m((Xe = (qe = (Te = a.models) == null ? void 0 : Te.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Xe.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),
8735
8745
  s("div", Hn, m(t.$t("weather.source")) + ": ECMWF", 1),
8736
8746
  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),
8737
- 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),
8747
+ 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),
8738
8748
  p(b),
8739
8749
  s("div", Wn, m(t.$t("weather.wave")), 1),
8740
8750
  s("div", Vn, m((dt = (mt = (ct = (nt = a.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.source) + " " + m((gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.spatialResolution) + m(t.$t("units.km")) + " " + m((xt = (wt = (bt = (yt = (ft = a.models) == null ? void 0 : ft.marine) == null ? void 0 : yt.wave) == null ? void 0 : bt.NOAA) == null ? void 0 : wt.meta) == null ? void 0 : xt.days) + m(t.$t("units.days")), 1),
8741
8751
  s("div", Zn, m(t.$t("weather.source")) + ": NOAA", 1),
8742
8752
  s("div", Yn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Lt = (zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.NOAA) == null ? void 0 : zt.meta) == null ? void 0 : Lt.availabilityTime)), 1),
8743
- s("div", qn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((Mt = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
8753
+ s("div", qn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Mt = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
8744
8754
  s("div", Xn, m((Rt = (At = (Dt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.source) + " " + m((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.spatialResolution) + m(t.$t("units.km")) + " " + m((Ut = (Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.meta) == null ? void 0 : Ut.days) + m(t.$t("units.days")), 1),
8745
8755
  s("div", $n, m(t.$t("weather.source")) + ": ECMWF", 1),
8746
8756
  s("div", Kn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
8747
- s("div", Jn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((eo = (Qt = (Jt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
8757
+ s("div", Jn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((eo = (Qt = (Jt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
8748
8758
  p(b),
8749
8759
  s("div", Qn, m(t.$t("weather.currents")), 1),
8750
8760
  s("div", ec, m((io = (ao = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.current) == null ? void 0 : ao.ECMWF) == null ? void 0 : io.source) + " " + m((no = (lo = (so = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : so.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + m(t.$t("units.km")) + " " + m((uo = (po = (ho = (mo = (co = a.models) == null ? void 0 : co.marine) == null ? void 0 : mo.current) == null ? void 0 : ho.ECMWF) == null ? void 0 : po.meta) == null ? void 0 : uo.days) + m(t.$t("units.days")), 1),
8751
8761
  s("div", tc, m(t.$t("weather.source")) + ": ECMWF", 1),
8752
8762
  s("div", oc, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((wo = (bo = (yo = (fo = (go = a.models) == null ? void 0 : go.marine) == null ? void 0 : fo.current) == null ? void 0 : yo.ECMWF) == null ? void 0 : bo.meta) == null ? void 0 : wo.availabilityTime)), 1),
8753
- s("div", ac, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((zo = (ko = (_o = (vo = (xo = a.models) == null ? void 0 : xo.marine) == null ? void 0 : vo.current) == null ? void 0 : _o.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : zo.initialisationTime)), 1)
8763
+ s("div", ac, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((zo = (ko = (_o = (vo = (xo = a.models) == null ? void 0 : xo.marine) == null ? void 0 : vo.current) == null ? void 0 : _o.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : zo.initialisationTime)), 1)
8754
8764
  ];
8755
8765
  }),
8756
8766
  _: 1
@@ -9211,7 +9221,7 @@ class Za {
9211
9221
  }
9212
9222
  static pickHourly(e, o) {
9213
9223
  var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9214
- const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.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"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9224
+ const ue = typeof o == "string" ? S(o) : o, fe = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, Ce = S((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.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"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9215
9225
  if (ue.isBetween(oe, re, "millisecond", "[]")) {
9216
9226
  const j = ue.utc().diff(oe, "h", !1);
9217
9227
  let ye, Ie;
@@ -9320,7 +9330,7 @@ class Za {
9320
9330
  }
9321
9331
  static pickDaily(e, o) {
9322
9332
  var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Le, Pe, De, Ae;
9323
- const Re = typeof o == "string" ? M(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = M((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9333
+ const Re = typeof o == "string" ? S(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = S((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = S((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9324
9334
  if (Re.isBetween(te, He, "millisecond", "[]")) {
9325
9335
  let ue, fe;
9326
9336
  const U = Re.diff(te, "d", !1);
@@ -9903,7 +9913,7 @@ const sc = {
9903
9913
  computeTime() {
9904
9914
  return (t, e) => {
9905
9915
  if (t) {
9906
- const o = M(t).utcOffset(e), i = e < 0 ? e : "+" + e;
9916
+ const o = S(t).utcOffset(e), i = e < 0 ? e : "+" + e;
9907
9917
  return `${o == null ? void 0 : o.format("MMM-DD/HHmm")} ( UTC${i} ) ${o == null ? void 0 : o.fromNow()} `;
9908
9918
  }
9909
9919
  return "-";
@@ -9913,7 +9923,7 @@ const sc = {
9913
9923
  return (t, e, o = "MM-DD HH:mm") => {
9914
9924
  var i, a;
9915
9925
  if (t) {
9916
- const r = e || 0, l = (a = (i = M(t)) == null ? void 0 : i.utcOffset(r)) == null ? void 0 : a.format(o), c = `(UTC ${r >= 0 ? "+" : ""}${r})`;
9926
+ const r = e || 0, l = (a = (i = S(t)) == null ? void 0 : i.utcOffset(r)) == null ? void 0 : a.format(o), c = `(UTC ${r >= 0 ? "+" : ""}${r})`;
9917
9927
  return l + " " + c;
9918
9928
  }
9919
9929
  return "-";
@@ -10054,7 +10064,7 @@ const sc = {
10054
10064
  }
10055
10065
  i.properties.level = v;
10056
10066
  }
10057
- ((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (L = M(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10067
+ ((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (L = S(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10058
10068
  }), this.handleInit();
10059
10069
  },
10060
10070
  handleInit() {
@@ -10291,7 +10301,7 @@ const sc = {
10291
10301
  handleDateChange() {
10292
10302
  var t, e, o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee;
10293
10303
  if ((t = this.interpolateMarkers) == null || t.forEach((J) => J == null ? void 0 : J.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10294
- const J = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((Q) => Q.properties.date === (J == null ? void 0 : J.format()) && !Q.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
10304
+ const J = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((Q) => Q.properties.date === (J == null ? void 0 : J.format()) && !Q.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
10295
10305
  ne.forEach((Q) => {
10296
10306
  se.features.push(Q);
10297
10307
  }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(se) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
@@ -10503,7 +10513,7 @@ const sc = {
10503
10513
  }, Jc = { class: "text-label pr-1" }, Qc = { class: "d-flex justify-start align-center" }, em = { class: "text-label pr-1" };
10504
10514
  function tm(t, e, o, i, a, r) {
10505
10515
  const l = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), u = x("VDivider"), h = x("VCardActions"), b = x("VCard"), w = x("v-card-title"), _ = x("v-divider");
10506
- return y(), S("div", lc, [
10516
+ return y(), M("div", lc, [
10507
10517
  s("div", {
10508
10518
  class: "menu-bar-box transition pa-1",
10509
10519
  style: ie({ top: o.top + 134 + "px", right: a.right + "px" })
@@ -10530,7 +10540,7 @@ function tm(t, e, o, i, a, r) {
10530
10540
  _: 1
10531
10541
  }, 8, ["text"])
10532
10542
  ], 4),
10533
- a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), S("div", nc, [
10543
+ a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), M("div", nc, [
10534
10544
  p(b, {
10535
10545
  "min-width": "400",
10536
10546
  elevation: "16",
@@ -10543,7 +10553,7 @@ function tm(t, e, o, i, a, r) {
10543
10553
  return [
10544
10554
  s("div", cc, [
10545
10555
  s("span", mc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10546
- (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", dc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10556
+ (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), M("span", dc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10547
10557
  ]),
10548
10558
  p(l, {
10549
10559
  icon: "",
@@ -10595,7 +10605,7 @@ function tm(t, e, o, i, a, r) {
10595
10605
  s("div", zc, [
10596
10606
  s("label", Lc, m(t.$t("weather.forecastModels")) + " : ", 1),
10597
10607
  s("div", Pc, [
10598
- (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (k, A) => (y(), R(l, {
10608
+ (y(!0), M(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (k, A) => (y(), R(l, {
10599
10609
  key: A,
10600
10610
  density: "compact",
10601
10611
  variant: k.disabled ? "text" : "flat",
@@ -10753,27 +10763,27 @@ function tm(t, e, o, i, a, r) {
10753
10763
  var g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se;
10754
10764
  return [
10755
10765
  s("div", Rc, [
10756
- ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Oc, [
10766
+ ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), M("div", Oc, [
10757
10767
  s("label", Bc, m(t.$t("tropical.updated")) + " : ", 1),
10758
10768
  s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
10759
10769
  ])) : D("", !0),
10760
- ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Ec, [
10770
+ ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), M("div", Ec, [
10761
10771
  s("label", jc, m(t.$t("tropical.forecast")) + " : ", 1),
10762
10772
  s("span", null, m(r.computeTzTime((O = a.hoverPoint) == null ? void 0 : O.date, o.timeZone)), 1)
10763
10773
  ])) : D("", !0),
10764
- ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Nc, [
10774
+ ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), M("div", Nc, [
10765
10775
  s("label", Fc, m(t.$t("tropical.forecast")) + " : ", 1),
10766
10776
  s("span", null, m(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
10767
10777
  ])) : D("", !0),
10768
- ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), S("div", Hc, [
10778
+ ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), M("div", Hc, [
10769
10779
  s("label", Gc, m(t.$t("tropical.model")) + " : ", 1),
10770
10780
  s("span", null, m(((v = a.hoverPoint) == null ? void 0 : v.model) ?? "-"), 1)
10771
10781
  ])) : D("", !0),
10772
- ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", Uc, [
10782
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), M("div", Uc, [
10773
10783
  s("label", Wc, m(t.$t("weather.wind")) + " : ", 1),
10774
10784
  s("span", null, m(((A = JSON.parse((k = a.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10775
10785
  ])) : D("", !0),
10776
- ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Vc, [
10786
+ ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), M("div", Vc, [
10777
10787
  s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
10778
10788
  s("span", null, m(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
10779
10789
  ])) : D("", !0),
@@ -10781,11 +10791,11 @@ function tm(t, e, o, i, a, r) {
10781
10791
  s("label", qc, m(t.$t("weather.pressure")) + " : ", 1),
10782
10792
  s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
10783
10793
  ]),
10784
- ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (y(), S("div", Xc, [
10794
+ ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (y(), M("div", Xc, [
10785
10795
  s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10786
10796
  s("span", null, m(((J = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : J.kts) ?? "-") + " kts", 1)
10787
10797
  ])) : D("", !0),
10788
- (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), S("div", Kc, [
10798
+ (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), M("div", Kc, [
10789
10799
  s("label", Jc, m(t.$t("tropical.moveDir")) + " : ", 1),
10790
10800
  s("span", null, m(((se = JSON.parse((ne = a.hoverPoint) == null ? void 0 : ne.movement)) == null ? void 0 : se.deg) ?? "-") + " °", 1)
10791
10801
  ])) : D("", !0),
@@ -10864,7 +10874,7 @@ const om = {
10864
10874
  },
10865
10875
  computed: {
10866
10876
  currentYear() {
10867
- return M(this.currentTimestamp).format("YYYY");
10877
+ return S(this.currentTimestamp).format("YYYY");
10868
10878
  },
10869
10879
  hourOptions() {
10870
10880
  const t = [];
@@ -10873,11 +10883,11 @@ const om = {
10873
10883
  return t.filter((e, o) => (o - this.timeZone) % this.intervalHour === 0);
10874
10884
  },
10875
10885
  timeZoneNames() {
10876
- return M.tz.names();
10886
+ return S.tz.names();
10877
10887
  },
10878
10888
  timeZoneName() {
10879
10889
  var t;
10880
- return (t = this.timeZoneNames.filter((e) => M.tz(M(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
10890
+ return (t = this.timeZoneNames.filter((e) => S.tz(S(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
10881
10891
  },
10882
10892
  utcTimeZoneName() {
10883
10893
  return "Africa/Abidjan";
@@ -10900,7 +10910,7 @@ const om = {
10900
10910
  },
10901
10911
  currentTimestamp: {
10902
10912
  handler() {
10903
- this.currentDateTimeZ = M(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${M.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
10913
+ this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
10904
10914
  },
10905
10915
  immediate: !0
10906
10916
  },
@@ -10912,7 +10922,7 @@ const om = {
10912
10922
  },
10913
10923
  mounted() {
10914
10924
  this.timer = setInterval(() => {
10915
- this.currentRealTime = `${M.tz(M().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
10925
+ this.currentRealTime = `${S.tz(S().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
10916
10926
  }, 100), document.addEventListener("click", this.handleClickOutside);
10917
10927
  },
10918
10928
  unmounted() {
@@ -10924,35 +10934,35 @@ const om = {
10924
10934
  },
10925
10935
  handleResetDateTime(t) {
10926
10936
  var a;
10927
- const e = M(t).utc().date(), o = Math.ceil(M(t).utc().hour() / 3) * 3;
10928
- this.currentTimestamp = ((a = M(t)) == null ? void 0 : a.utc().set({ date: e, hour: o, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3;
10929
- const i = M.tz(this.currentTimestamp, this.timeZoneName).clone();
10930
- this.currentDate = i.clone().format("YYYY-MM-DD"), this.currentTime = i.clone().format("HH:00"), this.currentDateTime = `${M.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`, this.currentRealTime = `${M.tz(M().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
10937
+ const e = S(t).utc().date(), o = Math.ceil(S(t).utc().hour() / 3) * 3;
10938
+ this.currentTimestamp = ((a = S(t)) == null ? void 0 : a.utc().set({ date: e, hour: o, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3;
10939
+ const i = S.tz(this.currentTimestamp, this.timeZoneName).clone();
10940
+ this.currentDate = i.clone().format("YYYY-MM-DD"), this.currentTime = i.clone().format("HH:00"), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`, this.currentRealTime = `${S.tz(S().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
10931
10941
  },
10932
10942
  handleResetMinMax() {
10933
10943
  var a, r, l, c, n;
10934
10944
  if (!this.dayAbout.h || !this.dayAbout.f)
10935
10945
  return;
10936
- const t = M().utc().date(), e = Math.ceil(M().utc().hour() / 3) * 3, o = ((a = M()) == null ? void 0 : a.utc().set({ date: t, hour: e, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, i = M.tz(o, this.timeZoneName).clone();
10937
- this.minDate = i.clone().add(this.dayAbout.h, "day").format("yyyy-MM-DD"), this.maxDate = i.clone().add(this.dayAbout.f, "day").format("yyyy-MM-DD"), this.minTimestamp = ((l = (r = M()) == null ? void 0 : r.utc()) == null ? void 0 : l.set({ date: t + this.dayAbout.h, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, this.maxTimestamp = ((n = (c = M()) == null ? void 0 : c.utc()) == null ? void 0 : n.set({ date: t + this.dayAbout.f, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, this.$emit("minTimestamp", this.minTimestamp), this.$emit("maxTimestamp", this.maxTimestamp);
10946
+ const t = S().utc().date(), e = Math.ceil(S().utc().hour() / 3) * 3, o = ((a = S()) == null ? void 0 : a.utc().set({ date: t, hour: e, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, i = S.tz(o, this.timeZoneName).clone();
10947
+ this.minDate = i.clone().add(this.dayAbout.h, "day").format("yyyy-MM-DD"), this.maxDate = i.clone().add(this.dayAbout.f, "day").format("yyyy-MM-DD"), this.minTimestamp = ((l = (r = S()) == null ? void 0 : r.utc()) == null ? void 0 : l.set({ date: t + this.dayAbout.h, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, this.maxTimestamp = ((n = (c = S()) == null ? void 0 : c.utc()) == null ? void 0 : n.set({ date: t + this.dayAbout.f, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, this.$emit("minTimestamp", this.minTimestamp), this.$emit("maxTimestamp", this.maxTimestamp);
10938
10948
  },
10939
10949
  handleOpenDatePicker() {
10940
10950
  this.showDatePicker = !this.showDatePicker, this.handleUpdateMonth();
10941
10951
  },
10942
10952
  handleUpdateMonth(t) {
10943
- const e = t || M.tz(this.currentTimestamp, this.timeZoneName).clone().month(), o = this.locale === "en" ? M.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("MMM") : M.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("M月");
10953
+ const e = t || S.tz(this.currentTimestamp, this.timeZoneName).clone().month(), o = this.locale === "en" ? S.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("MMM") : S.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("M月");
10944
10954
  this.$nextTick(() => {
10945
10955
  const i = document.querySelector(".v-date-picker-controls__month-btn");
10946
10956
  i.innerText = o;
10947
10957
  });
10948
10958
  },
10949
10959
  handleConfirmDate() {
10950
- const t = M(this.currentDate).format("yyyy-MM-DD"), e = this.currentTime, o = `${t} ${e}`, i = M.tz(o, "YYYY-MM-DD HH:00", this.timeZoneName).clone().tz(this.localTimeZoneName);
10960
+ const t = S(this.currentDate).format("yyyy-MM-DD"), e = this.currentTime, o = `${t} ${e}`, i = S.tz(o, "YYYY-MM-DD HH:00", this.timeZoneName).clone().tz(this.localTimeZoneName);
10951
10961
  this.currentTimestamp = i.unix() * 1e3, this.showDatePicker = !1;
10952
10962
  },
10953
10963
  handleCancelDate() {
10954
10964
  this.showDatePicker = !1;
10955
- const t = M.tz(this.currentTimestamp, this.timeZoneName).clone();
10965
+ const t = S.tz(this.currentTimestamp, this.timeZoneName).clone();
10956
10966
  this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
10957
10967
  },
10958
10968
  handleClickOutside(t) {
@@ -10975,7 +10985,7 @@ const om = {
10975
10985
  };
10976
10986
  function lm(t, e, o, i, a, r) {
10977
10987
  const l = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), u = x("VListItemTitle"), h = x("VListItem"), b = x("VList"), w = x("VCardText"), _ = x("VCardActions"), g = x("VCard");
10978
- return y(), S("div", am, [
10988
+ return y(), M("div", am, [
10979
10989
  p(l, {
10980
10990
  text: "",
10981
10991
  height: o.height,
@@ -11018,7 +11028,7 @@ function lm(t, e, o, i, a, r) {
11018
11028
  s("div", sm, m(a.currentTime), 1),
11019
11029
  p(b, { class: "pa-0 flex-1-1-0" }, {
11020
11030
  default: f(() => [
11021
- (y(!0), S(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
11031
+ (y(!0), M(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
11022
11032
  key: T,
11023
11033
  value: P,
11024
11034
  color: "primary",
@@ -11183,20 +11193,20 @@ const nm = {
11183
11193
  },
11184
11194
  computed: {
11185
11195
  timeZoneNames() {
11186
- return M.tz.names();
11196
+ return S.tz.names();
11187
11197
  },
11188
11198
  timeZoneName() {
11189
11199
  var t;
11190
- return (t = this.timeZoneNames.filter((e) => M.tz(M(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
11200
+ return (t = this.timeZoneNames.filter((e) => S.tz(S(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
11191
11201
  },
11192
11202
  computedTzTime() {
11193
- return (t) => M.tz(M(t), this.timeZoneName).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (this.timeZone >= 0 ? "+" : "") + this.timeZone + ")";
11203
+ return (t) => S.tz(S(t), this.timeZoneName).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (this.timeZone >= 0 ? "+" : "") + this.timeZone + ")";
11194
11204
  },
11195
11205
  computedLocalTime() {
11196
11206
  return (t) => {
11197
11207
  var i, a, r;
11198
- const e = Number((i = this.positionOffset) == null ? void 0 : i.slice(1, 3)) * (+(((a = this.positionOffset) == null ? void 0 : a.slice(1)) === "+") ? 1 : -1), o = (r = this.timeZoneNames.filter((l) => M.tz(M(), l).utcOffset() === e * 60)) == null ? void 0 : r[0];
11199
- return t ? M.tz(M(t), o).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (e >= 0 ? "+" : "") + e + ")" : "-";
11208
+ const e = Number((i = this.positionOffset) == null ? void 0 : i.slice(1, 3)) * (+(((a = this.positionOffset) == null ? void 0 : a.slice(1)) === "+") ? 1 : -1), o = (r = this.timeZoneNames.filter((l) => S.tz(S(), l).utcOffset() === e * 60)) == null ? void 0 : r[0];
11209
+ return t ? S.tz(S(t), o).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (e >= 0 ? "+" : "") + e + ")" : "-";
11200
11210
  };
11201
11211
  },
11202
11212
  computePosition() {
@@ -11264,8 +11274,8 @@ const nm = {
11264
11274
  var e;
11265
11275
  if (t != null && t.valid) {
11266
11276
  this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
11267
- const o = M();
11268
- ((e = M(this.realTime)) == null ? void 0 : e.diff(o, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
11277
+ const o = S();
11278
+ ((e = S(this.realTime)) == null ? void 0 : e.diff(o, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
11269
11279
  }
11270
11280
  });
11271
11281
  },
@@ -11293,7 +11303,7 @@ const nm = {
11293
11303
  let i = {
11294
11304
  lat: t.lat,
11295
11305
  lng: t.lng,
11296
- datetime: M(t.dateTime).utc().format(),
11306
+ datetime: S(t.dateTime).utc().format(),
11297
11307
  forecastDays: t.day ?? 7,
11298
11308
  weatherModels: e,
11299
11309
  marineModels: o
@@ -11313,7 +11323,7 @@ const nm = {
11313
11323
  const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel), i = {
11314
11324
  lat: t.lat,
11315
11325
  lng: t.lng,
11316
- datetime: M(t.dateTime).utc().format(),
11326
+ datetime: S(t.dateTime).utc().format(),
11317
11327
  forecastDays: 3,
11318
11328
  pastDays: 1,
11319
11329
  weatherModels: e,
@@ -11328,7 +11338,7 @@ const nm = {
11328
11338
  initTableData(t) {
11329
11339
  var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve;
11330
11340
  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;
11331
- const e = ((l = Co.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11341
+ const e = ((l = Co.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11332
11342
  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((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.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((g = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.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((z = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : z.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 = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.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((W = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (J = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((Q = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.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;
11333
11343
  },
11334
11344
  handleBind() {
@@ -11439,7 +11449,7 @@ const nm = {
11439
11449
  }, qm = ["xlink:href"];
11440
11450
  function Xm(t, e, o, i, a, r) {
11441
11451
  const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VDivider"), h = x("VTextField"), b = x("VCol"), w = x("VRow"), _ = x("DateTimePicker"), g = x("VBtnToggle"), P = x("VCardText"), T = x("VCardActions"), O = x("VForm"), I = x("VCard"), L = x("VIcon");
11442
- return y(), S("div", cm, [
11452
+ return y(), M("div", cm, [
11443
11453
  s("div", {
11444
11454
  class: "menu-bar-box transition pa-1",
11445
11455
  style: ie({ top: o.top + 174 + "px", right: a.right + "px" })
@@ -11504,7 +11514,7 @@ function Xm(t, e, o, i, a, r) {
11504
11514
  p(P, { class: "text-body-1 py-1" }, {
11505
11515
  default: f(() => [
11506
11516
  s("div", hm, [
11507
- (y(), S("svg", pm, [
11517
+ (y(), M("svg", pm, [
11508
11518
  s("use", {
11509
11519
  "xlink:href": `#icon-lng-${o.theme}`
11510
11520
  }, null, 8, um)
@@ -11581,7 +11591,7 @@ function Xm(t, e, o, i, a, r) {
11581
11591
  _: 1
11582
11592
  }),
11583
11593
  s("div", gm, [
11584
- (y(), S("svg", fm, [
11594
+ (y(), M("svg", fm, [
11585
11595
  s("use", {
11586
11596
  "xlink:href": `#icon-lng-${o.theme}`
11587
11597
  }, null, 8, ym)
@@ -11661,7 +11671,7 @@ function Xm(t, e, o, i, a, r) {
11661
11671
  _: 1
11662
11672
  }),
11663
11673
  s("div", bm, [
11664
- (y(), S("svg", wm, [
11674
+ (y(), M("svg", wm, [
11665
11675
  s("use", {
11666
11676
  "xlink:href": `#icon-date-time-${o.theme}`
11667
11677
  }, null, 8, xm)
@@ -11688,7 +11698,7 @@ function Xm(t, e, o, i, a, r) {
11688
11698
  _: 1
11689
11699
  }),
11690
11700
  s("div", vm, [
11691
- (y(), S("svg", _m, [
11701
+ (y(), M("svg", _m, [
11692
11702
  s("use", {
11693
11703
  "xlink:href": `#icon-forecast-model-${o.theme}`
11694
11704
  }, null, 8, km)
@@ -11923,7 +11933,7 @@ function Xm(t, e, o, i, a, r) {
11923
11933
  _: 1
11924
11934
  })) : D("", !0),
11925
11935
  Ue(s("div", Zm, [
11926
- (y(), S("svg", Ym, [
11936
+ (y(), M("svg", Ym, [
11927
11937
  s("use", {
11928
11938
  "xlink:href": `#icon-spot-${o.theme}`
11929
11939
  }, null, 8, qm)
@@ -12287,7 +12297,7 @@ const Km = {
12287
12297
  }, Jm = { class: "idm-gl4-measure" };
12288
12298
  function Qm(t, e, o, i, a, r) {
12289
12299
  const l = x("VBtn"), c = x("VTooltip");
12290
- return y(), S("div", Jm, [
12300
+ return y(), M("div", Jm, [
12291
12301
  s("div", {
12292
12302
  class: "menu-bar-box transition pa-1",
12293
12303
  style: ie({ top: o.top + 214 + "px", right: a.right + "px" })
@@ -12355,7 +12365,7 @@ const td = {
12355
12365
  //hour
12356
12366
  intervalOptions: [3, 6, 12, 24],
12357
12367
  showTimezone: !1,
12358
- timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : M().utcOffset() / 60,
12368
+ timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : S().utcOffset() / 60,
12359
12369
  offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
12360
12370
  source: localStorage.getItem("forecastModelCacheGL4") === "undefined" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4")
12361
12371
  };
@@ -12387,7 +12397,7 @@ const td = {
12387
12397
  },
12388
12398
  currentTimestamp: {
12389
12399
  handler() {
12390
- this.currentDateTimeZ = M(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("realTime", this.currentDateTimeZ), this.currentDateTime = `${M.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
12400
+ this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("realTime", this.currentDateTimeZ), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
12391
12401
  },
12392
12402
  immediate: !0
12393
12403
  },
@@ -12448,7 +12458,7 @@ const td = {
12448
12458
  }, nd = ["onClick"], cd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, md = { class: "text-body-1" };
12449
12459
  function dd(t, e, o, i, a, r) {
12450
12460
  const l = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), u = x("VList"), h = x("VMenu"), b = x("VBtn"), w = x("VDivider"), _ = x("VTooltip");
12451
- return y(), S("div", od, [
12461
+ return y(), M("div", od, [
12452
12462
  s("div", {
12453
12463
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
12454
12464
  style: ie({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
@@ -12478,7 +12488,7 @@ function dd(t, e, o, i, a, r) {
12478
12488
  default: f(() => [
12479
12489
  p(u, { class: "pa-1" }, {
12480
12490
  default: f(() => [
12481
- (y(!0), S(be, null, we(a.intervalOptions, (g, P) => (y(), R(n, {
12491
+ (y(!0), M(be, null, we(a.intervalOptions, (g, P) => (y(), R(n, {
12482
12492
  key: P,
12483
12493
  value: g,
12484
12494
  variant: a.intervalHour === g ? "tonal" : "text",
@@ -12727,8 +12737,8 @@ function dd(t, e, o, i, a, r) {
12727
12737
  class: "timezone-box d-flex flex-column justify-space-between align-end",
12728
12738
  style: ie({ right: a.right + "px" })
12729
12739
  }, [
12730
- a.showTimezone ? (y(), S("div", ld, [
12731
- (y(!0), S(be, null, we(a.offsets, (g) => (y(), S("div", {
12740
+ a.showTimezone ? (y(), M("div", ld, [
12741
+ (y(!0), M(be, null, we(a.offsets, (g) => (y(), M("div", {
12732
12742
  key: g,
12733
12743
  class: "item rounded text-body-2 hover-active",
12734
12744
  onClick: (P) => a.timeZone = g
@@ -12818,7 +12828,7 @@ const hd = /* @__PURE__ */ Y(td, [["render", dd]]), pd = {
12818
12828
  };
12819
12829
  function gd(t, e, o, i, a, r) {
12820
12830
  const l = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), u = x("IdmMeasure"), h = x("IdmSpot"), b = x("IdmBottomBar");
12821
- return y(), S("div", ud, [
12831
+ return y(), M("div", ud, [
12822
12832
  p(l, B({
12823
12833
  ref: "idmOtherLayers",
12824
12834
  token: o.token,
@@ -31854,7 +31864,7 @@ const bd = {
31854
31864
  }, wd = { class: "mapbox-initial-gl4" }, xd = { class: "v-btn--variant-elevated rounded" }, vd = { class: "zoom" }, _d = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70" };
31855
31865
  function kd(t, e, o, i, a, r) {
31856
31866
  const l = x("VBtn");
31857
- return y(), S("div", wd, [
31867
+ return y(), M("div", wd, [
31858
31868
  e[5] || (e[5] = s("div", { id: "map" }, null, -1)),
31859
31869
  s("div", {
31860
31870
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
@@ -31951,14 +31961,14 @@ const Ld = {
31951
31961
  },
31952
31962
  computed: {
31953
31963
  currentYear() {
31954
- return M(this.dateRange[0]).format("YYYY");
31964
+ return S(this.dateRange[0]).format("YYYY");
31955
31965
  },
31956
31966
  timeZoneNames() {
31957
- return M.tz.names();
31967
+ return S.tz.names();
31958
31968
  },
31959
31969
  timeZoneName() {
31960
31970
  var t;
31961
- return (t = this.timeZoneNames.filter((e) => M.tz(M(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
31971
+ return (t = this.timeZoneNames.filter((e) => S.tz(S(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
31962
31972
  },
31963
31973
  utcTimeZoneName() {
31964
31974
  return "Africa/Abidjan";
@@ -31971,7 +31981,7 @@ const Ld = {
31971
31981
  var i, a;
31972
31982
  if (t) {
31973
31983
  const r = e || 0;
31974
- return (a = (i = M(t)) == null ? void 0 : i.utcOffset(r)) == null ? void 0 : a.format(o);
31984
+ return (a = (i = S(t)) == null ? void 0 : i.utcOffset(r)) == null ? void 0 : a.format(o);
31975
31985
  }
31976
31986
  return "-";
31977
31987
  };
@@ -32008,8 +32018,8 @@ const Ld = {
32008
32018
  handleResetDateRange() {
32009
32019
  var r, l, c;
32010
32020
  let t, e;
32011
- (r = this.defaultRange) != null && r.length ? (t = this.defaultRange[0], e = (l = M(M(this.defaultRange[1]).set({ hour: 23, minute: 59, second: 59, millisecond: 59 }))) == null ? void 0 : l.diff(M(this.defaultRange[0]).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }), "d", !0)) : e = this.defaultDays;
32012
- const o = M.tz(t, this.timeZoneName).clone(), i = [];
32021
+ (r = this.defaultRange) != null && r.length ? (t = this.defaultRange[0], e = (l = S(S(this.defaultRange[1]).set({ hour: 23, minute: 59, second: 59, millisecond: 59 }))) == null ? void 0 : l.diff(S(this.defaultRange[0]).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }), "d", !0)) : e = this.defaultDays;
32022
+ const o = S.tz(t, this.timeZoneName).clone(), i = [];
32013
32023
  if (e < 0)
32014
32024
  for (let n = e + 1; n <= 0; n++)
32015
32025
  i.push(o.clone().add(n, "days").format());
@@ -32018,23 +32028,23 @@ const Ld = {
32018
32028
  i.push(o.clone().add(n, "days").format());
32019
32029
  this.dateRange = i;
32020
32030
  const a = [this.dateRange[0], this.dateRange[((c = this.dateRange) == null ? void 0 : c.length) - 1]];
32021
- this.dateRangeStr = `${M.tz(a[0], this.timeZoneName).format("yyyy-MM-DD")} ~ ${M.tz(a[1], this.timeZoneName).format("yyyy-MM-DD")}`, this.$emit(
32031
+ this.dateRangeStr = `${S.tz(a[0], this.timeZoneName).format("yyyy-MM-DD")} ~ ${S.tz(a[1], this.timeZoneName).format("yyyy-MM-DD")}`, this.$emit(
32022
32032
  "dateRange",
32023
32033
  [
32024
- M.tz(a[0], this.timeZoneName).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
32025
- M.tz(a[1], this.timeZoneName).set({ hour: 23, minute: 59, second: 59, millisecond: 59 }).format()
32034
+ S.tz(a[0], this.timeZoneName).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
32035
+ S.tz(a[1], this.timeZoneName).set({ hour: 23, minute: 59, second: 59, millisecond: 59 }).format()
32026
32036
  ]
32027
32037
  );
32028
32038
  },
32029
32039
  handleResetMinMax() {
32030
- const t = M.tz(M().format(), this.timeZoneName).clone(), { h: e, f: o } = this.dayAbout;
32040
+ const t = S.tz(S().format(), this.timeZoneName).clone(), { h: e, f: o } = this.dayAbout;
32031
32041
  e != null && typeof Number(e) == "number" && !isNaN(e) && (this.minDate = t.clone().add(e, "day").format("yyyy-MM-DD")), o != null && typeof Number(o) == "number" && !isNaN(o) && (this.maxDate = t.clone().add(o, "day").format("yyyy-MM-DD"));
32032
32042
  },
32033
32043
  handleOpenDatePicker() {
32034
32044
  this.showDatePicker = !this.showDatePicker, this.handleUpdateMonth();
32035
32045
  },
32036
32046
  handleUpdateMonth(t) {
32037
- const e = t || M.tz(this.dateRange[0], this.timeZoneName).clone().month(), o = this.locale === "en" ? M.tz(this.dateRange[0], this.timeZoneName).set({ month: e }).clone().format("MMM") : M.tz(this.dateRange[0], this.timeZoneName).set({ month: e }).clone().format("M月");
32047
+ const e = t || S.tz(this.dateRange[0], this.timeZoneName).clone().month(), o = this.locale === "en" ? S.tz(this.dateRange[0], this.timeZoneName).set({ month: e }).clone().format("MMM") : S.tz(this.dateRange[0], this.timeZoneName).set({ month: e }).clone().format("M月");
32038
32048
  this.$nextTick(() => {
32039
32049
  const i = document.querySelector(".v-date-picker-controls__month-btn");
32040
32050
  i.innerText = o;
@@ -32043,11 +32053,11 @@ const Ld = {
32043
32053
  handleConfirmDate() {
32044
32054
  var e;
32045
32055
  const t = [this.dateRange[0], this.dateRange[((e = this.dateRange) == null ? void 0 : e.length) - 1]];
32046
- this.dateRangeStr = `${M(t[0]).format("yyyy-MM-DD")} ~ ${M(t[1]).format("yyyy-MM-DD")}`, this.$emit(
32056
+ this.dateRangeStr = `${S(t[0]).format("yyyy-MM-DD")} ~ ${S(t[1]).format("yyyy-MM-DD")}`, this.$emit(
32047
32057
  "dateRange",
32048
32058
  [
32049
- M.tz(t[0], this.timeZoneName).set({ year: M(t[0]).year(), month: M(t[0]).month(), date: M(t[0]).date(), hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
32050
- M.tz(t[1], this.timeZoneName).set({ year: M(t[1]).year(), month: M(t[1]).month(), date: M(t[1]).date(), hour: 23, minute: 59, second: 59, millisecond: 59 }).format()
32059
+ S.tz(t[0], this.timeZoneName).set({ year: S(t[0]).year(), month: S(t[0]).month(), date: S(t[0]).date(), hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
32060
+ S.tz(t[1], this.timeZoneName).set({ year: S(t[1]).year(), month: S(t[1]).month(), date: S(t[1]).date(), hour: 23, minute: 59, second: 59, millisecond: 59 }).format()
32051
32061
  ]
32052
32062
  ), this.showDatePicker = !1;
32053
32063
  },
@@ -32065,7 +32075,7 @@ const Ld = {
32065
32075
  }, Cd = { class: "pa-0" };
32066
32076
  function Td(t, e, o, i, a, r) {
32067
32077
  const l = x("VBtn"), c = x("VDatePicker"), n = x("VCardText"), u = x("VDivider"), h = x("VCardActions"), b = x("VCard");
32068
- return y(), S("div", Pd, [
32078
+ return y(), M("div", Pd, [
32069
32079
  p(l, {
32070
32080
  text: "",
32071
32081
  height: o.height,