@idmwx/idmui-gl4 1.3.2 → 1.3.6

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
@@ -1482,10 +1482,10 @@ const ui = {
1482
1482
  { label: "Swell", key: "weather.swell", unit: "m" },
1483
1483
  { label: "Current", key: "weather.current", unit: "kts" }
1484
1484
  ], (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
1485
- var c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe;
1485
+ var c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe;
1486
1486
  let r = {};
1487
1487
  const s = ((c = oa.pickHourly(t, D(i))) == null ? void 0 : c[0]) || {};
1488
- r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((y = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : y.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (W = s == null ? void 0 : s.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision(($ = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.height, 1) ?? "-", r.swellDir = (ue = (oe = s == null ? void 0 : s.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1488
+ r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((f = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : f.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((L = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : L.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = s == null ? void 0 : s.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (W = s == null ? void 0 : s.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision(($ = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.height, 1) ?? "-", r.swellDir = (ue = (oe = s == null ? void 0 : s.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1489
1489
  });
1490
1490
  },
1491
1491
  handleTide() {
@@ -1670,19 +1670,19 @@ const ui = {
1670
1670
  width: "120"
1671
1671
  }, ur = { class: "px-1 text-center" }, gr = { class: "px-1 text-center" }, fr = { class: "px-1 text-center" };
1672
1672
  function yr(t, e, a, i, o, r) {
1673
- const s = x("VBtn"), c = x("VCardTitle"), n = x("VDivider"), g = x("VIcon"), p = x("VBtnToggle"), y = x("VCard");
1674
- return b(), R(y, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1673
+ const s = x("VBtn"), c = x("VCardTitle"), n = x("VDivider"), g = x("VIcon"), p = x("VBtnToggle"), f = x("VCard");
1674
+ return b(), R(f, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1675
1675
  default: u(() => {
1676
- var w, _;
1676
+ var w, L;
1677
1677
  return [
1678
1678
  h(c, { class: "w-100" }, {
1679
1679
  default: u(() => {
1680
- var f, z, T, O, I;
1680
+ var y, k, T, O, I;
1681
1681
  return [
1682
1682
  l("div", gi, [
1683
1683
  l("div", fi, [
1684
1684
  l("div", {
1685
- class: Ge(["fi mr-2 rounded elevation-4", `fi-${(f = a.port) != null && f.cntLoCode ? (T = (z = a.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1685
+ class: Ge(["fi mr-2 rounded elevation-4", `fi-${(y = a.port) != null && y.cntLoCode ? (T = (k = a.port) == null ? void 0 : k.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1686
1686
  style: { width: "36px", height: "24px" }
1687
1687
  }, null, 2),
1688
1688
  l("div", null, m((O = a.port) == null ? void 0 : O.name), 1)
@@ -1714,9 +1714,9 @@ function yr(t, e, a, i, o, r) {
1714
1714
  }),
1715
1715
  h(n, { class: "w-100" }),
1716
1716
  l("div", bi, [
1717
- a.followList.some((f) => {
1718
- var z;
1719
- return ((z = f.port) == null ? void 0 : z.id) === a.portId;
1717
+ a.followList.some((y) => {
1718
+ var k;
1719
+ return ((k = y.port) == null ? void 0 : k.id) === a.portId;
1720
1720
  }) ? (b(), R(s, {
1721
1721
  key: 0,
1722
1722
  class: "text-none text-body-1 rounded flex-1-1-0",
@@ -1776,7 +1776,7 @@ function yr(t, e, a, i, o, r) {
1776
1776
  l("div", Li, [
1777
1777
  l("div", Pi, [
1778
1778
  l("div", Ci, m(t.$t("port.region")), 1),
1779
- l("div", Ti, m(((w = a.port) == null ? void 0 : w.region) ?? ((_ = a.port) == null ? void 0 : _.city) ?? "-"), 1)
1779
+ l("div", Ti, m(((w = a.port) == null ? void 0 : w.region) ?? ((L = a.port) == null ? void 0 : L.city) ?? "-"), 1)
1780
1780
  ]),
1781
1781
  l("div", Si, [
1782
1782
  l("div", Ii, m(t.$t("port.position")), 1),
@@ -1803,7 +1803,7 @@ function yr(t, e, a, i, o, r) {
1803
1803
  l("div", Fi, [
1804
1804
  h(p, {
1805
1805
  modelValue: o.currentIndex,
1806
- "onUpdate:modelValue": e[0] || (e[0] = (f) => o.currentIndex = f),
1806
+ "onUpdate:modelValue": e[0] || (e[0] = (y) => o.currentIndex = y),
1807
1807
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
1808
1808
  density: "compact",
1809
1809
  group: "",
@@ -1812,15 +1812,15 @@ function yr(t, e, a, i, o, r) {
1812
1812
  rounded: "1"
1813
1813
  }, {
1814
1814
  default: u(() => [
1815
- (b(!0), S(be, null, we(r.dateList, (f) => (b(), R(s, {
1815
+ (b(!0), S(be, null, we(r.dateList, (y) => (b(), R(s, {
1816
1816
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1817
1817
  density: "compact",
1818
1818
  color: "primary",
1819
1819
  height: "26",
1820
- value: f.index
1820
+ value: y.index
1821
1821
  }, {
1822
1822
  default: u(() => [
1823
- j(m(f.label), 1)
1823
+ j(m(y.label), 1)
1824
1824
  ]),
1825
1825
  _: 2
1826
1826
  }, 1032, ["value"]))), 256))
@@ -1829,40 +1829,40 @@ function yr(t, e, a, i, o, r) {
1829
1829
  }, 8, ["modelValue"]),
1830
1830
  l("table", Hi, [
1831
1831
  l("tbody", null, [
1832
- (b(!0), S(be, null, we(o.tableData, (f) => (b(), S("tr", {
1833
- key: f.id
1832
+ (b(!0), S(be, null, we(o.tableData, (y) => (b(), S("tr", {
1833
+ key: y.id
1834
1834
  }, [
1835
1835
  l("th", Ui, [
1836
- j(m(t.$t(`${f.key}`)) + " ", 1),
1837
- f.unit ? (b(), S("span", Wi, " ( " + m(f.unit) + " )", 1)) : M("", !0)
1836
+ j(m(t.$t(`${y.key}`)) + " ", 1),
1837
+ y.unit ? (b(), S("span", Wi, " ( " + m(y.unit) + " )", 1)) : M("", !0)
1838
1838
  ]),
1839
1839
  l("td", Gi, [
1840
- f.img ? (b(), S("img", {
1840
+ y.img ? (b(), S("img", {
1841
1841
  key: 0,
1842
- src: f == null ? void 0 : f.value0,
1842
+ src: y == null ? void 0 : y.value0,
1843
1843
  style: { height: "30px" }
1844
- }, null, 8, Vi)) : (b(), S("span", Zi, m((f == null ? void 0 : f.value0) ?? "-"), 1))
1844
+ }, null, 8, Vi)) : (b(), S("span", Zi, m((y == null ? void 0 : y.value0) ?? "-"), 1))
1845
1845
  ]),
1846
1846
  l("td", qi, [
1847
- f.img ? (b(), S("img", {
1847
+ y.img ? (b(), S("img", {
1848
1848
  key: 0,
1849
- src: f == null ? void 0 : f.value1,
1849
+ src: y == null ? void 0 : y.value1,
1850
1850
  style: { height: "30px" }
1851
- }, null, 8, Yi)) : (b(), S("span", Ki, m((f == null ? void 0 : f.value1) ?? "-"), 1))
1851
+ }, null, 8, Yi)) : (b(), S("span", Ki, m((y == null ? void 0 : y.value1) ?? "-"), 1))
1852
1852
  ]),
1853
1853
  l("td", Xi, [
1854
- f.img ? (b(), S("img", {
1854
+ y.img ? (b(), S("img", {
1855
1855
  key: 0,
1856
- src: f == null ? void 0 : f.value2,
1856
+ src: y == null ? void 0 : y.value2,
1857
1857
  style: { height: "30px" }
1858
- }, null, 8, $i)) : (b(), S("span", Ji, m((f == null ? void 0 : f.value2) ?? "-"), 1))
1858
+ }, null, 8, $i)) : (b(), S("span", Ji, m((y == null ? void 0 : y.value2) ?? "-"), 1))
1859
1859
  ]),
1860
1860
  l("td", Qi, [
1861
- f.img ? (b(), S("img", {
1861
+ y.img ? (b(), S("img", {
1862
1862
  key: 0,
1863
- src: f == null ? void 0 : f.value3,
1863
+ src: y == null ? void 0 : y.value3,
1864
1864
  style: { height: "30px" }
1865
- }, null, 8, er)) : (b(), S("span", tr, m((f == null ? void 0 : f.value3) ?? "-"), 1))
1865
+ }, null, 8, er)) : (b(), S("span", tr, m((y == null ? void 0 : y.value3) ?? "-"), 1))
1866
1866
  ])
1867
1867
  ]))), 128))
1868
1868
  ])
@@ -1886,7 +1886,7 @@ function yr(t, e, a, i, o, r) {
1886
1886
  density: "compact",
1887
1887
  variant: "plain",
1888
1888
  size: "small",
1889
- onClick: e[1] || (e[1] = (f) => o.showTideDetail = !1)
1889
+ onClick: e[1] || (e[1] = (y) => o.showTideDetail = !1)
1890
1890
  })) : (b(), R(s, {
1891
1891
  key: 1,
1892
1892
  icon: "mdi-eye-outline",
@@ -1906,12 +1906,12 @@ function yr(t, e, a, i, o, r) {
1906
1906
  l("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
1907
1907
  l("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
1908
1908
  ]),
1909
- (b(!0), S(be, null, we(o.tideTableData, (f, z) => {
1909
+ (b(!0), S(be, null, we(o.tideTableData, (y, k) => {
1910
1910
  var T;
1911
- return b(), S("tr", { key: z }, [
1912
- l("td", ur, m(t.$t(`tide.${(T = f == null ? void 0 : f.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1913
- l("td", gr, m(r.computeLocalTime(f == null ? void 0 : f.date, a.port, "MM-DD HH:mm")), 1),
1914
- l("td", fr, m((f == null ? void 0 : f.height) ?? "-") + " m", 1)
1911
+ return b(), S("tr", { key: k }, [
1912
+ l("td", ur, m(t.$t(`tide.${(T = y == null ? void 0 : y.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1913
+ l("td", gr, m(r.computeLocalTime(y == null ? void 0 : y.date, a.port, "MM-DD HH:mm")), 1),
1914
+ l("td", fr, m((y == null ? void 0 : y.height) ?? "-") + " m", 1)
1915
1915
  ]);
1916
1916
  }), 128))
1917
1917
  ])
@@ -1924,7 +1924,7 @@ function yr(t, e, a, i, o, r) {
1924
1924
  _: 1
1925
1925
  });
1926
1926
  }
1927
- const la = /* @__PURE__ */ K(ui, [["render", yr], ["__scopeId", "data-v-bc761c07"]]);
1927
+ const la = /* @__PURE__ */ K(ui, [["render", yr], ["__scopeId", "data-v-3b3ca572"]]);
1928
1928
  const br = {
1929
1929
  name: "IdmPort",
1930
1930
  components: {
@@ -1990,7 +1990,7 @@ const br = {
1990
1990
  "icon-offset": [0, -13],
1991
1991
  "icon-allow-overlap": !1,
1992
1992
  "icon-ignore-placement": !1,
1993
- "icon-avoid-edges": !1,
1993
+ // 'icon-avoid-edges': false,
1994
1994
  "icon-padding": 4,
1995
1995
  "text-anchor": "bottom",
1996
1996
  "text-field": "{name}",
@@ -2070,7 +2070,7 @@ function _r(t, e, a, i, o, r) {
2070
2070
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : M("", !0)
2071
2071
  ]);
2072
2072
  }
2073
- const kr = /* @__PURE__ */ K(br, [["render", _r], ["__scopeId", "data-v-8ef573b5"]]), zr = {
2073
+ const kr = /* @__PURE__ */ K(br, [["render", _r], ["__scopeId", "data-v-cbde3486"]]), zr = {
2074
2074
  name: "IdmLoadLine",
2075
2075
  props: {
2076
2076
  map: {
@@ -2938,15 +2938,15 @@ function Tl(t, e, a, i, o, r) {
2938
2938
  const s = x("VBtn"), c = x("v-card-title"), n = x("v-divider"), g = x("VBtnToggle"), p = x("v-card");
2939
2939
  return b(), R(p, { class: "tide-detail-container d-flex flex-column justify-start align-center" }, {
2940
2940
  default: u(() => {
2941
- var y, w;
2941
+ var f, w;
2942
2942
  return [
2943
2943
  h(c, { class: "w-100" }, {
2944
2944
  default: u(() => {
2945
- var _;
2945
+ var L;
2946
2946
  return [
2947
2947
  l("div", Kr, [
2948
2948
  l("div", Xr, [
2949
- l("div", null, m((_ = a.station) == null ? void 0 : _.name), 1)
2949
+ l("div", null, m((L = a.station) == null ? void 0 : L.name), 1)
2950
2950
  ]),
2951
2951
  h(s, {
2952
2952
  icon: "",
@@ -2986,7 +2986,7 @@ function Tl(t, e, a, i, o, r) {
2986
2986
  l("div", il, [
2987
2987
  l("div", rl, [
2988
2988
  l("div", ll, m(t.$t("tide.region")), 1),
2989
- l("div", sl, m(((y = a.station) == null ? void 0 : y.Country) ?? ((w = a.station) == null ? void 0 : w.city) ?? "-"), 1)
2989
+ l("div", sl, m(((f = a.station) == null ? void 0 : f.Country) ?? ((w = a.station) == null ? void 0 : w.city) ?? "-"), 1)
2990
2990
  ]),
2991
2991
  l("div", nl, [
2992
2992
  l("div", cl, m(t.$t("tide.position")), 1),
@@ -3013,7 +3013,7 @@ function Tl(t, e, a, i, o, r) {
3013
3013
  l("div", wl, [
3014
3014
  h(g, {
3015
3015
  modelValue: o.currentIndex,
3016
- "onUpdate:modelValue": e[0] || (e[0] = (_) => o.currentIndex = _),
3016
+ "onUpdate:modelValue": e[0] || (e[0] = (L) => o.currentIndex = L),
3017
3017
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3018
3018
  density: "compact",
3019
3019
  group: "",
@@ -3022,15 +3022,15 @@ function Tl(t, e, a, i, o, r) {
3022
3022
  rounded: "1"
3023
3023
  }, {
3024
3024
  default: u(() => [
3025
- (b(!0), S(be, null, we(r.dateList, (_) => (b(), R(s, {
3025
+ (b(!0), S(be, null, we(r.dateList, (L) => (b(), R(s, {
3026
3026
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3027
3027
  density: "compact",
3028
3028
  color: "primary",
3029
3029
  height: "26",
3030
- value: _.index
3030
+ value: L.index
3031
3031
  }, {
3032
3032
  default: u(() => [
3033
- j(m(_.label), 1)
3033
+ j(m(L.label), 1)
3034
3034
  ]),
3035
3035
  _: 2
3036
3036
  }, 1032, ["value"]))), 256))
@@ -3045,12 +3045,12 @@ function Tl(t, e, a, i, o, r) {
3045
3045
  l("th", kl, m(t.$t("time.time")) + " ( LT )", 1),
3046
3046
  l("th", zl, m(t.$t("tide.height")) + " ( m )", 1)
3047
3047
  ]),
3048
- (b(!0), S(be, null, we(o.tideTableData, (_, f) => {
3049
- var z;
3050
- return b(), S("tr", { key: f }, [
3051
- l("td", Ll, m(t.$t(`tide.${(z = _ == null ? void 0 : _.type) == null ? void 0 : z.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3052
- l("td", Pl, m(r.computeLocalTime(_ == null ? void 0 : _.date, a.station, "MM-DD HH:mm")), 1),
3053
- l("td", Cl, m((_ == null ? void 0 : _.height) ?? "-") + " m", 1)
3048
+ (b(!0), S(be, null, we(o.tideTableData, (L, y) => {
3049
+ var k;
3050
+ return b(), S("tr", { key: y }, [
3051
+ l("td", Ll, m(t.$t(`tide.${(k = L == null ? void 0 : L.type) == null ? void 0 : k.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3052
+ l("td", Pl, m(r.computeLocalTime(L == null ? void 0 : L.date, a.station, "MM-DD HH:mm")), 1),
3053
+ l("td", Cl, m((L == null ? void 0 : L.height) ?? "-") + " m", 1)
3054
3054
  ]);
3055
3055
  }), 128))
3056
3056
  ])
@@ -3063,7 +3063,7 @@ function Tl(t, e, a, i, o, r) {
3063
3063
  _: 1
3064
3064
  });
3065
3065
  }
3066
- const Sl = /* @__PURE__ */ K(Yr, [["render", Tl], ["__scopeId", "data-v-c0955217"]]);
3066
+ const Sl = /* @__PURE__ */ K(Yr, [["render", Tl], ["__scopeId", "data-v-749a5fd1"]]);
3067
3067
  const Il = {
3068
3068
  name: "IdmTideStations",
3069
3069
  components: {
@@ -5226,15 +5226,15 @@ const Yl = {
5226
5226
  var a, i, o, r, s, c, n, g, p;
5227
5227
  const e = t.features[0];
5228
5228
  if (e.properties) {
5229
- const y = e.properties;
5230
- y.lng = e.geometry.coordinates[0], y.lat = e.geometry.coordinates[1];
5231
- const w = D(), _ = (a = D(this.realTime)) == null ? void 0 : a.diff(w, "d", !0), f = {
5232
- lat: y.lat,
5233
- lng: y.lng,
5229
+ const f = e.properties;
5230
+ f.lng = e.geometry.coordinates[0], f.lat = e.geometry.coordinates[1];
5231
+ const w = D(), L = (a = D(this.realTime)) == null ? void 0 : a.diff(w, "d", !0), y = {
5232
+ lat: f.lat,
5233
+ lng: f.lng,
5234
5234
  datetime: this.realTime,
5235
5235
  forecastModel: this.forecastModel
5236
5236
  };
5237
- _ >= 0 ? (s = (r = (o = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : o.$refs) == null ? void 0 : r.idmSpot) == null || s.fetchMeteoData(f) : (p = (g = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : g.idmSpot) == null || p.fetchHistoryData(f);
5237
+ L >= 0 ? (s = (r = (o = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : o.$refs) == null ? void 0 : r.idmSpot) == null || s.fetchMeteoData(y) : (p = (g = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : g.idmSpot) == null || p.fetchHistoryData(y);
5238
5238
  }
5239
5239
  },
5240
5240
  handleHover(t) {
@@ -5454,8 +5454,8 @@ const es = {
5454
5454
  })
5455
5455
  );
5456
5456
  (await Promise.all(s)).map((n) => {
5457
- var y, w, _;
5458
- const g = ((y = n == null ? void 0 : n.data) == null ? void 0 : y.data) || (n == null ? void 0 : n.data), p = (_ = (w = n == null ? void 0 : n.config) == null ? void 0 : w.headers) == null ? void 0 : _.key;
5457
+ var f, w, L;
5458
+ const g = ((f = n == null ? void 0 : n.data) == null ? void 0 : f.data) || (n == null ? void 0 : n.data), p = (L = (w = n == null ? void 0 : n.config) == null ? void 0 : w.headers) == null ? void 0 : L.key;
5459
5459
  this.otherLayers[p] = g;
5460
5460
  });
5461
5461
  }
@@ -5494,7 +5494,7 @@ const es = {
5494
5494
  }, ds = { class: "text-body-2 text-center pt-1" };
5495
5495
  function hs(t, e, a, i, o, r) {
5496
5496
  var J, re, he, pe, ne, $, oe, ue, ce;
5497
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), y = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), f = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), k = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), W = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5497
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), f = x("VCardText"), w = x("VCard"), L = x("IdmLatLng"), y = x("IdmTerminator"), k = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), _ = x("IdmWarZone"), z = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), W = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5498
5498
  return b(), S("div", ts, [
5499
5499
  l("div", {
5500
5500
  class: "menu-bar-box transition px-1 rounded",
@@ -5562,7 +5562,7 @@ function hs(t, e, a, i, o, r) {
5562
5562
  ]),
5563
5563
  _: 1
5564
5564
  }),
5565
- h(y, { class: "pb-2" }, {
5565
+ h(f, { class: "pb-2" }, {
5566
5566
  default: u(() => [
5567
5567
  l("div", rs, [
5568
5568
  (b(!0), S(be, null, we(o.mapFeathers, (F) => (b(), S("div", {
@@ -5615,7 +5615,7 @@ function hs(t, e, a, i, o, r) {
5615
5615
  ]),
5616
5616
  _: 1
5617
5617
  }),
5618
- h(y, { class: "py-2" }, {
5618
+ h(f, { class: "py-2" }, {
5619
5619
  default: u(() => [
5620
5620
  (b(!0), S(be, null, we(o.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5621
5621
  key: F.key,
@@ -5654,7 +5654,7 @@ function hs(t, e, a, i, o, r) {
5654
5654
  ]),
5655
5655
  _: 1
5656
5656
  }),
5657
- h(y, { class: "py-2" }, {
5657
+ h(f, { class: "py-2" }, {
5658
5658
  default: u(() => [
5659
5659
  (b(!0), S(be, null, we(o.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5660
5660
  key: F.key,
@@ -5693,7 +5693,7 @@ function hs(t, e, a, i, o, r) {
5693
5693
  ]),
5694
5694
  _: 1
5695
5695
  }),
5696
- h(y, { class: "py-2" }, {
5696
+ h(f, { class: "py-2" }, {
5697
5697
  default: u(() => [
5698
5698
  h(p, {
5699
5699
  modelValue: o.checkList,
@@ -5725,18 +5725,18 @@ function hs(t, e, a, i, o, r) {
5725
5725
  })
5726
5726
  ])
5727
5727
  ], 6),
5728
- a.map ? (b(), R(_, B({
5728
+ a.map ? (b(), R(L, B({
5729
5729
  key: 0,
5730
5730
  map: a.map,
5731
5731
  "menu-toggle": a.menuToggle,
5732
5732
  show: o.checkList.includes("graticule")
5733
5733
  }, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : M("", !0),
5734
- a.map ? (b(), R(f, B({
5734
+ a.map ? (b(), R(y, B({
5735
5735
  key: 1,
5736
5736
  map: a.map,
5737
5737
  area: (J = o.otherLayers) == null ? void 0 : J["day-night"]
5738
5738
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5739
- a.map ? (b(), R(z, B({
5739
+ a.map ? (b(), R(k, B({
5740
5740
  key: 2,
5741
5741
  map: a.map,
5742
5742
  zone: (re = o.otherLayers) == null ? void 0 : re["time-zones"]
@@ -5776,12 +5776,12 @@ function hs(t, e, a, i, o, r) {
5776
5776
  map: a.map,
5777
5777
  zone: (ne = o.otherLayers) == null ? void 0 : ne["eca-zones"]
5778
5778
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5779
- a.map ? (b(), R(k, B({
5779
+ a.map ? (b(), R(_, B({
5780
5780
  key: 7,
5781
5781
  map: a.map,
5782
5782
  zone: ($ = o.otherLayers) == null ? void 0 : $["war-zones"]
5783
5783
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5784
- a.map ? (b(), R(L, B({
5784
+ a.map ? (b(), R(z, B({
5785
5785
  key: 8,
5786
5786
  map: a.map,
5787
5787
  area: (oe = o.otherLayers) == null ? void 0 : oe["gmdss-areas"]
@@ -5891,12 +5891,12 @@ class sa {
5891
5891
  * @param [lb.x, lb.y, rt.x, rt.y]
5892
5892
  */
5893
5893
  getBoundPixel() {
5894
- var f, z;
5895
- const e = (f = this.map) == null ? void 0 : f.getBounds();
5894
+ var y, k;
5895
+ const e = (y = this.map) == null ? void 0 : y.getBounds();
5896
5896
  if (!e)
5897
5897
  return [];
5898
- const a = ((z = this.map) == null ? void 0 : z.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], o = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(o[0]), [g, p] = this.mercator.px([r, i[1]], a), [y, w] = this.mercator.px([c, o[1]], a), _ = Math.round(this.mercator.size * Math.pow(2, a) * (s + n));
5899
- return [y, w, g + _, p];
5898
+ const a = ((k = this.map) == null ? void 0 : k.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], o = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(o[0]), [g, p] = this.mercator.px([r, i[1]], a), [f, w] = this.mercator.px([c, o[1]], a), L = Math.round(this.mercator.size * Math.pow(2, a) * (s + n));
5899
+ return [f, w, g + L, p];
5900
5900
  }
5901
5901
  /**
5902
5902
  * [视窗边界像素宽度]
@@ -5913,11 +5913,11 @@ class sa {
5913
5913
  getWorldCopy(e, a) {
5914
5914
  const i = 2 ** a, [o, r, s, c] = e.map((p) => ~~(p / (i * 256))), n = [];
5915
5915
  for (let p = c; p <= r; p++)
5916
- for (let y = o; y <= s; y++)
5917
- n.push([y, p]);
5916
+ for (let f = o; f <= s; f++)
5917
+ n.push([f, p]);
5918
5918
  return n.map((p) => {
5919
- const y = 2 ** a * 256;
5920
- return [p[0] * y, p[1] * y, y];
5919
+ const f = 2 ** a * 256;
5920
+ return [p[0] * f, p[1] * f, f];
5921
5921
  });
5922
5922
  }
5923
5923
  resize() {
@@ -6061,8 +6061,8 @@ class je {
6061
6061
  return {};
6062
6062
  }
6063
6063
  bindParticle(e, a, i, o, r, s) {
6064
- const c = this.createProgramWrapper(e, a, i), n = this.createProgramWrapper(e, o, r), g = this.createProgramWrapper(e, o, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), y = e.createFramebuffer();
6065
- return { particle: c, screen: n, update: g, quadBuffer: p, frameBuffer: y };
6064
+ const c = this.createProgramWrapper(e, a, i), n = this.createProgramWrapper(e, o, r), g = this.createProgramWrapper(e, o, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), f = e.createFramebuffer();
6065
+ return { particle: c, screen: n, update: g, quadBuffer: p, frameBuffer: f };
6066
6066
  }
6067
6067
  draw(e, a, i, o, r, s, c) {
6068
6068
  var n, g;
@@ -6079,9 +6079,9 @@ class je {
6079
6079
  sRange: a.getUniformLocation(i, "u_range_s")
6080
6080
  };
6081
6081
  p.resolution && a.uniform2f(p.resolution, a.canvas.width * e.ratio, a.canvas.height * e.ratio), a.activeTexture(a.TEXTURE0), a.bindTexture(a.TEXTURE_2D, o), p.image && a.uniform1i(p.image, 0), a.activeTexture(a.TEXTURE1), a.bindTexture(a.TEXTURE_2D, r), p.color && a.uniform1i(p.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (p.uvRange && a.uniform2f(p.uvRange, c.uvRange[0], c.uvRange[1]), p.sRange && a.uniform2f(p.sRange, c.sRange[0], c.sRange[1])), p.scale && a.uniform1f(p.scale, (c == null ? void 0 : c.scale) || 1);
6082
- const y = e.getBoundPixel(), w = e.map.getZoom() + 1, _ = e.getWorldCopy(y, w);
6083
- for (const f of _) {
6084
- const z = (f[0] - y[0]) * e.ratio, T = (f[1] - y[3]) * e.ratio, O = f[2] * e.ratio, [I, P, k, L] = [z, O + z, T, O + T], C = new Float32Array([I, k, P, k, I, L, I, L, P, k, P, L]);
6082
+ const f = e.getBoundPixel(), w = e.map.getZoom() + 1, L = e.getWorldCopy(f, w);
6083
+ for (const y of L) {
6084
+ const k = (y[0] - f[0]) * e.ratio, T = (y[1] - f[3]) * e.ratio, O = y[2] * e.ratio, [I, P, _, z] = [k, O + k, T, O + T], C = new Float32Array([I, _, P, _, I, z, I, z, P, _, P, z]);
6085
6085
  a.bindBuffer(a.ARRAY_BUFFER, s), a.bufferData(a.ARRAY_BUFFER, C, a.STATIC_DRAW), a.drawArrays(a.TRIANGLES, 0, 6);
6086
6086
  }
6087
6087
  } catch (p) {
@@ -6784,10 +6784,10 @@ const vs = /* @__PURE__ */ K(bs, [["render", xs]]), _s = {
6784
6784
  </svg>`;
6785
6785
  n.src = "data:image/svg+xml;base64," + window.btoa(g);
6786
6786
  const p = [n];
6787
- let y = 0;
6787
+ let f = 0;
6788
6788
  p.forEach((w) => {
6789
6789
  w.onload = () => {
6790
- y++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), y === 1 && this.map.addLayer(
6790
+ f++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), f === 1 && this.map.addLayer(
6791
6791
  {
6792
6792
  id: this.directionLayer,
6793
6793
  type: "symbol",
@@ -8642,11 +8642,11 @@ const wn = {
8642
8642
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
8643
8643
  },
8644
8644
  async fetchWeatherLayers(t = {}) {
8645
- var o, r, s, c, n, g, p, y, w;
8645
+ var o, r, s, c, n, g, p, f, w;
8646
8646
  const e = (/* @__PURE__ */ new Date()).valueOf();
8647
8647
  let a = 0, i = 0;
8648
8648
  if (this.map) {
8649
- const _ = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), z = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
8649
+ const L = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, y = (r = this.map) == null ? void 0 : r.getBounds(), k = `${y._sw.lng},${y._sw.lat},${y._ne.lng},${y._ne.lat}`;
8650
8650
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
8651
8651
  const T = ia.WEATHER_LAYERS.find((O) => {
8652
8652
  var I;
@@ -8658,7 +8658,7 @@ const wn = {
8658
8658
  let T = this.weatherWeight;
8659
8659
  if (T > 0) {
8660
8660
  const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
8661
- `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${_}&bbox=${z}&t=${this.realTime}`,
8661
+ `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${L}&bbox=${k}&t=${this.realTime}`,
8662
8662
  {
8663
8663
  headers: {
8664
8664
  Authorization: this.defaultMeteoToken
@@ -8666,9 +8666,9 @@ const wn = {
8666
8666
  }
8667
8667
  );
8668
8668
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + a), console.log("weather links elapsed: ", i, ", total: ", a += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
8669
- const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
8669
+ const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, _ = [];
8670
8670
  for (const C in P)
8671
- k.push(
8671
+ _.push(
8672
8672
  Se.get(P[C], {
8673
8673
  headers: {
8674
8674
  Authorization: this.defaultMeteoToken,
@@ -8679,8 +8679,8 @@ const wn = {
8679
8679
  console.log(`[${C}] fetch layer error: ${v}`);
8680
8680
  })
8681
8681
  );
8682
- const L = await Promise.all(k);
8683
- this.weatherLayers = {}, L.map((C) => {
8682
+ const z = await Promise.all(_);
8683
+ this.weatherLayers = {}, z.map((C) => {
8684
8684
  var W, Z, q, V;
8685
8685
  const v = ((W = C == null ? void 0 : C.data) == null ? void 0 : W.data) || (C == null ? void 0 : C.data);
8686
8686
  let A = (q = (Z = C == null ? void 0 : C.config) == null ? void 0 : Z.headers) == null ? void 0 : q.key;
@@ -8692,20 +8692,20 @@ const wn = {
8692
8692
  });
8693
8693
  }
8694
8694
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + a), console.log("weather layers elapsed: ", i, ", total: ", a += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8695
- const P = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, k = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
8695
+ const P = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, _ = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
8696
8696
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8697
8697
  type: "json",
8698
8698
  direction: P,
8699
- height: { raw: k },
8699
+ height: { raw: _ },
8700
8700
  etime: I.data.etime
8701
8701
  };
8702
8702
  }
8703
8703
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8704
- const P = (y = this.weatherLayers["current-direction"]) == null ? void 0 : y.raw, k = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
8704
+ const P = (f = this.weatherLayers["current-direction"]) == null ? void 0 : f.raw, _ = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
8705
8705
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8706
8706
  type: "json",
8707
8707
  direction: P,
8708
- speed: { raw: k },
8708
+ speed: { raw: _ },
8709
8709
  etime: I.data.etime
8710
8710
  };
8711
8711
  }
@@ -8728,7 +8728,7 @@ const wn = {
8728
8728
  t != null && t.sourceChanged || this.weatherWeight !== e ? (this.weatherWeight = e, this.fetchWeatherLayers()) : this.handleWeatherLayerToggle();
8729
8729
  },
8730
8730
  handleRampColorInitial() {
8731
- var t, e, a, i, o, r, s, c, n, g, p, y;
8731
+ var t, e, a, i, o, r, s, c, n, g, p, f;
8732
8732
  this.viewport.map.getSource((t = this.viewport) == null ? void 0 : t.rampColorSource) || this.viewport.map.addSource((e = this.viewport) == null ? void 0 : e.rampColorSource, {
8733
8733
  type: "canvas",
8734
8734
  canvas: (a = this.viewport) == null ? void 0 : a.rampColorCanvas,
@@ -8753,7 +8753,7 @@ const wn = {
8753
8753
  {
8754
8754
  type: "raster",
8755
8755
  id: (p = this.viewport) == null ? void 0 : p.particleLayer,
8756
- source: (y = this.viewport) == null ? void 0 : y.particleSource,
8756
+ source: (f = this.viewport) == null ? void 0 : f.particleSource,
8757
8757
  layout: {
8758
8758
  visibility: "none"
8759
8759
  }
@@ -8762,7 +8762,7 @@ const wn = {
8762
8762
  );
8763
8763
  },
8764
8764
  handleDrawWeather4Json() {
8765
- var g, p, y, w, _, f, z;
8765
+ var g, p, f, w, L, y, k;
8766
8766
  const t = (/* @__PURE__ */ new Date()).valueOf();
8767
8767
  let e = 0, a = 0;
8768
8768
  const i = (g = this.map) == null ? void 0 : g.getBounds(), o = (p = this.map) == null ? void 0 : p.getZoom(), r = X.convertToStdLng(i._sw.lng), s = X.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
@@ -8772,24 +8772,24 @@ const wn = {
8772
8772
  let I = [];
8773
8773
  if (T === "swell") {
8774
8774
  O = !0;
8775
- const P = ((y = this.weatherLayers[T]) == null ? void 0 : y.direction) || {};
8776
- for (const L in P)
8777
- if (L > c && L < n && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8778
- const C = P[L].lng;
8775
+ const P = ((f = this.weatherLayers[T]) == null ? void 0 : f.direction) || {};
8776
+ for (const z in P)
8777
+ if (z > c && z < n && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8778
+ const C = P[z].lng;
8779
8779
  r > s ? C.forEach((v, A) => {
8780
8780
  var W, Z, q, V, Q, ee;
8781
8781
  if (o < 2) {
8782
8782
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8783
- const J = U.point([v, L], {
8784
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8785
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8783
+ const J = U.point([v, z], {
8784
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8785
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8786
8786
  });
8787
8787
  I.push(J);
8788
8788
  }
8789
8789
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8790
- const J = U.point([v, L], {
8791
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8792
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8790
+ const J = U.point([v, z], {
8791
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8792
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8793
8793
  });
8794
8794
  I.push(J);
8795
8795
  }
@@ -8797,63 +8797,63 @@ const wn = {
8797
8797
  var W, Z, q, V, Q, ee;
8798
8798
  if (r < 2) {
8799
8799
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8800
- const J = U.point([v, L], {
8801
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8802
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8800
+ const J = U.point([v, z], {
8801
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8802
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8803
8803
  });
8804
8804
  I.push(J);
8805
8805
  }
8806
8806
  } else if (v >= r && v <= s && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8807
- const J = U.point([v, L], {
8808
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8809
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8807
+ const J = U.point([v, z], {
8808
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8809
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8810
8810
  });
8811
8811
  I.push(J);
8812
8812
  }
8813
8813
  });
8814
8814
  }
8815
8815
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", a, ", total: ", e += a);
8816
- const k = this.weatherLayers[T].height;
8817
- if (k) {
8818
- if (!k.data) {
8819
- const L = [];
8820
- for (const C in (w = k.raw) == null ? void 0 : w.LineString) {
8821
- const v = k.raw.LineString[C];
8816
+ const _ = this.weatherLayers[T].height;
8817
+ if (_) {
8818
+ if (!_.data) {
8819
+ const z = [];
8820
+ for (const C in (w = _.raw) == null ? void 0 : w.LineString) {
8821
+ const v = _.raw.LineString[C];
8822
8822
  for (const A of v)
8823
- L.push(
8823
+ z.push(
8824
8824
  U.lineString(A, {
8825
8825
  val: Number(C)
8826
8826
  })
8827
8827
  );
8828
- k.data = U.featureCollection(L);
8828
+ _.data = U.featureCollection(z);
8829
8829
  }
8830
8830
  }
8831
- if (k.data) {
8832
- const L = this.handleBboxClip(k.data, i);
8833
- I = I.concat(L);
8831
+ if (_.data) {
8832
+ const z = this.handleBboxClip(_.data, i);
8833
+ I = I.concat(z);
8834
8834
  }
8835
8835
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", a, ", total: ", e += a);
8836
8836
  }
8837
8837
  } else if (T === "current") {
8838
8838
  O = !0;
8839
- const P = ((_ = this.weatherLayers[T]) == null ? void 0 : _.direction) || {};
8840
- for (const L in P)
8841
- if (L > c && L < n && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8842
- const C = P[L].lng;
8839
+ const P = ((L = this.weatherLayers[T]) == null ? void 0 : L.direction) || {};
8840
+ for (const z in P)
8841
+ if (z > c && z < n && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8842
+ const C = P[z].lng;
8843
8843
  r > s ? C.forEach((v, A) => {
8844
8844
  var W, Z, q, V, Q, ee;
8845
8845
  if (o < 2) {
8846
8846
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8847
- const J = U.point([v, L], {
8848
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8849
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8847
+ const J = U.point([v, z], {
8848
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8849
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8850
8850
  });
8851
8851
  I.push(J);
8852
8852
  }
8853
8853
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8854
- const J = U.point([v, L], {
8855
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8856
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8854
+ const J = U.point([v, z], {
8855
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8856
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8857
8857
  });
8858
8858
  I.push(J);
8859
8859
  }
@@ -8861,28 +8861,28 @@ const wn = {
8861
8861
  var W, Z, q, V, Q, ee;
8862
8862
  if (r < 2) {
8863
8863
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8864
- const J = U.point([v, L], {
8865
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8866
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8864
+ const J = U.point([v, z], {
8865
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8866
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8867
8867
  });
8868
8868
  I.push(J);
8869
8869
  }
8870
8870
  } else if (v >= r && v <= s && (!(o <= this.zoom) || v % (o < this.zoom / 2 ? 5 : 3) === 0)) {
8871
- const J = U.point([v, L], {
8872
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8873
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8871
+ const J = U.point([v, z], {
8872
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8873
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8874
8874
  });
8875
8875
  I.push(J);
8876
8876
  }
8877
8877
  });
8878
8878
  }
8879
8879
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", a, ", total: ", e += a);
8880
- const k = this.weatherLayers[T].speed;
8881
- if (k) {
8882
- if (!k.data) {
8880
+ const _ = this.weatherLayers[T].speed;
8881
+ if (_) {
8882
+ if (!_.data) {
8883
8883
  const C = [];
8884
- for (const v in (f = k.raw) == null ? void 0 : f.Polygon) {
8885
- const A = k.raw.Polygon[v];
8884
+ for (const v in (y = _.raw) == null ? void 0 : y.Polygon) {
8885
+ const A = _.raw.Polygon[v];
8886
8886
  for (const W of A)
8887
8887
  C.push(
8888
8888
  U.polygon(W, {
@@ -8890,48 +8890,48 @@ const wn = {
8890
8890
  })
8891
8891
  );
8892
8892
  }
8893
- k.data = U.featureCollection(C);
8893
+ _.data = U.featureCollection(C);
8894
8894
  }
8895
- const L = o < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
8896
- I = I.concat(L), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", a, ", total: ", e += a);
8895
+ const z = o < this.zoom ? _.data.features.filter((C) => C.properties.val > 0.5) : _.data.features;
8896
+ I = I.concat(z), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", a, ", total: ", e += a);
8897
8897
  }
8898
8898
  } else if (T === "wind") {
8899
8899
  O = !0;
8900
8900
  const P = this.weatherLayers.wind.raw;
8901
- for (const k in P)
8902
- if (k > c && k < n && (!(o <= this.zoom) || k % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8903
- const L = P[k].lng;
8904
- r > s ? L.forEach((C, v) => {
8901
+ for (const _ in P)
8902
+ if (_ > c && _ < n && (!(o <= this.zoom) || _ % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8903
+ const z = P[_].lng;
8904
+ r > s ? z.forEach((C, v) => {
8905
8905
  var A, W, Z, q;
8906
8906
  if (o < 2) {
8907
8907
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8908
- const V = U.point([C, k], {
8909
- dir: ((A = P[k].val) == null ? void 0 : A[v]) || ((W = P[k].dir) == null ? void 0 : W[v]),
8910
- spd: P[k].spd[v]
8908
+ const V = U.point([C, _], {
8909
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((W = P[_].dir) == null ? void 0 : W[v]),
8910
+ spd: P[_].spd[v]
8911
8911
  });
8912
8912
  I.push(V);
8913
8913
  }
8914
8914
  } else if ((C >= r && C <= 180 || C >= -180 && C <= s) && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8915
- const V = U.point([C, k], {
8916
- dir: ((Z = P[k].val) == null ? void 0 : Z[v]) || ((q = P[k].dir) == null ? void 0 : q[v]),
8917
- spd: P[k].spd[v]
8915
+ const V = U.point([C, _], {
8916
+ dir: ((Z = P[_].val) == null ? void 0 : Z[v]) || ((q = P[_].dir) == null ? void 0 : q[v]),
8917
+ spd: P[_].spd[v]
8918
8918
  });
8919
8919
  I.push(V);
8920
8920
  }
8921
- }) : L.forEach((C, v) => {
8921
+ }) : z.forEach((C, v) => {
8922
8922
  var A, W, Z, q;
8923
8923
  if (o < 2) {
8924
8924
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8925
- const V = U.point([C, k], {
8926
- dir: ((A = P[k].val) == null ? void 0 : A[v]) || ((W = P[k].dir) == null ? void 0 : W[v]),
8927
- spd: P[k].spd[v]
8925
+ const V = U.point([C, _], {
8926
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((W = P[_].dir) == null ? void 0 : W[v]),
8927
+ spd: P[_].spd[v]
8928
8928
  });
8929
8929
  I.push(V);
8930
8930
  }
8931
8931
  } else if (C >= r && C <= s && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8932
- const V = U.point([C, k], {
8933
- dir: ((Z = P[k].val) == null ? void 0 : Z[v]) || ((q = P[k].dir) == null ? void 0 : q[v]),
8934
- spd: P[k].spd[v]
8932
+ const V = U.point([C, _], {
8933
+ dir: ((Z = P[_].val) == null ? void 0 : Z[v]) || ((q = P[_].dir) == null ? void 0 : q[v]),
8934
+ spd: P[_].spd[v]
8935
8935
  });
8936
8936
  I.push(V);
8937
8937
  }
@@ -8945,35 +8945,35 @@ const wn = {
8945
8945
  O = !0;
8946
8946
  const P = this.weatherLayers[T].raw;
8947
8947
  if (P) {
8948
- const k = [];
8949
- for (const L in P.Polygon) {
8950
- const C = P.Polygon[L];
8948
+ const _ = [];
8949
+ for (const z in P.Polygon) {
8950
+ const C = P.Polygon[z];
8951
8951
  for (const v of C)
8952
- k.push(
8952
+ _.push(
8953
8953
  U.polygon(v, {
8954
- val: Number(L)
8954
+ val: Number(z)
8955
8955
  })
8956
8956
  );
8957
8957
  }
8958
- for (const L in P.MultiPolygon) {
8959
- const C = P.MultiPolygon[L];
8958
+ for (const z in P.MultiPolygon) {
8959
+ const C = P.MultiPolygon[z];
8960
8960
  for (const v of C)
8961
- k.push(
8961
+ _.push(
8962
8962
  U.multiPolygon(v, {
8963
- val: Number(L)
8963
+ val: Number(z)
8964
8964
  })
8965
8965
  );
8966
8966
  }
8967
- for (const L in P.Point) {
8968
- const C = P.Point[L];
8969
- for (let v = 0; v < ((z = C.lng) == null ? void 0 : z.length); v++)
8970
- k.push(
8971
- U.point([C.lng[v], L], {
8967
+ for (const z in P.Point) {
8968
+ const C = P.Point[z];
8969
+ for (let v = 0; v < ((k = C.lng) == null ? void 0 : k.length); v++)
8970
+ _.push(
8971
+ U.point([C.lng[v], z], {
8972
8972
  val: Number(C.val[v])
8973
8973
  })
8974
8974
  );
8975
8975
  }
8976
- I = I.concat(k);
8976
+ I = I.concat(_);
8977
8977
  }
8978
8978
  }
8979
8979
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", a, ", total: ", e += a);
@@ -8984,26 +8984,26 @@ const wn = {
8984
8984
  O = !0;
8985
8985
  const P = this.weatherLayers[T].raw;
8986
8986
  if (P) {
8987
- const k = [];
8988
- for (const L in P.LineString) {
8989
- const C = P.LineString[L];
8987
+ const _ = [];
8988
+ for (const z in P.LineString) {
8989
+ const C = P.LineString[z];
8990
8990
  for (const v of C)
8991
- k.push(
8991
+ _.push(
8992
8992
  U.lineString(v, {
8993
- val: Number(L)
8993
+ val: Number(z)
8994
8994
  })
8995
8995
  );
8996
8996
  }
8997
- for (const L in P.Point)
8998
- P.Point[L].lng.forEach((C, v) => {
8999
- C = X.convertToStdLng(C), k.push(
9000
- U.point([C, L], {
9001
- val: P.Point[L].val[v],
9002
- type: P.Point[L].type[v]
8997
+ for (const z in P.Point)
8998
+ P.Point[z].lng.forEach((C, v) => {
8999
+ C = X.convertToStdLng(C), _.push(
9000
+ U.point([C, z], {
9001
+ val: P.Point[z].val[v],
9002
+ type: P.Point[z].type[v]
9003
9003
  })
9004
9004
  );
9005
9005
  });
9006
- I = I.concat(k);
9006
+ I = I.concat(_);
9007
9007
  }
9008
9008
  }
9009
9009
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", a, ", total: ", e += a);
@@ -9051,7 +9051,7 @@ const wn = {
9051
9051
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, Nn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" };
9052
9052
  function Qn(t, e, a, i, o, r) {
9053
9053
  var pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e;
9054
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), y = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), f = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), k = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), W = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9054
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), f = x("VDivider"), w = x("VCard"), L = x("VSwitch"), y = x("VCardTitle"), k = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), z = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), W = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9055
9055
  return b(), S("div", xn, [
9056
9056
  l("div", {
9057
9057
  class: "menu-bar-box transition pa-1",
@@ -9142,7 +9142,7 @@ function Qn(t, e, a, i, o, r) {
9142
9142
  _: 1,
9143
9143
  __: [10]
9144
9144
  }),
9145
- h(y, { vertical: "" }),
9145
+ h(f, { vertical: "" }),
9146
9146
  h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9147
9147
  default: u(() => [
9148
9148
  e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
@@ -9174,7 +9174,7 @@ function Qn(t, e, a, i, o, r) {
9174
9174
  _: 1,
9175
9175
  __: [11]
9176
9176
  }),
9177
- h(y, { vertical: "" }),
9177
+ h(f, { vertical: "" }),
9178
9178
  h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9179
9179
  default: u(() => [
9180
9180
  e[12] || (e[12] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
@@ -9219,7 +9219,7 @@ function Qn(t, e, a, i, o, r) {
9219
9219
  l("div", In, [
9220
9220
  l("div", Mn, [
9221
9221
  l("div", An, m(t.$t("weather.weather")), 1),
9222
- h(_, {
9222
+ h(L, {
9223
9223
  modelValue: o.autoActive,
9224
9224
  "onUpdate:modelValue": e[1] || (e[1] = (H) => o.autoActive = H),
9225
9225
  class: "small-switch",
@@ -9250,9 +9250,9 @@ function Qn(t, e, a, i, o, r) {
9250
9250
  elevation: "0"
9251
9251
  }, {
9252
9252
  default: u(() => [
9253
- h(z, { class: "border-b-thin" }, {
9253
+ h(k, { class: "border-b-thin" }, {
9254
9254
  default: u(() => [
9255
- h(f, {
9255
+ h(y, {
9256
9256
  class: "text-subtitle-1 font-weight-medium",
9257
9257
  style: { "font-size": "16px !important" }
9258
9258
  }, {
@@ -9290,9 +9290,9 @@ function Qn(t, e, a, i, o, r) {
9290
9290
  elevation: "0"
9291
9291
  }, {
9292
9292
  default: u(() => [
9293
- h(z, { class: "border-b-thin" }, {
9293
+ h(k, { class: "border-b-thin" }, {
9294
9294
  default: u(() => [
9295
- h(f, {
9295
+ h(y, {
9296
9296
  class: "text-subtitle-1 font-weight-medium",
9297
9297
  style: { "font-size": "16px !important" }
9298
9298
  }, {
@@ -9324,7 +9324,7 @@ function Qn(t, e, a, i, o, r) {
9324
9324
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9325
9325
  o.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), S("div", Dn, [
9326
9326
  l("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9327
- h(_, {
9327
+ h(L, {
9328
9328
  modelValue: o.showWindParticle,
9329
9329
  "onUpdate:modelValue": e[4] || (e[4] = (te) => o.showWindParticle = te),
9330
9330
  label: "",
@@ -9338,7 +9338,7 @@ function Qn(t, e, a, i, o, r) {
9338
9338
  ])) : M("", !0),
9339
9339
  o.renderKey === "current-particle" && H.key === "current-particle" ? (b(), S("div", Rn, [
9340
9340
  l("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9341
- h(_, {
9341
+ h(L, {
9342
9342
  modelValue: o.showCurrentParticle,
9343
9343
  "onUpdate:modelValue": e[5] || (e[5] = (te) => o.showCurrentParticle = te),
9344
9344
  label: "",
@@ -9448,9 +9448,9 @@ function Qn(t, e, a, i, o, r) {
9448
9448
  elevation: "0"
9449
9449
  }, {
9450
9450
  default: u(() => [
9451
- h(z, { class: "border-b-thin" }, {
9451
+ h(k, { class: "border-b-thin" }, {
9452
9452
  default: u(() => [
9453
- h(f, {
9453
+ h(y, {
9454
9454
  class: "text-subtitle-1 font-weight-medium",
9455
9455
  style: { "font-size": "16px !important" }
9456
9456
  }, {
@@ -9473,7 +9473,7 @@ function Qn(t, e, a, i, o, r) {
9473
9473
  l("div", jn, m((N = (Ne = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : Ne.ECMWF) == null ? void 0 : N.source) + " " + m((Ze = (Ve = (Y = o.models) == null ? void 0 : Y.weather) == null ? void 0 : Ve.ECMWF) == null ? void 0 : Ze.spatialResolution) + m(t.$t("units.km")) + " " + m((Ke = (Ye = (Te = (qe = o.models) == null ? void 0 : qe.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : Ke.days) + m(t.$t("units.days")), 1),
9474
9474
  l("div", Fn, m(t.$t("weather.source")) + ": ECMWF", 1),
9475
9475
  l("div", Hn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Qe = (Je = ($e = (Xe = o.models) == null ? void 0 : Xe.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.initialisationTime)), 1),
9476
- h(y),
9476
+ h(f),
9477
9477
  l("div", Un, m(t.$t("weather.wave")), 1),
9478
9478
  l("div", Wn, m((ot = (at = (tt = (et = o.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : at.NOAA) == null ? void 0 : ot.source) + " " + m((st = (lt = (rt = (it = o.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.spatialResolution) + m(t.$t("units.km")) + " " + m((ht = (dt = (mt = (ct = (nt = o.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : ht.days) + m(t.$t("units.days")), 1),
9479
9479
  l("div", Gn, m(t.$t("weather.source")) + ": NOAA", 1),
@@ -9481,7 +9481,7 @@ function Qn(t, e, a, i, o, r) {
9481
9481
  l("div", Zn, m((vt = (xt = (wt = (bt = o.models) == null ? void 0 : bt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.source) + " " + m((Lt = (zt = (kt = (_t = o.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.spatialResolution) + m(t.$t("units.km")) + " " + m((It = (St = (Tt = (Ct = (Pt = o.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : It.days) + m(t.$t("units.days")), 1),
9482
9482
  l("div", qn, m(t.$t("weather.source")) + ": ECMWF", 1),
9483
9483
  l("div", Yn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ot = (Rt = (Dt = (At = (Mt = o.models) == null ? void 0 : Mt.marine) == null ? void 0 : At.wave) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9484
- h(y),
9484
+ h(f),
9485
9485
  l("div", Kn, m(t.$t("weather.currents")), 1),
9486
9486
  l("div", Xn, m((jt = (Et = (Nt = (Bt = o.models) == null ? void 0 : Bt.marine) == null ? void 0 : Nt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + m((Wt = (Ut = (Ht = (Ft = o.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Ut.ECMWF) == null ? void 0 : Wt.spatialResolution) + m(t.$t("units.km")) + " " + m((Yt = (qt = (Zt = (Vt = (Gt = o.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : qt.meta) == null ? void 0 : Yt.days) + m(t.$t("units.days")), 1),
9487
9487
  l("div", $n, m(t.$t("weather.source")) + ": ECMWF", 1),
@@ -9504,7 +9504,7 @@ function Qn(t, e, a, i, o, r) {
9504
9504
  wind: (pe = o.weatherLayers) == null ? void 0 : pe.wind,
9505
9505
  "menu-toggle": a.menuToggle
9506
9506
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : M("", !0),
9507
- a.map ? (b(), R(k, B({
9507
+ a.map ? (b(), R(_, B({
9508
9508
  key: 2,
9509
9509
  map: a.map,
9510
9510
  "before-layer": "empty-layer-2",
@@ -9512,7 +9512,7 @@ function Qn(t, e, a, i, o, r) {
9512
9512
  "menu-toggle": a.menuToggle,
9513
9513
  "active-weather-layers": o.activeWeatherLayers
9514
9514
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : M("", !0),
9515
- a.map ? (b(), R(L, B({
9515
+ a.map ? (b(), R(z, B({
9516
9516
  key: 3,
9517
9517
  map: a.map,
9518
9518
  "map-feather": a.mapFeather,
@@ -9915,18 +9915,18 @@ class Zo {
9915
9915
  const o = e.toLowerCase().split(","), r = [], s = [];
9916
9916
  for (const c of o) {
9917
9917
  let n = ta.find((p) => {
9918
- var y, w, _;
9919
- return ((y = p.models) == null ? void 0 : y.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = p.name) == null ? void 0 : _.toLowerCase()) === c;
9918
+ var f, w, L;
9919
+ return ((f = p.models) == null ? void 0 : f.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((L = p.name) == null ? void 0 : L.toLowerCase()) === c;
9920
9920
  }), g = aa.find((p) => {
9921
- var y, w, _;
9922
- return ((y = p.models) == null ? void 0 : y.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = p.name) == null ? void 0 : _.toLowerCase()) === c;
9921
+ var f, w, L;
9922
+ return ((f = p.models) == null ? void 0 : f.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((L = p.name) == null ? void 0 : L.toLowerCase()) === c;
9923
9923
  });
9924
9924
  n = n || ta.find((p) => {
9925
- var y, w;
9926
- return ((y = p.alias) == null ? void 0 : y.toLowerCase()) === ((w = g == null ? void 0 : g.alias) == null ? void 0 : w.toLowerCase());
9925
+ var f, w;
9926
+ return ((f = p.alias) == null ? void 0 : f.toLowerCase()) === ((w = g == null ? void 0 : g.alias) == null ? void 0 : w.toLowerCase());
9927
9927
  }), g = g || aa.find((p) => {
9928
- var y, w;
9929
- return ((y = p.alias) == null ? void 0 : y.toLowerCase()) === ((w = n == null ? void 0 : n.alias) == null ? void 0 : w.toLowerCase());
9928
+ var f, w;
9929
+ return ((f = p.alias) == null ? void 0 : f.toLowerCase()) === ((w = n == null ? void 0 : n.alias) == null ? void 0 : w.toLowerCase());
9930
9930
  }), n = n || ta[0], g = g || aa[0], r.push((a = n.models) != null && a.includes(c) ? c : n.model), s.push((i = g.models) != null && i.includes(c) ? c : g.model);
9931
9931
  }
9932
9932
  return {
@@ -9944,7 +9944,7 @@ class Zo {
9944
9944
  }), o;
9945
9945
  }
9946
9946
  static pickHourly(e, a) {
9947
- var i, o, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie;
9947
+ var i, o, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie;
9948
9948
  const ge = typeof a == "string" ? D(a) : a, fe = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, Ce = D((o = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), ae = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), le = Ce.clone().add((p = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9949
9949
  if (ge.isBetween(ae, le, "millisecond", "[]")) {
9950
9950
  const E = ge.utc().diff(ae, "h", !1);
@@ -9954,13 +9954,13 @@ class Zo {
9954
9954
  for (const N of fe) {
9955
9955
  const Y = N == null ? void 0 : N.hourly;
9956
9956
  for (let Te = E - (E - 1) % 3; Te <= E; Te++)
9957
- Be += (y = Y == null ? void 0 : Y.precipitation) == null ? void 0 : y.at(Te);
9957
+ Be += (f = Y == null ? void 0 : Y.precipitation) == null ? void 0 : f.at(Te);
9958
9958
  for (let Te = E - (E - 1) % 6; Te <= E; Te++)
9959
9959
  Ne += (w = Y == null ? void 0 : Y.precipitation) == null ? void 0 : w.at(Te);
9960
9960
  ye = {
9961
- temp: (_ = Y == null ? void 0 : Y.temperature_2m) == null ? void 0 : _.at(E),
9962
- apparentTemp: (f = Y == null ? void 0 : Y.apparent_temperature) == null ? void 0 : f.at(E),
9963
- rh: (z = Y == null ? void 0 : Y.relative_humidity_2m) == null ? void 0 : z.at(E),
9961
+ temp: (L = Y == null ? void 0 : Y.temperature_2m) == null ? void 0 : L.at(E),
9962
+ apparentTemp: (y = Y == null ? void 0 : Y.apparent_temperature) == null ? void 0 : y.at(E),
9963
+ rh: (k = Y == null ? void 0 : Y.relative_humidity_2m) == null ? void 0 : k.at(E),
9964
9964
  dp: (T = Y == null ? void 0 : Y.dew_point_2m) == null ? void 0 : T.at(E),
9965
9965
  precip: {
9966
9966
  probability: (O = Y == null ? void 0 : Y.precipitation_probability) == null ? void 0 : O.at(E),
@@ -9969,8 +9969,8 @@ class Zo {
9969
9969
  sum6Hours: Math.round(Ne * 100) / 100
9970
9970
  },
9971
9971
  pmsl: (P = Y == null ? void 0 : Y.pressure_msl) == null ? void 0 : P.at(E),
9972
- psurf: (k = Y == null ? void 0 : Y.surface_pressure) == null ? void 0 : k.at(E),
9973
- code: (L = Y == null ? void 0 : Y.weather_code) == null ? void 0 : L.at(E),
9972
+ psurf: (_ = Y == null ? void 0 : Y.surface_pressure) == null ? void 0 : _.at(E),
9973
+ code: (z = Y == null ? void 0 : Y.weather_code) == null ? void 0 : z.at(E),
9974
9974
  visibility: this.m2nm((C = Y == null ? void 0 : Y.visibility) == null ? void 0 : C.at(E)),
9975
9975
  wind: {
9976
9976
  speed: (v = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : v.at(E),
@@ -10031,7 +10031,7 @@ class Zo {
10031
10031
  return Oe;
10032
10032
  }
10033
10033
  static toLegacy(e) {
10034
- var a, i, o, r, s, c, n, g, p, y;
10034
+ var a, i, o, r, s, c, n, g, p, f;
10035
10035
  return {
10036
10036
  wind: (a = e == null ? void 0 : e.weather) == null ? void 0 : a.wind,
10037
10037
  visibility: (i = e == null ? void 0 : e.weather) == null ? void 0 : i.visibility,
@@ -10043,7 +10043,7 @@ class Zo {
10043
10043
  precip: (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip,
10044
10044
  code: (g = e == null ? void 0 : e.weather) == null ? void 0 : g.code,
10045
10045
  name: (p = e == null ? void 0 : e.weather) == null ? void 0 : p.name,
10046
- url: (y = e == null ? void 0 : e.weather) == null ? void 0 : y.url,
10046
+ url: (f = e == null ? void 0 : e.weather) == null ? void 0 : f.url,
10047
10047
  wave: e == null ? void 0 : e.wave,
10048
10048
  current: e == null ? void 0 : e.current,
10049
10049
  sst: e == null ? void 0 : e.sst,
@@ -10053,7 +10053,7 @@ class Zo {
10053
10053
  };
10054
10054
  }
10055
10055
  static pickDaily(e, a) {
10056
- var i, o, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De;
10056
+ var i, o, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De;
10057
10057
  const Re = typeof a == "string" ? D(a) : a, _e = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = D((r = (o = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Fe = D((n = (c = (s = _e == null ? void 0 : _e[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
10058
10058
  if (Re.isBetween(te, Fe, "millisecond", "[]")) {
10059
10059
  let ge, fe;
@@ -10065,23 +10065,23 @@ class Zo {
10065
10065
  code: (g = ae.weather_code) == null ? void 0 : g.at(G),
10066
10066
  temp: {
10067
10067
  max: (p = ae.temperature_2m_max) == null ? void 0 : p.at(G),
10068
- min: (y = ae.temperature_2m_min) == null ? void 0 : y.at(G),
10068
+ min: (f = ae.temperature_2m_min) == null ? void 0 : f.at(G),
10069
10069
  mean: (w = ae.temperature_2m_mean) == null ? void 0 : w.at(G)
10070
10070
  },
10071
10071
  apparentTemp: {
10072
- max: (_ = ae.apparent_temperature_max) == null ? void 0 : _.at(G),
10073
- min: (f = ae.apparent_temperature_min) == null ? void 0 : f.at(G)
10072
+ max: (L = ae.apparent_temperature_max) == null ? void 0 : L.at(G),
10073
+ min: (y = ae.apparent_temperature_min) == null ? void 0 : y.at(G)
10074
10074
  },
10075
10075
  precip: {
10076
- sum: (z = ae.precipitation_sum) == null ? void 0 : z.at(G),
10076
+ sum: (k = ae.precipitation_sum) == null ? void 0 : k.at(G),
10077
10077
  rainSum: (T = ae.rain_sum) == null ? void 0 : T.at(G),
10078
10078
  snowfallSum: (O = ae.snowfall_sum) == null ? void 0 : O.at(G),
10079
10079
  showersSum: (I = ae.showers_sum) == null ? void 0 : I.at(G),
10080
10080
  hours: (P = ae.precipitation_hours) == null ? void 0 : P.at(G),
10081
- probability: (k = ae.precipitation_probability_max) == null ? void 0 : k.at(G)
10081
+ probability: (_ = ae.precipitation_probability_max) == null ? void 0 : _.at(G)
10082
10082
  },
10083
10083
  rh: {
10084
- max: (L = ae.relative_humidity_2m_max) == null ? void 0 : L.at(G),
10084
+ max: (z = ae.relative_humidity_2m_max) == null ? void 0 : z.at(G),
10085
10085
  min: (C = ae.relative_humidity_2m_min) == null ? void 0 : C.at(G),
10086
10086
  mean: (v = ae.relative_humidity_2m_mean) == null ? void 0 : v.at(G)
10087
10087
  },
@@ -10704,7 +10704,7 @@ const tc = {
10704
10704
  },
10705
10705
  realTime: {
10706
10706
  handler(t) {
10707
- this.map && t && this.handleRender();
10707
+ this.map && t && this.toggle && this.handleRender();
10708
10708
  }
10709
10709
  }
10710
10710
  },
@@ -10734,10 +10734,10 @@ const tc = {
10734
10734
  },
10735
10735
  responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
10736
10736
  }).then((p) => {
10737
- var _, f, z;
10738
- const y = Vo.convert2Geojson(((_ = p == null ? void 0 : p.data) == null ? void 0 : _.data) || (p == null ? void 0 : p.data));
10739
- ((z = (f = p == null ? void 0 : p.config) == null ? void 0 : f.headers) == null ? void 0 : z.key) && y && (this.tropicals = {
10740
- data: y,
10737
+ var L, y, k;
10738
+ const f = Vo.convert2Geojson(((L = p == null ? void 0 : p.data) == null ? void 0 : L.data) || (p == null ? void 0 : p.data));
10739
+ ((k = (y = p == null ? void 0 : p.config) == null ? void 0 : y.headers) == null ? void 0 : k.key) && f && (this.tropicals = {
10740
+ data: f,
10741
10741
  active: !0,
10742
10742
  cached: !0,
10743
10743
  type: "json",
@@ -10754,49 +10754,49 @@ const tc = {
10754
10754
  handleRefresh() {
10755
10755
  var e, a;
10756
10756
  (((a = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : a.features) || []).forEach((i) => {
10757
- var o, r, s, c, n, g, p, y, w, _, f;
10757
+ var o, r, s, c, n, g, p, f, w, L, y;
10758
10758
  if (((o = i.geometry) == null ? void 0 : o.type) === "Point") {
10759
- let z = "";
10759
+ let k = "";
10760
10760
  switch (!0) {
10761
10761
  case ((r = i.properties.wind) == null ? void 0 : r.kts) < 32:
10762
- z = "TD";
10762
+ k = "TD";
10763
10763
  break;
10764
10764
  case ((s = i.properties.wind) == null ? void 0 : s.kts) < 47:
10765
- z = "TS";
10765
+ k = "TS";
10766
10766
  break;
10767
10767
  case ((c = i.properties.wind) == null ? void 0 : c.kts) < 63:
10768
- z = "STS";
10768
+ k = "STS";
10769
10769
  break;
10770
10770
  case ((n = i.properties.wind) == null ? void 0 : n.kts) < 79:
10771
- z = "TY";
10771
+ k = "TY";
10772
10772
  break;
10773
10773
  case ((g = i.properties.wind) == null ? void 0 : g.kts) < 94:
10774
- z = "STY";
10774
+ k = "STY";
10775
10775
  break;
10776
10776
  case ((p = i.properties.wind) == null ? void 0 : p.kts) >= 94:
10777
- z = "Super TY";
10777
+ k = "Super TY";
10778
10778
  break;
10779
10779
  default:
10780
- z = "Super TY";
10780
+ k = "Super TY";
10781
10781
  break;
10782
10782
  }
10783
- i.properties.level = z;
10783
+ i.properties.level = k;
10784
10784
  }
10785
- ((y = i.geometry) == null ? void 0 : y.type) === "Point" && ((w = i.properties) != null && w.important) && (i.properties.format = (f = (_ = D(i.properties.date)) == null ? void 0 : _.utcOffset(this.timeZone)) == null ? void 0 : f.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10785
+ ((f = i.geometry) == null ? void 0 : f.type) === "Point" && ((w = i.properties) != null && w.important) && (i.properties.format = (y = (L = D(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : y.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10786
10786
  }), this.handleInit();
10787
10787
  },
10788
10788
  handleInit() {
10789
- var t, e, a, i, o, r, s, c, n, g, p, y;
10790
- this.handleClear(), this.tropicals && this.map && (this.handleRender(), (t = this.map) == null || t.on("click", this.clickLayers, this.handleClick), (e = this.map) == null || e.on("mousemove", this.hoverLayers, this.handleHover), (a = this.map) == null || a.on("mouseleave", this.hoverLayers, this.handleLeave)), ((r = (o = (i = this.tropicals) == null ? void 0 : i.data) == null ? void 0 : o.features) == null ? void 0 : r.length) > 0 ? (n = (c = (s = this.$parent) == null ? void 0 : s.$refs) == null ? void 0 : c.idmBottomBar) == null || n.handleToggle("tropical", !0) : (y = (p = (g = this.$parent) == null ? void 0 : g.$refs) == null ? void 0 : p.idmBottomBar) == null || y.handleToggle("tropical", !1);
10789
+ var t, e, a, i, o, r, s, c, n, g, p, f;
10790
+ this.handleClear(), this.tropicals && this.map && (this.handleRender(), (t = this.map) == null || t.on("click", this.clickLayers, this.handleClick), (e = this.map) == null || e.on("mousemove", this.hoverLayers, this.handleHover), (a = this.map) == null || a.on("mouseleave", this.hoverLayers, this.handleLeave)), ((r = (o = (i = this.tropicals) == null ? void 0 : i.data) == null ? void 0 : o.features) == null ? void 0 : r.length) > 0 ? (n = (c = (s = this.$parent) == null ? void 0 : s.$refs) == null ? void 0 : c.idmBottomBar) == null || n.handleToggle("tropical", !0) : (f = (p = (g = this.$parent) == null ? void 0 : g.$refs) == null ? void 0 : p.idmBottomBar) == null || f.handleToggle("tropical", !1);
10791
10791
  },
10792
10792
  handleRender() {
10793
- var e, a, i, o, r, s, c, n, g, p;
10793
+ var t, e, a, i, o, r, s, c, n, g;
10794
10794
  if (this.tropicals && this.map) {
10795
- const y = (/* @__PURE__ */ new Date()).valueOf();
10796
- let w = 0, _ = 0;
10797
- (e = this.map) != null && e.getSource(this.source) ? ((i = this.map) == null || i.getSource(this.source).setData((a = this.tropicals) != null && a.active ? this.tropicals.data : this.empty), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropicals] update elapsed: ", _, ", total: ", w += _)) : (this.map.addSource(this.source, {
10795
+ const p = (/* @__PURE__ */ new Date()).valueOf();
10796
+ let f = 0, w = 0;
10797
+ (t = this.map) != null && t.getSource(this.source) ? ((a = this.map) == null || a.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropicals] update elapsed: ", w, ", total: ", f += w)) : (this.map.addSource(this.source, {
10798
10798
  type: "geojson",
10799
- data: (o = this.tropicals) != null && o.active ? (r = this.tropicals) == null ? void 0 : r.data : this.empty
10799
+ data: (i = this.tropicals) != null && i.active ? (o = this.tropicals) == null ? void 0 : o.data : this.empty
10800
10800
  }), this.map.addLayer({
10801
10801
  id: this.historyLayer,
10802
10802
  type: "line",
@@ -10891,9 +10891,9 @@ const tc = {
10891
10891
  ],
10892
10892
  "text-halo-width": 4
10893
10893
  }
10894
- }), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] add elapsed: ", _, ", total: ", w += _)), (s = this.map) != null && s.getSource(this.clusterSource) ? ((n = this.map) == null || n.getSource(this.clusterSource).setData((c = this.tropicals) != null && c.active ? this.tropicals.data : this.empty), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] update elapsed: ", _, ", total: ", w += _)) : (this.map.addSource(this.clusterSource, {
10894
+ }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", w, ", total: ", f += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] update elapsed: ", w, ", total: ", f += w)) : (this.map.addSource(this.clusterSource, {
10895
10895
  type: "geojson",
10896
- data: (g = this.tropicals) != null && g.active ? (p = this.tropicals) == null ? void 0 : p.data : this.empty
10896
+ data: (n = this.tropicals) != null && n.active ? (g = this.tropicals) == null ? void 0 : g.data : this.empty
10897
10897
  // cluster: true,
10898
10898
  // clusterRadius: 10, // 聚合半径
10899
10899
  }), this.map.addLayer({
@@ -11007,18 +11007,17 @@ const tc = {
11007
11007
  "text-halo-color": "#ffffff",
11008
11008
  "text-halo-width": 1
11009
11009
  }
11010
- }), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] add elapsed: ", _, ", total: ", w += _));
11010
+ }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", w, ", total: ", f += w)), this.handleDrawCircle();
11011
+ const L = Vo.interpolate(this.tropicals, 1);
11012
+ this.interpolateData = JSON.parse(JSON.stringify(L)), this.handleDateChange();
11011
11013
  }
11012
- this.handleDrawCircle();
11013
- const t = Vo.interpolate(this.tropicals, 1);
11014
- this.interpolateData = JSON.parse(JSON.stringify(t)), this.handleDateChange();
11015
11014
  },
11016
11015
  handleClear() {
11017
11016
  var t, e, a, i;
11018
11017
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((o) => o == null ? void 0 : o.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11019
11018
  },
11020
11019
  handleDateChange() {
11021
- var t, e, a, i, o, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J;
11020
+ var t, e, a, i, o, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J;
11022
11021
  if ((t = this.interpolateMarkers) == null || t.forEach((re) => re == null ? void 0 : re.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11023
11022
  const re = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), he = this.interpolateData.filter(($) => $.properties.date === (re == null ? void 0 : re.format()) && !$.properties.disabled), pe = this.handleComputePolygons(he), ne = U.featureCollection([...he]);
11024
11023
  pe.forEach(($) => {
@@ -11040,7 +11039,7 @@ const tc = {
11040
11039
  for (const $ of he)
11041
11040
  if (!$.properties.disabled) {
11042
11041
  let oe = "#f44336";
11043
- ((c = (s = $.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = $.properties) == null ? void 0 : n.wind) != null && g.kts) ? oe = "#03f869" : ((y = (p = $.properties) == null ? void 0 : p.wind) == null ? void 0 : y.kts) >= 32 && ((_ = (w = $.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? oe = "#f2f202" : ((z = (f = $.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = $.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? oe = "#ff9100" : ((P = (I = $.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((L = (k = $.properties) == null ? void 0 : k.wind) == null ? void 0 : L.kts) < 79 ? oe = "#f44336" : ((v = (C = $.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((W = (A = $.properties) == null ? void 0 : A.wind) == null ? void 0 : W.kts) < 94 ? oe = "#f903d0" : ((q = (Z = $.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? oe = "#8702f9" : oe = "#f44336";
11042
+ ((c = (s = $.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = $.properties) == null ? void 0 : n.wind) != null && g.kts) ? oe = "#03f869" : ((f = (p = $.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) >= 32 && ((L = (w = $.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) < 47 ? oe = "#f2f202" : ((k = (y = $.properties) == null ? void 0 : y.wind) == null ? void 0 : k.kts) >= 47 && ((O = (T = $.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? oe = "#ff9100" : ((P = (I = $.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((z = (_ = $.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? oe = "#f44336" : ((v = (C = $.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((W = (A = $.properties) == null ? void 0 : A.wind) == null ? void 0 : W.kts) < 94 ? oe = "#f903d0" : ((q = (Z = $.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? oe = "#8702f9" : oe = "#f44336";
11044
11043
  const ue = `<svg t="1719918955501"
11045
11044
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11046
11045
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11064,23 +11063,23 @@ const tc = {
11064
11063
  (ee = this.map) != null && ee.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
11065
11064
  },
11066
11065
  handleClick(t) {
11067
- var o, r, s, c, n, g, p, y;
11066
+ var o, r, s, c, n, g, p, f;
11068
11067
  const e = t.features[0], a = (r = (o = this.tropicals) == null ? void 0 : o.data) == null ? void 0 : r.features.filter(
11069
11068
  (w) => {
11070
- var _;
11071
- return w.geometry.type === "LineString" && w.properties.type === "forecast" && w.properties.name === ((_ = e == null ? void 0 : e.properties) == null ? void 0 : _.name);
11069
+ var L;
11070
+ return w.geometry.type === "LineString" && w.properties.type === "forecast" && w.properties.name === ((L = e == null ? void 0 : e.properties) == null ? void 0 : L.name);
11072
11071
  }
11073
11072
  ), i = (c = (s = this.tropicals) == null ? void 0 : s.data) == null ? void 0 : c.features.filter(
11074
11073
  (w) => {
11075
- var _;
11076
- return w.geometry.type === "LineString" && w.properties.type === "history" && w.properties.name === ((_ = e == null ? void 0 : e.properties) == null ? void 0 : _.name);
11074
+ var L;
11075
+ return w.geometry.type === "LineString" && w.properties.type === "history" && w.properties.name === ((L = e == null ? void 0 : e.properties) == null ? void 0 : L.name);
11077
11076
  }
11078
11077
  );
11079
11078
  this.activeTropicals = {
11080
11079
  name: (n = e == null ? void 0 : e.properties) == null ? void 0 : n.name,
11081
11080
  forecasts: a.map((w) => w.properties),
11082
11081
  history: (g = i[0]) == null ? void 0 : g.properties,
11083
- showCircle: (y = (p = a[0]) == null ? void 0 : p.properties) == null ? void 0 : y.showCircle
11082
+ showCircle: (f = (p = a[0]) == null ? void 0 : p.properties) == null ? void 0 : f.showCircle
11084
11083
  }, this.showTropicalsInfo = !0, this.$nextTick(() => {
11085
11084
  const w = document.getElementById("idm-tropical-gl4-info");
11086
11085
  this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(w).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
@@ -11239,7 +11238,7 @@ const tc = {
11239
11238
  class: "d-flex justify-start align-center"
11240
11239
  }, Vc = { class: "text-label pr-1" }, Zc = { class: "d-flex justify-start align-center" }, qc = { class: "text-label pr-1" };
11241
11240
  function Yc(t, e, a, i, o, r) {
11242
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), y = x("VCard"), w = x("v-card-title"), _ = x("v-divider");
11241
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), f = x("VCard"), w = x("v-card-title"), L = x("v-divider");
11243
11242
  return b(), S("div", ac, [
11244
11243
  l("div", {
11245
11244
  class: "menu-bar-box transition pa-1",
@@ -11249,8 +11248,8 @@ function Yc(t, e, a, i, o, r) {
11249
11248
  text: t.$t("tropical.tropicals"),
11250
11249
  location: "left"
11251
11250
  }, {
11252
- activator: u(({ props: f }) => [
11253
- h(s, B(f, {
11251
+ activator: u(({ props: y }) => [
11252
+ h(s, B(y, {
11254
11253
  "min-width": "32",
11255
11254
  width: "32",
11256
11255
  height: "32",
@@ -11268,7 +11267,7 @@ function Yc(t, e, a, i, o, r) {
11268
11267
  }, 8, ["text"])
11269
11268
  ], 4),
11270
11269
  o.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (b(), S("div", oc, [
11271
- h(y, {
11270
+ h(f, {
11272
11271
  "min-width": "400",
11273
11272
  elevation: "16",
11274
11273
  "max-width": "500"
@@ -11276,11 +11275,11 @@ function Yc(t, e, a, i, o, r) {
11276
11275
  default: u(() => [
11277
11276
  h(n, null, {
11278
11277
  default: u(() => {
11279
- var f, z, T, O, I, P, k, L, C, v;
11278
+ var y, k, T, O, I, P, _, z, C, v;
11280
11279
  return [
11281
11280
  l("div", ic, [
11282
- l("span", rc, m((f = o.activeTropicals) == null ? void 0 : f.name), 1),
11283
- (T = (z = o.activeTropicals) == null ? void 0 : z.history) != null && T.level ? (b(), S("span", lc, ", " + m((I = (O = o.activeTropicals) == null ? void 0 : O.history) == null ? void 0 : I.level), 1)) : M("", !0)
11281
+ l("span", rc, m((y = o.activeTropicals) == null ? void 0 : y.name), 1),
11282
+ (T = (k = o.activeTropicals) == null ? void 0 : k.history) != null && T.level ? (b(), S("span", lc, ", " + m((I = (O = o.activeTropicals) == null ? void 0 : O.history) == null ? void 0 : I.level), 1)) : M("", !0)
11284
11283
  ]),
11285
11284
  h(s, {
11286
11285
  icon: "",
@@ -11297,7 +11296,7 @@ function Yc(t, e, a, i, o, r) {
11297
11296
  }, 8, ["onClick"]),
11298
11297
  l("div", sc, [
11299
11298
  l("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11300
- l("span", null, m(r.computeTime(((k = (P = o.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : k.updated) || ((v = (C = (L = o.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : C.filter((A) => !A.disabled)[0]) == null ? void 0 : v.date), a.timeZone)), 1)
11299
+ l("span", null, m(r.computeTime(((_ = (P = o.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : _.updated) || ((v = (C = (z = o.activeTropicals) == null ? void 0 : z.forecasts) == null ? void 0 : C.filter((A) => !A.disabled)[0]) == null ? void 0 : v.date), a.timeZone)), 1)
11301
11300
  ])
11302
11301
  ];
11303
11302
  }),
@@ -11306,12 +11305,12 @@ function Yc(t, e, a, i, o, r) {
11306
11305
  h(g),
11307
11306
  h(n, { class: "text-body-1" }, {
11308
11307
  default: u(() => {
11309
- var f, z, T, O, I, P, k, L, C;
11308
+ var y, k, T, O, I, P, _, z, C;
11310
11309
  return [
11311
11310
  l("div", cc, [
11312
11311
  l("div", mc, [
11313
11312
  l("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
11314
- l("span", null, m(((z = (f = o.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
11313
+ l("span", null, m(((k = (y = o.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
11315
11314
  l("span", null, ", BF " + m(r.computeBF(((O = (T = o.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
11316
11315
  ]),
11317
11316
  l("div", hc, [
@@ -11322,11 +11321,11 @@ function Yc(t, e, a, i, o, r) {
11322
11321
  l("div", uc, [
11323
11322
  l("div", gc, [
11324
11323
  l("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11325
- l("span", null, m(((k = r.computeMovement(o.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
11324
+ l("span", null, m(((_ = r.computeMovement(o.activeTropicals)) == null ? void 0 : _.kts) || "-") + " kts", 1)
11326
11325
  ]),
11327
11326
  l("div", yc, [
11328
11327
  l("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
11329
- l("span", null, m(((L = r.computeMovement(o.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
11328
+ l("span", null, m(((z = r.computeMovement(o.activeTropicals)) == null ? void 0 : z.deg) || "-") + "°", 1)
11330
11329
  ])
11331
11330
  ]),
11332
11331
  l("div", wc, [
@@ -11361,7 +11360,7 @@ function Yc(t, e, a, i, o, r) {
11361
11360
  variant: "text",
11362
11361
  color: o.showLegend ? "primary" : "",
11363
11362
  class: "text-none text-body-1",
11364
- onClick: e[0] || (e[0] = Ee((f) => o.showLegend = !o.showLegend, ["stop"]))
11363
+ onClick: e[0] || (e[0] = Ee((y) => o.showLegend = !o.showLegend, ["stop"]))
11365
11364
  }, {
11366
11365
  prepend: u(() => e[5] || (e[5] = [
11367
11366
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
@@ -11377,7 +11376,7 @@ function Yc(t, e, a, i, o, r) {
11377
11376
  variant: "text",
11378
11377
  density: "compact",
11379
11378
  class: "text-none text-body-1",
11380
- onClick: e[1] || (e[1] = Ee((f) => r.handleNotification(o.activeTropicals), ["stop"]))
11379
+ onClick: e[1] || (e[1] = Ee((y) => r.handleNotification(o.activeTropicals), ["stop"]))
11381
11380
  }, {
11382
11381
  default: u(() => [
11383
11382
  j(m(t.$t("actions.notify")), 1)
@@ -11389,7 +11388,7 @@ function Yc(t, e, a, i, o, r) {
11389
11388
  density: "compact",
11390
11389
  "append-icon": "mdi-chevron-right",
11391
11390
  class: "text-none text-body-1",
11392
- onClick: e[2] || (e[2] = Ee((f) => r.handleStrikeProbability(o.activeTropicals), ["stop"]))
11391
+ onClick: e[2] || (e[2] = Ee((y) => r.handleStrikeProbability(o.activeTropicals), ["stop"]))
11393
11392
  }, {
11394
11393
  default: u(() => [
11395
11394
  j(m(t.$t("actions.viewReport")), 1)
@@ -11404,7 +11403,7 @@ function Yc(t, e, a, i, o, r) {
11404
11403
  _: 1
11405
11404
  }),
11406
11405
  l("div", kc, [
11407
- Ue(h(y, { elevation: "16" }, {
11406
+ Ue(h(f, { elevation: "16" }, {
11408
11407
  default: u(() => [
11409
11408
  h(n, null, {
11410
11409
  default: u(() => [
@@ -11466,7 +11465,7 @@ function Yc(t, e, a, i, o, r) {
11466
11465
  ])
11467
11466
  ])
11468
11467
  ])) : M("", !0),
11469
- Ue(h(y, {
11468
+ Ue(h(f, {
11470
11469
  id: "tropicalHoverMarkerInfo",
11471
11470
  elevation: "16",
11472
11471
  "max-width": "280"
@@ -11474,27 +11473,27 @@ function Yc(t, e, a, i, o, r) {
11474
11473
  default: u(() => [
11475
11474
  h(w, null, {
11476
11475
  default: u(() => {
11477
- var f, z;
11476
+ var y, k;
11478
11477
  return [
11479
11478
  l("div", Pc, [
11480
- l("span", Cc, m((f = o.hoverPoint) == null ? void 0 : f.name), 1),
11481
- l("span", Tc, "[ " + m((z = o.hoverPoint) == null ? void 0 : z.level) + " ]", 1)
11479
+ l("span", Cc, m((y = o.hoverPoint) == null ? void 0 : y.name), 1),
11480
+ l("span", Tc, "[ " + m((k = o.hoverPoint) == null ? void 0 : k.level) + " ]", 1)
11482
11481
  ])
11483
11482
  ];
11484
11483
  }),
11485
11484
  _: 1
11486
11485
  }),
11487
- h(_),
11486
+ h(L),
11488
11487
  h(n, { class: "text-body-1" }, {
11489
11488
  default: u(() => {
11490
- var f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee;
11489
+ var y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee;
11491
11490
  return [
11492
11491
  l("div", Sc, [
11493
11492
  l("div", Ic, [
11494
11493
  l("label", Mc, m(t.$t("tropical.updated")) + " : ", 1),
11495
- l("span", null, m(r.computeTzTime((f = o.hoverPoint) == null ? void 0 : f.date, a.timeZone)), 1)
11494
+ l("span", null, m(r.computeTzTime((y = o.hoverPoint) == null ? void 0 : y.date, a.timeZone)), 1)
11496
11495
  ]),
11497
- ((z = o.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (b(), S("div", Ac, [
11496
+ ((k = o.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (b(), S("div", Ac, [
11498
11497
  l("label", Dc, m(t.$t("tropical.forecast")) + " : ", 1),
11499
11498
  l("span", null, m(r.computeTzTime((T = o.hoverPoint) == null ? void 0 : T.date, a.timeZone)), 1)
11500
11499
  ])) : M("", !0),
@@ -11504,7 +11503,7 @@ function Yc(t, e, a, i, o, r) {
11504
11503
  ])) : M("", !0),
11505
11504
  ((P = o.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (b(), S("div", Bc, [
11506
11505
  l("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
11507
- l("span", null, m(((L = JSON.parse((k = o.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : L.kts) ?? "-") + " kts", 1)
11506
+ l("span", null, m(((z = JSON.parse((_ = o.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : z.kts) ?? "-") + " kts", 1)
11508
11507
  ])) : M("", !0),
11509
11508
  ((C = o.hoverPoint) == null ? void 0 : C.type) === "history" ? (b(), S("div", Ec, [
11510
11509
  l("label", jc, m(t.$t("weather.wind")) + " : ", 1),
@@ -11691,12 +11690,12 @@ const Kc = {
11691
11690
  style: { height: "56px" }
11692
11691
  };
11693
11692
  function em(t, e, a, i, o, r) {
11694
- const s = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), y = x("VList"), w = x("VCardText"), _ = x("VCardActions"), f = x("VCard");
11693
+ const s = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), f = x("VList"), w = x("VCardText"), L = x("VCardActions"), y = x("VCard");
11695
11694
  return b(), S("div", Xc, [
11696
11695
  h(s, {
11697
11696
  text: "",
11698
11697
  height: "30",
11699
- class: "elevation-0 text-body-1 px-2 btn-border-1",
11698
+ class: "elevation-0 text-body-1 px-2 btn-border-1 btn-bg-1",
11700
11699
  onClick: r.handleOpenDatePicker
11701
11700
  }, {
11702
11701
  default: u(() => [
@@ -11704,7 +11703,7 @@ function em(t, e, a, i, o, r) {
11704
11703
  ]),
11705
11704
  _: 1
11706
11705
  }, 8, ["onClick"]),
11707
- o.showDatePicker ? (b(), R(f, {
11706
+ o.showDatePicker ? (b(), R(y, {
11708
11707
  key: 0,
11709
11708
  class: "card-box d-flex flex-column"
11710
11709
  }, {
@@ -11714,7 +11713,7 @@ function em(t, e, a, i, o, r) {
11714
11713
  l("div", $c, [
11715
11714
  h(c, {
11716
11715
  modelValue: o.currentDate,
11717
- "onUpdate:modelValue": e[0] || (e[0] = (z) => o.currentDate = z),
11716
+ "onUpdate:modelValue": e[0] || (e[0] = (k) => o.currentDate = k),
11718
11717
  min: o.dateRange[0],
11719
11718
  max: o.dateRange[1],
11720
11719
  "mode-icon": () => r.currentYear,
@@ -11732,13 +11731,13 @@ function em(t, e, a, i, o, r) {
11732
11731
  }),
11733
11732
  l("div", Jc, [
11734
11733
  l("div", Qc, m(o.currentTime), 1),
11735
- h(y, { class: "pa-0 flex-1-1-0" }, {
11734
+ h(f, { class: "pa-0 flex-1-1-0" }, {
11736
11735
  default: u(() => [
11737
- (b(!0), S(be, null, we(r.hourOptions, (z, T) => (b(), R(p, {
11736
+ (b(!0), S(be, null, we(r.hourOptions, (k, T) => (b(), R(p, {
11738
11737
  key: T,
11739
- value: z,
11738
+ value: k,
11740
11739
  color: "primary",
11741
- active: o.currentTime === z,
11740
+ active: o.currentTime === k,
11742
11741
  rounded: "",
11743
11742
  height: "26",
11744
11743
  "min-height": "26"
@@ -11746,10 +11745,10 @@ function em(t, e, a, i, o, r) {
11746
11745
  default: u(() => [
11747
11746
  h(g, {
11748
11747
  class: "text-body-2 text-center",
11749
- onClick: (O) => o.currentTime = z
11748
+ onClick: (O) => o.currentTime = k
11750
11749
  }, {
11751
11750
  default: u(() => [
11752
- j(m(z), 1)
11751
+ j(m(k), 1)
11753
11752
  ]),
11754
11753
  _: 2
11755
11754
  }, 1032, ["onClick"])
@@ -11764,7 +11763,7 @@ function em(t, e, a, i, o, r) {
11764
11763
  _: 1
11765
11764
  }),
11766
11765
  h(n),
11767
- h(_, {
11766
+ h(L, {
11768
11767
  class: "justify-end pa-0 pr-4",
11769
11768
  style: { height: "50px" }
11770
11769
  }, {
@@ -12037,10 +12036,10 @@ const tm = {
12037
12036
  (o == null ? void 0 : o.data.code) === 0 && (this.meteoData = o == null ? void 0 : o.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
12038
12037
  },
12039
12038
  initTableData(t) {
12040
- var a, i, o, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe;
12039
+ var a, i, o, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe;
12041
12040
  this.currentHourData = {}, this.positionGmt = (i = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
12042
12041
  const e = ((s = oa.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
12043
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((y = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = ($ = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (oe = e == null ? void 0 : e.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12042
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((f = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : f.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = ($ = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (oe = e == null ? void 0 : e.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12044
12043
  },
12045
12044
  handleBind() {
12046
12045
  var t, e;
@@ -12110,7 +12109,7 @@ const tm = {
12110
12109
  "aria-hidden": "true"
12111
12110
  }, vm = ["xlink:href"];
12112
12111
  function _m(t, e, a, i, o, r) {
12113
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), y = x("VCol"), w = x("VRow"), _ = x("DateTimePicker"), f = x("VBtnToggle"), z = x("VCardActions"), T = x("VForm"), O = x("VCardText"), I = x("VCard"), P = x("VIcon");
12112
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), f = x("VCol"), w = x("VRow"), L = x("DateTimePicker"), y = x("VBtnToggle"), k = x("VCardActions"), T = x("VForm"), O = x("VCardText"), I = x("VCard"), P = x("VIcon");
12114
12113
  return b(), S("div", am, [
12115
12114
  l("div", {
12116
12115
  class: "menu-bar-box transition pa-1",
@@ -12120,8 +12119,8 @@ function _m(t, e, a, i, o, r) {
12120
12119
  text: t.$t("spot.spotsMeteo"),
12121
12120
  location: "left"
12122
12121
  }, {
12123
- activator: u(({ props: k }) => [
12124
- h(s, B(k, {
12122
+ activator: u(({ props: _ }) => [
12123
+ h(s, B(_, {
12125
12124
  "min-width": "32",
12126
12125
  width: "32",
12127
12126
  height: "32",
@@ -12185,14 +12184,14 @@ function _m(t, e, a, i, o, r) {
12185
12184
  ]),
12186
12185
  h(w, { class: "ma-0" }, {
12187
12186
  default: u(() => [
12188
- h(y, {
12187
+ h(f, {
12189
12188
  cols: "4",
12190
12189
  class: "pa-0 d-flex"
12191
12190
  }, {
12192
12191
  default: u(() => [
12193
12192
  h(p, {
12194
12193
  modelValue: o.form.lngDegree,
12195
- "onUpdate:modelValue": e[0] || (e[0] = (k) => o.form.lngDegree = k),
12194
+ "onUpdate:modelValue": e[0] || (e[0] = (_) => o.form.lngDegree = _),
12196
12195
  rules: o.formRules.lngDegree,
12197
12196
  density: "compact",
12198
12197
  variant: "outlined",
@@ -12204,14 +12203,14 @@ function _m(t, e, a, i, o, r) {
12204
12203
  _: 1,
12205
12204
  __: [10]
12206
12205
  }),
12207
- h(y, {
12206
+ h(f, {
12208
12207
  cols: "6",
12209
12208
  class: "pa-0 d-flex"
12210
12209
  }, {
12211
12210
  default: u(() => [
12212
12211
  h(p, {
12213
12212
  modelValue: o.form.lngMinute,
12214
- "onUpdate:modelValue": e[1] || (e[1] = (k) => o.form.lngMinute = k),
12213
+ "onUpdate:modelValue": e[1] || (e[1] = (_) => o.form.lngMinute = _),
12215
12214
  rules: o.formRules.lngMinute,
12216
12215
  label: "",
12217
12216
  density: "compact",
@@ -12224,7 +12223,7 @@ function _m(t, e, a, i, o, r) {
12224
12223
  _: 1,
12225
12224
  __: [11]
12226
12225
  }),
12227
- h(y, {
12226
+ h(f, {
12228
12227
  cols: "2",
12229
12228
  class: "pa-0"
12230
12229
  }, {
@@ -12237,7 +12236,7 @@ function _m(t, e, a, i, o, r) {
12237
12236
  height: "32",
12238
12237
  class: "",
12239
12238
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12240
- onClick: e[2] || (e[2] = (k) => o.form.lngDirection = o.form.lngDirection === "E" ? "W" : "E")
12239
+ onClick: e[2] || (e[2] = (_) => o.form.lngDirection = o.form.lngDirection === "E" ? "W" : "E")
12241
12240
  }, {
12242
12241
  default: u(() => [
12243
12242
  j(m(o.form.lngDirection), 1)
@@ -12260,14 +12259,14 @@ function _m(t, e, a, i, o, r) {
12260
12259
  ]),
12261
12260
  h(w, { class: "ma-0" }, {
12262
12261
  default: u(() => [
12263
- h(y, {
12262
+ h(f, {
12264
12263
  cols: "4",
12265
12264
  class: "pa-0 d-flex"
12266
12265
  }, {
12267
12266
  default: u(() => [
12268
12267
  h(p, {
12269
12268
  modelValue: o.form.latDegree,
12270
- "onUpdate:modelValue": e[3] || (e[3] = (k) => o.form.latDegree = k),
12269
+ "onUpdate:modelValue": e[3] || (e[3] = (_) => o.form.latDegree = _),
12271
12270
  rules: o.formRules.latDegree,
12272
12271
  label: "",
12273
12272
  density: "compact",
@@ -12282,14 +12281,14 @@ function _m(t, e, a, i, o, r) {
12282
12281
  _: 1,
12283
12282
  __: [12]
12284
12283
  }),
12285
- h(y, {
12284
+ h(f, {
12286
12285
  cols: "6",
12287
12286
  class: "pa-0 d-flex"
12288
12287
  }, {
12289
12288
  default: u(() => [
12290
12289
  h(p, {
12291
12290
  modelValue: o.form.latMinute,
12292
- "onUpdate:modelValue": e[4] || (e[4] = (k) => o.form.latMinute = k),
12291
+ "onUpdate:modelValue": e[4] || (e[4] = (_) => o.form.latMinute = _),
12293
12292
  rules: o.formRules.latMinute,
12294
12293
  label: "",
12295
12294
  density: "compact",
@@ -12302,7 +12301,7 @@ function _m(t, e, a, i, o, r) {
12302
12301
  _: 1,
12303
12302
  __: [13]
12304
12303
  }),
12305
- h(y, {
12304
+ h(f, {
12306
12305
  cols: "2",
12307
12306
  class: "pa-0"
12308
12307
  }, {
@@ -12315,7 +12314,7 @@ function _m(t, e, a, i, o, r) {
12315
12314
  height: "32",
12316
12315
  class: "text-body-1",
12317
12316
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12318
- onClick: e[5] || (e[5] = (k) => o.form.latDirection = o.form.latDirection === "N" ? "S" : "N")
12317
+ onClick: e[5] || (e[5] = (_) => o.form.latDirection = o.form.latDirection === "N" ? "S" : "N")
12319
12318
  }, {
12320
12319
  default: u(() => [
12321
12320
  j(m(o.form.latDirection), 1)
@@ -12338,16 +12337,16 @@ function _m(t, e, a, i, o, r) {
12338
12337
  ]),
12339
12338
  h(w, { class: "ma-0 mb-4" }, {
12340
12339
  default: u(() => [
12341
- h(y, {
12340
+ h(f, {
12342
12341
  cols: "12",
12343
12342
  class: "pa-0"
12344
12343
  }, {
12345
12344
  default: u(() => [
12346
- h(_, B({
12345
+ h(L, B({
12347
12346
  "date-time": o.form.dateTime,
12348
12347
  "time-zone": a.timeZone
12349
12348
  }, t.$attrs, {
12350
- onDateTime: e[6] || (e[6] = (k) => o.form.dateTime = k)
12349
+ onDateTime: e[6] || (e[6] = (_) => o.form.dateTime = _)
12351
12350
  }), null, 16, ["date-time", "time-zone"])
12352
12351
  ]),
12353
12352
  _: 1
@@ -12365,14 +12364,14 @@ function _m(t, e, a, i, o, r) {
12365
12364
  ]),
12366
12365
  h(w, { class: "ma-0 mb-2" }, {
12367
12366
  default: u(() => [
12368
- h(y, {
12367
+ h(f, {
12369
12368
  cols: "12",
12370
12369
  class: "pa-0"
12371
12370
  }, {
12372
12371
  default: u(() => [
12373
- h(f, {
12372
+ h(y, {
12374
12373
  modelValue: o.form.forecastModel,
12375
- "onUpdate:modelValue": e[7] || (e[7] = (k) => o.form.forecastModel = k),
12374
+ "onUpdate:modelValue": e[7] || (e[7] = (_) => o.form.forecastModel = _),
12376
12375
  class: "w-100",
12377
12376
  rounded: "",
12378
12377
  height: "30",
@@ -12384,7 +12383,7 @@ function _m(t, e, a, i, o, r) {
12384
12383
  density: "compact",
12385
12384
  height: "30",
12386
12385
  value: "GFS",
12387
- class: Ge(["text-none flex-1-1-0", o.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
12386
+ class: Ge(["text-none flex-1-1-0", o.form.forecastModel === "GFS" ? "" : "btn-border-1 btn-bg-1"]),
12388
12387
  color: o.form.forecastModel === "GFS" ? "primary" : "",
12389
12388
  "base-color": ""
12390
12389
  }, {
@@ -12397,7 +12396,7 @@ function _m(t, e, a, i, o, r) {
12397
12396
  h(s, {
12398
12397
  density: "compact",
12399
12398
  height: "30",
12400
- class: Ge(["text-none flex-1-1-0", o.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
12399
+ class: Ge(["text-none flex-1-1-0", o.form.forecastModel === "ECMWF" ? "" : "btn-border-1 btn-bg-1"]),
12401
12400
  color: o.form.forecastModel === "ECMWF" ? "primary" : "",
12402
12401
  "base-color": "",
12403
12402
  value: "ECMWF"
@@ -12418,7 +12417,7 @@ function _m(t, e, a, i, o, r) {
12418
12417
  _: 1
12419
12418
  }),
12420
12419
  h(g),
12421
- h(z, { class: "d-flex justify-end align-center ga-4" }, {
12420
+ h(k, { class: "d-flex justify-end align-center ga-4" }, {
12422
12421
  default: u(() => [
12423
12422
  h(s, {
12424
12423
  size: "small",
@@ -12494,7 +12493,7 @@ function _m(t, e, a, i, o, r) {
12494
12493
  default: u(() => [
12495
12494
  h(w, null, {
12496
12495
  default: u(() => [
12497
- h(y, {
12496
+ h(f, {
12498
12497
  cols: "3",
12499
12498
  class: "pa-2 pl-0 text-right opacity-50"
12500
12499
  }, {
@@ -12503,14 +12502,14 @@ function _m(t, e, a, i, o, r) {
12503
12502
  ]),
12504
12503
  _: 1
12505
12504
  }),
12506
- h(y, {
12505
+ h(f, {
12507
12506
  cols: "9",
12508
12507
  class: "pa-2 px-0"
12509
12508
  }, {
12510
12509
  default: u(() => {
12511
- var k;
12510
+ var _;
12512
12511
  return [
12513
- j(m(r.computedTzTime((k = o.currentHourData) == null ? void 0 : k.utc)), 1)
12512
+ j(m(r.computedTzTime((_ = o.currentHourData) == null ? void 0 : _.utc)), 1)
12514
12513
  ];
12515
12514
  }),
12516
12515
  _: 1
@@ -12520,7 +12519,7 @@ function _m(t, e, a, i, o, r) {
12520
12519
  }),
12521
12520
  h(w, null, {
12522
12521
  default: u(() => [
12523
- h(y, {
12522
+ h(f, {
12524
12523
  cols: "3",
12525
12524
  class: "pa-2 pl-0 text-right opacity-50"
12526
12525
  }, {
@@ -12530,14 +12529,14 @@ function _m(t, e, a, i, o, r) {
12530
12529
  _: 1,
12531
12530
  __: [18]
12532
12531
  }),
12533
- h(y, {
12532
+ h(f, {
12534
12533
  cols: "9",
12535
12534
  class: "pa-2 px-0"
12536
12535
  }, {
12537
12536
  default: u(() => {
12538
- var k;
12537
+ var _;
12539
12538
  return [
12540
- j(m(r.computedLocalTime((k = o.currentHourData) == null ? void 0 : k.utc)), 1)
12539
+ j(m(r.computedLocalTime((_ = o.currentHourData) == null ? void 0 : _.utc)), 1)
12541
12540
  ];
12542
12541
  }),
12543
12542
  _: 1
@@ -12547,7 +12546,7 @@ function _m(t, e, a, i, o, r) {
12547
12546
  }),
12548
12547
  h(w, null, {
12549
12548
  default: u(() => [
12550
- h(y, {
12549
+ h(f, {
12551
12550
  cols: "3",
12552
12551
  class: "pa-2 pl-0 text-right opacity-50"
12553
12552
  }, {
@@ -12556,7 +12555,7 @@ function _m(t, e, a, i, o, r) {
12556
12555
  ]),
12557
12556
  _: 1
12558
12557
  }),
12559
- h(y, {
12558
+ h(f, {
12560
12559
  cols: "4",
12561
12560
  class: "pa-2 px-0 text-left"
12562
12561
  }, {
@@ -12565,7 +12564,7 @@ function _m(t, e, a, i, o, r) {
12565
12564
  ]),
12566
12565
  _: 1
12567
12566
  }),
12568
- h(y, {
12567
+ h(f, {
12569
12568
  cols: "2",
12570
12569
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12571
12570
  }, {
@@ -12574,7 +12573,7 @@ function _m(t, e, a, i, o, r) {
12574
12573
  ]),
12575
12574
  _: 1
12576
12575
  }),
12577
- h(y, {
12576
+ h(f, {
12578
12577
  cols: "3",
12579
12578
  class: "pa-2 px-0 text-left"
12580
12579
  }, {
@@ -12588,7 +12587,7 @@ function _m(t, e, a, i, o, r) {
12588
12587
  }),
12589
12588
  h(w, null, {
12590
12589
  default: u(() => [
12591
- h(y, {
12590
+ h(f, {
12592
12591
  cols: "3",
12593
12592
  class: "pa-2 pl-0 text-right opacity-50"
12594
12593
  }, {
@@ -12597,7 +12596,7 @@ function _m(t, e, a, i, o, r) {
12597
12596
  ]),
12598
12597
  _: 1
12599
12598
  }),
12600
- h(y, {
12599
+ h(f, {
12601
12600
  cols: "4",
12602
12601
  class: "pa-2 px-0 text-left"
12603
12602
  }, {
@@ -12606,7 +12605,7 @@ function _m(t, e, a, i, o, r) {
12606
12605
  ]),
12607
12606
  _: 1
12608
12607
  }),
12609
- h(y, {
12608
+ h(f, {
12610
12609
  cols: "2",
12611
12610
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12612
12611
  }, {
@@ -12615,7 +12614,7 @@ function _m(t, e, a, i, o, r) {
12615
12614
  ]),
12616
12615
  _: 1
12617
12616
  }),
12618
- h(y, {
12617
+ h(f, {
12619
12618
  cols: "3",
12620
12619
  class: "pa-2 px-0 text-left"
12621
12620
  }, {
@@ -12629,7 +12628,7 @@ function _m(t, e, a, i, o, r) {
12629
12628
  }),
12630
12629
  h(w, null, {
12631
12630
  default: u(() => [
12632
- h(y, {
12631
+ h(f, {
12633
12632
  cols: "3",
12634
12633
  class: "pa-2 pl-0 text-right opacity-50"
12635
12634
  }, {
@@ -12638,7 +12637,7 @@ function _m(t, e, a, i, o, r) {
12638
12637
  ]),
12639
12638
  _: 1
12640
12639
  }),
12641
- h(y, {
12640
+ h(f, {
12642
12641
  cols: "4",
12643
12642
  class: "pa-2 px-0 text-left"
12644
12643
  }, {
@@ -12647,7 +12646,7 @@ function _m(t, e, a, i, o, r) {
12647
12646
  ]),
12648
12647
  _: 1
12649
12648
  }),
12650
- h(y, {
12649
+ h(f, {
12651
12650
  cols: "2",
12652
12651
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12653
12652
  }, {
@@ -12656,7 +12655,7 @@ function _m(t, e, a, i, o, r) {
12656
12655
  ]),
12657
12656
  _: 1
12658
12657
  }),
12659
- h(y, {
12658
+ h(f, {
12660
12659
  cols: "3",
12661
12660
  class: "pa-2 px-0 text-left"
12662
12661
  }, {
@@ -12672,11 +12671,11 @@ function _m(t, e, a, i, o, r) {
12672
12671
  _: 1
12673
12672
  }),
12674
12673
  h(g),
12675
- h(z, { class: "d-flex justify-space-between align-center" }, {
12674
+ h(k, { class: "d-flex justify-space-between align-center" }, {
12676
12675
  default: u(() => [
12677
- a.followList.some((k) => {
12678
- var L, C;
12679
- return ((L = k == null ? void 0 : k.coordinate) == null ? void 0 : L.lng) === o.form.lng && ((C = k == null ? void 0 : k.coordinate) == null ? void 0 : C.lat) === o.form.lat;
12676
+ a.followList.some((_) => {
12677
+ var z, C;
12678
+ return ((z = _ == null ? void 0 : _.coordinate) == null ? void 0 : z.lng) === o.form.lng && ((C = _ == null ? void 0 : _.coordinate) == null ? void 0 : C.lat) === o.form.lat;
12680
12679
  }) ? (b(), R(s, {
12681
12680
  key: 0,
12682
12681
  class: "text-none text-body-1",
@@ -12830,7 +12829,7 @@ const zm = {
12830
12829
  }
12831
12830
  },
12832
12831
  handleDrag(t) {
12833
- var a, i, o, r, s, c, n, g, p, y;
12832
+ var a, i, o, r, s, c, n, g, p, f;
12834
12833
  const e = (i = (a = t.target) == null ? void 0 : a._element) == null ? void 0 : i.id;
12835
12834
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12836
12835
  const w = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
@@ -12838,33 +12837,33 @@ const zm = {
12838
12837
  var O;
12839
12838
  return ((O = T._element) == null ? void 0 : O.id) === e;
12840
12839
  })[0].setLngLat([(r = (o = t.target) == null ? void 0 : o._lngLat) == null ? void 0 : r.lng, (c = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : c.lat]);
12841
- let f;
12840
+ let y;
12842
12841
  w.features.forEach((T, O) => {
12843
12842
  if (T.geometry.type === "Point" && T.properties.id === e.split("-")[1]) {
12844
- f = O;
12843
+ y = O;
12845
12844
  return;
12846
12845
  }
12847
12846
  });
12848
- const z = w.features.filter((T) => T.geometry.type === "Point");
12847
+ const k = w.features.filter((T) => T.geometry.type === "Point");
12849
12848
  this.handleTmpPointUpdate(
12850
12849
  w,
12851
- z[f - 1],
12852
- { lng: (g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, lat: (y = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : y.lat, properties: z[f].properties },
12853
- f === z.length - 1 ? void 0 : z[f + 1]
12850
+ k[y - 1],
12851
+ { lng: (g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, lat: (f = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : f.lat, properties: k[y].properties },
12852
+ y === k.length - 1 ? void 0 : k[y + 1]
12854
12853
  );
12855
12854
  }
12856
12855
  },
12857
12856
  handleDragEnd(t) {
12858
- var a, i, o, r, s, c, n, g, p, y;
12857
+ var a, i, o, r, s, c, n, g, p, f;
12859
12858
  const e = (i = (a = t.target) == null ? void 0 : a._element) == null ? void 0 : i.id;
12860
12859
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12861
- const w = this.geojson.filter((z) => z.id === e.split("-")[0])[0];
12862
- this.pointMarkers[w.id].filter((z) => {
12860
+ const w = this.geojson.filter((k) => k.id === e.split("-")[0])[0];
12861
+ this.pointMarkers[w.id].filter((k) => {
12863
12862
  var T;
12864
- return ((T = z._element) == null ? void 0 : T.id) === e;
12863
+ return ((T = k._element) == null ? void 0 : T.id) === e;
12865
12864
  })[0].setLngLat([(r = (o = t.target) == null ? void 0 : o._lngLat) == null ? void 0 : r.lng, (c = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : c.lat]);
12866
- const f = w.features.filter((z) => z.geometry.type === "Point" && z.properties.id === e.split("-")[1])[0];
12867
- f.geometry.coordinates = [(g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, (y = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : y.lat], w.features = w.features.filter((z) => z.geometry.type === "Point"), this.handlePointUpdate(w);
12865
+ const y = w.features.filter((k) => k.geometry.type === "Point" && k.properties.id === e.split("-")[1])[0];
12866
+ y.geometry.coordinates = [(g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, (f = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : f.lat], w.features = w.features.filter((k) => k.geometry.type === "Point"), this.handlePointUpdate(w);
12868
12867
  }
12869
12868
  },
12870
12869
  handleContextmenu(t) {
@@ -12912,14 +12911,14 @@ const zm = {
12912
12911
  let a = 0;
12913
12912
  const i = [];
12914
12913
  for (let o = 1; o < e.length; o++) {
12915
- const r = e[o - 1], s = e[o], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = He.calculateDistance(n, g, c.mode === "RL", 4), y = He.calculateBearing(n, g, c.mode === "RL", 2);
12914
+ const r = e[o - 1], s = e[o], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = He.calculateDistance(n, g, c.mode === "RL", 4), f = He.calculateBearing(n, g, c.mode === "RL", 2);
12916
12915
  a = X.roundPrecision(a + p, 4);
12917
12916
  let w;
12918
12917
  c.mode === "RL" ? w = X.convertToMonotonicLng([n, g]) : w = X.convertToMonotonicLng(He.interpolateCoordinates(n, g, 200));
12919
- const _ = U.lineString(w.map((z) => [z.lng, z.lat]));
12920
- _.properties.dist = p, _.properties.bearing = y, _.properties.total = a, _.properties.name = "Line " + this.currentLineIndex, i.push(_);
12921
- const f = e[o];
12922
- f.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + p, 4), f.properties.sumLabel = f.properties.totalDist + " nm";
12918
+ const L = U.lineString(w.map((k) => [k.lng, k.lat]));
12919
+ L.properties.dist = p, L.properties.bearing = f, L.properties.total = a, L.properties.name = "Line " + this.currentLineIndex, i.push(L);
12920
+ const y = e[o];
12921
+ y.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + p, 4), y.properties.sumLabel = y.properties.totalDist + " nm";
12923
12922
  }
12924
12923
  e.push(...i), t.total = a;
12925
12924
  }
@@ -12931,17 +12930,17 @@ const zm = {
12931
12930
  if (e) {
12932
12931
  const n = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, p = { lng: a.lng, lat: a.lat };
12933
12932
  r = He.calculateDistance(g, p, n.mode === "RL", 4), s = He.calculateBearing(g, p, n.mode === "RL", 2);
12934
- let y;
12935
- n.mode === "RL" ? y = X.convertToMonotonicLng([g, p]) : y = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12936
- const w = U.lineString(y.map((_) => [_.lng, _.lat]));
12933
+ let f;
12934
+ n.mode === "RL" ? f = X.convertToMonotonicLng([g, p]) : f = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12935
+ const w = U.lineString(f.map((L) => [L.lng, L.lat]));
12937
12936
  w.properties.dist = r, w.properties.bearing = s, o.features.push(w);
12938
12937
  }
12939
12938
  if (i) {
12940
12939
  const n = a.properties, g = a, p = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
12941
12940
  r = He.calculateDistance(g, p, n.mode === "RL", 4), s = He.calculateBearing(g, p, n.mode === "RL", 2);
12942
- let y;
12943
- n.mode === "RL" ? y = X.convertToMonotonicLng([g, p]) : y = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12944
- const w = U.lineString(y.map((_) => [_.lng, _.lat]));
12941
+ let f;
12942
+ n.mode === "RL" ? f = X.convertToMonotonicLng([g, p]) : f = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12943
+ const w = U.lineString(f.map((L) => [L.lng, L.lat]));
12945
12944
  w.properties.dist = r, w.properties.bearing = s, o.features.push(w);
12946
12945
  }
12947
12946
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(o) : this.map.addSource(this.tmpSource, {
@@ -13077,17 +13076,17 @@ const zm = {
13077
13076
  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];
13078
13077
  }
13079
13078
  if (t.closed) {
13080
- const c = s.at(-1), g = t.features.filter((y) => y.geometry.type === "LineString").at(-1), p = document.createElement("div");
13079
+ const c = s.at(-1), g = t.features.filter((f) => f.geometry.type === "LineString").at(-1), p = document.createElement("div");
13081
13080
  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 ve.Marker(p).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
13082
13081
  }
13083
13082
  }
13084
13083
  },
13085
13084
  handleClear(t, e = !0) {
13086
- var s, c, n, g, p, y, w, _, f, z;
13085
+ var s, c, n, g, p, f, w, L, y, k;
13087
13086
  const a = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, o = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
13088
- (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(o) && this.map.removeLayer(o), (n = this.map) != null && n.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), (y = this.closeMarkers[t.id]) == null || y.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
13087
+ (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(o) && this.map.removeLayer(o), (n = this.map) != null && n.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), (f = this.closeMarkers[t.id]) == null || f.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
13089
13088
  T == null || T.remove();
13090
- }), this.pointMarkers[t.id] = [], (_ = this.tipMarker) == null || _.remove(), this.tipMarker = void 0, e && ((f = this.map) != null && f.getSource(a)) && this.map.removeSource(a), e && ((z = this.map) != null && z.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13089
+ }), this.pointMarkers[t.id] = [], (L = this.tipMarker) == null || L.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(a)) && this.map.removeSource(a), e && ((k = this.map) != null && k.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13091
13090
  }
13092
13091
  }
13093
13092
  }, Lm = { class: "idm-gl4-measure" };
@@ -13246,7 +13245,7 @@ const Tm = {
13246
13245
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13247
13246
  }, Om = ["onClick"], Bm = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Nm = { class: "text-body-1" };
13248
13247
  function Em(t, e, a, i, o, r) {
13249
- const s = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), g = x("VList"), p = x("VMenu"), y = x("VBtn"), w = x("VDivider"), _ = x("VTooltip");
13248
+ const s = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), g = x("VList"), p = x("VMenu"), f = x("VBtn"), w = x("VDivider"), L = x("VTooltip");
13250
13249
  return b(), S("div", Sm, [
13251
13250
  l("div", {
13252
13251
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
@@ -13260,14 +13259,14 @@ function Em(t, e, a, i, o, r) {
13260
13259
  "day-about": o.dayAbout,
13261
13260
  "interval-hour": o.intervalHour
13262
13261
  }, t.$attrs, {
13263
- onCurrentTimestamp: e[0] || (e[0] = (f) => o.currentTimestamp = f),
13264
- onCurrentRealTime: e[1] || (e[1] = (f) => o.currentRealTime = f),
13265
- onTimestampRange: e[2] || (e[2] = (f) => o.timestampRange = f)
13262
+ onCurrentTimestamp: e[0] || (e[0] = (y) => o.currentTimestamp = y),
13263
+ onCurrentRealTime: e[1] || (e[1] = (y) => o.currentRealTime = y),
13264
+ onTimestampRange: e[2] || (e[2] = (y) => o.timestampRange = y)
13266
13265
  }), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
13267
- h(y, {
13266
+ h(f, {
13268
13267
  text: "",
13269
13268
  height: "30",
13270
- class: "text-none elevation-0 btn-border-1 text-body-1",
13269
+ class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
13271
13270
  "min-width": "30"
13272
13271
  }, {
13273
13272
  default: u(() => [
@@ -13276,13 +13275,13 @@ function Em(t, e, a, i, o, r) {
13276
13275
  default: u(() => [
13277
13276
  h(g, { class: "pa-1" }, {
13278
13277
  default: u(() => [
13279
- (b(!0), S(be, null, we(o.intervalOptions, (f, z) => (b(), R(n, {
13280
- key: z,
13281
- value: f,
13282
- variant: o.intervalHour === f ? "tonal" : "text",
13278
+ (b(!0), S(be, null, we(o.intervalOptions, (y, k) => (b(), R(n, {
13279
+ key: k,
13280
+ value: y,
13281
+ variant: o.intervalHour === y ? "tonal" : "text",
13283
13282
  color: "primary",
13284
13283
  rounded: "",
13285
- active: o.intervalHour === f,
13284
+ active: o.intervalHour === y,
13286
13285
  height: "30",
13287
13286
  "min-height": "30",
13288
13287
  "min-width": "30",
@@ -13290,10 +13289,10 @@ function Em(t, e, a, i, o, r) {
13290
13289
  }, {
13291
13290
  default: u(() => [
13292
13291
  h(c, {
13293
- onClick: (T) => o.intervalHour = f
13292
+ onClick: (T) => o.intervalHour = y
13294
13293
  }, {
13295
13294
  default: u(() => [
13296
- j(m(f) + "h", 1)
13295
+ j(m(y) + "h", 1)
13297
13296
  ]),
13298
13297
  _: 2
13299
13298
  }, 1032, ["onClick"])
@@ -13316,7 +13315,7 @@ function Em(t, e, a, i, o, r) {
13316
13315
  style: { height: "16px" }
13317
13316
  }),
13318
13317
  l("div", Mm, [
13319
- h(y, {
13318
+ h(f, {
13320
13319
  icon: "",
13321
13320
  size: "small",
13322
13321
  density: "comfortable",
@@ -13329,7 +13328,7 @@ function Em(t, e, a, i, o, r) {
13329
13328
  _: 1,
13330
13329
  __: [9]
13331
13330
  }, 8, ["onClick"]),
13332
- h(y, {
13331
+ h(f, {
13333
13332
  icon: "",
13334
13333
  size: "small",
13335
13334
  density: "comfortable",
@@ -13342,7 +13341,7 @@ function Em(t, e, a, i, o, r) {
13342
13341
  _: 1,
13343
13342
  __: [10]
13344
13343
  }, 8, ["onClick"]),
13345
- o.paused ? (b(), R(y, {
13344
+ o.paused ? (b(), R(f, {
13346
13345
  key: 0,
13347
13346
  icon: "",
13348
13347
  size: "small",
@@ -13355,7 +13354,7 @@ function Em(t, e, a, i, o, r) {
13355
13354
  ])),
13356
13355
  _: 1,
13357
13356
  __: [11]
13358
- }, 8, ["onClick"])) : (b(), R(y, {
13357
+ }, 8, ["onClick"])) : (b(), R(f, {
13359
13358
  key: 1,
13360
13359
  icon: "",
13361
13360
  size: "small",
@@ -13369,7 +13368,7 @@ function Em(t, e, a, i, o, r) {
13369
13368
  _: 1,
13370
13369
  __: [12]
13371
13370
  }, 8, ["onClick"])),
13372
- h(y, {
13371
+ h(f, {
13373
13372
  icon: "",
13374
13373
  size: "small",
13375
13374
  density: "comfortable",
@@ -13389,16 +13388,16 @@ function Em(t, e, a, i, o, r) {
13389
13388
  style: { height: "16px" }
13390
13389
  }),
13391
13390
  l("div", Am, [
13392
- h(_, {
13391
+ h(L, {
13393
13392
  text: t.$t("weather.windBarbs"),
13394
13393
  location: "top"
13395
13394
  }, {
13396
- activator: u(({ props: f }) => {
13397
- var z, T;
13395
+ activator: u(({ props: y }) => {
13396
+ var k, T;
13398
13397
  return [
13399
- h(y, B(f, {
13398
+ h(f, B(y, {
13400
13399
  class: "pa-1 d-flex",
13401
- color: (z = a.weatherCheckList) != null && z.includes("wind") ? "primary" : "",
13400
+ color: (k = a.weatherCheckList) != null && k.includes("wind") ? "primary" : "",
13402
13401
  variant: (T = a.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
13403
13402
  height: "24",
13404
13403
  width: "24",
@@ -13415,16 +13414,16 @@ function Em(t, e, a, i, o, r) {
13415
13414
  }),
13416
13415
  _: 1
13417
13416
  }, 8, ["text"]),
13418
- h(_, {
13417
+ h(L, {
13419
13418
  text: t.$t("weather.sigWaveHeight"),
13420
13419
  location: "top"
13421
13420
  }, {
13422
- activator: u(({ props: f }) => {
13423
- var z, T;
13421
+ activator: u(({ props: y }) => {
13422
+ var k, T;
13424
13423
  return [
13425
- h(y, B(f, {
13424
+ h(f, B(y, {
13426
13425
  class: "pa-1 d-flex",
13427
- color: (z = a.weatherCheckList) != null && z.includes("sig-wave-height") ? "primary" : "",
13426
+ color: (k = a.weatherCheckList) != null && k.includes("sig-wave-height") ? "primary" : "",
13428
13427
  variant: (T = a.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
13429
13428
  height: "24",
13430
13429
  width: "24",
@@ -13432,7 +13431,7 @@ function Em(t, e, a, i, o, r) {
13432
13431
  onClick: e[4] || (e[4] = (O) => r.handleClickFastWeather("sig-wave-height"))
13433
13432
  }), {
13434
13433
  default: u(() => [
13435
- l("i", B(f, { class: "iconfont icon-a-WaveHeight" }), null, 16)
13434
+ l("i", B(y, { class: "iconfont icon-a-WaveHeight" }), null, 16)
13436
13435
  ]),
13437
13436
  _: 2
13438
13437
  }, 1040, ["color", "variant"])
@@ -13440,16 +13439,16 @@ function Em(t, e, a, i, o, r) {
13440
13439
  }),
13441
13440
  _: 1
13442
13441
  }, 8, ["text"]),
13443
- h(_, {
13442
+ h(L, {
13444
13443
  text: t.$t("weather.currentDirection"),
13445
13444
  location: "top"
13446
13445
  }, {
13447
- activator: u(({ props: f }) => {
13448
- var z, T;
13446
+ activator: u(({ props: y }) => {
13447
+ var k, T;
13449
13448
  return [
13450
- h(y, B(f, {
13449
+ h(f, B(y, {
13451
13450
  class: "pa-1 d-flex",
13452
- color: (z = a.weatherCheckList) != null && z.includes("current-direction") ? "primary" : "",
13451
+ color: (k = a.weatherCheckList) != null && k.includes("current-direction") ? "primary" : "",
13453
13452
  variant: (T = a.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
13454
13453
  height: "24",
13455
13454
  width: "24",
@@ -13457,7 +13456,7 @@ function Em(t, e, a, i, o, r) {
13457
13456
  onClick: e[5] || (e[5] = (O) => r.handleClickFastWeather("current-direction"))
13458
13457
  }), {
13459
13458
  default: u(() => [
13460
- l("i", B(f, { class: "iconfont icon-Current" }), null, 16)
13459
+ l("i", B(y, { class: "iconfont icon-Current" }), null, 16)
13461
13460
  ]),
13462
13461
  _: 2
13463
13462
  }, 1040, ["color", "variant"])
@@ -13465,12 +13464,12 @@ function Em(t, e, a, i, o, r) {
13465
13464
  }),
13466
13465
  _: 1
13467
13466
  }, 8, ["text"]),
13468
- h(_, {
13467
+ h(L, {
13469
13468
  text: t.$t("weather.weatherLayers"),
13470
13469
  location: "top"
13471
13470
  }, {
13472
- activator: u(({ props: f }) => [
13473
- h(y, B(f, {
13471
+ activator: u(({ props: y }) => [
13472
+ h(f, B(y, {
13474
13473
  class: "pa-1 d-flex",
13475
13474
  variant: "text",
13476
13475
  height: "24",
@@ -13479,7 +13478,7 @@ function Em(t, e, a, i, o, r) {
13479
13478
  onClick: r.handleClickFastMore
13480
13479
  }), {
13481
13480
  default: u(() => [
13482
- l("i", B(f, { class: "iconfont icon-dots-align" }), null, 16)
13481
+ l("i", B(y, { class: "iconfont icon-dots-align" }), null, 16)
13483
13482
  ]),
13484
13483
  _: 2
13485
13484
  }, 1040, ["onClick"])
@@ -13493,12 +13492,12 @@ function Em(t, e, a, i, o, r) {
13493
13492
  style: { height: "16px" }
13494
13493
  }),
13495
13494
  l("div", Dm, [
13496
- h(y, {
13495
+ h(f, {
13497
13496
  text: "",
13498
13497
  height: "30",
13499
13498
  class: "px-2 elevation-0 text-body-1 btn-border-2",
13500
13499
  color: o.source === "GFS" ? "primary" : "",
13501
- onClick: e[6] || (e[6] = (f) => o.source = "GFS")
13500
+ onClick: e[6] || (e[6] = (y) => o.source = "GFS")
13502
13501
  }, {
13503
13502
  default: u(() => e[15] || (e[15] = [
13504
13503
  j("NOAA", -1)
@@ -13506,12 +13505,12 @@ function Em(t, e, a, i, o, r) {
13506
13505
  _: 1,
13507
13506
  __: [15]
13508
13507
  }, 8, ["color"]),
13509
- h(y, {
13508
+ h(f, {
13510
13509
  text: "",
13511
13510
  height: "30",
13512
13511
  class: "px-2 elevation-0 text-body-1 btn-border-2",
13513
13512
  color: o.source === "ECMWF" ? "primary" : "",
13514
- onClick: e[7] || (e[7] = (f) => o.source = "ECMWF")
13513
+ onClick: e[7] || (e[7] = (y) => o.source = "ECMWF")
13515
13514
  }, {
13516
13515
  default: u(() => e[16] || (e[16] = [
13517
13516
  j("ECMWF", -1)
@@ -13526,20 +13525,20 @@ function Em(t, e, a, i, o, r) {
13526
13525
  style: ie({ right: o.right + "px" })
13527
13526
  }, [
13528
13527
  o.showTimezone ? (b(), S("div", Rm, [
13529
- (b(!0), S(be, null, we(o.offsets, (f) => (b(), S("div", {
13530
- key: f,
13528
+ (b(!0), S(be, null, we(o.offsets, (y) => (b(), S("div", {
13529
+ key: y,
13531
13530
  class: "item rounded text-body-2 hover-active",
13532
- onClick: (z) => o.timeZone = f
13533
- }, m(f < 0 ? f : "+" + f), 9, Om))), 128))
13531
+ onClick: (k) => o.timeZone = y
13532
+ }, m(y < 0 ? y : "+" + y), 9, Om))), 128))
13534
13533
  ])) : M("", !0),
13535
13534
  l("div", Bm, [
13536
- h(y, {
13535
+ h(f, {
13537
13536
  text: "",
13538
13537
  variant: "flat",
13539
13538
  height: "28",
13540
13539
  class: "pa-1 text-body-1",
13541
13540
  color: "primary",
13542
- onClick: e[8] || (e[8] = (f) => o.showTimezone = !o.showTimezone)
13541
+ onClick: e[8] || (e[8] = (y) => o.showTimezone = !o.showTimezone)
13543
13542
  }, {
13544
13543
  default: u(() => [
13545
13544
  j(" UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
@@ -13615,7 +13614,7 @@ const jm = /* @__PURE__ */ K(Tm, [["render", Em]]), Fm = {
13615
13614
  class: "map-gl4-home"
13616
13615
  };
13617
13616
  function Um(t, e, a, i, o, r) {
13618
- const s = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), y = x("IdmBottomBar");
13617
+ const s = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), f = x("IdmBottomBar");
13619
13618
  return b(), S("div", Hm, [
13620
13619
  h(s, B({
13621
13620
  ref: "idmOtherLayers",
@@ -13673,7 +13672,7 @@ function Um(t, e, a, i, o, r) {
13673
13672
  "forecast-model": a.forecastModel,
13674
13673
  "map-feather": a.mapFeather
13675
13674
  }, t.$attrs), null, 16, ["map", "token", "gateway", "forecast-model", "map-feather"]),
13676
- h(y, B({
13675
+ h(f, B({
13677
13676
  ref: "idmBottomBar",
13678
13677
  "forecast-model": a.forecastModel,
13679
13678
  "weather-check-list": o.weatherCheckList,
@@ -13690,7 +13689,7 @@ class Gm {
13690
13689
  de(this, "hi");
13691
13690
  de(this, "td");
13692
13691
  de(this, "windy");
13693
- var a, i, o, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie, ge, fe, G, Ce, ae, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, at, ot, 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, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, ea, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, qa, Ya, Ka, Xa, $a, Ja, Qa, eo, to, ao, oo, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go;
13692
+ var a, i, o, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie, ge, fe, G, Ce, ae, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, at, ot, 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, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, ea, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, qa, Ya, Ka, Xa, $a, Ja, Qa, eo, to, ao, oo, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go;
13694
13693
  this.i4 = {
13695
13694
  source: {
13696
13695
  type: "raster",
@@ -32286,12 +32285,12 @@ class Gm {
32286
32285
  (r = (o = this.originStyle) == null ? void 0 : o.light.layers) == null ? void 0 : r.find((d) => d.id === "water"),
32287
32286
  (c = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : c.find((d) => d.id === "ice-area-fill"),
32288
32287
  (g = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : g.find((d) => d.id === "ice-area-line"),
32289
- (y = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : y.find((d) => d.id === "loadlines-label"),
32290
- (_ = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : _.find((d) => d.id === "loadlines-fill"),
32291
- (z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((d) => d.id === "empty-layer-0"),
32288
+ (f = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : f.find((d) => d.id === "loadlines-label"),
32289
+ (L = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : L.find((d) => d.id === "loadlines-fill"),
32290
+ (k = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : k.find((d) => d.id === "empty-layer-0"),
32292
32291
  (O = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : O.find((d) => d.id === "empty-layer-1"),
32293
32292
  (P = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : P.find((d) => d.id === "country-boundaries"),
32294
- (L = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
32293
+ (z = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : z.find((d) => d.id === "water-outline"),
32295
32294
  (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32296
32295
  (W = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-2"),
32297
32296
  (q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : q.find((d) => d.id === "water-line-label"),