@idmwx/idmui-gl4 1.6.4 → 1.6.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
@@ -1487,10 +1487,10 @@ const ui = {
1487
1487
  { label: "Swell", key: "weather.swell", unit: "m" },
1488
1488
  { label: "Current", key: "weather.current", unit: "kts" }
1489
1489
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1490
- var c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1490
+ var c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1491
1491
  let r = {};
1492
1492
  const l = ((c = ao.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1493
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((k = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : k.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = l == null ? void 0 : l.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : U.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1493
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : U.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1494
1494
  });
1495
1495
  },
1496
1496
  handleTide() {
@@ -1637,10 +1637,10 @@ const ui = {
1637
1637
  }, xi = { class: "summary-box" }, vi = { class: "d-flex justify-space-between align-center py-2" }, _i = { class: "d-flex justify-center align-center text-h6 ga-2" }, ki = {
1638
1638
  class: "multi-color-icon",
1639
1639
  "aria-hidden": "true"
1640
- }, zi = ["xlink:href"], Li = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, Pi = { class: "w-100 d-flex justify-start align-center" }, Ci = { class: "w-30 text-label font-weight-400" }, Ti = { class: "flex-1-1-0" }, Si = { class: "w-100 d-flex justify-start align-center" }, Mi = { class: "w-30 text-label font-weight-400" }, Ii = { class: "flex-1-1-0" }, Di = { class: "w-100 d-flex justify-start align-center" }, Ai = { class: "w-30 text-label font-weight-400" }, Ri = { class: "flex-1-1-0" }, Oi = { class: "table-box w-100 mt-2" }, Bi = { class: "w-100 d-flex justify-space-between align-center py-2" }, Ei = { class: "d-flex justify-center align-center text-h6 ga-2" }, ji = {
1640
+ }, zi = ["xlink:href"], Li = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Pi = { class: "w-100 d-flex justify-start align-center" }, Ci = { class: "w-30 text-label font-weight-400" }, Ti = { class: "flex-1-1-0" }, Si = { class: "w-100 d-flex justify-start align-center" }, Mi = { class: "w-30 text-label font-weight-400" }, Ii = { class: "flex-1-1-0" }, Di = { class: "w-100 d-flex justify-start align-center" }, Ai = { class: "w-30 text-label font-weight-400" }, Ri = { class: "flex-1-1-0" }, Oi = { class: "table-box w-100 mt-2" }, Bi = { class: "w-100 d-flex justify-space-between align-center py-2" }, Ei = { class: "d-flex justify-center align-center text-h6 ga-2" }, ji = {
1641
1641
  class: "multi-color-icon",
1642
1642
  "aria-hidden": "true"
1643
- }, Ni = ["xlink:href"], Fi = { class: "w-100 gray-card rounded pa-4" }, Hi = {
1643
+ }, Ni = ["xlink:href"], Fi = { class: "w-100 gray-bg-2 rounded pa-4" }, Hi = {
1644
1644
  "fixed-header": "",
1645
1645
  density: "compact",
1646
1646
  class: "w-100 forecast-table bg-none mb-2"
@@ -1655,7 +1655,7 @@ const ui = {
1655
1655
  "aria-hidden": "true"
1656
1656
  }, sr = ["xlink:href"], lr = { class: "text-body-2 ga-2" }, nr = {
1657
1657
  key: 0,
1658
- class: "w-100 gray-card rounded pa-4 overflow-y-auto"
1658
+ class: "w-100 gray-bg-2 rounded pa-4 overflow-y-auto"
1659
1659
  }, cr = {
1660
1660
  ref: "tideEchart",
1661
1661
  class: "w-100",
@@ -1678,16 +1678,16 @@ function yr(t, e, o, i, a, r) {
1678
1678
  const l = w("VBtn"), c = w("VCardTitle"), n = w("VDivider"), u = w("VIcon"), h = w("VBtnToggle"), b = w("VCard");
1679
1679
  return y(), R(b, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1680
1680
  default: f(() => {
1681
- var x, k;
1681
+ var x, z;
1682
1682
  return [
1683
1683
  p(c, { class: "w-100" }, {
1684
1684
  default: f(() => {
1685
- var g, z, T, O, I;
1685
+ var g, P, T, O, I;
1686
1686
  return [
1687
1687
  s("div", gi, [
1688
1688
  s("div", fi, [
1689
1689
  s("div", {
1690
- class: Ne(["fi mr-2 rounded elevation-4", `fi-${(g = o.port) != null && g.cntLoCode ? (T = (z = o.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1690
+ class: Ne(["fi mr-2 rounded elevation-4", `fi-${(g = o.port) != null && g.cntLoCode ? (T = (P = o.port) == null ? void 0 : P.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1691
1691
  style: { width: "36px", height: "24px" }
1692
1692
  }, null, 2),
1693
1693
  s("div", null, m((O = o.port) == null ? void 0 : O.name), 1)
@@ -1720,11 +1720,11 @@ function yr(t, e, o, i, a, r) {
1720
1720
  p(n, { class: "w-100" }),
1721
1721
  s("div", bi, [
1722
1722
  o.followList.some((g) => {
1723
- var z;
1724
- return ((z = g.port) == null ? void 0 : z.id) === o.portId;
1723
+ var P;
1724
+ return ((P = g.port) == null ? void 0 : P.id) === o.portId;
1725
1725
  }) ? (y(), R(l, {
1726
1726
  key: 0,
1727
- class: "text-none text-body-1 rounded flex-1-1-0",
1727
+ class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1728
1728
  variant: "tonal",
1729
1729
  density: "compact",
1730
1730
  height: "32",
@@ -1740,7 +1740,7 @@ function yr(t, e, o, i, a, r) {
1740
1740
  _: 1
1741
1741
  }, 8, ["onClick"])) : (y(), R(l, {
1742
1742
  key: 1,
1743
- class: "text-none text-body-1 rounded flex-1-1-0",
1743
+ class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1744
1744
  variant: "tonal",
1745
1745
  density: "compact",
1746
1746
  height: "32",
@@ -1753,7 +1753,7 @@ function yr(t, e, o, i, a, r) {
1753
1753
  _: 1
1754
1754
  }, 8, ["onClick"])),
1755
1755
  p(l, {
1756
- class: "text-none text-body-1 rounded flex-1-1-0",
1756
+ class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1757
1757
  variant: "tonal",
1758
1758
  density: "compact",
1759
1759
  height: "32",
@@ -1781,7 +1781,7 @@ function yr(t, e, o, i, a, r) {
1781
1781
  s("div", Li, [
1782
1782
  s("div", Pi, [
1783
1783
  s("div", Ci, m(t.$t("port.region")), 1),
1784
- s("div", Ti, m(((x = o.port) == null ? void 0 : x.region) ?? ((k = o.port) == null ? void 0 : k.city) ?? "-"), 1)
1784
+ s("div", Ti, m(((x = o.port) == null ? void 0 : x.region) ?? ((z = o.port) == null ? void 0 : z.city) ?? "-"), 1)
1785
1785
  ]),
1786
1786
  s("div", Si, [
1787
1787
  s("div", Mi, m(t.$t("port.position")), 1),
@@ -1809,7 +1809,7 @@ function yr(t, e, o, i, a, r) {
1809
1809
  p(h, {
1810
1810
  modelValue: a.currentIndex,
1811
1811
  "onUpdate:modelValue": e[0] || (e[0] = (g) => a.currentIndex = g),
1812
- class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
1812
+ class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
1813
1813
  density: "compact",
1814
1814
  group: "",
1815
1815
  height: "26",
@@ -1911,9 +1911,9 @@ function yr(t, e, o, i, a, r) {
1911
1911
  s("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
1912
1912
  s("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
1913
1913
  ]),
1914
- (y(!0), S(be, null, we(a.tideTableData, (g, z) => {
1914
+ (y(!0), S(be, null, we(a.tideTableData, (g, P) => {
1915
1915
  var T;
1916
- return y(), S("tr", { key: z }, [
1916
+ return y(), S("tr", { key: P }, [
1917
1917
  s("td", ur, m(t.$t(`tide.${(T = g == null ? void 0 : g.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1918
1918
  s("td", gr, m(r.computeLocalTime(g == null ? void 0 : g.date, o.port, "MM-DD HH:mm")), 1),
1919
1919
  s("td", fr, m((g == null ? void 0 : g.height) ?? "-") + " m", 1)
@@ -1929,7 +1929,7 @@ function yr(t, e, o, i, a, r) {
1929
1929
  _: 1
1930
1930
  });
1931
1931
  }
1932
- const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-33d7d92f"]]);
1932
+ const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
1933
1933
  const br = {
1934
1934
  name: "IdmPort",
1935
1935
  components: {
@@ -2918,10 +2918,10 @@ const qr = {
2918
2918
  }, Xr = { class: "d-flex justify-space-between align-center" }, $r = { class: "d-flex justify-start text-h5 my-2" }, Kr = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Qr = { class: "w-100 px-5 pt-0 pb-0 overflow-y-auto scroll" }, Jr = { class: "summary-box w-100" }, es = { class: "d-flex justify-space-between align-center py-2" }, ts = { class: "d-flex justify-center align-center text-h6 ga-2" }, os = {
2919
2919
  class: "multi-color-icon",
2920
2920
  "aria-hidden": "true"
2921
- }, as = ["xlink:href"], is = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, rs = { class: "w-100 d-flex justify-start align-center" }, ss = { class: "w-30 text-label font-weight-400" }, ls = { class: "flex-1-1-0" }, ns = { class: "w-100 d-flex justify-start align-center" }, cs = { class: "w-30 text-label font-weight-400" }, ms = { class: "flex-1-1-0" }, ds = { class: "w-100 d-flex justify-start align-center" }, hs = { class: "w-30 text-label font-weight-400" }, ps = { class: "flex-1-1-0" }, us = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gs = { class: "w-100 d-flex justify-space-between align-center py-2" }, fs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ys = {
2921
+ }, as = ["xlink:href"], is = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, rs = { class: "w-100 d-flex justify-start align-center" }, ss = { class: "w-30 text-label font-weight-400" }, ls = { class: "flex-1-1-0" }, ns = { class: "w-100 d-flex justify-start align-center" }, cs = { class: "w-30 text-label font-weight-400" }, ms = { class: "flex-1-1-0" }, ds = { class: "w-100 d-flex justify-start align-center" }, hs = { class: "w-30 text-label font-weight-400" }, ps = { class: "flex-1-1-0" }, us = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gs = { class: "w-100 d-flex justify-space-between align-center py-2" }, fs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ys = {
2922
2922
  class: "multi-color-icon",
2923
2923
  "aria-hidden": "true"
2924
- }, bs = ["xlink:href"], ws = { class: "w-100 gray-card rounded pa-4 overflow-y-auto" }, xs = {
2924
+ }, bs = ["xlink:href"], ws = { class: "w-100 gray-bg-2 rounded pa-4 overflow-y-auto" }, xs = {
2925
2925
  class: "w-100 py-4",
2926
2926
  style: { height: "244px" },
2927
2927
  ref: "tideEchart"
@@ -2947,11 +2947,11 @@ function Ts(t, e, o, i, a, r) {
2947
2947
  return [
2948
2948
  p(c, { class: "w-100" }, {
2949
2949
  default: f(() => {
2950
- var k;
2950
+ var z;
2951
2951
  return [
2952
2952
  s("div", Xr, [
2953
2953
  s("div", $r, [
2954
- s("div", null, m((k = o.station) == null ? void 0 : k.name), 1)
2954
+ s("div", null, m((z = o.station) == null ? void 0 : z.name), 1)
2955
2955
  ]),
2956
2956
  p(l, {
2957
2957
  icon: "",
@@ -3018,8 +3018,8 @@ function Ts(t, e, o, i, a, r) {
3018
3018
  s("div", ws, [
3019
3019
  p(u, {
3020
3020
  modelValue: a.currentIndex,
3021
- "onUpdate:modelValue": e[0] || (e[0] = (k) => a.currentIndex = k),
3022
- class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3021
+ "onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentIndex = z),
3022
+ class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3023
3023
  density: "compact",
3024
3024
  group: "",
3025
3025
  height: "26",
@@ -3027,15 +3027,15 @@ function Ts(t, e, o, i, a, r) {
3027
3027
  rounded: "1"
3028
3028
  }, {
3029
3029
  default: f(() => [
3030
- (y(!0), S(be, null, we(r.dateList, (k) => (y(), R(l, {
3030
+ (y(!0), S(be, null, we(r.dateList, (z) => (y(), R(l, {
3031
3031
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3032
3032
  density: "compact",
3033
3033
  color: "primary",
3034
3034
  height: "26",
3035
- value: k.index
3035
+ value: z.index
3036
3036
  }, {
3037
3037
  default: f(() => [
3038
- $(m(k.label), 1)
3038
+ $(m(z.label), 1)
3039
3039
  ]),
3040
3040
  _: 2
3041
3041
  }, 1032, ["value"]))), 256))
@@ -3050,12 +3050,12 @@ function Ts(t, e, o, i, a, r) {
3050
3050
  s("th", ks, m(t.$t("time.time")) + " ( LT )", 1),
3051
3051
  s("th", zs, m(t.$t("tide.height")) + " ( m )", 1)
3052
3052
  ]),
3053
- (y(!0), S(be, null, we(a.tideTableData, (k, g) => {
3054
- var z;
3053
+ (y(!0), S(be, null, we(a.tideTableData, (z, g) => {
3054
+ var P;
3055
3055
  return y(), S("tr", { key: g }, [
3056
- s("td", Ls, m(t.$t(`tide.${(z = k == null ? void 0 : k.type) == null ? void 0 : z.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3057
- s("td", Ps, m(r.computeLocalTime(k == null ? void 0 : k.date, o.station, "MM-DD HH:mm")), 1),
3058
- s("td", Cs, m((k == null ? void 0 : k.height) ?? "-") + " m", 1)
3056
+ s("td", Ls, m(t.$t(`tide.${(P = z == null ? void 0 : z.type) == null ? void 0 : P.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3057
+ s("td", Ps, m(r.computeLocalTime(z == null ? void 0 : z.date, o.station, "MM-DD HH:mm")), 1),
3058
+ s("td", Cs, m((z == null ? void 0 : z.height) ?? "-") + " m", 1)
3059
3059
  ]);
3060
3060
  }), 128))
3061
3061
  ])
@@ -3068,7 +3068,7 @@ function Ts(t, e, o, i, a, r) {
3068
3068
  _: 1
3069
3069
  });
3070
3070
  }
3071
- const Ss = /* @__PURE__ */ Y(qr, [["render", Ts], ["__scopeId", "data-v-53dd32f9"]]);
3071
+ const Ss = /* @__PURE__ */ Y(qr, [["render", Ts], ["__scopeId", "data-v-e6ab70d5"]]);
3072
3072
  const Ms = {
3073
3073
  name: "IdmTideStations",
3074
3074
  components: {
@@ -4455,13 +4455,13 @@ const qs = {
4455
4455
  if (e.properties) {
4456
4456
  const b = e.properties;
4457
4457
  b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
4458
- const x = M(), k = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), g = {
4458
+ const x = M(), z = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), g = {
4459
4459
  lat: b.lat,
4460
4460
  lng: b.lng,
4461
4461
  datetime: this.realTime,
4462
4462
  forecastModel: this.forecastModel
4463
4463
  };
4464
- k >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchMeteoData(g) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(g);
4464
+ z >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchMeteoData(g) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(g);
4465
4465
  }
4466
4466
  },
4467
4467
  handleHover(t) {
@@ -4681,8 +4681,8 @@ const el = {
4681
4681
  })
4682
4682
  );
4683
4683
  (await Promise.all(l)).map((n) => {
4684
- var b, x, k;
4685
- const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (k = (x = n == null ? void 0 : n.config) == null ? void 0 : x.headers) == null ? void 0 : k.key;
4684
+ var b, x, z;
4685
+ const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (z = (x = n == null ? void 0 : n.config) == null ? void 0 : x.headers) == null ? void 0 : z.key;
4686
4686
  this.otherLayers[h] = u;
4687
4687
  });
4688
4688
  }
@@ -4721,7 +4721,7 @@ const el = {
4721
4721
  }, dl = { class: "text-body-2 text-center pt-1" };
4722
4722
  function hl(t, e, o, i, a, r) {
4723
4723
  var X, ne, se, J, ae, he, ce, pe, ge;
4724
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), k = w("IdmLatLng"), g = w("IdmTerminator"), z = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), P = w("IdmEcaZone"), _ = w("IdmWarZone"), L = w("IdmGmdssArea"), C = w("IdmLoadLine"), v = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), U = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
4724
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), g = w("IdmTerminator"), P = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), L = w("IdmEcaZone"), k = w("IdmWarZone"), v = w("IdmGmdssArea"), C = w("IdmLoadLine"), _ = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), U = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
4725
4725
  return y(), S("div", tl, [
4726
4726
  s("div", {
4727
4727
  class: "menu-bar-box transition px-1 rounded",
@@ -4952,7 +4952,7 @@ function hl(t, e, o, i, a, r) {
4952
4952
  })
4953
4953
  ])
4954
4954
  ], 6),
4955
- o.map ? (y(), R(k, B({
4955
+ o.map ? (y(), R(z, B({
4956
4956
  key: 0,
4957
4957
  map: o.map,
4958
4958
  "menu-toggle": o.menuToggle,
@@ -4963,7 +4963,7 @@ function hl(t, e, o, i, a, r) {
4963
4963
  map: o.map,
4964
4964
  area: (X = a.otherLayers) == null ? void 0 : X["day-night"]
4965
4965
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
4966
- o.map ? (y(), R(z, B({
4966
+ o.map ? (y(), R(P, B({
4967
4967
  key: 2,
4968
4968
  map: o.map,
4969
4969
  zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"]
@@ -4998,17 +4998,17 @@ function hl(t, e, o, i, a, r) {
4998
4998
  forecastModel: o.forecastModel,
4999
4999
  "before-layer": "empty-layer-3"
5000
5000
  }, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) : D("", !0),
5001
- o.map ? (y(), R(P, B({
5001
+ o.map ? (y(), R(L, B({
5002
5002
  key: 6,
5003
5003
  map: o.map,
5004
5004
  zone: (ae = a.otherLayers) == null ? void 0 : ae["eca-zones"]
5005
5005
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5006
- o.map ? (y(), R(_, B({
5006
+ o.map ? (y(), R(k, B({
5007
5007
  key: 7,
5008
5008
  map: o.map,
5009
5009
  zone: (he = a.otherLayers) == null ? void 0 : he["war-zones"]
5010
5010
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5011
- o.map ? (y(), R(L, B({
5011
+ o.map ? (y(), R(v, B({
5012
5012
  key: 8,
5013
5013
  map: o.map,
5014
5014
  area: (ce = a.otherLayers) == null ? void 0 : ce["gmdss-areas"]
@@ -5018,7 +5018,7 @@ function hl(t, e, o, i, a, r) {
5018
5018
  map: o.map,
5019
5019
  show: a.checkList.includes("load-lines")
5020
5020
  }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
5021
- o.map ? (y(), R(v, B({
5021
+ o.map ? (y(), R(_, B({
5022
5022
  key: 10,
5023
5023
  map: o.map,
5024
5024
  token: o.token,
@@ -5118,12 +5118,12 @@ class lo {
5118
5118
  * @param [lb.x, lb.y, rt.x, rt.y]
5119
5119
  */
5120
5120
  getBoundPixel() {
5121
- var g, z;
5121
+ var g, P;
5122
5122
  const e = (g = this.map) == null ? void 0 : g.getBounds();
5123
5123
  if (!e)
5124
5124
  return [];
5125
- const o = ((z = this.map) == null ? void 0 : z.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [u, h] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([c, a[1]], o), k = Math.round(this.mercator.size * Math.pow(2, o) * (l + n));
5126
- return [b, x, u + k, h];
5125
+ const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [u, h] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([c, a[1]], o), z = Math.round(this.mercator.size * Math.pow(2, o) * (l + n));
5126
+ return [b, x, u + z, h];
5127
5127
  }
5128
5128
  /**
5129
5129
  * [视窗边界像素宽度]
@@ -5306,9 +5306,9 @@ class Fe {
5306
5306
  sRange: o.getUniformLocation(i, "u_range_s")
5307
5307
  };
5308
5308
  h.resolution && o.uniform2f(h.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), h.image && o.uniform1i(h.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), h.color && o.uniform1i(h.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (h.uvRange && o.uniform2f(h.uvRange, c.uvRange[0], c.uvRange[1]), h.sRange && o.uniform2f(h.sRange, c.sRange[0], c.sRange[1])), h.scale && o.uniform1f(h.scale, (c == null ? void 0 : c.scale) || 1);
5309
- const b = e.getBoundPixel(), x = e.map.getZoom() + 1, k = e.getWorldCopy(b, x);
5310
- for (const g of k) {
5311
- const z = (g[0] - b[0]) * e.ratio, T = (g[1] - b[3]) * e.ratio, O = g[2] * e.ratio, [I, P, _, L] = [z, O + z, T, O + T], C = new Float32Array([I, _, P, _, I, L, I, L, P, _, P, L]);
5309
+ const b = e.getBoundPixel(), x = e.map.getZoom() + 1, z = e.getWorldCopy(b, x);
5310
+ for (const g of z) {
5311
+ const P = (g[0] - b[0]) * e.ratio, T = (g[1] - b[3]) * e.ratio, O = g[2] * e.ratio, [I, L, k, v] = [P, O + P, T, O + T], C = new Float32Array([I, k, L, k, I, v, I, v, L, k, L, v]);
5312
5312
  o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
5313
5313
  }
5314
5314
  } catch (h) {
@@ -7877,7 +7877,7 @@ const wn = {
7877
7877
  const e = (/* @__PURE__ */ new Date()).valueOf();
7878
7878
  let o = 0, i = 0;
7879
7879
  if (this.map) {
7880
- const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), z = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
7880
+ const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), P = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
7881
7881
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
7882
7882
  const T = io.WEATHER_LAYERS.find((O) => {
7883
7883
  var I;
@@ -7889,7 +7889,7 @@ const wn = {
7889
7889
  let T = this.weatherWeight;
7890
7890
  if (T > 0) {
7891
7891
  const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
7892
- `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${k}&bbox=${z}&t=${this.realTime}`,
7892
+ `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${z}&bbox=${P}&t=${this.realTime}`,
7893
7893
  {
7894
7894
  headers: {
7895
7895
  Authorization: this.defaultMeteoToken
@@ -7897,46 +7897,46 @@ const wn = {
7897
7897
  }
7898
7898
  );
7899
7899
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
7900
- const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, _ = [];
7901
- for (const C in P)
7902
- _.push(
7903
- Se.get(P[C], {
7900
+ const L = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
7901
+ for (const C in L)
7902
+ k.push(
7903
+ Se.get(L[C], {
7904
7904
  headers: {
7905
7905
  Authorization: this.defaultMeteoToken,
7906
7906
  key: C
7907
7907
  },
7908
- responseType: /\.(jpg|png)$/.test(P[C]) ? "blob" : "json"
7909
- }).catch((v) => {
7910
- console.log(`[${C}] fetch layer error: ${v}`);
7908
+ responseType: /\.(jpg|png)$/.test(L[C]) ? "blob" : "json"
7909
+ }).catch((_) => {
7910
+ console.log(`[${C}] fetch layer error: ${_}`);
7911
7911
  })
7912
7912
  );
7913
- const L = await Promise.all(_);
7914
- this.weatherLayers = {}, L.map((C) => {
7913
+ const v = await Promise.all(k);
7914
+ this.weatherLayers = {}, v.map((C) => {
7915
7915
  var N, V, Z, U;
7916
- const v = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
7916
+ const _ = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
7917
7917
  let A = (Z = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : Z.key;
7918
- A && v && (this.weatherLayers[A] = {
7919
- raw: v,
7918
+ A && _ && (this.weatherLayers[A] = {
7919
+ raw: _,
7920
7920
  type: ((U = C == null ? void 0 : C.config) == null ? void 0 : U.responseType) === "blob" ? "image" : "json",
7921
7921
  etime: I.data.etime
7922
7922
  });
7923
7923
  });
7924
7924
  }
7925
7925
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather layers elapsed: ", i, ", total: ", o += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
7926
- const P = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, _ = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
7926
+ const L = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, k = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
7927
7927
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
7928
7928
  type: "json",
7929
- direction: P,
7930
- height: { raw: _ },
7929
+ direction: L,
7930
+ height: { raw: k },
7931
7931
  etime: I.data.etime
7932
7932
  };
7933
7933
  }
7934
7934
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
7935
- const P = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, _ = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
7935
+ const L = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, k = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
7936
7936
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
7937
7937
  type: "json",
7938
- direction: P,
7939
- speed: { raw: _ },
7938
+ direction: L,
7939
+ speed: { raw: k },
7940
7940
  etime: I.data.etime
7941
7941
  };
7942
7942
  }
@@ -7993,7 +7993,7 @@ const wn = {
7993
7993
  );
7994
7994
  },
7995
7995
  handleDrawWeather4Json() {
7996
- var u, h, b, x, k, g, z;
7996
+ var u, h, b, x, z, g, P;
7997
7997
  const t = (/* @__PURE__ */ new Date()).valueOf();
7998
7998
  let e = 0, o = 0;
7999
7999
  const i = (u = this.map) == null ? void 0 : u.getBounds(), a = (h = this.map) == null ? void 0 : h.getZoom(), r = K.convertToStdLng(i._sw.lng), l = K.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
@@ -8003,166 +8003,166 @@ const wn = {
8003
8003
  let I = [];
8004
8004
  if (T === "swell") {
8005
8005
  O = !0;
8006
- const P = ((b = this.weatherLayers[T]) == null ? void 0 : b.direction) || {};
8007
- for (const L in P)
8008
- if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8009
- const C = P[L].lng;
8010
- r > l ? C.forEach((v, A) => {
8006
+ const L = ((b = this.weatherLayers[T]) == null ? void 0 : b.direction) || {};
8007
+ for (const v in L)
8008
+ if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8009
+ const C = L[v].lng;
8010
+ r > l ? C.forEach((_, A) => {
8011
8011
  var N, V, Z, U, ee, Q;
8012
8012
  if (a < 2) {
8013
- if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8014
- const X = H.point([v, L], {
8015
- val: ((N = P[L].val) == null ? void 0 : N[A]) || ((V = P[L].dir) == null ? void 0 : V[A]),
8016
- spd: (Z = P[L].spd) == null ? void 0 : Z[A]
8013
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8014
+ const X = H.point([_, v], {
8015
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8016
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8017
8017
  });
8018
8018
  I.push(X);
8019
8019
  }
8020
- } else if ((v >= r && v <= 180 || v >= -180 && v <= l) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8021
- const X = H.point([v, L], {
8022
- val: ((U = P[L].val) == null ? void 0 : U[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8023
- spd: (Q = P[L].spd) == null ? void 0 : Q[A]
8020
+ } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8021
+ const X = H.point([_, v], {
8022
+ val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8023
+ spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8024
8024
  });
8025
8025
  I.push(X);
8026
8026
  }
8027
- }) : C.forEach((v, A) => {
8027
+ }) : C.forEach((_, A) => {
8028
8028
  var N, V, Z, U, ee, Q;
8029
8029
  if (r < 2) {
8030
- if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8031
- const X = H.point([v, L], {
8032
- val: ((N = P[L].val) == null ? void 0 : N[A]) || ((V = P[L].dir) == null ? void 0 : V[A]),
8033
- spd: (Z = P[L].spd) == null ? void 0 : Z[A]
8030
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8031
+ const X = H.point([_, v], {
8032
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8033
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8034
8034
  });
8035
8035
  I.push(X);
8036
8036
  }
8037
- } else if (v >= r && v <= l && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8038
- const X = H.point([v, L], {
8039
- val: ((U = P[L].val) == null ? void 0 : U[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8040
- spd: (Q = P[L].spd) == null ? void 0 : Q[A]
8037
+ } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8038
+ const X = H.point([_, v], {
8039
+ val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8040
+ spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8041
8041
  });
8042
8042
  I.push(X);
8043
8043
  }
8044
8044
  });
8045
8045
  }
8046
8046
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
8047
- const _ = this.weatherLayers[T].height;
8048
- if (_) {
8049
- if (!_.data) {
8050
- const L = [];
8051
- for (const C in (x = _.raw) == null ? void 0 : x.LineString) {
8052
- const v = _.raw.LineString[C];
8053
- for (const A of v)
8054
- L.push(
8047
+ const k = this.weatherLayers[T].height;
8048
+ if (k) {
8049
+ if (!k.data) {
8050
+ const v = [];
8051
+ for (const C in (x = k.raw) == null ? void 0 : x.LineString) {
8052
+ const _ = k.raw.LineString[C];
8053
+ for (const A of _)
8054
+ v.push(
8055
8055
  H.lineString(A, {
8056
8056
  val: Number(C)
8057
8057
  })
8058
8058
  );
8059
- _.data = H.featureCollection(L);
8059
+ k.data = H.featureCollection(v);
8060
8060
  }
8061
8061
  }
8062
- if (_.data) {
8063
- const L = this.handleBboxClip(_.data, i);
8064
- I = I.concat(L);
8062
+ if (k.data) {
8063
+ const v = this.handleBboxClip(k.data, i);
8064
+ I = I.concat(v);
8065
8065
  }
8066
8066
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
8067
8067
  }
8068
8068
  } else if (T === "current") {
8069
8069
  O = !0;
8070
- const P = ((k = this.weatherLayers[T]) == null ? void 0 : k.direction) || {};
8071
- for (const L in P)
8072
- if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8073
- const C = P[L].lng;
8074
- r > l ? C.forEach((v, A) => {
8070
+ const L = ((z = this.weatherLayers[T]) == null ? void 0 : z.direction) || {};
8071
+ for (const v in L)
8072
+ if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8073
+ const C = L[v].lng;
8074
+ r > l ? C.forEach((_, A) => {
8075
8075
  var N, V, Z, U, ee, Q;
8076
8076
  if (a < 2) {
8077
- if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8078
- const X = H.point([v, L], {
8079
- val: ((N = P[L].val) == null ? void 0 : N[A]) || ((V = P[L].dir) == null ? void 0 : V[A]),
8080
- spd: (Z = P[L].spd) == null ? void 0 : Z[A]
8077
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8078
+ const X = H.point([_, v], {
8079
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8080
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8081
8081
  });
8082
8082
  I.push(X);
8083
8083
  }
8084
- } else if ((v >= r && v <= 180 || v >= -180 && v <= l) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8085
- const X = H.point([v, L], {
8086
- val: ((U = P[L].val) == null ? void 0 : U[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8087
- spd: (Q = P[L].spd) == null ? void 0 : Q[A]
8084
+ } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8085
+ const X = H.point([_, v], {
8086
+ val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8087
+ spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8088
8088
  });
8089
8089
  I.push(X);
8090
8090
  }
8091
- }) : C.forEach((v, A) => {
8091
+ }) : C.forEach((_, A) => {
8092
8092
  var N, V, Z, U, ee, Q;
8093
8093
  if (r < 2) {
8094
- if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8095
- const X = H.point([v, L], {
8096
- val: ((N = P[L].val) == null ? void 0 : N[A]) || ((V = P[L].dir) == null ? void 0 : V[A]),
8097
- spd: (Z = P[L].spd) == null ? void 0 : Z[A]
8094
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8095
+ const X = H.point([_, v], {
8096
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8097
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8098
8098
  });
8099
8099
  I.push(X);
8100
8100
  }
8101
- } else if (v >= r && v <= l && (!(a <= this.zoom) || v % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8102
- const X = H.point([v, L], {
8103
- val: ((U = P[L].val) == null ? void 0 : U[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8104
- spd: (Q = P[L].spd) == null ? void 0 : Q[A]
8101
+ } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8102
+ const X = H.point([_, v], {
8103
+ val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8104
+ spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8105
8105
  });
8106
8106
  I.push(X);
8107
8107
  }
8108
8108
  });
8109
8109
  }
8110
8110
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
8111
- const _ = this.weatherLayers[T].speed;
8112
- if (_) {
8113
- if (!_.data) {
8111
+ const k = this.weatherLayers[T].speed;
8112
+ if (k) {
8113
+ if (!k.data) {
8114
8114
  const C = [];
8115
- for (const v in (g = _.raw) == null ? void 0 : g.Polygon) {
8116
- const A = _.raw.Polygon[v];
8115
+ for (const _ in (g = k.raw) == null ? void 0 : g.Polygon) {
8116
+ const A = k.raw.Polygon[_];
8117
8117
  for (const N of A)
8118
8118
  C.push(
8119
8119
  H.polygon(N, {
8120
- val: Number(v)
8120
+ val: Number(_)
8121
8121
  })
8122
8122
  );
8123
8123
  }
8124
- _.data = H.featureCollection(C);
8124
+ k.data = H.featureCollection(C);
8125
8125
  }
8126
- const L = a < this.zoom ? _.data.features.filter((C) => C.properties.val > 0.5) : _.data.features;
8127
- I = I.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8126
+ const v = a < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
8127
+ I = I.concat(v), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8128
8128
  }
8129
8129
  } else if (T === "wind") {
8130
8130
  O = !0;
8131
- const P = this.weatherLayers.wind.raw;
8132
- for (const _ in P)
8133
- if (_ > c && _ < n && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8134
- const L = P[_].lng;
8135
- r > l ? L.forEach((C, v) => {
8131
+ const L = this.weatherLayers.wind.raw;
8132
+ for (const k in L)
8133
+ if (k > c && k < n && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8134
+ const v = L[k].lng;
8135
+ r > l ? v.forEach((C, _) => {
8136
8136
  var A, N, V, Z;
8137
8137
  if (a < 2) {
8138
8138
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8139
- const U = H.point([C, _], {
8140
- dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((N = P[_].dir) == null ? void 0 : N[v]),
8141
- spd: P[_].spd[v]
8139
+ const U = H.point([C, k], {
8140
+ dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8141
+ spd: L[k].spd[_]
8142
8142
  });
8143
8143
  I.push(U);
8144
8144
  }
8145
8145
  } else if ((C >= r && C <= 180 || C >= -180 && C <= l) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8146
- const U = H.point([C, _], {
8147
- dir: ((V = P[_].val) == null ? void 0 : V[v]) || ((Z = P[_].dir) == null ? void 0 : Z[v]),
8148
- spd: P[_].spd[v]
8146
+ const U = H.point([C, k], {
8147
+ dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8148
+ spd: L[k].spd[_]
8149
8149
  });
8150
8150
  I.push(U);
8151
8151
  }
8152
- }) : L.forEach((C, v) => {
8152
+ }) : v.forEach((C, _) => {
8153
8153
  var A, N, V, Z;
8154
8154
  if (a < 2) {
8155
8155
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8156
- const U = H.point([C, _], {
8157
- dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((N = P[_].dir) == null ? void 0 : N[v]),
8158
- spd: P[_].spd[v]
8156
+ const U = H.point([C, k], {
8157
+ dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8158
+ spd: L[k].spd[_]
8159
8159
  });
8160
8160
  I.push(U);
8161
8161
  }
8162
8162
  } else if (C >= r && C <= l && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8163
- const U = H.point([C, _], {
8164
- dir: ((V = P[_].val) == null ? void 0 : V[v]) || ((Z = P[_].dir) == null ? void 0 : Z[v]),
8165
- spd: P[_].spd[v]
8163
+ const U = H.point([C, k], {
8164
+ dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8165
+ spd: L[k].spd[_]
8166
8166
  });
8167
8167
  I.push(U);
8168
8168
  }
@@ -8174,37 +8174,37 @@ const wn = {
8174
8174
  I = this.weatherLayers[T].data;
8175
8175
  else {
8176
8176
  O = !0;
8177
- const P = this.weatherLayers[T].raw;
8178
- if (P) {
8179
- const _ = [];
8180
- for (const L in P.Polygon) {
8181
- const C = P.Polygon[L];
8182
- for (const v of C)
8183
- _.push(
8184
- H.polygon(v, {
8185
- val: Number(L)
8177
+ const L = this.weatherLayers[T].raw;
8178
+ if (L) {
8179
+ const k = [];
8180
+ for (const v in L.Polygon) {
8181
+ const C = L.Polygon[v];
8182
+ for (const _ of C)
8183
+ k.push(
8184
+ H.polygon(_, {
8185
+ val: Number(v)
8186
8186
  })
8187
8187
  );
8188
8188
  }
8189
- for (const L in P.MultiPolygon) {
8190
- const C = P.MultiPolygon[L];
8191
- for (const v of C)
8192
- _.push(
8193
- H.multiPolygon(v, {
8194
- val: Number(L)
8189
+ for (const v in L.MultiPolygon) {
8190
+ const C = L.MultiPolygon[v];
8191
+ for (const _ of C)
8192
+ k.push(
8193
+ H.multiPolygon(_, {
8194
+ val: Number(v)
8195
8195
  })
8196
8196
  );
8197
8197
  }
8198
- for (const L in P.Point) {
8199
- const C = P.Point[L];
8200
- for (let v = 0; v < ((z = C.lng) == null ? void 0 : z.length); v++)
8201
- _.push(
8202
- H.point([C.lng[v], L], {
8203
- val: Number(C.val[v])
8198
+ for (const v in L.Point) {
8199
+ const C = L.Point[v];
8200
+ for (let _ = 0; _ < ((P = C.lng) == null ? void 0 : P.length); _++)
8201
+ k.push(
8202
+ H.point([C.lng[_], v], {
8203
+ val: Number(C.val[_])
8204
8204
  })
8205
8205
  );
8206
8206
  }
8207
- I = I.concat(_);
8207
+ I = I.concat(k);
8208
8208
  }
8209
8209
  }
8210
8210
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
@@ -8213,28 +8213,28 @@ const wn = {
8213
8213
  I = this.weatherLayers[T].data;
8214
8214
  else {
8215
8215
  O = !0;
8216
- const P = this.weatherLayers[T].raw;
8217
- if (P) {
8218
- const _ = [];
8219
- for (const L in P.LineString) {
8220
- const C = P.LineString[L];
8221
- for (const v of C)
8222
- _.push(
8223
- H.lineString(v, {
8224
- val: Number(L)
8216
+ const L = this.weatherLayers[T].raw;
8217
+ if (L) {
8218
+ const k = [];
8219
+ for (const v in L.LineString) {
8220
+ const C = L.LineString[v];
8221
+ for (const _ of C)
8222
+ k.push(
8223
+ H.lineString(_, {
8224
+ val: Number(v)
8225
8225
  })
8226
8226
  );
8227
8227
  }
8228
- for (const L in P.Point)
8229
- P.Point[L].lng.forEach((C, v) => {
8230
- C = K.convertToStdLng(C), _.push(
8231
- H.point([C, L], {
8232
- val: P.Point[L].val[v],
8233
- type: P.Point[L].type[v]
8228
+ for (const v in L.Point)
8229
+ L.Point[v].lng.forEach((C, _) => {
8230
+ C = K.convertToStdLng(C), k.push(
8231
+ H.point([C, v], {
8232
+ val: L.Point[v].val[_],
8233
+ type: L.Point[v].type[_]
8234
8234
  })
8235
8235
  );
8236
8236
  });
8237
- I = I.concat(_);
8237
+ I = I.concat(k);
8238
8238
  }
8239
8239
  }
8240
8240
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
@@ -8282,7 +8282,7 @@ const wn = {
8282
8282
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, Nn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" };
8283
8283
  function Jn(t, e, o, i, a, r) {
8284
8284
  var J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e;
8285
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), k = w("VSwitch"), g = w("VCardTitle"), z = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), P = w("IdmWindBarb"), _ = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), C = w("IdmPrmsl"), v = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), U = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), X = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
8285
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), g = w("VCardTitle"), P = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), L = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), v = w("IdmCurrentDirection"), C = w("IdmPrmsl"), _ = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), U = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), X = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
8286
8286
  return y(), S("div", xn, [
8287
8287
  s("div", {
8288
8288
  class: "menu-bar-box transition pa-1",
@@ -8450,7 +8450,7 @@ function Jn(t, e, o, i, a, r) {
8450
8450
  s("div", Mn, [
8451
8451
  s("div", In, [
8452
8452
  s("div", Dn, m(t.$t("weather.weather")), 1),
8453
- p(k, {
8453
+ p(z, {
8454
8454
  modelValue: a.autoActive,
8455
8455
  "onUpdate:modelValue": e[1] || (e[1] = (G) => a.autoActive = G),
8456
8456
  class: "small-switch",
@@ -8482,7 +8482,7 @@ function Jn(t, e, o, i, a, r) {
8482
8482
  elevation: "0"
8483
8483
  }, {
8484
8484
  default: f(() => [
8485
- p(z, { class: "border-b-thin" }, {
8485
+ p(P, { class: "border-b-thin" }, {
8486
8486
  default: f(() => [
8487
8487
  p(g, {
8488
8488
  class: "text-subtitle-1 font-weight-medium",
@@ -8522,7 +8522,7 @@ function Jn(t, e, o, i, a, r) {
8522
8522
  elevation: "0"
8523
8523
  }, {
8524
8524
  default: f(() => [
8525
- p(z, { class: "border-b-thin" }, {
8525
+ p(P, { class: "border-b-thin" }, {
8526
8526
  default: f(() => [
8527
8527
  p(g, {
8528
8528
  class: "text-subtitle-1 font-weight-medium",
@@ -8556,7 +8556,7 @@ function Jn(t, e, o, i, a, r) {
8556
8556
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
8557
8557
  a.renderKey === "wind-particle" && G.key === "wind-particle" ? (y(), S("div", An, [
8558
8558
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8559
- p(k, {
8559
+ p(z, {
8560
8560
  modelValue: a.showWindParticle,
8561
8561
  "onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
8562
8562
  label: "",
@@ -8571,7 +8571,7 @@ function Jn(t, e, o, i, a, r) {
8571
8571
  ])) : D("", !0),
8572
8572
  a.renderKey === "current-particle" && G.key === "current-particle" ? (y(), S("div", Rn, [
8573
8573
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8574
- p(k, {
8574
+ p(z, {
8575
8575
  modelValue: a.showCurrentParticle,
8576
8576
  "onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
8577
8577
  label: "",
@@ -8682,7 +8682,7 @@ function Jn(t, e, o, i, a, r) {
8682
8682
  elevation: "0"
8683
8683
  }, {
8684
8684
  default: f(() => [
8685
- p(z, { class: "border-b-thin" }, {
8685
+ p(P, { class: "border-b-thin" }, {
8686
8686
  default: f(() => [
8687
8687
  p(g, {
8688
8688
  class: "text-subtitle-1 font-weight-medium",
@@ -8729,7 +8729,7 @@ function Jn(t, e, o, i, a, r) {
8729
8729
  })
8730
8730
  ], 2)
8731
8731
  ], 6),
8732
- o.map ? (y(), R(P, B({
8732
+ o.map ? (y(), R(L, B({
8733
8733
  key: 1,
8734
8734
  ref: "windBarb",
8735
8735
  map: o.map,
@@ -8738,7 +8738,7 @@ function Jn(t, e, o, i, a, r) {
8738
8738
  wind: (J = a.weatherLayers) == null ? void 0 : J.wind,
8739
8739
  "menu-toggle": o.menuToggle
8740
8740
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : D("", !0),
8741
- o.map ? (y(), R(_, B({
8741
+ o.map ? (y(), R(k, B({
8742
8742
  key: 2,
8743
8743
  map: o.map,
8744
8744
  "before-layer": "empty-layer-2",
@@ -8746,7 +8746,7 @@ function Jn(t, e, o, i, a, r) {
8746
8746
  "menu-toggle": o.menuToggle,
8747
8747
  "active-weather-layers": a.activeWeatherLayers
8748
8748
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
8749
- o.map ? (y(), R(L, B({
8749
+ o.map ? (y(), R(v, B({
8750
8750
  key: 3,
8751
8751
  map: o.map,
8752
8752
  "map-feather": o.mapFeather,
@@ -8762,7 +8762,7 @@ function Jn(t, e, o, i, a, r) {
8762
8762
  "menu-toggle": o.menuToggle,
8763
8763
  "active-weather-layers": a.activeWeatherLayers
8764
8764
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
8765
- o.map ? (y(), R(v, B({
8765
+ o.map ? (y(), R(_, B({
8766
8766
  key: 5,
8767
8767
  viewport: a.viewport,
8768
8768
  factor: (pe = a.weatherLayers) == null ? void 0 : pe["wind-particle"],
@@ -9150,11 +9150,11 @@ class Za {
9150
9150
  const a = e.toLowerCase().split(","), r = [], l = [];
9151
9151
  for (const c of a) {
9152
9152
  let n = to.find((h) => {
9153
- var b, x, k;
9154
- return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((k = h.name) == null ? void 0 : k.toLowerCase()) === c;
9153
+ var b, x, z;
9154
+ return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9155
9155
  }), u = oo.find((h) => {
9156
- var b, x, k;
9157
- return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((k = h.name) == null ? void 0 : k.toLowerCase()) === c;
9156
+ var b, x, z;
9157
+ return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9158
9158
  });
9159
9159
  n = n || to.find((h) => {
9160
9160
  var b, x;
@@ -9179,7 +9179,7 @@ class Za {
9179
9179
  }), a;
9180
9180
  }
9181
9181
  static pickHourly(e, o) {
9182
- var i, a, r, l, c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9182
+ var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9183
9183
  const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9184
9184
  if (ue.isBetween(oe, re, "millisecond", "[]")) {
9185
9185
  const j = ue.utc().diff(oe, "h", !1);
@@ -9193,9 +9193,9 @@ class Za {
9193
9193
  for (let Te = j - (j - 1) % 6; Te <= j; Te++)
9194
9194
  Ee += (x = q == null ? void 0 : q.precipitation) == null ? void 0 : x.at(Te);
9195
9195
  ye = {
9196
- temp: (k = q == null ? void 0 : q.temperature_2m) == null ? void 0 : k.at(j),
9196
+ temp: (z = q == null ? void 0 : q.temperature_2m) == null ? void 0 : z.at(j),
9197
9197
  apparentTemp: (g = q == null ? void 0 : q.apparent_temperature) == null ? void 0 : g.at(j),
9198
- rh: (z = q == null ? void 0 : q.relative_humidity_2m) == null ? void 0 : z.at(j),
9198
+ rh: (P = q == null ? void 0 : q.relative_humidity_2m) == null ? void 0 : P.at(j),
9199
9199
  dp: (T = q == null ? void 0 : q.dew_point_2m) == null ? void 0 : T.at(j),
9200
9200
  precip: {
9201
9201
  probability: (O = q == null ? void 0 : q.precipitation_probability) == null ? void 0 : O.at(j),
@@ -9203,12 +9203,12 @@ class Za {
9203
9203
  sum3Hours: Math.round(Be * 100) / 100,
9204
9204
  sum6Hours: Math.round(Ee * 100) / 100
9205
9205
  },
9206
- pmsl: (P = q == null ? void 0 : q.pressure_msl) == null ? void 0 : P.at(j),
9207
- psurf: (_ = q == null ? void 0 : q.surface_pressure) == null ? void 0 : _.at(j),
9208
- code: (L = q == null ? void 0 : q.weather_code) == null ? void 0 : L.at(j),
9206
+ pmsl: (L = q == null ? void 0 : q.pressure_msl) == null ? void 0 : L.at(j),
9207
+ psurf: (k = q == null ? void 0 : q.surface_pressure) == null ? void 0 : k.at(j),
9208
+ code: (v = q == null ? void 0 : q.weather_code) == null ? void 0 : v.at(j),
9209
9209
  visibility: this.m2nm((C = q == null ? void 0 : q.visibility) == null ? void 0 : C.at(j)),
9210
9210
  wind: {
9211
- speed: (v = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : v.at(j),
9211
+ speed: (_ = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : _.at(j),
9212
9212
  kts: (A = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : A.at(j),
9213
9213
  degree: (N = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : N.at(j),
9214
9214
  bearing: ((V = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : V.at(j)) !== null ? (((Z = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : Z.at(j)) + 180) % 360 : null,
@@ -9288,7 +9288,7 @@ class Za {
9288
9288
  };
9289
9289
  }
9290
9290
  static pickDaily(e, o) {
9291
- var i, a, r, l, c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9291
+ var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9292
9292
  const Re = typeof o == "string" ? M(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = M((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9293
9293
  if (Re.isBetween(te, He, "millisecond", "[]")) {
9294
9294
  let ue, fe;
@@ -9304,21 +9304,21 @@ class Za {
9304
9304
  mean: (x = oe.temperature_2m_mean) == null ? void 0 : x.at(W)
9305
9305
  },
9306
9306
  apparentTemp: {
9307
- max: (k = oe.apparent_temperature_max) == null ? void 0 : k.at(W),
9307
+ max: (z = oe.apparent_temperature_max) == null ? void 0 : z.at(W),
9308
9308
  min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(W)
9309
9309
  },
9310
9310
  precip: {
9311
- sum: (z = oe.precipitation_sum) == null ? void 0 : z.at(W),
9311
+ sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(W),
9312
9312
  rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(W),
9313
9313
  snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(W),
9314
9314
  showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(W),
9315
- hours: (P = oe.precipitation_hours) == null ? void 0 : P.at(W),
9316
- probability: (_ = oe.precipitation_probability_max) == null ? void 0 : _.at(W)
9315
+ hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(W),
9316
+ probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(W)
9317
9317
  },
9318
9318
  rh: {
9319
- max: (L = oe.relative_humidity_2m_max) == null ? void 0 : L.at(W),
9319
+ max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(W),
9320
9320
  min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(W),
9321
- mean: (v = oe.relative_humidity_2m_mean) == null ? void 0 : v.at(W)
9321
+ mean: (_ = oe.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
9322
9322
  },
9323
9323
  wind: {
9324
9324
  speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(W),
@@ -9975,9 +9975,9 @@ const tc = {
9975
9975
  },
9976
9976
  responseType: /\.(jpg|png)$/.test(u.tropicals) ? "blob" : "json"
9977
9977
  }).then((h) => {
9978
- var k, g, z;
9979
- const b = Va.convert2Geojson(((k = h == null ? void 0 : h.data) == null ? void 0 : k.data) || (h == null ? void 0 : h.data));
9980
- ((z = (g = h == null ? void 0 : h.config) == null ? void 0 : g.headers) == null ? void 0 : z.key) && b && (this.tropicals = {
9978
+ var z, g, P;
9979
+ const b = Va.convert2Geojson(((z = h == null ? void 0 : h.data) == null ? void 0 : z.data) || (h == null ? void 0 : h.data));
9980
+ ((P = (g = h == null ? void 0 : h.config) == null ? void 0 : g.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
9981
9981
  data: b,
9982
9982
  active: !0,
9983
9983
  cached: !0,
@@ -9995,35 +9995,35 @@ const tc = {
9995
9995
  handleRefresh() {
9996
9996
  var e, o;
9997
9997
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
9998
- var a, r, l, c, n, u, h, b, x, k, g;
9998
+ var a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k;
9999
9999
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
10000
- let z = "";
10000
+ let v = "";
10001
10001
  switch (!0) {
10002
- case ((r = i.properties.wind) == null ? void 0 : r.kts) < 32:
10003
- z = "TD";
10002
+ case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
10003
+ v = "TD";
10004
10004
  break;
10005
- case ((l = i.properties.wind) == null ? void 0 : l.kts) < 47:
10006
- z = "TS";
10005
+ case (((c = i.properties.wind) == null ? void 0 : c.kts) < 47 || ((n = i.properties) == null ? void 0 : n.kts) < 47):
10006
+ v = "TS";
10007
10007
  break;
10008
- case ((c = i.properties.wind) == null ? void 0 : c.kts) < 63:
10009
- z = "STS";
10008
+ case (((u = i.properties.wind) == null ? void 0 : u.kts) < 63 || ((h = i.properties) == null ? void 0 : h.kts) < 63):
10009
+ v = "STS";
10010
10010
  break;
10011
- case ((n = i.properties.wind) == null ? void 0 : n.kts) < 79:
10012
- z = "TY";
10011
+ case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
10012
+ v = "TY";
10013
10013
  break;
10014
- case ((u = i.properties.wind) == null ? void 0 : u.kts) < 94:
10015
- z = "STY";
10014
+ case (((z = i.properties.wind) == null ? void 0 : z.kts) < 94 || ((g = i.properties) == null ? void 0 : g.kts) < 94):
10015
+ v = "STY";
10016
10016
  break;
10017
- case ((h = i.properties.wind) == null ? void 0 : h.kts) >= 94:
10018
- z = "Super TY";
10017
+ case (((P = i.properties.wind) == null ? void 0 : P.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
10018
+ v = "Super TY";
10019
10019
  break;
10020
10020
  default:
10021
- z = "Super TY";
10021
+ v = "Super TY";
10022
10022
  break;
10023
10023
  }
10024
- i.properties.level = z;
10024
+ i.properties.level = v;
10025
10025
  }
10026
- ((b = i.geometry) == null ? void 0 : b.type) === "Point" && ((x = i.properties) != null && x.important) && (i.properties.format = (g = (k = M(i.properties.date)) == null ? void 0 : k.utcOffset(this.timeZone)) == null ? void 0 : g.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10026
+ ((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (k = (L = M(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : k.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10027
10027
  }), this.handleInit();
10028
10028
  },
10029
10029
  handleInit() {
@@ -10249,8 +10249,8 @@ const tc = {
10249
10249
  "text-halo-width": 1
10250
10250
  }
10251
10251
  }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x));
10252
- const k = Va.interpolate(this.tropicals, 1);
10253
- this.interpolateData = JSON.parse(JSON.stringify(k)), this.handleDateChange();
10252
+ const z = Va.interpolate(this.tropicals, 1);
10253
+ this.interpolateData = JSON.parse(JSON.stringify(z)), this.handleDateChange();
10254
10254
  }
10255
10255
  },
10256
10256
  handleClear() {
@@ -10258,7 +10258,7 @@ const tc = {
10258
10258
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
10259
10259
  },
10260
10260
  handleDateChange() {
10261
- var t, e, o, i, a, r, l, c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee;
10261
+ var t, e, o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee;
10262
10262
  if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10263
10263
  const Q = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), X = this.interpolateData.filter((J) => J.properties.date === (Q == null ? void 0 : Q.format()) && !J.properties.disabled), ne = this.handleComputePolygons(X), se = H.featureCollection([...X]);
10264
10264
  ne.forEach((J) => {
@@ -10280,7 +10280,7 @@ const tc = {
10280
10280
  for (const J of X)
10281
10281
  if (!J.properties.disabled) {
10282
10282
  let ae = "#f44336";
10283
- ((c = (l = J.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = J.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = J.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((k = (x = J.properties) == null ? void 0 : x.wind) == null ? void 0 : k.kts) < 47 ? ae = "#f2f202" : ((z = (g = J.properties) == null ? void 0 : g.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = J.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((P = (I = J.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((L = (_ = J.properties) == null ? void 0 : _.wind) == null ? void 0 : L.kts) < 79 ? ae = "#f44336" : ((v = (C = J.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((N = (A = J.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Z = (V = J.properties) == null ? void 0 : V.wind) == null ? void 0 : Z.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
10283
+ ((c = (l = J.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = J.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = J.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((z = (x = J.properties) == null ? void 0 : x.wind) == null ? void 0 : z.kts) < 47 ? ae = "#f2f202" : ((P = (g = J.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = J.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = J.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (k = J.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((_ = (C = J.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((N = (A = J.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Z = (V = J.properties) == null ? void 0 : V.wind) == null ? void 0 : Z.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
10284
10284
  const he = `<svg t="1719918955501"
10285
10285
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
10286
10286
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -10306,25 +10306,25 @@ const tc = {
10306
10306
  handleClick(t) {
10307
10307
  var a, r, l, c, n, u, h, b, x;
10308
10308
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
10309
- (k) => {
10309
+ (z) => {
10310
10310
  var g;
10311
- return k.geometry.type === "LineString" && k.properties.type === "forecast" && k.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10311
+ return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10312
10312
  }
10313
10313
  ), i = (c = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : c.features.filter(
10314
- (k) => {
10314
+ (z) => {
10315
10315
  var g;
10316
- return k.geometry.type === "LineString" && k.properties.type === "history" && k.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10316
+ return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10317
10317
  }
10318
10318
  );
10319
10319
  this.activeTropicals = {
10320
10320
  name: (n = e == null ? void 0 : e.properties) == null ? void 0 : n.name,
10321
10321
  nameCn: (u = e == null ? void 0 : e.properties) == null ? void 0 : u.nameCn,
10322
- forecasts: o.map((k) => k.properties),
10322
+ forecasts: o.map((z) => z.properties),
10323
10323
  history: (h = i[0]) == null ? void 0 : h.properties,
10324
10324
  showCircle: (x = (b = o[0]) == null ? void 0 : b.properties) == null ? void 0 : x.showCircle
10325
10325
  }, this.showTropicalsInfo = !0, this.$nextTick(() => {
10326
- const k = document.getElementById("idm-tropical-gl4-info");
10327
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(k).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10326
+ const z = document.getElementById("idm-tropical-gl4-info");
10327
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(z).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10328
10328
  });
10329
10329
  },
10330
10330
  handleCloseInfoMarker() {
@@ -10471,7 +10471,7 @@ const tc = {
10471
10471
  class: "d-flex justify-start align-center"
10472
10472
  }, Yc = { class: "text-label pr-1" }, qc = { class: "d-flex justify-start align-center" }, Xc = { class: "text-label pr-1" };
10473
10473
  function $c(t, e, o, i, a, r) {
10474
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), k = w("v-divider");
10474
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), z = w("v-divider");
10475
10475
  return y(), S("div", oc, [
10476
10476
  s("div", {
10477
10477
  class: "menu-bar-box transition pa-1",
@@ -10508,11 +10508,11 @@ function $c(t, e, o, i, a, r) {
10508
10508
  default: f(() => [
10509
10509
  p(n, null, {
10510
10510
  default: f(() => {
10511
- var g, z, T, O, I, P, _, L, C, v, A;
10511
+ var g, P, T, O, I, L, k, v, C, _, A;
10512
10512
  return [
10513
10513
  s("div", ic, [
10514
- s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (z = a.activeTropicals) == null ? void 0 : z.nameCn), 1),
10515
- (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((P = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : P.level), 1)) : D("", !0)
10514
+ s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10515
+ (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10516
10516
  ]),
10517
10517
  p(l, {
10518
10518
  icon: "",
@@ -10529,7 +10529,7 @@ function $c(t, e, o, i, a, r) {
10529
10529
  }, 8, ["onClick"]),
10530
10530
  s("div", lc, [
10531
10531
  s("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
10532
- s("span", null, m(r.computeTime(((L = (_ = a.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : L.updated) || ((A = (v = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : v.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
10532
+ s("span", null, m(r.computeTime(((v = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.updated) || ((A = (_ = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : _.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
10533
10533
  ])
10534
10534
  ];
10535
10535
  }),
@@ -10538,43 +10538,43 @@ function $c(t, e, o, i, a, r) {
10538
10538
  p(u),
10539
10539
  p(n, { class: "text-body-1" }, {
10540
10540
  default: f(() => {
10541
- var g, z, T, O, I, P, _, L, C;
10541
+ var g, P, T, O, I, L, k, v, C;
10542
10542
  return [
10543
10543
  s("div", cc, [
10544
10544
  s("div", mc, [
10545
10545
  s("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
10546
- s("span", null, m(((z = (g = a.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
10546
+ s("span", null, m(((P = (g = a.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
10547
10547
  s("span", null, ", BF " + m(r.computeBF(((O = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
10548
10548
  ]),
10549
10549
  s("div", hc, [
10550
10550
  s("label", pc, m(t.$t("weather.pressure")) + " : ", 1),
10551
- s("span", null, m(((P = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : P.pressure) || "-") + " hPa", 1)
10551
+ s("span", null, m(((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.pressure) || "-") + " hPa", 1)
10552
10552
  ])
10553
10553
  ]),
10554
10554
  s("div", uc, [
10555
10555
  s("div", gc, [
10556
10556
  s("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10557
- s("span", null, m(((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.kts) || "-") + " kts", 1)
10557
+ s("span", null, m(((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
10558
10558
  ]),
10559
10559
  s("div", yc, [
10560
10560
  s("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
10561
- s("span", null, m(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
10561
+ s("span", null, m(((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) || "-") + "°", 1)
10562
10562
  ])
10563
10563
  ]),
10564
10564
  s("div", wc, [
10565
10565
  s("label", xc, m(t.$t("weather.forecastModels")) + " : ", 1),
10566
10566
  s("div", vc, [
10567
- (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (v, A) => (y(), R(l, {
10567
+ (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
10568
10568
  key: A,
10569
10569
  density: "compact",
10570
- variant: v.disabled ? "text" : "flat",
10571
- color: v.disabled ? "" : "primary",
10570
+ variant: _.disabled ? "text" : "flat",
10571
+ color: _.disabled ? "" : "primary",
10572
10572
  "min-width": 30,
10573
- class: Ne(["model text-none text-body-1 px-1", v.disabled ? "btn-border-1 btn-bg-1" : ""]),
10574
- onClick: je((N) => r.handleForecastToggle(v), ["stop"])
10573
+ class: Ne(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
10574
+ onClick: je((N) => r.handleForecastToggle(_), ["stop"])
10575
10575
  }, {
10576
10576
  default: f(() => [
10577
- $(m(v.model), 1)
10577
+ $(m(_.model), 1)
10578
10578
  ]),
10579
10579
  _: 2
10580
10580
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -10706,25 +10706,25 @@ function $c(t, e, o, i, a, r) {
10706
10706
  default: f(() => [
10707
10707
  p(x, null, {
10708
10708
  default: f(() => {
10709
- var g, z, T;
10709
+ var g, P, T;
10710
10710
  return [
10711
10711
  s("div", Pc, [
10712
- s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (z = a.hoverPoint) == null ? void 0 : z.nameCn), 1),
10712
+ s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
10713
10713
  s("span", Tc, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
10714
10714
  ])
10715
10715
  ];
10716
10716
  }),
10717
10717
  _: 1
10718
10718
  }),
10719
- p(k),
10719
+ p(z),
10720
10720
  p(n, { class: "text-body-1" }, {
10721
10721
  default: f(() => {
10722
- var g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se;
10722
+ var g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se;
10723
10723
  return [
10724
10724
  s("div", Sc, [
10725
10725
  ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Mc, [
10726
10726
  s("label", Ic, m(t.$t("tropical.updated")) + " : ", 1),
10727
- s("span", null, m(r.computeTzTime((z = a.hoverPoint) == null ? void 0 : z.update, o.timeZone)), 1)
10727
+ s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
10728
10728
  ])) : D("", !0),
10729
10729
  ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Dc, [
10730
10730
  s("label", Ac, m(t.$t("tropical.forecast")) + " : ", 1),
@@ -10732,15 +10732,15 @@ function $c(t, e, o, i, a, r) {
10732
10732
  ])) : D("", !0),
10733
10733
  ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Rc, [
10734
10734
  s("label", Oc, m(t.$t("tropical.forecast")) + " : ", 1),
10735
- s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.date, o.timeZone)), 1)
10735
+ s("span", null, m(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
10736
10736
  ])) : D("", !0),
10737
- ((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (y(), S("div", Bc, [
10737
+ ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (y(), S("div", Bc, [
10738
10738
  s("label", Ec, m(t.$t("tropical.model")) + " : ", 1),
10739
- s("span", null, m(((L = a.hoverPoint) == null ? void 0 : L.model) ?? "-"), 1)
10739
+ s("span", null, m(((v = a.hoverPoint) == null ? void 0 : v.model) ?? "-"), 1)
10740
10740
  ])) : D("", !0),
10741
10741
  ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", jc, [
10742
10742
  s("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
10743
- s("span", null, m(((A = JSON.parse((v = a.hoverPoint) == null ? void 0 : v.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10743
+ s("span", null, m(((A = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10744
10744
  ])) : D("", !0),
10745
10745
  ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Fc, [
10746
10746
  s("label", Hc, m(t.$t("weather.wind")) + " : ", 1),
@@ -10943,7 +10943,7 @@ const Kc = {
10943
10943
  style: { height: "56px" }
10944
10944
  };
10945
10945
  function om(t, e, o, i, a, r) {
10946
- const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), k = w("VCardActions"), g = w("VCard");
10946
+ const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), z = w("VCardActions"), g = w("VCard");
10947
10947
  return y(), S("div", Qc, [
10948
10948
  p(l, {
10949
10949
  text: "",
@@ -10967,7 +10967,7 @@ function om(t, e, o, i, a, r) {
10967
10967
  s("div", Jc, [
10968
10968
  p(c, {
10969
10969
  modelValue: a.currentDate,
10970
- "onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentDate = z),
10970
+ "onUpdate:modelValue": e[0] || (e[0] = (P) => a.currentDate = P),
10971
10971
  min: a.minDate,
10972
10972
  max: a.maxDate,
10973
10973
  "mode-icon": () => r.currentYear,
@@ -10987,22 +10987,22 @@ function om(t, e, o, i, a, r) {
10987
10987
  s("div", tm, m(a.currentTime), 1),
10988
10988
  p(b, { class: "pa-0 flex-1-1-0" }, {
10989
10989
  default: f(() => [
10990
- (y(!0), S(be, null, we(r.hourOptions, (z, T) => (y(), R(h, {
10990
+ (y(!0), S(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
10991
10991
  key: T,
10992
- value: z,
10992
+ value: P,
10993
10993
  color: "primary",
10994
- active: a.currentTime === z,
10994
+ active: a.currentTime === P,
10995
10995
  rounded: "",
10996
10996
  height: "26",
10997
10997
  "min-height": "26"
10998
10998
  }, {
10999
10999
  default: f(() => [
11000
11000
  p(u, {
11001
- class: "text-body-2 text-center",
11002
- onClick: (O) => a.currentTime = z
11001
+ class: "text-body-2 font-weight-600 text-center",
11002
+ onClick: (O) => a.currentTime = P
11003
11003
  }, {
11004
11004
  default: f(() => [
11005
- $(m(z), 1)
11005
+ $(m(P), 1)
11006
11006
  ]),
11007
11007
  _: 2
11008
11008
  }, 1032, ["onClick"])
@@ -11017,7 +11017,7 @@ function om(t, e, o, i, a, r) {
11017
11017
  _: 1
11018
11018
  }),
11019
11019
  p(n),
11020
- p(k, {
11020
+ p(z, {
11021
11021
  class: "justify-end pa-0 pr-4",
11022
11022
  style: { height: "50px" }
11023
11023
  }, {
@@ -11295,10 +11295,10 @@ const am = {
11295
11295
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
11296
11296
  },
11297
11297
  initTableData(t) {
11298
- var o, i, a, r, l, c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
11298
+ var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
11299
11299
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
11300
11300
  const e = ((l = ao.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11301
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : g.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((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.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((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : U.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11301
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : U.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11302
11302
  },
11303
11303
  handleBind() {
11304
11304
  var t, e;
@@ -11407,7 +11407,7 @@ const am = {
11407
11407
  "aria-hidden": "true"
11408
11408
  }, Wm = ["xlink:href"];
11409
11409
  function Um(t, e, o, i, a, r) {
11410
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), k = w("DateTimePicker"), g = w("VBtnToggle"), z = w("VCardActions"), T = w("VForm"), O = w("VCardText"), I = w("VCard"), P = w("VIcon");
11410
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), z = w("DateTimePicker"), g = w("VBtnToggle"), P = w("VCardText"), T = w("VCardActions"), O = w("VForm"), I = w("VCard"), L = w("VIcon");
11411
11411
  return y(), S("div", im, [
11412
11412
  s("div", {
11413
11413
  class: "menu-bar-box transition pa-1",
@@ -11417,8 +11417,8 @@ function Um(t, e, o, i, a, r) {
11417
11417
  text: t.$t("spot.spotsMeteo"),
11418
11418
  location: "left"
11419
11419
  }, {
11420
- activator: f(({ props: _ }) => [
11421
- p(l, B(_, {
11420
+ activator: f(({ props: k }) => [
11421
+ p(l, B(k, {
11422
11422
  "min-width": "32",
11423
11423
  width: "32",
11424
11424
  height: "32",
@@ -11463,14 +11463,14 @@ function Um(t, e, o, i, a, r) {
11463
11463
  _: 1
11464
11464
  }),
11465
11465
  p(u),
11466
- p(O, { class: "text-body-1 py-1" }, {
11466
+ p(O, {
11467
+ ref: "spotForm",
11468
+ autocomplete: "off",
11469
+ class: "form-box",
11470
+ onSubmit: je(r.submitForm, ["prevent"])
11471
+ }, {
11467
11472
  default: f(() => [
11468
- p(T, {
11469
- ref: "spotForm",
11470
- autocomplete: "off",
11471
- class: "form-box",
11472
- onSubmit: je(r.submitForm, ["prevent"])
11473
- }, {
11473
+ p(P, { class: "text-body-1 py-1" }, {
11474
11474
  default: f(() => [
11475
11475
  s("div", lm, [
11476
11476
  (y(), S("svg", nm, [
@@ -11489,11 +11489,11 @@ function Um(t, e, o, i, a, r) {
11489
11489
  default: f(() => [
11490
11490
  p(h, {
11491
11491
  modelValue: a.form.lngDegree,
11492
- "onUpdate:modelValue": e[0] || (e[0] = (_) => a.form.lngDegree = _),
11492
+ "onUpdate:modelValue": e[0] || (e[0] = (k) => a.form.lngDegree = k),
11493
11493
  rules: a.formRules.lngDegree,
11494
11494
  density: "compact",
11495
11495
  variant: "outlined",
11496
- class: "text-body-1",
11496
+ class: "text-body-1 input-btn-bg-1",
11497
11497
  required: "",
11498
11498
  dense: ""
11499
11499
  }, null, 8, ["modelValue", "rules"]),
@@ -11509,12 +11509,12 @@ function Um(t, e, o, i, a, r) {
11509
11509
  default: f(() => [
11510
11510
  p(h, {
11511
11511
  modelValue: a.form.lngMinute,
11512
- "onUpdate:modelValue": e[1] || (e[1] = (_) => a.form.lngMinute = _),
11512
+ "onUpdate:modelValue": e[1] || (e[1] = (k) => a.form.lngMinute = k),
11513
11513
  rules: a.formRules.lngMinute,
11514
11514
  label: "",
11515
11515
  density: "compact",
11516
11516
  variant: "outlined",
11517
- class: "text-body-1",
11517
+ class: "text-body-1 input-btn-bg-1",
11518
11518
  required: "",
11519
11519
  dense: ""
11520
11520
  }, null, 8, ["modelValue", "rules"]),
@@ -11536,7 +11536,7 @@ function Um(t, e, o, i, a, r) {
11536
11536
  height: "32",
11537
11537
  class: "text-body-1 btn-bg-1",
11538
11538
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
11539
- onClick: e[2] || (e[2] = (_) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
11539
+ onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
11540
11540
  }, {
11541
11541
  default: f(() => [
11542
11542
  $(m(a.form.lngDirection), 1)
@@ -11566,7 +11566,7 @@ function Um(t, e, o, i, a, r) {
11566
11566
  default: f(() => [
11567
11567
  p(h, {
11568
11568
  modelValue: a.form.latDegree,
11569
- "onUpdate:modelValue": e[3] || (e[3] = (_) => a.form.latDegree = _),
11569
+ "onUpdate:modelValue": e[3] || (e[3] = (k) => a.form.latDegree = k),
11570
11570
  rules: a.formRules.latDegree,
11571
11571
  label: "",
11572
11572
  density: "compact",
@@ -11575,7 +11575,7 @@ function Um(t, e, o, i, a, r) {
11575
11575
  "min-height": "32px",
11576
11576
  required: "",
11577
11577
  dense: "",
11578
- class: "text-body-1"
11578
+ class: "text-body-1 input-btn-bg-1"
11579
11579
  }, null, 8, ["modelValue", "rules"]),
11580
11580
  e[12] || (e[12] = s("span", { class: "px-1" }, "°", -1))
11581
11581
  ]),
@@ -11589,12 +11589,12 @@ function Um(t, e, o, i, a, r) {
11589
11589
  default: f(() => [
11590
11590
  p(h, {
11591
11591
  modelValue: a.form.latMinute,
11592
- "onUpdate:modelValue": e[4] || (e[4] = (_) => a.form.latMinute = _),
11592
+ "onUpdate:modelValue": e[4] || (e[4] = (k) => a.form.latMinute = k),
11593
11593
  rules: a.formRules.latMinute,
11594
11594
  label: "",
11595
11595
  density: "compact",
11596
11596
  variant: "outlined",
11597
- class: "text-body-1",
11597
+ class: "text-body-1 input-btn-bg-1",
11598
11598
  required: "",
11599
11599
  dense: ""
11600
11600
  }, null, 8, ["modelValue", "rules"]),
@@ -11616,7 +11616,7 @@ function Um(t, e, o, i, a, r) {
11616
11616
  height: "32",
11617
11617
  class: "text-body-1 btn-bg-1",
11618
11618
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
11619
- onClick: e[5] || (e[5] = (_) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
11619
+ onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
11620
11620
  }, {
11621
11621
  default: f(() => [
11622
11622
  $(m(a.form.latDirection), 1)
@@ -11644,11 +11644,11 @@ function Um(t, e, o, i, a, r) {
11644
11644
  class: "pa-0"
11645
11645
  }, {
11646
11646
  default: f(() => [
11647
- p(k, B({
11647
+ p(z, B({
11648
11648
  "date-time": a.form.dateTime,
11649
11649
  "time-zone": o.timeZone
11650
11650
  }, t.$attrs, {
11651
- onDateTime: e[6] || (e[6] = (_) => a.form.dateTime = _)
11651
+ onDateTime: e[6] || (e[6] = (k) => a.form.dateTime = k)
11652
11652
  }), null, 16, ["date-time", "time-zone"])
11653
11653
  ]),
11654
11654
  _: 1
@@ -11673,7 +11673,7 @@ function Um(t, e, o, i, a, r) {
11673
11673
  default: f(() => [
11674
11674
  p(g, {
11675
11675
  modelValue: a.form.forecastModel,
11676
- "onUpdate:modelValue": e[7] || (e[7] = (_) => a.form.forecastModel = _),
11676
+ "onUpdate:modelValue": e[7] || (e[7] = (k) => a.form.forecastModel = k),
11677
11677
  class: "w-100",
11678
11678
  rounded: "",
11679
11679
  height: "30",
@@ -11717,44 +11717,44 @@ function Um(t, e, o, i, a, r) {
11717
11717
  })
11718
11718
  ]),
11719
11719
  _: 1
11720
- }),
11721
- p(u),
11722
- p(z, { class: "d-flex justify-end align-center ga-4" }, {
11720
+ })
11721
+ ]),
11722
+ _: 1
11723
+ }),
11724
+ p(u),
11725
+ p(T, { class: "d-flex justify-end align-center ga-4" }, {
11726
+ default: f(() => [
11727
+ p(l, {
11728
+ size: "small",
11729
+ variant: "outlined",
11730
+ class: "text-none text-body-1 btn-border-1 btn-bg-1",
11731
+ onClick: r.cancelForm
11732
+ }, {
11723
11733
  default: f(() => [
11724
- p(l, {
11725
- size: "small",
11726
- variant: "outlined",
11727
- class: "text-none text-body-1 btn-border-1 btn-bg-1",
11728
- onClick: r.cancelForm
11729
- }, {
11730
- default: f(() => [
11731
- $(m(t.$t("actions.clear")), 1)
11732
- ]),
11733
- _: 1
11734
- }, 8, ["onClick"]),
11735
- p(l, {
11736
- ref: "submitSpot",
11737
- loading: a.loading,
11738
- size: "small",
11739
- variant: "flat",
11740
- color: "primary",
11741
- type: "submit",
11742
- class: "text-none text-body-1"
11743
- }, {
11744
- default: f(() => [
11745
- $(m(t.$t("actions.confirm")), 1)
11746
- ]),
11747
- _: 1
11748
- }, 8, ["loading"])
11734
+ $(m(t.$t("actions.clear")), 1)
11749
11735
  ]),
11750
11736
  _: 1
11751
- })
11737
+ }, 8, ["onClick"]),
11738
+ p(l, {
11739
+ ref: "submitSpot",
11740
+ loading: a.loading,
11741
+ size: "small",
11742
+ variant: "flat",
11743
+ color: "primary",
11744
+ type: "submit",
11745
+ class: "text-none text-body-1"
11746
+ }, {
11747
+ default: f(() => [
11748
+ $(m(t.$t("actions.confirm")), 1)
11749
+ ]),
11750
+ _: 1
11751
+ }, 8, ["loading"])
11752
11752
  ]),
11753
11753
  _: 1
11754
- }, 8, ["onSubmit"])
11754
+ })
11755
11755
  ]),
11756
11756
  _: 1
11757
- })
11757
+ }, 8, ["onSubmit"])
11758
11758
  ]),
11759
11759
  _: 1
11760
11760
  }, 8, ["style"])) : D("", !0),
@@ -11791,20 +11791,20 @@ function Um(t, e, o, i, a, r) {
11791
11791
  _: 1
11792
11792
  }),
11793
11793
  p(u),
11794
- p(O, { class: "text-body-1 px-0 py-1" }, {
11794
+ p(P, { class: "text-body-1 px-0 py-1" }, {
11795
11795
  default: f(() => {
11796
- var _, L;
11796
+ var k, v;
11797
11797
  return [
11798
11798
  s("div", vm, [
11799
11799
  s("div", _m, m(t.$t("time.time")), 1),
11800
- s("div", km, m(r.computedTzTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
11800
+ s("div", km, m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
11801
11801
  ]),
11802
11802
  s("div", zm, [
11803
11803
  e[18] || (e[18] = s("div", {
11804
11804
  style: { width: "100px" },
11805
11805
  class: "pa-0 pr-2 text-right opacity-50"
11806
11806
  }, "LT", -1)),
11807
- s("div", Lm, m(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
11807
+ s("div", Lm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
11808
11808
  ]),
11809
11809
  s("div", Pm, [
11810
11810
  s("div", Cm, m(t.$t("weather.wind")), 1),
@@ -11829,11 +11829,11 @@ function Um(t, e, o, i, a, r) {
11829
11829
  _: 1
11830
11830
  }),
11831
11831
  p(u),
11832
- p(z, { class: "d-flex justify-space-between align-center" }, {
11832
+ p(T, { class: "d-flex justify-space-between align-center" }, {
11833
11833
  default: f(() => [
11834
- o.followList.some((_) => {
11835
- var L, C;
11836
- return ((L = _ == null ? void 0 : _.coordinate) == null ? void 0 : L.lng) === a.form.lng && ((C = _ == null ? void 0 : _.coordinate) == null ? void 0 : C.lat) === a.form.lat;
11834
+ o.followList.some((k) => {
11835
+ var v, C;
11836
+ return ((v = k == null ? void 0 : k.coordinate) == null ? void 0 : v.lng) === a.form.lng && ((C = k == null ? void 0 : k.coordinate) == null ? void 0 : C.lat) === a.form.lat;
11837
11837
  }) ? (y(), R(l, {
11838
11838
  key: 0,
11839
11839
  class: "text-none text-body-1",
@@ -11845,7 +11845,7 @@ function Um(t, e, o, i, a, r) {
11845
11845
  onClick: je(r.handleCancelFollow, ["stop"])
11846
11846
  }, {
11847
11847
  prepend: f(() => [
11848
- p(P, {
11848
+ p(L, {
11849
11849
  color: "warning",
11850
11850
  style: { "font-size": "20px", "margin-top": "-2px" }
11851
11851
  })
@@ -11865,7 +11865,7 @@ function Um(t, e, o, i, a, r) {
11865
11865
  onClick: je(r.handleFollow, ["stop"])
11866
11866
  }, {
11867
11867
  prepend: f(() => [
11868
- p(P, { style: { "font-size": "20px", "margin-top": "-2px" } })
11868
+ p(L, { style: { "font-size": "20px", "margin-top": "-2px" } })
11869
11869
  ]),
11870
11870
  default: f(() => [
11871
11871
  $(m(t.$t("actions.follow")) + " ", 1)
@@ -12008,12 +12008,12 @@ const Zm = {
12008
12008
  return;
12009
12009
  }
12010
12010
  });
12011
- const z = x.features.filter((T) => T.geometry.type === "Point");
12011
+ const P = x.features.filter((T) => T.geometry.type === "Point");
12012
12012
  this.handleTmpPointUpdate(
12013
12013
  x,
12014
- z[g - 1],
12015
- { lng: (u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, lat: (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat, properties: z[g].properties },
12016
- g === z.length - 1 ? void 0 : z[g + 1]
12014
+ P[g - 1],
12015
+ { lng: (u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, lat: (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat, properties: P[g].properties },
12016
+ g === P.length - 1 ? void 0 : P[g + 1]
12017
12017
  );
12018
12018
  }
12019
12019
  },
@@ -12021,13 +12021,13 @@ const Zm = {
12021
12021
  var o, i, a, r, l, c, n, u, h, b;
12022
12022
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
12023
12023
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12024
- const x = this.geojson.filter((z) => z.id === e.split("-")[0])[0];
12025
- this.pointMarkers[x.id].filter((z) => {
12024
+ const x = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
12025
+ this.pointMarkers[x.id].filter((P) => {
12026
12026
  var T;
12027
- return ((T = z._element) == null ? void 0 : T.id) === e;
12027
+ return ((T = P._element) == null ? void 0 : T.id) === e;
12028
12028
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
12029
- const g = x.features.filter((z) => z.geometry.type === "Point" && z.properties.id === e.split("-")[1])[0];
12030
- g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((z) => z.geometry.type === "Point"), this.handlePointUpdate(x);
12029
+ const g = x.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
12030
+ g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(x);
12031
12031
  }
12032
12032
  },
12033
12033
  handleContextmenu(t) {
@@ -12079,8 +12079,8 @@ const Zm = {
12079
12079
  o = K.roundPrecision(o + h, 4);
12080
12080
  let x;
12081
12081
  c.mode === "RL" ? x = K.convertToMonotonicLng([n, u]) : x = K.convertToMonotonicLng(Ge.interpolateCoordinates(n, u, 200));
12082
- const k = H.lineString(x.map((z) => [z.lng, z.lat]));
12083
- k.properties.dist = h, k.properties.bearing = b, k.properties.total = o, k.properties.name = "Line " + this.currentLineIndex, i.push(k);
12082
+ const z = H.lineString(x.map((P) => [P.lng, P.lat]));
12083
+ z.properties.dist = h, z.properties.bearing = b, z.properties.total = o, z.properties.name = "Line " + this.currentLineIndex, i.push(z);
12084
12084
  const g = e[a];
12085
12085
  g.properties.totalDist = K.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), g.properties.sumLabel = g.properties.totalDist + " nm";
12086
12086
  }
@@ -12096,7 +12096,7 @@ const Zm = {
12096
12096
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
12097
12097
  let b;
12098
12098
  n.mode === "RL" ? b = K.convertToMonotonicLng([u, h]) : b = K.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
12099
- const x = H.lineString(b.map((k) => [k.lng, k.lat]));
12099
+ const x = H.lineString(b.map((z) => [z.lng, z.lat]));
12100
12100
  x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
12101
12101
  }
12102
12102
  if (i) {
@@ -12104,7 +12104,7 @@ const Zm = {
12104
12104
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
12105
12105
  let b;
12106
12106
  n.mode === "RL" ? b = K.convertToMonotonicLng([u, h]) : b = K.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
12107
- const x = H.lineString(b.map((k) => [k.lng, k.lat]));
12107
+ const x = H.lineString(b.map((z) => [z.lng, z.lat]));
12108
12108
  x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
12109
12109
  }
12110
12110
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
@@ -12246,11 +12246,11 @@ const Zm = {
12246
12246
  }
12247
12247
  },
12248
12248
  handleClear(t, e = !0) {
12249
- var l, c, n, u, h, b, x, k, g, z;
12249
+ var l, c, n, u, h, b, x, z, g, P;
12250
12250
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
12251
12251
  (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(a) && this.map.removeLayer(a), (n = this.map) != null && n.getLayer(r) && this.map.removeLayer(r), (u = this.map) != null && u.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (h = this.map) != null && h.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (x = this.pointMarkers[t.id]) == null || x.forEach((T) => {
12252
12252
  T == null || T.remove();
12253
- }), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((z = this.map) != null && z.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12253
+ }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12254
12254
  }
12255
12255
  }
12256
12256
  }, Ym = { class: "idm-gl4-measure" };
@@ -12416,7 +12416,7 @@ const $m = {
12416
12416
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
12417
12417
  }, ad = ["onClick"], id = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, rd = { class: "text-body-1" };
12418
12418
  function sd(t, e, o, i, a, r) {
12419
- const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), k = w("VTooltip");
12419
+ const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), z = w("VTooltip");
12420
12420
  return y(), S("div", Km, [
12421
12421
  s("div", {
12422
12422
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
@@ -12447,8 +12447,8 @@ function sd(t, e, o, i, a, r) {
12447
12447
  default: f(() => [
12448
12448
  p(u, { class: "pa-1" }, {
12449
12449
  default: f(() => [
12450
- (y(!0), S(be, null, we(a.intervalOptions, (g, z) => (y(), R(n, {
12451
- key: z,
12450
+ (y(!0), S(be, null, we(a.intervalOptions, (g, P) => (y(), R(n, {
12451
+ key: P,
12452
12452
  value: g,
12453
12453
  variant: a.intervalHour === g ? "tonal" : "text",
12454
12454
  color: "primary",
@@ -12560,16 +12560,16 @@ function sd(t, e, o, i, a, r) {
12560
12560
  style: { height: "16px" }
12561
12561
  }),
12562
12562
  s("div", ed, [
12563
- p(k, {
12563
+ p(z, {
12564
12564
  text: t.$t("weather.windBarbs"),
12565
12565
  location: "top"
12566
12566
  }, {
12567
12567
  activator: f(({ props: g }) => {
12568
- var z, T;
12568
+ var P, T;
12569
12569
  return [
12570
12570
  p(b, B(g, {
12571
12571
  class: "pa-1 d-flex",
12572
- color: (z = o.weatherCheckList) != null && z.includes("wind") ? "primary" : "",
12572
+ color: (P = o.weatherCheckList) != null && P.includes("wind") ? "primary" : "",
12573
12573
  variant: (T = o.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
12574
12574
  height: "24",
12575
12575
  width: "24",
@@ -12586,16 +12586,16 @@ function sd(t, e, o, i, a, r) {
12586
12586
  }),
12587
12587
  _: 1
12588
12588
  }, 8, ["text"]),
12589
- p(k, {
12589
+ p(z, {
12590
12590
  text: t.$t("weather.sigWaveHeight"),
12591
12591
  location: "top"
12592
12592
  }, {
12593
12593
  activator: f(({ props: g }) => {
12594
- var z, T;
12594
+ var P, T;
12595
12595
  return [
12596
12596
  p(b, B(g, {
12597
12597
  class: "pa-1 d-flex",
12598
- color: (z = o.weatherCheckList) != null && z.includes("sig-wave-height") ? "primary" : "",
12598
+ color: (P = o.weatherCheckList) != null && P.includes("sig-wave-height") ? "primary" : "",
12599
12599
  variant: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
12600
12600
  height: "24",
12601
12601
  width: "24",
@@ -12611,16 +12611,16 @@ function sd(t, e, o, i, a, r) {
12611
12611
  }),
12612
12612
  _: 1
12613
12613
  }, 8, ["text"]),
12614
- p(k, {
12614
+ p(z, {
12615
12615
  text: t.$t("weather.currentDirection"),
12616
12616
  location: "top"
12617
12617
  }, {
12618
12618
  activator: f(({ props: g }) => {
12619
- var z, T;
12619
+ var P, T;
12620
12620
  return [
12621
12621
  p(b, B(g, {
12622
12622
  class: "pa-1 d-flex",
12623
- color: (z = o.weatherCheckList) != null && z.includes("current-direction") ? "primary" : "",
12623
+ color: (P = o.weatherCheckList) != null && P.includes("current-direction") ? "primary" : "",
12624
12624
  variant: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
12625
12625
  height: "24",
12626
12626
  width: "24",
@@ -12636,7 +12636,7 @@ function sd(t, e, o, i, a, r) {
12636
12636
  }),
12637
12637
  _: 1
12638
12638
  }, 8, ["text"]),
12639
- p(k, {
12639
+ p(z, {
12640
12640
  text: t.$t("weather.weatherLayers"),
12641
12641
  location: "top"
12642
12642
  }, {
@@ -12700,7 +12700,7 @@ function sd(t, e, o, i, a, r) {
12700
12700
  (y(!0), S(be, null, we(a.offsets, (g) => (y(), S("div", {
12701
12701
  key: g,
12702
12702
  class: "item rounded text-body-2 hover-active",
12703
- onClick: (z) => a.timeZone = g
12703
+ onClick: (P) => a.timeZone = g
12704
12704
  }, m(g < 0 ? g : "+" + g), 9, ad))), 128))
12705
12705
  ])) : D("", !0),
12706
12706
  s("div", id, [
@@ -12861,7 +12861,7 @@ class hd {
12861
12861
  de(this, "hi");
12862
12862
  de(this, "td");
12863
12863
  de(this, "windy");
12864
- var o, i, a, r, l, c, n, u, h, b, x, k, g, z, T, O, I, P, _, L, C, v, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Do, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Wa, Ua;
12864
+ var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Do, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Wa, Ua;
12865
12865
  this.i4 = {
12866
12866
  source: {
12867
12867
  type: "raster",
@@ -31507,12 +31507,12 @@ class hd {
31507
31507
  (c = (l = this.originStyle) == null ? void 0 : l.light.layers) == null ? void 0 : c.find((d) => d.id === "ice-area-fill"),
31508
31508
  (u = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : u.find((d) => d.id === "ice-area-line"),
31509
31509
  (b = (h = this.originStyle) == null ? void 0 : h.light.layers) == null ? void 0 : b.find((d) => d.id === "loadlines-label"),
31510
- (k = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : k.find((d) => d.id === "loadlines-fill"),
31511
- (z = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : z.find((d) => d.id === "empty-layer-0"),
31510
+ (z = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : z.find((d) => d.id === "loadlines-fill"),
31511
+ (P = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : P.find((d) => d.id === "empty-layer-0"),
31512
31512
  (O = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : O.find((d) => d.id === "empty-layer-1"),
31513
- (P = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : P.find((d) => d.id === "country-boundaries"),
31514
- (L = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
31515
- (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
31513
+ (L = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : L.find((d) => d.id === "country-boundaries"),
31514
+ (v = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
31515
+ (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((d) => d.id === "water-outline2"),
31516
31516
  (N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
31517
31517
  (Z = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Z.find((d) => d.id === "water-line-label"),
31518
31518
  (ee = (U = this.originStyle) == null ? void 0 : U.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),