@idmwx/idmui-gl4 0.4.6 → 0.4.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
@@ -2,7 +2,7 @@ var Vo = Object.defineProperty;
2
2
  var Yo = (o, e, t) => e in o ? Vo(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var le = (o, e, t) => (Yo(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import Ie from "axios";
5
- import { openBlock as y, createElementBlock as T, withDirectives as He, createElementVNode as l, vShow as Ge, toDisplayString as C, normalizeStyle as Q, createCommentVNode as O, resolveComponent as w, createVNode as h, withCtx as g, mergeProps as j, normalizeClass as Ne, createTextVNode as U, Fragment as fe, renderList as _e, createBlock as V, withModifiers as Zo } from "vue";
5
+ import { openBlock as y, createElementBlock as M, withDirectives as He, createElementVNode as l, vShow as Ge, toDisplayString as C, normalizeStyle as Q, createCommentVNode as O, resolveComponent as w, createVNode as h, withCtx as g, mergeProps as j, normalizeClass as Ne, createTextVNode as U, Fragment as fe, renderList as _e, createBlock as V, withModifiers as Zo } from "vue";
6
6
  import Pe from "mapbox-gl";
7
7
  import { LngLatHelper as ae, TropicalHelper as Ho, LaneHelper as Be } from "@idm-plugin/geo";
8
8
  import * as F from "@turf/turf";
@@ -109,7 +109,7 @@ const X = (o, e) => {
109
109
  }
110
110
  };
111
111
  function $o(o, e, t, i, a, r) {
112
- return y(), T("div");
112
+ return y(), M("div");
113
113
  }
114
114
  const ea = /* @__PURE__ */ X(Qo, [["render", $o]]), ta = {
115
115
  name: "IdmGmdssArea",
@@ -233,7 +233,7 @@ const ea = /* @__PURE__ */ X(Qo, [["render", $o]]), ta = {
233
233
  }
234
234
  };
235
235
  function oa(o, e, t, i, a, r) {
236
- return y(), T("div");
236
+ return y(), M("div");
237
237
  }
238
238
  const aa = /* @__PURE__ */ X(ta, [["render", oa]]), ia = {
239
239
  name: "IdmEcaZone",
@@ -328,7 +328,7 @@ const aa = /* @__PURE__ */ X(ta, [["render", oa]]), ia = {
328
328
  }
329
329
  };
330
330
  function ra(o, e, t, i, a, r) {
331
- return y(), T("div");
331
+ return y(), M("div");
332
332
  }
333
333
  const la = /* @__PURE__ */ X(ia, [["render", ra]]);
334
334
  const sa = {
@@ -465,7 +465,7 @@ const sa = {
465
465
  }, na = { id: "idm-gl4-zone-info" }, ca = ["innerHTML"];
466
466
  function ma(o, e, t, i, a, r) {
467
467
  var s;
468
- return He((y(), T("div", na, [
468
+ return He((y(), M("div", na, [
469
469
  l("div", {
470
470
  class: "iconfont close",
471
471
  onClick: e[0] || (e[0] = (c) => a.showZone = !1)
@@ -583,7 +583,7 @@ const da = {
583
583
  style: { "align-items": "flex-start" }
584
584
  }, wa = { class: "meteo-forecast flex-end" };
585
585
  function xa(o, e, t, i, a, r) {
586
- return He((y(), T("div", pa, [
586
+ return He((y(), M("div", pa, [
587
587
  l("div", {
588
588
  class: "close iconfont",
589
589
  onClick: e[0] || (e[0] = (s) => a.showPort = !1)
@@ -687,7 +687,7 @@ const va = /* @__PURE__ */ X(da, [["render", xa], ["__scopeId", "data-v-62f79fef
687
687
  }
688
688
  };
689
689
  function ka(o, e, t, i, a, r) {
690
- return y(), T("div");
690
+ return y(), M("div");
691
691
  }
692
692
  const za = /* @__PURE__ */ X(_a, [["render", ka]]), La = {
693
693
  name: "IdmTimezone",
@@ -856,7 +856,7 @@ const za = /* @__PURE__ */ X(_a, [["render", ka]]), La = {
856
856
  }
857
857
  };
858
858
  function Pa(o, e, t, i, a, r) {
859
- return y(), T("div");
859
+ return y(), M("div");
860
860
  }
861
861
  const Ca = /* @__PURE__ */ X(La, [["render", Pa]]), Sa = {
862
862
  name: "IdmVoluntaryReportingArea",
@@ -948,7 +948,7 @@ const Ca = /* @__PURE__ */ X(La, [["render", Pa]]), Sa = {
948
948
  }
949
949
  };
950
950
  function Ma(o, e, t, i, a, r) {
951
- return y(), T("div");
951
+ return y(), M("div");
952
952
  }
953
953
  const Ta = /* @__PURE__ */ X(Sa, [["render", Ma]]), Ra = {
954
954
  name: "IdmSpecialArea",
@@ -1042,7 +1042,7 @@ const Ta = /* @__PURE__ */ X(Sa, [["render", Ma]]), Ra = {
1042
1042
  }
1043
1043
  };
1044
1044
  function Ia(o, e, t, i, a, r) {
1045
- return y(), T("div");
1045
+ return y(), M("div");
1046
1046
  }
1047
1047
  const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
1048
1048
  name: "IdmTerminator",
@@ -1065,7 +1065,7 @@ const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
1065
1065
  },
1066
1066
  computed: {
1067
1067
  layerColor() {
1068
- return ["satellite", "dark"].includes(this.mapFeather) ? "rgba(0, 0, 0, 0.6)" : "rgba(0, 0, 0, 0.2)";
1068
+ return ["satellite", "dark"].includes(this.mapFeather), "rgba(0, 0, 0, 0.2)";
1069
1069
  }
1070
1070
  },
1071
1071
  watch: {
@@ -1104,7 +1104,7 @@ const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
1104
1104
  }
1105
1105
  };
1106
1106
  function Oa(o, e, t, i, a, r) {
1107
- return y(), T("div");
1107
+ return y(), M("div");
1108
1108
  }
1109
1109
  const Ba = /* @__PURE__ */ X(Da, [["render", Oa]]), ja = {
1110
1110
  name: "IdmWorld12nm",
@@ -1408,7 +1408,7 @@ const Ya = {
1408
1408
  }
1409
1409
  };
1410
1410
  function Za(o, e, t, i, a, r) {
1411
- return a.lngLat ? (y(), T("div", {
1411
+ return a.lngLat ? (y(), M("div", {
1412
1412
  key: 0,
1413
1413
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
1414
1414
  style: Q({ right: a.right + "px" })
@@ -1619,27 +1619,27 @@ const Xa = {
1619
1619
  this.layerWeight !== o && (this.layerWeight = o, this.fetchOtherLayers({ all: !0 }));
1620
1620
  }
1621
1621
  }
1622
- }, qa = { class: "idm-gl4-other-layer" }, Ka = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Ja = { class: "text-h5" }, Qa = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, $a = { class: "layers-body my-4 d-flex justify-start align-center flex-wrap ga-2" }, ei = ["onClick"], ti = { class: "bg-white" }, oi = {
1622
+ }, qa = { class: "idm-gl4-other-layer" }, Ka = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Ja = { class: "text-h5" }, Qa = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, $a = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, ei = ["onClick"], ti = {
1623
1623
  key: 0,
1624
1624
  src: "https://osshz.idmwx.com/asset/dark-map.png",
1625
1625
  class: "border rounded-sm"
1626
- }, ai = {
1626
+ }, oi = {
1627
1627
  key: 1,
1628
1628
  src: "https://osshz.idmwx.com/asset/nautical-map.png",
1629
1629
  class: "border rounded-sm"
1630
- }, ii = {
1630
+ }, ai = {
1631
1631
  key: 2,
1632
1632
  src: "https://osshz.idmwx.com/asset/satellite-map.png",
1633
1633
  class: "border rounded-sm"
1634
- }, ri = {
1634
+ }, ii = {
1635
1635
  key: 3,
1636
1636
  src: "https://osshz.idmwx.com/asset/light-map.png",
1637
1637
  class: "border rounded-sm"
1638
- }, li = { class: "text-body-2 text-center pt-1" }, si = { class: "layers-body" }, ni = { class: "layers-body" }, ci = { class: "layers-body" }, mi = { class: "layers-body" };
1639
- function hi(o, e, t, i, a, r) {
1638
+ }, ri = { class: "text-body-2 text-center pt-1" }, li = { class: "layers-body" }, si = { class: "layers-body" }, ni = { class: "layers-body" }, ci = { class: "layers-body" };
1639
+ function mi(o, e, t, i, a, r) {
1640
1640
  var G, W, $, ee, K, se, me, pe, he, q;
1641
- const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), d = w("VCheckbox"), m = w("VCardText"), b = w("VCard"), f = w("IdmWorld12nm"), L = w("IdmWorldMarine"), S = w("IdmChinaRoute"), P = w("IdmWarZone"), E = w("IdmGmdssArea"), M = w("IdmEcaZone"), k = w("IdmAlertZone"), v = w("IdmPort"), _ = w("IdmLoadLine"), z = w("IdmTimezone"), x = w("IdmVRA"), R = w("IdmSpecialArea"), H = w("IdmTerminator"), Y = w("IdmLatLng");
1642
- return y(), T("div", qa, [
1641
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), d = w("VCheckbox"), m = w("VCardText"), b = w("VCard"), f = w("IdmWorld12nm"), L = w("IdmWorldMarine"), S = w("IdmChinaRoute"), P = w("IdmWarZone"), E = w("IdmGmdssArea"), T = w("IdmEcaZone"), k = w("IdmAlertZone"), v = w("IdmPort"), _ = w("IdmLoadLine"), z = w("IdmTimezone"), x = w("IdmVRA"), R = w("IdmSpecialArea"), H = w("IdmTerminator"), Y = w("IdmLatLng");
1642
+ return y(), M("div", qa, [
1643
1643
  l("div", {
1644
1644
  class: "menu-bar-box transition px-1 rounded",
1645
1645
  style: Q({ top: t.top + 10 + "px", right: a.right + "px" })
@@ -1714,23 +1714,21 @@ function hi(o, e, t, i, a, r) {
1714
1714
  h(m, null, {
1715
1715
  default: g(() => [
1716
1716
  l("div", $a, [
1717
- (y(!0), T(fe, null, _e(a.mapFeathers, (I) => (y(), T("div", {
1717
+ (y(!0), M(fe, null, _e(a.mapFeathers, (I) => (y(), M("div", {
1718
1718
  key: I.value,
1719
- class: "mb-4 feather-item",
1719
+ class: "mb-2 feather-item",
1720
1720
  onClick: (ne) => r.handleToggleMapFeather(I)
1721
1721
  }, [
1722
1722
  l("div", {
1723
- class: Ne(a.mapFeather === I.value ? "bg-primary" : "bg-grey-lighten-1")
1723
+ class: Ne([a.mapFeather === I.value ? "active" : "", "img-box"])
1724
1724
  }, [
1725
- l("div", ti, [
1726
- I.value === "dark" ? (y(), T("img", oi)) : I.value === "nautical" ? (y(), T("img", ai)) : I.value === "satellite" ? (y(), T("img", ii)) : (y(), T("img", ri))
1727
- ])
1725
+ I.value === "dark" ? (y(), M("img", ti)) : I.value === "nautical" ? (y(), M("img", oi)) : I.value === "satellite" ? (y(), M("img", ai)) : (y(), M("img", ii))
1728
1726
  ], 2),
1729
- l("div", li, C(o.$t(`layer.${I.locale}`)), 1)
1727
+ l("div", ri, C(o.$t(`layer.${I.locale}`)), 1)
1730
1728
  ], 8, ei))), 128))
1731
1729
  ]),
1732
- l("div", si, [
1733
- (y(!0), T(fe, null, _e(a.tagLayers.filter((I) => ["graticule", "day-night", "time-zones"].includes(I.key)), (I) => (y(), V(d, {
1730
+ l("div", li, [
1731
+ (y(!0), M(fe, null, _e(a.tagLayers.filter((I) => ["graticule", "day-night", "time-zones"].includes(I.key)), (I) => (y(), V(d, {
1734
1732
  key: I.key,
1735
1733
  modelValue: a.checkList,
1736
1734
  "onUpdate:modelValue": e[0] || (e[0] = (ne) => a.checkList = ne),
@@ -1770,8 +1768,8 @@ function hi(o, e, t, i, a, r) {
1770
1768
  }),
1771
1769
  h(m, null, {
1772
1770
  default: g(() => [
1773
- l("div", ni, [
1774
- (y(!0), T(fe, null, _e(a.tagLayers.filter((I) => ["ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
1771
+ l("div", si, [
1772
+ (y(!0), M(fe, null, _e(a.tagLayers.filter((I) => ["ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
1775
1773
  key: I.key,
1776
1774
  modelValue: a.checkList,
1777
1775
  "onUpdate:modelValue": e[1] || (e[1] = (ne) => a.checkList = ne),
@@ -1811,8 +1809,8 @@ function hi(o, e, t, i, a, r) {
1811
1809
  }),
1812
1810
  h(m, null, {
1813
1811
  default: g(() => [
1814
- l("div", ci, [
1815
- (y(!0), T(fe, null, _e(a.tagLayers.filter((I) => !["graticule", "day-night", "time-zones", "ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
1812
+ l("div", ni, [
1813
+ (y(!0), M(fe, null, _e(a.tagLayers.filter((I) => !["graticule", "day-night", "time-zones", "ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
1816
1814
  key: I.key,
1817
1815
  modelValue: a.checkList,
1818
1816
  "onUpdate:modelValue": e[2] || (e[2] = (ne) => a.checkList = ne),
@@ -1852,7 +1850,7 @@ function hi(o, e, t, i, a, r) {
1852
1850
  }),
1853
1851
  h(m, null, {
1854
1852
  default: g(() => [
1855
- l("div", mi, [
1853
+ l("div", ci, [
1856
1854
  h(d, {
1857
1855
  modelValue: a.followList,
1858
1856
  "onUpdate:modelValue": e[3] || (e[3] = (I) => a.followList = I),
@@ -1912,7 +1910,7 @@ function hi(o, e, t, i, a, r) {
1912
1910
  map: t.map,
1913
1911
  area: (W = a.otherLayers) == null ? void 0 : W["gmdss-areas"]
1914
1912
  }, o.$attrs), null, 16, ["map", "area"])) : O("", !0),
1915
- t.map ? (y(), V(M, j({
1913
+ t.map ? (y(), V(T, j({
1916
1914
  key: 5,
1917
1915
  map: t.map,
1918
1916
  zone: ($ = a.otherLayers) == null ? void 0 : $["eca-zones"]
@@ -1962,7 +1960,7 @@ function hi(o, e, t, i, a, r) {
1962
1960
  }, o.$attrs), null, 16, ["map", "menu-toggle", "show"])) : O("", !0)
1963
1961
  ]);
1964
1962
  }
1965
- const di = /* @__PURE__ */ X(Xa, [["render", hi]]);
1963
+ const hi = /* @__PURE__ */ X(Xa, [["render", mi]]);
1966
1964
  class Ke {
1967
1965
  constructor(e) {
1968
1966
  le(this, "map");
@@ -2199,7 +2197,7 @@ class De {
2199
2197
  d.resolution && t.uniform2f(d.resolution, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, a), d.image && t.uniform1i(d.image, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, r), d.color && t.uniform1i(d.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (d.uvRange && t.uniform2f(d.uvRange, c.uvRange[0], c.uvRange[1]), d.sRange && t.uniform2f(d.sRange, c.sRange[0], c.sRange[1])), d.scale && t.uniform1f(d.scale, (c == null ? void 0 : c.scale) || 1);
2200
2198
  const m = e.getBoundPixel(), b = e.map.getZoom() + 1, f = e.getWorldCopy(m, b);
2201
2199
  for (const L of f) {
2202
- const S = (L[0] - m[0]) * e.ratio, P = (L[1] - m[3]) * e.ratio, E = L[2] * e.ratio, [M, k, v, _] = [S, E + S, P, E + P], z = new Float32Array([M, v, k, v, M, _, M, _, k, v, k, _]);
2200
+ const S = (L[0] - m[0]) * e.ratio, P = (L[1] - m[3]) * e.ratio, E = L[2] * e.ratio, [T, k, v, _] = [S, E + S, P, E + P], z = new Float32Array([T, v, k, v, T, _, T, _, k, v, k, _]);
2203
2201
  t.bindBuffer(t.ARRAY_BUFFER, s), t.bufferData(t.ARRAY_BUFFER, z, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
2204
2202
  }
2205
2203
  } catch (d) {
@@ -2446,7 +2444,7 @@ le(ve, "vertexSchema", `
2446
2444
  fract(pos * 255.0),
2447
2445
  floor(pos * 255.0) / 255.0);
2448
2446
  }`);
2449
- const pi = {
2447
+ const di = {
2450
2448
  name: "IdmWindBarb",
2451
2449
  props: {
2452
2450
  map: {
@@ -2594,14 +2592,14 @@ const pi = {
2594
2592
  this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
2595
2593
  }
2596
2594
  }
2597
- }, ui = {
2595
+ }, pi = {
2598
2596
  key: 0,
2599
2597
  class: "legend-tip-btn-gl4"
2600
- }, gi = { class: "d-flex flex-row justify-center align-center" }, fi = { class: "text-caption" };
2601
- function bi(o, e, t, i, a, r) {
2598
+ }, ui = { class: "d-flex flex-row justify-center align-center" }, gi = { class: "text-caption" };
2599
+ function fi(o, e, t, i, a, r) {
2602
2600
  var m;
2603
2601
  const s = w("v-btn"), c = w("v-col"), n = w("v-row"), u = w("v-card-text"), d = w("v-card");
2604
- return (m = t.wind) != null && m.active ? (y(), T("div", ui, [
2602
+ return (m = t.wind) != null && m.active ? (y(), M("div", pi, [
2605
2603
  l("div", {
2606
2604
  class: "menu-bar-box pa-1 rounded",
2607
2605
  style: Q({ right: a.right + "px" })
@@ -2633,18 +2631,18 @@ function bi(o, e, t, i, a, r) {
2633
2631
  e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Wind Level", -1)),
2634
2632
  h(n, { class: "ma-0" }, {
2635
2633
  default: g(() => [
2636
- (y(!0), T(fe, null, _e(a.barbs, (b, f) => (y(), V(c, {
2634
+ (y(!0), M(fe, null, _e(a.barbs, (b, f) => (y(), V(c, {
2637
2635
  cols: "6",
2638
2636
  key: b,
2639
2637
  class: "d-flex flex-row justify-center align-center pa-1"
2640
2638
  }, {
2641
2639
  default: g(() => [
2642
- l("div", gi, [
2640
+ l("div", ui, [
2643
2641
  l("i", {
2644
2642
  class: Ne(["iconfont", r.barbsIconName[f]]),
2645
- style: Q({ color: t.theme === "customDark" ? "#fff" : "#000" })
2643
+ style: Q({ color: t.theme === "dark" ? "#fff" : "#000" })
2646
2644
  }, null, 6),
2647
- l("span", fi, C(Number(b) < 10 ? `00${b}kts` : Number(b) < 100 ? `0${b}kts` : `${b}kts`), 1)
2645
+ l("span", gi, C(Number(b) < 10 ? `00${b}kts` : Number(b) < 100 ? `0${b}kts` : `${b}kts`), 1)
2648
2646
  ])
2649
2647
  ]),
2650
2648
  _: 2
@@ -2663,8 +2661,8 @@ function bi(o, e, t, i, a, r) {
2663
2661
  ])
2664
2662
  ])) : O("", !0);
2665
2663
  }
2666
- const yi = /* @__PURE__ */ X(pi, [["render", bi]]);
2667
- const wi = {
2664
+ const bi = /* @__PURE__ */ X(di, [["render", fi]]);
2665
+ const yi = {
2668
2666
  name: "IdmWindParticle",
2669
2667
  props: {
2670
2668
  factor: {
@@ -2830,10 +2828,10 @@ const wi = {
2830
2828
  (o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
2831
2829
  }
2832
2830
  }
2833
- }, xi = { key: 0 };
2834
- function vi(o, e, t, i, a, r) {
2831
+ }, wi = { key: 0 };
2832
+ function xi(o, e, t, i, a, r) {
2835
2833
  var s;
2836
- return (s = t.factor) != null && s.active ? (y(), T("div", xi, [
2834
+ return (s = t.factor) != null && s.active ? (y(), M("div", wi, [
2837
2835
  l("div", {
2838
2836
  class: "legend-bars-gl4 wind",
2839
2837
  style: Q({ right: a.right + "px" })
@@ -2849,7 +2847,7 @@ function vi(o, e, t, i, a, r) {
2849
2847
  ]), 4)
2850
2848
  ])) : O("", !0);
2851
2849
  }
2852
- const _i = /* @__PURE__ */ X(wi, [["render", vi]]), ki = {
2850
+ const vi = /* @__PURE__ */ X(yi, [["render", xi]]), _i = {
2853
2851
  name: "IdmCurrent",
2854
2852
  props: {
2855
2853
  map: {
@@ -3024,17 +3022,17 @@ const _i = /* @__PURE__ */ X(wi, [["render", vi]]), ki = {
3024
3022
  this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
3025
3023
  }
3026
3024
  }
3027
- }, zi = {
3025
+ }, ki = {
3028
3026
  key: 0,
3029
3027
  class: "legend-tip-btn-gl4"
3030
- }, Li = { class: "d-flex flex-row justify-start align-center" }, Pi = {
3028
+ }, zi = { class: "d-flex flex-row justify-start align-center" }, Li = {
3031
3029
  class: "d-flex flex-row justify-center align-center",
3032
3030
  style: { width: "48px" }
3033
- }, Ci = { class: "text-caption px-2" };
3034
- function Si(o, e, t, i, a, r) {
3031
+ }, Pi = { class: "text-caption px-2" };
3032
+ function Ci(o, e, t, i, a, r) {
3035
3033
  var b;
3036
3034
  const s = w("v-btn"), c = w("v-tooltip"), n = w("v-col"), u = w("v-row"), d = w("v-card-text"), m = w("v-card");
3037
- return (b = t.current) != null && b.active ? (y(), T("div", zi, [
3035
+ return (b = t.current) != null && b.active ? (y(), M("div", ki, [
3038
3036
  l("div", {
3039
3037
  class: "menu-bar-box pa-1 rounded",
3040
3038
  style: Q({ right: a.right + "px" })
@@ -3075,20 +3073,20 @@ function Si(o, e, t, i, a, r) {
3075
3073
  e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Current", -1)),
3076
3074
  h(u, { class: "ma-0" }, {
3077
3075
  default: g(() => [
3078
- (y(!0), T(fe, null, _e(a.list, (f, L) => (y(), V(n, {
3076
+ (y(!0), M(fe, null, _e(a.list, (f, L) => (y(), V(n, {
3079
3077
  cols: "12",
3080
3078
  key: L,
3081
3079
  class: "d-flex flex-row justify-start align-center pa-0"
3082
3080
  }, {
3083
3081
  default: g(() => [
3084
- l("div", Li, [
3085
- l("div", Pi, [
3082
+ l("div", zi, [
3083
+ l("div", Li, [
3086
3084
  l("i", {
3087
3085
  class: "iconfont icon-direction-arrow opacity-80",
3088
3086
  style: Q({ fontSize: 48 * f.size + "px" })
3089
3087
  }, null, 4)
3090
3088
  ]),
3091
- l("div", Ci, C(f.label), 1)
3089
+ l("div", Pi, C(f.label), 1)
3092
3090
  ])
3093
3091
  ]),
3094
3092
  _: 2
@@ -3107,8 +3105,8 @@ function Si(o, e, t, i, a, r) {
3107
3105
  ])
3108
3106
  ])) : O("", !0);
3109
3107
  }
3110
- const Mi = /* @__PURE__ */ X(ki, [["render", Si]]);
3111
- const Ti = {
3108
+ const Si = /* @__PURE__ */ X(_i, [["render", Ci]]);
3109
+ const Mi = {
3112
3110
  name: "IdmCurrentParticle",
3113
3111
  props: {
3114
3112
  factor: {
@@ -3271,10 +3269,10 @@ const Ti = {
3271
3269
  (o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
3272
3270
  }
3273
3271
  }
3274
- }, Ri = { key: 0 };
3275
- function Ii(o, e, t, i, a, r) {
3272
+ }, Ti = { key: 0 };
3273
+ function Ri(o, e, t, i, a, r) {
3276
3274
  var s;
3277
- return (s = t.factor) != null && s.active ? (y(), T("div", Ri, [
3275
+ return (s = t.factor) != null && s.active ? (y(), M("div", Ti, [
3278
3276
  l("div", {
3279
3277
  class: "legend-bars-gl4 current",
3280
3278
  style: Q({ right: a.right + "px" })
@@ -3289,8 +3287,8 @@ function Ii(o, e, t, i, a, r) {
3289
3287
  ]), 4)
3290
3288
  ])) : O("", !0);
3291
3289
  }
3292
- const Ai = /* @__PURE__ */ X(Ti, [["render", Ii]]);
3293
- const Di = {
3290
+ const Ii = /* @__PURE__ */ X(Mi, [["render", Ri]]);
3291
+ const Ai = {
3294
3292
  name: "IdmTemp",
3295
3293
  props: {
3296
3294
  factor: {
@@ -3399,10 +3397,10 @@ const Di = {
3399
3397
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
3400
3398
  }
3401
3399
  }
3402
- }, Oi = { key: 0 };
3403
- function Bi(o, e, t, i, a, r) {
3400
+ }, Di = { key: 0 };
3401
+ function Oi(o, e, t, i, a, r) {
3404
3402
  var s;
3405
- return (s = t.factor) != null && s.active ? (y(), T("div", Oi, [
3403
+ return (s = t.factor) != null && s.active ? (y(), M("div", Di, [
3406
3404
  l("div", {
3407
3405
  class: "legend-bars-gl4 sig-wave",
3408
3406
  style: Q({ right: a.right + "px" })
@@ -3417,7 +3415,7 @@ function Bi(o, e, t, i, a, r) {
3417
3415
  ]), 4)
3418
3416
  ])) : O("", !0);
3419
3417
  }
3420
- const ji = /* @__PURE__ */ X(Di, [["render", Bi], ["__scopeId", "data-v-79ce70e2"]]), Ei = {
3418
+ const Bi = /* @__PURE__ */ X(Ai, [["render", Oi], ["__scopeId", "data-v-79ce70e2"]]), ji = {
3421
3419
  name: "IdmSigWave",
3422
3420
  props: {
3423
3421
  map: {
@@ -3567,17 +3565,17 @@ const ji = /* @__PURE__ */ X(Di, [["render", Bi], ["__scopeId", "data-v-79ce70e2
3567
3565
  this.map.getLayer(this.heightLayer) && this.map.removeLayer(this.heightLayer), this.map.getLayer(this.heightLabelLayer) && this.map.removeLayer(this.heightLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
3568
3566
  }
3569
3567
  }
3570
- }, Fi = {
3568
+ }, Ei = {
3571
3569
  key: 0,
3572
3570
  class: "legend-tip-btn-gl4"
3573
- }, Ni = { class: "d-flex flex-row justify-start align-center" }, Hi = {
3571
+ }, Fi = { class: "d-flex flex-row justify-start align-center" }, Ni = {
3574
3572
  key: 0,
3575
3573
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
3576
- }, Gi = { class: "text-caption px-2" };
3577
- function Wi(o, e, t, i, a, r) {
3574
+ }, Hi = { class: "text-caption px-2" };
3575
+ function Gi(o, e, t, i, a, r) {
3578
3576
  var m;
3579
3577
  const s = w("v-btn"), c = w("v-col"), n = w("v-row"), u = w("v-card-text"), d = w("v-card");
3580
- return (m = t.sigWaveHeight) != null && m.active ? (y(), T("div", Fi, [
3578
+ return (m = t.sigWaveHeight) != null && m.active ? (y(), M("div", Ei, [
3581
3579
  l("div", {
3582
3580
  class: "menu-bar-box pa-1 rounded",
3583
3581
  style: Q({ right: a.right + "px" })
@@ -3609,18 +3607,18 @@ function Wi(o, e, t, i, a, r) {
3609
3607
  e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Wave Height", -1)),
3610
3608
  h(n, { class: "ma-0" }, {
3611
3609
  default: g(() => [
3612
- (y(!0), T(fe, null, _e(a.list, (b, f) => (y(), V(c, {
3610
+ (y(!0), M(fe, null, _e(a.list, (b, f) => (y(), V(c, {
3613
3611
  cols: "12",
3614
3612
  key: f,
3615
3613
  class: "d-flex flex-row justify-start align-center pa-1"
3616
3614
  }, {
3617
3615
  default: g(() => [
3618
- l("div", Ni, [
3619
- f === 0 ? (y(), T("div", Hi)) : (y(), T("div", {
3616
+ l("div", Fi, [
3617
+ f === 0 ? (y(), M("div", Ni)) : (y(), M("div", {
3620
3618
  key: 1,
3621
3619
  style: Q({ width: "24px", height: "12px", background: b.color })
3622
3620
  }, null, 4)),
3623
- l("div", Gi, C(b.label), 1)
3621
+ l("div", Hi, C(b.label), 1)
3624
3622
  ])
3625
3623
  ]),
3626
3624
  _: 2
@@ -3639,7 +3637,7 @@ function Wi(o, e, t, i, a, r) {
3639
3637
  ])
3640
3638
  ])) : O("", !0);
3641
3639
  }
3642
- const Ui = /* @__PURE__ */ X(Ei, [["render", Wi]]), Vi = {
3640
+ const Wi = /* @__PURE__ */ X(ji, [["render", Gi]]), Ui = {
3643
3641
  name: "IdmSwell",
3644
3642
  props: {
3645
3643
  map: {
@@ -3790,10 +3788,10 @@ const Ui = /* @__PURE__ */ X(Ei, [["render", Wi]]), Vi = {
3790
3788
  }
3791
3789
  }
3792
3790
  };
3793
- function Yi(o, e, t, i, a, r) {
3794
- return y(), T("div");
3791
+ function Vi(o, e, t, i, a, r) {
3792
+ return y(), M("div");
3795
3793
  }
3796
- const Zi = /* @__PURE__ */ X(Vi, [["render", Yi]]), Xi = {
3794
+ const Yi = /* @__PURE__ */ X(Ui, [["render", Vi]]), Zi = {
3797
3795
  name: "IdmPrmsl",
3798
3796
  props: {
3799
3797
  map: {
@@ -3919,14 +3917,14 @@ const Zi = /* @__PURE__ */ X(Vi, [["render", Yi]]), Xi = {
3919
3917
  this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
3920
3918
  }
3921
3919
  }
3922
- }, qi = {
3920
+ }, Xi = {
3923
3921
  key: 0,
3924
3922
  class: "legend-tip-btn-gl4"
3925
3923
  };
3926
- function Ki(o, e, t, i, a, r) {
3924
+ function qi(o, e, t, i, a, r) {
3927
3925
  var n;
3928
3926
  const s = w("v-btn"), c = w("v-tooltip");
3929
- return (n = t.prmsl) != null && n.active ? (y(), T("div", qi, [
3927
+ return (n = t.prmsl) != null && n.active ? (y(), M("div", Xi, [
3930
3928
  l("div", {
3931
3929
  class: "menu-bar-box pa-1 rounded",
3932
3930
  style: Q({ right: a.right + "px" })
@@ -3957,8 +3955,8 @@ function Ki(o, e, t, i, a, r) {
3957
3955
  ], 4)
3958
3956
  ])) : O("", !0);
3959
3957
  }
3960
- const Ji = /* @__PURE__ */ X(Xi, [["render", Ki]]);
3961
- const Qi = {
3958
+ const Ki = /* @__PURE__ */ X(Zi, [["render", qi]]);
3959
+ const Ji = {
3962
3960
  name: "IdmIceEdge",
3963
3961
  props: {
3964
3962
  factor: {
@@ -4059,10 +4057,10 @@ const Qi = {
4059
4057
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4060
4058
  }
4061
4059
  }
4062
- }, $i = { key: 0 };
4063
- function er(o, e, t, i, a, r) {
4060
+ }, Qi = { key: 0 };
4061
+ function $i(o, e, t, i, a, r) {
4064
4062
  var s;
4065
- return (s = t.factor) != null && s.active ? (y(), T("div", $i, [
4063
+ return (s = t.factor) != null && s.active ? (y(), M("div", Qi, [
4066
4064
  l("div", {
4067
4065
  class: "legend-bars-gl4 ice-edge",
4068
4066
  style: Q({ right: a.right + "px" })
@@ -4082,8 +4080,8 @@ function er(o, e, t, i, a, r) {
4082
4080
  ]), 4)
4083
4081
  ])) : O("", !0);
4084
4082
  }
4085
- const tr = /* @__PURE__ */ X(Qi, [["render", er]]);
4086
- const or = {
4083
+ const er = /* @__PURE__ */ X(Ji, [["render", $i]]);
4084
+ const tr = {
4087
4085
  name: "IdmCover",
4088
4086
  props: {
4089
4087
  factor: {
@@ -4175,10 +4173,10 @@ const or = {
4175
4173
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4176
4174
  }
4177
4175
  }
4178
- }, ar = { key: 0 };
4179
- function ir(o, e, t, i, a, r) {
4176
+ }, or = { key: 0 };
4177
+ function ar(o, e, t, i, a, r) {
4180
4178
  var s;
4181
- return (s = t.factor) != null && s.active ? (y(), T("div", ar, [
4179
+ return (s = t.factor) != null && s.active ? (y(), M("div", or, [
4182
4180
  l("div", {
4183
4181
  class: "legend-bars-gl4 ice-cover",
4184
4182
  style: Q({ right: a.right + "px" })
@@ -4192,8 +4190,8 @@ function ir(o, e, t, i, a, r) {
4192
4190
  ]), 4)
4193
4191
  ])) : O("", !0);
4194
4192
  }
4195
- const rr = /* @__PURE__ */ X(or, [["render", ir], ["__scopeId", "data-v-9696d73b"]]);
4196
- const lr = {
4193
+ const ir = /* @__PURE__ */ X(tr, [["render", ar], ["__scopeId", "data-v-9696d73b"]]);
4194
+ const rr = {
4197
4195
  name: "IdmThickness",
4198
4196
  props: {
4199
4197
  factor: {
@@ -4293,10 +4291,10 @@ const lr = {
4293
4291
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4294
4292
  }
4295
4293
  }
4296
- }, sr = { key: 0 };
4297
- function nr(o, e, t, i, a, r) {
4294
+ }, lr = { key: 0 };
4295
+ function sr(o, e, t, i, a, r) {
4298
4296
  var s;
4299
- return (s = t.factor) != null && s.active ? (y(), T("div", sr, [
4297
+ return (s = t.factor) != null && s.active ? (y(), M("div", lr, [
4300
4298
  l("div", {
4301
4299
  class: "legend-bars-gl4 ice-thickness",
4302
4300
  style: Q({ right: a.right + "px" })
@@ -4311,8 +4309,8 @@ function nr(o, e, t, i, a, r) {
4311
4309
  ]), 4)
4312
4310
  ])) : O("", !0);
4313
4311
  }
4314
- const cr = /* @__PURE__ */ X(lr, [["render", nr]]);
4315
- const mr = {
4312
+ const nr = /* @__PURE__ */ X(rr, [["render", sr]]);
4313
+ const cr = {
4316
4314
  name: "IdmPrecip3h",
4317
4315
  props: {
4318
4316
  factor: {
@@ -4413,10 +4411,10 @@ const mr = {
4413
4411
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4414
4412
  }
4415
4413
  }
4416
- }, hr = { key: 0 };
4417
- function dr(o, e, t, i, a, r) {
4414
+ }, mr = { key: 0 };
4415
+ function hr(o, e, t, i, a, r) {
4418
4416
  var s;
4419
- return (s = t.factor) != null && s.active ? (y(), T("div", hr, [
4417
+ return (s = t.factor) != null && s.active ? (y(), M("div", mr, [
4420
4418
  l("div", {
4421
4419
  class: "legend-bars-gl4 precip3h",
4422
4420
  style: Q({ right: a.right + "px" })
@@ -4432,8 +4430,8 @@ function dr(o, e, t, i, a, r) {
4432
4430
  ]), 4)
4433
4431
  ])) : O("", !0);
4434
4432
  }
4435
- const pr = /* @__PURE__ */ X(mr, [["render", dr]]);
4436
- const ur = {
4433
+ const dr = /* @__PURE__ */ X(cr, [["render", hr]]);
4434
+ const pr = {
4437
4435
  name: "IdmVisibility",
4438
4436
  props: {
4439
4437
  factor: {
@@ -4524,10 +4522,10 @@ const ur = {
4524
4522
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4525
4523
  }
4526
4524
  }
4527
- }, gr = { key: 0 };
4528
- function fr(o, e, t, i, a, r) {
4525
+ }, ur = { key: 0 };
4526
+ function gr(o, e, t, i, a, r) {
4529
4527
  var s;
4530
- return (s = t.factor) != null && s.active ? (y(), T("div", gr, [
4528
+ return (s = t.factor) != null && s.active ? (y(), M("div", ur, [
4531
4529
  l("div", {
4532
4530
  class: "legend-bars-gl4 visibility",
4533
4531
  style: Q({ right: a.right + "px" })
@@ -4541,8 +4539,8 @@ function fr(o, e, t, i, a, r) {
4541
4539
  ]), 4)
4542
4540
  ])) : O("", !0);
4543
4541
  }
4544
- const br = /* @__PURE__ */ X(ur, [["render", fr]]);
4545
- const yr = {
4542
+ const fr = /* @__PURE__ */ X(pr, [["render", gr]]);
4543
+ const br = {
4546
4544
  name: "IdmWaterTemp",
4547
4545
  props: {
4548
4546
  factor: {
@@ -4636,10 +4634,10 @@ const yr = {
4636
4634
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4637
4635
  }
4638
4636
  }
4639
- }, wr = { key: 0 };
4640
- function xr(o, e, t, i, a, r) {
4637
+ }, yr = { key: 0 };
4638
+ function wr(o, e, t, i, a, r) {
4641
4639
  var s;
4642
- return (s = t.factor) != null && s.active ? (y(), T("div", wr, [
4640
+ return (s = t.factor) != null && s.active ? (y(), M("div", yr, [
4643
4641
  l("div", {
4644
4642
  class: "legend-bars-gl4 water-temp",
4645
4643
  style: Q({ right: a.right + "px" })
@@ -4653,8 +4651,8 @@ function xr(o, e, t, i, a, r) {
4653
4651
  ]), 4)
4654
4652
  ])) : O("", !0);
4655
4653
  }
4656
- const vr = /* @__PURE__ */ X(yr, [["render", xr]]);
4657
- const _r = {
4654
+ const xr = /* @__PURE__ */ X(br, [["render", wr]]);
4655
+ const vr = {
4658
4656
  name: "IdmTemp",
4659
4657
  props: {
4660
4658
  factor: {
@@ -4759,10 +4757,10 @@ const _r = {
4759
4757
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4760
4758
  }
4761
4759
  }
4762
- }, kr = { key: 0 };
4763
- function zr(o, e, t, i, a, r) {
4760
+ }, _r = { key: 0 };
4761
+ function kr(o, e, t, i, a, r) {
4764
4762
  var s;
4765
- return (s = t.factor) != null && s.active ? (y(), T("div", kr, [
4763
+ return (s = t.factor) != null && s.active ? (y(), M("div", _r, [
4766
4764
  l("div", {
4767
4765
  class: "legend-bars-gl4 temp",
4768
4766
  style: Q({ right: a.right + "px" })
@@ -4778,25 +4776,25 @@ function zr(o, e, t, i, a, r) {
4778
4776
  ]), 4)
4779
4777
  ])) : O("", !0);
4780
4778
  }
4781
- const Lr = /* @__PURE__ */ X(_r, [["render", zr]]);
4782
- const Pr = {
4779
+ const zr = /* @__PURE__ */ X(vr, [["render", kr]]);
4780
+ const Lr = {
4783
4781
  name: "IdmGlLayer",
4784
4782
  components: {
4785
- IdmWindBarb: yi,
4786
- IdmWindParticle: _i,
4787
- IdmCurrentDirection: Mi,
4788
- IdmCurrentParticle: Ai,
4789
- IdmWave: ji,
4790
- IdmSigWaveHeight: Ui,
4791
- IdmSwell: Zi,
4792
- IdmPrmsl: Ji,
4793
- IdmIceEdge: tr,
4794
- IdmIceCover: rr,
4795
- IdmIceThickness: cr,
4796
- IdmPrecip3h: pr,
4797
- IdmVisibility: br,
4798
- IdmWaterTemp: vr,
4799
- IdmTemp: Lr
4783
+ IdmWindBarb: bi,
4784
+ IdmWindParticle: vi,
4785
+ IdmCurrentDirection: Si,
4786
+ IdmCurrentParticle: Ii,
4787
+ IdmWave: Bi,
4788
+ IdmSigWaveHeight: Wi,
4789
+ IdmSwell: Yi,
4790
+ IdmPrmsl: Ki,
4791
+ IdmIceEdge: er,
4792
+ IdmIceCover: ir,
4793
+ IdmIceThickness: nr,
4794
+ IdmPrecip3h: dr,
4795
+ IdmVisibility: fr,
4796
+ IdmWaterTemp: xr,
4797
+ IdmTemp: zr
4800
4798
  },
4801
4799
  props: {
4802
4800
  isLogin: {
@@ -4996,21 +4994,21 @@ const Pr = {
4996
4994
  const f = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, L = (r = this.map) == null ? void 0 : r.getBounds(), S = `${L._sw.lng},${L._sw.lat},${L._ne.lng},${L._ne.lat}`;
4997
4995
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
4998
4996
  const P = Ve.WEATHER_LAYERS.find((E) => {
4999
- var M;
5000
- return ((M = E.peer) == null ? void 0 : M.weight) === this.particleFactor.weight;
4997
+ var T;
4998
+ return ((T = E.peer) == null ? void 0 : T.weight) === this.particleFactor.weight;
5001
4999
  });
5002
5000
  this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight : this.weatherWeight + P.weight : this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight - P.weight : this.weatherWeight;
5003
5001
  }
5004
5002
  if (this.weatherWeight > 0) {
5005
5003
  let P = this.weatherWeight;
5006
5004
  if (P > 0) {
5007
- const E = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], M = await Ie.get(`${E}/api/arc/weather/layers2/links?l=${P}&v=${this.forecastModel}&z=${f}&bbox=${S}&t=${this.realTime}`, {
5005
+ const E = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], T = await Ie.get(`${E}/api/arc/weather/layers2/links?l=${P}&v=${this.forecastModel}&z=${f}&bbox=${S}&t=${this.realTime}`, {
5008
5006
  headers: {
5009
5007
  Authorization: this.token || this.defaultMeteoToken
5010
5008
  }
5011
5009
  });
5012
- if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c = M == null ? void 0 : M.data) == null ? void 0 : c.code) === 0) {
5013
- const k = (n = M == null ? void 0 : M.data) == null ? void 0 : n.data, v = [];
5010
+ if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c = T == null ? void 0 : T.data) == null ? void 0 : c.code) === 0) {
5011
+ const k = (n = T == null ? void 0 : T.data) == null ? void 0 : n.data, v = [];
5014
5012
  for (const z in k)
5015
5013
  v.push(
5016
5014
  Ie.get(k[z], {
@@ -5031,7 +5029,7 @@ const Pr = {
5031
5029
  R && x && (this.weatherLayers[R] = {
5032
5030
  raw: x,
5033
5031
  type: ((W = z == null ? void 0 : z.config) == null ? void 0 : W.responseType) === "blob" ? "image" : "json",
5034
- etime: M.data.etime
5032
+ etime: T.data.etime
5035
5033
  });
5036
5034
  });
5037
5035
  }
@@ -5041,7 +5039,7 @@ const Pr = {
5041
5039
  type: "json",
5042
5040
  direction: k,
5043
5041
  height: { raw: v },
5044
- etime: M.data.etime
5042
+ etime: T.data.etime
5045
5043
  };
5046
5044
  }
5047
5045
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
@@ -5050,7 +5048,7 @@ const Pr = {
5050
5048
  type: "json",
5051
5049
  direction: k,
5052
5050
  speed: { raw: v },
5053
- etime: M.data.etime
5051
+ etime: T.data.etime
5054
5052
  };
5055
5053
  }
5056
5054
  }
@@ -5119,7 +5117,7 @@ const Pr = {
5119
5117
  for (const P in this.weatherLayers) {
5120
5118
  let E = !1;
5121
5119
  if (this.weatherLayers[P].active && this.weatherLayers[P].type === "json") {
5122
- let M = [];
5120
+ let T = [];
5123
5121
  if (P === "swell") {
5124
5122
  E = !0;
5125
5123
  const k = ((m = this.weatherLayers[P]) == null ? void 0 : m.direction) || {};
@@ -5134,14 +5132,14 @@ const Pr = {
5134
5132
  val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
5135
5133
  spd: (G = k[_].spd) == null ? void 0 : G[R]
5136
5134
  });
5137
- M.push(K);
5135
+ T.push(K);
5138
5136
  }
5139
5137
  } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5140
5138
  const K = F.point([x, _], {
5141
5139
  val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
5142
5140
  spd: (ee = k[_].spd) == null ? void 0 : ee[R]
5143
5141
  });
5144
- M.push(K);
5142
+ T.push(K);
5145
5143
  }
5146
5144
  }) : z.forEach((x, R) => {
5147
5145
  var H, Y, G, W, $, ee;
@@ -5151,14 +5149,14 @@ const Pr = {
5151
5149
  val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
5152
5150
  spd: (G = k[_].spd) == null ? void 0 : G[R]
5153
5151
  });
5154
- M.push(K);
5152
+ T.push(K);
5155
5153
  }
5156
5154
  } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5157
5155
  const K = F.point([x, _], {
5158
5156
  val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
5159
5157
  spd: (ee = k[_].spd) == null ? void 0 : ee[R]
5160
5158
  });
5161
- M.push(K);
5159
+ T.push(K);
5162
5160
  }
5163
5161
  });
5164
5162
  }
@@ -5180,7 +5178,7 @@ const Pr = {
5180
5178
  }
5181
5179
  if (v.data) {
5182
5180
  const _ = this.handleBboxClip(v.data, i);
5183
- M = M.concat(_);
5181
+ T = T.concat(_);
5184
5182
  }
5185
5183
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("swell height elapsed: ", t, ", total: ", e += t);
5186
5184
  }
@@ -5198,14 +5196,14 @@ const Pr = {
5198
5196
  val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
5199
5197
  spd: (G = k[_].spd) == null ? void 0 : G[R]
5200
5198
  });
5201
- M.push(K);
5199
+ T.push(K);
5202
5200
  }
5203
5201
  } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5204
5202
  const K = F.point([x, _], {
5205
5203
  val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
5206
5204
  spd: (ee = k[_].spd) == null ? void 0 : ee[R]
5207
5205
  });
5208
- M.push(K);
5206
+ T.push(K);
5209
5207
  }
5210
5208
  }) : z.forEach((x, R) => {
5211
5209
  var H, Y, G, W, $, ee;
@@ -5215,14 +5213,14 @@ const Pr = {
5215
5213
  val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
5216
5214
  spd: (G = k[_].spd) == null ? void 0 : G[R]
5217
5215
  });
5218
- M.push(K);
5216
+ T.push(K);
5219
5217
  }
5220
5218
  } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < this.zoom / 2 ? 5 : 3) === 0)) {
5221
5219
  const K = F.point([x, _], {
5222
5220
  val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
5223
5221
  spd: (ee = k[_].spd) == null ? void 0 : ee[R]
5224
5222
  });
5225
- M.push(K);
5223
+ T.push(K);
5226
5224
  }
5227
5225
  });
5228
5226
  }
@@ -5243,7 +5241,7 @@ const Pr = {
5243
5241
  v.data = F.featureCollection(z);
5244
5242
  }
5245
5243
  const _ = a < this.zoom ? v.data.features.filter((z) => z.properties.val > 0.5) : v.data.features;
5246
- M = M.concat(_), t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
5244
+ T = T.concat(_), t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
5247
5245
  }
5248
5246
  } else if (P === "wind") {
5249
5247
  E = !0;
@@ -5259,14 +5257,14 @@ const Pr = {
5259
5257
  dir: ((R = k[v].val) == null ? void 0 : R[x]) || ((H = k[v].dir) == null ? void 0 : H[x]),
5260
5258
  spd: k[v].spd[x]
5261
5259
  });
5262
- M.push(W);
5260
+ T.push(W);
5263
5261
  }
5264
5262
  } else if ((z >= r && z <= 180 || z >= -180 && z <= s) && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5265
5263
  const W = F.point([z, v], {
5266
5264
  dir: ((Y = k[v].val) == null ? void 0 : Y[x]) || ((G = k[v].dir) == null ? void 0 : G[x]),
5267
5265
  spd: k[v].spd[x]
5268
5266
  });
5269
- M.push(W);
5267
+ T.push(W);
5270
5268
  }
5271
5269
  }) : _.forEach((z, x) => {
5272
5270
  var R, H, Y, G;
@@ -5276,21 +5274,21 @@ const Pr = {
5276
5274
  dir: ((R = k[v].val) == null ? void 0 : R[x]) || ((H = k[v].dir) == null ? void 0 : H[x]),
5277
5275
  spd: k[v].spd[x]
5278
5276
  });
5279
- M.push(W);
5277
+ T.push(W);
5280
5278
  }
5281
5279
  } else if (z >= r && z <= s && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5282
5280
  const W = F.point([z, v], {
5283
5281
  dir: ((Y = k[v].val) == null ? void 0 : Y[x]) || ((G = k[v].dir) == null ? void 0 : G[x]),
5284
5282
  spd: k[v].spd[x]
5285
5283
  });
5286
- M.push(W);
5284
+ T.push(W);
5287
5285
  }
5288
5286
  });
5289
5287
  }
5290
5288
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("wind barb elapsed: ", t, ", total: ", e += t);
5291
5289
  } else if (P === "sig-wave-height") {
5292
5290
  if (this.weatherLayers[P].data)
5293
- M = this.weatherLayers[P].data;
5291
+ T = this.weatherLayers[P].data;
5294
5292
  else {
5295
5293
  E = !0;
5296
5294
  const k = this.weatherLayers[P].raw;
@@ -5314,13 +5312,13 @@ const Pr = {
5314
5312
  })
5315
5313
  );
5316
5314
  }
5317
- M = M.concat(v);
5315
+ T = T.concat(v);
5318
5316
  }
5319
5317
  }
5320
5318
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("sig-wave-height elapsed: ", t, ", total: ", e += t);
5321
5319
  } else if (P === "prmsl") {
5322
5320
  if (this.weatherLayers[P].data)
5323
- M = this.weatherLayers[P].data;
5321
+ T = this.weatherLayers[P].data;
5324
5322
  else {
5325
5323
  E = !0;
5326
5324
  const k = this.weatherLayers[P].raw;
@@ -5344,12 +5342,12 @@ const Pr = {
5344
5342
  })
5345
5343
  );
5346
5344
  });
5347
- M = M.concat(v);
5345
+ T = T.concat(v);
5348
5346
  }
5349
5347
  }
5350
5348
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
5351
5349
  }
5352
- M.length && (this.weatherLayers[P].data = F.featureCollection(M)), E && (this.weatherLayers[P].version = Math.random() + 1);
5350
+ T.length && (this.weatherLayers[P].data = F.featureCollection(T)), E && (this.weatherLayers[P].version = Math.random() + 1);
5353
5351
  }
5354
5352
  }
5355
5353
  },
@@ -5374,20 +5372,20 @@ const Pr = {
5374
5372
  }), t;
5375
5373
  }
5376
5374
  }
5377
- }, Cr = { class: "idm-gl4-meteo-layers" }, Sr = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Mr = { class: "d-flex justify-start align-center ga-3" }, Tr = { class: "text-h5" }, Rr = { class: "layers-body" }, Ir = { class: "layers-body" }, Ar = {
5375
+ }, Pr = { class: "idm-gl4-meteo-layers" }, Cr = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Sr = { class: "d-flex justify-start align-center ga-3" }, Mr = { class: "text-h5" }, Tr = { class: "layers-body" }, Rr = { class: "layers-body" }, Ir = {
5378
5376
  key: 0,
5379
5377
  class: "d-flex justify-start align-center ga-4 pl-6"
5380
- }, Dr = {
5378
+ }, Ar = {
5381
5379
  key: 1,
5382
5380
  class: "d-flex justify-start align-center ga-4 pl-6"
5383
- }, Or = { class: "text-body-1 py-2" }, Br = { class: "text-body-1 font-weight-medium" }, jr = { class: "text-body-2 opacity-70" }, Er = {
5381
+ }, Dr = { class: "text-body-1 py-2" }, Or = { class: "text-body-1 font-weight-medium" }, Br = { class: "text-body-2 opacity-70" }, jr = {
5384
5382
  key: 0,
5385
5383
  class: "text-body-2 opacity-70 mb-3"
5386
- }, Fr = { class: "text-body-1 py-2" }, Nr = { class: "text-body-1 font-weight-medium" }, Hr = { class: "text-body-2 opacity-70" }, Gr = { class: "text-body-2 opacity-70 pb-1" };
5387
- function Wr(o, e, t, i, a, r) {
5384
+ }, Er = { class: "text-body-1 py-2" }, Fr = { class: "text-body-1 font-weight-medium" }, Nr = { class: "text-body-2 opacity-70" }, Hr = { class: "text-body-2 opacity-70 pb-1" };
5385
+ function Gr(o, e, t, i, a, r) {
5388
5386
  var K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te;
5389
- const s = w("VBtn"), c = w("VTooltip"), n = w("VSwitch"), u = w("VCardTitle"), d = w("VCardItem"), m = w("VCheckbox"), b = w("VCardText"), f = w("VCard"), L = w("VBtnToggle"), S = w("VDivider"), P = w("IdmWindBarb"), E = w("IdmSigWaveHeight"), M = w("IdmCurrentDirection"), k = w("IdmPrmsl"), v = w("IdmWindParticle"), _ = w("IdmCurrentParticle"), z = w("IdmWave"), x = w("IdmSwell"), R = w("IdmIceEdge"), H = w("IdmIceCover"), Y = w("IdmIceThickness"), G = w("IdmPrecip3h"), W = w("IdmVisibility"), $ = w("IdmWaterTemp"), ee = w("IdmTemp");
5390
- return y(), T("div", Cr, [
5387
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VSwitch"), u = w("VCardTitle"), d = w("VCardItem"), m = w("VCheckbox"), b = w("VCardText"), f = w("VCard"), L = w("VBtnToggle"), S = w("VDivider"), P = w("IdmWindBarb"), E = w("IdmSigWaveHeight"), T = w("IdmCurrentDirection"), k = w("IdmPrmsl"), v = w("IdmWindParticle"), _ = w("IdmCurrentParticle"), z = w("IdmWave"), x = w("IdmSwell"), R = w("IdmIceEdge"), H = w("IdmIceCover"), Y = w("IdmIceThickness"), G = w("IdmPrecip3h"), W = w("IdmVisibility"), $ = w("IdmWaterTemp"), ee = w("IdmTemp");
5388
+ return y(), M("div", Pr, [
5391
5389
  l("div", {
5392
5390
  class: "menu-bar-box transition pa-1",
5393
5391
  style: Q({ top: t.top + 94 + "px", right: a.right + "px" })
@@ -5420,9 +5418,9 @@ function Wr(o, e, t, i, a, r) {
5420
5418
  class: Ne(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
5421
5419
  style: Q({ top: t.top + "px", right: a.toggle ? "0px" : "-280px" })
5422
5420
  }, [
5423
- l("div", Sr, [
5424
- l("div", Mr, [
5425
- l("div", Tr, C(o.$t("weather.weather")), 1),
5421
+ l("div", Cr, [
5422
+ l("div", Sr, [
5423
+ l("div", Mr, C(o.$t("weather.weather")), 1),
5426
5424
  h(n, {
5427
5425
  modelValue: a.autoActive,
5428
5426
  "onUpdate:modelValue": e[0] || (e[0] = (te) => a.autoActive = te),
@@ -5472,8 +5470,8 @@ function Wr(o, e, t, i, a, r) {
5472
5470
  }),
5473
5471
  h(b, null, {
5474
5472
  default: g(() => [
5475
- l("div", Rr, [
5476
- (y(!0), T(fe, null, _e(a.tagLayers.filter((te) => te.overlays), (te) => (y(), V(m, {
5473
+ l("div", Tr, [
5474
+ (y(!0), M(fe, null, _e(a.tagLayers.filter((te) => te.overlays), (te) => (y(), V(m, {
5477
5475
  key: te.key,
5478
5476
  modelValue: a.checkList,
5479
5477
  "onUpdate:modelValue": e[1] || (e[1] = (de) => a.checkList = de),
@@ -5514,8 +5512,8 @@ function Wr(o, e, t, i, a, r) {
5514
5512
  }),
5515
5513
  h(b, null, {
5516
5514
  default: g(() => [
5517
- l("div", Ir, [
5518
- (y(!0), T(fe, null, _e(a.tagLayers.filter((te) => !te.overlays && te.key !== "ice-thickness"), (te) => (y(), T(fe, {
5515
+ l("div", Rr, [
5516
+ (y(!0), M(fe, null, _e(a.tagLayers.filter((te) => !te.overlays && te.key !== "ice-thickness"), (te) => (y(), M(fe, {
5519
5517
  key: te.key
5520
5518
  }, [
5521
5519
  h(m, {
@@ -5530,7 +5528,7 @@ function Wr(o, e, t, i, a, r) {
5530
5528
  class: "flex-1-0-100 text-body-2",
5531
5529
  "hide-details": ""
5532
5530
  }, null, 8, ["modelValue", "value", "label", "disabled"]),
5533
- a.checkList.includes("wind-particle") && te.key === "wind-particle" ? (y(), T("div", Ar, [
5531
+ a.checkList.includes("wind-particle") && te.key === "wind-particle" ? (y(), M("div", Ir, [
5534
5532
  e[8] || (e[8] = l("span", null, "Particle", -1)),
5535
5533
  h(n, {
5536
5534
  modelValue: a.showWindParticle,
@@ -5543,7 +5541,7 @@ function Wr(o, e, t, i, a, r) {
5543
5541
  "hide-details": ""
5544
5542
  }, null, 8, ["modelValue"])
5545
5543
  ])) : O("", !0),
5546
- a.checkList.includes("current-particle") && te.key === "current-particle" ? (y(), T("div", Dr, [
5544
+ a.checkList.includes("current-particle") && te.key === "current-particle" ? (y(), M("div", Ar, [
5547
5545
  e[9] || (e[9] = l("span", null, "Particle", -1)),
5548
5546
  h(n, {
5549
5547
  modelValue: a.showCurrentParticle,
@@ -5630,27 +5628,27 @@ function Wr(o, e, t, i, a, r) {
5630
5628
  default: g(() => {
5631
5629
  var te, de, we, Re;
5632
5630
  return [
5633
- l("div", Or, C(o.$t("weather.atmospheric")), 1),
5634
- (y(!0), T(fe, null, _e((de = (te = a.sourceList) == null ? void 0 : te.weather) == null ? void 0 : de.filter((J) => J.model !== "best_match"), (J) => {
5631
+ l("div", Dr, C(o.$t("weather.atmospheric")), 1),
5632
+ (y(!0), M(fe, null, _e((de = (te = a.sourceList) == null ? void 0 : te.weather) == null ? void 0 : de.filter((J) => J.model !== "best_match"), (J) => {
5635
5633
  var Ce, xe, ie, ue, N, Le;
5636
- return y(), T(fe, {
5634
+ return y(), M(fe, {
5637
5635
  key: `source${J.name}`
5638
5636
  }, [
5639
- l("div", Br, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
5640
- l("div", jr, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
5641
- (ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) != null && ie.initialisationTime ? (y(), T("div", Er, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((Le = (N = (ue = J == null ? void 0 : J.update) == null ? void 0 : ue.default) == null ? void 0 : N.meta) == null ? void 0 : Le.initialisationTime)), 1)) : O("", !0)
5637
+ l("div", Or, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
5638
+ l("div", Br, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
5639
+ (ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) != null && ie.initialisationTime ? (y(), M("div", jr, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((Le = (N = (ue = J == null ? void 0 : J.update) == null ? void 0 : ue.default) == null ? void 0 : N.meta) == null ? void 0 : Le.initialisationTime)), 1)) : O("", !0)
5642
5640
  ], 64);
5643
5641
  }), 128)),
5644
5642
  h(S),
5645
- l("div", Fr, C(o.$t("weather.marine")), 1),
5646
- (y(!0), T(fe, null, _e((Re = (we = a.sourceList) == null ? void 0 : we.marine) == null ? void 0 : Re.filter((J) => J.model !== "best_match"), (J) => {
5643
+ l("div", Er, C(o.$t("weather.marine")), 1),
5644
+ (y(!0), M(fe, null, _e((Re = (we = a.sourceList) == null ? void 0 : we.marine) == null ? void 0 : Re.filter((J) => J.model !== "best_match"), (J) => {
5647
5645
  var Ce, xe, ie;
5648
- return y(), T(fe, {
5646
+ return y(), M(fe, {
5649
5647
  key: `source${J.name}`
5650
5648
  }, [
5651
- l("div", Nr, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
5652
- l("div", Hr, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
5653
- l("div", Gr, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) == null ? void 0 : ie.initialisationTime)), 1)
5649
+ l("div", Fr, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
5650
+ l("div", Nr, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
5651
+ l("div", Hr, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) == null ? void 0 : ie.initialisationTime)), 1)
5654
5652
  ], 64);
5655
5653
  }), 128))
5656
5654
  ];
@@ -5679,7 +5677,7 @@ function Wr(o, e, t, i, a, r) {
5679
5677
  "menu-toggle": t.menuToggle,
5680
5678
  "active-weather-layers": a.activeWeatherLayers
5681
5679
  }, o.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : O("", !0),
5682
- t.map ? (y(), V(M, j({
5680
+ t.map ? (y(), V(T, j({
5683
5681
  key: 2,
5684
5682
  map: t.map,
5685
5683
  "map-feather": t.mapFeather,
@@ -5764,7 +5762,7 @@ function Wr(o, e, t, i, a, r) {
5764
5762
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0)
5765
5763
  ]);
5766
5764
  }
5767
- const Ur = /* @__PURE__ */ X(Pr, [["render", Wr]]), We = [
5765
+ const Wr = /* @__PURE__ */ X(Lr, [["render", Gr]]), We = [
5768
5766
  {
5769
5767
  rank: 0,
5770
5768
  name: "Best Match",
@@ -6111,7 +6109,7 @@ class Go {
6111
6109
  }), a;
6112
6110
  }
6113
6111
  static pickHourly(e, t) {
6114
- var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, M, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe;
6112
+ var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe;
6115
6113
  const ie = typeof t == "string" ? D(t) : t, ue = e == null ? void 0 : e.weather, N = e == null ? void 0 : e.marine, Le = D((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Le.clone().add((c = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = Le.clone().add((d = (u = (n = ue == null ? void 0 : ue[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : d.at(-1), "h"), je = [];
6116
6114
  if (ie.isBetween(oe, re, "millisecond", "[]")) {
6117
6115
  const B = ie.utc().diff(oe, "h", !1);
@@ -6131,7 +6129,7 @@ class Go {
6131
6129
  dp: (P = Z == null ? void 0 : Z.dew_point_2m) == null ? void 0 : P.at(B),
6132
6130
  precip: {
6133
6131
  probability: (E = Z == null ? void 0 : Z.precipitation_probability) == null ? void 0 : E.at(B),
6134
- sum: (M = Z == null ? void 0 : Z.precipitation) == null ? void 0 : M.at(B),
6132
+ sum: (T = Z == null ? void 0 : Z.precipitation) == null ? void 0 : T.at(B),
6135
6133
  sum3Hours: Math.round(Ee * 100) / 100,
6136
6134
  sum6Hours: Math.round(Fe * 100) / 100
6137
6135
  },
@@ -6220,7 +6218,7 @@ class Go {
6220
6218
  };
6221
6219
  }
6222
6220
  static pickDaily(e, t) {
6223
- var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, M, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te;
6221
+ var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te;
6224
6222
  const de = typeof t == "string" ? D(t) : t, we = e == null ? void 0 : e.weather, Re = e == null ? void 0 : e.marine, J = D((r = (a = (i = we == null ? void 0 : we[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Ce = D((n = (c = (s = we == null ? void 0 : we[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), xe = [];
6225
6223
  if (de.isBetween(J, Ce, "millisecond", "[]")) {
6226
6224
  let ie, ue;
@@ -6243,7 +6241,7 @@ class Go {
6243
6241
  sum: (S = oe.precipitation_sum) == null ? void 0 : S.at(N),
6244
6242
  rainSum: (P = oe.rain_sum) == null ? void 0 : P.at(N),
6245
6243
  snowfallSum: (E = oe.snowfall_sum) == null ? void 0 : E.at(N),
6246
- showersSum: (M = oe.showers_sum) == null ? void 0 : M.at(N),
6244
+ showersSum: (T = oe.showers_sum) == null ? void 0 : T.at(N),
6247
6245
  hours: (k = oe.precipitation_hours) == null ? void 0 : k.at(N),
6248
6246
  probability: (v = oe.precipitation_probability_max) == null ? void 0 : v.at(N)
6249
6247
  },
@@ -6700,7 +6698,7 @@ class Go {
6700
6698
  return isNaN(e) || e <= 0.1 ? t = "Calm" : e <= 0.5 ? t = "Smooth" : e <= 1.25 ? t = "Slight" : e <= 2.5 ? t = "Moderate" : e <= 4 ? t = "Rough" : e <= 6 ? t = "VeryRough" : e <= 9 ? t = "High" : e <= 14 ? t = "VeryHigh" : t = "Precipitous", t;
6701
6699
  }
6702
6700
  }
6703
- const Vr = {
6701
+ const Ur = {
6704
6702
  name: "IdmTropicals",
6705
6703
  props: {
6706
6704
  map: {
@@ -7143,7 +7141,7 @@ const Vr = {
7143
7141
  );
7144
7142
  },
7145
7143
  handleDateChange() {
7146
- var o, e, t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, M, k, v, _, z, x, R, H, Y, G, W, $, ee, K;
7144
+ var o, e, t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K;
7147
7145
  if ((o = this.interpolateMarkers) == null || o.forEach((se) => se == null ? void 0 : se.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
7148
7146
  const se = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), me = this.interpolateData.filter((q) => q.properties.date === se.format() && !q.properties.disabled), pe = this.handleComputePolygons(me), he = F.featureCollection([...me]);
7149
7147
  pe.forEach((q) => {
@@ -7165,7 +7163,7 @@ const Vr = {
7165
7163
  for (const q of me)
7166
7164
  if (!q.properties.disabled) {
7167
7165
  let I = "#f44336";
7168
- ((c = (s = q.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = q.properties) == null ? void 0 : n.wind) != null && u.kts) ? I = "#03f869" : ((m = (d = q.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((f = (b = q.properties) == null ? void 0 : b.wind) == null ? void 0 : f.kts) < 47 ? I = "#f2f202" : ((S = (L = q.properties) == null ? void 0 : L.wind) == null ? void 0 : S.kts) >= 47 && ((E = (P = q.properties) == null ? void 0 : P.wind) == null ? void 0 : E.kts) < 63 ? I = "#ff9100" : ((k = (M = q.properties) == null ? void 0 : M.wind) == null ? void 0 : k.kts) >= 63 && ((_ = (v = q.properties) == null ? void 0 : v.wind) == null ? void 0 : _.kts) < 79 ? I = "#f44336" : ((x = (z = q.properties) == null ? void 0 : z.wind) == null ? void 0 : x.kts) >= 79 && ((H = (R = q.properties) == null ? void 0 : R.wind) == null ? void 0 : H.kts) < 94 ? I = "#f903d0" : ((G = (Y = q.properties) == null ? void 0 : Y.wind) == null ? void 0 : G.kts) >= 94 ? I = "#8702f9" : I = "#f44336";
7166
+ ((c = (s = q.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = q.properties) == null ? void 0 : n.wind) != null && u.kts) ? I = "#03f869" : ((m = (d = q.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((f = (b = q.properties) == null ? void 0 : b.wind) == null ? void 0 : f.kts) < 47 ? I = "#f2f202" : ((S = (L = q.properties) == null ? void 0 : L.wind) == null ? void 0 : S.kts) >= 47 && ((E = (P = q.properties) == null ? void 0 : P.wind) == null ? void 0 : E.kts) < 63 ? I = "#ff9100" : ((k = (T = q.properties) == null ? void 0 : T.wind) == null ? void 0 : k.kts) >= 63 && ((_ = (v = q.properties) == null ? void 0 : v.wind) == null ? void 0 : _.kts) < 79 ? I = "#f44336" : ((x = (z = q.properties) == null ? void 0 : z.wind) == null ? void 0 : x.kts) >= 79 && ((H = (R = q.properties) == null ? void 0 : R.wind) == null ? void 0 : H.kts) < 94 ? I = "#f903d0" : ((G = (Y = q.properties) == null ? void 0 : Y.wind) == null ? void 0 : G.kts) >= 94 ? I = "#8702f9" : I = "#f44336";
7169
7167
  const ne = `<svg t="1719918955501"
7170
7168
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
7171
7169
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -7293,10 +7291,10 @@ const Vr = {
7293
7291
  return F.lineToPolygon(a, { properties: t });
7294
7292
  }
7295
7293
  }
7296
- }, Yr = { class: "idm-tropical-gl4" }, Zr = { key: 0 }, Xr = { class: "text-body-2 opacity-50" }, qr = { class: "pa-1 d-flex justify-space-between align-center" }, Kr = { class: "col col-left justify-start" }, Jr = { class: "col col-right justify-start" }, Qr = { class: "px-1 py-2 d-flex justify-space-between align-center" }, $r = { class: "d-flex justify-space-between align-center col-left justify-start" }, el = { class: "d-flex justify-space-between align-center col-right" }, tl = { class: "pa-1 d-flex justify-space-between align-center" }, ol = { class: "d-flex justify-space-between align-center flex-1-1-100" }, al = { class: "d-flex justify-end align-center flex-1-1-0 flex-wrap" }, il = ["onClick"];
7297
- function rl(o, e, t, i, a, r) {
7294
+ }, Vr = { class: "idm-tropical-gl4" }, Yr = { key: 0 }, Zr = { class: "text-body-2 opacity-50" }, Xr = { class: "pa-1 d-flex justify-space-between align-center" }, qr = { class: "col col-left justify-start" }, Kr = { class: "col col-right justify-start" }, Jr = { class: "px-1 py-2 d-flex justify-space-between align-center" }, Qr = { class: "d-flex justify-space-between align-center col-left justify-start" }, $r = { class: "d-flex justify-space-between align-center col-right" }, el = { class: "pa-1 d-flex justify-space-between align-center" }, tl = { class: "d-flex justify-space-between align-center flex-1-1-100" }, ol = { class: "d-flex justify-end align-center flex-1-1-0 flex-wrap" }, al = ["onClick"];
7295
+ function il(o, e, t, i, a, r) {
7298
7296
  const s = w("v-btn"), c = w("v-tooltip"), n = w("v-card-title"), u = w("v-card-subtitle"), d = w("v-card-item"), m = w("v-card-text"), b = w("v-card");
7299
- return y(), T("div", Yr, [
7297
+ return y(), M("div", Vr, [
7300
7298
  l("div", {
7301
7299
  class: "menu-bar-box transition pa-1",
7302
7300
  style: Q({ top: t.top + 134 + "px", right: a.right + "px" })
@@ -7342,7 +7340,7 @@ function rl(o, e, t, i, a, r) {
7342
7340
  var f, L, S, P, E;
7343
7341
  return [
7344
7342
  l("div", null, [
7345
- (L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.level ? (y(), T("span", Zr, C((P = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : P.level) + " , ", 1)) : O("", !0),
7343
+ (L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.level ? (y(), M("span", Yr, C((P = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : P.level) + " , ", 1)) : O("", !0),
7346
7344
  U(C((E = a.activeTropicals) == null ? void 0 : E.name), 1)
7347
7345
  ]),
7348
7346
  h(s, {
@@ -7350,7 +7348,7 @@ function rl(o, e, t, i, a, r) {
7350
7348
  size: "small",
7351
7349
  density: "comfortable",
7352
7350
  variant: "plain",
7353
- onClick: e[0] || (e[0] = (M) => a.showTropicalsInfo = !1)
7351
+ onClick: e[0] || (e[0] = (T) => a.showTropicalsInfo = !1)
7354
7352
  })
7355
7353
  ];
7356
7354
  }),
@@ -7360,7 +7358,7 @@ function rl(o, e, t, i, a, r) {
7360
7358
  default: g(() => {
7361
7359
  var f, L, S, P, E;
7362
7360
  return [
7363
- l("span", Xr, " Last update: " + C(r.computeTime(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.updated) || ((E = (P = (S = a.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : P.filter((M) => !M.disabled)[0]) == null ? void 0 : E.date))), 1)
7361
+ l("span", Zr, " Last update: " + C(r.computeTime(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.updated) || ((E = (P = (S = a.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : P.filter((T) => !T.disabled)[0]) == null ? void 0 : E.date))), 1)
7364
7362
  ];
7365
7363
  }),
7366
7364
  _: 1
@@ -7370,36 +7368,36 @@ function rl(o, e, t, i, a, r) {
7370
7368
  }),
7371
7369
  h(m, { class: "main-box" }, {
7372
7370
  default: g(() => {
7373
- var f, L, S, P, E, M, k, v, _;
7371
+ var f, L, S, P, E, T, k, v, _;
7374
7372
  return [
7375
- l("div", qr, [
7376
- l("div", Kr, [
7373
+ l("div", Xr, [
7374
+ l("div", qr, [
7377
7375
  e[2] || (e[2] = l("label", null, "Wind speed : ", -1)),
7378
7376
  l("span", null, C(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.kts) || "-") + " [kts]", 1),
7379
7377
  l("span", null, ", BF " + C(r.computeBF(((P = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : P.kts) || 0)), 1)
7380
7378
  ]),
7381
- l("div", Jr, [
7379
+ l("div", Kr, [
7382
7380
  e[3] || (e[3] = l("label", null, "Pressure : ", -1)),
7383
- l("span", null, C(((M = (E = a.activeTropicals) == null ? void 0 : E.history) == null ? void 0 : M.pressure) || "-") + " [hPa]", 1)
7381
+ l("span", null, C(((T = (E = a.activeTropicals) == null ? void 0 : E.history) == null ? void 0 : T.pressure) || "-") + " [hPa]", 1)
7384
7382
  ])
7385
7383
  ]),
7386
- l("div", Qr, [
7387
- l("div", $r, [
7384
+ l("div", Jr, [
7385
+ l("div", Qr, [
7388
7386
  e[4] || (e[4] = l("label", null, "Move Speed: ", -1)),
7389
7387
  l("span", null, C((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) + " [kts]", 1)
7390
7388
  ]),
7391
- l("div", el, [
7389
+ l("div", $r, [
7392
7390
  e[5] || (e[5] = l("label", null, "Move Dir: ", -1)),
7393
7391
  l("span", null, C((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) + " [°]", 1)
7394
7392
  ])
7395
7393
  ]),
7396
- l("div", tl, [
7397
- l("div", ol, [
7394
+ l("div", el, [
7395
+ l("div", tl, [
7398
7396
  e[6] || (e[6] = l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
7399
- l("div", al, [
7400
- (y(!0), T(fe, null, _e((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (z, x) => {
7397
+ l("div", ol, [
7398
+ (y(!0), M(fe, null, _e((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (z, x) => {
7401
7399
  var R, H, Y, G;
7402
- return y(), T("div", {
7400
+ return y(), M("div", {
7403
7401
  key: x,
7404
7402
  class: Ne([
7405
7403
  "model",
@@ -7411,7 +7409,7 @@ function rl(o, e, t, i, a, r) {
7411
7409
  l("span", {
7412
7410
  class: Ne(z.model)
7413
7411
  }, C(z.model), 3)
7414
- ], 10, il);
7412
+ ], 10, al);
7415
7413
  }), 128))
7416
7414
  ])
7417
7415
  ])
@@ -7468,8 +7466,8 @@ function rl(o, e, t, i, a, r) {
7468
7466
  ])
7469
7467
  ]);
7470
7468
  }
7471
- const Uo = /* @__PURE__ */ X(Vr, [["render", rl]]);
7472
- const ll = {
7469
+ const Uo = /* @__PURE__ */ X(Ur, [["render", il]]);
7470
+ const rl = {
7473
7471
  name: "DateTimePicker",
7474
7472
  props: {
7475
7473
  locale: {
@@ -7607,19 +7605,19 @@ const ll = {
7607
7605
  this.currentDate = o.clone().format("YYYY-MM-DD"), this.currentTime = o.clone().format("HH:00");
7608
7606
  }
7609
7607
  }
7610
- }, sl = { class: "idm-gl4-timepicker" }, nl = {
7608
+ }, ll = { class: "idm-gl4-timepicker" }, sl = {
7611
7609
  class: "pa-0",
7612
7610
  style: { width: "250px" }
7613
- }, cl = {
7611
+ }, nl = {
7614
7612
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
7615
7613
  style: { width: "100px" }
7616
- }, ml = {
7614
+ }, cl = {
7617
7615
  class: "d-flex justify-center align-center text-body-2",
7618
7616
  style: { height: "56px" }
7619
7617
  };
7620
- function hl(o, e, t, i, a, r) {
7618
+ function ml(o, e, t, i, a, r) {
7621
7619
  const s = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), d = w("VListItem"), m = w("VList"), b = w("VCardText"), f = w("VCardActions"), L = w("VCard");
7622
- return y(), T("div", sl, [
7620
+ return y(), M("div", ll, [
7623
7621
  h(s, {
7624
7622
  text: "",
7625
7623
  height: "30",
@@ -7638,7 +7636,7 @@ function hl(o, e, t, i, a, r) {
7638
7636
  default: g(() => [
7639
7637
  h(b, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
7640
7638
  default: g(() => [
7641
- l("div", nl, [
7639
+ l("div", sl, [
7642
7640
  h(c, {
7643
7641
  modelValue: a.currentDate,
7644
7642
  "onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
@@ -7657,11 +7655,11 @@ function hl(o, e, t, i, a, r) {
7657
7655
  class: "h-100",
7658
7656
  vertical: ""
7659
7657
  }),
7660
- l("div", cl, [
7661
- l("div", ml, C(a.currentTime), 1),
7658
+ l("div", nl, [
7659
+ l("div", cl, C(a.currentTime), 1),
7662
7660
  h(m, { class: "pa-0 flex-1-1-0" }, {
7663
7661
  default: g(() => [
7664
- (y(!0), T(fe, null, _e(r.hourOptions, (S, P) => (y(), V(d, {
7662
+ (y(!0), M(fe, null, _e(r.hourOptions, (S, P) => (y(), V(d, {
7665
7663
  key: P,
7666
7664
  value: S,
7667
7665
  variant: "flat",
@@ -7730,8 +7728,8 @@ function hl(o, e, t, i, a, r) {
7730
7728
  })) : O("", !0)
7731
7729
  ]);
7732
7730
  }
7733
- const Je = /* @__PURE__ */ X(ll, [["render", hl]]);
7734
- const dl = {
7731
+ const Je = /* @__PURE__ */ X(rl, [["render", ml]]);
7732
+ const hl = {
7735
7733
  name: "IdmPoint",
7736
7734
  components: {
7737
7735
  DateTimePicker: Je
@@ -7740,6 +7738,10 @@ const dl = {
7740
7738
  token: {
7741
7739
  type: String
7742
7740
  },
7741
+ theme: {
7742
+ type: String,
7743
+ default: "zh"
7744
+ },
7743
7745
  map: {
7744
7746
  type: Object
7745
7747
  },
@@ -7952,10 +7954,10 @@ const dl = {
7952
7954
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
7953
7955
  },
7954
7956
  initTableData(o) {
7955
- var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, M, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze;
7957
+ var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze;
7956
7958
  this.currentHourData = {}, this.positionGmt = (i = (t = o == null ? void 0 : o.weather) == null ? void 0 : t[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = o == null ? void 0 : o.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
7957
7959
  const e = ((s = qe.pickHourly(o, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
7958
- this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((b = e == null ? void 0 : e.weather) == null ? void 0 : b.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((L = (f = e == null ? void 0 : e.weather) == null ? void 0 : f.wind) == null ? void 0 : L.kts, 1) ?? "-", this.currentHourData.windDir = (P = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : P.direction, this.currentHourData.windLevel = this.roundPrecision((M = (E = e == null ? void 0 : e.weather) == null ? void 0 : E.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((z = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((Y = (H = e == null ? void 0 : e.wave) == null ? void 0 : H.sig) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((W = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ne = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.swell) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((ke = e == null ? void 0 : e.current) == null ? void 0 : ke.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ze = e == null ? void 0 : e.weather) == null ? void 0 : ze.url;
7960
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((b = e == null ? void 0 : e.weather) == null ? void 0 : b.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((L = (f = e == null ? void 0 : e.weather) == null ? void 0 : f.wind) == null ? void 0 : L.kts, 1) ?? "-", this.currentHourData.windDir = (P = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : P.direction, this.currentHourData.windLevel = this.roundPrecision((T = (E = e == null ? void 0 : e.weather) == null ? void 0 : E.wind) == null ? void 0 : T.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((z = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((Y = (H = e == null ? void 0 : e.wave) == null ? void 0 : H.sig) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((W = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ne = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.swell) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((ke = e == null ? void 0 : e.current) == null ? void 0 : ke.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ze = e == null ? void 0 : e.weather) == null ? void 0 : ze.url;
7959
7961
  },
7960
7962
  handleBind() {
7961
7963
  var o, e;
@@ -8012,10 +8014,22 @@ const dl = {
8012
8014
  this.$emit("follow", "point", this.point);
8013
8015
  }
8014
8016
  }
8015
- }, pl = { class: "idm-gl4-spot" }, ul = { class: "d-flex justify-start align-center" }, gl = { class: "mx-2" };
8016
- function fl(o, e, t, i, a, r) {
8017
- const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), d = w("VTextField"), m = w("VCol"), b = w("VRow"), f = w("DateTimePicker"), L = w("VBtnToggle"), S = w("VCardActions"), P = w("VForm"), E = w("VCardText"), M = w("VCard"), k = w("VIcon");
8018
- return y(), T("div", pl, [
8017
+ }, dl = { class: "idm-gl4-spot" }, pl = { class: "d-flex justify-start align-center ga-1 mb-1" }, ul = {
8018
+ class: "multi-color-icon",
8019
+ "aria-hidden": "true"
8020
+ }, gl = ["xlink:href"], fl = { class: "d-flex justify-start align-center ga-1 mb-1" }, bl = {
8021
+ class: "multi-color-icon",
8022
+ "aria-hidden": "true"
8023
+ }, yl = ["xlink:href"], wl = { class: "d-flex justify-start align-center ga-1 mb-1" }, xl = {
8024
+ class: "multi-color-icon",
8025
+ "aria-hidden": "true"
8026
+ }, vl = ["xlink:href"], _l = { class: "d-flex justify-start align-center ga-1 mb-1" }, kl = {
8027
+ class: "multi-color-icon",
8028
+ "aria-hidden": "true"
8029
+ }, zl = ["xlink:href"], Ll = { class: "d-flex justify-start align-center" }, Pl = { class: "mx-2" };
8030
+ function Cl(o, e, t, i, a, r) {
8031
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), d = w("VTextField"), m = w("VCol"), b = w("VRow"), f = w("DateTimePicker"), L = w("VBtnToggle"), S = w("VCardActions"), P = w("VForm"), E = w("VCardText"), T = w("VCard"), k = w("VIcon");
8032
+ return y(), M("div", dl, [
8019
8033
  l("div", {
8020
8034
  class: "menu-bar-box transition pa-1",
8021
8035
  style: Q({ top: t.top + 174 + "px", right: a.right + "px" })
@@ -8044,7 +8058,7 @@ function fl(o, e, t, i, a, r) {
8044
8058
  _: 1
8045
8059
  }, 8, ["text"])
8046
8060
  ], 4),
8047
- a.showForm ? (y(), V(M, {
8061
+ a.showForm ? (y(), V(T, {
8048
8062
  key: 0,
8049
8063
  class: "spot-form-card",
8050
8064
  style: Q({ top: t.top + 174 + "px", right: a.right + 50 + "px" })
@@ -8085,7 +8099,14 @@ function fl(o, e, t, i, a, r) {
8085
8099
  onSubmit: Zo(r.submitForm, ["prevent"])
8086
8100
  }, {
8087
8101
  default: g(() => [
8088
- e[19] || (e[19] = l("div", null, "Lng", -1)),
8102
+ l("div", pl, [
8103
+ (y(), M("svg", ul, [
8104
+ l("use", {
8105
+ "xlink:href": `#icon-lng-${t.theme}`
8106
+ }, null, 8, gl)
8107
+ ])),
8108
+ e[11] || (e[11] = l("div", null, "Lng", -1))
8109
+ ]),
8089
8110
  h(b, { class: "ma-0" }, {
8090
8111
  default: g(() => [
8091
8112
  h(m, {
@@ -8102,10 +8123,10 @@ function fl(o, e, t, i, a, r) {
8102
8123
  required: "",
8103
8124
  dense: ""
8104
8125
  }, null, 8, ["modelValue", "rules"]),
8105
- e[11] || (e[11] = l("span", { class: "px-1" }, "°", -1))
8126
+ e[12] || (e[12] = l("span", { class: "px-1" }, "°", -1))
8106
8127
  ]),
8107
8128
  _: 1,
8108
- __: [11]
8129
+ __: [12]
8109
8130
  }),
8110
8131
  h(m, {
8111
8132
  cols: "6",
@@ -8122,10 +8143,10 @@ function fl(o, e, t, i, a, r) {
8122
8143
  required: "",
8123
8144
  dense: ""
8124
8145
  }, null, 8, ["modelValue", "rules"]),
8125
- e[12] || (e[12] = l("span", { class: "px-1" }, "'", -1))
8146
+ e[13] || (e[13] = l("span", { class: "px-1" }, "'", -1))
8126
8147
  ]),
8127
8148
  _: 1,
8128
- __: [12]
8149
+ __: [13]
8129
8150
  }),
8130
8151
  h(m, {
8131
8152
  cols: "2",
@@ -8139,6 +8160,7 @@ function fl(o, e, t, i, a, r) {
8139
8160
  "min-width": "32",
8140
8161
  height: "32",
8141
8162
  class: "",
8163
+ style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
8142
8164
  onClick: e[2] || (e[2] = (v) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
8143
8165
  }, {
8144
8166
  default: g(() => [
@@ -8152,7 +8174,14 @@ function fl(o, e, t, i, a, r) {
8152
8174
  ]),
8153
8175
  _: 1
8154
8176
  }),
8155
- e[20] || (e[20] = l("div", null, "Lat", -1)),
8177
+ l("div", fl, [
8178
+ (y(), M("svg", bl, [
8179
+ l("use", {
8180
+ "xlink:href": `#icon-lng-${t.theme}`
8181
+ }, null, 8, yl)
8182
+ ])),
8183
+ e[14] || (e[14] = l("div", null, "Lat", -1))
8184
+ ]),
8156
8185
  h(b, { class: "ma-0" }, {
8157
8186
  default: g(() => [
8158
8187
  h(m, {
@@ -8172,10 +8201,10 @@ function fl(o, e, t, i, a, r) {
8172
8201
  required: "",
8173
8202
  dense: ""
8174
8203
  }, null, 8, ["modelValue", "rules"]),
8175
- e[13] || (e[13] = l("span", { class: "px-1" }, "°", -1))
8204
+ e[15] || (e[15] = l("span", { class: "px-1" }, "°", -1))
8176
8205
  ]),
8177
8206
  _: 1,
8178
- __: [13]
8207
+ __: [15]
8179
8208
  }),
8180
8209
  h(m, {
8181
8210
  cols: "6",
@@ -8192,10 +8221,10 @@ function fl(o, e, t, i, a, r) {
8192
8221
  required: "",
8193
8222
  dense: ""
8194
8223
  }, null, 8, ["modelValue", "rules"]),
8195
- e[14] || (e[14] = l("span", { class: "px-1" }, "'", -1))
8224
+ e[16] || (e[16] = l("span", { class: "px-1" }, "'", -1))
8196
8225
  ]),
8197
8226
  _: 1,
8198
- __: [14]
8227
+ __: [16]
8199
8228
  }),
8200
8229
  h(m, {
8201
8230
  cols: "2",
@@ -8209,6 +8238,7 @@ function fl(o, e, t, i, a, r) {
8209
8238
  "min-width": "32",
8210
8239
  height: "32",
8211
8240
  class: "text-body-1",
8241
+ style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
8212
8242
  onClick: e[5] || (e[5] = (v) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
8213
8243
  }, {
8214
8244
  default: g(() => [
@@ -8222,12 +8252,19 @@ function fl(o, e, t, i, a, r) {
8222
8252
  ]),
8223
8253
  _: 1
8224
8254
  }),
8225
- e[21] || (e[21] = l("div", null, "Date Time", -1)),
8226
- h(b, { class: "ma-0" }, {
8255
+ l("div", wl, [
8256
+ (y(), M("svg", xl, [
8257
+ l("use", {
8258
+ "xlink:href": `#icon-a-DateTime-${t.theme}`
8259
+ }, null, 8, vl)
8260
+ ])),
8261
+ e[17] || (e[17] = l("div", null, "Date Time", -1))
8262
+ ]),
8263
+ h(b, { class: "ma-0 mb-4" }, {
8227
8264
  default: g(() => [
8228
8265
  h(m, {
8229
8266
  cols: "12",
8230
- class: "pa-0 py-2"
8267
+ class: "pa-0"
8231
8268
  }, {
8232
8269
  default: g(() => [
8233
8270
  h(f, j({
@@ -8242,12 +8279,19 @@ function fl(o, e, t, i, a, r) {
8242
8279
  ]),
8243
8280
  _: 1
8244
8281
  }),
8245
- e[22] || (e[22] = l("div", null, "Forecast Model", -1)),
8246
- h(b, { class: "ma-0" }, {
8282
+ l("div", _l, [
8283
+ (y(), M("svg", kl, [
8284
+ l("use", {
8285
+ "xlink:href": `#icon-a-ForecastModel-${t.theme}`
8286
+ }, null, 8, zl)
8287
+ ])),
8288
+ e[18] || (e[18] = l("div", null, "Forecast Model", -1))
8289
+ ]),
8290
+ h(b, { class: "ma-0 mb-2" }, {
8247
8291
  default: g(() => [
8248
8292
  h(m, {
8249
8293
  cols: "12",
8250
- class: "pa-0 py-2"
8294
+ class: "pa-0"
8251
8295
  }, {
8252
8296
  default: g(() => [
8253
8297
  h(L, {
@@ -8264,29 +8308,29 @@ function fl(o, e, t, i, a, r) {
8264
8308
  density: "compact",
8265
8309
  height: "30",
8266
8310
  value: "GFS",
8267
- class: "text-none flex-1-1-0",
8311
+ class: "text-none flex-1-1-0 nop-btn-border",
8268
8312
  color: a.form.forecastModel === "GFS" ? "primary" : "",
8269
- "base-color": "grey-lighten-1"
8313
+ "base-color": ""
8270
8314
  }, {
8271
- default: g(() => e[15] || (e[15] = [
8315
+ default: g(() => e[19] || (e[19] = [
8272
8316
  U("NOAA", -1)
8273
8317
  ])),
8274
8318
  _: 1,
8275
- __: [15]
8319
+ __: [19]
8276
8320
  }, 8, ["color"]),
8277
8321
  h(s, {
8278
8322
  density: "compact",
8279
8323
  height: "30",
8280
- class: "text-none flex-1-1-0",
8324
+ class: "text-none flex-1-1-0 nop-btn-border",
8281
8325
  color: a.form.forecastModel === "ECMWF" ? "primary" : "",
8282
- "base-color": "grey-lighten-1",
8326
+ "base-color": "",
8283
8327
  value: "ECMWF"
8284
8328
  }, {
8285
- default: g(() => e[16] || (e[16] = [
8329
+ default: g(() => e[20] || (e[20] = [
8286
8330
  U("ECMWF", -1)
8287
8331
  ])),
8288
8332
  _: 1,
8289
- __: [16]
8333
+ __: [20]
8290
8334
  }, 8, ["color"])
8291
8335
  ]),
8292
8336
  _: 1
@@ -8306,11 +8350,11 @@ function fl(o, e, t, i, a, r) {
8306
8350
  class: "text-none text-body-1",
8307
8351
  onClick: r.handleCloseForm
8308
8352
  }, {
8309
- default: g(() => e[17] || (e[17] = [
8353
+ default: g(() => e[21] || (e[21] = [
8310
8354
  U("Clear", -1)
8311
8355
  ])),
8312
8356
  _: 1,
8313
- __: [17]
8357
+ __: [21]
8314
8358
  }, 8, ["onClick"]),
8315
8359
  h(s, {
8316
8360
  loading: a.loading,
@@ -8320,18 +8364,17 @@ function fl(o, e, t, i, a, r) {
8320
8364
  type: "submit",
8321
8365
  class: "text-none text-body-1"
8322
8366
  }, {
8323
- default: g(() => e[18] || (e[18] = [
8367
+ default: g(() => e[22] || (e[22] = [
8324
8368
  U("Confirm", -1)
8325
8369
  ])),
8326
8370
  _: 1,
8327
- __: [18]
8371
+ __: [22]
8328
8372
  }, 8, ["loading"])
8329
8373
  ]),
8330
8374
  _: 1
8331
8375
  })
8332
8376
  ]),
8333
- _: 1,
8334
- __: [19, 20, 21, 22]
8377
+ _: 1
8335
8378
  }, 8, ["onSubmit"])
8336
8379
  ]),
8337
8380
  _: 1
@@ -8339,7 +8382,7 @@ function fl(o, e, t, i, a, r) {
8339
8382
  ]),
8340
8383
  _: 1
8341
8384
  }, 8, ["style"])) : O("", !0),
8342
- He(h(M, {
8385
+ He(h(T, {
8343
8386
  id: "idm-gl4-spot-meteo",
8344
8387
  class: "spot-meteo",
8345
8388
  style: { width: "490px", "z-index": "9" }
@@ -8349,9 +8392,9 @@ function fl(o, e, t, i, a, r) {
8349
8392
  default: g(() => {
8350
8393
  var v, _;
8351
8394
  return [
8352
- l("div", ul, [
8353
- e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 text-primary" }, null, -1)),
8354
- l("div", gl, C(r.computeLat((v = a.currentHourData) == null ? void 0 : v.lat)) + "," + C(r.computeLng((_ = a.currentHourData) == null ? void 0 : _.lng)), 1)
8395
+ l("div", Ll, [
8396
+ e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-primary" }, null, -1)),
8397
+ l("div", Pl, C(r.computeLat((v = a.currentHourData) == null ? void 0 : v.lat)) + "," + C(r.computeLng((_ = a.currentHourData) == null ? void 0 : _.lng)), 1)
8355
8398
  ]),
8356
8399
  h(s, {
8357
8400
  icon: "",
@@ -8602,8 +8645,8 @@ function fl(o, e, t, i, a, r) {
8602
8645
  ])
8603
8646
  ]);
8604
8647
  }
8605
- const bl = /* @__PURE__ */ X(dl, [["render", fl]]);
8606
- const yl = {
8648
+ const Sl = /* @__PURE__ */ X(hl, [["render", Cl]]);
8649
+ const Ml = {
8607
8650
  name: "IdmMeasure",
8608
8651
  props: {
8609
8652
  map: {
@@ -8925,10 +8968,10 @@ const yl = {
8925
8968
  }), this.pointMarkers[o.id] = [], (m = this.tipMarker) == null || m.remove(), this.tipMarker = void 0, e && ((b = this.map) != null && b.getSource(t)) && this.map.removeSource(t), e && ((f = this.map) != null && f.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8926
8969
  }
8927
8970
  }
8928
- }, wl = { class: "idm-gl4-measure" };
8929
- function xl(o, e, t, i, a, r) {
8971
+ }, Tl = { class: "idm-gl4-measure" };
8972
+ function Rl(o, e, t, i, a, r) {
8930
8973
  const s = w("VBtn"), c = w("VTooltip");
8931
- return y(), T("div", wl, [
8974
+ return y(), M("div", Tl, [
8932
8975
  l("div", {
8933
8976
  class: "menu-bar-box transition pa-1",
8934
8977
  style: Q({ top: t.top + 214 + "px", right: a.right + "px" })
@@ -8959,8 +9002,8 @@ function xl(o, e, t, i, a, r) {
8959
9002
  ], 4)
8960
9003
  ]);
8961
9004
  }
8962
- const vl = /* @__PURE__ */ X(yl, [["render", xl]]);
8963
- const _l = {
9005
+ const Il = /* @__PURE__ */ X(Ml, [["render", Rl]]);
9006
+ const Al = {
8964
9007
  name: "IdmBottomBar",
8965
9008
  components: { DateTimePicker: Je },
8966
9009
  props: {
@@ -9073,19 +9116,19 @@ const _l = {
9073
9116
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
9074
9117
  }
9075
9118
  }
9076
- }, kl = { class: "idm-bottom-bar-gl4" }, zl = { class: "date-box d-flex ga-2 mr-2" }, Ll = { class: "d-flex justify-center align-center cursor-pointer" }, Pl = { class: "fast-weathers-box d-flex justify-center align-center ga-2 mx-3 cursor-pointer" }, Cl = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Sl = {
9119
+ }, Dl = { class: "idm-bottom-bar-gl4" }, Ol = { class: "date-box d-flex ga-2 mr-2" }, Bl = { class: "d-flex justify-center align-center cursor-pointer" }, jl = { class: "fast-weathers-box d-flex justify-center align-center ga-2 mx-3 cursor-pointer" }, El = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Fl = {
9077
9120
  key: 0,
9078
9121
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
9079
- }, Ml = ["onClick"], Tl = { class: "btn-box d-flex justify-center align-center rounded ga-2 py-1 px-2" }, Rl = { class: "text-body-2" };
9080
- function Il(o, e, t, i, a, r) {
9122
+ }, Nl = ["onClick"], Hl = { class: "btn-box d-flex justify-center align-center rounded ga-2 py-1 px-2" }, Gl = { class: "text-body-2" };
9123
+ function Wl(o, e, t, i, a, r) {
9081
9124
  const s = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), d = w("VMenu"), m = w("VBtn"), b = w("VTooltip");
9082
- return y(), T("div", kl, [
9083
- a.show ? (y(), T("div", {
9125
+ return y(), M("div", Dl, [
9126
+ a.show ? (y(), M("div", {
9084
9127
  key: 0,
9085
9128
  class: "timeline-box px-2 py-1 d-flex justify-start align-center rounded",
9086
9129
  style: Q({ right: a.right + 140 + "px" })
9087
9130
  }, [
9088
- l("div", zl, [
9131
+ l("div", Ol, [
9089
9132
  h(s, j({
9090
9133
  "date-time": a.currentDateTimeZ,
9091
9134
  "time-zone": a.timeZone,
@@ -9107,7 +9150,7 @@ function Il(o, e, t, i, a, r) {
9107
9150
  default: g(() => [
9108
9151
  h(u, { class: "pa-1" }, {
9109
9152
  default: g(() => [
9110
- (y(!0), T(fe, null, _e(a.intervalOptions, (f, L) => (y(), V(n, {
9153
+ (y(!0), M(fe, null, _e(a.intervalOptions, (f, L) => (y(), V(n, {
9111
9154
  key: L,
9112
9155
  value: f,
9113
9156
  variant: a.intervalHour === f ? "tonal" : "text",
@@ -9140,7 +9183,7 @@ function Il(o, e, t, i, a, r) {
9140
9183
  ]),
9141
9184
  _: 1
9142
9185
  }),
9143
- l("div", Ll, [
9186
+ l("div", Bl, [
9144
9187
  h(m, {
9145
9188
  icon: "",
9146
9189
  size: "small",
@@ -9209,7 +9252,7 @@ function Il(o, e, t, i, a, r) {
9209
9252
  }, 8, ["onClick"])
9210
9253
  ])
9211
9254
  ]),
9212
- l("div", Pl, [
9255
+ l("div", jl, [
9213
9256
  h(b, {
9214
9257
  text: o.$t("weather.windBarbs"),
9215
9258
  location: "top",
@@ -9312,7 +9355,7 @@ function Il(o, e, t, i, a, r) {
9312
9355
  _: 1
9313
9356
  }, 8, ["text"])
9314
9357
  ]),
9315
- l("div", Cl, [
9358
+ l("div", El, [
9316
9359
  h(m, {
9317
9360
  text: "",
9318
9361
  height: "30",
@@ -9361,14 +9404,14 @@ function Il(o, e, t, i, a, r) {
9361
9404
  class: "timezone-box d-flex flex-column justify-space-between align-end",
9362
9405
  style: Q({ right: a.right + "px" })
9363
9406
  }, [
9364
- a.showTimezone ? (y(), T("div", Sl, [
9365
- (y(!0), T(fe, null, _e(a.offsets, (f) => (y(), T("div", {
9407
+ a.showTimezone ? (y(), M("div", Fl, [
9408
+ (y(!0), M(fe, null, _e(a.offsets, (f) => (y(), M("div", {
9366
9409
  key: f,
9367
9410
  class: "item rounded text-body-2",
9368
9411
  onClick: (L) => a.timeZone = f
9369
- }, C(f < 0 ? f : "+" + f), 9, Ml))), 128))
9412
+ }, C(f < 0 ? f : "+" + f), 9, Nl))), 128))
9370
9413
  ])) : O("", !0),
9371
- l("div", Tl, [
9414
+ l("div", Hl, [
9372
9415
  h(m, {
9373
9416
  text: "",
9374
9417
  outline: "",
@@ -9382,20 +9425,20 @@ function Il(o, e, t, i, a, r) {
9382
9425
  ]),
9383
9426
  _: 1
9384
9427
  }),
9385
- l("span", Rl, C(a.currentRealTime), 1)
9428
+ l("span", Gl, C(a.currentRealTime), 1)
9386
9429
  ])
9387
9430
  ], 4)
9388
9431
  ]);
9389
9432
  }
9390
- const Al = /* @__PURE__ */ X(_l, [["render", Il]]), Dl = {
9433
+ const Ul = /* @__PURE__ */ X(Al, [["render", Wl]]), Vl = {
9391
9434
  name: "IdmGL4",
9392
9435
  components: {
9393
- IdmOtherLayer: di,
9394
- IdmWeatherLayer: Ur,
9436
+ IdmOtherLayer: hi,
9437
+ IdmWeatherLayer: Wr,
9395
9438
  IdmTropicals: Uo,
9396
- IdmMeasure: vl,
9397
- IdmSpot: bl,
9398
- IdmBottomBar: Al
9439
+ IdmMeasure: Il,
9440
+ IdmSpot: Sl,
9441
+ IdmBottomBar: Ul
9399
9442
  },
9400
9443
  props: {
9401
9444
  map: {
@@ -9427,13 +9470,13 @@ const Al = /* @__PURE__ */ X(_l, [["render", Il]]), Dl = {
9427
9470
  mounted() {
9428
9471
  },
9429
9472
  methods: {}
9430
- }, Ol = {
9473
+ }, Yl = {
9431
9474
  ref: "mapHomeGl4",
9432
9475
  class: "map-gl4-home"
9433
9476
  };
9434
- function Bl(o, e, t, i, a, r) {
9477
+ function Zl(o, e, t, i, a, r) {
9435
9478
  const s = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), d = w("IdmSpot"), m = w("IdmBottomBar");
9436
- return y(), T("div", Ol, [
9479
+ return y(), M("div", Yl, [
9437
9480
  h(s, j({
9438
9481
  ref: "idmOtherLayers",
9439
9482
  token: t.token,
@@ -9485,8 +9528,8 @@ function Bl(o, e, t, i, a, r) {
9485
9528
  }, o.$attrs), null, 16, ["forecast-model", "weatherCheckList"])
9486
9529
  ], 512);
9487
9530
  }
9488
- const jl = /* @__PURE__ */ X(Dl, [["render", Bl]]);
9489
- class El {
9531
+ const Xl = /* @__PURE__ */ X(Vl, [["render", Zl]]);
9532
+ class ql {
9490
9533
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
9491
9534
  le(this, "originStyle");
9492
9535
  le(this, "mapboxStyle");
@@ -9494,7 +9537,7 @@ class El {
9494
9537
  le(this, "hi");
9495
9538
  le(this, "td");
9496
9539
  le(this, "windy");
9497
- var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, M, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe, ie, ue, N, Le, oe, re, je, B, ye, Oe, Ee, Fe, A, Z, Ye, Ze, Xe, Ae, Qe, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, bo, yo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Ro, Io, Ao, Do, Oo, Bo, jo, Eo, Fo, No;
9540
+ var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe, ie, ue, N, Le, oe, re, je, B, ye, Oe, Ee, Fe, A, Z, Ye, Ze, Xe, Ae, Qe, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, bo, yo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Ro, Io, Ao, Do, Oo, Bo, jo, Eo, Fo, No;
9498
9541
  this.i4 = {
9499
9542
  source: {
9500
9543
  type: "raster",
@@ -71379,7 +71422,7 @@ class El {
71379
71422
  (f = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : f.find((p) => p.id === "water-outline2"),
71380
71423
  (S = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : S.find((p) => p.id === "empty-layer-2"),
71381
71424
  (E = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : E.find((p) => p.id === "empty-layer-3"),
71382
- (k = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : k.find((p) => p.id === "empty-layer-4"),
71425
+ (k = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : k.find((p) => p.id === "empty-layer-4"),
71383
71426
  (_ = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : _.find((p) => p.id === "water-line-label"),
71384
71427
  (x = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : x.find((p) => p.id === "water-point-label"),
71385
71428
  (H = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : H.find((p) => p.id === "world-12nm-v4-20231025"),
@@ -71755,7 +71798,7 @@ class El {
71755
71798
  };
71756
71799
  }
71757
71800
  }
71758
- const Fl = {
71801
+ const Kl = {
71759
71802
  name: "MapInitial",
71760
71803
  props: {
71761
71804
  token: {
@@ -71808,7 +71851,7 @@ const Fl = {
71808
71851
  methods: {
71809
71852
  async initOnlineMap() {
71810
71853
  var e;
71811
- (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new El(this.token), Pe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
71854
+ (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new ql(this.token), Pe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
71812
71855
  const o = new Pe.Map({
71813
71856
  container: "map",
71814
71857
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -71848,16 +71891,16 @@ const Fl = {
71848
71891
  this.zoom = this.zoom <= 2 ? 1 : this.zoom - 1, (o = this.map) == null || o.zoomOut(this.zoom);
71849
71892
  }
71850
71893
  }
71851
- }, Nl = { class: "mapbox-initial-gl4" }, Hl = { class: "v-btn--variant-elevated rounded" }, Gl = { class: "zoom" };
71852
- function Wl(o, e, t, i, a, r) {
71894
+ }, Jl = { class: "mapbox-initial-gl4" }, Ql = { class: "v-btn--variant-elevated rounded" }, $l = { class: "zoom" };
71895
+ function es(o, e, t, i, a, r) {
71853
71896
  const s = w("v-btn");
71854
- return y(), T("div", Nl, [
71897
+ return y(), M("div", Jl, [
71855
71898
  e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
71856
71899
  l("div", {
71857
71900
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
71858
71901
  style: Q({ top: t.top + 268 + "px", right: a.right + "px" })
71859
71902
  }, [
71860
- l("div", Hl, [
71903
+ l("div", Ql, [
71861
71904
  h(s, {
71862
71905
  "min-width": "32",
71863
71906
  width: "32",
@@ -71871,7 +71914,7 @@ function Wl(o, e, t, i, a, r) {
71871
71914
  _: 1,
71872
71915
  __: [0]
71873
71916
  }, 8, ["onClick"]),
71874
- l("div", Gl, C(a.zoom), 1),
71917
+ l("div", $l, C(a.zoom), 1),
71875
71918
  h(s, {
71876
71919
  "min-width": "32",
71877
71920
  width: "32",
@@ -71889,17 +71932,17 @@ function Wl(o, e, t, i, a, r) {
71889
71932
  ], 4)
71890
71933
  ]);
71891
71934
  }
71892
- const Ul = /* @__PURE__ */ X(Fl, [["render", Wl]]), os = {
71935
+ const ts = /* @__PURE__ */ X(Kl, [["render", es]]), ps = {
71893
71936
  install(o) {
71894
- o.component("MapInitial", Ul), o.component("MapboxGL", jl), o.component("TropicalGL", Uo), o.component("LatLngGL", Wo), o.component("DateTimePicker", Je);
71937
+ o.component("MapInitial", ts), o.component("MapboxGL", Xl), o.component("TropicalGL", Uo), o.component("LatLngGL", Wo), o.component("DateTimePicker", Je);
71895
71938
  }
71896
71939
  };
71897
71940
  export {
71898
71941
  Je as DateTimePicker,
71899
71942
  Wo as LatLngGL,
71900
- Ul as MapInitial,
71901
- jl as MapboxGL,
71902
- os as MapboxGLPlugin,
71943
+ ts as MapInitial,
71944
+ Xl as MapboxGL,
71945
+ ps as MapboxGLPlugin,
71903
71946
  ve as ParticleSchema,
71904
71947
  Uo as TropicalGL,
71905
71948
  Ke as Viewport,