@idmwx/idmui-gl4 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ var Ka = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var de = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as ze } from "vuetify";
6
- import { openBlock as y, createElementBlock as S, resolveComponent as w, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as We, vShow as Ue, mergeProps as B, normalizeStyle as ie } from "vue";
6
+ import { openBlock as y, createElementBlock as S, resolveComponent as w, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as Ue, vShow as We, mergeProps as B, normalizeStyle as ie } from "vue";
7
7
  import ve from "mapbox-gl";
8
8
  import M from "moment";
9
9
  import { LngLatHelper as X, TropicalHelper as Va, LaneHelper as Ge } from "@idm-plugin/geo";
10
- import { Meteo2Assist as ao, TidesAssist as Ya } from "@idm-plugin/meteo";
11
- import * as ro from "echarts";
10
+ import { Meteo2Assist as Co, TidesAssist as Ya } from "@idm-plugin/meteo";
11
+ import * as So from "echarts";
12
12
  import * as H from "@turf/turf";
13
- import { LayerHelper as io, CompanyHelper as Qa } from "@idm-plugin/tag2";
13
+ import { LayerHelper as To, CompanyHelper as Qa } from "@idm-plugin/tag2";
14
14
  import Ja from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ei } from "@idm-plugin/tag";
16
16
  const Y = (t, e) => {
@@ -1453,7 +1453,7 @@ const ui = {
1453
1453
  async fetchMeteoData() {
1454
1454
  var i, a;
1455
1455
  this.loading = !0, this.meteoData = [];
1456
- const { weatherModels: t, marineModels: e } = ao.autoPickMeteoModel(this.forecastModel);
1456
+ const { weatherModels: t, marineModels: e } = Co.autoPickMeteoModel(this.forecastModel);
1457
1457
  let o = {
1458
1458
  lat: (i = this.port) == null ? void 0 : i.lat,
1459
1459
  lng: (a = this.port) == null ? void 0 : a.lng,
@@ -1487,10 +1487,10 @@ const ui = {
1487
1487
  { label: "Swell", key: "weather.swell", unit: "m" },
1488
1488
  { label: "Current", key: "weather.current", unit: "kts" }
1489
1489
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1490
- var c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1490
+ var c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1491
1491
  let r = {};
1492
- const l = ((c = ao.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1493
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : U.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1492
+ const l = ((c = Co.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1493
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((W = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : W.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1494
1494
  });
1495
1495
  },
1496
1496
  handleTide() {
@@ -1534,8 +1534,8 @@ const ui = {
1534
1534
  }), this.initEchart();
1535
1535
  },
1536
1536
  initEchart() {
1537
- ro.dispose(this.$refs.tideEchart.style);
1538
- const t = ro.init(this.$refs.tideEchart), e = {
1537
+ So.dispose(this.$refs.tideEchart.style);
1538
+ const t = So.init(this.$refs.tideEchart), e = {
1539
1539
  animation: !1,
1540
1540
  tooltip: {
1541
1541
  trigger: "axis",
@@ -1647,10 +1647,10 @@ const ui = {
1647
1647
  }, Gi = {
1648
1648
  class: "px-1 text-left text-label font-weight-400",
1649
1649
  width: "120"
1650
- }, Wi = {
1650
+ }, Ui = {
1651
1651
  key: 0,
1652
1652
  class: ""
1653
- }, Ui = { class: "px-1 text-center" }, Vi = ["src"], Zi = { key: 1 }, Yi = { class: "px-1 text-center" }, qi = ["src"], Xi = { key: 1 }, $i = { class: "px-1 text-center" }, Ki = ["src"], Qi = { key: 1 }, Ji = { class: "px-1 text-center" }, er = ["src"], tr = { key: 1 }, or = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ar = { class: "w-100 d-flex justify-space-between align-center py-2" }, ir = { class: "d-flex justify-center align-center text-h6 ga-2" }, rr = {
1653
+ }, Wi = { class: "px-1 text-center" }, Vi = ["src"], Zi = { key: 1 }, Yi = { class: "px-1 text-center" }, qi = ["src"], Xi = { key: 1 }, $i = { class: "px-1 text-center" }, Ki = ["src"], Qi = { key: 1 }, Ji = { class: "px-1 text-center" }, er = ["src"], tr = { key: 1 }, or = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ar = { class: "w-100 d-flex justify-space-between align-center py-2" }, ir = { class: "d-flex justify-center align-center text-h6 ga-2" }, rr = {
1654
1654
  class: "multi-color-icon",
1655
1655
  "aria-hidden": "true"
1656
1656
  }, sr = ["xlink:href"], lr = { class: "text-body-2 ga-2" }, nr = {
@@ -1839,9 +1839,9 @@ function yr(t, e, o, i, a, r) {
1839
1839
  }, [
1840
1840
  s("th", Gi, [
1841
1841
  K(m(t.$t(`${g.key}`)) + " ", 1),
1842
- g.unit ? (y(), S("span", Wi, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1842
+ g.unit ? (y(), S("span", Ui, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1843
1843
  ]),
1844
- s("td", Ui, [
1844
+ s("td", Wi, [
1845
1845
  g.img ? (y(), S("img", {
1846
1846
  key: 0,
1847
1847
  src: g == null ? void 0 : g.value0,
@@ -1929,11 +1929,11 @@ function yr(t, e, o, i, a, r) {
1929
1929
  _: 1
1930
1930
  });
1931
1931
  }
1932
- const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
1932
+ const Mo = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
1933
1933
  const br = {
1934
1934
  name: "IdmPort",
1935
1935
  components: {
1936
- PortDetail: so
1936
+ PortDetail: Mo
1937
1937
  },
1938
1938
  props: {
1939
1939
  map: {
@@ -2040,7 +2040,7 @@ const br = {
2040
2040
  function _r(t, e, o, i, a, r) {
2041
2041
  const l = w("VCardText"), c = w("VCard"), n = w("PortDetail");
2042
2042
  return y(), S("div", null, [
2043
- We(p(c, {
2043
+ Ue(p(c, {
2044
2044
  id: "idmPortInfo",
2045
2045
  ref: "idmPortInfo"
2046
2046
  }, {
@@ -2063,7 +2063,7 @@ function _r(t, e, o, i, a, r) {
2063
2063
  ]),
2064
2064
  _: 1
2065
2065
  }, 512), [
2066
- [Ue, a.showInfo]
2066
+ [We, a.showInfo]
2067
2067
  ]),
2068
2068
  a.showDetail ? (y(), R(n, B({
2069
2069
  key: 0,
@@ -2632,10 +2632,10 @@ const Gr = {
2632
2632
  }
2633
2633
  }
2634
2634
  };
2635
- function Wr(t, e, o, i, a, r) {
2635
+ function Ur(t, e, o, i, a, r) {
2636
2636
  return null;
2637
2637
  }
2638
- const Ur = /* @__PURE__ */ Y(Gr, [["render", Wr]]), Vr = {
2638
+ const Wr = /* @__PURE__ */ Y(Gr, [["render", Ur]]), Vr = {
2639
2639
  name: "IdmChinaRoute",
2640
2640
  props: {
2641
2641
  map: {
@@ -2818,8 +2818,8 @@ const qr = {
2818
2818
  }), this.initEchart();
2819
2819
  },
2820
2820
  initEchart() {
2821
- ro.dispose(this.$refs.tideEchart);
2822
- const t = ro.init(this.$refs.tideEchart), e = {
2821
+ So.dispose(this.$refs.tideEchart);
2822
+ const t = So.init(this.$refs.tideEchart), e = {
2823
2823
  animation: !1,
2824
2824
  tooltip: {
2825
2825
  trigger: "axis",
@@ -3148,7 +3148,7 @@ const Ms = {
3148
3148
  function Os(t, e, o, i, a, r) {
3149
3149
  const l = w("v-card-text"), c = w("v-card"), n = w("TideDetail");
3150
3150
  return y(), S("div", null, [
3151
- We(p(c, { id: "idmTidalInfo" }, {
3151
+ Ue(p(c, { id: "idmTidalInfo" }, {
3152
3152
  default: f(() => [
3153
3153
  p(l, { class: "pr-8 text-body-1" }, {
3154
3154
  default: f(() => {
@@ -3167,7 +3167,7 @@ function Os(t, e, o, i, a, r) {
3167
3167
  ]),
3168
3168
  _: 1
3169
3169
  }, 512), [
3170
- [Ue, a.showInfo]
3170
+ [We, a.showInfo]
3171
3171
  ]),
3172
3172
  a.showDetail ? (y(), R(n, B({
3173
3173
  key: 0,
@@ -3400,7 +3400,7 @@ const qa = /* @__PURE__ */ Y(Fs, [["render", Hs]]);
3400
3400
  const Gs = {
3401
3401
  name: "IdmFollowPort",
3402
3402
  components: {
3403
- PortDetail: so
3403
+ PortDetail: Mo
3404
3404
  },
3405
3405
  props: {
3406
3406
  map: {
@@ -4306,20 +4306,20 @@ const Gs = {
4306
4306
  this.showDetail = !1;
4307
4307
  }
4308
4308
  }
4309
- }, Ws = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Us = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4309
+ }, Us = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ws = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4310
4310
  function Zs(t, e, o, i, a, r) {
4311
4311
  const l = w("v-card-text"), c = w("v-card"), n = w("PortDetail");
4312
4312
  return y(), S("div", null, [
4313
- We(p(c, {
4313
+ Ue(p(c, {
4314
4314
  id: "idmFollowPortInfo",
4315
4315
  ref: "idmFollowPortInfo"
4316
4316
  }, {
4317
4317
  default: f(() => [
4318
4318
  p(l, { class: "text-body-1 pr-8" }, {
4319
4319
  default: f(() => [
4320
- s("div", Ws, [
4320
+ s("div", Us, [
4321
4321
  s("div", null, m(t.$t("port.port")), 1),
4322
- s("div", Us, [
4322
+ s("div", Ws, [
4323
4323
  s("span", null, m(a.hoverPort.name ?? "-"), 1)
4324
4324
  ]),
4325
4325
  s("div", Vs, [
@@ -4333,7 +4333,7 @@ function Zs(t, e, o, i, a, r) {
4333
4333
  ]),
4334
4334
  _: 1
4335
4335
  }, 512), [
4336
- [Ue, a.showInfo]
4336
+ [We, a.showInfo]
4337
4337
  ]),
4338
4338
  a.showDetail ? (y(), R(n, B({
4339
4339
  key: 0,
@@ -4485,7 +4485,7 @@ const qs = {
4485
4485
  };
4486
4486
  function Qs(t, e, o, i, a, r) {
4487
4487
  const l = w("v-card-text"), c = w("v-card");
4488
- return We((y(), R(c, {
4488
+ return Ue((y(), R(c, {
4489
4489
  id: "idmFollowPositionInfo",
4490
4490
  ref: "idmFollowPositionInfo"
4491
4491
  }, {
@@ -4507,7 +4507,7 @@ function Qs(t, e, o, i, a, r) {
4507
4507
  ]),
4508
4508
  _: 1
4509
4509
  }, 512)), [
4510
- [Ue, a.showInfo]
4510
+ [We, a.showInfo]
4511
4511
  ]);
4512
4512
  }
4513
4513
  const Js = /* @__PURE__ */ Y(qs, [["render", Qs], ["__scopeId", "data-v-cd6c9f7e"]]);
@@ -4525,7 +4525,7 @@ const el = {
4525
4525
  IdmSpecialArea: Or,
4526
4526
  IdmTerminator: jr,
4527
4527
  IdmWorld12nm: Hr,
4528
- IdmWorldMarine: Ur,
4528
+ IdmWorldMarine: Wr,
4529
4529
  IdmChinaRoute: Yr,
4530
4530
  IdmTideStations: Bs,
4531
4531
  IdmIceAreas: Ns,
@@ -4581,7 +4581,7 @@ const el = {
4581
4581
  right: 10,
4582
4582
  toggle: !1,
4583
4583
  mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "light",
4584
- tagLayers: [...io.OTHER_LAYERS.filter((t) => t.enabled)],
4584
+ tagLayers: [...To.OTHER_LAYERS.filter((t) => t.enabled)],
4585
4585
  layerWeight: 0,
4586
4586
  otherLayers: {},
4587
4587
  activeOtherLayers: [],
@@ -4721,7 +4721,7 @@ const el = {
4721
4721
  }, dl = { class: "text-body-2 text-center pt-1" };
4722
4722
  function hl(t, e, o, i, a, r) {
4723
4723
  var $, ne, se, J, ae, he, ce, pe, ge;
4724
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), g = w("IdmTerminator"), P = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), L = w("IdmEcaZone"), k = w("IdmWarZone"), v = w("IdmGmdssArea"), C = w("IdmLoadLine"), _ = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), U = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
4724
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), g = w("IdmTerminator"), P = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), L = w("IdmEcaZone"), k = w("IdmWarZone"), v = w("IdmGmdssArea"), C = w("IdmLoadLine"), _ = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), W = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
4725
4725
  return y(), S("div", tl, [
4726
4726
  s("div", {
4727
4727
  class: "menu-bar-box transition px-1 rounded",
@@ -5046,7 +5046,7 @@ function hl(t, e, o, i, a, r) {
5046
5046
  token: o.token,
5047
5047
  show: a.checkList.includes("chinaRoute")
5048
5048
  }, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
5049
- o.map ? (y(), R(U, B({
5049
+ o.map ? (y(), R(W, B({
5050
5050
  key: 15,
5051
5051
  map: o.map,
5052
5052
  show: a.checkList.includes("ice-areas")
@@ -5072,7 +5072,7 @@ function hl(t, e, o, i, a, r) {
5072
5072
  ]);
5073
5073
  }
5074
5074
  const pl = /* @__PURE__ */ Y(el, [["render", hl]]);
5075
- class lo {
5075
+ class Io {
5076
5076
  constructor(e) {
5077
5077
  de(this, "map");
5078
5078
  de(this, "mercator");
@@ -5724,7 +5724,7 @@ const bl = {
5724
5724
  type: Object
5725
5725
  },
5726
5726
  viewport: {
5727
- type: lo
5727
+ type: Io
5728
5728
  },
5729
5729
  menuToggle: {
5730
5730
  type: Object
@@ -6065,7 +6065,7 @@ const Ll = {
6065
6065
  type: Object
6066
6066
  },
6067
6067
  viewport: {
6068
- type: lo
6068
+ type: Io
6069
6069
  },
6070
6070
  menuToggle: {
6071
6071
  type: Object
@@ -6814,8 +6814,8 @@ function Gl(t, e, o, i, a, r) {
6814
6814
  ], 4)
6815
6815
  ])) : D("", !0);
6816
6816
  }
6817
- const Wl = /* @__PURE__ */ Y(Fl, [["render", Gl]]);
6818
- const Ul = {
6817
+ const Ul = /* @__PURE__ */ Y(Fl, [["render", Gl]]);
6818
+ const Wl = {
6819
6819
  name: "IdmIceEdge",
6820
6820
  props: {
6821
6821
  factor: {
@@ -6936,7 +6936,7 @@ function Zl(t, e, o, i, a, r) {
6936
6936
  ]), 4)
6937
6937
  ])) : D("", !0);
6938
6938
  }
6939
- const Yl = /* @__PURE__ */ Y(Ul, [["render", Zl]]);
6939
+ const Yl = /* @__PURE__ */ Y(Wl, [["render", Zl]]);
6940
6940
  const ql = {
6941
6941
  name: "IdmCover",
6942
6942
  props: {
@@ -7620,7 +7620,7 @@ const wn = {
7620
7620
  IdmWave: Dl,
7621
7621
  IdmSigWaveHeight: Ol,
7622
7622
  IdmSwell: Nl,
7623
- IdmPrmsl: Wl,
7623
+ IdmPrmsl: Ul,
7624
7624
  IdmIceEdge: Yl,
7625
7625
  IdmIceCover: Kl,
7626
7626
  IdmIceThickness: tn,
@@ -7681,8 +7681,8 @@ const wn = {
7681
7681
  toggle: !1,
7682
7682
  autoActive: !0,
7683
7683
  weatherWeight: 0,
7684
- allLayers: [...io.WEATHER_LAYERS],
7685
- tagLayers: [...io.WEATHER_LAYERS.filter((t) => !t.hide)],
7684
+ allLayers: [...To.WEATHER_LAYERS],
7685
+ tagLayers: [...To.WEATHER_LAYERS.filter((t) => !t.hide)],
7686
7686
  checkList: [],
7687
7687
  renderKey: "",
7688
7688
  iceToggleValue: void 0,
@@ -7739,6 +7739,11 @@ const wn = {
7739
7739
  return "-";
7740
7740
  };
7741
7741
  },
7742
+ computeDateUpdate() {
7743
+ return function(t) {
7744
+ return t ? M(t).fromNow() : "-";
7745
+ };
7746
+ },
7742
7747
  overlaysKeys() {
7743
7748
  return this.tagLayers.filter((t) => t.overlays).map((t) => t.key);
7744
7749
  },
@@ -7774,7 +7779,7 @@ const wn = {
7774
7779
  },
7775
7780
  map: {
7776
7781
  handler() {
7777
- this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new lo(this.map), this.handleRampColorInitial());
7782
+ this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new Io(this.map), this.handleRampColorInitial());
7778
7783
  },
7779
7784
  immediate: !0
7780
7785
  },
@@ -7832,8 +7837,6 @@ const wn = {
7832
7837
  immediate: !0
7833
7838
  }
7834
7839
  },
7835
- mounted() {
7836
- },
7837
7840
  methods: {
7838
7841
  arraysEqual(t, e) {
7839
7842
  if ((t == null ? void 0 : t.length) !== (e == null ? void 0 : e.length))
@@ -7879,7 +7882,7 @@ const wn = {
7879
7882
  if (this.map) {
7880
7883
  const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), P = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
7881
7884
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
7882
- const T = io.WEATHER_LAYERS.find((O) => {
7885
+ const T = To.WEATHER_LAYERS.find((O) => {
7883
7886
  var I;
7884
7887
  return ((I = O.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
7885
7888
  });
@@ -7912,12 +7915,12 @@ const wn = {
7912
7915
  );
7913
7916
  const v = await Promise.all(k);
7914
7917
  this.weatherLayers = {}, v.map((C) => {
7915
- var N, V, Z, U;
7918
+ var N, V, Z, W;
7916
7919
  const _ = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
7917
7920
  let A = (Z = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : Z.key;
7918
7921
  A && _ && (this.weatherLayers[A] = {
7919
7922
  raw: _,
7920
- type: ((U = C == null ? void 0 : C.config) == null ? void 0 : U.responseType) === "blob" ? "image" : "json",
7923
+ type: ((W = C == null ? void 0 : C.config) == null ? void 0 : W.responseType) === "blob" ? "image" : "json",
7921
7924
  etime: I.data.etime
7922
7925
  });
7923
7926
  });
@@ -8008,7 +8011,7 @@ const wn = {
8008
8011
  if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8009
8012
  const C = L[v].lng;
8010
8013
  r > l ? C.forEach((_, A) => {
8011
- var N, V, Z, U, ee, Q;
8014
+ var N, V, Z, W, ee, Q;
8012
8015
  if (a < 2) {
8013
8016
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8014
8017
  const $ = H.point([_, v], {
@@ -8019,13 +8022,13 @@ const wn = {
8019
8022
  }
8020
8023
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8021
8024
  const $ = H.point([_, v], {
8022
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8025
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8023
8026
  spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8024
8027
  });
8025
8028
  I.push($);
8026
8029
  }
8027
8030
  }) : C.forEach((_, A) => {
8028
- var N, V, Z, U, ee, Q;
8031
+ var N, V, Z, W, ee, Q;
8029
8032
  if (r < 2) {
8030
8033
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8031
8034
  const $ = H.point([_, v], {
@@ -8036,7 +8039,7 @@ const wn = {
8036
8039
  }
8037
8040
  } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8038
8041
  const $ = H.point([_, v], {
8039
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8042
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8040
8043
  spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8041
8044
  });
8042
8045
  I.push($);
@@ -8072,7 +8075,7 @@ const wn = {
8072
8075
  if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8073
8076
  const C = L[v].lng;
8074
8077
  r > l ? C.forEach((_, A) => {
8075
- var N, V, Z, U, ee, Q;
8078
+ var N, V, Z, W, ee, Q;
8076
8079
  if (a < 2) {
8077
8080
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8078
8081
  const $ = H.point([_, v], {
@@ -8083,13 +8086,13 @@ const wn = {
8083
8086
  }
8084
8087
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8085
8088
  const $ = H.point([_, v], {
8086
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8089
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8087
8090
  spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8088
8091
  });
8089
8092
  I.push($);
8090
8093
  }
8091
8094
  }) : C.forEach((_, A) => {
8092
- var N, V, Z, U, ee, Q;
8095
+ var N, V, Z, W, ee, Q;
8093
8096
  if (r < 2) {
8094
8097
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8095
8098
  const $ = H.point([_, v], {
@@ -8100,7 +8103,7 @@ const wn = {
8100
8103
  }
8101
8104
  } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8102
8105
  const $ = H.point([_, v], {
8103
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8106
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8104
8107
  spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8105
8108
  });
8106
8109
  I.push($);
@@ -8136,35 +8139,35 @@ const wn = {
8136
8139
  var A, N, V, Z;
8137
8140
  if (a < 2) {
8138
8141
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8139
- const U = H.point([C, k], {
8142
+ const W = H.point([C, k], {
8140
8143
  dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8141
8144
  spd: L[k].spd[_]
8142
8145
  });
8143
- I.push(U);
8146
+ I.push(W);
8144
8147
  }
8145
8148
  } else if ((C >= r && C <= 180 || C >= -180 && C <= l) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8146
- const U = H.point([C, k], {
8149
+ const W = H.point([C, k], {
8147
8150
  dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8148
8151
  spd: L[k].spd[_]
8149
8152
  });
8150
- I.push(U);
8153
+ I.push(W);
8151
8154
  }
8152
8155
  }) : v.forEach((C, _) => {
8153
8156
  var A, N, V, Z;
8154
8157
  if (a < 2) {
8155
8158
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8156
- const U = H.point([C, k], {
8159
+ const W = H.point([C, k], {
8157
8160
  dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8158
8161
  spd: L[k].spd[_]
8159
8162
  });
8160
- I.push(U);
8163
+ I.push(W);
8161
8164
  }
8162
8165
  } else if (C >= r && C <= l && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8163
- const U = H.point([C, k], {
8166
+ const W = H.point([C, k], {
8164
8167
  dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8165
8168
  spd: L[k].spd[_]
8166
8169
  });
8167
- I.push(U);
8170
+ I.push(W);
8168
8171
  }
8169
8172
  });
8170
8173
  }
@@ -8279,10 +8282,10 @@ const wn = {
8279
8282
  }, Rn = {
8280
8283
  key: 1,
8281
8284
  class: "d-flex justify-start align-center ga-4 pl-6"
8282
- }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, Nn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" };
8283
- function Jn(t, e, o, i, a, r) {
8285
+ }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Un = { class: "text-body-2 text-label mb-3" }, Wn = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Zn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" }, Jn = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
8286
+ function ic(t, e, o, i, a, r) {
8284
8287
  var J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e;
8285
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), g = w("VCardTitle"), P = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), L = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), v = w("IdmCurrentDirection"), C = w("IdmPrmsl"), _ = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), U = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
8288
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), g = w("VCardTitle"), P = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), L = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), v = w("IdmCurrentDirection"), C = w("IdmPrmsl"), _ = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), W = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
8286
8289
  return y(), S("div", xn, [
8287
8290
  s("div", {
8288
8291
  class: "menu-bar-box transition pa-1",
@@ -8698,28 +8701,33 @@ function Jn(t, e, o, i, a, r) {
8698
8701
  }),
8699
8702
  p(h, { class: "" }, {
8700
8703
  default: f(() => {
8701
- var G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo;
8704
+ var G, te, He, Me, ue, fe, U, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
8702
8705
  return [
8703
8706
  s("div", On, m(t.$t("weather.atmospheric")), 1),
8704
- s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((fe = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8707
+ s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((fe = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8705
8708
  s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
8706
- s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ie = (ye = (j = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : j.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Ie.initialisationTime)), 1),
8707
- s("div", Nn, m((E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : E.source) + " " + m((Ze = (Ve = (q = a.models) == null ? void 0 : q.weather) == null ? void 0 : Ve.ECMWF) == null ? void 0 : Ze.spatialResolution) + m(t.$t("units.km")) + " " + m((Xe = (qe = (Te = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : qe.meta) == null ? void 0 : Xe.days) + m(t.$t("units.days")), 1),
8708
- s("div", Fn, m(t.$t("weather.source")) + ": ECMWF", 1),
8709
- s("div", Hn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Je = (Qe = (Ke = ($e = a.models) == null ? void 0 : $e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
8709
+ s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Ie = (ye = (j = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : j.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Ie.availabilityTime)), 1),
8710
+ s("div", Nn, m(t.$t("weather.initialTime")) + ": " + m(r.computeDateZ((q = (E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.NOAA) == null ? void 0 : E.meta) == null ? void 0 : q.initialisationTime)), 1),
8711
+ s("div", Fn, m((Ye = (Ze = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : Ye.source) + " " + m((Xe = (qe = (Te = a.models) == null ? void 0 : Te.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Xe.spatialResolution) + m(t.$t("units.km")) + " " + m((Je = (Qe = (Ke = ($e = a.models) == null ? void 0 : $e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.days) + m(t.$t("units.days")), 1),
8712
+ s("div", Hn, m(t.$t("weather.source")) + ": ECMWF", 1),
8713
+ s("div", Gn, m(t.$t("weather.lastUpdate")) + ": " + m(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),
8714
+ s("div", Un, m(t.$t("weather.initialTime")) + ": " + m(r.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
8710
8715
  p(b),
8711
- s("div", Gn, m(t.$t("weather.wave")), 1),
8712
- s("div", Wn, m((at = (ot = (tt = (et = a.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : ot.NOAA) == null ? void 0 : at.source) + " " + m((lt = (st = (rt = (it = a.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : st.NOAA) == null ? void 0 : lt.spatialResolution) + m(t.$t("units.km")) + " " + m((ht = (dt = (mt = (ct = (nt = a.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : ht.days) + m(t.$t("units.days")), 1),
8713
- s("div", Un, m(t.$t("weather.source")) + ": NOAA", 1),
8714
- s("div", Vn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((yt = (ft = (gt = (ut = (pt = a.models) == null ? void 0 : pt.marine) == null ? void 0 : ut.wave) == null ? void 0 : gt.NOAA) == null ? void 0 : ft.meta) == null ? void 0 : yt.initialisationTime)), 1),
8715
- s("div", Zn, m((vt = (xt = (wt = (bt = a.models) == null ? void 0 : bt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.source) + " " + m((Lt = (zt = (kt = (_t = a.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.spatialResolution) + m(t.$t("units.km")) + " " + m((Mt = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Mt.days) + m(t.$t("units.days")), 1),
8716
- s("div", Yn, m(t.$t("weather.source")) + ": ECMWF", 1),
8717
- s("div", qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ot = (Rt = (At = (Dt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
8716
+ s("div", Wn, m(t.$t("weather.wave")), 1),
8717
+ s("div", Vn, m((dt = (mt = (ct = (nt = a.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.source) + " " + m((gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.spatialResolution) + m(t.$t("units.km")) + " " + m((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) + m(t.$t("units.days")), 1),
8718
+ s("div", Zn, m(t.$t("weather.source")) + ": NOAA", 1),
8719
+ s("div", Yn, m(t.$t("weather.lastUpdate")) + ": " + m(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),
8720
+ s("div", qn, m(t.$t("weather.initialTime")) + ": " + m(r.computeDateZ((Mt = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
8721
+ s("div", Xn, m((Rt = (At = (Dt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.source) + " " + m((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.spatialResolution) + m(t.$t("units.km")) + " " + m((Ut = (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 : Ut.days) + m(t.$t("units.days")), 1),
8722
+ s("div", $n, m(t.$t("weather.source")) + ": ECMWF", 1),
8723
+ s("div", Kn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
8724
+ s("div", Qn, m(t.$t("weather.initialTime")) + ": " + m(r.computeDateZ((eo = (Jt = (Qt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Qt.ECMWF) == null ? void 0 : Jt.meta) == null ? void 0 : eo.initialisationTime)), 1),
8718
8725
  p(b),
8719
- s("div", Xn, m(t.$t("weather.currents")), 1),
8720
- s("div", $n, m((Nt = (jt = (Et = (Bt = a.models) == null ? void 0 : Bt.marine) == null ? void 0 : Et.current) == null ? void 0 : jt.ECMWF) == null ? void 0 : Nt.source) + " " + m((Wt = (Gt = (Ht = (Ft = a.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Gt.ECMWF) == null ? void 0 : Wt.spatialResolution) + m(t.$t("units.km")) + " " + m((qt = (Yt = (Zt = (Vt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.days) + m(t.$t("units.days")), 1),
8721
- s("div", Kn, m(t.$t("weather.source")) + ": ECMWF", 1),
8722
- s("div", Qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((eo = (Jt = (Qt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.current) == null ? void 0 : Qt.ECMWF) == null ? void 0 : Jt.meta) == null ? void 0 : eo.initialisationTime)), 1)
8726
+ s("div", Jn, m(t.$t("weather.currents")), 1),
8727
+ s("div", ec, m((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) + " " + m((no = (lo = (so = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : so.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + m(t.$t("units.km")) + " " + m((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) + m(t.$t("units.days")), 1),
8728
+ s("div", tc, m(t.$t("weather.source")) + ": ECMWF", 1),
8729
+ s("div", oc, m(t.$t("weather.lastUpdate")) + ": " + m(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),
8730
+ s("div", ac, m(t.$t("weather.initialTime")) + ": " + m(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)
8723
8731
  ];
8724
8732
  }),
8725
8733
  _: 1
@@ -8794,7 +8802,7 @@ function Jn(t, e, o, i, a, r) {
8794
8802
  factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-edge"],
8795
8803
  "menu-toggle": o.menuToggle
8796
8804
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8797
- o.map ? (y(), R(U, B({
8805
+ o.map ? (y(), R(W, B({
8798
8806
  key: 10,
8799
8807
  viewport: a.viewport,
8800
8808
  factor: (Le = a.weatherLayers) == null ? void 0 : Le["ice-cover"],
@@ -8832,7 +8840,7 @@ function Jn(t, e, o, i, a, r) {
8832
8840
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0)
8833
8841
  ]);
8834
8842
  }
8835
- const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
8843
+ const rc = /* @__PURE__ */ Y(wn, [["render", ic]]), Lo = [
8836
8844
  {
8837
8845
  rank: 0,
8838
8846
  name: "Best Match",
@@ -8991,7 +8999,7 @@ const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
8991
8999
  categories: "bom_access_global",
8992
9000
  variables: "temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,precipitation_probability,precipitation,rain,showers,snowfall_water_equivalent,snowfall,frozen_precipitation_percent,pressure_msl,cloud_cover,visibility,wind_speed_10m,wind_u_component_10m,wind_v_component_10m,wind_direction_10m,wind_gusts_10m,cape,lifted_index,weather_code"
8993
9001
  }
8994
- ], oo = [
9002
+ ], Po = [
8995
9003
  {
8996
9004
  rank: 0,
8997
9005
  name: "Best Match",
@@ -9112,10 +9120,10 @@ const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
9112
9120
  ];
9113
9121
  class Za {
9114
9122
  static standardWeatherModels() {
9115
- return to.filter((e) => !e.disabled && e.alias);
9123
+ return Lo.filter((e) => !e.disabled && e.alias);
9116
9124
  }
9117
9125
  static standardMarineModels() {
9118
- return oo.filter((e) => !e.disabled && e.alias);
9126
+ return Po.filter((e) => !e.disabled && e.alias);
9119
9127
  }
9120
9128
  /**
9121
9129
  * 可视化图层模式
@@ -9149,20 +9157,20 @@ class Za {
9149
9157
  e = e == null ? void 0 : e.toLowerCase(), e = e === "ec" ? "ecmwf" : e;
9150
9158
  const a = e.toLowerCase().split(","), r = [], l = [];
9151
9159
  for (const c of a) {
9152
- let n = to.find((h) => {
9160
+ let n = Lo.find((h) => {
9153
9161
  var b, x, z;
9154
9162
  return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9155
- }), u = oo.find((h) => {
9163
+ }), u = Po.find((h) => {
9156
9164
  var b, x, z;
9157
9165
  return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9158
9166
  });
9159
- n = n || to.find((h) => {
9167
+ n = n || Lo.find((h) => {
9160
9168
  var b, x;
9161
9169
  return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((x = u == null ? void 0 : u.alias) == null ? void 0 : x.toLowerCase());
9162
- }), u = u || oo.find((h) => {
9170
+ }), u = u || Po.find((h) => {
9163
9171
  var b, x;
9164
9172
  return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((x = n == null ? void 0 : n.alias) == null ? void 0 : x.toLowerCase());
9165
- }), n = n || to[0], u = u || oo[0], r.push((o = n.models) != null && o.includes(c) ? c : n.model), l.push((i = u.models) != null && i.includes(c) ? c : u.model);
9173
+ }), n = n || Lo[0], u = u || Po[0], r.push((o = n.models) != null && o.includes(c) ? c : n.model), l.push((i = u.models) != null && i.includes(c) ? c : u.model);
9166
9174
  }
9167
9175
  return {
9168
9176
  weatherModels: r.join(","),
@@ -9171,7 +9179,7 @@ class Za {
9171
9179
  }
9172
9180
  static autoPickSubCategories(e) {
9173
9181
  e = e.toUpperCase();
9174
- const o = to.filter((r) => r.alias === e), i = oo.filter((r) => r.alias === e), a = [];
9182
+ const o = Lo.filter((r) => r.alias === e), i = Po.filter((r) => r.alias === e), a = [];
9175
9183
  return o.forEach((r) => {
9176
9184
  r.categories && a.push(...r.categories.split(","));
9177
9185
  }), i.forEach((r) => {
@@ -9179,8 +9187,8 @@ class Za {
9179
9187
  }), a;
9180
9188
  }
9181
9189
  static pickHourly(e, o) {
9182
- var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9183
- const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9190
+ var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9191
+ const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9184
9192
  if (ue.isBetween(oe, re, "millisecond", "[]")) {
9185
9193
  const j = ue.utc().diff(oe, "h", !1);
9186
9194
  let ye, Ie;
@@ -9212,7 +9220,7 @@ class Za {
9212
9220
  kts: (A = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : A.at(j),
9213
9221
  degree: (N = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : N.at(j),
9214
9222
  bearing: ((V = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : V.at(j)) !== null ? (((Z = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : Z.at(j)) + 180) % 360 : null,
9215
- gusts: (U = q == null ? void 0 : q.wind_gusts_10m) == null ? void 0 : U.at(j)
9223
+ gusts: (W = q == null ? void 0 : q.wind_gusts_10m) == null ? void 0 : W.at(j)
9216
9224
  },
9217
9225
  isDay: (ee = q == null ? void 0 : q.is_day) == null ? void 0 : ee.at(j)
9218
9226
  };
@@ -9224,9 +9232,9 @@ class Za {
9224
9232
  });
9225
9233
  }
9226
9234
  }
9227
- if (W) {
9235
+ if (U) {
9228
9236
  let Be = 0;
9229
- for (const Ee of W) {
9237
+ for (const Ee of U) {
9230
9238
  const E = Ee == null ? void 0 : Ee.hourly;
9231
9239
  Ie = {
9232
9240
  wave: {
@@ -9288,49 +9296,49 @@ class Za {
9288
9296
  };
9289
9297
  }
9290
9298
  static pickDaily(e, o) {
9291
- var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9299
+ var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9292
9300
  const Re = typeof o == "string" ? M(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = M((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9293
9301
  if (Re.isBetween(te, He, "millisecond", "[]")) {
9294
9302
  let ue, fe;
9295
- const W = Re.diff(te, "d", !1);
9303
+ const U = Re.diff(te, "d", !1);
9296
9304
  if (_e)
9297
9305
  for (const Ce of _e) {
9298
9306
  const oe = Ce.daily;
9299
9307
  ue = {
9300
- code: (u = oe.weather_code) == null ? void 0 : u.at(W),
9308
+ code: (u = oe.weather_code) == null ? void 0 : u.at(U),
9301
9309
  temp: {
9302
- max: (h = oe.temperature_2m_max) == null ? void 0 : h.at(W),
9303
- min: (b = oe.temperature_2m_min) == null ? void 0 : b.at(W),
9304
- mean: (x = oe.temperature_2m_mean) == null ? void 0 : x.at(W)
9310
+ max: (h = oe.temperature_2m_max) == null ? void 0 : h.at(U),
9311
+ min: (b = oe.temperature_2m_min) == null ? void 0 : b.at(U),
9312
+ mean: (x = oe.temperature_2m_mean) == null ? void 0 : x.at(U)
9305
9313
  },
9306
9314
  apparentTemp: {
9307
- max: (z = oe.apparent_temperature_max) == null ? void 0 : z.at(W),
9308
- min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(W)
9315
+ max: (z = oe.apparent_temperature_max) == null ? void 0 : z.at(U),
9316
+ min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(U)
9309
9317
  },
9310
9318
  precip: {
9311
- sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(W),
9312
- rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(W),
9313
- snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(W),
9314
- showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(W),
9315
- hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(W),
9316
- probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(W)
9319
+ sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(U),
9320
+ rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(U),
9321
+ snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(U),
9322
+ showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(U),
9323
+ hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(U),
9324
+ probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(U)
9317
9325
  },
9318
9326
  rh: {
9319
- max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(W),
9320
- min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(W),
9321
- mean: (_ = oe.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
9327
+ max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(U),
9328
+ min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(U),
9329
+ mean: (_ = oe.relative_humidity_2m_mean) == null ? void 0 : _.at(U)
9322
9330
  },
9323
9331
  wind: {
9324
- speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(W),
9325
- kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(W),
9326
- degree: (V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
9327
- gusts: (Z = oe.wind_gusts_10m_max) == null ? void 0 : Z.at(W),
9328
- bearing: ((U = oe.wind_direction_10m_dominant) == null ? void 0 : U.at(W)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(W)) + 180) % 360 : null
9332
+ speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(U),
9333
+ kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(U),
9334
+ degree: (V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(U),
9335
+ gusts: (Z = oe.wind_gusts_10m_max) == null ? void 0 : Z.at(U),
9336
+ bearing: ((W = oe.wind_direction_10m_dominant) == null ? void 0 : W.at(U)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(U)) + 180) % 360 : null
9329
9337
  }
9330
9338
  };
9331
9339
  const { name: re, url: Oe, bg: j } = this.parseWeatherCode(ue.code, !0);
9332
9340
  ue.name = re, ue.url = Oe, ue.bg = j, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Me.push({
9333
- utc: te.add(W, "d").utc().format(),
9341
+ utc: te.add(U, "d").utc().format(),
9334
9342
  model: Ce.model,
9335
9343
  weather: { ...ue }
9336
9344
  });
@@ -9342,25 +9350,25 @@ class Za {
9342
9350
  fe = {
9343
9351
  wave: {
9344
9352
  sig: {
9345
- height: (Q = re.wave_height_max) == null ? void 0 : Q.at(W),
9346
- degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(W),
9347
- period: (ne = re.wave_period_max) == null ? void 0 : ne.at(W),
9348
- bearing: ((se = re.wave_direction_dominant) == null ? void 0 : se.at(W)) !== null ? (((J = re.wave_direction_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
9353
+ height: (Q = re.wave_height_max) == null ? void 0 : Q.at(U),
9354
+ degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(U),
9355
+ period: (ne = re.wave_period_max) == null ? void 0 : ne.at(U),
9356
+ bearing: ((se = re.wave_direction_dominant) == null ? void 0 : se.at(U)) !== null ? (((J = re.wave_direction_dominant) == null ? void 0 : J.at(U)) + 180) % 360 : null
9349
9357
  },
9350
9358
  swell: {
9351
- height: (ae = re.swell_wave_height_max) == null ? void 0 : ae.at(W),
9352
- degree: (he = re.swell_wave_direction_dominant) == null ? void 0 : he.at(W),
9353
- period: (ce = re.swell_wave_period_max) == null ? void 0 : ce.at(W),
9354
- peakPeriod: (pe = re.swell_wave_peak_period_max) == null ? void 0 : pe.at(W),
9359
+ height: (ae = re.swell_wave_height_max) == null ? void 0 : ae.at(U),
9360
+ degree: (he = re.swell_wave_direction_dominant) == null ? void 0 : he.at(U),
9361
+ period: (ce = re.swell_wave_period_max) == null ? void 0 : ce.at(U),
9362
+ peakPeriod: (pe = re.swell_wave_peak_period_max) == null ? void 0 : pe.at(U),
9355
9363
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
9356
- bearing: ((ge = re.swell_wave_direction_dominant) == null ? void 0 : ge.at(W)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
9364
+ bearing: ((ge = re.swell_wave_direction_dominant) == null ? void 0 : ge.at(U)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
9357
9365
  },
9358
9366
  wd: {
9359
- height: (me = re.wind_wave_height_max) == null ? void 0 : me.at(W),
9360
- degree: (xe = re.wind_wave_direction_dominant) == null ? void 0 : xe.at(W),
9361
- period: (Le = re.wind_wave_period_max) == null ? void 0 : Le.at(W),
9362
- peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(W),
9363
- bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(W)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(W)) + 180) % 360 : null
9367
+ height: (me = re.wind_wave_height_max) == null ? void 0 : me.at(U),
9368
+ degree: (xe = re.wind_wave_direction_dominant) == null ? void 0 : xe.at(U),
9369
+ period: (Le = re.wind_wave_period_max) == null ? void 0 : Le.at(U),
9370
+ peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(U),
9371
+ bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) + 180) % 360 : null
9364
9372
  }
9365
9373
  }
9366
9374
  }, fe.wave = this.parseWave(fe.wave, ue == null ? void 0 : ue.wind), Object.assign(Me[Ce], fe), Ce++;
@@ -9768,7 +9776,7 @@ class Za {
9768
9776
  return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
9769
9777
  }
9770
9778
  }
9771
- const tc = {
9779
+ const sc = {
9772
9780
  name: "IdmTropicals",
9773
9781
  props: {
9774
9782
  permission: {
@@ -9959,7 +9967,7 @@ const tc = {
9959
9967
  async fetchTropicals() {
9960
9968
  var a, r, l;
9961
9969
  const t = (/* @__PURE__ */ new Date()).valueOf();
9962
- let e = 0, o = 0, i = (a = io.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : a.weight;
9970
+ let e = 0, o = 0, i = (a = To.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : a.weight;
9963
9971
  if (i > 0) {
9964
9972
  const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await Se.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
9965
9973
  headers: {
@@ -10258,7 +10266,7 @@ const tc = {
10258
10266
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
10259
10267
  },
10260
10268
  handleDateChange() {
10261
- var t, e, o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee;
10269
+ var t, e, o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee;
10262
10270
  if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10263
10271
  const Q = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((J) => J.properties.date === (Q == null ? void 0 : Q.format()) && !J.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
10264
10272
  ne.forEach((J) => {
@@ -10301,7 +10309,7 @@ const tc = {
10301
10309
  this.interpolateMarkers.push(pe);
10302
10310
  }
10303
10311
  } else
10304
- (U = this.map) != null && U.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
10312
+ (W = this.map) != null && W.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
10305
10313
  },
10306
10314
  handleClick(t) {
10307
10315
  var a, r, l, c, n, u, h, b, x;
@@ -10432,47 +10440,47 @@ const tc = {
10432
10440
  this.map.getCanvas().style.cursor = "grab", this.showHoverPoint = !1, (t = this.hoverMarker) == null || t.remove(), this.hoverMarker = void 0;
10433
10441
  }
10434
10442
  }
10435
- }, oc = { class: "idm-tropical-gl4" }, ac = {
10443
+ }, lc = { class: "idm-tropical-gl4" }, nc = {
10436
10444
  key: 0,
10437
10445
  id: "idm-tropical-gl4-info",
10438
10446
  class: "idm-tropical-gl4-info"
10439
- }, ic = { class: "pb-1" }, rc = { class: "text-h5 font-weight-600" }, sc = {
10447
+ }, cc = { class: "pb-1" }, mc = { class: "text-h5 font-weight-600" }, dc = {
10440
10448
  key: 0,
10441
10449
  class: "text-body-1 text-label"
10442
- }, lc = { class: "text-body-2" }, nc = { class: "text-label" }, cc = { class: "d-flex justify-space-between align-center" }, mc = { class: "w-60" }, dc = { class: "text-label pr-1" }, hc = { class: "flex-1-1-0" }, pc = { class: "text-label pr-1" }, uc = { class: "py-2 d-flex justify-space-between align-center" }, gc = { class: "w-60" }, fc = { class: "text-label pr-1" }, yc = { class: "flex-1-1-0" }, bc = { class: "text-label pr-1" }, wc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, xc = {
10450
+ }, hc = { class: "text-body-2" }, pc = { class: "text-label" }, uc = { class: "d-flex justify-space-between align-center" }, gc = { class: "w-60" }, fc = { class: "text-label pr-1" }, yc = { class: "flex-1-1-0" }, bc = { class: "text-label pr-1" }, wc = { class: "py-2 d-flex justify-space-between align-center" }, xc = { class: "w-60" }, vc = { class: "text-label pr-1" }, _c = { class: "flex-1-1-0" }, kc = { class: "text-label pr-1" }, zc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Lc = {
10443
10451
  class: "text-label pr-1",
10444
10452
  style: { width: "130px" }
10445
- }, vc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, _c = { class: "more" }, kc = {
10453
+ }, Pc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Cc = { class: "more" }, Tc = {
10446
10454
  class: "my-3",
10447
10455
  style: { height: "80px", width: "100%" }
10448
- }, zc = { class: "pa-1 d-flex justify-space-between align-center" }, Lc = { class: "pa-1 d-flex justify-space-between align-center" }, Pc = { class: "d-flex justify-star align-center" }, Cc = { class: "font-weight-600 mr-1" }, Tc = { class: "" }, Sc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Mc = {
10456
+ }, Sc = { class: "pa-1 d-flex justify-space-between align-center" }, Mc = { class: "pa-1 d-flex justify-space-between align-center" }, Ic = { class: "d-flex justify-star align-center" }, Dc = { class: "font-weight-600 mr-1" }, Ac = { class: "" }, Rc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Oc = {
10449
10457
  key: 0,
10450
10458
  class: "d-flex justify-start align-center"
10451
- }, Ic = { class: "text-label pr-1" }, Dc = {
10459
+ }, Bc = { class: "text-label pr-1" }, Ec = {
10452
10460
  key: 1,
10453
10461
  class: "d-flex justify-start align-center"
10454
- }, Ac = { class: "text-label pr-1" }, Rc = {
10462
+ }, jc = { class: "text-label pr-1" }, Nc = {
10455
10463
  key: 2,
10456
10464
  class: "d-flex justify-start align-center"
10457
- }, Oc = { class: "text-label pr-1" }, Bc = {
10465
+ }, Fc = { class: "text-label pr-1" }, Hc = {
10458
10466
  key: 3,
10459
10467
  class: "d-flex justify-start align-center"
10460
- }, Ec = { class: "text-label pr-1" }, jc = {
10468
+ }, Gc = { class: "text-label pr-1" }, Uc = {
10461
10469
  key: 4,
10462
10470
  class: "d-flex justify-start align-center"
10463
- }, Nc = { class: "text-label pr-1" }, Fc = {
10471
+ }, Wc = { class: "text-label pr-1" }, Vc = {
10464
10472
  key: 5,
10465
10473
  class: "d-flex justify-start align-center"
10466
- }, Hc = { class: "text-label pr-1" }, Gc = { class: "d-flex justify-start align-center" }, Wc = { class: "text-label pr-1" }, Uc = {
10474
+ }, Zc = { class: "text-label pr-1" }, Yc = { class: "d-flex justify-start align-center" }, qc = { class: "text-label pr-1" }, Xc = {
10467
10475
  key: 6,
10468
10476
  class: "d-flex justify-start align-center"
10469
- }, Vc = { class: "text-label pr-1" }, Zc = {
10477
+ }, $c = { class: "text-label pr-1" }, Kc = {
10470
10478
  key: 7,
10471
10479
  class: "d-flex justify-start align-center"
10472
- }, Yc = { class: "text-label pr-1" }, qc = { class: "d-flex justify-start align-center" }, Xc = { class: "text-label pr-1" };
10473
- function $c(t, e, o, i, a, r) {
10480
+ }, Qc = { class: "text-label pr-1" }, Jc = { class: "d-flex justify-start align-center" }, em = { class: "text-label pr-1" };
10481
+ function tm(t, e, o, i, a, r) {
10474
10482
  const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), z = w("v-divider");
10475
- return y(), S("div", oc, [
10483
+ return y(), S("div", lc, [
10476
10484
  s("div", {
10477
10485
  class: "menu-bar-box transition pa-1",
10478
10486
  style: ie({ top: o.top + 134 + "px", right: a.right + "px" })
@@ -10499,7 +10507,7 @@ function $c(t, e, o, i, a, r) {
10499
10507
  _: 1
10500
10508
  }, 8, ["text"])
10501
10509
  ], 4),
10502
- a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), S("div", ac, [
10510
+ a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), S("div", nc, [
10503
10511
  p(b, {
10504
10512
  "min-width": "400",
10505
10513
  elevation: "16",
@@ -10510,9 +10518,9 @@ function $c(t, e, o, i, a, r) {
10510
10518
  default: f(() => {
10511
10519
  var g, P, T, O, I, L, k, v, C, _, A;
10512
10520
  return [
10513
- s("div", ic, [
10514
- s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10515
- (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10521
+ s("div", cc, [
10522
+ s("span", mc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10523
+ (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", dc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10516
10524
  ]),
10517
10525
  p(l, {
10518
10526
  icon: "",
@@ -10527,8 +10535,8 @@ function $c(t, e, o, i, a, r) {
10527
10535
  _: 1,
10528
10536
  __: [4]
10529
10537
  }, 8, ["onClick"]),
10530
- s("div", lc, [
10531
- s("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
10538
+ s("div", hc, [
10539
+ s("span", pc, m(t.$t("actions.lastUpdate")) + ": ", 1),
10532
10540
  s("span", null, m(r.computeTime(((v = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.updated) || ((A = (_ = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : _.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
10533
10541
  ])
10534
10542
  ];
@@ -10540,30 +10548,30 @@ function $c(t, e, o, i, a, r) {
10540
10548
  default: f(() => {
10541
10549
  var g, P, T, O, I, L, k, v, C;
10542
10550
  return [
10543
- s("div", cc, [
10544
- s("div", mc, [
10545
- s("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
10551
+ s("div", uc, [
10552
+ s("div", gc, [
10553
+ s("label", fc, m(t.$t("weather.windSpeed")) + " : ", 1),
10546
10554
  s("span", null, m(((P = (g = a.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
10547
10555
  s("span", null, ", BF " + m(r.computeBF(((O = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
10548
10556
  ]),
10549
- s("div", hc, [
10550
- s("label", pc, m(t.$t("weather.pressure")) + " : ", 1),
10557
+ s("div", yc, [
10558
+ s("label", bc, m(t.$t("weather.pressure")) + " : ", 1),
10551
10559
  s("span", null, m(((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.pressure) || "-") + " hPa", 1)
10552
10560
  ])
10553
10561
  ]),
10554
- s("div", uc, [
10555
- s("div", gc, [
10556
- s("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10562
+ s("div", wc, [
10563
+ s("div", xc, [
10564
+ s("label", vc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10557
10565
  s("span", null, m(((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
10558
10566
  ]),
10559
- s("div", yc, [
10560
- s("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
10567
+ s("div", _c, [
10568
+ s("label", kc, m(t.$t("tropical.moveDir")) + " : ", 1),
10561
10569
  s("span", null, m(((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) || "-") + "°", 1)
10562
10570
  ])
10563
10571
  ]),
10564
- s("div", wc, [
10565
- s("label", xc, m(t.$t("weather.forecastModels")) + " : ", 1),
10566
- s("div", vc, [
10572
+ s("div", zc, [
10573
+ s("label", Lc, m(t.$t("weather.forecastModels")) + " : ", 1),
10574
+ s("div", Pc, [
10567
10575
  (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
10568
10576
  key: A,
10569
10577
  density: "compact",
@@ -10603,7 +10611,7 @@ function $c(t, e, o, i, a, r) {
10603
10611
  ]),
10604
10612
  _: 1
10605
10613
  }, 8, ["color"]),
10606
- s("div", _c, [
10614
+ s("div", Cc, [
10607
10615
  o.permission & a.helper.LEVEL.Supper ? (y(), R(l, {
10608
10616
  key: 0,
10609
10617
  variant: "text",
@@ -10635,12 +10643,12 @@ function $c(t, e, o, i, a, r) {
10635
10643
  ]),
10636
10644
  _: 1
10637
10645
  }),
10638
- s("div", kc, [
10639
- We(p(b, { elevation: "16" }, {
10646
+ s("div", Tc, [
10647
+ Ue(p(b, { elevation: "16" }, {
10640
10648
  default: f(() => [
10641
10649
  p(n, null, {
10642
10650
  default: f(() => [
10643
- We(s("div", zc, e[6] || (e[6] = [
10651
+ Ue(s("div", Sc, e[6] || (e[6] = [
10644
10652
  s("div", { class: "legend d-flex justify-start align-center" }, [
10645
10653
  s("div", { class: "icon td" }),
10646
10654
  s("div", { class: "label" }, "TD")
@@ -10666,9 +10674,9 @@ function $c(t, e, o, i, a, r) {
10666
10674
  s("div", { class: "label" }, "Super TY")
10667
10675
  ], -1)
10668
10676
  ]), 512), [
10669
- [Ue, a.showLegend]
10677
+ [We, a.showLegend]
10670
10678
  ]),
10671
- We(s("div", Lc, e[7] || (e[7] = [
10679
+ Ue(s("div", Mc, e[7] || (e[7] = [
10672
10680
  s("div", { class: "legend d-flex justify-start align-center" }, [
10673
10681
  s("div", { class: "icon history" }),
10674
10682
  s("div", { class: "label" }, "History")
@@ -10686,7 +10694,7 @@ function $c(t, e, o, i, a, r) {
10686
10694
  s("div", { class: "label" }, "50kts Radii")
10687
10695
  ], -1)
10688
10696
  ]), 512), [
10689
- [Ue, a.showLegend]
10697
+ [We, a.showLegend]
10690
10698
  ])
10691
10699
  ]),
10692
10700
  _: 1
@@ -10694,11 +10702,11 @@ function $c(t, e, o, i, a, r) {
10694
10702
  ]),
10695
10703
  _: 1
10696
10704
  }, 512), [
10697
- [Ue, a.showLegend]
10705
+ [We, a.showLegend]
10698
10706
  ])
10699
10707
  ])
10700
10708
  ])) : D("", !0),
10701
- We(p(b, {
10709
+ Ue(p(b, {
10702
10710
  id: "tropicalHoverMarkerInfo",
10703
10711
  elevation: "16",
10704
10712
  "max-width": "280"
@@ -10708,9 +10716,9 @@ function $c(t, e, o, i, a, r) {
10708
10716
  default: f(() => {
10709
10717
  var g, P, T;
10710
10718
  return [
10711
- s("div", Pc, [
10712
- s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
10713
- s("span", Tc, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
10719
+ s("div", Ic, [
10720
+ s("span", Dc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
10721
+ s("span", Ac, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
10714
10722
  ])
10715
10723
  ];
10716
10724
  }),
@@ -10719,47 +10727,47 @@ function $c(t, e, o, i, a, r) {
10719
10727
  p(z),
10720
10728
  p(n, { class: "text-body-1" }, {
10721
10729
  default: f(() => {
10722
- var g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se;
10730
+ var g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se;
10723
10731
  return [
10724
- s("div", Sc, [
10725
- ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Mc, [
10726
- s("label", Ic, m(t.$t("tropical.updated")) + " : ", 1),
10732
+ s("div", Rc, [
10733
+ ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Oc, [
10734
+ s("label", Bc, m(t.$t("tropical.updated")) + " : ", 1),
10727
10735
  s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
10728
10736
  ])) : D("", !0),
10729
- ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Dc, [
10730
- s("label", Ac, m(t.$t("tropical.forecast")) + " : ", 1),
10737
+ ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Ec, [
10738
+ s("label", jc, m(t.$t("tropical.forecast")) + " : ", 1),
10731
10739
  s("span", null, m(r.computeTzTime((O = a.hoverPoint) == null ? void 0 : O.date, o.timeZone)), 1)
10732
10740
  ])) : D("", !0),
10733
- ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Rc, [
10734
- s("label", Oc, m(t.$t("tropical.forecast")) + " : ", 1),
10741
+ ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Nc, [
10742
+ s("label", Fc, m(t.$t("tropical.forecast")) + " : ", 1),
10735
10743
  s("span", null, m(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
10736
10744
  ])) : D("", !0),
10737
- ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (y(), S("div", Bc, [
10738
- s("label", Ec, m(t.$t("tropical.model")) + " : ", 1),
10745
+ ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (y(), S("div", Hc, [
10746
+ s("label", Gc, m(t.$t("tropical.model")) + " : ", 1),
10739
10747
  s("span", null, m(((v = a.hoverPoint) == null ? void 0 : v.model) ?? "-"), 1)
10740
10748
  ])) : D("", !0),
10741
- ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", jc, [
10742
- s("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
10749
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", Uc, [
10750
+ s("label", Wc, m(t.$t("weather.wind")) + " : ", 1),
10743
10751
  s("span", null, m(((A = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10744
10752
  ])) : D("", !0),
10745
- ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Fc, [
10746
- s("label", Hc, m(t.$t("weather.wind")) + " : ", 1),
10753
+ ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Vc, [
10754
+ s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
10747
10755
  s("span", null, m(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
10748
10756
  ])) : D("", !0),
10749
- s("div", Gc, [
10750
- s("label", Wc, m(t.$t("weather.pressure")) + " : ", 1),
10751
- s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " kPa", 1)
10757
+ s("div", Yc, [
10758
+ s("label", qc, m(t.$t("weather.pressure")) + " : ", 1),
10759
+ s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
10752
10760
  ]),
10753
- ((U = a.hoverPoint) == null ? void 0 : U.type) === "history" ? (y(), S("div", Uc, [
10754
- s("label", Vc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10761
+ ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (y(), S("div", Xc, [
10762
+ s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10755
10763
  s("span", null, m(((Q = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
10756
10764
  ])) : D("", !0),
10757
- (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), S("div", Zc, [
10758
- s("label", Yc, m(t.$t("tropical.moveDir")) + " : ", 1),
10765
+ (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), S("div", Kc, [
10766
+ s("label", Qc, m(t.$t("tropical.moveDir")) + " : ", 1),
10759
10767
  s("span", null, m(((se = JSON.parse((ne = a.hoverPoint) == null ? void 0 : ne.movement)) == null ? void 0 : se.deg) ?? "-") + " °", 1)
10760
10768
  ])) : D("", !0),
10761
- s("div", qc, [
10762
- s("label", Xc, m(t.$t("tropical.position")) + " : ", 1),
10769
+ s("div", Jc, [
10770
+ s("label", em, m(t.$t("tropical.position")) + " : ", 1),
10763
10771
  s("span", null, m(r.computePosition(a.hoverPoint)), 1)
10764
10772
  ])
10765
10773
  ])
@@ -10770,12 +10778,12 @@ function $c(t, e, o, i, a, r) {
10770
10778
  ]),
10771
10779
  _: 1
10772
10780
  }, 512), [
10773
- [Ue, a.showHoverPoint]
10781
+ [We, a.showHoverPoint]
10774
10782
  ])
10775
10783
  ]);
10776
10784
  }
10777
- const Xa = /* @__PURE__ */ Y(tc, [["render", $c]]);
10778
- const Kc = {
10785
+ const Xa = /* @__PURE__ */ Y(sc, [["render", tm]]);
10786
+ const om = {
10779
10787
  name: "DateTimePicker",
10780
10788
  props: {
10781
10789
  width: {
@@ -10929,22 +10937,22 @@ const Kc = {
10929
10937
  e && !e.contains(t.target) && (this.showDatePicker = !1);
10930
10938
  }
10931
10939
  }
10932
- }, Qc = {
10940
+ }, am = {
10933
10941
  class: "idm-gl4-time-picker",
10934
10942
  ref: "idmGl4Timepicker"
10935
- }, Jc = {
10943
+ }, im = {
10936
10944
  class: "pa-0",
10937
10945
  style: { width: "250px" }
10938
- }, em = {
10946
+ }, rm = {
10939
10947
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
10940
10948
  style: { width: "100px" }
10941
- }, tm = {
10949
+ }, sm = {
10942
10950
  class: "d-flex justify-center align-center text-body-2",
10943
10951
  style: { height: "56px" }
10944
10952
  };
10945
- function om(t, e, o, i, a, r) {
10953
+ function lm(t, e, o, i, a, r) {
10946
10954
  const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), z = w("VCardActions"), g = w("VCard");
10947
- return y(), S("div", Qc, [
10955
+ return y(), S("div", am, [
10948
10956
  p(l, {
10949
10957
  text: "",
10950
10958
  height: o.height,
@@ -10964,7 +10972,7 @@ function om(t, e, o, i, a, r) {
10964
10972
  default: f(() => [
10965
10973
  p(x, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
10966
10974
  default: f(() => [
10967
- s("div", Jc, [
10975
+ s("div", im, [
10968
10976
  p(c, {
10969
10977
  modelValue: a.currentDate,
10970
10978
  "onUpdate:modelValue": e[0] || (e[0] = (P) => a.currentDate = P),
@@ -10983,8 +10991,8 @@ function om(t, e, o, i, a, r) {
10983
10991
  class: "h-100",
10984
10992
  vertical: ""
10985
10993
  }),
10986
- s("div", em, [
10987
- s("div", tm, m(a.currentTime), 1),
10994
+ s("div", rm, [
10995
+ s("div", sm, m(a.currentTime), 1),
10988
10996
  p(b, { class: "pa-0 flex-1-1-0" }, {
10989
10997
  default: f(() => [
10990
10998
  (y(!0), S(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
@@ -11055,11 +11063,11 @@ function om(t, e, o, i, a, r) {
11055
11063
  }, 8, ["class"])) : D("", !0)
11056
11064
  ], 512);
11057
11065
  }
11058
- const no = /* @__PURE__ */ Y(Kc, [["render", om]]);
11059
- const am = {
11066
+ const Do = /* @__PURE__ */ Y(om, [["render", lm]]);
11067
+ const nm = {
11060
11068
  name: "IdmPoint",
11061
11069
  components: {
11062
- DateTimePicker: no
11070
+ DateTimePicker: Do
11063
11071
  // DateRangePicker
11064
11072
  },
11065
11073
  props: {
@@ -11258,7 +11266,7 @@ const am = {
11258
11266
  },
11259
11267
  async fetchMeteoData(t) {
11260
11268
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
11261
- const { weatherModels: e, marineModels: o } = ao.autoPickMeteoModel(t.forecastModel);
11269
+ const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel);
11262
11270
  let i = {
11263
11271
  lat: t.lat,
11264
11272
  lng: t.lng,
@@ -11279,7 +11287,7 @@ const am = {
11279
11287
  },
11280
11288
  async fetchHistoryData(t) {
11281
11289
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
11282
- const { weatherModels: e, marineModels: o } = ao.autoPickMeteoModel(t.forecastModel), i = {
11290
+ const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel), i = {
11283
11291
  lat: t.lat,
11284
11292
  lng: t.lng,
11285
11293
  datetime: M(t.dateTime).utc().format(),
@@ -11295,10 +11303,10 @@ const am = {
11295
11303
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
11296
11304
  },
11297
11305
  initTableData(t) {
11298
- var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
11306
+ var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
11299
11307
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
11300
- const e = ((l = ao.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11301
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : U.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11308
+ const e = ((l = Co.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11309
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((W = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11302
11310
  },
11303
11311
  handleBind() {
11304
11312
  var t, e;
@@ -11350,65 +11358,65 @@ const am = {
11350
11358
  this.$emit("cancelFollow", t);
11351
11359
  }
11352
11360
  }
11353
- }, im = { class: "idm-gl4-spot" }, rm = { class: "d-flex justify-start align-center" }, sm = { class: "text-h6 font-weight-600 mx-2" }, lm = { class: "d-flex justify-start align-center ga-1 mb-1" }, nm = {
11361
+ }, cm = { class: "idm-gl4-spot" }, mm = { class: "d-flex justify-start align-center" }, dm = { class: "text-h6 font-weight-600 mx-2" }, hm = { class: "d-flex justify-start align-center ga-1 mb-1" }, pm = {
11354
11362
  class: "multi-color-icon",
11355
11363
  "aria-hidden": "true"
11356
- }, cm = ["xlink:href"], mm = { class: "d-flex justify-start align-center ga-1 mb-1" }, dm = {
11364
+ }, um = ["xlink:href"], gm = { class: "d-flex justify-start align-center ga-1 mb-1" }, fm = {
11357
11365
  class: "multi-color-icon",
11358
11366
  "aria-hidden": "true"
11359
- }, hm = ["xlink:href"], pm = { class: "d-flex justify-start align-center ga-1 mb-1" }, um = {
11367
+ }, ym = ["xlink:href"], bm = { class: "d-flex justify-start align-center ga-1 mb-1" }, wm = {
11360
11368
  class: "multi-color-icon",
11361
11369
  "aria-hidden": "true"
11362
- }, gm = ["xlink:href"], fm = { class: "d-flex justify-start align-center ga-1 mb-1" }, ym = {
11370
+ }, xm = ["xlink:href"], vm = { class: "d-flex justify-start align-center ga-1 mb-1" }, _m = {
11363
11371
  class: "multi-color-icon",
11364
11372
  "aria-hidden": "true"
11365
- }, bm = ["xlink:href"], wm = { class: "d-flex justify-start align-center" }, xm = { class: "mx-2" }, vm = { class: "mx-0 py-2 d-flex align-center justify-start" }, _m = {
11373
+ }, km = ["xlink:href"], zm = { class: "d-flex justify-start align-center" }, Lm = { class: "mx-2" }, Pm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Cm = {
11366
11374
  style: { width: "100px" },
11367
11375
  class: "pa-0 pr-2 text-right opacity-50"
11368
- }, km = { class: "pa-0 px-0" }, zm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Lm = {
11376
+ }, Tm = { class: "pa-0 px-0" }, Sm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Mm = {
11369
11377
  cols: "9",
11370
11378
  class: "pa-0 px-0"
11371
- }, Pm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Cm = {
11379
+ }, Im = { class: "mx-0 py-2 d-flex align-center justify-start" }, Dm = {
11372
11380
  style: { width: "100px" },
11373
11381
  class: "pa-0 pr-2 text-right opacity-50"
11374
- }, Tm = {
11382
+ }, Am = {
11375
11383
  style: { width: "150px" },
11376
11384
  class: "pa-0 text-left"
11377
- }, Sm = {
11385
+ }, Rm = {
11378
11386
  style: { width: "80px" },
11379
11387
  class: "pa-0 pr-2 text-right opacity-50"
11380
- }, Mm = {
11388
+ }, Om = {
11381
11389
  cols: "3",
11382
11390
  class: "pa-0 px-0 text-left"
11383
- }, Im = { class: "mx-0 py-2 d-flex align-center justify-start" }, Dm = {
11391
+ }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
11384
11392
  style: { width: "100px" },
11385
11393
  class: "pa-0 pr-2 text-right opacity-50"
11386
- }, Am = {
11394
+ }, jm = {
11387
11395
  style: { width: "150px" },
11388
11396
  class: "pa-0 text-left"
11389
- }, Rm = {
11397
+ }, Nm = {
11390
11398
  style: { width: "80px" },
11391
11399
  class: "pa-0 pr-2 text-right opacity-50"
11392
- }, Om = {
11400
+ }, Fm = {
11393
11401
  cols: "3",
11394
11402
  class: "pa-0 text-left"
11395
- }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
11403
+ }, Hm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Gm = {
11396
11404
  style: { width: "100px" },
11397
11405
  class: "pa-0 pr-2 text-right opacity-50"
11398
- }, jm = {
11406
+ }, Um = {
11399
11407
  style: { width: "150px" },
11400
11408
  class: "pa-0 text-left"
11401
- }, Nm = {
11409
+ }, Wm = {
11402
11410
  style: { width: "80px" },
11403
11411
  class: "pa-0 pr-2 text-right opacity-50"
11404
- }, Fm = { class: "pa-0 text-left" }, Hm = { id: "idm-position-icon" }, Gm = {
11412
+ }, Vm = { class: "pa-0 text-left" }, Zm = { id: "idm-position-icon" }, Ym = {
11405
11413
  class: "multi-color-icon",
11406
11414
  style: { height: "30px", width: "30px" },
11407
11415
  "aria-hidden": "true"
11408
- }, Wm = ["xlink:href"];
11409
- function Um(t, e, o, i, a, r) {
11416
+ }, qm = ["xlink:href"];
11417
+ function Xm(t, e, o, i, a, r) {
11410
11418
  const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), z = w("DateTimePicker"), g = w("VBtnToggle"), P = w("VCardText"), T = w("VCardActions"), O = w("VForm"), I = w("VCard"), L = w("VIcon");
11411
- return y(), S("div", im, [
11419
+ return y(), S("div", cm, [
11412
11420
  s("div", {
11413
11421
  class: "menu-bar-box transition pa-1",
11414
11422
  style: ie({ top: o.top + 174 + "px", right: a.right + "px" })
@@ -11443,8 +11451,8 @@ function Um(t, e, o, i, a, r) {
11443
11451
  default: f(() => [
11444
11452
  p(n, { class: "d-flex justify-space-between align-center" }, {
11445
11453
  default: f(() => [
11446
- s("div", rm, [
11447
- s("div", sm, m(t.$t("spot.spotWeather")), 1)
11454
+ s("div", mm, [
11455
+ s("div", dm, m(t.$t("spot.spotWeather")), 1)
11448
11456
  ]),
11449
11457
  p(l, {
11450
11458
  icon: "",
@@ -11472,11 +11480,11 @@ function Um(t, e, o, i, a, r) {
11472
11480
  default: f(() => [
11473
11481
  p(P, { class: "text-body-1 py-1" }, {
11474
11482
  default: f(() => [
11475
- s("div", lm, [
11476
- (y(), S("svg", nm, [
11483
+ s("div", hm, [
11484
+ (y(), S("svg", pm, [
11477
11485
  s("use", {
11478
11486
  "xlink:href": `#icon-lng-${o.theme}`
11479
- }, null, 8, cm)
11487
+ }, null, 8, um)
11480
11488
  ])),
11481
11489
  s("div", null, m(t.$t("spot.lng")), 1)
11482
11490
  ]),
@@ -11549,11 +11557,11 @@ function Um(t, e, o, i, a, r) {
11549
11557
  ]),
11550
11558
  _: 1
11551
11559
  }),
11552
- s("div", mm, [
11553
- (y(), S("svg", dm, [
11560
+ s("div", gm, [
11561
+ (y(), S("svg", fm, [
11554
11562
  s("use", {
11555
11563
  "xlink:href": `#icon-lng-${o.theme}`
11556
- }, null, 8, hm)
11564
+ }, null, 8, ym)
11557
11565
  ])),
11558
11566
  s("div", null, m(t.$t("spot.lat")), 1)
11559
11567
  ]),
@@ -11629,11 +11637,11 @@ function Um(t, e, o, i, a, r) {
11629
11637
  ]),
11630
11638
  _: 1
11631
11639
  }),
11632
- s("div", pm, [
11633
- (y(), S("svg", um, [
11640
+ s("div", bm, [
11641
+ (y(), S("svg", wm, [
11634
11642
  s("use", {
11635
11643
  "xlink:href": `#icon-date-time-${o.theme}`
11636
- }, null, 8, gm)
11644
+ }, null, 8, xm)
11637
11645
  ])),
11638
11646
  s("div", null, m(t.$t("spot.dateTime")), 1)
11639
11647
  ]),
@@ -11656,11 +11664,11 @@ function Um(t, e, o, i, a, r) {
11656
11664
  ]),
11657
11665
  _: 1
11658
11666
  }),
11659
- s("div", fm, [
11660
- (y(), S("svg", ym, [
11667
+ s("div", vm, [
11668
+ (y(), S("svg", _m, [
11661
11669
  s("use", {
11662
11670
  "xlink:href": `#icon-forecast-model-${o.theme}`
11663
- }, null, 8, bm)
11671
+ }, null, 8, km)
11664
11672
  ])),
11665
11673
  s("div", null, m(t.$t("weather.forecastModel")), 1)
11666
11674
  ]),
@@ -11767,9 +11775,9 @@ function Um(t, e, o, i, a, r) {
11767
11775
  default: f(() => [
11768
11776
  p(n, { class: "d-flex justify-space-between align-center" }, {
11769
11777
  default: f(() => [
11770
- s("div", wm, [
11778
+ s("div", zm, [
11771
11779
  e[16] || (e[16] = s("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
11772
- s("div", xm, m(r.computePosition(a.form || a.currentHourData)), 1)
11780
+ s("div", Lm, m(r.computePosition(a.form || a.currentHourData)), 1)
11773
11781
  ]),
11774
11782
  p(l, {
11775
11783
  class: "mr-n2",
@@ -11795,34 +11803,34 @@ function Um(t, e, o, i, a, r) {
11795
11803
  default: f(() => {
11796
11804
  var k, v;
11797
11805
  return [
11798
- s("div", vm, [
11799
- s("div", _m, m(t.$t("time.time")), 1),
11800
- s("div", km, m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
11806
+ s("div", Pm, [
11807
+ s("div", Cm, m(t.$t("time.time")), 1),
11808
+ s("div", Tm, m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
11801
11809
  ]),
11802
- s("div", zm, [
11810
+ s("div", Sm, [
11803
11811
  e[18] || (e[18] = s("div", {
11804
11812
  style: { width: "100px" },
11805
11813
  class: "pa-0 pr-2 text-right opacity-50"
11806
11814
  }, "LT", -1)),
11807
- s("div", Lm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
11808
- ]),
11809
- s("div", Pm, [
11810
- s("div", Cm, m(t.$t("weather.wind")), 1),
11811
- s("div", Tm, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
11812
- s("div", Sm, m(t.$t("weather.sigWave")), 1),
11813
- s("div", Mm, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
11815
+ s("div", Mm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
11814
11816
  ]),
11815
11817
  s("div", Im, [
11816
- s("div", Dm, m(t.$t("weather.windWave")), 1),
11817
- s("div", Am, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
11818
- s("div", Rm, m(t.$t("weather.swell")), 1),
11819
- s("div", Om, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
11818
+ s("div", Dm, m(t.$t("weather.wind")), 1),
11819
+ s("div", Am, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
11820
+ s("div", Rm, m(t.$t("weather.sigWave")), 1),
11821
+ s("div", Om, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
11820
11822
  ]),
11821
11823
  s("div", Bm, [
11822
- s("div", Em, m(t.$t("weather.current")), 1),
11823
- s("div", jm, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
11824
- s("div", Nm, m(t.$t("weather.visibility")), 1),
11825
- s("div", Fm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
11824
+ s("div", Em, m(t.$t("weather.windWave")), 1),
11825
+ s("div", jm, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
11826
+ s("div", Nm, m(t.$t("weather.swell")), 1),
11827
+ s("div", Fm, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
11828
+ ]),
11829
+ s("div", Hm, [
11830
+ s("div", Gm, m(t.$t("weather.current")), 1),
11831
+ s("div", Um, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
11832
+ s("div", Wm, m(t.$t("weather.visibility")), 1),
11833
+ s("div", Vm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
11826
11834
  ])
11827
11835
  ];
11828
11836
  }),
@@ -11891,19 +11899,19 @@ function Um(t, e, o, i, a, r) {
11891
11899
  ]),
11892
11900
  _: 1
11893
11901
  })) : D("", !0),
11894
- We(s("div", Hm, [
11895
- (y(), S("svg", Gm, [
11902
+ Ue(s("div", Zm, [
11903
+ (y(), S("svg", Ym, [
11896
11904
  s("use", {
11897
11905
  "xlink:href": `#icon-spot-${o.theme}`
11898
- }, null, 8, Wm)
11906
+ }, null, 8, qm)
11899
11907
  ]))
11900
11908
  ], 512), [
11901
- [Ue, a.showMeteo]
11909
+ [We, a.showMeteo]
11902
11910
  ])
11903
11911
  ]);
11904
11912
  }
11905
- const Vm = /* @__PURE__ */ Y(am, [["render", Um]]);
11906
- const Zm = {
11913
+ const $m = /* @__PURE__ */ Y(nm, [["render", Xm]]);
11914
+ const Km = {
11907
11915
  name: "IdmMeasure",
11908
11916
  props: {
11909
11917
  map: {
@@ -12253,10 +12261,10 @@ const Zm = {
12253
12261
  }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12254
12262
  }
12255
12263
  }
12256
- }, Ym = { class: "idm-gl4-measure" };
12257
- function qm(t, e, o, i, a, r) {
12264
+ }, Qm = { class: "idm-gl4-measure" };
12265
+ function Jm(t, e, o, i, a, r) {
12258
12266
  const l = w("VBtn"), c = w("VTooltip");
12259
- return y(), S("div", Ym, [
12267
+ return y(), S("div", Qm, [
12260
12268
  s("div", {
12261
12269
  class: "menu-bar-box transition pa-1",
12262
12270
  style: ie({ top: o.top + 214 + "px", right: a.right + "px" })
@@ -12285,10 +12293,10 @@ function qm(t, e, o, i, a, r) {
12285
12293
  ], 4)
12286
12294
  ]);
12287
12295
  }
12288
- const Xm = /* @__PURE__ */ Y(Zm, [["render", qm]]);
12289
- const $m = {
12296
+ const ed = /* @__PURE__ */ Y(Km, [["render", Jm]]);
12297
+ const td = {
12290
12298
  name: "IdmBottomBar",
12291
- components: { DateTimePicker: no },
12299
+ components: { DateTimePicker: Do },
12292
12300
  props: {
12293
12301
  menuToggle: {
12294
12302
  type: Object,
@@ -12411,18 +12419,18 @@ const $m = {
12411
12419
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
12412
12420
  }
12413
12421
  }
12414
- }, Km = { class: "idm-bottom-bar-gl4" }, Qm = { class: "date-box d-flex ga-2 mr-2" }, Jm = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, ed = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, td = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, od = {
12422
+ }, od = { class: "idm-bottom-bar-gl4" }, ad = { class: "date-box d-flex ga-2 mr-2" }, id = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, rd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, sd = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, ld = {
12415
12423
  key: 0,
12416
12424
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
12417
- }, ad = ["onClick"], id = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, rd = { class: "text-body-1" };
12418
- function sd(t, e, o, i, a, r) {
12425
+ }, nd = ["onClick"], cd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, md = { class: "text-body-1" };
12426
+ function dd(t, e, o, i, a, r) {
12419
12427
  const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), z = w("VTooltip");
12420
- return y(), S("div", Km, [
12428
+ return y(), S("div", od, [
12421
12429
  s("div", {
12422
12430
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
12423
12431
  style: ie({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
12424
12432
  }, [
12425
- s("div", Qm, [
12433
+ s("div", ad, [
12426
12434
  p(l, B({
12427
12435
  ref: "dateTimePicker",
12428
12436
  "date-time": a.currentDateTimeZ,
@@ -12486,7 +12494,7 @@ function sd(t, e, o, i, a, r) {
12486
12494
  class: "mx-2 my-3",
12487
12495
  style: { height: "16px" }
12488
12496
  }),
12489
- s("div", Jm, [
12497
+ s("div", id, [
12490
12498
  p(b, {
12491
12499
  icon: "",
12492
12500
  size: "small",
@@ -12559,7 +12567,7 @@ function sd(t, e, o, i, a, r) {
12559
12567
  class: "mx-2 my-3",
12560
12568
  style: { height: "16px" }
12561
12569
  }),
12562
- s("div", ed, [
12570
+ s("div", rd, [
12563
12571
  p(z, {
12564
12572
  text: t.$t("weather.windBarbs"),
12565
12573
  location: "top"
@@ -12663,7 +12671,7 @@ function sd(t, e, o, i, a, r) {
12663
12671
  class: "mx-2 mr-3 my-3",
12664
12672
  style: { height: "16px" }
12665
12673
  }),
12666
- s("div", td, [
12674
+ s("div", sd, [
12667
12675
  p(b, {
12668
12676
  text: "",
12669
12677
  height: "30",
@@ -12696,14 +12704,14 @@ function sd(t, e, o, i, a, r) {
12696
12704
  class: "timezone-box d-flex flex-column justify-space-between align-end",
12697
12705
  style: ie({ right: a.right + "px" })
12698
12706
  }, [
12699
- a.showTimezone ? (y(), S("div", od, [
12707
+ a.showTimezone ? (y(), S("div", ld, [
12700
12708
  (y(!0), S(be, null, we(a.offsets, (g) => (y(), S("div", {
12701
12709
  key: g,
12702
12710
  class: "item rounded text-body-2 hover-active",
12703
12711
  onClick: (P) => a.timeZone = g
12704
- }, m(g < 0 ? g : "+" + g), 9, ad))), 128))
12712
+ }, m(g < 0 ? g : "+" + g), 9, nd))), 128))
12705
12713
  ])) : D("", !0),
12706
- s("div", id, [
12714
+ s("div", cd, [
12707
12715
  p(b, {
12708
12716
  text: "",
12709
12717
  variant: "flat",
@@ -12717,20 +12725,20 @@ function sd(t, e, o, i, a, r) {
12717
12725
  ]),
12718
12726
  _: 1
12719
12727
  }),
12720
- s("span", rd, m(a.currentRealTime), 1)
12728
+ s("span", md, m(a.currentRealTime), 1)
12721
12729
  ])
12722
12730
  ], 4)
12723
12731
  ]);
12724
12732
  }
12725
- const ld = /* @__PURE__ */ Y($m, [["render", sd]]), nd = {
12733
+ const hd = /* @__PURE__ */ Y(td, [["render", dd]]), pd = {
12726
12734
  name: "IdmGL4",
12727
12735
  components: {
12728
12736
  IdmOtherLayer: pl,
12729
- IdmWeatherLayer: ec,
12737
+ IdmWeatherLayer: rc,
12730
12738
  IdmTropicals: Xa,
12731
- IdmMeasure: Xm,
12732
- IdmSpot: Vm,
12733
- IdmBottomBar: ld
12739
+ IdmMeasure: ed,
12740
+ IdmSpot: $m,
12741
+ IdmBottomBar: hd
12734
12742
  },
12735
12743
  props: {
12736
12744
  map: {
@@ -12781,13 +12789,13 @@ const ld = /* @__PURE__ */ Y($m, [["render", sd]]), nd = {
12781
12789
  }
12782
12790
  },
12783
12791
  methods: {}
12784
- }, cd = {
12792
+ }, ud = {
12785
12793
  ref: "mapHomeGl4",
12786
12794
  class: "map-gl4-home"
12787
12795
  };
12788
- function md(t, e, o, i, a, r) {
12796
+ function gd(t, e, o, i, a, r) {
12789
12797
  const l = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), h = w("IdmSpot"), b = w("IdmBottomBar");
12790
- return y(), S("div", cd, [
12798
+ return y(), S("div", ud, [
12791
12799
  p(l, B({
12792
12800
  ref: "idmOtherLayers",
12793
12801
  token: o.token,
@@ -12852,8 +12860,8 @@ function md(t, e, o, i, a, r) {
12852
12860
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
12853
12861
  ], 512);
12854
12862
  }
12855
- const dd = /* @__PURE__ */ Y(nd, [["render", md]]);
12856
- class hd {
12863
+ const fd = /* @__PURE__ */ Y(pd, [["render", gd]]);
12864
+ class yd {
12857
12865
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
12858
12866
  de(this, "originStyle");
12859
12867
  de(this, "mapboxStyle");
@@ -12861,7 +12869,7 @@ class hd {
12861
12869
  de(this, "hi");
12862
12870
  de(this, "td");
12863
12871
  de(this, "windy");
12864
- var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Do, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Wa, Ua;
12872
+ var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, W, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, U, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Uo, Wo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Ua, Wa;
12865
12873
  this.i4 = {
12866
12874
  source: {
12867
12875
  type: "raster",
@@ -31515,7 +31523,7 @@ class hd {
31515
31523
  (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((d) => d.id === "water-outline2"),
31516
31524
  (N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
31517
31525
  (Z = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Z.find((d) => d.id === "water-line-label"),
31518
- (ee = (U = this.originStyle) == null ? void 0 : U.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
31526
+ (ee = (W = this.originStyle) == null ? void 0 : W.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
31519
31527
  ($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
31520
31528
  (se = (ne = this.originStyle) == null ? void 0 : ne.light.layers) == null ? void 0 : se.find((d) => d.id === "ne-10m-outline"),
31521
31529
  (ae = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : ae.find((d) => d.id === "ne-10m-label"),
@@ -31528,7 +31536,7 @@ class hd {
31528
31536
  (G = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
31529
31537
  (He = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : He.find((d) => d.id === "continent-label"),
31530
31538
  (ue = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : ue.find((d) => d.id === "tide-stations"),
31531
- (W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-3"),
31539
+ (U = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
31532
31540
  (oe = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
31533
31541
  ]
31534
31542
  },
@@ -31591,8 +31599,8 @@ class hd {
31591
31599
  zoom: 12,
31592
31600
  fog: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.fog,
31593
31601
  imports: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.imports,
31594
- sources: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sources,
31595
- sprite: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sprite,
31602
+ sources: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sources,
31603
+ sprite: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sprite,
31596
31604
  glyphs: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.glyphs,
31597
31605
  projection: (Zt = this.originStyle) == null ? void 0 : Zt.satellite.projection,
31598
31606
  created: "2025-07-25T03:53:24.667Z",
@@ -31606,24 +31614,24 @@ class hd {
31606
31614
  (qt = (Yt = this.originStyle) == null ? void 0 : Yt.satellite.layers) == null ? void 0 : qt.find((d) => d.id === "background"),
31607
31615
  (Kt = (Xt = this.originStyle) == null ? void 0 : Xt.satellite.layers) == null ? void 0 : Kt.find((d) => d.id === "satellite"),
31608
31616
  (Jt = (Qt = this.originStyle) == null ? void 0 : Qt.satellite.layers) == null ? void 0 : Jt.find((d) => d.id === "loadlines-label"),
31609
- (co = (eo = this.originStyle) == null ? void 0 : eo.satellite.layers) == null ? void 0 : co.find((d) => d.id === "loadlines-fill"),
31610
- (ho = (mo = this.originStyle) == null ? void 0 : mo.satellite.layers) == null ? void 0 : ho.find((d) => d.id === "empty-layer-0"),
31611
- (uo = (po = this.originStyle) == null ? void 0 : po.satellite.layers) == null ? void 0 : uo.find((d) => d.id === "empty-layer-1"),
31612
- (fo = (go = this.originStyle) == null ? void 0 : go.satellite.layers) == null ? void 0 : fo.find((d) => d.id === "country-boundaries"),
31613
- (bo = (yo = this.originStyle) == null ? void 0 : yo.satellite.layers) == null ? void 0 : bo.find((d) => d.id === "water-outline"),
31614
- (xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((d) => d.id === "empty-layer-2"),
31615
- (_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((d) => d.id === "world-12nm-v4-20231025"),
31616
- (zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((d) => d.id === "ne-10m-outline"),
31617
- (Po = (Lo = this.originStyle) == null ? void 0 : Lo.satellite.layers) == null ? void 0 : Po.find((d) => d.id === "ne-10m-label"),
31618
- (To = (Co = this.originStyle) == null ? void 0 : Co.satellite.layers) == null ? void 0 : To.find((d) => d.id === "china-route-line"),
31619
- (Mo = (So = this.originStyle) == null ? void 0 : So.satellite.layers) == null ? void 0 : Mo.find((d) => d.id === "china-route-fill"),
31620
- (Do = (Io = this.originStyle) == null ? void 0 : Io.satellite.layers) == null ? void 0 : Do.find((d) => d.id === "china-route-label"),
31617
+ (to = (eo = this.originStyle) == null ? void 0 : eo.satellite.layers) == null ? void 0 : to.find((d) => d.id === "loadlines-fill"),
31618
+ (ao = (oo = this.originStyle) == null ? void 0 : oo.satellite.layers) == null ? void 0 : ao.find((d) => d.id === "empty-layer-0"),
31619
+ (ro = (io = this.originStyle) == null ? void 0 : io.satellite.layers) == null ? void 0 : ro.find((d) => d.id === "empty-layer-1"),
31620
+ (lo = (so = this.originStyle) == null ? void 0 : so.satellite.layers) == null ? void 0 : lo.find((d) => d.id === "country-boundaries"),
31621
+ (co = (no = this.originStyle) == null ? void 0 : no.satellite.layers) == null ? void 0 : co.find((d) => d.id === "water-outline"),
31622
+ (ho = (mo = this.originStyle) == null ? void 0 : mo.satellite.layers) == null ? void 0 : ho.find((d) => d.id === "empty-layer-2"),
31623
+ (uo = (po = this.originStyle) == null ? void 0 : po.satellite.layers) == null ? void 0 : uo.find((d) => d.id === "world-12nm-v4-20231025"),
31624
+ (fo = (go = this.originStyle) == null ? void 0 : go.satellite.layers) == null ? void 0 : fo.find((d) => d.id === "ne-10m-outline"),
31625
+ (bo = (yo = this.originStyle) == null ? void 0 : yo.satellite.layers) == null ? void 0 : bo.find((d) => d.id === "ne-10m-label"),
31626
+ (xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((d) => d.id === "china-route-line"),
31627
+ (_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((d) => d.id === "china-route-fill"),
31628
+ (zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((d) => d.id === "china-route-label"),
31621
31629
  (Ro = (Ao = this.originStyle) == null ? void 0 : Ao.satellite.layers) == null ? void 0 : Ro.find((d) => d.id === "country-label"),
31622
31630
  (Bo = (Oo = this.originStyle) == null ? void 0 : Oo.satellite.layers) == null ? void 0 : Bo.find((d) => d.id === "continent-label"),
31623
31631
  (jo = (Eo = this.originStyle) == null ? void 0 : Eo.satellite.layers) == null ? void 0 : jo.find((d) => d.id === "tide-stations"),
31624
31632
  (Fo = (No = this.originStyle) == null ? void 0 : No.satellite.layers) == null ? void 0 : Fo.find((d) => d.id === "ice-area-fill"),
31625
31633
  (Go = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Go.find((d) => d.id === "ice-area-line"),
31626
- (Uo = (Wo = this.originStyle) == null ? void 0 : Wo.satellite.layers) == null ? void 0 : Uo.find((d) => d.id === "empty-layer-3"),
31634
+ (Wo = (Uo = this.originStyle) == null ? void 0 : Uo.satellite.layers) == null ? void 0 : Wo.find((d) => d.id === "empty-layer-3"),
31627
31635
  (Zo = (Vo = this.originStyle) == null ? void 0 : Vo.satellite.layers) == null ? void 0 : Zo.find((d) => d.id === "empty-layer-4")
31628
31636
  ]
31629
31637
  },
@@ -31712,13 +31720,13 @@ class hd {
31712
31720
  (ja = (Ea = this.originStyle) == null ? void 0 : Ea.light.layers) == null ? void 0 : ja.find((d) => d.id === "continent-label"),
31713
31721
  (Fa = (Na = this.originStyle) == null ? void 0 : Na.light.layers) == null ? void 0 : Fa.find((d) => d.id === "tide-stations"),
31714
31722
  (Ga = (Ha = this.originStyle) == null ? void 0 : Ha.light.layers) == null ? void 0 : Ga.find((d) => d.id === "empty-layer-3"),
31715
- (Ua = (Wa = this.originStyle) == null ? void 0 : Wa.light.layers) == null ? void 0 : Ua.find((d) => d.id === "empty-layer-4")
31723
+ (Wa = (Ua = this.originStyle) == null ? void 0 : Ua.light.layers) == null ? void 0 : Wa.find((d) => d.id === "empty-layer-4")
31716
31724
  ]
31717
31725
  }
31718
31726
  };
31719
31727
  }
31720
31728
  }
31721
- const pd = {
31729
+ const bd = {
31722
31730
  name: "MapInitial",
31723
31731
  props: {
31724
31732
  token: {
@@ -31779,7 +31787,7 @@ const pd = {
31779
31787
  },
31780
31788
  methods: {
31781
31789
  async initOnlineMap() {
31782
- this.helper = new hd(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31790
+ this.helper = new yd(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31783
31791
  const t = new ve.Map({
31784
31792
  container: "map",
31785
31793
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -31820,16 +31828,16 @@ const pd = {
31820
31828
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
31821
31829
  }
31822
31830
  }
31823
- }, ud = { class: "mapbox-initial-gl4" }, gd = { class: "v-btn--variant-elevated rounded" }, fd = { class: "zoom" }, yd = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70" };
31824
- function bd(t, e, o, i, a, r) {
31831
+ }, wd = { class: "mapbox-initial-gl4" }, xd = { class: "v-btn--variant-elevated rounded" }, vd = { class: "zoom" }, _d = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70" };
31832
+ function kd(t, e, o, i, a, r) {
31825
31833
  const l = w("VBtn");
31826
- return y(), S("div", ud, [
31834
+ return y(), S("div", wd, [
31827
31835
  e[5] || (e[5] = s("div", { id: "map" }, null, -1)),
31828
31836
  s("div", {
31829
31837
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
31830
31838
  style: ie({ top: o.top + 268 + "px", right: a.right + "px" })
31831
31839
  }, [
31832
- s("div", gd, [
31840
+ s("div", xd, [
31833
31841
  p(l, {
31834
31842
  "min-width": "32",
31835
31843
  width: "32",
@@ -31843,7 +31851,7 @@ function bd(t, e, o, i, a, r) {
31843
31851
  _: 1,
31844
31852
  __: [0]
31845
31853
  }, 8, ["onClick"]),
31846
- s("div", fd, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
31854
+ s("div", vd, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
31847
31855
  p(l, {
31848
31856
  "min-width": "32",
31849
31857
  width: "32",
@@ -31859,7 +31867,7 @@ function bd(t, e, o, i, a, r) {
31859
31867
  }, 8, ["onClick"])
31860
31868
  ])
31861
31869
  ], 4),
31862
- s("div", yd, [
31870
+ s("div", _d, [
31863
31871
  e[2] || (e[2] = s("span", null, "© 2023", -1)),
31864
31872
  s("span", null, "-" + m(r.computeYear), 1),
31865
31873
  e[3] || (e[3] = s("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -31871,8 +31879,8 @@ function bd(t, e, o, i, a, r) {
31871
31879
  ])
31872
31880
  ]);
31873
31881
  }
31874
- const wd = /* @__PURE__ */ Y(pd, [["render", bd]]);
31875
- const xd = {
31882
+ const zd = /* @__PURE__ */ Y(bd, [["render", kd]]);
31883
+ const Ld = {
31876
31884
  name: "DateRangePicker",
31877
31885
  props: {
31878
31886
  width: {
@@ -32028,13 +32036,13 @@ const xd = {
32028
32036
  e && !e.contains(t.target) && (this.showDatePicker = !1);
32029
32037
  }
32030
32038
  }
32031
- }, vd = {
32039
+ }, Pd = {
32032
32040
  class: "idm-gl4-date-picker",
32033
32041
  ref: "idmGl4DatePicker"
32034
- }, _d = { class: "pa-0" };
32035
- function kd(t, e, o, i, a, r) {
32042
+ }, Cd = { class: "pa-0" };
32043
+ function Td(t, e, o, i, a, r) {
32036
32044
  const l = w("VBtn"), c = w("VDatePicker"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard");
32037
- return y(), S("div", vd, [
32045
+ return y(), S("div", Pd, [
32038
32046
  p(l, {
32039
32047
  text: "",
32040
32048
  height: o.height,
@@ -32054,7 +32062,7 @@ function kd(t, e, o, i, a, r) {
32054
32062
  default: f(() => [
32055
32063
  p(n, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
32056
32064
  default: f(() => [
32057
- s("div", _d, [
32065
+ s("div", Cd, [
32058
32066
  p(c, {
32059
32067
  modelValue: a.dateRange,
32060
32068
  "onUpdate:modelValue": e[0] || (e[0] = (x) => a.dateRange = x),
@@ -32112,22 +32120,22 @@ function kd(t, e, o, i, a, r) {
32112
32120
  }, 8, ["class"])) : D("", !0)
32113
32121
  ], 512);
32114
32122
  }
32115
- const zd = /* @__PURE__ */ Y(xd, [["render", kd]]), Bd = {
32123
+ const Sd = /* @__PURE__ */ Y(Ld, [["render", Td]]), Hd = {
32116
32124
  install(t) {
32117
- t.component("MapInitial", wd), t.component("MapboxGL", dd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", no), t.component("DateRangePicker", zd), t.component("PortDetail", so);
32125
+ t.component("MapInitial", zd), t.component("MapboxGL", fd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Do), t.component("DateRangePicker", Sd), t.component("PortDetail", Mo);
32118
32126
  }
32119
32127
  };
32120
32128
  export {
32121
- zd as DateRangePicker,
32122
- no as DateTimePicker,
32129
+ Sd as DateRangePicker,
32130
+ Do as DateTimePicker,
32123
32131
  qa as LatLngGL,
32124
- wd as MapInitial,
32125
- dd as MapboxGL,
32126
- Bd as MapboxGLPlugin,
32132
+ zd as MapInitial,
32133
+ fd as MapboxGL,
32134
+ Hd as MapboxGLPlugin,
32127
32135
  ke as ParticleSchema,
32128
- so as PortDetail,
32136
+ Mo as PortDetail,
32129
32137
  Xa as TropicalGL,
32130
- lo as Viewport,
32138
+ Io as Viewport,
32131
32139
  Fe as WebGL,
32132
32140
  le as WebGLSchema
32133
32141
  };