@idmwx/idmui-gl4 2.7.0 → 2.7.2

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.
@@ -1,7 +1,7 @@
1
1
  var kr = Object.defineProperty;
2
2
  var _r = (e, t, a) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var we = (e, t, a) => (_r(e, typeof t != "symbol" ? t + "" : t, a), a);
4
- import je from "axios";
4
+ import Xe from "axios";
5
5
  import { useTheme as Fe } from "vuetify";
6
6
  import { openBlock as k, createElementBlock as D, resolveComponent as I, createBlock as Z, normalizeClass as _e, withCtx as L, createVNode as C, withModifiers as Se, createElementVNode as n, createCommentVNode as W, toDisplayString as b, createTextVNode as ee, Fragment as Ie, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
7
7
  import Ae from "mapbox-gl";
@@ -10,7 +10,7 @@ import { LngLatHelper as me, TropicalHelper as Ii, LaneHelper as Je } from "@idm
10
10
  import { Meteo2Assist as Ea, TidesAssist as er } from "@idm-plugin/meteo";
11
11
  import * as $a from "echarts";
12
12
  import * as ie from "@turf/turf";
13
- import { LayerHelper as ja, CompanyHelper as zr } from "@idm-plugin/tag2";
13
+ import { LayerHelper as Xa, CompanyHelper as zr } from "@idm-plugin/tag2";
14
14
  import Lr from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as Pr } from "@idm-plugin/tag";
16
16
  import { AliOssSTSClient as Cr } from "@idm-plugin/aliclient";
@@ -1489,7 +1489,7 @@ const Or = {
1489
1489
  weatherModels: e,
1490
1490
  marineModels: t
1491
1491
  };
1492
- await je.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, a, {
1492
+ await Xe.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, a, {
1493
1493
  headers: {
1494
1494
  Authorization: this.token || this.defaultMeteoToken
1495
1495
  }
@@ -1513,10 +1513,10 @@ const Or = {
1513
1513
  { label: "Swell", key: "weather.swell", unit: "m" },
1514
1514
  { label: "Current", key: "weather.current", unit: "kts" }
1515
1515
  ], (a = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
1516
- var c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, X, j, $, G, re, ge, xe, ke;
1516
+ var c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, j, X, $, G, re, ge, xe, ke;
1517
1517
  let r = {};
1518
1518
  const l = ((c = Ea.pickHourly(e, T(i))) == null ? void 0 : c[0]) || {};
1519
- r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((h = l == null ? void 0 : l.weather) == null ? void 0 : h.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (N = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : N.direction, r.sigwavePeriod = this.computeRoundPrecision((E = (O = l == null ? void 0 : l.wave) == null ? void 0 : O.sig) == null ? void 0 : E.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (te = l == null ? void 0 : l.wave) == null ? void 0 : te.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (A = l == null ? void 0 : l.wave) == null ? void 0 : A.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ae = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : ae.height, 1) ?? "-", r.swellDir = (j = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.swell) == null ? void 0 : j.direction, r.swellPeriod = this.computeRoundPrecision((G = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : G.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((re = l == null ? void 0 : l.current) == null ? void 0 : re.speed, 1) ?? "-", r.currentDir = (ge = l == null ? void 0 : l.current) == null ? void 0 : ge.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ke = l == null ? void 0 : l.weather) == null ? void 0 : ke.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1519
+ r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((h = l == null ? void 0 : l.weather) == null ? void 0 : h.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (N = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : N.direction, r.sigwavePeriod = this.computeRoundPrecision((E = (O = l == null ? void 0 : l.wave) == null ? void 0 : O.sig) == null ? void 0 : E.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (te = l == null ? void 0 : l.wave) == null ? void 0 : te.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (A = l == null ? void 0 : l.wave) == null ? void 0 : A.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ae = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : ae.height, 1) ?? "-", r.swellDir = (X = (j = l == null ? void 0 : l.wave) == null ? void 0 : j.swell) == null ? void 0 : X.direction, r.swellPeriod = this.computeRoundPrecision((G = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : G.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((re = l == null ? void 0 : l.current) == null ? void 0 : re.speed, 1) ?? "-", r.currentDir = (ge = l == null ? void 0 : l.current) == null ? void 0 : ge.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ke = l == null ? void 0 : l.weather) == null ? void 0 : ke.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1520
1520
  });
1521
1521
  },
1522
1522
  handleTide() {
@@ -1539,7 +1539,7 @@ const Or = {
1539
1539
  forecastDays: 5,
1540
1540
  extremes: !0,
1541
1541
  heights: !0
1542
- }, t = await je.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, e, {
1542
+ }, t = await Xe.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, e, {
1543
1543
  headers: {
1544
1544
  Authorization: this.token
1545
1545
  }
@@ -1672,7 +1672,7 @@ const Or = {
1672
1672
  e == null || e.setOption(t);
1673
1673
  }
1674
1674
  }
1675
- }, Er = { class: "d-flex justify-space-between align-center" }, jr = { class: "d-flex justify-start text-h5 my-2" }, Xr = {
1675
+ }, Er = { class: "d-flex justify-space-between align-center" }, Xr = { class: "d-flex justify-start text-h5 my-2" }, jr = {
1676
1676
  key: 0,
1677
1677
  class: "d-flex justify-end align-center ga-2"
1678
1678
  }, Vr = {
@@ -1719,7 +1719,7 @@ const Or = {
1719
1719
  class: "px-1 text-center text-label font-weight-400",
1720
1720
  width: "120"
1721
1721
  }, Bl = { class: "px-1 text-center" }, Ol = { class: "px-1 text-center" }, El = { class: "px-1 text-center" };
1722
- function jl(e, t, a, i, o, r) {
1722
+ function Xl(e, t, a, i, o, r) {
1723
1723
  const l = I("VBtn"), c = I("VCardTitle"), s = I("VDivider"), h = I("VBtnToggle"), m = I("VCard");
1724
1724
  return k(), Z(m, {
1725
1725
  class: _e(["port-detail-container d-flex flex-column justify-start align-center", a.simple ? "page" : "dialog"])
@@ -1732,14 +1732,14 @@ function jl(e, t, a, i, o, r) {
1732
1732
  var f, d, u, x, v, w;
1733
1733
  return [
1734
1734
  n("div", Er, [
1735
- n("div", jr, [
1735
+ n("div", Xr, [
1736
1736
  n("div", {
1737
1737
  class: _e(["fi mr-2 rounded elevation-4", `fi-${(f = a.port) != null && f.cntLoCode ? (u = (d = a.port) == null ? void 0 : d.cntLoCode) == null ? void 0 : u.toLowerCase() : "xx"}`]),
1738
1738
  style: { width: "36px", height: "24px" }
1739
1739
  }, null, 2),
1740
1740
  n("div", null, b((x = a.port) == null ? void 0 : x.name), 1)
1741
1741
  ]),
1742
- a.simple ? (k(), D("div", Xr, [
1742
+ a.simple ? (k(), D("div", jr, [
1743
1743
  (v = a.followList) != null && v.some((_) => {
1744
1744
  var S;
1745
1745
  return ((S = _.port) == null ? void 0 : S.id) === a.portId;
@@ -2035,8 +2035,8 @@ function jl(e, t, a, i, o, r) {
2035
2035
  _: 1
2036
2036
  }, 8, ["class"]);
2037
2037
  }
2038
- const go = /* @__PURE__ */ se(Or, [["render", jl], ["__scopeId", "data-v-9181e3c3"]]);
2039
- const Xl = {
2038
+ const go = /* @__PURE__ */ se(Or, [["render", Xl], ["__scopeId", "data-v-9181e3c3"]]);
2039
+ const jl = {
2040
2040
  name: "IdmPort",
2041
2041
  components: {
2042
2042
  PortDetail: go
@@ -2181,7 +2181,7 @@ function Ul(e, t, a, i, o, r) {
2181
2181
  }, e.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : W("", !0)
2182
2182
  ]);
2183
2183
  }
2184
- const Jl = /* @__PURE__ */ se(Xl, [["render", Ul], ["__scopeId", "data-v-0c0f27d3"]]), Kl = {
2184
+ const Jl = /* @__PURE__ */ se(jl, [["render", Ul], ["__scopeId", "data-v-0c0f27d3"]]), Kl = {
2185
2185
  name: "IdmLoadLine",
2186
2186
  props: {
2187
2187
  map: {
@@ -2942,7 +2942,7 @@ const vn = {
2942
2942
  forecastDays: 5,
2943
2943
  extremes: !0,
2944
2944
  heights: !0
2945
- }, t = await je.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, e, {
2945
+ }, t = await Xe.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, e, {
2946
2946
  headers: {
2947
2947
  Authorization: this.token || this.defaultMeteoToken
2948
2948
  //
@@ -3078,10 +3078,10 @@ const vn = {
3078
3078
  }, kn = { class: "d-flex justify-space-between align-center" }, _n = { class: "d-flex justify-start text-h5 my-2" }, zn = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Ln = { class: "summary-box w-100" }, Pn = { class: "d-flex justify-space-between align-center py-2" }, Cn = { class: "d-flex justify-center align-center text-h6 ga-2" }, Mn = {
3079
3079
  class: "multi-color-icon",
3080
3080
  "aria-hidden": "true"
3081
- }, Sn = ["xlink:href"], Tn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Rn = { class: "w-100 d-flex justify-start align-center" }, In = { class: "w-30 text-label font-weight-400" }, Dn = { class: "flex-1-1-0" }, An = { class: "w-100 d-flex justify-start align-center" }, Gn = { class: "w-30 text-label font-weight-400" }, Wn = { class: "flex-1-1-0" }, Fn = { class: "w-100 d-flex justify-start align-center" }, Nn = { class: "w-30 text-label font-weight-400" }, Zn = { class: "flex-1-1-0" }, Bn = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, On = { class: "w-100 d-flex justify-space-between align-center py-2" }, En = { class: "d-flex justify-center align-center text-h6 ga-2" }, jn = {
3081
+ }, Sn = ["xlink:href"], Tn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Rn = { class: "w-100 d-flex justify-start align-center" }, In = { class: "w-30 text-label font-weight-400" }, Dn = { class: "flex-1-1-0" }, An = { class: "w-100 d-flex justify-start align-center" }, Gn = { class: "w-30 text-label font-weight-400" }, Wn = { class: "flex-1-1-0" }, Fn = { class: "w-100 d-flex justify-start align-center" }, Nn = { class: "w-30 text-label font-weight-400" }, Zn = { class: "flex-1-1-0" }, Bn = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, On = { class: "w-100 d-flex justify-space-between align-center py-2" }, En = { class: "d-flex justify-center align-center text-h6 ga-2" }, Xn = {
3082
3082
  class: "multi-color-icon",
3083
3083
  "aria-hidden": "true"
3084
- }, Xn = ["xlink:href"], Vn = {
3084
+ }, jn = ["xlink:href"], Vn = {
3085
3085
  class: "w-100",
3086
3086
  style: { height: "244px" },
3087
3087
  ref: "tideEchart"
@@ -3169,10 +3169,10 @@ function Qn(e, t, a, i, o, r) {
3169
3169
  n("div", Bn, [
3170
3170
  n("div", On, [
3171
3171
  n("div", En, [
3172
- (k(), D("svg", jn, [
3172
+ (k(), D("svg", Xn, [
3173
3173
  n("use", {
3174
3174
  "xlink:href": `#icon-title-${a.theme}`
3175
- }, null, 8, Xn)
3175
+ }, null, 8, jn)
3176
3176
  ])),
3177
3177
  n("div", null, b(e.$t("tide.tideTimes")), 1)
3178
3178
  ]),
@@ -5549,7 +5549,7 @@ const Ls = {
5549
5549
  right: 10,
5550
5550
  toggle: !1,
5551
5551
  mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "dark",
5552
- tagLayers: [...ja.OTHER_LAYERS.filter((e) => e.enabled)],
5552
+ tagLayers: [...Xa.OTHER_LAYERS.filter((e) => e.enabled)],
5553
5553
  layerWeight: 0,
5554
5554
  otherLayers: {},
5555
5555
  activeOtherLayers: [],
@@ -5637,7 +5637,7 @@ const Ls = {
5637
5637
  var t, a;
5638
5638
  let e = this.layerWeight;
5639
5639
  if (e) {
5640
- const i = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], o = await je.get(`${i}/api/arc/other/layers/links?l=${e}&t=${this.realTime}`, {
5640
+ const i = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], o = await Xe.get(`${i}/api/arc/other/layers/links?l=${e}&t=${this.realTime}`, {
5641
5641
  headers: {
5642
5642
  Authorization: this.defaultMeteoToken
5643
5643
  }
@@ -5646,7 +5646,7 @@ const Ls = {
5646
5646
  const r = (a = o == null ? void 0 : o.data) == null ? void 0 : a.data, l = [];
5647
5647
  for (const s in r)
5648
5648
  l.push(
5649
- je.get(r[s], {
5649
+ Xe.get(r[s], {
5650
5650
  headers: {
5651
5651
  Authorization: this.defaultMeteoToken,
5652
5652
  key: s
@@ -5663,7 +5663,7 @@ const Ls = {
5663
5663
  },
5664
5664
  async fetchDayNightLayer() {
5665
5665
  var a, i;
5666
- const e = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], t = await je.get(`${e}/api/arc/other/layers/links?l=1024&t=${this.realTime}`, {
5666
+ const e = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], t = await Xe.get(`${e}/api/arc/other/layers/links?l=1024&t=${this.realTime}`, {
5667
5667
  headers: {
5668
5668
  Authorization: this.defaultMeteoToken
5669
5669
  }
@@ -5693,7 +5693,7 @@ const Ls = {
5693
5693
  class: "border rounded-sm"
5694
5694
  }, Gs = { class: "text-body-2 text-center pt-2" };
5695
5695
  function Ws(e, t, a, i, o, r) {
5696
- var te, he, A, H, U, ae, X, j, $;
5696
+ var te, he, A, H, U, ae, j, X, $;
5697
5697
  const l = I("VBtn"), c = I("VTooltip"), s = I("VCardTitle"), h = I("VCardItem"), m = I("VCheckbox"), p = I("VCardText"), g = I("VCard"), y = I("IdmLatLng"), f = I("IdmTerminator"), d = I("IdmTimezone"), u = I("IdmPort"), x = I("IdmAlertZone"), v = I("IdmTideStations"), w = I("IdmEcaZone"), _ = I("IdmWarZone"), S = I("IdmGmdssArea"), z = I("IdmLoadLine"), M = I("IdmWorldMarine"), R = I("IdmVRA"), F = I("IdmSpecialArea"), N = I("IdmWorld12nm"), O = I("IdmChinaRoute"), E = I("IdmIceAreas"), J = I("IdmFollowPort"), Q = I("IdmFollowPosition");
5698
5698
  return k(), D("div", Ps, [
5699
5699
  n("div", {
@@ -5985,7 +5985,7 @@ function Ws(e, t, a, i, o, r) {
5985
5985
  a.map ? (k(), Z(S, Y({
5986
5986
  key: 8,
5987
5987
  map: a.map,
5988
- area: (X = o.otherLayers) == null ? void 0 : X["gmdss-areas"]
5988
+ area: (j = o.otherLayers) == null ? void 0 : j["gmdss-areas"]
5989
5989
  }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
5990
5990
  a.map ? (k(), Z(z, Y({
5991
5991
  key: 9,
@@ -6001,7 +6001,7 @@ function Ws(e, t, a, i, o, r) {
6001
6001
  a.map ? (k(), Z(R, Y({
6002
6002
  key: 11,
6003
6003
  map: a.map,
6004
- area: (j = o.otherLayers) == null ? void 0 : j["voluntary-reporting-area"]
6004
+ area: (X = o.otherLayers) == null ? void 0 : X["voluntary-reporting-area"]
6005
6005
  }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
6006
6006
  a.map ? (k(), Z(F, Y({
6007
6007
  key: 12,
@@ -6860,10 +6860,10 @@ const Es = {
6860
6860
  (e = this.viewport) == null || e.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
6861
6861
  }
6862
6862
  }
6863
- }, js = { key: 0 };
6864
- function Xs(e, t, a, i, o, r) {
6863
+ }, Xs = { key: 0 };
6864
+ function js(e, t, a, i, o, r) {
6865
6865
  var l;
6866
- return (l = a.factor) != null && l.active ? (k(), D("div", js, [
6866
+ return (l = a.factor) != null && l.active ? (k(), D("div", Xs, [
6867
6867
  n("div", {
6868
6868
  class: "legend-bars-gl4 wind",
6869
6869
  style: ue({ right: o.right + "px" })
@@ -6879,7 +6879,7 @@ function Xs(e, t, a, i, o, r) {
6879
6879
  ]), 4)
6880
6880
  ])) : W("", !0);
6881
6881
  }
6882
- const Vs = /* @__PURE__ */ se(Es, [["render", Xs]]), Hs = {
6882
+ const Vs = /* @__PURE__ */ se(Es, [["render", js]]), Hs = {
6883
6883
  name: "IdmCurrent",
6884
6884
  props: {
6885
6885
  map: {
@@ -8654,8 +8654,8 @@ const Oc = {
8654
8654
  toggle: !1,
8655
8655
  autoActive: !0,
8656
8656
  weatherWeight: 0,
8657
- allLayers: [...ja.WEATHER_LAYERS],
8658
- tagLayers: [...ja.WEATHER_LAYERS.filter((e) => !e.hide)],
8657
+ allLayers: [...Xa.WEATHER_LAYERS],
8658
+ tagLayers: [...Xa.WEATHER_LAYERS.filter((e) => !e.hide)],
8659
8659
  checkList: [],
8660
8660
  renderKey: "",
8661
8661
  iceToggleValue: void 0,
@@ -8860,7 +8860,7 @@ const Oc = {
8860
8860
  },
8861
8861
  async fetchModels() {
8862
8862
  this.models = {};
8863
- const e = await je.get(`${this.gateway}/api/arc/meteo2/models2`, {
8863
+ const e = await Xe.get(`${this.gateway}/api/arc/meteo2/models2`, {
8864
8864
  headers: {
8865
8865
  Authorization: this.defaultMeteoToken
8866
8866
  }
@@ -8874,7 +8874,7 @@ const Oc = {
8874
8874
  if (this.map) {
8875
8875
  const y = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), d = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
8876
8876
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
8877
- const u = ja.WEATHER_LAYERS.find((x) => {
8877
+ const u = Xa.WEATHER_LAYERS.find((x) => {
8878
8878
  var v;
8879
8879
  return ((v = x.peer) == null ? void 0 : v.weight) === this.particleFactor.weight;
8880
8880
  });
@@ -8883,7 +8883,7 @@ const Oc = {
8883
8883
  if (this.weatherWeight > 0) {
8884
8884
  let u = this.weatherWeight;
8885
8885
  if (u > 0) {
8886
- const x = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], v = await je.get(
8886
+ const x = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], v = await Xe.get(
8887
8887
  `${x}/api/arc/weather/layers2/links?l=${u}&v=${this.forecastModel}&z=${y}&bbox=${d}&t=${this.realTime}`,
8888
8888
  {
8889
8889
  headers: {
@@ -8895,7 +8895,7 @@ const Oc = {
8895
8895
  const w = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, _ = [];
8896
8896
  for (const z in w)
8897
8897
  _.push(
8898
- je.get(w[z], {
8898
+ Xe.get(w[z], {
8899
8899
  headers: {
8900
8900
  Authorization: this.defaultMeteoToken,
8901
8901
  key: z
@@ -9265,10 +9265,10 @@ const Oc = {
9265
9265
  }), a;
9266
9266
  }
9267
9267
  }
9268
- }, Ec = { class: "idm-gl4-meteo-layers" }, jc = {
9268
+ }, Ec = { class: "idm-gl4-meteo-layers" }, Xc = {
9269
9269
  key: 0,
9270
9270
  class: "legend-tip-btn-gl4"
9271
- }, Xc = { class: "d-flex flex-row justify-center align-center" }, Vc = { class: "text-caption" }, Hc = { class: "d-flex flex-row justify-center align-center" }, Yc = {
9271
+ }, jc = { class: "d-flex flex-row justify-center align-center" }, Vc = { class: "text-caption" }, Hc = { class: "d-flex flex-row justify-center align-center" }, Yc = {
9272
9272
  key: 0,
9273
9273
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
9274
9274
  }, Uc = { class: "text-caption px-2" }, Jc = { class: "d-flex flex-row justify-start align-center" }, Kc = {
@@ -9285,7 +9285,7 @@ const Oc = {
9285
9285
  class: "d-flex justify-start align-center ga-4 pl-6"
9286
9286
  }, om = { class: "text-body-1 py-2" }, im = { class: "text-body-1 font-weight-medium" }, rm = { class: "text-body-2 text-label" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label mb-3" }, sm = { class: "text-body-1 font-weight-medium" }, cm = { class: "text-body-2 text-label" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label mb-3" }, hm = { class: "text-body-1 py-2" }, um = { class: "text-body-1 font-weight-medium" }, pm = { class: "text-body-2 text-label" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label mb-3" }, ym = { class: "text-body-1 font-weight-medium" }, bm = { class: "text-body-2 text-label" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label mb-3" }, vm = { class: "text-body-1 py-2" }, km = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, zm = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label mb-3" };
9287
9287
  function Pm(e, t, a, i, o, r) {
9288
- var H, U, ae, X, j, $, G, re, ge, xe, ke, ce, fe, ve, Me;
9288
+ var H, U, ae, j, X, $, G, re, ge, xe, ke, ce, fe, ve, Me;
9289
9289
  const l = I("VBtn"), c = I("VTooltip"), s = I("VCol"), h = I("VRow"), m = I("VCardText"), p = I("VDivider"), g = I("VCard"), y = I("VSwitch"), f = I("VBtnToggle"), d = I("VCardTitle"), u = I("VCardItem"), x = I("VCheckbox"), v = I("VRadio"), w = I("IdmWindBarb"), _ = I("IdmSigWaveHeight"), S = I("IdmCurrentDirection"), z = I("IdmPrmsl"), M = I("IdmWindParticle"), R = I("IdmCurrentParticle"), F = I("IdmWave"), N = I("IdmSwell"), O = I("IdmIceEdge"), E = I("IdmIceCover"), J = I("IdmIceThickness"), Q = I("IdmPrecip3h"), te = I("IdmVisibility"), he = I("IdmWaterTemp"), A = I("IdmTemp");
9290
9290
  return k(), D("div", Ec, [
9291
9291
  n("div", {
@@ -9318,7 +9318,7 @@ function Pm(e, t, a, i, o, r) {
9318
9318
  _: 1
9319
9319
  }, 8, ["text", "open-on-focus", "open-on-hover"])
9320
9320
  ], 4),
9321
- r.showTipMenu ? (k(), D("div", jc, [
9321
+ r.showTipMenu ? (k(), D("div", Xc, [
9322
9322
  n("div", {
9323
9323
  class: _e(["menu-bar-box pa-1 rounded", a.simple ? "simple" : ""]),
9324
9324
  style: ue({ right: o.right + "px", top: a.simple ? "354px" : "450px" })
@@ -9370,7 +9370,7 @@ function Pm(e, t, a, i, o, r) {
9370
9370
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9371
9371
  }, {
9372
9372
  default: L(() => [
9373
- n("div", Xc, [
9373
+ n("div", jc, [
9374
9374
  n("i", {
9375
9375
  class: _e(["iconfont", r.barbsIconName[de]]),
9376
9376
  style: ue({ color: a.theme === "dark" ? "#fff" : "#000" })
@@ -9748,10 +9748,10 @@ function Pm(e, t, a, i, o, r) {
9748
9748
  }),
9749
9749
  C(m, { class: "" }, {
9750
9750
  default: L(() => {
9751
- var K, de, Xe, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, V, be, Re, Oe, Ee, q, Ze, le, tt, at, ot, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, jt, Xt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, ua, pa, ga, fa, ya, ba, wa, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga;
9751
+ var K, de, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, V, be, Re, Oe, Ee, q, Ze, le, tt, at, ot, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, ua, pa, ga, fa, ya, ba, wa, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga;
9752
9752
  return [
9753
9753
  n("div", om, b(e.$t("weather.atmospheric")), 1),
9754
- n("div", im, b((Xe = (de = (K = o.models) == null ? void 0 : K.weather) == null ? void 0 : de.NOAA) == null ? void 0 : Xe.source) + " " + b((Te = (Le = (Ne = o.models) == null ? void 0 : Ne.weather) == null ? void 0 : Le.NOAA) == null ? void 0 : Te.spatialResolution) + b(e.$t("units.km")) + " " + b((ye = (pe = (Pe = (oe = o.models) == null ? void 0 : oe.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : pe.meta) == null ? void 0 : ye.days) + b(e.$t("units.days")), 1),
9754
+ n("div", im, b((je = (de = (K = o.models) == null ? void 0 : K.weather) == null ? void 0 : de.NOAA) == null ? void 0 : je.source) + " " + b((Te = (Le = (Ne = o.models) == null ? void 0 : Ne.weather) == null ? void 0 : Le.NOAA) == null ? void 0 : Te.spatialResolution) + b(e.$t("units.km")) + " " + b((ye = (pe = (Pe = (oe = o.models) == null ? void 0 : oe.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : pe.meta) == null ? void 0 : ye.days) + b(e.$t("units.days")), 1),
9755
9755
  n("div", rm, b(e.$t("weather.source")) + ": NOAA", 1),
9756
9756
  n("div", lm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((V = (Ve = (He = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : V.availabilityTime)), 1),
9757
9757
  n("div", nm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ee = (Oe = (Re = (be = o.models) == null ? void 0 : be.weather) == null ? void 0 : Re.NOAA) == null ? void 0 : Oe.meta) == null ? void 0 : Ee.initialisationTime)), 1),
@@ -9765,7 +9765,7 @@ function Pm(e, t, a, i, o, r) {
9765
9765
  n("div", pm, b(e.$t("weather.source")) + ": NOAA", 1),
9766
9766
  n("div", gm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((Ft = (Wt = (Gt = (At = (Dt = o.models) == null ? void 0 : Dt.marine) == null ? void 0 : At.wave) == null ? void 0 : Gt.NOAA) == null ? void 0 : Wt.meta) == null ? void 0 : Ft.availabilityTime)), 1),
9767
9767
  n("div", fm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Et = (Ot = (Bt = (Zt = (Nt = o.models) == null ? void 0 : Nt.marine) == null ? void 0 : Zt.wave) == null ? void 0 : Bt.NOAA) == null ? void 0 : Ot.meta) == null ? void 0 : Et.initialisationTime)), 1),
9768
- n("div", ym, b((Ht = (Vt = (Xt = (jt = o.models) == null ? void 0 : jt.marine) == null ? void 0 : Xt.wave) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Ht.source) + " " + b((Kt = (Jt = (Ut = (Yt = o.models) == null ? void 0 : Yt.marine) == null ? void 0 : Ut.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Kt.spatialResolution) + b(e.$t("units.km")) + " " + b((aa = (ta = (ea = (Qt = (qt = o.models) == null ? void 0 : qt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : ea.ECMWF) == null ? void 0 : ta.meta) == null ? void 0 : aa.days) + b(e.$t("units.days")), 1),
9768
+ n("div", ym, b((Ht = (Vt = (jt = (Xt = o.models) == null ? void 0 : Xt.marine) == null ? void 0 : jt.wave) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Ht.source) + " " + b((Kt = (Jt = (Ut = (Yt = o.models) == null ? void 0 : Yt.marine) == null ? void 0 : Ut.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Kt.spatialResolution) + b(e.$t("units.km")) + " " + b((aa = (ta = (ea = (Qt = (qt = o.models) == null ? void 0 : qt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : ea.ECMWF) == null ? void 0 : ta.meta) == null ? void 0 : aa.days) + b(e.$t("units.days")), 1),
9769
9769
  n("div", bm, b(e.$t("weather.source")) + ": ECMWF", 1),
9770
9770
  n("div", wm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((na = (la = (ra = (ia = (oa = o.models) == null ? void 0 : oa.marine) == null ? void 0 : ia.wave) == null ? void 0 : ra.ECMWF) == null ? void 0 : la.meta) == null ? void 0 : na.availabilityTime)), 1),
9771
9771
  n("div", xm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((ha = (da = (ma = (ca = (sa = o.models) == null ? void 0 : sa.marine) == null ? void 0 : ca.wave) == null ? void 0 : ma.ECMWF) == null ? void 0 : da.meta) == null ? void 0 : ha.initialisationTime)), 1),
@@ -9813,14 +9813,14 @@ function Pm(e, t, a, i, o, r) {
9813
9813
  key: 4,
9814
9814
  map: a.map,
9815
9815
  "before-layer": "empty-layer-3",
9816
- prmsl: (X = o.weatherLayers) == null ? void 0 : X.prmsl,
9816
+ prmsl: (j = o.weatherLayers) == null ? void 0 : j.prmsl,
9817
9817
  "menu-toggle": a.menuToggle,
9818
9818
  "active-weather-layers": o.activeWeatherLayers
9819
9819
  }, e.$attrs, { theme: a.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : W("", !0),
9820
9820
  a.map ? (k(), Z(M, Y({
9821
9821
  key: 5,
9822
9822
  viewport: o.viewport,
9823
- factor: (j = o.weatherLayers) == null ? void 0 : j["wind-particle"],
9823
+ factor: (X = o.weatherLayers) == null ? void 0 : X["wind-particle"],
9824
9824
  "menu-toggle": a.menuToggle,
9825
9825
  simple: a.simple
9826
9826
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
@@ -10245,7 +10245,7 @@ let Di = class {
10245
10245
  }), o;
10246
10246
  }
10247
10247
  static pickHourly(t, a) {
10248
- var i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, X, j, $, G, re, ge, xe, ke, ce, fe, ve, Me, K, de, Xe, Ne, Le, Te;
10248
+ var i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, j, X, $, G, re, ge, xe, ke, ce, fe, ve, Me, K, de, je, Ne, Le, Te;
10249
10249
  const oe = typeof a == "string" ? T(a) : a, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = T((o = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), Be = ye.clone().add((c = (l = (r = Pe == null ? void 0 : Pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = ye.clone().add((m = (h = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : h.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
10250
10250
  if (oe.isBetween(Be, He, "millisecond", "[]")) {
10251
10251
  const V = oe.utc().diff(Be, "h", !1);
@@ -10307,8 +10307,8 @@ let Di = class {
10307
10307
  period: (ae = q == null ? void 0 : q.wave_period) == null ? void 0 : ae.at(V)
10308
10308
  },
10309
10309
  swell: {
10310
- height: (X = q == null ? void 0 : q.swell_wave_height) == null ? void 0 : X.at(V),
10311
- degree: (j = q == null ? void 0 : q.swell_wave_direction) == null ? void 0 : j.at(V),
10310
+ height: (j = q == null ? void 0 : q.swell_wave_height) == null ? void 0 : j.at(V),
10311
+ degree: (X = q == null ? void 0 : q.swell_wave_direction) == null ? void 0 : X.at(V),
10312
10312
  bearing: (($ = q == null ? void 0 : q.swell_wave_direction) == null ? void 0 : $.at(V)) !== null ? (((G = q == null ? void 0 : q.swell_wave_direction) == null ? void 0 : G.at(V)) + 180) % 360 : null,
10313
10313
  period: (re = q == null ? void 0 : q.swell_wave_period) == null ? void 0 : re.at(V),
10314
10314
  peakPeriod: (ge = q == null ? void 0 : q.swell_wave_peak_period) == null ? void 0 : ge.at(V)
@@ -10324,7 +10324,7 @@ let Di = class {
10324
10324
  current: {
10325
10325
  speed: (K = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : K.at(V),
10326
10326
  kts: (de = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : de.at(V),
10327
- degree: (Xe = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : Xe.at(V),
10327
+ degree: (je = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : je.at(V),
10328
10328
  bearing: ((Ne = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : Ne.at(V)) ?? null
10329
10329
  },
10330
10330
  sst: (Le = q == null ? void 0 : q.sea_surface_temperature) == null ? void 0 : Le.at(V),
@@ -10358,9 +10358,9 @@ let Di = class {
10358
10358
  };
10359
10359
  }
10360
10360
  static pickDaily(t, a) {
10361
- var i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, X, j, $, G, re, ge, xe, ke, ce, fe;
10362
- const ve = typeof a == "string" ? T(a) : a, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, de = T((r = (o = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Xe = T((s = (c = (l = Me == null ? void 0 : Me[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
10363
- if (ve.isBetween(de, Xe, "millisecond", "[]")) {
10361
+ var i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, j, X, $, G, re, ge, xe, ke, ce, fe;
10362
+ const ve = typeof a == "string" ? T(a) : a, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, de = T((r = (o = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), je = T((s = (c = (l = Me == null ? void 0 : Me[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
10363
+ if (ve.isBetween(de, je, "millisecond", "[]")) {
10364
10364
  let Le, Te;
10365
10365
  const oe = ve.diff(de, "d", !1);
10366
10366
  if (Me)
@@ -10420,8 +10420,8 @@ let Di = class {
10420
10420
  swell: {
10421
10421
  height: (U = ye.swell_wave_height_max) == null ? void 0 : U.at(oe),
10422
10422
  degree: (ae = ye.swell_wave_direction_dominant) == null ? void 0 : ae.at(oe),
10423
- period: (X = ye.swell_wave_period_max) == null ? void 0 : X.at(oe),
10424
- peakPeriod: (j = ye.swell_wave_peak_period_max) == null ? void 0 : j.at(oe),
10423
+ period: (j = ye.swell_wave_period_max) == null ? void 0 : j.at(oe),
10424
+ peakPeriod: (X = ye.swell_wave_peak_period_max) == null ? void 0 : X.at(oe),
10425
10425
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10426
10426
  bearing: (($ = ye.swell_wave_direction_dominant) == null ? void 0 : $.at(oe)) !== null ? ((G = ye.swell_wave_direction_dominant) == null ? void 0 : G.at(oe)) % 360 : null
10427
10427
  },
@@ -11040,16 +11040,16 @@ const Mm = {
11040
11040
  async fetchTropicals() {
11041
11041
  var o, r, l;
11042
11042
  const e = (/* @__PURE__ */ new Date()).valueOf();
11043
- let t = 0, a = 0, i = (o = ja.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : o.weight;
11043
+ let t = 0, a = 0, i = (o = Xa.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : o.weight;
11044
11044
  if (i > 0) {
11045
- const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], s = await je.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
11045
+ const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], s = await Xe.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
11046
11046
  headers: {
11047
11047
  Authorization: this.defaultMeteoToken
11048
11048
  }
11049
11049
  });
11050
11050
  if (a = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", a, ", total: ", t += a), ((r = s == null ? void 0 : s.data) == null ? void 0 : r.code) === 0) {
11051
11051
  const h = (l = s == null ? void 0 : s.data) == null ? void 0 : l.data;
11052
- await je.get(h.tropicals, {
11052
+ await Xe.get(h.tropicals, {
11053
11053
  headers: {
11054
11054
  Authorization: this.defaultMeteoToken,
11055
11055
  key: "tropicals"
@@ -11322,12 +11322,12 @@ const Mm = {
11322
11322
  handleDateChange() {
11323
11323
  var e, t, a, i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H;
11324
11324
  if ((e = this.interpolateMarkers) == null || e.forEach((U) => U == null ? void 0 : U.remove()), (t = this.interpolateData) != null && t.length && this.tropicals.active) {
11325
- const U = T(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ae = this.interpolateData.filter((G) => G.properties.date === (U == null ? void 0 : U.format()) && !G.properties.disabled), X = this.handleComputePolygons(ae), j = ie.featureCollection([...ae]);
11326
- X.forEach((G) => {
11327
- j.features.push(G);
11328
- }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(j) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
11325
+ const U = T(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ae = this.interpolateData.filter((G) => G.properties.date === (U == null ? void 0 : U.format()) && !G.properties.disabled), j = this.handleComputePolygons(ae), X = ie.featureCollection([...ae]);
11326
+ j.forEach((G) => {
11327
+ X.features.push(G);
11328
+ }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(X) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
11329
11329
  type: "geojson",
11330
- data: j
11330
+ data: X
11331
11331
  }), (r = this.map) == null || r.addLayer({
11332
11332
  id: this.interpolateLineLayer,
11333
11333
  type: "line",
@@ -11521,7 +11521,7 @@ const Mm = {
11521
11521
  }, Sm = { class: "idm-tropical-gl4" }, Tm = { class: "pb-1" }, Rm = { class: "text-h5 font-weight-600" }, Im = {
11522
11522
  key: 0,
11523
11523
  class: "text-h5 font-weight-600"
11524
- }, Dm = { class: "text-body-1" }, Am = { class: "text-label" }, Gm = { class: "d-flex justify-space-between align-center" }, Wm = { class: "w-60" }, Fm = { class: "text-label pr-1" }, Nm = { class: "flex-1-1-0" }, Zm = { class: "text-label pr-1" }, Bm = { class: "py-2 d-flex justify-space-between align-center" }, Om = { class: "w-60" }, Em = { class: "text-label pr-1" }, jm = { class: "flex-1-1-0" }, Xm = { class: "text-label pr-1" }, Vm = { class: "d-flex align-center flex-1-1-100 justify-space-between mt-n1" }, Hm = {
11524
+ }, Dm = { class: "text-body-1" }, Am = { class: "text-label" }, Gm = { class: "d-flex justify-space-between align-center" }, Wm = { class: "w-60" }, Fm = { class: "text-label pr-1" }, Nm = { class: "flex-1-1-0" }, Zm = { class: "text-label pr-1" }, Bm = { class: "py-2 d-flex justify-space-between align-center" }, Om = { class: "w-60" }, Em = { class: "text-label pr-1" }, Xm = { class: "flex-1-1-0" }, jm = { class: "text-label pr-1" }, Vm = { class: "d-flex align-center flex-1-1-100 justify-space-between mt-n1" }, Hm = {
11525
11525
  class: "text-label pr-1",
11526
11526
  style: { width: "70px" }
11527
11527
  }, Ym = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Um = { class: "more" }, Jm = {
@@ -11531,10 +11531,10 @@ const Mm = {
11531
11531
  key: 1,
11532
11532
  class: "my-3 w-100",
11533
11533
  style: { height: "80px" }
11534
- }, wd = { class: "legend d-flex justify-start align-center" }, xd = { class: "label" }, vd = { class: "legend d-flex justify-start align-center" }, kd = { class: "label" }, _d = { class: "legend d-flex justify-start align-center" }, zd = { class: "label" }, Ld = { class: "legend d-flex justify-start align-center" }, Pd = { class: "label" }, Cd = { class: "legend d-flex justify-start align-center" }, Md = { class: "label" }, Sd = { class: "legend d-flex justify-start align-center" }, Td = { class: "label" }, Rd = { class: "legend d-flex justify-start align-center" }, Id = { class: "label" }, Dd = { class: "legend d-flex justify-start align-center" }, Ad = { class: "label" }, Gd = { class: "legend d-flex justify-start align-center" }, Wd = { class: "label" }, Fd = { class: "legend d-flex justify-start align-center" }, Nd = { class: "label" }, Zd = { class: "d-flex justify-star align-center" }, Bd = { class: "font-weight-600 mr-1" }, Od = { class: "" }, Ed = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, jd = {
11534
+ }, wd = { class: "legend d-flex justify-start align-center" }, xd = { class: "label" }, vd = { class: "legend d-flex justify-start align-center" }, kd = { class: "label" }, _d = { class: "legend d-flex justify-start align-center" }, zd = { class: "label" }, Ld = { class: "legend d-flex justify-start align-center" }, Pd = { class: "label" }, Cd = { class: "legend d-flex justify-start align-center" }, Md = { class: "label" }, Sd = { class: "legend d-flex justify-start align-center" }, Td = { class: "label" }, Rd = { class: "legend d-flex justify-start align-center" }, Id = { class: "label" }, Dd = { class: "legend d-flex justify-start align-center" }, Ad = { class: "label" }, Gd = { class: "legend d-flex justify-start align-center" }, Wd = { class: "label" }, Fd = { class: "legend d-flex justify-start align-center" }, Nd = { class: "label" }, Zd = { class: "d-flex justify-star align-center" }, Bd = { class: "font-weight-600 mr-1" }, Od = { class: "" }, Ed = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Xd = {
11535
11535
  key: 0,
11536
11536
  class: "d-flex justify-start align-center"
11537
- }, Xd = { class: "text-label pr-1" }, Vd = {
11537
+ }, jd = { class: "text-label pr-1" }, Vd = {
11538
11538
  key: 1,
11539
11539
  class: "d-flex justify-start align-center"
11540
11540
  }, Hd = { class: "text-label pr-1" }, Yd = {
@@ -11650,8 +11650,8 @@ function ch(e, t, a, i, o, r) {
11650
11650
  n("label", Em, b(e.$t("tropical.moveSpeed")) + " : ", 1),
11651
11651
  n("span", null, b(((_ = r.computeMovement(o.activeTropicals)) == null ? void 0 : _.kts) || "-") + " kts", 1)
11652
11652
  ]),
11653
- n("div", jm, [
11654
- n("label", Xm, b(e.$t("tropical.moveDir")) + " : ", 1),
11653
+ n("div", Xm, [
11654
+ n("label", jm, b(e.$t("tropical.moveDir")) + " : ", 1),
11655
11655
  n("span", null, b(((S = r.computeMovement(o.activeTropicals)) == null ? void 0 : S.deg) || "-") + "°", 1)
11656
11656
  ])
11657
11657
  ]),
@@ -11862,8 +11862,8 @@ function ch(e, t, a, i, o, r) {
11862
11862
  var f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A;
11863
11863
  return [
11864
11864
  n("div", Ed, [
11865
- ((f = o.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (k(), D("div", jd, [
11866
- n("label", Xd, b(e.$t("tropical.updated")) + " : ", 1),
11865
+ ((f = o.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (k(), D("div", Xd, [
11866
+ n("label", jd, b(e.$t("tropical.updated")) + " : ", 1),
11867
11867
  n("span", null, b(r.computeTzTime((d = o.hoverPoint) == null ? void 0 : d.update, a.timeZone)), 1)
11868
11868
  ])) : W("", !0),
11869
11869
  ((u = o.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (k(), D("div", Vd, [
@@ -13234,7 +13234,7 @@ const fh = {
13234
13234
  weatherModels: t,
13235
13235
  marineModels: a
13236
13236
  };
13237
- await je.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
13237
+ await Xe.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
13238
13238
  headers: {
13239
13239
  Authorization: this.token || this.defaultMeteoToken
13240
13240
  }
@@ -13255,7 +13255,7 @@ const fh = {
13255
13255
  weatherModels: t,
13256
13256
  marineModels: a
13257
13257
  };
13258
- await je.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
13258
+ await Xe.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, i, {
13259
13259
  headers: {
13260
13260
  Authorization: this.token || this.defaultMeteoToken
13261
13261
  }
@@ -13266,10 +13266,10 @@ const fh = {
13266
13266
  }), this.loading = !1;
13267
13267
  },
13268
13268
  initTableData(e) {
13269
- var a, i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, X, j, $, G, re, ge;
13269
+ var a, i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, j, X, $, G, re, ge;
13270
13270
  this.currentHourData = {}, this.positionGmt = (i = (a = e == null ? void 0 : e.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = e == null ? void 0 : e.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
13271
13271
  const t = ((l = Ea.pickHourly(e, T(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13272
- this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((h = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : h.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = t == null ? void 0 : t.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((N = (F = t == null ? void 0 : t.wave) == null ? void 0 : F.sig) == null ? void 0 : N.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((E = (O = t == null ? void 0 : t.wave) == null ? void 0 : O.wd) == null ? void 0 : E.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (te = t == null ? void 0 : t.wave) == null ? void 0 : te.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (A = t == null ? void 0 : t.wave) == null ? void 0 : A.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (ae = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : ae.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((j = (X = t == null ? void 0 : t.wave) == null ? void 0 : X.swell) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (G = t == null ? void 0 : t.current) == null ? void 0 : G.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((re = t == null ? void 0 : t.current) == null ? void 0 : re.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ge = t == null ? void 0 : t.weather) == null ? void 0 : ge.url;
13272
+ this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((h = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : h.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = t == null ? void 0 : t.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((N = (F = t == null ? void 0 : t.wave) == null ? void 0 : F.sig) == null ? void 0 : N.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((E = (O = t == null ? void 0 : t.wave) == null ? void 0 : O.wd) == null ? void 0 : E.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (te = t == null ? void 0 : t.wave) == null ? void 0 : te.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (A = t == null ? void 0 : t.wave) == null ? void 0 : A.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (ae = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : ae.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((X = (j = t == null ? void 0 : t.wave) == null ? void 0 : j.swell) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (G = t == null ? void 0 : t.current) == null ? void 0 : G.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((re = t == null ? void 0 : t.current) == null ? void 0 : re.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ge = t == null ? void 0 : t.weather) == null ? void 0 : ge.url;
13273
13273
  },
13274
13274
  handleBind() {
13275
13275
  var e, t;
@@ -13357,10 +13357,10 @@ const fh = {
13357
13357
  }, Eh = {
13358
13358
  style: { width: "80px" },
13359
13359
  class: "pa-0 pr-2 text-right opacity-50"
13360
- }, jh = {
13360
+ }, Xh = {
13361
13361
  cols: "3",
13362
13362
  class: "pa-0 px-0 text-left"
13363
- }, Xh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Vh = {
13363
+ }, jh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Vh = {
13364
13364
  style: { width: "100px" },
13365
13365
  class: "pa-0 pr-2 text-right opacity-50"
13366
13366
  }, Hh = {
@@ -13794,9 +13794,9 @@ function vu(e, t, a, i, o, r) {
13794
13794
  n("div", Bh, b(e.$t("weather.wind")), 1),
13795
13795
  n("div", Oh, b(o.currentHourData.windDir ?? "-") + "/" + b(o.currentHourData.windSpeed ?? "-") + "kts/BF" + b(o.currentHourData.windLevel ?? "-"), 1),
13796
13796
  n("div", Eh, b(e.$t("weather.sigWave")), 1),
13797
- n("div", jh, b(o.currentHourData.sigwaveDir ?? "-") + "/" + b(o.currentHourData.sigwaveHeight ?? "-") + "m/" + b(o.currentHourData.sigwavePeriod ?? "-") + "s", 1)
13797
+ n("div", Xh, b(o.currentHourData.sigwaveDir ?? "-") + "/" + b(o.currentHourData.sigwaveHeight ?? "-") + "m/" + b(o.currentHourData.sigwavePeriod ?? "-") + "s", 1)
13798
13798
  ]),
13799
- n("div", Xh, [
13799
+ n("div", jh, [
13800
13800
  n("div", Vh, b(e.$t("weather.windWave")), 1),
13801
13801
  n("div", Hh, b(o.currentHourData.windwaveDir ?? "-") + "/" + b(o.currentHourData.windwaveHeight ?? "-") + "m/" + b(o.currentHourData.windwavePeriod ?? "-") + "s", 1),
13802
13802
  n("div", Yh, b(e.$t("weather.swell")), 1),
@@ -14694,14 +14694,14 @@ function lr(e) {
14694
14694
  }
14695
14695
  return t.push(e.slice(i).trim()), t;
14696
14696
  }
14697
- var ju = [/font\s*awesome/i, /material\s*icons/i, /ionicons/i, /glyphicons/i, /feather/i, /bootstrap\s*icons/i, /remix\s*icons/i, /heroicons/i, /layui/i, /lucide/i], it = Object.assign({ materialIconsFilled: "https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2", materialIconsOutlined: "https://fonts.gstatic.com/s/materialiconsoutlined/v110/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.woff2", materialIconsRound: "https://fonts.gstatic.com/s/materialiconsround/v109/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmPq_HTTw.woff2", materialIconsSharp: "https://fonts.gstatic.com/s/materialiconssharp/v110/oPWQ_lt5nv4pWNJpghLP75WiFR4kLh3kvmvRImcycg.woff2" }, typeof window < "u" && window.__SNAPDOM_ICON_FONTS__ || {}), lo = [];
14698
- function Xu(e) {
14697
+ var Xu = [/font\s*awesome/i, /material\s*icons/i, /ionicons/i, /glyphicons/i, /feather/i, /bootstrap\s*icons/i, /remix\s*icons/i, /heroicons/i, /layui/i, /lucide/i], it = Object.assign({ materialIconsFilled: "https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2", materialIconsOutlined: "https://fonts.gstatic.com/s/materialiconsoutlined/v110/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUcel5euIg.woff2", materialIconsRound: "https://fonts.gstatic.com/s/materialiconsround/v109/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmPq_HTTw.woff2", materialIconsSharp: "https://fonts.gstatic.com/s/materialiconssharp/v110/oPWQ_lt5nv4pWNJpghLP75WiFR4kLh3kvmvRImcycg.woff2" }, typeof window < "u" && window.__SNAPDOM_ICON_FONTS__ || {}), lo = [];
14698
+ function ju(e) {
14699
14699
  let t = Array.isArray(e) ? e : [e];
14700
14700
  for (let a of t)
14701
14701
  a instanceof RegExp ? lo.push(a) : typeof a == "string" ? lo.push(new RegExp(a, "i")) : console.warn("[snapdom] Ignored invalid iconFont value:", a);
14702
14702
  }
14703
14703
  function Ke(e) {
14704
- let t = typeof e == "string" ? e : "", a = [...ju, ...lo];
14704
+ let t = typeof e == "string" ? e : "", a = [...Xu, ...lo];
14705
14705
  for (let i of a)
14706
14706
  if (i instanceof RegExp && i.test(t))
14707
14707
  return !0;
@@ -15129,18 +15129,18 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15129
15129
  e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
15130
15130
  let r = /* @__PURE__ */ new Map();
15131
15131
  for (let A of e) {
15132
- let [H, U, ae, X] = String(A).split("__");
15132
+ let [H, U, ae, j] = String(A).split("__");
15133
15133
  if (!H)
15134
15134
  continue;
15135
- let j = r.get(H) || [];
15136
- j.push({ w: parseInt(U, 10), s: ae, st: parseInt(X, 10) }), r.set(H, j);
15135
+ let X = r.get(H) || [];
15136
+ X.push({ w: parseInt(U, 10), s: ae, st: parseInt(j, 10) }), r.set(H, X);
15137
15137
  }
15138
15138
  function l(A, H, U, ae) {
15139
15139
  if (!r.has(A))
15140
15140
  return !1;
15141
- let X = r.get(A), j = tp(U), $ = ap(H), G = op(ae), re = j.min !== j.max, ge = j.min, xe = (ce) => $.kind === "normal" && ce === "normal" || $.kind !== "normal" && (ce === "italic" || ce === "oblique"), ke = !1;
15142
- for (let ce of X) {
15143
- let fe = re ? ce.w >= j.min && ce.w <= j.max : ce.w === ge, ve = xe(Ja(ce.s)), Me = ce.st >= G.min && ce.st <= G.max;
15141
+ let j = r.get(A), X = tp(U), $ = ap(H), G = op(ae), re = X.min !== X.max, ge = X.min, xe = (ce) => $.kind === "normal" && ce === "normal" || $.kind !== "normal" && (ce === "italic" || ce === "oblique"), ke = !1;
15142
+ for (let ce of j) {
15143
+ let fe = re ? ce.w >= X.min && ce.w <= X.max : ce.w === ge, ve = xe(Ja(ce.s)), Me = ce.st >= G.min && ce.st <= G.max;
15144
15144
  if (fe && ve && Me) {
15145
15145
  ke = !0;
15146
15146
  break;
@@ -15149,13 +15149,13 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15149
15149
  if (ke)
15150
15150
  return !0;
15151
15151
  if (!re)
15152
- for (let ce of X) {
15152
+ for (let ce of j) {
15153
15153
  let fe = xe(Ja(ce.s)), ve = ce.st >= G.min && ce.st <= G.max;
15154
15154
  if (Math.abs(ge - ce.w) <= 300 && fe && ve)
15155
15155
  return !0;
15156
15156
  }
15157
- if (!re && $.kind === "normal" && X.some((ce) => Ja(ce.s) !== "normal"))
15158
- for (let ce of X) {
15157
+ if (!re && $.kind === "normal" && j.some((ce) => Ja(ce.s) !== "normal"))
15158
+ for (let ce of j) {
15159
15159
  let fe = Math.abs(ge - ce.w) <= 300, ve = ce.st >= G.min && ce.st <= G.max;
15160
15160
  if (fe && ve)
15161
15161
  return !0;
@@ -15192,11 +15192,11 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15192
15192
  if (!U && !ip(A.href, h))
15193
15193
  continue;
15194
15194
  if (U) {
15195
- let X = Array.from(document.styleSheets).find((j) => j.href === A.href);
15196
- if (X)
15195
+ let j = Array.from(document.styleSheets).find((X) => X.href === A.href);
15196
+ if (j)
15197
15197
  try {
15198
- let j = X.cssRules || [];
15199
- H = Array.from(j).map(($) => $.cssText).join("");
15198
+ let X = j.cssRules || [];
15199
+ H = Array.from(X).map(($) => $.cssText).join("");
15200
15200
  } catch {
15201
15201
  }
15202
15202
  }
@@ -15204,11 +15204,11 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15204
15204
  continue;
15205
15205
  H = await lp(H, A.href, o);
15206
15206
  let ae = "";
15207
- for (let X of H.match(np) || []) {
15208
- let j = (((u = X.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : u[1]) || "").trim(), $ = to(j);
15207
+ for (let j of H.match(np) || []) {
15208
+ let X = (((u = j.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : u[1]) || "").trim(), $ = to(X);
15209
15209
  if (!$ || Ke($))
15210
15210
  continue;
15211
- let G = (((x = X.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), re = (((v = X.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = X.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((_ = X.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : _[1]) || "").trim(), ke = (((S = X.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), ce = wo(ke, A.href);
15211
+ let G = (((x = j.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), re = (((v = j.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = j.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((_ = j.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : _[1]) || "").trim(), ke = (((S = j.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), ce = wo(ke, A.href);
15212
15212
  if (!l($, re, G, ge))
15213
15213
  continue;
15214
15214
  let fe = sr(xe);
@@ -15217,7 +15217,7 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15217
15217
  let ve = { family: $, weightSpec: G, styleSpec: re, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: ce, href: A.href };
15218
15218
  if (a && c(ve, fe))
15219
15219
  continue;
15220
- let Me = /url\(/i.test(ke) ? await mr(X, A.href, o) : X;
15220
+ let Me = /url\(/i.test(ke) ? await mr(j, A.href, o) : j;
15221
15221
  ae += Me;
15222
15222
  }
15223
15223
  ae.trim() && (g += ae);
@@ -15267,23 +15267,23 @@ async function dp({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
15267
15267
  let H = String(A.family || "").replace(/^['"]+|['"]+$/g, "");
15268
15268
  if (!H || Ke(H) || !r.has(H) || a != null && a.families && a.families.some((G) => String(G).toLowerCase() === H.toLowerCase()))
15269
15269
  continue;
15270
- let U = A.weight != null ? String(A.weight) : "normal", ae = A.style != null ? String(A.style) : "normal", X = A.stretchPct != null ? `${A.stretchPct}%` : "100%", j = String(A.src || ""), $ = j;
15270
+ let U = A.weight != null ? String(A.weight) : "normal", ae = A.style != null ? String(A.style) : "normal", j = A.stretchPct != null ? `${A.stretchPct}%` : "100%", X = String(A.src || ""), $ = X;
15271
15271
  if (!$.startsWith("data:")) {
15272
- if ((O = B.resource) != null && O.has(j))
15273
- $ = B.resource.get(j), (E = B.font) == null || E.add(j);
15274
- else if (!((J = B.font) != null && J.has(j)))
15272
+ if ((O = B.resource) != null && O.has(X))
15273
+ $ = B.resource.get(X), (E = B.font) == null || E.add(X);
15274
+ else if (!((J = B.font) != null && J.has(X)))
15275
15275
  try {
15276
- let G = await Ue(j, { as: "dataURL", useProxy: o, silent: !0 });
15276
+ let G = await Ue(X, { as: "dataURL", useProxy: o, silent: !0 });
15277
15277
  if (G.ok && typeof G.data == "string")
15278
- $ = G.data, (Q = B.resource) == null || Q.set(j, $), (te = B.font) == null || te.add(j);
15278
+ $ = G.data, (Q = B.resource) == null || Q.set(X, $), (te = B.font) == null || te.add(X);
15279
15279
  else
15280
15280
  continue;
15281
15281
  } catch {
15282
- console.warn("[snapDOM] Failed to fetch localFonts src:", j);
15282
+ console.warn("[snapDOM] Failed to fetch localFonts src:", X);
15283
15283
  continue;
15284
15284
  }
15285
15285
  }
15286
- g += `@font-face{font-family:'${H}';src:url(${$});font-style:${ae};font-weight:${U};font-stretch:${X};}`;
15286
+ g += `@font-face{font-family:'${H}';src:url(${$});font-style:${ae};font-weight:${U};font-stretch:${j};}`;
15287
15287
  }
15288
15288
  return g && (g = cp(g), (he = B.resource) == null || he.set(s, g)), g;
15289
15289
  }
@@ -15409,7 +15409,7 @@ function Za() {
15409
15409
  let e = navigator.userAgent || "", t = e.toLowerCase(), a = t.includes("safari") && !t.includes("chrome") && !t.includes("crios") && !t.includes("fxios") && !t.includes("android"), i = /applewebkit/i.test(e), o = /mobile/i.test(e), r = !/safari/i.test(e), l = i && o && r, c = /(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(e), s = /(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(t), h = /ipad|iphone|ipod/.test(t) && i;
15410
15410
  return a || l || c || s || h;
15411
15411
  }
15412
- var Xa = [];
15412
+ var ja = [];
15413
15413
  function hr(e) {
15414
15414
  if (!e)
15415
15415
  return null;
@@ -15427,11 +15427,11 @@ function fp(...e) {
15427
15427
  let t = e.flat();
15428
15428
  for (let a of t) {
15429
15429
  let i = hr(a);
15430
- i && (Xa.some((o) => o && o.name && i.name && o.name === i.name) || Xa.push(i));
15430
+ i && (ja.some((o) => o && o.name && i.name && o.name === i.name) || ja.push(i));
15431
15431
  }
15432
15432
  }
15433
15433
  function ur(e) {
15434
- return (e && Array.isArray(e.plugins) ? e.plugins : Xa) || Xa;
15434
+ return (e && Array.isArray(e.plugins) ? e.plugins : ja) || ja;
15435
15435
  }
15436
15436
  async function qe(e, t, a) {
15437
15437
  let i = a, o = ur(t);
@@ -15465,7 +15465,7 @@ function bp(e) {
15465
15465
  let o = t.findIndex((r) => r && r.name === i.name);
15466
15466
  o >= 0 && t.splice(o, 1), t.push(i);
15467
15467
  }
15468
- for (let a of Xa)
15468
+ for (let a of ja)
15469
15469
  a && a.name && !t.some((i) => i.name === a.name) && t.push(a);
15470
15470
  return Object.freeze(t);
15471
15471
  }
@@ -15599,9 +15599,9 @@ function Sp(e, t, a) {
15599
15599
  let s = t.clip;
15600
15600
  s && s !== "auto" && s !== "rect(auto, auto, auto, auto)" || t.visibility === "hidden" || t.opacity === "0" || Mp(e, t) && (delete a.height, delete a["block-size"]);
15601
15601
  }
15602
- var pr = ["fill", "stroke", "color", "background-color", "stop-color"], ji = /* @__PURE__ */ new Map();
15602
+ var pr = ["fill", "stroke", "color", "background-color", "stop-color"], Xi = /* @__PURE__ */ new Map();
15603
15603
  function Tp(e, t) {
15604
- let a = t + "::" + e.toLowerCase(), i = ji.get(a);
15604
+ let a = t + "::" + e.toLowerCase(), i = Xi.get(a);
15605
15605
  if (i)
15606
15606
  return i;
15607
15607
  let o = document, r = t === "http://www.w3.org/2000/svg" ? o.createElementNS(t, e) : o.createElement(e), l = o.createElement("div");
@@ -15609,7 +15609,7 @@ function Tp(e, t) {
15609
15609
  let c = getComputedStyle(r), s = {};
15610
15610
  for (let h of pr)
15611
15611
  s[h] = c.getPropertyValue(h) || "";
15612
- return l.remove(), ji.set(a, s), s;
15612
+ return l.remove(), Xi.set(a, s), s;
15613
15613
  }
15614
15614
  function Rp(e, t) {
15615
15615
  var r, l, c;
@@ -15782,7 +15782,7 @@ function Op(e, t, a) {
15782
15782
  function Ep(e) {
15783
15783
  e && (e.nodeType === Node.ELEMENT_NODE && e.setAttribute("data-sd-slotted", ""), e.querySelectorAll && e.querySelectorAll("*").forEach((t) => t.setAttribute("data-sd-slotted", "")));
15784
15784
  }
15785
- async function jp(e, t = 3) {
15785
+ async function Xp(e, t = 3) {
15786
15786
  let a = () => {
15787
15787
  var r;
15788
15788
  try {
@@ -15795,7 +15795,7 @@ async function jp(e, t = 3) {
15795
15795
  await new Promise((r) => setTimeout(r, 0)), i = a(), o++;
15796
15796
  return i && (i.body || i.documentElement) ? i : null;
15797
15797
  }
15798
- function Xp(e) {
15798
+ function jp(e) {
15799
15799
  let t = e.getBoundingClientRect(), a = 0, i = 0, o = 0, r = 0;
15800
15800
  try {
15801
15801
  let s = getComputedStyle(e);
@@ -15815,10 +15815,10 @@ function Vp(e, t, a) {
15815
15815
  };
15816
15816
  }
15817
15817
  async function Hp(e, t, a) {
15818
- let i = await jp(e, 3);
15818
+ let i = await Xp(e, 3);
15819
15819
  if (!i)
15820
15820
  throw new Error("iframe document not accessible/ready");
15821
- let { contentWidth: o, contentHeight: r, rect: l } = Xp(e), c = a == null ? void 0 : a.snap;
15821
+ let { contentWidth: o, contentHeight: r, rect: l } = jp(e), c = a == null ? void 0 : a.snap;
15822
15822
  if (!c || typeof c.toPng != "function")
15823
15823
  throw new Error("snapdom.toPng not available in iframe or window");
15824
15824
  let s = { ...a, scale: 1 }, h = Vp(i, o, r), m;
@@ -15854,7 +15854,7 @@ async function Oa(e) {
15854
15854
  }
15855
15855
  }
15856
15856
  var Yp = /\bblob:[^)"'\s]+/g;
15857
- async function Xi(e) {
15857
+ async function ji(e) {
15858
15858
  if (!e || e.indexOf("blob:") === -1)
15859
15859
  return e;
15860
15860
  let t = Array.from(new Set(e.match(Yp) || []));
@@ -15921,7 +15921,7 @@ async function Kp(e) {
15921
15921
  try {
15922
15922
  let h = s.getAttribute("style");
15923
15923
  if (h && h.includes("blob:")) {
15924
- let m = await Xi(h);
15924
+ let m = await ji(h);
15925
15925
  s.setAttribute("style", m);
15926
15926
  }
15927
15927
  } catch {
@@ -15930,7 +15930,7 @@ async function Kp(e) {
15930
15930
  for (let s of o)
15931
15931
  try {
15932
15932
  let h = s.textContent || "";
15933
- h.includes("blob:") && (s.textContent = await Xi(h));
15933
+ h.includes("blob:") && (s.textContent = await ji(h));
15934
15934
  } catch {
15935
15935
  }
15936
15936
  let r = ["poster"];
@@ -16476,16 +16476,16 @@ async function fr(e, t, a, i) {
16476
16476
  if (!y || y.content === "none" && y.backgroundImage === "none" && y.backgroundColor === "transparent" && (y.borderStyle === "none" || parseFloat(y.borderWidth) === 0) && (!y.transform || y.transform === "none") && y.display === "inline")
16477
16477
  continue;
16478
16478
  if (g === "::first-letter") {
16479
- let X = getComputedStyle(e);
16480
- if (!(y.color !== X.color || y.fontSize !== X.fontSize || y.fontWeight !== X.fontWeight))
16479
+ let j = getComputedStyle(e);
16480
+ if (!(y.color !== j.color || y.fontSize !== j.fontSize || y.fontWeight !== j.fontWeight))
16481
16481
  continue;
16482
- let j = Array.from(t.childNodes).find((fe) => {
16482
+ let X = Array.from(t.childNodes).find((fe) => {
16483
16483
  var ve;
16484
16484
  return fe.nodeType === Node.TEXT_NODE && ((ve = fe.textContent) == null ? void 0 : ve.trim().length) > 0;
16485
16485
  });
16486
- if (!j)
16486
+ if (!X)
16487
16487
  continue;
16488
- let $ = j.textContent, G = (m = $.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : m[0], re = $.slice((G == null ? void 0 : G.length) || 0);
16488
+ let $ = X.textContent, G = (m = $.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : m[0], re = $.slice((G == null ? void 0 : G.length) || 0);
16489
16489
  if (!G || /[\uD800-\uDFFF]/.test(G))
16490
16490
  continue;
16491
16491
  let ge = document.createElement("span");
@@ -16493,20 +16493,20 @@ async function fr(e, t, a, i) {
16493
16493
  let xe = Wi(y), ke = ro(xe, "span");
16494
16494
  a.styleMap.set(ge, ke);
16495
16495
  let ce = document.createTextNode(re);
16496
- t.replaceChild(ce, j), t.insertBefore(ge, ce);
16496
+ t.replaceChild(ce, X), t.insertBefore(ge, ce);
16497
16497
  continue;
16498
16498
  }
16499
16499
  let f = y.content ?? "", d = f === "" || f === "none" || f === "normal", { text: u, incs: x } = ig(e, g, l), v = y.backgroundImage, w = y.backgroundColor, _ = y.fontFamily, S = parseInt(y.fontSize) || 32, z = parseInt(y.fontWeight) || !1, M = y.color || "#000", R = y.borderStyle, F = parseFloat(y.borderWidth), N = y.transform, O = Ke(_), E = !d && u !== "", J = v && v !== "none", Q = w && w !== "transparent" && w !== "rgba(0, 0, 0, 0)", te = R && R !== "none" && F > 0, he = N && N !== "none";
16500
16500
  if (!(E || J || Q || te || he)) {
16501
16501
  if (x && x.length && e.parentElement) {
16502
- let X = st.get(e.parentElement) || /* @__PURE__ */ new Map();
16503
- for (let { name: j } of x) {
16504
- if (!j)
16502
+ let j = st.get(e.parentElement) || /* @__PURE__ */ new Map();
16503
+ for (let { name: X } of x) {
16504
+ if (!X)
16505
16505
  continue;
16506
- let $ = ho(e, l), G = uo(e, getComputedStyle(e, g), $).get(e, j);
16507
- X.set(j, G);
16506
+ let $ = ho(e, l), G = uo(e, getComputedStyle(e, g), $).get(e, X);
16507
+ j.set(X, G);
16508
16508
  }
16509
- st.set(e.parentElement, X);
16509
+ st.set(e.parentElement, j);
16510
16510
  }
16511
16511
  continue;
16512
16512
  }
@@ -16514,16 +16514,16 @@ async function fr(e, t, a, i) {
16514
16514
  A.dataset.snapdomPseudo = g, A.style.pointerEvents = "none";
16515
16515
  let H = Wi(y), U = ro(H, "span");
16516
16516
  if (a.styleMap.set(A, U), O && u && u.length === 1) {
16517
- let { dataUrl: X, width: j, height: $ } = await qu(u, _, z, S, M), G = document.createElement("img");
16518
- G.src = X, G.style = `height:${S}px;width:${j / $ * S}px;object-fit:contain;`, A.appendChild(G), t.dataset.snapdomHasIcon = "true";
16517
+ let { dataUrl: j, width: X, height: $ } = await qu(u, _, z, S, M), G = document.createElement("img");
16518
+ G.src = j, G.style = `height:${S}px;width:${X / $ * S}px;object-fit:contain;`, A.appendChild(G), t.dataset.snapdomHasIcon = "true";
16519
16519
  } else if (u && u.startsWith("url(")) {
16520
- let X = yo(u);
16521
- if (X != null && X.trim())
16520
+ let j = yo(u);
16521
+ if (j != null && j.trim())
16522
16522
  try {
16523
- let j = document.createElement("img"), $ = await Ue(qa(X), { as: "dataURL", useProxy: i.useProxy });
16524
- j.src = $.data, j.style = `width:${S}px;height:auto;object-fit:contain;`, A.appendChild(j);
16525
- } catch (j) {
16526
- console.error(`[snapdom] Error in pseudo ${g} for`, e, j);
16523
+ let X = document.createElement("img"), $ = await Ue(qa(j), { as: "dataURL", useProxy: i.useProxy });
16524
+ X.src = $.data, X.style = `width:${S}px;height:auto;object-fit:contain;`, A.appendChild(X);
16525
+ } catch (X) {
16526
+ console.error(`[snapdom] Error in pseudo ${g} for`, e, X);
16527
16527
  }
16528
16528
  } else
16529
16529
  !O && E && (A.textContent = u);
@@ -16534,22 +16534,22 @@ async function fr(e, t, a, i) {
16534
16534
  }
16535
16535
  if (J)
16536
16536
  try {
16537
- let X = lr(v), j = await Promise.all(X.map(or));
16538
- A.style.backgroundImage = j.join(", ");
16539
- } catch (X) {
16540
- console.warn(`[snapdom] Failed to inline background-image for ${g}`, X);
16537
+ let j = lr(v), X = await Promise.all(j.map(or));
16538
+ A.style.backgroundImage = X.join(", ");
16539
+ } catch (j) {
16540
+ console.warn(`[snapdom] Failed to inline background-image for ${g}`, j);
16541
16541
  }
16542
16542
  Q && (A.style.backgroundColor = w);
16543
16543
  let ae = A.childNodes.length > 0 || ((p = A.textContent) == null ? void 0 : p.trim()) !== "" || J || Q || te || he;
16544
16544
  if (x && x.length && e.parentElement) {
16545
- let X = st.get(e.parentElement) || /* @__PURE__ */ new Map(), j = ho(e, l), $ = uo(e, getComputedStyle(e, g), j);
16545
+ let j = st.get(e.parentElement) || /* @__PURE__ */ new Map(), X = ho(e, l), $ = uo(e, getComputedStyle(e, g), X);
16546
16546
  for (let { name: G } of x) {
16547
16547
  if (!G)
16548
16548
  continue;
16549
16549
  let re = $.get(e, G);
16550
- X.set(G, re);
16550
+ j.set(G, re);
16551
16551
  }
16552
- st.set(e.parentElement, X);
16552
+ st.set(e.parentElement, j);
16553
16553
  }
16554
16554
  if (!ae)
16555
16555
  continue;
@@ -17229,10 +17229,10 @@ async function br(e, t) {
17229
17229
  let V = _.transform && _.transform !== "none" ? _.transform : "", be = Wg(r.element), Re = Ng({ baseTransform: V, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Oe, oy: Ee } = Gg(_, z, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()), Ze = Qi(z, M, q, Oe, Ee);
17230
17230
  he = ne(Ze.minX), A = ne(Ze.minY), H = ne(Ze.maxX), U = ne(Ze.maxY);
17231
17231
  }
17232
- let ae = Tg(_), X = Rg(_), j = Ig(_), $ = Dg(_), G = o ? { top: ne(ae.top + X.top + j.top + $.bleed.top), right: ne(ae.right + X.right + j.right + $.bleed.right), bottom: ne(ae.bottom + X.bottom + j.bottom + $.bleed.bottom), left: ne(ae.left + X.left + j.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17232
+ let ae = Tg(_), j = Rg(_), X = Ig(_), $ = Dg(_), G = o ? { top: ne(ae.top + j.top + X.top + $.bleed.top), right: ne(ae.right + j.right + X.right + $.bleed.right), bottom: ne(ae.bottom + j.bottom + X.bottom + $.bleed.bottom), left: ne(ae.left + j.left + X.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17233
17233
  he = ne(he - G.left), A = ne(A - G.top), H = ne(H + G.right), U = ne(U + G.bottom);
17234
- let re = Math.max(1, ne(H - he)), ge = Math.max(1, ne(U - A)), xe = J || Q ? ne(O / z) : 1, ke = Q || J ? ne(E / M) : 1, ce = Math.max(1, ne(re * xe)), fe = Math.max(1, ne(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Za() ? 1 : 0, K = ne(Me + (i ? 0 : 1)), de = document.createElementNS(ve, "foreignObject"), Xe = ne(he), Ne = ne(A);
17235
- de.setAttribute("x", String(ne(-(Xe - K)))), de.setAttribute("y", String(ne(-(Ne - K)))), de.setAttribute("width", String(ne(z + K * 2))), de.setAttribute("height", String(ne(M + K * 2))), de.style.overflow = "visible";
17234
+ let re = Math.max(1, ne(H - he)), ge = Math.max(1, ne(U - A)), xe = J || Q ? ne(O / z) : 1, ke = Q || J ? ne(E / M) : 1, ce = Math.max(1, ne(re * xe)), fe = Math.max(1, ne(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Za() ? 1 : 0, K = ne(Me + (i ? 0 : 1)), de = document.createElementNS(ve, "foreignObject"), je = ne(he), Ne = ne(A);
17235
+ de.setAttribute("x", String(ne(-(je - K)))), de.setAttribute("y", String(ne(-(Ne - K)))), de.setAttribute("width", String(ne(z + K * 2))), de.setAttribute("height", String(ne(M + K * 2))), de.style.overflow = "visible";
17236
17236
  let Le = document.createElement("style");
17237
17237
  Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, de.appendChild(Le);
17238
17238
  let Te = document.createElement("div");
@@ -17263,11 +17263,11 @@ function Eg(e = {}) {
17263
17263
  let a = Og(e.cache);
17264
17264
  return { debug: e.debug ?? !1, fast: e.fast ?? !0, scale: e.scale ?? 1, exclude: e.exclude ?? [], excludeMode: e.excludeMode ?? "hide", filter: e.filter ?? null, filterMode: e.filterMode ?? "hide", placeholders: e.placeholders !== !1, embedFonts: e.embedFonts ?? !1, iconFonts: Array.isArray(e.iconFonts) ? e.iconFonts : e.iconFonts ? [e.iconFonts] : [], localFonts: Array.isArray(e.localFonts) ? e.localFonts : [], excludeFonts: e.excludeFonts ?? void 0, fallbackURL: e.fallbackURL ?? void 0, cache: a, useProxy: typeof e.useProxy == "string" ? e.useProxy : "", width: e.width ?? null, height: e.height ?? null, format: t, type: e.type ?? "svg", quality: e.quality ?? 0.92, dpr: e.dpr ?? (window.devicePixelRatio || 1), backgroundColor: e.backgroundColor ?? (["jpeg", "webp"].includes(t) ? "#ffffff" : null), filename: e.filename ?? "snapDOM", outerTransforms: e.outerTransforms ?? !0, outerShadows: e.outerShadows ?? !1 };
17265
17265
  }
17266
- function jg(...e) {
17266
+ function Xg(...e) {
17267
17267
  return fp(...e), Ce;
17268
17268
  }
17269
- var Ce = Object.assign(Xg, { plugins: jg }), wr = Symbol("snapdom.internal"), $e = Symbol("snapdom.internal.silent"), po = !1;
17270
- async function Xg(e, t) {
17269
+ var Ce = Object.assign(jg, { plugins: Xg }), wr = Symbol("snapdom.internal"), $e = Symbol("snapdom.internal.silent"), po = !1;
17270
+ async function jg(e, t) {
17271
17271
  if (!e)
17272
17272
  throw new Error("Element cannot be null or undefined");
17273
17273
  let a = Eg(t);
@@ -17277,58 +17277,58 @@ async function Xg(e, t) {
17277
17277
  await Vg(e, t), po = !1;
17278
17278
  } catch {
17279
17279
  }
17280
- return a.iconFonts && a.iconFonts.length > 0 && Xu(a.iconFonts), a.snap || (a.snap = { toPng: (i, o) => Ce.toPng(i, o), toSvg: (i, o) => Ce.toSvg(i, o) }), Ce.capture(e, a, wr);
17280
+ return a.iconFonts && a.iconFonts.length > 0 && ju(a.iconFonts), a.snap || (a.snap = { toPng: (i, o) => Ce.toPng(i, o), toSvg: (i, o) => Ce.toSvg(i, o) }), Ce.capture(e, a, wr);
17281
17281
  }
17282
17282
  Ce.capture = async (e, t, a) => {
17283
17283
  if (a !== wr)
17284
17284
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17285
17285
  let i = await br(e, t), o = { img: async (f, d) => {
17286
- let { toImg: u } = await import("./toImg-a7a8bfbe.js");
17286
+ let { toImg: u } = await import("./toImg-605102af.js");
17287
17287
  return u(i, { ...f, ...d || {} });
17288
17288
  }, svg: async (f, d) => {
17289
- let { toSvg: u } = await import("./toImg-a7a8bfbe.js");
17289
+ let { toSvg: u } = await import("./toImg-605102af.js");
17290
17290
  return u(i, { ...f, ...d || {} });
17291
17291
  }, canvas: async (f, d) => {
17292
- let { toCanvas: u } = await import("./toCanvas-6e593f47.js");
17292
+ let { toCanvas: u } = await import("./toCanvas-3ab44a4b.js");
17293
17293
  return u(i, { ...f, ...d || {} });
17294
17294
  }, blob: async (f, d) => {
17295
- let { toBlob: u } = await import("./toBlob-05320a3f.js");
17295
+ let { toBlob: u } = await import("./toBlob-256d732a.js");
17296
17296
  return u(i, { ...f, ...d || {} });
17297
17297
  }, png: async (f, d) => {
17298
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17298
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17299
17299
  return u(i, { ...f, ...d || {}, format: "png" });
17300
17300
  }, jpeg: async (f, d) => {
17301
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17301
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17302
17302
  return u(i, { ...f, ...d || {}, format: "jpeg" });
17303
17303
  }, webp: async (f, d) => {
17304
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17304
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17305
17305
  return u(i, { ...f, ...d || {}, format: "webp" });
17306
17306
  }, download: async (f, d) => {
17307
- let { download: u } = await import("./download-f831ca56.js");
17307
+ let { download: u } = await import("./download-3972120d.js");
17308
17308
  return u(i, { ...f, ...d || {} });
17309
17309
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17310
- let { toSvg: d } = await import("./toImg-a7a8bfbe.js");
17310
+ let { toSvg: d } = await import("./toImg-605102af.js");
17311
17311
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17312
17312
  }, canvas: async (f) => {
17313
- let { toCanvas: d } = await import("./toCanvas-6e593f47.js");
17313
+ let { toCanvas: d } = await import("./toCanvas-3ab44a4b.js");
17314
17314
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17315
17315
  }, png: async (f) => {
17316
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17316
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17317
17317
  return d(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17318
17318
  }, jpeg: async (f) => {
17319
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17319
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17320
17320
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17321
17321
  }, jpg: async (f) => {
17322
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17322
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17323
17323
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17324
17324
  }, webp: async (f) => {
17325
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d5e7d331.js");
17325
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17326
17326
  return d(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17327
17327
  }, blob: async (f) => {
17328
- let { toBlob: d } = await import("./toBlob-05320a3f.js");
17328
+ let { toBlob: d } = await import("./toBlob-256d732a.js");
17329
17329
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17330
17330
  }, img: async (f) => {
17331
- let { toImg: d } = await import("./toImg-a7a8bfbe.js");
17331
+ let { toImg: d } = await import("./toImg-605102af.js");
17332
17332
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17333
17333
  } } }, l = await yp("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...o, ...c };
17334
17334
  s.jpeg && !s.jpg && (s.jpg = (f, d) => s.jpeg(f, d));
@@ -18999,7 +18999,7 @@ class T0 {
18999
18999
  we(this, "hi");
19000
19000
  we(this, "td");
19001
19001
  we(this, "windy");
19002
- var a, i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, X, j, $, G, re, ge, xe, ke, ce, fe, ve, Me, K, de, Xe, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, V, be, Re, Oe, Ee, q, Ze, le, tt, at, ot, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, jt, Xt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, ua, pa, ga, fa, ya, ba, wa, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, Fo, No, Zo, Bo, Oo, Eo, jo, Xo, Vo, Ho, Yo, Uo, Jo, Ko, $o, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
19002
+ var a, i, o, r, l, c, s, h, m, p, g, y, f, d, u, x, v, w, _, S, z, M, R, F, N, O, E, J, Q, te, he, A, H, U, ae, j, X, $, G, re, ge, xe, ke, ce, fe, ve, Me, K, de, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, V, be, Re, Oe, Ee, q, Ze, le, tt, at, ot, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, ua, pa, ga, fa, ya, ba, wa, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, Fo, No, Zo, Bo, Oo, Eo, Xo, jo, Vo, Ho, Yo, Uo, Jo, Ko, $o, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
19003
19003
  this.i4 = {
19004
19004
  source: {
19005
19005
  type: "raster",
@@ -37657,14 +37657,14 @@ class T0 {
37657
37657
  (te = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : te.find((P) => P.id === "world-12nm-v4-20231025"),
37658
37658
  (A = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : A.find((P) => P.id === "ne-10m-outline"),
37659
37659
  (U = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : U.find((P) => P.id === "ne-10m-label"),
37660
- (X = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : X.find((P) => P.id === "china-route-line"),
37661
- ($ = (j = this.originStyle) == null ? void 0 : j.light.layers) == null ? void 0 : $.find((P) => P.id === "china-route-fill"),
37660
+ (j = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : j.find((P) => P.id === "china-route-line"),
37661
+ ($ = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : $.find((P) => P.id === "china-route-fill"),
37662
37662
  (re = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : re.find((P) => P.id === "china-route-label"),
37663
37663
  (xe = (ge = this.originStyle) == null ? void 0 : ge.light.layers) == null ? void 0 : xe.find((P) => P.id === "admin-0-boundary-bg"),
37664
37664
  (ce = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : ce.find((P) => P.id === "admin-0-boundary"),
37665
37665
  (ve = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ve.find((P) => P.id === "admin-0-boundary-disputed"),
37666
37666
  (K = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : K.find((P) => P.id === "country-label"),
37667
- (Xe = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : Xe.find((P) => P.id === "continent-label"),
37667
+ (je = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : je.find((P) => P.id === "continent-label"),
37668
37668
  (Le = (Ne = this.originStyle) == null ? void 0 : Ne.light.layers) == null ? void 0 : Le.find((P) => P.id === "tide-stations"),
37669
37669
  (oe = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : oe.find((P) => P.id === "empty-layer-3"),
37670
37670
  (pe = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : pe.find((P) => P.id === "empty-layer-4")
@@ -37714,8 +37714,8 @@ class T0 {
37714
37714
  (Ft = (Wt = this.originStyle) == null ? void 0 : Wt.dark.layers) == null ? void 0 : Ft.find((P) => P.id === "admin-0-boundary-bg"),
37715
37715
  (Zt = (Nt = this.originStyle) == null ? void 0 : Nt.dark.layers) == null ? void 0 : Zt.find((P) => P.id === "admin-0-boundary"),
37716
37716
  (Ot = (Bt = this.originStyle) == null ? void 0 : Bt.dark.layers) == null ? void 0 : Ot.find((P) => P.id === "admin-0-boundary-disputed"),
37717
- (jt = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : jt.find((P) => P.id === "country-label"),
37718
- (Vt = (Xt = this.originStyle) == null ? void 0 : Xt.dark.layers) == null ? void 0 : Vt.find((P) => P.id === "continent-label"),
37717
+ (Xt = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : Xt.find((P) => P.id === "country-label"),
37718
+ (Vt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Vt.find((P) => P.id === "continent-label"),
37719
37719
  (Yt = (Ht = this.originStyle) == null ? void 0 : Ht.dark.layers) == null ? void 0 : Yt.find((P) => P.id === "tide-stations"),
37720
37720
  (Jt = (Ut = this.originStyle) == null ? void 0 : Ut.dark.layers) == null ? void 0 : Jt.find((P) => P.id === "empty-layer-3"),
37721
37721
  (qt = (Kt = this.originStyle) == null ? void 0 : Kt.dark.layers) == null ? void 0 : qt.find((P) => P.id === "empty-layer-4")
@@ -37827,8 +37827,8 @@ class T0 {
37827
37827
  this.i4.layer,
37828
37828
  (Zo = (No = this.originStyle) == null ? void 0 : No.light.layers) == null ? void 0 : Zo.find((P) => P.id === "ice-area-fill"),
37829
37829
  (Oo = (Bo = this.originStyle) == null ? void 0 : Bo.light.layers) == null ? void 0 : Oo.find((P) => P.id === "ice-area-line"),
37830
- (jo = (Eo = this.originStyle) == null ? void 0 : Eo.light.layers) == null ? void 0 : jo.find((P) => P.id === "loadlines-label"),
37831
- (Vo = (Xo = this.originStyle) == null ? void 0 : Xo.light.layers) == null ? void 0 : Vo.find((P) => P.id === "loadlines-fill"),
37830
+ (Xo = (Eo = this.originStyle) == null ? void 0 : Eo.light.layers) == null ? void 0 : Xo.find((P) => P.id === "loadlines-label"),
37831
+ (Vo = (jo = this.originStyle) == null ? void 0 : jo.light.layers) == null ? void 0 : Vo.find((P) => P.id === "loadlines-fill"),
37832
37832
  (Yo = (Ho = this.originStyle) == null ? void 0 : Ho.light.layers) == null ? void 0 : Yo.find((P) => P.id === "empty-layer-0"),
37833
37833
  (Jo = (Uo = this.originStyle) == null ? void 0 : Uo.light.layers) == null ? void 0 : Jo.find((P) => P.id === "empty-layer-1"),
37834
37834
  ($o = (Ko = this.originStyle) == null ? void 0 : Ko.light.layers) == null ? void 0 : $o.find((P) => P.id === "empty-layer-2"),
@@ -38087,7 +38087,7 @@ const N0 = {
38087
38087
  fastPick: {
38088
38088
  type: Object,
38089
38089
  default: () => ({
38090
- show: !0,
38090
+ show: !1,
38091
38091
  btns: [
38092
38092
  "past7day",
38093
38093
  "past14day",
@@ -38122,22 +38122,22 @@ const N0 = {
38122
38122
  if (this.position === "top")
38123
38123
  return {
38124
38124
  bottom: "40px",
38125
- left: `-${(600 - e) / 2}px`
38125
+ left: `-${(630 - e) / 2}px`
38126
38126
  };
38127
38127
  if (this.position === "bottom")
38128
38128
  return {
38129
38129
  top: "40px",
38130
- left: `-${(600 - e) / 2}px`
38130
+ left: `-${(630 - e) / 2}px`
38131
38131
  };
38132
38132
  if (this.position === "left")
38133
38133
  return {
38134
38134
  bottom: "-140px",
38135
- left: "-606px"
38135
+ left: "-636px"
38136
38136
  };
38137
38137
  if (this.position === "right")
38138
38138
  return {
38139
38139
  bottom: "-140px",
38140
- right: "-606px"
38140
+ right: "-636px"
38141
38141
  };
38142
38142
  },
38143
38143
  timeZoneNames() {
@@ -38282,8 +38282,11 @@ const N0 = {
38282
38282
  }, Z0 = {
38283
38283
  class: "idm-gl4-date-picker",
38284
38284
  ref: "idmGl4DatePicker"
38285
- }, B0 = { class: "flex-1-1-0" }, O0 = { class: "pa-0 w-100 d-flex justify-space-between align-center ga-4" }, E0 = { key: 0 }, j0 = { class: "flex-1-1-0 d-flex justify-end align-center ga-4" };
38286
- function X0(e, t, a, i, o, r) {
38285
+ }, B0 = { class: "flex-1-1-0" }, O0 = { class: "pa-0 w-100 d-flex justify-space-between align-center ga-4" }, E0 = {
38286
+ key: 0,
38287
+ class: "d-flex justify-start align-center flex-wrap ga-3 ml-n2"
38288
+ }, X0 = { class: "flex-1-1-0 d-flex justify-end align-center ga-4" };
38289
+ function j0(e, t, a, i, o, r) {
38287
38290
  const l = I("VIcon"), c = I("VDatePicker"), s = I("v-divider"), h = I("VCardText"), m = I("VDivider"), p = I("VBtn"), g = I("VCardActions"), y = I("VCard");
38288
38291
  return k(), D("div", Z0, [
38289
38292
  n("div", {
@@ -38354,7 +38357,7 @@ function X0(e, t, a, i, o, r) {
38354
38357
  key: 0,
38355
38358
  size: "small",
38356
38359
  variant: "text",
38357
- class: "text-none text-body-2 justify-start",
38360
+ class: "text-none text-body-2 px-0",
38358
38361
  onClick: t[3] || (t[3] = (E) => r.handleFastPick({ dateRange: "past7day" }))
38359
38362
  }, {
38360
38363
  default: L(() => [
@@ -38366,7 +38369,7 @@ function X0(e, t, a, i, o, r) {
38366
38369
  key: 1,
38367
38370
  size: "small",
38368
38371
  variant: "text",
38369
- class: "text-none text-body-2 justify-start",
38372
+ class: "text-none text-body-2 px-0",
38370
38373
  onClick: t[4] || (t[4] = (E) => r.handleFastPick({ dateRange: "past14day" }))
38371
38374
  }, {
38372
38375
  default: L(() => [
@@ -38378,7 +38381,7 @@ function X0(e, t, a, i, o, r) {
38378
38381
  key: 2,
38379
38382
  size: "small",
38380
38383
  variant: "text",
38381
- class: "text-none text-body-2 justify-start",
38384
+ class: "text-none text-body-2 px-0",
38382
38385
  onClick: t[5] || (t[5] = (E) => r.handleFastPick({ dateRange: "past1Month" }))
38383
38386
  }, {
38384
38387
  default: L(() => [
@@ -38390,7 +38393,7 @@ function X0(e, t, a, i, o, r) {
38390
38393
  key: 3,
38391
38394
  size: "small",
38392
38395
  variant: "text",
38393
- class: "text-none text-body-2 justify-start",
38396
+ class: "text-none text-body-2 px-0",
38394
38397
  onClick: t[6] || (t[6] = (E) => r.handleFastPick({ dateRange: "past3Month" }))
38395
38398
  }, {
38396
38399
  default: L(() => [
@@ -38402,7 +38405,7 @@ function X0(e, t, a, i, o, r) {
38402
38405
  key: 4,
38403
38406
  size: "small",
38404
38407
  variant: "text",
38405
- class: "text-none text-body-2 justify-start",
38408
+ class: "text-none text-body-2 px-0",
38406
38409
  onClick: t[7] || (t[7] = (E) => r.handleFastPick({ dateRange: "past6Month" }))
38407
38410
  }, {
38408
38411
  default: L(() => [
@@ -38414,7 +38417,7 @@ function X0(e, t, a, i, o, r) {
38414
38417
  key: 5,
38415
38418
  size: "small",
38416
38419
  variant: "text",
38417
- class: "text-none text-body-2 justify-start",
38420
+ class: "text-none text-body-2 px-0",
38418
38421
  onClick: t[8] || (t[8] = (E) => r.handleFastPick({ dateRange: "past1Year" }))
38419
38422
  }, {
38420
38423
  default: L(() => [
@@ -38426,7 +38429,7 @@ function X0(e, t, a, i, o, r) {
38426
38429
  key: 6,
38427
38430
  size: "small",
38428
38431
  variant: "text",
38429
- class: "text-none text-body-2 justify-start",
38432
+ class: "text-none text-body-2 px-0",
38430
38433
  onClick: t[9] || (t[9] = (E) => r.handleFastPick({ dateRange: "lastMonth" }))
38431
38434
  }, {
38432
38435
  default: L(() => [
@@ -38438,7 +38441,7 @@ function X0(e, t, a, i, o, r) {
38438
38441
  key: 7,
38439
38442
  size: "small",
38440
38443
  variant: "text",
38441
- class: "text-none text-body-2 justify-start",
38444
+ class: "text-none text-body-2 px-0",
38442
38445
  onClick: t[10] || (t[10] = (E) => r.handleFastPick({ dateRange: "lastSeason" }))
38443
38446
  }, {
38444
38447
  default: L(() => [
@@ -38450,7 +38453,7 @@ function X0(e, t, a, i, o, r) {
38450
38453
  key: 8,
38451
38454
  size: "small",
38452
38455
  variant: "text",
38453
- class: "text-none text-body-2 justify-start",
38456
+ class: "text-none text-body-2 px-0",
38454
38457
  onClick: t[11] || (t[11] = (E) => r.handleFastPick({ dateRange: "lastYear" }))
38455
38458
  }, {
38456
38459
  default: L(() => [
@@ -38462,7 +38465,7 @@ function X0(e, t, a, i, o, r) {
38462
38465
  key: 9,
38463
38466
  size: "small",
38464
38467
  variant: "text",
38465
- class: "text-none text-body-2 justify-start",
38468
+ class: "text-none text-body-2 px-0",
38466
38469
  onClick: t[12] || (t[12] = (E) => r.handleFastPick({ dateRange: "forward7day" }))
38467
38470
  }, {
38468
38471
  default: L(() => [
@@ -38474,7 +38477,7 @@ function X0(e, t, a, i, o, r) {
38474
38477
  key: 10,
38475
38478
  size: "small",
38476
38479
  variant: "text",
38477
- class: "text-none text-body-2 justify-start",
38480
+ class: "text-none text-body-2 px-0",
38478
38481
  onClick: t[13] || (t[13] = (E) => r.handleFastPick({ dateRange: "forward14day" }))
38479
38482
  }, {
38480
38483
  default: L(() => [
@@ -38486,7 +38489,7 @@ function X0(e, t, a, i, o, r) {
38486
38489
  key: 11,
38487
38490
  size: "small",
38488
38491
  variant: "text",
38489
- class: "text-none text-body-2 justify-start",
38492
+ class: "text-none text-body-2 px-0",
38490
38493
  onClick: t[14] || (t[14] = (E) => r.handleFastPick({ dateRange: "forward1Month" }))
38491
38494
  }, {
38492
38495
  default: L(() => [
@@ -38498,7 +38501,7 @@ function X0(e, t, a, i, o, r) {
38498
38501
  key: 12,
38499
38502
  size: "small",
38500
38503
  variant: "text",
38501
- class: "text-none text-body-2 justify-start",
38504
+ class: "text-none text-body-2 px-0",
38502
38505
  onClick: t[15] || (t[15] = (E) => r.handleFastPick({ dateRange: "forward3Month" }))
38503
38506
  }, {
38504
38507
  default: L(() => [
@@ -38507,7 +38510,7 @@ function X0(e, t, a, i, o, r) {
38507
38510
  _: 1
38508
38511
  })) : W("", !0)
38509
38512
  ])) : W("", !0),
38510
- n("div", j0, [
38513
+ n("div", X0, [
38511
38514
  C(p, {
38512
38515
  size: "small",
38513
38516
  variant: "tonal",
@@ -38541,7 +38544,7 @@ function X0(e, t, a, i, o, r) {
38541
38544
  }, 8, ["style"])) : W("", !0)
38542
38545
  ], 512);
38543
38546
  }
38544
- const V0 = /* @__PURE__ */ se(N0, [["render", X0]]), lf = {
38547
+ const V0 = /* @__PURE__ */ se(N0, [["render", j0]]), lf = {
38545
38548
  install(e) {
38546
38549
  e.component("MapInitial", F0), e.component("MapboxGL", S0), e.component("TropicalGL", ar), e.component("LatLngGL", tr), e.component("DateTimePicker", eo), e.component("DateRangePicker", V0), e.component("PortDetail", go), e.component("TimePlayer", vr);
38547
38550
  }