@idmwx/idmui-gl4 3.8.8 → 3.8.9

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.
@@ -3,7 +3,7 @@ var il = (t, e, a) => e in t ? ol(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var he = (t, e, a) => (il(t, typeof e != "symbol" ? e + "" : e, a), a);
4
4
  import Ie from "axios";
5
5
  import { useTheme as Ne } from "vuetify";
6
- import { openBlock as v, createElementBlock as D, resolveComponent as P, createBlock as G, normalizeClass as ye, withCtx as x, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as b, createTextVNode as N, Fragment as Me, renderList as Se, withDirectives as ua, vShow as pa, mergeProps as V, normalizeStyle as ge, markRaw as rl } from "vue";
6
+ import { openBlock as v, createElementBlock as D, resolveComponent as P, createBlock as G, normalizeClass as ye, withCtx as x, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as b, createTextVNode as N, Fragment as Me, renderList as Se, withDirectives as ua, vShow as pa, mergeProps as V, normalizeStyle as pe, markRaw as rl } from "vue";
7
7
  import ke from "mapbox-gl";
8
8
  import T from "moment";
9
9
  import { LngLatHelper as H, TropicalHelper as pr, LaneHelper as pt, GeoJsonHelper as ut } from "@idm-plugin/geo";
@@ -2854,7 +2854,7 @@ function qs(t, e, a, i, o, r) {
2854
2854
  return a.simple ? I("", !0) : (v(), D("div", {
2855
2855
  key: 0,
2856
2856
  class: "idm-lat-lng-tip-gl4 pa-2 py-1 text-caption text-right rounded",
2857
- style: ge({ right: o.right + "px" })
2857
+ style: pe({ right: o.right + "px" })
2858
2858
  }, [
2859
2859
  n("div", null, b((l = o.lngLat) == null ? void 0 : l.lat), 1),
2860
2860
  n("div", null, b((s = o.lngLat) == null ? void 0 : s.lng), 1),
@@ -3441,7 +3441,7 @@ function Ac(t, e, a, i, o, r) {
3441
3441
  return v(), D("div", hc, [
3442
3442
  n("div", {
3443
3443
  class: ye(["menu-bar-box transition px-1 rounded", a.simple ? "simple" : ""]),
3444
- style: ge({ top: a.top + 10 + "px", right: o.right + "px", paddingTop: a.paddingTop + "px", height: a.menuHeight + "px" })
3444
+ style: pe({ top: a.top + 10 + "px", right: o.right + "px", paddingTop: a.paddingTop + "px", height: a.menuHeight + "px" })
3445
3445
  }, [
3446
3446
  w(s, {
3447
3447
  text: t.$t("layer.mapLayers"),
@@ -3471,7 +3471,7 @@ function Ac(t, e, a, i, o, r) {
3471
3471
  ], 6),
3472
3472
  n("div", {
3473
3473
  class: ye(["available-layers transition d-flex flex-column justify-start align-start", o.toggle ? "right-bar" : ""]),
3474
- style: ge(r.listStyle)
3474
+ style: pe(r.listStyle)
3475
3475
  }, [
3476
3476
  n("div", uc, [
3477
3477
  n("div", pc, b(t.$t("layer.layers")), 1),
@@ -4913,7 +4913,7 @@ function Sc(t, e, a, i, o, r) {
4913
4913
  return (l = a.factor) != null && l.active ? (v(), D("div", Pc, [
4914
4914
  n("div", {
4915
4915
  class: "legend-bars-gl4 wind",
4916
- style: ge({ right: o.right + "px" })
4916
+ style: pe({ right: o.right + "px" })
4917
4917
  }, e[0] || (e[0] = [
4918
4918
  n("span", null, "kts", -1),
4919
4919
  n("span", null, "0", -1),
@@ -5254,7 +5254,7 @@ function Gc(t, e, a, i, o, r) {
5254
5254
  return (l = a.factor) != null && l.active ? (v(), D("div", Fc, [
5255
5255
  n("div", {
5256
5256
  class: "legend-bars-gl4 current",
5257
- style: ge({ right: o.right + "px" })
5257
+ style: pe({ right: o.right + "px" })
5258
5258
  }, e[0] || (e[0] = [
5259
5259
  n("span", null, "kts", -1),
5260
5260
  n("span", null, "0", -1),
@@ -5467,7 +5467,7 @@ function Wc(t, e, a, i, o, r) {
5467
5467
  return (l = a.factor) != null && l.active ? (v(), D("div", Nc, [
5468
5468
  n("div", {
5469
5469
  class: "legend-bars-gl4 sig-wave-particle",
5470
- style: ge({ right: o.right + "px" })
5470
+ style: pe({ right: o.right + "px" })
5471
5471
  }, e[0] || (e[0] = [
5472
5472
  n("span", null, "m", -1),
5473
5473
  n("span", null, "0.5", -1),
@@ -5803,7 +5803,7 @@ function Uc(t, e, a, i, o, r) {
5803
5803
  return (l = a.factor) != null && l.active ? (v(), D("div", Yc, [
5804
5804
  n("div", {
5805
5805
  class: "legend-bars-gl4 swell",
5806
- style: ge({ right: o.right + "px" })
5806
+ style: pe({ right: o.right + "px" })
5807
5807
  }, e[0] || (e[0] = [
5808
5808
  n("span", null, "m", -1),
5809
5809
  n("span", null, "0.5", -1),
@@ -6244,7 +6244,7 @@ function im(t, e, a, i, o, r) {
6244
6244
  return (l = a.factor) != null && l.active ? (v(), D("div", om, [
6245
6245
  n("div", {
6246
6246
  class: "legend-bars-gl4 ice-edge",
6247
- style: ge({ right: o.right + "px" })
6247
+ style: pe({ right: o.right + "px" })
6248
6248
  }, e[0] || (e[0] = [
6249
6249
  n("span", { style: { color: "rgba(var(--v-theme-black), 0.7)" } }, "%", -1),
6250
6250
  n("span", null, null, -1),
@@ -6364,7 +6364,7 @@ function sm(t, e, a, i, o, r) {
6364
6364
  return (l = a.factor) != null && l.active ? (v(), D("div", nm, [
6365
6365
  n("div", {
6366
6366
  class: "legend-bars-gl4 ice-cover",
6367
- style: ge({ right: o.right + "px" })
6367
+ style: pe({ right: o.right + "px" })
6368
6368
  }, e[0] || (e[0] = [
6369
6369
  n("span", null, "%", -1),
6370
6370
  n("span", null, "20", -1),
@@ -6485,7 +6485,7 @@ function hm(t, e, a, i, o, r) {
6485
6485
  return (l = a.factor) != null && l.active ? (v(), D("div", dm, [
6486
6486
  n("div", {
6487
6487
  class: "legend-bars-gl4 ice-thickness",
6488
- style: ge({ right: o.right + "px" })
6488
+ style: pe({ right: o.right + "px" })
6489
6489
  }, e[0] || (e[0] = [
6490
6490
  n("span", null, "m", -1),
6491
6491
  n("span", null, "0", -1),
@@ -6608,7 +6608,7 @@ function fm(t, e, a, i, o, r) {
6608
6608
  return (l = a.factor) != null && l.active ? (v(), D("div", gm, [
6609
6609
  n("div", {
6610
6610
  class: "legend-bars-gl4 precip3h",
6611
- style: ge({ right: o.right + "px" })
6611
+ style: pe({ right: o.right + "px" })
6612
6612
  }, e[0] || (e[0] = [
6613
6613
  n("span", null, "mm", -1),
6614
6614
  n("span", null, "1.5", -1),
@@ -6722,7 +6722,7 @@ function xm(t, e, a, i, o, r) {
6722
6722
  return (l = a.factor) != null && l.active ? (v(), D("div", wm, [
6723
6723
  n("div", {
6724
6724
  class: "legend-bars-gl4 visibility",
6725
- style: ge({ right: o.right + "px" })
6725
+ style: pe({ right: o.right + "px" })
6726
6726
  }, e[0] || (e[0] = [
6727
6727
  n("span", null, "nm", -1),
6728
6728
  n("span", null, "0", -1),
@@ -6837,7 +6837,7 @@ function Lm(t, e, a, i, o, r) {
6837
6837
  return (l = a.factor) != null && l.active ? (v(), D("div", km, [
6838
6838
  n("div", {
6839
6839
  class: "legend-bars-gl4 water-temp",
6840
- style: ge({ right: o.right + "px" })
6840
+ style: pe({ right: o.right + "px" })
6841
6841
  }, e[0] || (e[0] = [
6842
6842
  n("span", null, "°C", -1),
6843
6843
  n("span", null, "0", -1),
@@ -6963,7 +6963,7 @@ function Mm(t, e, a, i, o, r) {
6963
6963
  return (l = a.factor) != null && l.active ? (v(), D("div", Cm, [
6964
6964
  n("div", {
6965
6965
  class: "legend-bars-gl4 temp",
6966
- style: ge({ right: o.right + "px" })
6966
+ style: pe({ right: o.right + "px" })
6967
6967
  }, e[0] || (e[0] = [
6968
6968
  n("span", null, "°C", -1),
6969
6969
  n("span", null, "-20", -1),
@@ -7741,7 +7741,7 @@ function xd(t, e, a, i, o, r) {
7741
7741
  return v(), D("div", Tm, [
7742
7742
  n("div", {
7743
7743
  class: "menu-bar-box transition pa-1",
7744
- style: ge({ top: a.top + a.paddingTop + 46 + "px", right: o.right + "px" })
7744
+ style: pe({ top: a.top + a.paddingTop + 46 + "px", right: o.right + "px" })
7745
7745
  }, [
7746
7746
  w(s, {
7747
7747
  text: t.$t("weather.weatherLayers"),
@@ -7772,7 +7772,7 @@ function xd(t, e, a, i, o, r) {
7772
7772
  r.showTipMenu ? (v(), D("div", Rm, [
7773
7773
  n("div", {
7774
7774
  class: ye(["menu-bar-box pa-1 rounded", a.simple ? "simple" : ""]),
7775
- style: ge({ right: o.right + "px", top: a.simple ? "394px" : r.lengendTipTop + "px" })
7775
+ style: pe({ right: o.right + "px", top: a.simple ? "394px" : r.lengendTipTop + "px" })
7776
7776
  }, [
7777
7777
  w(s, {
7778
7778
  text: t.$t("weather.legend"),
@@ -7804,7 +7804,7 @@ function xd(t, e, a, i, o, r) {
7804
7804
  key: 0,
7805
7805
  elevation: "16",
7806
7806
  class: "card-info d-flex justify-center align-start",
7807
- style: ge({ position: "absolute", top: a.simple ? "200px" : "340px", right: o.right + 50 + "px" })
7807
+ style: pe({ position: "absolute", top: a.simple ? "200px" : "340px", right: o.right + 50 + "px" })
7808
7808
  }, {
7809
7809
  default: x(() => [
7810
7810
  w(c, {
@@ -7821,7 +7821,7 @@ function xd(t, e, a, i, o, r) {
7821
7821
  n("div", Im, [
7822
7822
  n("i", {
7823
7823
  class: ye(["iconfont", r.barbsIconName[we]]),
7824
- style: ge({ color: a.theme === "dark" ? "#fff" : "#000" })
7824
+ style: pe({ color: a.theme === "dark" ? "#fff" : "#000" })
7825
7825
  }, null, 6),
7826
7826
  n("span", Em, b(Number(ie) < 10 ? `00${ie}kts` : Number(ie) < 100 ? `0${ie}kts` : `${ie}kts`), 1)
7827
7827
  ])
@@ -7846,7 +7846,7 @@ function xd(t, e, a, i, o, r) {
7846
7846
  n("div", Gm, [
7847
7847
  we === 0 ? (v(), D("div", Bm)) : (v(), D("div", {
7848
7848
  key: 1,
7849
- style: ge({ width: "24px", height: "12px", background: ie.color })
7849
+ style: pe({ width: "24px", height: "12px", background: ie.color })
7850
7850
  }, null, 4)),
7851
7851
  n("div", jm, b(ie.label), 1)
7852
7852
  ])
@@ -7872,7 +7872,7 @@ function xd(t, e, a, i, o, r) {
7872
7872
  n("div", Zm, [
7873
7873
  n("i", {
7874
7874
  class: "iconfont icon-a-direction-arrow text-label",
7875
- style: ge({ fontSize: 40 * ie.size + "px" })
7875
+ style: pe({ fontSize: 40 * ie.size + "px" })
7876
7876
  }, null, 4)
7877
7877
  ]),
7878
7878
  n("div", Vm, b(ie.label), 1)
@@ -7889,7 +7889,7 @@ function xd(t, e, a, i, o, r) {
7889
7889
  ])) : I("", !0),
7890
7890
  n("div", {
7891
7891
  class: ye(["available-layers transition d-flex flex-column justify-start align-start", o.toggle ? "right-bar" : ""]),
7892
- style: ge(r.listStyle)
7892
+ style: pe(r.listStyle)
7893
7893
  }, [
7894
7894
  n("div", {
7895
7895
  class: ye(["header-box w-100 d-flex justify-space-between align-center", a.simple ? "px-3" : "px-4"])
@@ -8165,7 +8165,7 @@ function xd(t, e, a, i, o, r) {
8165
8165
  }),
8166
8166
  w(c, { class: "" }, {
8167
8167
  default: x(() => {
8168
- var ie, we, $e, et, Je, Be, tt, Oe, He, Ke, at, ot, Qe, Re, De, je, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, ea, ta, aa, Xe, Ye, oa, nt, ia, gt, Ee, st, pe, Fe, oe, ee, ct, qe, Ze, J, ra, de, Ge, mt, ft, yt, X, dt, K, ht, na, xe, ga, ve, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Fa;
8168
+ var ie, we, $e, et, Je, Be, tt, Oe, He, Ke, at, ot, Qe, Re, De, je, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, ea, ta, aa, Xe, Ye, oa, nt, ia, gt, Ee, st, ge, Fe, oe, ee, ct, qe, Ze, J, ra, de, Ge, mt, ft, yt, X, dt, K, ht, na, xe, ga, ve, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Fa;
8169
8169
  return [
8170
8170
  n("div", Qm, b(t.$t("weather.atmospheric")), 1),
8171
8171
  n("div", qm, b(($e = (we = (ie = o.models) == null ? void 0 : ie.weather) == null ? void 0 : we.NOAA) == null ? void 0 : $e.source) + " " + b((Be = (Je = (et = o.models) == null ? void 0 : et.weather) == null ? void 0 : Je.NOAA) == null ? void 0 : Be.spatialResolution) + b(t.$t("units.km")) + " " + b((Ke = (He = (Oe = (tt = o.models) == null ? void 0 : tt.weather) == null ? void 0 : Oe.NOAA) == null ? void 0 : He.meta) == null ? void 0 : Ke.days) + b(t.$t("units.days")), 1),
@@ -8182,7 +8182,7 @@ function xd(t, e, a, i, o, r) {
8182
8182
  n("div", sd, b(t.$t("weather.source")) + ": NOAA", 1),
8183
8183
  n("div", cd, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((Qt = (Kt = (Jt = (Ut = (Yt = o.models) == null ? void 0 : Yt.marine) == null ? void 0 : Ut.wave) == null ? void 0 : Jt.NOAA) == null ? void 0 : Kt.meta) == null ? void 0 : Qt.availabilityTime)), 1),
8184
8184
  n("div", md, b(t.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((aa = (ta = (ea = ($t = (qt = o.models) == null ? void 0 : qt.marine) == null ? void 0 : $t.wave) == null ? void 0 : ea.NOAA) == null ? void 0 : ta.meta) == null ? void 0 : aa.initialisationTime)), 1),
8185
- n("div", dd, b((nt = (oa = (Ye = (Xe = o.models) == null ? void 0 : Xe.marine) == null ? void 0 : Ye.wave) == null ? void 0 : oa.ECMWF) == null ? void 0 : nt.source) + " " + b((st = (Ee = (gt = (ia = o.models) == null ? void 0 : ia.marine) == null ? void 0 : gt.wave) == null ? void 0 : Ee.ECMWF) == null ? void 0 : st.spatialResolution) + b(t.$t("units.km")) + " " + b((ct = (ee = (oe = (Fe = (pe = o.models) == null ? void 0 : pe.marine) == null ? void 0 : Fe.wave) == null ? void 0 : oe.ECMWF) == null ? void 0 : ee.meta) == null ? void 0 : ct.days) + b(t.$t("units.days")), 1),
8185
+ n("div", dd, b((nt = (oa = (Ye = (Xe = o.models) == null ? void 0 : Xe.marine) == null ? void 0 : Ye.wave) == null ? void 0 : oa.ECMWF) == null ? void 0 : nt.source) + " " + b((st = (Ee = (gt = (ia = o.models) == null ? void 0 : ia.marine) == null ? void 0 : gt.wave) == null ? void 0 : Ee.ECMWF) == null ? void 0 : st.spatialResolution) + b(t.$t("units.km")) + " " + b((ct = (ee = (oe = (Fe = (ge = o.models) == null ? void 0 : ge.marine) == null ? void 0 : Fe.wave) == null ? void 0 : oe.ECMWF) == null ? void 0 : ee.meta) == null ? void 0 : ct.days) + b(t.$t("units.days")), 1),
8186
8186
  n("div", hd, b(t.$t("weather.source")) + ": ECMWF", 1),
8187
8187
  n("div", ud, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((de = (ra = (J = (Ze = (qe = o.models) == null ? void 0 : qe.marine) == null ? void 0 : Ze.wave) == null ? void 0 : J.ECMWF) == null ? void 0 : ra.meta) == null ? void 0 : de.availabilityTime)), 1),
8188
8188
  n("div", pd, b(t.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((X = (yt = (ft = (mt = (Ge = o.models) == null ? void 0 : Ge.marine) == null ? void 0 : mt.wave) == null ? void 0 : ft.ECMWF) == null ? void 0 : yt.meta) == null ? void 0 : X.initialisationTime)), 1),
@@ -8666,8 +8666,8 @@ let gr = class {
8666
8666
  }
8667
8667
  static pickHourly(e, a) {
8668
8668
  var i, o, r, l, s, c, m, d, p, g, f, u, h, y, z, L, A, _, C, M, S, R, F, B, j, U, te, le, se, be, E, q, $, me, Q, Y, re, Z, ae, ce, Ae, ze, fe, Le, Ce, We, ie, we, $e, et, Je, Be, tt, Oe, He, Ke, at, ot, Qe, Re, De, je, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, ea, ta, aa, Xe, Ye, oa, nt, ia, gt, Ee, st;
8669
- const pe = typeof a == "string" ? T(a) : a;
8670
- let Fe = pe.clone();
8669
+ const ge = typeof a == "string" ? T(a) : a;
8670
+ let Fe = ge.clone();
8671
8671
  const oe = e == null ? void 0 : e.weather, ee = e == null ? void 0 : e.marine, ct = ((o = (i = oe == null ? void 0 : oe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date) || ((l = (r = ee == null ? void 0 : ee[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.date), qe = T.utc(ct), Ze = qe.clone().add(((m = (c = (s = oe == null ? void 0 : oe[0]) == null ? void 0 : s.hourly) == null ? void 0 : c.time) == null ? void 0 : m.at(0)) || ((g = (p = (d = ee == null ? void 0 : ee[0]) == null ? void 0 : d.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((L = (z = (y = ee == null ? void 0 : ee[0]) == null ? void 0 : y.hourly) == null ? void 0 : z.time) == null ? void 0 : L.at(-1)), "h"), ra = [];
8672
8672
  Fe = Fe.isBefore(Ze) ? Ze.clone() : Fe, Fe = Fe.isAfter(J) ? J.clone() : Fe;
8673
8673
  const de = Fe.utc().diff(Ze, "h", !1);
@@ -8711,7 +8711,7 @@ let gr = class {
8711
8711
  };
8712
8712
  const { name: na, url: xe, bg: ga } = this.parseWeatherCode(Ge.code, Ge.isDay);
8713
8713
  Ge.name = na, Ge.url = xe, Ge.bg = ga, Ge.wind.scale = this.beaufort(this.kts2ms(Ge.wind.kts)), Ge.wind.direction = this.degree2Direction(Ge.wind.degree), ra.push({
8714
- utc: pe.utc().format(),
8714
+ utc: ge.utc().format(),
8715
8715
  realUTC: Ze.add(de, "h").format(),
8716
8716
  model: dt.model,
8717
8717
  weather: { ...Ge }
@@ -8758,7 +8758,7 @@ let gr = class {
8758
8758
  sic: ((gt = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : gt.at(de)) ?? ((st = (Ee = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : Ee.filter((xe) => xe !== null)) == null ? void 0 : st.at(-1))
8759
8759
  }
8760
8760
  }, mt.wave = this.parseWave(mt.wave, Ge == null ? void 0 : Ge.wind), mt.current.direction = this.degree2Direction(mt.current.degree), ra[ft] ? Object.assign(ra[ft], mt) : ra.push({
8761
- utc: pe.utc().format(),
8761
+ utc: ge.utc().format(),
8762
8762
  realUTC: Ze.add(de, "h").format(),
8763
8763
  model: yt.model,
8764
8764
  ...mt
@@ -8797,52 +8797,52 @@ let gr = class {
8797
8797
  const Ye = e == null ? void 0 : e.weather, oa = e == null ? void 0 : e.marine, nt = T((r = (o = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), ia = T((c = (s = (l = Ye == null ? void 0 : Ye[0]) == null ? void 0 : l.daily) == null ? void 0 : s.time) == null ? void 0 : c.at(-1)), gt = [];
8798
8798
  Xe = Xe.isBefore(nt) ? nt.clone() : Xe, Xe = Xe.isAfter(ia) ? ia.clone() : Xe;
8799
8799
  let Ee, st;
8800
- const pe = Xe.diff(nt, "d", !1);
8800
+ const ge = Xe.diff(nt, "d", !1);
8801
8801
  if (Ye)
8802
8802
  for (const Fe of Ye) {
8803
- const oe = Fe.daily, ee = ((m = oe.wind_direction_10m_dominant) == null ? void 0 : m.at(pe)) ?? ((p = (d = oe.wind_direction_10m_dominant) == null ? void 0 : d.filter((J) => J !== null)) == null ? void 0 : p.at(-1));
8803
+ const oe = Fe.daily, ee = ((m = oe.wind_direction_10m_dominant) == null ? void 0 : m.at(ge)) ?? ((p = (d = oe.wind_direction_10m_dominant) == null ? void 0 : d.filter((J) => J !== null)) == null ? void 0 : p.at(-1));
8804
8804
  Ee = {
8805
- code: ((g = oe.weather_code) == null ? void 0 : g.at(pe)) ?? ((u = (f = oe.weather_code) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
8805
+ code: ((g = oe.weather_code) == null ? void 0 : g.at(ge)) ?? ((u = (f = oe.weather_code) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
8806
8806
  temp: {
8807
- max: ((h = oe.temperature_2m_max) == null ? void 0 : h.at(pe)) ?? ((z = (y = oe.temperature_2m_max) == null ? void 0 : y.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
8808
- min: ((L = oe.temperature_2m_min) == null ? void 0 : L.at(pe)) ?? ((_ = (A = oe.temperature_2m_min) == null ? void 0 : A.filter((J) => J !== null)) == null ? void 0 : _.at(-1)),
8809
- mean: ((C = oe.temperature_2m_mean) == null ? void 0 : C.at(pe)) ?? ((S = (M = oe.temperature_2m_mean) == null ? void 0 : M.filter((J) => J !== null)) == null ? void 0 : S.at(-1))
8807
+ max: ((h = oe.temperature_2m_max) == null ? void 0 : h.at(ge)) ?? ((z = (y = oe.temperature_2m_max) == null ? void 0 : y.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
8808
+ min: ((L = oe.temperature_2m_min) == null ? void 0 : L.at(ge)) ?? ((_ = (A = oe.temperature_2m_min) == null ? void 0 : A.filter((J) => J !== null)) == null ? void 0 : _.at(-1)),
8809
+ mean: ((C = oe.temperature_2m_mean) == null ? void 0 : C.at(ge)) ?? ((S = (M = oe.temperature_2m_mean) == null ? void 0 : M.filter((J) => J !== null)) == null ? void 0 : S.at(-1))
8810
8810
  },
8811
8811
  apparentTemp: {
8812
- max: ((R = oe.apparent_temperature_max) == null ? void 0 : R.at(pe)) ?? ((B = (F = oe.apparent_temperature_max) == null ? void 0 : F.filter((J) => J !== null)) == null ? void 0 : B.at(-1)),
8813
- min: ((j = oe.apparent_temperature_min) == null ? void 0 : j.at(pe)) ?? ((te = (U = oe.apparent_temperature_min) == null ? void 0 : U.filter((J) => J !== null)) == null ? void 0 : te.at(-1))
8812
+ max: ((R = oe.apparent_temperature_max) == null ? void 0 : R.at(ge)) ?? ((B = (F = oe.apparent_temperature_max) == null ? void 0 : F.filter((J) => J !== null)) == null ? void 0 : B.at(-1)),
8813
+ min: ((j = oe.apparent_temperature_min) == null ? void 0 : j.at(ge)) ?? ((te = (U = oe.apparent_temperature_min) == null ? void 0 : U.filter((J) => J !== null)) == null ? void 0 : te.at(-1))
8814
8814
  },
8815
8815
  precip: {
8816
- sum: ((le = oe.precipitation_sum) == null ? void 0 : le.at(pe)) ?? ((be = (se = oe.precipitation_sum) == null ? void 0 : se.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
8817
- rainSum: ((E = oe.rain_sum) == null ? void 0 : E.at(pe)) ?? (($ = (q = oe.rain_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : $.at(-1)),
8818
- snowfallSum: ((me = oe.snowfall_sum) == null ? void 0 : me.at(pe)) ?? ((Y = (Q = oe.snowfall_sum) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
8819
- showersSum: ((re = oe.showers_sum) == null ? void 0 : re.at(pe)) ?? ((ae = (Z = oe.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : ae.at(-1)),
8820
- hours: ((ce = oe.precipitation_hours) == null ? void 0 : ce.at(pe)) ?? 0,
8821
- probability: ((Ae = oe.precipitation_probability_max) == null ? void 0 : Ae.at(pe)) ?? 0
8816
+ sum: ((le = oe.precipitation_sum) == null ? void 0 : le.at(ge)) ?? ((be = (se = oe.precipitation_sum) == null ? void 0 : se.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
8817
+ rainSum: ((E = oe.rain_sum) == null ? void 0 : E.at(ge)) ?? (($ = (q = oe.rain_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : $.at(-1)),
8818
+ snowfallSum: ((me = oe.snowfall_sum) == null ? void 0 : me.at(ge)) ?? ((Y = (Q = oe.snowfall_sum) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
8819
+ showersSum: ((re = oe.showers_sum) == null ? void 0 : re.at(ge)) ?? ((ae = (Z = oe.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : ae.at(-1)),
8820
+ hours: ((ce = oe.precipitation_hours) == null ? void 0 : ce.at(ge)) ?? 0,
8821
+ probability: ((Ae = oe.precipitation_probability_max) == null ? void 0 : Ae.at(ge)) ?? 0
8822
8822
  },
8823
8823
  rh: {
8824
- max: ((ze = oe.relative_humidity_2m_max) == null ? void 0 : ze.at(pe)) ?? ((Le = (fe = oe.relative_humidity_2m_max) == null ? void 0 : fe.filter((J) => J !== null)) == null ? void 0 : Le.at(-1)),
8825
- min: ((Ce = oe.relative_humidity_2m_min) == null ? void 0 : Ce.at(pe)) ?? ((ie = (We = oe.relative_humidity_2m_min) == null ? void 0 : We.filter((J) => J !== null)) == null ? void 0 : ie.at(-1)),
8826
- mean: ((we = oe.relative_humidity_2m_mean) == null ? void 0 : we.at(pe)) ?? ((et = ($e = oe.relative_humidity_2m_mean) == null ? void 0 : $e.filter((J) => J !== null)) == null ? void 0 : et.at(-1))
8824
+ max: ((ze = oe.relative_humidity_2m_max) == null ? void 0 : ze.at(ge)) ?? ((Le = (fe = oe.relative_humidity_2m_max) == null ? void 0 : fe.filter((J) => J !== null)) == null ? void 0 : Le.at(-1)),
8825
+ min: ((Ce = oe.relative_humidity_2m_min) == null ? void 0 : Ce.at(ge)) ?? ((ie = (We = oe.relative_humidity_2m_min) == null ? void 0 : We.filter((J) => J !== null)) == null ? void 0 : ie.at(-1)),
8826
+ mean: ((we = oe.relative_humidity_2m_mean) == null ? void 0 : we.at(ge)) ?? ((et = ($e = oe.relative_humidity_2m_mean) == null ? void 0 : $e.filter((J) => J !== null)) == null ? void 0 : et.at(-1))
8827
8827
  },
8828
8828
  wind: {
8829
- speed: ((Je = oe.wind_speed_10m_max) == null ? void 0 : Je.at(pe)) ?? ((tt = (Be = oe.wind_speed_10m_max) == null ? void 0 : Be.filter((J) => J !== null)) == null ? void 0 : tt.at(-1)),
8830
- kts: ((Oe = oe.wind_speed_10m_max) == null ? void 0 : Oe.at(pe)) ?? ((Ke = (He = oe.wind_speed_10m_max) == null ? void 0 : He.filter((J) => J !== null)) == null ? void 0 : Ke.at(-1)),
8829
+ speed: ((Je = oe.wind_speed_10m_max) == null ? void 0 : Je.at(ge)) ?? ((tt = (Be = oe.wind_speed_10m_max) == null ? void 0 : Be.filter((J) => J !== null)) == null ? void 0 : tt.at(-1)),
8830
+ kts: ((Oe = oe.wind_speed_10m_max) == null ? void 0 : Oe.at(ge)) ?? ((Ke = (He = oe.wind_speed_10m_max) == null ? void 0 : He.filter((J) => J !== null)) == null ? void 0 : Ke.at(-1)),
8831
8831
  degree: ee,
8832
- gusts: ((at = oe.wind_gusts_10m_max) == null ? void 0 : at.at(pe)) ?? ((Qe = (ot = oe.wind_gusts_10m_max) == null ? void 0 : ot.filter((J) => J !== null)) == null ? void 0 : Qe.at(-1)),
8833
- mean: ((Re = oe.wind_speed_10m_mean) == null ? void 0 : Re.at(pe)) ?? ((je = (De = oe.wind_speed_10m_mean) == null ? void 0 : De.filter((J) => J !== null)) == null ? void 0 : je.at(-1)),
8832
+ gusts: ((at = oe.wind_gusts_10m_max) == null ? void 0 : at.at(ge)) ?? ((Qe = (ot = oe.wind_gusts_10m_max) == null ? void 0 : ot.filter((J) => J !== null)) == null ? void 0 : Qe.at(-1)),
8833
+ mean: ((Re = oe.wind_speed_10m_mean) == null ? void 0 : Re.at(ge)) ?? ((je = (De = oe.wind_speed_10m_mean) == null ? void 0 : De.filter((J) => J !== null)) == null ? void 0 : je.at(-1)),
8834
8834
  bearing: ee !== null ? Math.round((ee + 180) % 360) : null
8835
8835
  },
8836
8836
  visibility: {
8837
- max: this.m2nm(((it = oe.visibility_max) == null ? void 0 : it.at(pe)) ?? ((lt = (rt = oe.visibility_max) == null ? void 0 : rt.filter((J) => J !== null)) == null ? void 0 : lt.at(-1))),
8838
- min: this.m2nm(((Ve = oe.visibility_min) == null ? void 0 : Ve.at(pe)) ?? ((wt = (bt = oe.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
8839
- mean: this.m2nm(((xt = oe.visibility_mean) == null ? void 0 : xt.at(pe)) ?? ((At = (vt = oe.visibility_mean) == null ? void 0 : vt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
8837
+ max: this.m2nm(((it = oe.visibility_max) == null ? void 0 : it.at(ge)) ?? ((lt = (rt = oe.visibility_max) == null ? void 0 : rt.filter((J) => J !== null)) == null ? void 0 : lt.at(-1))),
8838
+ min: this.m2nm(((Ve = oe.visibility_min) == null ? void 0 : Ve.at(ge)) ?? ((wt = (bt = oe.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
8839
+ mean: this.m2nm(((xt = oe.visibility_mean) == null ? void 0 : xt.at(ge)) ?? ((At = (vt = oe.visibility_mean) == null ? void 0 : vt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
8840
8840
  }
8841
8841
  };
8842
8842
  const { name: ct, url: qe, bg: Ze } = this.parseWeatherCode(Ee.code, !0);
8843
8843
  Ee.name = ct, Ee.url = qe, Ee.bg = Ze, Ee.wind.scale = this.beaufort(this.kts2ms(Ee.wind.kts)), Ee.wind.direction = this.degree2Direction(Ee.wind.degree), gt.push({
8844
8844
  utc: aa.utc().format(),
8845
- realUTC: nt.add(pe, "d").utc().format(),
8845
+ realUTC: nt.add(ge, "d").utc().format(),
8846
8846
  model: Fe.model,
8847
8847
  weather: { ...Ee }
8848
8848
  });
@@ -8850,27 +8850,27 @@ let gr = class {
8850
8850
  if (oa) {
8851
8851
  let Fe = 0;
8852
8852
  for (const oe of oa) {
8853
- const ee = oe.daily, ct = ((kt = ee == null ? void 0 : ee.wave_direction_dominant) == null ? void 0 : kt.at(pe)) || ((zt = (Lt = ee == null ? void 0 : ee.wave_direction_dominant) == null ? void 0 : Lt.filter((J) => J !== null)) == null ? void 0 : zt.at(-1)), qe = ((_t = ee == null ? void 0 : ee.swell_wave_direction_dominant) == null ? void 0 : _t.at(pe)) || ((Mt = (Ct = ee == null ? void 0 : ee.swell_wave_direction_dominant) == null ? void 0 : Ct.filter((J) => J !== null)) == null ? void 0 : Mt.at(-1)), Ze = ((Pt = ee == null ? void 0 : ee.wind_wave_direction_dominant) == null ? void 0 : Pt.at(pe)) || ((Tt = (St = ee == null ? void 0 : ee.wind_wave_direction_dominant) == null ? void 0 : St.filter((J) => J !== null)) == null ? void 0 : Tt.at(-1));
8853
+ const ee = oe.daily, ct = ((kt = ee == null ? void 0 : ee.wave_direction_dominant) == null ? void 0 : kt.at(ge)) || ((zt = (Lt = ee == null ? void 0 : ee.wave_direction_dominant) == null ? void 0 : Lt.filter((J) => J !== null)) == null ? void 0 : zt.at(-1)), qe = ((_t = ee == null ? void 0 : ee.swell_wave_direction_dominant) == null ? void 0 : _t.at(ge)) || ((Mt = (Ct = ee == null ? void 0 : ee.swell_wave_direction_dominant) == null ? void 0 : Ct.filter((J) => J !== null)) == null ? void 0 : Mt.at(-1)), Ze = ((Pt = ee == null ? void 0 : ee.wind_wave_direction_dominant) == null ? void 0 : Pt.at(ge)) || ((Tt = (St = ee == null ? void 0 : ee.wind_wave_direction_dominant) == null ? void 0 : St.filter((J) => J !== null)) == null ? void 0 : Tt.at(-1));
8854
8854
  st = {
8855
8855
  wave: {
8856
8856
  sig: {
8857
- height: ((Rt = ee == null ? void 0 : ee.wave_height_max) == null ? void 0 : Rt.at(pe)) || ((It = (Dt = ee == null ? void 0 : ee.wave_height_max) == null ? void 0 : Dt.filter((J) => J !== null)) == null ? void 0 : It.at(-1)),
8857
+ height: ((Rt = ee == null ? void 0 : ee.wave_height_max) == null ? void 0 : Rt.at(ge)) || ((It = (Dt = ee == null ? void 0 : ee.wave_height_max) == null ? void 0 : Dt.filter((J) => J !== null)) == null ? void 0 : It.at(-1)),
8858
8858
  degree: ct,
8859
- period: ((Et = ee == null ? void 0 : ee.wave_period_max) == null ? void 0 : Et.at(pe)) || ((Gt = (Ft = ee == null ? void 0 : ee.wave_period_max) == null ? void 0 : Ft.filter((J) => J !== null)) == null ? void 0 : Gt.at(-1)),
8859
+ period: ((Et = ee == null ? void 0 : ee.wave_period_max) == null ? void 0 : Et.at(ge)) || ((Gt = (Ft = ee == null ? void 0 : ee.wave_period_max) == null ? void 0 : Ft.filter((J) => J !== null)) == null ? void 0 : Gt.at(-1)),
8860
8860
  bearing: ct !== null ? Math.round((ct + 180) % 360) : null
8861
8861
  },
8862
8862
  swell: {
8863
- height: ((Bt = ee == null ? void 0 : ee.swell_wave_height_max) == null ? void 0 : Bt.at(pe)) ?? ((Nt = (jt = ee == null ? void 0 : ee.swell_wave_height_max) == null ? void 0 : jt.filter((J) => J !== null)) == null ? void 0 : Nt.at(-1)),
8863
+ height: ((Bt = ee == null ? void 0 : ee.swell_wave_height_max) == null ? void 0 : Bt.at(ge)) ?? ((Nt = (jt = ee == null ? void 0 : ee.swell_wave_height_max) == null ? void 0 : jt.filter((J) => J !== null)) == null ? void 0 : Nt.at(-1)),
8864
8864
  degree: qe,
8865
- period: ((Wt = ee == null ? void 0 : ee.swell_wave_period_max) == null ? void 0 : Wt.at(pe)) ?? ((Vt = (Zt = ee == null ? void 0 : ee.swell_wave_period_max) == null ? void 0 : Zt.filter((J) => J !== null)) == null ? void 0 : Vt.at(-1)),
8866
- peakPeriod: ((Xt = ee == null ? void 0 : ee.swell_wave_peak_period_max) == null ? void 0 : Xt.at(pe)) ?? ((Ht = (Ot = ee == null ? void 0 : ee.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((J) => J !== null)) == null ? void 0 : Ht.at(-1)),
8865
+ period: ((Wt = ee == null ? void 0 : ee.swell_wave_period_max) == null ? void 0 : Wt.at(ge)) ?? ((Vt = (Zt = ee == null ? void 0 : ee.swell_wave_period_max) == null ? void 0 : Zt.filter((J) => J !== null)) == null ? void 0 : Vt.at(-1)),
8866
+ peakPeriod: ((Xt = ee == null ? void 0 : ee.swell_wave_peak_period_max) == null ? void 0 : Xt.at(ge)) ?? ((Ht = (Ot = ee == null ? void 0 : ee.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((J) => J !== null)) == null ? void 0 : Ht.at(-1)),
8867
8867
  bearing: qe !== null ? Math.round((qe + 180) % 360) : null
8868
8868
  },
8869
8869
  wd: {
8870
- height: ((Yt = ee == null ? void 0 : ee.wind_wave_height_max) == null ? void 0 : Yt.at(pe)) ?? ((Jt = (Ut = ee == null ? void 0 : ee.wind_wave_height_max) == null ? void 0 : Ut.filter((J) => J !== null)) == null ? void 0 : Jt.at(-1)),
8870
+ height: ((Yt = ee == null ? void 0 : ee.wind_wave_height_max) == null ? void 0 : Yt.at(ge)) ?? ((Jt = (Ut = ee == null ? void 0 : ee.wind_wave_height_max) == null ? void 0 : Ut.filter((J) => J !== null)) == null ? void 0 : Jt.at(-1)),
8871
8871
  degree: Ze,
8872
- period: ((Kt = ee == null ? void 0 : ee.wind_wave_period_max) == null ? void 0 : Kt.at(pe)) ?? ((qt = (Qt = ee == null ? void 0 : ee.wind_wave_period_max) == null ? void 0 : Qt.filter((J) => J !== null)) == null ? void 0 : qt.at(-1)),
8873
- peakPeriod: (($t = ee == null ? void 0 : ee.wind_wave_peak_period_max) == null ? void 0 : $t.at(pe)) ?? ((ta = (ea = ee == null ? void 0 : ee.wind_wave_peak_period_max) == null ? void 0 : ea.filter((J) => J !== null)) == null ? void 0 : ta.at(-1)),
8872
+ period: ((Kt = ee == null ? void 0 : ee.wind_wave_period_max) == null ? void 0 : Kt.at(ge)) ?? ((qt = (Qt = ee == null ? void 0 : ee.wind_wave_period_max) == null ? void 0 : Qt.filter((J) => J !== null)) == null ? void 0 : qt.at(-1)),
8873
+ peakPeriod: (($t = ee == null ? void 0 : ee.wind_wave_peak_period_max) == null ? void 0 : $t.at(ge)) ?? ((ta = (ea = ee == null ? void 0 : ee.wind_wave_peak_period_max) == null ? void 0 : ea.filter((J) => J !== null)) == null ? void 0 : ta.at(-1)),
8874
8874
  bearing: Ze !== null ? Math.round((Ze + 180) % 360) : null
8875
8875
  }
8876
8876
  }
@@ -10070,7 +10070,7 @@ function iu(t, e, a, i, o, r) {
10070
10070
  return v(), D("div", kd, [
10071
10071
  n("div", {
10072
10072
  class: "menu-bar-box transition pa-1",
10073
- style: ge({ top: a.top + a.paddingTop + 86 + "px", right: o.right + "px" })
10073
+ style: pe({ top: a.top + a.paddingTop + 86 + "px", right: o.right + "px" })
10074
10074
  }, [
10075
10075
  w(s, {
10076
10076
  text: t.$t("tropical.tropicals"),
@@ -10643,14 +10643,14 @@ function mu(t, e, a, i, o, r) {
10643
10643
  const l = P("VDatePicker"), s = P("VDivider"), c = P("VListItemTitle"), m = P("VListItem"), d = P("VList"), p = P("VCardText"), g = P("VBtn"), f = P("VCardActions"), u = P("VCard");
10644
10644
  return v(), D("div", lu, [
10645
10645
  n("div", {
10646
- style: ge({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
10646
+ style: pe({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
10647
10647
  class: ye([[a.bgClass, { "cursor-pointer": !a.disabled }], "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2"]),
10648
10648
  onClick: e[0] || (e[0] = (...h) => r.handleOpenDatePicker && r.handleOpenDatePicker(...h))
10649
10649
  }, b(o.currentDateTime) + " | UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 7),
10650
10650
  o.showDatePicker ? (v(), G(u, {
10651
10651
  key: 0,
10652
10652
  class: "card-box d-flex flex-column border elevation-12",
10653
- style: ge(r.getStyle)
10653
+ style: pe(r.getStyle)
10654
10654
  }, {
10655
10655
  default: x(() => [
10656
10656
  w(p, { class: "w-100 flex-1-1-0 d-flex pa-0 text-body-1" }, {
@@ -11139,7 +11139,7 @@ function Pp(t, e, a, i, o, r) {
11139
11139
  return v(), D("div", hu, [
11140
11140
  n("div", {
11141
11141
  class: "menu-bar-box transition pa-1",
11142
- style: ge({ top: a.top + a.paddingTop + 126 + "px", right: o.right + "px" })
11142
+ style: pe({ top: a.top + a.paddingTop + 126 + "px", right: o.right + "px" })
11143
11143
  }, [
11144
11144
  w(s, {
11145
11145
  text: t.$t("spot.spotsMeteo"),
@@ -11170,7 +11170,7 @@ function Pp(t, e, a, i, o, r) {
11170
11170
  o.showForm && !a.simple ? (v(), G(L, {
11171
11171
  key: 0,
11172
11172
  class: "spot-form-card",
11173
- style: ge({ top: a.top + a.paddingTop + 126 + "px", right: o.right + 50 + "px" })
11173
+ style: pe({ top: a.top + a.paddingTop + 126 + "px", right: o.right + 50 + "px" })
11174
11174
  }, {
11175
11175
  default: x(() => [
11176
11176
  w(c, { class: "d-flex justify-space-between align-center" }, {
@@ -12080,7 +12080,7 @@ function Dp(t, e, a, i, o, r) {
12080
12080
  return v(), D("div", Rp, [
12081
12081
  n("div", {
12082
12082
  class: "menu-bar-box transition pa-1",
12083
- style: ge({ top: a.top + a.paddingTop + 166 + "px", right: o.right + "px" })
12083
+ style: pe({ top: a.top + a.paddingTop + 166 + "px", right: o.right + "px" })
12084
12084
  }, [
12085
12085
  w(s, {
12086
12086
  text: t.$t("measure.measure"),
@@ -12135,6 +12135,10 @@ const Ep = {
12135
12135
  type: Number,
12136
12136
  default: 48
12137
12137
  },
12138
+ right: {
12139
+ type: Number,
12140
+ default: 10
12141
+ },
12138
12142
  menuToggle: {
12139
12143
  type: Object,
12140
12144
  default: () => ({})
@@ -12919,8 +12923,9 @@ const Ep = {
12919
12923
  function cg(t, e, a, i, o, r) {
12920
12924
  const l = P("VBtn"), s = P("VCardTitle"), c = P("VDivider"), m = P("VTextField"), d = P("VCardText"), p = P("VBtnToggle"), g = P("VCol"), f = P("VRow"), u = P("VCardActions"), h = P("VForm"), y = P("VCard");
12921
12925
  return v(), G(y, {
12922
- class: "idm-gl4-draw-dialog-card",
12923
- elevation: "4"
12926
+ class: "idm-gl4-draw-dialog-card transition",
12927
+ elevation: "4",
12928
+ style: pe({ top: a.top + a.paddingTop + 60 + "px", right: a.right + 50 + "px" })
12924
12929
  }, {
12925
12930
  default: x(() => {
12926
12931
  var z;
@@ -13522,7 +13527,7 @@ function cg(t, e, a, i, o, r) {
13522
13527
  ];
13523
13528
  }),
13524
13529
  _: 1
13525
- });
13530
+ }, 8, ["style"]);
13526
13531
  }
13527
13532
  const mg = /* @__PURE__ */ ne(Ep, [["render", cg]]);
13528
13533
  const dg = {
@@ -14592,7 +14597,7 @@ function rf(t, e, a, i, o, r) {
14592
14597
  return v(), D("div", Bg, [
14593
14598
  n("div", {
14594
14599
  class: "menu-bar-box transition pa-1",
14595
- style: ge({ top: a.top + a.paddingTop + 206 + "px", right: o.right + "px" })
14600
+ style: pe({ top: a.top + a.paddingTop + 206 + "px", right: o.right + "px" })
14596
14601
  }, [
14597
14602
  w(s, {
14598
14603
  text: t.$t("marker.markers"),
@@ -14622,7 +14627,7 @@ function rf(t, e, a, i, o, r) {
14622
14627
  ], 4),
14623
14628
  n("div", {
14624
14629
  class: ye(["main-box transition d-flex flex-column justify-start align-start", o.toggle ? "right-bar" : ""]),
14625
- style: ge(r.listStyle)
14630
+ style: pe(r.listStyle)
14626
14631
  }, [
14627
14632
  n("div", jg, [
14628
14633
  n("div", Ng, [
@@ -14944,10 +14949,11 @@ function rf(t, e, a, i, o, r) {
14944
14949
  "default-meteo-token": a.defaultMeteoToken,
14945
14950
  "edit-layer": o.currentLayer,
14946
14951
  group: o.currentGroup,
14952
+ right: o.right,
14947
14953
  onClose: r.handleCloseDraw,
14948
14954
  onSave: r.handleSaveMarker,
14949
14955
  onHideLayer: r.handleClearLayer
14950
- }, null, 8, ["map", "gateway", "token", "default-meteo-token", "edit-layer", "group", "onClose", "onSave", "onHideLayer"])) : I("", !0),
14956
+ }, null, 8, ["map", "gateway", "token", "default-meteo-token", "edit-layer", "group", "right", "onClose", "onSave", "onHideLayer"])) : I("", !0),
14951
14957
  o.importDialog ? (v(), G(_, {
14952
14958
  key: 1,
14953
14959
  map: a.map,
@@ -17861,52 +17867,52 @@ Te.capture = async (t, e, a) => {
17861
17867
  if (a !== tl)
17862
17868
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17863
17869
  let i = await el(t, e), o = { img: async (u, h) => {
17864
- let { toImg: y } = await import("./toImg-ba3ec91a.js");
17870
+ let { toImg: y } = await import("./toImg-53c56812.js");
17865
17871
  return y(i, { ...u, ...h || {} });
17866
17872
  }, svg: async (u, h) => {
17867
- let { toSvg: y } = await import("./toImg-ba3ec91a.js");
17873
+ let { toSvg: y } = await import("./toImg-53c56812.js");
17868
17874
  return y(i, { ...u, ...h || {} });
17869
17875
  }, canvas: async (u, h) => {
17870
- let { toCanvas: y } = await import("./toCanvas-241b5c0b.js");
17876
+ let { toCanvas: y } = await import("./toCanvas-b79de871.js");
17871
17877
  return y(i, { ...u, ...h || {} });
17872
17878
  }, blob: async (u, h) => {
17873
- let { toBlob: y } = await import("./toBlob-6b52e5a0.js");
17879
+ let { toBlob: y } = await import("./toBlob-d6c76b35.js");
17874
17880
  return y(i, { ...u, ...h || {} });
17875
17881
  }, png: async (u, h) => {
17876
- let { rasterize: y } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17882
+ let { rasterize: y } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17877
17883
  return y(i, { ...u, ...h || {}, format: "png" });
17878
17884
  }, jpeg: async (u, h) => {
17879
- let { rasterize: y } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17885
+ let { rasterize: y } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17880
17886
  return y(i, { ...u, ...h || {}, format: "jpeg" });
17881
17887
  }, webp: async (u, h) => {
17882
- let { rasterize: y } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17888
+ let { rasterize: y } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17883
17889
  return y(i, { ...u, ...h || {}, format: "webp" });
17884
17890
  }, download: async (u, h) => {
17885
- let { download: y } = await import("./download-5dec8930.js");
17891
+ let { download: y } = await import("./download-93c2a207.js");
17886
17892
  return y(i, { ...u, ...h || {} });
17887
17893
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
17888
- let { toSvg: h } = await import("./toImg-ba3ec91a.js");
17894
+ let { toSvg: h } = await import("./toImg-53c56812.js");
17889
17895
  return h(i, { ...e, ...u || {}, [da]: !0 });
17890
17896
  }, canvas: async (u) => {
17891
- let { toCanvas: h } = await import("./toCanvas-241b5c0b.js");
17897
+ let { toCanvas: h } = await import("./toCanvas-b79de871.js");
17892
17898
  return h(i, { ...e, ...u || {}, [da]: !0 });
17893
17899
  }, png: async (u) => {
17894
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17900
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17895
17901
  return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
17896
17902
  }, jpeg: async (u) => {
17897
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17903
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17898
17904
  return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
17899
17905
  }, jpg: async (u) => {
17900
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17906
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17901
17907
  return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
17902
17908
  }, webp: async (u) => {
17903
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-bbe24225.js");
17909
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-6a4ffccb.js");
17904
17910
  return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
17905
17911
  }, blob: async (u) => {
17906
- let { toBlob: h } = await import("./toBlob-6b52e5a0.js");
17912
+ let { toBlob: h } = await import("./toBlob-d6c76b35.js");
17907
17913
  return h(i, { ...e, ...u || {}, [da]: !0 });
17908
17914
  }, img: async (u) => {
17909
- let { toImg: h } = await import("./toImg-ba3ec91a.js");
17915
+ let { toImg: h } = await import("./toImg-53c56812.js");
17910
17916
  return h(i, { ...e, ...u || {}, [da]: !0 });
17911
17917
  } } }, l = await Qf("defineExports", r), s = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), c = { ...o, ...s };
17912
17918
  c.jpeg && !c.jpg && (c.jpg = (u, h) => c.jpeg(u, h));
@@ -18528,7 +18534,7 @@ function By(t, e, a, i, o, r) {
18528
18534
  o.actionStatus >= 2 ? (v(), D("div", {
18529
18535
  key: 1,
18530
18536
  class: "selection-box",
18531
- style: ge(r.selectionStyle)
18537
+ style: pe(r.selectionStyle)
18532
18538
  }, [
18533
18539
  n("div", Ty, b(Math.round(o.selection.width)) + " × " + b(Math.round(o.selection.height)), 1),
18534
18540
  o.actionStatus === 3 ? (v(), D("div", {
@@ -18559,7 +18565,7 @@ function By(t, e, a, i, o, r) {
18559
18565
  o.actionStatus >= 4 && o.actionStatus <= 6 ? (v(), D("div", {
18560
18566
  key: 2,
18561
18567
  class: ye(["capture-frame", { recording: o.actionStatus === 5 }]),
18562
- style: ge(r.selectionStyle)
18568
+ style: pe(r.selectionStyle)
18563
18569
  }, [
18564
18570
  n("div", Ry, [
18565
18571
  n("div", Dy, b(o.selection.width) + " × " + b(o.selection.height), 1)
@@ -18743,7 +18749,7 @@ function Ky(t, e, a, i, o, r) {
18743
18749
  }), null, 16, ["is-playing", "enabled", "frequency", "current-timestamp", "onCloseRecord"]),
18744
18750
  n("div", {
18745
18751
  class: "time-box px-2 d-flex justify-start align-center rounded",
18746
- style: ge({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
18752
+ style: pe({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
18747
18753
  }, [
18748
18754
  n("div", Zy, [
18749
18755
  w(s, V({
@@ -19105,7 +19111,7 @@ function Ky(t, e, a, i, o, r) {
19105
19111
  ], 4),
19106
19112
  n("div", {
19107
19113
  class: "timezone-box d-flex flex-column justify-space-between align-end",
19108
- style: ge({ right: o.right + "px" })
19114
+ style: pe({ right: o.right + "px" })
19109
19115
  }, [
19110
19116
  o.showTimezone ? (v(), D("div", Hy, [
19111
19117
  (v(!0), D(Me, null, Se(o.offsets, (h) => (v(), D("div", {
@@ -19247,7 +19253,7 @@ function e1(t, e, a, i, o, r) {
19247
19253
  const l = P("VBtn"), s = P("DateTimePicker");
19248
19254
  return v(), D("div", {
19249
19255
  class: "idm-time-player-gl4 d-flex justify-center align-center",
19250
- style: ge({ bottom: Object.values(o.show).includes(!0) ? a.playerBottom + "px" : "-100px" })
19256
+ style: pe({ bottom: Object.values(o.show).includes(!0) ? a.playerBottom + "px" : "-100px" })
19251
19257
  }, [
19252
19258
  n("div", $y, [
19253
19259
  w(l, {
@@ -19859,12 +19865,12 @@ function x1(t, e, a, i, o, r) {
19859
19865
  n("div", {
19860
19866
  ref: "timelineBox",
19861
19867
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
19862
- style: ge({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
19868
+ style: pe({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
19863
19869
  }, [
19864
19870
  o.bubblePosition ? (v(), D("div", {
19865
19871
  key: 0,
19866
19872
  class: "play-bubble",
19867
- style: ge(o.bubblePosition)
19873
+ style: pe(o.bubblePosition)
19868
19874
  }, [
19869
19875
  n("span", i1, b(r.playBubbleText), 1),
19870
19876
  e[11] || (e[11] = n("span", { class: "bubble-arrow" }, null, -1))
@@ -20099,12 +20105,12 @@ function x1(t, e, a, i, o, r) {
20099
20105
  (v(!0), D(Me, null, Se(f.hours, (h, y) => (v(), D("div", {
20100
20106
  key: h.key,
20101
20107
  class: ye(["timeline-hour", { active: h.isActive, "is-current": h.isCurrent }]),
20102
- style: ge({ width: r.hourWidth + "px" }),
20108
+ style: pe({ width: r.hourWidth + "px" }),
20103
20109
  onClick: (z) => r.handleTimelineClick(u, y)
20104
20110
  }, [
20105
20111
  n("span", {
20106
20112
  class: "hour-label",
20107
- style: ge({ left: o.intervalHour === 24 ? "-43px" : o.intervalHour === 12 ? "-21px" : "-16px" })
20113
+ style: pe({ left: o.intervalHour === 24 ? "-43px" : o.intervalHour === 12 ? "-21px" : "-16px" })
20108
20114
  }, b(h.label), 5)
20109
20115
  ], 14, d1))), 128))
20110
20116
  ])
@@ -20250,7 +20256,7 @@ function x1(t, e, a, i, o, r) {
20250
20256
  ], 4),
20251
20257
  n("div", {
20252
20258
  class: "timezone-box d-flex flex-column justify-space-between align-end",
20253
- style: ge({ right: o.right + "px" })
20259
+ style: pe({ right: o.right + "px" })
20254
20260
  }, [
20255
20261
  o.showTimezone ? (v(), D("div", p1, [
20256
20262
  (v(!0), D(Me, null, Se(o.offsets, (f) => (v(), D("div", {
@@ -20509,7 +20515,7 @@ class _1 {
20509
20515
  he(this, "hi");
20510
20516
  he(this, "td");
20511
20517
  he(this, "windy");
20512
- var i, o, r, l, s, c, m, d, p, g, f, u, h, y, z, L, A, _, C, M, S, R, F, B, j, U, te, le, se, be, E, q, $, me, Q, Y, re, Z, ae, ce, Ae, ze, fe, Le, Ce, We, ie, we, $e, et, Je, Be, tt, Oe, He, Ke, at, ot, Qe, Re, De, je, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, ea, ta, aa, Xe, Ye, oa, nt, ia, gt, Ee, st, pe, Fe, oe, ee, ct, qe, Ze, J, ra, de, Ge, mt, ft, yt, X, dt, K, ht, na, xe, ga, ve, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Fa, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, Eo, Fo, Go, Bo, jo, No, Wo, Zo, Vo, Xo, Oo, Ho, Yo, Uo, Jo, Ko, Qo, qo, $o, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Fi, Gi, Bi, ji, Ni, Wi, Zi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, er, tr, ar, or, ir, rr, lr, nr, sr, cr, mr, dr, hr, ur;
20518
+ var i, o, r, l, s, c, m, d, p, g, f, u, h, y, z, L, A, _, C, M, S, R, F, B, j, U, te, le, se, be, E, q, $, me, Q, Y, re, Z, ae, ce, Ae, ze, fe, Le, Ce, We, ie, we, $e, et, Je, Be, tt, Oe, He, Ke, at, ot, Qe, Re, De, je, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, ea, ta, aa, Xe, Ye, oa, nt, ia, gt, Ee, st, ge, Fe, oe, ee, ct, qe, Ze, J, ra, de, Ge, mt, ft, yt, X, dt, K, ht, na, xe, ga, ve, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Fa, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, Eo, Fo, Go, Bo, jo, No, Wo, Zo, Vo, Xo, Oo, Ho, Yo, Uo, Jo, Ko, Qo, qo, $o, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Fi, Gi, Bi, ji, Ni, Wi, Zi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, er, tr, ar, or, ir, rr, lr, nr, sr, cr, mr, dr, hr, ur;
20513
20519
  this.i4 = {
20514
20520
  source: {
20515
20521
  type: "raster",
@@ -39223,7 +39229,7 @@ class _1 {
39223
39229
  (nt = (oa = this.originStyle) == null ? void 0 : oa.dark.layers) == null ? void 0 : nt.find((k) => k.id === "china-route-fill"),
39224
39230
  (gt = (ia = this.originStyle) == null ? void 0 : ia.dark.layers) == null ? void 0 : gt.find((k) => k.id === "china-route-label"),
39225
39231
  (st = (Ee = this.originStyle) == null ? void 0 : Ee.dark.layers) == null ? void 0 : st.find((k) => k.id === "admin-0-boundary-bg"),
39226
- (Fe = (pe = this.originStyle) == null ? void 0 : pe.dark.layers) == null ? void 0 : Fe.find((k) => k.id === "admin-0-boundary"),
39232
+ (Fe = (ge = this.originStyle) == null ? void 0 : ge.dark.layers) == null ? void 0 : Fe.find((k) => k.id === "admin-0-boundary"),
39227
39233
  (ee = (oe = this.originStyle) == null ? void 0 : oe.dark.layers) == null ? void 0 : ee.find((k) => k.id === "admin-0-boundary-disputed"),
39228
39234
  (qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((k) => k.id === "country-label"),
39229
39235
  (J = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : J.find((k) => k.id === "continent-label"),
@@ -39495,13 +39501,13 @@ function R1(t, e, a, i, o, r) {
39495
39501
  return v(), D("div", {
39496
39502
  id: "mapbox-initial-gl4",
39497
39503
  class: "mapbox-initial-gl4 gif-container",
39498
- style: ge({ height: a.height, width: a.width })
39504
+ style: pe({ height: a.height, width: a.width })
39499
39505
  }, [
39500
39506
  e[7] || (e[7] = n("div", { id: "map" }, null, -1)),
39501
39507
  a.simple ? (v(), D("div", {
39502
39508
  key: 0,
39503
39509
  class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
39504
- style: ge({ top: a.top + 294 + "px", right: o.right + "px", height: "40px" })
39510
+ style: pe({ top: a.top + 294 + "px", right: o.right + "px", height: "40px" })
39505
39511
  }, [
39506
39512
  n("div", M1, [
39507
39513
  w(l, {
@@ -39522,7 +39528,7 @@ function R1(t, e, a, i, o, r) {
39522
39528
  a.simple ? I("", !0) : (v(), D("div", {
39523
39529
  key: 1,
39524
39530
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
39525
- style: ge({ top: a.top + a.menuHeight + 20 + "px", right: o.right + "px", height: "112px" })
39531
+ style: pe({ top: a.top + a.menuHeight + 20 + "px", right: o.right + "px", height: "112px" })
39526
39532
  }, [
39527
39533
  n("div", P1, [
39528
39534
  w(l, {
@@ -39557,7 +39563,7 @@ function R1(t, e, a, i, o, r) {
39557
39563
  !a.simple && a.platform === "ops" ? (v(), D("div", {
39558
39564
  key: 2,
39559
39565
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
39560
- style: ge({ top: a.top + a.menuHeight + 142 + "px", right: o.right + "px", height: "80px" })
39566
+ style: pe({ top: a.top + a.menuHeight + 142 + "px", right: o.right + "px", height: "80px" })
39561
39567
  }, [
39562
39568
  w(s, {
39563
39569
  modelValue: o.vendor,
@@ -39853,7 +39859,7 @@ function N1(t, e, a, i, o, r) {
39853
39859
  const l = P("VIcon"), s = P("VDatePicker"), c = P("VDivider"), m = P("VCardText"), d = P("VBtn"), p = P("VCardActions"), g = P("VCard");
39854
39860
  return v(), D("div", E1, [
39855
39861
  n("div", {
39856
- style: ge({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
39862
+ style: pe({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
39857
39863
  class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
39858
39864
  onClick: e[0] || (e[0] = (...f) => r.handleOpenDatePicker && r.handleOpenDatePicker(...f))
39859
39865
  }, [
@@ -39869,7 +39875,7 @@ function N1(t, e, a, i, o, r) {
39869
39875
  o.showDatePicker ? (v(), G(g, {
39870
39876
  key: 0,
39871
39877
  class: "card-box d-flex flex-column border elevation-12",
39872
- style: ge(r.getStyle)
39878
+ style: pe(r.getStyle)
39873
39879
  }, {
39874
39880
  default: x(() => [
39875
39881
  w(m, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {