@idmwx/idmui-gl4 2.3.6 → 2.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
- var Qa = Object.defineProperty;
2
- var $a = (t, e, o) => e in t ? Qa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
- var pe = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
1
+ var Ja = Object.defineProperty;
2
+ var Qa = (t, e, o) => e in t ? Ja(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
+ var pe = (t, e, o) => (Qa(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Ae from "axios";
5
5
  import { useTheme as De } from "vuetify";
6
6
  import { openBlock as g, createElementBlock as M, resolveComponent as v, createBlock as R, normalizeClass as ne, withCtx as u, createVNode as p, withModifiers as Me, createElementVNode as s, createCommentVNode as D, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ze, vShow as Ye, mergeProps as j, normalizeStyle as ee } from "vue";
7
7
  import ze from "mapbox-gl";
8
8
  import S from "moment";
9
9
  import { LngLatHelper as q, TropicalHelper as Va, LaneHelper as Ve } from "@idm-plugin/geo";
10
- import { Meteo2Assist as Co, TidesAssist as Ya } from "@idm-plugin/meteo";
10
+ import { Meteo2Assist as To, TidesAssist as Ya } from "@idm-plugin/meteo";
11
11
  import * as Mo from "echarts";
12
12
  import * as G from "@turf/turf";
13
- import { LayerHelper as To, CompanyHelper as ei } from "@idm-plugin/tag2";
13
+ import { LayerHelper as Co, CompanyHelper as ei } from "@idm-plugin/tag2";
14
14
  import ti from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as oi } from "@idm-plugin/tag";
16
16
  const Y = (t, e) => {
@@ -1478,7 +1478,7 @@ const fi = {
1478
1478
  async fetchForecastData() {
1479
1479
  var i, a;
1480
1480
  console.log(333, this.theme, this.simple, this.followList), this.loading = !0, this.meteoData = [];
1481
- const { weatherModels: t, marineModels: e } = Co.autoPickMeteoModel(this.forecastModel);
1481
+ const { weatherModels: t, marineModels: e } = To.autoPickMeteoModel(this.forecastModel);
1482
1482
  let o = {
1483
1483
  lat: (i = this.port) == null ? void 0 : i.lat,
1484
1484
  lng: (a = this.port) == null ? void 0 : a.lng,
@@ -1512,10 +1512,10 @@ const fi = {
1512
1512
  { label: "Swell", key: "weather.swell", unit: "m" },
1513
1513
  { label: "Current", key: "weather.current", unit: "kts" }
1514
1514
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1515
- var m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe;
1515
+ var m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe;
1516
1516
  let r = {};
1517
- const l = ((m = Co.pickHourly(t, S(i))) == null ? void 0 : m[0]) || {};
1518
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.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((y = l == null ? void 0 : l.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((C = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : C.kts, 1) ?? "-", r.windDir = (I = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((O = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : O.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (re = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((ue = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : ue.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((me = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.height, 1) ?? "-", r.swellDir = (he = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : he.direction, r.swellPeriod = this.computeRoundPrecision((A = (de = l == null ? void 0 : l.wave) == null ? void 0 : de.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.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;
1517
+ const l = ((m = To.pickHourly(t, S(i))) == null ? void 0 : m[0]) || {};
1518
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.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((y = l == null ? void 0 : l.weather) == null ? void 0 : y.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 = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((O = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : O.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (re = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((ue = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : ue.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((me = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.height, 1) ?? "-", r.swellDir = (he = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : he.direction, r.swellPeriod = this.computeRoundPrecision((A = (de = l == null ? void 0 : l.wave) == null ? void 0 : de.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.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;
1519
1519
  });
1520
1520
  },
1521
1521
  handleTide() {
@@ -1684,7 +1684,7 @@ const fi = {
1684
1684
  }, ki = { class: "summary-box" }, zi = { class: "d-flex justify-space-between align-center py-2" }, Li = { class: "d-flex justify-center align-center text-h6 ga-2" }, Pi = {
1685
1685
  class: "multi-color-icon",
1686
1686
  "aria-hidden": "true"
1687
- }, Ci = ["xlink:href"], Ti = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Mi = { class: "w-100 d-flex justify-start align-center" }, Si = { class: "w-30 text-label font-weight-400" }, Di = { class: "flex-1-1-0" }, Ii = { class: "w-100 d-flex justify-start align-center" }, Ri = { class: "w-30 text-label font-weight-400" }, Ai = { class: "flex-1-1-0" }, Oi = { class: "w-100 d-flex justify-start align-center" }, Bi = { class: "w-30 text-label font-weight-400" }, ji = { class: "flex-1-1-0" }, Ei = { class: "table-box w-100 mt-2" }, Ni = { class: "w-100 d-flex justify-space-between align-center py-2" }, Fi = { class: "d-flex justify-center align-center text-h6 ga-2" }, Hi = {
1687
+ }, Ti = ["xlink:href"], Ci = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Mi = { class: "w-100 d-flex justify-start align-center" }, Si = { class: "w-30 text-label font-weight-400" }, Di = { class: "flex-1-1-0" }, Ii = { class: "w-100 d-flex justify-start align-center" }, Ri = { class: "w-30 text-label font-weight-400" }, Ai = { class: "flex-1-1-0" }, Oi = { class: "w-100 d-flex justify-start align-center" }, Bi = { class: "w-30 text-label font-weight-400" }, ji = { class: "flex-1-1-0" }, Ei = { class: "table-box w-100 mt-2" }, Ni = { class: "w-100 d-flex justify-space-between align-center py-2" }, Fi = { class: "d-flex justify-center align-center text-h6 ga-2" }, Hi = {
1688
1688
  class: "multi-color-icon",
1689
1689
  "aria-hidden": "true"
1690
1690
  }, Gi = ["xlink:href"], Wi = {
@@ -1697,7 +1697,7 @@ const fi = {
1697
1697
  }, Vi = {
1698
1698
  key: 0,
1699
1699
  class: ""
1700
- }, Zi = { class: "px-1 text-center" }, Yi = ["src"], Xi = { key: 1 }, qi = { class: "px-1 text-center" }, Ki = ["src"], Ji = { key: 1 }, Qi = { class: "px-1 text-center" }, $i = ["src"], es = { key: 1 }, ts = { class: "px-1 text-center" }, os = ["src"], as = { key: 1 }, is = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ss = { class: "w-100 d-flex justify-space-between align-center py-2" }, rs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ls = {
1700
+ }, Zi = { class: "px-1 text-center" }, Yi = ["src"], Xi = { key: 1 }, qi = { class: "px-1 text-center" }, Ki = ["src"], $i = { key: 1 }, Ji = { class: "px-1 text-center" }, Qi = ["src"], es = { key: 1 }, ts = { class: "px-1 text-center" }, os = ["src"], as = { key: 1 }, is = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ss = { class: "w-100 d-flex justify-space-between align-center py-2" }, rs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ls = {
1701
1701
  class: "multi-color-icon",
1702
1702
  "aria-hidden": "true"
1703
1703
  }, ns = ["xlink:href"], cs = { class: "text-body-2 ga-2" }, ms = {
@@ -1728,12 +1728,12 @@ function bs(t, e, o, i, a, r) {
1728
1728
  return [
1729
1729
  p(m, { class: "w-100" }, {
1730
1730
  default: u(() => {
1731
- var y, z, C, B, I, w;
1731
+ var y, z, T, B, I, w;
1732
1732
  return [
1733
1733
  s("div", yi, [
1734
1734
  s("div", bi, [
1735
1735
  s("div", {
1736
- class: ne(["fi mr-2 rounded elevation-4", `fi-${(y = o.port) != null && y.cntLoCode ? (C = (z = o.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : C.toLowerCase() : "xx"}`]),
1736
+ class: ne(["fi mr-2 rounded elevation-4", `fi-${(y = o.port) != null && y.cntLoCode ? (T = (z = o.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1737
1737
  style: { width: "36px", height: "24px" }
1738
1738
  }, null, 2),
1739
1739
  s("div", null, n((B = o.port) == null ? void 0 : B.name), 1)
@@ -1872,13 +1872,13 @@ function bs(t, e, o, i, a, r) {
1872
1872
  (g(), M("svg", Pi, [
1873
1873
  s("use", {
1874
1874
  "xlink:href": `#icon-title-${o.theme}`
1875
- }, null, 8, Ci)
1875
+ }, null, 8, Ti)
1876
1876
  ])),
1877
1877
  s("div", null, n(t.$t("detail.summary")), 1)
1878
1878
  ]),
1879
1879
  e[9] || (e[9] = s("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1880
1880
  ]),
1881
- s("div", Ti, [
1881
+ s("div", Ci, [
1882
1882
  s("div", Mi, [
1883
1883
  s("div", Si, n(t.$t("port.region")), 1),
1884
1884
  s("div", Di, n(((x = o.port) == null ? void 0 : x.region) ?? ((k = o.port) == null ? void 0 : k.city) ?? "-"), 1)
@@ -1955,14 +1955,14 @@ function bs(t, e, o, i, a, r) {
1955
1955
  key: 0,
1956
1956
  src: y == null ? void 0 : y.value1,
1957
1957
  style: { height: "30px" }
1958
- }, null, 8, Ki)) : (g(), M("span", Ji, n((y == null ? void 0 : y.value1) ?? "-"), 1))
1958
+ }, null, 8, Ki)) : (g(), M("span", $i, n((y == null ? void 0 : y.value1) ?? "-"), 1))
1959
1959
  ]),
1960
- s("td", Qi, [
1960
+ s("td", Ji, [
1961
1961
  y.img ? (g(), M("img", {
1962
1962
  key: 0,
1963
1963
  src: y == null ? void 0 : y.value2,
1964
1964
  style: { height: "30px" }
1965
- }, null, 8, $i)) : (g(), M("span", es, n((y == null ? void 0 : y.value2) ?? "-"), 1))
1965
+ }, null, 8, Qi)) : (g(), M("span", es, n((y == null ? void 0 : y.value2) ?? "-"), 1))
1966
1966
  ]),
1967
1967
  s("td", ts, [
1968
1968
  y.img ? (g(), M("img", {
@@ -2017,9 +2017,9 @@ function bs(t, e, o, i, a, r) {
2017
2017
  s("th", us, n(t.$t("tide.height")) + " ( m )", 1)
2018
2018
  ]),
2019
2019
  (g(!0), M(xe, null, ke(a.tideTableData, (y, z) => {
2020
- var C;
2020
+ var T;
2021
2021
  return g(), M("tr", { key: z }, [
2022
- s("td", gs, n(t.$t(`tide.${(C = y == null ? void 0 : y.type) == null ? void 0 : C.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
2022
+ s("td", gs, n(t.$t(`tide.${(T = y == null ? void 0 : y.type) == null ? void 0 : T.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
2023
2023
  s("td", fs, n(r.computeLocalTime(y == null ? void 0 : y.date, o.port, "MM-DD HH:mm")), 1),
2024
2024
  s("td", ys, n((y == null ? void 0 : y.height) ?? "-") + " m", 1)
2025
2025
  ]);
@@ -2224,7 +2224,7 @@ const zs = /* @__PURE__ */ Y(ws, [["render", ks], ["__scopeId", "data-v-0c0f27d3
2224
2224
  function Ps(t, e, o, i, a, r) {
2225
2225
  return g(), M("div");
2226
2226
  }
2227
- const Cs = /* @__PURE__ */ Y(Ls, [["render", Ps]]), Ts = {
2227
+ const Ts = /* @__PURE__ */ Y(Ls, [["render", Ps]]), Cs = {
2228
2228
  name: "IdmTimezone",
2229
2229
  props: {
2230
2230
  map: {
@@ -2430,7 +2430,7 @@ const Cs = /* @__PURE__ */ Y(Ls, [["render", Ps]]), Ts = {
2430
2430
  function Ms(t, e, o, i, a, r) {
2431
2431
  return g(), M("div");
2432
2432
  }
2433
- const Ss = /* @__PURE__ */ Y(Ts, [["render", Ms]]), Ds = {
2433
+ const Ss = /* @__PURE__ */ Y(Cs, [["render", Ms]]), Ds = {
2434
2434
  name: "IdmVoluntaryReportingArea",
2435
2435
  props: {
2436
2436
  map: {
@@ -3074,7 +3074,7 @@ const qs = {
3074
3074
  this.$emit("close");
3075
3075
  }
3076
3076
  }
3077
- }, Ks = { class: "d-flex justify-space-between align-center" }, Js = { class: "d-flex justify-start text-h5 my-2" }, Qs = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, $s = { class: "summary-box w-100" }, er = { class: "d-flex justify-space-between align-center py-2" }, tr = { class: "d-flex justify-center align-center text-h6 ga-2" }, or = {
3077
+ }, Ks = { class: "d-flex justify-space-between align-center" }, $s = { class: "d-flex justify-start text-h5 my-2" }, Js = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Qs = { class: "summary-box w-100" }, er = { class: "d-flex justify-space-between align-center py-2" }, tr = { class: "d-flex justify-center align-center text-h6 ga-2" }, or = {
3078
3078
  class: "multi-color-icon",
3079
3079
  "aria-hidden": "true"
3080
3080
  }, ar = ["xlink:href"], ir = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, sr = { class: "w-100 d-flex justify-start align-center" }, rr = { class: "w-30 text-label font-weight-400" }, lr = { class: "flex-1-1-0" }, nr = { class: "w-100 d-flex justify-start align-center" }, cr = { class: "w-30 text-label font-weight-400" }, mr = { class: "flex-1-1-0" }, hr = { class: "w-100 d-flex justify-start align-center" }, dr = { class: "w-30 text-label font-weight-400" }, pr = { class: "flex-1-1-0" }, ur = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gr = { class: "w-100 d-flex justify-space-between align-center py-2" }, fr = { class: "d-flex justify-center align-center text-h6 ga-2" }, yr = {
@@ -3098,7 +3098,7 @@ const qs = {
3098
3098
  class: "px-1 text-center text-label font-weight-400",
3099
3099
  width: "120"
3100
3100
  }, zr = { class: "px-1 text-center" }, Lr = { class: "px-1 text-center" }, Pr = { class: "px-1 text-center" };
3101
- function Cr(t, e, o, i, a, r) {
3101
+ function Tr(t, e, o, i, a, r) {
3102
3102
  const l = v("VBtn"), m = v("v-card-title"), c = v("v-divider"), f = v("VBtnToggle"), d = v("v-card");
3103
3103
  return g(), R(d, {
3104
3104
  class: ne(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
@@ -3111,7 +3111,7 @@ function Cr(t, e, o, i, a, r) {
3111
3111
  var k;
3112
3112
  return [
3113
3113
  s("div", Ks, [
3114
- s("div", Js, [
3114
+ s("div", $s, [
3115
3115
  s("div", null, n((k = o.station) == null ? void 0 : k.name), 1)
3116
3116
  ]),
3117
3117
  p(l, {
@@ -3128,7 +3128,7 @@ function Cr(t, e, o, i, a, r) {
3128
3128
  __: [1]
3129
3129
  }, 8, ["onClick"])
3130
3130
  ]),
3131
- s("div", Qs, [
3131
+ s("div", Js, [
3132
3132
  s("div", null, n(t.$t("tide.tideStation")), 1)
3133
3133
  ])
3134
3134
  ];
@@ -3139,7 +3139,7 @@ function Cr(t, e, o, i, a, r) {
3139
3139
  s("div", {
3140
3140
  class: ne(["w-100 pt-0 pb-0 overflow-y-auto scroll", o.simple ? "px-3" : "px-5"])
3141
3141
  }, [
3142
- s("div", $s, [
3142
+ s("div", Qs, [
3143
3143
  s("div", er, [
3144
3144
  s("div", tr, [
3145
3145
  (g(), M("svg", or, [
@@ -3232,11 +3232,11 @@ function Cr(t, e, o, i, a, r) {
3232
3232
  _: 1
3233
3233
  }, 8, ["class"]);
3234
3234
  }
3235
- const Tr = /* @__PURE__ */ Y(qs, [["render", Cr], ["__scopeId", "data-v-fd2a220c"]]);
3235
+ const Cr = /* @__PURE__ */ Y(qs, [["render", Tr], ["__scopeId", "data-v-fd2a220c"]]);
3236
3236
  const Mr = {
3237
3237
  name: "IdmTideStations",
3238
3238
  components: {
3239
- TideDetail: Tr
3239
+ TideDetail: Cr
3240
3240
  },
3241
3241
  props: {
3242
3242
  map: {
@@ -5435,7 +5435,7 @@ const Yr = {
5435
5435
  key: 0,
5436
5436
  class: "d-flex justify-start align-center text-label"
5437
5437
  };
5438
- function Jr(t, e, o, i, a, r) {
5438
+ function $r(t, e, o, i, a, r) {
5439
5439
  const l = v("v-card-text"), m = v("v-card");
5440
5440
  return Ze((g(), R(m, {
5441
5441
  id: "idmFollowPositionInfo",
@@ -5462,8 +5462,8 @@ function Jr(t, e, o, i, a, r) {
5462
5462
  [Ye, a.showInfo]
5463
5463
  ]);
5464
5464
  }
5465
- const Qr = /* @__PURE__ */ Y(Yr, [["render", Jr], ["__scopeId", "data-v-82405c68"]]);
5466
- const $r = {
5465
+ const Jr = /* @__PURE__ */ Y(Yr, [["render", $r], ["__scopeId", "data-v-82405c68"]]);
5466
+ const Qr = {
5467
5467
  name: "IdmOtherLayerr",
5468
5468
  components: {
5469
5469
  IdmWarZone: si,
@@ -5471,7 +5471,7 @@ const $r = {
5471
5471
  IdmEcaZone: hi,
5472
5472
  IdmAlertZone: gi,
5473
5473
  IdmPort: zs,
5474
- IdmLoadLine: Cs,
5474
+ IdmLoadLine: Ts,
5475
5475
  IdmTimezone: Ss,
5476
5476
  IdmVRA: Rs,
5477
5477
  IdmSpecialArea: Bs,
@@ -5483,7 +5483,7 @@ const $r = {
5483
5483
  IdmIceAreas: Er,
5484
5484
  IdmLatLng: Xa,
5485
5485
  IdmFollowPort: Zr,
5486
- IdmFollowPosition: Qr
5486
+ IdmFollowPosition: Jr
5487
5487
  },
5488
5488
  props: {
5489
5489
  simple: {
@@ -5545,7 +5545,7 @@ const $r = {
5545
5545
  right: 10,
5546
5546
  toggle: !1,
5547
5547
  mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "dark",
5548
- tagLayers: [...To.OTHER_LAYERS.filter((t) => t.enabled)],
5548
+ tagLayers: [...Co.OTHER_LAYERS.filter((t) => t.enabled)],
5549
5549
  layerWeight: 0,
5550
5550
  otherLayers: {},
5551
5551
  activeOtherLayers: [],
@@ -5689,8 +5689,8 @@ const $r = {
5689
5689
  class: "border rounded-sm"
5690
5690
  }, cl = { class: "text-body-2 text-center pt-2" };
5691
5691
  function ml(t, e, o, i, a, r) {
5692
- var J, re, le, ue, ie, me, ge, he, de;
5693
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), x = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), z = v("IdmTimezone"), C = v("IdmPort"), B = v("IdmAlertZone"), I = v("IdmTideStations"), w = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), T = v("IdmLoadLine"), _ = v("IdmWorldMarine"), O = v("IdmVRA"), F = v("IdmSpecialArea"), V = v("IdmWorld12nm"), X = v("IdmChinaRoute"), Z = v("IdmIceAreas"), Q = v("IdmFollowPort"), $ = v("IdmFollowPosition");
5692
+ var $, re, le, ue, ie, me, ge, he, de;
5693
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), x = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), z = v("IdmTimezone"), T = v("IdmPort"), B = v("IdmAlertZone"), I = v("IdmTideStations"), w = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), C = v("IdmLoadLine"), _ = v("IdmWorldMarine"), O = v("IdmVRA"), F = v("IdmSpecialArea"), V = v("IdmWorld12nm"), X = v("IdmChinaRoute"), Z = v("IdmIceAreas"), J = v("IdmFollowPort"), Q = v("IdmFollowPosition");
5694
5694
  return g(), M("div", el, [
5695
5695
  s("div", {
5696
5696
  class: ne(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
@@ -5925,7 +5925,7 @@ function ml(t, e, o, i, a, r) {
5925
5925
  o.map ? (g(), R(y, j({
5926
5926
  key: 1,
5927
5927
  map: o.map,
5928
- area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
5928
+ area: ($ = a.otherLayers) == null ? void 0 : $["day-night"]
5929
5929
  }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : D("", !0),
5930
5930
  o.map ? (g(), R(z, j({
5931
5931
  key: 2,
@@ -5933,7 +5933,7 @@ function ml(t, e, o, i, a, r) {
5933
5933
  zone: (re = a.otherLayers) == null ? void 0 : re["time-zones"],
5934
5934
  realTime: o.realTime
5935
5935
  }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : D("", !0),
5936
- o.map ? (g(), R(C, j({
5936
+ o.map ? (g(), R(T, j({
5937
5937
  key: 3,
5938
5938
  ref: "idmPorts",
5939
5939
  simple: o.simple,
@@ -5983,7 +5983,7 @@ function ml(t, e, o, i, a, r) {
5983
5983
  map: o.map,
5984
5984
  area: (ge = a.otherLayers) == null ? void 0 : ge["gmdss-areas"]
5985
5985
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5986
- o.map ? (g(), R(T, j({
5986
+ o.map ? (g(), R(C, j({
5987
5987
  key: 9,
5988
5988
  map: o.map,
5989
5989
  show: a.checkList.includes("load-lines")
@@ -6021,7 +6021,7 @@ function ml(t, e, o, i, a, r) {
6021
6021
  map: o.map,
6022
6022
  show: a.checkList.includes("ice-areas")
6023
6023
  }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
6024
- o.map ? (g(), R(Q, j({
6024
+ o.map ? (g(), R(J, j({
6025
6025
  key: 16,
6026
6026
  ref: "idmFollowPort",
6027
6027
  simple: o.simple,
@@ -6032,7 +6032,7 @@ function ml(t, e, o, i, a, r) {
6032
6032
  "forecast-model": o.forecastModel,
6033
6033
  realTime: o.realTime
6034
6034
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
6035
- o.map ? (g(), R($, j({
6035
+ o.map ? (g(), R(Q, j({
6036
6036
  key: 17,
6037
6037
  ref: "idmFollowPosition",
6038
6038
  simple: o.simple,
@@ -6043,7 +6043,7 @@ function ml(t, e, o, i, a, r) {
6043
6043
  }, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "realTime"])) : D("", !0)
6044
6044
  ]);
6045
6045
  }
6046
- const hl = /* @__PURE__ */ Y($r, [["render", ml]]);
6046
+ const hl = /* @__PURE__ */ Y(Qr, [["render", ml]]);
6047
6047
  class Io {
6048
6048
  constructor(e) {
6049
6049
  pe(this, "map");
@@ -6280,8 +6280,8 @@ class Fe {
6280
6280
  d.resolution && o.uniform2f(d.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), d.image && o.uniform1i(d.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), d.color && o.uniform1i(d.color, 1), m != null && m.uvRange && (m != null && m.sRange) && (d.uvRange && o.uniform2f(d.uvRange, m.uvRange[0], m.uvRange[1]), d.sRange && o.uniform2f(d.sRange, m.sRange[0], m.sRange[1])), d.scale && o.uniform1f(d.scale, (m == null ? void 0 : m.scale) || 1);
6281
6281
  const b = e.getBoundPixel(), x = e.map.getZoom() + 1, k = e.getWorldCopy(b, x);
6282
6282
  for (const y of k) {
6283
- const z = (y[0] - b[0]) * e.ratio, C = (y[1] - b[3]) * e.ratio, B = y[2] * e.ratio, [I, w, L, P] = [z, B + z, C, B + C], T = new Float32Array([I, L, w, L, I, P, I, P, w, L, w, P]);
6284
- o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, T, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6283
+ const z = (y[0] - b[0]) * e.ratio, T = (y[1] - b[3]) * e.ratio, B = y[2] * e.ratio, [I, w, L, P] = [z, B + z, T, B + T], C = new Float32Array([I, L, w, L, I, P, I, P, w, L, w, P]);
6284
+ o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6285
6285
  }
6286
6286
  } catch (d) {
6287
6287
  console.log(`render failed...${d}`);
@@ -7217,7 +7217,7 @@ function Ll(t, e, o, i, a, r) {
7217
7217
  ])) : D("", !0);
7218
7218
  }
7219
7219
  const Pl = /* @__PURE__ */ Y(kl, [["render", Ll]]);
7220
- const Cl = {
7220
+ const Tl = {
7221
7221
  name: "IdmSigWave",
7222
7222
  props: {
7223
7223
  simple: {
@@ -7326,10 +7326,10 @@ const Cl = {
7326
7326
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7327
7327
  }
7328
7328
  }
7329
- }, Tl = { key: 0 };
7329
+ }, Cl = { key: 0 };
7330
7330
  function Ml(t, e, o, i, a, r) {
7331
7331
  var l;
7332
- return (l = o.factor) != null && l.active ? (g(), M("div", Tl, [
7332
+ return (l = o.factor) != null && l.active ? (g(), M("div", Cl, [
7333
7333
  s("div", {
7334
7334
  class: "legend-bars-gl4 sig-wave",
7335
7335
  style: ee({ right: a.right + "px" })
@@ -7344,7 +7344,7 @@ function Ml(t, e, o, i, a, r) {
7344
7344
  ]), 4)
7345
7345
  ])) : D("", !0);
7346
7346
  }
7347
- const Sl = /* @__PURE__ */ Y(Cl, [["render", Ml], ["__scopeId", "data-v-c6137292"]]), Dl = {
7347
+ const Sl = /* @__PURE__ */ Y(Tl, [["render", Ml], ["__scopeId", "data-v-c6137292"]]), Dl = {
7348
7348
  name: "IdmSigWaveHeight",
7349
7349
  props: {
7350
7350
  map: {
@@ -8089,7 +8089,7 @@ const ql = {
8089
8089
  }
8090
8090
  }
8091
8091
  }, Kl = { key: 0 };
8092
- function Jl(t, e, o, i, a, r) {
8092
+ function $l(t, e, o, i, a, r) {
8093
8093
  var l;
8094
8094
  return (l = o.factor) != null && l.active ? (g(), M("div", Kl, [
8095
8095
  s("div", {
@@ -8106,8 +8106,8 @@ function Jl(t, e, o, i, a, r) {
8106
8106
  ]), 4)
8107
8107
  ])) : D("", !0);
8108
8108
  }
8109
- const Ql = /* @__PURE__ */ Y(ql, [["render", Jl]]);
8110
- const $l = {
8109
+ const Jl = /* @__PURE__ */ Y(ql, [["render", $l]]);
8110
+ const Ql = {
8111
8111
  name: "IdmPrecip3h",
8112
8112
  props: {
8113
8113
  simple: {
@@ -8227,7 +8227,7 @@ function tn(t, e, o, i, a, r) {
8227
8227
  ]), 4)
8228
8228
  ])) : D("", !0);
8229
8229
  }
8230
- const on = /* @__PURE__ */ Y($l, [["render", tn]]);
8230
+ const on = /* @__PURE__ */ Y(Ql, [["render", tn]]);
8231
8231
  const an = {
8232
8232
  name: "IdmVisibility",
8233
8233
  props: {
@@ -8587,7 +8587,7 @@ const fn = {
8587
8587
  IdmPrmsl: Fl,
8588
8588
  IdmIceEdge: Ul,
8589
8589
  IdmIceCover: Xl,
8590
- IdmIceThickness: Ql,
8590
+ IdmIceThickness: Jl,
8591
8591
  IdmPrecip3h: on,
8592
8592
  IdmVisibility: ln,
8593
8593
  IdmWaterTemp: hn,
@@ -8650,8 +8650,8 @@ const fn = {
8650
8650
  toggle: !1,
8651
8651
  autoActive: !0,
8652
8652
  weatherWeight: 0,
8653
- allLayers: [...To.WEATHER_LAYERS],
8654
- tagLayers: [...To.WEATHER_LAYERS.filter((t) => !t.hide)],
8653
+ allLayers: [...Co.WEATHER_LAYERS],
8654
+ tagLayers: [...Co.WEATHER_LAYERS.filter((t) => !t.hide)],
8655
8655
  checkList: [],
8656
8656
  renderKey: "",
8657
8657
  iceToggleValue: void 0,
@@ -8870,17 +8870,17 @@ const fn = {
8870
8870
  if (this.map) {
8871
8871
  const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, y = (r = this.map) == null ? void 0 : r.getBounds(), z = `${y._sw.lng},${y._sw.lat},${y._ne.lng},${y._ne.lat}`;
8872
8872
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
8873
- const C = To.WEATHER_LAYERS.find((B) => {
8873
+ const T = Co.WEATHER_LAYERS.find((B) => {
8874
8874
  var I;
8875
8875
  return ((I = B.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
8876
8876
  });
8877
- this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & C.weight ? this.weatherWeight : this.weatherWeight + C.weight : this.weatherWeight = this.weatherWeight & C.weight ? this.weatherWeight - C.weight : this.weatherWeight;
8877
+ this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & T.weight ? this.weatherWeight : this.weatherWeight + T.weight : this.weatherWeight = this.weatherWeight & T.weight ? this.weatherWeight - T.weight : this.weatherWeight;
8878
8878
  }
8879
8879
  if (this.weatherWeight > 0) {
8880
- let C = this.weatherWeight;
8881
- if (C > 0) {
8880
+ let T = this.weatherWeight;
8881
+ if (T > 0) {
8882
8882
  const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Ae.get(
8883
- `${B}/api/arc/weather/layers2/links?l=${C}&v=${this.forecastModel}&z=${k}&bbox=${z}&t=${this.realTime}`,
8883
+ `${B}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${k}&bbox=${z}&t=${this.realTime}`,
8884
8884
  {
8885
8885
  headers: {
8886
8886
  Authorization: this.defaultMeteoToken
@@ -8889,26 +8889,26 @@ const fn = {
8889
8889
  );
8890
8890
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((m = I == null ? void 0 : I.data) == null ? void 0 : m.code) === 0) {
8891
8891
  const w = (c = I == null ? void 0 : I.data) == null ? void 0 : c.data, L = [];
8892
- for (const T in w)
8892
+ for (const C in w)
8893
8893
  L.push(
8894
- Ae.get(w[T], {
8894
+ Ae.get(w[C], {
8895
8895
  headers: {
8896
8896
  Authorization: this.defaultMeteoToken,
8897
- key: T
8897
+ key: C
8898
8898
  },
8899
- responseType: /\.(jpg|png)$/.test(w[T]) ? "blob" : "json"
8899
+ responseType: /\.(jpg|png)$/.test(w[C]) ? "blob" : "json"
8900
8900
  }).catch((_) => {
8901
- console.log(`[${T}] fetch layer error: ${_}`);
8901
+ console.log(`[${C}] fetch layer error: ${_}`);
8902
8902
  })
8903
8903
  );
8904
8904
  const P = await Promise.all(L);
8905
- this.weatherLayers = {}, P.map((T) => {
8905
+ this.weatherLayers = {}, P.map((C) => {
8906
8906
  var F, V, X, Z;
8907
- const _ = ((F = T == null ? void 0 : T.data) == null ? void 0 : F.data) || (T == null ? void 0 : T.data);
8908
- let O = (X = (V = T == null ? void 0 : T.config) == null ? void 0 : V.headers) == null ? void 0 : X.key;
8907
+ const _ = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8908
+ let O = (X = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : X.key;
8909
8909
  O && _ && (this.weatherLayers[O] = {
8910
8910
  raw: _,
8911
- type: ((Z = T == null ? void 0 : T.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8911
+ type: ((Z = C == null ? void 0 : C.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8912
8912
  etime: I.data.etime
8913
8913
  });
8914
8914
  });
@@ -8990,63 +8990,63 @@ const fn = {
8990
8990
  const i = (r = this.map) == null ? void 0 : r.getBounds(), a = (l = this.map) == null ? void 0 : l.getZoom();
8991
8991
  if (i && a) {
8992
8992
  const x = q.convertToStdLng(i._sw.lng), k = q.convertToStdLng(i._ne.lng), y = Math.floor(i._sw.lat), z = Math.ceil(i._ne.lat);
8993
- for (const C in this.weatherLayers) {
8993
+ for (const T in this.weatherLayers) {
8994
8994
  let B = !1;
8995
- if (this.weatherLayers[C].active && this.weatherLayers[C].type === "json") {
8995
+ if (this.weatherLayers[T].active && this.weatherLayers[T].type === "json") {
8996
8996
  let I = [];
8997
- if (C === "swell") {
8997
+ if (T === "swell") {
8998
8998
  B = !0;
8999
- const w = ((m = this.weatherLayers[C]) == null ? void 0 : m.direction) || {};
8999
+ const w = ((m = this.weatherLayers[T]) == null ? void 0 : m.direction) || {};
9000
9000
  for (const P in w)
9001
9001
  if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9002
- const T = w[P].lng;
9003
- x > k ? T.forEach((_, O) => {
9004
- var F, V, X, Z, Q, $;
9002
+ const C = w[P].lng;
9003
+ x > k ? C.forEach((_, O) => {
9004
+ var F, V, X, Z, J, Q;
9005
9005
  if (a < 2) {
9006
9006
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9007
- const J = G.point([_, P], {
9007
+ const $ = G.point([_, P], {
9008
9008
  val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
9009
9009
  spd: (X = w[P].spd) == null ? void 0 : X[O]
9010
9010
  });
9011
- I.push(J);
9011
+ I.push($);
9012
9012
  }
9013
9013
  } else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9014
- const J = G.point([_, P], {
9015
- val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
9016
- spd: ($ = w[P].spd) == null ? void 0 : $[O]
9014
+ const $ = G.point([_, P], {
9015
+ val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((J = w[P].dir) == null ? void 0 : J[O]),
9016
+ spd: (Q = w[P].spd) == null ? void 0 : Q[O]
9017
9017
  });
9018
- I.push(J);
9018
+ I.push($);
9019
9019
  }
9020
- }) : T.forEach((_, O) => {
9021
- var F, V, X, Z, Q, $;
9020
+ }) : C.forEach((_, O) => {
9021
+ var F, V, X, Z, J, Q;
9022
9022
  if (x < 2) {
9023
9023
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9024
- const J = G.point([_, P], {
9024
+ const $ = G.point([_, P], {
9025
9025
  val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
9026
9026
  spd: (X = w[P].spd) == null ? void 0 : X[O]
9027
9027
  });
9028
- I.push(J);
9028
+ I.push($);
9029
9029
  }
9030
9030
  } else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9031
- const J = G.point([_, P], {
9032
- val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
9033
- spd: ($ = w[P].spd) == null ? void 0 : $[O]
9031
+ const $ = G.point([_, P], {
9032
+ val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((J = w[P].dir) == null ? void 0 : J[O]),
9033
+ spd: (Q = w[P].spd) == null ? void 0 : Q[O]
9034
9034
  });
9035
- I.push(J);
9035
+ I.push($);
9036
9036
  }
9037
9037
  });
9038
9038
  }
9039
9039
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
9040
- const L = this.weatherLayers[C].height;
9040
+ const L = this.weatherLayers[T].height;
9041
9041
  if (L) {
9042
9042
  if (!L.data) {
9043
9043
  const P = [];
9044
- for (const T in (c = L.raw) == null ? void 0 : c.LineString) {
9045
- const _ = L.raw.LineString[T];
9044
+ for (const C in (c = L.raw) == null ? void 0 : c.LineString) {
9045
+ const _ = L.raw.LineString[C];
9046
9046
  for (const O of _)
9047
9047
  P.push(
9048
9048
  G.lineString(O, {
9049
- val: Number(T)
9049
+ val: Number(C)
9050
9050
  })
9051
9051
  );
9052
9052
  L.data = G.featureCollection(P);
@@ -9058,102 +9058,102 @@ const fn = {
9058
9058
  }
9059
9059
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
9060
9060
  }
9061
- } else if (C === "current") {
9061
+ } else if (T === "current") {
9062
9062
  B = !0;
9063
- const w = ((f = this.weatherLayers[C]) == null ? void 0 : f.direction) || {};
9063
+ const w = ((f = this.weatherLayers[T]) == null ? void 0 : f.direction) || {};
9064
9064
  for (const P in w)
9065
9065
  if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9066
- const T = w[P].lng;
9067
- x > k ? T.forEach((_, O) => {
9068
- var F, V, X, Z, Q, $;
9066
+ const C = w[P].lng;
9067
+ x > k ? C.forEach((_, O) => {
9068
+ var F, V, X, Z, J, Q;
9069
9069
  if (a < 2) {
9070
9070
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9071
- const J = G.point([_, P], {
9071
+ const $ = G.point([_, P], {
9072
9072
  val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
9073
9073
  spd: (X = w[P].spd) == null ? void 0 : X[O]
9074
9074
  });
9075
- I.push(J);
9075
+ I.push($);
9076
9076
  }
9077
9077
  } else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9078
- const J = G.point([_, P], {
9079
- val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
9080
- spd: ($ = w[P].spd) == null ? void 0 : $[O]
9078
+ const $ = G.point([_, P], {
9079
+ val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((J = w[P].dir) == null ? void 0 : J[O]),
9080
+ spd: (Q = w[P].spd) == null ? void 0 : Q[O]
9081
9081
  });
9082
- I.push(J);
9082
+ I.push($);
9083
9083
  }
9084
- }) : T.forEach((_, O) => {
9085
- var F, V, X, Z, Q, $;
9084
+ }) : C.forEach((_, O) => {
9085
+ var F, V, X, Z, J, Q;
9086
9086
  if (x < 2) {
9087
9087
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9088
- const J = G.point([_, P], {
9088
+ const $ = G.point([_, P], {
9089
9089
  val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
9090
9090
  spd: (X = w[P].spd) == null ? void 0 : X[O]
9091
9091
  });
9092
- I.push(J);
9092
+ I.push($);
9093
9093
  }
9094
9094
  } else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
9095
- const J = G.point([_, P], {
9096
- val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
9097
- spd: ($ = w[P].spd) == null ? void 0 : $[O]
9095
+ const $ = G.point([_, P], {
9096
+ val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((J = w[P].dir) == null ? void 0 : J[O]),
9097
+ spd: (Q = w[P].spd) == null ? void 0 : Q[O]
9098
9098
  });
9099
- I.push(J);
9099
+ I.push($);
9100
9100
  }
9101
9101
  });
9102
9102
  }
9103
9103
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
9104
- const L = this.weatherLayers[C].speed;
9104
+ const L = this.weatherLayers[T].speed;
9105
9105
  if (L) {
9106
9106
  if (!L.data) {
9107
- const T = [];
9107
+ const C = [];
9108
9108
  for (const _ in (d = L.raw) == null ? void 0 : d.Polygon) {
9109
9109
  const O = L.raw.Polygon[_];
9110
9110
  for (const F of O)
9111
- T.push(
9111
+ C.push(
9112
9112
  G.polygon(F, {
9113
9113
  val: Number(_)
9114
9114
  })
9115
9115
  );
9116
9116
  }
9117
- L.data = G.featureCollection(T);
9117
+ L.data = G.featureCollection(C);
9118
9118
  }
9119
- const P = a < this.zoom ? L.data.features.filter((T) => T.properties.val > 0.5) : L.data.features;
9119
+ const P = a < this.zoom ? L.data.features.filter((C) => C.properties.val > 0.5) : L.data.features;
9120
9120
  I = I.concat(P), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
9121
9121
  }
9122
- } else if (C === "wind") {
9122
+ } else if (T === "wind") {
9123
9123
  B = !0;
9124
9124
  const w = this.weatherLayers.wind.raw;
9125
9125
  for (const L in w)
9126
9126
  if (L > y && L < z && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9127
9127
  const P = w[L].lng;
9128
- x > k ? P.forEach((T, _) => {
9128
+ x > k ? P.forEach((C, _) => {
9129
9129
  var O, F, V, X;
9130
9130
  if (a < 2) {
9131
- if ((T >= 0 && T <= 360 || T >= -360 && T <= 0) && T % 10 === 0) {
9132
- const Z = G.point([T, L], {
9131
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9132
+ const Z = G.point([C, L], {
9133
9133
  dir: ((O = w[L].val) == null ? void 0 : O[_]) || ((F = w[L].dir) == null ? void 0 : F[_]),
9134
9134
  spd: w[L].spd[_]
9135
9135
  });
9136
9136
  I.push(Z);
9137
9137
  }
9138
- } else if ((T >= x && T <= 180 || T >= -180 && T <= k) && (!(a <= this.zoom) || T % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9139
- const Z = G.point([T, L], {
9138
+ } else if ((C >= x && C <= 180 || C >= -180 && C <= k) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9139
+ const Z = G.point([C, L], {
9140
9140
  dir: ((V = w[L].val) == null ? void 0 : V[_]) || ((X = w[L].dir) == null ? void 0 : X[_]),
9141
9141
  spd: w[L].spd[_]
9142
9142
  });
9143
9143
  I.push(Z);
9144
9144
  }
9145
- }) : P.forEach((T, _) => {
9145
+ }) : P.forEach((C, _) => {
9146
9146
  var O, F, V, X;
9147
9147
  if (a < 2) {
9148
- if ((T >= 0 && T <= 360 || T >= -360 && T <= 0) && T % 10 === 0) {
9149
- const Z = G.point([T, L], {
9148
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9149
+ const Z = G.point([C, L], {
9150
9150
  dir: ((O = w[L].val) == null ? void 0 : O[_]) || ((F = w[L].dir) == null ? void 0 : F[_]),
9151
9151
  spd: w[L].spd[_]
9152
9152
  });
9153
9153
  I.push(Z);
9154
9154
  }
9155
- } else if (T >= x && T <= k && (!(a <= this.zoom) || T % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9156
- const Z = G.point([T, L], {
9155
+ } else if (C >= x && C <= k && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9156
+ const Z = G.point([C, L], {
9157
9157
  dir: ((V = w[L].val) == null ? void 0 : V[_]) || ((X = w[L].dir) == null ? void 0 : X[_]),
9158
9158
  spd: w[L].spd[_]
9159
9159
  });
@@ -9162,17 +9162,17 @@ const fn = {
9162
9162
  });
9163
9163
  }
9164
9164
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
9165
- } else if (C === "sig-wave-height") {
9166
- if (this.weatherLayers[C].data)
9167
- I = this.weatherLayers[C].data;
9165
+ } else if (T === "sig-wave-height") {
9166
+ if (this.weatherLayers[T].data)
9167
+ I = this.weatherLayers[T].data;
9168
9168
  else {
9169
9169
  B = !0;
9170
- const w = this.weatherLayers[C].raw;
9170
+ const w = this.weatherLayers[T].raw;
9171
9171
  if (w) {
9172
9172
  const L = [];
9173
9173
  for (const P in w.Polygon) {
9174
- const T = w.Polygon[P];
9175
- for (const _ of T)
9174
+ const C = w.Polygon[P];
9175
+ for (const _ of C)
9176
9176
  L.push(
9177
9177
  G.polygon(_, {
9178
9178
  val: Number(P)
@@ -9180,8 +9180,8 @@ const fn = {
9180
9180
  );
9181
9181
  }
9182
9182
  for (const P in w.MultiPolygon) {
9183
- const T = w.MultiPolygon[P];
9184
- for (const _ of T)
9183
+ const C = w.MultiPolygon[P];
9184
+ for (const _ of C)
9185
9185
  L.push(
9186
9186
  G.multiPolygon(_, {
9187
9187
  val: Number(P)
@@ -9189,11 +9189,11 @@ const fn = {
9189
9189
  );
9190
9190
  }
9191
9191
  for (const P in w.Point) {
9192
- const T = w.Point[P];
9193
- for (let _ = 0; _ < ((b = T.lng) == null ? void 0 : b.length); _++)
9192
+ const C = w.Point[P];
9193
+ for (let _ = 0; _ < ((b = C.lng) == null ? void 0 : b.length); _++)
9194
9194
  L.push(
9195
- G.point([T.lng[_], P], {
9196
- val: Number(T.val[_])
9195
+ G.point([C.lng[_], P], {
9196
+ val: Number(C.val[_])
9197
9197
  })
9198
9198
  );
9199
9199
  }
@@ -9201,17 +9201,17 @@ const fn = {
9201
9201
  }
9202
9202
  }
9203
9203
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
9204
- } else if (C === "prmsl") {
9205
- if (this.weatherLayers[C].data)
9206
- I = this.weatherLayers[C].data;
9204
+ } else if (T === "prmsl") {
9205
+ if (this.weatherLayers[T].data)
9206
+ I = this.weatherLayers[T].data;
9207
9207
  else {
9208
9208
  B = !0;
9209
- const w = this.weatherLayers[C].raw;
9209
+ const w = this.weatherLayers[T].raw;
9210
9210
  if (w) {
9211
9211
  const L = [];
9212
9212
  for (const P in w.LineString) {
9213
- const T = w.LineString[P];
9214
- for (const _ of T)
9213
+ const C = w.LineString[P];
9214
+ for (const _ of C)
9215
9215
  L.push(
9216
9216
  G.lineString(_, {
9217
9217
  val: Number(P)
@@ -9219,9 +9219,9 @@ const fn = {
9219
9219
  );
9220
9220
  }
9221
9221
  for (const P in w.Point)
9222
- w.Point[P].lng.forEach((T, _) => {
9223
- T = q.convertToStdLng(T), L.push(
9224
- G.point([T, P], {
9222
+ w.Point[P].lng.forEach((C, _) => {
9223
+ C = q.convertToStdLng(C), L.push(
9224
+ G.point([C, P], {
9225
9225
  val: w.Point[P].val[_],
9226
9226
  type: w.Point[P].type[_]
9227
9227
  })
@@ -9232,7 +9232,7 @@ const fn = {
9232
9232
  }
9233
9233
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
9234
9234
  }
9235
- I.length && (this.weatherLayers[C].data = G.featureCollection(I)), B && (this.weatherLayers[C].version = Math.random() + 1);
9235
+ I.length && (this.weatherLayers[T].data = G.featureCollection(I)), B && (this.weatherLayers[T].version = Math.random() + 1);
9236
9236
  }
9237
9237
  }
9238
9238
  }
@@ -9267,7 +9267,7 @@ const fn = {
9267
9267
  }, kn = { class: "text-caption px-2" }, zn = { class: "d-flex flex-row justify-start align-center" }, Ln = {
9268
9268
  class: "d-flex flex-row justify-center align-center",
9269
9269
  style: { width: "40px" }
9270
- }, Pn = { class: "text-caption" }, Cn = { class: "d-flex justify-start align-center ga-3" }, Tn = { class: "text-h5 font-weight-medium" }, Mn = {
9270
+ }, Pn = { class: "text-caption" }, Tn = { class: "d-flex justify-start align-center ga-3" }, Cn = { class: "text-h5 font-weight-medium" }, Mn = {
9271
9271
  key: 0,
9272
9272
  class: "w-100 d-flex justify-space-between align-center ga-1 mb-2 px-3"
9273
9273
  }, Sn = {
@@ -9276,10 +9276,10 @@ const fn = {
9276
9276
  }, Dn = {
9277
9277
  key: 1,
9278
9278
  class: "d-flex justify-start align-center ga-4 pl-6"
9279
- }, In = { class: "text-body-1 py-2" }, Rn = { class: "text-body-1 font-weight-medium" }, An = { class: "text-body-2 text-label" }, On = { class: "text-body-2 text-label" }, Bn = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label mb-3" }, Hn = { class: "text-body-1 py-2" }, Gn = { class: "text-body-1 font-weight-medium" }, Wn = { class: "text-body-2 text-label" }, 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" }, Xn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, Jn = { class: "text-body-1 font-weight-medium" }, Qn = { class: "text-body-2 text-label" }, $n = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label mb-3" };
9279
+ }, In = { class: "text-body-1 py-2" }, Rn = { class: "text-body-1 font-weight-medium" }, An = { class: "text-body-2 text-label" }, On = { class: "text-body-2 text-label" }, Bn = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label mb-3" }, Hn = { class: "text-body-1 py-2" }, Gn = { class: "text-body-1 font-weight-medium" }, Wn = { class: "text-body-2 text-label" }, 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" }, Xn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Jn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label mb-3" };
9280
9280
  function tc(t, e, o, i, a, r) {
9281
- var ue, ie, me, ge, he, de, A, te, be, ve, Pe, Ce, _e, Ie, Te;
9282
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), x = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), z = v("VCardTitle"), C = v("VCardItem"), B = v("VCheckbox"), I = v("VRadio"), w = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), T = v("IdmPrmsl"), _ = v("IdmWindParticle"), O = v("IdmCurrentParticle"), F = v("IdmWave"), V = v("IdmSwell"), X = v("IdmIceEdge"), Z = v("IdmIceCover"), Q = v("IdmIceThickness"), $ = v("IdmPrecip3h"), J = v("IdmVisibility"), re = v("IdmWaterTemp"), le = v("IdmTemp");
9281
+ var ue, ie, me, ge, he, de, A, te, be, ve, Pe, Te, _e, Ie, Ce;
9282
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), x = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), z = v("VCardTitle"), T = v("VCardItem"), B = v("VCheckbox"), I = v("VRadio"), w = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), C = v("IdmPrmsl"), _ = v("IdmWindParticle"), O = v("IdmCurrentParticle"), F = v("IdmWave"), V = v("IdmSwell"), X = v("IdmIceEdge"), Z = v("IdmIceCover"), J = v("IdmIceThickness"), Q = v("IdmPrecip3h"), $ = v("IdmVisibility"), re = v("IdmWaterTemp"), le = v("IdmTemp");
9283
9283
  return g(), M("div", yn, [
9284
9284
  s("div", {
9285
9285
  class: "menu-bar-box transition pa-1",
@@ -9457,8 +9457,8 @@ function tc(t, e, o, i, a, r) {
9457
9457
  s("div", {
9458
9458
  class: ne(["header-box w-100 d-flex justify-space-between align-center", o.simple ? "px-3" : "px-4"])
9459
9459
  }, [
9460
- s("div", Cn, [
9461
- s("div", Tn, n(t.$t("weather.weather")), 1),
9460
+ s("div", Tn, [
9461
+ s("div", Cn, n(t.$t("weather.weather")), 1),
9462
9462
  p(k, {
9463
9463
  modelValue: a.autoActive,
9464
9464
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
@@ -9534,7 +9534,7 @@ function tc(t, e, o, i, a, r) {
9534
9534
  elevation: "0"
9535
9535
  }, {
9536
9536
  default: u(() => [
9537
- p(C, { class: "border-b-thin" }, {
9537
+ p(T, { class: "border-b-thin" }, {
9538
9538
  default: u(() => [
9539
9539
  p(z, { class: "text-h6" }, {
9540
9540
  default: u(() => [
@@ -9571,7 +9571,7 @@ function tc(t, e, o, i, a, r) {
9571
9571
  elevation: "0"
9572
9572
  }, {
9573
9573
  default: u(() => [
9574
- p(C, { class: "border-b-thin" }, {
9574
+ p(T, { class: "border-b-thin" }, {
9575
9575
  default: u(() => [
9576
9576
  p(z, { class: "text-h6" }, {
9577
9577
  default: u(() => [
@@ -9728,7 +9728,7 @@ function tc(t, e, o, i, a, r) {
9728
9728
  elevation: "0"
9729
9729
  }, {
9730
9730
  default: u(() => [
9731
- p(C, { class: "border-b-thin" }, {
9731
+ p(T, { class: "border-b-thin" }, {
9732
9732
  default: u(() => [
9733
9733
  p(z, { class: "text-h6" }, {
9734
9734
  default: u(() => [
@@ -9741,14 +9741,14 @@ function tc(t, e, o, i, a, r) {
9741
9741
  }),
9742
9742
  p(d, { class: "" }, {
9743
9743
  default: u(() => {
9744
- var H, oe, He, Oe, fe, Re, W, ye, ae, se, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, st, rt, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, so, ro, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9744
+ var H, oe, He, Oe, fe, Re, W, ye, ae, se, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, $e, Je, Qe, et, tt, ot, at, it, st, rt, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, so, ro, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9745
9745
  return [
9746
9746
  s("div", In, n(t.$t("weather.atmospheric")), 1),
9747
9747
  s("div", Rn, n((He = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : He.source) + " " + n((Re = (fe = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : Re.spatialResolution) + n(t.$t("units.km")) + " " + n((se = (ae = (ye = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ye.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : se.days) + n(t.$t("units.days")), 1),
9748
9748
  s("div", An, n(t.$t("weather.source")) + ": NOAA", 1),
9749
9749
  s("div", On, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((E = (We = (Ge = (je = a.models) == null ? void 0 : je.weather) == null ? void 0 : Ge.NOAA) == null ? void 0 : We.meta) == null ? void 0 : E.availabilityTime)), 1),
9750
9750
  s("div", Bn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((Ne = (Ee = (Be = (we = a.models) == null ? void 0 : we.weather) == null ? void 0 : Be.NOAA) == null ? void 0 : Ee.meta) == null ? void 0 : Ne.initialisationTime)), 1),
9751
- s("div", jn, n((U = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : U.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n(($e = (Qe = (Je = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : Je.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : $e.days) + n(t.$t("units.days")), 1),
9751
+ s("div", jn, n((U = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : U.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n((Qe = (Je = ($e = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + n(t.$t("units.days")), 1),
9752
9752
  s("div", En, n(t.$t("weather.source")) + ": ECMWF", 1),
9753
9753
  s("div", Nn, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
9754
9754
  s("div", Fn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((lt = (rt = (st = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : st.ECMWF) == null ? void 0 : rt.meta) == null ? void 0 : lt.initialisationTime)), 1),
@@ -9757,16 +9757,16 @@ function tc(t, e, o, i, a, r) {
9757
9757
  s("div", Gn, n((ht = (mt = (ct = (nt = a.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : ht.source) + " " + n((gt = (ut = (pt = (dt = a.models) == null ? void 0 : dt.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.spatialResolution) + n(t.$t("units.km")) + " " + n((xt = (wt = (bt = (yt = (ft = a.models) == null ? void 0 : ft.marine) == null ? void 0 : yt.wave) == null ? void 0 : bt.NOAA) == null ? void 0 : wt.meta) == null ? void 0 : xt.days) + n(t.$t("units.days")), 1),
9758
9758
  s("div", Wn, n(t.$t("weather.source")) + ": NOAA", 1),
9759
9759
  s("div", Un, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((Lt = (zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.NOAA) == null ? void 0 : zt.meta) == null ? void 0 : Lt.availabilityTime)), 1),
9760
- s("div", Vn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((St = (Mt = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : Mt.meta) == null ? void 0 : St.initialisationTime)), 1),
9760
+ s("div", Vn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((St = (Mt = (Ct = (Tt = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Tt.wave) == null ? void 0 : Ct.NOAA) == null ? void 0 : Mt.meta) == null ? void 0 : St.initialisationTime)), 1),
9761
9761
  s("div", Zn, n((At = (Rt = (It = (Dt = a.models) == null ? void 0 : Dt.marine) == null ? void 0 : It.wave) == null ? void 0 : Rt.ECMWF) == null ? void 0 : At.source) + " " + n((Et = (jt = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : jt.ECMWF) == null ? void 0 : Et.spatialResolution) + n(t.$t("units.km")) + " " + n((Wt = (Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.meta) == null ? void 0 : Wt.days) + n(t.$t("units.days")), 1),
9762
9762
  s("div", Yn, n(t.$t("weather.source")) + ": ECMWF", 1),
9763
9763
  s("div", Xn, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((Xt = (Yt = (Zt = (Vt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Xt.availabilityTime)), 1),
9764
9764
  s("div", qn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((eo = (Qt = (Jt = (Kt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
9765
9765
  p(b),
9766
9766
  s("div", Kn, n(t.$t("weather.currents")), 1),
9767
- s("div", Jn, n((io = (ao = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.current) == null ? void 0 : ao.ECMWF) == null ? void 0 : io.source) + " " + n((no = (lo = (ro = (so = a.models) == null ? void 0 : so.marine) == null ? void 0 : ro.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + n(t.$t("units.km")) + " " + n((uo = (po = (ho = (mo = (co = a.models) == null ? void 0 : co.marine) == null ? void 0 : mo.current) == null ? void 0 : ho.ECMWF) == null ? void 0 : po.meta) == null ? void 0 : uo.days) + n(t.$t("units.days")), 1),
9768
- s("div", Qn, n(t.$t("weather.source")) + ": ECMWF", 1),
9769
- s("div", $n, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((wo = (bo = (yo = (fo = (go = a.models) == null ? void 0 : go.marine) == null ? void 0 : fo.current) == null ? void 0 : yo.ECMWF) == null ? void 0 : bo.meta) == null ? void 0 : wo.availabilityTime)), 1),
9767
+ s("div", $n, n((io = (ao = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.current) == null ? void 0 : ao.ECMWF) == null ? void 0 : io.source) + " " + n((no = (lo = (ro = (so = a.models) == null ? void 0 : so.marine) == null ? void 0 : ro.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + n(t.$t("units.km")) + " " + n((uo = (po = (ho = (mo = (co = a.models) == null ? void 0 : co.marine) == null ? void 0 : mo.current) == null ? void 0 : ho.ECMWF) == null ? void 0 : po.meta) == null ? void 0 : uo.days) + n(t.$t("units.days")), 1),
9768
+ s("div", Jn, n(t.$t("weather.source")) + ": ECMWF", 1),
9769
+ s("div", Qn, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((wo = (bo = (yo = (fo = (go = a.models) == null ? void 0 : go.marine) == null ? void 0 : fo.current) == null ? void 0 : yo.ECMWF) == null ? void 0 : bo.meta) == null ? void 0 : wo.availabilityTime)), 1),
9770
9770
  s("div", ec, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((zo = (ko = (_o = (vo = (xo = a.models) == null ? void 0 : xo.marine) == null ? void 0 : vo.current) == null ? void 0 : _o.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : zo.initialisationTime)), 1)
9771
9771
  ];
9772
9772
  }),
@@ -9802,7 +9802,7 @@ function tc(t, e, o, i, a, r) {
9802
9802
  current: (me = a.weatherLayers) == null ? void 0 : me.current,
9803
9803
  "menu-toggle": o.menuToggle
9804
9804
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : D("", !0),
9805
- o.map ? (g(), R(T, j({
9805
+ o.map ? (g(), R(C, j({
9806
9806
  key: 4,
9807
9807
  map: o.map,
9808
9808
  "before-layer": "empty-layer-3",
@@ -9854,21 +9854,21 @@ function tc(t, e, o, i, a, r) {
9854
9854
  "menu-toggle": o.menuToggle,
9855
9855
  simple: o.simple
9856
9856
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9857
- o.map ? (g(), R(Q, j({
9857
+ o.map ? (g(), R(J, j({
9858
9858
  key: 11,
9859
9859
  viewport: a.viewport,
9860
9860
  factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
9861
9861
  "menu-toggle": o.menuToggle,
9862
9862
  simple: o.simple
9863
9863
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9864
- o.map ? (g(), R($, j({
9864
+ o.map ? (g(), R(Q, j({
9865
9865
  key: 12,
9866
9866
  viewport: a.viewport,
9867
- factor: (Ce = a.weatherLayers) == null ? void 0 : Ce.precip3h,
9867
+ factor: (Te = a.weatherLayers) == null ? void 0 : Te.precip3h,
9868
9868
  "menu-toggle": o.menuToggle,
9869
9869
  simple: o.simple
9870
9870
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9871
- o.map ? (g(), R(J, j({
9871
+ o.map ? (g(), R($, j({
9872
9872
  key: 13,
9873
9873
  viewport: a.viewport,
9874
9874
  factor: (_e = a.weatherLayers) == null ? void 0 : _e.visibility,
@@ -9885,7 +9885,7 @@ function tc(t, e, o, i, a, r) {
9885
9885
  o.map ? (g(), R(le, j({
9886
9886
  key: 15,
9887
9887
  viewport: a.viewport,
9888
- factor: (Te = a.weatherLayers) == null ? void 0 : Te.temp,
9888
+ factor: (Ce = a.weatherLayers) == null ? void 0 : Ce.temp,
9889
9889
  "menu-toggle": o.menuToggle,
9890
9890
  simple: o.simple
9891
9891
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0)
@@ -10238,7 +10238,7 @@ class Za {
10238
10238
  }), a;
10239
10239
  }
10240
10240
  static pickHourly(e, o) {
10241
- var i, a, r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Ce, _e, Ie, Te, H, oe, He, Oe, fe, Re;
10241
+ var i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re;
10242
10242
  const W = typeof o == "string" ? S(o) : o, ye = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, se = S((a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), je = se.clone().add((m = (l = (r = ye == null ? void 0 : ye[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : m.at(0), "h"), Ge = se.clone().add((d = (f = (c = ye == null ? void 0 : ye[0]) == null ? void 0 : c.hourly) == null ? void 0 : f.time) == null ? void 0 : d.at(-1), "h"), We = [];
10243
10243
  if (W.isBetween(je, Ge, "millisecond", "[]")) {
10244
10244
  const E = W.utc().diff(je, "h", !1);
@@ -10256,7 +10256,7 @@ class Za {
10256
10256
  we = {
10257
10257
  temp: (y = U == null ? void 0 : U.temperature_2m) == null ? void 0 : y.at(E),
10258
10258
  apparentTemp: (z = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : z.at(E),
10259
- rh: (C = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : C.at(E),
10259
+ rh: (T = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : T.at(E),
10260
10260
  dp: (B = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : B.at(E),
10261
10261
  precip: {
10262
10262
  probability: (I = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : I.at(E),
@@ -10267,17 +10267,17 @@ class Za {
10267
10267
  sum12Hours: Math.round(N * 100) / 100
10268
10268
  },
10269
10269
  pmsl: (P = U == null ? void 0 : U.pressure_msl) == null ? void 0 : P.at(E),
10270
- psurf: (T = U == null ? void 0 : U.surface_pressure) == null ? void 0 : T.at(E),
10270
+ psurf: (C = U == null ? void 0 : U.surface_pressure) == null ? void 0 : C.at(E),
10271
10271
  code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(E),
10272
10272
  visibility: this.m2nm((O = U == null ? void 0 : U.visibility) == null ? void 0 : O.at(E)),
10273
10273
  wind: {
10274
10274
  speed: (F = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : F.at(E),
10275
10275
  kts: (V = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : V.at(E),
10276
10276
  degree: (X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(E),
10277
- bearing: ((Z = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((Q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Q.at(E)) + 180) % 360 : null,
10278
- gusts: ($ = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : $.at(E)
10277
+ bearing: ((Z = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((J = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : J.at(E)) + 180) % 360 : null,
10278
+ gusts: (Q = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Q.at(E)
10279
10279
  },
10280
- isDay: (J = U == null ? void 0 : U.is_day) == null ? void 0 : J.at(E)
10280
+ isDay: ($ = U == null ? void 0 : U.is_day) == null ? void 0 : $.at(E)
10281
10281
  };
10282
10282
  const { name: Xe, url: qe, bg: Ke } = this.parseWeatherCode(we.code, we.isDay);
10283
10283
  we.name = Xe, we.url = qe, we.bg = Ke, we.wind.scale = this.beaufort(this.kts2ms(we.wind.kts)), we.wind.direction = this.degree2Direction(we.wind.degree), We.push({
@@ -10309,9 +10309,9 @@ class Za {
10309
10309
  wd: {
10310
10310
  height: (ve = N == null ? void 0 : N.wind_wave_height) == null ? void 0 : ve.at(E),
10311
10311
  degree: (Pe = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : Pe.at(E),
10312
- bearing: ((Ce = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : Ce.at(E)) !== null ? (((_e = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : _e.at(E)) + 180) % 360 : null,
10312
+ bearing: ((Te = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : Te.at(E)) !== null ? (((_e = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : _e.at(E)) + 180) % 360 : null,
10313
10313
  period: (Ie = N == null ? void 0 : N.wind_wave_period) == null ? void 0 : Ie.at(E),
10314
- peakPeriod: (Te = N == null ? void 0 : N.wind_wave_peak_period) == null ? void 0 : Te.at(E)
10314
+ peakPeriod: (Ce = N == null ? void 0 : N.wind_wave_peak_period) == null ? void 0 : Ce.at(E)
10315
10315
  }
10316
10316
  },
10317
10317
  current: {
@@ -10351,13 +10351,13 @@ class Za {
10351
10351
  };
10352
10352
  }
10353
10353
  static pickDaily(e, o) {
10354
- var i, a, r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Ce, _e;
10355
- const Ie = typeof o == "string" ? S(o) : o, Te = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = S((r = (a = (i = Te == null ? void 0 : Te[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = S((c = (m = (l = Te == null ? void 0 : Te[0]) == null ? void 0 : l.daily) == null ? void 0 : m.time) == null ? void 0 : c.at(-1)), Oe = [];
10354
+ var i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Te, _e;
10355
+ const Ie = typeof o == "string" ? S(o) : o, Ce = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = S((r = (a = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = S((c = (m = (l = Ce == null ? void 0 : Ce[0]) == null ? void 0 : l.daily) == null ? void 0 : m.time) == null ? void 0 : c.at(-1)), Oe = [];
10356
10356
  if (Ie.isBetween(oe, He, "millisecond", "[]")) {
10357
10357
  let fe, Re;
10358
10358
  const W = Ie.diff(oe, "d", !1);
10359
- if (Te)
10360
- for (const ye of Te) {
10359
+ if (Ce)
10360
+ for (const ye of Ce) {
10361
10361
  const ae = ye.daily;
10362
10362
  fe = {
10363
10363
  code: (f = ae.weather_code) == null ? void 0 : f.at(W),
@@ -10372,7 +10372,7 @@ class Za {
10372
10372
  },
10373
10373
  precip: {
10374
10374
  sum: (z = ae.precipitation_sum) == null ? void 0 : z.at(W),
10375
- rainSum: (C = ae.rain_sum) == null ? void 0 : C.at(W),
10375
+ rainSum: (T = ae.rain_sum) == null ? void 0 : T.at(W),
10376
10376
  snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(W),
10377
10377
  showersSum: (I = ae.showers_sum) == null ? void 0 : I.at(W),
10378
10378
  hours: (w = ae.precipitation_hours) == null ? void 0 : w.at(W),
@@ -10380,7 +10380,7 @@ class Za {
10380
10380
  },
10381
10381
  rh: {
10382
10382
  max: (P = ae.relative_humidity_2m_max) == null ? void 0 : P.at(W),
10383
- min: (T = ae.relative_humidity_2m_min) == null ? void 0 : T.at(W),
10383
+ min: (C = ae.relative_humidity_2m_min) == null ? void 0 : C.at(W),
10384
10384
  mean: (_ = ae.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
10385
10385
  },
10386
10386
  wind: {
@@ -10388,7 +10388,7 @@ class Za {
10388
10388
  kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(W),
10389
10389
  degree: (V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
10390
10390
  gusts: (X = ae.wind_gusts_10m_max) == null ? void 0 : X.at(W),
10391
- bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? (((Q = ae.wind_direction_10m_dominant) == null ? void 0 : Q.at(W)) + 180) % 360 : null
10391
+ bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? (((J = ae.wind_direction_10m_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
10392
10392
  }
10393
10393
  };
10394
10394
  const { name: se, url: je, bg: Ge } = this.parseWeatherCode(fe.code, !0);
@@ -10405,8 +10405,8 @@ class Za {
10405
10405
  Re = {
10406
10406
  wave: {
10407
10407
  sig: {
10408
- height: ($ = se.wave_height_max) == null ? void 0 : $.at(W),
10409
- degree: (J = se.wave_direction_dominant) == null ? void 0 : J.at(W),
10408
+ height: (Q = se.wave_height_max) == null ? void 0 : Q.at(W),
10409
+ degree: ($ = se.wave_direction_dominant) == null ? void 0 : $.at(W),
10410
10410
  period: (re = se.wave_period_max) == null ? void 0 : re.at(W),
10411
10411
  bearing: ((le = se.wave_direction_dominant) == null ? void 0 : le.at(W)) !== null ? (((ue = se.wave_direction_dominant) == null ? void 0 : ue.at(W)) + 180) % 360 : null
10412
10412
  },
@@ -10423,7 +10423,7 @@ class Za {
10423
10423
  degree: (be = se.wind_wave_direction_dominant) == null ? void 0 : be.at(W),
10424
10424
  period: (ve = se.wind_wave_period_max) == null ? void 0 : ve.at(W),
10425
10425
  peakPeriod: (Pe = se.wind_wave_peak_period_max) == null ? void 0 : Pe.at(W),
10426
- bearing: ((Ce = se.wind_wave_direction_dominant) == null ? void 0 : Ce.at(W)) !== null ? (((_e = se.wind_wave_direction_dominant) == null ? void 0 : _e.at(W)) + 180) % 360 : null
10426
+ bearing: ((Te = se.wind_wave_direction_dominant) == null ? void 0 : Te.at(W)) !== null ? (((_e = se.wind_wave_direction_dominant) == null ? void 0 : _e.at(W)) + 180) % 360 : null
10427
10427
  }
10428
10428
  }
10429
10429
  }, Re.wave = this.parseWave(Re.wave, fe == null ? void 0 : fe.wind), Object.assign(Oe[ye], Re), ye++;
@@ -10995,7 +10995,10 @@ const ac = {
10995
10995
  },
10996
10996
  showTropicalsInfo: {
10997
10997
  handler() {
10998
- this.$emit("tropical", this.showTropicalsInfo);
10998
+ this.$emit("tropical", this.showTropicalsInfo), this.simple && this.showTropicalsInfo ? this.$nextTick(() => {
10999
+ var t, e;
11000
+ this.$parent.playerBottom = ((e = (t = this.$refs.tropicalsInfo) == null ? void 0 : t.$el) == null ? void 0 : e.clientHeight) + 10;
11001
+ }) : this.simple && (this.$parent.playerBottom = 30);
10999
11002
  },
11000
11003
  immediate: !0
11001
11004
  },
@@ -11030,7 +11033,7 @@ const ac = {
11030
11033
  async fetchTropicals() {
11031
11034
  var a, r, l;
11032
11035
  const t = (/* @__PURE__ */ new Date()).valueOf();
11033
- let e = 0, o = 0, i = (a = To.WEATHER_LAYERS.find((m) => m.key === "tropicals")) == null ? void 0 : a.weight;
11036
+ let e = 0, o = 0, i = (a = Co.WEATHER_LAYERS.find((m) => m.key === "tropicals")) == null ? void 0 : a.weight;
11034
11037
  if (i > 0) {
11035
11038
  const m = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], c = await Ae.get(`${m}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
11036
11039
  headers: {
@@ -11066,7 +11069,7 @@ const ac = {
11066
11069
  handleRefresh() {
11067
11070
  var e, o;
11068
11071
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
11069
- var r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _;
11072
+ var r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _;
11070
11073
  let a = "";
11071
11074
  switch (!0) {
11072
11075
  case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
@@ -11084,14 +11087,14 @@ const ac = {
11084
11087
  case (((k = i.properties.wind) == null ? void 0 : k.kts) < 94 || ((y = i.properties) == null ? void 0 : y.kts) < 94):
11085
11088
  a = "sty";
11086
11089
  break;
11087
- case (((z = i.properties.wind) == null ? void 0 : z.kts) >= 94 || ((C = i.properties) == null ? void 0 : C.kts) >= 94):
11090
+ case (((z = i.properties.wind) == null ? void 0 : z.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
11088
11091
  a = "superTy";
11089
11092
  break;
11090
11093
  default:
11091
11094
  a = "superTy";
11092
11095
  break;
11093
11096
  }
11094
- i.properties.levelI18n = a, ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (L = (w = S(i.properties.date)) == null ? void 0 : w.utcOffset(this.timeZone)) == null ? void 0 : L.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((_ = (T = i.properties.name) == null ? void 0 : T.trim()) == null ? void 0 : _.replace(/^./, (O) => O.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11097
+ i.properties.levelI18n = a, ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (L = (w = S(i.properties.date)) == null ? void 0 : w.utcOffset(this.timeZone)) == null ? void 0 : L.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((_ = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : _.replace(/^./, (O) => O.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11095
11098
  }), this.handleInit();
11096
11099
  },
11097
11100
  handleInit() {
@@ -11310,7 +11313,7 @@ const ac = {
11310
11313
  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();
11311
11314
  },
11312
11315
  handleDateChange() {
11313
- var t, e, o, i, a, r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue;
11316
+ var t, e, o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue;
11314
11317
  if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11315
11318
  const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), me = this.interpolateData.filter((A) => A.properties.date === (ie == null ? void 0 : ie.format()) && !A.properties.disabled), ge = this.handleComputePolygons(me), he = G.featureCollection([...me]);
11316
11319
  ge.forEach((A) => {
@@ -11340,18 +11343,18 @@ const ac = {
11340
11343
  const de = [];
11341
11344
  for (const A of me)
11342
11345
  if (!A.properties.disabled) {
11343
- if (!de.some((Ce) => {
11346
+ if (!de.some((Te) => {
11344
11347
  var _e;
11345
- return Ce.properties.name === ((_e = A.properties) == null ? void 0 : _e.name);
11348
+ return Te.properties.name === ((_e = A.properties) == null ? void 0 : _e.name);
11346
11349
  })) {
11347
- const Ce = ((m = (l = this.tropicals.data.features.find((_e) => {
11350
+ const Te = ((m = (l = this.tropicals.data.features.find((_e) => {
11348
11351
  var Ie;
11349
11352
  return _e.properties.name === ((Ie = A.properties) == null ? void 0 : Ie.name);
11350
11353
  })) == null ? void 0 : l.properties) == null ? void 0 : m.nameCn) || ((c = A.properties) == null ? void 0 : c.Name) || "-";
11351
- A.properties.nameCn = Ce, A.properties.Name = ((d = (f = A.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || A.properties.nameCn, de.push(A);
11354
+ A.properties.nameCn = Te, A.properties.Name = ((d = (f = A.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || A.properties.nameCn, de.push(A);
11352
11355
  }
11353
11356
  let te = this.Theme.current.value.colors["tropicals-ty"];
11354
- ((x = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((y = (k = A.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((C = (z = A.properties) == null ? void 0 : z.wind) == null ? void 0 : C.kts) >= 32 && ((I = (B = A.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (w = A.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) >= 47 && ((T = (P = A.properties) == null ? void 0 : P.wind) == null ? void 0 : T.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((O = (_ = A.properties) == null ? void 0 : _.wind) == null ? void 0 : O.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (X = A.properties) == null ? void 0 : X.wind) == null ? void 0 : Z.kts) >= 79 && (($ = (Q = A.properties) == null ? void 0 : Q.wind) == null ? void 0 : $.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((re = (J = A.properties) == null ? void 0 : J.wind) == null ? void 0 : re.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11357
+ ((x = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((y = (k = A.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((T = (z = A.properties) == null ? void 0 : z.wind) == null ? void 0 : T.kts) >= 32 && ((I = (B = A.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (w = A.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) >= 47 && ((C = (P = A.properties) == null ? void 0 : P.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((O = (_ = A.properties) == null ? void 0 : _.wind) == null ? void 0 : O.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (X = A.properties) == null ? void 0 : X.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (J = A.properties) == null ? void 0 : J.wind) == null ? void 0 : Q.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((re = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : re.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11355
11358
  const be = `<svg t="1719918955501"
11356
11359
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11357
11360
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11379,13 +11382,13 @@ const ac = {
11379
11382
  var a, r, l, m, c, f, d, b, x, k, y;
11380
11383
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
11381
11384
  (z) => {
11382
- var C;
11383
- return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((C = e == null ? void 0 : e.properties) == null ? void 0 : C.name);
11385
+ var T;
11386
+ return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11384
11387
  }
11385
11388
  ), i = (m = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : m.features.filter(
11386
11389
  (z) => {
11387
- var C;
11388
- return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((C = e == null ? void 0 : e.properties) == null ? void 0 : C.name);
11390
+ var T;
11391
+ return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11389
11392
  }
11390
11393
  );
11391
11394
  this.activeTropicals = {
@@ -11517,11 +11520,11 @@ const ac = {
11517
11520
  }, _c = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, kc = { class: "more" }, zc = {
11518
11521
  key: 0,
11519
11522
  class: "w-100 d-flex justify-space-between align-center px-2"
11520
- }, Lc = { class: "pa-1" }, Pc = { class: "legend d-flex justify-start align-center py-2" }, Cc = { class: "label" }, Tc = { class: "legend d-flex justify-start align-center py-2" }, Mc = { class: "label" }, Sc = { class: "legend d-flex justify-start align-center py-2" }, Dc = { class: "label" }, Ic = { class: "pa-1" }, Rc = { class: "legend d-flex justify-start align-center py-2" }, Ac = { class: "label" }, Oc = { class: "legend d-flex justify-start align-center py-2" }, Bc = { class: "label" }, jc = { class: "legend d-flex justify-start align-center py-2" }, Ec = { class: "label" }, Nc = { class: "pa-1" }, Fc = { class: "w-100 legend d-flex justify-start align-center py-2 ga-2" }, Hc = { class: "label" }, Gc = { class: "label" }, Wc = { class: "w-100 legend d-flex justify-start align-center py-2" }, Uc = { class: "label" }, Vc = { class: "w-100 legend d-flex justify-start align-center py-2" }, Zc = { class: "label" }, Yc = {
11523
+ }, Lc = { class: "pa-1" }, Pc = { class: "legend d-flex justify-start align-center py-2" }, Tc = { class: "label" }, Cc = { class: "legend d-flex justify-start align-center py-2" }, Mc = { class: "label" }, Sc = { class: "legend d-flex justify-start align-center py-2" }, Dc = { class: "label" }, Ic = { class: "pa-1" }, Rc = { class: "legend d-flex justify-start align-center py-2" }, Ac = { class: "label" }, Oc = { class: "legend d-flex justify-start align-center py-2" }, Bc = { class: "label" }, jc = { class: "legend d-flex justify-start align-center py-2" }, Ec = { class: "label" }, Nc = { class: "pa-1" }, Fc = { class: "w-100 legend d-flex justify-start align-center py-2 ga-2" }, Hc = { class: "label" }, Gc = { class: "label" }, Wc = { class: "w-100 legend d-flex justify-start align-center py-2" }, Uc = { class: "label" }, Vc = { class: "w-100 legend d-flex justify-start align-center py-2" }, Zc = { class: "label" }, Yc = {
11521
11524
  key: 1,
11522
11525
  class: "my-3 w-100",
11523
11526
  style: { height: "80px" }
11524
- }, Xc = { class: "legend d-flex justify-start align-center" }, qc = { class: "label" }, Kc = { class: "legend d-flex justify-start align-center" }, Jc = { class: "label" }, Qc = { class: "legend d-flex justify-start align-center" }, $c = { class: "label" }, em = { class: "legend d-flex justify-start align-center" }, tm = { class: "label" }, om = { class: "legend d-flex justify-start align-center" }, am = { class: "label" }, im = { class: "legend d-flex justify-start align-center" }, sm = { class: "label" }, rm = { class: "legend d-flex justify-start align-center" }, lm = { class: "label" }, nm = { class: "legend d-flex justify-start align-center" }, cm = { class: "label" }, mm = { class: "legend d-flex justify-start align-center" }, hm = { class: "label" }, dm = { class: "legend d-flex justify-start align-center" }, pm = { class: "label" }, um = { class: "d-flex justify-star align-center" }, gm = { class: "font-weight-600 mr-1" }, fm = { class: "" }, ym = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, bm = {
11527
+ }, Xc = { class: "legend d-flex justify-start align-center" }, qc = { class: "label" }, Kc = { class: "legend d-flex justify-start align-center" }, $c = { class: "label" }, Jc = { class: "legend d-flex justify-start align-center" }, Qc = { class: "label" }, em = { class: "legend d-flex justify-start align-center" }, tm = { class: "label" }, om = { class: "legend d-flex justify-start align-center" }, am = { class: "label" }, im = { class: "legend d-flex justify-start align-center" }, sm = { class: "label" }, rm = { class: "legend d-flex justify-start align-center" }, lm = { class: "label" }, nm = { class: "legend d-flex justify-start align-center" }, cm = { class: "label" }, mm = { class: "legend d-flex justify-start align-center" }, hm = { class: "label" }, dm = { class: "legend d-flex justify-start align-center" }, pm = { class: "label" }, um = { class: "d-flex justify-star align-center" }, gm = { class: "font-weight-600 mr-1" }, fm = { class: "" }, ym = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, bm = {
11525
11528
  key: 0,
11526
11529
  class: "d-flex justify-start align-center"
11527
11530
  }, wm = { class: "text-label pr-1" }, xm = {
@@ -11536,7 +11539,7 @@ const ac = {
11536
11539
  }, Lm = { class: "text-label pr-1" }, Pm = {
11537
11540
  key: 4,
11538
11541
  class: "d-flex justify-start align-center"
11539
- }, Cm = { class: "text-label pr-1" }, Tm = {
11542
+ }, Tm = { class: "text-label pr-1" }, Cm = {
11540
11543
  key: 5,
11541
11544
  class: "d-flex justify-start align-center"
11542
11545
  }, Mm = { class: "text-label pr-1" }, Sm = { class: "d-flex justify-start align-center" }, Dm = { class: "text-label pr-1" }, Im = {
@@ -11581,6 +11584,7 @@ function Em(t, e, o, i, a, r) {
11581
11584
  ], 4),
11582
11585
  a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (g(), M("div", {
11583
11586
  key: 0,
11587
+ ref: "tropicalsInfo",
11584
11588
  id: "idm-tropical-gl4-info",
11585
11589
  class: ne(["idm-tropical-gl4-info", o.simple ? "page" : "dialog"])
11586
11590
  }, [
@@ -11591,10 +11595,10 @@ function Em(t, e, o, i, a, r) {
11591
11595
  default: u(() => [
11592
11596
  p(c, null, {
11593
11597
  default: u(() => {
11594
- var y, z, C, B, I, w, L, P, T, _, O, F;
11598
+ var y, z, T, B, I, w, L, P, C, _, O, F;
11595
11599
  return [
11596
11600
  s("div", sc, [
11597
- s("span", rc, n(o.locale === "en" ? (y = a.activeTropicals) == null ? void 0 : y.Name : ((z = a.activeTropicals) == null ? void 0 : z.nameCn) || ((C = a.activeTropicals) == null ? void 0 : C.Name) || "-"), 1),
11601
+ s("span", rc, n(o.locale === "en" ? (y = a.activeTropicals) == null ? void 0 : y.Name : ((z = a.activeTropicals) == null ? void 0 : z.nameCn) || ((T = a.activeTropicals) == null ? void 0 : T.Name) || "-"), 1),
11598
11602
  (I = (B = a.activeTropicals) == null ? void 0 : B.history) != null && I.levelI18n ? (g(), M("span", lc, " , " + n(t.$t("tropical." + ((L = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : L.levelI18n))), 1)) : D("", !0)
11599
11603
  ]),
11600
11604
  p(l, {
@@ -11612,7 +11616,7 @@ function Em(t, e, o, i, a, r) {
11612
11616
  }, 8, ["onClick"]),
11613
11617
  s("div", nc, [
11614
11618
  s("span", cc, n(t.$t("actions.lastUpdate")) + ": ", 1),
11615
- s("span", null, n(r.computeTime(((T = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : T.updated) || ((F = (O = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : O.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11619
+ s("span", null, n(r.computeTime(((C = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : C.updated) || ((F = (O = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : O.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11616
11620
  ])
11617
11621
  ];
11618
11622
  }),
@@ -11621,13 +11625,13 @@ function Em(t, e, o, i, a, r) {
11621
11625
  p(f),
11622
11626
  p(c, { class: "text-body-1 py-3" }, {
11623
11627
  default: u(() => {
11624
- var y, z, C, B, I, w, L, P, T;
11628
+ var y, z, T, B, I, w, L, P, C;
11625
11629
  return [
11626
11630
  s("div", mc, [
11627
11631
  s("div", hc, [
11628
11632
  s("label", dc, n(t.$t("weather.windSpeed")) + " : ", 1),
11629
11633
  s("span", null, n(((z = (y = a.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
11630
- s("span", null, ", BF " + n(r.computeBF(((B = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : B.kts) || "-")), 1)
11634
+ s("span", null, ", BF " + n(r.computeBF(((B = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : B.kts) || "-")), 1)
11631
11635
  ]),
11632
11636
  s("div", pc, [
11633
11637
  s("label", uc, n(t.$t("weather.pressure")) + " : ", 1),
@@ -11647,7 +11651,7 @@ function Em(t, e, o, i, a, r) {
11647
11651
  s("div", xc, [
11648
11652
  s("label", vc, n(t.$t("tropical.models")) + " : ", 1),
11649
11653
  s("div", _c, [
11650
- (g(!0), M(xe, null, ke((T = a.activeTropicals) == null ? void 0 : T.forecasts, (_, O) => (g(), R(l, {
11654
+ (g(!0), M(xe, null, ke((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, O) => (g(), R(l, {
11651
11655
  key: O,
11652
11656
  density: "compact",
11653
11657
  variant: _.disabled ? "text" : "flat",
@@ -11725,9 +11729,9 @@ function Em(t, e, o, i, a, r) {
11725
11729
  s("div", Lc, [
11726
11730
  s("div", Pc, [
11727
11731
  e[6] || (e[6] = s("div", { class: "icon td" }, null, -1)),
11728
- s("div", Cc, n(t.$t("tropical.td")), 1)
11732
+ s("div", Tc, n(t.$t("tropical.td")), 1)
11729
11733
  ]),
11730
- s("div", Tc, [
11734
+ s("div", Cc, [
11731
11735
  e[7] || (e[7] = s("div", { class: "icon sts" }, null, -1)),
11732
11736
  s("div", Mc, n(t.$t("tropical.sts")), 1)
11733
11737
  ]),
@@ -11780,11 +11784,11 @@ function Em(t, e, o, i, a, r) {
11780
11784
  ]),
11781
11785
  s("div", Kc, [
11782
11786
  e[17] || (e[17] = s("div", { class: "icon ts" }, null, -1)),
11783
- s("div", Jc, n(t.$t("tropical.ts")), 1)
11787
+ s("div", $c, n(t.$t("tropical.ts")), 1)
11784
11788
  ]),
11785
- s("div", Qc, [
11789
+ s("div", Jc, [
11786
11790
  e[18] || (e[18] = s("div", { class: "icon sts" }, null, -1)),
11787
- s("div", $c, n(t.$t("tropical.sts")), 1)
11791
+ s("div", Qc, n(t.$t("tropical.sts")), 1)
11788
11792
  ]),
11789
11793
  s("div", em, [
11790
11794
  e[19] || (e[19] = s("div", { class: "icon ty" }, null, -1)),
@@ -11835,10 +11839,10 @@ function Em(t, e, o, i, a, r) {
11835
11839
  default: u(() => [
11836
11840
  p(x, null, {
11837
11841
  default: u(() => {
11838
- var y, z, C, B;
11842
+ var y, z, T, B;
11839
11843
  return [
11840
11844
  s("div", um, [
11841
- s("span", gm, n(o.locale === "en" ? (y = a.hoverPoint) == null ? void 0 : y.Name : ((z = a.hoverPoint) == null ? void 0 : z.nameCn) || ((C = a.hoverPoint) == null ? void 0 : C.Name)), 1),
11845
+ s("span", gm, n(o.locale === "en" ? (y = a.hoverPoint) == null ? void 0 : y.Name : ((z = a.hoverPoint) == null ? void 0 : z.nameCn) || ((T = a.hoverPoint) == null ? void 0 : T.Name)), 1),
11842
11846
  s("span", fm, " [" + n(t.$t("tropical." + ((B = a.hoverPoint) == null ? void 0 : B.levelI18n))) + "]", 1)
11843
11847
  ])
11844
11848
  ];
@@ -11848,14 +11852,14 @@ function Em(t, e, o, i, a, r) {
11848
11852
  p(k),
11849
11853
  p(c, { class: "text-body-1" }, {
11850
11854
  default: u(() => {
11851
- var y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le;
11855
+ var y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le;
11852
11856
  return [
11853
11857
  s("div", ym, [
11854
11858
  ((y = a.hoverPoint) == null ? void 0 : y.type) === "forecast" ? (g(), M("div", bm, [
11855
11859
  s("label", wm, n(t.$t("tropical.updated")) + " : ", 1),
11856
11860
  s("span", null, n(r.computeTzTime((z = a.hoverPoint) == null ? void 0 : z.update, o.timeZone)), 1)
11857
11861
  ])) : D("", !0),
11858
- ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (g(), M("div", xm, [
11862
+ ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (g(), M("div", xm, [
11859
11863
  s("label", vm, n(t.$t("tropical.forecast")) + " : ", 1),
11860
11864
  s("span", null, n(r.computeTzTime((B = a.hoverPoint) == null ? void 0 : B.date, o.timeZone)), 1)
11861
11865
  ])) : D("", !0),
@@ -11867,11 +11871,11 @@ function Em(t, e, o, i, a, r) {
11867
11871
  s("label", Lm, n(t.$t("tropical.model")) + " : ", 1),
11868
11872
  s("span", null, n(((P = a.hoverPoint) == null ? void 0 : P.model) ?? "-"), 1)
11869
11873
  ])) : D("", !0),
11870
- ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (g(), M("div", Pm, [
11871
- s("label", Cm, n(t.$t("weather.wind")) + " : ", 1),
11874
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (g(), M("div", Pm, [
11875
+ s("label", Tm, n(t.$t("weather.wind")) + " : ", 1),
11872
11876
  s("span", null, n(((O = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : O.kts) ?? "-") + " kts", 1)
11873
11877
  ])) : D("", !0),
11874
- ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (g(), M("div", Tm, [
11878
+ ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (g(), M("div", Cm, [
11875
11879
  s("label", Mm, n(t.$t("weather.wind")) + " : ", 1),
11876
11880
  s("span", null, n(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
11877
11881
  ])) : D("", !0),
@@ -11881,9 +11885,9 @@ function Em(t, e, o, i, a, r) {
11881
11885
  ]),
11882
11886
  ((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (g(), M("div", Im, [
11883
11887
  s("label", Rm, n(t.$t("tropical.moveSpeed")) + " : ", 1),
11884
- s("span", null, n((($ = JSON.parse((Q = a.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : $.kts) ?? "-") + " kts", 1)
11888
+ s("span", null, n(((Q = JSON.parse((J = a.hoverPoint) == null ? void 0 : J.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
11885
11889
  ])) : D("", !0),
11886
- ((J = a.hoverPoint) == null ? void 0 : J.type) === "history" ? (g(), M("div", Am, [
11890
+ (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (g(), M("div", Am, [
11887
11891
  s("label", Om, n(t.$t("tropical.moveDir")) + " : ", 1),
11888
11892
  s("span", null, n(((le = JSON.parse((re = a.hoverPoint) == null ? void 0 : re.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
11889
11893
  ])) : D("", !0),
@@ -12141,8 +12145,8 @@ function Um(t, e, o, i, a, r) {
12141
12145
  s("div", Wm, n(a.currentTime), 1),
12142
12146
  p(d, { class: "pa-0 flex-1-1-0 scroll" }, {
12143
12147
  default: u(() => [
12144
- (g(!0), M(xe, null, ke(r.hourOptions, (z, C) => (g(), R(f, {
12145
- key: C,
12148
+ (g(!0), M(xe, null, ke(r.hourOptions, (z, T) => (g(), R(f, {
12149
+ key: T,
12146
12150
  value: z,
12147
12151
  color: "primary",
12148
12152
  active: a.currentTime === z,
@@ -13422,9 +13426,18 @@ const Km = {
13422
13426
  }) : this.handleCloseForm();
13423
13427
  }
13424
13428
  },
13429
+ showMeteo: {
13430
+ handler() {
13431
+ var t, e, o, i, a, r;
13432
+ this.showMeteo ? ((o = (e = (t = this.$parent) == null ? void 0 : t.$refs) == null ? void 0 : e.idmBottomBar) == null || o.handleToggle("spot", !0), this.simple && this.$nextTick(() => {
13433
+ var l, m;
13434
+ this.$parent.playerBottom = ((m = (l = this.$refs.spotMeteo) == null ? void 0 : l.$el) == null ? void 0 : m.clientHeight) + 10;
13435
+ })) : ((r = (a = (i = this.$parent) == null ? void 0 : i.$refs) == null ? void 0 : a.idmBottomBar) == null || r.handleToggle("spot", !1), this.simple && (this.$parent.playerBottom = 30));
13436
+ }
13437
+ },
13425
13438
  realTime: {
13426
13439
  handler() {
13427
- this.realTime && (this.form.dateTime = this.realTime);
13440
+ this.realTime && (this.form.dateTime = this.realTime, this.showMeteo && this.fetchData());
13428
13441
  }
13429
13442
  },
13430
13443
  forecastModel: {
@@ -13473,8 +13486,8 @@ const Km = {
13473
13486
  ((o = S(this.realTime)) == null ? void 0 : o.diff(t, "d", !0)) >= 0 ? await this.fetchForecastData(this.form) : await this.fetchHistoryData(this.form);
13474
13487
  },
13475
13488
  async fetchForecastData(t) {
13476
- this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), console.log(111, this.followList), this.meteoData = [];
13477
- const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel);
13489
+ this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
13490
+ const { weatherModels: e, marineModels: o } = To.autoPickMeteoModel(t.forecastModel);
13478
13491
  let i = {
13479
13492
  lat: t.lat,
13480
13493
  lng: t.lng,
@@ -13495,7 +13508,7 @@ const Km = {
13495
13508
  },
13496
13509
  async fetchHistoryData(t) {
13497
13510
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), console.log(222, this.followList), this.meteoData = [];
13498
- const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel), i = {
13511
+ const { weatherModels: e, marineModels: o } = To.autoPickMeteoModel(t.forecastModel), i = {
13499
13512
  lat: t.lat,
13500
13513
  lng: t.lng,
13501
13514
  datetime: S(t.dateTime).utc().format(),
@@ -13515,10 +13528,10 @@ const Km = {
13515
13528
  }), this.loading = !1;
13516
13529
  },
13517
13530
  initTableData(t) {
13518
- var o, i, a, r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue, ie, me, ge, he, de, A, te, be;
13531
+ var o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue, ie, me, ge, he, de, A, te, be;
13519
13532
  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;
13520
- const e = ((l = Co.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13521
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.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((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((C = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : C.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((T = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : T.height, 1) ?? "-", this.currentHourData.sigwaveDir = (O = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : O.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((ue = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (me = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((he = (ge = e == null ? void 0 : e.wave) == null ? void 0 : ge.swell) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (A = e == null ? void 0 : e.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.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 = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
13533
+ const e = ((l = To.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13534
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.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((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.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 = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (O = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : O.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((ue = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (me = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((he = (ge = e == null ? void 0 : e.wave) == null ? void 0 : ge.swell) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (A = e == null ? void 0 : e.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.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 = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
13522
13535
  },
13523
13536
  handleBind() {
13524
13537
  var t, e;
@@ -13577,7 +13590,7 @@ const Km = {
13577
13590
  this.$emit("cancelFollow", t);
13578
13591
  }
13579
13592
  }
13580
- }, Jm = { class: "idm-gl4-spot" }, Qm = { class: "d-flex justify-start align-center" }, $m = { class: "text-h6 font-weight-600" }, eh = { class: "d-flex justify-start align-center ga-1 mb-1" }, th = {
13593
+ }, $m = { class: "idm-gl4-spot" }, Jm = { class: "d-flex justify-start align-center" }, Qm = { class: "text-h6 font-weight-600" }, eh = { class: "d-flex justify-start align-center ga-1 mb-1" }, th = {
13581
13594
  class: "multi-color-icon",
13582
13595
  "aria-hidden": "true"
13583
13596
  }, oh = ["xlink:href"], ah = { class: "d-flex justify-start align-center ga-1 mb-1" }, ih = {
@@ -13613,10 +13626,10 @@ const Km = {
13613
13626
  }, Ph = {
13614
13627
  style: { width: "150px" },
13615
13628
  class: "pa-0 text-left"
13616
- }, Ch = {
13629
+ }, Th = {
13617
13630
  style: { width: "80px" },
13618
13631
  class: "pa-0 pr-2 text-right opacity-50"
13619
- }, Th = {
13632
+ }, Ch = {
13620
13633
  cols: "3",
13621
13634
  class: "pa-0 text-left"
13622
13635
  }, Mh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Sh = {
@@ -13631,14 +13644,14 @@ const Km = {
13631
13644
  }, Rh = { class: "pa-0 text-left" }, Ah = { class: "d-flex justify-space-between align-center" }, Oh = { class: "d-flex justify-start align-center" }, Bh = { class: "mx-1" }, jh = { class: "d-flex justify-end align-center" }, Eh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Nh = {
13632
13645
  style: { width: "60px" },
13633
13646
  class: "pa-0 pr-2 text-right opacity-50"
13634
- }, Fh = { class: "pa-0 px-0" }, Hh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Gh = { class: "pa-0 px-0" }, Wh = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Uh = { class: "d-flex flex-column align-start justify-center ga-3" }, Vh = { class: "text-label pr-2" }, Zh = { class: "text-label pr-2" }, Yh = { class: "text-label pr-2" }, Xh = { class: "d-flex flex-column align-start justify-center ga-3" }, qh = { class: "text-label pr-2" }, Kh = { class: "text-label pr-2" }, Jh = { class: "text-label pr-2" }, Qh = { id: "idm-position-icon" }, $h = {
13647
+ }, Fh = { class: "pa-0 px-0" }, Hh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Gh = { class: "pa-0 px-0" }, Wh = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Uh = { class: "d-flex flex-column align-start justify-center ga-3" }, Vh = { class: "text-label pr-2" }, Zh = { class: "text-label pr-2" }, Yh = { class: "text-label pr-2" }, Xh = { class: "d-flex flex-column align-start justify-center ga-3" }, qh = { class: "text-label pr-2" }, Kh = { class: "text-label pr-2" }, $h = { class: "text-label pr-2" }, Jh = { id: "idm-position-icon" }, Qh = {
13635
13648
  class: "multi-color-icon",
13636
13649
  style: { height: "30px", width: "30px" },
13637
13650
  "aria-hidden": "true"
13638
13651
  }, ed = ["xlink:href"];
13639
13652
  function td(t, e, o, i, a, r) {
13640
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VDivider"), d = v("VTextField"), b = v("VCol"), x = v("VRow"), k = v("DateTimePicker"), y = v("VBtnToggle"), z = v("VCardText"), C = v("VCardActions"), B = v("VForm"), I = v("VCard");
13641
- return g(), M("div", Jm, [
13653
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VDivider"), d = v("VTextField"), b = v("VCol"), x = v("VRow"), k = v("DateTimePicker"), y = v("VBtnToggle"), z = v("VCardText"), T = v("VCardActions"), B = v("VForm"), I = v("VCard");
13654
+ return g(), M("div", $m, [
13642
13655
  s("div", {
13643
13656
  class: "menu-bar-box transition pa-1",
13644
13657
  style: ee({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
@@ -13677,8 +13690,8 @@ function td(t, e, o, i, a, r) {
13677
13690
  default: u(() => [
13678
13691
  p(c, { class: "d-flex justify-space-between align-center" }, {
13679
13692
  default: u(() => [
13680
- s("div", Qm, [
13681
- s("div", $m, n(t.$t("spot.spotWeather")), 1)
13693
+ s("div", Jm, [
13694
+ s("div", Qm, n(t.$t("spot.spotWeather")), 1)
13682
13695
  ]),
13683
13696
  p(l, {
13684
13697
  icon: "",
@@ -13956,7 +13969,7 @@ function td(t, e, o, i, a, r) {
13956
13969
  _: 1
13957
13970
  }),
13958
13971
  p(f),
13959
- p(C, { class: "d-flex justify-end align-center ga-4" }, {
13972
+ p(T, { class: "d-flex justify-end align-center ga-4" }, {
13960
13973
  default: u(() => [
13961
13974
  p(l, {
13962
13975
  size: "small",
@@ -13992,7 +14005,7 @@ function td(t, e, o, i, a, r) {
13992
14005
  ]),
13993
14006
  _: 1
13994
14007
  }, 8, ["style"])) : D("", !0),
13995
- a.showMeteo ? (g(), R(I, {
14008
+ a.showMeteo && !o.simple ? (g(), R(I, {
13996
14009
  key: 1,
13997
14010
  id: "idm-gl4-spot-meteo",
13998
14011
  class: "spot-meteo",
@@ -14046,8 +14059,8 @@ function td(t, e, o, i, a, r) {
14046
14059
  s("div", zh, [
14047
14060
  s("div", Lh, n(t.$t("weather.windWave")), 1),
14048
14061
  s("div", Ph, n(a.currentHourData.windwaveDir ?? "-") + "/" + n(a.currentHourData.windwaveHeight ?? "-") + "m/" + n(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
14049
- s("div", Ch, n(t.$t("weather.swell")), 1),
14050
- s("div", Th, n(a.currentHourData.swellDir ?? "-") + "/" + n(a.currentHourData.swellHeight ?? "-") + "m/" + n(a.currentHourData.swellPeriod ?? "-") + "s", 1)
14062
+ s("div", Th, n(t.$t("weather.swell")), 1),
14063
+ s("div", Ch, n(a.currentHourData.swellDir ?? "-") + "/" + n(a.currentHourData.swellHeight ?? "-") + "m/" + n(a.currentHourData.swellPeriod ?? "-") + "s", 1)
14051
14064
  ]),
14052
14065
  s("div", Mh, [
14053
14066
  s("div", Sh, n(t.$t("weather.current")), 1),
@@ -14060,13 +14073,13 @@ function td(t, e, o, i, a, r) {
14060
14073
  _: 1
14061
14074
  }),
14062
14075
  p(f),
14063
- p(C, { class: "d-flex justify-space-between align-center" }, {
14076
+ p(T, { class: "d-flex justify-space-between align-center" }, {
14064
14077
  default: u(() => {
14065
14078
  var w;
14066
14079
  return [
14067
14080
  (w = o.followList) != null && w.some((L) => {
14068
- var P, T;
14069
- return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((T = L == null ? void 0 : L.coordinate) == null ? void 0 : T.lat) === a.form.lat;
14081
+ var P, C;
14082
+ return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((C = L == null ? void 0 : L.coordinate) == null ? void 0 : C.lat) === a.form.lat;
14070
14083
  }) ? (g(), R(l, {
14071
14084
  key: 0,
14072
14085
  class: "text-none text-body-1",
@@ -14122,6 +14135,7 @@ function td(t, e, o, i, a, r) {
14122
14135
  })) : D("", !0),
14123
14136
  a.showMeteo && o.simple ? (g(), R(I, {
14124
14137
  key: 2,
14138
+ ref: "spotMeteo",
14125
14139
  class: "position-absolute bottom-0 rounded-t-4",
14126
14140
  style: { width: "100vw", "z-index": "1001" }
14127
14141
  }, {
@@ -14137,8 +14151,8 @@ function td(t, e, o, i, a, r) {
14137
14151
  ]),
14138
14152
  s("div", jh, [
14139
14153
  (w = o.followList) != null && w.some((L) => {
14140
- var P, T;
14141
- return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((T = L == null ? void 0 : L.coordinate) == null ? void 0 : T.lat) === a.form.lat;
14154
+ var P, C;
14155
+ return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((C = L == null ? void 0 : L.coordinate) == null ? void 0 : C.lat) === a.form.lat;
14142
14156
  }) ? (g(), R(l, {
14143
14157
  key: 0,
14144
14158
  class: "text-none text-body-1 rounded-circle",
@@ -14232,7 +14246,7 @@ function td(t, e, o, i, a, r) {
14232
14246
  s("span", null, n(a.currentHourData.currentDir ?? "-") + "/" + n(a.currentHourData.currentSpeed ?? "-") + "kts", 1)
14233
14247
  ]),
14234
14248
  s("div", null, [
14235
- s("span", Jh, n(t.$t("weather.visibility")), 1),
14249
+ s("span", $h, n(t.$t("weather.visibility")), 1),
14236
14250
  s("span", null, n(a.currentHourData.visibility ?? "-") + " nm", 1)
14237
14251
  ])
14238
14252
  ])
@@ -14243,9 +14257,9 @@ function td(t, e, o, i, a, r) {
14243
14257
  })
14244
14258
  ]),
14245
14259
  _: 1
14246
- })) : D("", !0),
14247
- Ze(s("div", Qh, [
14248
- (g(), M("svg", $h, [
14260
+ }, 512)) : D("", !0),
14261
+ Ze(s("div", Jh, [
14262
+ (g(), M("svg", Qh, [
14249
14263
  s("use", {
14250
14264
  "xlink:href": `#icon-spot-${o.theme}`
14251
14265
  }, null, 8, ed)
@@ -14357,19 +14371,19 @@ const ad = {
14357
14371
  var o, i, a, r, l, m, c, f, d, b;
14358
14372
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
14359
14373
  if ((e == null ? void 0 : e.split("-").length) === 2) {
14360
- const x = this.geojson.filter((C) => C.id === e.split("-")[0])[0];
14361
- this.pointMarkers[x.id].filter((C) => {
14374
+ const x = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
14375
+ this.pointMarkers[x.id].filter((T) => {
14362
14376
  var B;
14363
- return ((B = C._element) == null ? void 0 : B.id) === e;
14377
+ return ((B = T._element) == null ? void 0 : B.id) === e;
14364
14378
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
14365
14379
  let y;
14366
- x.features.forEach((C, B) => {
14367
- if (C.geometry.type === "Point" && C.properties.id === e.split("-")[1]) {
14380
+ x.features.forEach((T, B) => {
14381
+ if (T.geometry.type === "Point" && T.properties.id === e.split("-")[1]) {
14368
14382
  y = B;
14369
14383
  return;
14370
14384
  }
14371
14385
  });
14372
- const z = x.features.filter((C) => C.geometry.type === "Point");
14386
+ const z = x.features.filter((T) => T.geometry.type === "Point");
14373
14387
  this.handleTmpPointUpdate(
14374
14388
  x,
14375
14389
  z[y - 1],
@@ -14384,8 +14398,8 @@ const ad = {
14384
14398
  if ((e == null ? void 0 : e.split("-").length) === 2) {
14385
14399
  const x = this.geojson.filter((z) => z.id === e.split("-")[0])[0];
14386
14400
  this.pointMarkers[x.id].filter((z) => {
14387
- var C;
14388
- return ((C = z._element) == null ? void 0 : C.id) === e;
14401
+ var T;
14402
+ return ((T = z._element) == null ? void 0 : T.id) === e;
14389
14403
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
14390
14404
  const y = x.features.filter((z) => z.geometry.type === "Point" && z.properties.id === e.split("-")[1])[0];
14391
14405
  y.geometry.coordinates = [(f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((z) => z.geometry.type === "Point"), this.handlePointUpdate(x);
@@ -14609,8 +14623,8 @@ const ad = {
14609
14623
  handleClear(t, e = !0) {
14610
14624
  var l, m, c, f, d, b, x, k, y, z;
14611
14625
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
14612
- (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.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((C) => {
14613
- C == null || C.remove();
14626
+ (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.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) => {
14627
+ T == null || T.remove();
14614
14628
  }), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(o)) && this.map.removeSource(o), e && ((z = this.map) != null && z.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
14615
14629
  }
14616
14630
  }
@@ -14669,6 +14683,7 @@ const ld = {
14669
14683
  right: 10,
14670
14684
  show: {
14671
14685
  weather: !1,
14686
+ spot: !1,
14672
14687
  tropical: !1,
14673
14688
  ship: !1
14674
14689
  },
@@ -14827,7 +14842,7 @@ function yd(t, e, o, i, a, r) {
14827
14842
  }, {
14828
14843
  default: u(() => [
14829
14844
  p(m, {
14830
- onClick: (C) => a.intervalHour = y
14845
+ onClick: (T) => a.intervalHour = y
14831
14846
  }, {
14832
14847
  default: u(() => [
14833
14848
  K(n(y) + "h", 1)
@@ -14931,12 +14946,12 @@ function yd(t, e, o, i, a, r) {
14931
14946
  location: "top"
14932
14947
  }, {
14933
14948
  activator: u(({ props: y }) => {
14934
- var z, C;
14949
+ var z, T;
14935
14950
  return [
14936
14951
  p(b, j(y, {
14937
14952
  class: "pa-1 d-flex",
14938
14953
  color: (z = o.weatherCheckList) != null && z.includes("wind") ? "primary" : "",
14939
- variant: (C = o.weatherCheckList) != null && C.includes("wind") ? "elevated" : "text",
14954
+ variant: (T = o.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
14940
14955
  height: "24",
14941
14956
  width: "24",
14942
14957
  "min-width": "24",
@@ -14957,12 +14972,12 @@ function yd(t, e, o, i, a, r) {
14957
14972
  location: "top"
14958
14973
  }, {
14959
14974
  activator: u(({ props: y }) => {
14960
- var z, C;
14975
+ var z, T;
14961
14976
  return [
14962
14977
  p(b, j(y, {
14963
14978
  class: "pa-1 d-flex",
14964
14979
  color: (z = o.weatherCheckList) != null && z.includes("sig-wave-height") ? "primary" : "",
14965
- variant: (C = o.weatherCheckList) != null && C.includes("sig-wave-height") ? "elevated" : "text",
14980
+ variant: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
14966
14981
  height: "24",
14967
14982
  width: "24",
14968
14983
  "min-width": "24",
@@ -14982,12 +14997,12 @@ function yd(t, e, o, i, a, r) {
14982
14997
  location: "top"
14983
14998
  }, {
14984
14999
  activator: u(({ props: y }) => {
14985
- var z, C;
15000
+ var z, T;
14986
15001
  return [
14987
15002
  p(b, j(y, {
14988
15003
  class: "pa-1 d-flex",
14989
15004
  color: (z = o.weatherCheckList) != null && z.includes("current-direction") ? "primary" : "",
14990
- variant: (C = o.weatherCheckList) != null && C.includes("current-direction") ? "elevated" : "text",
15005
+ variant: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
14991
15006
  height: "24",
14992
15007
  width: "24",
14993
15008
  "min-width": "24",
@@ -15102,7 +15117,7 @@ const wd = {
15102
15117
  },
15103
15118
  playerBottom: {
15104
15119
  type: Number,
15105
- default: 10
15120
+ default: 30
15106
15121
  }
15107
15122
  },
15108
15123
  emits: ["realTime", "timeZone"],
@@ -15111,6 +15126,7 @@ const wd = {
15111
15126
  right: 10,
15112
15127
  show: {
15113
15128
  weather: !1,
15129
+ spot: !1,
15114
15130
  tropical: !1,
15115
15131
  ship: !1
15116
15132
  },
@@ -15296,7 +15312,7 @@ function vd(t, e, o, i, a, r) {
15296
15312
  ])
15297
15313
  ], 4);
15298
15314
  }
15299
- const Ja = /* @__PURE__ */ Y(wd, [["render", vd]]), _d = {
15315
+ const $a = /* @__PURE__ */ Y(wd, [["render", vd]]), _d = {
15300
15316
  name: "IdmGL4",
15301
15317
  components: {
15302
15318
  IdmOtherLayer: hl,
@@ -15305,7 +15321,7 @@ const Ja = /* @__PURE__ */ Y(wd, [["render", vd]]), _d = {
15305
15321
  IdmMeasure: rd,
15306
15322
  IdmSpot: od,
15307
15323
  IdmBottomBar: bd,
15308
- IdmTimePlayer: Ja
15324
+ IdmTimePlayer: $a
15309
15325
  },
15310
15326
  props: {
15311
15327
  map: {
@@ -15337,6 +15353,7 @@ const Ja = /* @__PURE__ */ Y(wd, [["render", vd]]), _d = {
15337
15353
  layerVersion: 0,
15338
15354
  autoActive: !0,
15339
15355
  tropicals: void 0,
15356
+ playerBottom: 30,
15340
15357
  gateway: "https://cbe.idmwx.com",
15341
15358
  assistGateway: ["https://assist0.idmwx.com", "https://assist1.idmwx.com", "https://assist2.idmwx.com", "https://assist3.idmwx.com"],
15342
15359
  defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNtZWliMDg2dTAwMDdmdnV4ZHRhcmFoODIiLCJyb2xlIjoyLCJuYW1lIjoiY2hlbmhlbmdAb3Jtd3guY29tIiwicGxhdElkIjoiZ2QwbXQxZCIsImNvbXBhbnkiOnsiaWQiOm51bGwsImNoaWxkcmVuIjpbXX0sImlhdCI6MTc1NTg1NzQ0NiwiZXhwIjozOTYzMzc3NDQ2fQ.nll8PA8tZEFONV2ydX4Rx_Xya7nMzJQ6vPSL_Sg2dVU"
@@ -15439,11 +15456,11 @@ function zd(t, e, o, i, a, r) {
15439
15456
  o.simple ? (g(), R(x, j({
15440
15457
  key: 1,
15441
15458
  ref: "idmBottomBar",
15459
+ playerBottom: a.playerBottom,
15442
15460
  bgClass: o.simple ? "bg-background" : "",
15443
15461
  "weather-check-list": a.weatherCheckList,
15444
- "map-feather": o.mapFeather,
15445
- playerBottom: 30
15446
- }, t.$attrs), null, 16, ["bgClass", "weather-check-list", "map-feather"])) : D("", !0)
15462
+ "map-feather": o.mapFeather
15463
+ }, t.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : D("", !0)
15447
15464
  ], 512);
15448
15465
  }
15449
15466
  const Ld = /* @__PURE__ */ Y(_d, [["render", zd]]);
@@ -15455,7 +15472,7 @@ class Pd {
15455
15472
  pe(this, "hi");
15456
15473
  pe(this, "td");
15457
15474
  pe(this, "windy");
15458
- var o, i, a, r, l, m, c, f, d, b, x, k, y, z, C, B, I, w, L, P, T, _, O, F, V, X, Z, Q, $, J, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Ce, _e, Ie, Te, H, oe, He, Oe, fe, Re, W, ye, ae, se, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, st, rt, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, so, ro, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, Xo, qo, Ko, Jo, Qo, $o, ea, ta, oa, aa, ia, sa, ra, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Ma, Sa, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
15475
+ var o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, J, Q, $, re, le, ue, ie, me, ge, he, de, A, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re, W, ye, ae, se, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, $e, Je, Qe, et, tt, ot, at, it, st, rt, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, so, ro, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, Xo, qo, Ko, $o, Jo, Qo, ea, ta, oa, aa, ia, sa, ra, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Ma, Sa, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
15459
15476
  this.i4 = {
15460
15477
  source: {
15461
15478
  type: "raster",
@@ -34103,23 +34120,23 @@ class Pd {
34103
34120
  (b = (d = this.originStyle) == null ? void 0 : d.light.layers) == null ? void 0 : b.find((h) => h.id === "loadlines-label"),
34104
34121
  (k = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : k.find((h) => h.id === "loadlines-fill"),
34105
34122
  (z = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : z.find((h) => h.id === "empty-layer-0"),
34106
- (B = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : B.find((h) => h.id === "empty-layer-1"),
34123
+ (B = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : B.find((h) => h.id === "empty-layer-1"),
34107
34124
  (w = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : w.find((h) => h.id === "country-boundaries"),
34108
34125
  (P = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : P.find((h) => h.id === "water-outline"),
34109
- (_ = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
34126
+ (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
34110
34127
  (F = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
34111
34128
  (X = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : X.find((h) => h.id === "water-line-label"),
34112
- (Q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Q.find((h) => h.id === "water-point-label"),
34113
- (J = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : J.find((h) => h.id === "world-12nm-v4-20231025"),
34129
+ (J = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : J.find((h) => h.id === "water-point-label"),
34130
+ ($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((h) => h.id === "world-12nm-v4-20231025"),
34114
34131
  (le = (re = this.originStyle) == null ? void 0 : re.light.layers) == null ? void 0 : le.find((h) => h.id === "ne-10m-outline"),
34115
34132
  (ie = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ie.find((h) => h.id === "ne-10m-label"),
34116
34133
  (ge = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : ge.find((h) => h.id === "china-route-line"),
34117
34134
  (de = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : de.find((h) => h.id === "china-route-fill"),
34118
34135
  (te = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : te.find((h) => h.id === "china-route-label"),
34119
34136
  (ve = (be = this.originStyle) == null ? void 0 : be.light.layers) == null ? void 0 : ve.find((h) => h.id === "admin-0-boundary-bg"),
34120
- (Ce = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : Ce.find((h) => h.id === "admin-0-boundary"),
34137
+ (Te = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : Te.find((h) => h.id === "admin-0-boundary"),
34121
34138
  (Ie = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : Ie.find((h) => h.id === "admin-0-boundary-disputed"),
34122
- (H = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : H.find((h) => h.id === "country-label"),
34139
+ (H = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : H.find((h) => h.id === "country-label"),
34123
34140
  (He = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : He.find((h) => h.id === "continent-label"),
34124
34141
  (fe = (Oe = this.originStyle) == null ? void 0 : Oe.light.layers) == null ? void 0 : fe.find((h) => h.id === "tide-stations"),
34125
34142
  (W = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : W.find((h) => h.id === "empty-layer-3"),
@@ -34153,8 +34170,8 @@ class Pd {
34153
34170
  (Ue = (N = this.originStyle) == null ? void 0 : N.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "ice-area-fill"),
34154
34171
  (Xe = (U = this.originStyle) == null ? void 0 : U.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "ice-area-line"),
34155
34172
  (Ke = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Ke.find((h) => h.id === "loadlines-label"),
34156
- (Je = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : Je.find((h) => h.id === "loadlines-fill"),
34157
- ($e = (Qe = this.originStyle) == null ? void 0 : Qe.dark.layers) == null ? void 0 : $e.find((h) => h.id === "empty-layer-0"),
34173
+ ($e = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : $e.find((h) => h.id === "loadlines-fill"),
34174
+ (Qe = (Je = this.originStyle) == null ? void 0 : Je.dark.layers) == null ? void 0 : Qe.find((h) => h.id === "empty-layer-0"),
34158
34175
  (tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((h) => h.id === "empty-layer-1"),
34159
34176
  (at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((h) => h.id === "country-boundaries"),
34160
34177
  (st = (it = this.originStyle) == null ? void 0 : it.dark.layers) == null ? void 0 : st.find((h) => h.id === "water-outline"),
@@ -34168,8 +34185,8 @@ class Pd {
34168
34185
  (vt = (xt = this.originStyle) == null ? void 0 : xt.dark.layers) == null ? void 0 : vt.find((h) => h.id === "china-route-fill"),
34169
34186
  (kt = (_t = this.originStyle) == null ? void 0 : _t.dark.layers) == null ? void 0 : kt.find((h) => h.id === "china-route-label"),
34170
34187
  (Lt = (zt = this.originStyle) == null ? void 0 : zt.dark.layers) == null ? void 0 : Lt.find((h) => h.id === "admin-0-boundary-bg"),
34171
- (Ct = (Pt = this.originStyle) == null ? void 0 : Pt.dark.layers) == null ? void 0 : Ct.find((h) => h.id === "admin-0-boundary"),
34172
- (Mt = (Tt = this.originStyle) == null ? void 0 : Tt.dark.layers) == null ? void 0 : Mt.find((h) => h.id === "admin-0-boundary-disputed"),
34188
+ (Tt = (Pt = this.originStyle) == null ? void 0 : Pt.dark.layers) == null ? void 0 : Tt.find((h) => h.id === "admin-0-boundary"),
34189
+ (Mt = (Ct = this.originStyle) == null ? void 0 : Ct.dark.layers) == null ? void 0 : Mt.find((h) => h.id === "admin-0-boundary-disputed"),
34173
34190
  (Dt = (St = this.originStyle) == null ? void 0 : St.dark.layers) == null ? void 0 : Dt.find((h) => h.id === "country-label"),
34174
34191
  (Rt = (It = this.originStyle) == null ? void 0 : It.dark.layers) == null ? void 0 : Rt.find((h) => h.id === "continent-label"),
34175
34192
  (Ot = (At = this.originStyle) == null ? void 0 : At.dark.layers) == null ? void 0 : Ot.find((h) => h.id === "tide-stations"),
@@ -34281,8 +34298,8 @@ class Pd {
34281
34298
  (Xo = (Yo = this.originStyle) == null ? void 0 : Yo.light.layers) == null ? void 0 : Xo.find((h) => h.id === "land"),
34282
34299
  (Ko = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Ko.find((h) => h.id === "water"),
34283
34300
  this.i4.layer,
34284
- (Qo = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : Qo.find((h) => h.id === "ice-area-fill"),
34285
- (ea = ($o = this.originStyle) == null ? void 0 : $o.light.layers) == null ? void 0 : ea.find((h) => h.id === "ice-area-line"),
34301
+ (Jo = ($o = this.originStyle) == null ? void 0 : $o.light.layers) == null ? void 0 : Jo.find((h) => h.id === "ice-area-fill"),
34302
+ (ea = (Qo = this.originStyle) == null ? void 0 : Qo.light.layers) == null ? void 0 : ea.find((h) => h.id === "ice-area-line"),
34286
34303
  (oa = (ta = this.originStyle) == null ? void 0 : ta.light.layers) == null ? void 0 : oa.find((h) => h.id === "loadlines-label"),
34287
34304
  (ia = (aa = this.originStyle) == null ? void 0 : aa.light.layers) == null ? void 0 : ia.find((h) => h.id === "loadlines-fill"),
34288
34305
  (ra = (sa = this.originStyle) == null ? void 0 : sa.light.layers) == null ? void 0 : ra.find((h) => h.id === "empty-layer-0"),
@@ -34298,7 +34315,7 @@ class Pd {
34298
34315
  (_a = (va = this.originStyle) == null ? void 0 : va.light.layers) == null ? void 0 : _a.find((h) => h.id === "ne-10m-label"),
34299
34316
  (za = (ka = this.originStyle) == null ? void 0 : ka.light.layers) == null ? void 0 : za.find((h) => h.id === "china-route-line"),
34300
34317
  (Pa = (La = this.originStyle) == null ? void 0 : La.light.layers) == null ? void 0 : Pa.find((h) => h.id === "china-route-fill"),
34301
- (Ta = (Ca = this.originStyle) == null ? void 0 : Ca.light.layers) == null ? void 0 : Ta.find((h) => h.id === "china-route-label"),
34318
+ (Ca = (Ta = this.originStyle) == null ? void 0 : Ta.light.layers) == null ? void 0 : Ca.find((h) => h.id === "china-route-label"),
34302
34319
  (Sa = (Ma = this.originStyle) == null ? void 0 : Ma.light.layers) == null ? void 0 : Sa.find((h) => h.id === "admin-0-boundary-bg"),
34303
34320
  (Ia = (Da = this.originStyle) == null ? void 0 : Da.light.layers) == null ? void 0 : Ia.find((h) => h.id === "admin-0-boundary"),
34304
34321
  (Aa = (Ra = this.originStyle) == null ? void 0 : Ra.light.layers) == null ? void 0 : Aa.find((h) => h.id === "admin-0-boundary-disputed"),
@@ -34312,7 +34329,7 @@ class Pd {
34312
34329
  };
34313
34330
  }
34314
34331
  }
34315
- const Cd = {
34332
+ const Td = {
34316
34333
  name: "MapInitial",
34317
34334
  props: {
34318
34335
  token: {
@@ -34428,7 +34445,7 @@ const Cd = {
34428
34445
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
34429
34446
  }
34430
34447
  }
34431
- }, Td = { class: "v-btn--variant-elevated rounded" }, Md = { class: "v-btn--variant-elevated rounded" }, Sd = { class: "zoom" }, Dd = {
34448
+ }, Cd = { class: "v-btn--variant-elevated rounded" }, Md = { class: "v-btn--variant-elevated rounded" }, Sd = { class: "zoom" }, Dd = {
34432
34449
  key: 2,
34433
34450
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
34434
34451
  };
@@ -34444,7 +34461,7 @@ function Id(t, e, o, i, a, r) {
34444
34461
  class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
34445
34462
  style: ee({ top: o.top + 254 + "px", right: a.right + "px", height: "40px" })
34446
34463
  }, [
34447
- s("div", Td, [
34464
+ s("div", Cd, [
34448
34465
  p(l, {
34449
34466
  "min-width": "32",
34450
34467
  width: "32",
@@ -34507,9 +34524,9 @@ function Id(t, e, o, i, a, r) {
34507
34524
  ]))
34508
34525
  ], 4);
34509
34526
  }
34510
- const Rd = /* @__PURE__ */ Y(Cd, [["render", Id]]), Vd = {
34527
+ const Rd = /* @__PURE__ */ Y(Td, [["render", Id]]), Vd = {
34511
34528
  install(t) {
34512
- t.component("MapInitial", Rd), t.component("MapboxGL", Ld), t.component("TropicalGL", qa), t.component("LatLngGL", Xa), t.component("DateTimePicker", So), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", Ja);
34529
+ t.component("MapInitial", Rd), t.component("MapboxGL", Ld), t.component("TropicalGL", qa), t.component("LatLngGL", Xa), t.component("DateTimePicker", So), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", $a);
34513
34530
  }
34514
34531
  };
34515
34532
  export {
@@ -34522,7 +34539,7 @@ export {
34522
34539
  Pd as MapboxStyleHelper,
34523
34540
  Se as ParticleSchema,
34524
34541
  Do as PortDetail,
34525
- Ja as TimePlayer,
34542
+ $a as TimePlayer,
34526
34543
  qa as TropicalGL,
34527
34544
  Io as Viewport,
34528
34545
  Fe as WebGL,