@idmwx/idmui-gl4 2.0.0 → 2.0.1

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,13 +3,13 @@ var Qa = (t, e, o) => e in t ? Ja(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var he = (t, e, o) => (Qa(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import De from "axios";
5
5
  import { useTheme as Se } from "vuetify";
6
- import { openBlock as y, createElementBlock as M, resolveComponent as w, createBlock as O, withCtx as g, createVNode as p, withModifiers as Oe, createElementVNode as s, createCommentVNode as A, normalizeClass as Ye, toDisplayString as m, createTextVNode as $, Fragment as we, renderList as _e, withDirectives as Ve, vShow as Ze, mergeProps as N, normalizeStyle as ee } from "vue";
6
+ import { openBlock as y, createElementBlock as M, resolveComponent as w, createBlock as O, withCtx as g, createVNode as p, withModifiers as Oe, createElementVNode as s, createCommentVNode as I, normalizeClass as Ye, toDisplayString as m, createTextVNode as K, Fragment as we, renderList as _e, withDirectives as Ve, vShow as Ze, mergeProps as N, normalizeStyle as ee } from "vue";
7
7
  import ke from "mapbox-gl";
8
8
  import S from "moment";
9
9
  import { LngLatHelper as X, TropicalHelper as Za, LaneHelper as Ge } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as To, TidesAssist as So } from "@idm-plugin/meteo";
11
11
  import * as Mo from "echarts";
12
- import * as H from "@turf/turf";
12
+ import * as U from "@turf/turf";
13
13
  import { LayerHelper as Co, CompanyHelper as ei } from "@idm-plugin/tag2";
14
14
  import ti from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as oi } from "@idm-plugin/tag";
@@ -523,7 +523,7 @@ function ui(t, e, o, i, a, r) {
523
523
  })
524
524
  ]),
525
525
  _: 1
526
- })) : A("", !0);
526
+ })) : I("", !0);
527
527
  }
528
528
  const gi = /* @__PURE__ */ Y(hi, [["render", ui]]);
529
529
  const fi = {
@@ -1490,10 +1490,10 @@ const fi = {
1490
1490
  { label: "Swell", key: "weather.swell", unit: "m" },
1491
1491
  { label: "Current", key: "weather.current", unit: "kts" }
1492
1492
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1493
- var c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le;
1493
+ var c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le;
1494
1494
  let r = {};
1495
1495
  const l = ((c = To.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
1496
- 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((_ = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((P = (k = l == null ? void 0 : l.weather) == null ? void 0 : k.wind) == null ? void 0 : P.kts, 1) ?? "-", r.windDir = (I = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (v = l == null ? void 0 : l.wave) == null ? void 0 : v.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (q = l == null ? void 0 : l.wave) == null ? void 0 : q.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (se = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.wd) == null ? void 0 : se.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((R = (de = l == null ? void 0 : l.wave) == null ? void 0 : de.swell) == null ? void 0 : R.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (ye = l == null ? void 0 : l.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.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 = (Le = l == null ? void 0 : l.weather) == null ? void 0 : Le.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;
1496
+ 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((_ = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((P = (k = l == null ? void 0 : l.weather) == null ? void 0 : k.wind) == null ? void 0 : P.kts, 1) ?? "-", r.windDir = (D = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : D.direction, r.windLevel = this.computeRoundPrecision((z = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = l == null ? void 0 : l.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (q = l == null ? void 0 : l.wave) == null ? void 0 : q.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (se = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : se.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((R = (de = l == null ? void 0 : l.wave) == null ? void 0 : de.swell) == null ? void 0 : R.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (ye = l == null ? void 0 : l.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.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 = (Le = l == null ? void 0 : l.weather) == null ? void 0 : Le.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;
1497
1497
  });
1498
1498
  },
1499
1499
  handleTide() {
@@ -1685,7 +1685,7 @@ function wr(t, e, o, i, a, r) {
1685
1685
  return [
1686
1686
  p(c, { class: "w-100" }, {
1687
1687
  default: g(() => {
1688
- var f, k, P, B, I;
1688
+ var f, k, P, B, D;
1689
1689
  return [
1690
1690
  s("div", yi, [
1691
1691
  s("div", bi, [
@@ -1713,7 +1713,7 @@ function wr(t, e, o, i, a, r) {
1713
1713
  s("div", null, m(t.$t("port.port")), 1),
1714
1714
  s("div", null, [
1715
1715
  e[3] || (e[3] = s("label", null, "UN/LOCODE: ", -1)),
1716
- s("span", null, m((I = o.port) == null ? void 0 : I.cntLoCode), 1)
1716
+ s("span", null, m((D = o.port) == null ? void 0 : D.cntLoCode), 1)
1717
1717
  ])
1718
1718
  ])
1719
1719
  ];
@@ -1738,7 +1738,7 @@ function wr(t, e, o, i, a, r) {
1738
1738
  p(u, { color: "warning" })
1739
1739
  ]),
1740
1740
  default: g(() => [
1741
- $(" " + m(t.$t("actions.unfollow")), 1)
1741
+ K(" " + m(t.$t("actions.unfollow")), 1)
1742
1742
  ]),
1743
1743
  _: 1
1744
1744
  }, 8, ["onClick"])) : (y(), O(l, {
@@ -1751,7 +1751,7 @@ function wr(t, e, o, i, a, r) {
1751
1751
  onClick: r.handleFollow
1752
1752
  }, {
1753
1753
  default: g(() => [
1754
- $(m(t.$t("actions.follow")), 1)
1754
+ K(m(t.$t("actions.follow")), 1)
1755
1755
  ]),
1756
1756
  _: 1
1757
1757
  }, 8, ["onClick"])),
@@ -1763,7 +1763,7 @@ function wr(t, e, o, i, a, r) {
1763
1763
  onClick: r.handleMeteoMore
1764
1764
  }, {
1765
1765
  default: g(() => [
1766
- $(m(t.$t("actions.7dayForcast")), 1)
1766
+ K(m(t.$t("actions.7dayForcast")), 1)
1767
1767
  ]),
1768
1768
  _: 1
1769
1769
  }, 8, ["onClick"])
@@ -1828,7 +1828,7 @@ function wr(t, e, o, i, a, r) {
1828
1828
  value: f.index
1829
1829
  }, {
1830
1830
  default: g(() => [
1831
- $(m(f.label), 1)
1831
+ K(m(f.label), 1)
1832
1832
  ]),
1833
1833
  _: 2
1834
1834
  }, 1032, ["value"]))), 256))
@@ -1841,8 +1841,8 @@ function wr(t, e, o, i, a, r) {
1841
1841
  key: f.id
1842
1842
  }, [
1843
1843
  s("th", Gi, [
1844
- $(m(t.$t(`${f.key}`)) + " ", 1),
1845
- f.unit ? (y(), M("span", Vi, " ( " + m(f.unit) + " )", 1)) : A("", !0)
1844
+ K(m(t.$t(`${f.key}`)) + " ", 1),
1845
+ f.unit ? (y(), M("span", Vi, " ( " + m(f.unit) + " )", 1)) : I("", !0)
1846
1846
  ]),
1847
1847
  s("td", Zi, [
1848
1848
  f.img ? (y(), M("img", {
@@ -1924,7 +1924,7 @@ function wr(t, e, o, i, a, r) {
1924
1924
  }), 128))
1925
1925
  ])
1926
1926
  ])
1927
- ])) : A("", !0)
1927
+ ])) : I("", !0)
1928
1928
  ])
1929
1929
  ], 512)
1930
1930
  ];
@@ -2075,7 +2075,7 @@ function zr(t, e, o, i, a, r) {
2075
2075
  forecastModel: o.forecastModel,
2076
2076
  onClose: r.handleCloseDetail,
2077
2077
  onCloseAllDetail: e[0] || (e[0] = (u) => t.$emit("closeAllDetail", { ports: !0 }))
2078
- }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : A("", !0)
2078
+ }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : I("", !0)
2079
2079
  ]);
2080
2080
  }
2081
2081
  const Lr = /* @__PURE__ */ Y(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3"]]), Pr = {
@@ -3071,7 +3071,7 @@ function Ms(t, e, o, i, a, r) {
3071
3071
  value: _.index
3072
3072
  }, {
3073
3073
  default: g(() => [
3074
- $(m(_.label), 1)
3074
+ K(m(_.label), 1)
3075
3075
  ]),
3076
3076
  _: 2
3077
3077
  }, 1032, ["value"]))), 256))
@@ -3209,7 +3209,7 @@ function Ns(t, e, o, i, a, r) {
3209
3209
  key: 0,
3210
3210
  station: a.station,
3211
3211
  onClose: r.handleCloseDetail
3212
- }, t.$attrs), null, 16, ["station", "onClose"])) : A("", !0)
3212
+ }, t.$attrs), null, 16, ["station", "onClose"])) : I("", !0)
3213
3213
  ]);
3214
3214
  }
3215
3215
  const Es = /* @__PURE__ */ Y(Ds, [["render", Ns], ["__scopeId", "data-v-4611be64"]]), js = {
@@ -3254,6 +3254,10 @@ const Hs = /* @__PURE__ */ Y(js, [["render", Fs]]);
3254
3254
  const Us = {
3255
3255
  name: "IdmLatLng",
3256
3256
  props: {
3257
+ simple: {
3258
+ type: Boolean,
3259
+ default: !1
3260
+ },
3257
3261
  map: {
3258
3262
  type: Object
3259
3263
  },
@@ -3365,7 +3369,7 @@ const Us = {
3365
3369
  handleZoomEnd() {
3366
3370
  var e;
3367
3371
  const t = this.handleComputeLatLngs();
3368
- (e = this.map) == null || e.getSource(this.source).setData(H.featureCollection(t));
3372
+ (e = this.map) == null || e.getSource(this.source).setData(U.featureCollection(t));
3369
3373
  },
3370
3374
  handleRender() {
3371
3375
  if (this.handleClear(), this.map) {
@@ -3423,14 +3427,15 @@ const Us = {
3423
3427
  };
3424
3428
  function Ws(t, e, o, i, a, r) {
3425
3429
  var l, c, n;
3426
- return y(), M("div", {
3430
+ return o.simple ? I("", !0) : (y(), M("div", {
3431
+ key: 0,
3427
3432
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3428
3433
  style: ee({ right: a.right + "px" })
3429
3434
  }, [
3430
3435
  s("div", null, m((l = a.lngLat) == null ? void 0 : l.lat), 1),
3431
3436
  s("div", null, m((c = a.lngLat) == null ? void 0 : c.lng), 1),
3432
3437
  s("div", null, m((n = a.lngLat) == null ? void 0 : n.str), 1)
3433
- ], 4);
3438
+ ], 4));
3434
3439
  }
3435
3440
  const qa = /* @__PURE__ */ Y(Us, [["render", Ws]]);
3436
3441
  const Gs = {
@@ -4379,7 +4384,7 @@ function qs(t, e, o, i, a, r) {
4379
4384
  followList: o.followList,
4380
4385
  onClose: r.handleCloseDetail,
4381
4386
  onCloseAllDetail: e[0] || (e[0] = (u) => t.$emit("closeAllDetail", { followPort: !0 }))
4382
- }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : A("", !0)
4387
+ }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : I("", !0)
4383
4388
  ]);
4384
4389
  }
4385
4390
  const Xs = /* @__PURE__ */ Y(Gs, [["render", qs], ["__scopeId", "data-v-95e70a1f"]]);
@@ -5315,7 +5320,7 @@ function el(t, e, o, i, a, r) {
5315
5320
  ]),
5316
5321
  a.position.remark ? (y(), M("div", Qs, [
5317
5322
  s("span", null, m(a.position.remark ?? "-"), 1)
5318
- ])) : A("", !0)
5323
+ ])) : I("", !0)
5319
5324
  ])
5320
5325
  ]),
5321
5326
  _: 1
@@ -5350,6 +5355,10 @@ const ol = {
5350
5355
  IdmFollowPosition: tl
5351
5356
  },
5352
5357
  props: {
5358
+ simple: {
5359
+ type: Boolean,
5360
+ default: !1
5361
+ },
5353
5362
  map: {
5354
5363
  type: Object
5355
5364
  },
@@ -5425,12 +5434,17 @@ const ol = {
5425
5434
  checkList: []
5426
5435
  };
5427
5436
  },
5437
+ computed: {
5438
+ listStyle() {
5439
+ return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px" };
5440
+ }
5441
+ },
5428
5442
  watch: {
5429
5443
  "menuToggle.v": {
5430
5444
  handler() {
5431
5445
  this.toggle = this.menuToggle.otherLayers, this.$nextTick(() => {
5432
5446
  var t;
5433
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
5447
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
5434
5448
  });
5435
5449
  },
5436
5450
  immediate: !0
@@ -5544,8 +5558,8 @@ const ol = {
5544
5558
  class: "border rounded-sm"
5545
5559
  }, pl = { class: "text-body-2 text-center pt-1" };
5546
5560
  function ul(t, e, o, i, a, r) {
5547
- var K, se, le, pe, ie, ce, ue, me, de;
5548
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), _ = w("IdmLatLng"), f = w("IdmTerminator"), k = w("IdmTimezone"), P = w("IdmPort"), B = w("IdmAlertZone"), I = w("IdmTideStations"), T = w("IdmEcaZone"), z = w("IdmWarZone"), L = w("IdmGmdssArea"), C = w("IdmLoadLine"), v = w("IdmWorldMarine"), D = w("IdmVRA"), F = w("IdmSpecialArea"), V = w("IdmWorld12nm"), q = w("IdmChinaRoute"), Z = w("IdmIceAreas"), J = w("IdmFollowPort"), Q = w("IdmFollowPosition");
5561
+ var $, se, le, pe, ie, ce, ue, me, de;
5562
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), _ = w("IdmLatLng"), f = w("IdmTerminator"), k = w("IdmTimezone"), P = w("IdmPort"), B = w("IdmAlertZone"), D = w("IdmTideStations"), T = w("IdmEcaZone"), z = w("IdmWarZone"), L = w("IdmGmdssArea"), C = w("IdmLoadLine"), v = w("IdmWorldMarine"), A = w("IdmVRA"), F = w("IdmSpecialArea"), V = w("IdmWorld12nm"), q = w("IdmChinaRoute"), Z = w("IdmIceAreas"), J = w("IdmFollowPort"), Q = w("IdmFollowPosition");
5549
5563
  return y(), M("div", al, [
5550
5564
  s("div", {
5551
5565
  class: "menu-bar-box transition px-1 rounded",
@@ -5575,7 +5589,7 @@ function ul(t, e, o, i, a, r) {
5575
5589
  ], 4),
5576
5590
  s("div", {
5577
5591
  class: Ye(["available-layers transition", a.toggle ? "right-bar" : ""]),
5578
- style: ee({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
5592
+ style: ee(r.listStyle)
5579
5593
  }, [
5580
5594
  s("div", il, [
5581
5595
  s("div", rl, m(t.$t("layer.layers")), 1),
@@ -5606,7 +5620,7 @@ function ul(t, e, o, i, a, r) {
5606
5620
  style: { "font-size": "16px !important" }
5607
5621
  }, {
5608
5622
  default: g(() => [
5609
- $(m(t.$t("layer.mapFeathers")), 1)
5623
+ K(m(t.$t("layer.mapFeathers")), 1)
5610
5624
  ]),
5611
5625
  _: 1
5612
5626
  })
@@ -5659,7 +5673,7 @@ function ul(t, e, o, i, a, r) {
5659
5673
  style: { "font-size": "16px !important" }
5660
5674
  }, {
5661
5675
  default: g(() => [
5662
- $(m(t.$t("layer.pointsOfInteresting")), 1)
5676
+ K(m(t.$t("layer.pointsOfInteresting")), 1)
5663
5677
  ]),
5664
5678
  _: 1
5665
5679
  })
@@ -5698,7 +5712,7 @@ function ul(t, e, o, i, a, r) {
5698
5712
  style: { "font-size": "16px !important" }
5699
5713
  }, {
5700
5714
  default: g(() => [
5701
- $(m(t.$t("layer.otherLayers")), 1)
5715
+ K(m(t.$t("layer.otherLayers")), 1)
5702
5716
  ]),
5703
5717
  _: 1
5704
5718
  })
@@ -5737,7 +5751,7 @@ function ul(t, e, o, i, a, r) {
5737
5751
  style: { "font-size": "16px !important" }
5738
5752
  }, {
5739
5753
  default: g(() => [
5740
- $(m(t.$t("layer.myFollows")), 1)
5754
+ K(m(t.$t("layer.myFollows")), 1)
5741
5755
  ]),
5742
5756
  _: 1
5743
5757
  })
@@ -5778,21 +5792,22 @@ function ul(t, e, o, i, a, r) {
5778
5792
  ], 6),
5779
5793
  o.map ? (y(), O(_, N({
5780
5794
  key: 0,
5795
+ simple: o.simple,
5781
5796
  map: o.map,
5782
5797
  "menu-toggle": o.menuToggle,
5783
5798
  show: a.checkList.includes("graticule")
5784
- }, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : A("", !0),
5799
+ }, t.$attrs), null, 16, ["simple", "map", "menu-toggle", "show"])) : I("", !0),
5785
5800
  o.map ? (y(), O(f, N({
5786
5801
  key: 1,
5787
5802
  map: o.map,
5788
- area: (K = a.otherLayers) == null ? void 0 : K["day-night"]
5789
- }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : A("", !0),
5803
+ area: ($ = a.otherLayers) == null ? void 0 : $["day-night"]
5804
+ }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : I("", !0),
5790
5805
  o.map ? (y(), O(k, N({
5791
5806
  key: 2,
5792
5807
  map: o.map,
5793
5808
  zone: (se = a.otherLayers) == null ? void 0 : se["time-zones"],
5794
5809
  realTime: o.realTime
5795
- }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : A("", !0),
5810
+ }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : I("", !0),
5796
5811
  o.map ? (y(), O(P, N({
5797
5812
  key: 3,
5798
5813
  ref: "idmPorts",
@@ -5802,7 +5817,7 @@ function ul(t, e, o, i, a, r) {
5802
5817
  token: o.token,
5803
5818
  "forecast-model": o.forecastModel,
5804
5819
  realTime: o.realTime
5805
- }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "gateway", "token", "forecast-model", "realTime"])) : A("", !0),
5820
+ }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "gateway", "token", "forecast-model", "realTime"])) : I("", !0),
5806
5821
  o.map ? (y(), O(B, N({
5807
5822
  key: 4,
5808
5823
  map: o.map,
@@ -5810,8 +5825,8 @@ function ul(t, e, o, i, a, r) {
5810
5825
  }, t.$attrs, {
5811
5826
  "before-layer": "empty-layer-3",
5812
5827
  theme: o.theme
5813
- }), null, 16, ["map", "zone", "theme"])) : A("", !0),
5814
- o.map ? (y(), O(I, N({
5828
+ }), null, 16, ["map", "zone", "theme"])) : I("", !0),
5829
+ o.map ? (y(), O(D, N({
5815
5830
  key: 5,
5816
5831
  ref: "idmIideStation",
5817
5832
  map: o.map,
@@ -5823,60 +5838,60 @@ function ul(t, e, o, i, a, r) {
5823
5838
  realTime: o.realTime,
5824
5839
  forecastModel: o.forecastModel,
5825
5840
  "before-layer": "empty-layer-3"
5826
- }, t.$attrs), null, 16, ["map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : A("", !0),
5841
+ }, t.$attrs), null, 16, ["map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : I("", !0),
5827
5842
  o.map ? (y(), O(T, N({
5828
5843
  key: 6,
5829
5844
  map: o.map,
5830
5845
  zone: (ie = a.otherLayers) == null ? void 0 : ie["eca-zones"]
5831
- }, t.$attrs), null, 16, ["map", "zone"])) : A("", !0),
5846
+ }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
5832
5847
  o.map ? (y(), O(z, N({
5833
5848
  key: 7,
5834
5849
  map: o.map,
5835
5850
  zone: (ce = a.otherLayers) == null ? void 0 : ce["war-zones"]
5836
- }, t.$attrs), null, 16, ["map", "zone"])) : A("", !0),
5851
+ }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
5837
5852
  o.map ? (y(), O(L, N({
5838
5853
  key: 8,
5839
5854
  map: o.map,
5840
5855
  area: (ue = a.otherLayers) == null ? void 0 : ue["gmdss-areas"]
5841
- }, t.$attrs), null, 16, ["map", "area"])) : A("", !0),
5856
+ }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
5842
5857
  o.map ? (y(), O(C, N({
5843
5858
  key: 9,
5844
5859
  map: o.map,
5845
5860
  show: a.checkList.includes("load-lines")
5846
- }, t.$attrs), null, 16, ["map", "show"])) : A("", !0),
5861
+ }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
5847
5862
  o.map ? (y(), O(v, N({
5848
5863
  key: 10,
5849
5864
  map: o.map,
5850
5865
  token: o.token,
5851
5866
  show: a.checkList.includes("worldMarine")
5852
- }, t.$attrs), null, 16, ["map", "token", "show"])) : A("", !0),
5853
- o.map ? (y(), O(D, N({
5867
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
5868
+ o.map ? (y(), O(A, N({
5854
5869
  key: 11,
5855
5870
  map: o.map,
5856
5871
  area: (me = a.otherLayers) == null ? void 0 : me["voluntary-reporting-area"]
5857
- }, t.$attrs), null, 16, ["map", "area"])) : A("", !0),
5872
+ }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
5858
5873
  o.map ? (y(), O(F, N({
5859
5874
  key: 12,
5860
5875
  map: o.map,
5861
5876
  area: (de = a.otherLayers) == null ? void 0 : de["special-area"]
5862
- }, t.$attrs), null, 16, ["map", "area"])) : A("", !0),
5877
+ }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
5863
5878
  o.map ? (y(), O(V, N({
5864
5879
  key: 13,
5865
5880
  map: o.map,
5866
5881
  token: o.token,
5867
5882
  show: a.checkList.includes("world12nm")
5868
- }, t.$attrs), null, 16, ["map", "token", "show"])) : A("", !0),
5883
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
5869
5884
  o.map ? (y(), O(q, N({
5870
5885
  key: 14,
5871
5886
  map: o.map,
5872
5887
  token: o.token,
5873
5888
  show: a.checkList.includes("chinaRoute")
5874
- }, t.$attrs), null, 16, ["map", "token", "show"])) : A("", !0),
5889
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
5875
5890
  o.map ? (y(), O(Z, N({
5876
5891
  key: 15,
5877
5892
  map: o.map,
5878
5893
  show: a.checkList.includes("ice-areas")
5879
- }, t.$attrs), null, 16, ["map", "show"])) : A("", !0),
5894
+ }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
5880
5895
  o.map ? (y(), O(J, N({
5881
5896
  key: 16,
5882
5897
  ref: "idmFollowPort",
@@ -5886,7 +5901,7 @@ function ul(t, e, o, i, a, r) {
5886
5901
  token: o.token,
5887
5902
  "forecast-model": o.forecastModel,
5888
5903
  realTime: o.realTime
5889
- }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : A("", !0),
5904
+ }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : I("", !0),
5890
5905
  o.map ? (y(), O(Q, N({
5891
5906
  key: 17,
5892
5907
  ref: "idmFollowPosition",
@@ -5894,7 +5909,7 @@ function ul(t, e, o, i, a, r) {
5894
5909
  show: a.checkList.includes("follow-positions"),
5895
5910
  "forecast-model": o.forecastModel,
5896
5911
  realTime: o.realTime
5897
- }, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : A("", !0)
5912
+ }, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : I("", !0)
5898
5913
  ]);
5899
5914
  }
5900
5915
  const gl = /* @__PURE__ */ Y(ol, [["render", ul]]);
@@ -6134,7 +6149,7 @@ class je {
6134
6149
  h.resolution && o.uniform2f(h.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), h.image && o.uniform1i(h.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), h.color && o.uniform1i(h.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (h.uvRange && o.uniform2f(h.uvRange, c.uvRange[0], c.uvRange[1]), h.sRange && o.uniform2f(h.sRange, c.sRange[0], c.sRange[1])), h.scale && o.uniform1f(h.scale, (c == null ? void 0 : c.scale) || 1);
6135
6150
  const b = e.getBoundPixel(), x = e.map.getZoom() + 1, _ = e.getWorldCopy(b, x);
6136
6151
  for (const f of _) {
6137
- const k = (f[0] - b[0]) * e.ratio, P = (f[1] - b[3]) * e.ratio, B = f[2] * e.ratio, [I, T, z, L] = [k, B + k, P, B + P], C = new Float32Array([I, z, T, z, I, L, I, L, T, z, T, L]);
6152
+ const k = (f[0] - b[0]) * e.ratio, P = (f[1] - b[3]) * e.ratio, B = f[2] * e.ratio, [D, T, z, L] = [k, B + k, P, B + P], C = new Float32Array([D, z, T, z, D, L, D, L, T, z, T, L]);
6138
6153
  o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6139
6154
  }
6140
6155
  } catch (h) {
@@ -6437,7 +6452,7 @@ const fl = {
6437
6452
  showCaption: !1,
6438
6453
  source: "wind-barb-source",
6439
6454
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
6440
- empty: H.featureCollection([]),
6455
+ empty: U.featureCollection([]),
6441
6456
  right: 10,
6442
6457
  bottom: 125,
6443
6458
  windBarbLoaded: !1,
@@ -6723,7 +6738,7 @@ function _l(t, e, o, i, a, r) {
6723
6738
  s("span", null, "40", -1),
6724
6739
  s("span", null, "60", -1)
6725
6740
  ]), 4)
6726
- ])) : A("", !0);
6741
+ ])) : I("", !0);
6727
6742
  }
6728
6743
  const kl = /* @__PURE__ */ Y(xl, [["render", _l]]), zl = {
6729
6744
  name: "IdmCurrent",
@@ -6757,7 +6772,7 @@ const kl = /* @__PURE__ */ Y(xl, [["render", _l]]), zl = {
6757
6772
  directionLayer: "current-direction-layer",
6758
6773
  speedLayer: "current-speed-layer",
6759
6774
  speedLabelLayer: "current-speed-label-layer",
6760
- empty: H.featureCollection([])
6775
+ empty: U.featureCollection([])
6761
6776
  };
6762
6777
  },
6763
6778
  computed: {
@@ -7060,7 +7075,7 @@ function Sl(t, e, o, i, a, r) {
7060
7075
  s("span", null, "2", -1),
7061
7076
  s("span", null, "3.2", -1)
7062
7077
  ]), 4)
7063
- ])) : A("", !0);
7078
+ ])) : I("", !0);
7064
7079
  }
7065
7080
  const Ml = /* @__PURE__ */ Y(Tl, [["render", Sl]]);
7066
7081
  const Il = {
@@ -7184,7 +7199,7 @@ function Al(t, e, o, i, a, r) {
7184
7199
  s("span", null, "6", -1),
7185
7200
  s("span", null, "9", -1)
7186
7201
  ]), 4)
7187
- ])) : A("", !0);
7202
+ ])) : I("", !0);
7188
7203
  }
7189
7204
  const Rl = /* @__PURE__ */ Y(Il, [["render", Al], ["__scopeId", "data-v-fa73c319"]]), Ol = {
7190
7205
  name: "IdmSigWaveHeight",
@@ -7210,7 +7225,7 @@ const Rl = /* @__PURE__ */ Y(Il, [["render", Al], ["__scopeId", "data-v-fa73c319
7210
7225
  source: "sig-wave-height-source",
7211
7226
  heightLayer: "sig-wave-height-layer",
7212
7227
  heightLabelLayer: "sig-wave-height-label-layer",
7213
- empty: H.featureCollection([])
7228
+ empty: U.featureCollection([])
7214
7229
  };
7215
7230
  },
7216
7231
  watch: {
@@ -7456,7 +7471,7 @@ function Fl(t, e, o, i, a, r) {
7456
7471
  s("span", null, "6", -1),
7457
7472
  s("span", null, "9", -1)
7458
7473
  ]), 4)
7459
- ])) : A("", !0);
7474
+ ])) : I("", !0);
7460
7475
  }
7461
7476
  const Hl = /* @__PURE__ */ Y(El, [["render", Fl], ["__scopeId", "data-v-d47b8b5c"]]), Ul = {
7462
7477
  name: "IdmPrmsl",
@@ -7488,7 +7503,7 @@ const Hl = /* @__PURE__ */ Y(El, [["render", Fl], ["__scopeId", "data-v-d47b8b5c
7488
7503
  layer: "prmsl-layer",
7489
7504
  labelLayer: "prmsl-label-layer",
7490
7505
  pointLabelLayer: "prmsl-point-label-layer",
7491
- empty: H.featureCollection([])
7506
+ empty: U.featureCollection([])
7492
7507
  };
7493
7508
  },
7494
7509
  watch: {
@@ -7638,7 +7653,7 @@ function Gl(t, e, o, i, a, r) {
7638
7653
  _: 1
7639
7654
  })
7640
7655
  ], 4)
7641
- ])) : A("", !0);
7656
+ ])) : I("", !0);
7642
7657
  }
7643
7658
  const Vl = /* @__PURE__ */ Y(Ul, [["render", Gl]]);
7644
7659
  const Zl = {
@@ -7760,7 +7775,7 @@ function ql(t, e, o, i, a, r) {
7760
7775
  s("span", null, "90", -1),
7761
7776
  s("span", null, null, -1)
7762
7777
  ]), 4)
7763
- ])) : A("", !0);
7778
+ ])) : I("", !0);
7764
7779
  }
7765
7780
  const Xl = /* @__PURE__ */ Y(Zl, [["render", ql]]);
7766
7781
  const Kl = {
@@ -7867,7 +7882,7 @@ function Jl(t, e, o, i, a, r) {
7867
7882
  s("span", null, "80", -1),
7868
7883
  s("span", null, "100", -1)
7869
7884
  ]), 4)
7870
- ])) : A("", !0);
7885
+ ])) : I("", !0);
7871
7886
  }
7872
7887
  const Ql = /* @__PURE__ */ Y(Kl, [["render", Jl], ["__scopeId", "data-v-dcedee39"]]);
7873
7888
  const en = {
@@ -7982,7 +7997,7 @@ function on(t, e, o, i, a, r) {
7982
7997
  s("span", null, "2", -1),
7983
7998
  s("span", null, "3", -1)
7984
7999
  ]), 4)
7985
- ])) : A("", !0);
8000
+ ])) : I("", !0);
7986
8001
  }
7987
8002
  const an = /* @__PURE__ */ Y(en, [["render", on]]);
7988
8003
  const rn = {
@@ -8099,7 +8114,7 @@ function ln(t, e, o, i, a, r) {
8099
8114
  s("span", null, "20", -1),
8100
8115
  s("span", null, "30", -1)
8101
8116
  ]), 4)
8102
- ])) : A("", !0);
8117
+ ])) : I("", !0);
8103
8118
  }
8104
8119
  const nn = /* @__PURE__ */ Y(rn, [["render", ln]]);
8105
8120
  const cn = {
@@ -8204,7 +8219,7 @@ function dn(t, e, o, i, a, r) {
8204
8219
  s("span", null, "3", -1),
8205
8220
  s("span", null, "9", -1)
8206
8221
  ]), 4)
8207
- ])) : A("", !0);
8222
+ ])) : I("", !0);
8208
8223
  }
8209
8224
  const hn = /* @__PURE__ */ Y(cn, [["render", dn]]);
8210
8225
  const pn = {
@@ -8312,7 +8327,7 @@ function gn(t, e, o, i, a, r) {
8312
8327
  s("span", null, "30", -1),
8313
8328
  s("span", null, "40", -1)
8314
8329
  ]), 4)
8315
- ])) : A("", !0);
8330
+ ])) : I("", !0);
8316
8331
  }
8317
8332
  const fn = /* @__PURE__ */ Y(pn, [["render", gn]]);
8318
8333
  const yn = {
@@ -8433,7 +8448,7 @@ function wn(t, e, o, i, a, r) {
8433
8448
  s("span", null, "30", -1),
8434
8449
  s("span", null, "40", -1)
8435
8450
  ]), 4)
8436
- ])) : A("", !0);
8451
+ ])) : I("", !0);
8437
8452
  }
8438
8453
  const xn = /* @__PURE__ */ Y(yn, [["render", wn]]);
8439
8454
  const vn = {
@@ -8456,6 +8471,10 @@ const vn = {
8456
8471
  IdmTemp: xn
8457
8472
  },
8458
8473
  props: {
8474
+ simple: {
8475
+ type: Boolean,
8476
+ default: !1
8477
+ },
8459
8478
  isLogin: {
8460
8479
  type: Boolean,
8461
8480
  default: !1
@@ -8501,7 +8520,7 @@ const vn = {
8501
8520
  type: String
8502
8521
  }
8503
8522
  },
8504
- emits: ["menuToggle", "weatherCheckList", "autoActive"],
8523
+ emits: ["forecastModel", "menuToggle", "weatherCheckList", "autoActive"],
8505
8524
  data() {
8506
8525
  return {
8507
8526
  right: 10,
@@ -8523,6 +8542,7 @@ const vn = {
8523
8542
  checkListKey: "weatherCheckListCacheGL4"
8524
8543
  },
8525
8544
  models: {},
8545
+ currentModel: localStorage.getItem("forecastModelCacheGL4") === "undefined" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
8526
8546
  zoom: 6,
8527
8547
  viewport: void 0,
8528
8548
  particleFactor: void 0,
@@ -8556,6 +8576,15 @@ const vn = {
8556
8576
  };
8557
8577
  },
8558
8578
  computed: {
8579
+ // menuStyle() {
8580
+ // if (this.simple) {
8581
+ // return { top: this.top + this.paddingTop + 46 + 'px', right: 10 + 'px' }
8582
+ // }
8583
+ // return { top: this.top + this.paddingTop + 46 + 'px', right: this.right + 'px' }
8584
+ // },
8585
+ listStyle() {
8586
+ return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px" };
8587
+ },
8559
8588
  computeDateZ() {
8560
8589
  return function(t) {
8561
8590
  var e;
@@ -8595,10 +8624,16 @@ const vn = {
8595
8624
  handler() {
8596
8625
  this.toggle = this.menuToggle.weatherLayers, this.$nextTick(() => {
8597
8626
  var t;
8598
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
8627
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
8599
8628
  });
8600
8629
  }
8601
8630
  },
8631
+ currentModel: {
8632
+ handler(t, e) {
8633
+ t && t !== e && (this.$emit("forecastModel", t), localStorage.setItem("forecastModelCacheGL4", t));
8634
+ },
8635
+ immediate: !0
8636
+ },
8602
8637
  forecastModel: {
8603
8638
  handler(t, e) {
8604
8639
  t && t !== e && this.handleWeatherLayerChange({ sourceChanged: !0 });
@@ -8710,15 +8745,15 @@ const vn = {
8710
8745
  const _ = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), k = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
8711
8746
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
8712
8747
  const P = Co.WEATHER_LAYERS.find((B) => {
8713
- var I;
8714
- return ((I = B.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
8748
+ var D;
8749
+ return ((D = B.peer) == null ? void 0 : D.weight) === this.particleFactor.weight;
8715
8750
  });
8716
8751
  this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight : this.weatherWeight + P.weight : this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight - P.weight : this.weatherWeight;
8717
8752
  }
8718
8753
  if (this.weatherWeight > 0) {
8719
8754
  let P = this.weatherWeight;
8720
8755
  if (P > 0) {
8721
- const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await De.get(
8756
+ const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], D = await De.get(
8722
8757
  `${B}/api/arc/weather/layers2/links?l=${P}&v=${this.forecastModel}&z=${_}&bbox=${k}&t=${this.realTime}`,
8723
8758
  {
8724
8759
  headers: {
@@ -8726,8 +8761,8 @@ const vn = {
8726
8761
  }
8727
8762
  }
8728
8763
  );
8729
- if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
8730
- const T = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, z = [];
8764
+ if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((c = D == null ? void 0 : D.data) == null ? void 0 : c.code) === 0) {
8765
+ const T = (n = D == null ? void 0 : D.data) == null ? void 0 : n.data, z = [];
8731
8766
  for (const C in T)
8732
8767
  z.push(
8733
8768
  De.get(T[C], {
@@ -8744,11 +8779,11 @@ const vn = {
8744
8779
  this.weatherLayers = {}, L.map((C) => {
8745
8780
  var F, V, q, Z;
8746
8781
  const v = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8747
- let D = (q = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : q.key;
8748
- D && v && (this.weatherLayers[D] = {
8782
+ let A = (q = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : q.key;
8783
+ A && v && (this.weatherLayers[A] = {
8749
8784
  raw: v,
8750
8785
  type: ((Z = C == null ? void 0 : C.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8751
- etime: I.data.etime
8786
+ etime: D.data.etime
8752
8787
  });
8753
8788
  });
8754
8789
  }
@@ -8758,7 +8793,7 @@ const vn = {
8758
8793
  type: "json",
8759
8794
  direction: T,
8760
8795
  height: { raw: z },
8761
- etime: I.data.etime
8796
+ etime: D.data.etime
8762
8797
  };
8763
8798
  }
8764
8799
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
@@ -8767,7 +8802,7 @@ const vn = {
8767
8802
  type: "json",
8768
8803
  direction: T,
8769
8804
  speed: { raw: z },
8770
- etime: I.data.etime
8805
+ etime: D.data.etime
8771
8806
  };
8772
8807
  }
8773
8808
  }
@@ -8832,46 +8867,46 @@ const vn = {
8832
8867
  for (const P in this.weatherLayers) {
8833
8868
  let B = !1;
8834
8869
  if (this.weatherLayers[P].active && this.weatherLayers[P].type === "json") {
8835
- let I = [];
8870
+ let D = [];
8836
8871
  if (P === "swell") {
8837
8872
  B = !0;
8838
8873
  const T = ((c = this.weatherLayers[P]) == null ? void 0 : c.direction) || {};
8839
8874
  for (const L in T)
8840
8875
  if (L > f && L < k && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8841
8876
  const C = T[L].lng;
8842
- x > _ ? C.forEach((v, D) => {
8877
+ x > _ ? C.forEach((v, A) => {
8843
8878
  var F, V, q, Z, J, Q;
8844
8879
  if (a < 2) {
8845
8880
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8846
- const K = H.point([v, L], {
8847
- val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8848
- spd: (q = T[L].spd) == null ? void 0 : q[D]
8881
+ const $ = U.point([v, L], {
8882
+ val: ((F = T[L].val) == null ? void 0 : F[A]) || ((V = T[L].dir) == null ? void 0 : V[A]),
8883
+ spd: (q = T[L].spd) == null ? void 0 : q[A]
8849
8884
  });
8850
- I.push(K);
8885
+ D.push($);
8851
8886
  }
8852
8887
  } else if ((v >= x && v <= 180 || v >= -180 && v <= _) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8853
- const K = H.point([v, L], {
8854
- val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8855
- spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8888
+ const $ = U.point([v, L], {
8889
+ val: ((Z = T[L].val) == null ? void 0 : Z[A]) || ((J = T[L].dir) == null ? void 0 : J[A]),
8890
+ spd: (Q = T[L].spd) == null ? void 0 : Q[A]
8856
8891
  });
8857
- I.push(K);
8892
+ D.push($);
8858
8893
  }
8859
- }) : C.forEach((v, D) => {
8894
+ }) : C.forEach((v, A) => {
8860
8895
  var F, V, q, Z, J, Q;
8861
8896
  if (x < 2) {
8862
8897
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8863
- const K = H.point([v, L], {
8864
- val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8865
- spd: (q = T[L].spd) == null ? void 0 : q[D]
8898
+ const $ = U.point([v, L], {
8899
+ val: ((F = T[L].val) == null ? void 0 : F[A]) || ((V = T[L].dir) == null ? void 0 : V[A]),
8900
+ spd: (q = T[L].spd) == null ? void 0 : q[A]
8866
8901
  });
8867
- I.push(K);
8902
+ D.push($);
8868
8903
  }
8869
8904
  } else if (v >= x && v <= _ && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8870
- const K = H.point([v, L], {
8871
- val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8872
- spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8905
+ const $ = U.point([v, L], {
8906
+ val: ((Z = T[L].val) == null ? void 0 : Z[A]) || ((J = T[L].dir) == null ? void 0 : J[A]),
8907
+ spd: (Q = T[L].spd) == null ? void 0 : Q[A]
8873
8908
  });
8874
- I.push(K);
8909
+ D.push($);
8875
8910
  }
8876
8911
  });
8877
8912
  }
@@ -8882,18 +8917,18 @@ const vn = {
8882
8917
  const L = [];
8883
8918
  for (const C in (n = z.raw) == null ? void 0 : n.LineString) {
8884
8919
  const v = z.raw.LineString[C];
8885
- for (const D of v)
8920
+ for (const A of v)
8886
8921
  L.push(
8887
- H.lineString(D, {
8922
+ U.lineString(A, {
8888
8923
  val: Number(C)
8889
8924
  })
8890
8925
  );
8891
- z.data = H.featureCollection(L);
8926
+ z.data = U.featureCollection(L);
8892
8927
  }
8893
8928
  }
8894
8929
  if (z.data) {
8895
8930
  const L = this.handleBboxClip(z.data, i);
8896
- I = I.concat(L);
8931
+ D = D.concat(L);
8897
8932
  }
8898
8933
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
8899
8934
  }
@@ -8903,39 +8938,39 @@ const vn = {
8903
8938
  for (const L in T)
8904
8939
  if (L > f && L < k && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8905
8940
  const C = T[L].lng;
8906
- x > _ ? C.forEach((v, D) => {
8941
+ x > _ ? C.forEach((v, A) => {
8907
8942
  var F, V, q, Z, J, Q;
8908
8943
  if (a < 2) {
8909
8944
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8910
- const K = H.point([v, L], {
8911
- val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8912
- spd: (q = T[L].spd) == null ? void 0 : q[D]
8945
+ const $ = U.point([v, L], {
8946
+ val: ((F = T[L].val) == null ? void 0 : F[A]) || ((V = T[L].dir) == null ? void 0 : V[A]),
8947
+ spd: (q = T[L].spd) == null ? void 0 : q[A]
8913
8948
  });
8914
- I.push(K);
8949
+ D.push($);
8915
8950
  }
8916
8951
  } else if ((v >= x && v <= 180 || v >= -180 && v <= _) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8917
- const K = H.point([v, L], {
8918
- val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8919
- spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8952
+ const $ = U.point([v, L], {
8953
+ val: ((Z = T[L].val) == null ? void 0 : Z[A]) || ((J = T[L].dir) == null ? void 0 : J[A]),
8954
+ spd: (Q = T[L].spd) == null ? void 0 : Q[A]
8920
8955
  });
8921
- I.push(K);
8956
+ D.push($);
8922
8957
  }
8923
- }) : C.forEach((v, D) => {
8958
+ }) : C.forEach((v, A) => {
8924
8959
  var F, V, q, Z, J, Q;
8925
8960
  if (x < 2) {
8926
8961
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8927
- const K = H.point([v, L], {
8928
- val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8929
- spd: (q = T[L].spd) == null ? void 0 : q[D]
8962
+ const $ = U.point([v, L], {
8963
+ val: ((F = T[L].val) == null ? void 0 : F[A]) || ((V = T[L].dir) == null ? void 0 : V[A]),
8964
+ spd: (q = T[L].spd) == null ? void 0 : q[A]
8930
8965
  });
8931
- I.push(K);
8966
+ D.push($);
8932
8967
  }
8933
8968
  } else if (v >= x && v <= _ && (!(a <= this.zoom) || v % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8934
- const K = H.point([v, L], {
8935
- val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8936
- spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8969
+ const $ = U.point([v, L], {
8970
+ val: ((Z = T[L].val) == null ? void 0 : Z[A]) || ((J = T[L].dir) == null ? void 0 : J[A]),
8971
+ spd: (Q = T[L].spd) == null ? void 0 : Q[A]
8937
8972
  });
8938
- I.push(K);
8973
+ D.push($);
8939
8974
  }
8940
8975
  });
8941
8976
  }
@@ -8945,18 +8980,18 @@ const vn = {
8945
8980
  if (!z.data) {
8946
8981
  const C = [];
8947
8982
  for (const v in (h = z.raw) == null ? void 0 : h.Polygon) {
8948
- const D = z.raw.Polygon[v];
8949
- for (const F of D)
8983
+ const A = z.raw.Polygon[v];
8984
+ for (const F of A)
8950
8985
  C.push(
8951
- H.polygon(F, {
8986
+ U.polygon(F, {
8952
8987
  val: Number(v)
8953
8988
  })
8954
8989
  );
8955
8990
  }
8956
- z.data = H.featureCollection(C);
8991
+ z.data = U.featureCollection(C);
8957
8992
  }
8958
8993
  const L = a < this.zoom ? z.data.features.filter((C) => C.properties.val > 0.5) : z.data.features;
8959
- I = I.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8994
+ D = D.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8960
8995
  }
8961
8996
  } else if (P === "wind") {
8962
8997
  B = !0;
@@ -8965,45 +9000,45 @@ const vn = {
8965
9000
  if (z > f && z < k && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8966
9001
  const L = T[z].lng;
8967
9002
  x > _ ? L.forEach((C, v) => {
8968
- var D, F, V, q;
9003
+ var A, F, V, q;
8969
9004
  if (a < 2) {
8970
9005
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8971
- const Z = H.point([C, z], {
8972
- dir: ((D = T[z].val) == null ? void 0 : D[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
9006
+ const Z = U.point([C, z], {
9007
+ dir: ((A = T[z].val) == null ? void 0 : A[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
8973
9008
  spd: T[z].spd[v]
8974
9009
  });
8975
- I.push(Z);
9010
+ D.push(Z);
8976
9011
  }
8977
9012
  } else if ((C >= x && C <= 180 || C >= -180 && C <= _) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8978
- const Z = H.point([C, z], {
9013
+ const Z = U.point([C, z], {
8979
9014
  dir: ((V = T[z].val) == null ? void 0 : V[v]) || ((q = T[z].dir) == null ? void 0 : q[v]),
8980
9015
  spd: T[z].spd[v]
8981
9016
  });
8982
- I.push(Z);
9017
+ D.push(Z);
8983
9018
  }
8984
9019
  }) : L.forEach((C, v) => {
8985
- var D, F, V, q;
9020
+ var A, F, V, q;
8986
9021
  if (a < 2) {
8987
9022
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8988
- const Z = H.point([C, z], {
8989
- dir: ((D = T[z].val) == null ? void 0 : D[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
9023
+ const Z = U.point([C, z], {
9024
+ dir: ((A = T[z].val) == null ? void 0 : A[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
8990
9025
  spd: T[z].spd[v]
8991
9026
  });
8992
- I.push(Z);
9027
+ D.push(Z);
8993
9028
  }
8994
9029
  } else if (C >= x && C <= _ && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8995
- const Z = H.point([C, z], {
9030
+ const Z = U.point([C, z], {
8996
9031
  dir: ((V = T[z].val) == null ? void 0 : V[v]) || ((q = T[z].dir) == null ? void 0 : q[v]),
8997
9032
  spd: T[z].spd[v]
8998
9033
  });
8999
- I.push(Z);
9034
+ D.push(Z);
9000
9035
  }
9001
9036
  });
9002
9037
  }
9003
9038
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
9004
9039
  } else if (P === "sig-wave-height") {
9005
9040
  if (this.weatherLayers[P].data)
9006
- I = this.weatherLayers[P].data;
9041
+ D = this.weatherLayers[P].data;
9007
9042
  else {
9008
9043
  B = !0;
9009
9044
  const T = this.weatherLayers[P].raw;
@@ -9013,7 +9048,7 @@ const vn = {
9013
9048
  const C = T.Polygon[L];
9014
9049
  for (const v of C)
9015
9050
  z.push(
9016
- H.polygon(v, {
9051
+ U.polygon(v, {
9017
9052
  val: Number(L)
9018
9053
  })
9019
9054
  );
@@ -9022,7 +9057,7 @@ const vn = {
9022
9057
  const C = T.MultiPolygon[L];
9023
9058
  for (const v of C)
9024
9059
  z.push(
9025
- H.multiPolygon(v, {
9060
+ U.multiPolygon(v, {
9026
9061
  val: Number(L)
9027
9062
  })
9028
9063
  );
@@ -9031,18 +9066,18 @@ const vn = {
9031
9066
  const C = T.Point[L];
9032
9067
  for (let v = 0; v < ((b = C.lng) == null ? void 0 : b.length); v++)
9033
9068
  z.push(
9034
- H.point([C.lng[v], L], {
9069
+ U.point([C.lng[v], L], {
9035
9070
  val: Number(C.val[v])
9036
9071
  })
9037
9072
  );
9038
9073
  }
9039
- I = I.concat(z);
9074
+ D = D.concat(z);
9040
9075
  }
9041
9076
  }
9042
9077
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
9043
9078
  } else if (P === "prmsl") {
9044
9079
  if (this.weatherLayers[P].data)
9045
- I = this.weatherLayers[P].data;
9080
+ D = this.weatherLayers[P].data;
9046
9081
  else {
9047
9082
  B = !0;
9048
9083
  const T = this.weatherLayers[P].raw;
@@ -9052,7 +9087,7 @@ const vn = {
9052
9087
  const C = T.LineString[L];
9053
9088
  for (const v of C)
9054
9089
  z.push(
9055
- H.lineString(v, {
9090
+ U.lineString(v, {
9056
9091
  val: Number(L)
9057
9092
  })
9058
9093
  );
@@ -9060,18 +9095,18 @@ const vn = {
9060
9095
  for (const L in T.Point)
9061
9096
  T.Point[L].lng.forEach((C, v) => {
9062
9097
  C = X.convertToStdLng(C), z.push(
9063
- H.point([C, L], {
9098
+ U.point([C, L], {
9064
9099
  val: T.Point[L].val[v],
9065
9100
  type: T.Point[L].type[v]
9066
9101
  })
9067
9102
  );
9068
9103
  });
9069
- I = I.concat(z);
9104
+ D = D.concat(z);
9070
9105
  }
9071
9106
  }
9072
9107
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
9073
9108
  }
9074
- I.length && (this.weatherLayers[P].data = H.featureCollection(I)), B && (this.weatherLayers[P].version = Math.random() + 1);
9109
+ D.length && (this.weatherLayers[P].data = U.featureCollection(D)), B && (this.weatherLayers[P].version = Math.random() + 1);
9075
9110
  }
9076
9111
  }
9077
9112
  }
@@ -9086,10 +9121,10 @@ const vn = {
9086
9121
  return t.features.forEach((r) => {
9087
9122
  if (r.geometry.type !== "Point")
9088
9123
  if (i > a) {
9089
- let l = [i, e._sw.lat, 180, e._ne.lat], c = H.bboxClip(r, l);
9090
- c.geometry.coordinates.length && o.push(c), l = [-180, e._sw.lat, a, e._ne.lat], c = H.bboxClip(r, l), c.geometry.coordinates.length && o.push(c);
9124
+ let l = [i, e._sw.lat, 180, e._ne.lat], c = U.bboxClip(r, l);
9125
+ c.geometry.coordinates.length && o.push(c), l = [-180, e._sw.lat, a, e._ne.lat], c = U.bboxClip(r, l), c.geometry.coordinates.length && o.push(c);
9091
9126
  } else {
9092
- const l = [i, e._sw.lat, a, e._ne.lat], c = H.bboxClip(r, l);
9127
+ const l = [i, e._sw.lat, a, e._ne.lat], c = U.bboxClip(r, l);
9093
9128
  c.geometry.coordinates.length && o.push(c);
9094
9129
  }
9095
9130
  else
@@ -9106,38 +9141,41 @@ const vn = {
9106
9141
  }, Cn = { class: "text-caption px-2" }, Sn = { class: "d-flex flex-row justify-start align-center" }, Mn = {
9107
9142
  class: "d-flex flex-row justify-center align-center",
9108
9143
  style: { width: "40px" }
9109
- }, In = { class: "text-caption px-2" }, Dn = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, An = { class: "d-flex justify-start align-center ga-3" }, Rn = { class: "text-h5 font-weight-medium" }, On = {
9144
+ }, In = { class: "text-caption px-2" }, Dn = { class: "header-box d-flex justify-space-between align-center px-4" }, An = { class: "d-flex justify-start align-center ga-3" }, Rn = { class: "text-h5 font-weight-medium" }, On = {
9110
9145
  key: 0,
9111
- class: "d-flex justify-start align-center ga-4 pl-6"
9146
+ class: "w-100 d-flex justify-space-between align-center ga-1 mb-1 px-4"
9112
9147
  }, Bn = {
9148
+ key: 0,
9149
+ class: "d-flex justify-start align-center ga-4 pl-6"
9150
+ }, Nn = {
9113
9151
  key: 1,
9114
9152
  class: "d-flex justify-start align-center ga-4 pl-6"
9115
- }, Nn = { class: "text-body-1 py-2" }, En = { class: "text-body-1 font-weight-medium" }, jn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 font-weight-medium" }, Wn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 py-2" }, Yn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Xn = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label mb-3" }, $n = { class: "text-body-1 font-weight-medium" }, Jn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label mb-3" }, tc = { class: "text-body-1 py-2" }, oc = { class: "text-body-1 font-weight-medium" }, ac = { class: "text-body-2 text-label" }, ic = { class: "text-body-2 text-label" }, rc = { class: "text-body-2 text-label mb-3" };
9116
- function sc(t, e, o, i, a, r) {
9153
+ }, En = { class: "text-body-1 py-2" }, jn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label" }, Un = { class: "text-body-2 text-label mb-3" }, Wn = { class: "text-body-1 font-weight-medium" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label" }, Zn = { class: "text-body-2 text-label mb-3" }, Yn = { class: "text-body-1 py-2" }, qn = { class: "text-body-1 font-weight-medium" }, Xn = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label" }, $n = { class: "text-body-2 text-label mb-3" }, Jn = { class: "text-body-1 font-weight-medium" }, Qn = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label" }, tc = { class: "text-body-2 text-label mb-3" }, oc = { class: "text-body-1 py-2" }, ac = { class: "text-body-1 font-weight-medium" }, ic = { class: "text-body-2 text-label" }, rc = { class: "text-body-2 text-label" }, sc = { class: "text-body-2 text-label mb-3" };
9154
+ function lc(t, e, o, i, a, r) {
9117
9155
  var pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te;
9118
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), _ = w("VSwitch"), f = w("VCardTitle"), k = w("VCardItem"), P = w("VCheckbox"), B = w("VRadio"), I = w("VBtnToggle"), T = w("IdmWindBarb"), z = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), C = w("IdmPrmsl"), v = w("IdmWindParticle"), D = w("IdmCurrentParticle"), F = w("IdmWave"), V = w("IdmSwell"), q = w("IdmIceEdge"), Z = w("IdmIceCover"), J = w("IdmIceThickness"), Q = w("IdmPrecip3h"), K = w("IdmVisibility"), se = w("IdmWaterTemp"), le = w("IdmTemp");
9156
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), _ = w("VSwitch"), f = w("VBtnToggle"), k = w("VCardTitle"), P = w("VCardItem"), B = w("VCheckbox"), D = w("VRadio"), T = w("IdmWindBarb"), z = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), C = w("IdmPrmsl"), v = w("IdmWindParticle"), A = w("IdmCurrentParticle"), F = w("IdmWave"), V = w("IdmSwell"), q = w("IdmIceEdge"), Z = w("IdmIceCover"), J = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), se = w("IdmWaterTemp"), le = w("IdmTemp");
9119
9157
  return y(), M("div", _n, [
9120
9158
  s("div", {
9121
9159
  class: "menu-bar-box transition pa-1",
9122
- style: ee({ top: o.top + o.paddingTop + 46 + "px", right: a.right + "px" })
9160
+ style: ee({ top: this.top + this.paddingTop + 46 + "px", right: this.right + "px" })
9123
9161
  }, [
9124
9162
  p(c, {
9125
9163
  text: t.$t("weather.weatherLayers"),
9126
9164
  location: "left"
9127
9165
  }, {
9128
- activator: g(({ props: U }) => [
9129
- p(l, N(U, {
9166
+ activator: g(({ props: H }) => [
9167
+ p(l, N(H, {
9130
9168
  "min-width": "32",
9131
9169
  width: "32",
9132
9170
  height: "32",
9133
9171
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
9134
9172
  onClick: r.handleMenuToggle
9135
9173
  }), {
9136
- default: g(() => e[8] || (e[8] = [
9174
+ default: g(() => e[9] || (e[9] = [
9137
9175
  s("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
9138
9176
  ])),
9139
9177
  _: 2,
9140
- __: [8]
9178
+ __: [9]
9141
9179
  }, 1040, ["class", "onClick"])
9142
9180
  ]),
9143
9181
  _: 1
@@ -9152,19 +9190,19 @@ function sc(t, e, o, i, a, r) {
9152
9190
  text: "Legend",
9153
9191
  location: "left"
9154
9192
  }, {
9155
- activator: g(({ props: U }) => [
9156
- p(l, N(U, {
9193
+ activator: g(({ props: H }) => [
9194
+ p(l, N(H, {
9157
9195
  "min-width": "32",
9158
9196
  width: "32",
9159
9197
  height: "32",
9160
9198
  class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
9161
9199
  onClick: e[0] || (e[0] = (oe) => a.legendToggle = !a.legendToggle)
9162
9200
  }), {
9163
- default: g(() => e[9] || (e[9] = [
9201
+ default: g(() => e[10] || (e[10] = [
9164
9202
  s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9165
9203
  ])),
9166
9204
  _: 2,
9167
- __: [9]
9205
+ __: [10]
9168
9206
  }, 1040, ["class"])
9169
9207
  ]),
9170
9208
  _: 1
@@ -9180,11 +9218,11 @@ function sc(t, e, o, i, a, r) {
9180
9218
  default: g(() => [
9181
9219
  p(h, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9182
9220
  default: g(() => [
9183
- e[10] || (e[10] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
9221
+ e[11] || (e[11] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
9184
9222
  p(u, { class: "ma-0 ml-n1 text-body-2" }, {
9185
9223
  default: g(() => [
9186
- (y(!0), M(we, null, _e(a.legend.barbs, (U, oe) => (y(), O(n, {
9187
- key: U,
9224
+ (y(!0), M(we, null, _e(a.legend.barbs, (H, oe) => (y(), O(n, {
9225
+ key: H,
9188
9226
  cols: "6",
9189
9227
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9190
9228
  }, {
@@ -9194,7 +9232,7 @@ function sc(t, e, o, i, a, r) {
9194
9232
  class: Ye(["iconfont", r.barbsIconName[oe]]),
9195
9233
  style: ee({ color: o.theme === "dark" ? "#fff" : "#000" })
9196
9234
  }, null, 6),
9197
- s("span", Ln, m(Number(U) < 10 ? `00${U}kts` : Number(U) < 100 ? `0${U}kts` : `${U}kts`), 1)
9235
+ s("span", Ln, m(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
9198
9236
  ])
9199
9237
  ]),
9200
9238
  _: 2
@@ -9204,18 +9242,18 @@ function sc(t, e, o, i, a, r) {
9204
9242
  })
9205
9243
  ]),
9206
9244
  _: 1,
9207
- __: [10]
9245
+ __: [11]
9208
9246
  }),
9209
9247
  p(b, { vertical: "" }),
9210
9248
  p(h, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9211
9249
  default: g(() => [
9212
- e[11] || (e[11] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
9250
+ e[12] || (e[12] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
9213
9251
  p(u, {
9214
9252
  class: "ma-0 ml-1",
9215
9253
  style: { width: "100px" }
9216
9254
  }, {
9217
9255
  default: g(() => [
9218
- (y(!0), M(we, null, _e(a.legend.sigWaveHeight, (U, oe) => (y(), O(n, {
9256
+ (y(!0), M(we, null, _e(a.legend.sigWaveHeight, (H, oe) => (y(), O(n, {
9219
9257
  key: oe,
9220
9258
  cols: "12",
9221
9259
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -9224,9 +9262,9 @@ function sc(t, e, o, i, a, r) {
9224
9262
  s("div", Pn, [
9225
9263
  oe === 0 ? (y(), M("div", Tn)) : (y(), M("div", {
9226
9264
  key: 1,
9227
- style: ee({ width: "24px", height: "12px", background: U.color })
9265
+ style: ee({ width: "24px", height: "12px", background: H.color })
9228
9266
  }, null, 4)),
9229
- s("div", Cn, m(U.label), 1)
9267
+ s("div", Cn, m(H.label), 1)
9230
9268
  ])
9231
9269
  ]),
9232
9270
  _: 2
@@ -9236,18 +9274,18 @@ function sc(t, e, o, i, a, r) {
9236
9274
  })
9237
9275
  ]),
9238
9276
  _: 1,
9239
- __: [11]
9277
+ __: [12]
9240
9278
  }),
9241
9279
  p(b, { vertical: "" }),
9242
9280
  p(h, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9243
9281
  default: g(() => [
9244
- e[12] || (e[12] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
9282
+ e[13] || (e[13] = s("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
9245
9283
  p(u, {
9246
9284
  class: "ma-0 ml-n5",
9247
9285
  style: { width: "110px" }
9248
9286
  }, {
9249
9287
  default: g(() => [
9250
- (y(!0), M(we, null, _e(a.legend.current, (U, oe) => (y(), O(n, {
9288
+ (y(!0), M(we, null, _e(a.legend.current, (H, oe) => (y(), O(n, {
9251
9289
  key: oe,
9252
9290
  cols: "12",
9253
9291
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
@@ -9257,10 +9295,10 @@ function sc(t, e, o, i, a, r) {
9257
9295
  s("div", Mn, [
9258
9296
  s("i", {
9259
9297
  class: "iconfont icon-a-direction-arrow opacity-80",
9260
- style: ee({ fontSize: 40 * U.size + "px" })
9298
+ style: ee({ fontSize: 40 * H.size + "px" })
9261
9299
  }, null, 4)
9262
9300
  ]),
9263
- s("div", In, m(U.label), 1)
9301
+ s("div", In, m(H.label), 1)
9264
9302
  ])
9265
9303
  ]),
9266
9304
  _: 2
@@ -9270,22 +9308,22 @@ function sc(t, e, o, i, a, r) {
9270
9308
  })
9271
9309
  ]),
9272
9310
  _: 1,
9273
- __: [12]
9311
+ __: [13]
9274
9312
  })
9275
9313
  ]),
9276
9314
  _: 1
9277
- }, 8, ["style"])) : A("", !0)
9278
- ])) : A("", !0),
9315
+ }, 8, ["style"])) : I("", !0)
9316
+ ])) : I("", !0),
9279
9317
  s("div", {
9280
9318
  class: Ye(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
9281
- style: ee({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
9319
+ style: ee(r.listStyle)
9282
9320
  }, [
9283
9321
  s("div", Dn, [
9284
9322
  s("div", An, [
9285
9323
  s("div", Rn, m(t.$t("weather.weather")), 1),
9286
9324
  p(_, {
9287
9325
  modelValue: a.autoActive,
9288
- "onUpdate:modelValue": e[1] || (e[1] = (U) => a.autoActive = U),
9326
+ "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
9289
9327
  class: "small-switch",
9290
9328
  color: "primary",
9291
9329
  "base-color": "disabled",
@@ -9300,13 +9338,56 @@ function sc(t, e, o, i, a, r) {
9300
9338
  class: "mr-n2",
9301
9339
  onClick: r.handleMenuToggle
9302
9340
  }, {
9303
- default: g(() => e[13] || (e[13] = [
9341
+ default: g(() => e[14] || (e[14] = [
9304
9342
  s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
9305
9343
  ])),
9306
9344
  _: 1,
9307
- __: [13]
9345
+ __: [14]
9308
9346
  }, 8, ["onClick"])
9309
9347
  ]),
9348
+ o.simple ? (y(), M("div", On, [
9349
+ s("div", null, m(t.$t("weather.forecastModel")), 1),
9350
+ p(f, {
9351
+ modelValue: a.currentModel,
9352
+ "onUpdate:modelValue": e[2] || (e[2] = (H) => a.currentModel = H),
9353
+ rounded: "",
9354
+ height: "30",
9355
+ density: "compact",
9356
+ group: ""
9357
+ }, {
9358
+ default: g(() => [
9359
+ p(l, {
9360
+ density: "compact",
9361
+ height: "30",
9362
+ value: "GFS",
9363
+ class: "text-none btn-bg-1",
9364
+ color: a.currentModel === "GFS" ? "primary" : "",
9365
+ "base-color": ""
9366
+ }, {
9367
+ default: g(() => e[15] || (e[15] = [
9368
+ K("NOAA", -1)
9369
+ ])),
9370
+ _: 1,
9371
+ __: [15]
9372
+ }, 8, ["color"]),
9373
+ p(l, {
9374
+ density: "compact",
9375
+ height: "30",
9376
+ class: "text-none btn-bg-1",
9377
+ color: a.currentModel === "ECMWF" ? "primary" : "",
9378
+ "base-color": "",
9379
+ value: "ECMWF"
9380
+ }, {
9381
+ default: g(() => e[16] || (e[16] = [
9382
+ K("ECMWF", -1)
9383
+ ])),
9384
+ _: 1,
9385
+ __: [16]
9386
+ }, 8, ["color"])
9387
+ ]),
9388
+ _: 1
9389
+ }, 8, ["modelValue"])
9390
+ ])) : I("", !0),
9310
9391
  s("div", {
9311
9392
  class: Ye(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
9312
9393
  }, [
@@ -9315,14 +9396,14 @@ function sc(t, e, o, i, a, r) {
9315
9396
  elevation: "0"
9316
9397
  }, {
9317
9398
  default: g(() => [
9318
- p(k, { class: "border-b-thin" }, {
9399
+ p(P, { class: "border-b-thin" }, {
9319
9400
  default: g(() => [
9320
- p(f, {
9401
+ p(k, {
9321
9402
  class: "text-subtitle-1 font-weight-medium",
9322
9403
  style: { "font-size": "16px !important" }
9323
9404
  }, {
9324
9405
  default: g(() => [
9325
- $(m(t.$t("weather.overlays")), 1)
9406
+ K(m(t.$t("weather.overlays")), 1)
9326
9407
  ]),
9327
9408
  _: 1
9328
9409
  })
@@ -9331,12 +9412,12 @@ function sc(t, e, o, i, a, r) {
9331
9412
  }),
9332
9413
  p(h, { class: "py-2" }, {
9333
9414
  default: g(() => [
9334
- (y(!0), M(we, null, _e(a.tagLayers.filter((U) => U.overlays), (U) => (y(), O(P, {
9335
- key: U.key,
9415
+ (y(!0), M(we, null, _e(a.tagLayers.filter((H) => H.overlays), (H) => (y(), O(B, {
9416
+ key: H.key,
9336
9417
  modelValue: a.checkList,
9337
- "onUpdate:modelValue": e[2] || (e[2] = (oe) => a.checkList = oe),
9338
- value: U.key,
9339
- label: t.$t(`weather.${U.locale}`),
9418
+ "onUpdate:modelValue": e[3] || (e[3] = (oe) => a.checkList = oe),
9419
+ value: H.key,
9420
+ label: t.$t(`weather.${H.locale}`),
9340
9421
  disabled: !a.autoActive,
9341
9422
  color: "primary",
9342
9423
  density: "compact",
@@ -9355,14 +9436,14 @@ function sc(t, e, o, i, a, r) {
9355
9436
  elevation: "0"
9356
9437
  }, {
9357
9438
  default: g(() => [
9358
- p(k, { class: "border-b-thin" }, {
9439
+ p(P, { class: "border-b-thin" }, {
9359
9440
  default: g(() => [
9360
- p(f, {
9441
+ p(k, {
9361
9442
  class: "text-subtitle-1 font-weight-medium",
9362
9443
  style: { "font-size": "16px !important" }
9363
9444
  }, {
9364
9445
  default: g(() => [
9365
- $(m(t.$t("weather.renders")), 1)
9446
+ K(m(t.$t("weather.renders")), 1)
9366
9447
  ]),
9367
9448
  _: 1
9368
9449
  })
@@ -9371,27 +9452,27 @@ function sc(t, e, o, i, a, r) {
9371
9452
  }),
9372
9453
  p(h, { class: "py-2" }, {
9373
9454
  default: g(() => [
9374
- (y(!0), M(we, null, _e(a.tagLayers.filter((U) => !U.overlays), (U) => (y(), M(we, {
9375
- key: U.key
9455
+ (y(!0), M(we, null, _e(a.tagLayers.filter((H) => !H.overlays), (H) => (y(), M(we, {
9456
+ key: H.key
9376
9457
  }, [
9377
- p(B, {
9458
+ p(D, {
9378
9459
  modelValue: a.renderKey,
9379
- "onUpdate:modelValue": e[3] || (e[3] = (oe) => a.renderKey = oe),
9380
- label: t.$t(`weather.${U.locale}`),
9381
- value: U.key,
9460
+ "onUpdate:modelValue": e[4] || (e[4] = (oe) => a.renderKey = oe),
9461
+ label: t.$t(`weather.${H.locale}`),
9462
+ value: H.key,
9382
9463
  disabled: !a.autoActive,
9383
9464
  color: "primary",
9384
9465
  density: "compact",
9385
9466
  style: { height: "36px" },
9386
9467
  class: "text-body-2 py-1",
9387
9468
  "hide-details": "",
9388
- onClick: (oe) => a.renderKey = a.renderKey === U.key ? "" : U.key
9469
+ onClick: (oe) => a.renderKey = a.renderKey === H.key ? "" : H.key
9389
9470
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9390
- a.renderKey === "wind-particle" && U.key === "wind-particle" ? (y(), M("div", On, [
9471
+ a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", Bn, [
9391
9472
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9392
9473
  p(_, {
9393
9474
  modelValue: a.showWindParticle,
9394
- "onUpdate:modelValue": e[4] || (e[4] = (oe) => a.showWindParticle = oe),
9475
+ "onUpdate:modelValue": e[5] || (e[5] = (oe) => a.showWindParticle = oe),
9395
9476
  label: "",
9396
9477
  class: "small-switch",
9397
9478
  color: "primary",
@@ -9401,12 +9482,12 @@ function sc(t, e, o, i, a, r) {
9401
9482
  style: { "font-size": "14px" },
9402
9483
  "hide-details": ""
9403
9484
  }, null, 8, ["modelValue"])
9404
- ])) : A("", !0),
9405
- a.renderKey === "current-particle" && U.key === "current-particle" ? (y(), M("div", Bn, [
9485
+ ])) : I("", !0),
9486
+ a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", Nn, [
9406
9487
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9407
9488
  p(_, {
9408
9489
  modelValue: a.showCurrentParticle,
9409
- "onUpdate:modelValue": e[5] || (e[5] = (oe) => a.showCurrentParticle = oe),
9490
+ "onUpdate:modelValue": e[6] || (e[6] = (oe) => a.showCurrentParticle = oe),
9410
9491
  label: "",
9411
9492
  class: "small-switch",
9412
9493
  color: "primary",
@@ -9416,11 +9497,11 @@ function sc(t, e, o, i, a, r) {
9416
9497
  height: "20",
9417
9498
  "hide-details": ""
9418
9499
  }, null, 8, ["modelValue"])
9419
- ])) : A("", !0),
9420
- a.renderKey === "wave-group" && U.key === "wave-group" ? (y(), O(I, {
9500
+ ])) : I("", !0),
9501
+ a.renderKey === "wave-group" && H.key === "wave-group" ? (y(), O(f, {
9421
9502
  key: 2,
9422
9503
  modelValue: a.waveToggleValue,
9423
- "onUpdate:modelValue": e[6] || (e[6] = (oe) => a.waveToggleValue = oe),
9504
+ "onUpdate:modelValue": e[7] || (e[7] = (oe) => a.waveToggleValue = oe),
9424
9505
  class: "w-100 pl-7 rounded",
9425
9506
  rounded: "0",
9426
9507
  height: "30",
@@ -9439,7 +9520,7 @@ function sc(t, e, o, i, a, r) {
9439
9520
  disabled: !a.autoActive
9440
9521
  }, {
9441
9522
  default: g(() => [
9442
- $(m(t.$t("weather.significant")), 1)
9523
+ K(m(t.$t("weather.significant")), 1)
9443
9524
  ]),
9444
9525
  _: 1
9445
9526
  }, 8, ["color", "disabled"]),
@@ -9453,17 +9534,17 @@ function sc(t, e, o, i, a, r) {
9453
9534
  value: "swell"
9454
9535
  }, {
9455
9536
  default: g(() => [
9456
- $(m(t.$t("weather.swell")), 1)
9537
+ K(m(t.$t("weather.swell")), 1)
9457
9538
  ]),
9458
9539
  _: 1
9459
9540
  }, 8, ["color", "disabled"])
9460
9541
  ]),
9461
9542
  _: 1
9462
- }, 8, ["modelValue", "disabled"])) : A("", !0),
9463
- a.renderKey === "ice-forecast" && U.key === "ice-forecast" ? (y(), O(I, {
9543
+ }, 8, ["modelValue", "disabled"])) : I("", !0),
9544
+ a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (y(), O(f, {
9464
9545
  key: 3,
9465
9546
  modelValue: a.iceToggleValue,
9466
- "onUpdate:modelValue": e[7] || (e[7] = (oe) => a.iceToggleValue = oe),
9547
+ "onUpdate:modelValue": e[8] || (e[8] = (oe) => a.iceToggleValue = oe),
9467
9548
  class: "w-100 pl-7 rounded",
9468
9549
  rounded: "0",
9469
9550
  height: "30",
@@ -9482,7 +9563,7 @@ function sc(t, e, o, i, a, r) {
9482
9563
  disabled: !a.autoActive
9483
9564
  }, {
9484
9565
  default: g(() => [
9485
- $(m(t.$t("weather.coverage")), 1)
9566
+ K(m(t.$t("weather.coverage")), 1)
9486
9567
  ]),
9487
9568
  _: 1
9488
9569
  }, 8, ["color", "disabled"]),
@@ -9496,13 +9577,13 @@ function sc(t, e, o, i, a, r) {
9496
9577
  value: "ice-thickness"
9497
9578
  }, {
9498
9579
  default: g(() => [
9499
- $(m(t.$t("weather.thickness")), 1)
9580
+ K(m(t.$t("weather.thickness")), 1)
9500
9581
  ]),
9501
9582
  _: 1
9502
9583
  }, 8, ["color", "disabled"])
9503
9584
  ]),
9504
9585
  _: 1
9505
- }, 8, ["modelValue", "disabled"])) : A("", !0)
9586
+ }, 8, ["modelValue", "disabled"])) : I("", !0)
9506
9587
  ], 64))), 128))
9507
9588
  ]),
9508
9589
  _: 1
@@ -9515,14 +9596,14 @@ function sc(t, e, o, i, a, r) {
9515
9596
  elevation: "0"
9516
9597
  }, {
9517
9598
  default: g(() => [
9518
- p(k, { class: "border-b-thin" }, {
9599
+ p(P, { class: "border-b-thin" }, {
9519
9600
  default: g(() => [
9520
- p(f, {
9601
+ p(k, {
9521
9602
  class: "text-subtitle-1 font-weight-medium",
9522
9603
  style: { "font-size": "16px !important" }
9523
9604
  }, {
9524
9605
  default: g(() => [
9525
- $(m(t.$t("weather.forecastModel")), 1)
9606
+ K(m(t.$t("weather.forecastModel")), 1)
9526
9607
  ]),
9527
9608
  _: 1
9528
9609
  })
@@ -9531,33 +9612,33 @@ function sc(t, e, o, i, a, r) {
9531
9612
  }),
9532
9613
  p(h, { class: "" }, {
9533
9614
  default: g(() => {
9534
- var U, oe, Fe, Ae, ge, Ie, W, fe, ae, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, 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, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9615
+ var H, oe, Fe, Ae, ge, Ie, W, fe, ae, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, 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, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9535
9616
  return [
9536
- s("div", Nn, m(t.$t("weather.atmospheric")), 1),
9537
- s("div", En, m((Fe = (oe = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : Fe.source) + " " + m((Ie = (ge = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Ie.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (ae = (fe = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
9538
- s("div", jn, m(t.$t("weather.source")) + ": NOAA", 1),
9539
- s("div", Fn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((E = (Ue = (He = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ue.meta) == null ? void 0 : E.availabilityTime)), 1),
9540
- s("div", Hn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Ee = (Ne = (Re = (be = a.models) == null ? void 0 : be.weather) == null ? void 0 : Re.NOAA) == null ? void 0 : Ne.meta) == null ? void 0 : Ee.initialisationTime)), 1),
9541
- s("div", Un, m((G = (We = (j = a.models) == null ? void 0 : j.weather) == null ? void 0 : We.ECMWF) == null ? void 0 : G.source) + " " + m((Ke = (Xe = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Xe.ECMWF) == null ? void 0 : Ke.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = ($e = (ze = a.models) == null ? void 0 : ze.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
9542
- s("div", Wn, m(t.$t("weather.source")) + ": ECMWF", 1),
9543
- 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),
9544
- s("div", Vn, m(t.$t("weather.referenceTime")) + ": " + 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),
9617
+ s("div", En, m(t.$t("weather.atmospheric")), 1),
9618
+ s("div", jn, m((Fe = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : Fe.source) + " " + m((Ie = (ge = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Ie.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (ae = (fe = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
9619
+ s("div", Fn, m(t.$t("weather.source")) + ": NOAA", 1),
9620
+ s("div", Hn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((E = (Ue = (He = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ue.meta) == null ? void 0 : E.availabilityTime)), 1),
9621
+ s("div", Un, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Ee = (Ne = (Re = (be = a.models) == null ? void 0 : be.weather) == null ? void 0 : Re.NOAA) == null ? void 0 : Ne.meta) == null ? void 0 : Ee.initialisationTime)), 1),
9622
+ s("div", Wn, m((G = (We = (j = a.models) == null ? void 0 : j.weather) == null ? void 0 : We.ECMWF) == null ? void 0 : G.source) + " " + m((Ke = (Xe = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Xe.ECMWF) == null ? void 0 : Ke.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = ($e = (ze = a.models) == null ? void 0 : ze.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
9623
+ s("div", Gn, m(t.$t("weather.source")) + ": ECMWF", 1),
9624
+ s("div", Vn, 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),
9625
+ s("div", Zn, m(t.$t("weather.referenceTime")) + ": " + 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),
9545
9626
  p(b),
9546
- s("div", Zn, m(t.$t("weather.wave")), 1),
9547
- s("div", Yn, 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),
9548
- s("div", qn, m(t.$t("weather.source")) + ": NOAA", 1),
9549
- s("div", Xn, 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),
9550
- s("div", Kn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Mt = (St = (Ct = (Tt = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Tt.wave) == null ? void 0 : Ct.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
9551
- s("div", $n, 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((Et = (Nt = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Nt.ECMWF) == null ? void 0 : Et.spatialResolution) + m(t.$t("units.km")) + " " + m((Wt = (Ut = (Ht = (Ft = (jt = a.models) == null ? void 0 : jt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Ut.meta) == null ? void 0 : Wt.days) + m(t.$t("units.days")), 1),
9552
- s("div", Jn, m(t.$t("weather.source")) + ": ECMWF", 1),
9553
- s("div", Qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Gt = a.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
9554
- s("div", ec, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((eo = (Qt = (Jt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
9627
+ s("div", Yn, m(t.$t("weather.wave")), 1),
9628
+ s("div", qn, 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),
9629
+ s("div", Xn, m(t.$t("weather.source")) + ": NOAA", 1),
9630
+ s("div", Kn, 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),
9631
+ s("div", $n, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Mt = (St = (Ct = (Tt = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Tt.wave) == null ? void 0 : Ct.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
9632
+ s("div", Jn, 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((Et = (Nt = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Nt.ECMWF) == null ? void 0 : Et.spatialResolution) + m(t.$t("units.km")) + " " + m((Wt = (Ut = (Ht = (Ft = (jt = a.models) == null ? void 0 : jt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Ut.meta) == null ? void 0 : Wt.days) + m(t.$t("units.days")), 1),
9633
+ s("div", Qn, m(t.$t("weather.source")) + ": ECMWF", 1),
9634
+ s("div", ec, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Gt = a.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
9635
+ s("div", tc, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((eo = (Qt = (Jt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
9555
9636
  p(b),
9556
- s("div", tc, m(t.$t("weather.currents")), 1),
9557
- s("div", oc, 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),
9558
- s("div", ac, m(t.$t("weather.source")) + ": ECMWF", 1),
9559
- s("div", ic, 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),
9560
- s("div", rc, m(t.$t("weather.referenceTime")) + ": " + 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)
9637
+ s("div", oc, m(t.$t("weather.currents")), 1),
9638
+ s("div", ac, 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),
9639
+ s("div", ic, m(t.$t("weather.source")) + ": ECMWF", 1),
9640
+ s("div", rc, 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),
9641
+ s("div", sc, m(t.$t("weather.referenceTime")) + ": " + 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)
9561
9642
  ];
9562
9643
  }),
9563
9644
  _: 1
@@ -9575,7 +9656,7 @@ function sc(t, e, o, i, a, r) {
9575
9656
  "before-layer": "empty-layer-3",
9576
9657
  wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
9577
9658
  "menu-toggle": o.menuToggle
9578
- }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : A("", !0),
9659
+ }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
9579
9660
  o.map ? (y(), O(z, N({
9580
9661
  key: 2,
9581
9662
  map: o.map,
@@ -9583,7 +9664,7 @@ function sc(t, e, o, i, a, r) {
9583
9664
  "sig-wave-height": (ie = a.weatherLayers) == null ? void 0 : ie["sig-wave-height"],
9584
9665
  "menu-toggle": o.menuToggle,
9585
9666
  "active-weather-layers": a.activeWeatherLayers
9586
- }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : A("", !0),
9667
+ }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : I("", !0),
9587
9668
  o.map ? (y(), O(L, N({
9588
9669
  key: 3,
9589
9670
  map: o.map,
@@ -9591,7 +9672,7 @@ function sc(t, e, o, i, a, r) {
9591
9672
  "before-layer": "empty-layer-2",
9592
9673
  current: (ce = a.weatherLayers) == null ? void 0 : ce.current,
9593
9674
  "menu-toggle": o.menuToggle
9594
- }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : A("", !0),
9675
+ }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : I("", !0),
9595
9676
  o.map ? (y(), O(C, N({
9596
9677
  key: 4,
9597
9678
  map: o.map,
@@ -9599,25 +9680,25 @@ function sc(t, e, o, i, a, r) {
9599
9680
  prmsl: (ue = a.weatherLayers) == null ? void 0 : ue.prmsl,
9600
9681
  "menu-toggle": o.menuToggle,
9601
9682
  "active-weather-layers": a.activeWeatherLayers
9602
- }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : A("", !0),
9683
+ }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : I("", !0),
9603
9684
  o.map ? (y(), O(v, N({
9604
9685
  key: 5,
9605
9686
  viewport: a.viewport,
9606
9687
  factor: (me = a.weatherLayers) == null ? void 0 : me["wind-particle"],
9607
9688
  "menu-toggle": o.menuToggle
9608
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9609
- o.map ? (y(), O(D, N({
9689
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9690
+ o.map ? (y(), O(A, N({
9610
9691
  key: 6,
9611
9692
  viewport: a.viewport,
9612
9693
  factor: (de = a.weatherLayers) == null ? void 0 : de["current-particle"],
9613
9694
  "menu-toggle": o.menuToggle
9614
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9695
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9615
9696
  o.map ? (y(), O(F, N({
9616
9697
  key: 7,
9617
9698
  viewport: a.viewport,
9618
9699
  factor: (R = a.weatherLayers) == null ? void 0 : R["sig-wave"],
9619
9700
  "menu-toggle": o.menuToggle
9620
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9701
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9621
9702
  o.map ? (y(), O(V, N({
9622
9703
  key: 8,
9623
9704
  map: o.map,
@@ -9625,52 +9706,52 @@ function sc(t, e, o, i, a, r) {
9625
9706
  factor: (te = a.weatherLayers) == null ? void 0 : te.swell,
9626
9707
  "menu-toggle": o.menuToggle,
9627
9708
  "active-weather-layers": a.activeWeatherLayers
9628
- }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers"])) : A("", !0),
9709
+ }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers"])) : I("", !0),
9629
9710
  o.map ? (y(), O(q, N({
9630
9711
  key: 9,
9631
9712
  viewport: a.viewport,
9632
9713
  factor: (ye = a.weatherLayers) == null ? void 0 : ye["ice-edge"],
9633
9714
  "menu-toggle": o.menuToggle
9634
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9715
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9635
9716
  o.map ? (y(), O(Z, N({
9636
9717
  key: 10,
9637
9718
  viewport: a.viewport,
9638
9719
  factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-cover"],
9639
9720
  "menu-toggle": o.menuToggle
9640
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9721
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9641
9722
  o.map ? (y(), O(J, N({
9642
9723
  key: 11,
9643
9724
  viewport: a.viewport,
9644
9725
  factor: (Le = a.weatherLayers) == null ? void 0 : Le["ice-thickness"],
9645
9726
  "menu-toggle": o.menuToggle
9646
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9727
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9647
9728
  o.map ? (y(), O(Q, N({
9648
9729
  key: 12,
9649
9730
  viewport: a.viewport,
9650
9731
  factor: (Pe = a.weatherLayers) == null ? void 0 : Pe.precip3h,
9651
9732
  "menu-toggle": o.menuToggle
9652
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9653
- o.map ? (y(), O(K, N({
9733
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9734
+ o.map ? (y(), O($, N({
9654
9735
  key: 13,
9655
9736
  viewport: a.viewport,
9656
9737
  factor: (ve = a.weatherLayers) == null ? void 0 : ve.visibility,
9657
9738
  "menu-toggle": o.menuToggle
9658
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9739
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9659
9740
  o.map ? (y(), O(se, N({
9660
9741
  key: 14,
9661
9742
  viewport: a.viewport,
9662
9743
  factor: (Me = a.weatherLayers) == null ? void 0 : Me["water-temp"],
9663
9744
  "menu-toggle": o.menuToggle
9664
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0),
9745
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0),
9665
9746
  o.map ? (y(), O(le, N({
9666
9747
  key: 15,
9667
9748
  viewport: a.viewport,
9668
9749
  factor: (Te = a.weatherLayers) == null ? void 0 : Te.temp,
9669
9750
  "menu-toggle": o.menuToggle
9670
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : A("", !0)
9751
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : I("", !0)
9671
9752
  ]);
9672
9753
  }
9673
- const lc = /* @__PURE__ */ Y(vn, [["render", sc]]), Lo = [
9754
+ const nc = /* @__PURE__ */ Y(vn, [["render", lc]]), Lo = [
9674
9755
  {
9675
9756
  rank: 0,
9676
9757
  name: "Best Match",
@@ -10017,7 +10098,7 @@ class Ya {
10017
10098
  }), a;
10018
10099
  }
10019
10100
  static pickHourly(e, o) {
10020
- var i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, U, oe, Fe, Ae, ge, Ie;
10101
+ var i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, H, oe, Fe, Ae, ge, Ie;
10021
10102
  const W = typeof o == "string" ? S(o) : o, fe = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, re = S((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Be = re.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"), He = re.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"), Ue = [];
10022
10103
  if (W.isBetween(Be, He, "millisecond", "[]")) {
10023
10104
  const E = W.utc().diff(Be, "h", !1);
@@ -10038,7 +10119,7 @@ class Ya {
10038
10119
  rh: (P = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : P.at(E),
10039
10120
  dp: (B = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : B.at(E),
10040
10121
  precip: {
10041
- probability: (I = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : I.at(E),
10122
+ probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(E),
10042
10123
  sum: (T = G == null ? void 0 : G.precipitation) == null ? void 0 : T.at(E),
10043
10124
  sum1Hours: (z = G == null ? void 0 : G.precipitation) == null ? void 0 : z.at(E),
10044
10125
  sum3Hours: Math.round(Ne * 100) / 100,
@@ -10048,7 +10129,7 @@ class Ya {
10048
10129
  pmsl: (L = G == null ? void 0 : G.pressure_msl) == null ? void 0 : L.at(E),
10049
10130
  psurf: (C = G == null ? void 0 : G.surface_pressure) == null ? void 0 : C.at(E),
10050
10131
  code: (v = G == null ? void 0 : G.weather_code) == null ? void 0 : v.at(E),
10051
- visibility: this.m2nm((D = G == null ? void 0 : G.visibility) == null ? void 0 : D.at(E)),
10132
+ visibility: this.m2nm((A = G == null ? void 0 : G.visibility) == null ? void 0 : A.at(E)),
10052
10133
  wind: {
10053
10134
  speed: (F = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : F.at(E),
10054
10135
  kts: (V = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : V.at(E),
@@ -10056,7 +10137,7 @@ class Ya {
10056
10137
  bearing: ((Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((J = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : J.at(E)) + 180) % 360 : null,
10057
10138
  gusts: (Q = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Q.at(E)
10058
10139
  },
10059
- isDay: (K = G == null ? void 0 : G.is_day) == null ? void 0 : K.at(E)
10140
+ isDay: ($ = G == null ? void 0 : G.is_day) == null ? void 0 : $.at(E)
10060
10141
  };
10061
10142
  const { name: qe, url: Xe, bg: Ke } = this.parseWeatherCode(be.code, be.isDay);
10062
10143
  be.name = qe, be.url = Xe, be.bg = Ke, be.wind.scale = this.beaufort(this.kts2ms(be.wind.kts)), be.wind.direction = this.degree2Direction(be.wind.degree), Ue.push({
@@ -10094,7 +10175,7 @@ class Ya {
10094
10175
  }
10095
10176
  },
10096
10177
  current: {
10097
- speed: (U = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : U.at(E),
10178
+ speed: (H = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : H.at(E),
10098
10179
  kts: (oe = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : oe.at(E),
10099
10180
  degree: (Fe = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Fe.at(E),
10100
10181
  bearing: ((Ae = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Ae.at(E)) ?? null
@@ -10130,8 +10211,8 @@ class Ya {
10130
10211
  };
10131
10212
  }
10132
10213
  static pickDaily(e, o) {
10133
- var i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve;
10134
- const Me = typeof o == "string" ? S(o) : o, Te = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, oe = S((r = (a = (i = Te == null ? void 0 : Te[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (l = Te == null ? void 0 : Te[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ae = [];
10214
+ var i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve;
10215
+ const Me = typeof o == "string" ? S(o) : o, Te = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = S((r = (a = (i = Te == null ? void 0 : Te[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (l = Te == null ? void 0 : Te[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ae = [];
10135
10216
  if (Me.isBetween(oe, Fe, "millisecond", "[]")) {
10136
10217
  let ge, Ie;
10137
10218
  const W = Me.diff(oe, "d", !1);
@@ -10153,7 +10234,7 @@ class Ya {
10153
10234
  sum: (k = ae.precipitation_sum) == null ? void 0 : k.at(W),
10154
10235
  rainSum: (P = ae.rain_sum) == null ? void 0 : P.at(W),
10155
10236
  snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(W),
10156
- showersSum: (I = ae.showers_sum) == null ? void 0 : I.at(W),
10237
+ showersSum: (D = ae.showers_sum) == null ? void 0 : D.at(W),
10157
10238
  hours: (T = ae.precipitation_hours) == null ? void 0 : T.at(W),
10158
10239
  probability: (z = ae.precipitation_probability_max) == null ? void 0 : z.at(W)
10159
10240
  },
@@ -10163,7 +10244,7 @@ class Ya {
10163
10244
  mean: (v = ae.relative_humidity_2m_mean) == null ? void 0 : v.at(W)
10164
10245
  },
10165
10246
  wind: {
10166
- speed: (D = ae.wind_speed_10m_max) == null ? void 0 : D.at(W),
10247
+ speed: (A = ae.wind_speed_10m_max) == null ? void 0 : A.at(W),
10167
10248
  kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(W),
10168
10249
  degree: (V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
10169
10250
  gusts: (q = ae.wind_gusts_10m_max) == null ? void 0 : q.at(W),
@@ -10177,15 +10258,15 @@ class Ya {
10177
10258
  weather: { ...ge }
10178
10259
  });
10179
10260
  }
10180
- if (U) {
10261
+ if (H) {
10181
10262
  let fe = 0;
10182
- for (const ae of U) {
10263
+ for (const ae of H) {
10183
10264
  const re = ae.daily;
10184
10265
  Ie = {
10185
10266
  wave: {
10186
10267
  sig: {
10187
10268
  height: (Q = re.wave_height_max) == null ? void 0 : Q.at(W),
10188
- degree: (K = re.wave_direction_dominant) == null ? void 0 : K.at(W),
10269
+ degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(W),
10189
10270
  period: (se = re.wave_period_max) == null ? void 0 : se.at(W),
10190
10271
  bearing: ((le = re.wave_direction_dominant) == null ? void 0 : le.at(W)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
10191
10272
  },
@@ -10610,9 +10691,13 @@ class Ya {
10610
10691
  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;
10611
10692
  }
10612
10693
  }
10613
- const nc = {
10694
+ const cc = {
10614
10695
  name: "IdmTropicals",
10615
10696
  props: {
10697
+ simple: {
10698
+ type: Boolean,
10699
+ default: !1
10700
+ },
10616
10701
  permission: {
10617
10702
  type: Number
10618
10703
  },
@@ -10689,7 +10774,7 @@ const nc = {
10689
10774
  showTropicalsInfo: !1,
10690
10775
  activeTropicals: void 0,
10691
10776
  activeTropicalsMarker: void 0,
10692
- empty: H.featureCollection([]),
10777
+ empty: U.featureCollection([]),
10693
10778
  showLegend: !1,
10694
10779
  showHoverPoint: !1,
10695
10780
  hoverPoint: void 0,
@@ -10758,7 +10843,7 @@ const nc = {
10758
10843
  handler() {
10759
10844
  this.$nextTick(() => {
10760
10845
  var t;
10761
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
10846
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
10762
10847
  });
10763
10848
  },
10764
10849
  immediate: !0
@@ -10841,35 +10926,35 @@ const nc = {
10841
10926
  handleRefresh() {
10842
10927
  var e, o;
10843
10928
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
10844
- var a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v;
10929
+ var a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v;
10845
10930
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
10846
- let D = "";
10931
+ let A = "";
10847
10932
  switch (!0) {
10848
10933
  case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
10849
- D = "TD";
10934
+ A = "TD";
10850
10935
  break;
10851
10936
  case (((c = i.properties.wind) == null ? void 0 : c.kts) < 47 || ((n = i.properties) == null ? void 0 : n.kts) < 47):
10852
- D = "TS";
10937
+ A = "TS";
10853
10938
  break;
10854
10939
  case (((u = i.properties.wind) == null ? void 0 : u.kts) < 63 || ((h = i.properties) == null ? void 0 : h.kts) < 63):
10855
- D = "STS";
10940
+ A = "STS";
10856
10941
  break;
10857
10942
  case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
10858
- D = "TY";
10943
+ A = "TY";
10859
10944
  break;
10860
10945
  case (((_ = i.properties.wind) == null ? void 0 : _.kts) < 94 || ((f = i.properties) == null ? void 0 : f.kts) < 94):
10861
- D = "STY";
10946
+ A = "STY";
10862
10947
  break;
10863
10948
  case (((k = i.properties.wind) == null ? void 0 : k.kts) >= 94 || ((P = i.properties) == null ? void 0 : P.kts) >= 94):
10864
- D = "Super TY";
10949
+ A = "Super TY";
10865
10950
  break;
10866
10951
  default:
10867
- D = "Super TY";
10952
+ A = "Super TY";
10868
10953
  break;
10869
10954
  }
10870
- i.properties.level = D;
10955
+ i.properties.level = A;
10871
10956
  }
10872
- ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (T = S(i.properties.date)) == null ? void 0 : T.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((L = i.geometry) == null ? void 0 : L.type) === "Point" && (i.properties.Name = ((v = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : v.replace(/^./, (D) => D.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
10957
+ ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((D = i.properties) != null && D.important) && (i.properties.format = (z = (T = S(i.properties.date)) == null ? void 0 : T.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((L = i.geometry) == null ? void 0 : L.type) === "Point" && (i.properties.Name = ((v = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : v.replace(/^./, (A) => A.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
10873
10958
  }), this.handleInit();
10874
10959
  },
10875
10960
  handleInit() {
@@ -11088,9 +11173,9 @@ const nc = {
11088
11173
  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();
11089
11174
  },
11090
11175
  handleDateChange() {
11091
- var t, e, o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe;
11176
+ var t, e, o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe;
11092
11177
  if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11093
- const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((R) => R.properties.date === (ie == null ? void 0 : ie.format()) && !R.properties.disabled), ue = this.handleComputePolygons(ce), me = H.featureCollection([...ce]);
11178
+ const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((R) => R.properties.date === (ie == null ? void 0 : ie.format()) && !R.properties.disabled), ue = this.handleComputePolygons(ce), me = U.featureCollection([...ce]);
11094
11179
  ue.forEach((R) => {
11095
11180
  me.features.push(R);
11096
11181
  }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
@@ -11129,7 +11214,7 @@ const nc = {
11129
11214
  R.properties.nameCn = Pe, R.properties.Name = ((h = (u = R.properties.name) == null ? void 0 : u.trim()) == null ? void 0 : h.replace(/^./, (ve) => ve.toUpperCase())) || R.properties.nameCn, de.push(R);
11130
11215
  }
11131
11216
  let te = this.Theme.current.value.colors["tropicals-ty"];
11132
- ((x = (b = R.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((f = (_ = R.properties) == null ? void 0 : _.wind) != null && f.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((P = (k = R.properties) == null ? void 0 : k.wind) == null ? void 0 : P.kts) >= 32 && ((I = (B = R.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((z = (T = R.properties) == null ? void 0 : T.wind) == null ? void 0 : z.kts) >= 47 && ((C = (L = R.properties) == null ? void 0 : L.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((D = (v = R.properties) == null ? void 0 : v.wind) == null ? void 0 : D.kts) >= 63 && ((V = (F = R.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (q = R.properties) == null ? void 0 : q.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (J = R.properties) == null ? void 0 : J.wind) == null ? void 0 : Q.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = (K = R.properties) == null ? void 0 : K.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11217
+ ((x = (b = R.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((f = (_ = R.properties) == null ? void 0 : _.wind) != null && f.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((P = (k = R.properties) == null ? void 0 : k.wind) == null ? void 0 : P.kts) >= 32 && ((D = (B = R.properties) == null ? void 0 : B.wind) == null ? void 0 : D.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((z = (T = R.properties) == null ? void 0 : T.wind) == null ? void 0 : z.kts) >= 47 && ((C = (L = R.properties) == null ? void 0 : L.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((A = (v = R.properties) == null ? void 0 : v.wind) == null ? void 0 : A.kts) >= 63 && ((V = (F = R.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (q = R.properties) == null ? void 0 : q.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (J = R.properties) == null ? void 0 : J.wind) == null ? void 0 : Q.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = ($ = R.properties) == null ? void 0 : $.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11133
11218
  const ye = `<svg t="1719918955501"
11134
11219
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11135
11220
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11192,7 +11277,7 @@ const nc = {
11192
11277
  u.properties.category === e && (u.properties.disabled = t.disabled);
11193
11278
  }), this.interpolateData.forEach((u) => {
11194
11279
  u.properties.category === e && (u.properties.disabled = t.disabled);
11195
- }), (l = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || l.setData(H.featureCollection(o)), (n = (c = this.map) == null ? void 0 : c.getSource(this.clusterSource)) == null || n.setData(H.featureCollection(o)), this.handleDateChange();
11280
+ }), (l = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || l.setData(U.featureCollection(o)), (n = (c = this.map) == null ? void 0 : c.getSource(this.clusterSource)) == null || n.setData(U.featureCollection(o)), this.handleDateChange();
11196
11281
  },
11197
11282
  handleStrikeProbability(t) {
11198
11283
  this.$emit("tropicalProbability", t);
@@ -11231,22 +11316,22 @@ const nc = {
11231
11316
  let n;
11232
11317
  switch (l) {
11233
11318
  case "ne":
11234
- n = H.lineArc(t, c, 0, 90, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11319
+ n = U.lineArc(t, c, 0, 90, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11235
11320
  break;
11236
11321
  case "se":
11237
- n = H.lineArc(t, c, 90, 180, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11322
+ n = U.lineArc(t, c, 90, 180, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11238
11323
  break;
11239
11324
  case "sw":
11240
- n = H.lineArc(t, c, 180, 270, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11325
+ n = U.lineArc(t, c, 180, 270, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11241
11326
  break;
11242
11327
  case "nw":
11243
- n = H.lineArc(t, c, 270, 360, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11328
+ n = U.lineArc(t, c, 270, 360, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11244
11329
  break;
11245
11330
  }
11246
11331
  i.push(...(r = n == null ? void 0 : n.geometry) == null ? void 0 : r.coordinates);
11247
11332
  }
11248
- const a = H.lineString(i);
11249
- return H.lineToPolygon(a, { properties: o });
11333
+ const a = U.lineString(i);
11334
+ return U.lineToPolygon(a, { properties: o });
11250
11335
  },
11251
11336
  handleNotification(t) {
11252
11337
  this.$emit("tropicalNotification", t);
@@ -11283,47 +11368,47 @@ const nc = {
11283
11368
  this.map.getCanvas().style.cursor = "grab", this.showHoverPoint = !1, (t = this.hoverMarker) == null || t.remove(), this.hoverMarker = void 0;
11284
11369
  }
11285
11370
  }
11286
- }, cc = { class: "idm-tropical-gl4" }, mc = {
11371
+ }, mc = { class: "idm-tropical-gl4" }, dc = {
11287
11372
  key: 0,
11288
11373
  id: "idm-tropical-gl4-info",
11289
11374
  class: "idm-tropical-gl4-info"
11290
- }, dc = { class: "pb-1" }, hc = { class: "text-h5 font-weight-600" }, pc = {
11375
+ }, hc = { class: "pb-1" }, pc = { class: "text-h5 font-weight-600" }, uc = {
11291
11376
  key: 0,
11292
11377
  class: "text-body-1 text-label"
11293
- }, uc = { class: "text-body-2" }, gc = { class: "text-label" }, fc = { class: "d-flex justify-space-between align-center" }, yc = { class: "w-60" }, bc = { class: "text-label pr-1" }, wc = { class: "flex-1-1-0" }, xc = { class: "text-label pr-1" }, vc = { class: "py-2 d-flex justify-space-between align-center" }, _c = { class: "w-60" }, kc = { class: "text-label pr-1" }, zc = { class: "flex-1-1-0" }, Lc = { class: "text-label pr-1" }, Pc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Tc = {
11378
+ }, gc = { class: "text-body-2" }, fc = { class: "text-label" }, yc = { class: "d-flex justify-space-between align-center" }, bc = { class: "w-60" }, wc = { class: "text-label pr-1" }, xc = { class: "flex-1-1-0" }, vc = { class: "text-label pr-1" }, _c = { class: "py-2 d-flex justify-space-between align-center" }, kc = { class: "w-60" }, zc = { class: "text-label pr-1" }, Lc = { class: "flex-1-1-0" }, Pc = { class: "text-label pr-1" }, Tc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Cc = {
11294
11379
  class: "text-label pr-1",
11295
11380
  style: { width: "130px" }
11296
- }, Cc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Sc = { class: "more" }, Mc = {
11381
+ }, Sc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Mc = { class: "more" }, Ic = {
11297
11382
  class: "my-3",
11298
11383
  style: { height: "80px", width: "100%" }
11299
- }, Ic = { class: "pa-1 d-flex justify-space-between align-center" }, Dc = { class: "pa-1 d-flex justify-space-between align-center" }, Ac = { class: "d-flex justify-star align-center" }, Rc = { class: "font-weight-600 mr-1" }, Oc = { class: "" }, Bc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Nc = {
11384
+ }, Dc = { class: "pa-1 d-flex justify-space-between align-center" }, Ac = { class: "pa-1 d-flex justify-space-between align-center" }, Rc = { class: "d-flex justify-star align-center" }, Oc = { class: "font-weight-600 mr-1" }, Bc = { class: "" }, Nc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Ec = {
11300
11385
  key: 0,
11301
11386
  class: "d-flex justify-start align-center"
11302
- }, Ec = { class: "text-label pr-1" }, jc = {
11387
+ }, jc = { class: "text-label pr-1" }, Fc = {
11303
11388
  key: 1,
11304
11389
  class: "d-flex justify-start align-center"
11305
- }, Fc = { class: "text-label pr-1" }, Hc = {
11390
+ }, Hc = { class: "text-label pr-1" }, Uc = {
11306
11391
  key: 2,
11307
11392
  class: "d-flex justify-start align-center"
11308
- }, Uc = { class: "text-label pr-1" }, Wc = {
11393
+ }, Wc = { class: "text-label pr-1" }, Gc = {
11309
11394
  key: 3,
11310
11395
  class: "d-flex justify-start align-center"
11311
- }, Gc = { class: "text-label pr-1" }, Vc = {
11396
+ }, Vc = { class: "text-label pr-1" }, Zc = {
11312
11397
  key: 4,
11313
11398
  class: "d-flex justify-start align-center"
11314
- }, Zc = { class: "text-label pr-1" }, Yc = {
11399
+ }, Yc = { class: "text-label pr-1" }, qc = {
11315
11400
  key: 5,
11316
11401
  class: "d-flex justify-start align-center"
11317
- }, qc = { class: "text-label pr-1" }, Xc = { class: "d-flex justify-start align-center" }, Kc = { class: "text-label pr-1" }, $c = {
11402
+ }, Xc = { class: "text-label pr-1" }, Kc = { class: "d-flex justify-start align-center" }, $c = { class: "text-label pr-1" }, Jc = {
11318
11403
  key: 6,
11319
11404
  class: "d-flex justify-start align-center"
11320
- }, Jc = { class: "text-label pr-1" }, Qc = {
11405
+ }, Qc = { class: "text-label pr-1" }, em = {
11321
11406
  key: 7,
11322
11407
  class: "d-flex justify-start align-center"
11323
- }, em = { class: "text-label pr-1" }, tm = { class: "d-flex justify-start align-center" }, om = { class: "text-label pr-1" };
11324
- function am(t, e, o, i, a, r) {
11408
+ }, tm = { class: "text-label pr-1" }, om = { class: "d-flex justify-start align-center" }, am = { class: "text-label pr-1" };
11409
+ function im(t, e, o, i, a, r) {
11325
11410
  const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), _ = w("v-divider");
11326
- return y(), M("div", cc, [
11411
+ return y(), M("div", mc, [
11327
11412
  s("div", {
11328
11413
  class: "menu-bar-box transition pa-1",
11329
11414
  style: ee({ top: o.top + o.paddingTop + 86 + "px", right: a.right + "px" })
@@ -11350,7 +11435,7 @@ function am(t, e, o, i, a, r) {
11350
11435
  _: 1
11351
11436
  }, 8, ["text"])
11352
11437
  ], 4),
11353
- a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), M("div", mc, [
11438
+ a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), M("div", dc, [
11354
11439
  p(b, {
11355
11440
  "min-width": "400",
11356
11441
  elevation: "16",
@@ -11359,11 +11444,11 @@ function am(t, e, o, i, a, r) {
11359
11444
  default: g(() => [
11360
11445
  p(n, null, {
11361
11446
  default: g(() => {
11362
- var f, k, P, B, I, T, z, L, C, v, D, F;
11447
+ var f, k, P, B, D, T, z, L, C, v, A, F;
11363
11448
  return [
11364
- s("div", dc, [
11365
- s("span", hc, m(o.locale === "en" ? (f = a.activeTropicals) == null ? void 0 : f.Name : ((k = a.activeTropicals) == null ? void 0 : k.nameCn) || ((P = a.activeTropicals) == null ? void 0 : P.Name) || "-"), 1),
11366
- (I = (B = a.activeTropicals) == null ? void 0 : B.history) != null && I.level ? (y(), M("span", pc, ", " + m((z = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : z.level), 1)) : A("", !0)
11449
+ s("div", hc, [
11450
+ s("span", pc, m(o.locale === "en" ? (f = a.activeTropicals) == null ? void 0 : f.Name : ((k = a.activeTropicals) == null ? void 0 : k.nameCn) || ((P = a.activeTropicals) == null ? void 0 : P.Name) || "-"), 1),
11451
+ (D = (B = a.activeTropicals) == null ? void 0 : B.history) != null && D.level ? (y(), M("span", uc, ", " + m((z = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : z.level), 1)) : I("", !0)
11367
11452
  ]),
11368
11453
  p(l, {
11369
11454
  icon: "",
@@ -11378,9 +11463,9 @@ function am(t, e, o, i, a, r) {
11378
11463
  _: 1,
11379
11464
  __: [4]
11380
11465
  }, 8, ["onClick"]),
11381
- s("div", uc, [
11382
- s("span", gc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11383
- s("span", null, m(r.computeTime(((C = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : C.updated) || ((F = (D = (v = a.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : D.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11466
+ s("div", gc, [
11467
+ s("span", fc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11468
+ s("span", null, m(r.computeTime(((C = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : C.updated) || ((F = (A = (v = a.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : A.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11384
11469
  ])
11385
11470
  ];
11386
11471
  }),
@@ -11389,34 +11474,34 @@ function am(t, e, o, i, a, r) {
11389
11474
  p(u),
11390
11475
  p(n, { class: "text-body-1" }, {
11391
11476
  default: g(() => {
11392
- var f, k, P, B, I, T, z, L, C;
11477
+ var f, k, P, B, D, T, z, L, C;
11393
11478
  return [
11394
- s("div", fc, [
11395
- s("div", yc, [
11396
- s("label", bc, m(t.$t("weather.windSpeed")) + " : ", 1),
11479
+ s("div", yc, [
11480
+ s("div", bc, [
11481
+ s("label", wc, m(t.$t("weather.windSpeed")) + " : ", 1),
11397
11482
  s("span", null, m(((k = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
11398
11483
  s("span", null, ", BF " + m(r.computeBF(((B = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : B.kts) || "-")), 1)
11399
11484
  ]),
11400
- s("div", wc, [
11401
- s("label", xc, m(t.$t("weather.pressure")) + " : ", 1),
11402
- s("span", null, m(((T = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : T.pressure) || "-") + " hPa", 1)
11485
+ s("div", xc, [
11486
+ s("label", vc, m(t.$t("weather.pressure")) + " : ", 1),
11487
+ s("span", null, m(((T = (D = a.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : T.pressure) || "-") + " hPa", 1)
11403
11488
  ])
11404
11489
  ]),
11405
- s("div", vc, [
11406
- s("div", _c, [
11407
- s("label", kc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11490
+ s("div", _c, [
11491
+ s("div", kc, [
11492
+ s("label", zc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11408
11493
  s("span", null, m(((z = r.computeMovement(a.activeTropicals)) == null ? void 0 : z.kts) || "-") + " kts", 1)
11409
11494
  ]),
11410
- s("div", zc, [
11411
- s("label", Lc, m(t.$t("tropical.moveDir")) + " : ", 1),
11495
+ s("div", Lc, [
11496
+ s("label", Pc, m(t.$t("tropical.moveDir")) + " : ", 1),
11412
11497
  s("span", null, m(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
11413
11498
  ])
11414
11499
  ]),
11415
- s("div", Pc, [
11416
- s("label", Tc, m(t.$t("weather.forecastModels")) + " : ", 1),
11417
- s("div", Cc, [
11418
- (y(!0), M(we, null, _e((C = a.activeTropicals) == null ? void 0 : C.forecasts, (v, D) => (y(), O(l, {
11419
- key: D,
11500
+ s("div", Tc, [
11501
+ s("label", Cc, m(t.$t("weather.forecastModels")) + " : ", 1),
11502
+ s("div", Sc, [
11503
+ (y(!0), M(we, null, _e((C = a.activeTropicals) == null ? void 0 : C.forecasts, (v, A) => (y(), O(l, {
11504
+ key: A,
11420
11505
  density: "compact",
11421
11506
  variant: v.disabled ? "text" : "flat",
11422
11507
  color: v.disabled ? "" : "primary",
@@ -11425,7 +11510,7 @@ function am(t, e, o, i, a, r) {
11425
11510
  onClick: Oe((F) => r.handleForecastToggle(v), ["stop"])
11426
11511
  }, {
11427
11512
  default: g(() => [
11428
- $(m(v.model), 1)
11513
+ K(m(v.model), 1)
11429
11514
  ]),
11430
11515
  _: 2
11431
11516
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11450,11 +11535,11 @@ function am(t, e, o, i, a, r) {
11450
11535
  s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11451
11536
  ])),
11452
11537
  default: g(() => [
11453
- $(" " + m(t.$t("weather.legend")), 1)
11538
+ K(" " + m(t.$t("weather.legend")), 1)
11454
11539
  ]),
11455
11540
  _: 1
11456
11541
  }, 8, ["color"]),
11457
- s("div", Sc, [
11542
+ s("div", Mc, [
11458
11543
  o.permission & a.helper.LEVEL.Supper ? (y(), O(l, {
11459
11544
  key: 0,
11460
11545
  variant: "text",
@@ -11463,10 +11548,10 @@ function am(t, e, o, i, a, r) {
11463
11548
  onClick: e[1] || (e[1] = Oe((f) => r.handleNotification(a.activeTropicals), ["stop"]))
11464
11549
  }, {
11465
11550
  default: g(() => [
11466
- $(m(t.$t("actions.notify")), 1)
11551
+ K(m(t.$t("actions.notify")), 1)
11467
11552
  ]),
11468
11553
  _: 1
11469
- })) : A("", !0),
11554
+ })) : I("", !0),
11470
11555
  p(l, {
11471
11556
  variant: "text",
11472
11557
  density: "compact",
@@ -11475,7 +11560,7 @@ function am(t, e, o, i, a, r) {
11475
11560
  onClick: e[2] || (e[2] = Oe((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11476
11561
  }, {
11477
11562
  default: g(() => [
11478
- $(m(t.$t("actions.viewReport")), 1)
11563
+ K(m(t.$t("actions.viewReport")), 1)
11479
11564
  ]),
11480
11565
  _: 1
11481
11566
  })
@@ -11486,12 +11571,12 @@ function am(t, e, o, i, a, r) {
11486
11571
  ]),
11487
11572
  _: 1
11488
11573
  }),
11489
- s("div", Mc, [
11574
+ s("div", Ic, [
11490
11575
  Ve(p(b, { elevation: "16" }, {
11491
11576
  default: g(() => [
11492
11577
  p(n, null, {
11493
11578
  default: g(() => [
11494
- Ve(s("div", Ic, e[6] || (e[6] = [
11579
+ Ve(s("div", Dc, e[6] || (e[6] = [
11495
11580
  s("div", { class: "legend d-flex justify-start align-center" }, [
11496
11581
  s("div", { class: "icon td" }),
11497
11582
  s("div", { class: "label" }, "TD")
@@ -11519,7 +11604,7 @@ function am(t, e, o, i, a, r) {
11519
11604
  ]), 512), [
11520
11605
  [Ze, a.showLegend]
11521
11606
  ]),
11522
- Ve(s("div", Dc, e[7] || (e[7] = [
11607
+ Ve(s("div", Ac, e[7] || (e[7] = [
11523
11608
  s("div", { class: "legend d-flex justify-start align-center" }, [
11524
11609
  s("div", { class: "icon history" }),
11525
11610
  s("div", { class: "label" }, "History")
@@ -11548,7 +11633,7 @@ function am(t, e, o, i, a, r) {
11548
11633
  [Ze, a.showLegend]
11549
11634
  ])
11550
11635
  ])
11551
- ])) : A("", !0),
11636
+ ])) : I("", !0),
11552
11637
  Ve(p(b, {
11553
11638
  id: "tropicalHoverMarkerInfo",
11554
11639
  elevation: "16",
@@ -11559,9 +11644,9 @@ function am(t, e, o, i, a, r) {
11559
11644
  default: g(() => {
11560
11645
  var f, k, P, B;
11561
11646
  return [
11562
- s("div", Ac, [
11563
- s("span", Rc, m(o.locale === "en" ? (f = a.hoverPoint) == null ? void 0 : f.Name : ((k = a.hoverPoint) == null ? void 0 : k.nameCn) || ((P = a.hoverPoint) == null ? void 0 : P.Name)), 1),
11564
- s("span", Oc, "[ " + m((B = a.hoverPoint) == null ? void 0 : B.level) + " ]", 1)
11647
+ s("div", Rc, [
11648
+ s("span", Oc, m(o.locale === "en" ? (f = a.hoverPoint) == null ? void 0 : f.Name : ((k = a.hoverPoint) == null ? void 0 : k.nameCn) || ((P = a.hoverPoint) == null ? void 0 : P.Name)), 1),
11649
+ s("span", Bc, "[ " + m((B = a.hoverPoint) == null ? void 0 : B.level) + " ]", 1)
11565
11650
  ])
11566
11651
  ];
11567
11652
  }),
@@ -11570,47 +11655,47 @@ function am(t, e, o, i, a, r) {
11570
11655
  p(_),
11571
11656
  p(n, { class: "text-body-1" }, {
11572
11657
  default: g(() => {
11573
- var f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le;
11658
+ var f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le;
11574
11659
  return [
11575
- s("div", Bc, [
11576
- ((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (y(), M("div", Nc, [
11577
- s("label", Ec, m(t.$t("tropical.updated")) + " : ", 1),
11660
+ s("div", Nc, [
11661
+ ((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (y(), M("div", Ec, [
11662
+ s("label", jc, m(t.$t("tropical.updated")) + " : ", 1),
11578
11663
  s("span", null, m(r.computeTzTime((k = a.hoverPoint) == null ? void 0 : k.update, o.timeZone)), 1)
11579
- ])) : A("", !0),
11580
- ((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (y(), M("div", jc, [
11581
- s("label", Fc, m(t.$t("tropical.forecast")) + " : ", 1),
11664
+ ])) : I("", !0),
11665
+ ((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (y(), M("div", Fc, [
11666
+ s("label", Hc, m(t.$t("tropical.forecast")) + " : ", 1),
11582
11667
  s("span", null, m(r.computeTzTime((B = a.hoverPoint) == null ? void 0 : B.date, o.timeZone)), 1)
11583
- ])) : A("", !0),
11584
- ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), M("div", Hc, [
11585
- s("label", Uc, m(t.$t("tropical.forecast")) + " : ", 1),
11668
+ ])) : I("", !0),
11669
+ ((D = a.hoverPoint) == null ? void 0 : D.type) === "history" ? (y(), M("div", Uc, [
11670
+ s("label", Wc, m(t.$t("tropical.forecast")) + " : ", 1),
11586
11671
  s("span", null, m(r.computeTzTime((T = a.hoverPoint) == null ? void 0 : T.date, o.timeZone)), 1)
11587
- ])) : A("", !0),
11588
- ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), M("div", Wc, [
11589
- s("label", Gc, m(t.$t("tropical.model")) + " : ", 1),
11672
+ ])) : I("", !0),
11673
+ ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), M("div", Gc, [
11674
+ s("label", Vc, m(t.$t("tropical.model")) + " : ", 1),
11590
11675
  s("span", null, m(((L = a.hoverPoint) == null ? void 0 : L.model) ?? "-"), 1)
11591
- ])) : A("", !0),
11592
- ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), M("div", Vc, [
11593
- s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
11594
- s("span", null, m(((D = JSON.parse((v = a.hoverPoint) == null ? void 0 : v.wind)) == null ? void 0 : D.kts) ?? "-") + " kts", 1)
11595
- ])) : A("", !0),
11596
- ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (y(), M("div", Yc, [
11597
- s("label", qc, m(t.$t("weather.wind")) + " : ", 1),
11676
+ ])) : I("", !0),
11677
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), M("div", Zc, [
11678
+ s("label", Yc, m(t.$t("weather.wind")) + " : ", 1),
11679
+ s("span", null, m(((A = JSON.parse((v = a.hoverPoint) == null ? void 0 : v.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
11680
+ ])) : I("", !0),
11681
+ ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (y(), M("div", qc, [
11682
+ s("label", Xc, m(t.$t("weather.wind")) + " : ", 1),
11598
11683
  s("span", null, m(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
11599
- ])) : A("", !0),
11600
- s("div", Xc, [
11601
- s("label", Kc, m(t.$t("weather.pressure")) + " : ", 1),
11684
+ ])) : I("", !0),
11685
+ s("div", Kc, [
11686
+ s("label", $c, m(t.$t("weather.pressure")) + " : ", 1),
11602
11687
  s("span", null, m(((q = a.hoverPoint) == null ? void 0 : q.pressure) ?? "-") + " hPa", 1)
11603
11688
  ]),
11604
- ((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (y(), M("div", $c, [
11605
- s("label", Jc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11689
+ ((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (y(), M("div", Jc, [
11690
+ s("label", Qc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11606
11691
  s("span", null, m(((Q = JSON.parse((J = a.hoverPoint) == null ? void 0 : J.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
11607
- ])) : A("", !0),
11608
- ((K = a.hoverPoint) == null ? void 0 : K.type) === "history" ? (y(), M("div", Qc, [
11609
- s("label", em, m(t.$t("tropical.moveDir")) + " : ", 1),
11692
+ ])) : I("", !0),
11693
+ (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), M("div", em, [
11694
+ s("label", tm, m(t.$t("tropical.moveDir")) + " : ", 1),
11610
11695
  s("span", null, m(((le = JSON.parse((se = a.hoverPoint) == null ? void 0 : se.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
11611
- ])) : A("", !0),
11612
- s("div", tm, [
11613
- s("label", om, m(t.$t("tropical.position")) + " : ", 1),
11696
+ ])) : I("", !0),
11697
+ s("div", om, [
11698
+ s("label", am, m(t.$t("tropical.position")) + " : ", 1),
11614
11699
  s("span", null, m(r.computePosition(a.hoverPoint)), 1)
11615
11700
  ])
11616
11701
  ])
@@ -11625,8 +11710,8 @@ function am(t, e, o, i, a, r) {
11625
11710
  ])
11626
11711
  ]);
11627
11712
  }
11628
- const Xa = /* @__PURE__ */ Y(nc, [["render", am]]);
11629
- const im = {
11713
+ const Xa = /* @__PURE__ */ Y(cc, [["render", im]]);
11714
+ const rm = {
11630
11715
  name: "DateTimePicker",
11631
11716
  props: {
11632
11717
  width: {
@@ -11802,22 +11887,22 @@ const im = {
11802
11887
  e && !e.contains(t.target) && (this.showDatePicker = !1);
11803
11888
  }
11804
11889
  }
11805
- }, rm = {
11890
+ }, sm = {
11806
11891
  class: "idm-gl4-time-picker",
11807
11892
  ref: "idmGl4Timepicker"
11808
- }, sm = {
11893
+ }, lm = {
11809
11894
  class: "pa-0",
11810
11895
  style: { width: "250px" }
11811
- }, lm = {
11896
+ }, nm = {
11812
11897
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
11813
11898
  style: { width: "100px" }
11814
- }, nm = {
11899
+ }, cm = {
11815
11900
  class: "d-flex justify-center align-center text-body-2",
11816
11901
  style: { height: "56px" }
11817
11902
  };
11818
- function cm(t, e, o, i, a, r) {
11903
+ function mm(t, e, o, i, a, r) {
11819
11904
  const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), _ = w("VCardActions"), f = w("VCard");
11820
- return y(), M("div", rm, [
11905
+ return y(), M("div", sm, [
11821
11906
  p(l, {
11822
11907
  text: "",
11823
11908
  height: o.height,
@@ -11826,7 +11911,7 @@ function cm(t, e, o, i, a, r) {
11826
11911
  onClick: r.handleOpenDatePicker
11827
11912
  }, {
11828
11913
  default: g(() => [
11829
- $(m(a.currentDateTime) + " | UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
11914
+ K(m(a.currentDateTime) + " | UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
11830
11915
  ]),
11831
11916
  _: 1
11832
11917
  }, 8, ["height", "width", "onClick"]),
@@ -11838,7 +11923,7 @@ function cm(t, e, o, i, a, r) {
11838
11923
  default: g(() => [
11839
11924
  p(x, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
11840
11925
  default: g(() => [
11841
- s("div", sm, [
11926
+ s("div", lm, [
11842
11927
  p(c, {
11843
11928
  modelValue: a.currentDate,
11844
11929
  "onUpdate:modelValue": e[0] || (e[0] = (k) => a.currentDate = k),
@@ -11857,8 +11942,8 @@ function cm(t, e, o, i, a, r) {
11857
11942
  class: "h-100",
11858
11943
  vertical: ""
11859
11944
  }),
11860
- s("div", lm, [
11861
- s("div", nm, m(a.currentTime), 1),
11945
+ s("div", nm, [
11946
+ s("div", cm, m(a.currentTime), 1),
11862
11947
  p(b, { class: "pa-0 flex-1-1-0 scroll" }, {
11863
11948
  default: g(() => [
11864
11949
  (y(!0), M(we, null, _e(r.hourOptions, (k, P) => (y(), O(h, {
@@ -11876,7 +11961,7 @@ function cm(t, e, o, i, a, r) {
11876
11961
  onClick: (B) => a.currentTime = k
11877
11962
  }, {
11878
11963
  default: g(() => [
11879
- $(m(k), 1)
11964
+ K(m(k), 1)
11880
11965
  ]),
11881
11966
  _: 2
11882
11967
  }, 1032, ["onClick"])
@@ -11903,7 +11988,7 @@ function cm(t, e, o, i, a, r) {
11903
11988
  onClick: r.handleCancelDate
11904
11989
  }, {
11905
11990
  default: g(() => [
11906
- $(m(t.$t("actions.cancel")), 1)
11991
+ K(m(t.$t("actions.cancel")), 1)
11907
11992
  ]),
11908
11993
  _: 1
11909
11994
  }, 8, ["onClick"]),
@@ -11915,7 +12000,7 @@ function cm(t, e, o, i, a, r) {
11915
12000
  onClick: r.handleConfirmDate
11916
12001
  }, {
11917
12002
  default: g(() => [
11918
- $(m(t.$t("actions.confirm")), 1)
12003
+ K(m(t.$t("actions.confirm")), 1)
11919
12004
  ]),
11920
12005
  _: 1
11921
12006
  }, 8, ["onClick"])
@@ -11924,11 +12009,11 @@ function cm(t, e, o, i, a, r) {
11924
12009
  })
11925
12010
  ]),
11926
12011
  _: 1
11927
- }, 8, ["style"])) : A("", !0)
12012
+ }, 8, ["style"])) : I("", !0)
11928
12013
  ], 512);
11929
12014
  }
11930
- const Io = /* @__PURE__ */ Y(im, [["render", cm]]);
11931
- const mm = {
12015
+ const Io = /* @__PURE__ */ Y(rm, [["render", mm]]);
12016
+ const dm = {
11932
12017
  name: "DateRangePicker",
11933
12018
  props: {
11934
12019
  width: {
@@ -12112,25 +12197,25 @@ const mm = {
12112
12197
  e && !e.contains(t.target) && (this.showDatePicker = !1);
12113
12198
  }
12114
12199
  }
12115
- }, dm = {
12200
+ }, hm = {
12116
12201
  class: "idm-gl4-date-picker",
12117
12202
  ref: "idmGl4DatePicker"
12118
- }, hm = { class: "flex-1-1-0" }, pm = { class: "pa-0" };
12119
- function um(t, e, o, i, a, r) {
12203
+ }, pm = { class: "flex-1-1-0" }, um = { class: "pa-0" };
12204
+ function gm(t, e, o, i, a, r) {
12120
12205
  const l = w("VIcon"), c = w("VDatePicker"), n = w("VCardText"), u = w("VDivider"), h = w("VBtn"), b = w("VCardActions"), x = w("VCard");
12121
- return y(), M("div", dm, [
12206
+ return y(), M("div", hm, [
12122
12207
  s("div", {
12123
12208
  style: ee({ height: o.height + "px", width: o.width + "px" }),
12124
12209
  class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
12125
12210
  onClick: e[0] || (e[0] = (..._) => r.handleOpenDatePicker && r.handleOpenDatePicker(..._))
12126
12211
  }, [
12127
- s("span", hm, m(a.dateRangeStr), 1),
12212
+ s("span", pm, m(a.dateRangeStr), 1),
12128
12213
  a.dateRangeStr ? (y(), O(l, {
12129
12214
  key: 0,
12130
12215
  class: "text-h5",
12131
12216
  icon: "mdi-close-circle-outline text-label",
12132
12217
  onClick: Oe(r.handleClearDate, ["stop"])
12133
- }, null, 8, ["onClick"])) : A("", !0)
12218
+ }, null, 8, ["onClick"])) : I("", !0)
12134
12219
  ], 4),
12135
12220
  a.showDatePicker ? (y(), O(x, {
12136
12221
  key: 0,
@@ -12140,7 +12225,7 @@ function um(t, e, o, i, a, r) {
12140
12225
  default: g(() => [
12141
12226
  p(n, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
12142
12227
  default: g(() => [
12143
- s("div", pm, [
12228
+ s("div", um, [
12144
12229
  p(c, {
12145
12230
  modelValue: a.dateRange,
12146
12231
  "onUpdate:modelValue": e[1] || (e[1] = (_) => a.dateRange = _),
@@ -12172,7 +12257,7 @@ function um(t, e, o, i, a, r) {
12172
12257
  onClick: r.handleCancelDate
12173
12258
  }, {
12174
12259
  default: g(() => [
12175
- $(m(t.$t("actions.cancel")), 1)
12260
+ K(m(t.$t("actions.cancel")), 1)
12176
12261
  ]),
12177
12262
  _: 1
12178
12263
  }, 8, ["onClick"]),
@@ -12184,7 +12269,7 @@ function um(t, e, o, i, a, r) {
12184
12269
  onClick: r.handleConfirmDate
12185
12270
  }, {
12186
12271
  default: g(() => [
12187
- $(m(t.$t("actions.confirm")), 1)
12272
+ K(m(t.$t("actions.confirm")), 1)
12188
12273
  ]),
12189
12274
  _: 1
12190
12275
  }, 8, ["onClick"])
@@ -12193,17 +12278,21 @@ function um(t, e, o, i, a, r) {
12193
12278
  })
12194
12279
  ]),
12195
12280
  _: 1
12196
- }, 8, ["style"])) : A("", !0)
12281
+ }, 8, ["style"])) : I("", !0)
12197
12282
  ], 512);
12198
12283
  }
12199
- const Ka = /* @__PURE__ */ Y(mm, [["render", um]]);
12200
- const gm = {
12284
+ const Ka = /* @__PURE__ */ Y(dm, [["render", gm]]);
12285
+ const fm = {
12201
12286
  name: "IdmPoint",
12202
12287
  components: {
12203
12288
  DateTimePicker: Io,
12204
12289
  DateRangePicker: Ka
12205
12290
  },
12206
12291
  props: {
12292
+ simple: {
12293
+ type: Boolean,
12294
+ default: !1
12295
+ },
12207
12296
  isLogin: {
12208
12297
  type: Boolean,
12209
12298
  default: !1
@@ -12332,7 +12421,7 @@ const gm = {
12332
12421
  handler() {
12333
12422
  this.$nextTick(() => {
12334
12423
  var t;
12335
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
12424
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
12336
12425
  });
12337
12426
  },
12338
12427
  immediate: !0
@@ -12351,7 +12440,8 @@ const gm = {
12351
12440
  showForm: {
12352
12441
  handler() {
12353
12442
  this.showForm ? this.$nextTick(() => {
12354
- this.$refs.spotForm.resetValidation();
12443
+ var t;
12444
+ (t = this.$refs.spotForm) == null || t.resetValidation();
12355
12445
  }) : this.handleCloseForm();
12356
12446
  }
12357
12447
  },
@@ -12378,12 +12468,7 @@ const gm = {
12378
12468
  },
12379
12469
  submitForm() {
12380
12470
  this.handleCloseMeteo(), this.$refs.spotForm.validate().then(async (t) => {
12381
- var e;
12382
- if (t != null && t.valid) {
12383
- this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
12384
- const o = S();
12385
- ((e = S(this.realTime)) == null ? void 0 : e.diff(o, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
12386
- }
12471
+ t != null && t.valid && this.fetchData();
12387
12472
  });
12388
12473
  },
12389
12474
  cancelForm() {
@@ -12404,7 +12489,13 @@ const gm = {
12404
12489
  handleCloseForm() {
12405
12490
  this.showForm = !1, this.cancelForm(), this.toggle = !1;
12406
12491
  },
12407
- async fetchMeteoData(t) {
12492
+ async fetchData() {
12493
+ var o;
12494
+ this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
12495
+ const t = S();
12496
+ ((o = S(this.realTime)) == null ? void 0 : o.diff(t, "d", !0)) >= 0 ? await this.fetchForecastData(this.form) : await this.fetchHistoryData(this.form);
12497
+ },
12498
+ async fetchForecastData(t) {
12408
12499
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
12409
12500
  const { weatherModels: e, marineModels: o } = To.autoPickMeteoModel(t.forecastModel);
12410
12501
  let i = {
@@ -12443,10 +12534,10 @@ const gm = {
12443
12534
  (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;
12444
12535
  },
12445
12536
  initTableData(t) {
12446
- var o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe, ie, ce, ue, me, de, R, te, ye;
12537
+ var o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe, ie, ce, ue, me, de, R, te, ye;
12447
12538
  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;
12448
12539
  const e = ((l = To.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
12449
- 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((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((P = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : P.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (R = e == null ? void 0 : e.current) == null ? void 0 : R.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.url;
12540
+ 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((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((P = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : P.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((D = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : D.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (R = e == null ? void 0 : e.current) == null ? void 0 : R.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.url;
12450
12541
  },
12451
12542
  handleBind() {
12452
12543
  var t, e;
@@ -12455,8 +12546,7 @@ const gm = {
12455
12546
  handleClick(t) {
12456
12547
  if (t.originalEvent.stopPropagation(), t.originalEvent.target.className === "mapboxgl-canvas")
12457
12548
  this.handleGetPosition(t.lngLat), this.$nextTick(() => {
12458
- var o, i, a;
12459
- (a = (i = (o = this.$refs) == null ? void 0 : o.submitSpot) == null ? void 0 : i.$el) == null || a.click();
12549
+ this.fetchData();
12460
12550
  });
12461
12551
  else
12462
12552
  return !1;
@@ -12498,65 +12588,65 @@ const gm = {
12498
12588
  this.$emit("cancelFollow", t);
12499
12589
  }
12500
12590
  }
12501
- }, fm = { class: "idm-gl4-spot" }, ym = { class: "d-flex justify-start align-center" }, bm = { class: "text-h6 font-weight-600 mx-2" }, wm = { class: "d-flex justify-start align-center ga-1 mb-1" }, xm = {
12591
+ }, ym = { class: "idm-gl4-spot" }, bm = { class: "d-flex justify-start align-center" }, wm = { class: "text-h6 font-weight-600 mx-2" }, xm = { class: "d-flex justify-start align-center ga-1 mb-1" }, vm = {
12502
12592
  class: "multi-color-icon",
12503
12593
  "aria-hidden": "true"
12504
- }, vm = ["xlink:href"], _m = { class: "d-flex justify-start align-center ga-1 mb-1" }, km = {
12594
+ }, _m = ["xlink:href"], km = { class: "d-flex justify-start align-center ga-1 mb-1" }, zm = {
12505
12595
  class: "multi-color-icon",
12506
12596
  "aria-hidden": "true"
12507
- }, zm = ["xlink:href"], Lm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Pm = {
12597
+ }, Lm = ["xlink:href"], Pm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Tm = {
12508
12598
  class: "multi-color-icon",
12509
12599
  "aria-hidden": "true"
12510
- }, Tm = ["xlink:href"], Cm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Sm = {
12600
+ }, Cm = ["xlink:href"], Sm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Mm = {
12511
12601
  class: "multi-color-icon",
12512
12602
  "aria-hidden": "true"
12513
- }, Mm = ["xlink:href"], Im = { class: "d-flex justify-start align-center" }, Dm = { class: "mx-2" }, Am = { class: "mx-0 py-2 d-flex align-center justify-start" }, Rm = {
12603
+ }, Im = ["xlink:href"], Dm = { class: "d-flex justify-start align-center" }, Am = { class: "mx-2" }, Rm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Om = {
12514
12604
  style: { width: "100px" },
12515
12605
  class: "pa-0 pr-2 text-right opacity-50"
12516
- }, Om = { class: "pa-0 px-0" }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Nm = {
12606
+ }, Bm = { class: "pa-0 px-0" }, Nm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
12517
12607
  cols: "9",
12518
12608
  class: "pa-0 px-0"
12519
- }, Em = { class: "mx-0 py-2 d-flex align-center justify-start" }, jm = {
12609
+ }, jm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Fm = {
12520
12610
  style: { width: "100px" },
12521
12611
  class: "pa-0 pr-2 text-right opacity-50"
12522
- }, Fm = {
12612
+ }, Hm = {
12523
12613
  style: { width: "150px" },
12524
12614
  class: "pa-0 text-left"
12525
- }, Hm = {
12615
+ }, Um = {
12526
12616
  style: { width: "80px" },
12527
12617
  class: "pa-0 pr-2 text-right opacity-50"
12528
- }, Um = {
12618
+ }, Wm = {
12529
12619
  cols: "3",
12530
12620
  class: "pa-0 px-0 text-left"
12531
- }, Wm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Gm = {
12621
+ }, Gm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Vm = {
12532
12622
  style: { width: "100px" },
12533
12623
  class: "pa-0 pr-2 text-right opacity-50"
12534
- }, Vm = {
12624
+ }, Zm = {
12535
12625
  style: { width: "150px" },
12536
12626
  class: "pa-0 text-left"
12537
- }, Zm = {
12627
+ }, Ym = {
12538
12628
  style: { width: "80px" },
12539
12629
  class: "pa-0 pr-2 text-right opacity-50"
12540
- }, Ym = {
12630
+ }, qm = {
12541
12631
  cols: "3",
12542
12632
  class: "pa-0 text-left"
12543
- }, qm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Xm = {
12633
+ }, Xm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Km = {
12544
12634
  style: { width: "100px" },
12545
12635
  class: "pa-0 pr-2 text-right opacity-50"
12546
- }, Km = {
12636
+ }, $m = {
12547
12637
  style: { width: "150px" },
12548
12638
  class: "pa-0 text-left"
12549
- }, $m = {
12639
+ }, Jm = {
12550
12640
  style: { width: "80px" },
12551
12641
  class: "pa-0 pr-2 text-right opacity-50"
12552
- }, Jm = { class: "pa-0 text-left" }, Qm = { id: "idm-position-icon" }, ed = {
12642
+ }, Qm = { class: "pa-0 text-left" }, ed = { id: "idm-position-icon" }, td = {
12553
12643
  class: "multi-color-icon",
12554
12644
  style: { height: "30px", width: "30px" },
12555
12645
  "aria-hidden": "true"
12556
- }, td = ["xlink:href"];
12557
- function od(t, e, o, i, a, r) {
12558
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), _ = w("DateTimePicker"), f = w("VBtnToggle"), k = w("VCardText"), P = w("VCardActions"), B = w("VForm"), I = w("VCard"), T = w("VIcon");
12559
- return y(), M("div", fm, [
12646
+ }, od = ["xlink:href"];
12647
+ function ad(t, e, o, i, a, r) {
12648
+ const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), _ = w("DateTimePicker"), f = w("VBtnToggle"), k = w("VCardText"), P = w("VCardActions"), B = w("VForm"), D = w("VCard"), T = w("VIcon");
12649
+ return y(), M("div", ym, [
12560
12650
  s("div", {
12561
12651
  class: "menu-bar-box transition pa-1",
12562
12652
  style: ee({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
@@ -12583,7 +12673,7 @@ function od(t, e, o, i, a, r) {
12583
12673
  _: 1
12584
12674
  }, 8, ["text"])
12585
12675
  ], 4),
12586
- a.showForm ? (y(), O(I, {
12676
+ a.showForm && !o.simple ? (y(), O(D, {
12587
12677
  key: 0,
12588
12678
  class: "spot-form-card",
12589
12679
  style: ee({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
@@ -12591,8 +12681,8 @@ function od(t, e, o, i, a, r) {
12591
12681
  default: g(() => [
12592
12682
  p(n, { class: "d-flex justify-space-between align-center" }, {
12593
12683
  default: g(() => [
12594
- s("div", ym, [
12595
- s("div", bm, m(t.$t("spot.spotWeather")), 1)
12684
+ s("div", bm, [
12685
+ s("div", wm, m(t.$t("spot.spotWeather")), 1)
12596
12686
  ]),
12597
12687
  p(l, {
12598
12688
  icon: "",
@@ -12620,11 +12710,11 @@ function od(t, e, o, i, a, r) {
12620
12710
  default: g(() => [
12621
12711
  p(k, { class: "text-body-1 py-1" }, {
12622
12712
  default: g(() => [
12623
- s("div", wm, [
12624
- (y(), M("svg", xm, [
12713
+ s("div", xm, [
12714
+ (y(), M("svg", vm, [
12625
12715
  s("use", {
12626
12716
  "xlink:href": `#icon-lng-${o.theme}`
12627
- }, null, 8, vm)
12717
+ }, null, 8, _m)
12628
12718
  ])),
12629
12719
  s("div", null, m(t.$t("spot.lng")), 1)
12630
12720
  ]),
@@ -12687,7 +12777,7 @@ function od(t, e, o, i, a, r) {
12687
12777
  onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
12688
12778
  }, {
12689
12779
  default: g(() => [
12690
- $(m(a.form.lngDirection), 1)
12780
+ K(m(a.form.lngDirection), 1)
12691
12781
  ]),
12692
12782
  _: 1
12693
12783
  })
@@ -12697,11 +12787,11 @@ function od(t, e, o, i, a, r) {
12697
12787
  ]),
12698
12788
  _: 1
12699
12789
  }),
12700
- s("div", _m, [
12701
- (y(), M("svg", km, [
12790
+ s("div", km, [
12791
+ (y(), M("svg", zm, [
12702
12792
  s("use", {
12703
12793
  "xlink:href": `#icon-lng-${o.theme}`
12704
- }, null, 8, zm)
12794
+ }, null, 8, Lm)
12705
12795
  ])),
12706
12796
  s("div", null, m(t.$t("spot.lat")), 1)
12707
12797
  ]),
@@ -12767,7 +12857,7 @@ function od(t, e, o, i, a, r) {
12767
12857
  onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
12768
12858
  }, {
12769
12859
  default: g(() => [
12770
- $(m(a.form.latDirection), 1)
12860
+ K(m(a.form.latDirection), 1)
12771
12861
  ]),
12772
12862
  _: 1
12773
12863
  })
@@ -12777,11 +12867,11 @@ function od(t, e, o, i, a, r) {
12777
12867
  ]),
12778
12868
  _: 1
12779
12869
  }),
12780
- s("div", Lm, [
12781
- (y(), M("svg", Pm, [
12870
+ s("div", Pm, [
12871
+ (y(), M("svg", Tm, [
12782
12872
  s("use", {
12783
12873
  "xlink:href": `#icon-date-time-${o.theme}`
12784
- }, null, 8, Tm)
12874
+ }, null, 8, Cm)
12785
12875
  ])),
12786
12876
  s("div", null, m(t.$t("spot.dateTime")), 1)
12787
12877
  ]),
@@ -12804,11 +12894,11 @@ function od(t, e, o, i, a, r) {
12804
12894
  ]),
12805
12895
  _: 1
12806
12896
  }),
12807
- s("div", Cm, [
12808
- (y(), M("svg", Sm, [
12897
+ s("div", Sm, [
12898
+ (y(), M("svg", Mm, [
12809
12899
  s("use", {
12810
12900
  "xlink:href": `#icon-forecast-model-${o.theme}`
12811
- }, null, 8, Mm)
12901
+ }, null, 8, Im)
12812
12902
  ])),
12813
12903
  s("div", null, m(t.$t("weather.forecastModel")), 1)
12814
12904
  ]),
@@ -12838,7 +12928,7 @@ function od(t, e, o, i, a, r) {
12838
12928
  "base-color": ""
12839
12929
  }, {
12840
12930
  default: g(() => e[14] || (e[14] = [
12841
- $("NOAA", -1)
12931
+ K("NOAA", -1)
12842
12932
  ])),
12843
12933
  _: 1,
12844
12934
  __: [14]
@@ -12852,7 +12942,7 @@ function od(t, e, o, i, a, r) {
12852
12942
  value: "ECMWF"
12853
12943
  }, {
12854
12944
  default: g(() => e[15] || (e[15] = [
12855
- $("ECMWF", -1)
12945
+ K("ECMWF", -1)
12856
12946
  ])),
12857
12947
  _: 1,
12858
12948
  __: [15]
@@ -12879,7 +12969,7 @@ function od(t, e, o, i, a, r) {
12879
12969
  onClick: r.cancelForm
12880
12970
  }, {
12881
12971
  default: g(() => [
12882
- $(m(t.$t("actions.clear")), 1)
12972
+ K(m(t.$t("actions.clear")), 1)
12883
12973
  ]),
12884
12974
  _: 1
12885
12975
  }, 8, ["onClick"]),
@@ -12893,7 +12983,7 @@ function od(t, e, o, i, a, r) {
12893
12983
  class: "text-none text-body-1"
12894
12984
  }, {
12895
12985
  default: g(() => [
12896
- $(m(t.$t("actions.confirm")), 1)
12986
+ K(m(t.$t("actions.confirm")), 1)
12897
12987
  ]),
12898
12988
  _: 1
12899
12989
  }, 8, ["loading"])
@@ -12905,8 +12995,8 @@ function od(t, e, o, i, a, r) {
12905
12995
  }, 8, ["onSubmit"])
12906
12996
  ]),
12907
12997
  _: 1
12908
- }, 8, ["style"])) : A("", !0),
12909
- a.showMeteo ? (y(), O(I, {
12998
+ }, 8, ["style"])) : I("", !0),
12999
+ a.showMeteo ? (y(), O(D, {
12910
13000
  key: 1,
12911
13001
  id: "idm-gl4-spot-meteo",
12912
13002
  class: "spot-meteo",
@@ -12915,9 +13005,9 @@ function od(t, e, o, i, a, r) {
12915
13005
  default: g(() => [
12916
13006
  p(n, { class: "d-flex justify-space-between align-center" }, {
12917
13007
  default: g(() => [
12918
- s("div", Im, [
13008
+ s("div", Dm, [
12919
13009
  e[16] || (e[16] = s("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
12920
- s("div", Dm, m(r.computePosition(a.form || a.currentHourData)), 1)
13010
+ s("div", Am, m(r.computePosition(a.form || a.currentHourData)), 1)
12921
13011
  ]),
12922
13012
  p(l, {
12923
13013
  class: "mr-n2",
@@ -12943,34 +13033,34 @@ function od(t, e, o, i, a, r) {
12943
13033
  default: g(() => {
12944
13034
  var z, L;
12945
13035
  return [
12946
- s("div", Am, [
12947
- s("div", Rm, m(t.$t("time.time")), 1),
12948
- s("div", Om, m(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
13036
+ s("div", Rm, [
13037
+ s("div", Om, m(t.$t("time.time")), 1),
13038
+ s("div", Bm, m(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
12949
13039
  ]),
12950
- s("div", Bm, [
13040
+ s("div", Nm, [
12951
13041
  e[18] || (e[18] = s("div", {
12952
13042
  style: { width: "100px" },
12953
13043
  class: "pa-0 pr-2 text-right opacity-50"
12954
13044
  }, "LT", -1)),
12955
- s("div", Nm, m(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
13045
+ s("div", Em, m(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
12956
13046
  ]),
12957
- s("div", Em, [
12958
- s("div", jm, m(t.$t("weather.wind")), 1),
12959
- s("div", Fm, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
12960
- s("div", Hm, m(t.$t("weather.sigWave")), 1),
12961
- s("div", Um, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
13047
+ s("div", jm, [
13048
+ s("div", Fm, m(t.$t("weather.wind")), 1),
13049
+ s("div", Hm, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
13050
+ s("div", Um, m(t.$t("weather.sigWave")), 1),
13051
+ s("div", Wm, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
12962
13052
  ]),
12963
- s("div", Wm, [
12964
- s("div", Gm, m(t.$t("weather.windWave")), 1),
12965
- s("div", Vm, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
12966
- s("div", Zm, m(t.$t("weather.swell")), 1),
12967
- s("div", Ym, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
13053
+ s("div", Gm, [
13054
+ s("div", Vm, m(t.$t("weather.windWave")), 1),
13055
+ s("div", Zm, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
13056
+ s("div", Ym, m(t.$t("weather.swell")), 1),
13057
+ s("div", qm, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
12968
13058
  ]),
12969
- s("div", qm, [
12970
- s("div", Xm, m(t.$t("weather.current")), 1),
12971
- s("div", Km, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
12972
- s("div", $m, m(t.$t("weather.visibility")), 1),
12973
- s("div", Jm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
13059
+ s("div", Xm, [
13060
+ s("div", Km, m(t.$t("weather.current")), 1),
13061
+ s("div", $m, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
13062
+ s("div", Jm, m(t.$t("weather.visibility")), 1),
13063
+ s("div", Qm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
12974
13064
  ])
12975
13065
  ];
12976
13066
  }),
@@ -12999,7 +13089,7 @@ function od(t, e, o, i, a, r) {
12999
13089
  })
13000
13090
  ]),
13001
13091
  default: g(() => [
13002
- $(" " + m(t.$t("actions.unfollow")), 1)
13092
+ K(" " + m(t.$t("actions.unfollow")), 1)
13003
13093
  ]),
13004
13094
  _: 1
13005
13095
  }, 8, ["onClick"])) : (y(), O(l, {
@@ -13016,7 +13106,7 @@ function od(t, e, o, i, a, r) {
13016
13106
  p(T, { style: { "font-size": "20px", "margin-top": "-2px" } })
13017
13107
  ]),
13018
13108
  default: g(() => [
13019
- $(m(t.$t("actions.follow")) + " ", 1)
13109
+ K(m(t.$t("actions.follow")) + " ", 1)
13020
13110
  ]),
13021
13111
  _: 1
13022
13112
  }, 8, ["onClick"])),
@@ -13029,7 +13119,7 @@ function od(t, e, o, i, a, r) {
13029
13119
  onClick: Oe(r.handleMeteoMore, ["stop"])
13030
13120
  }, {
13031
13121
  default: g(() => [
13032
- $(m(t.$t("spot.forecast")), 1)
13122
+ K(m(t.$t("spot.forecast")), 1)
13033
13123
  ]),
13034
13124
  _: 1
13035
13125
  }, 8, ["onClick"])
@@ -13038,22 +13128,26 @@ function od(t, e, o, i, a, r) {
13038
13128
  })
13039
13129
  ]),
13040
13130
  _: 1
13041
- })) : A("", !0),
13042
- Ve(s("div", Qm, [
13043
- (y(), M("svg", ed, [
13131
+ })) : I("", !0),
13132
+ Ve(s("div", ed, [
13133
+ (y(), M("svg", td, [
13044
13134
  s("use", {
13045
13135
  "xlink:href": `#icon-spot-${o.theme}`
13046
- }, null, 8, td)
13136
+ }, null, 8, od)
13047
13137
  ]))
13048
13138
  ], 512), [
13049
13139
  [Ze, a.showMeteo]
13050
13140
  ])
13051
13141
  ]);
13052
13142
  }
13053
- const ad = /* @__PURE__ */ Y(gm, [["render", od]]);
13054
- const id = {
13143
+ const id = /* @__PURE__ */ Y(fm, [["render", ad]]);
13144
+ const rd = {
13055
13145
  name: "IdmMeasure",
13056
13146
  props: {
13147
+ simple: {
13148
+ type: Boolean,
13149
+ default: !1
13150
+ },
13057
13151
  map: {
13058
13152
  type: Object
13059
13153
  },
@@ -13098,7 +13192,7 @@ const id = {
13098
13192
  handler() {
13099
13193
  this.$nextTick(() => {
13100
13194
  var t;
13101
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
13195
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
13102
13196
  });
13103
13197
  },
13104
13198
  immediate: !0
@@ -13111,7 +13205,7 @@ const id = {
13111
13205
  else {
13112
13206
  (t = this.map) == null || t.getCanvas().removeEventListener("keydown", this.handleKeydown), (e = this.map) == null || e.off("mousemove", this.handleMove), (o = this.map) == null || o.off("dblclick", this.handleDblClick), this.map;
13113
13207
  let i = this.geojson.find((a) => !a.closed);
13114
- i && this.handleClear(i, !0), this.geojson = this.geojson.filter((a) => !!a.closed), i = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
13208
+ i && this.handleClear(i, !0), this.geojson = this.geojson.filter((a) => !!a.closed), i = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
13115
13209
  }
13116
13210
  },
13117
13211
  immediate: !0
@@ -13206,8 +13300,8 @@ const id = {
13206
13300
  u.features = u.features.filter((h) => h.geometry.type === "Point" && h.properties.id !== n[1]), this.handlePointUpdate(u);
13207
13301
  } else if (e !== "marker-label" && this.toggle) {
13208
13302
  let n = this.geojson.at(-1);
13209
- n || (n = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(n)), n.features = n.features.filter((h) => h.geometry.type === "Point");
13210
- const u = H.feature(
13303
+ n || (n = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(n)), n.features = n.features.filter((h) => h.geometry.type === "Point");
13304
+ const u = U.feature(
13211
13305
  {
13212
13306
  type: "Point",
13213
13307
  coordinates: [t.lngLat.lng, t.lngLat.lat]
@@ -13231,7 +13325,7 @@ const id = {
13231
13325
  o = X.roundPrecision(o + h, 4);
13232
13326
  let x;
13233
13327
  c.mode === "RL" ? x = X.convertToMonotonicLng([n, u]) : x = X.convertToMonotonicLng(Ge.interpolateCoordinates(n, u, 200));
13234
- const _ = H.lineString(x.map((k) => [k.lng, k.lat]));
13328
+ const _ = U.lineString(x.map((k) => [k.lng, k.lat]));
13235
13329
  _.properties.dist = h, _.properties.bearing = b, _.properties.total = o, _.properties.name = "Line " + this.currentLineIndex, i.push(_);
13236
13330
  const f = e[a];
13237
13331
  f.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), f.properties.sumLabel = f.properties.totalDist + " nm";
@@ -13241,14 +13335,14 @@ const id = {
13241
13335
  return this.handleRender(t), t;
13242
13336
  },
13243
13337
  handleTmpPointUpdate(t, e, o, i) {
13244
- const a = H.featureCollection([]);
13338
+ const a = U.featureCollection([]);
13245
13339
  let r, l;
13246
13340
  if (e) {
13247
13341
  const n = e.properties, u = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, h = { lng: o.lng, lat: o.lat };
13248
13342
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
13249
13343
  let b;
13250
13344
  n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
13251
- const x = H.lineString(b.map((_) => [_.lng, _.lat]));
13345
+ const x = U.lineString(b.map((_) => [_.lng, _.lat]));
13252
13346
  x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
13253
13347
  }
13254
13348
  if (i) {
@@ -13256,7 +13350,7 @@ const id = {
13256
13350
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
13257
13351
  let b;
13258
13352
  n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
13259
- const x = H.lineString(b.map((_) => [_.lng, _.lat]));
13353
+ const x = U.lineString(b.map((_) => [_.lng, _.lat]));
13260
13354
  x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
13261
13355
  }
13262
13356
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
@@ -13318,14 +13412,14 @@ const id = {
13318
13412
  handleMove(t) {
13319
13413
  this.map.getCanvas().style.cursor = "crosshair";
13320
13414
  let e = this.geojson.at(-1);
13321
- e || (e = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
13415
+ e || (e = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
13322
13416
  const o = e.features.filter((i) => i.geometry.type === "Point");
13323
13417
  o != null && o.length && this.handleTmpPointUpdate(e, o.at(-1), { lng: t.lngLat.lng, lat: t.lngLat.lat });
13324
13418
  },
13325
13419
  handleDblClick(t) {
13326
13420
  t.preventDefault();
13327
13421
  let e = this.geojson.at(-1);
13328
- e.closed = !0, this.handleRender(e), e = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
13422
+ e.closed = !0, this.handleRender(e), e = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
13329
13423
  },
13330
13424
  handleRender(t) {
13331
13425
  var e;
@@ -13405,10 +13499,10 @@ const id = {
13405
13499
  }), this.pointMarkers[t.id] = [], (_ = this.tipMarker) == null || _.remove(), this.tipMarker = void 0, e && ((f = this.map) != null && f.getSource(o)) && this.map.removeSource(o), e && ((k = this.map) != null && k.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13406
13500
  }
13407
13501
  }
13408
- }, rd = { class: "idm-gl4-measure" };
13409
- function sd(t, e, o, i, a, r) {
13502
+ }, sd = { class: "idm-gl4-measure" };
13503
+ function ld(t, e, o, i, a, r) {
13410
13504
  const l = w("VBtn"), c = w("VTooltip");
13411
- return y(), M("div", rd, [
13505
+ return y(), M("div", sd, [
13412
13506
  s("div", {
13413
13507
  class: "menu-bar-box transition pa-1",
13414
13508
  style: ee({ top: o.top + o.paddingTop + 166 + "px", right: a.right + "px" })
@@ -13437,8 +13531,8 @@ function sd(t, e, o, i, a, r) {
13437
13531
  ], 4)
13438
13532
  ]);
13439
13533
  }
13440
- const ld = /* @__PURE__ */ Y(id, [["render", sd]]);
13441
- const nd = {
13534
+ const nd = /* @__PURE__ */ Y(rd, [["render", ld]]);
13535
+ const cd = {
13442
13536
  name: "IdmBottomBar",
13443
13537
  components: { DateTimePicker: Io },
13444
13538
  props: {
@@ -13563,18 +13657,18 @@ const nd = {
13563
13657
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
13564
13658
  }
13565
13659
  }
13566
- }, cd = { class: "idm-bottom-bar-gl4" }, md = { class: "date-box d-flex ga-2 mr-2" }, dd = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, hd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, pd = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, ud = {
13660
+ }, md = { class: "idm-bottom-bar-gl4" }, dd = { class: "date-box d-flex ga-2 mr-2" }, hd = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, pd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, ud = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, gd = {
13567
13661
  key: 0,
13568
13662
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13569
- }, gd = ["onClick"], fd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, yd = { class: "text-body-1" };
13570
- function bd(t, e, o, i, a, r) {
13663
+ }, fd = ["onClick"], yd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, bd = { class: "text-body-1" };
13664
+ function wd(t, e, o, i, a, r) {
13571
13665
  const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), _ = w("VTooltip");
13572
- return y(), M("div", cd, [
13666
+ return y(), M("div", md, [
13573
13667
  s("div", {
13574
13668
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
13575
13669
  style: ee({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
13576
13670
  }, [
13577
- s("div", md, [
13671
+ s("div", dd, [
13578
13672
  p(l, N({
13579
13673
  ref: "dateTimePicker",
13580
13674
  "date-time": a.currentDateTimeZ,
@@ -13594,7 +13688,7 @@ function bd(t, e, o, i, a, r) {
13594
13688
  "min-width": "30"
13595
13689
  }, {
13596
13690
  default: g(() => [
13597
- $(m(a.intervalHour) + " h ", 1),
13691
+ K(m(a.intervalHour) + " h ", 1),
13598
13692
  p(h, { activator: "parent" }, {
13599
13693
  default: g(() => [
13600
13694
  p(u, { class: "pa-1" }, {
@@ -13616,7 +13710,7 @@ function bd(t, e, o, i, a, r) {
13616
13710
  onClick: (P) => a.intervalHour = f
13617
13711
  }, {
13618
13712
  default: g(() => [
13619
- $(m(f) + "h", 1)
13713
+ K(m(f) + "h", 1)
13620
13714
  ]),
13621
13715
  _: 2
13622
13716
  }, 1032, ["onClick"])
@@ -13638,7 +13732,7 @@ function bd(t, e, o, i, a, r) {
13638
13732
  class: "mx-2 my-3",
13639
13733
  style: { height: "16px" }
13640
13734
  }),
13641
- s("div", dd, [
13735
+ s("div", hd, [
13642
13736
  p(b, {
13643
13737
  icon: "",
13644
13738
  size: "small",
@@ -13711,7 +13805,7 @@ function bd(t, e, o, i, a, r) {
13711
13805
  class: "mx-2 my-3",
13712
13806
  style: { height: "16px" }
13713
13807
  }),
13714
- s("div", hd, [
13808
+ s("div", pd, [
13715
13809
  p(_, {
13716
13810
  text: t.$t("weather.windBarbs"),
13717
13811
  location: "top"
@@ -13815,7 +13909,7 @@ function bd(t, e, o, i, a, r) {
13815
13909
  class: "mx-2 mr-3 my-3",
13816
13910
  style: { height: "16px" }
13817
13911
  }),
13818
- s("div", pd, [
13912
+ s("div", ud, [
13819
13913
  p(b, {
13820
13914
  text: "",
13821
13915
  height: "30",
@@ -13824,7 +13918,7 @@ function bd(t, e, o, i, a, r) {
13824
13918
  onClick: e[7] || (e[7] = (f) => a.source = "GFS")
13825
13919
  }, {
13826
13920
  default: g(() => e[16] || (e[16] = [
13827
- $("NOAA", -1)
13921
+ K("NOAA", -1)
13828
13922
  ])),
13829
13923
  _: 1,
13830
13924
  __: [16]
@@ -13837,7 +13931,7 @@ function bd(t, e, o, i, a, r) {
13837
13931
  onClick: e[8] || (e[8] = (f) => a.source = "ECMWF")
13838
13932
  }, {
13839
13933
  default: g(() => e[17] || (e[17] = [
13840
- $("ECMWF", -1)
13934
+ K("ECMWF", -1)
13841
13935
  ])),
13842
13936
  _: 1,
13843
13937
  __: [17]
@@ -13848,14 +13942,14 @@ function bd(t, e, o, i, a, r) {
13848
13942
  class: "timezone-box d-flex flex-column justify-space-between align-end",
13849
13943
  style: ee({ right: a.right + "px" })
13850
13944
  }, [
13851
- a.showTimezone ? (y(), M("div", ud, [
13945
+ a.showTimezone ? (y(), M("div", gd, [
13852
13946
  (y(!0), M(we, null, _e(a.offsets, (f) => (y(), M("div", {
13853
13947
  key: f,
13854
13948
  class: "item rounded text-body-2 hover-active",
13855
13949
  onClick: (k) => a.timeZone = f
13856
- }, m(f < 0 ? f : "+" + f), 9, gd))), 128))
13857
- ])) : A("", !0),
13858
- s("div", fd, [
13950
+ }, m(f < 0 ? f : "+" + f), 9, fd))), 128))
13951
+ ])) : I("", !0),
13952
+ s("div", yd, [
13859
13953
  p(b, {
13860
13954
  text: "",
13861
13955
  variant: "flat",
@@ -13865,17 +13959,17 @@ function bd(t, e, o, i, a, r) {
13865
13959
  onClick: e[9] || (e[9] = (f) => a.showTimezone = !a.showTimezone)
13866
13960
  }, {
13867
13961
  default: g(() => [
13868
- $(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
13962
+ K(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
13869
13963
  ]),
13870
13964
  _: 1
13871
13965
  }),
13872
- s("span", yd, m(a.currentRealTime), 1)
13966
+ s("span", bd, m(a.currentRealTime), 1)
13873
13967
  ])
13874
13968
  ], 4)
13875
13969
  ]);
13876
13970
  }
13877
- const wd = /* @__PURE__ */ Y(nd, [["render", bd]]);
13878
- const xd = {
13971
+ const xd = /* @__PURE__ */ Y(cd, [["render", wd]]);
13972
+ const vd = {
13879
13973
  name: "IdmBottomBar",
13880
13974
  components: { DateTimePicker: Io },
13881
13975
  props: {
@@ -13978,14 +14072,14 @@ const xd = {
13978
14072
  this.step = Math.floor(e / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
13979
14073
  }
13980
14074
  }
13981
- }, vd = { class: "timeline-box px-2 d-flex justify-center align-center rounded ga-2" };
13982
- function _d(t, e, o, i, a, r) {
14075
+ }, _d = { class: "timeline-box px-2 d-flex justify-center align-center rounded ga-2" };
14076
+ function kd(t, e, o, i, a, r) {
13983
14077
  const l = w("VBtn"), c = w("DateTimePicker");
13984
14078
  return y(), M("div", {
13985
14079
  class: "idm-time-player-gl4 d-flex justify-center align-center",
13986
14080
  style: ee({ bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
13987
14081
  }, [
13988
- s("div", vd, [
14082
+ s("div", _d, [
13989
14083
  p(l, {
13990
14084
  size: "small",
13991
14085
  density: "compact",
@@ -14077,15 +14171,15 @@ function _d(t, e, o, i, a, r) {
14077
14171
  ])
14078
14172
  ], 4);
14079
14173
  }
14080
- const $a = /* @__PURE__ */ Y(xd, [["render", _d]]), kd = {
14174
+ const $a = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
14081
14175
  name: "IdmGL4",
14082
14176
  components: {
14083
14177
  IdmOtherLayer: gl,
14084
- IdmWeatherLayer: lc,
14178
+ IdmWeatherLayer: nc,
14085
14179
  IdmTropicals: Xa,
14086
- IdmMeasure: ld,
14087
- IdmSpot: ad,
14088
- IdmBottomBar: wd,
14180
+ IdmMeasure: nd,
14181
+ IdmSpot: id,
14182
+ IdmBottomBar: xd,
14089
14183
  IdmTimePlayer: $a
14090
14184
  },
14091
14185
  props: {
@@ -14141,15 +14235,16 @@ const $a = /* @__PURE__ */ Y(xd, [["render", _d]]), kd = {
14141
14235
  }
14142
14236
  },
14143
14237
  methods: {}
14144
- }, zd = {
14238
+ }, Ld = {
14145
14239
  ref: "mapHomeGl4",
14146
14240
  class: "map-gl4-home"
14147
14241
  };
14148
- function Ld(t, e, o, i, a, r) {
14242
+ function Pd(t, e, o, i, a, r) {
14149
14243
  const l = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), h = w("IdmSpot"), b = w("IdmBottomBar"), x = w("IdmTimePlayer");
14150
- return y(), M("div", zd, [
14244
+ return y(), M("div", Ld, [
14151
14245
  p(l, N({
14152
14246
  ref: "idmOtherLayers",
14247
+ simple: o.simple,
14153
14248
  token: o.token,
14154
14249
  "default-meteo-token": a.defaultMeteoToken,
14155
14250
  map: o.map,
@@ -14162,9 +14257,10 @@ function Ld(t, e, o, i, a, r) {
14162
14257
  onOtherCheckList: e[0] || (e[0] = (_) => {
14163
14258
  a.otherCheckList = _, a.layerVersion = a.layerVersion + 1;
14164
14259
  })
14165
- }), null, 16, ["token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14260
+ }), null, 16, ["simple", "token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14166
14261
  p(c, N({
14167
14262
  ref: "idmWeatherLayers",
14263
+ simple: o.simple,
14168
14264
  map: o.map,
14169
14265
  "before-layer": "empty-layer-2",
14170
14266
  token: o.token,
@@ -14180,8 +14276,9 @@ function Ld(t, e, o, i, a, r) {
14180
14276
  onWeatherCheckList: e[2] || (e[2] = (_) => {
14181
14277
  a.weatherCheckList = _, a.layerVersion = a.layerVersion + 1;
14182
14278
  })
14183
- }), null, 16, ["map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14279
+ }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14184
14280
  p(n, N({
14281
+ simple: o.simple,
14185
14282
  map: o.map,
14186
14283
  token: o.token,
14187
14284
  "default-meteo-token": a.defaultMeteoToken,
@@ -14191,37 +14288,39 @@ function Ld(t, e, o, i, a, r) {
14191
14288
  "assist-gateway": a.assistGateway,
14192
14289
  "forecast-model": o.forecastModel,
14193
14290
  "map-feather": o.mapFeather
14194
- }, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "tropicals", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14291
+ }, t.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "tropicals", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14195
14292
  p(u, N({
14293
+ simple: o.simple,
14196
14294
  map: o.map,
14197
14295
  "map-feather": o.mapFeather
14198
- }, t.$attrs), null, 16, ["map", "map-feather"]),
14296
+ }, t.$attrs), null, 16, ["simple", "map", "map-feather"]),
14199
14297
  p(h, N({
14200
14298
  ref: "idmSpot",
14299
+ simple: o.simple,
14201
14300
  map: o.map,
14202
14301
  token: o.token,
14203
14302
  "default-meteo-token": a.defaultMeteoToken,
14204
14303
  gateway: a.gateway,
14205
14304
  "forecast-model": o.forecastModel,
14206
14305
  "map-feather": o.mapFeather
14207
- }, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
14208
- o.simple ? A("", !0) : (y(), O(b, N({
14306
+ }, t.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
14307
+ o.simple ? I("", !0) : (y(), O(b, N({
14209
14308
  key: 0,
14210
14309
  ref: "idmBottomBar",
14211
14310
  "forecast-model": o.forecastModel,
14212
14311
  "weather-check-list": a.weatherCheckList,
14213
14312
  "map-feather": o.mapFeather
14214
14313
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])),
14215
- o.simple ? A("", !0) : (y(), O(x, N({
14314
+ o.simple ? (y(), O(x, N({
14216
14315
  key: 1,
14217
14316
  ref: "idmBottomBar",
14218
14317
  "weather-check-list": a.weatherCheckList,
14219
14318
  "map-feather": o.mapFeather
14220
- }, t.$attrs), null, 16, ["weather-check-list", "map-feather"]))
14319
+ }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : I("", !0)
14221
14320
  ], 512);
14222
14321
  }
14223
- const Pd = /* @__PURE__ */ Y(kd, [["render", Ld]]);
14224
- class Td {
14322
+ const Td = /* @__PURE__ */ Y(zd, [["render", Pd]]);
14323
+ class Cd {
14225
14324
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
14226
14325
  he(this, "originStyle");
14227
14326
  he(this, "mapboxStyle");
@@ -14229,7 +14328,7 @@ class Td {
14229
14328
  he(this, "hi");
14230
14329
  he(this, "td");
14231
14330
  he(this, "windy");
14232
- var o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, K, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, U, oe, Fe, Ae, ge, Ie, W, fe, ae, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, 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, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, Yo, qo, Xo, Ko, $o, Jo, Qo, 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, Ta, Ca, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va;
14331
+ var o, i, a, r, l, c, n, u, h, b, x, _, f, k, P, B, D, T, z, L, C, v, A, F, V, q, Z, J, Q, $, se, le, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, H, oe, Fe, Ae, ge, Ie, W, fe, ae, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, 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, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, Yo, qo, Xo, Ko, $o, Jo, Qo, 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, Ta, Ca, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va;
14233
14332
  this.i4 = {
14234
14333
  source: {
14235
14334
  type: "raster",
@@ -32878,13 +32977,13 @@ class Td {
32878
32977
  (_ = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : _.find((d) => d.id === "loadlines-fill"),
32879
32978
  (k = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : k.find((d) => d.id === "empty-layer-0"),
32880
32979
  (B = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : B.find((d) => d.id === "empty-layer-1"),
32881
- (T = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : T.find((d) => d.id === "country-boundaries"),
32980
+ (T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((d) => d.id === "country-boundaries"),
32882
32981
  (L = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
32883
32982
  (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32884
- (F = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : F.find((d) => d.id === "empty-layer-2"),
32983
+ (F = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : F.find((d) => d.id === "empty-layer-2"),
32885
32984
  (q = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : q.find((d) => d.id === "water-line-label"),
32886
32985
  (J = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : J.find((d) => d.id === "water-point-label"),
32887
- (K = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : K.find((d) => d.id === "world-12nm-v4-20231025"),
32986
+ ($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
32888
32987
  (le = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : le.find((d) => d.id === "ne-10m-outline"),
32889
32988
  (ie = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ie.find((d) => d.id === "ne-10m-label"),
32890
32989
  (ue = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : ue.find((d) => d.id === "china-route-line"),
@@ -32893,7 +32992,7 @@ class Td {
32893
32992
  (xe = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : xe.find((d) => d.id === "admin-0-boundary-bg"),
32894
32993
  (Pe = (Le = this.originStyle) == null ? void 0 : Le.light.layers) == null ? void 0 : Pe.find((d) => d.id === "admin-0-boundary"),
32895
32994
  (Me = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Me.find((d) => d.id === "admin-0-boundary-disputed"),
32896
- (U = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : U.find((d) => d.id === "country-label"),
32995
+ (H = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : H.find((d) => d.id === "country-label"),
32897
32996
  (Fe = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : Fe.find((d) => d.id === "continent-label"),
32898
32997
  (ge = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
32899
32998
  (W = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-3"),
@@ -33086,7 +33185,7 @@ class Td {
33086
33185
  };
33087
33186
  }
33088
33187
  }
33089
- const Cd = {
33188
+ const Sd = {
33090
33189
  name: "MapInitial",
33091
33190
  props: {
33092
33191
  token: {
@@ -33138,7 +33237,7 @@ const Cd = {
33138
33237
  handler() {
33139
33238
  this.$nextTick(() => {
33140
33239
  var t;
33141
- this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
33240
+ this.simple || (this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10);
33142
33241
  });
33143
33242
  }
33144
33243
  },
@@ -33159,7 +33258,7 @@ const Cd = {
33159
33258
  },
33160
33259
  methods: {
33161
33260
  async initOnlineMap() {
33162
- this.helper = new Td(this.token), ke.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
33261
+ this.helper = new Cd(this.token), ke.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
33163
33262
  const t = new ke.Map({
33164
33263
  container: "map",
33165
33264
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -33200,11 +33299,11 @@ const Cd = {
33200
33299
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
33201
33300
  }
33202
33301
  }
33203
- }, Sd = { class: "v-btn--variant-elevated rounded" }, Md = { class: "v-btn--variant-elevated rounded" }, Id = { class: "zoom" }, Dd = {
33302
+ }, Md = { class: "v-btn--variant-elevated rounded" }, Id = { class: "v-btn--variant-elevated rounded" }, Dd = { class: "zoom" }, Ad = {
33204
33303
  key: 2,
33205
33304
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
33206
33305
  };
33207
- function Ad(t, e, o, i, a, r) {
33306
+ function Rd(t, e, o, i, a, r) {
33208
33307
  const l = w("VBtn");
33209
33308
  return y(), M("div", {
33210
33309
  class: "mapbox-initial-gl4",
@@ -33216,7 +33315,7 @@ function Ad(t, e, o, i, a, r) {
33216
33315
  class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1",
33217
33316
  style: ee({ top: o.top + 228 + "px", right: a.right + "px", height: "40px" })
33218
33317
  }, [
33219
- s("div", Sd, [
33318
+ s("div", Md, [
33220
33319
  p(l, {
33221
33320
  "min-width": "32",
33222
33321
  width: "32",
@@ -33231,13 +33330,13 @@ function Ad(t, e, o, i, a, r) {
33231
33330
  __: [0]
33232
33331
  }, 8, ["onClick"])
33233
33332
  ])
33234
- ], 4)) : A("", !0),
33235
- o.simple ? A("", !0) : (y(), M("div", {
33333
+ ], 4)) : I("", !0),
33334
+ o.simple ? I("", !0) : (y(), M("div", {
33236
33335
  key: 1,
33237
33336
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
33238
33337
  style: ee({ top: o.top + 268 + "px", right: a.right + "px" })
33239
33338
  }, [
33240
- s("div", Md, [
33339
+ s("div", Id, [
33241
33340
  p(l, {
33242
33341
  "min-width": "32",
33243
33342
  width: "32",
@@ -33251,7 +33350,7 @@ function Ad(t, e, o, i, a, r) {
33251
33350
  _: 1,
33252
33351
  __: [1]
33253
33352
  }, 8, ["onClick"]),
33254
- s("div", Id, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
33353
+ s("div", Dd, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
33255
33354
  p(l, {
33256
33355
  "min-width": "32",
33257
33356
  width: "32",
@@ -33267,7 +33366,7 @@ function Ad(t, e, o, i, a, r) {
33267
33366
  }, 8, ["onClick"])
33268
33367
  ])
33269
33368
  ], 4)),
33270
- o.simple ? A("", !0) : (y(), M("div", Dd, [
33369
+ o.simple ? I("", !0) : (y(), M("div", Ad, [
33271
33370
  e[3] || (e[3] = s("span", null, "© 2023", -1)),
33272
33371
  s("span", null, "-" + m(r.computeYear), 1),
33273
33372
  e[4] || (e[4] = s("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -33279,19 +33378,19 @@ function Ad(t, e, o, i, a, r) {
33279
33378
  ]))
33280
33379
  ], 4);
33281
33380
  }
33282
- const Rd = /* @__PURE__ */ Y(Cd, [["render", Ad]]), Zd = {
33381
+ const Od = /* @__PURE__ */ Y(Sd, [["render", Rd]]), Yd = {
33283
33382
  install(t) {
33284
- t.component("MapInitial", Rd), t.component("MapboxGL", Pd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Io), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", $a);
33383
+ t.component("MapInitial", Od), t.component("MapboxGL", Td), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Io), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", $a);
33285
33384
  }
33286
33385
  };
33287
33386
  export {
33288
33387
  Ka as DateRangePicker,
33289
33388
  Io as DateTimePicker,
33290
33389
  qa as LatLngGL,
33291
- Rd as MapInitial,
33292
- Pd as MapboxGL,
33293
- Zd as MapboxGLPlugin,
33294
- Td as MapboxStyleHelper,
33390
+ Od as MapInitial,
33391
+ Td as MapboxGL,
33392
+ Yd as MapboxGLPlugin,
33393
+ Cd as MapboxStyleHelper,
33295
33394
  Ce as ParticleSchema,
33296
33395
  Do as PortDetail,
33297
33396
  $a as TimePlayer,