@idmwx/idmui-gl4 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,9 +3,9 @@ var Xa = (t, e, o) => e in t ? qa(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var se = (t, e, o) => (Xa(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as Le } from "vuetify";
6
- import { openBlock as y, createElementBlock as M, resolveComponent as x, withDirectives as He, createBlock as B, withCtx as u, createVNode as d, withModifiers as io, createElementVNode as l, vShow as Ue, toDisplayString as b, Fragment as be, renderList as we, createTextVNode as W, createCommentVNode as E, normalizeStyle as ae, mergeProps as j, normalizeClass as We } from "vue";
6
+ import { openBlock as y, createElementBlock as M, resolveComponent as x, withDirectives as He, createBlock as B, withCtx as u, createVNode as h, withModifiers as io, createElementVNode as l, vShow as We, toDisplayString as b, Fragment as be, renderList as we, createTextVNode as U, createCommentVNode as E, normalizeStyle as ae, mergeProps as j, normalizeClass as Ue } from "vue";
7
7
  import xe from "mapbox-gl";
8
- import { LngLatHelper as K, TropicalHelper as Wa, LaneHelper as Fe } from "@idm-plugin/geo";
8
+ import { LngLatHelper as K, TropicalHelper as Ua, LaneHelper as Fe } from "@idm-plugin/geo";
9
9
  import I from "moment";
10
10
  import { TidesAssist as Ka, Meteo2Assist as ao } from "@idm-plugin/meteo";
11
11
  import * as Ga from "echarts";
@@ -440,7 +440,7 @@ const ci = {
440
440
  "symbol-placement": "point",
441
441
  "icon-image": "warning",
442
442
  "icon-size": 1,
443
- "icon-offset": [0, -15],
443
+ "icon-offset": [0, -13],
444
444
  "icon-allow-overlap": !0,
445
445
  "icon-rotation-alignment": "viewport"
446
446
  },
@@ -499,11 +499,11 @@ function di(t, e, o, i, a, r) {
499
499
  id: "idm-gl4-zone-info"
500
500
  }, {
501
501
  default: u(() => [
502
- d(n, null, {
502
+ h(n, null, {
503
503
  default: u(() => {
504
504
  var g;
505
505
  return [
506
- d(s, {
506
+ h(s, {
507
507
  icon: "",
508
508
  density: "compact",
509
509
  variant: "plain",
@@ -527,7 +527,7 @@ function di(t, e, o, i, a, r) {
527
527
  ]),
528
528
  _: 1
529
529
  }, 512)), [
530
- [Ue, a.showZone]
530
+ [We, a.showZone]
531
531
  ]);
532
532
  }
533
533
  const hi = /* @__PURE__ */ V(ci, [["render", di]]);
@@ -599,7 +599,11 @@ const pi = {
599
599
  "symbol-placement": "point",
600
600
  "icon-size": 1,
601
601
  "icon-image": "port",
602
- "icon-offset": [0, -15],
602
+ "icon-offset": [0, -13],
603
+ "icon-allow-overlap": !1,
604
+ "icon-ignore-placement": !1,
605
+ "icon-avoid-edges": !1,
606
+ "icon-padding": 4,
603
607
  "text-anchor": "bottom",
604
608
  "text-field": "{name}",
605
609
  "text-rotation-alignment": "viewport",
@@ -641,13 +645,13 @@ const pi = {
641
645
  }
642
646
  }, ui = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, gi = { class: "d-flex justify-start align-center text-label" }, fi = { class: "d-flex justify-start align-center text-label" };
643
647
  function yi(t, e, o, i, a, r) {
644
- const s = x("v-card-text"), n = x("v-card");
648
+ const s = x("VCardText"), n = x("VCard");
645
649
  return He((y(), B(n, {
646
650
  id: "idmPortInfo",
647
651
  ref: "idmPortInfo"
648
652
  }, {
649
653
  default: u(() => [
650
- d(s, { class: "text-body-1 pr-8" }, {
654
+ h(s, { class: "text-body-1 pr-8" }, {
651
655
  default: u(() => [
652
656
  l("div", ui, [
653
657
  e[1] || (e[1] = l("div", null, "port", -1)),
@@ -665,10 +669,10 @@ function yi(t, e, o, i, a, r) {
665
669
  ]),
666
670
  _: 1
667
671
  }, 512)), [
668
- [Ue, a.showInfo]
672
+ [We, a.showInfo]
669
673
  ]);
670
674
  }
671
- const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-61def159"]]), wi = {
675
+ const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-70375c62"]]), wi = {
672
676
  name: "IdmLoadLine",
673
677
  props: {
674
678
  map: {
@@ -1282,8 +1286,8 @@ const Ni = /* @__PURE__ */ V(Ei, [["render", ji]]), Fi = {
1282
1286
  function Hi(t, e, o, i, a, r) {
1283
1287
  return null;
1284
1288
  }
1285
- const Ui = /* @__PURE__ */ V(Fi, [["render", Hi]]);
1286
- const Wi = {
1289
+ const Wi = /* @__PURE__ */ V(Fi, [["render", Hi]]);
1290
+ const Ui = {
1287
1291
  name: "IdmTideStations",
1288
1292
  props: {
1289
1293
  map: {
@@ -1580,35 +1584,35 @@ const Wi = {
1580
1584
  this.showDetail = !1;
1581
1585
  }
1582
1586
  }
1583
- }, Gi = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Vi = { class: "d-flex justify-start align-center" }, Zi = { class: "text-label" }, Yi = { class: "d-flex justify-space-between align-center" }, qi = { class: "d-flex justify-start text-h5 my-2" }, Xi = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Ki = { class: "w-100 flex-1-1-0 px-5 pt-0 pb-0 overflow-y-auto scroll d-flex flex-column justify-start align-center" }, Qi = { class: "summary-box w-100" }, Ji = { class: "d-flex justify-space-between align-center py-2" }, $i = { class: "d-flex justify-center align-center text-h6 ga-2" }, er = {
1587
+ }, Gi = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Vi = { class: "d-flex justify-start align-center" }, Zi = { class: "text-label" }, Yi = { class: "d-flex justify-space-between align-center" }, qi = { class: "d-flex justify-start text-h5 my-2" }, Xi = { class: "w-100 flex-1-1-0 px-5 pt-0 pb-0 overflow-y-auto scroll d-flex flex-column justify-start align-center" }, Ki = { class: "summary-box w-100" }, Qi = { class: "d-flex justify-space-between align-center py-2" }, Ji = { class: "d-flex justify-center align-center text-h6 ga-2" }, $i = {
1584
1588
  class: "multi-color-icon",
1585
1589
  "aria-hidden": "true"
1586
- }, tr = ["xlink:href"], or = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, ar = { class: "w-100 d-flex justify-start align-center" }, ir = { class: "w-30 text-label font-weight-400" }, rr = { class: "flex-1-1-0" }, lr = { class: "w-100 d-flex justify-start align-center" }, sr = { class: "w-30 text-label font-weight-400" }, nr = { class: "flex-1-1-0" }, cr = { class: "w-100 d-flex justify-start align-center" }, mr = { class: "w-30 text-label font-weight-400" }, dr = { class: "flex-1-1-0" }, hr = { class: "table-box w-100 mt-2 mb-4 flex-1-1-0 d-flex flex-column justify-start align-center" }, pr = { class: "w-100 d-flex justify-space-between align-center py-2" }, ur = { class: "d-flex justify-center align-center text-h6 ga-2" }, gr = {
1590
+ }, er = ["xlink:href"], tr = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, or = { class: "w-100 d-flex justify-start align-center" }, ar = { class: "w-30 text-label font-weight-400" }, ir = { class: "flex-1-1-0" }, rr = { class: "w-100 d-flex justify-start align-center" }, lr = { class: "w-30 text-label font-weight-400" }, sr = { class: "flex-1-1-0" }, nr = { class: "w-100 d-flex justify-start align-center" }, cr = { class: "w-30 text-label font-weight-400" }, mr = { class: "flex-1-1-0" }, dr = { class: "table-box w-100 mt-2 mb-4 flex-1-1-0 d-flex flex-column justify-start align-center" }, hr = { class: "w-100 d-flex justify-space-between align-center py-2" }, pr = { class: "d-flex justify-center align-center text-h6 ga-2" }, ur = {
1587
1591
  class: "multi-color-icon",
1588
1592
  "aria-hidden": "true"
1589
- }, fr = ["xlink:href"], yr = { class: "w-100 gray-card rounded pa-4 flex-1-1-0 d-flex flex-column justify-center align-center" }, br = {
1593
+ }, gr = ["xlink:href"], fr = { class: "w-100 gray-card rounded pa-4 flex-1-1-0 d-flex flex-column justify-center align-center" }, yr = {
1590
1594
  class: "w-100 flex-1-1-0 py-4",
1591
1595
  ref: "tideEchart"
1592
- }, wr = {
1596
+ }, br = {
1593
1597
  "fixed-header": "",
1594
1598
  density: "compact",
1595
1599
  class: "w-100 tide-table bg-none"
1596
- }, xr = {
1600
+ }, wr = {
1597
1601
  class: "px-1 text-left text-label font-weight-400",
1598
1602
  width: "120"
1599
- }, vr = {
1603
+ }, xr = {
1600
1604
  class: "px-1 text-left text-label font-weight-400",
1601
1605
  width: "120"
1602
- }, _r = {
1606
+ }, vr = {
1603
1607
  class: "px-1 text-left text-label font-weight-400",
1604
1608
  width: "120"
1605
1609
  };
1606
- function kr(t, e, o, i, a, r) {
1607
- const s = x("v-card-text"), n = x("v-card"), c = x("VBtn"), g = x("v-card-title"), p = x("v-divider"), h = x("VBtnToggle");
1610
+ function _r(t, e, o, i, a, r) {
1611
+ const s = x("v-card-text"), n = x("v-card"), c = x("VBtn"), g = x("v-card-title"), p = x("v-divider"), d = x("VBtnToggle");
1608
1612
  return y(), M("div", null, [
1609
- He(d(n, { id: "idmTidalInfo" }, {
1613
+ He(h(n, { id: "idmTidalInfo" }, {
1610
1614
  default: u(() => [
1611
- d(s, { class: "pr-8 text-body-1" }, {
1615
+ h(s, { class: "pr-8 text-body-1" }, {
1612
1616
  default: u(() => {
1613
1617
  var f, k;
1614
1618
  return [
@@ -1625,7 +1629,7 @@ function kr(t, e, o, i, a, r) {
1625
1629
  ]),
1626
1630
  _: 1
1627
1631
  }, 512), [
1628
- [Ue, a.showInfo]
1632
+ [We, a.showInfo]
1629
1633
  ]),
1630
1634
  a.showDetail ? (y(), B(n, {
1631
1635
  key: 0,
@@ -1634,20 +1638,20 @@ function kr(t, e, o, i, a, r) {
1634
1638
  default: u(() => {
1635
1639
  var f, k, v, T;
1636
1640
  return [
1637
- d(g, { class: "w-100" }, {
1641
+ h(g, { class: "w-100" }, {
1638
1642
  default: u(() => {
1639
- var w, A;
1643
+ var w;
1640
1644
  return [
1641
1645
  l("div", Yi, [
1642
1646
  l("div", qi, [
1643
1647
  l("div", null, b((w = a.station) == null ? void 0 : w.name), 1)
1644
1648
  ]),
1645
- d(c, {
1649
+ h(c, {
1646
1650
  icon: "",
1647
1651
  density: "compact",
1648
1652
  variant: "plain",
1649
1653
  class: "mr-n2",
1650
- onClick: e[0] || (e[0] = (S) => a.showDetail = !1)
1654
+ onClick: e[0] || (e[0] = (D) => a.showDetail = !1)
1651
1655
  }, {
1652
1656
  default: u(() => e[3] || (e[3] = [
1653
1657
  l("i", { class: "iconfont icon-close opacity-70 text-h4" }, null, -1)
@@ -1656,60 +1660,57 @@ function kr(t, e, o, i, a, r) {
1656
1660
  __: [3]
1657
1661
  })
1658
1662
  ]),
1659
- l("div", Xi, [
1660
- e[5] || (e[5] = l("div", null, "tide station", -1)),
1661
- l("div", null, [
1662
- e[4] || (e[4] = l("label", null, "UN/LOCODE: ", -1)),
1663
- l("span", null, b((A = a.station) == null ? void 0 : A.Code), 1)
1664
- ])
1665
- ])
1663
+ e[4] || (e[4] = l("div", { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, [
1664
+ l("div", null, "tide station")
1665
+ ], -1))
1666
1666
  ];
1667
1667
  }),
1668
- _: 1
1668
+ _: 1,
1669
+ __: [4]
1669
1670
  }),
1670
- d(p, { class: "w-100" }),
1671
- l("div", Ki, [
1672
- l("div", Qi, [
1673
- l("div", Ji, [
1674
- l("div", $i, [
1675
- (y(), M("svg", er, [
1671
+ h(p, { class: "w-100" }),
1672
+ l("div", Xi, [
1673
+ l("div", Ki, [
1674
+ l("div", Qi, [
1675
+ l("div", Ji, [
1676
+ (y(), M("svg", $i, [
1676
1677
  l("use", {
1677
1678
  "xlink:href": `#icon-title-${o.theme}`
1678
- }, null, 8, tr)
1679
+ }, null, 8, er)
1679
1680
  ])),
1680
- e[6] || (e[6] = l("div", null, "Summary", -1))
1681
+ e[5] || (e[5] = l("div", null, "Summary", -1))
1681
1682
  ]),
1682
- e[7] || (e[7] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1683
+ e[6] || (e[6] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1683
1684
  ]),
1684
- l("div", or, [
1685
- l("div", ar, [
1686
- l("div", ir, b(t.$t("tide.region")), 1),
1687
- l("div", rr, b(((f = a.station) == null ? void 0 : f.Country) ?? ((k = a.station) == null ? void 0 : k.city) ?? "-"), 1)
1685
+ l("div", tr, [
1686
+ l("div", or, [
1687
+ l("div", ar, b(t.$t("tide.region")), 1),
1688
+ l("div", ir, b(((f = a.station) == null ? void 0 : f.Country) ?? ((k = a.station) == null ? void 0 : k.city) ?? "-"), 1)
1688
1689
  ]),
1689
- l("div", lr, [
1690
- l("div", sr, b(t.$t("tide.position")), 1),
1691
- l("div", nr, b(r.computeLng((v = a.station) == null ? void 0 : v.lng) ?? "-") + " , " + b(r.computeLat((T = a.station) == null ? void 0 : T.lat) ?? "-"), 1)
1690
+ l("div", rr, [
1691
+ l("div", lr, b(t.$t("tide.position")), 1),
1692
+ l("div", sr, b(r.computeLng((v = a.station) == null ? void 0 : v.lng) ?? "-") + " , " + b(r.computeLat((T = a.station) == null ? void 0 : T.lat) ?? "-"), 1)
1692
1693
  ]),
1693
- l("div", cr, [
1694
- l("div", mr, b(t.$t("time.localTime")), 1),
1695
- l("div", dr, b(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
1694
+ l("div", nr, [
1695
+ l("div", cr, b(t.$t("time.localTime")), 1),
1696
+ l("div", mr, b(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
1696
1697
  ])
1697
1698
  ])
1698
1699
  ]),
1699
- l("div", hr, [
1700
- l("div", pr, [
1701
- l("div", ur, [
1702
- (y(), M("svg", gr, [
1700
+ l("div", dr, [
1701
+ l("div", hr, [
1702
+ l("div", pr, [
1703
+ (y(), M("svg", ur, [
1703
1704
  l("use", {
1704
1705
  "xlink:href": `#icon-title-${o.theme}`
1705
- }, null, 8, fr)
1706
+ }, null, 8, gr)
1706
1707
  ])),
1707
- e[8] || (e[8] = l("div", null, "Tide Times", -1))
1708
+ e[7] || (e[7] = l("div", null, "Tide Times", -1))
1708
1709
  ]),
1709
- e[9] || (e[9] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1710
+ e[8] || (e[8] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1710
1711
  ]),
1711
- l("div", yr, [
1712
- d(h, {
1712
+ l("div", fr, [
1713
+ h(d, {
1713
1714
  modelValue: a.currentIndex,
1714
1715
  "onUpdate:modelValue": e[1] || (e[1] = (w) => a.currentIndex = w),
1715
1716
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
@@ -1728,37 +1729,37 @@ function kr(t, e, o, i, a, r) {
1728
1729
  value: w.index
1729
1730
  }, {
1730
1731
  default: u(() => [
1731
- W(b(w.label), 1)
1732
+ U(b(w.label), 1)
1732
1733
  ]),
1733
1734
  _: 2
1734
1735
  }, 1032, ["value"]))), 256))
1735
1736
  ]),
1736
1737
  _: 1
1737
1738
  }, 8, ["modelValue"]),
1738
- l("div", br, null, 512),
1739
- l("table", wr, [
1739
+ l("div", yr, null, 512),
1740
+ l("table", br, [
1740
1741
  l("tbody", null, [
1741
1742
  l("tr", null, [
1742
- l("th", xr, b(t.$t("tide.tide")) + " ( m )", 1),
1743
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => {
1743
+ l("th", wr, b(t.$t("tide.tide")) + " ( m )", 1),
1744
+ (y(!0), M(be, null, we(a.tideTableData, (w, D) => {
1744
1745
  var S;
1745
1746
  return y(), M("td", {
1746
- key: w.type + "-" + A,
1747
+ key: w.type + "-" + D,
1747
1748
  class: "px-1 text-center"
1748
1749
  }, b(t.$t(`tide.${(S = w == null ? void 0 : w.type) == null ? void 0 : S.toLowerCase()}`)), 1);
1749
1750
  }), 128))
1750
1751
  ]),
1751
1752
  l("tr", null, [
1752
- l("th", vr, b(t.$t("tide.datum")), 1),
1753
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => (y(), M("td", {
1754
- key: w.date + "-" + A,
1753
+ l("th", xr, b(t.$t("tide.datum")), 1),
1754
+ (y(!0), M(be, null, we(a.tideTableData, (w, D) => (y(), M("td", {
1755
+ key: w.date + "-" + D,
1755
1756
  class: "px-1 text-center"
1756
1757
  }, b(r.computeHourLT(w == null ? void 0 : w.date, a.station)) + " LT", 1))), 128))
1757
1758
  ]),
1758
1759
  l("tr", null, [
1759
- l("th", _r, b(t.$t("tide.chartDatum")), 1),
1760
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => (y(), M("td", {
1761
- key: w.height + "-" + A,
1760
+ l("th", vr, b(t.$t("tide.chartDatum")), 1),
1761
+ (y(!0), M(be, null, we(a.tideTableData, (w, D) => (y(), M("td", {
1762
+ key: w.height + "-" + D,
1762
1763
  class: "px-1 text-center"
1763
1764
  }, b((w == null ? void 0 : w.height) ?? "-") + " m", 1))), 128))
1764
1765
  ])
@@ -1773,7 +1774,7 @@ function kr(t, e, o, i, a, r) {
1773
1774
  })) : E("", !0)
1774
1775
  ]);
1775
1776
  }
1776
- const zr = /* @__PURE__ */ V(Wi, [["render", kr], ["__scopeId", "data-v-5b47ddcf"]]), Lr = {
1777
+ const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-c8a30719"]]), zr = {
1777
1778
  name: "IdmIceAreas",
1778
1779
  props: {
1779
1780
  map: {
@@ -1810,11 +1811,11 @@ const zr = /* @__PURE__ */ V(Wi, [["render", kr], ["__scopeId", "data-v-5b47ddcf
1810
1811
  }
1811
1812
  }
1812
1813
  };
1813
- function Pr(t, e, o, i, a, r) {
1814
+ function Lr(t, e, o, i, a, r) {
1814
1815
  return null;
1815
1816
  }
1816
- const Cr = /* @__PURE__ */ V(Lr, [["render", Pr]]);
1817
- const Tr = {
1817
+ const Pr = /* @__PURE__ */ V(zr, [["render", Lr]]);
1818
+ const Cr = {
1818
1819
  name: "IdmLatLng",
1819
1820
  props: {
1820
1821
  map: {
@@ -1984,7 +1985,7 @@ const Tr = {
1984
1985
  }
1985
1986
  }
1986
1987
  };
1987
- function Sr(t, e, o, i, a, r) {
1988
+ function Tr(t, e, o, i, a, r) {
1988
1989
  var s, n, c;
1989
1990
  return y(), M("div", {
1990
1991
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
@@ -1995,8 +1996,8 @@ function Sr(t, e, o, i, a, r) {
1995
1996
  l("div", null, b((c = a.lngLat) == null ? void 0 : c.str), 1)
1996
1997
  ], 4);
1997
1998
  }
1998
- const Za = /* @__PURE__ */ V(Tr, [["render", Sr]]);
1999
- const Mr = {
1999
+ const Za = /* @__PURE__ */ V(Cr, [["render", Tr]]);
2000
+ const Sr = {
2000
2001
  name: "IdmFollowPort",
2001
2002
  props: {
2002
2003
  map: {
@@ -2870,7 +2871,7 @@ const Mr = {
2870
2871
  "symbol-placement": "point",
2871
2872
  "icon-size": 1,
2872
2873
  "icon-image": "port",
2873
- "icon-offset": [0, -15],
2874
+ "icon-offset": [0, -13],
2874
2875
  "text-anchor": "bottom",
2875
2876
  "text-field": "{name}",
2876
2877
  "text-rotation-alignment": "viewport",
@@ -2907,22 +2908,22 @@ const Mr = {
2907
2908
  this.showInfo = !1, this.map.getCanvas().style.cursor = "grab";
2908
2909
  }
2909
2910
  }
2910
- }, Ir = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ar = { class: "d-flex justify-start align-center text-label" }, Dr = { class: "d-flex justify-start align-center text-label" };
2911
- function Rr(t, e, o, i, a, r) {
2911
+ }, Mr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ir = { class: "d-flex justify-start align-center text-label" }, Ar = { class: "d-flex justify-start align-center text-label" };
2912
+ function Dr(t, e, o, i, a, r) {
2912
2913
  const s = x("v-card-text"), n = x("v-card");
2913
2914
  return He((y(), B(n, {
2914
2915
  id: "idmFollowPortInfo",
2915
2916
  ref: "idmFollowPortInfo"
2916
2917
  }, {
2917
2918
  default: u(() => [
2918
- d(s, { class: "text-body-1 pr-8" }, {
2919
+ h(s, { class: "text-body-1 pr-8" }, {
2919
2920
  default: u(() => [
2920
- l("div", Ir, [
2921
+ l("div", Mr, [
2921
2922
  e[1] || (e[1] = l("div", null, "port", -1)),
2922
- l("div", Ar, [
2923
+ l("div", Ir, [
2923
2924
  l("span", null, b(a.port.name ?? "-"), 1)
2924
2925
  ]),
2925
- l("div", Dr, [
2926
+ l("div", Ar, [
2926
2927
  e[0] || (e[0] = l("label", { class: "pr-1" }, "LoCode : ", -1)),
2927
2928
  l("span", null, b(a.port.loCode ?? "-"), 1)
2928
2929
  ])
@@ -2933,10 +2934,10 @@ function Rr(t, e, o, i, a, r) {
2933
2934
  ]),
2934
2935
  _: 1
2935
2936
  }, 512)), [
2936
- [Ue, a.showInfo]
2937
+ [We, a.showInfo]
2937
2938
  ]);
2938
2939
  }
2939
- const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3"]]), Br = {
2940
+ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-98bcf2a1"]]), Or = {
2940
2941
  name: "IdmFollowPosition",
2941
2942
  props: {
2942
2943
  map: {
@@ -3810,7 +3811,7 @@ const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3
3810
3811
  "symbol-placement": "point",
3811
3812
  "icon-size": 1,
3812
3813
  "icon-image": "location",
3813
- "icon-offset": [0, -15]
3814
+ "icon-offset": [0, -13]
3814
3815
  },
3815
3816
  paint: {
3816
3817
  "text-color": this.Theme.current.value.colors["on-surface"],
@@ -3826,9 +3827,11 @@ const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3
3826
3827
  var o, i, a, r, s, n, c, g, p;
3827
3828
  const e = t.features[0];
3828
3829
  if (e.properties) {
3829
- const h = e.properties, f = I(), k = (o = I(this.realTime)) == null ? void 0 : o.diff(f, "d", !0), v = {
3830
- lat: h.lat,
3831
- lng: h.lng,
3830
+ const d = e.properties;
3831
+ d.lng = e.geometry.coordinates[0], d.lat = e.geometry.coordinates[1], console.log("point", d);
3832
+ const f = I(), k = (o = I(this.realTime)) == null ? void 0 : o.diff(f, "d", !0), v = {
3833
+ lat: d.lat,
3834
+ lng: d.lng,
3832
3835
  datetime: this.realTime,
3833
3836
  forecastModel: this.forecastModel
3834
3837
  };
@@ -3843,11 +3846,11 @@ const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3
3843
3846
  }
3844
3847
  }
3845
3848
  };
3846
- function Er(t, e, o, i, a, r) {
3849
+ function Br(t, e, o, i, a, r) {
3847
3850
  return null;
3848
3851
  }
3849
- const jr = /* @__PURE__ */ V(Br, [["render", Er]]);
3850
- const Nr = {
3852
+ const Er = /* @__PURE__ */ V(Or, [["render", Br]]);
3853
+ const jr = {
3851
3854
  name: "IdmOtherLayerr",
3852
3855
  components: {
3853
3856
  IdmWarZone: oi,
@@ -3862,12 +3865,12 @@ const Nr = {
3862
3865
  IdmTerminator: Di,
3863
3866
  IdmWorld12nm: Bi,
3864
3867
  IdmWorldMarine: Ni,
3865
- IdmChinaRoute: Ui,
3866
- IdmTideStations: zr,
3867
- IdmIceAreas: Cr,
3868
+ IdmChinaRoute: Wi,
3869
+ IdmTideStations: kr,
3870
+ IdmIceAreas: Pr,
3868
3871
  IdmLatLng: Za,
3869
- IdmFollowPort: Or,
3870
- IdmFollowPosition: jr
3872
+ IdmFollowPort: Rr,
3873
+ IdmFollowPosition: Er
3871
3874
  },
3872
3875
  props: {
3873
3876
  map: {
@@ -3935,7 +3938,6 @@ const Nr = {
3935
3938
  { name: "Nautical Map", value: "nautical", locale: "nauticalMap" }
3936
3939
  ],
3937
3940
  checkList: []
3938
- // followList: [],
3939
3941
  };
3940
3942
  },
3941
3943
  computed: {
@@ -3987,12 +3989,6 @@ const Nr = {
3987
3989
  this.$emit("otherCheckList", this.checkList);
3988
3990
  }
3989
3991
  }
3990
- // followList: {
3991
- // handler() {
3992
- // localStorage.setItem(this.cache.followListKey, JSON.stringify(this.followList))
3993
- // this.$emit('followLayerList', this.followList)
3994
- // },
3995
- // },
3996
3992
  },
3997
3993
  async mounted() {
3998
3994
  this.fetchCache();
@@ -4024,18 +4020,18 @@ const Nr = {
4024
4020
  });
4025
4021
  if (((o = n == null ? void 0 : n.data) == null ? void 0 : o.code) === 0) {
4026
4022
  const c = (i = n == null ? void 0 : n.data) == null ? void 0 : i.data, g = [];
4027
- for (const h in c)
4023
+ for (const d in c)
4028
4024
  g.push(
4029
- Se.get(c[h], {
4025
+ Se.get(c[d], {
4030
4026
  headers: {
4031
4027
  Authorization: this.token || this.defaultMeteoToken,
4032
- key: h
4028
+ key: d
4033
4029
  }
4034
4030
  })
4035
4031
  );
4036
- (await Promise.all(g)).map((h) => {
4032
+ (await Promise.all(g)).map((d) => {
4037
4033
  var v, T, w;
4038
- const f = ((v = h == null ? void 0 : h.data) == null ? void 0 : v.data) || (h == null ? void 0 : h.data), k = (w = (T = h == null ? void 0 : h.config) == null ? void 0 : T.headers) == null ? void 0 : w.key;
4034
+ const f = ((v = d == null ? void 0 : d.data) == null ? void 0 : v.data) || (d == null ? void 0 : d.data), k = (w = (T = d == null ? void 0 : d.config) == null ? void 0 : T.headers) == null ? void 0 : w.key;
4039
4035
  this.otherLayers[k] = f;
4040
4036
  });
4041
4037
  }
@@ -4047,18 +4043,18 @@ const Nr = {
4047
4043
  });
4048
4044
  if (((a = n == null ? void 0 : n.data) == null ? void 0 : a.code) === 0) {
4049
4045
  const c = (r = n == null ? void 0 : n.data) == null ? void 0 : r.data, g = [];
4050
- for (const h in c)
4046
+ for (const d in c)
4051
4047
  g.push(
4052
- Se.get(c[h], {
4048
+ Se.get(c[d], {
4053
4049
  headers: {
4054
4050
  Authorization: this.token || this.defaultMeteoToken,
4055
- key: h
4051
+ key: d
4056
4052
  }
4057
4053
  })
4058
4054
  );
4059
- (await Promise.all(g)).map((h) => {
4055
+ (await Promise.all(g)).map((d) => {
4060
4056
  var v, T, w;
4061
- const f = ((v = h == null ? void 0 : h.data) == null ? void 0 : v.data) || (h == null ? void 0 : h.data), k = (w = (T = h == null ? void 0 : h.config) == null ? void 0 : T.headers) == null ? void 0 : w.key;
4057
+ const f = ((v = d == null ? void 0 : d.data) == null ? void 0 : v.data) || (d == null ? void 0 : d.data), k = (w = (T = d == null ? void 0 : d.config) == null ? void 0 : T.headers) == null ? void 0 : w.key;
4062
4058
  this.otherLayers[k] = f;
4063
4059
  });
4064
4060
  }
@@ -4070,37 +4066,37 @@ const Nr = {
4070
4066
  this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
4071
4067
  }
4072
4068
  }
4073
- }, Fr = { class: "idm-gl4-other-layer" }, Hr = { class: "header-box d-flex justify-space-between align-center px-4" }, Ur = { class: "text-h5 font-weight-medium" }, Wr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Gr = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Vr = ["onClick"], Zr = {
4069
+ }, Nr = { class: "idm-gl4-other-layer" }, Fr = { class: "header-box d-flex justify-space-between align-center px-4" }, Hr = { class: "text-h5 font-weight-medium" }, Wr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Ur = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Gr = ["onClick"], Vr = {
4074
4070
  key: 0,
4075
4071
  src: "https://osshz.idmwx.com/asset/dark-map.png",
4076
4072
  class: "border rounded-sm"
4077
- }, Yr = {
4073
+ }, Zr = {
4078
4074
  key: 1,
4079
4075
  src: "https://osshz.idmwx.com/asset/nautical-map.png",
4080
4076
  class: "border rounded-sm"
4081
- }, qr = {
4077
+ }, Yr = {
4082
4078
  key: 2,
4083
4079
  src: "https://osshz.idmwx.com/asset/satellite-map.png",
4084
4080
  class: "border rounded-sm"
4085
- }, Xr = {
4081
+ }, qr = {
4086
4082
  key: 3,
4087
4083
  src: "https://osshz.idmwx.com/asset/light-map.png",
4088
4084
  class: "border rounded-sm"
4089
- }, Kr = { class: "text-body-2 text-center pt-1" };
4090
- function Qr(t, e, o, i, a, r) {
4085
+ }, Xr = { class: "text-body-2 text-center pt-1" };
4086
+ function Kr(t, e, o, i, a, r) {
4091
4087
  var J, le, pe, ue, ce, Q, ie, ge, me;
4092
- const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), h = x("VCardText"), f = x("VCard"), k = x("IdmLatLng"), v = x("IdmTerminator"), T = x("IdmTimezone"), w = x("IdmPort"), A = x("IdmAlertZone"), S = x("IdmTideStations"), P = x("IdmEcaZone"), z = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), D = x("IdmVRA"), Z = x("IdmSpecialArea"), q = x("IdmWorld12nm"), X = x("IdmChinaRoute"), Y = x("IdmIceAreas"), te = x("IdmFollowPort"), oe = x("IdmFollowPosition");
4093
- return y(), M("div", Fr, [
4088
+ const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), d = x("VCardText"), f = x("VCard"), k = x("IdmLatLng"), v = x("IdmTerminator"), T = x("IdmTimezone"), w = x("IdmPort"), D = x("IdmAlertZone"), S = x("IdmTideStations"), P = x("IdmEcaZone"), z = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), A = x("IdmVRA"), Z = x("IdmSpecialArea"), q = x("IdmWorld12nm"), X = x("IdmChinaRoute"), Y = x("IdmIceAreas"), te = x("IdmFollowPort"), oe = x("IdmFollowPosition");
4089
+ return y(), M("div", Nr, [
4094
4090
  l("div", {
4095
4091
  class: "menu-bar-box transition px-1 rounded",
4096
4092
  style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
4097
4093
  }, [
4098
- d(n, {
4094
+ h(n, {
4099
4095
  text: t.$t("layer.mapLayers"),
4100
4096
  location: "left"
4101
4097
  }, {
4102
4098
  activator: u(({ props: F }) => [
4103
- d(s, j(F, {
4099
+ h(s, j(F, {
4104
4100
  "min-width": "32",
4105
4101
  width: "32",
4106
4102
  height: "32",
@@ -4118,12 +4114,12 @@ function Qr(t, e, o, i, a, r) {
4118
4114
  }, 8, ["text"])
4119
4115
  ], 4),
4120
4116
  l("div", {
4121
- class: We(["available-layers transition", a.toggle ? "right-bar" : ""]),
4117
+ class: Ue(["available-layers transition", a.toggle ? "right-bar" : ""]),
4122
4118
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
4123
4119
  }, [
4124
- l("div", Hr, [
4125
- l("div", Ur, b(t.$t("layer.layers")), 1),
4126
- d(s, {
4120
+ l("div", Fr, [
4121
+ l("div", Hr, b(t.$t("layer.layers")), 1),
4122
+ h(s, {
4127
4123
  icon: "",
4128
4124
  density: "compact",
4129
4125
  variant: "plain",
@@ -4138,40 +4134,40 @@ function Qr(t, e, o, i, a, r) {
4138
4134
  }, 8, ["onClick"])
4139
4135
  ]),
4140
4136
  l("div", Wr, [
4141
- d(f, {
4137
+ h(f, {
4142
4138
  class: "menu-card mx-auto mb-3",
4143
4139
  elevation: "0"
4144
4140
  }, {
4145
4141
  default: u(() => [
4146
- d(g, { class: "border-b-thin" }, {
4142
+ h(g, { class: "border-b-thin" }, {
4147
4143
  default: u(() => [
4148
- d(c, {
4144
+ h(c, {
4149
4145
  class: "text-subtitle-1 font-weight-medium",
4150
4146
  style: { "font-size": "16px !important" }
4151
4147
  }, {
4152
4148
  default: u(() => [
4153
- W(b(t.$t("layer.mapFeathers")), 1)
4149
+ U(b(t.$t("layer.mapFeathers")), 1)
4154
4150
  ]),
4155
4151
  _: 1
4156
4152
  })
4157
4153
  ]),
4158
4154
  _: 1
4159
4155
  }),
4160
- d(h, { class: "pb-2" }, {
4156
+ h(d, { class: "pb-2" }, {
4161
4157
  default: u(() => [
4162
- l("div", Gr, [
4158
+ l("div", Ur, [
4163
4159
  (y(!0), M(be, null, we(a.mapFeathers, (F) => (y(), M("div", {
4164
4160
  key: F.value,
4165
4161
  class: "mb-2 feather-item",
4166
4162
  onClick: (de) => r.handleToggleMapFeather(F)
4167
4163
  }, [
4168
4164
  l("div", {
4169
- class: We([a.mapFeather === F.value ? "active" : "", "img-box"])
4165
+ class: Ue([a.mapFeather === F.value ? "active" : "", "img-box"])
4170
4166
  }, [
4171
- F.value === "dark" ? (y(), M("img", Zr)) : F.value === "nautical" ? (y(), M("img", Yr)) : F.value === "satellite" ? (y(), M("img", qr)) : (y(), M("img", Xr))
4167
+ F.value === "dark" ? (y(), M("img", Vr)) : F.value === "nautical" ? (y(), M("img", Zr)) : F.value === "satellite" ? (y(), M("img", Yr)) : (y(), M("img", qr))
4172
4168
  ], 2),
4173
- l("div", Kr, b(t.$t(`layer.${F.locale}`)), 1)
4174
- ], 8, Vr))), 128))
4169
+ l("div", Xr, b(t.$t(`layer.${F.locale}`)), 1)
4170
+ ], 8, Gr))), 128))
4175
4171
  ]),
4176
4172
  (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), B(p, {
4177
4173
  key: F.key,
@@ -4191,26 +4187,26 @@ function Qr(t, e, o, i, a, r) {
4191
4187
  ]),
4192
4188
  _: 1
4193
4189
  }),
4194
- d(f, {
4190
+ h(f, {
4195
4191
  class: "menu-card mx-auto mb-3",
4196
4192
  elevation: "0"
4197
4193
  }, {
4198
4194
  default: u(() => [
4199
- d(g, { class: "border-b-thin" }, {
4195
+ h(g, { class: "border-b-thin" }, {
4200
4196
  default: u(() => [
4201
- d(c, {
4197
+ h(c, {
4202
4198
  class: "text-subtitle-1 font-weight-medium",
4203
4199
  style: { "font-size": "16px !important" }
4204
4200
  }, {
4205
4201
  default: u(() => [
4206
- W(b(t.$t("layer.pointsOfInteresting")), 1)
4202
+ U(b(t.$t("layer.pointsOfInteresting")), 1)
4207
4203
  ]),
4208
4204
  _: 1
4209
4205
  })
4210
4206
  ]),
4211
4207
  _: 1
4212
4208
  }),
4213
- d(h, { class: "py-2" }, {
4209
+ h(d, { class: "py-2" }, {
4214
4210
  default: u(() => [
4215
4211
  (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), B(p, {
4216
4212
  key: F.key,
@@ -4230,26 +4226,26 @@ function Qr(t, e, o, i, a, r) {
4230
4226
  ]),
4231
4227
  _: 1
4232
4228
  }),
4233
- d(f, {
4229
+ h(f, {
4234
4230
  class: "menu-card mx-auto mb-3",
4235
4231
  elevation: "0"
4236
4232
  }, {
4237
4233
  default: u(() => [
4238
- d(g, { class: "border-b-thin" }, {
4234
+ h(g, { class: "border-b-thin" }, {
4239
4235
  default: u(() => [
4240
- d(c, {
4236
+ h(c, {
4241
4237
  class: "text-subtitle-1 font-weight-medium",
4242
4238
  style: { "font-size": "16px !important" }
4243
4239
  }, {
4244
4240
  default: u(() => [
4245
- W(b(t.$t("layer.otherLayers")), 1)
4241
+ U(b(t.$t("layer.otherLayers")), 1)
4246
4242
  ]),
4247
4243
  _: 1
4248
4244
  })
4249
4245
  ]),
4250
4246
  _: 1
4251
4247
  }),
4252
- d(h, { class: "py-2" }, {
4248
+ h(d, { class: "py-2" }, {
4253
4249
  default: u(() => [
4254
4250
  (y(!0), M(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), B(p, {
4255
4251
  key: F.key,
@@ -4269,28 +4265,28 @@ function Qr(t, e, o, i, a, r) {
4269
4265
  ]),
4270
4266
  _: 1
4271
4267
  }),
4272
- d(f, {
4268
+ h(f, {
4273
4269
  class: "menu-card mx-auto mb-3",
4274
4270
  elevation: "0"
4275
4271
  }, {
4276
4272
  default: u(() => [
4277
- d(g, { class: "border-b-thin" }, {
4273
+ h(g, { class: "border-b-thin" }, {
4278
4274
  default: u(() => [
4279
- d(c, {
4275
+ h(c, {
4280
4276
  class: "text-subtitle-1 font-weight-medium",
4281
4277
  style: { "font-size": "16px !important" }
4282
4278
  }, {
4283
4279
  default: u(() => [
4284
- W(b(t.$t("layer.myFollows")), 1)
4280
+ U(b(t.$t("layer.myFollows")), 1)
4285
4281
  ]),
4286
4282
  _: 1
4287
4283
  })
4288
4284
  ]),
4289
4285
  _: 1
4290
4286
  }),
4291
- d(h, { class: "py-2" }, {
4287
+ h(d, { class: "py-2" }, {
4292
4288
  default: u(() => [
4293
- d(p, {
4289
+ h(p, {
4294
4290
  modelValue: a.checkList,
4295
4291
  "onUpdate:modelValue": e[3] || (e[3] = (F) => a.checkList = F),
4296
4292
  value: "follow-ports",
@@ -4301,7 +4297,7 @@ function Qr(t, e, o, i, a, r) {
4301
4297
  class: "flex-1-0-100 text-body-2",
4302
4298
  "hide-details": ""
4303
4299
  }, null, 8, ["modelValue", "label"]),
4304
- d(p, {
4300
+ h(p, {
4305
4301
  modelValue: a.checkList,
4306
4302
  "onUpdate:modelValue": e[4] || (e[4] = (F) => a.checkList = F),
4307
4303
  value: "follow-positions",
@@ -4342,7 +4338,7 @@ function Qr(t, e, o, i, a, r) {
4342
4338
  ports: (pe = a.otherLayers) == null ? void 0 : pe.ports,
4343
4339
  "forecast-model": o.forecastModel
4344
4340
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) : E("", !0),
4345
- o.map ? (y(), B(A, j({
4341
+ o.map ? (y(), B(D, j({
4346
4342
  key: 4,
4347
4343
  map: o.map,
4348
4344
  zone: (ue = a.otherLayers) == null ? void 0 : ue["alert-zones"]
@@ -4387,7 +4383,7 @@ function Qr(t, e, o, i, a, r) {
4387
4383
  token: o.token,
4388
4384
  show: a.checkList.includes("worldMarine")
4389
4385
  }, t.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
4390
- o.map ? (y(), B(D, j({
4386
+ o.map ? (y(), B(A, j({
4391
4387
  key: 11,
4392
4388
  map: o.map,
4393
4389
  area: (ge = a.otherLayers) == null ? void 0 : ge["voluntary-reporting-area"]
@@ -4429,7 +4425,7 @@ function Qr(t, e, o, i, a, r) {
4429
4425
  }, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : E("", !0)
4430
4426
  ]);
4431
4427
  }
4432
- const Jr = /* @__PURE__ */ V(Nr, [["render", Qr]]);
4428
+ const Qr = /* @__PURE__ */ V(jr, [["render", Kr]]);
4433
4429
  class ro {
4434
4430
  constructor(e) {
4435
4431
  se(this, "map");
@@ -4480,8 +4476,8 @@ class ro {
4480
4476
  const e = (v = this.map) == null ? void 0 : v.getBounds();
4481
4477
  if (!e)
4482
4478
  return [];
4483
- const o = ((T = this.map) == null ? void 0 : T.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [n, c] = this.convertNLng(a[0]), [g, p] = this.mercator.px([r, i[1]], o), [h, f] = this.mercator.px([n, a[1]], o), k = Math.round(this.mercator.size * Math.pow(2, o) * (s + c));
4484
- return [h, f, g + k, p];
4479
+ const o = ((T = this.map) == null ? void 0 : T.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [n, c] = this.convertNLng(a[0]), [g, p] = this.mercator.px([r, i[1]], o), [d, f] = this.mercator.px([n, a[1]], o), k = Math.round(this.mercator.size * Math.pow(2, o) * (s + c));
4480
+ return [d, f, g + k, p];
4485
4481
  }
4486
4482
  /**
4487
4483
  * [视窗边界像素宽度]
@@ -4498,11 +4494,11 @@ class ro {
4498
4494
  getWorldCopy(e, o) {
4499
4495
  const i = 2 ** o, [a, r, s, n] = e.map((p) => ~~(p / (i * 256))), c = [];
4500
4496
  for (let p = n; p <= r; p++)
4501
- for (let h = a; h <= s; h++)
4502
- c.push([h, p]);
4497
+ for (let d = a; d <= s; d++)
4498
+ c.push([d, p]);
4503
4499
  return c.map((p) => {
4504
- const h = 2 ** o * 256;
4505
- return [p[0] * h, p[1] * h, h];
4500
+ const d = 2 ** o * 256;
4501
+ return [p[0] * d, p[1] * d, d];
4506
4502
  });
4507
4503
  }
4508
4504
  resize() {
@@ -4646,8 +4642,8 @@ class Ne {
4646
4642
  return {};
4647
4643
  }
4648
4644
  bindParticle(e, o, i, a, r, s) {
4649
- const n = this.createProgramWrapper(e, o, i), c = this.createProgramWrapper(e, a, r), g = this.createProgramWrapper(e, a, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), h = e.createFramebuffer();
4650
- return { particle: n, screen: c, update: g, quadBuffer: p, frameBuffer: h };
4645
+ const n = this.createProgramWrapper(e, o, i), c = this.createProgramWrapper(e, a, r), g = this.createProgramWrapper(e, a, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), d = e.createFramebuffer();
4646
+ return { particle: n, screen: c, update: g, quadBuffer: p, frameBuffer: d };
4651
4647
  }
4652
4648
  draw(e, o, i, a, r, s, n) {
4653
4649
  var c, g;
@@ -4664,9 +4660,9 @@ class Ne {
4664
4660
  sRange: o.getUniformLocation(i, "u_range_s")
4665
4661
  };
4666
4662
  p.resolution && o.uniform2f(p.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), p.image && o.uniform1i(p.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), p.color && o.uniform1i(p.color, 1), n != null && n.uvRange && (n != null && n.sRange) && (p.uvRange && o.uniform2f(p.uvRange, n.uvRange[0], n.uvRange[1]), p.sRange && o.uniform2f(p.sRange, n.sRange[0], n.sRange[1])), p.scale && o.uniform1f(p.scale, (n == null ? void 0 : n.scale) || 1);
4667
- const h = e.getBoundPixel(), f = e.map.getZoom() + 1, k = e.getWorldCopy(h, f);
4663
+ const d = e.getBoundPixel(), f = e.map.getZoom() + 1, k = e.getWorldCopy(d, f);
4668
4664
  for (const v of k) {
4669
- const T = (v[0] - h[0]) * e.ratio, w = (v[1] - h[3]) * e.ratio, A = v[2] * e.ratio, [S, P, z, L] = [T, A + T, w, A + w], C = new Float32Array([S, z, P, z, S, L, S, L, P, z, P, L]);
4665
+ const T = (v[0] - d[0]) * e.ratio, w = (v[1] - d[3]) * e.ratio, D = v[2] * e.ratio, [S, P, z, L] = [T, D + T, w, D + w], C = new Float32Array([S, z, P, z, S, L, S, L, P, z, P, L]);
4670
4666
  o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
4671
4667
  }
4672
4668
  } catch (p) {
@@ -4913,7 +4909,7 @@ se(_e, "vertexSchema", `
4913
4909
  fract(pos * 255.0),
4914
4910
  floor(pos * 255.0) / 255.0);
4915
4911
  }`);
4916
- const $r = {
4912
+ const Jr = {
4917
4913
  "000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
4918
4914
  "002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
4919
4915
  "005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
@@ -4937,7 +4933,7 @@ const $r = {
4937
4933
  "095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
4938
4934
  "100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
4939
4935
  "105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
4940
- }, el = {
4936
+ }, $r = {
4941
4937
  name: "IdmWindBarb",
4942
4938
  props: {
4943
4939
  map: {
@@ -4973,7 +4969,7 @@ const $r = {
4973
4969
  right: 10,
4974
4970
  bottom: 125,
4975
4971
  windBarbLoaded: !1,
4976
- svgs: $r
4972
+ svgs: Jr
4977
4973
  };
4978
4974
  },
4979
4975
  computed: {
@@ -5017,11 +5013,11 @@ const $r = {
5017
5013
  else {
5018
5014
  this.map.addSource(this.source, { type: "geojson", data: n });
5019
5015
  for (let c = 0; c < (this.barbs ?? []).length - 1; c++) {
5020
- const g = (this.barbs ?? [])[c] || 0, p = (this.barbs ?? [])[c + 1] || 0, h = g < 10 ? `00${g}kts` : g < 100 ? `0${g}kts` : `${g}kts`, f = new Image(48, 48), k = "data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent(this.svgs[h])));
5016
+ const g = (this.barbs ?? [])[c] || 0, p = (this.barbs ?? [])[c + 1] || 0, d = g < 10 ? `00${g}kts` : g < 100 ? `0${g}kts` : `${g}kts`, f = new Image(48, 48), k = "data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent(this.svgs[d])));
5021
5017
  f.src = k, f.onload = () => {
5022
- this.map.hasImage(h + "-icon") || this.map.addImage(h + "-icon", f), this.map.addLayer(
5018
+ this.map.hasImage(d + "-icon") || this.map.addImage(d + "-icon", f), this.map.addLayer(
5023
5019
  {
5024
- id: h,
5020
+ id: d,
5025
5021
  type: "symbol",
5026
5022
  filter: [
5027
5023
  "all",
@@ -5033,7 +5029,7 @@ const $r = {
5033
5029
  source: this.source,
5034
5030
  layout: {
5035
5031
  "symbol-placement": "point",
5036
- "icon-image": h + "-icon",
5032
+ "icon-image": d + "-icon",
5037
5033
  // mapbox sprite
5038
5034
  "icon-size": 0.5,
5039
5035
  "icon-offset": [0, -20],
@@ -5080,11 +5076,11 @@ const $r = {
5080
5076
  }
5081
5077
  }
5082
5078
  };
5083
- function tl(t, e, o, i, a, r) {
5079
+ function el(t, e, o, i, a, r) {
5084
5080
  return null;
5085
5081
  }
5086
- const ol = /* @__PURE__ */ V(el, [["render", tl]]);
5087
- const al = {
5082
+ const tl = /* @__PURE__ */ V($r, [["render", el]]);
5083
+ const ol = {
5088
5084
  name: "IdmWindParticle",
5089
5085
  props: {
5090
5086
  factor: {
@@ -5250,10 +5246,10 @@ const al = {
5250
5246
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
5251
5247
  }
5252
5248
  }
5253
- }, il = { key: 0 };
5254
- function rl(t, e, o, i, a, r) {
5249
+ }, al = { key: 0 };
5250
+ function il(t, e, o, i, a, r) {
5255
5251
  var s;
5256
- return (s = o.factor) != null && s.active ? (y(), M("div", il, [
5252
+ return (s = o.factor) != null && s.active ? (y(), M("div", al, [
5257
5253
  l("div", {
5258
5254
  class: "legend-bars-gl4 wind",
5259
5255
  style: ae({ right: a.right + "px" })
@@ -5269,7 +5265,7 @@ function rl(t, e, o, i, a, r) {
5269
5265
  ]), 4)
5270
5266
  ])) : E("", !0);
5271
5267
  }
5272
- const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
5268
+ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
5273
5269
  name: "IdmCurrent",
5274
5270
  props: {
5275
5271
  map: {
@@ -5386,10 +5382,10 @@ const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
5386
5382
  <path d="M5 7.5L10 2.5L15 7.5" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5387
5383
  </svg>`, c = "data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent(n))), g.src = c;
5388
5384
  const p = [g];
5389
- let h = 0;
5385
+ let d = 0;
5390
5386
  p.forEach((f) => {
5391
5387
  f.onload = () => {
5392
- h++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", g), h === 1 && this.map.addLayer(
5388
+ d++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", g), d === 1 && this.map.addLayer(
5393
5389
  {
5394
5390
  id: this.directionLayer,
5395
5391
  type: "symbol",
@@ -5427,11 +5423,11 @@ const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
5427
5423
  }
5428
5424
  }
5429
5425
  };
5430
- function nl(t, e, o, i, a, r) {
5426
+ function sl(t, e, o, i, a, r) {
5431
5427
  return null;
5432
5428
  }
5433
- const cl = /* @__PURE__ */ V(sl, [["render", nl]]);
5434
- const ml = {
5429
+ const nl = /* @__PURE__ */ V(ll, [["render", sl]]);
5430
+ const cl = {
5435
5431
  name: "IdmCurrentParticle",
5436
5432
  props: {
5437
5433
  factor: {
@@ -5594,10 +5590,10 @@ const ml = {
5594
5590
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
5595
5591
  }
5596
5592
  }
5597
- }, dl = { key: 0 };
5598
- function hl(t, e, o, i, a, r) {
5593
+ }, ml = { key: 0 };
5594
+ function dl(t, e, o, i, a, r) {
5599
5595
  var s;
5600
- return (s = o.factor) != null && s.active ? (y(), M("div", dl, [
5596
+ return (s = o.factor) != null && s.active ? (y(), M("div", ml, [
5601
5597
  l("div", {
5602
5598
  class: "legend-bars-gl4 current",
5603
5599
  style: ae({ right: a.right + "px" })
@@ -5612,8 +5608,8 @@ function hl(t, e, o, i, a, r) {
5612
5608
  ]), 4)
5613
5609
  ])) : E("", !0);
5614
5610
  }
5615
- const pl = /* @__PURE__ */ V(ml, [["render", hl]]);
5616
- const ul = {
5611
+ const hl = /* @__PURE__ */ V(cl, [["render", dl]]);
5612
+ const pl = {
5617
5613
  name: "IdmTemp",
5618
5614
  props: {
5619
5615
  factor: {
@@ -5722,10 +5718,10 @@ const ul = {
5722
5718
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
5723
5719
  }
5724
5720
  }
5725
- }, gl = { key: 0 };
5726
- function fl(t, e, o, i, a, r) {
5721
+ }, ul = { key: 0 };
5722
+ function gl(t, e, o, i, a, r) {
5727
5723
  var s;
5728
- return (s = o.factor) != null && s.active ? (y(), M("div", gl, [
5724
+ return (s = o.factor) != null && s.active ? (y(), M("div", ul, [
5729
5725
  l("div", {
5730
5726
  class: "legend-bars-gl4 sig-wave",
5731
5727
  style: ae({ right: a.right + "px" })
@@ -5740,7 +5736,7 @@ function fl(t, e, o, i, a, r) {
5740
5736
  ]), 4)
5741
5737
  ])) : E("", !0);
5742
5738
  }
5743
- const yl = /* @__PURE__ */ V(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2"]]), bl = {
5739
+ const fl = /* @__PURE__ */ V(pl, [["render", gl], ["__scopeId", "data-v-79ce70e2"]]), yl = {
5744
5740
  name: "IdmSigWave",
5745
5741
  props: {
5746
5742
  map: {
@@ -5889,10 +5885,10 @@ const yl = /* @__PURE__ */ V(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2
5889
5885
  }
5890
5886
  }
5891
5887
  };
5892
- function wl(t, e, o, i, a, r) {
5888
+ function bl(t, e, o, i, a, r) {
5893
5889
  return null;
5894
5890
  }
5895
- const xl = /* @__PURE__ */ V(bl, [["render", wl]]), vl = {
5891
+ const wl = /* @__PURE__ */ V(yl, [["render", bl]]), xl = {
5896
5892
  name: "IdmSwell",
5897
5893
  props: {
5898
5894
  map: {
@@ -6043,10 +6039,10 @@ const xl = /* @__PURE__ */ V(bl, [["render", wl]]), vl = {
6043
6039
  }
6044
6040
  }
6045
6041
  };
6046
- function _l(t, e, o, i, a, r) {
6042
+ function vl(t, e, o, i, a, r) {
6047
6043
  return y(), M("div");
6048
6044
  }
6049
- const kl = /* @__PURE__ */ V(vl, [["render", _l]]), zl = {
6045
+ const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
6050
6046
  name: "IdmPrmsl",
6051
6047
  props: {
6052
6048
  map: {
@@ -6197,24 +6193,24 @@ const kl = /* @__PURE__ */ V(vl, [["render", _l]]), zl = {
6197
6193
  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);
6198
6194
  }
6199
6195
  }
6200
- }, Ll = {
6196
+ }, zl = {
6201
6197
  key: 0,
6202
6198
  class: "legend-tip-btn-gl4"
6203
6199
  };
6204
- function Pl(t, e, o, i, a, r) {
6200
+ function Ll(t, e, o, i, a, r) {
6205
6201
  var c;
6206
6202
  const s = x("VBtn"), n = x("VTooltip");
6207
- return (c = o.prmsl) != null && c.active ? (y(), M("div", Ll, [
6203
+ return (c = o.prmsl) != null && c.active ? (y(), M("div", zl, [
6208
6204
  l("div", {
6209
6205
  class: "menu-bar-box pa-1 rounded",
6210
6206
  style: ae({ right: a.right + "px" })
6211
6207
  }, [
6212
- d(n, {
6208
+ h(n, {
6213
6209
  text: "Map Layers",
6214
6210
  location: "left"
6215
6211
  }, {
6216
6212
  activator: u(({ props: g }) => [
6217
- d(s, j(g, {
6213
+ h(s, j(g, {
6218
6214
  "min-width": "32",
6219
6215
  width: "32",
6220
6216
  height: "32",
@@ -6234,8 +6230,8 @@ function Pl(t, e, o, i, a, r) {
6234
6230
  ], 4)
6235
6231
  ])) : E("", !0);
6236
6232
  }
6237
- const Cl = /* @__PURE__ */ V(zl, [["render", Pl]]);
6238
- const Tl = {
6233
+ const Pl = /* @__PURE__ */ V(kl, [["render", Ll]]);
6234
+ const Cl = {
6239
6235
  name: "IdmIceEdge",
6240
6236
  props: {
6241
6237
  factor: {
@@ -6336,10 +6332,10 @@ const Tl = {
6336
6332
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6337
6333
  }
6338
6334
  }
6339
- }, Sl = { key: 0 };
6340
- function Ml(t, e, o, i, a, r) {
6335
+ }, Tl = { key: 0 };
6336
+ function Sl(t, e, o, i, a, r) {
6341
6337
  var s;
6342
- return (s = o.factor) != null && s.active ? (y(), M("div", Sl, [
6338
+ return (s = o.factor) != null && s.active ? (y(), M("div", Tl, [
6343
6339
  l("div", {
6344
6340
  class: "legend-bars-gl4 ice-edge",
6345
6341
  style: ae({ right: a.right + "px" })
@@ -6359,8 +6355,8 @@ function Ml(t, e, o, i, a, r) {
6359
6355
  ]), 4)
6360
6356
  ])) : E("", !0);
6361
6357
  }
6362
- const Il = /* @__PURE__ */ V(Tl, [["render", Ml]]);
6363
- const Al = {
6358
+ const Ml = /* @__PURE__ */ V(Cl, [["render", Sl]]);
6359
+ const Il = {
6364
6360
  name: "IdmCover",
6365
6361
  props: {
6366
6362
  factor: {
@@ -6452,10 +6448,10 @@ const Al = {
6452
6448
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6453
6449
  }
6454
6450
  }
6455
- }, Dl = { key: 0 };
6456
- function Rl(t, e, o, i, a, r) {
6451
+ }, Al = { key: 0 };
6452
+ function Dl(t, e, o, i, a, r) {
6457
6453
  var s;
6458
- return (s = o.factor) != null && s.active ? (y(), M("div", Dl, [
6454
+ return (s = o.factor) != null && s.active ? (y(), M("div", Al, [
6459
6455
  l("div", {
6460
6456
  class: "legend-bars-gl4 ice-cover",
6461
6457
  style: ae({ right: a.right + "px" })
@@ -6469,8 +6465,8 @@ function Rl(t, e, o, i, a, r) {
6469
6465
  ]), 4)
6470
6466
  ])) : E("", !0);
6471
6467
  }
6472
- const Ol = /* @__PURE__ */ V(Al, [["render", Rl], ["__scopeId", "data-v-9696d73b"]]);
6473
- const Bl = {
6468
+ const Rl = /* @__PURE__ */ V(Il, [["render", Dl], ["__scopeId", "data-v-9696d73b"]]);
6469
+ const Ol = {
6474
6470
  name: "IdmThickness",
6475
6471
  props: {
6476
6472
  factor: {
@@ -6570,10 +6566,10 @@ const Bl = {
6570
6566
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6571
6567
  }
6572
6568
  }
6573
- }, El = { key: 0 };
6574
- function jl(t, e, o, i, a, r) {
6569
+ }, Bl = { key: 0 };
6570
+ function El(t, e, o, i, a, r) {
6575
6571
  var s;
6576
- return (s = o.factor) != null && s.active ? (y(), M("div", El, [
6572
+ return (s = o.factor) != null && s.active ? (y(), M("div", Bl, [
6577
6573
  l("div", {
6578
6574
  class: "legend-bars-gl4 ice-thickness",
6579
6575
  style: ae({ right: a.right + "px" })
@@ -6588,8 +6584,8 @@ function jl(t, e, o, i, a, r) {
6588
6584
  ]), 4)
6589
6585
  ])) : E("", !0);
6590
6586
  }
6591
- const Nl = /* @__PURE__ */ V(Bl, [["render", jl]]);
6592
- const Fl = {
6587
+ const jl = /* @__PURE__ */ V(Ol, [["render", El]]);
6588
+ const Nl = {
6593
6589
  name: "IdmPrecip3h",
6594
6590
  props: {
6595
6591
  factor: {
@@ -6690,10 +6686,10 @@ const Fl = {
6690
6686
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6691
6687
  }
6692
6688
  }
6693
- }, Hl = { key: 0 };
6694
- function Ul(t, e, o, i, a, r) {
6689
+ }, Fl = { key: 0 };
6690
+ function Hl(t, e, o, i, a, r) {
6695
6691
  var s;
6696
- return (s = o.factor) != null && s.active ? (y(), M("div", Hl, [
6692
+ return (s = o.factor) != null && s.active ? (y(), M("div", Fl, [
6697
6693
  l("div", {
6698
6694
  class: "legend-bars-gl4 precip3h",
6699
6695
  style: ae({ right: a.right + "px" })
@@ -6709,8 +6705,8 @@ function Ul(t, e, o, i, a, r) {
6709
6705
  ]), 4)
6710
6706
  ])) : E("", !0);
6711
6707
  }
6712
- const Wl = /* @__PURE__ */ V(Fl, [["render", Ul]]);
6713
- const Gl = {
6708
+ const Wl = /* @__PURE__ */ V(Nl, [["render", Hl]]);
6709
+ const Ul = {
6714
6710
  name: "IdmVisibility",
6715
6711
  props: {
6716
6712
  factor: {
@@ -6801,10 +6797,10 @@ const Gl = {
6801
6797
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6802
6798
  }
6803
6799
  }
6804
- }, Vl = { key: 0 };
6805
- function Zl(t, e, o, i, a, r) {
6800
+ }, Gl = { key: 0 };
6801
+ function Vl(t, e, o, i, a, r) {
6806
6802
  var s;
6807
- return (s = o.factor) != null && s.active ? (y(), M("div", Vl, [
6803
+ return (s = o.factor) != null && s.active ? (y(), M("div", Gl, [
6808
6804
  l("div", {
6809
6805
  class: "legend-bars-gl4 visibility",
6810
6806
  style: ae({ right: a.right + "px" })
@@ -6818,8 +6814,8 @@ function Zl(t, e, o, i, a, r) {
6818
6814
  ]), 4)
6819
6815
  ])) : E("", !0);
6820
6816
  }
6821
- const Yl = /* @__PURE__ */ V(Gl, [["render", Zl]]);
6822
- const ql = {
6817
+ const Zl = /* @__PURE__ */ V(Ul, [["render", Vl]]);
6818
+ const Yl = {
6823
6819
  name: "IdmWaterTemp",
6824
6820
  props: {
6825
6821
  factor: {
@@ -6913,10 +6909,10 @@ const ql = {
6913
6909
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6914
6910
  }
6915
6911
  }
6916
- }, Xl = { key: 0 };
6917
- function Kl(t, e, o, i, a, r) {
6912
+ }, ql = { key: 0 };
6913
+ function Xl(t, e, o, i, a, r) {
6918
6914
  var s;
6919
- return (s = o.factor) != null && s.active ? (y(), M("div", Xl, [
6915
+ return (s = o.factor) != null && s.active ? (y(), M("div", ql, [
6920
6916
  l("div", {
6921
6917
  class: "legend-bars-gl4 water-temp",
6922
6918
  style: ae({ right: a.right + "px" })
@@ -6930,8 +6926,8 @@ function Kl(t, e, o, i, a, r) {
6930
6926
  ]), 4)
6931
6927
  ])) : E("", !0);
6932
6928
  }
6933
- const Ql = /* @__PURE__ */ V(ql, [["render", Kl]]);
6934
- const Jl = {
6929
+ const Kl = /* @__PURE__ */ V(Yl, [["render", Xl]]);
6930
+ const Ql = {
6935
6931
  name: "IdmTemp",
6936
6932
  props: {
6937
6933
  factor: {
@@ -7036,10 +7032,10 @@ const Jl = {
7036
7032
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7037
7033
  }
7038
7034
  }
7039
- }, $l = { key: 0 };
7040
- function es(t, e, o, i, a, r) {
7035
+ }, Jl = { key: 0 };
7036
+ function $l(t, e, o, i, a, r) {
7041
7037
  var s;
7042
- return (s = o.factor) != null && s.active ? (y(), M("div", $l, [
7038
+ return (s = o.factor) != null && s.active ? (y(), M("div", Jl, [
7043
7039
  l("div", {
7044
7040
  class: "legend-bars-gl4 temp",
7045
7041
  style: ae({ right: a.right + "px" })
@@ -7055,25 +7051,25 @@ function es(t, e, o, i, a, r) {
7055
7051
  ]), 4)
7056
7052
  ])) : E("", !0);
7057
7053
  }
7058
- const ts = /* @__PURE__ */ V(Jl, [["render", es]]);
7059
- const os = {
7054
+ const es = /* @__PURE__ */ V(Ql, [["render", $l]]);
7055
+ const ts = {
7060
7056
  name: "IdmGlLayer",
7061
7057
  components: {
7062
- IdmWindBarb: ol,
7063
- IdmWindParticle: ll,
7064
- IdmCurrentDirection: cl,
7065
- IdmCurrentParticle: pl,
7066
- IdmWave: yl,
7067
- IdmSigWaveHeight: xl,
7068
- IdmSwell: kl,
7069
- IdmPrmsl: Cl,
7070
- IdmIceEdge: Il,
7071
- IdmIceCover: Ol,
7072
- IdmIceThickness: Nl,
7058
+ IdmWindBarb: tl,
7059
+ IdmWindParticle: rl,
7060
+ IdmCurrentDirection: nl,
7061
+ IdmCurrentParticle: hl,
7062
+ IdmWave: fl,
7063
+ IdmSigWaveHeight: wl,
7064
+ IdmSwell: _l,
7065
+ IdmPrmsl: Pl,
7066
+ IdmIceEdge: Ml,
7067
+ IdmIceCover: Rl,
7068
+ IdmIceThickness: jl,
7073
7069
  IdmPrecip3h: Wl,
7074
- IdmVisibility: Yl,
7075
- IdmWaterTemp: Ql,
7076
- IdmTemp: ts
7070
+ IdmVisibility: Zl,
7071
+ IdmWaterTemp: Kl,
7072
+ IdmTemp: es
7077
7073
  },
7078
7074
  props: {
7079
7075
  isLogin: {
@@ -7312,23 +7308,23 @@ const os = {
7312
7308
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
7313
7309
  },
7314
7310
  async fetchWeatherLayers(t = {}) {
7315
- var a, r, s, n, c, g, p, h, f;
7311
+ var a, r, s, n, c, g, p, d, f;
7316
7312
  const e = (/* @__PURE__ */ new Date()).valueOf();
7317
7313
  let o = 0, i = 0;
7318
7314
  if (this.map) {
7319
7315
  const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, v = (r = this.map) == null ? void 0 : r.getBounds(), T = `${v._sw.lng},${v._sw.lat},${v._ne.lng},${v._ne.lat}`;
7320
7316
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
7321
- const w = oo.WEATHER_LAYERS.find((A) => {
7317
+ const w = oo.WEATHER_LAYERS.find((D) => {
7322
7318
  var S;
7323
- return ((S = A.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
7319
+ return ((S = D.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
7324
7320
  });
7325
7321
  this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight : this.weatherWeight + w.weight : this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight - w.weight : this.weatherWeight;
7326
7322
  }
7327
7323
  if (this.weatherWeight > 0) {
7328
7324
  let w = this.weatherWeight;
7329
7325
  if (w > 0) {
7330
- const A = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], S = await Se.get(
7331
- `${A}/api/arc/weather/layers2/links?l=${w}&v=${this.forecastModel}&z=${k}&bbox=${T}&t=${this.realTime}`,
7326
+ const D = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], S = await Se.get(
7327
+ `${D}/api/arc/weather/layers2/links?l=${w}&v=${this.forecastModel}&z=${k}&bbox=${T}&t=${this.realTime}`,
7332
7328
  {
7333
7329
  headers: {
7334
7330
  Authorization: this.token || this.defaultMeteoToken
@@ -7353,8 +7349,8 @@ const os = {
7353
7349
  this.weatherLayers = {}, L.map((C) => {
7354
7350
  var Z, q, X, Y;
7355
7351
  const _ = ((Z = C == null ? void 0 : C.data) == null ? void 0 : Z.data) || (C == null ? void 0 : C.data);
7356
- let D = (X = (q = C == null ? void 0 : C.config) == null ? void 0 : q.headers) == null ? void 0 : X.key;
7357
- D && _ && (this.weatherLayers[D] = {
7352
+ let A = (X = (q = C == null ? void 0 : C.config) == null ? void 0 : q.headers) == null ? void 0 : X.key;
7353
+ A && _ && (this.weatherLayers[A] = {
7358
7354
  raw: _,
7359
7355
  type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
7360
7356
  etime: S.data.etime
@@ -7371,7 +7367,7 @@ const os = {
7371
7367
  };
7372
7368
  }
7373
7369
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
7374
- const P = (h = this.weatherLayers["current-direction"]) == null ? void 0 : h.raw, z = (f = this.weatherLayers["current-speed"]) == null ? void 0 : f.raw;
7370
+ const P = (d = this.weatherLayers["current-direction"]) == null ? void 0 : d.raw, z = (f = this.weatherLayers["current-speed"]) == null ? void 0 : f.raw;
7375
7371
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
7376
7372
  type: "json",
7377
7373
  direction: P,
@@ -7402,7 +7398,7 @@ const os = {
7402
7398
  }, 500);
7403
7399
  },
7404
7400
  handleRampColorInitial() {
7405
- var t, e, o, i, a, r, s, n, c, g, p, h;
7401
+ var t, e, o, i, a, r, s, n, c, g, p, d;
7406
7402
  this.viewport.map.getSource((t = this.viewport) == null ? void 0 : t.rampColorSource) || this.viewport.map.addSource((e = this.viewport) == null ? void 0 : e.rampColorSource, {
7407
7403
  type: "canvas",
7408
7404
  canvas: (o = this.viewport) == null ? void 0 : o.rampColorCanvas,
@@ -7427,7 +7423,7 @@ const os = {
7427
7423
  {
7428
7424
  type: "raster",
7429
7425
  id: (p = this.viewport) == null ? void 0 : p.particleLayer,
7430
- source: (h = this.viewport) == null ? void 0 : h.particleSource,
7426
+ source: (d = this.viewport) == null ? void 0 : d.particleSource,
7431
7427
  layout: {
7432
7428
  visibility: "none"
7433
7429
  }
@@ -7436,51 +7432,51 @@ const os = {
7436
7432
  );
7437
7433
  },
7438
7434
  handleDrawWeather4Json() {
7439
- var g, p, h, f, k, v, T;
7435
+ var g, p, d, f, k, v, T;
7440
7436
  const t = (/* @__PURE__ */ new Date()).valueOf();
7441
7437
  let e = 0, o = 0;
7442
7438
  const i = (g = this.map) == null ? void 0 : g.getBounds(), a = (p = this.map) == null ? void 0 : p.getZoom(), r = K.convertToStdLng(i._sw.lng), s = K.convertToStdLng(i._ne.lng), n = Math.floor(i._sw.lat), c = Math.ceil(i._ne.lat);
7443
7439
  for (const w in this.weatherLayers) {
7444
- let A = !1;
7440
+ let D = !1;
7445
7441
  if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
7446
7442
  let S = [];
7447
7443
  if (w === "swell") {
7448
- A = !0;
7449
- const P = ((h = this.weatherLayers[w]) == null ? void 0 : h.direction) || {};
7444
+ D = !0;
7445
+ const P = ((d = this.weatherLayers[w]) == null ? void 0 : d.direction) || {};
7450
7446
  for (const L in P)
7451
7447
  if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7452
7448
  const C = P[L].lng;
7453
- r > s ? C.forEach((_, D) => {
7449
+ r > s ? C.forEach((_, A) => {
7454
7450
  var Z, q, X, Y, te, oe;
7455
7451
  if (a < 2) {
7456
7452
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7457
7453
  const J = N.point([_, L], {
7458
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7459
- spd: (X = P[L].spd) == null ? void 0 : X[D]
7454
+ val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
7455
+ spd: (X = P[L].spd) == null ? void 0 : X[A]
7460
7456
  });
7461
7457
  S.push(J);
7462
7458
  }
7463
7459
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7464
7460
  const J = N.point([_, L], {
7465
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7466
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
7461
+ val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
7462
+ spd: (oe = P[L].spd) == null ? void 0 : oe[A]
7467
7463
  });
7468
7464
  S.push(J);
7469
7465
  }
7470
- }) : C.forEach((_, D) => {
7466
+ }) : C.forEach((_, A) => {
7471
7467
  var Z, q, X, Y, te, oe;
7472
7468
  if (r < 2) {
7473
7469
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7474
7470
  const J = N.point([_, L], {
7475
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7476
- spd: (X = P[L].spd) == null ? void 0 : X[D]
7471
+ val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
7472
+ spd: (X = P[L].spd) == null ? void 0 : X[A]
7477
7473
  });
7478
7474
  S.push(J);
7479
7475
  }
7480
7476
  } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7481
7477
  const J = N.point([_, L], {
7482
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7483
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
7478
+ val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
7479
+ spd: (oe = P[L].spd) == null ? void 0 : oe[A]
7484
7480
  });
7485
7481
  S.push(J);
7486
7482
  }
@@ -7493,9 +7489,9 @@ const os = {
7493
7489
  const L = [];
7494
7490
  for (const C in (f = z.raw) == null ? void 0 : f.LineString) {
7495
7491
  const _ = z.raw.LineString[C];
7496
- for (const D of _)
7492
+ for (const A of _)
7497
7493
  L.push(
7498
- N.lineString(D, {
7494
+ N.lineString(A, {
7499
7495
  val: Number(C)
7500
7496
  })
7501
7497
  );
@@ -7509,42 +7505,42 @@ const os = {
7509
7505
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
7510
7506
  }
7511
7507
  } else if (w === "current") {
7512
- A = !0;
7508
+ D = !0;
7513
7509
  const P = ((k = this.weatherLayers[w]) == null ? void 0 : k.direction) || {};
7514
7510
  for (const L in P)
7515
7511
  if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7516
7512
  const C = P[L].lng;
7517
- r > s ? C.forEach((_, D) => {
7513
+ r > s ? C.forEach((_, A) => {
7518
7514
  var Z, q, X, Y, te, oe;
7519
7515
  if (a < 2) {
7520
7516
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7521
7517
  const J = N.point([_, L], {
7522
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7523
- spd: (X = P[L].spd) == null ? void 0 : X[D]
7518
+ val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
7519
+ spd: (X = P[L].spd) == null ? void 0 : X[A]
7524
7520
  });
7525
7521
  S.push(J);
7526
7522
  }
7527
7523
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7528
7524
  const J = N.point([_, L], {
7529
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7530
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
7525
+ val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
7526
+ spd: (oe = P[L].spd) == null ? void 0 : oe[A]
7531
7527
  });
7532
7528
  S.push(J);
7533
7529
  }
7534
- }) : C.forEach((_, D) => {
7530
+ }) : C.forEach((_, A) => {
7535
7531
  var Z, q, X, Y, te, oe;
7536
7532
  if (r < 2) {
7537
7533
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7538
7534
  const J = N.point([_, L], {
7539
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7540
- spd: (X = P[L].spd) == null ? void 0 : X[D]
7535
+ val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
7536
+ spd: (X = P[L].spd) == null ? void 0 : X[A]
7541
7537
  });
7542
7538
  S.push(J);
7543
7539
  }
7544
7540
  } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
7545
7541
  const J = N.point([_, L], {
7546
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7547
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
7542
+ val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
7543
+ spd: (oe = P[L].spd) == null ? void 0 : oe[A]
7548
7544
  });
7549
7545
  S.push(J);
7550
7546
  }
@@ -7556,8 +7552,8 @@ const os = {
7556
7552
  if (!z.data) {
7557
7553
  const C = [];
7558
7554
  for (const _ in (v = z.raw) == null ? void 0 : v.Polygon) {
7559
- const D = z.raw.Polygon[_];
7560
- for (const Z of D)
7555
+ const A = z.raw.Polygon[_];
7556
+ for (const Z of A)
7561
7557
  C.push(
7562
7558
  N.polygon(Z, {
7563
7559
  val: Number(_)
@@ -7570,17 +7566,17 @@ const os = {
7570
7566
  S = S.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
7571
7567
  }
7572
7568
  } else if (w === "wind") {
7573
- A = !0;
7569
+ D = !0;
7574
7570
  const P = this.weatherLayers.wind.raw;
7575
7571
  for (const z in P)
7576
7572
  if (z > n && z < c && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7577
7573
  const L = P[z].lng;
7578
7574
  r > s ? L.forEach((C, _) => {
7579
- var D, Z, q, X;
7575
+ var A, Z, q, X;
7580
7576
  if (a < 2) {
7581
7577
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
7582
7578
  const Y = N.point([C, z], {
7583
- dir: ((D = P[z].val) == null ? void 0 : D[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7579
+ dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7584
7580
  spd: P[z].spd[_]
7585
7581
  });
7586
7582
  S.push(Y);
@@ -7593,11 +7589,11 @@ const os = {
7593
7589
  S.push(Y);
7594
7590
  }
7595
7591
  }) : L.forEach((C, _) => {
7596
- var D, Z, q, X;
7592
+ var A, Z, q, X;
7597
7593
  if (a < 2) {
7598
7594
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
7599
7595
  const Y = N.point([C, z], {
7600
- dir: ((D = P[z].val) == null ? void 0 : D[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7596
+ dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7601
7597
  spd: P[z].spd[_]
7602
7598
  });
7603
7599
  S.push(Y);
@@ -7616,7 +7612,7 @@ const os = {
7616
7612
  if (this.weatherLayers[w].data)
7617
7613
  S = this.weatherLayers[w].data;
7618
7614
  else {
7619
- A = !0;
7615
+ D = !0;
7620
7616
  const P = this.weatherLayers[w].raw;
7621
7617
  if (P) {
7622
7618
  const z = [];
@@ -7655,7 +7651,7 @@ const os = {
7655
7651
  if (this.weatherLayers[w].data)
7656
7652
  S = this.weatherLayers[w].data;
7657
7653
  else {
7658
- A = !0;
7654
+ D = !0;
7659
7655
  const P = this.weatherLayers[w].raw;
7660
7656
  if (P) {
7661
7657
  const z = [];
@@ -7682,7 +7678,7 @@ const os = {
7682
7678
  }
7683
7679
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
7684
7680
  }
7685
- S.length && (this.weatherLayers[w].data = N.featureCollection(S)), A && (this.weatherLayers[w].version = Math.random() + 1);
7681
+ S.length && (this.weatherLayers[w].data = N.featureCollection(S)), D && (this.weatherLayers[w].version = Math.random() + 1);
7686
7682
  }
7687
7683
  }
7688
7684
  },
@@ -7707,36 +7703,36 @@ const os = {
7707
7703
  }), o;
7708
7704
  }
7709
7705
  }
7710
- }, as = { class: "idm-gl4-meteo-layers" }, is = {
7706
+ }, os = { class: "idm-gl4-meteo-layers" }, as = {
7711
7707
  key: 0,
7712
7708
  class: "legend-tip-btn-gl4"
7713
- }, rs = { class: "d-flex flex-row justify-center align-center" }, ls = { class: "text-caption" }, ss = { class: "d-flex flex-row justify-center align-center" }, ns = {
7709
+ }, is = { class: "d-flex flex-row justify-center align-center" }, rs = { class: "text-caption" }, ls = { class: "d-flex flex-row justify-center align-center" }, ss = {
7714
7710
  key: 0,
7715
7711
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
7716
- }, cs = { class: "text-caption px-2" }, ms = { class: "d-flex flex-row justify-start align-center" }, ds = {
7712
+ }, ns = { class: "text-caption px-2" }, cs = { class: "d-flex flex-row justify-start align-center" }, ms = {
7717
7713
  class: "d-flex flex-row justify-center align-center",
7718
7714
  style: { width: "40px" }
7719
- }, hs = { class: "text-caption px-2" }, ps = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, us = { class: "d-flex justify-start align-center ga-3" }, gs = { class: "text-h5 font-weight-medium" }, fs = {
7715
+ }, ds = { class: "text-caption px-2" }, hs = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, ps = { class: "d-flex justify-start align-center ga-3" }, us = { class: "text-h5 font-weight-medium" }, gs = {
7720
7716
  key: 0,
7721
7717
  class: "d-flex justify-start align-center ga-4 pl-6"
7722
- }, ys = {
7718
+ }, fs = {
7723
7719
  key: 1,
7724
7720
  class: "d-flex justify-start align-center ga-4 pl-6"
7725
- }, bs = { class: "text-body-1 py-2" }, ws = { class: "text-body-1 font-weight-medium" }, xs = { class: "text-body-2 opacity-70" }, vs = { class: "text-body-2 opacity-70 mb-3" }, _s = { class: "text-body-1 font-weight-medium" }, ks = { class: "text-body-2 opacity-70" }, zs = { class: "text-body-2 opacity-70 mb-3" }, Ls = { class: "text-body-1 py-2" }, Ps = { class: "text-body-1 font-weight-medium" }, Cs = { class: "text-body-2 opacity-70" }, Ts = { class: "text-body-2 opacity-70 mb-3" }, Ss = { class: "text-body-1 font-weight-medium" }, Ms = { class: "text-body-2 opacity-70" }, Is = { class: "text-body-2 opacity-70 mb-3" }, As = { class: "text-body-1 py-2" }, Ds = { class: "text-body-1 font-weight-medium" }, Rs = { class: "text-body-2 opacity-70" }, Os = { class: "text-body-2 opacity-70 mb-3" };
7726
- function Bs(t, e, o, i, a, r) {
7721
+ }, ys = { class: "text-body-1 py-2" }, bs = { class: "text-body-1 font-weight-medium" }, ws = { class: "text-body-2 opacity-70" }, xs = { class: "text-body-2 opacity-70 mb-3" }, vs = { class: "text-body-1 font-weight-medium" }, _s = { class: "text-body-2 opacity-70" }, ks = { class: "text-body-2 opacity-70 mb-3" }, zs = { class: "text-body-1 py-2" }, Ls = { class: "text-body-1 font-weight-medium" }, Ps = { class: "text-body-2 opacity-70" }, Cs = { class: "text-body-2 opacity-70 mb-3" }, Ts = { class: "text-body-1 font-weight-medium" }, Ss = { class: "text-body-2 opacity-70" }, Ms = { class: "text-body-2 opacity-70 mb-3" }, Is = { class: "text-body-1 py-2" }, As = { class: "text-body-1 font-weight-medium" }, Ds = { class: "text-body-2 opacity-70" }, Rs = { class: "text-body-2 opacity-70 mb-3" };
7722
+ function Os(t, e, o, i, a, r) {
7727
7723
  var ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve;
7728
- const s = x("VBtn"), n = x("VTooltip"), c = x("VCol"), g = x("VRow"), p = x("VCardText"), h = x("VDivider"), f = x("VCard"), k = x("VSwitch"), v = x("VCardTitle"), T = x("VCardItem"), w = x("VCheckbox"), A = x("VRadio"), S = x("VBtnToggle"), P = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), D = x("IdmCurrentParticle"), Z = x("IdmWave"), q = x("IdmSwell"), X = x("IdmIceEdge"), Y = x("IdmIceCover"), te = x("IdmIceThickness"), oe = x("IdmPrecip3h"), J = x("IdmVisibility"), le = x("IdmWaterTemp"), pe = x("IdmTemp");
7729
- return y(), M("div", as, [
7724
+ const s = x("VBtn"), n = x("VTooltip"), c = x("VCol"), g = x("VRow"), p = x("VCardText"), d = x("VDivider"), f = x("VCard"), k = x("VSwitch"), v = x("VCardTitle"), T = x("VCardItem"), w = x("VCheckbox"), D = x("VRadio"), S = x("VBtnToggle"), P = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), A = x("IdmCurrentParticle"), Z = x("IdmWave"), q = x("IdmSwell"), X = x("IdmIceEdge"), Y = x("IdmIceCover"), te = x("IdmIceThickness"), oe = x("IdmPrecip3h"), J = x("IdmVisibility"), le = x("IdmWaterTemp"), pe = x("IdmTemp");
7725
+ return y(), M("div", os, [
7730
7726
  l("div", {
7731
7727
  class: "menu-bar-box transition pa-1",
7732
7728
  style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
7733
7729
  }, [
7734
- d(n, {
7730
+ h(n, {
7735
7731
  text: t.$t("weather.weatherLayers"),
7736
7732
  location: "left"
7737
7733
  }, {
7738
7734
  activator: u(({ props: H }) => [
7739
- d(s, j(H, {
7735
+ h(s, j(H, {
7740
7736
  "min-width": "32",
7741
7737
  width: "32",
7742
7738
  height: "32",
@@ -7753,17 +7749,17 @@ function Bs(t, e, o, i, a, r) {
7753
7749
  _: 1
7754
7750
  }, 8, ["text"])
7755
7751
  ], 4),
7756
- r.showTipMenu ? (y(), M("div", is, [
7752
+ r.showTipMenu ? (y(), M("div", as, [
7757
7753
  l("div", {
7758
7754
  class: "menu-bar-box pa-1 rounded",
7759
7755
  style: ae({ right: a.right + "px" })
7760
7756
  }, [
7761
- d(n, {
7757
+ h(n, {
7762
7758
  text: "Legend",
7763
7759
  location: "left"
7764
7760
  }, {
7765
7761
  activator: u(({ props: H }) => [
7766
- d(s, j(H, {
7762
+ h(s, j(H, {
7767
7763
  "min-width": "32",
7768
7764
  width: "32",
7769
7765
  height: "32",
@@ -7788,10 +7784,10 @@ function Bs(t, e, o, i, a, r) {
7788
7784
  style: ae({ position: "absolute", top: "340px", right: a.right + 50 + "px" })
7789
7785
  }, {
7790
7786
  default: u(() => [
7791
- d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7787
+ h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7792
7788
  default: u(() => [
7793
7789
  e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
7794
- d(g, { class: "ma-0 ml-n1 text-body-2" }, {
7790
+ h(g, { class: "ma-0 ml-n1 text-body-2" }, {
7795
7791
  default: u(() => [
7796
7792
  (y(!0), M(be, null, we(a.legend.barbs, (H, ee) => (y(), B(c, {
7797
7793
  key: H,
@@ -7799,12 +7795,12 @@ function Bs(t, e, o, i, a, r) {
7799
7795
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
7800
7796
  }, {
7801
7797
  default: u(() => [
7802
- l("div", rs, [
7798
+ l("div", is, [
7803
7799
  l("i", {
7804
- class: We(["iconfont", r.barbsIconName[ee]]),
7800
+ class: Ue(["iconfont", r.barbsIconName[ee]]),
7805
7801
  style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
7806
7802
  }, null, 6),
7807
- l("span", ls, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
7803
+ l("span", rs, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
7808
7804
  ])
7809
7805
  ]),
7810
7806
  _: 2
@@ -7816,11 +7812,11 @@ function Bs(t, e, o, i, a, r) {
7816
7812
  _: 1,
7817
7813
  __: [9]
7818
7814
  }),
7819
- d(h, { vertical: "" }),
7820
- d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7815
+ h(d, { vertical: "" }),
7816
+ h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7821
7817
  default: u(() => [
7822
7818
  e[10] || (e[10] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
7823
- d(g, {
7819
+ h(g, {
7824
7820
  class: "ma-0 ml-1",
7825
7821
  style: { width: "100px" }
7826
7822
  }, {
@@ -7831,12 +7827,12 @@ function Bs(t, e, o, i, a, r) {
7831
7827
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
7832
7828
  }, {
7833
7829
  default: u(() => [
7834
- l("div", ss, [
7835
- ee === 0 ? (y(), M("div", ns)) : (y(), M("div", {
7830
+ l("div", ls, [
7831
+ ee === 0 ? (y(), M("div", ss)) : (y(), M("div", {
7836
7832
  key: 1,
7837
7833
  style: ae({ width: "24px", height: "12px", background: H.color })
7838
7834
  }, null, 4)),
7839
- l("div", cs, b(H.label), 1)
7835
+ l("div", ns, b(H.label), 1)
7840
7836
  ])
7841
7837
  ]),
7842
7838
  _: 2
@@ -7848,11 +7844,11 @@ function Bs(t, e, o, i, a, r) {
7848
7844
  _: 1,
7849
7845
  __: [10]
7850
7846
  }),
7851
- d(h, { vertical: "" }),
7852
- d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7847
+ h(d, { vertical: "" }),
7848
+ h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
7853
7849
  default: u(() => [
7854
7850
  e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
7855
- d(g, {
7851
+ h(g, {
7856
7852
  class: "ma-0 ml-n5",
7857
7853
  style: { width: "110px" }
7858
7854
  }, {
@@ -7863,14 +7859,14 @@ function Bs(t, e, o, i, a, r) {
7863
7859
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
7864
7860
  }, {
7865
7861
  default: u(() => [
7866
- l("div", ms, [
7867
- l("div", ds, [
7862
+ l("div", cs, [
7863
+ l("div", ms, [
7868
7864
  l("i", {
7869
7865
  class: "iconfont icon-a-direction-arrow opacity-80",
7870
7866
  style: ae({ fontSize: 40 * H.size + "px" })
7871
7867
  }, null, 4)
7872
7868
  ]),
7873
- l("div", hs, b(H.label), 1)
7869
+ l("div", ds, b(H.label), 1)
7874
7870
  ])
7875
7871
  ]),
7876
7872
  _: 2
@@ -7887,13 +7883,13 @@ function Bs(t, e, o, i, a, r) {
7887
7883
  }, 8, ["style"])) : E("", !0)
7888
7884
  ])) : E("", !0),
7889
7885
  l("div", {
7890
- class: We(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
7886
+ class: Ue(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
7891
7887
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
7892
7888
  }, [
7893
- l("div", ps, [
7894
- l("div", us, [
7895
- l("div", gs, b(t.$t("weather.weather")), 1),
7896
- d(k, {
7889
+ l("div", hs, [
7890
+ l("div", ps, [
7891
+ l("div", us, b(t.$t("weather.weather")), 1),
7892
+ h(k, {
7897
7893
  modelValue: a.autoActive,
7898
7894
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
7899
7895
  class: "small-switch",
@@ -7902,7 +7898,7 @@ function Bs(t, e, o, i, a, r) {
7902
7898
  "hide-details": ""
7903
7899
  }, null, 8, ["modelValue"])
7904
7900
  ]),
7905
- d(s, {
7901
+ h(s, {
7906
7902
  icon: "",
7907
7903
  density: "compact",
7908
7904
  variant: "plain",
@@ -7917,28 +7913,28 @@ function Bs(t, e, o, i, a, r) {
7917
7913
  }, 8, ["onClick"])
7918
7914
  ]),
7919
7915
  l("div", {
7920
- class: We(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
7916
+ class: Ue(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
7921
7917
  }, [
7922
- d(f, {
7918
+ h(f, {
7923
7919
  class: "menu-card mx-auto mb-3",
7924
7920
  elevation: "0"
7925
7921
  }, {
7926
7922
  default: u(() => [
7927
- d(T, { class: "border-b-thin" }, {
7923
+ h(T, { class: "border-b-thin" }, {
7928
7924
  default: u(() => [
7929
- d(v, {
7925
+ h(v, {
7930
7926
  class: "text-subtitle-1 font-weight-medium",
7931
7927
  style: { "font-size": "16px !important" }
7932
7928
  }, {
7933
7929
  default: u(() => [
7934
- W(b(t.$t("weather.overlays")), 1)
7930
+ U(b(t.$t("weather.overlays")), 1)
7935
7931
  ]),
7936
7932
  _: 1
7937
7933
  })
7938
7934
  ]),
7939
7935
  _: 1
7940
7936
  }),
7941
- d(p, { class: "py-2" }, {
7937
+ h(p, { class: "py-2" }, {
7942
7938
  default: u(() => [
7943
7939
  (y(!0), M(be, null, we(a.tagLayers.filter((H) => H.overlays), (H) => (y(), B(w, {
7944
7940
  key: H.key,
@@ -7959,31 +7955,31 @@ function Bs(t, e, o, i, a, r) {
7959
7955
  ]),
7960
7956
  _: 1
7961
7957
  }),
7962
- d(f, {
7958
+ h(f, {
7963
7959
  class: "menu-card mx-auto mb-3",
7964
7960
  elevation: "0"
7965
7961
  }, {
7966
7962
  default: u(() => [
7967
- d(T, { class: "border-b-thin" }, {
7963
+ h(T, { class: "border-b-thin" }, {
7968
7964
  default: u(() => [
7969
- d(v, {
7965
+ h(v, {
7970
7966
  class: "text-subtitle-1 font-weight-medium",
7971
7967
  style: { "font-size": "16px !important" }
7972
7968
  }, {
7973
7969
  default: u(() => [
7974
- W(b(t.$t("weather.renders")), 1)
7970
+ U(b(t.$t("weather.renders")), 1)
7975
7971
  ]),
7976
7972
  _: 1
7977
7973
  })
7978
7974
  ]),
7979
7975
  _: 1
7980
7976
  }),
7981
- d(p, { class: "py-2" }, {
7977
+ h(p, { class: "py-2" }, {
7982
7978
  default: u(() => [
7983
7979
  (y(!0), M(be, null, we(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (y(), M(be, {
7984
7980
  key: H.key
7985
7981
  }, [
7986
- d(A, {
7982
+ h(D, {
7987
7983
  modelValue: a.renderKey,
7988
7984
  "onUpdate:modelValue": e[3] || (e[3] = (ee) => a.renderKey = ee),
7989
7985
  label: t.$t(`weather.${H.locale}`),
@@ -7996,9 +7992,9 @@ function Bs(t, e, o, i, a, r) {
7996
7992
  "hide-details": "",
7997
7993
  onClick: (ee) => a.renderKey = a.renderKey === H.key ? "" : H.key
7998
7994
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
7999
- a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", fs, [
7995
+ a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", gs, [
8000
7996
  l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
8001
- d(k, {
7997
+ h(k, {
8002
7998
  modelValue: a.showWindParticle,
8003
7999
  "onUpdate:modelValue": e[4] || (e[4] = (ee) => a.showWindParticle = ee),
8004
8000
  label: "",
@@ -8010,9 +8006,9 @@ function Bs(t, e, o, i, a, r) {
8010
8006
  "hide-details": ""
8011
8007
  }, null, 8, ["modelValue"])
8012
8008
  ])) : E("", !0),
8013
- a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", ys, [
8009
+ a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", fs, [
8014
8010
  l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
8015
- d(k, {
8011
+ h(k, {
8016
8012
  modelValue: a.showCurrentParticle,
8017
8013
  "onUpdate:modelValue": e[5] || (e[5] = (ee) => a.showCurrentParticle = ee),
8018
8014
  label: "",
@@ -8036,7 +8032,7 @@ function Bs(t, e, o, i, a, r) {
8036
8032
  disabled: !a.autoActive
8037
8033
  }, {
8038
8034
  default: u(() => [
8039
- d(s, {
8035
+ h(s, {
8040
8036
  density: "compact",
8041
8037
  height: "30",
8042
8038
  value: "ice-cover",
@@ -8046,11 +8042,11 @@ function Bs(t, e, o, i, a, r) {
8046
8042
  disabled: !a.autoActive
8047
8043
  }, {
8048
8044
  default: u(() => [
8049
- W(b(t.$t("weather.coverage")), 1)
8045
+ U(b(t.$t("weather.coverage")), 1)
8050
8046
  ]),
8051
8047
  _: 1
8052
8048
  }, 8, ["color", "disabled"]),
8053
- d(s, {
8049
+ h(s, {
8054
8050
  density: "compact",
8055
8051
  height: "30",
8056
8052
  class: "text-none px-2",
@@ -8060,7 +8056,7 @@ function Bs(t, e, o, i, a, r) {
8060
8056
  value: "ice-thickness"
8061
8057
  }, {
8062
8058
  default: u(() => [
8063
- W(b(t.$t("weather.thickness")), 1)
8059
+ U(b(t.$t("weather.thickness")), 1)
8064
8060
  ]),
8065
8061
  _: 1
8066
8062
  }, 8, ["color", "disabled"])
@@ -8074,49 +8070,49 @@ function Bs(t, e, o, i, a, r) {
8074
8070
  ]),
8075
8071
  _: 1
8076
8072
  }),
8077
- d(f, {
8073
+ h(f, {
8078
8074
  class: "menu-card mx-auto mb-3",
8079
8075
  elevation: "0"
8080
8076
  }, {
8081
8077
  default: u(() => [
8082
- d(T, { class: "border-b-thin" }, {
8078
+ h(T, { class: "border-b-thin" }, {
8083
8079
  default: u(() => [
8084
- d(v, {
8080
+ h(v, {
8085
8081
  class: "text-subtitle-1 font-weight-medium",
8086
8082
  style: { "font-size": "16px !important" }
8087
8083
  }, {
8088
8084
  default: u(() => [
8089
- W(b(t.$t("weather.forecastModel")), 1)
8085
+ U(b(t.$t("weather.forecastModel")), 1)
8090
8086
  ]),
8091
8087
  _: 1
8092
8088
  })
8093
8089
  ]),
8094
8090
  _: 1
8095
8091
  }),
8096
- d(p, { class: "" }, {
8092
+ h(p, { class: "" }, {
8097
8093
  default: u(() => {
8098
- var H, ee, je, Ce, he, fe, U, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt;
8094
+ var H, ee, je, Ce, he, fe, W, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt;
8099
8095
  return [
8100
- l("div", bs, b(t.$t("weather.atmospheric")), 1),
8101
- l("div", ws, b((je = (ee = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : ee.NOAA) == null ? void 0 : je.source) + " " + b((fe = (he = (Ce = a.models) == null ? void 0 : Ce.weather) == null ? void 0 : he.NOAA) == null ? void 0 : fe.spatialResolution) + b(t.$t("units.km")) + " " + b((re = ($ = (ze = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + b(t.$t("units.days")), 1),
8102
- l("div", xs, b(t.$t("weather.source")) + ": NOAA", 1),
8103
- l("div", vs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Te = (ye = (O = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : O.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Te.initialisationTime)), 1),
8104
- l("div", _s, b((R = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : R.source) + " " + b((Ve = (Ge = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + b(t.$t("units.km")) + " " + b((qe = (Ye = (Pe = (Ze = a.models) == null ? void 0 : Ze.weather) == null ? void 0 : Pe.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : qe.days) + b(t.$t("units.days")), 1),
8105
- l("div", ks, b(t.$t("weather.source")) + ": ECMWF", 1),
8106
- l("div", zs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Je = (Qe = (Ke = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
8107
- d(h),
8108
- l("div", Ls, b(t.$t("weather.wave")), 1),
8109
- l("div", Ps, b((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + b((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + b(t.$t("units.km")) + " " + b((dt = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(t.$t("units.days")), 1),
8110
- l("div", Cs, b(t.$t("weather.source")) + ": NOAA", 1),
8111
- l("div", Ts, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((ft = (gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
8112
- l("div", Ss, b((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + b((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + b(t.$t("units.km")) + " " + b((St = (Tt = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : St.days) + b(t.$t("units.days")), 1),
8113
- l("div", Ms, b(t.$t("weather.source")) + ": ECMWF", 1),
8114
- l("div", Is, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Rt = (Dt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Dt.meta) == null ? void 0 : Rt.initialisationTime)), 1),
8115
- d(h),
8116
- l("div", As, b(t.$t("weather.currents")), 1),
8117
- l("div", Ds, b((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + b((Ut = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Ut.spatialResolution) + b(t.$t("units.km")) + " " + b((Yt = (Zt = (Vt = (Gt = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Gt.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Zt.meta) == null ? void 0 : Yt.days) + b(t.$t("units.days")), 1),
8118
- l("div", Rs, b(t.$t("weather.source")) + ": ECMWF", 1),
8119
- l("div", Os, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Jt = (Qt = (Kt = (Xt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
8096
+ l("div", ys, b(t.$t("weather.atmospheric")), 1),
8097
+ l("div", bs, b((je = (ee = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : ee.NOAA) == null ? void 0 : je.source) + " " + b((fe = (he = (Ce = a.models) == null ? void 0 : Ce.weather) == null ? void 0 : he.NOAA) == null ? void 0 : fe.spatialResolution) + b(t.$t("units.km")) + " " + b((re = ($ = (ze = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + b(t.$t("units.days")), 1),
8098
+ l("div", ws, b(t.$t("weather.source")) + ": NOAA", 1),
8099
+ l("div", xs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Te = (ye = (O = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : O.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Te.initialisationTime)), 1),
8100
+ l("div", vs, b((R = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : R.source) + " " + b((Ve = (Ge = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + b(t.$t("units.km")) + " " + b((qe = (Ye = (Pe = (Ze = a.models) == null ? void 0 : Ze.weather) == null ? void 0 : Pe.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : qe.days) + b(t.$t("units.days")), 1),
8101
+ l("div", _s, b(t.$t("weather.source")) + ": ECMWF", 1),
8102
+ l("div", ks, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Je = (Qe = (Ke = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
8103
+ h(d),
8104
+ l("div", zs, b(t.$t("weather.wave")), 1),
8105
+ l("div", Ls, b((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + b((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + b(t.$t("units.km")) + " " + b((dt = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(t.$t("units.days")), 1),
8106
+ l("div", Ps, b(t.$t("weather.source")) + ": NOAA", 1),
8107
+ l("div", Cs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((ft = (gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
8108
+ l("div", Ts, b((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + b((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + b(t.$t("units.km")) + " " + b((St = (Tt = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : St.days) + b(t.$t("units.days")), 1),
8109
+ l("div", Ss, b(t.$t("weather.source")) + ": ECMWF", 1),
8110
+ l("div", Ms, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Rt = (Dt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Dt.meta) == null ? void 0 : Rt.initialisationTime)), 1),
8111
+ h(d),
8112
+ l("div", Is, b(t.$t("weather.currents")), 1),
8113
+ l("div", As, b((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + b((Wt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Wt.spatialResolution) + b(t.$t("units.km")) + " " + b((Yt = (Zt = (Vt = (Gt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Gt.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Zt.meta) == null ? void 0 : Yt.days) + b(t.$t("units.days")), 1),
8114
+ l("div", Ds, b(t.$t("weather.source")) + ": ECMWF", 1),
8115
+ l("div", Rs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Jt = (Qt = (Kt = (Xt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
8120
8116
  ];
8121
8117
  }),
8122
8118
  _: 1
@@ -8165,7 +8161,7 @@ function Bs(t, e, o, i, a, r) {
8165
8161
  factor: (ge = a.weatherLayers) == null ? void 0 : ge["wind-particle"],
8166
8162
  "menu-toggle": o.menuToggle
8167
8163
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0),
8168
- o.map ? (y(), B(D, j({
8164
+ o.map ? (y(), B(A, j({
8169
8165
  key: 6,
8170
8166
  viewport: a.viewport,
8171
8167
  factor: (me = a.weatherLayers) == null ? void 0 : me["current-particle"],
@@ -8228,7 +8224,7 @@ function Bs(t, e, o, i, a, r) {
8228
8224
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0)
8229
8225
  ]);
8230
8226
  }
8231
- const Es = /* @__PURE__ */ V(os, [["render", Bs]]), eo = [
8227
+ const Bs = /* @__PURE__ */ V(ts, [["render", Os]]), eo = [
8232
8228
  {
8233
8229
  rank: 0,
8234
8230
  name: "Best Match",
@@ -8546,18 +8542,18 @@ class Va {
8546
8542
  const a = e.toLowerCase().split(","), r = [], s = [];
8547
8543
  for (const n of a) {
8548
8544
  let c = eo.find((p) => {
8549
- var h, f, k;
8550
- return ((h = p.models) == null ? void 0 : h.includes(n)) || ((f = p.alias) == null ? void 0 : f.toLowerCase()) === n || ((k = p.name) == null ? void 0 : k.toLowerCase()) === n;
8545
+ var d, f, k;
8546
+ return ((d = p.models) == null ? void 0 : d.includes(n)) || ((f = p.alias) == null ? void 0 : f.toLowerCase()) === n || ((k = p.name) == null ? void 0 : k.toLowerCase()) === n;
8551
8547
  }), g = to.find((p) => {
8552
- var h, f, k;
8553
- return ((h = p.models) == null ? void 0 : h.includes(n)) || ((f = p.alias) == null ? void 0 : f.toLowerCase()) === n || ((k = p.name) == null ? void 0 : k.toLowerCase()) === n;
8548
+ var d, f, k;
8549
+ return ((d = p.models) == null ? void 0 : d.includes(n)) || ((f = p.alias) == null ? void 0 : f.toLowerCase()) === n || ((k = p.name) == null ? void 0 : k.toLowerCase()) === n;
8554
8550
  });
8555
8551
  c = c || eo.find((p) => {
8556
- var h, f;
8557
- return ((h = p.alias) == null ? void 0 : h.toLowerCase()) === ((f = g == null ? void 0 : g.alias) == null ? void 0 : f.toLowerCase());
8552
+ var d, f;
8553
+ return ((d = p.alias) == null ? void 0 : d.toLowerCase()) === ((f = g == null ? void 0 : g.alias) == null ? void 0 : f.toLowerCase());
8558
8554
  }), g = g || to.find((p) => {
8559
- var h, f;
8560
- return ((h = p.alias) == null ? void 0 : h.toLowerCase()) === ((f = c == null ? void 0 : c.alias) == null ? void 0 : f.toLowerCase());
8555
+ var d, f;
8556
+ return ((d = p.alias) == null ? void 0 : d.toLowerCase()) === ((f = c == null ? void 0 : c.alias) == null ? void 0 : f.toLowerCase());
8561
8557
  }), c = c || eo[0], g = g || to[0], r.push((o = c.models) != null && o.includes(n) ? n : c.model), s.push((i = g.models) != null && i.includes(n) ? n : g.model);
8562
8558
  }
8563
8559
  return {
@@ -8575,8 +8571,8 @@ class Va {
8575
8571
  }), a;
8576
8572
  }
8577
8573
  static pickHourly(e, o) {
8578
- var i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce;
8579
- const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, ze = I((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), $ = ze.clone().add((n = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = ze.clone().add((p = (g = (c = fe == null ? void 0 : fe[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
8574
+ var i, a, r, s, n, c, g, p, d, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce;
8575
+ const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, ze = I((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), $ = ze.clone().add((n = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = ze.clone().add((p = (g = (c = fe == null ? void 0 : fe[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
8580
8576
  if (he.isBetween($, re, "millisecond", "[]")) {
8581
8577
  const O = he.utc().diff($, "h", !1);
8582
8578
  let ye, Te;
@@ -8585,7 +8581,7 @@ class Va {
8585
8581
  for (const R of fe) {
8586
8582
  const G = R == null ? void 0 : R.hourly;
8587
8583
  for (let Pe = O - (O - 1) % 3; Pe <= O; Pe++)
8588
- Be += (h = G == null ? void 0 : G.precipitation) == null ? void 0 : h.at(Pe);
8584
+ Be += (d = G == null ? void 0 : G.precipitation) == null ? void 0 : d.at(Pe);
8589
8585
  for (let Pe = O - (O - 1) % 6; Pe <= O; Pe++)
8590
8586
  Ee += (f = G == null ? void 0 : G.precipitation) == null ? void 0 : f.at(Pe);
8591
8587
  ye = {
@@ -8594,7 +8590,7 @@ class Va {
8594
8590
  rh: (T = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : T.at(O),
8595
8591
  dp: (w = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : w.at(O),
8596
8592
  precip: {
8597
- probability: (A = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : A.at(O),
8593
+ probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(O),
8598
8594
  sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(O),
8599
8595
  sum3Hours: Math.round(Be * 100) / 100,
8600
8596
  sum6Hours: Math.round(Ee * 100) / 100
@@ -8605,7 +8601,7 @@ class Va {
8605
8601
  visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(O)),
8606
8602
  wind: {
8607
8603
  speed: (_ = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : _.at(O),
8608
- kts: (D = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : D.at(O),
8604
+ kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(O),
8609
8605
  degree: (Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(O),
8610
8606
  bearing: ((q = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : q.at(O)) !== null ? (((X = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : X.at(O)) + 180) % 360 : null,
8611
8607
  gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(O)
@@ -8620,9 +8616,9 @@ class Va {
8620
8616
  });
8621
8617
  }
8622
8618
  }
8623
- if (U) {
8619
+ if (W) {
8624
8620
  let Be = 0;
8625
- for (const Ee of U) {
8621
+ for (const Ee of W) {
8626
8622
  const R = Ee == null ? void 0 : Ee.hourly;
8627
8623
  Te = {
8628
8624
  wave: {
@@ -8662,7 +8658,7 @@ class Va {
8662
8658
  return Oe;
8663
8659
  }
8664
8660
  static toLegacy(e) {
8665
- var o, i, a, r, s, n, c, g, p, h;
8661
+ var o, i, a, r, s, n, c, g, p, d;
8666
8662
  return {
8667
8663
  wind: (o = e == null ? void 0 : e.weather) == null ? void 0 : o.wind,
8668
8664
  visibility: (i = e == null ? void 0 : e.weather) == null ? void 0 : i.visibility,
@@ -8674,7 +8670,7 @@ class Va {
8674
8670
  precip: (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip,
8675
8671
  code: (g = e == null ? void 0 : e.weather) == null ? void 0 : g.code,
8676
8672
  name: (p = e == null ? void 0 : e.weather) == null ? void 0 : p.name,
8677
- url: (h = e == null ? void 0 : e.weather) == null ? void 0 : h.url,
8673
+ url: (d = e == null ? void 0 : e.weather) == null ? void 0 : d.url,
8678
8674
  wave: e == null ? void 0 : e.wave,
8679
8675
  current: e == null ? void 0 : e.current,
8680
8676
  sst: e == null ? void 0 : e.sst,
@@ -8684,49 +8680,49 @@ class Va {
8684
8680
  };
8685
8681
  }
8686
8682
  static pickDaily(e, o) {
8687
- var i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De;
8683
+ var i, a, r, s, n, c, g, p, d, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De;
8688
8684
  const Re = typeof o == "string" ? I(o) : o, ve = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, ee = I((r = (a = (i = ve == null ? void 0 : ve[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = I((c = (n = (s = ve == null ? void 0 : ve[0]) == null ? void 0 : s.daily) == null ? void 0 : n.time) == null ? void 0 : c.at(-1)), Ce = [];
8689
8685
  if (Re.isBetween(ee, je, "millisecond", "[]")) {
8690
8686
  let he, fe;
8691
- const U = Re.diff(ee, "d", !1);
8687
+ const W = Re.diff(ee, "d", !1);
8692
8688
  if (ve)
8693
8689
  for (const ze of ve) {
8694
8690
  const $ = ze.daily;
8695
8691
  he = {
8696
- code: (g = $.weather_code) == null ? void 0 : g.at(U),
8692
+ code: (g = $.weather_code) == null ? void 0 : g.at(W),
8697
8693
  temp: {
8698
- max: (p = $.temperature_2m_max) == null ? void 0 : p.at(U),
8699
- min: (h = $.temperature_2m_min) == null ? void 0 : h.at(U),
8700
- mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(U)
8694
+ max: (p = $.temperature_2m_max) == null ? void 0 : p.at(W),
8695
+ min: (d = $.temperature_2m_min) == null ? void 0 : d.at(W),
8696
+ mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(W)
8701
8697
  },
8702
8698
  apparentTemp: {
8703
- max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(U),
8704
- min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(U)
8699
+ max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(W),
8700
+ min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(W)
8705
8701
  },
8706
8702
  precip: {
8707
- sum: (T = $.precipitation_sum) == null ? void 0 : T.at(U),
8708
- rainSum: (w = $.rain_sum) == null ? void 0 : w.at(U),
8709
- snowfallSum: (A = $.snowfall_sum) == null ? void 0 : A.at(U),
8710
- showersSum: (S = $.showers_sum) == null ? void 0 : S.at(U),
8711
- hours: (P = $.precipitation_hours) == null ? void 0 : P.at(U),
8712
- probability: (z = $.precipitation_probability_max) == null ? void 0 : z.at(U)
8703
+ sum: (T = $.precipitation_sum) == null ? void 0 : T.at(W),
8704
+ rainSum: (w = $.rain_sum) == null ? void 0 : w.at(W),
8705
+ snowfallSum: (D = $.snowfall_sum) == null ? void 0 : D.at(W),
8706
+ showersSum: (S = $.showers_sum) == null ? void 0 : S.at(W),
8707
+ hours: (P = $.precipitation_hours) == null ? void 0 : P.at(W),
8708
+ probability: (z = $.precipitation_probability_max) == null ? void 0 : z.at(W)
8713
8709
  },
8714
8710
  rh: {
8715
- max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(U),
8716
- min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(U),
8717
- mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(U)
8711
+ max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(W),
8712
+ min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(W),
8713
+ mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
8718
8714
  },
8719
8715
  wind: {
8720
- speed: (D = $.wind_speed_10m_max) == null ? void 0 : D.at(U),
8721
- kts: (Z = $.wind_speed_10m_max) == null ? void 0 : Z.at(U),
8722
- degree: (q = $.wind_direction_10m_dominant) == null ? void 0 : q.at(U),
8723
- gusts: (X = $.wind_gusts_10m_max) == null ? void 0 : X.at(U),
8724
- bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(U)) !== null ? (((te = $.wind_direction_10m_dominant) == null ? void 0 : te.at(U)) + 180) % 360 : null
8716
+ speed: (A = $.wind_speed_10m_max) == null ? void 0 : A.at(W),
8717
+ kts: (Z = $.wind_speed_10m_max) == null ? void 0 : Z.at(W),
8718
+ degree: (q = $.wind_direction_10m_dominant) == null ? void 0 : q.at(W),
8719
+ gusts: (X = $.wind_gusts_10m_max) == null ? void 0 : X.at(W),
8720
+ bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(W)) !== null ? (((te = $.wind_direction_10m_dominant) == null ? void 0 : te.at(W)) + 180) % 360 : null
8725
8721
  }
8726
8722
  };
8727
8723
  const { name: re, url: Oe, bg: O } = this.parseWeatherCode(he.code, !0);
8728
8724
  he.name = re, he.url = Oe, he.bg = O, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Ce.push({
8729
- utc: ee.add(U, "d").utc().format(),
8725
+ utc: ee.add(W, "d").utc().format(),
8730
8726
  model: ze.model,
8731
8727
  weather: { ...he }
8732
8728
  });
@@ -8738,25 +8734,25 @@ class Va {
8738
8734
  fe = {
8739
8735
  wave: {
8740
8736
  sig: {
8741
- height: (oe = re.wave_height_max) == null ? void 0 : oe.at(U),
8742
- degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(U),
8743
- period: (le = re.wave_period_max) == null ? void 0 : le.at(U),
8744
- bearing: ((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(U)) !== null ? (((ue = re.wave_direction_dominant) == null ? void 0 : ue.at(U)) + 180) % 360 : null
8737
+ height: (oe = re.wave_height_max) == null ? void 0 : oe.at(W),
8738
+ degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(W),
8739
+ period: (le = re.wave_period_max) == null ? void 0 : le.at(W),
8740
+ bearing: ((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) !== null ? (((ue = re.wave_direction_dominant) == null ? void 0 : ue.at(W)) + 180) % 360 : null
8745
8741
  },
8746
8742
  swell: {
8747
- height: (ce = re.swell_wave_height_max) == null ? void 0 : ce.at(U),
8748
- degree: (Q = re.swell_wave_direction_dominant) == null ? void 0 : Q.at(U),
8749
- period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(U),
8750
- peakPeriod: (ge = re.swell_wave_peak_period_max) == null ? void 0 : ge.at(U),
8743
+ height: (ce = re.swell_wave_height_max) == null ? void 0 : ce.at(W),
8744
+ degree: (Q = re.swell_wave_direction_dominant) == null ? void 0 : Q.at(W),
8745
+ period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(W),
8746
+ peakPeriod: (ge = re.swell_wave_peak_period_max) == null ? void 0 : ge.at(W),
8751
8747
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
8752
- bearing: ((me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(U)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
8748
+ bearing: ((me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(W)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
8753
8749
  },
8754
8750
  wd: {
8755
- height: (de = re.wind_wave_height_max) == null ? void 0 : de.at(U),
8756
- degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(U),
8757
- period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(U),
8758
- peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(U),
8759
- bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) !== null ? (((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) + 180) % 360 : null
8751
+ height: (de = re.wind_wave_height_max) == null ? void 0 : de.at(W),
8752
+ degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(W),
8753
+ period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(W),
8754
+ peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(W),
8755
+ bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(W)) !== null ? (((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(W)) + 180) % 360 : null
8760
8756
  }
8761
8757
  }
8762
8758
  }, fe.wave = this.parseWave(fe.wave, he == null ? void 0 : he.wind), Object.assign(Ce[ze], fe), ze++;
@@ -9164,7 +9160,7 @@ class Va {
9164
9160
  return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
9165
9161
  }
9166
9162
  }
9167
- const js = {
9163
+ const Es = {
9168
9164
  name: "IdmTropicals",
9169
9165
  props: {
9170
9166
  permission: {
@@ -9325,9 +9321,9 @@ const js = {
9325
9321
  responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
9326
9322
  }).then((p) => {
9327
9323
  var k, v, T;
9328
- const h = Wa.convert2Geojson(((k = p == null ? void 0 : p.data) == null ? void 0 : k.data) || (p == null ? void 0 : p.data));
9329
- ((T = (v = p == null ? void 0 : p.config) == null ? void 0 : v.headers) == null ? void 0 : T.key) && h && (this.tropicals = {
9330
- data: h,
9324
+ const d = Ua.convert2Geojson(((k = p == null ? void 0 : p.data) == null ? void 0 : k.data) || (p == null ? void 0 : p.data));
9325
+ ((T = (v = p == null ? void 0 : p.config) == null ? void 0 : v.headers) == null ? void 0 : T.key) && d && (this.tropicals = {
9326
+ data: d,
9331
9327
  active: !0,
9332
9328
  cached: !0,
9333
9329
  type: "json",
@@ -9373,9 +9369,9 @@ const js = {
9373
9369
  }, 500);
9374
9370
  else {
9375
9371
  if (this.tropicals) {
9376
- const h = (/* @__PURE__ */ new Date()).valueOf();
9372
+ const d = (/* @__PURE__ */ new Date()).valueOf();
9377
9373
  let f = 0, k = 0;
9378
- (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropicals] update elapsed: ", k, ", total: ", f += k)) : (this.map.addSource(this.source, {
9374
+ (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), k = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropicals] update elapsed: ", k, ", total: ", f += k)) : (this.map.addSource(this.source, {
9379
9375
  type: "geojson",
9380
9376
  data: (i = this.tropicals) != null && i.active ? (a = this.tropicals) == null ? void 0 : a.data : this.empty
9381
9377
  }), this.map.addLayer({
@@ -9472,7 +9468,7 @@ const js = {
9472
9468
  ],
9473
9469
  "text-halo-width": 4
9474
9470
  }
9475
- }), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((n = this.map) == null || n.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropical] update elapsed: ", k, ", total: ", f += k)) : (this.map.addSource(this.clusterSource, {
9471
+ }), k = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((n = this.map) == null || n.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), k = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropical] update elapsed: ", k, ", total: ", f += k)) : (this.map.addSource(this.clusterSource, {
9476
9472
  type: "geojson",
9477
9473
  data: (c = this.tropicals) != null && c.active ? (g = this.tropicals) == null ? void 0 : g.data : this.empty
9478
9474
  // cluster: true,
@@ -9588,10 +9584,10 @@ const js = {
9588
9584
  "text-halo-color": "#ffffff",
9589
9585
  "text-halo-width": 1
9590
9586
  }
9591
- }), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k));
9587
+ }), k = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k));
9592
9588
  }
9593
9589
  this.handleDrawCircle();
9594
- const p = Wa.interpolate(this.tropicals, 1);
9590
+ const p = Ua.interpolate(this.tropicals, 1);
9595
9591
  this.interpolateData = JSON.parse(JSON.stringify(p)), this.handleDateChange();
9596
9592
  }
9597
9593
  },
@@ -9613,7 +9609,7 @@ const js = {
9613
9609
  ), this.showTropicalsInfo = !1;
9614
9610
  },
9615
9611
  handleDateChange() {
9616
- var t, e, o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J;
9612
+ var t, e, o, i, a, r, s, n, c, g, p, d, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J;
9617
9613
  if ((t = this.interpolateMarkers) == null || t.forEach((le) => le == null ? void 0 : le.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
9618
9614
  const le = I(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), pe = this.interpolateData.filter((Q) => Q.properties.date === (le == null ? void 0 : le.format()) && !Q.properties.disabled), ue = this.handleComputePolygons(pe), ce = N.featureCollection([...pe]);
9619
9615
  ue.forEach((Q) => {
@@ -9635,7 +9631,7 @@ const js = {
9635
9631
  for (const Q of pe)
9636
9632
  if (!Q.properties.disabled) {
9637
9633
  let ie = "#f44336";
9638
- ((n = (s = Q.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = Q.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((h = (p = Q.properties) == null ? void 0 : p.wind) == null ? void 0 : h.kts) >= 32 && ((k = (f = Q.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((T = (v = Q.properties) == null ? void 0 : v.wind) == null ? void 0 : T.kts) >= 47 && ((A = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : A.kts) < 63 ? ie = "#ff9100" : ((P = (S = Q.properties) == null ? void 0 : S.wind) == null ? void 0 : P.kts) >= 63 && ((L = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : L.kts) < 79 ? ie = "#f44336" : ((_ = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((Z = (D = Q.properties) == null ? void 0 : D.wind) == null ? void 0 : Z.kts) < 94 ? ie = "#f903d0" : ((X = (q = Q.properties) == null ? void 0 : q.wind) == null ? void 0 : X.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
9634
+ ((n = (s = Q.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = Q.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = Q.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((k = (f = Q.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((T = (v = Q.properties) == null ? void 0 : v.wind) == null ? void 0 : T.kts) >= 47 && ((D = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : D.kts) < 63 ? ie = "#ff9100" : ((P = (S = Q.properties) == null ? void 0 : S.wind) == null ? void 0 : P.kts) >= 63 && ((L = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : L.kts) < 79 ? ie = "#f44336" : ((_ = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((Z = (A = Q.properties) == null ? void 0 : A.wind) == null ? void 0 : Z.kts) < 94 ? ie = "#f903d0" : ((X = (q = Q.properties) == null ? void 0 : q.wind) == null ? void 0 : X.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
9639
9635
  const ge = `<svg t="1719918955501"
9640
9636
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
9641
9637
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -9659,7 +9655,7 @@ const js = {
9659
9655
  (oe = this.map) != null && oe.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
9660
9656
  },
9661
9657
  handleClick(t) {
9662
- var r, s, n, c, g, p, h, f;
9658
+ var r, s, n, c, g, p, d, f;
9663
9659
  const e = t.features[0], o = (s = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : s.features.filter(
9664
9660
  (k) => {
9665
9661
  var v;
@@ -9675,7 +9671,7 @@ const js = {
9675
9671
  name: (g = e == null ? void 0 : e.properties) == null ? void 0 : g.name,
9676
9672
  forecasts: o.map((k) => k.properties),
9677
9673
  history: (p = i[0]) == null ? void 0 : p.properties,
9678
- showCircle: (f = (h = o[0]) == null ? void 0 : h.properties) == null ? void 0 : f.showCircle
9674
+ showCircle: (f = (d = o[0]) == null ? void 0 : d.properties) == null ? void 0 : f.showCircle
9679
9675
  }, this.showTropicalsInfo = !0;
9680
9676
  const a = document.getElementById("idm-tropical-gl4-info");
9681
9677
  this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new xe.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
@@ -9766,29 +9762,29 @@ const js = {
9766
9762
  this.$emit("tropicalNotification", t);
9767
9763
  }
9768
9764
  }
9769
- }, Ns = { class: "idm-tropical-gl4" }, Fs = {
9765
+ }, js = { class: "idm-tropical-gl4" }, Ns = {
9770
9766
  id: "idm-tropical-gl4-info",
9771
9767
  class: "idm-tropical-gl4-info"
9772
- }, Hs = { class: "pb-1" }, Us = { class: "text-h6 font-weight-600" }, Ws = {
9768
+ }, Fs = { class: "pb-1" }, Hs = { class: "text-h6 font-weight-600" }, Ws = {
9773
9769
  key: 0,
9774
9770
  class: "text-body-1 opacity-70"
9775
- }, Gs = { class: "text-body-2" }, Vs = { class: "d-flex justify-space-between align-center" }, Zs = { class: "flex-1-1-0" }, Ys = { class: "flex-1-1-0" }, qs = { class: "py-2 d-flex justify-space-between align-center" }, Xs = { class: "flex-1-1-0" }, Ks = { class: "flex-1-1-0" }, Qs = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Js = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, $s = { class: "more" }, en = {
9771
+ }, Us = { class: "text-body-2" }, Gs = { class: "d-flex justify-space-between align-center" }, Vs = { class: "flex-1-1-0" }, Zs = { class: "flex-1-1-0" }, Ys = { class: "py-2 d-flex justify-space-between align-center" }, qs = { class: "flex-1-1-0" }, Xs = { class: "flex-1-1-0" }, Ks = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Qs = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Js = { class: "more" }, $s = {
9776
9772
  class: "my-4",
9777
9773
  style: { height: "80px" }
9778
- }, tn = { class: "pa-1 d-flex justify-space-between align-center" }, on = { class: "pa-1 d-flex justify-space-between align-center" };
9779
- function an(t, e, o, i, a, r) {
9780
- const s = x("VBtn"), n = x("VTooltip"), c = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), h = x("VCard");
9781
- return y(), M("div", Ns, [
9774
+ }, en = { class: "pa-1 d-flex justify-space-between align-center" }, tn = { class: "pa-1 d-flex justify-space-between align-center" };
9775
+ function on(t, e, o, i, a, r) {
9776
+ const s = x("VBtn"), n = x("VTooltip"), c = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), d = x("VCard");
9777
+ return y(), M("div", js, [
9782
9778
  l("div", {
9783
9779
  class: "menu-bar-box transition pa-1",
9784
9780
  style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
9785
9781
  }, [
9786
- d(n, {
9782
+ h(n, {
9787
9783
  text: t.$t("tropical.tropicals"),
9788
9784
  location: "left"
9789
9785
  }, {
9790
9786
  activator: u(({ props: f }) => [
9791
- d(s, j(f, {
9787
+ h(s, j(f, {
9792
9788
  "min-width": "32",
9793
9789
  width: "32",
9794
9790
  height: "32",
@@ -9805,21 +9801,21 @@ function an(t, e, o, i, a, r) {
9805
9801
  _: 1
9806
9802
  }, 8, ["text"])
9807
9803
  ], 4),
9808
- He(l("div", Fs, [
9809
- d(h, {
9804
+ He(l("div", Ns, [
9805
+ h(d, {
9810
9806
  width: "400",
9811
9807
  elevation: "16"
9812
9808
  }, {
9813
9809
  default: u(() => [
9814
- d(c, null, {
9810
+ h(c, null, {
9815
9811
  default: u(() => {
9816
- var f, k, v, T, w, A, S, P, z, L;
9812
+ var f, k, v, T, w, D, S, P, z, L;
9817
9813
  return [
9818
- l("div", Hs, [
9819
- l("span", Us, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
9814
+ l("div", Fs, [
9815
+ l("span", Hs, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
9820
9816
  (v = (k = a.activeTropicals) == null ? void 0 : k.history) != null && v.level ? (y(), M("span", Ws, ", " + b((w = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : w.level), 1)) : E("", !0)
9821
9817
  ]),
9822
- d(s, {
9818
+ h(s, {
9823
9819
  icon: "",
9824
9820
  density: "compact",
9825
9821
  variant: "plain",
@@ -9832,56 +9828,56 @@ function an(t, e, o, i, a, r) {
9832
9828
  _: 1,
9833
9829
  __: [5]
9834
9830
  }),
9835
- l("div", Gs, [
9831
+ l("div", Us, [
9836
9832
  e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
9837
- l("span", null, b(r.computeTime(((S = (A = a.activeTropicals) == null ? void 0 : A.history) == null ? void 0 : S.updated) || ((L = (z = (P = a.activeTropicals) == null ? void 0 : P.forecasts) == null ? void 0 : z.filter((C) => !C.disabled)[0]) == null ? void 0 : L.date))), 1)
9833
+ l("span", null, b(r.computeTime(((S = (D = a.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : S.updated) || ((L = (z = (P = a.activeTropicals) == null ? void 0 : P.forecasts) == null ? void 0 : z.filter((C) => !C.disabled)[0]) == null ? void 0 : L.date))), 1)
9838
9834
  ])
9839
9835
  ];
9840
9836
  }),
9841
9837
  _: 1
9842
9838
  }),
9843
- d(g),
9844
- d(c, { class: "text-body-1" }, {
9839
+ h(g),
9840
+ h(c, { class: "text-body-1" }, {
9845
9841
  default: u(() => {
9846
- var f, k, v, T, w, A, S, P, z;
9842
+ var f, k, v, T, w, D, S, P, z;
9847
9843
  return [
9848
- l("div", Vs, [
9849
- l("div", Zs, [
9844
+ l("div", Gs, [
9845
+ l("div", Vs, [
9850
9846
  e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
9851
9847
  l("span", null, b(((k = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
9852
9848
  l("span", null, ", BF " + b(r.computeBF(((T = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : T.kts) || "-")), 1)
9853
9849
  ]),
9854
- l("div", Ys, [
9850
+ l("div", Zs, [
9855
9851
  e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
9856
- l("span", null, b(((A = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : A.pressure) || "-") + " hPa", 1)
9852
+ l("span", null, b(((D = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : D.pressure) || "-") + " hPa", 1)
9857
9853
  ])
9858
9854
  ]),
9859
- l("div", qs, [
9860
- l("div", Xs, [
9855
+ l("div", Ys, [
9856
+ l("div", qs, [
9861
9857
  e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
9862
9858
  l("span", null, b(((S = r.computeMovement(a.activeTropicals)) == null ? void 0 : S.kts) || "-") + " kts", 1)
9863
9859
  ]),
9864
- l("div", Ks, [
9860
+ l("div", Xs, [
9865
9861
  e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
9866
9862
  l("span", null, b(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
9867
9863
  ])
9868
9864
  ]),
9869
- l("div", Qs, [
9865
+ l("div", Ks, [
9870
9866
  e[11] || (e[11] = l("label", {
9871
9867
  class: "opacity-70 pr-1",
9872
9868
  style: { width: "max-content" }
9873
9869
  }, "Forecast Models : ", -1)),
9874
- l("div", Js, [
9870
+ l("div", Qs, [
9875
9871
  (y(!0), M(be, null, we((z = a.activeTropicals) == null ? void 0 : z.forecasts, (L, C) => (y(), B(s, {
9876
9872
  key: C,
9877
9873
  density: "compact",
9878
9874
  variant: L.disabled ? "outlined" : "flat",
9879
9875
  color: L.disabled ? "" : "primary",
9880
- class: We(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
9876
+ class: Ue(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
9881
9877
  onClick: (_) => r.handleForecastToggle(L)
9882
9878
  }, {
9883
9879
  default: u(() => [
9884
- W(b(L.model), 1)
9880
+ U(b(L.model), 1)
9885
9881
  ]),
9886
9882
  _: 2
9887
9883
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -9891,10 +9887,10 @@ function an(t, e, o, i, a, r) {
9891
9887
  }),
9892
9888
  _: 1
9893
9889
  }),
9894
- d(g),
9895
- d(p, { class: "d-flex justify-space-between" }, {
9890
+ h(g),
9891
+ h(p, { class: "d-flex justify-space-between" }, {
9896
9892
  default: u(() => [
9897
- d(s, {
9893
+ h(s, {
9898
9894
  density: "compact",
9899
9895
  "prepend-icon": "",
9900
9896
  variant: "text",
@@ -9906,12 +9902,12 @@ function an(t, e, o, i, a, r) {
9906
9902
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9907
9903
  ])),
9908
9904
  default: u(() => [
9909
- e[13] || (e[13] = W(" Legend ", -1))
9905
+ e[13] || (e[13] = U(" Legend ", -1))
9910
9906
  ]),
9911
9907
  _: 1,
9912
9908
  __: [13]
9913
9909
  }, 8, ["color"]),
9914
- l("div", $s, [
9910
+ l("div", Js, [
9915
9911
  o.permission & a.helper.LEVEL.Supper ? (y(), B(s, {
9916
9912
  key: 0,
9917
9913
  variant: "text",
@@ -9920,12 +9916,12 @@ function an(t, e, o, i, a, r) {
9920
9916
  onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
9921
9917
  }, {
9922
9918
  default: u(() => e[14] || (e[14] = [
9923
- W("Notify", -1)
9919
+ U("Notify", -1)
9924
9920
  ])),
9925
9921
  _: 1,
9926
9922
  __: [14]
9927
9923
  })) : E("", !0),
9928
- d(s, {
9924
+ h(s, {
9929
9925
  variant: "text",
9930
9926
  density: "compact",
9931
9927
  "append-icon": "mdi-chevron-right",
@@ -9933,7 +9929,7 @@ function an(t, e, o, i, a, r) {
9933
9929
  onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
9934
9930
  }, {
9935
9931
  default: u(() => e[15] || (e[15] = [
9936
- W("View Report", -1)
9932
+ U("View Report", -1)
9937
9933
  ])),
9938
9934
  _: 1,
9939
9935
  __: [15]
@@ -9945,15 +9941,15 @@ function an(t, e, o, i, a, r) {
9945
9941
  ]),
9946
9942
  _: 1
9947
9943
  }),
9948
- l("div", en, [
9949
- He(d(h, {
9944
+ l("div", $s, [
9945
+ He(h(d, {
9950
9946
  width: "400",
9951
9947
  elevation: "16"
9952
9948
  }, {
9953
9949
  default: u(() => [
9954
- d(c, null, {
9950
+ h(c, null, {
9955
9951
  default: u(() => [
9956
- He(l("div", tn, e[16] || (e[16] = [
9952
+ He(l("div", en, e[16] || (e[16] = [
9957
9953
  l("div", { class: "legend d-flex justify-start align-center" }, [
9958
9954
  l("div", { class: "icon td" }),
9959
9955
  l("div", { class: "label" }, "TD")
@@ -9979,9 +9975,9 @@ function an(t, e, o, i, a, r) {
9979
9975
  l("div", { class: "label" }, "Super TY")
9980
9976
  ], -1)
9981
9977
  ]), 512), [
9982
- [Ue, a.showLegend]
9978
+ [We, a.showLegend]
9983
9979
  ]),
9984
- He(l("div", on, e[17] || (e[17] = [
9980
+ He(l("div", tn, e[17] || (e[17] = [
9985
9981
  l("div", { class: "legend d-flex justify-start align-center" }, [
9986
9982
  l("div", { class: "icon history" }),
9987
9983
  l("div", { class: "label" }, "History")
@@ -9999,7 +9995,7 @@ function an(t, e, o, i, a, r) {
9999
9995
  l("div", { class: "label" }, "50kts Radii")
10000
9996
  ], -1)
10001
9997
  ]), 512), [
10002
- [Ue, a.showLegend]
9998
+ [We, a.showLegend]
10003
9999
  ])
10004
10000
  ]),
10005
10001
  _: 1
@@ -10007,16 +10003,16 @@ function an(t, e, o, i, a, r) {
10007
10003
  ]),
10008
10004
  _: 1
10009
10005
  }, 512), [
10010
- [Ue, a.showLegend]
10006
+ [We, a.showLegend]
10011
10007
  ])
10012
10008
  ])
10013
10009
  ], 512), [
10014
- [Ue, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
10010
+ [We, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
10015
10011
  ])
10016
10012
  ]);
10017
10013
  }
10018
- const Ya = /* @__PURE__ */ V(js, [["render", an]]);
10019
- const rn = {
10014
+ const Ya = /* @__PURE__ */ V(Es, [["render", on]]);
10015
+ const an = {
10020
10016
  name: "DateTimePicker",
10021
10017
  props: {
10022
10018
  locale: {
@@ -10157,27 +10153,27 @@ const rn = {
10157
10153
  this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
10158
10154
  }
10159
10155
  }
10160
- }, ln = { class: "idm-gl4-timepicker" }, sn = {
10156
+ }, rn = { class: "idm-gl4-timepicker" }, ln = {
10161
10157
  class: "pa-0",
10162
10158
  style: { width: "250px" }
10163
- }, nn = {
10159
+ }, sn = {
10164
10160
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
10165
10161
  style: { width: "100px" }
10166
- }, cn = {
10162
+ }, nn = {
10167
10163
  class: "d-flex justify-center align-center text-body-2",
10168
10164
  style: { height: "56px" }
10169
10165
  };
10170
- function mn(t, e, o, i, a, r) {
10171
- const s = x("VBtn"), n = x("VDatePicker"), c = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), h = x("VList"), f = x("VCardText"), k = x("VCardActions"), v = x("VCard");
10172
- return y(), M("div", ln, [
10173
- d(s, {
10166
+ function cn(t, e, o, i, a, r) {
10167
+ const s = x("VBtn"), n = x("VDatePicker"), c = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), d = x("VList"), f = x("VCardText"), k = x("VCardActions"), v = x("VCard");
10168
+ return y(), M("div", rn, [
10169
+ h(s, {
10174
10170
  text: "",
10175
10171
  height: "30",
10176
10172
  class: "elevation-0 text-body-1 px-2 btn-border-1",
10177
10173
  onClick: r.handleOpenDatePicker
10178
10174
  }, {
10179
10175
  default: u(() => [
10180
- W(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
10176
+ U(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
10181
10177
  ]),
10182
10178
  _: 1
10183
10179
  }, 8, ["onClick"]),
@@ -10186,10 +10182,10 @@ function mn(t, e, o, i, a, r) {
10186
10182
  class: "card-box d-flex flex-column"
10187
10183
  }, {
10188
10184
  default: u(() => [
10189
- d(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
10185
+ h(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
10190
10186
  default: u(() => [
10191
- l("div", sn, [
10192
- d(n, {
10187
+ l("div", ln, [
10188
+ h(n, {
10193
10189
  modelValue: a.currentDate,
10194
10190
  "onUpdate:modelValue": e[0] || (e[0] = (T) => a.currentDate = T),
10195
10191
  min: a.dateRange[0],
@@ -10203,13 +10199,13 @@ function mn(t, e, o, i, a, r) {
10203
10199
  "onUpdate:month": r.handleUpdateMonth
10204
10200
  }, null, 8, ["modelValue", "min", "max", "mode-icon", "onUpdate:month"])
10205
10201
  ]),
10206
- d(c, {
10202
+ h(c, {
10207
10203
  class: "h-100",
10208
10204
  vertical: ""
10209
10205
  }),
10210
- l("div", nn, [
10211
- l("div", cn, b(a.currentTime), 1),
10212
- d(h, { class: "pa-0 flex-1-1-0" }, {
10206
+ l("div", sn, [
10207
+ l("div", nn, b(a.currentTime), 1),
10208
+ h(d, { class: "pa-0 flex-1-1-0" }, {
10213
10209
  default: u(() => [
10214
10210
  (y(!0), M(be, null, we(r.hourOptions, (T, w) => (y(), B(p, {
10215
10211
  key: w,
@@ -10221,12 +10217,12 @@ function mn(t, e, o, i, a, r) {
10221
10217
  "min-height": "26"
10222
10218
  }, {
10223
10219
  default: u(() => [
10224
- d(g, {
10220
+ h(g, {
10225
10221
  class: "text-body-2 text-center",
10226
- onClick: (A) => a.currentTime = T
10222
+ onClick: (D) => a.currentTime = T
10227
10223
  }, {
10228
10224
  default: u(() => [
10229
- W(b(T), 1)
10225
+ U(b(T), 1)
10230
10226
  ]),
10231
10227
  _: 2
10232
10228
  }, 1032, ["onClick"])
@@ -10240,25 +10236,25 @@ function mn(t, e, o, i, a, r) {
10240
10236
  ]),
10241
10237
  _: 1
10242
10238
  }),
10243
- d(c),
10244
- d(k, {
10239
+ h(c),
10240
+ h(k, {
10245
10241
  class: "justify-end pa-0 pr-4",
10246
10242
  style: { height: "50px" }
10247
10243
  }, {
10248
10244
  default: u(() => [
10249
- d(s, {
10245
+ h(s, {
10250
10246
  size: "small",
10251
10247
  variant: "tonal",
10252
10248
  class: "text-none",
10253
10249
  onClick: r.handleCancelDate
10254
10250
  }, {
10255
10251
  default: u(() => e[1] || (e[1] = [
10256
- W("Cancel", -1)
10252
+ U("Cancel", -1)
10257
10253
  ])),
10258
10254
  _: 1,
10259
10255
  __: [1]
10260
10256
  }, 8, ["onClick"]),
10261
- d(s, {
10257
+ h(s, {
10262
10258
  size: "small",
10263
10259
  variant: "tonal",
10264
10260
  color: "primary",
@@ -10266,7 +10262,7 @@ function mn(t, e, o, i, a, r) {
10266
10262
  onClick: r.handleConfirmDate
10267
10263
  }, {
10268
10264
  default: u(() => e[2] || (e[2] = [
10269
- W("Confirm", -1)
10265
+ U("Confirm", -1)
10270
10266
  ])),
10271
10267
  _: 1,
10272
10268
  __: [2]
@@ -10279,8 +10275,8 @@ function mn(t, e, o, i, a, r) {
10279
10275
  })) : E("", !0)
10280
10276
  ]);
10281
10277
  }
10282
- const lo = /* @__PURE__ */ V(rn, [["render", mn]]);
10283
- const dn = {
10278
+ const lo = /* @__PURE__ */ V(an, [["render", cn]]);
10279
+ const mn = {
10284
10280
  name: "IdmPoint",
10285
10281
  components: {
10286
10282
  DateTimePicker: lo
@@ -10524,10 +10520,10 @@ const dn = {
10524
10520
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData)), this.loading = !1;
10525
10521
  },
10526
10522
  initTableData(t) {
10527
- var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke;
10523
+ var o, i, a, r, s, n, c, g, p, d, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke;
10528
10524
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
10529
10525
  const e = ((s = ao.pickHourly(t, I(this.form.dateTime))) == null ? void 0 : s[0]) || {};
10530
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((h = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : h.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (w = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : w.direction, this.currentHourData.windLevel = this.roundPrecision((S = (A = e == null ? void 0 : e.weather) == null ? void 0 : A.wind) == null ? void 0 : S.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((z = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((q = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.sig) == null ? void 0 : q.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (oe = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.wd) == null ? void 0 : oe.direction, this.currentHourData.windwavePeriod = this.roundPrecision((le = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((ue = (pe = e == null ? void 0 : e.wave) == null ? void 0 : pe.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (Q = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : Q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ge = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ge.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.roundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.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 = (ke = e == null ? void 0 : e.weather) == null ? void 0 : ke.url;
10526
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (w = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : w.direction, this.currentHourData.windLevel = this.roundPrecision((S = (D = e == null ? void 0 : e.weather) == null ? void 0 : D.wind) == null ? void 0 : S.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((z = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((q = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.sig) == null ? void 0 : q.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (oe = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.wd) == null ? void 0 : oe.direction, this.currentHourData.windwavePeriod = this.roundPrecision((le = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((ue = (pe = e == null ? void 0 : e.wave) == null ? void 0 : pe.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (Q = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : Q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ge = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ge.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.roundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.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 = (ke = e == null ? void 0 : e.weather) == null ? void 0 : ke.url;
10531
10527
  },
10532
10528
  handleBind() {
10533
10529
  var t, e;
@@ -10564,7 +10560,10 @@ const dn = {
10564
10560
  (o = this.meteoMarker) == null || o.setLngLat(t);
10565
10561
  else {
10566
10562
  const a = document.createElement("div");
10567
- a.innerHTML = '<svg t="1755510770354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5552" width="200" height="200"><path d="M511.960615 827.234462s330.358154-215.906462 330.358154-465.526154C842.318769 183.650462 694.468923 39.384615 512 39.384615S181.563077 183.689846 181.563077 361.668923c0 249.659077 330.397538 465.565538 330.397538 465.565539z" fill="#FF8C00" p-id="5553"></path><path d="M511.921231 496.836923a127.054769 127.054769 0 1 0 0-254.148923 127.054769 127.054769 0 0 0 0 254.148923z" fill="#FFFFFF" p-id="5554"></path><path d="M354.461538 945.230769a157.538462 39.384615 0 1 0 315.076924 0 157.538462 39.384615 0 1 0-315.076924 0Z" fill="#494C4F" opacity=".4" p-id="5555"></path></svg>', a.firstChild.style.height = "32px", a.firstChild.style.width = "32px", this.meteoMarker = new xe.Marker(a).setLngLat(t).setOffset([0, -16]).addTo(this.map);
10563
+ a.innerHTML = `
10564
+ <svg class="multi-color-icon" style="height: 26px;width: 26px;" aria-hidden="true">
10565
+ <use :xlink:href="#icon-spot-${this.theme}"></use>
10566
+ </svg>`, this.meteoMarker = new xe.Marker(a).setLngLat(t).setOffset([0, -13]).addTo(this.map);
10568
10567
  }
10569
10568
  if (this.meteoInfoMarker)
10570
10569
  (i = this.meteoInfoMarker) == null || i.setLngLat(t);
@@ -10585,32 +10584,32 @@ const dn = {
10585
10584
  this.$emit("follow", this.point);
10586
10585
  }
10587
10586
  }
10588
- }, hn = { class: "idm-gl4-spot" }, pn = { class: "d-flex justify-start align-center ga-1 mb-1" }, un = {
10587
+ }, dn = { class: "idm-gl4-spot" }, hn = { class: "d-flex justify-start align-center ga-1 mb-1" }, pn = {
10589
10588
  class: "multi-color-icon",
10590
10589
  "aria-hidden": "true"
10591
- }, gn = ["xlink:href"], fn = { class: "d-flex justify-start align-center ga-1 mb-1" }, yn = {
10590
+ }, un = ["xlink:href"], gn = { class: "d-flex justify-start align-center ga-1 mb-1" }, fn = {
10592
10591
  class: "multi-color-icon",
10593
10592
  "aria-hidden": "true"
10594
- }, bn = ["xlink:href"], wn = { class: "d-flex justify-start align-center ga-1 mb-1" }, xn = {
10593
+ }, yn = ["xlink:href"], bn = { class: "d-flex justify-start align-center ga-1 mb-1" }, wn = {
10595
10594
  class: "multi-color-icon",
10596
10595
  "aria-hidden": "true"
10597
- }, vn = ["xlink:href"], _n = { class: "d-flex justify-start align-center ga-1 mb-1" }, kn = {
10596
+ }, xn = ["xlink:href"], vn = { class: "d-flex justify-start align-center ga-1 mb-1" }, _n = {
10598
10597
  class: "multi-color-icon",
10599
10598
  "aria-hidden": "true"
10600
- }, zn = ["xlink:href"], Ln = { class: "d-flex justify-start align-center" }, Pn = { class: "mx-2" };
10601
- function Cn(t, e, o, i, a, r) {
10602
- const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), h = x("VCol"), f = x("VRow"), k = x("DateTimePicker"), v = x("VBtnToggle"), T = x("VCardActions"), w = x("VForm"), A = x("VCardText"), S = x("VCard"), P = x("VIcon");
10603
- return y(), M("div", hn, [
10599
+ }, kn = ["xlink:href"], zn = { class: "d-flex justify-start align-center" }, Ln = { class: "mx-2" };
10600
+ function Pn(t, e, o, i, a, r) {
10601
+ const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), d = x("VCol"), f = x("VRow"), k = x("DateTimePicker"), v = x("VBtnToggle"), T = x("VCardActions"), w = x("VForm"), D = x("VCardText"), S = x("VCard"), P = x("VIcon");
10602
+ return y(), M("div", dn, [
10604
10603
  l("div", {
10605
10604
  class: "menu-bar-box transition pa-1",
10606
10605
  style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
10607
10606
  }, [
10608
- d(n, {
10607
+ h(n, {
10609
10608
  text: t.$t("spot.spotsMeteo"),
10610
10609
  location: "left"
10611
10610
  }, {
10612
10611
  activator: u(({ props: z }) => [
10613
- d(s, j(z, {
10612
+ h(s, j(z, {
10614
10613
  "min-width": "32",
10615
10614
  width: "32",
10616
10615
  height: "32",
@@ -10633,12 +10632,12 @@ function Cn(t, e, o, i, a, r) {
10633
10632
  style: ae({ top: o.top + 174 + "px", right: a.right + 50 + "px" })
10634
10633
  }, {
10635
10634
  default: u(() => [
10636
- d(c, { class: "d-flex justify-space-between align-center" }, {
10635
+ h(c, { class: "d-flex justify-space-between align-center" }, {
10637
10636
  default: u(() => [
10638
10637
  e[10] || (e[10] = l("div", { class: "d-flex justify-start align-center" }, [
10639
10638
  l("div", { class: "text-h6 font-weight-600 mx-2" }, "Spot Weather")
10640
10639
  ], -1)),
10641
- d(s, {
10640
+ h(s, {
10642
10641
  icon: "",
10643
10642
  density: "compact",
10644
10643
  variant: "plain",
@@ -10655,32 +10654,32 @@ function Cn(t, e, o, i, a, r) {
10655
10654
  _: 1,
10656
10655
  __: [10]
10657
10656
  }),
10658
- d(g),
10659
- d(A, { class: "text-body-1 py-1" }, {
10657
+ h(g),
10658
+ h(D, { class: "text-body-1 py-1" }, {
10660
10659
  default: u(() => [
10661
- d(w, {
10660
+ h(w, {
10662
10661
  ref: "spotForm",
10663
10662
  autocomplete: "off",
10664
10663
  class: "form-box",
10665
10664
  onSubmit: io(r.submitForm, ["prevent"])
10666
10665
  }, {
10667
10666
  default: u(() => [
10668
- l("div", pn, [
10669
- (y(), M("svg", un, [
10667
+ l("div", hn, [
10668
+ (y(), M("svg", pn, [
10670
10669
  l("use", {
10671
10670
  "xlink:href": `#icon-lng-${o.theme}`
10672
- }, null, 8, gn)
10671
+ }, null, 8, un)
10673
10672
  ])),
10674
10673
  e[11] || (e[11] = l("div", null, "Lng", -1))
10675
10674
  ]),
10676
- d(f, { class: "ma-0" }, {
10675
+ h(f, { class: "ma-0" }, {
10677
10676
  default: u(() => [
10678
- d(h, {
10677
+ h(d, {
10679
10678
  cols: "4",
10680
10679
  class: "pa-0 d-flex"
10681
10680
  }, {
10682
10681
  default: u(() => [
10683
- d(p, {
10682
+ h(p, {
10684
10683
  modelValue: a.form.lngDegree,
10685
10684
  "onUpdate:modelValue": e[0] || (e[0] = (z) => a.form.lngDegree = z),
10686
10685
  rules: a.formRules.lngDegree,
@@ -10694,12 +10693,12 @@ function Cn(t, e, o, i, a, r) {
10694
10693
  _: 1,
10695
10694
  __: [12]
10696
10695
  }),
10697
- d(h, {
10696
+ h(d, {
10698
10697
  cols: "6",
10699
10698
  class: "pa-0 d-flex"
10700
10699
  }, {
10701
10700
  default: u(() => [
10702
- d(p, {
10701
+ h(p, {
10703
10702
  modelValue: a.form.lngMinute,
10704
10703
  "onUpdate:modelValue": e[1] || (e[1] = (z) => a.form.lngMinute = z),
10705
10704
  rules: a.formRules.lngMinute,
@@ -10714,12 +10713,12 @@ function Cn(t, e, o, i, a, r) {
10714
10713
  _: 1,
10715
10714
  __: [13]
10716
10715
  }),
10717
- d(h, {
10716
+ h(d, {
10718
10717
  cols: "2",
10719
10718
  class: "pa-0"
10720
10719
  }, {
10721
10720
  default: u(() => [
10722
- d(s, {
10721
+ h(s, {
10723
10722
  variant: "outlined",
10724
10723
  density: "compact",
10725
10724
  width: "32",
@@ -10730,7 +10729,7 @@ function Cn(t, e, o, i, a, r) {
10730
10729
  onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
10731
10730
  }, {
10732
10731
  default: u(() => [
10733
- W(b(a.form.lngDirection), 1)
10732
+ U(b(a.form.lngDirection), 1)
10734
10733
  ]),
10735
10734
  _: 1
10736
10735
  })
@@ -10740,22 +10739,22 @@ function Cn(t, e, o, i, a, r) {
10740
10739
  ]),
10741
10740
  _: 1
10742
10741
  }),
10743
- l("div", fn, [
10744
- (y(), M("svg", yn, [
10742
+ l("div", gn, [
10743
+ (y(), M("svg", fn, [
10745
10744
  l("use", {
10746
10745
  "xlink:href": `#icon-lng-${o.theme}`
10747
- }, null, 8, bn)
10746
+ }, null, 8, yn)
10748
10747
  ])),
10749
10748
  e[14] || (e[14] = l("div", null, "Lat", -1))
10750
10749
  ]),
10751
- d(f, { class: "ma-0" }, {
10750
+ h(f, { class: "ma-0" }, {
10752
10751
  default: u(() => [
10753
- d(h, {
10752
+ h(d, {
10754
10753
  cols: "4",
10755
10754
  class: "pa-0 d-flex"
10756
10755
  }, {
10757
10756
  default: u(() => [
10758
- d(p, {
10757
+ h(p, {
10759
10758
  modelValue: a.form.latDegree,
10760
10759
  "onUpdate:modelValue": e[3] || (e[3] = (z) => a.form.latDegree = z),
10761
10760
  rules: a.formRules.latDegree,
@@ -10772,12 +10771,12 @@ function Cn(t, e, o, i, a, r) {
10772
10771
  _: 1,
10773
10772
  __: [15]
10774
10773
  }),
10775
- d(h, {
10774
+ h(d, {
10776
10775
  cols: "6",
10777
10776
  class: "pa-0 d-flex"
10778
10777
  }, {
10779
10778
  default: u(() => [
10780
- d(p, {
10779
+ h(p, {
10781
10780
  modelValue: a.form.latMinute,
10782
10781
  "onUpdate:modelValue": e[4] || (e[4] = (z) => a.form.latMinute = z),
10783
10782
  rules: a.formRules.latMinute,
@@ -10792,12 +10791,12 @@ function Cn(t, e, o, i, a, r) {
10792
10791
  _: 1,
10793
10792
  __: [16]
10794
10793
  }),
10795
- d(h, {
10794
+ h(d, {
10796
10795
  cols: "2",
10797
10796
  class: "pa-0"
10798
10797
  }, {
10799
10798
  default: u(() => [
10800
- d(s, {
10799
+ h(s, {
10801
10800
  variant: "outlined",
10802
10801
  density: "compact",
10803
10802
  width: "32",
@@ -10808,7 +10807,7 @@ function Cn(t, e, o, i, a, r) {
10808
10807
  onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
10809
10808
  }, {
10810
10809
  default: u(() => [
10811
- W(b(a.form.latDirection), 1)
10810
+ U(b(a.form.latDirection), 1)
10812
10811
  ]),
10813
10812
  _: 1
10814
10813
  })
@@ -10818,22 +10817,22 @@ function Cn(t, e, o, i, a, r) {
10818
10817
  ]),
10819
10818
  _: 1
10820
10819
  }),
10821
- l("div", wn, [
10822
- (y(), M("svg", xn, [
10820
+ l("div", bn, [
10821
+ (y(), M("svg", wn, [
10823
10822
  l("use", {
10824
10823
  "xlink:href": `#icon-date-time-${o.theme}`
10825
- }, null, 8, vn)
10824
+ }, null, 8, xn)
10826
10825
  ])),
10827
10826
  e[17] || (e[17] = l("div", null, "Date Time", -1))
10828
10827
  ]),
10829
- d(f, { class: "ma-0 mb-4" }, {
10828
+ h(f, { class: "ma-0 mb-4" }, {
10830
10829
  default: u(() => [
10831
- d(h, {
10830
+ h(d, {
10832
10831
  cols: "12",
10833
10832
  class: "pa-0"
10834
10833
  }, {
10835
10834
  default: u(() => [
10836
- d(k, j({
10835
+ h(k, j({
10837
10836
  "date-time": a.form.dateTime,
10838
10837
  "time-zone": o.timeZone
10839
10838
  }, t.$attrs, {
@@ -10845,22 +10844,22 @@ function Cn(t, e, o, i, a, r) {
10845
10844
  ]),
10846
10845
  _: 1
10847
10846
  }),
10848
- l("div", _n, [
10849
- (y(), M("svg", kn, [
10847
+ l("div", vn, [
10848
+ (y(), M("svg", _n, [
10850
10849
  l("use", {
10851
10850
  "xlink:href": `#icon-forecast-model-${o.theme}`
10852
- }, null, 8, zn)
10851
+ }, null, 8, kn)
10853
10852
  ])),
10854
10853
  e[18] || (e[18] = l("div", null, "Forecast Model", -1))
10855
10854
  ]),
10856
- d(f, { class: "ma-0 mb-2" }, {
10855
+ h(f, { class: "ma-0 mb-2" }, {
10857
10856
  default: u(() => [
10858
- d(h, {
10857
+ h(d, {
10859
10858
  cols: "12",
10860
10859
  class: "pa-0"
10861
10860
  }, {
10862
10861
  default: u(() => [
10863
- d(v, {
10862
+ h(v, {
10864
10863
  modelValue: a.form.forecastModel,
10865
10864
  "onUpdate:modelValue": e[7] || (e[7] = (z) => a.form.forecastModel = z),
10866
10865
  class: "w-100",
@@ -10870,30 +10869,30 @@ function Cn(t, e, o, i, a, r) {
10870
10869
  group: ""
10871
10870
  }, {
10872
10871
  default: u(() => [
10873
- d(s, {
10872
+ h(s, {
10874
10873
  density: "compact",
10875
10874
  height: "30",
10876
10875
  value: "GFS",
10877
- class: We(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
10876
+ class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
10878
10877
  color: a.form.forecastModel === "GFS" ? "primary" : "",
10879
10878
  "base-color": ""
10880
10879
  }, {
10881
10880
  default: u(() => e[19] || (e[19] = [
10882
- W("NOAA", -1)
10881
+ U("NOAA", -1)
10883
10882
  ])),
10884
10883
  _: 1,
10885
10884
  __: [19]
10886
10885
  }, 8, ["class", "color"]),
10887
- d(s, {
10886
+ h(s, {
10888
10887
  density: "compact",
10889
10888
  height: "30",
10890
- class: We(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
10889
+ class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
10891
10890
  color: a.form.forecastModel === "ECMWF" ? "primary" : "",
10892
10891
  "base-color": "",
10893
10892
  value: "ECMWF"
10894
10893
  }, {
10895
10894
  default: u(() => e[20] || (e[20] = [
10896
- W("ECMWF", -1)
10895
+ U("ECMWF", -1)
10897
10896
  ])),
10898
10897
  _: 1,
10899
10898
  __: [20]
@@ -10907,22 +10906,22 @@ function Cn(t, e, o, i, a, r) {
10907
10906
  ]),
10908
10907
  _: 1
10909
10908
  }),
10910
- d(g),
10911
- d(T, { class: "d-flex justify-end align-center ga-4" }, {
10909
+ h(g),
10910
+ h(T, { class: "d-flex justify-end align-center ga-4" }, {
10912
10911
  default: u(() => [
10913
- d(s, {
10912
+ h(s, {
10914
10913
  size: "small",
10915
10914
  variant: "outlined",
10916
10915
  class: "text-none text-body-1",
10917
10916
  onClick: r.cancelForm
10918
10917
  }, {
10919
10918
  default: u(() => e[21] || (e[21] = [
10920
- W("Clear", -1)
10919
+ U("Clear", -1)
10921
10920
  ])),
10922
10921
  _: 1,
10923
10922
  __: [21]
10924
10923
  }, 8, ["onClick"]),
10925
- d(s, {
10924
+ h(s, {
10926
10925
  ref: "submitSpot",
10927
10926
  loading: a.loading,
10928
10927
  size: "small",
@@ -10932,7 +10931,7 @@ function Cn(t, e, o, i, a, r) {
10932
10931
  class: "text-none text-body-1"
10933
10932
  }, {
10934
10933
  default: u(() => e[22] || (e[22] = [
10935
- W("Confirm", -1)
10934
+ U("Confirm", -1)
10936
10935
  ])),
10937
10936
  _: 1,
10938
10937
  __: [22]
@@ -10949,21 +10948,21 @@ function Cn(t, e, o, i, a, r) {
10949
10948
  ]),
10950
10949
  _: 1
10951
10950
  }, 8, ["style"])) : E("", !0),
10952
- He(d(S, {
10951
+ He(h(S, {
10953
10952
  id: "idm-gl4-spot-meteo",
10954
10953
  class: "spot-meteo",
10955
10954
  style: { width: "490px", "z-index": "9" }
10956
10955
  }, {
10957
10956
  default: u(() => [
10958
- d(c, { class: "d-flex justify-space-between align-center" }, {
10957
+ h(c, { class: "d-flex justify-space-between align-center" }, {
10959
10958
  default: u(() => {
10960
10959
  var z, L, C, _;
10961
10960
  return [
10962
- l("div", Ln, [
10961
+ l("div", zn, [
10963
10962
  e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
10964
- l("div", Pn, b(r.computeLat(((z = a.form) == null ? void 0 : z.lat) || ((L = a.currentHourData) == null ? void 0 : L.lat))) + "," + b(r.computeLng(((C = a.form) == null ? void 0 : C.lng) || ((_ = a.currentHourData) == null ? void 0 : _.lng))), 1)
10963
+ l("div", Ln, b(r.computeLat(((z = a.form) == null ? void 0 : z.lat) || ((L = a.currentHourData) == null ? void 0 : L.lat))) + "," + b(r.computeLng(((C = a.form) == null ? void 0 : C.lng) || ((_ = a.currentHourData) == null ? void 0 : _.lng))), 1)
10965
10964
  ]),
10966
- d(s, {
10965
+ h(s, {
10967
10966
  class: "mr-n2",
10968
10967
  density: "comfortable",
10969
10968
  icon: "",
@@ -10983,29 +10982,29 @@ function Cn(t, e, o, i, a, r) {
10983
10982
  }),
10984
10983
  _: 1
10985
10984
  }),
10986
- d(g),
10987
- d(A, { class: "text-body-1 ml-n8" }, {
10985
+ h(g),
10986
+ h(D, { class: "text-body-1 ml-n8" }, {
10988
10987
  default: u(() => [
10989
- d(f, null, {
10988
+ h(f, null, {
10990
10989
  default: u(() => [
10991
- d(h, {
10990
+ h(d, {
10992
10991
  cols: "3",
10993
10992
  class: "pa-2 pl-0 text-right opacity-50"
10994
10993
  }, {
10995
10994
  default: u(() => e[25] || (e[25] = [
10996
- W("Time", -1)
10995
+ U("Time", -1)
10997
10996
  ])),
10998
10997
  _: 1,
10999
10998
  __: [25]
11000
10999
  }),
11001
- d(h, {
11000
+ h(d, {
11002
11001
  cols: "9",
11003
11002
  class: "pa-2 px-0"
11004
11003
  }, {
11005
11004
  default: u(() => {
11006
11005
  var z;
11007
11006
  return [
11008
- W(b(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11007
+ U(b(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11009
11008
  ];
11010
11009
  }),
11011
11010
  _: 1
@@ -11013,26 +11012,26 @@ function Cn(t, e, o, i, a, r) {
11013
11012
  ]),
11014
11013
  _: 1
11015
11014
  }),
11016
- d(f, null, {
11015
+ h(f, null, {
11017
11016
  default: u(() => [
11018
- d(h, {
11017
+ h(d, {
11019
11018
  cols: "3",
11020
11019
  class: "pa-2 pl-0 text-right opacity-50"
11021
11020
  }, {
11022
11021
  default: u(() => e[26] || (e[26] = [
11023
- W("LT", -1)
11022
+ U("LT", -1)
11024
11023
  ])),
11025
11024
  _: 1,
11026
11025
  __: [26]
11027
11026
  }),
11028
- d(h, {
11027
+ h(d, {
11029
11028
  cols: "9",
11030
11029
  class: "pa-2 px-0"
11031
11030
  }, {
11032
11031
  default: u(() => {
11033
11032
  var z;
11034
11033
  return [
11035
- W(b(r.computedLocalTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11034
+ U(b(r.computedLocalTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11036
11035
  ];
11037
11036
  }),
11038
11037
  _: 1
@@ -11040,129 +11039,129 @@ function Cn(t, e, o, i, a, r) {
11040
11039
  ]),
11041
11040
  _: 1
11042
11041
  }),
11043
- d(f, null, {
11042
+ h(f, null, {
11044
11043
  default: u(() => [
11045
- d(h, {
11044
+ h(d, {
11046
11045
  cols: "3",
11047
11046
  class: "pa-2 pl-0 text-right opacity-50"
11048
11047
  }, {
11049
11048
  default: u(() => e[27] || (e[27] = [
11050
- W("Wind", -1)
11049
+ U("Wind", -1)
11051
11050
  ])),
11052
11051
  _: 1,
11053
11052
  __: [27]
11054
11053
  }),
11055
- d(h, {
11054
+ h(d, {
11056
11055
  cols: "4",
11057
11056
  class: "pa-2 px-0 text-left"
11058
11057
  }, {
11059
11058
  default: u(() => [
11060
- W(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
11059
+ U(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
11061
11060
  ]),
11062
11061
  _: 1
11063
11062
  }),
11064
- d(h, {
11063
+ h(d, {
11065
11064
  cols: "2",
11066
11065
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11067
11066
  }, {
11068
11067
  default: u(() => e[28] || (e[28] = [
11069
- W("Sig Wave", -1)
11068
+ U("Sig Wave", -1)
11070
11069
  ])),
11071
11070
  _: 1,
11072
11071
  __: [28]
11073
11072
  }),
11074
- d(h, {
11073
+ h(d, {
11075
11074
  cols: "3",
11076
11075
  class: "pa-2 px-0 text-left"
11077
11076
  }, {
11078
11077
  default: u(() => [
11079
- W(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
11078
+ U(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
11080
11079
  ]),
11081
11080
  _: 1
11082
11081
  })
11083
11082
  ]),
11084
11083
  _: 1
11085
11084
  }),
11086
- d(f, null, {
11085
+ h(f, null, {
11087
11086
  default: u(() => [
11088
- d(h, {
11087
+ h(d, {
11089
11088
  cols: "3",
11090
11089
  class: "pa-2 pl-0 text-right opacity-50"
11091
11090
  }, {
11092
11091
  default: u(() => e[29] || (e[29] = [
11093
- W("Wind Wave", -1)
11092
+ U("Wind Wave", -1)
11094
11093
  ])),
11095
11094
  _: 1,
11096
11095
  __: [29]
11097
11096
  }),
11098
- d(h, {
11097
+ h(d, {
11099
11098
  cols: "4",
11100
11099
  class: "pa-2 px-0 text-left"
11101
11100
  }, {
11102
11101
  default: u(() => [
11103
- W(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
11102
+ U(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
11104
11103
  ]),
11105
11104
  _: 1
11106
11105
  }),
11107
- d(h, {
11106
+ h(d, {
11108
11107
  cols: "2",
11109
11108
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11110
11109
  }, {
11111
11110
  default: u(() => e[30] || (e[30] = [
11112
- W("Swell", -1)
11111
+ U("Swell", -1)
11113
11112
  ])),
11114
11113
  _: 1,
11115
11114
  __: [30]
11116
11115
  }),
11117
- d(h, {
11116
+ h(d, {
11118
11117
  cols: "3",
11119
11118
  class: "pa-2 px-0 text-left"
11120
11119
  }, {
11121
11120
  default: u(() => [
11122
- W(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
11121
+ U(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
11123
11122
  ]),
11124
11123
  _: 1
11125
11124
  })
11126
11125
  ]),
11127
11126
  _: 1
11128
11127
  }),
11129
- d(f, null, {
11128
+ h(f, null, {
11130
11129
  default: u(() => [
11131
- d(h, {
11130
+ h(d, {
11132
11131
  cols: "3",
11133
11132
  class: "pa-2 pl-0 text-right opacity-50"
11134
11133
  }, {
11135
11134
  default: u(() => e[31] || (e[31] = [
11136
- W("Current", -1)
11135
+ U("Current", -1)
11137
11136
  ])),
11138
11137
  _: 1,
11139
11138
  __: [31]
11140
11139
  }),
11141
- d(h, {
11140
+ h(d, {
11142
11141
  cols: "4",
11143
11142
  class: "pa-2 px-0 text-left"
11144
11143
  }, {
11145
11144
  default: u(() => [
11146
- W(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
11145
+ U(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
11147
11146
  ]),
11148
11147
  _: 1
11149
11148
  }),
11150
- d(h, {
11149
+ h(d, {
11151
11150
  cols: "2",
11152
11151
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11153
11152
  }, {
11154
11153
  default: u(() => e[32] || (e[32] = [
11155
- W("Visibility", -1)
11154
+ U("Visibility", -1)
11156
11155
  ])),
11157
11156
  _: 1,
11158
11157
  __: [32]
11159
11158
  }),
11160
- d(h, {
11159
+ h(d, {
11161
11160
  cols: "3",
11162
11161
  class: "pa-2 px-0 text-left"
11163
11162
  }, {
11164
11163
  default: u(() => [
11165
- W(b(a.currentHourData.visibility) + " nm", 1)
11164
+ U(b(a.currentHourData.visibility) + " nm", 1)
11166
11165
  ]),
11167
11166
  _: 1
11168
11167
  })
@@ -11172,10 +11171,10 @@ function Cn(t, e, o, i, a, r) {
11172
11171
  ]),
11173
11172
  _: 1
11174
11173
  }),
11175
- d(g),
11176
- d(T, { class: "d-flex justify-space-between align-center" }, {
11174
+ h(g),
11175
+ h(T, { class: "d-flex justify-space-between align-center" }, {
11177
11176
  default: u(() => [
11178
- d(s, {
11177
+ h(s, {
11179
11178
  vvariant: "text",
11180
11179
  density: "compact",
11181
11180
  "prepend-icon": "mdi-star",
@@ -11183,15 +11182,15 @@ function Cn(t, e, o, i, a, r) {
11183
11182
  onClick: r.handleFollow
11184
11183
  }, {
11185
11184
  prepend: u(() => [
11186
- d(P, { color: "warning" })
11185
+ h(P, { color: "warning" })
11187
11186
  ]),
11188
11187
  default: u(() => [
11189
- e[33] || (e[33] = W(" Follow", -1))
11188
+ e[33] || (e[33] = U(" Follow", -1))
11190
11189
  ]),
11191
11190
  _: 1,
11192
11191
  __: [33]
11193
11192
  }, 8, ["onClick"]),
11194
- d(s, {
11193
+ h(s, {
11195
11194
  variant: "text",
11196
11195
  density: "compact",
11197
11196
  "append-icon": "mdi-chevron-right",
@@ -11199,7 +11198,7 @@ function Cn(t, e, o, i, a, r) {
11199
11198
  onClick: r.handleMeteoMore
11200
11199
  }, {
11201
11200
  default: u(() => e[34] || (e[34] = [
11202
- W("Forecast", -1)
11201
+ U("Forecast", -1)
11203
11202
  ])),
11204
11203
  _: 1,
11205
11204
  __: [34]
@@ -11210,12 +11209,12 @@ function Cn(t, e, o, i, a, r) {
11210
11209
  ]),
11211
11210
  _: 1
11212
11211
  }, 512), [
11213
- [Ue, a.showMeteo]
11212
+ [We, a.showMeteo]
11214
11213
  ])
11215
11214
  ]);
11216
11215
  }
11217
- const Tn = /* @__PURE__ */ V(dn, [["render", Cn]]);
11218
- const Sn = {
11216
+ const Cn = /* @__PURE__ */ V(mn, [["render", Pn]]);
11217
+ const Tn = {
11219
11218
  name: "IdmMeasure",
11220
11219
  props: {
11221
11220
  map: {
@@ -11305,18 +11304,18 @@ const Sn = {
11305
11304
  }
11306
11305
  },
11307
11306
  handleDrag(t) {
11308
- var o, i, a, r, s, n, c, g, p, h;
11307
+ var o, i, a, r, s, n, c, g, p, d;
11309
11308
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
11310
11309
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11311
11310
  const f = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
11312
11311
  this.pointMarkers[f.id].filter((w) => {
11313
- var A;
11314
- return ((A = w._element) == null ? void 0 : A.id) === e;
11312
+ var D;
11313
+ return ((D = w._element) == null ? void 0 : D.id) === e;
11315
11314
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (n = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : n.lat]);
11316
11315
  let v;
11317
- f.features.forEach((w, A) => {
11316
+ f.features.forEach((w, D) => {
11318
11317
  if (w.geometry.type === "Point" && w.properties.id === e.split("-")[1]) {
11319
- v = A;
11318
+ v = D;
11320
11319
  return;
11321
11320
  }
11322
11321
  });
@@ -11324,13 +11323,13 @@ const Sn = {
11324
11323
  this.handleTmpPointUpdate(
11325
11324
  f,
11326
11325
  T[v - 1],
11327
- { lng: (g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, lat: (h = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : h.lat, properties: T[v].properties },
11326
+ { lng: (g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, lat: (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat, properties: T[v].properties },
11328
11327
  v === T.length - 1 ? void 0 : T[v + 1]
11329
11328
  );
11330
11329
  }
11331
11330
  },
11332
11331
  handleDragEnd(t) {
11333
- var o, i, a, r, s, n, c, g, p, h;
11332
+ var o, i, a, r, s, n, c, g, p, d;
11334
11333
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
11335
11334
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11336
11335
  const f = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
@@ -11339,7 +11338,7 @@ const Sn = {
11339
11338
  return ((w = T._element) == null ? void 0 : w.id) === e;
11340
11339
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (n = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : n.lat]);
11341
11340
  const v = f.features.filter((T) => T.geometry.type === "Point" && T.properties.id === e.split("-")[1])[0];
11342
- v.geometry.coordinates = [(g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, (h = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : h.lat], f.features = f.features.filter((T) => T.geometry.type === "Point"), this.handlePointUpdate(f);
11341
+ v.geometry.coordinates = [(g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat], f.features = f.features.filter((T) => T.geometry.type === "Point"), this.handlePointUpdate(f);
11343
11342
  }
11344
11343
  },
11345
11344
  handleContextmenu(t) {
@@ -11387,12 +11386,12 @@ const Sn = {
11387
11386
  let o = 0;
11388
11387
  const i = [];
11389
11388
  for (let a = 1; a < e.length; a++) {
11390
- const r = e[a - 1], s = e[a], n = r.properties, c = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = Fe.calculateDistance(c, g, n.mode === "RL", 4), h = Fe.calculateBearing(c, g, n.mode === "RL", 2);
11389
+ const r = e[a - 1], s = e[a], n = r.properties, c = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = Fe.calculateDistance(c, g, n.mode === "RL", 4), d = Fe.calculateBearing(c, g, n.mode === "RL", 2);
11391
11390
  o = K.roundPrecision(o + p, 4);
11392
11391
  let f;
11393
11392
  n.mode === "RL" ? f = K.convertToMonotonicLng([c, g]) : f = K.convertToMonotonicLng(Fe.interpolateCoordinates(c, g, 200));
11394
11393
  const k = N.lineString(f.map((T) => [T.lng, T.lat]));
11395
- k.properties.dist = p, k.properties.bearing = h, k.properties.total = o, k.properties.name = "Line " + this.currentLineIndex, i.push(k);
11394
+ k.properties.dist = p, k.properties.bearing = d, k.properties.total = o, k.properties.name = "Line " + this.currentLineIndex, i.push(k);
11396
11395
  const v = e[a];
11397
11396
  v.properties.totalDist = K.roundPrecision((n.totalDist ? n.totalDist : 0) + p, 4), v.properties.sumLabel = v.properties.totalDist + " nm";
11398
11397
  }
@@ -11406,17 +11405,17 @@ const Sn = {
11406
11405
  if (e) {
11407
11406
  const c = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, p = { lng: o.lng, lat: o.lat };
11408
11407
  r = Fe.calculateDistance(g, p, c.mode === "RL", 4), s = Fe.calculateBearing(g, p, c.mode === "RL", 2);
11409
- let h;
11410
- c.mode === "RL" ? h = K.convertToMonotonicLng([g, p]) : h = K.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
11411
- const f = N.lineString(h.map((k) => [k.lng, k.lat]));
11408
+ let d;
11409
+ c.mode === "RL" ? d = K.convertToMonotonicLng([g, p]) : d = K.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
11410
+ const f = N.lineString(d.map((k) => [k.lng, k.lat]));
11412
11411
  f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
11413
11412
  }
11414
11413
  if (i) {
11415
11414
  const c = o.properties, g = o, p = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
11416
11415
  r = Fe.calculateDistance(g, p, c.mode === "RL", 4), s = Fe.calculateBearing(g, p, c.mode === "RL", 2);
11417
- let h;
11418
- c.mode === "RL" ? h = K.convertToMonotonicLng([g, p]) : h = K.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
11419
- const f = N.lineString(h.map((k) => [k.lng, k.lat]));
11416
+ let d;
11417
+ c.mode === "RL" ? d = K.convertToMonotonicLng([g, p]) : d = K.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
11418
+ const f = N.lineString(d.map((k) => [k.lng, k.lat]));
11420
11419
  f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
11421
11420
  }
11422
11421
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
@@ -11552,33 +11551,33 @@ const Sn = {
11552
11551
  g.on("drag", this.handleDrag), g.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(g) : this.pointMarkers[t.id] = [g];
11553
11552
  }
11554
11553
  if (t.closed) {
11555
- const n = s.at(-1), g = t.features.filter((h) => h.geometry.type === "LineString").at(-1), p = document.createElement("div");
11554
+ const n = s.at(-1), g = t.features.filter((d) => d.geometry.type === "LineString").at(-1), p = document.createElement("div");
11556
11555
  p.className = "idm-gl4-measure-summary-marker", p.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new xe.Marker(p).setOffset([0, -30]).setLngLat(n.geometry.coordinates).addTo(this.map);
11557
11556
  }
11558
11557
  }
11559
11558
  },
11560
11559
  handleClear(t, e = !0) {
11561
- var s, n, c, g, p, h, f, k, v, T;
11560
+ var s, n, c, g, p, d, f, k, v, T;
11562
11561
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
11563
- (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (n = this.map) != null && n.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (h = this.closeMarkers[t.id]) == null || h.remove(), this.closeMarkers[t.id] = void 0, (f = this.pointMarkers[t.id]) == null || f.forEach((w) => {
11562
+ (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (n = this.map) != null && n.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (d = this.closeMarkers[t.id]) == null || d.remove(), this.closeMarkers[t.id] = void 0, (f = this.pointMarkers[t.id]) == null || f.forEach((w) => {
11564
11563
  w == null || w.remove();
11565
11564
  }), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((v = this.map) != null && v.getSource(o)) && this.map.removeSource(o), e && ((T = this.map) != null && T.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
11566
11565
  }
11567
11566
  }
11568
- }, Mn = { class: "idm-gl4-measure" };
11569
- function In(t, e, o, i, a, r) {
11567
+ }, Sn = { class: "idm-gl4-measure" };
11568
+ function Mn(t, e, o, i, a, r) {
11570
11569
  const s = x("VBtn"), n = x("VTooltip");
11571
- return y(), M("div", Mn, [
11570
+ return y(), M("div", Sn, [
11572
11571
  l("div", {
11573
11572
  class: "menu-bar-box transition pa-1",
11574
11573
  style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
11575
11574
  }, [
11576
- d(n, {
11575
+ h(n, {
11577
11576
  text: t.$t("measure.measure"),
11578
11577
  location: "left"
11579
11578
  }, {
11580
11579
  activator: u(({ props: c }) => [
11581
- d(s, j(c, {
11580
+ h(s, j(c, {
11582
11581
  "min-width": "32",
11583
11582
  width: "32",
11584
11583
  height: "32",
@@ -11597,8 +11596,8 @@ function In(t, e, o, i, a, r) {
11597
11596
  ], 4)
11598
11597
  ]);
11599
11598
  }
11600
- const An = /* @__PURE__ */ V(Sn, [["render", In]]);
11601
- const Dn = {
11599
+ const In = /* @__PURE__ */ V(Tn, [["render", Mn]]);
11600
+ const An = {
11602
11601
  name: "IdmBottomBar",
11603
11602
  components: { DateTimePicker: lo },
11604
11603
  props: {
@@ -11716,19 +11715,19 @@ const Dn = {
11716
11715
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
11717
11716
  }
11718
11717
  }
11719
- }, Rn = { class: "idm-bottom-bar-gl4" }, On = { class: "date-box d-flex ga-2 mr-2" }, Bn = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, En = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, jn = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Nn = {
11718
+ }, Dn = { class: "idm-bottom-bar-gl4" }, Rn = { class: "date-box d-flex ga-2 mr-2" }, On = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Bn = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, En = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, jn = {
11720
11719
  key: 0,
11721
11720
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
11722
- }, Fn = ["onClick"], Hn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Un = { class: "text-body-1" };
11721
+ }, Nn = ["onClick"], Fn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Hn = { class: "text-body-1" };
11723
11722
  function Wn(t, e, o, i, a, r) {
11724
- const s = x("DateTimePicker"), n = x("VListItemTitle"), c = x("VListItem"), g = x("VList"), p = x("VMenu"), h = x("VBtn"), f = x("VDivider"), k = x("VTooltip");
11725
- return y(), M("div", Rn, [
11723
+ const s = x("DateTimePicker"), n = x("VListItemTitle"), c = x("VListItem"), g = x("VList"), p = x("VMenu"), d = x("VBtn"), f = x("VDivider"), k = x("VTooltip");
11724
+ return y(), M("div", Dn, [
11726
11725
  l("div", {
11727
11726
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
11728
11727
  style: ae({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
11729
11728
  }, [
11730
- l("div", On, [
11731
- d(s, j({
11729
+ l("div", Rn, [
11730
+ h(s, j({
11732
11731
  ref: "dateTimePicker",
11733
11732
  "date-time": a.currentDateTimeZ,
11734
11733
  "time-zone": a.timeZone,
@@ -11739,17 +11738,17 @@ function Wn(t, e, o, i, a, r) {
11739
11738
  onCurrentRealTime: e[1] || (e[1] = (v) => a.currentRealTime = v),
11740
11739
  onTimestampRange: e[2] || (e[2] = (v) => a.timestampRange = v)
11741
11740
  }), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
11742
- d(h, {
11741
+ h(d, {
11743
11742
  text: "",
11744
11743
  height: "30",
11745
11744
  class: "text-none elevation-0 btn-border-1 text-body-1",
11746
11745
  "min-width": "30"
11747
11746
  }, {
11748
11747
  default: u(() => [
11749
- W(b(a.intervalHour) + " h ", 1),
11750
- d(p, { activator: "parent" }, {
11748
+ U(b(a.intervalHour) + " h ", 1),
11749
+ h(p, { activator: "parent" }, {
11751
11750
  default: u(() => [
11752
- d(g, { class: "pa-1" }, {
11751
+ h(g, { class: "pa-1" }, {
11753
11752
  default: u(() => [
11754
11753
  (y(!0), M(be, null, we(a.intervalOptions, (v, T) => (y(), B(c, {
11755
11754
  key: T,
@@ -11764,11 +11763,11 @@ function Wn(t, e, o, i, a, r) {
11764
11763
  class: "pa-0 text-center text-body-1"
11765
11764
  }, {
11766
11765
  default: u(() => [
11767
- d(n, {
11766
+ h(n, {
11768
11767
  onClick: (w) => a.intervalHour = v
11769
11768
  }, {
11770
11769
  default: u(() => [
11771
- W(b(v) + "h", 1)
11770
+ U(b(v) + "h", 1)
11772
11771
  ]),
11773
11772
  _: 2
11774
11773
  }, 1032, ["onClick"])
@@ -11785,13 +11784,13 @@ function Wn(t, e, o, i, a, r) {
11785
11784
  _: 1
11786
11785
  })
11787
11786
  ]),
11788
- d(f, {
11787
+ h(f, {
11789
11788
  vertical: "",
11790
11789
  class: "mx-2 my-3",
11791
11790
  style: { height: "16px" }
11792
11791
  }),
11793
- l("div", Bn, [
11794
- d(h, {
11792
+ l("div", On, [
11793
+ h(d, {
11795
11794
  icon: "",
11796
11795
  size: "small",
11797
11796
  density: "comfortable",
@@ -11804,7 +11803,7 @@ function Wn(t, e, o, i, a, r) {
11804
11803
  _: 1,
11805
11804
  __: [9]
11806
11805
  }, 8, ["onClick"]),
11807
- d(h, {
11806
+ h(d, {
11808
11807
  icon: "",
11809
11808
  size: "small",
11810
11809
  density: "comfortable",
@@ -11817,7 +11816,7 @@ function Wn(t, e, o, i, a, r) {
11817
11816
  _: 1,
11818
11817
  __: [10]
11819
11818
  }, 8, ["onClick"]),
11820
- a.paused ? (y(), B(h, {
11819
+ a.paused ? (y(), B(d, {
11821
11820
  key: 0,
11822
11821
  icon: "",
11823
11822
  size: "small",
@@ -11830,7 +11829,7 @@ function Wn(t, e, o, i, a, r) {
11830
11829
  ])),
11831
11830
  _: 1,
11832
11831
  __: [11]
11833
- }, 8, ["onClick"])) : (y(), B(h, {
11832
+ }, 8, ["onClick"])) : (y(), B(d, {
11834
11833
  key: 1,
11835
11834
  icon: "",
11836
11835
  size: "small",
@@ -11844,7 +11843,7 @@ function Wn(t, e, o, i, a, r) {
11844
11843
  _: 1,
11845
11844
  __: [12]
11846
11845
  }, 8, ["onClick"])),
11847
- d(h, {
11846
+ h(d, {
11848
11847
  icon: "",
11849
11848
  size: "small",
11850
11849
  density: "comfortable",
@@ -11858,27 +11857,27 @@ function Wn(t, e, o, i, a, r) {
11858
11857
  __: [13]
11859
11858
  }, 8, ["onClick"])
11860
11859
  ]),
11861
- d(f, {
11860
+ h(f, {
11862
11861
  vertical: "",
11863
11862
  class: "mx-2 my-3",
11864
11863
  style: { height: "16px" }
11865
11864
  }),
11866
- l("div", En, [
11867
- d(k, {
11865
+ l("div", Bn, [
11866
+ h(k, {
11868
11867
  text: t.$t("weather.windBarbs"),
11869
11868
  location: "top"
11870
11869
  }, {
11871
11870
  activator: u(({ props: v }) => {
11872
11871
  var T, w;
11873
11872
  return [
11874
- d(h, j(v, {
11873
+ h(d, j(v, {
11875
11874
  class: "pa-1 d-flex",
11876
11875
  color: (T = o.weatherCheckList) != null && T.includes("wind") ? "primary" : "",
11877
11876
  variant: (w = o.weatherCheckList) != null && w.includes("wind") ? "elevated" : "text",
11878
11877
  height: "24",
11879
11878
  width: "24",
11880
11879
  "min-width": "24",
11881
- onClick: e[3] || (e[3] = (A) => r.handleClickFastWeather("wind"))
11880
+ onClick: e[3] || (e[3] = (D) => r.handleClickFastWeather("wind"))
11882
11881
  }), {
11883
11882
  default: u(() => e[14] || (e[14] = [
11884
11883
  l("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
@@ -11890,21 +11889,21 @@ function Wn(t, e, o, i, a, r) {
11890
11889
  }),
11891
11890
  _: 1
11892
11891
  }, 8, ["text"]),
11893
- d(k, {
11892
+ h(k, {
11894
11893
  text: t.$t("weather.sigWaveHeight"),
11895
11894
  location: "top"
11896
11895
  }, {
11897
11896
  activator: u(({ props: v }) => {
11898
11897
  var T, w;
11899
11898
  return [
11900
- d(h, j(v, {
11899
+ h(d, j(v, {
11901
11900
  class: "pa-1 d-flex",
11902
11901
  color: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "primary" : "",
11903
11902
  variant: (w = o.weatherCheckList) != null && w.includes("sig-wave-height") ? "elevated" : "text",
11904
11903
  height: "24",
11905
11904
  width: "24",
11906
11905
  "min-width": "24",
11907
- onClick: e[4] || (e[4] = (A) => r.handleClickFastWeather("sig-wave-height"))
11906
+ onClick: e[4] || (e[4] = (D) => r.handleClickFastWeather("sig-wave-height"))
11908
11907
  }), {
11909
11908
  default: u(() => [
11910
11909
  l("i", j(v, { class: "iconfont icon-a-WaveHeight" }), null, 16)
@@ -11915,21 +11914,21 @@ function Wn(t, e, o, i, a, r) {
11915
11914
  }),
11916
11915
  _: 1
11917
11916
  }, 8, ["text"]),
11918
- d(k, {
11917
+ h(k, {
11919
11918
  text: t.$t("weather.currentDirection"),
11920
11919
  location: "top"
11921
11920
  }, {
11922
11921
  activator: u(({ props: v }) => {
11923
11922
  var T, w;
11924
11923
  return [
11925
- d(h, j(v, {
11924
+ h(d, j(v, {
11926
11925
  class: "pa-1 d-flex",
11927
11926
  color: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "primary" : "",
11928
11927
  variant: (w = o.weatherCheckList) != null && w.includes("current-direction") ? "elevated" : "text",
11929
11928
  height: "24",
11930
11929
  width: "24",
11931
11930
  "min-width": "24",
11932
- onClick: e[5] || (e[5] = (A) => r.handleClickFastWeather("current-direction"))
11931
+ onClick: e[5] || (e[5] = (D) => r.handleClickFastWeather("current-direction"))
11933
11932
  }), {
11934
11933
  default: u(() => [
11935
11934
  l("i", j(v, { class: "iconfont icon-Current" }), null, 16)
@@ -11940,12 +11939,12 @@ function Wn(t, e, o, i, a, r) {
11940
11939
  }),
11941
11940
  _: 1
11942
11941
  }, 8, ["text"]),
11943
- d(k, {
11942
+ h(k, {
11944
11943
  text: t.$t("weather.weatherLayers"),
11945
11944
  location: "top"
11946
11945
  }, {
11947
11946
  activator: u(({ props: v }) => [
11948
- d(h, j(v, {
11947
+ h(d, j(v, {
11949
11948
  class: "pa-1 d-flex",
11950
11949
  variant: "text",
11951
11950
  height: "24",
@@ -11962,13 +11961,13 @@ function Wn(t, e, o, i, a, r) {
11962
11961
  _: 1
11963
11962
  }, 8, ["text"])
11964
11963
  ]),
11965
- d(f, {
11964
+ h(f, {
11966
11965
  vertical: "",
11967
11966
  class: "mx-2 mr-3 my-3",
11968
11967
  style: { height: "16px" }
11969
11968
  }),
11970
- l("div", jn, [
11971
- d(h, {
11969
+ l("div", En, [
11970
+ h(d, {
11972
11971
  text: "",
11973
11972
  height: "30",
11974
11973
  class: "px-2 elevation-0 text-body-1 btn-border-2",
@@ -11976,12 +11975,12 @@ function Wn(t, e, o, i, a, r) {
11976
11975
  onClick: e[6] || (e[6] = (v) => a.source = "GFS")
11977
11976
  }, {
11978
11977
  default: u(() => e[15] || (e[15] = [
11979
- W("NOAA", -1)
11978
+ U("NOAA", -1)
11980
11979
  ])),
11981
11980
  _: 1,
11982
11981
  __: [15]
11983
11982
  }, 8, ["color"]),
11984
- d(h, {
11983
+ h(d, {
11985
11984
  text: "",
11986
11985
  height: "30",
11987
11986
  class: "px-2 elevation-0 text-body-1 btn-border-2",
@@ -11989,7 +11988,7 @@ function Wn(t, e, o, i, a, r) {
11989
11988
  onClick: e[7] || (e[7] = (v) => a.source = "ECMWF")
11990
11989
  }, {
11991
11990
  default: u(() => e[16] || (e[16] = [
11992
- W("ECMWF", -1)
11991
+ U("ECMWF", -1)
11993
11992
  ])),
11994
11993
  _: 1,
11995
11994
  __: [16]
@@ -12000,15 +11999,15 @@ function Wn(t, e, o, i, a, r) {
12000
11999
  class: "timezone-box d-flex flex-column justify-space-between align-end",
12001
12000
  style: ae({ right: a.right + "px" })
12002
12001
  }, [
12003
- a.showTimezone ? (y(), M("div", Nn, [
12002
+ a.showTimezone ? (y(), M("div", jn, [
12004
12003
  (y(!0), M(be, null, we(a.offsets, (v) => (y(), M("div", {
12005
12004
  key: v,
12006
12005
  class: "item rounded text-body-2 hover-active",
12007
12006
  onClick: (T) => a.timeZone = v
12008
- }, b(v < 0 ? v : "+" + v), 9, Fn))), 128))
12007
+ }, b(v < 0 ? v : "+" + v), 9, Nn))), 128))
12009
12008
  ])) : E("", !0),
12010
- l("div", Hn, [
12011
- d(h, {
12009
+ l("div", Fn, [
12010
+ h(d, {
12012
12011
  text: "",
12013
12012
  variant: "flat",
12014
12013
  height: "28",
@@ -12017,24 +12016,24 @@ function Wn(t, e, o, i, a, r) {
12017
12016
  onClick: e[8] || (e[8] = (v) => a.showTimezone = !a.showTimezone)
12018
12017
  }, {
12019
12018
  default: u(() => [
12020
- W(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12019
+ U(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12021
12020
  ]),
12022
12021
  _: 1
12023
12022
  }),
12024
- l("span", Un, b(a.currentRealTime), 1)
12023
+ l("span", Hn, b(a.currentRealTime), 1)
12025
12024
  ])
12026
12025
  ], 4)
12027
12026
  ]);
12028
12027
  }
12029
- const Gn = /* @__PURE__ */ V(Dn, [["render", Wn]]), Vn = {
12028
+ const Un = /* @__PURE__ */ V(An, [["render", Wn]]), Gn = {
12030
12029
  name: "IdmGL4",
12031
12030
  components: {
12032
- IdmOtherLayer: Jr,
12033
- IdmWeatherLayer: Es,
12031
+ IdmOtherLayer: Qr,
12032
+ IdmWeatherLayer: Bs,
12034
12033
  IdmTropicals: Ya,
12035
- IdmMeasure: An,
12036
- IdmSpot: Tn,
12037
- IdmBottomBar: Gn
12034
+ IdmMeasure: In,
12035
+ IdmSpot: Cn,
12036
+ IdmBottomBar: Un
12038
12037
  },
12039
12038
  props: {
12040
12039
  map: {
@@ -12086,14 +12085,14 @@ const Gn = /* @__PURE__ */ V(Dn, [["render", Wn]]), Vn = {
12086
12085
  }
12087
12086
  },
12088
12087
  methods: {}
12089
- }, Zn = {
12088
+ }, Vn = {
12090
12089
  ref: "mapHomeGl4",
12091
12090
  class: "map-gl4-home"
12092
12091
  };
12093
- function Yn(t, e, o, i, a, r) {
12094
- const s = x("IdmOtherLayer"), n = x("IdmWeatherLayer"), c = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), h = x("IdmBottomBar");
12095
- return y(), M("div", Zn, [
12096
- d(s, j({
12092
+ function Zn(t, e, o, i, a, r) {
12093
+ const s = x("IdmOtherLayer"), n = x("IdmWeatherLayer"), c = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), d = x("IdmBottomBar");
12094
+ return y(), M("div", Vn, [
12095
+ h(s, j({
12097
12096
  ref: "idmOtherLayers",
12098
12097
  token: o.token,
12099
12098
  "default-meteo-token": a.defaultMeteoToken,
@@ -12108,7 +12107,7 @@ function Yn(t, e, o, i, a, r) {
12108
12107
  a.otherCheckList = f, a.layerVersion = a.layerVersion + 1;
12109
12108
  })
12110
12109
  }), null, 16, ["token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
12111
- d(n, j({
12110
+ h(n, j({
12112
12111
  ref: "idmWeatherLayers",
12113
12112
  map: o.map,
12114
12113
  "before-layer": "empty-layer-2",
@@ -12126,7 +12125,7 @@ function Yn(t, e, o, i, a, r) {
12126
12125
  a.weatherCheckList = f, a.layerVersion = a.layerVersion + 1;
12127
12126
  })
12128
12127
  }), null, 16, ["map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
12129
- d(c, j({
12128
+ h(c, j({
12130
12129
  map: o.map,
12131
12130
  token: o.token,
12132
12131
  "default-meteo-token": a.defaultMeteoToken,
@@ -12137,11 +12136,11 @@ function Yn(t, e, o, i, a, r) {
12137
12136
  "forecast-model": o.forecastModel,
12138
12137
  "map-feather": o.mapFeather
12139
12138
  }, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "tropicals", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
12140
- d(g, j({
12139
+ h(g, j({
12141
12140
  map: o.map,
12142
12141
  "map-feather": o.mapFeather
12143
12142
  }, t.$attrs), null, 16, ["map", "map-feather"]),
12144
- d(p, j({
12143
+ h(p, j({
12145
12144
  ref: "idmSpot",
12146
12145
  map: o.map,
12147
12146
  token: o.token,
@@ -12149,7 +12148,7 @@ function Yn(t, e, o, i, a, r) {
12149
12148
  "forecast-model": o.forecastModel,
12150
12149
  "map-feather": o.mapFeather
12151
12150
  }, t.$attrs), null, 16, ["map", "token", "gateway", "forecast-model", "map-feather"]),
12152
- d(h, j({
12151
+ h(d, j({
12153
12152
  ref: "idmBottomBar",
12154
12153
  "forecast-model": o.forecastModel,
12155
12154
  "weather-check-list": a.weatherCheckList,
@@ -12157,8 +12156,8 @@ function Yn(t, e, o, i, a, r) {
12157
12156
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
12158
12157
  ], 512);
12159
12158
  }
12160
- const qn = /* @__PURE__ */ V(Vn, [["render", Yn]]);
12161
- class Xn {
12159
+ const Yn = /* @__PURE__ */ V(Gn, [["render", Zn]]);
12160
+ class qn {
12162
12161
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
12163
12162
  se(this, "originStyle");
12164
12163
  se(this, "mapboxStyle");
@@ -12166,7 +12165,7 @@ class Xn {
12166
12165
  se(this, "hi");
12167
12166
  se(this, "td");
12168
12167
  se(this, "windy");
12169
- var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce, he, fe, U, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Ao, Do, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Uo, Wo, Go, Vo, Zo, Yo, qo, Xo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Aa, Da, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ua;
12168
+ var o, i, a, r, s, n, c, g, p, d, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce, he, fe, W, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Ao, Do, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Wo, Uo, Go, Vo, Zo, Yo, qo, Xo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Aa, Da, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Wa;
12170
12169
  this.i4 = {
12171
12170
  source: {
12172
12171
  type: "raster",
@@ -13674,7 +13673,7 @@ class Xn {
13674
13673
  "text-size": 10,
13675
13674
  "icon-image": "tide",
13676
13675
  "icon-size": 1,
13677
- "icon-offset": [0, -15],
13676
+ "icon-offset": [0, -13],
13678
13677
  "text-offset": [0, 1.6],
13679
13678
  "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
13680
13679
  },
@@ -15201,7 +15200,7 @@ class Xn {
15201
15200
  "text-size": 10,
15202
15201
  "icon-image": "tide",
15203
15202
  "icon-size": 1,
15204
- "icon-offset": [0, -15],
15203
+ "icon-offset": [0, -13],
15205
15204
  "text-offset": [0, 1.6],
15206
15205
  "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
15207
15206
  },
@@ -19840,7 +19839,7 @@ class Xn {
19840
19839
  "text-size": 10,
19841
19840
  "icon-image": "tide",
19842
19841
  "icon-size": 1,
19843
- "icon-offset": [0, -15],
19842
+ "icon-offset": [0, -13],
19844
19843
  "text-offset": [0, 1.6],
19845
19844
  "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
19846
19845
  },
@@ -30647,7 +30646,7 @@ class Xn {
30647
30646
  "text-size": 10,
30648
30647
  "icon-image": "tide",
30649
30648
  "icon-size": 1,
30650
- "icon-offset": [0, -15],
30649
+ "icon-offset": [0, -13],
30651
30650
  "text-offset": [0, 1.6],
30652
30651
  "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
30653
30652
  },
@@ -30746,14 +30745,14 @@ class Xn {
30746
30745
  (r = (a = this.originStyle) == null ? void 0 : a.light.layers) == null ? void 0 : r.find((m) => m.id === "water"),
30747
30746
  (n = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : n.find((m) => m.id === "ice-area-fill"),
30748
30747
  (g = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : g.find((m) => m.id === "ice-area-line"),
30749
- (h = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : h.find((m) => m.id === "loadlines-label"),
30748
+ (d = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : d.find((m) => m.id === "loadlines-label"),
30750
30749
  (k = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : k.find((m) => m.id === "loadlines-fill"),
30751
30750
  (T = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : T.find((m) => m.id === "empty-layer-0"),
30752
- (A = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : A.find((m) => m.id === "empty-layer-1"),
30751
+ (D = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : D.find((m) => m.id === "empty-layer-1"),
30753
30752
  (P = (S = this.originStyle) == null ? void 0 : S.light.layers) == null ? void 0 : P.find((m) => m.id === "country-boundaries"),
30754
30753
  (L = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : L.find((m) => m.id === "water-outline"),
30755
30754
  (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((m) => m.id === "water-outline2"),
30756
- (Z = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : Z.find((m) => m.id === "empty-layer-2"),
30755
+ (Z = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : Z.find((m) => m.id === "empty-layer-2"),
30757
30756
  (X = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : X.find((m) => m.id === "water-line-label"),
30758
30757
  (te = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : te.find((m) => m.id === "water-point-label"),
30759
30758
  (J = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : J.find((m) => m.id === "world-12nm-v4-20231025"),
@@ -30768,7 +30767,7 @@ class Xn {
30768
30767
  (H = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
30769
30768
  (je = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
30770
30769
  (he = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : he.find((m) => m.id === "tide-stations"),
30771
- (U = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : U.find((m) => m.id === "empty-layer-3"),
30770
+ (W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((m) => m.id === "empty-layer-3"),
30772
30771
  ($ = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : $.find((m) => m.id === "empty-layer-4")
30773
30772
  ]
30774
30773
  },
@@ -30831,8 +30830,8 @@ class Xn {
30831
30830
  zoom: 12,
30832
30831
  fog: (Ft = this.originStyle) == null ? void 0 : Ft.satellite.fog,
30833
30832
  imports: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.imports,
30834
- sources: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sources,
30835
- sprite: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sprite,
30833
+ sources: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sources,
30834
+ sprite: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sprite,
30836
30835
  glyphs: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.glyphs,
30837
30836
  projection: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.projection,
30838
30837
  created: "2025-07-25T03:53:24.667Z",
@@ -30863,8 +30862,8 @@ class Xn {
30863
30862
  (Bo = (Oo = this.originStyle) == null ? void 0 : Oo.satellite.layers) == null ? void 0 : Bo.find((m) => m.id === "tide-stations"),
30864
30863
  (jo = (Eo = this.originStyle) == null ? void 0 : Eo.satellite.layers) == null ? void 0 : jo.find((m) => m.id === "ice-area-fill"),
30865
30864
  (Fo = (No = this.originStyle) == null ? void 0 : No.satellite.layers) == null ? void 0 : Fo.find((m) => m.id === "ice-area-line"),
30866
- (Uo = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Uo.find((m) => m.id === "empty-layer-3"),
30867
- (Go = (Wo = this.originStyle) == null ? void 0 : Wo.satellite.layers) == null ? void 0 : Go.find((m) => m.id === "empty-layer-4")
30865
+ (Wo = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Wo.find((m) => m.id === "empty-layer-3"),
30866
+ (Go = (Uo = this.originStyle) == null ? void 0 : Uo.satellite.layers) == null ? void 0 : Go.find((m) => m.id === "empty-layer-4")
30868
30867
  ]
30869
30868
  },
30870
30869
  nautical: {
@@ -30904,7 +30903,7 @@ class Xn {
30904
30903
  (Ba = (Oa = this.originStyle) == null ? void 0 : Oa.light.layers) == null ? void 0 : Ba.find((m) => m.id === "continent-label"),
30905
30904
  (ja = (Ea = this.originStyle) == null ? void 0 : Ea.nautical.layers) == null ? void 0 : ja.find((m) => m.id === "tide-stations"),
30906
30905
  (Fa = (Na = this.originStyle) == null ? void 0 : Na.nautical.layers) == null ? void 0 : Fa.find((m) => m.id === "empty-layer-3"),
30907
- (Ua = (Ha = this.originStyle) == null ? void 0 : Ha.nautical.layers) == null ? void 0 : Ua.find((m) => m.id === "empty-layer-4")
30906
+ (Wa = (Ha = this.originStyle) == null ? void 0 : Ha.nautical.layers) == null ? void 0 : Wa.find((m) => m.id === "empty-layer-4")
30908
30907
  ],
30909
30908
  created: "2025-07-22T02:15:53.587Z",
30910
30909
  modified: "2025-08-07T10:15:43.870Z",
@@ -30917,7 +30916,7 @@ class Xn {
30917
30916
  };
30918
30917
  }
30919
30918
  }
30920
- const Kn = {
30919
+ const Xn = {
30921
30920
  name: "MapInitial",
30922
30921
  props: {
30923
30922
  token: {
@@ -30946,7 +30945,12 @@ const Kn = {
30946
30945
  right: 10
30947
30946
  };
30948
30947
  },
30949
- computed: {},
30948
+ computed: {
30949
+ computeYear() {
30950
+ const t = (/* @__PURE__ */ new Date()).getFullYear();
30951
+ return t > 2023 ? t : 2023;
30952
+ }
30953
+ },
30950
30954
  watch: {
30951
30955
  "menuToggle.v": {
30952
30956
  handler() {
@@ -30965,12 +30969,10 @@ const Kn = {
30965
30969
  immediate: !0
30966
30970
  }
30967
30971
  },
30968
- mounted() {
30969
- },
30970
30972
  methods: {
30971
30973
  async initOnlineMap() {
30972
30974
  var e;
30973
- (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new Xn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
30975
+ (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new qn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
30974
30976
  const t = new xe.Map({
30975
30977
  container: "map",
30976
30978
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -31010,17 +31012,17 @@ const Kn = {
31010
31012
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
31011
31013
  }
31012
31014
  }
31013
- }, Qn = { class: "mapbox-initial-gl4" }, Jn = { class: "v-btn--variant-elevated rounded" }, $n = { class: "zoom" };
31015
+ }, Kn = { class: "mapbox-initial-gl4" }, Qn = { class: "v-btn--variant-elevated rounded" }, Jn = { class: "zoom" }, $n = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" };
31014
31016
  function ec(t, e, o, i, a, r) {
31015
31017
  const s = x("VBtn");
31016
- return y(), M("div", Qn, [
31017
- e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
31018
+ return y(), M("div", Kn, [
31019
+ e[5] || (e[5] = l("div", { id: "map" }, null, -1)),
31018
31020
  l("div", {
31019
31021
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
31020
31022
  style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
31021
31023
  }, [
31022
- l("div", Jn, [
31023
- d(s, {
31024
+ l("div", Qn, [
31025
+ h(s, {
31024
31026
  "min-width": "32",
31025
31027
  width: "32",
31026
31028
  height: "32",
@@ -31033,8 +31035,8 @@ function ec(t, e, o, i, a, r) {
31033
31035
  _: 1,
31034
31036
  __: [0]
31035
31037
  }, 8, ["onClick"]),
31036
- l("div", $n, b(Math.floor(a.zoom)), 1),
31037
- d(s, {
31038
+ l("div", Jn, b(Math.floor(a.zoom)), 1),
31039
+ h(s, {
31038
31040
  "min-width": "32",
31039
31041
  width: "32",
31040
31042
  height: "32",
@@ -31049,22 +31051,28 @@ function ec(t, e, o, i, a, r) {
31049
31051
  }, 8, ["onClick"])
31050
31052
  ])
31051
31053
  ], 4),
31052
- e[3] || (e[3] = l("div", { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" }, [
31053
- W(" Copyright: © 2023-2025 ormwx.com "),
31054
- l("span", { class: "text-decoration-underline" }, "沪ICP备18039043号-6")
31055
- ], -1))
31054
+ l("div", $n, [
31055
+ e[2] || (e[2] = l("span", null, "© 2023", -1)),
31056
+ l("span", null, "-" + b(r.computeYear), 1),
31057
+ e[3] || (e[3] = l("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
31058
+ e[4] || (e[4] = l("a", {
31059
+ class: "text-decoration-underline cursor-pointer text-label",
31060
+ href: "https://beian.miit.gov.cn/",
31061
+ target: "_blank"
31062
+ }, "沪ICP备18039043号-6", -1))
31063
+ ])
31056
31064
  ]);
31057
31065
  }
31058
- const tc = /* @__PURE__ */ V(Kn, [["render", ec]]), pc = {
31066
+ const tc = /* @__PURE__ */ V(Xn, [["render", ec]]), pc = {
31059
31067
  install(t) {
31060
- t.component("MapInitial", tc), t.component("MapboxGL", qn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
31068
+ t.component("MapInitial", tc), t.component("MapboxGL", Yn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
31061
31069
  }
31062
31070
  };
31063
31071
  export {
31064
31072
  lo as DateTimePicker,
31065
31073
  Za as LatLngGL,
31066
31074
  tc as MapInitial,
31067
- qn as MapboxGL,
31075
+ Yn as MapboxGL,
31068
31076
  pc as MapboxGLPlugin,
31069
31077
  _e as ParticleSchema,
31070
31078
  Ya as TropicalGL,