@idmwx/idmui-gl4 3.6.2 → 3.6.3

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 ar = (t, e, o) => e in t ? or(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var ke = (t, e, o) => (ar(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Ie from "axios";
5
5
  import { useTheme as Ze } from "vuetify";
6
- import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as F, normalizeClass as ue, withCtx as v, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as y, createTextVNode as N, Fragment as Ce, renderList as Me, withDirectives as uo, vShow as po, mergeProps as V, normalizeStyle as ge } from "vue";
6
+ import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as B, normalizeClass as ue, withCtx as v, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as y, createTextVNode as N, Fragment as Ce, renderList as Me, withDirectives as uo, vShow as po, mergeProps as V, normalizeStyle as ge } from "vue";
7
7
  import xe from "mapbox-gl";
8
8
  import S from "moment";
9
9
  import { LngLatHelper as H, TropicalHelper as hl, LaneHelper as pt, GeoJsonHelper as ut } from "@idm-plugin/geo";
@@ -519,7 +519,7 @@ const br = {
519
519
  }, wr = ["innerHTML"];
520
520
  function vr(t, e, o, i, a, l) {
521
521
  const r = M("VBtn"), c = M("VCardText"), s = M("VCard");
522
- return a.showMakerInfo ? (A(), F(s, {
522
+ return a.showMakerInfo ? (A(), B(s, {
523
523
  key: 0,
524
524
  id: "idm-gl4-zone-info",
525
525
  class: ue(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"])
@@ -751,10 +751,10 @@ const Ar = {
751
751
  { label: "Swell", key: "weather.swell", unit: "m" },
752
752
  { label: "Current", key: "weather.current", unit: "kts" }
753
753
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
754
- var c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
754
+ var c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
755
755
  let l = {};
756
756
  const r = ((c = Zo.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
757
- l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (x = (L = r == null ? void 0 : r.weather) == null ? void 0 : L.wind) == null ? void 0 : x.direction, l.windLevel = this.computeRoundPrecision((z = (C = r == null ? void 0 : r.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((_ = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (B = r == null ? void 0 : r.wave) == null ? void 0 : B.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((Q = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : Q.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ie = r == null ? void 0 : r.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (ve = r == null ? void 0 : r.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision(($ = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (te = r == null ? void 0 : r.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (q = r == null ? void 0 : r.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
757
+ l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (x = (L = r == null ? void 0 : r.weather) == null ? void 0 : L.wind) == null ? void 0 : x.direction, l.windLevel = this.computeRoundPrecision((z = (C = r == null ? void 0 : r.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((_ = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (F = r == null ? void 0 : r.wave) == null ? void 0 : F.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((J = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : J.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ae = r == null ? void 0 : r.wave) == null ? void 0 : ae.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (ve = r == null ? void 0 : r.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision(($ = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (te = r == null ? void 0 : r.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (q = r == null ? void 0 : r.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
758
758
  });
759
759
  },
760
760
  handleTide() {
@@ -959,7 +959,7 @@ const Ar = {
959
959
  }, An = { class: "px-1 text-center" }, kn = { class: "px-1 text-center" }, Ln = { class: "px-1 text-center" };
960
960
  function zn(t, e, o, i, a, l) {
961
961
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VBtnToggle"), m = M("VCard");
962
- return A(), F(m, {
962
+ return A(), B(m, {
963
963
  class: ue(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
964
964
  }, {
965
965
  default: v(() => {
@@ -981,7 +981,7 @@ function zn(t, e, o, i, a, l) {
981
981
  (x = o.followList) != null && x.some((z) => {
982
982
  var P;
983
983
  return ((P = z.port) == null ? void 0 : P.id) === o.portId;
984
- }) ? (A(), F(r, {
984
+ }) ? (A(), B(r, {
985
985
  key: 0,
986
986
  class: "text-none rounded-circle",
987
987
  variant: "text",
@@ -996,7 +996,7 @@ function zn(t, e, o, i, a, l) {
996
996
  ])),
997
997
  _: 1,
998
998
  __: [2]
999
- }, 8, ["onClick"])) : (A(), F(r, {
999
+ }, 8, ["onClick"])) : (A(), B(r, {
1000
1000
  key: 1,
1001
1001
  class: "text-none rounded-circle",
1002
1002
  variant: "plain",
@@ -1057,7 +1057,7 @@ function zn(t, e, o, i, a, l) {
1057
1057
  (p = o.followList) != null && p.some((u) => {
1058
1058
  var h;
1059
1059
  return ((h = u.port) == null ? void 0 : h.id) === o.portId;
1060
- }) ? (A(), F(r, {
1060
+ }) ? (A(), B(r, {
1061
1061
  key: 0,
1062
1062
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1063
1063
  variant: "tonal",
@@ -1072,7 +1072,7 @@ function zn(t, e, o, i, a, l) {
1072
1072
  N(" " + y(t.$t("actions.unfollow")), 1)
1073
1073
  ]),
1074
1074
  _: 1
1075
- }, 8, ["onClick"])) : (A(), F(r, {
1075
+ }, 8, ["onClick"])) : (A(), B(r, {
1076
1076
  key: 1,
1077
1077
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1078
1078
  variant: "tonal",
@@ -1159,7 +1159,7 @@ function zn(t, e, o, i, a, l) {
1159
1159
  mandatory: ""
1160
1160
  }, {
1161
1161
  default: v(() => [
1162
- (A(!0), R(Ce, null, Me(l.dateList, (u) => (A(), F(r, {
1162
+ (A(!0), R(Ce, null, Me(l.dateList, (u) => (A(), B(r, {
1163
1163
  key: u.index,
1164
1164
  class: ue(["text-none text-body-1 flex-1-1-0", `bg-${u.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
1165
1165
  density: "compact",
@@ -1228,14 +1228,14 @@ function zn(t, e, o, i, a, l) {
1228
1228
  n("div", null, y(t.$t("tide.tideTimes")), 1)
1229
1229
  ]),
1230
1230
  n("div", fn, [
1231
- a.showTideDetail ? (A(), F(r, {
1231
+ a.showTideDetail ? (A(), B(r, {
1232
1232
  key: 0,
1233
1233
  icon: "mdi-eye-outline",
1234
1234
  density: "compact",
1235
1235
  variant: "plain",
1236
1236
  size: "small",
1237
1237
  onClick: e[1] || (e[1] = (u) => a.showTideDetail = !1)
1238
- })) : (A(), F(r, {
1238
+ })) : (A(), B(r, {
1239
1239
  key: 1,
1240
1240
  icon: "mdi-eye-off-outline",
1241
1241
  density: "compact",
@@ -1411,7 +1411,7 @@ function Sn(t, e, o, i, a, l) {
1411
1411
  }, 512), [
1412
1412
  [po, a.showInfo]
1413
1413
  ]),
1414
- a.showDetail ? (A(), F(s, V({
1414
+ a.showDetail ? (A(), B(s, V({
1415
1415
  key: 0,
1416
1416
  "port-id": a.portId,
1417
1417
  port: a.port,
@@ -2391,7 +2391,7 @@ const ls = {
2391
2391
  }, Is = { class: "px-1 text-center" }, Es = { class: "px-1 text-center" }, Gs = { class: "px-1 text-center" };
2392
2392
  function Fs(t, e, o, i, a, l) {
2393
2393
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VBtnToggle"), m = M("VCard");
2394
- return A(), F(m, {
2394
+ return A(), B(m, {
2395
2395
  class: ue(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
2396
2396
  }, {
2397
2397
  default: v(() => {
@@ -2483,7 +2483,7 @@ function Fs(t, e, o, i, a, l) {
2483
2483
  mandatory: ""
2484
2484
  }, {
2485
2485
  default: v(() => [
2486
- (A(!0), R(Ce, null, Me(l.dateList, (b) => (A(), F(r, {
2486
+ (A(!0), R(Ce, null, Me(l.dateList, (b) => (A(), B(r, {
2487
2487
  key: b.label,
2488
2488
  class: ue(["text-none text-body-1 flex-1-1-0", `bg-${b.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
2489
2489
  density: "compact",
@@ -2626,7 +2626,7 @@ function Xs(t, e, o, i, a, l) {
2626
2626
  }, 512), [
2627
2627
  [po, a.showInfo]
2628
2628
  ]),
2629
- a.showDetail ? (A(), F(s, V({
2629
+ a.showDetail ? (A(), B(s, V({
2630
2630
  key: 0,
2631
2631
  station: a.station
2632
2632
  }, t.$attrs, { onClose: l.handleCloseDetail }), null, 16, ["station", "onClose"])) : I("", !0)
@@ -3017,7 +3017,7 @@ function tc(t, e, o, i, a, l) {
3017
3017
  }, 512), [
3018
3018
  [po, a.showInfo]
3019
3019
  ]),
3020
- a.showDetail ? (A(), F(s, V({
3020
+ a.showDetail ? (A(), B(s, V({
3021
3021
  key: 0,
3022
3022
  "port-id": a.portId,
3023
3023
  port: a.port,
@@ -3169,7 +3169,7 @@ const ac = {
3169
3169
  };
3170
3170
  function nc(t, e, o, i, a, l) {
3171
3171
  const r = M("VCardText"), c = M("VCard");
3172
- return uo((A(), F(c, {
3172
+ return uo((A(), B(c, {
3173
3173
  id: "idmFollowPositionInfo",
3174
3174
  ref: "idmFollowPositionInfo"
3175
3175
  }, {
@@ -3423,7 +3423,7 @@ const cc = {
3423
3423
  }, wc = { class: "text-body-2 text-center pt-2" };
3424
3424
  function vc(t, e, o, i, a, l) {
3425
3425
  var be, E, $, te, se, q, Y, le, Z;
3426
- const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), x = M("IdmAlertZone"), C = M("IdmEcaZone"), z = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), B = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), Q = M("IdmIceAreas"), ie = M("IdmNsrAreas"), re = M("IdmFollowPort"), ve = M("IdmFollowPosition");
3426
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), x = M("IdmAlertZone"), C = M("IdmEcaZone"), z = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), F = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), J = M("IdmIceAreas"), ae = M("IdmNsrAreas"), re = M("IdmFollowPort"), ve = M("IdmFollowPosition");
3427
3427
  return A(), R("div", mc, [
3428
3428
  n("div", {
3429
3429
  class: ue(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
@@ -3510,7 +3510,7 @@ function vc(t, e, o, i, a, l) {
3510
3510
  n("div", wc, y(t.$t(`layer.${U.locale}`)), 1)
3511
3511
  ], 8, pc))), 128))
3512
3512
  ]),
3513
- (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["graticule", "day-night", "time-zones"].includes(U.key)), (U) => (A(), F(m, {
3513
+ (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["graticule", "day-night", "time-zones"].includes(U.key)), (U) => (A(), B(m, {
3514
3514
  key: U.key,
3515
3515
  modelValue: a.checkList,
3516
3516
  "onUpdate:modelValue": e[0] || (e[0] = (fe) => a.checkList = fe),
@@ -3546,7 +3546,7 @@ function vc(t, e, o, i, a, l) {
3546
3546
  }),
3547
3547
  w(p, { class: "py-2 mx-n1" }, {
3548
3548
  default: v(() => [
3549
- (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
3549
+ (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), B(m, {
3550
3550
  key: U.key,
3551
3551
  modelValue: a.checkList,
3552
3552
  "onUpdate:modelValue": e[1] || (e[1] = (fe) => a.checkList = fe),
@@ -3582,7 +3582,7 @@ function vc(t, e, o, i, a, l) {
3582
3582
  }),
3583
3583
  w(p, { class: "py-2 mx-n1" }, {
3584
3584
  default: v(() => [
3585
- (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
3585
+ (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), B(m, {
3586
3586
  key: U.key,
3587
3587
  modelValue: a.checkList,
3588
3588
  "onUpdate:modelValue": e[2] || (e[2] = (fe) => a.checkList = fe),
@@ -3648,7 +3648,7 @@ function vc(t, e, o, i, a, l) {
3648
3648
  })
3649
3649
  ], 2)
3650
3650
  ], 6),
3651
- o.map ? (A(), F(b, V({
3651
+ o.map ? (A(), B(b, V({
3652
3652
  key: 0,
3653
3653
  ref: "idmPorts",
3654
3654
  simple: o.simple,
@@ -3660,7 +3660,7 @@ function vc(t, e, o, i, a, l) {
3660
3660
  "real-time": o.realTime,
3661
3661
  theme: o.theme
3662
3662
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : I("", !0),
3663
- o.map ? (A(), F(u, V({
3663
+ o.map ? (A(), B(u, V({
3664
3664
  key: 1,
3665
3665
  ref: "idmIideStation",
3666
3666
  simple: o.simple,
@@ -3674,25 +3674,25 @@ function vc(t, e, o, i, a, l) {
3674
3674
  "forecast-model": o.forecastModel,
3675
3675
  "before-layer": "empty-layer-3"
3676
3676
  }, t.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : I("", !0),
3677
- o.map ? (A(), F(h, V({
3677
+ o.map ? (A(), B(h, V({
3678
3678
  key: 2,
3679
3679
  simple: o.simple,
3680
3680
  map: o.map,
3681
3681
  "menu-toggle": o.menuToggle,
3682
3682
  show: a.checkList.includes("graticule")
3683
3683
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : I("", !0),
3684
- o.map ? (A(), F(f, V({
3684
+ o.map ? (A(), B(f, V({
3685
3685
  key: 3,
3686
3686
  map: o.map,
3687
3687
  area: (E = a.otherLayers) == null ? void 0 : E["day-night"]
3688
3688
  }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : I("", !0),
3689
- o.map ? (A(), F(L, V({
3689
+ o.map ? (A(), B(L, V({
3690
3690
  key: 4,
3691
3691
  map: o.map,
3692
3692
  zone: ($ = a.otherLayers) == null ? void 0 : $["time-zones"],
3693
3693
  "real-time": o.realTime
3694
3694
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : I("", !0),
3695
- o.map ? (A(), F(x, V({
3695
+ o.map ? (A(), B(x, V({
3696
3696
  key: 5,
3697
3697
  map: o.map,
3698
3698
  simple: o.simple,
@@ -3701,65 +3701,65 @@ function vc(t, e, o, i, a, l) {
3701
3701
  "before-layer": "empty-layer-3",
3702
3702
  theme: o.theme
3703
3703
  }), null, 16, ["map", "simple", "zone", "theme"])) : I("", !0),
3704
- o.map ? (A(), F(C, V({
3704
+ o.map ? (A(), B(C, V({
3705
3705
  key: 6,
3706
3706
  map: o.map,
3707
3707
  zone: (se = a.otherLayers) == null ? void 0 : se["eca-zones"]
3708
3708
  }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
3709
- o.map ? (A(), F(z, V({
3709
+ o.map ? (A(), B(z, V({
3710
3710
  key: 7,
3711
3711
  map: o.map,
3712
3712
  zone: (q = a.otherLayers) == null ? void 0 : q["war-zones"]
3713
3713
  }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
3714
- o.map ? (A(), F(P, V({
3714
+ o.map ? (A(), B(P, V({
3715
3715
  key: 8,
3716
3716
  map: o.map,
3717
3717
  area: (Y = a.otherLayers) == null ? void 0 : Y["gmdss-areas"]
3718
3718
  }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
3719
- o.map ? (A(), F(_, V({
3719
+ o.map ? (A(), B(_, V({
3720
3720
  key: 9,
3721
3721
  map: o.map,
3722
3722
  show: a.checkList.includes("load-lines")
3723
3723
  }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
3724
- o.map ? (A(), F(D, V({
3724
+ o.map ? (A(), B(D, V({
3725
3725
  key: 10,
3726
3726
  map: o.map,
3727
3727
  token: o.token,
3728
3728
  show: a.checkList.includes("worldMarine")
3729
3729
  }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
3730
- o.map ? (A(), F(T, V({
3730
+ o.map ? (A(), B(T, V({
3731
3731
  key: 11,
3732
3732
  map: o.map,
3733
3733
  area: (le = a.otherLayers) == null ? void 0 : le["voluntary-reporting-area"]
3734
3734
  }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
3735
- o.map ? (A(), F(B, V({
3735
+ o.map ? (A(), B(F, V({
3736
3736
  key: 12,
3737
3737
  map: o.map,
3738
3738
  area: (Z = a.otherLayers) == null ? void 0 : Z["special-area"]
3739
3739
  }, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
3740
- o.map ? (A(), F(j, V({
3740
+ o.map ? (A(), B(j, V({
3741
3741
  key: 13,
3742
3742
  map: o.map,
3743
3743
  token: o.token,
3744
3744
  show: a.checkList.includes("world12nm")
3745
3745
  }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
3746
- o.map ? (A(), F(G, V({
3746
+ o.map ? (A(), B(G, V({
3747
3747
  key: 14,
3748
3748
  map: o.map,
3749
3749
  token: o.token,
3750
3750
  show: a.checkList.includes("chinaRoute")
3751
3751
  }, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
3752
- o.map ? (A(), F(Q, V({
3752
+ o.map ? (A(), B(J, V({
3753
3753
  key: 15,
3754
3754
  map: o.map,
3755
3755
  show: a.checkList.includes("ice-areas")
3756
3756
  }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
3757
- o.map ? (A(), F(ie, V({
3757
+ o.map ? (A(), B(ae, V({
3758
3758
  key: 16,
3759
3759
  map: o.map,
3760
3760
  show: a.checkList.includes("nsr")
3761
3761
  }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
3762
- o.map ? (A(), F(re, V({
3762
+ o.map ? (A(), B(re, V({
3763
3763
  key: 17,
3764
3764
  ref: "idmFollowPort",
3765
3765
  simple: o.simple,
@@ -3770,7 +3770,7 @@ function vc(t, e, o, i, a, l) {
3770
3770
  "forecast-model": o.forecastModel,
3771
3771
  "real-time": o.realTime
3772
3772
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : I("", !0),
3773
- o.map ? (A(), F(ve, V({
3773
+ o.map ? (A(), B(ve, V({
3774
3774
  key: 18,
3775
3775
  ref: "idmFollowPosition",
3776
3776
  simple: o.simple,
@@ -6661,9 +6661,9 @@ const zm = {
6661
6661
  );
6662
6662
  const z = await Promise.all(C);
6663
6663
  this.weatherLayers = {}, z.map((P) => {
6664
- var T, B, j, G;
6664
+ var T, F, j, G;
6665
6665
  const _ = ((T = P == null ? void 0 : P.data) == null ? void 0 : T.data) || (P == null ? void 0 : P.data);
6666
- let D = (j = (B = P == null ? void 0 : P.config) == null ? void 0 : B.headers) == null ? void 0 : j.key;
6666
+ let D = (j = (F = P == null ? void 0 : P.config) == null ? void 0 : F.headers) == null ? void 0 : j.key;
6667
6667
  D && _ && (this.weatherLayers[D] = {
6668
6668
  raw: _,
6669
6669
  type: ((G = P == null ? void 0 : P.config) == null ? void 0 : G.responseType) === "blob" ? "image" : "json",
@@ -6770,36 +6770,36 @@ const zm = {
6770
6770
  if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6771
6771
  const P = x[z].lng;
6772
6772
  p > g ? P.forEach((_, D) => {
6773
- var T, B, j, G, Q, ie;
6773
+ var T, F, j, G, J, ae;
6774
6774
  if (i < 2) {
6775
6775
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6776
6776
  const re = W.point([_, z], {
6777
- val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6777
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((F = x[z].dir) == null ? void 0 : F[D]),
6778
6778
  spd: (j = x[z].spd) == null ? void 0 : j[D]
6779
6779
  });
6780
6780
  L.push(re);
6781
6781
  }
6782
6782
  } else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6783
6783
  const re = W.point([_, z], {
6784
- val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6785
- spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6784
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((J = x[z].dir) == null ? void 0 : J[D]),
6785
+ spd: (ae = x[z].spd) == null ? void 0 : ae[D]
6786
6786
  });
6787
6787
  L.push(re);
6788
6788
  }
6789
6789
  }) : P.forEach((_, D) => {
6790
- var T, B, j, G, Q, ie;
6790
+ var T, F, j, G, J, ae;
6791
6791
  if (p < 2) {
6792
6792
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6793
6793
  const re = W.point([_, z], {
6794
- val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6794
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((F = x[z].dir) == null ? void 0 : F[D]),
6795
6795
  spd: (j = x[z].spd) == null ? void 0 : j[D]
6796
6796
  });
6797
6797
  L.push(re);
6798
6798
  }
6799
6799
  } else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6800
6800
  const re = W.point([_, z], {
6801
- val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6802
- spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6801
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((J = x[z].dir) == null ? void 0 : J[D]),
6802
+ spd: (ae = x[z].spd) == null ? void 0 : ae[D]
6803
6803
  });
6804
6804
  L.push(re);
6805
6805
  }
@@ -6834,36 +6834,36 @@ const zm = {
6834
6834
  if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6835
6835
  const P = x[z].lng;
6836
6836
  p > g ? P.forEach((_, D) => {
6837
- var T, B, j, G, Q, ie;
6837
+ var T, F, j, G, J, ae;
6838
6838
  if (i < 2) {
6839
6839
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6840
6840
  const re = W.point([_, z], {
6841
- val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6841
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((F = x[z].dir) == null ? void 0 : F[D]),
6842
6842
  spd: (j = x[z].spd) == null ? void 0 : j[D]
6843
6843
  });
6844
6844
  L.push(re);
6845
6845
  }
6846
6846
  } else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6847
6847
  const re = W.point([_, z], {
6848
- val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6849
- spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6848
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((J = x[z].dir) == null ? void 0 : J[D]),
6849
+ spd: (ae = x[z].spd) == null ? void 0 : ae[D]
6850
6850
  });
6851
6851
  L.push(re);
6852
6852
  }
6853
6853
  }) : P.forEach((_, D) => {
6854
- var T, B, j, G, Q, ie;
6854
+ var T, F, j, G, J, ae;
6855
6855
  if (p < 2) {
6856
6856
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6857
6857
  const re = W.point([_, z], {
6858
- val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6858
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((F = x[z].dir) == null ? void 0 : F[D]),
6859
6859
  spd: (j = x[z].spd) == null ? void 0 : j[D]
6860
6860
  });
6861
6861
  L.push(re);
6862
6862
  }
6863
6863
  } else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6864
6864
  const re = W.point([_, z], {
6865
- val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6866
- spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6865
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((J = x[z].dir) == null ? void 0 : J[D]),
6866
+ spd: (ae = x[z].spd) == null ? void 0 : ae[D]
6867
6867
  });
6868
6868
  L.push(re);
6869
6869
  }
@@ -6895,7 +6895,7 @@ const zm = {
6895
6895
  if (C > b && C < u && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6896
6896
  const z = x[C].lng;
6897
6897
  p > g ? z.forEach((P, _) => {
6898
- var D, T, B, j;
6898
+ var D, T, F, j;
6899
6899
  if (i < 2) {
6900
6900
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
6901
6901
  const G = W.point([P, C], {
@@ -6906,13 +6906,13 @@ const zm = {
6906
6906
  }
6907
6907
  } else if ((P >= p && P <= 180 || P >= -180 && P <= g) && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6908
6908
  const G = W.point([P, C], {
6909
- dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6909
+ dir: ((F = x[C].val) == null ? void 0 : F[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6910
6910
  spd: x[C].spd[_]
6911
6911
  });
6912
6912
  L.push(G);
6913
6913
  }
6914
6914
  }) : z.forEach((P, _) => {
6915
- var D, T, B, j;
6915
+ var D, T, F, j;
6916
6916
  if (i < 2) {
6917
6917
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
6918
6918
  const G = W.point([P, C], {
@@ -6923,7 +6923,7 @@ const zm = {
6923
6923
  }
6924
6924
  } else if (P >= p && P <= g && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6925
6925
  const G = W.point([P, C], {
6926
- dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6926
+ dir: ((F = x[C].val) == null ? void 0 : F[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6927
6927
  spd: x[C].spd[_]
6928
6928
  });
6929
6929
  L.push(G);
@@ -7048,7 +7048,7 @@ const zm = {
7048
7048
  }, Xm = { class: "text-body-1 py-2" }, Om = { class: "text-body-1 font-weight-medium" }, Hm = { class: "text-body-2 text-label" }, Ym = { class: "text-body-2 text-label" }, Um = { class: "text-body-2 text-label mb-3" }, Jm = { class: "text-body-1 font-weight-medium" }, Km = { class: "text-body-2 text-label" }, Qm = { class: "text-body-2 text-label" }, qm = { class: "text-body-2 text-label mb-3" }, $m = { class: "text-body-1 py-2" }, ed = { class: "text-body-1 font-weight-medium" }, td = { class: "text-body-2 text-label" }, od = { class: "text-body-2 text-label" }, ad = { class: "text-body-2 text-label mb-3" }, id = { class: "text-body-1 font-weight-medium" }, ld = { class: "text-body-2 text-label" }, rd = { class: "text-body-2 text-label" }, nd = { class: "text-body-2 text-label mb-3" }, sd = { class: "text-body-1 py-2" }, cd = { class: "text-body-1 font-weight-medium" }, md = { class: "text-body-2 text-label" }, dd = { class: "text-body-2 text-label" }, hd = { class: "text-body-2 text-label mb-3" };
7049
7049
  function ud(t, e, o, i, a, l) {
7050
7050
  var be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae;
7051
- const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"), x = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), z = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), B = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), Q = M("IdmPrecip3h"), ie = M("IdmVisibility"), re = M("IdmWaterTemp"), ve = M("IdmTemp");
7051
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"), x = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), z = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), F = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), J = M("IdmPrecip3h"), ae = M("IdmVisibility"), re = M("IdmWaterTemp"), ve = M("IdmTemp");
7052
7052
  return A(), R("div", _m, [
7053
7053
  n("div", {
7054
7054
  class: "menu-bar-box transition pa-1",
@@ -7111,7 +7111,7 @@ function ud(t, e, o, i, a, l) {
7111
7111
  _: 1
7112
7112
  }, 8, ["text", "open-on-focus", "open-on-hover"])
7113
7113
  ], 6),
7114
- a.legendToggle ? (A(), F(m, {
7114
+ a.legendToggle ? (A(), B(m, {
7115
7115
  key: 0,
7116
7116
  elevation: "16",
7117
7117
  class: "card-info d-flex justify-center align-start",
@@ -7296,7 +7296,7 @@ function ud(t, e, o, i, a, l) {
7296
7296
  }),
7297
7297
  w(s, { class: "py-2 mx-n1" }, {
7298
7298
  default: v(() => [
7299
- (A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(), F(h, {
7299
+ (A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(), B(h, {
7300
7300
  key: ee.key,
7301
7301
  modelValue: a.checkList,
7302
7302
  "onUpdate:modelValue": e[3] || (e[3] = (we) => a.checkList = we),
@@ -7379,7 +7379,7 @@ function ud(t, e, o, i, a, l) {
7379
7379
  "hide-details": ""
7380
7380
  }, null, 8, ["modelValue"])
7381
7381
  ])) : I("", !0),
7382
- a.renderKey === "wave-group" && ee.key === "wave-group" ? (A(), F(g, {
7382
+ a.renderKey === "wave-group" && ee.key === "wave-group" ? (A(), B(g, {
7383
7383
  key: 2,
7384
7384
  modelValue: a.waveToggleValue,
7385
7385
  "onUpdate:modelValue": e[7] || (e[7] = (we) => a.waveToggleValue = we),
@@ -7423,7 +7423,7 @@ function ud(t, e, o, i, a, l) {
7423
7423
  ]),
7424
7424
  _: 1
7425
7425
  }, 8, ["modelValue", "disabled"])) : I("", !0),
7426
- a.renderKey === "ice-forecast" && ee.key === "ice-forecast" ? (A(), F(g, {
7426
+ a.renderKey === "ice-forecast" && ee.key === "ice-forecast" ? (A(), B(g, {
7427
7427
  key: 3,
7428
7428
  modelValue: a.iceToggleValue,
7429
7429
  "onUpdate:modelValue": e[8] || (e[8] = (we) => a.iceToggleValue = we),
@@ -7492,7 +7492,7 @@ function ud(t, e, o, i, a, l) {
7492
7492
  }),
7493
7493
  w(s, { class: "" }, {
7494
7494
  default: v(() => {
7495
- var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
7495
+ var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ie, oe, ct, qe, We, K, lo, ce, Be, mt, ft, yt, X, dt, Q, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
7496
7496
  return [
7497
7497
  n("div", Xm, y(t.$t("weather.atmospheric")), 1),
7498
7498
  n("div", Om, y((Ee = (we = (ee = a.models) == null ? void 0 : ee.weather) == null ? void 0 : we.NOAA) == null ? void 0 : Ee.source) + " " + y((et = ($e = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : $e.NOAA) == null ? void 0 : et.spatialResolution) + y(t.$t("units.km")) + " " + y((Oe = (tt = (je = (Je = a.models) == null ? void 0 : Je.weather) == null ? void 0 : je.NOAA) == null ? void 0 : tt.meta) == null ? void 0 : Oe.days) + y(t.$t("units.days")), 1),
@@ -7509,13 +7509,13 @@ function ud(t, e, o, i, a, l) {
7509
7509
  n("div", td, y(t.$t("weather.source")) + ": NOAA", 1),
7510
7510
  n("div", od, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Jt = (Ut = (Yt = (Ht = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Ht.wave) == null ? void 0 : Yt.NOAA) == null ? void 0 : Ut.meta) == null ? void 0 : Jt.availabilityTime)), 1),
7511
7511
  n("div", ad, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((eo = ($t = (qt = (Qt = (Kt = a.models) == null ? void 0 : Kt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : qt.NOAA) == null ? void 0 : $t.meta) == null ? void 0 : eo.initialisationTime)), 1),
7512
- n("div", id, y((Ye = (Xe = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.wave) == null ? void 0 : Xe.ECMWF) == null ? void 0 : Ye.source) + " " + y((gt = (io = (nt = (ao = a.models) == null ? void 0 : ao.marine) == null ? void 0 : nt.wave) == null ? void 0 : io.ECMWF) == null ? void 0 : gt.spatialResolution) + y(t.$t("units.km")) + " " + y((ae = (Fe = (de = (st = (De = a.models) == null ? void 0 : De.marine) == null ? void 0 : st.wave) == null ? void 0 : de.ECMWF) == null ? void 0 : Fe.meta) == null ? void 0 : ae.days) + y(t.$t("units.days")), 1),
7512
+ n("div", id, y((Ye = (Xe = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.wave) == null ? void 0 : Xe.ECMWF) == null ? void 0 : Ye.source) + " " + y((gt = (io = (nt = (ao = a.models) == null ? void 0 : ao.marine) == null ? void 0 : nt.wave) == null ? void 0 : io.ECMWF) == null ? void 0 : gt.spatialResolution) + y(t.$t("units.km")) + " " + y((ie = (Fe = (de = (st = (De = a.models) == null ? void 0 : De.marine) == null ? void 0 : st.wave) == null ? void 0 : de.ECMWF) == null ? void 0 : Fe.meta) == null ? void 0 : ie.days) + y(t.$t("units.days")), 1),
7513
7513
  n("div", ld, y(t.$t("weather.source")) + ": ECMWF", 1),
7514
- n("div", rd, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((J = (We = (qe = (ct = (oe = a.models) == null ? void 0 : oe.marine) == null ? void 0 : ct.wave) == null ? void 0 : qe.ECMWF) == null ? void 0 : We.meta) == null ? void 0 : J.availabilityTime)), 1),
7514
+ n("div", rd, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((K = (We = (qe = (ct = (oe = a.models) == null ? void 0 : oe.marine) == null ? void 0 : ct.wave) == null ? void 0 : qe.ECMWF) == null ? void 0 : We.meta) == null ? void 0 : K.availabilityTime)), 1),
7515
7515
  n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((ft = (mt = (Be = (ce = (lo = a.models) == null ? void 0 : lo.marine) == null ? void 0 : ce.wave) == null ? void 0 : Be.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
7516
7516
  w(d),
7517
7517
  n("div", sd, y(t.$t("weather.currents")), 1),
7518
- n("div", cd, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (xo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : xo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
7518
+ n("div", cd, y((Q = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : Q.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (xo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : xo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
7519
7519
  n("div", md, y(t.$t("weather.source")) + ": ECMWF", 1),
7520
7520
  n("div", dd, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Po = (Mo = (Co = (_o = (zo = a.models) == null ? void 0 : zo.marine) == null ? void 0 : _o.current) == null ? void 0 : Co.ECMWF) == null ? void 0 : Mo.meta) == null ? void 0 : Po.availabilityTime)), 1),
7521
7521
  n("div", hd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Io = (Do = (Ro = (To = (So = a.models) == null ? void 0 : So.marine) == null ? void 0 : To.current) == null ? void 0 : Ro.ECMWF) == null ? void 0 : Do.meta) == null ? void 0 : Io.initialisationTime)), 1)
@@ -7528,7 +7528,7 @@ function ud(t, e, o, i, a, l) {
7528
7528
  })
7529
7529
  ], 2)
7530
7530
  ], 6),
7531
- o.map ? (A(), F(L, V({
7531
+ o.map ? (A(), B(L, V({
7532
7532
  key: 1,
7533
7533
  ref: "windBarb",
7534
7534
  map: o.map,
@@ -7537,7 +7537,7 @@ function ud(t, e, o, i, a, l) {
7537
7537
  wind: (be = a.weatherLayers) == null ? void 0 : be.wind,
7538
7538
  "menu-toggle": o.menuToggle
7539
7539
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
7540
- o.map ? (A(), F(x, V({
7540
+ o.map ? (A(), B(x, V({
7541
7541
  key: 2,
7542
7542
  map: o.map,
7543
7543
  "before-layer": "empty-layer-2",
@@ -7545,7 +7545,7 @@ function ud(t, e, o, i, a, l) {
7545
7545
  "menu-toggle": o.menuToggle,
7546
7546
  "active-weather-layers": a.activeWeatherLayers
7547
7547
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : I("", !0),
7548
- o.map ? (A(), F(C, V({
7548
+ o.map ? (A(), B(C, V({
7549
7549
  key: 3,
7550
7550
  map: o.map,
7551
7551
  "map-feather": o.mapFeather,
@@ -7553,7 +7553,7 @@ function ud(t, e, o, i, a, l) {
7553
7553
  current: ($ = a.weatherLayers) == null ? void 0 : $.current,
7554
7554
  "menu-toggle": o.menuToggle
7555
7555
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : I("", !0),
7556
- o.map ? (A(), F(z, V({
7556
+ o.map ? (A(), B(z, V({
7557
7557
  key: 4,
7558
7558
  map: o.map,
7559
7559
  "before-layer": "empty-layer-3",
@@ -7561,28 +7561,28 @@ function ud(t, e, o, i, a, l) {
7561
7561
  "menu-toggle": o.menuToggle,
7562
7562
  "active-weather-layers": a.activeWeatherLayers
7563
7563
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : I("", !0),
7564
- o.map ? (A(), F(P, V({
7564
+ o.map ? (A(), B(P, V({
7565
7565
  key: 5,
7566
7566
  viewport: a.viewport,
7567
7567
  factor: (se = a.weatherLayers) == null ? void 0 : se["wind-particle"],
7568
7568
  "menu-toggle": o.menuToggle,
7569
7569
  simple: o.simple
7570
7570
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7571
- o.map ? (A(), F(_, V({
7571
+ o.map ? (A(), B(_, V({
7572
7572
  key: 6,
7573
7573
  viewport: a.viewport,
7574
7574
  factor: (q = a.weatherLayers) == null ? void 0 : q["current-particle"],
7575
7575
  "menu-toggle": o.menuToggle,
7576
7576
  simple: o.simple
7577
7577
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7578
- o.map ? (A(), F(D, V({
7578
+ o.map ? (A(), B(D, V({
7579
7579
  key: 7,
7580
7580
  viewport: a.viewport,
7581
7581
  factor: (Y = a.weatherLayers) == null ? void 0 : Y["sig-wave"],
7582
7582
  "menu-toggle": o.menuToggle,
7583
7583
  simple: o.simple
7584
7584
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7585
- o.map ? (A(), F(T, V({
7585
+ o.map ? (A(), B(T, V({
7586
7586
  key: 8,
7587
7587
  map: o.map,
7588
7588
  viewport: a.viewport,
@@ -7591,49 +7591,49 @@ function ud(t, e, o, i, a, l) {
7591
7591
  "active-weather-layers": a.activeWeatherLayers,
7592
7592
  simple: o.simple
7593
7593
  }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : I("", !0),
7594
- o.map ? (A(), F(B, V({
7594
+ o.map ? (A(), B(F, V({
7595
7595
  key: 9,
7596
7596
  viewport: a.viewport,
7597
7597
  factor: (Z = a.weatherLayers) == null ? void 0 : Z["ice-edge"],
7598
7598
  "menu-toggle": o.menuToggle,
7599
7599
  simple: o.simple
7600
7600
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7601
- o.map ? (A(), F(j, V({
7601
+ o.map ? (A(), B(j, V({
7602
7602
  key: 10,
7603
7603
  viewport: a.viewport,
7604
7604
  factor: (U = a.weatherLayers) == null ? void 0 : U["ice-cover"],
7605
7605
  "menu-toggle": o.menuToggle,
7606
7606
  simple: o.simple
7607
7607
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7608
- o.map ? (A(), F(G, V({
7608
+ o.map ? (A(), B(G, V({
7609
7609
  key: 11,
7610
7610
  viewport: a.viewport,
7611
7611
  factor: (fe = a.weatherLayers) == null ? void 0 : fe["ice-thickness"],
7612
7612
  "menu-toggle": o.menuToggle,
7613
7613
  simple: o.simple
7614
7614
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7615
- o.map ? (A(), F(Q, V({
7615
+ o.map ? (A(), B(J, V({
7616
7616
  key: 12,
7617
7617
  viewport: a.viewport,
7618
7618
  factor: (Le = a.weatherLayers) == null ? void 0 : Le.precip3h,
7619
7619
  "menu-toggle": o.menuToggle,
7620
7620
  simple: o.simple
7621
7621
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7622
- o.map ? (A(), F(ie, V({
7622
+ o.map ? (A(), B(ae, V({
7623
7623
  key: 13,
7624
7624
  viewport: a.viewport,
7625
7625
  factor: (ze = a.weatherLayers) == null ? void 0 : ze.visibility,
7626
7626
  "menu-toggle": o.menuToggle,
7627
7627
  simple: o.simple
7628
7628
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7629
- o.map ? (A(), F(re, V({
7629
+ o.map ? (A(), B(re, V({
7630
7630
  key: 14,
7631
7631
  viewport: a.viewport,
7632
7632
  factor: (he = a.weatherLayers) == null ? void 0 : he["water-temp"],
7633
7633
  "menu-toggle": o.menuToggle,
7634
7634
  simple: o.simple
7635
7635
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7636
- o.map ? (A(), F(ve, V({
7636
+ o.map ? (A(), B(ve, V({
7637
7637
  key: 15,
7638
7638
  viewport: a.viewport,
7639
7639
  factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.temp,
@@ -7993,49 +7993,49 @@ let ul = class {
7993
7993
  }), a;
7994
7994
  }
7995
7995
  static pickHourly(e, o) {
7996
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
7996
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
7997
7997
  const de = typeof o == "string" ? S(o) : o;
7998
7998
  let Fe = de.clone();
7999
- const ae = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ae == null ? void 0 : ae[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ae == null ? void 0 : ae[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ae == null ? void 0 : ae[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((x = (L = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : L.time) == null ? void 0 : x.at(-1)), "h"), lo = [];
8000
- Fe = Fe.isBefore(We) ? We.clone() : Fe, Fe = Fe.isAfter(J) ? J.clone() : Fe;
7999
+ const ie = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ie == null ? void 0 : ie[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ie == null ? void 0 : ie[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), K = qe.clone().add(((h = (u = (b = ie == null ? void 0 : ie[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((x = (L = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : L.time) == null ? void 0 : x.at(-1)), "h"), lo = [];
8000
+ Fe = Fe.isBefore(We) ? We.clone() : Fe, Fe = Fe.isAfter(K) ? K.clone() : Fe;
8001
8001
  const ce = Fe.utc().diff(We, "h", !1);
8002
8002
  let Be, mt;
8003
- if (ae != null && ae.length) {
8003
+ if (ie != null && ie.length) {
8004
8004
  let ft = 0, yt = 0, X = 0;
8005
- for (const dt of ae) {
8006
- const K = dt == null ? void 0 : dt.hourly;
8005
+ for (const dt of ie) {
8006
+ const Q = dt == null ? void 0 : dt.hourly;
8007
8007
  for (let ye = ce - (ce - 1) % 3; ye <= ce; ye++)
8008
- ft += ((C = K == null ? void 0 : K.precipitation) == null ? void 0 : C.at(ye)) ?? 0;
8008
+ ft += ((C = Q == null ? void 0 : Q.precipitation) == null ? void 0 : C.at(ye)) ?? 0;
8009
8009
  for (let ye = ce - (ce - 1) % 6; ye <= ce; ye++)
8010
- yt += ((z = K == null ? void 0 : K.precipitation) == null ? void 0 : z.at(ye)) ?? 0;
8010
+ yt += ((z = Q == null ? void 0 : Q.precipitation) == null ? void 0 : z.at(ye)) ?? 0;
8011
8011
  for (let ye = ce - (ce - 1) % 12; ye <= ce; ye++)
8012
- X += ((P = K == null ? void 0 : K.precipitation) == null ? void 0 : P.at(ye)) ?? 0;
8013
- const ht = ((_ = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : _.at(ce)) ?? ((T = (D = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : D.filter((ye) => ye !== null)) == null ? void 0 : T.at(-1));
8012
+ X += ((P = Q == null ? void 0 : Q.precipitation) == null ? void 0 : P.at(ye)) ?? 0;
8013
+ const ht = ((_ = Q == null ? void 0 : Q.wind_direction_10m) == null ? void 0 : _.at(ce)) ?? ((T = (D = Q == null ? void 0 : Q.wind_direction_10m) == null ? void 0 : D.filter((ye) => ye !== null)) == null ? void 0 : T.at(-1));
8014
8014
  Be = {
8015
- temp: ((B = K == null ? void 0 : K.temperature_2m) == null ? void 0 : B.at(ce)) ?? ((G = (j = K == null ? void 0 : K.temperature_2m) == null ? void 0 : j.filter((ye) => ye !== null)) == null ? void 0 : G.at(-1)),
8016
- apparentTemp: ((Q = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : Q.at(ce)) ?? ((re = (ie = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ie.filter((ye) => ye !== null)) == null ? void 0 : re.at(-1)),
8017
- rh: ((ve = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : ve.at(ce)) ?? ((E = (be = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
8018
- dp: (($ = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : te.filter((ye) => ye !== null)) == null ? void 0 : se.at(-1)),
8015
+ temp: ((F = Q == null ? void 0 : Q.temperature_2m) == null ? void 0 : F.at(ce)) ?? ((G = (j = Q == null ? void 0 : Q.temperature_2m) == null ? void 0 : j.filter((ye) => ye !== null)) == null ? void 0 : G.at(-1)),
8016
+ apparentTemp: ((J = Q == null ? void 0 : Q.apparent_temperature) == null ? void 0 : J.at(ce)) ?? ((re = (ae = Q == null ? void 0 : Q.apparent_temperature) == null ? void 0 : ae.filter((ye) => ye !== null)) == null ? void 0 : re.at(-1)),
8017
+ rh: ((ve = Q == null ? void 0 : Q.relative_humidity_2m) == null ? void 0 : ve.at(ce)) ?? ((E = (be = Q == null ? void 0 : Q.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
8018
+ dp: (($ = Q == null ? void 0 : Q.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = Q == null ? void 0 : Q.dew_point_2m) == null ? void 0 : te.filter((ye) => ye !== null)) == null ? void 0 : se.at(-1)),
8019
8019
  precip: {
8020
- probability: ((q = K == null ? void 0 : K.precipitation_probability) == null ? void 0 : q.at(ce)) ?? 0,
8021
- sum: ((Y = K == null ? void 0 : K.precipitation) == null ? void 0 : Y.at(ce)) ?? 0,
8022
- sum1Hours: ((le = K == null ? void 0 : K.precipitation) == null ? void 0 : le.at(ce)) ?? 0,
8020
+ probability: ((q = Q == null ? void 0 : Q.precipitation_probability) == null ? void 0 : q.at(ce)) ?? 0,
8021
+ sum: ((Y = Q == null ? void 0 : Q.precipitation) == null ? void 0 : Y.at(ce)) ?? 0,
8022
+ sum1Hours: ((le = Q == null ? void 0 : Q.precipitation) == null ? void 0 : le.at(ce)) ?? 0,
8023
8023
  sum3Hours: Math.round(ft * 100) / 100,
8024
8024
  sum6Hours: Math.round(yt * 100) / 100,
8025
8025
  sum12Hours: Math.round(X * 100) / 100
8026
8026
  },
8027
- pmsl: ((Z = K == null ? void 0 : K.pressure_msl) == null ? void 0 : Z.at(ce)) ?? ((fe = (U = K == null ? void 0 : K.pressure_msl) == null ? void 0 : U.filter((ye) => ye !== null)) == null ? void 0 : fe.at(-1)),
8028
- psurf: ((Le = K == null ? void 0 : K.surface_pressure) == null ? void 0 : Le.at(ce)) ?? ((he = (ze = K == null ? void 0 : K.surface_pressure) == null ? void 0 : ze.filter((ye) => ye !== null)) == null ? void 0 : he.at(-1)),
8029
- code: ((Ae = K == null ? void 0 : K.weather_code) == null ? void 0 : Ae.at(ce)) ?? ((we = (ee = K == null ? void 0 : K.weather_code) == null ? void 0 : ee.filter((ye) => ye !== null)) == null ? void 0 : we.at(-1)),
8030
- visibility: this.m2nm(((Ee = K == null ? void 0 : K.visibility) == null ? void 0 : Ee.at(ce)) ?? (($e = (Ge = K == null ? void 0 : K.visibility) == null ? void 0 : Ge.filter((ye) => ye !== null)) == null ? void 0 : $e.at(-1))),
8027
+ pmsl: ((Z = Q == null ? void 0 : Q.pressure_msl) == null ? void 0 : Z.at(ce)) ?? ((fe = (U = Q == null ? void 0 : Q.pressure_msl) == null ? void 0 : U.filter((ye) => ye !== null)) == null ? void 0 : fe.at(-1)),
8028
+ psurf: ((Le = Q == null ? void 0 : Q.surface_pressure) == null ? void 0 : Le.at(ce)) ?? ((he = (ze = Q == null ? void 0 : Q.surface_pressure) == null ? void 0 : ze.filter((ye) => ye !== null)) == null ? void 0 : he.at(-1)),
8029
+ code: ((Ae = Q == null ? void 0 : Q.weather_code) == null ? void 0 : Ae.at(ce)) ?? ((we = (ee = Q == null ? void 0 : Q.weather_code) == null ? void 0 : ee.filter((ye) => ye !== null)) == null ? void 0 : we.at(-1)),
8030
+ visibility: this.m2nm(((Ee = Q == null ? void 0 : Q.visibility) == null ? void 0 : Ee.at(ce)) ?? (($e = (Ge = Q == null ? void 0 : Q.visibility) == null ? void 0 : Ge.filter((ye) => ye !== null)) == null ? void 0 : $e.at(-1))),
8031
8031
  wind: {
8032
- speed: ((et = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((je = (Je = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : Je.filter((ye) => ye !== null)) == null ? void 0 : je.at(-1)),
8033
- kts: ((tt = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : tt.at(ce)) ?? ((He = (Oe = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : Oe.filter((ye) => ye !== null)) == null ? void 0 : He.at(-1)),
8032
+ speed: ((et = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((je = (Je = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : Je.filter((ye) => ye !== null)) == null ? void 0 : je.at(-1)),
8033
+ kts: ((tt = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : tt.at(ce)) ?? ((He = (Oe = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : Oe.filter((ye) => ye !== null)) == null ? void 0 : He.at(-1)),
8034
8034
  degree: ht,
8035
8035
  bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
8036
- gusts: ((Ke = K == null ? void 0 : K.wind_gusts_10m) == null ? void 0 : Ke.at(ce)) ?? ((at = (ot = K == null ? void 0 : K.wind_gusts_10m) == null ? void 0 : ot.filter((ye) => ye !== null)) == null ? void 0 : at.at(-1))
8036
+ gusts: ((Ke = Q == null ? void 0 : Q.wind_gusts_10m) == null ? void 0 : Ke.at(ce)) ?? ((at = (ot = Q == null ? void 0 : Q.wind_gusts_10m) == null ? void 0 : ot.filter((ye) => ye !== null)) == null ? void 0 : at.at(-1))
8037
8037
  },
8038
- isDay: (Qe = K == null ? void 0 : K.is_day) == null ? void 0 : Qe.at(ce)
8038
+ isDay: (Qe = Q == null ? void 0 : Q.is_day) == null ? void 0 : Qe.at(ce)
8039
8039
  };
8040
8040
  const { name: no, url: pe, bg: go } = this.parseWeatherCode(Be.code, Be.isDay);
8041
8041
  Be.name = no, Be.url = pe, Be.bg = go, Be.wind.scale = this.beaufort(this.kts2ms(Be.wind.kts)), Be.wind.direction = this.degree2Direction(Be.wind.degree), lo.push({
@@ -8049,7 +8049,7 @@ let ul = class {
8049
8049
  if (oe != null && oe.length) {
8050
8050
  let ft = 0;
8051
8051
  for (const yt of oe) {
8052
- const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.at(ce)) ?? ((At = (xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.filter((pe) => pe !== null)) == null ? void 0 : At.at(-1));
8052
+ const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), Q = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.at(ce)) ?? ((At = (xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.filter((pe) => pe !== null)) == null ? void 0 : At.at(-1));
8053
8053
  mt = {
8054
8054
  wave: {
8055
8055
  sig: {
@@ -8060,8 +8060,8 @@ let ul = class {
8060
8060
  },
8061
8061
  swell: {
8062
8062
  height: ((Pt = X == null ? void 0 : X.swell_wave_height) == null ? void 0 : Pt.at(ce)) ?? ((Tt = (St = X == null ? void 0 : X.swell_wave_height) == null ? void 0 : St.filter((pe) => pe !== null)) == null ? void 0 : Tt.at(-1)),
8063
- degree: K,
8064
- bearing: K !== null ? Math.round((K + 180) % 360) : null,
8063
+ degree: Q,
8064
+ bearing: Q !== null ? Math.round((Q + 180) % 360) : null,
8065
8065
  period: ((Rt = X == null ? void 0 : X.swell_wave_period) == null ? void 0 : Rt.at(ce)) ?? ((It = (Dt = X == null ? void 0 : X.swell_wave_period) == null ? void 0 : Dt.filter((pe) => pe !== null)) == null ? void 0 : It.at(-1)),
8066
8066
  peakPeriod: ((Et = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Et.at(ce)) ?? ((Ft = (Gt = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Gt.filter((pe) => pe !== null)) == null ? void 0 : Ft.at(-1))
8067
8067
  },
@@ -8119,7 +8119,7 @@ let ul = class {
8119
8119
  };
8120
8120
  }
8121
8121
  static pickDaily(e, o) {
8122
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
8122
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
8123
8123
  const oo = typeof o == "string" ? S(o) : o;
8124
8124
  let Xe = oo.clone();
8125
8125
  const Ye = e == null ? void 0 : e.weather, ao = e == null ? void 0 : e.marine, nt = S((l = (a = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : l.at(0)), io = S((s = (c = (r = Ye == null ? void 0 : Ye[0]) == null ? void 0 : r.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), gt = [];
@@ -8128,43 +8128,43 @@ let ul = class {
8128
8128
  const de = Xe.diff(nt, "d", !1);
8129
8129
  if (Ye)
8130
8130
  for (const Fe of Ye) {
8131
- const ae = Fe.daily, oe = ((d = ae.wind_direction_10m_dominant) == null ? void 0 : d.at(de)) ?? ((p = (m = ae.wind_direction_10m_dominant) == null ? void 0 : m.filter((J) => J !== null)) == null ? void 0 : p.at(-1));
8131
+ const ie = Fe.daily, oe = ((d = ie.wind_direction_10m_dominant) == null ? void 0 : d.at(de)) ?? ((p = (m = ie.wind_direction_10m_dominant) == null ? void 0 : m.filter((K) => K !== null)) == null ? void 0 : p.at(-1));
8132
8132
  De = {
8133
- code: ((g = ae.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ae.weather_code) == null ? void 0 : b.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
8133
+ code: ((g = ie.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ie.weather_code) == null ? void 0 : b.filter((K) => K !== null)) == null ? void 0 : u.at(-1)),
8134
8134
  temp: {
8135
- max: ((h = ae.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((L = (f = ae.temperature_2m_max) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : L.at(-1)),
8136
- min: ((x = ae.temperature_2m_min) == null ? void 0 : x.at(de)) ?? ((z = (C = ae.temperature_2m_min) == null ? void 0 : C.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
8137
- mean: ((P = ae.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ae.temperature_2m_mean) == null ? void 0 : _.filter((J) => J !== null)) == null ? void 0 : D.at(-1))
8135
+ max: ((h = ie.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((L = (f = ie.temperature_2m_max) == null ? void 0 : f.filter((K) => K !== null)) == null ? void 0 : L.at(-1)),
8136
+ min: ((x = ie.temperature_2m_min) == null ? void 0 : x.at(de)) ?? ((z = (C = ie.temperature_2m_min) == null ? void 0 : C.filter((K) => K !== null)) == null ? void 0 : z.at(-1)),
8137
+ mean: ((P = ie.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ie.temperature_2m_mean) == null ? void 0 : _.filter((K) => K !== null)) == null ? void 0 : D.at(-1))
8138
8138
  },
8139
8139
  apparentTemp: {
8140
- max: ((T = ae.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (B = ae.apparent_temperature_max) == null ? void 0 : B.filter((J) => J !== null)) == null ? void 0 : j.at(-1)),
8141
- min: ((G = ae.apparent_temperature_min) == null ? void 0 : G.at(de)) ?? ((ie = (Q = ae.apparent_temperature_min) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : ie.at(-1))
8140
+ max: ((T = ie.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (F = ie.apparent_temperature_max) == null ? void 0 : F.filter((K) => K !== null)) == null ? void 0 : j.at(-1)),
8141
+ min: ((G = ie.apparent_temperature_min) == null ? void 0 : G.at(de)) ?? ((ae = (J = ie.apparent_temperature_min) == null ? void 0 : J.filter((K) => K !== null)) == null ? void 0 : ae.at(-1))
8142
8142
  },
8143
8143
  precip: {
8144
- sum: ((re = ae.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (ve = ae.precipitation_sum) == null ? void 0 : ve.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
8145
- rainSum: ((E = ae.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ae.rain_sum) == null ? void 0 : $.filter((J) => J !== null)) == null ? void 0 : te.at(-1)),
8146
- snowfallSum: ((se = ae.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ae.snowfall_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
8147
- showersSum: ((le = ae.showers_sum) == null ? void 0 : le.at(de)) ?? ((U = (Z = ae.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : U.at(-1)),
8148
- hours: ((fe = ae.precipitation_hours) == null ? void 0 : fe.at(de)) ?? 0,
8149
- probability: ((Le = ae.precipitation_probability_max) == null ? void 0 : Le.at(de)) ?? 0
8144
+ sum: ((re = ie.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (ve = ie.precipitation_sum) == null ? void 0 : ve.filter((K) => K !== null)) == null ? void 0 : be.at(-1)),
8145
+ rainSum: ((E = ie.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ie.rain_sum) == null ? void 0 : $.filter((K) => K !== null)) == null ? void 0 : te.at(-1)),
8146
+ snowfallSum: ((se = ie.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ie.snowfall_sum) == null ? void 0 : q.filter((K) => K !== null)) == null ? void 0 : Y.at(-1)),
8147
+ showersSum: ((le = ie.showers_sum) == null ? void 0 : le.at(de)) ?? ((U = (Z = ie.showers_sum) == null ? void 0 : Z.filter((K) => K !== null)) == null ? void 0 : U.at(-1)),
8148
+ hours: ((fe = ie.precipitation_hours) == null ? void 0 : fe.at(de)) ?? 0,
8149
+ probability: ((Le = ie.precipitation_probability_max) == null ? void 0 : Le.at(de)) ?? 0
8150
8150
  },
8151
8151
  rh: {
8152
- max: ((ze = ae.relative_humidity_2m_max) == null ? void 0 : ze.at(de)) ?? ((Ae = (he = ae.relative_humidity_2m_max) == null ? void 0 : he.filter((J) => J !== null)) == null ? void 0 : Ae.at(-1)),
8153
- min: ((ee = ae.relative_humidity_2m_min) == null ? void 0 : ee.at(de)) ?? ((Ee = (we = ae.relative_humidity_2m_min) == null ? void 0 : we.filter((J) => J !== null)) == null ? void 0 : Ee.at(-1)),
8154
- mean: ((Ge = ae.relative_humidity_2m_mean) == null ? void 0 : Ge.at(de)) ?? ((et = ($e = ae.relative_humidity_2m_mean) == null ? void 0 : $e.filter((J) => J !== null)) == null ? void 0 : et.at(-1))
8152
+ max: ((ze = ie.relative_humidity_2m_max) == null ? void 0 : ze.at(de)) ?? ((Ae = (he = ie.relative_humidity_2m_max) == null ? void 0 : he.filter((K) => K !== null)) == null ? void 0 : Ae.at(-1)),
8153
+ min: ((ee = ie.relative_humidity_2m_min) == null ? void 0 : ee.at(de)) ?? ((Ee = (we = ie.relative_humidity_2m_min) == null ? void 0 : we.filter((K) => K !== null)) == null ? void 0 : Ee.at(-1)),
8154
+ mean: ((Ge = ie.relative_humidity_2m_mean) == null ? void 0 : Ge.at(de)) ?? ((et = ($e = ie.relative_humidity_2m_mean) == null ? void 0 : $e.filter((K) => K !== null)) == null ? void 0 : et.at(-1))
8155
8155
  },
8156
8156
  wind: {
8157
- speed: ((Je = ae.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (je = ae.wind_speed_10m_max) == null ? void 0 : je.filter((J) => J !== null)) == null ? void 0 : tt.at(-1)),
8158
- kts: ((Oe = ae.wind_speed_10m_max) == null ? void 0 : Oe.at(de)) ?? ((Ke = (He = ae.wind_speed_10m_max) == null ? void 0 : He.filter((J) => J !== null)) == null ? void 0 : Ke.at(-1)),
8157
+ speed: ((Je = ie.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (je = ie.wind_speed_10m_max) == null ? void 0 : je.filter((K) => K !== null)) == null ? void 0 : tt.at(-1)),
8158
+ kts: ((Oe = ie.wind_speed_10m_max) == null ? void 0 : Oe.at(de)) ?? ((Ke = (He = ie.wind_speed_10m_max) == null ? void 0 : He.filter((K) => K !== null)) == null ? void 0 : Ke.at(-1)),
8159
8159
  degree: oe,
8160
- gusts: ((ot = ae.wind_gusts_10m_max) == null ? void 0 : ot.at(de)) ?? ((Qe = (at = ae.wind_gusts_10m_max) == null ? void 0 : at.filter((J) => J !== null)) == null ? void 0 : Qe.at(-1)),
8161
- mean: ((Te = ae.wind_speed_10m_mean) == null ? void 0 : Te.at(de)) ?? ((Ne = (Re = ae.wind_speed_10m_mean) == null ? void 0 : Re.filter((J) => J !== null)) == null ? void 0 : Ne.at(-1)),
8160
+ gusts: ((ot = ie.wind_gusts_10m_max) == null ? void 0 : ot.at(de)) ?? ((Qe = (at = ie.wind_gusts_10m_max) == null ? void 0 : at.filter((K) => K !== null)) == null ? void 0 : Qe.at(-1)),
8161
+ mean: ((Te = ie.wind_speed_10m_mean) == null ? void 0 : Te.at(de)) ?? ((Ne = (Re = ie.wind_speed_10m_mean) == null ? void 0 : Re.filter((K) => K !== null)) == null ? void 0 : Ne.at(-1)),
8162
8162
  bearing: oe !== null ? Math.round((oe + 180) % 360) : null
8163
8163
  },
8164
8164
  visibility: {
8165
- max: this.m2nm(((it = ae.visibility_max) == null ? void 0 : it.at(de)) ?? ((rt = (lt = ae.visibility_max) == null ? void 0 : lt.filter((J) => J !== null)) == null ? void 0 : rt.at(-1))),
8166
- min: this.m2nm(((Ve = ae.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ae.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
8167
- mean: this.m2nm(((vt = ae.visibility_mean) == null ? void 0 : vt.at(de)) ?? ((At = (xt = ae.visibility_mean) == null ? void 0 : xt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
8165
+ max: this.m2nm(((it = ie.visibility_max) == null ? void 0 : it.at(de)) ?? ((rt = (lt = ie.visibility_max) == null ? void 0 : lt.filter((K) => K !== null)) == null ? void 0 : rt.at(-1))),
8166
+ min: this.m2nm(((Ve = ie.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ie.visibility_min) == null ? void 0 : bt.filter((K) => K !== null)) == null ? void 0 : wt.at(-1))),
8167
+ mean: this.m2nm(((vt = ie.visibility_mean) == null ? void 0 : vt.at(de)) ?? ((At = (xt = ie.visibility_mean) == null ? void 0 : xt.filter((K) => K !== null)) == null ? void 0 : At.at(-1)))
8168
8168
  }
8169
8169
  };
8170
8170
  const { name: ct, url: qe, bg: We } = this.parseWeatherCode(De.code, !0);
@@ -8177,28 +8177,28 @@ let ul = class {
8177
8177
  }
8178
8178
  if (ao) {
8179
8179
  let Fe = 0;
8180
- for (const ae of ao) {
8181
- const oe = ae.daily, ct = ((kt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : kt.at(de)) || ((zt = (Lt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : Lt.filter((J) => J !== null)) == null ? void 0 : zt.at(-1)), qe = ((_t = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : _t.at(de)) || ((Mt = (Ct = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : Ct.filter((J) => J !== null)) == null ? void 0 : Mt.at(-1)), We = ((Pt = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : Pt.at(de)) || ((Tt = (St = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : St.filter((J) => J !== null)) == null ? void 0 : Tt.at(-1));
8180
+ for (const ie of ao) {
8181
+ const oe = ie.daily, ct = ((kt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : kt.at(de)) || ((zt = (Lt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : Lt.filter((K) => K !== null)) == null ? void 0 : zt.at(-1)), qe = ((_t = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : _t.at(de)) || ((Mt = (Ct = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : Ct.filter((K) => K !== null)) == null ? void 0 : Mt.at(-1)), We = ((Pt = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : Pt.at(de)) || ((Tt = (St = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : St.filter((K) => K !== null)) == null ? void 0 : Tt.at(-1));
8182
8182
  st = {
8183
8183
  wave: {
8184
8184
  sig: {
8185
- height: ((Rt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Rt.at(de)) || ((It = (Dt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Dt.filter((J) => J !== null)) == null ? void 0 : It.at(-1)),
8185
+ height: ((Rt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Rt.at(de)) || ((It = (Dt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Dt.filter((K) => K !== null)) == null ? void 0 : It.at(-1)),
8186
8186
  degree: ct,
8187
- period: ((Et = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Et.at(de)) || ((Ft = (Gt = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Gt.filter((J) => J !== null)) == null ? void 0 : Ft.at(-1)),
8187
+ period: ((Et = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Et.at(de)) || ((Ft = (Gt = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Gt.filter((K) => K !== null)) == null ? void 0 : Ft.at(-1)),
8188
8188
  bearing: ct !== null ? Math.round((ct + 180) % 360) : null
8189
8189
  },
8190
8190
  swell: {
8191
- height: ((Bt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : Bt.at(de)) ?? ((Nt = (jt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : jt.filter((J) => J !== null)) == null ? void 0 : Nt.at(-1)),
8191
+ height: ((Bt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : Bt.at(de)) ?? ((Nt = (jt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : jt.filter((K) => K !== null)) == null ? void 0 : Nt.at(-1)),
8192
8192
  degree: qe,
8193
- period: ((Zt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Zt.at(de)) ?? ((Vt = (Wt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Wt.filter((J) => J !== null)) == null ? void 0 : Vt.at(-1)),
8194
- peakPeriod: ((Xt = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Xt.at(de)) ?? ((Ht = (Ot = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((J) => J !== null)) == null ? void 0 : Ht.at(-1)),
8193
+ period: ((Zt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Zt.at(de)) ?? ((Vt = (Wt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Wt.filter((K) => K !== null)) == null ? void 0 : Vt.at(-1)),
8194
+ peakPeriod: ((Xt = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Xt.at(de)) ?? ((Ht = (Ot = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((K) => K !== null)) == null ? void 0 : Ht.at(-1)),
8195
8195
  bearing: qe !== null ? Math.round((qe + 180) % 360) : null
8196
8196
  },
8197
8197
  wd: {
8198
- height: ((Yt = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Yt.at(de)) ?? ((Jt = (Ut = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Ut.filter((J) => J !== null)) == null ? void 0 : Jt.at(-1)),
8198
+ height: ((Yt = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Yt.at(de)) ?? ((Jt = (Ut = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Ut.filter((K) => K !== null)) == null ? void 0 : Jt.at(-1)),
8199
8199
  degree: We,
8200
- period: ((Kt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Kt.at(de)) ?? ((qt = (Qt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Qt.filter((J) => J !== null)) == null ? void 0 : qt.at(-1)),
8201
- peakPeriod: (($t = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : $t.at(de)) ?? ((to = (eo = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : eo.filter((J) => J !== null)) == null ? void 0 : to.at(-1)),
8200
+ period: ((Kt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Kt.at(de)) ?? ((qt = (Qt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Qt.filter((K) => K !== null)) == null ? void 0 : qt.at(-1)),
8201
+ peakPeriod: (($t = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : $t.at(de)) ?? ((to = (eo = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : eo.filter((K) => K !== null)) == null ? void 0 : to.at(-1)),
8202
8202
  bearing: We !== null ? Math.round((We + 180) % 360) : null
8203
8203
  }
8204
8204
  }
@@ -9130,7 +9130,7 @@ const gd = {
9130
9130
  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();
9131
9131
  },
9132
9132
  handleDateChange() {
9133
- var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $;
9133
+ var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $;
9134
9134
  if ((t = this.interpolateMarkers) == null || t.forEach((te) => te == null ? void 0 : te.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
9135
9135
  const te = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((Z) => Z.properties.date === (te == null ? void 0 : te.format()) && !Z.properties.disabled), q = this.handleComputePolygons(se), Y = W.featureCollection([...se]);
9136
9136
  q.forEach((Z) => {
@@ -9174,7 +9174,7 @@ const gd = {
9174
9174
  Z.properties.nameCn = he, Z.properties.Name = ((m = (d = Z.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (Ae) => Ae.toUpperCase())) || Z.properties.nameCn, le.push(Z);
9175
9175
  }
9176
9176
  let U = this.Theme.current.value.colors["tropicals-ty"];
9177
- ((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((x = (L = Z.properties) == null ? void 0 : L.wind) == null ? void 0 : x.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((Q = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : Q.kts) >= 79 && ((re = (ie = Z.properties) == null ? void 0 : ie.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (ve = Z.properties) == null ? void 0 : ve.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
9177
+ ((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((x = (L = Z.properties) == null ? void 0 : L.wind) == null ? void 0 : x.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (F = Z.properties) == null ? void 0 : F.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((J = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : J.kts) >= 79 && ((re = (ae = Z.properties) == null ? void 0 : ae.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (ve = Z.properties) == null ? void 0 : ve.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
9178
9178
  const fe = `<svg t="1719918955501"
9179
9179
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
9180
9180
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -9433,7 +9433,7 @@ function Kh(t, e, o, i, a, l) {
9433
9433
  }, 8, ["onClick"]),
9434
9434
  n("div", vd, [
9435
9435
  n("span", xd, y(t.$t("actions.lastUpdate")) + ": ", 1),
9436
- n("span", null, y(l.computeTime(((P = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : P.updated) || ((T = (D = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : D.filter((B) => !B.disabled)[0]) == null ? void 0 : T.date), o.timeZone)), 1)
9436
+ n("span", null, y(l.computeTime(((P = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : P.updated) || ((T = (D = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : D.filter((F) => !F.disabled)[0]) == null ? void 0 : T.date), o.timeZone)), 1)
9437
9437
  ])
9438
9438
  ];
9439
9439
  }),
@@ -9468,7 +9468,7 @@ function Kh(t, e, o, i, a, l) {
9468
9468
  n("div", Rd, [
9469
9469
  n("label", Dd, y(t.$t("tropical.models")) + " : ", 1),
9470
9470
  n("div", Id, [
9471
- (A(!0), R(Ce, null, Me((P = a.activeTropicals) == null ? void 0 : P.forecasts, (_, D) => (A(), F(r, {
9471
+ (A(!0), R(Ce, null, Me((P = a.activeTropicals) == null ? void 0 : P.forecasts, (_, D) => (A(), B(r, {
9472
9472
  key: D,
9473
9473
  density: "compact",
9474
9474
  variant: _.disabled ? "text" : "flat",
@@ -9489,7 +9489,7 @@ function Kh(t, e, o, i, a, l) {
9489
9489
  _: 1
9490
9490
  }),
9491
9491
  w(d),
9492
- o.simple ? I("", !0) : (A(), F(m, {
9492
+ o.simple ? I("", !0) : (A(), B(m, {
9493
9493
  key: 0,
9494
9494
  class: "d-flex justify-space-between"
9495
9495
  }, {
@@ -9657,7 +9657,7 @@ function Kh(t, e, o, i, a, l) {
9657
9657
  w(d),
9658
9658
  w(s, { class: "text-body-1" }, {
9659
9659
  default: v(() => {
9660
- var b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
9660
+ var b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be;
9661
9661
  return [
9662
9662
  n("div", Ph, [
9663
9663
  ((b = a.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (A(), R("div", Sh, [
@@ -9682,7 +9682,7 @@ function Kh(t, e, o, i, a, l) {
9682
9682
  ])) : I("", !0),
9683
9683
  ((T = a.hoverPoint) == null ? void 0 : T.type) === "history" ? (A(), R("div", Nh, [
9684
9684
  n("label", Zh, y(t.$t("weather.wind")) + " : ", 1),
9685
- n("span", null, y(((B = a.hoverPoint) == null ? void 0 : B.kts) ?? "-") + " kts", 1)
9685
+ n("span", null, y(((F = a.hoverPoint) == null ? void 0 : F.kts) ?? "-") + " kts", 1)
9686
9686
  ])) : I("", !0),
9687
9687
  n("div", Wh, [
9688
9688
  n("label", Vh, y(t.$t("weather.pressure")) + " : ", 1),
@@ -9690,7 +9690,7 @@ function Kh(t, e, o, i, a, l) {
9690
9690
  ]),
9691
9691
  ((G = a.hoverPoint) == null ? void 0 : G.type) === "history" ? (A(), R("div", Xh, [
9692
9692
  n("label", Oh, y(t.$t("tropical.moveSpeed")) + " : ", 1),
9693
- n("span", null, y(((ie = JSON.parse(((Q = a.hoverPoint) == null ? void 0 : Q.movement) || "{}")) == null ? void 0 : ie.kts) ?? "-") + " kts", 1)
9693
+ n("span", null, y(((ae = JSON.parse(((J = a.hoverPoint) == null ? void 0 : J.movement) || "{}")) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
9694
9694
  ])) : I("", !0),
9695
9695
  ((re = a.hoverPoint) == null ? void 0 : re.type) === "history" ? (A(), R("div", Hh, [
9696
9696
  n("label", Yh, y(t.$t("tropical.moveDir")) + " : ", 1),
@@ -9912,7 +9912,7 @@ function ou(t, e, o, i, a, l) {
9912
9912
  class: ue([[o.bgClass, { "cursor-pointer": !o.disabled }], "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2"]),
9913
9913
  onClick: e[0] || (e[0] = (...h) => l.handleOpenDatePicker && l.handleOpenDatePicker(...h))
9914
9914
  }, y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 7),
9915
- a.showDatePicker ? (A(), F(u, {
9915
+ a.showDatePicker ? (A(), B(u, {
9916
9916
  key: 0,
9917
9917
  class: "card-box d-flex flex-column border elevation-12",
9918
9918
  style: ge(l.getStyle)
@@ -9941,7 +9941,7 @@ function ou(t, e, o, i, a, l) {
9941
9941
  n("div", tu, y(t.$t("time.time")), 1),
9942
9942
  w(m, { class: "pa-0 flex-1-1-0 scroll" }, {
9943
9943
  default: v(() => [
9944
- (A(!0), R(Ce, null, Me(l.hourOptions, (h, f) => (A(), F(d, {
9944
+ (A(!0), R(Ce, null, Me(l.hourOptions, (h, f) => (A(), B(d, {
9945
9945
  key: f,
9946
9946
  value: h,
9947
9947
  color: "primary",
@@ -10274,10 +10274,10 @@ const au = {
10274
10274
  }), this.loading = !1;
10275
10275
  },
10276
10276
  initTableData(t) {
10277
- var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
10277
+ var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
10278
10278
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (l = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset;
10279
10279
  const e = ((r = Zo.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : r[0]) || {};
10280
- 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((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((x = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : x.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((j = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Q = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (ve = e == null ? void 0 : e.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.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 = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
10280
+ 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((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((x = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : x.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((j = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((J = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (ve = e == null ? void 0 : e.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.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 = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
10281
10281
  },
10282
10282
  handleBind() {
10283
10283
  var t, e;
@@ -10432,7 +10432,7 @@ function xp(t, e, o, i, a, l) {
10432
10432
  _: 1
10433
10433
  }, 8, ["text", "open-on-focus", "open-on-hover"])
10434
10434
  ], 4),
10435
- a.showForm && !o.simple ? (A(), F(x, {
10435
+ a.showForm && !o.simple ? (A(), B(x, {
10436
10436
  key: 0,
10437
10437
  class: "spot-form-card",
10438
10438
  style: ge({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
@@ -10702,7 +10702,7 @@ function xp(t, e, o, i, a, l) {
10702
10702
  ]),
10703
10703
  _: 1
10704
10704
  }, 8, ["style"])) : I("", !0),
10705
- a.showMeteo && !o.simple ? (A(), F(x, {
10705
+ a.showMeteo && !o.simple ? (A(), B(x, {
10706
10706
  key: 1,
10707
10707
  id: "idm-gl4-spot-meteo",
10708
10708
  class: "spot-meteo",
@@ -10783,7 +10783,7 @@ function xp(t, e, o, i, a, l) {
10783
10783
  (C = o.followList) != null && C.some((z) => {
10784
10784
  var P, _;
10785
10785
  return (z == null ? void 0 : z.id) === a.form.followId || ((P = z == null ? void 0 : z.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((_ = z == null ? void 0 : z.coordinate) == null ? void 0 : _.lat) === a.form.lat;
10786
- }) ? (A(), F(r, {
10786
+ }) ? (A(), B(r, {
10787
10787
  key: 0,
10788
10788
  id: "idm-gl4-spot-meteo-follow",
10789
10789
  class: "text-none text-body-1",
@@ -10799,7 +10799,7 @@ function xp(t, e, o, i, a, l) {
10799
10799
  N(" " + y(t.$t("actions.unfollow")), 1)
10800
10800
  ]),
10801
10801
  _: 1
10802
- }, 8, ["onClick"])) : (A(), F(r, {
10802
+ }, 8, ["onClick"])) : (A(), B(r, {
10803
10803
  key: 1,
10804
10804
  id: "idm-gl4-spot-meteo-unfollow",
10805
10805
  class: "text-none text-body-1",
@@ -10836,7 +10836,7 @@ function xp(t, e, o, i, a, l) {
10836
10836
  ]),
10837
10837
  _: 1
10838
10838
  })) : I("", !0),
10839
- a.showMeteo && o.simple ? (A(), F(x, {
10839
+ a.showMeteo && o.simple ? (A(), B(x, {
10840
10840
  key: 2,
10841
10841
  ref: "spotMeteo",
10842
10842
  class: "position-absolute bottom-0 rounded-t-4",
@@ -10856,7 +10856,7 @@ function xp(t, e, o, i, a, l) {
10856
10856
  (C = o.followList) != null && C.some((z) => {
10857
10857
  var P, _;
10858
10858
  return (z == null ? void 0 : z.id) === a.form.followId || ((P = z == null ? void 0 : z.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((_ = z == null ? void 0 : z.coordinate) == null ? void 0 : _.lat) === a.form.lat;
10859
- }) ? (A(), F(r, {
10859
+ }) ? (A(), B(r, {
10860
10860
  key: 0,
10861
10861
  class: "text-none text-body-1 rounded-circle",
10862
10862
  variant: "text",
@@ -10871,7 +10871,7 @@ function xp(t, e, o, i, a, l) {
10871
10871
  ])),
10872
10872
  _: 1,
10873
10873
  __: [26]
10874
- }, 8, ["onClick"])) : (A(), F(r, {
10874
+ }, 8, ["onClick"])) : (A(), B(r, {
10875
10875
  key: 1,
10876
10876
  class: "text-none text-body-1 rounded-circle",
10877
10877
  variant: "plain",
@@ -12183,7 +12183,7 @@ const Cp = {
12183
12183
  }, Up = { class: "text-label mb-1" }, Jp = { class: "mb-1" }, Kp = { class: "text-label mb-1" }, Qp = { class: "color-picker-row d-flex align-start ga-2" }, qp = ["value"], $p = { class: "mb-n2" }, eg = { class: "text-label mb-1" };
12184
12184
  function tg(t, e, o, i, a, l) {
12185
12185
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VTextField"), m = M("VCardText"), p = M("VBtnToggle"), g = M("VCol"), b = M("VRow"), u = M("VCardActions"), h = M("VForm"), f = M("VCard");
12186
- return A(), F(f, {
12186
+ return A(), B(f, {
12187
12187
  class: "idm-gl4-draw-dialog-card",
12188
12188
  elevation: "4"
12189
12189
  }, {
@@ -12230,7 +12230,7 @@ function tg(t, e, o, i, a, l) {
12230
12230
  }),
12231
12231
  _: 1
12232
12232
  }),
12233
- (L = o.editLayer) != null && L.id ? I("", !0) : (A(), F(m, {
12233
+ (L = o.editLayer) != null && L.id ? I("", !0) : (A(), B(m, {
12234
12234
  key: 0,
12235
12235
  class: "text-body-1 px-4 pb-0"
12236
12236
  }, {
@@ -12297,7 +12297,7 @@ function tg(t, e, o, i, a, l) {
12297
12297
  }),
12298
12298
  _: 1
12299
12299
  })),
12300
- a.markerType === "Point" ? (A(), F(h, {
12300
+ a.markerType === "Point" ? (A(), B(h, {
12301
12301
  key: 1,
12302
12302
  ref: "pointForm",
12303
12303
  autocomplete: "off",
@@ -12550,7 +12550,7 @@ function tg(t, e, o, i, a, l) {
12550
12550
  ]),
12551
12551
  _: 1
12552
12552
  }, 8, ["onSubmit"])) : I("", !0),
12553
- a.markerType === "Line" ? (A(), F(h, {
12553
+ a.markerType === "Line" ? (A(), B(h, {
12554
12554
  key: 2,
12555
12555
  ref: "lineForm",
12556
12556
  autocomplete: "off",
@@ -12633,7 +12633,7 @@ function tg(t, e, o, i, a, l) {
12633
12633
  ]),
12634
12634
  _: 1
12635
12635
  }, 8, ["onSubmit"])) : I("", !0),
12636
- a.markerType === "Area" ? (A(), F(h, {
12636
+ a.markerType === "Area" ? (A(), B(h, {
12637
12637
  key: 3,
12638
12638
  ref: "areaForm",
12639
12639
  autocomplete: "off",
@@ -12752,7 +12752,7 @@ function tg(t, e, o, i, a, l) {
12752
12752
  default: v(() => {
12753
12753
  var x;
12754
12754
  return [
12755
- (x = o.editLayer) != null && x.id ? I("", !0) : (A(), F(r, {
12755
+ (x = o.editLayer) != null && x.id ? I("", !0) : (A(), B(r, {
12756
12756
  key: 0,
12757
12757
  class: "text-none text-body-1",
12758
12758
  variant: "tonal",
@@ -13027,7 +13027,7 @@ const ag = {
13027
13027
  }, fg = { class: "text-body-2 text-truncate" };
13028
13028
  function yg(t, e, o, i, a, l) {
13029
13029
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VTextField"), m = M("VIcon"), p = M("VCardText"), g = M("VCardActions"), b = M("VForm"), u = M("VCard");
13030
- return A(), F(u, {
13030
+ return A(), B(u, {
13031
13031
  class: "idm-gl4-import-dialog-card",
13032
13032
  elevation: "4"
13033
13033
  }, {
@@ -13267,7 +13267,7 @@ const wg = {
13267
13267
  }, vg = { class: "text-h6 font-weight-600" }, xg = { class: "text-label mb-2" };
13268
13268
  function Ag(t, e, o, i, a, l) {
13269
13269
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VTextField"), m = M("VCardText"), p = M("VCardActions"), g = M("VCard"), b = M("VDialog");
13270
- return A(), F(b, {
13270
+ return A(), B(b, {
13271
13271
  "model-value": o.modelValue,
13272
13272
  "max-width": "320",
13273
13273
  persistent: "",
@@ -13390,7 +13390,7 @@ const kg = /* @__PURE__ */ ne(wg, [["render", Ag]]), Lg = {
13390
13390
  }, zg = { class: "text-body-1 pb-1" }, _g = { class: "text-body-1" };
13391
13391
  function Cg(t, e, o, i, a, l) {
13392
13392
  const r = M("VIcon"), c = M("VBtn"), s = M("VCardTitle"), d = M("VCardText"), m = M("VCardActions"), p = M("VCard"), g = M("VDialog");
13393
- return A(), F(g, {
13393
+ return A(), B(g, {
13394
13394
  modelValue: a.showDialog,
13395
13395
  "onUpdate:modelValue": e[0] || (e[0] = (b) => a.showDialog = b),
13396
13396
  width: "500",
@@ -13992,7 +13992,7 @@ function Kg(t, e, o, i, a, l) {
13992
13992
  ])) : a.layerGroup.length === 0 ? (A(), R("div", jg, [
13993
13993
  n("div", Ng, y(t.$t("tips.noData")), 1)
13994
13994
  ])) : (A(), R("div", Zg, [
13995
- (A(!0), R(Ce, null, Me(a.layerGroup, (T, B) => {
13995
+ (A(!0), R(Ce, null, Me(a.layerGroup, (T, F) => {
13996
13996
  var j;
13997
13997
  return A(), R("div", {
13998
13998
  key: T.name,
@@ -14000,23 +14000,23 @@ function Kg(t, e, o, i, a, l) {
14000
14000
  }, [
14001
14001
  n("div", Wg, [
14002
14002
  n("div", Vg, [
14003
- T.show ? (A(), F(d, {
14003
+ T.show ? (A(), B(d, {
14004
14004
  key: 0,
14005
14005
  icon: "mdi-chevron-down",
14006
14006
  onClick: (G) => T.show = !1
14007
- }, null, 8, ["onClick"])) : (A(), F(d, {
14007
+ }, null, 8, ["onClick"])) : (A(), B(d, {
14008
14008
  key: 1,
14009
14009
  icon: "mdi-chevron-right",
14010
14010
  onClick: (G) => T.show = !0
14011
14011
  }, null, 8, ["onClick"])),
14012
- a.loading ? (A(), F(p, {
14012
+ a.loading ? (A(), B(p, {
14013
14013
  key: 3,
14014
14014
  class: "mx-2",
14015
14015
  color: "primary",
14016
14016
  indeterminate: "",
14017
14017
  size: "16",
14018
14018
  width: "2"
14019
- })) : (A(), F(g, {
14019
+ })) : (A(), B(g, {
14020
14020
  key: 2,
14021
14021
  density: "compact",
14022
14022
  variant: "flat",
@@ -14145,13 +14145,13 @@ function Kg(t, e, o, i, a, l) {
14145
14145
  ]),
14146
14146
  T.show ? (A(), R("div", Hg, [
14147
14147
  (A(!0), R(Ce, null, Me((j = T.layers) == null ? void 0 : j.filter((G) => {
14148
- var Q;
14149
- return ((Q = G.name) == null ? void 0 : Q.indexOf(a.keyword)) > -1;
14148
+ var J;
14149
+ return ((J = G.name) == null ? void 0 : J.indexOf(a.keyword)) > -1;
14150
14150
  }), (G) => {
14151
- var Q;
14151
+ var J;
14152
14152
  return A(), R("div", {
14153
14153
  key: G.id,
14154
- class: ue(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((Q = a.currentLayer) == null ? void 0 : Q.id) === G.id ? "active" : ""])
14154
+ class: ue(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((J = a.currentLayer) == null ? void 0 : J.id) === G.id ? "active" : ""])
14155
14155
  }, [
14156
14156
  n("div", Yg, [
14157
14157
  n("span", Ug, y(G == null ? void 0 : G.name), 1)
@@ -14162,7 +14162,7 @@ function Kg(t, e, o, i, a, l) {
14162
14162
  density: "compact",
14163
14163
  icon: "",
14164
14164
  variant: "text",
14165
- onClick: (ie) => l.handleEditLayer(T, G)
14165
+ onClick: (ae) => l.handleEditLayer(T, G)
14166
14166
  }, {
14167
14167
  default: v(() => [
14168
14168
  w(d, {
@@ -14177,7 +14177,7 @@ function Kg(t, e, o, i, a, l) {
14177
14177
  density: "compact",
14178
14178
  icon: "",
14179
14179
  variant: "text",
14180
- onClick: (ie) => l.handleOpenDelete("layer", G)
14180
+ onClick: (ae) => l.handleOpenDelete("layer", G)
14181
14181
  }, {
14182
14182
  default: v(() => [
14183
14183
  w(d, {
@@ -14191,7 +14191,7 @@ function Kg(t, e, o, i, a, l) {
14191
14191
  ], 2);
14192
14192
  }), 128))
14193
14193
  ])) : I("", !0),
14194
- B < a.layerGroup.length - 1 ? (A(), F(x, {
14194
+ F < a.layerGroup.length - 1 ? (A(), B(x, {
14195
14195
  key: 1,
14196
14196
  class: "w-100",
14197
14197
  thickness: "1"
@@ -14200,7 +14200,7 @@ function Kg(t, e, o, i, a, l) {
14200
14200
  }), 128))
14201
14201
  ]))
14202
14202
  ], 6),
14203
- a.drawDialog ? (A(), F(C, {
14203
+ a.drawDialog ? (A(), B(C, {
14204
14204
  ref: "drawDialog",
14205
14205
  key: ((D = a.currentLayer) == null ? void 0 : D.id) || "new",
14206
14206
  map: o.map,
@@ -14213,7 +14213,7 @@ function Kg(t, e, o, i, a, l) {
14213
14213
  onSave: l.handleSaveMarker,
14214
14214
  onHideLayer: l.handleClearLayer
14215
14215
  }, null, 8, ["map", "gateway", "token", "default-meteo-token", "edit-layer", "group", "onClose", "onSave", "onHideLayer"])) : I("", !0),
14216
- a.importDialog ? (A(), F(z, {
14216
+ a.importDialog ? (A(), B(z, {
14217
14217
  key: 1,
14218
14218
  map: o.map,
14219
14219
  gateway: o.gateway,
@@ -14968,7 +14968,7 @@ async function Ol(t, e, o, i) {
14968
14968
  }
14969
14969
  }
14970
14970
  async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
14971
- var h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
14971
+ var h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be;
14972
14972
  t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
14973
14973
  let l = /* @__PURE__ */ new Map();
14974
14974
  for (let E of t) {
@@ -15092,7 +15092,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
15092
15092
  try {
15093
15093
  let se = await so(E._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
15094
15094
  if (se.ok && typeof se.data == "string")
15095
- te = se.data, (B = O.resource) == null || B.set(E._snapdomSrc, te), (j = O.font) == null || j.add(E._snapdomSrc);
15095
+ te = se.data, (F = O.resource) == null || F.set(E._snapdomSrc, te), (j = O.font) == null || j.add(E._snapdomSrc);
15096
15096
  else
15097
15097
  continue;
15098
15098
  } catch {
@@ -15113,8 +15113,8 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
15113
15113
  let te = E.weight != null ? String(E.weight) : "normal", se = E.style != null ? String(E.style) : "normal", q = E.stretchPct != null ? `${E.stretchPct}%` : "100%", Y = String(E.src || ""), le = Y;
15114
15114
  if (!le.startsWith("data:")) {
15115
15115
  if ((G = O.resource) != null && G.has(Y))
15116
- le = O.resource.get(Y), (Q = O.font) == null || Q.add(Y);
15117
- else if (!((ie = O.font) != null && ie.has(Y)))
15116
+ le = O.resource.get(Y), (J = O.font) == null || J.add(Y);
15117
+ else if (!((ae = O.font) != null && ae.has(Y)))
15118
15118
  try {
15119
15119
  let Z = await so(Y, { as: "dataURL", useProxy: a, silent: !0 });
15120
15120
  if (Z.ok && typeof Z.data == "string")
@@ -15923,23 +15923,23 @@ async function Jo(t, e, o) {
15923
15923
  r.style.width = `${h.width}px`, r.style.height = `${h.height}px`;
15924
15924
  }
15925
15925
  if (t instanceof HTMLInputElement && (r.value = t.value, r.setAttribute("value", t.value), t.checked !== void 0 && (r.checked = t.checked, t.checked && r.setAttribute("checked", ""), t.indeterminate && (r.indeterminate = t.indeterminate))), t instanceof HTMLSelectElement && (a = t.value), t instanceof HTMLTextAreaElement && (l = t.value), wo(t, r, e, o), t.shadowRoot) {
15926
- let h = function(T, B) {
15926
+ let h = function(T, F) {
15927
15927
  if (T.nodeType === Node.ELEMENT_NODE && T.tagName === "STYLE")
15928
- return B(null);
15928
+ return F(null);
15929
15929
  Jo(T, e, o).then((j) => {
15930
- B(j || null);
15930
+ F(j || null);
15931
15931
  }).catch(() => {
15932
- B(null);
15932
+ F(null);
15933
15933
  });
15934
15934
  };
15935
15935
  try {
15936
15936
  let T = t.shadowRoot.querySelectorAll("slot");
15937
- for (let B of T) {
15937
+ for (let F of T) {
15938
15938
  let j = [];
15939
15939
  try {
15940
- j = ((p = B.assignedNodes) == null ? void 0 : p.call(B, { flatten: !0 })) || ((g = B.assignedNodes) == null ? void 0 : g.call(B)) || [];
15940
+ j = ((p = F.assignedNodes) == null ? void 0 : p.call(F, { flatten: !0 })) || ((g = F.assignedNodes) == null ? void 0 : g.call(F)) || [];
15941
15941
  } catch {
15942
- j = ((b = B.assignedNodes) == null ? void 0 : b.call(B)) || [];
15942
+ j = ((b = F.assignedNodes) == null ? void 0 : b.call(F)) || [];
15943
15943
  }
15944
15944
  for (let G of j)
15945
15945
  i.add(G);
@@ -16053,8 +16053,8 @@ function zf(t) {
16053
16053
  continue;
16054
16054
  let T = b.get(_);
16055
16055
  if (T && T.length) {
16056
- let B = T.slice();
16057
- B.push(D), h.set(_, B);
16056
+ let F = T.slice();
16057
+ F.push(D), h.set(_, F);
16058
16058
  } else
16059
16059
  h.set(_, [D]);
16060
16060
  }
@@ -16075,8 +16075,8 @@ function zf(t) {
16075
16075
  if (getComputedStyle(u).display === "list-item" && l(u)) {
16076
16076
  let z = u.parentElement, P = 1;
16077
16077
  if (z && z.tagName === "OL") {
16078
- let D = z.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, B = r(u), j = u.getAttribute("value");
16079
- P = Number.isFinite(Number(j)) ? Number(j) : T + B;
16078
+ let D = z.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, F = r(u), j = u.getAttribute("value");
16079
+ P = Number.isFinite(Number(j)) ? Number(j) : T + F;
16080
16080
  } else
16081
16081
  P = 1 + r(u);
16082
16082
  let _ = h.get("list-item") || [];
@@ -16339,8 +16339,8 @@ async function Kl(t, e, o, i) {
16339
16339
  e.replaceChild(he, Y), e.insertBefore(fe, he);
16340
16340
  continue;
16341
16341
  }
16342
- let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r), x = b.backgroundImage, C = b.backgroundColor, z = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, B = parseFloat(b.borderWidth), j = b.transform, G = co(z), Q = !h && f !== "", ie = x && x !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", ve = T && T !== "none" && B > 0, be = j && j !== "none";
16343
- if (!(Q || ie || re || ve || be)) {
16342
+ let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r), x = b.backgroundImage, C = b.backgroundColor, z = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, F = parseFloat(b.borderWidth), j = b.transform, G = co(z), J = !h && f !== "", ae = x && x !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", ve = T && T !== "none" && F > 0, be = j && j !== "none";
16343
+ if (!(J || ae || re || ve || be)) {
16344
16344
  if (L && L.length && t.parentElement) {
16345
16345
  let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map();
16346
16346
  for (let { name: Y } of L) {
@@ -16369,13 +16369,13 @@ async function Kl(t, e, o, i) {
16369
16369
  console.error(`[snapdom] Error in pseudo ${g} for`, t, Y);
16370
16370
  }
16371
16371
  } else
16372
- !G && Q && (E.textContent = f);
16372
+ !G && J && (E.textContent = f);
16373
16373
  E.style.backgroundImage = "none", "maskImage" in E.style && (E.style.maskImage = "none"), "webkitMaskImage" in E.style && (E.style.webkitMaskImage = "none");
16374
16374
  try {
16375
16375
  E.style.backgroundRepeat = b.backgroundRepeat, E.style.backgroundSize = b.backgroundSize, b.backgroundPositionX && b.backgroundPositionY ? (E.style.backgroundPositionX = b.backgroundPositionX, E.style.backgroundPositionY = b.backgroundPositionY) : E.style.backgroundPosition = b.backgroundPosition, E.style.backgroundOrigin = b.backgroundOrigin, E.style.backgroundClip = b.backgroundClip, E.style.backgroundAttachment = b.backgroundAttachment, E.style.backgroundBlendMode = b.backgroundBlendMode;
16376
16376
  } catch {
16377
16377
  }
16378
- if (ie)
16378
+ if (ae)
16379
16379
  try {
16380
16380
  let q = Nl(x), Y = await Promise.all(q.map(Fl));
16381
16381
  E.style.backgroundImage = Y.join(", ");
@@ -16383,7 +16383,7 @@ async function Kl(t, e, o, i) {
16383
16383
  console.warn(`[snapdom] Failed to inline background-image for ${g}`, q);
16384
16384
  }
16385
16385
  re && (E.style.backgroundColor = C);
16386
- let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ie || re || ve || be;
16386
+ let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ae || re || ve || be;
16387
16387
  if (L && L.length && t.parentElement) {
16388
16388
  let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map(), Y = ca(t, r), le = ma(t, getComputedStyle(t, g), Y);
16389
16389
  for (let { name: Z } of L) {
@@ -16420,8 +16420,8 @@ function Tf(t, e) {
16420
16420
  let T = _.attributes;
16421
16421
  if (!T)
16422
16422
  return null;
16423
- for (let B = 0; B < T.length; B++) {
16424
- let j = T[B];
16423
+ for (let F = 0; F < T.length; F++) {
16424
+ let j = T[F];
16425
16425
  if (!j || !j.name)
16426
16426
  continue;
16427
16427
  if (j.name === "href")
@@ -16438,13 +16438,13 @@ function Tf(t, e) {
16438
16438
  let T;
16439
16439
  for (; T = l.exec(_); ) {
16440
16440
  g = !0;
16441
- let B = (T[1] || "").trim();
16442
- B && (m.has(B) || (p.add(B), D && !D.has(B) && D.add(B)));
16441
+ let F = (T[1] || "").trim();
16442
+ F && (m.has(F) || (p.add(F), D && !D.has(F) && D.add(F)));
16443
16443
  }
16444
16444
  }, u = (_) => {
16445
16445
  let D = _.querySelectorAll("use");
16446
- for (let B of D) {
16447
- let j = d(B);
16446
+ for (let F of D) {
16447
+ let j = d(F);
16448
16448
  if (!j || !j.startsWith("#"))
16449
16449
  continue;
16450
16450
  g = !0;
@@ -16452,10 +16452,10 @@ function Tf(t, e) {
16452
16452
  G && !m.has(G) && p.add(G);
16453
16453
  }
16454
16454
  let T = _.querySelectorAll('*[style*="url("],*[fill^="url("], *[stroke^="url("],*[filter^="url("],*[clip-path^="url("],*[mask^="url("],*[marker^="url("],*[marker-start^="url("],*[marker-mid^="url("],*[marker-end^="url("]');
16455
- for (let B of T) {
16456
- b(B.getAttribute("style") || "");
16455
+ for (let F of T) {
16456
+ b(F.getAttribute("style") || "");
16457
16457
  for (let j of r)
16458
- b(B.getAttribute(j));
16458
+ b(F.getAttribute(j));
16459
16459
  }
16460
16460
  };
16461
16461
  for (let _ of a)
@@ -16467,8 +16467,8 @@ function Tf(t, e) {
16467
16467
  let f = h.querySelector("defs") || null, L = (_) => {
16468
16468
  if (!_ || m.has(_))
16469
16469
  return null;
16470
- let D = c(_), T = (B) => {
16471
- let j = i.querySelector(B);
16470
+ let D = c(_), T = (F) => {
16471
+ let j = i.querySelector(F);
16472
16472
  return j && !t.contains(j) ? j : null;
16473
16473
  };
16474
16474
  return T(`svg defs > *#${D}`) || T(`svg > symbol#${D}`) || T(`*#${D}`);
@@ -16488,17 +16488,17 @@ function Tf(t, e) {
16488
16488
  f || (f = o.createElementNS("http://www.w3.org/2000/svg", "defs"), h.appendChild(f));
16489
16489
  let T = D.cloneNode(!0);
16490
16490
  T.id || T.setAttribute("id", _), f.appendChild(T), C.add(_), m.add(_);
16491
- let B = [T, ...T.querySelectorAll("*")];
16492
- for (let j of B) {
16491
+ let F = [T, ...T.querySelectorAll("*")];
16492
+ for (let j of F) {
16493
16493
  let G = d(j);
16494
16494
  if (G && G.startsWith("#")) {
16495
- let ie = G.slice(1).trim();
16496
- ie && !m.has(ie) && !C.has(ie) && x.add(ie);
16495
+ let ae = G.slice(1).trim();
16496
+ ae && !m.has(ae) && !C.has(ae) && x.add(ae);
16497
16497
  }
16498
- let Q = ((z = j.getAttribute) == null ? void 0 : z.call(j, "style")) || "";
16499
- Q && b(Q, x);
16500
- for (let ie of r) {
16501
- let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ie);
16498
+ let J = ((z = j.getAttribute) == null ? void 0 : z.call(j, "style")) || "";
16499
+ J && b(J, x);
16500
+ for (let ae of r) {
16501
+ let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ae);
16502
16502
  re && b(re, x);
16503
16503
  }
16504
16504
  }
@@ -17062,8 +17062,8 @@ async function ql(t, e) {
17062
17062
  let T = (Te, Re = NaN) => {
17063
17063
  let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
17064
17064
  return Number.isFinite(Ne) ? Ne : Re;
17065
- }, B = T(l.options.width), j = T(l.options.height), G = _, Q = D, ie = Number.isFinite(B), re = Number.isFinite(j), ve = D > 0 ? _ / D : 1;
17066
- ie && re ? (G = Math.max(1, me(B)), Q = Math.max(1, me(j))) : ie ? (G = Math.max(1, me(B)), Q = Math.max(1, me(G / (ve || 1)))) : re ? (Q = Math.max(1, me(j)), G = Math.max(1, me(Q * (ve || 1)))) : (G = _, Q = D);
17065
+ }, F = T(l.options.width), j = T(l.options.height), G = _, J = D, ae = Number.isFinite(F), re = Number.isFinite(j), ve = D > 0 ? _ / D : 1;
17066
+ ae && re ? (G = Math.max(1, me(F)), J = Math.max(1, me(j))) : ae ? (G = Math.max(1, me(F)), J = Math.max(1, me(G / (ve || 1)))) : re ? (J = Math.max(1, me(j)), G = Math.max(1, me(J * (ve || 1)))) : (G = _, J = D);
17067
17067
  let be = 0, E = 0, $ = _, te = D;
17068
17068
  if (!i && b && Number.isFinite(b.a)) {
17069
17069
  let Te = { a: b.a, b: b.b || 0, c: b.c || 0, d: b.d || 1, e: 0, f: 0 }, Re = Dl(_, D, Te, 0, 0);
@@ -17074,14 +17074,14 @@ async function ql(t, e) {
17074
17074
  }
17075
17075
  let se = o1(z), q = a1(z), Y = i1(z), le = l1(z), Z = a ? { top: me(se.top + q.top + Y.top + le.bleed.top), right: me(se.right + q.right + Y.right + le.bleed.right), bottom: me(se.bottom + q.bottom + Y.bottom + le.bleed.bottom), left: me(se.left + q.left + Y.left + le.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17076
17076
  be = me(be - Z.left), E = me(E - Z.top), $ = me($ + Z.right), te = me(te + Z.bottom);
17077
- let U = Math.max(1, me($ - be)), fe = Math.max(1, me(te - E)), Le = ie || re ? me(G / _) : 1, ze = re || ie ? me(Q / D) : 1, he = Math.max(1, me(U * Le)), Ae = Math.max(1, me(fe * ze)), ee = "http://www.w3.org/2000/svg", we = Bo() ? 1 : 0, Ee = me(we + (i ? 0 : 1)), Ge = document.createElementNS(ee, "foreignObject"), $e = me(be), et = me(E);
17077
+ let U = Math.max(1, me($ - be)), fe = Math.max(1, me(te - E)), Le = ae || re ? me(G / _) : 1, ze = re || ae ? me(J / D) : 1, he = Math.max(1, me(U * Le)), Ae = Math.max(1, me(fe * ze)), ee = "http://www.w3.org/2000/svg", we = Bo() ? 1 : 0, Ee = me(we + (i ? 0 : 1)), Ge = document.createElementNS(ee, "foreignObject"), $e = me(be), et = me(E);
17078
17078
  Ge.setAttribute("x", String(me(-($e - Ee)))), Ge.setAttribute("y", String(me(-(et - Ee)))), Ge.setAttribute("width", String(me(_ + Ee * 2))), Ge.setAttribute("height", String(me(D + Ee * 2))), Ge.style.overflow = "visible";
17079
17079
  let Je = document.createElement("style");
17080
17080
  Je.textContent = l.baseCSS + l.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + l.classCSS, Ge.appendChild(Je);
17081
17081
  let je = document.createElement("div");
17082
17082
  je.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.style.width = `${me(_)}px`, je.style.height = `${me(D)}px`, je.style.overflow = "visible", l.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.appendChild(l.clone), Ge.appendChild(je);
17083
- let tt = new XMLSerializer().serializeToString(Ge), Oe = me(U + Ee * 2), He = me(fe + Ee * 2), Ke = ie || re;
17084
- e.meta = { w0: _, h0: D, vbW: Oe, vbH: He, targetW: G, targetH: Q };
17083
+ let tt = new XMLSerializer().serializeToString(Ge), Oe = me(U + Ee * 2), He = me(fe + Ee * 2), Ke = ae || re;
17084
+ e.meta = { w0: _, h0: D, vbW: Oe, vbH: He, targetW: G, targetH: J };
17085
17085
  let ot = Bo() && Ke ? Oe : me(he + Ee * 2), at = Bo() && Ke ? He : me(Ae + Ee * 2);
17086
17086
  g = `<svg xmlns="${ee}" width="${ot}" height="${at}" viewBox="0 0 ${Oe} ${He}">` + tt + "</svg>", p = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(g)}`, l = { svgString: g, dataURL: p, ...l }, C();
17087
17087
  }, { fast: o });
@@ -17126,52 +17126,52 @@ Se.capture = async (t, e, o) => {
17126
17126
  if (o !== $l)
17127
17127
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17128
17128
  let i = await ql(t, e), a = { img: async (u, h) => {
17129
- let { toImg: f } = await import("./toImg-171b933c.js");
17129
+ let { toImg: f } = await import("./toImg-f803c21f.js");
17130
17130
  return f(i, { ...u, ...h || {} });
17131
17131
  }, svg: async (u, h) => {
17132
- let { toSvg: f } = await import("./toImg-171b933c.js");
17132
+ let { toSvg: f } = await import("./toImg-f803c21f.js");
17133
17133
  return f(i, { ...u, ...h || {} });
17134
17134
  }, canvas: async (u, h) => {
17135
- let { toCanvas: f } = await import("./toCanvas-df7a24a4.js");
17135
+ let { toCanvas: f } = await import("./toCanvas-ddf1498d.js");
17136
17136
  return f(i, { ...u, ...h || {} });
17137
17137
  }, blob: async (u, h) => {
17138
- let { toBlob: f } = await import("./toBlob-a1c72402.js");
17138
+ let { toBlob: f } = await import("./toBlob-55237965.js");
17139
17139
  return f(i, { ...u, ...h || {} });
17140
17140
  }, png: async (u, h) => {
17141
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17141
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17142
17142
  return f(i, { ...u, ...h || {}, format: "png" });
17143
17143
  }, jpeg: async (u, h) => {
17144
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17144
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17145
17145
  return f(i, { ...u, ...h || {}, format: "jpeg" });
17146
17146
  }, webp: async (u, h) => {
17147
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17147
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17148
17148
  return f(i, { ...u, ...h || {}, format: "webp" });
17149
17149
  }, download: async (u, h) => {
17150
- let { download: f } = await import("./download-83864995.js");
17150
+ let { download: f } = await import("./download-03489efb.js");
17151
17151
  return f(i, { ...u, ...h || {} });
17152
17152
  } }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
17153
- let { toSvg: h } = await import("./toImg-171b933c.js");
17153
+ let { toSvg: h } = await import("./toImg-f803c21f.js");
17154
17154
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17155
17155
  }, canvas: async (u) => {
17156
- let { toCanvas: h } = await import("./toCanvas-df7a24a4.js");
17156
+ let { toCanvas: h } = await import("./toCanvas-ddf1498d.js");
17157
17157
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17158
17158
  }, png: async (u) => {
17159
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17159
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17160
17160
  return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
17161
17161
  }, jpeg: async (u) => {
17162
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17162
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17163
17163
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17164
17164
  }, jpg: async (u) => {
17165
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17165
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17166
17166
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17167
17167
  }, webp: async (u) => {
17168
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17168
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-375b4c1c.js");
17169
17169
  return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
17170
17170
  }, blob: async (u) => {
17171
- let { toBlob: h } = await import("./toBlob-a1c72402.js");
17171
+ let { toBlob: h } = await import("./toBlob-55237965.js");
17172
17172
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17173
17173
  }, img: async (u) => {
17174
- let { toImg: h } = await import("./toImg-171b933c.js");
17174
+ let { toImg: h } = await import("./toImg-f803c21f.js");
17175
17175
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17176
17176
  } } }, r = await W0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
17177
17177
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -17366,10 +17366,10 @@ class w1 {
17366
17366
  if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, L, x, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m), this.logoImage && this.logoLoaded) {
17367
17367
  const P = Math.max(this.captureRect.height / 8, 40), _ = this.logoImage.naturalWidth / this.logoImage.naturalHeight;
17368
17368
  let D = P, T = D * _;
17369
- const B = this.captureRect.width / 4;
17370
- T > B && (T = B, D = T / _);
17371
- const j = this.captureRect.width - T - 12, G = p, Q = this.ctx.imageSmoothingEnabled, ie = this.ctx.imageSmoothingQuality;
17372
- this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, j, G, T, D), this.ctx.imageSmoothingEnabled = Q, this.ctx.imageSmoothingQuality = ie;
17369
+ const F = this.captureRect.width / 4;
17370
+ T > F && (T = F, D = T / _);
17371
+ const j = this.captureRect.width - T - 12, G = p, J = this.ctx.imageSmoothingEnabled, ae = this.ctx.imageSmoothingQuality;
17372
+ this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, j, G, T, D), this.ctx.imageSmoothingEnabled = J, this.ctx.imageSmoothingQuality = ae;
17373
17373
  }
17374
17374
  const C = this.ctx.getImageData(0, 0, this.captureRect.width * i, this.captureRect.height * i);
17375
17375
  this.frames.push(C), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
@@ -17940,7 +17940,7 @@ function N1(t, e, o, i, a, l) {
17940
17940
  default: v(() => [
17941
17941
  w(m, { class: "pa-1" }, {
17942
17942
  default: v(() => [
17943
- (A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(), F(d, {
17943
+ (A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(), B(d, {
17944
17944
  key: f,
17945
17945
  value: h,
17946
17946
  variant: a.intervalHour === h ? "tonal" : "text",
@@ -17987,7 +17987,7 @@ function N1(t, e, o, i, a, l) {
17987
17987
  "open-on-click": !1
17988
17988
  }, {
17989
17989
  activator: v(({ props: h }) => [
17990
- a.gifEnabled ? (A(), F(g, V({
17990
+ a.gifEnabled ? (A(), B(g, V({
17991
17991
  key: 1,
17992
17992
  disabled: a.frameCount < 1
17993
17993
  }, h, {
@@ -18002,7 +18002,7 @@ function N1(t, e, o, i, a, l) {
18002
18002
  ])),
18003
18003
  _: 2,
18004
18004
  __: [15]
18005
- }, 1040, ["disabled"])) : (A(), F(g, V({ key: 0 }, h, {
18005
+ }, 1040, ["disabled"])) : (A(), B(g, V({ key: 0 }, h, {
18006
18006
  icon: "",
18007
18007
  size: "small",
18008
18008
  density: "comfortable",
@@ -18071,7 +18071,7 @@ function N1(t, e, o, i, a, l) {
18071
18071
  "open-on-click": !1
18072
18072
  }, {
18073
18073
  activator: v(({ props: h }) => [
18074
- a.paused ? (A(), F(g, V({ key: 0 }, h, {
18074
+ a.paused ? (A(), B(g, V({ key: 0 }, h, {
18075
18075
  icon: "",
18076
18076
  size: "small",
18077
18077
  density: "comfortable",
@@ -18094,7 +18094,7 @@ function N1(t, e, o, i, a, l) {
18094
18094
  "open-on-click": !1
18095
18095
  }, {
18096
18096
  activator: v(({ props: h }) => [
18097
- a.paused ? I("", !0) : (A(), F(g, V({ key: 0 }, h, {
18097
+ a.paused ? I("", !0) : (A(), B(g, V({ key: 0 }, h, {
18098
18098
  icon: "",
18099
18099
  size: "small",
18100
18100
  density: "comfortable",
@@ -18477,7 +18477,7 @@ function X1(t, e, o, i, a, l) {
18477
18477
  _: 1,
18478
18478
  __: [6]
18479
18479
  }, 8, ["onClick"]),
18480
- a.paused ? (A(), F(r, {
18480
+ a.paused ? (A(), B(r, {
18481
18481
  key: 0,
18482
18482
  size: "small",
18483
18483
  density: "compact",
@@ -18492,7 +18492,7 @@ function X1(t, e, o, i, a, l) {
18492
18492
  ])),
18493
18493
  _: 1,
18494
18494
  __: [7]
18495
- }, 8, ["onClick"])) : (A(), F(r, {
18495
+ }, 8, ["onClick"])) : (A(), B(r, {
18496
18496
  key: 1,
18497
18497
  size: "small",
18498
18498
  density: "compact",
@@ -18796,7 +18796,7 @@ function cy(t, e, o, i, a, l) {
18796
18796
  "open-on-click": !1
18797
18797
  }, {
18798
18798
  activator: v(({ props: u }) => [
18799
- a.gifEnabled ? (A(), F(c, V({
18799
+ a.gifEnabled ? (A(), B(c, V({
18800
18800
  key: 1,
18801
18801
  disabled: a.frameCount < 1
18802
18802
  }, u, {
@@ -18811,7 +18811,7 @@ function cy(t, e, o, i, a, l) {
18811
18811
  ])),
18812
18812
  _: 2,
18813
18813
  __: [15]
18814
- }, 1040, ["disabled"])) : (A(), F(c, V({ key: 0 }, u, {
18814
+ }, 1040, ["disabled"])) : (A(), B(c, V({ key: 0 }, u, {
18815
18815
  icon: "",
18816
18816
  size: "small",
18817
18817
  density: "comfortable",
@@ -18880,7 +18880,7 @@ function cy(t, e, o, i, a, l) {
18880
18880
  "open-on-click": !1
18881
18881
  }, {
18882
18882
  activator: v(({ props: u }) => [
18883
- a.paused ? (A(), F(c, V({ key: 0 }, u, {
18883
+ a.paused ? (A(), B(c, V({ key: 0 }, u, {
18884
18884
  icon: "",
18885
18885
  size: "small",
18886
18886
  density: "comfortable",
@@ -18903,7 +18903,7 @@ function cy(t, e, o, i, a, l) {
18903
18903
  "open-on-click": !1
18904
18904
  }, {
18905
18905
  activator: v(({ props: u }) => [
18906
- a.paused ? I("", !0) : (A(), F(c, V({ key: 0 }, u, {
18906
+ a.paused ? I("", !0) : (A(), B(c, V({ key: 0 }, u, {
18907
18907
  icon: "",
18908
18908
  size: "small",
18909
18909
  density: "comfortable",
@@ -18960,7 +18960,7 @@ function cy(t, e, o, i, a, l) {
18960
18960
  default: v(() => [
18961
18961
  w(g, { class: "pa-1" }, {
18962
18962
  default: v(() => [
18963
- (A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(), F(p, {
18963
+ (A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(), B(p, {
18964
18964
  key: h,
18965
18965
  value: u,
18966
18966
  variant: a.intervalHour === u ? "tonal" : "text",
@@ -19257,14 +19257,20 @@ const my = /* @__PURE__ */ ne(O1, [["render", cy]]), dy = {
19257
19257
  handler() {
19258
19258
  var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _;
19259
19259
  if (this.map) {
19260
- const D = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((Q) => Q === G)), T = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((Q) => Q === G)), B = this.otherCheckList.some((G) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((Q) => Q === G)), j = T || B;
19260
+ const D = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((J) => J === G)), T = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((J) => J === G));
19261
+ let F = !1;
19261
19262
  if (this.mapFeather === "nautical" || this.mapFeather === "satellite") {
19262
19263
  const G = localStorage.getItem("nauticalLayerCacheGL4") === "hi" ? "hi" : "i4";
19263
- D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (l = this.map) != null && l.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (r = this.map) != null && r.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", G === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", G === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none"));
19264
- }
19265
- j ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (L = this.map) != null && L.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((x = this.map) != null && x.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((z = this.map) != null && z.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
19266
- var G, Q;
19267
- (G = this.map) != null && G.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (Q = this.map) != null && Q.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
19264
+ D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (l = this.map) != null && l.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (r = this.map) != null && r.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", G === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", G === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")), F = this.otherCheckList.some((J) => ["navareas", "load-lines", "voluntary-reporting-area", "war-zones", "gmdss-areas", "special-area", "ice-areas"].some(
19265
+ (ae) => ae === J
19266
+ ));
19267
+ } else
19268
+ F = this.otherCheckList.some((G) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "gmdss-areas", "special-area", "ice-areas"].some(
19269
+ (J) => J === G
19270
+ ));
19271
+ T || F ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (L = this.map) != null && L.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((x = this.map) != null && x.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((z = this.map) != null && z.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
19272
+ var G, J;
19273
+ (G = this.map) != null && G.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (J = this.map) != null && J.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
19268
19274
  }, 1e3)) : (_ = this.map) != null && _.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2");
19269
19275
  }
19270
19276
  }
@@ -19347,7 +19353,7 @@ function uy(t, e, o, i, a, l) {
19347
19353
  map: o.map,
19348
19354
  "map-feather": o.mapFeather
19349
19355
  }, t.$attrs), null, 16, ["simple", "map", "map-feather"]),
19350
- o.simple ? I("", !0) : (A(), F(p, V({
19356
+ o.simple ? I("", !0) : (A(), B(p, V({
19351
19357
  key: 0,
19352
19358
  simple: o.simple,
19353
19359
  map: o.map,
@@ -19356,7 +19362,7 @@ function uy(t, e, o, i, a, l) {
19356
19362
  "default-meteo-token": a.defaultMeteoToken,
19357
19363
  token: o.token
19358
19364
  }, t.$attrs), null, 16, ["simple", "map", "map-feather", "gateway", "default-meteo-token", "token"])),
19359
- !o.simple && !o.showTimeline ? (A(), F(g, V({
19365
+ !o.simple && !o.showTimeline ? (A(), B(g, V({
19360
19366
  key: 1,
19361
19367
  ref: "idmBottomBar",
19362
19368
  "forecast-model": o.forecastModel,
@@ -19366,7 +19372,7 @@ function uy(t, e, o, i, a, l) {
19366
19372
  "default-meteo-token": a.defaultMeteoToken,
19367
19373
  token: o.token
19368
19374
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])) : I("", !0),
19369
- !o.simple && o.showTimeline ? (A(), F(b, V({
19375
+ !o.simple && o.showTimeline ? (A(), B(b, V({
19370
19376
  key: 2,
19371
19377
  ref: "idmBottomBar",
19372
19378
  "forecast-model": o.forecastModel,
@@ -19376,7 +19382,7 @@ function uy(t, e, o, i, a, l) {
19376
19382
  "default-meteo-token": a.defaultMeteoToken,
19377
19383
  token: o.token
19378
19384
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])) : I("", !0),
19379
- o.simple ? (A(), F(u, V({
19385
+ o.simple ? (A(), B(u, V({
19380
19386
  key: 3,
19381
19387
  ref: "idmBottomBar",
19382
19388
  "player-bottom": a.playerBottom,
@@ -19396,7 +19402,7 @@ class gy {
19396
19402
  ke(this, "hi");
19397
19403
  ke(this, "td");
19398
19404
  ke(this, "windy");
19399
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, va, xa, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Ga, Fa, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, vi, xi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Gi, Fi, Bi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, el, tl, ol, al, il, ll, rl, nl, sl, cl, ml, dl;
19405
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, F, j, G, J, ae, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ie, oe, ct, qe, We, K, lo, ce, Be, mt, ft, yt, X, dt, Q, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, va, xa, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Ga, Fa, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, vi, xi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Gi, Fi, Bi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, el, tl, ol, al, il, ll, rl, nl, sl, cl, ml, dl;
19400
19406
  this.i4 = {
19401
19407
  source: {
19402
19408
  type: "raster",
@@ -20812,7 +20818,7 @@ class gy {
20812
20818
  id: "china-route-line",
20813
20819
  type: "line",
20814
20820
  paint: {
20815
- "line-color": "rgba(119, 239, 157, 1)",
20821
+ "line-color": "rgba(40, 175, 81, 1)",
20816
20822
  "line-width": 2
20817
20823
  },
20818
20824
  source: "composite",
@@ -20825,7 +20831,7 @@ class gy {
20825
20831
  id: "china-route-fill",
20826
20832
  type: "fill",
20827
20833
  paint: {
20828
- "fill-color": "rgba(119, 239, 157, 1)",
20834
+ "fill-color": "rgba(40, 175, 81, 1)",
20829
20835
  "fill-opacity": 0.2
20830
20836
  },
20831
20837
  source: "composite",
@@ -20870,7 +20876,7 @@ class gy {
20870
20876
  maxzoom: 22,
20871
20877
  type: "line",
20872
20878
  paint: {
20873
- "line-color": "rgba(167, 211, 208, 0.7)"
20879
+ "line-color": "rgba(152, 187, 185, 1)"
20874
20880
  },
20875
20881
  layout: {
20876
20882
  visibility: "none"
@@ -37869,7 +37875,7 @@ class gy {
37869
37875
  id: "china-route-line",
37870
37876
  type: "line",
37871
37877
  paint: {
37872
- "line-color": "rgba(119, 239, 157, 1)",
37878
+ "line-color": "rgba(40, 175, 81, 1)",
37873
37879
  "line-width": 2
37874
37880
  },
37875
37881
  layout: {
@@ -37882,7 +37888,7 @@ class gy {
37882
37888
  id: "china-route-fill",
37883
37889
  type: "fill",
37884
37890
  paint: {
37885
- "fill-color": "rgba(119, 239, 157, 1)",
37891
+ "fill-color": "rgba(40, 175, 81, 1)",
37886
37892
  "fill-opacity": 0.2
37887
37893
  },
37888
37894
  layout: {
@@ -38037,9 +38043,9 @@ class gy {
38037
38043
  (z = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : z.find((k) => k.id === "country-boundaries"),
38038
38044
  (_ = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : _.find((k) => k.id === "water-outline"),
38039
38045
  (T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((k) => k.id === "water-outline2"),
38040
- (j = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : j.find((k) => k.id === "empty-layer-2"),
38041
- (Q = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : Q.find((k) => k.id === "water-line-label"),
38042
- (re = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : re.find((k) => k.id === "water-point-label"),
38046
+ (j = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : j.find((k) => k.id === "empty-layer-2"),
38047
+ (J = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : J.find((k) => k.id === "water-line-label"),
38048
+ (re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((k) => k.id === "water-point-label"),
38043
38049
  (be = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : be.find((k) => k.id === "world-12nm-v4-20231025"),
38044
38050
  ($ = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : $.find((k) => k.id === "nsr-flll"),
38045
38051
  (se = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : se.find((k) => k.id === "nsr-line"),
@@ -38105,9 +38111,9 @@ class gy {
38105
38111
  (gt = (io = this.originStyle) == null ? void 0 : io.dark.layers) == null ? void 0 : gt.find((k) => k.id === "china-route-label"),
38106
38112
  (st = (De = this.originStyle) == null ? void 0 : De.dark.layers) == null ? void 0 : st.find((k) => k.id === "admin-0-boundary-bg"),
38107
38113
  (Fe = (de = this.originStyle) == null ? void 0 : de.dark.layers) == null ? void 0 : Fe.find((k) => k.id === "admin-0-boundary"),
38108
- (oe = (ae = this.originStyle) == null ? void 0 : ae.dark.layers) == null ? void 0 : oe.find((k) => k.id === "admin-0-boundary-disputed"),
38114
+ (oe = (ie = this.originStyle) == null ? void 0 : ie.dark.layers) == null ? void 0 : oe.find((k) => k.id === "admin-0-boundary-disputed"),
38109
38115
  (qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((k) => k.id === "country-label"),
38110
- (J = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : J.find((k) => k.id === "continent-label"),
38116
+ (K = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : K.find((k) => k.id === "continent-label"),
38111
38117
  (ce = (lo = this.originStyle) == null ? void 0 : lo.dark.layers) == null ? void 0 : ce.find((k) => k.id === "tide-stations"),
38112
38118
  (mt = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : mt.find((k) => k.id === "empty-layer-3"),
38113
38119
  (yt = (ft = this.originStyle) == null ? void 0 : ft.dark.layers) == null ? void 0 : yt.find((k) => k.id === "empty-layer-4")
@@ -38120,7 +38126,7 @@ class gy {
38120
38126
  center: [55.13, 25.12],
38121
38127
  zoom: 12,
38122
38128
  fog: (dt = this.originStyle) == null ? void 0 : dt.satellite.fog,
38123
- imports: (K = this.originStyle) == null ? void 0 : K.satellite.imports,
38129
+ imports: (Q = this.originStyle) == null ? void 0 : Q.satellite.imports,
38124
38130
  sources: (ht = this.originStyle) == null ? void 0 : ht.satellite.sources,
38125
38131
  sprite: (no = this.originStyle) == null ? void 0 : no.satellite.sprite,
38126
38132
  glyphs: (pe = this.originStyle) == null ? void 0 : pe.satellite.glyphs,
@@ -38444,7 +38450,7 @@ function xy(t, e, o, i, a, l) {
38444
38450
  group: ""
38445
38451
  }, {
38446
38452
  default: v(() => [
38447
- (A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(), F(r, {
38453
+ (A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(), B(r, {
38448
38454
  key: s,
38449
38455
  value: s,
38450
38456
  "min-width": "32",
@@ -38733,7 +38739,7 @@ function Py(t, e, o, i, a, l) {
38733
38739
  onClick: e[0] || (e[0] = (...b) => l.handleOpenDatePicker && l.handleOpenDatePicker(...b))
38734
38740
  }, [
38735
38741
  n("span", zy, y(a.dateRangeStr), 1),
38736
- a.dateRangeStr ? (A(), F(r, {
38742
+ a.dateRangeStr ? (A(), B(r, {
38737
38743
  key: 0,
38738
38744
  class: "text-h5",
38739
38745
  icon: "mdi-close-circle",
@@ -38741,7 +38747,7 @@ function Py(t, e, o, i, a, l) {
38741
38747
  onClick: _e(l.handleClearDate, ["stop"])
38742
38748
  }, null, 8, ["onClick"])) : I("", !0)
38743
38749
  ], 4),
38744
- a.showDatePicker ? (A(), F(g, {
38750
+ a.showDatePicker ? (A(), B(g, {
38745
38751
  key: 0,
38746
38752
  class: "card-box d-flex flex-column border elevation-12",
38747
38753
  style: ge(l.getStyle)
@@ -38797,7 +38803,7 @@ function Py(t, e, o, i, a, l) {
38797
38803
  var b, u;
38798
38804
  return [
38799
38805
  (b = o.fastPick) != null && b.show ? (A(), R("div", Cy, [
38800
- (A(!0), R(Ce, null, Me((u = a.fastPickOptions) == null ? void 0 : u.filter((h) => o.fastPick.allows.some((f) => f === h)), (h) => (A(), F(m, {
38806
+ (A(!0), R(Ce, null, Me((u = a.fastPickOptions) == null ? void 0 : u.filter((h) => o.fastPick.allows.some((f) => f === h)), (h) => (A(), B(m, {
38801
38807
  key: h,
38802
38808
  size: "small",
38803
38809
  color: a.activeFastPick === h ? "primary" : "",