@idmwx/idmui-gl4 2.6.2 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ var zr = (e, t, o) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var we = (e, t, o) => (zr(e, typeof t != "symbol" ? t + "" : t, o), o);
4
4
  import Xe from "axios";
5
5
  import { useTheme as Fe } from "vuetify";
6
- import { openBlock as C, createElementBlock as D, resolveComponent as R, createBlock as Z, normalizeClass as _e, withCtx as P, createVNode as L, withModifiers as Se, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as de, Fragment as Ie, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
6
+ import { openBlock as P, createElementBlock as I, resolveComponent as R, createBlock as B, normalizeClass as _e, withCtx as C, createVNode as L, withModifiers as Se, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as de, 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";
8
8
  import G from "moment";
9
9
  import { LngLatHelper as ce, TropicalHelper as Ii, LaneHelper as Je } from "@idm-plugin/geo";
@@ -114,7 +114,7 @@ const ne = (e, t) => {
114
114
  }
115
115
  };
116
116
  function Tr(e, t, o, i, a, r) {
117
- return C(), D("div");
117
+ return P(), I("div");
118
118
  }
119
119
  const Rr = /* @__PURE__ */ ne(Sr, [["render", Tr]]), Ir = {
120
120
  name: "IdmGmdssArea",
@@ -241,7 +241,7 @@ const Rr = /* @__PURE__ */ ne(Sr, [["render", Tr]]), Ir = {
241
241
  }
242
242
  };
243
243
  function Dr(e, t, o, i, a, r) {
244
- return C(), D("div");
244
+ return P(), I("div");
245
245
  }
246
246
  const Ar = /* @__PURE__ */ ne(Ir, [["render", Dr]]), Gr = {
247
247
  name: "IdmEcaZone",
@@ -337,7 +337,7 @@ const Ar = /* @__PURE__ */ ne(Ir, [["render", Dr]]), Gr = {
337
337
  }
338
338
  };
339
339
  function Wr(e, t, o, i, a, r) {
340
- return C(), D("div");
340
+ return P(), I("div");
341
341
  }
342
342
  const Fr = /* @__PURE__ */ ne(Gr, [["render", Wr]]);
343
343
  const Nr = {
@@ -496,17 +496,17 @@ const Nr = {
496
496
  this.showMakerInfo = !1, (e = this.marker) == null || e.remove();
497
497
  }
498
498
  }
499
- }, Br = ["innerHTML"];
500
- function Zr(e, t, o, i, a, r) {
499
+ }, Zr = ["innerHTML"];
500
+ function Br(e, t, o, i, a, r) {
501
501
  const l = R("VBtn"), c = R("v-card-text"), s = R("v-card");
502
- return a.showMakerInfo ? (C(), Z(s, {
502
+ return a.showMakerInfo ? (P(), B(s, {
503
503
  key: 0,
504
504
  class: _e(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"]),
505
505
  id: "idm-gl4-zone-info"
506
506
  }, {
507
- default: P(() => [
507
+ default: C(() => [
508
508
  L(c, null, {
509
- default: P(() => {
509
+ default: C(() => {
510
510
  var d;
511
511
  return [
512
512
  L(l, {
@@ -516,7 +516,7 @@ function Zr(e, t, o, i, a, r) {
516
516
  class: "close",
517
517
  onClick: Se(r.handleRemoveMarker, ["stop"])
518
518
  }, {
519
- default: P(() => t[0] || (t[0] = [
519
+ default: C(() => t[0] || (t[0] = [
520
520
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
521
521
  ])),
522
522
  _: 1,
@@ -525,7 +525,7 @@ function Zr(e, t, o, i, a, r) {
525
525
  n("div", {
526
526
  class: "rich-context",
527
527
  innerHTML: (d = a.form) == null ? void 0 : d.name
528
- }, null, 8, Br)
528
+ }, null, 8, Zr)
529
529
  ];
530
530
  }),
531
531
  _: 1
@@ -534,7 +534,7 @@ function Zr(e, t, o, i, a, r) {
534
534
  _: 1
535
535
  }, 8, ["class"])) : N("", !0);
536
536
  }
537
- const Er = /* @__PURE__ */ ne(Nr, [["render", Zr]]);
537
+ const Er = /* @__PURE__ */ ne(Nr, [["render", Br]]);
538
538
  const Or = {
539
539
  name: "PortDetail",
540
540
  props: {
@@ -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
  ], (o = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1516
- var c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H, U, te, X, O, $, A, ie, ge, xe, ke;
1516
+ var c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke;
1517
1517
  let r = {};
1518
1518
  const l = ((c = Xo.pickHourly(e, G(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((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.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 = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.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((k = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.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 = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (I = l == null ? void 0 : l.wave) == null ? void 0 : I.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((te = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : te.height, 1) ?? "-", r.swellDir = (O = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.swell) == null ? void 0 : O.direction, r.swellPeriod = this.computeRoundPrecision((A = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ie = l == null ? void 0 : l.current) == null ? void 0 : ie.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${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
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((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.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 = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.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((k = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.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 = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (D = l == null ? void 0 : l.wave) == null ? void 0 : D.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((te = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : te.height, 1) ?? "-", r.swellDir = (O = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.swell) == null ? void 0 : O.direction, r.swellPeriod = this.computeRoundPrecision((A = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ie = l == null ? void 0 : l.current) == null ? void 0 : ie.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${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1520
1520
  });
1521
1521
  },
1522
1522
  handleTide() {
@@ -1712,23 +1712,23 @@ const Or = {
1712
1712
  }, Nl = {
1713
1713
  class: "px-1 text-center text-label font-weight-400",
1714
1714
  width: "120"
1715
- }, Bl = {
1715
+ }, Zl = {
1716
1716
  class: "px-1 text-center text-label font-weight-400",
1717
1717
  width: "120"
1718
- }, Zl = {
1718
+ }, Bl = {
1719
1719
  class: "px-1 text-center text-label font-weight-400",
1720
1720
  width: "120"
1721
1721
  }, El = { class: "px-1 text-center" }, Ol = { class: "px-1 text-center" }, Xl = { class: "px-1 text-center" };
1722
1722
  function jl(e, t, o, i, a, r) {
1723
1723
  const l = R("VBtn"), c = R("VCardTitle"), s = R("VDivider"), d = R("VBtnToggle"), m = R("VCard");
1724
- return C(), Z(m, {
1724
+ return P(), B(m, {
1725
1725
  class: _e(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
1726
1726
  }, {
1727
- default: P(() => {
1727
+ default: C(() => {
1728
1728
  var g, p, y;
1729
1729
  return [
1730
1730
  L(c, { class: "w-100" }, {
1731
- default: P(() => {
1731
+ default: C(() => {
1732
1732
  var f, h, u, x, v, w;
1733
1733
  return [
1734
1734
  n("div", Xr, [
@@ -1739,11 +1739,11 @@ function jl(e, t, o, i, a, r) {
1739
1739
  }, null, 2),
1740
1740
  n("div", null, b((x = o.port) == null ? void 0 : x.name), 1)
1741
1741
  ]),
1742
- o.simple ? (C(), D("div", Vr, [
1742
+ o.simple ? (P(), I("div", Vr, [
1743
1743
  (v = o.followList) != null && v.some((k) => {
1744
1744
  var S;
1745
1745
  return ((S = k.port) == null ? void 0 : S.id) === o.portId;
1746
- }) ? (C(), Z(l, {
1746
+ }) ? (P(), B(l, {
1747
1747
  key: 0,
1748
1748
  class: "text-none rounded-circle",
1749
1749
  variant: "text",
@@ -1753,12 +1753,12 @@ function jl(e, t, o, i, a, r) {
1753
1753
  "min-width": "28",
1754
1754
  onClick: r.handleCancelFollow
1755
1755
  }, {
1756
- default: P(() => t[2] || (t[2] = [
1756
+ default: C(() => t[2] || (t[2] = [
1757
1757
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
1758
1758
  ])),
1759
1759
  _: 1,
1760
1760
  __: [2]
1761
- }, 8, ["onClick"])) : (C(), Z(l, {
1761
+ }, 8, ["onClick"])) : (P(), B(l, {
1762
1762
  key: 1,
1763
1763
  class: "text-none rounded-circle",
1764
1764
  variant: "plain",
@@ -1768,7 +1768,7 @@ function jl(e, t, o, i, a, r) {
1768
1768
  "min-width": "28",
1769
1769
  onClick: r.handleFollow
1770
1770
  }, {
1771
- default: P(() => t[3] || (t[3] = [
1771
+ default: C(() => t[3] || (t[3] = [
1772
1772
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
1773
1773
  ])),
1774
1774
  _: 1,
@@ -1781,13 +1781,13 @@ function jl(e, t, o, i, a, r) {
1781
1781
  class: "",
1782
1782
  onClick: r.handleClose
1783
1783
  }, {
1784
- default: P(() => t[4] || (t[4] = [
1784
+ default: C(() => t[4] || (t[4] = [
1785
1785
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
1786
1786
  ])),
1787
1787
  _: 1,
1788
1788
  __: [4]
1789
1789
  }, 8, ["onClick"])
1790
- ])) : (C(), D("div", Hr, [
1790
+ ])) : (P(), I("div", Hr, [
1791
1791
  L(l, {
1792
1792
  icon: "",
1793
1793
  density: "compact",
@@ -1795,7 +1795,7 @@ function jl(e, t, o, i, a, r) {
1795
1795
  class: "",
1796
1796
  onClick: r.handleClose
1797
1797
  }, {
1798
- default: P(() => t[5] || (t[5] = [
1798
+ default: C(() => t[5] || (t[5] = [
1799
1799
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
1800
1800
  ])),
1801
1801
  _: 1,
@@ -1815,11 +1815,11 @@ function jl(e, t, o, i, a, r) {
1815
1815
  _: 1
1816
1816
  }),
1817
1817
  L(s, { class: "w-100" }),
1818
- o.simple ? N("", !0) : (C(), D("div", Ur, [
1818
+ o.simple ? N("", !0) : (P(), I("div", Ur, [
1819
1819
  (g = o.followList) != null && g.some((f) => {
1820
1820
  var h;
1821
1821
  return ((h = f.port) == null ? void 0 : h.id) === o.portId;
1822
- }) ? (C(), Z(l, {
1822
+ }) ? (P(), B(l, {
1823
1823
  key: 0,
1824
1824
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1825
1825
  variant: "tonal",
@@ -1827,14 +1827,14 @@ function jl(e, t, o, i, a, r) {
1827
1827
  height: "32",
1828
1828
  onClick: r.handleCancelFollow
1829
1829
  }, {
1830
- prepend: P(() => t[7] || (t[7] = [
1830
+ prepend: C(() => t[7] || (t[7] = [
1831
1831
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
1832
1832
  ])),
1833
- default: P(() => [
1833
+ default: C(() => [
1834
1834
  de(" " + b(e.$t("actions.unfollow")), 1)
1835
1835
  ]),
1836
1836
  _: 1
1837
- }, 8, ["onClick"])) : (C(), Z(l, {
1837
+ }, 8, ["onClick"])) : (P(), B(l, {
1838
1838
  key: 1,
1839
1839
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
1840
1840
  variant: "tonal",
@@ -1842,10 +1842,10 @@ function jl(e, t, o, i, a, r) {
1842
1842
  height: "32",
1843
1843
  onClick: r.handleFollow
1844
1844
  }, {
1845
- prepend: P(() => t[8] || (t[8] = [
1845
+ prepend: C(() => t[8] || (t[8] = [
1846
1846
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
1847
1847
  ])),
1848
- default: P(() => [
1848
+ default: C(() => [
1849
1849
  de(b(e.$t("actions.follow")) + " ", 1)
1850
1850
  ]),
1851
1851
  _: 1
@@ -1857,7 +1857,7 @@ function jl(e, t, o, i, a, r) {
1857
1857
  height: "32",
1858
1858
  onClick: r.handleMeteoMore
1859
1859
  }, {
1860
- default: P(() => [
1860
+ default: C(() => [
1861
1861
  de(b(e.$t("actions.7dayForcast")), 1)
1862
1862
  ]),
1863
1863
  _: 1
@@ -1870,7 +1870,7 @@ function jl(e, t, o, i, a, r) {
1870
1870
  n("div", Jr, [
1871
1871
  n("div", Kr, [
1872
1872
  n("div", $r, [
1873
- (C(), D("svg", qr, [
1873
+ (P(), I("svg", qr, [
1874
1874
  n("use", {
1875
1875
  "xlink:href": `#icon-title-${o.theme}`
1876
1876
  }, null, 8, Qr)
@@ -1897,7 +1897,7 @@ function jl(e, t, o, i, a, r) {
1897
1897
  n("div", ml, [
1898
1898
  n("div", dl, [
1899
1899
  n("div", hl, [
1900
- (C(), D("svg", ul, [
1900
+ (P(), I("svg", ul, [
1901
1901
  n("use", {
1902
1902
  "xlink:href": `#icon-title-${o.theme}`
1903
1903
  }, null, 8, pl)
@@ -1919,15 +1919,15 @@ function jl(e, t, o, i, a, r) {
1919
1919
  "min-height": "26",
1920
1920
  rounded: "1"
1921
1921
  }, {
1922
- default: P(() => [
1923
- (C(!0), D(Ie, null, De(r.dateList, (f) => (C(), Z(l, {
1922
+ default: C(() => [
1923
+ (P(!0), I(Ie, null, De(r.dateList, (f) => (P(), B(l, {
1924
1924
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1925
1925
  density: "compact",
1926
1926
  color: "primary",
1927
1927
  height: "26",
1928
1928
  value: f.index
1929
1929
  }, {
1930
- default: P(() => [
1930
+ default: C(() => [
1931
1931
  de(b(f.label), 1)
1932
1932
  ]),
1933
1933
  _: 2
@@ -1937,40 +1937,40 @@ function jl(e, t, o, i, a, r) {
1937
1937
  }, 8, ["modelValue"]),
1938
1938
  n("table", gl, [
1939
1939
  n("tbody", null, [
1940
- (C(!0), D(Ie, null, De(a.tableData, (f) => (C(), D("tr", {
1940
+ (P(!0), I(Ie, null, De(a.tableData, (f) => (P(), I("tr", {
1941
1941
  key: f.id
1942
1942
  }, [
1943
1943
  n("th", fl, [
1944
1944
  de(b(e.$t(`${f.key}`)) + " ", 1),
1945
- f.unit ? (C(), D("span", yl, " ( " + b(f.unit) + " )", 1)) : N("", !0)
1945
+ f.unit ? (P(), I("span", yl, " ( " + b(f.unit) + " )", 1)) : N("", !0)
1946
1946
  ]),
1947
1947
  n("td", bl, [
1948
- f.img ? (C(), D("img", {
1948
+ f.img ? (P(), I("img", {
1949
1949
  key: 0,
1950
1950
  src: f == null ? void 0 : f.value0,
1951
1951
  style: { height: "30px" }
1952
- }, null, 8, wl)) : (C(), D("span", xl, b((f == null ? void 0 : f.value0) ?? "-"), 1))
1952
+ }, null, 8, wl)) : (P(), I("span", xl, b((f == null ? void 0 : f.value0) ?? "-"), 1))
1953
1953
  ]),
1954
1954
  n("td", vl, [
1955
- f.img ? (C(), D("img", {
1955
+ f.img ? (P(), I("img", {
1956
1956
  key: 0,
1957
1957
  src: f == null ? void 0 : f.value1,
1958
1958
  style: { height: "30px" }
1959
- }, null, 8, kl)) : (C(), D("span", _l, b((f == null ? void 0 : f.value1) ?? "-"), 1))
1959
+ }, null, 8, kl)) : (P(), I("span", _l, b((f == null ? void 0 : f.value1) ?? "-"), 1))
1960
1960
  ]),
1961
1961
  n("td", zl, [
1962
- f.img ? (C(), D("img", {
1962
+ f.img ? (P(), I("img", {
1963
1963
  key: 0,
1964
1964
  src: f == null ? void 0 : f.value2,
1965
1965
  style: { height: "30px" }
1966
- }, null, 8, Ll)) : (C(), D("span", Pl, b((f == null ? void 0 : f.value2) ?? "-"), 1))
1966
+ }, null, 8, Ll)) : (P(), I("span", Pl, b((f == null ? void 0 : f.value2) ?? "-"), 1))
1967
1967
  ]),
1968
1968
  n("td", Cl, [
1969
- f.img ? (C(), D("img", {
1969
+ f.img ? (P(), I("img", {
1970
1970
  key: 0,
1971
1971
  src: f == null ? void 0 : f.value3,
1972
1972
  style: { height: "30px" }
1973
- }, null, 8, Ml)) : (C(), D("span", Sl, b((f == null ? void 0 : f.value3) ?? "-"), 1))
1973
+ }, null, 8, Ml)) : (P(), I("span", Sl, b((f == null ? void 0 : f.value3) ?? "-"), 1))
1974
1974
  ])
1975
1975
  ]))), 128))
1976
1976
  ])
@@ -1980,7 +1980,7 @@ function jl(e, t, o, i, a, r) {
1980
1980
  n("div", Tl, [
1981
1981
  n("div", Rl, [
1982
1982
  n("div", Il, [
1983
- (C(), D("svg", Dl, [
1983
+ (P(), I("svg", Dl, [
1984
1984
  n("use", {
1985
1985
  "xlink:href": `#icon-title-${o.theme}`
1986
1986
  }, null, 8, Al)
@@ -1988,14 +1988,14 @@ function jl(e, t, o, i, a, r) {
1988
1988
  n("div", null, b(e.$t("tide.tideTimes")), 1)
1989
1989
  ]),
1990
1990
  n("div", Gl, [
1991
- a.showTideDetail ? (C(), Z(l, {
1991
+ a.showTideDetail ? (P(), B(l, {
1992
1992
  key: 0,
1993
1993
  icon: "mdi-eye-off-outline",
1994
1994
  density: "compact",
1995
1995
  variant: "plain",
1996
1996
  size: "small",
1997
1997
  onClick: t[1] || (t[1] = (f) => a.showTideDetail = !1)
1998
- })) : (C(), Z(l, {
1998
+ })) : (P(), B(l, {
1999
1999
  key: 1,
2000
2000
  icon: "mdi-eye-outline",
2001
2001
  density: "compact",
@@ -2005,7 +2005,7 @@ function jl(e, t, o, i, a, r) {
2005
2005
  }, null, 8, ["onClick"]))
2006
2006
  ])
2007
2007
  ]),
2008
- a.showTideDetail ? (C(), D("div", {
2008
+ a.showTideDetail ? (P(), I("div", {
2009
2009
  key: 0,
2010
2010
  class: _e(["w-100 gray-bg-2 rounded", o.simple ? "pa-2" : "pa-4"])
2011
2011
  }, [
@@ -2014,12 +2014,12 @@ function jl(e, t, o, i, a, r) {
2014
2014
  n("tbody", null, [
2015
2015
  n("tr", null, [
2016
2016
  n("th", Nl, b(e.$t("tide.tide")), 1),
2017
- n("th", Bl, b(e.$t("time.time")) + " ( LT ) ", 1),
2018
- n("th", Zl, b(e.$t("tide.height")) + " ( m )", 1)
2017
+ n("th", Zl, b(e.$t("time.time")) + " ( LT ) ", 1),
2018
+ n("th", Bl, b(e.$t("tide.height")) + " ( m )", 1)
2019
2019
  ]),
2020
- (C(!0), D(Ie, null, De(a.tideTableData, (f, h) => {
2020
+ (P(!0), I(Ie, null, De(a.tideTableData, (f, h) => {
2021
2021
  var u;
2022
- return C(), D("tr", { key: h }, [
2022
+ return P(), I("tr", { key: h }, [
2023
2023
  n("td", El, b(e.$t(`tide.${(u = f == null ? void 0 : f.type) == null ? void 0 : u.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
2024
2024
  n("td", Ol, b(r.computeLocalTime(f == null ? void 0 : f.date, o.port, "MM-DD HH:mm")), 1),
2025
2025
  n("td", Xl, b((f == null ? void 0 : f.height) ?? "-") + " m", 1)
@@ -2145,14 +2145,14 @@ const Vl = {
2145
2145
  }, Hl = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Yl = { class: "d-flex justify-start align-center text-label" }, Ul = { class: "d-flex justify-start align-center text-label" };
2146
2146
  function Jl(e, t, o, i, a, r) {
2147
2147
  const l = R("VCardText"), c = R("VCard"), s = R("PortDetail");
2148
- return C(), D("div", null, [
2148
+ return P(), I("div", null, [
2149
2149
  Qe(L(c, {
2150
2150
  id: "idmPortInfo",
2151
2151
  ref: "idmPortInfo"
2152
2152
  }, {
2153
- default: P(() => [
2153
+ default: C(() => [
2154
2154
  L(l, { class: "text-body-1 pr-8" }, {
2155
- default: P(() => [
2155
+ default: C(() => [
2156
2156
  n("div", Hl, [
2157
2157
  n("div", null, b(e.$t("port.port")), 1),
2158
2158
  n("div", Yl, [
@@ -2171,7 +2171,7 @@ function Jl(e, t, o, i, a, r) {
2171
2171
  }, 512), [
2172
2172
  [et, a.showInfo]
2173
2173
  ]),
2174
- a.showDetail ? (C(), Z(s, Y({
2174
+ a.showDetail ? (P(), B(s, Y({
2175
2175
  key: 0,
2176
2176
  portId: a.portId,
2177
2177
  port: a.port,
@@ -2223,7 +2223,7 @@ const Kl = /* @__PURE__ */ ne(Vl, [["render", Jl], ["__scopeId", "data-v-0c0f27d
2223
2223
  }
2224
2224
  };
2225
2225
  function ql(e, t, o, i, a, r) {
2226
- return C(), D("div");
2226
+ return P(), I("div");
2227
2227
  }
2228
2228
  const Ql = /* @__PURE__ */ ne($l, [["render", ql]]), en = {
2229
2229
  name: "IdmTimezone",
@@ -2429,7 +2429,7 @@ const Ql = /* @__PURE__ */ ne($l, [["render", ql]]), en = {
2429
2429
  }
2430
2430
  };
2431
2431
  function tn(e, t, o, i, a, r) {
2432
- return C(), D("div");
2432
+ return P(), I("div");
2433
2433
  }
2434
2434
  const on = /* @__PURE__ */ ne(en, [["render", tn]]), an = {
2435
2435
  name: "IdmVoluntaryReportingArea",
@@ -2524,7 +2524,7 @@ const on = /* @__PURE__ */ ne(en, [["render", tn]]), an = {
2524
2524
  }
2525
2525
  };
2526
2526
  function rn(e, t, o, i, a, r) {
2527
- return C(), D("div");
2527
+ return P(), I("div");
2528
2528
  }
2529
2529
  const ln = /* @__PURE__ */ ne(an, [["render", rn]]), nn = {
2530
2530
  name: "IdmSpecialArea",
@@ -2619,7 +2619,7 @@ const ln = /* @__PURE__ */ ne(an, [["render", rn]]), nn = {
2619
2619
  }
2620
2620
  };
2621
2621
  function sn(e, t, o, i, a, r) {
2622
- return C(), D("div");
2622
+ return P(), I("div");
2623
2623
  }
2624
2624
  const cn = /* @__PURE__ */ ne(nn, [["render", sn]]), mn = {
2625
2625
  name: "IdmTerminator",
@@ -2673,7 +2673,7 @@ const cn = /* @__PURE__ */ ne(nn, [["render", sn]]), mn = {
2673
2673
  }
2674
2674
  };
2675
2675
  function dn(e, t, o, i, a, r) {
2676
- return C(), D("div");
2676
+ return P(), I("div");
2677
2677
  }
2678
2678
  const hn = /* @__PURE__ */ ne(mn, [["render", dn]]), un = {
2679
2679
  name: "IdmWorld12nm",
@@ -3078,7 +3078,7 @@ const kn = {
3078
3078
  }, _n = { class: "d-flex justify-space-between align-center" }, zn = { class: "d-flex justify-start text-h5 my-2" }, Ln = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Pn = { class: "summary-box w-100" }, Cn = { class: "d-flex justify-space-between align-center py-2" }, Mn = { class: "d-flex justify-center align-center text-h6 ga-2" }, Sn = {
3079
3079
  class: "multi-color-icon",
3080
3080
  "aria-hidden": "true"
3081
- }, Tn = ["xlink:href"], Rn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, In = { class: "w-100 d-flex justify-start align-center" }, Dn = { class: "w-30 text-label font-weight-400" }, An = { class: "flex-1-1-0" }, Gn = { class: "w-100 d-flex justify-start align-center" }, Wn = { class: "w-30 text-label font-weight-400" }, Fn = { class: "flex-1-1-0" }, Nn = { class: "w-100 d-flex justify-start align-center" }, Bn = { class: "w-30 text-label font-weight-400" }, Zn = { class: "flex-1-1-0" }, En = { 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" }, Xn = { class: "d-flex justify-center align-center text-h6 ga-2" }, jn = {
3081
+ }, Tn = ["xlink:href"], Rn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, In = { class: "w-100 d-flex justify-start align-center" }, Dn = { class: "w-30 text-label font-weight-400" }, An = { class: "flex-1-1-0" }, Gn = { class: "w-100 d-flex justify-start align-center" }, Wn = { class: "w-30 text-label font-weight-400" }, Fn = { class: "flex-1-1-0" }, Nn = { class: "w-100 d-flex justify-start align-center" }, Zn = { class: "w-30 text-label font-weight-400" }, Bn = { class: "flex-1-1-0" }, En = { 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" }, Xn = { class: "d-flex justify-center align-center text-h6 ga-2" }, jn = {
3082
3082
  class: "multi-color-icon",
3083
3083
  "aria-hidden": "true"
3084
3084
  }, Vn = ["xlink:href"], Hn = {
@@ -3101,14 +3101,14 @@ const kn = {
3101
3101
  }, $n = { class: "px-1 text-center" }, qn = { class: "px-1 text-center" }, Qn = { class: "px-1 text-center" };
3102
3102
  function es(e, t, o, i, a, r) {
3103
3103
  const l = R("VBtn"), c = R("v-card-title"), s = R("v-divider"), d = R("VBtnToggle"), m = R("v-card");
3104
- return C(), Z(m, {
3104
+ return P(), B(m, {
3105
3105
  class: _e(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
3106
3106
  }, {
3107
- default: P(() => {
3107
+ default: C(() => {
3108
3108
  var g, p;
3109
3109
  return [
3110
3110
  L(c, { class: "w-100" }, {
3111
- default: P(() => {
3111
+ default: C(() => {
3112
3112
  var y;
3113
3113
  return [
3114
3114
  n("div", _n, [
@@ -3122,7 +3122,7 @@ function es(e, t, o, i, a, r) {
3122
3122
  class: "",
3123
3123
  onClick: r.handleClose
3124
3124
  }, {
3125
- default: P(() => t[1] || (t[1] = [
3125
+ default: C(() => t[1] || (t[1] = [
3126
3126
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
3127
3127
  ])),
3128
3128
  _: 1,
@@ -3143,7 +3143,7 @@ function es(e, t, o, i, a, r) {
3143
3143
  n("div", Pn, [
3144
3144
  n("div", Cn, [
3145
3145
  n("div", Mn, [
3146
- (C(), D("svg", Sn, [
3146
+ (P(), I("svg", Sn, [
3147
3147
  n("use", {
3148
3148
  "xlink:href": `#icon-title-${o.theme}`
3149
3149
  }, null, 8, Tn)
@@ -3161,15 +3161,15 @@ function es(e, t, o, i, a, r) {
3161
3161
  n("div", Fn, b(r.computePosition(o.station)), 1)
3162
3162
  ]),
3163
3163
  n("div", Nn, [
3164
- n("div", Bn, b(e.$t("time.localTime")), 1),
3165
- n("div", Zn, b(r.computeLocalTime(o.realTime, o.station)) + " " + b(r.computeTimeOffset(o.station)), 1)
3164
+ n("div", Zn, b(e.$t("time.localTime")), 1),
3165
+ n("div", Bn, b(r.computeLocalTime(o.realTime, o.station)) + " " + b(r.computeTimeOffset(o.station)), 1)
3166
3166
  ])
3167
3167
  ])
3168
3168
  ]),
3169
3169
  n("div", En, [
3170
3170
  n("div", On, [
3171
3171
  n("div", Xn, [
3172
- (C(), D("svg", jn, [
3172
+ (P(), I("svg", jn, [
3173
3173
  n("use", {
3174
3174
  "xlink:href": `#icon-title-${o.theme}`
3175
3175
  }, null, 8, Vn)
@@ -3191,15 +3191,15 @@ function es(e, t, o, i, a, r) {
3191
3191
  "min-height": "26",
3192
3192
  rounded: "1"
3193
3193
  }, {
3194
- default: P(() => [
3195
- (C(!0), D(Ie, null, De(r.dateList, (y) => (C(), Z(l, {
3194
+ default: C(() => [
3195
+ (P(!0), I(Ie, null, De(r.dateList, (y) => (P(), B(l, {
3196
3196
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3197
3197
  density: "compact",
3198
3198
  color: "primary",
3199
3199
  height: "26",
3200
3200
  value: y.index
3201
3201
  }, {
3202
- default: P(() => [
3202
+ default: C(() => [
3203
3203
  de(b(y.label), 1)
3204
3204
  ]),
3205
3205
  _: 2
@@ -3215,9 +3215,9 @@ function es(e, t, o, i, a, r) {
3215
3215
  n("th", Jn, b(e.$t("time.time")) + " ( LT ) ", 1),
3216
3216
  n("th", Kn, b(e.$t("tide.height")) + " ( m )", 1)
3217
3217
  ]),
3218
- (C(!0), D(Ie, null, De(a.tideTableData, (y, f) => {
3218
+ (P(!0), I(Ie, null, De(a.tideTableData, (y, f) => {
3219
3219
  var h;
3220
- return C(), D("tr", { key: f }, [
3220
+ return P(), I("tr", { key: f }, [
3221
3221
  n("td", $n, b(e.$t(`tide.${(h = y == null ? void 0 : y.type) == null ? void 0 : h.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
3222
3222
  n("td", qn, b(r.computeLocalTime(y == null ? void 0 : y.date, o.station, "MM-DD HH:mm")), 1),
3223
3223
  n("td", Qn, b((y == null ? void 0 : y.height) ?? "-") + " m", 1)
@@ -3312,11 +3312,11 @@ const os = {
3312
3312
  }, as = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, is = { class: "d-flex justify-start align-center" }, rs = { class: "d-flex justify-start align-center" }, ls = { class: "text-label" };
3313
3313
  function ns(e, t, o, i, a, r) {
3314
3314
  const l = R("v-card-text"), c = R("v-card"), s = R("TideDetail");
3315
- return C(), D("div", null, [
3315
+ return P(), I("div", null, [
3316
3316
  Qe(L(c, { id: "idmTidalInfo" }, {
3317
- default: P(() => [
3317
+ default: C(() => [
3318
3318
  L(l, { class: "pr-8 text-body-1" }, {
3319
- default: P(() => {
3319
+ default: C(() => {
3320
3320
  var d, m;
3321
3321
  return [
3322
3322
  n("div", as, [
@@ -3334,7 +3334,7 @@ function ns(e, t, o, i, a, r) {
3334
3334
  }, 512), [
3335
3335
  [et, a.showInfo]
3336
3336
  ]),
3337
- a.showDetail ? (C(), Z(s, Y({
3337
+ a.showDetail ? (P(), B(s, Y({
3338
3338
  key: 0,
3339
3339
  station: a.station,
3340
3340
  onClose: r.handleCloseDetail
@@ -3559,7 +3559,7 @@ const hs = {
3559
3559
  };
3560
3560
  function us(e, t, o, i, a, r) {
3561
3561
  var l, c, s;
3562
- return o.simple ? N("", !0) : (C(), D("div", {
3562
+ return o.simple ? N("", !0) : (P(), I("div", {
3563
3563
  key: 0,
3564
3564
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3565
3565
  style: ue({ right: a.right + "px" })
@@ -4482,14 +4482,14 @@ const ps = {
4482
4482
  }, gs = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, fs = { class: "d-flex justify-start align-center text-label" }, ys = { class: "d-flex justify-start align-center text-label" };
4483
4483
  function bs(e, t, o, i, a, r) {
4484
4484
  const l = R("v-card-text"), c = R("v-card"), s = R("PortDetail");
4485
- return C(), D("div", null, [
4485
+ return P(), I("div", null, [
4486
4486
  Qe(L(c, {
4487
4487
  id: "idmFollowPortInfo",
4488
4488
  ref: "idmFollowPortInfo"
4489
4489
  }, {
4490
- default: P(() => [
4490
+ default: C(() => [
4491
4491
  L(l, { class: "text-body-1 pr-8" }, {
4492
- default: P(() => [
4492
+ default: C(() => [
4493
4493
  n("div", gs, [
4494
4494
  n("div", null, b(e.$t("port.port")), 1),
4495
4495
  n("div", fs, [
@@ -4508,7 +4508,7 @@ function bs(e, t, o, i, a, r) {
4508
4508
  }, 512), [
4509
4509
  [et, a.showInfo]
4510
4510
  ]),
4511
- a.showDetail ? (C(), Z(s, Y({
4511
+ a.showDetail ? (P(), B(s, Y({
4512
4512
  key: 0,
4513
4513
  portId: a.portId,
4514
4514
  port: a.port,
@@ -5441,19 +5441,19 @@ const xs = {
5441
5441
  };
5442
5442
  function zs(e, t, o, i, a, r) {
5443
5443
  const l = R("v-card-text"), c = R("v-card");
5444
- return Qe((C(), Z(c, {
5444
+ return Qe((P(), B(c, {
5445
5445
  id: "idmFollowPositionInfo",
5446
5446
  ref: "idmFollowPositionInfo"
5447
5447
  }, {
5448
- default: P(() => [
5448
+ default: C(() => [
5449
5449
  L(l, { class: "text-body-1 pr-8" }, {
5450
- default: P(() => [
5450
+ default: C(() => [
5451
5451
  n("div", vs, [
5452
5452
  t[0] || (t[0] = n("div", null, "Location", -1)),
5453
5453
  n("div", ks, [
5454
5454
  n("span", null, b(r.computePosition(a.position)), 1)
5455
5455
  ]),
5456
- a.position.remark ? (C(), D("div", _s, [
5456
+ a.position.remark ? (P(), I("div", _s, [
5457
5457
  n("span", null, b(a.position.remark ?? "-"), 1)
5458
5458
  ])) : N("", !0)
5459
5459
  ])
@@ -5693,9 +5693,9 @@ const Ps = {
5693
5693
  class: "border rounded-sm"
5694
5694
  }, Ws = { class: "text-body-2 text-center pt-2" };
5695
5695
  function Fs(e, t, o, i, a, r) {
5696
- var ee, he, I, H, U, te, X, O, $;
5696
+ var ee, he, D, H, U, te, X, O, $;
5697
5697
  const l = R("VBtn"), c = R("VTooltip"), s = R("VCardTitle"), d = R("VCardItem"), m = R("VCheckbox"), g = R("VCardText"), p = R("VCard"), y = R("IdmLatLng"), f = R("IdmTerminator"), h = R("IdmTimezone"), u = R("IdmPort"), x = R("IdmAlertZone"), v = R("IdmTideStations"), w = R("IdmEcaZone"), k = R("IdmWarZone"), S = R("IdmGmdssArea"), _ = R("IdmLoadLine"), M = R("IdmWorldMarine"), T = R("IdmVRA"), W = R("IdmSpecialArea"), F = R("IdmWorld12nm"), E = R("IdmChinaRoute"), V = R("IdmIceAreas"), J = R("IdmFollowPort"), Q = R("IdmFollowPosition");
5698
- return C(), D("div", Cs, [
5698
+ return P(), I("div", Cs, [
5699
5699
  n("div", {
5700
5700
  class: _e(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
5701
5701
  style: ue({ top: o.top + 10 + "px", right: a.right + "px", paddingTop: o.paddingTop + "px", height: o.menuHeight + "px" })
@@ -5708,7 +5708,7 @@ function Fs(e, t, o, i, a, r) {
5708
5708
  "open-on-focus": !o.simple,
5709
5709
  "open-on-hover": !o.simple
5710
5710
  }, {
5711
- activator: P(({ props: A }) => [
5711
+ activator: C(({ props: A }) => [
5712
5712
  L(l, Y(A, {
5713
5713
  "min-width": "32",
5714
5714
  width: "32",
@@ -5716,7 +5716,7 @@ function Fs(e, t, o, i, a, r) {
5716
5716
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
5717
5717
  onClick: r.handleMenuToggle
5718
5718
  }), {
5719
- default: P(() => t[5] || (t[5] = [
5719
+ default: C(() => t[5] || (t[5] = [
5720
5720
  n("i", { class: "iconfont icon-Layer text-h4" }, null, -1)
5721
5721
  ])),
5722
5722
  _: 2,
@@ -5739,7 +5739,7 @@ function Fs(e, t, o, i, a, r) {
5739
5739
  class: "mr-n2",
5740
5740
  onClick: r.handleMenuToggle
5741
5741
  }, {
5742
- default: P(() => t[6] || (t[6] = [
5742
+ default: C(() => t[6] || (t[6] = [
5743
5743
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
5744
5744
  ])),
5745
5745
  _: 1,
@@ -5753,11 +5753,11 @@ function Fs(e, t, o, i, a, r) {
5753
5753
  class: "block-bg mx-auto mb-2",
5754
5754
  elevation: "0"
5755
5755
  }, {
5756
- default: P(() => [
5756
+ default: C(() => [
5757
5757
  L(d, { class: "border-b-thin" }, {
5758
- default: P(() => [
5758
+ default: C(() => [
5759
5759
  L(s, { class: "text-h6" }, {
5760
- default: P(() => [
5760
+ default: C(() => [
5761
5761
  de(b(e.$t("layer.mapFeathers")), 1)
5762
5762
  ]),
5763
5763
  _: 1
@@ -5766,9 +5766,9 @@ function Fs(e, t, o, i, a, r) {
5766
5766
  _: 1
5767
5767
  }),
5768
5768
  L(g, { class: "pb-2" }, {
5769
- default: P(() => [
5769
+ default: C(() => [
5770
5770
  n("div", Ts, [
5771
- (C(!0), D(Ie, null, De(a.mapFeathers, (A) => (C(), D("div", {
5771
+ (P(!0), I(Ie, null, De(a.mapFeathers, (A) => (P(), I("div", {
5772
5772
  key: A.value,
5773
5773
  class: "mb-4 feather-item",
5774
5774
  onClick: (ie) => r.handleToggleMapFeather(A)
@@ -5776,12 +5776,12 @@ function Fs(e, t, o, i, a, r) {
5776
5776
  n("div", {
5777
5777
  class: _e([a.mapFeather === A.value ? "active" : "", "img-box"])
5778
5778
  }, [
5779
- A.value === "dark" ? (C(), D("img", Is)) : A.value === "nautical" ? (C(), D("img", Ds)) : A.value === "satellite" ? (C(), D("img", As)) : (C(), D("img", Gs))
5779
+ A.value === "dark" ? (P(), I("img", Is)) : A.value === "nautical" ? (P(), I("img", Ds)) : A.value === "satellite" ? (P(), I("img", As)) : (P(), I("img", Gs))
5780
5780
  ], 2),
5781
5781
  n("div", Ws, b(e.$t(`layer.${A.locale}`)), 1)
5782
5782
  ], 8, Rs))), 128))
5783
5783
  ]),
5784
- (C(!0), D(Ie, null, De(a.tagLayers.filter((A) => ["graticule", "day-night", "time-zones"].includes(A.key)), (A) => (C(), Z(m, {
5784
+ (P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["graticule", "day-night", "time-zones"].includes(A.key)), (A) => (P(), B(m, {
5785
5785
  key: A.key,
5786
5786
  modelValue: a.checkList,
5787
5787
  "onUpdate:modelValue": t[0] || (t[0] = (ie) => a.checkList = ie),
@@ -5803,11 +5803,11 @@ function Fs(e, t, o, i, a, r) {
5803
5803
  class: "block-bg mx-auto mb-2",
5804
5804
  elevation: "0"
5805
5805
  }, {
5806
- default: P(() => [
5806
+ default: C(() => [
5807
5807
  L(d, { class: "border-b-thin" }, {
5808
- default: P(() => [
5808
+ default: C(() => [
5809
5809
  L(s, { class: "text-h6" }, {
5810
- default: P(() => [
5810
+ default: C(() => [
5811
5811
  de(b(e.$t("layer.pointsOfInteresting")), 1)
5812
5812
  ]),
5813
5813
  _: 1
@@ -5816,8 +5816,8 @@ function Fs(e, t, o, i, a, r) {
5816
5816
  _: 1
5817
5817
  }),
5818
5818
  L(g, { class: "py-2 mx-n1" }, {
5819
- default: P(() => [
5820
- (C(!0), D(Ie, null, De(a.tagLayers.filter((A) => ["ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (C(), Z(m, {
5819
+ default: C(() => [
5820
+ (P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
5821
5821
  key: A.key,
5822
5822
  modelValue: a.checkList,
5823
5823
  "onUpdate:modelValue": t[1] || (t[1] = (ie) => a.checkList = ie),
@@ -5839,11 +5839,11 @@ function Fs(e, t, o, i, a, r) {
5839
5839
  class: "block-bg mx-auto mb-2",
5840
5840
  elevation: "0"
5841
5841
  }, {
5842
- default: P(() => [
5842
+ default: C(() => [
5843
5843
  L(d, { class: "border-b-thin" }, {
5844
- default: P(() => [
5844
+ default: C(() => [
5845
5845
  L(s, { class: "text-h6" }, {
5846
- default: P(() => [
5846
+ default: C(() => [
5847
5847
  de(b(e.$t("layer.otherLayers")), 1)
5848
5848
  ]),
5849
5849
  _: 1
@@ -5852,8 +5852,8 @@ function Fs(e, t, o, i, a, r) {
5852
5852
  _: 1
5853
5853
  }),
5854
5854
  L(g, { class: "py-2 mx-n1" }, {
5855
- default: P(() => [
5856
- (C(!0), D(Ie, null, De(a.tagLayers.filter((A) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (C(), Z(m, {
5855
+ default: C(() => [
5856
+ (P(!0), I(Ie, null, De(a.tagLayers.filter((A) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
5857
5857
  key: A.key,
5858
5858
  modelValue: a.checkList,
5859
5859
  "onUpdate:modelValue": t[2] || (t[2] = (ie) => a.checkList = ie),
@@ -5875,11 +5875,11 @@ function Fs(e, t, o, i, a, r) {
5875
5875
  class: "block-bg mx-auto mb-3",
5876
5876
  elevation: "0"
5877
5877
  }, {
5878
- default: P(() => [
5878
+ default: C(() => [
5879
5879
  L(d, { class: "border-b-thin" }, {
5880
- default: P(() => [
5880
+ default: C(() => [
5881
5881
  L(s, { class: "text-h6" }, {
5882
- default: P(() => [
5882
+ default: C(() => [
5883
5883
  de(b(e.$t("layer.myFollows")), 1)
5884
5884
  ]),
5885
5885
  _: 1
@@ -5888,7 +5888,7 @@ function Fs(e, t, o, i, a, r) {
5888
5888
  _: 1
5889
5889
  }),
5890
5890
  L(g, { class: "py-2 mx-n1" }, {
5891
- default: P(() => [
5891
+ default: C(() => [
5892
5892
  L(m, {
5893
5893
  modelValue: a.checkList,
5894
5894
  "onUpdate:modelValue": t[3] || (t[3] = (A) => a.checkList = A),
@@ -5919,37 +5919,37 @@ function Fs(e, t, o, i, a, r) {
5919
5919
  })
5920
5920
  ], 2)
5921
5921
  ], 6),
5922
- o.map ? (C(), Z(y, Y({
5922
+ o.map ? (P(), B(y, Y({
5923
5923
  key: 0,
5924
5924
  simple: o.simple,
5925
5925
  map: o.map,
5926
5926
  "menu-toggle": o.menuToggle,
5927
5927
  show: a.checkList.includes("graticule")
5928
5928
  }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : N("", !0),
5929
- o.map ? (C(), Z(f, Y({
5929
+ o.map ? (P(), B(f, Y({
5930
5930
  key: 1,
5931
5931
  map: o.map,
5932
5932
  area: (ee = a.otherLayers) == null ? void 0 : ee["day-night"]
5933
5933
  }, e.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : N("", !0),
5934
- o.map ? (C(), Z(h, Y({
5934
+ o.map ? (P(), B(h, Y({
5935
5935
  key: 2,
5936
5936
  map: o.map,
5937
5937
  zone: (he = a.otherLayers) == null ? void 0 : he["time-zones"],
5938
5938
  "real-time": o.realTime
5939
5939
  }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : N("", !0),
5940
- o.map ? (C(), Z(u, Y({
5940
+ o.map ? (P(), B(u, Y({
5941
5941
  key: 3,
5942
5942
  ref: "idmPorts",
5943
5943
  simple: o.simple,
5944
5944
  map: o.map,
5945
- ports: (I = a.otherLayers) == null ? void 0 : I.ports,
5945
+ ports: (D = a.otherLayers) == null ? void 0 : D.ports,
5946
5946
  gateway: o.gateway,
5947
5947
  token: o.token,
5948
5948
  "forecast-model": o.forecastModel,
5949
5949
  "real-time": o.realTime,
5950
5950
  theme: o.theme
5951
5951
  }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : N("", !0),
5952
- o.map ? (C(), Z(x, Y({
5952
+ o.map ? (P(), B(x, Y({
5953
5953
  key: 4,
5954
5954
  map: o.map,
5955
5955
  simple: o.simple,
@@ -5958,7 +5958,7 @@ function Fs(e, t, o, i, a, r) {
5958
5958
  "before-layer": "empty-layer-3",
5959
5959
  theme: o.theme
5960
5960
  }), null, 16, ["map", "simple", "zone", "theme"])) : N("", !0),
5961
- o.map ? (C(), Z(v, Y({
5961
+ o.map ? (P(), B(v, Y({
5962
5962
  key: 5,
5963
5963
  ref: "idmIideStation",
5964
5964
  simple: o.simple,
@@ -5972,60 +5972,60 @@ function Fs(e, t, o, i, a, r) {
5972
5972
  "forecast-model": o.forecastModel,
5973
5973
  "before-layer": "empty-layer-3"
5974
5974
  }, e.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : N("", !0),
5975
- o.map ? (C(), Z(w, Y({
5975
+ o.map ? (P(), B(w, Y({
5976
5976
  key: 6,
5977
5977
  map: o.map,
5978
5978
  zone: (U = a.otherLayers) == null ? void 0 : U["eca-zones"]
5979
5979
  }, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
5980
- o.map ? (C(), Z(k, Y({
5980
+ o.map ? (P(), B(k, Y({
5981
5981
  key: 7,
5982
5982
  map: o.map,
5983
5983
  zone: (te = a.otherLayers) == null ? void 0 : te["war-zones"]
5984
5984
  }, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
5985
- o.map ? (C(), Z(S, Y({
5985
+ o.map ? (P(), B(S, Y({
5986
5986
  key: 8,
5987
5987
  map: o.map,
5988
5988
  area: (X = a.otherLayers) == null ? void 0 : X["gmdss-areas"]
5989
5989
  }, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
5990
- o.map ? (C(), Z(_, Y({
5990
+ o.map ? (P(), B(_, Y({
5991
5991
  key: 9,
5992
5992
  map: o.map,
5993
5993
  show: a.checkList.includes("load-lines")
5994
5994
  }, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
5995
- o.map ? (C(), Z(M, Y({
5995
+ o.map ? (P(), B(M, Y({
5996
5996
  key: 10,
5997
5997
  map: o.map,
5998
5998
  token: o.token,
5999
5999
  show: a.checkList.includes("worldMarine")
6000
6000
  }, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
6001
- o.map ? (C(), Z(T, Y({
6001
+ o.map ? (P(), B(T, Y({
6002
6002
  key: 11,
6003
6003
  map: o.map,
6004
6004
  area: (O = a.otherLayers) == null ? void 0 : O["voluntary-reporting-area"]
6005
6005
  }, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
6006
- o.map ? (C(), Z(W, Y({
6006
+ o.map ? (P(), B(W, Y({
6007
6007
  key: 12,
6008
6008
  map: o.map,
6009
6009
  area: ($ = a.otherLayers) == null ? void 0 : $["special-area"]
6010
6010
  }, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
6011
- o.map ? (C(), Z(F, Y({
6011
+ o.map ? (P(), B(F, Y({
6012
6012
  key: 13,
6013
6013
  map: o.map,
6014
6014
  token: o.token,
6015
6015
  show: a.checkList.includes("world12nm")
6016
6016
  }, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
6017
- o.map ? (C(), Z(E, Y({
6017
+ o.map ? (P(), B(E, Y({
6018
6018
  key: 14,
6019
6019
  map: o.map,
6020
6020
  token: o.token,
6021
6021
  show: a.checkList.includes("chinaRoute")
6022
6022
  }, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
6023
- o.map ? (C(), Z(V, Y({
6023
+ o.map ? (P(), B(V, Y({
6024
6024
  key: 15,
6025
6025
  map: o.map,
6026
6026
  show: a.checkList.includes("ice-areas")
6027
6027
  }, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
6028
- o.map ? (C(), Z(J, Y({
6028
+ o.map ? (P(), B(J, Y({
6029
6029
  key: 16,
6030
6030
  ref: "idmFollowPort",
6031
6031
  simple: o.simple,
@@ -6036,7 +6036,7 @@ function Fs(e, t, o, i, a, r) {
6036
6036
  "forecast-model": o.forecastModel,
6037
6037
  "real-time": o.realTime
6038
6038
  }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : N("", !0),
6039
- o.map ? (C(), Z(Q, Y({
6039
+ o.map ? (P(), B(Q, Y({
6040
6040
  key: 17,
6041
6041
  ref: "idmFollowPosition",
6042
6042
  simple: o.simple,
@@ -6531,7 +6531,7 @@ we(We, "vertexSchema", `
6531
6531
  fract(pos * 255.0),
6532
6532
  floor(pos * 255.0) / 255.0);
6533
6533
  }`);
6534
- const Bs = {
6534
+ const Zs = {
6535
6535
  "000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
6536
6536
  "002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
6537
6537
  "005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
@@ -6555,7 +6555,7 @@ const Bs = {
6555
6555
  "095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
6556
6556
  "100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
6557
6557
  "105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
6558
- }, Zs = {
6558
+ }, Bs = {
6559
6559
  name: "IdmWindBarb",
6560
6560
  props: {
6561
6561
  map: {
@@ -6591,7 +6591,7 @@ const Bs = {
6591
6591
  right: 10,
6592
6592
  bottom: 125,
6593
6593
  windBarbLoaded: !1,
6594
- svgs: Bs
6594
+ svgs: Zs
6595
6595
  };
6596
6596
  },
6597
6597
  computed: {
@@ -6692,7 +6692,7 @@ const Bs = {
6692
6692
  function Es(e, t, o, i, a, r) {
6693
6693
  return null;
6694
6694
  }
6695
- const Os = /* @__PURE__ */ ne(Zs, [["render", Es]]);
6695
+ const Os = /* @__PURE__ */ ne(Bs, [["render", Es]]);
6696
6696
  const Xs = {
6697
6697
  name: "IdmWindParticle",
6698
6698
  props: {
@@ -6863,7 +6863,7 @@ const Xs = {
6863
6863
  }, js = { key: 0 };
6864
6864
  function Vs(e, t, o, i, a, r) {
6865
6865
  var l;
6866
- return (l = o.factor) != null && l.active ? (C(), D("div", js, [
6866
+ return (l = o.factor) != null && l.active ? (P(), I("div", js, [
6867
6867
  n("div", {
6868
6868
  class: "legend-bars-gl4 wind",
6869
6869
  style: ue({ right: a.right + "px" })
@@ -7205,7 +7205,7 @@ const Ks = {
7205
7205
  }, $s = { key: 0 };
7206
7206
  function qs(e, t, o, i, a, r) {
7207
7207
  var l;
7208
- return (l = o.factor) != null && l.active ? (C(), D("div", $s, [
7208
+ return (l = o.factor) != null && l.active ? (P(), I("div", $s, [
7209
7209
  n("div", {
7210
7210
  class: "legend-bars-gl4 current",
7211
7211
  style: ue({ right: a.right + "px" })
@@ -7333,7 +7333,7 @@ const ec = {
7333
7333
  }, tc = { key: 0 };
7334
7334
  function oc(e, t, o, i, a, r) {
7335
7335
  var l;
7336
- return (l = o.factor) != null && l.active ? (C(), D("div", tc, [
7336
+ return (l = o.factor) != null && l.active ? (P(), I("div", tc, [
7337
7337
  n("div", {
7338
7338
  class: "legend-bars-gl4 sig-wave",
7339
7339
  style: ue({ right: a.right + "px" })
@@ -7600,7 +7600,7 @@ const nc = {
7600
7600
  }, sc = { key: 0 };
7601
7601
  function cc(e, t, o, i, a, r) {
7602
7602
  var l;
7603
- return (l = o.factor) != null && l.active ? (C(), D("div", sc, [
7603
+ return (l = o.factor) != null && l.active ? (P(), I("div", sc, [
7604
7604
  n("div", {
7605
7605
  class: "legend-bars-gl4 swell",
7606
7606
  style: ue({ right: a.right + "px" })
@@ -7860,7 +7860,7 @@ const pc = {
7860
7860
  }, gc = { key: 0 };
7861
7861
  function fc(e, t, o, i, a, r) {
7862
7862
  var l;
7863
- return (l = o.factor) != null && l.active ? (C(), D("div", gc, [
7863
+ return (l = o.factor) != null && l.active ? (P(), I("div", gc, [
7864
7864
  n("div", {
7865
7865
  class: "legend-bars-gl4 ice-edge",
7866
7866
  style: ue({ right: a.right + "px" })
@@ -7977,7 +7977,7 @@ const bc = {
7977
7977
  }, wc = { key: 0 };
7978
7978
  function xc(e, t, o, i, a, r) {
7979
7979
  var l;
7980
- return (l = o.factor) != null && l.active ? (C(), D("div", wc, [
7980
+ return (l = o.factor) != null && l.active ? (P(), I("div", wc, [
7981
7981
  n("div", {
7982
7982
  class: "legend-bars-gl4 ice-cover",
7983
7983
  style: ue({ right: a.right + "px" })
@@ -8095,7 +8095,7 @@ const kc = {
8095
8095
  }, _c = { key: 0 };
8096
8096
  function zc(e, t, o, i, a, r) {
8097
8097
  var l;
8098
- return (l = o.factor) != null && l.active ? (C(), D("div", _c, [
8098
+ return (l = o.factor) != null && l.active ? (P(), I("div", _c, [
8099
8099
  n("div", {
8100
8100
  class: "legend-bars-gl4 ice-thickness",
8101
8101
  style: ue({ right: a.right + "px" })
@@ -8215,7 +8215,7 @@ const Pc = {
8215
8215
  }, Cc = { key: 0 };
8216
8216
  function Mc(e, t, o, i, a, r) {
8217
8217
  var l;
8218
- return (l = o.factor) != null && l.active ? (C(), D("div", Cc, [
8218
+ return (l = o.factor) != null && l.active ? (P(), I("div", Cc, [
8219
8219
  n("div", {
8220
8220
  class: "legend-bars-gl4 precip3h",
8221
8221
  style: ue({ right: a.right + "px" })
@@ -8326,7 +8326,7 @@ const Tc = {
8326
8326
  }, Rc = { key: 0 };
8327
8327
  function Ic(e, t, o, i, a, r) {
8328
8328
  var l;
8329
- return (l = o.factor) != null && l.active ? (C(), D("div", Rc, [
8329
+ return (l = o.factor) != null && l.active ? (P(), I("div", Rc, [
8330
8330
  n("div", {
8331
8331
  class: "legend-bars-gl4 visibility",
8332
8332
  style: ue({ right: a.right + "px" })
@@ -8438,7 +8438,7 @@ const Ac = {
8438
8438
  }, Gc = { key: 0 };
8439
8439
  function Wc(e, t, o, i, a, r) {
8440
8440
  var l;
8441
- return (l = o.factor) != null && l.active ? (C(), D("div", Gc, [
8441
+ return (l = o.factor) != null && l.active ? (P(), I("div", Gc, [
8442
8442
  n("div", {
8443
8443
  class: "legend-bars-gl4 water-temp",
8444
8444
  style: ue({ right: a.right + "px" })
@@ -8558,10 +8558,10 @@ const Nc = {
8558
8558
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
8559
8559
  }
8560
8560
  }
8561
- }, Bc = { key: 0 };
8562
- function Zc(e, t, o, i, a, r) {
8561
+ }, Zc = { key: 0 };
8562
+ function Bc(e, t, o, i, a, r) {
8563
8563
  var l;
8564
- return (l = o.factor) != null && l.active ? (C(), D("div", Bc, [
8564
+ return (l = o.factor) != null && l.active ? (P(), I("div", Zc, [
8565
8565
  n("div", {
8566
8566
  class: "legend-bars-gl4 temp",
8567
8567
  style: ue({ right: a.right + "px" })
@@ -8577,7 +8577,7 @@ function Zc(e, t, o, i, a, r) {
8577
8577
  ]), 4)
8578
8578
  ])) : N("", !0);
8579
8579
  }
8580
- const Ec = /* @__PURE__ */ ne(Nc, [["render", Zc]]);
8580
+ const Ec = /* @__PURE__ */ ne(Nc, [["render", Bc]]);
8581
8581
  const Oc = {
8582
8582
  name: "IdmGlLayer",
8583
8583
  components: {
@@ -8939,7 +8939,7 @@ const Oc = {
8939
8939
  }
8940
8940
  this.handleWeatherLayerToggle(), this.handleDrawWeather4Json(), this.$nextTick(() => {
8941
8941
  var u, x, v, w, k;
8942
- (k = (w = (v = (x = (u = this.$parent) == null ? void 0 : u.$refs) == null ? void 0 : x.idmBottomBar) == null ? void 0 : v.$refs) == null ? void 0 : w.capture) == null || k.handleWeatherRendered();
8942
+ (k = (w = (v = (x = (u = this.$parent) == null ? void 0 : u.$refs) == null ? void 0 : x.idmBottomBar) == null ? void 0 : v.$refs) == null ? void 0 : w.capture) == null || k.captureCurrentFrame();
8943
8943
  });
8944
8944
  }
8945
8945
  },
@@ -9286,8 +9286,8 @@ const Oc = {
9286
9286
  }, im = { class: "text-body-1 py-2" }, rm = { class: "text-body-1 font-weight-medium" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label" }, sm = { class: "text-body-2 text-label mb-3" }, cm = { class: "text-body-1 font-weight-medium" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label" }, hm = { class: "text-body-2 text-label mb-3" }, um = { class: "text-body-1 py-2" }, pm = { class: "text-body-1 font-weight-medium" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label" }, ym = { class: "text-body-2 text-label mb-3" }, bm = { class: "text-body-1 font-weight-medium" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label" }, vm = { class: "text-body-2 text-label mb-3" }, km = { class: "text-body-1 py-2" }, _m = { class: "text-body-1 font-weight-medium" }, zm = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label" }, Pm = { class: "text-body-2 text-label mb-3" };
9287
9287
  function Cm(e, t, o, i, a, r) {
9288
9288
  var H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me;
9289
- const l = R("VBtn"), c = R("VTooltip"), s = R("VCol"), d = R("VRow"), m = R("VCardText"), g = R("VDivider"), p = R("VCard"), y = R("VSwitch"), f = R("VBtnToggle"), h = R("VCardTitle"), u = R("VCardItem"), x = R("VCheckbox"), v = R("VRadio"), w = R("IdmWindBarb"), k = R("IdmSigWaveHeight"), S = R("IdmCurrentDirection"), _ = R("IdmPrmsl"), M = R("IdmWindParticle"), T = R("IdmCurrentParticle"), W = R("IdmWave"), F = R("IdmSwell"), E = R("IdmIceEdge"), V = R("IdmIceCover"), J = R("IdmIceThickness"), Q = R("IdmPrecip3h"), ee = R("IdmVisibility"), he = R("IdmWaterTemp"), I = R("IdmTemp");
9290
- return C(), D("div", Xc, [
9289
+ const l = R("VBtn"), c = R("VTooltip"), s = R("VCol"), d = R("VRow"), m = R("VCardText"), g = R("VDivider"), p = R("VCard"), y = R("VSwitch"), f = R("VBtnToggle"), h = R("VCardTitle"), u = R("VCardItem"), x = R("VCheckbox"), v = R("VRadio"), w = R("IdmWindBarb"), k = R("IdmSigWaveHeight"), S = R("IdmCurrentDirection"), _ = R("IdmPrmsl"), M = R("IdmWindParticle"), T = R("IdmCurrentParticle"), W = R("IdmWave"), F = R("IdmSwell"), E = R("IdmIceEdge"), V = R("IdmIceCover"), J = R("IdmIceThickness"), Q = R("IdmPrecip3h"), ee = R("IdmVisibility"), he = R("IdmWaterTemp"), D = R("IdmTemp");
9290
+ return P(), I("div", Xc, [
9291
9291
  n("div", {
9292
9292
  class: "menu-bar-box transition pa-1",
9293
9293
  style: ue({ top: o.top + o.paddingTop + 46 + "px", right: a.right + "px" })
@@ -9300,7 +9300,7 @@ function Cm(e, t, o, i, a, r) {
9300
9300
  "open-on-focus": !o.simple,
9301
9301
  "open-on-hover": !o.simple
9302
9302
  }, {
9303
- activator: P(({ props: K }) => [
9303
+ activator: C(({ props: K }) => [
9304
9304
  L(l, Y(K, {
9305
9305
  "min-width": "32",
9306
9306
  width: "32",
@@ -9308,7 +9308,7 @@ function Cm(e, t, o, i, a, r) {
9308
9308
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
9309
9309
  onClick: r.handleMenuToggle
9310
9310
  }), {
9311
- default: P(() => t[9] || (t[9] = [
9311
+ default: C(() => t[9] || (t[9] = [
9312
9312
  n("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
9313
9313
  ])),
9314
9314
  _: 2,
@@ -9318,7 +9318,7 @@ function Cm(e, t, o, i, a, r) {
9318
9318
  _: 1
9319
9319
  }, 8, ["text", "open-on-focus", "open-on-hover"])
9320
9320
  ], 4),
9321
- r.showTipMenu ? (C(), D("div", jc, [
9321
+ r.showTipMenu ? (P(), I("div", jc, [
9322
9322
  n("div", {
9323
9323
  class: _e(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
9324
9324
  style: ue({ right: a.right + "px", top: o.simple ? "354px" : "450px" })
@@ -9331,7 +9331,7 @@ function Cm(e, t, o, i, a, r) {
9331
9331
  "open-on-focus": !o.simple,
9332
9332
  "open-on-hover": !o.simple
9333
9333
  }, {
9334
- activator: P(({ props: K }) => [
9334
+ activator: C(({ props: K }) => [
9335
9335
  L(l, Y(K, {
9336
9336
  "min-width": "32",
9337
9337
  width: "32",
@@ -9339,7 +9339,7 @@ function Cm(e, t, o, i, a, r) {
9339
9339
  class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
9340
9340
  onClick: t[0] || (t[0] = (me) => a.legendToggle = !a.legendToggle)
9341
9341
  }), {
9342
- default: P(() => t[10] || (t[10] = [
9342
+ default: C(() => t[10] || (t[10] = [
9343
9343
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9344
9344
  ])),
9345
9345
  _: 2,
@@ -9349,27 +9349,27 @@ function Cm(e, t, o, i, a, r) {
9349
9349
  _: 1
9350
9350
  }, 8, ["text", "open-on-focus", "open-on-hover"])
9351
9351
  ], 6),
9352
- a.legendToggle ? (C(), Z(p, {
9352
+ a.legendToggle ? (P(), B(p, {
9353
9353
  key: 0,
9354
9354
  elevation: "16",
9355
9355
  class: "card-info d-flex justify-center align-start",
9356
9356
  style: ue({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
9357
9357
  }, {
9358
- default: P(() => [
9358
+ default: C(() => [
9359
9359
  L(m, {
9360
9360
  class: "d-flex flex-column justify-center align-start text-label px-2",
9361
9361
  style: { width: "110px" }
9362
9362
  }, {
9363
- default: P(() => [
9363
+ default: C(() => [
9364
9364
  t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
9365
9365
  L(d, { class: "ma-0 ml-n1 text-body-2" }, {
9366
- default: P(() => [
9367
- (C(!0), D(Ie, null, De(a.legend.barbs, (K, me) => (C(), Z(s, {
9366
+ default: C(() => [
9367
+ (P(!0), I(Ie, null, De(a.legend.barbs, (K, me) => (P(), B(s, {
9368
9368
  key: K,
9369
9369
  cols: "6",
9370
9370
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9371
9371
  }, {
9372
- default: P(() => [
9372
+ default: C(() => [
9373
9373
  n("div", Vc, [
9374
9374
  n("i", {
9375
9375
  class: _e(["iconfont", r.barbsIconName[me]]),
@@ -9392,18 +9392,18 @@ function Cm(e, t, o, i, a, r) {
9392
9392
  class: "d-flex flex-column justify-center align-start text-label px-2",
9393
9393
  style: { width: "100px" }
9394
9394
  }, {
9395
- default: P(() => [
9395
+ default: C(() => [
9396
9396
  t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
9397
9397
  L(d, { class: "ma-0" }, {
9398
- default: P(() => [
9399
- (C(!0), D(Ie, null, De(a.legend.sigWaveHeight, (K, me) => (C(), Z(s, {
9398
+ default: C(() => [
9399
+ (P(!0), I(Ie, null, De(a.legend.sigWaveHeight, (K, me) => (P(), B(s, {
9400
9400
  key: me,
9401
9401
  cols: "12",
9402
9402
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9403
9403
  }, {
9404
- default: P(() => [
9404
+ default: C(() => [
9405
9405
  n("div", Yc, [
9406
- me === 0 ? (C(), D("div", Uc)) : (C(), D("div", {
9406
+ me === 0 ? (P(), I("div", Uc)) : (P(), I("div", {
9407
9407
  key: 1,
9408
9408
  style: ue({ width: "24px", height: "12px", background: K.color })
9409
9409
  }, null, 4)),
@@ -9424,16 +9424,16 @@ function Cm(e, t, o, i, a, r) {
9424
9424
  class: "d-flex flex-column justify-center align-start text-label px-2",
9425
9425
  style: { width: "90px" }
9426
9426
  }, {
9427
- default: P(() => [
9427
+ default: C(() => [
9428
9428
  t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
9429
9429
  L(d, { class: "ma-0 ml-n4" }, {
9430
- default: P(() => [
9431
- (C(!0), D(Ie, null, De(a.legend.current, (K, me) => (C(), Z(s, {
9430
+ default: C(() => [
9431
+ (P(!0), I(Ie, null, De(a.legend.current, (K, me) => (P(), B(s, {
9432
9432
  key: me,
9433
9433
  cols: "12",
9434
9434
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
9435
9435
  }, {
9436
- default: P(() => [
9436
+ default: C(() => [
9437
9437
  n("div", Kc, [
9438
9438
  n("div", $c, [
9439
9439
  n("i", {
@@ -9483,14 +9483,14 @@ function Cm(e, t, o, i, a, r) {
9483
9483
  class: "mr-n2",
9484
9484
  onClick: r.handleMenuToggle
9485
9485
  }, {
9486
- default: P(() => t[14] || (t[14] = [
9486
+ default: C(() => t[14] || (t[14] = [
9487
9487
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
9488
9488
  ])),
9489
9489
  _: 1,
9490
9490
  __: [14]
9491
9491
  }, 8, ["onClick"])
9492
9492
  ], 2),
9493
- o.simple ? (C(), D("div", tm, [
9493
+ o.simple ? (P(), I("div", tm, [
9494
9494
  n("div", null, b(e.$t("weather.forecastModel")), 1),
9495
9495
  L(f, {
9496
9496
  modelValue: a.currentModel,
@@ -9500,7 +9500,7 @@ function Cm(e, t, o, i, a, r) {
9500
9500
  density: "compact",
9501
9501
  group: ""
9502
9502
  }, {
9503
- default: P(() => [
9503
+ default: C(() => [
9504
9504
  L(l, {
9505
9505
  density: "compact",
9506
9506
  height: "28",
@@ -9509,7 +9509,7 @@ function Cm(e, t, o, i, a, r) {
9509
9509
  color: a.currentModel === "GFS" ? "primary" : "",
9510
9510
  "base-color": ""
9511
9511
  }, {
9512
- default: P(() => t[15] || (t[15] = [
9512
+ default: C(() => t[15] || (t[15] = [
9513
9513
  de("NOAA", -1)
9514
9514
  ])),
9515
9515
  _: 1,
@@ -9523,7 +9523,7 @@ function Cm(e, t, o, i, a, r) {
9523
9523
  "base-color": "",
9524
9524
  value: "ECMWF"
9525
9525
  }, {
9526
- default: P(() => t[16] || (t[16] = [
9526
+ default: C(() => t[16] || (t[16] = [
9527
9527
  de("ECMWF", -1)
9528
9528
  ])),
9529
9529
  _: 1,
@@ -9540,11 +9540,11 @@ function Cm(e, t, o, i, a, r) {
9540
9540
  class: "block-bg mx-auto mb-2",
9541
9541
  elevation: "0"
9542
9542
  }, {
9543
- default: P(() => [
9543
+ default: C(() => [
9544
9544
  L(u, { class: "border-b-thin" }, {
9545
- default: P(() => [
9545
+ default: C(() => [
9546
9546
  L(h, { class: "text-h6" }, {
9547
- default: P(() => [
9547
+ default: C(() => [
9548
9548
  de(b(e.$t("weather.overlays")), 1)
9549
9549
  ]),
9550
9550
  _: 1
@@ -9553,8 +9553,8 @@ function Cm(e, t, o, i, a, r) {
9553
9553
  _: 1
9554
9554
  }),
9555
9555
  L(m, { class: "py-2 mx-n1" }, {
9556
- default: P(() => [
9557
- (C(!0), D(Ie, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (C(), Z(x, {
9556
+ default: C(() => [
9557
+ (P(!0), I(Ie, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (P(), B(x, {
9558
9558
  key: K.key,
9559
9559
  modelValue: a.checkList,
9560
9560
  "onUpdate:modelValue": t[3] || (t[3] = (me) => a.checkList = me),
@@ -9577,11 +9577,11 @@ function Cm(e, t, o, i, a, r) {
9577
9577
  class: "block-bg mx-auto mb-2",
9578
9578
  elevation: "0"
9579
9579
  }, {
9580
- default: P(() => [
9580
+ default: C(() => [
9581
9581
  L(u, { class: "border-b-thin" }, {
9582
- default: P(() => [
9582
+ default: C(() => [
9583
9583
  L(h, { class: "text-h6" }, {
9584
- default: P(() => [
9584
+ default: C(() => [
9585
9585
  de(b(e.$t("weather.renders")), 1)
9586
9586
  ]),
9587
9587
  _: 1
@@ -9590,8 +9590,8 @@ function Cm(e, t, o, i, a, r) {
9590
9590
  _: 1
9591
9591
  }),
9592
9592
  L(m, { class: "py-2 mx-n1" }, {
9593
- default: P(() => [
9594
- (C(!0), D(Ie, null, De(a.tagLayers.filter((K) => !K.overlays), (K) => (C(), D(Ie, {
9593
+ default: C(() => [
9594
+ (P(!0), I(Ie, null, De(a.tagLayers.filter((K) => !K.overlays), (K) => (P(), I(Ie, {
9595
9595
  key: K.key
9596
9596
  }, [
9597
9597
  L(v, {
@@ -9607,7 +9607,7 @@ function Cm(e, t, o, i, a, r) {
9607
9607
  "hide-details": "",
9608
9608
  onClick: (me) => a.renderKey = a.renderKey === K.key ? "" : K.key
9609
9609
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9610
- a.renderKey === "wind-particle" && K.key === "wind-particle" ? (C(), D("div", om, [
9610
+ a.renderKey === "wind-particle" && K.key === "wind-particle" ? (P(), I("div", om, [
9611
9611
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9612
9612
  L(y, {
9613
9613
  modelValue: a.showWindParticle,
@@ -9622,7 +9622,7 @@ function Cm(e, t, o, i, a, r) {
9622
9622
  "hide-details": ""
9623
9623
  }, null, 8, ["modelValue"])
9624
9624
  ])) : N("", !0),
9625
- a.renderKey === "current-particle" && K.key === "current-particle" ? (C(), D("div", am, [
9625
+ a.renderKey === "current-particle" && K.key === "current-particle" ? (P(), I("div", am, [
9626
9626
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9627
9627
  L(y, {
9628
9628
  modelValue: a.showCurrentParticle,
@@ -9637,7 +9637,7 @@ function Cm(e, t, o, i, a, r) {
9637
9637
  "hide-details": ""
9638
9638
  }, null, 8, ["modelValue"])
9639
9639
  ])) : N("", !0),
9640
- a.renderKey === "wave-group" && K.key === "wave-group" ? (C(), Z(f, {
9640
+ a.renderKey === "wave-group" && K.key === "wave-group" ? (P(), B(f, {
9641
9641
  key: 2,
9642
9642
  modelValue: a.waveToggleValue,
9643
9643
  "onUpdate:modelValue": t[7] || (t[7] = (me) => a.waveToggleValue = me),
@@ -9648,7 +9648,7 @@ function Cm(e, t, o, i, a, r) {
9648
9648
  group: "",
9649
9649
  disabled: !a.autoActive
9650
9650
  }, {
9651
- default: P(() => [
9651
+ default: C(() => [
9652
9652
  L(l, {
9653
9653
  density: "compact",
9654
9654
  height: "30",
@@ -9658,7 +9658,7 @@ function Cm(e, t, o, i, a, r) {
9658
9658
  "base-color": "grey-lighten-1",
9659
9659
  disabled: !a.autoActive
9660
9660
  }, {
9661
- default: P(() => [
9661
+ default: C(() => [
9662
9662
  de(b(e.$t("weather.significant")), 1)
9663
9663
  ]),
9664
9664
  _: 1
@@ -9672,7 +9672,7 @@ function Cm(e, t, o, i, a, r) {
9672
9672
  disabled: !a.autoActive,
9673
9673
  value: "swell"
9674
9674
  }, {
9675
- default: P(() => [
9675
+ default: C(() => [
9676
9676
  de(b(e.$t("weather.swell")), 1)
9677
9677
  ]),
9678
9678
  _: 1
@@ -9680,7 +9680,7 @@ function Cm(e, t, o, i, a, r) {
9680
9680
  ]),
9681
9681
  _: 1
9682
9682
  }, 8, ["modelValue", "disabled"])) : N("", !0),
9683
- a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (C(), Z(f, {
9683
+ a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (P(), B(f, {
9684
9684
  key: 3,
9685
9685
  modelValue: a.iceToggleValue,
9686
9686
  "onUpdate:modelValue": t[8] || (t[8] = (me) => a.iceToggleValue = me),
@@ -9691,7 +9691,7 @@ function Cm(e, t, o, i, a, r) {
9691
9691
  group: "",
9692
9692
  disabled: !a.autoActive
9693
9693
  }, {
9694
- default: P(() => [
9694
+ default: C(() => [
9695
9695
  L(l, {
9696
9696
  density: "compact",
9697
9697
  height: "30",
@@ -9701,7 +9701,7 @@ function Cm(e, t, o, i, a, r) {
9701
9701
  "base-color": "grey-lighten-1",
9702
9702
  disabled: !a.autoActive
9703
9703
  }, {
9704
- default: P(() => [
9704
+ default: C(() => [
9705
9705
  de(b(e.$t("weather.coverage")), 1)
9706
9706
  ]),
9707
9707
  _: 1
@@ -9715,7 +9715,7 @@ function Cm(e, t, o, i, a, r) {
9715
9715
  disabled: !a.autoActive,
9716
9716
  value: "ice-thickness"
9717
9717
  }, {
9718
- default: P(() => [
9718
+ default: C(() => [
9719
9719
  de(b(e.$t("weather.thickness")), 1)
9720
9720
  ]),
9721
9721
  _: 1
@@ -9734,11 +9734,11 @@ function Cm(e, t, o, i, a, r) {
9734
9734
  class: "block-bg mx-auto mb-2",
9735
9735
  elevation: "0"
9736
9736
  }, {
9737
- default: P(() => [
9737
+ default: C(() => [
9738
9738
  L(u, { class: "border-b-thin" }, {
9739
- default: P(() => [
9739
+ default: C(() => [
9740
9740
  L(h, { class: "text-h6" }, {
9741
- default: P(() => [
9741
+ default: C(() => [
9742
9742
  de(b(e.$t("weather.forecastModel")), 1)
9743
9743
  ]),
9744
9744
  _: 1
@@ -9747,15 +9747,15 @@ function Cm(e, t, o, i, a, r) {
9747
9747
  _: 1
9748
9748
  }),
9749
9749
  L(m, { class: "" }, {
9750
- default: P(() => {
9751
- var K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Ze, He, Ve, j, be, Re, Ee, Oe, q, Be, re, tt, ot, at, 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, Bt, Zt, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
9750
+ default: C(() => {
9751
+ var K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Re, Ee, Oe, q, Ze, re, tt, ot, at, 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, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
9752
9752
  return [
9753
9753
  n("div", im, b(e.$t("weather.atmospheric")), 1),
9754
9754
  n("div", rm, b((je = (me = (K = a.models) == null ? void 0 : K.weather) == null ? void 0 : me.NOAA) == null ? void 0 : je.source) + " " + b((Te = (Le = (Ne = a.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 = a.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", lm, b(e.$t("weather.source")) + ": NOAA", 1),
9756
- n("div", nm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((j = (Ve = (He = (Ze = a.models) == null ? void 0 : Ze.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : j.availabilityTime)), 1),
9756
+ n("div", nm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((j = (Ve = (He = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : j.availabilityTime)), 1),
9757
9757
  n("div", sm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Oe = (Ee = (Re = (be = a.models) == null ? void 0 : be.weather) == null ? void 0 : Re.NOAA) == null ? void 0 : Ee.meta) == null ? void 0 : Oe.initialisationTime)), 1),
9758
- n("div", cm, b((re = (Be = (q = a.models) == null ? void 0 : q.weather) == null ? void 0 : Be.ECMWF) == null ? void 0 : re.source) + " " + b((at = (ot = (tt = a.models) == null ? void 0 : tt.weather) == null ? void 0 : ot.ECMWF) == null ? void 0 : at.spatialResolution) + b(e.$t("units.km")) + " " + b((dt = (mt = (ct = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : ct.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(e.$t("units.days")), 1),
9758
+ n("div", cm, b((re = (Ze = (q = a.models) == null ? void 0 : q.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : re.source) + " " + b((at = (ot = (tt = a.models) == null ? void 0 : tt.weather) == null ? void 0 : ot.ECMWF) == null ? void 0 : at.spatialResolution) + b(e.$t("units.km")) + " " + b((dt = (mt = (ct = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : ct.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(e.$t("units.days")), 1),
9759
9759
  n("div", mm, b(e.$t("weather.source")) + ": ECMWF", 1),
9760
9760
  n("div", dm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((gt = (pt = (ut = (ht = a.models) == null ? void 0 : ht.weather) == null ? void 0 : ut.ECMWF) == null ? void 0 : pt.meta) == null ? void 0 : gt.availabilityTime)), 1),
9761
9761
  n("div", hm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((wt = (bt = (yt = (ft = a.models) == null ? void 0 : ft.weather) == null ? void 0 : yt.ECMWF) == null ? void 0 : bt.meta) == null ? void 0 : wt.initialisationTime)), 1),
@@ -9764,7 +9764,7 @@ function Cm(e, t, o, i, a, r) {
9764
9764
  n("div", pm, b((_t = (kt = (vt = (xt = a.models) == null ? void 0 : xt.marine) == null ? void 0 : vt.wave) == null ? void 0 : kt.NOAA) == null ? void 0 : _t.source) + " " + b((Ct = (Pt = (Lt = (zt = a.models) == null ? void 0 : zt.marine) == null ? void 0 : Lt.wave) == null ? void 0 : Pt.NOAA) == null ? void 0 : Ct.spatialResolution) + b(e.$t("units.km")) + " " + b((It = (Rt = (Tt = (St = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : St.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : Rt.meta) == null ? void 0 : It.days) + b(e.$t("units.days")), 1),
9765
9765
  n("div", gm, b(e.$t("weather.source")) + ": NOAA", 1),
9766
9766
  n("div", fm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((Ft = (Wt = (Gt = (At = (Dt = a.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
- n("div", ym, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ot = (Et = (Zt = (Bt = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Zt.NOAA) == null ? void 0 : Et.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9767
+ n("div", ym, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ot = (Et = (Bt = (Zt = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Zt.wave) == null ? void 0 : Bt.NOAA) == null ? void 0 : Et.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9768
9768
  n("div", bm, b((Ht = (Vt = (jt = (Xt = a.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 = a.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((oo = (to = (eo = (Qt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : eo.ECMWF) == null ? void 0 : to.meta) == null ? void 0 : oo.days) + b(e.$t("units.days")), 1),
9769
9769
  n("div", wm, b(e.$t("weather.source")) + ": ECMWF", 1),
9770
9770
  n("div", xm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((no = (lo = (ro = (io = (ao = a.models) == null ? void 0 : ao.marine) == null ? void 0 : io.wave) == null ? void 0 : ro.ECMWF) == null ? void 0 : lo.meta) == null ? void 0 : no.availabilityTime)), 1),
@@ -9784,7 +9784,7 @@ function Cm(e, t, o, i, a, r) {
9784
9784
  })
9785
9785
  ], 2)
9786
9786
  ], 6),
9787
- o.map ? (C(), Z(w, Y({
9787
+ o.map ? (P(), B(w, Y({
9788
9788
  key: 1,
9789
9789
  ref: "windBarb",
9790
9790
  map: o.map,
@@ -9793,7 +9793,7 @@ function Cm(e, t, o, i, a, r) {
9793
9793
  wind: (H = a.weatherLayers) == null ? void 0 : H.wind,
9794
9794
  "menu-toggle": o.menuToggle
9795
9795
  }, e.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : N("", !0),
9796
- o.map ? (C(), Z(k, Y({
9796
+ o.map ? (P(), B(k, Y({
9797
9797
  key: 2,
9798
9798
  map: o.map,
9799
9799
  "before-layer": "empty-layer-2",
@@ -9801,7 +9801,7 @@ function Cm(e, t, o, i, a, r) {
9801
9801
  "menu-toggle": o.menuToggle,
9802
9802
  "active-weather-layers": a.activeWeatherLayers
9803
9803
  }, e.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : N("", !0),
9804
- o.map ? (C(), Z(S, Y({
9804
+ o.map ? (P(), B(S, Y({
9805
9805
  key: 3,
9806
9806
  map: o.map,
9807
9807
  "map-feather": o.mapFeather,
@@ -9809,7 +9809,7 @@ function Cm(e, t, o, i, a, r) {
9809
9809
  current: (te = a.weatherLayers) == null ? void 0 : te.current,
9810
9810
  "menu-toggle": o.menuToggle
9811
9811
  }, e.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : N("", !0),
9812
- o.map ? (C(), Z(_, Y({
9812
+ o.map ? (P(), B(_, Y({
9813
9813
  key: 4,
9814
9814
  map: o.map,
9815
9815
  "before-layer": "empty-layer-3",
@@ -9817,28 +9817,28 @@ function Cm(e, t, o, i, a, r) {
9817
9817
  "menu-toggle": o.menuToggle,
9818
9818
  "active-weather-layers": a.activeWeatherLayers
9819
9819
  }, e.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : N("", !0),
9820
- o.map ? (C(), Z(M, Y({
9820
+ o.map ? (P(), B(M, Y({
9821
9821
  key: 5,
9822
9822
  viewport: a.viewport,
9823
9823
  factor: (O = a.weatherLayers) == null ? void 0 : O["wind-particle"],
9824
9824
  "menu-toggle": o.menuToggle,
9825
9825
  simple: o.simple
9826
9826
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9827
- o.map ? (C(), Z(T, Y({
9827
+ o.map ? (P(), B(T, Y({
9828
9828
  key: 6,
9829
9829
  viewport: a.viewport,
9830
9830
  factor: ($ = a.weatherLayers) == null ? void 0 : $["current-particle"],
9831
9831
  "menu-toggle": o.menuToggle,
9832
9832
  simple: o.simple
9833
9833
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9834
- o.map ? (C(), Z(W, Y({
9834
+ o.map ? (P(), B(W, Y({
9835
9835
  key: 7,
9836
9836
  viewport: a.viewport,
9837
9837
  factor: (A = a.weatherLayers) == null ? void 0 : A["sig-wave"],
9838
9838
  "menu-toggle": o.menuToggle,
9839
9839
  simple: o.simple
9840
9840
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9841
- o.map ? (C(), Z(F, Y({
9841
+ o.map ? (P(), B(F, Y({
9842
9842
  key: 8,
9843
9843
  map: o.map,
9844
9844
  viewport: a.viewport,
@@ -9847,49 +9847,49 @@ function Cm(e, t, o, i, a, r) {
9847
9847
  "active-weather-layers": a.activeWeatherLayers,
9848
9848
  simple: o.simple
9849
9849
  }, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : N("", !0),
9850
- o.map ? (C(), Z(E, Y({
9850
+ o.map ? (P(), B(E, Y({
9851
9851
  key: 9,
9852
9852
  viewport: a.viewport,
9853
9853
  factor: (ge = a.weatherLayers) == null ? void 0 : ge["ice-edge"],
9854
9854
  "menu-toggle": o.menuToggle,
9855
9855
  simple: o.simple
9856
9856
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9857
- o.map ? (C(), Z(V, Y({
9857
+ o.map ? (P(), B(V, Y({
9858
9858
  key: 10,
9859
9859
  viewport: a.viewport,
9860
9860
  factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-cover"],
9861
9861
  "menu-toggle": o.menuToggle,
9862
9862
  simple: o.simple
9863
9863
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9864
- o.map ? (C(), Z(J, Y({
9864
+ o.map ? (P(), B(J, Y({
9865
9865
  key: 11,
9866
9866
  viewport: a.viewport,
9867
9867
  factor: (ke = a.weatherLayers) == null ? void 0 : ke["ice-thickness"],
9868
9868
  "menu-toggle": o.menuToggle,
9869
9869
  simple: o.simple
9870
9870
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9871
- o.map ? (C(), Z(Q, Y({
9871
+ o.map ? (P(), B(Q, Y({
9872
9872
  key: 12,
9873
9873
  viewport: a.viewport,
9874
9874
  factor: (se = a.weatherLayers) == null ? void 0 : se.precip3h,
9875
9875
  "menu-toggle": o.menuToggle,
9876
9876
  simple: o.simple
9877
9877
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9878
- o.map ? (C(), Z(ee, Y({
9878
+ o.map ? (P(), B(ee, Y({
9879
9879
  key: 13,
9880
9880
  viewport: a.viewport,
9881
9881
  factor: (fe = a.weatherLayers) == null ? void 0 : fe.visibility,
9882
9882
  "menu-toggle": o.menuToggle,
9883
9883
  simple: o.simple
9884
9884
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9885
- o.map ? (C(), Z(he, Y({
9885
+ o.map ? (P(), B(he, Y({
9886
9886
  key: 14,
9887
9887
  viewport: a.viewport,
9888
9888
  factor: (ve = a.weatherLayers) == null ? void 0 : ve["water-temp"],
9889
9889
  "menu-toggle": o.menuToggle,
9890
9890
  simple: o.simple
9891
9891
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
9892
- o.map ? (C(), Z(I, Y({
9892
+ o.map ? (P(), B(D, Y({
9893
9893
  key: 15,
9894
9894
  viewport: a.viewport,
9895
9895
  factor: (Me = a.weatherLayers) == null ? void 0 : Me.temp,
@@ -10245,15 +10245,15 @@ let Di = class {
10245
10245
  }), a;
10246
10246
  }
10247
10247
  static pickHourly(t, o) {
10248
- var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te;
10249
- const oe = typeof o == "string" ? G(o) : o, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = G((a = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Ze = 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 = (d = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : d.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
10250
- if (oe.isBetween(Ze, He, "millisecond", "[]")) {
10251
- const j = oe.utc().diff(Ze, "h", !1);
10248
+ var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te;
10249
+ const oe = typeof o == "string" ? G(o) : o, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = G((a = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.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 = (d = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : d.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
10250
+ if (oe.isBetween(Be, He, "millisecond", "[]")) {
10251
+ const j = oe.utc().diff(Be, "h", !1);
10252
10252
  let be, Re;
10253
10253
  if (Pe) {
10254
10254
  let Ee = 0, Oe = 0, q = 0;
10255
- for (const Be of Pe) {
10256
- const re = Be == null ? void 0 : Be.hourly;
10255
+ for (const Ze of Pe) {
10256
+ const re = Ze == null ? void 0 : Ze.hourly;
10257
10257
  for (let Ge = j - (j - 1) % 3; Ge <= j; Ge++)
10258
10258
  Ee += (g = re == null ? void 0 : re.precipitation) == null ? void 0 : g.at(Ge);
10259
10259
  for (let Ge = j - (j - 1) % 6; Ge <= j; Ge++)
@@ -10288,8 +10288,8 @@ let Di = class {
10288
10288
  };
10289
10289
  const { name: tt, url: ot, bg: at } = this.parseWeatherCode(be.code, be.isDay);
10290
10290
  be.name = tt, be.url = ot, be.bg = at, be.wind.scale = this.beaufort(this.kts2ms(be.wind.kts)), be.wind.direction = this.degree2Direction(be.wind.degree), Ve.push({
10291
- utc: Ze.add(j, "h").format(),
10292
- model: Be.model,
10291
+ utc: Be.add(j, "h").format(),
10292
+ model: Ze.model,
10293
10293
  weather: { ...be }
10294
10294
  });
10295
10295
  }
@@ -10302,7 +10302,7 @@ let Di = class {
10302
10302
  wave: {
10303
10303
  sig: {
10304
10304
  height: (he = q == null ? void 0 : q.wave_height) == null ? void 0 : he.at(j),
10305
- degree: (I = q == null ? void 0 : q.wave_direction) == null ? void 0 : I.at(j),
10305
+ degree: (D = q == null ? void 0 : q.wave_direction) == null ? void 0 : D.at(j),
10306
10306
  bearing: ((H = q == null ? void 0 : q.wave_direction) == null ? void 0 : H.at(j)) !== null ? (((U = q == null ? void 0 : q.wave_direction) == null ? void 0 : U.at(j)) + 180) % 360 : null,
10307
10307
  period: (te = q == null ? void 0 : q.wave_period) == null ? void 0 : te.at(j)
10308
10308
  },
@@ -10358,7 +10358,7 @@ let Di = class {
10358
10358
  };
10359
10359
  }
10360
10360
  static pickDaily(t, o) {
10361
- var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe;
10361
+ var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe;
10362
10362
  const ve = typeof o == "string" ? G(o) : o, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, me = G((r = (a = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = G((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
10363
  if (ve.isBetween(me, je, "millisecond", "[]")) {
10364
10364
  let Le, Te;
@@ -10398,8 +10398,8 @@ let Di = class {
10398
10398
  bearing: ((V = pe.wind_direction_10m_dominant) == null ? void 0 : V.at(oe)) !== null ? (((J = pe.wind_direction_10m_dominant) == null ? void 0 : J.at(oe)) + 180) % 360 : null
10399
10399
  }
10400
10400
  };
10401
- const { name: ye, url: Ze, bg: He } = this.parseWeatherCode(Le.code, !0);
10402
- Le.name = ye, Le.url = Ze, Le.bg = He, Le.wind.scale = this.beaufort(this.kts2ms(Le.wind.kts)), Le.wind.direction = this.degree2Direction(Le.wind.degree), Ne.push({
10401
+ const { name: ye, url: Be, bg: He } = this.parseWeatherCode(Le.code, !0);
10402
+ Le.name = ye, Le.url = Be, Le.bg = He, Le.wind.scale = this.beaufort(this.kts2ms(Le.wind.kts)), Le.wind.direction = this.degree2Direction(Le.wind.degree), Ne.push({
10403
10403
  utc: me.add(oe, "d").utc().format(),
10404
10404
  model: Pe.model,
10405
10405
  weather: { ...Le }
@@ -10415,7 +10415,7 @@ let Di = class {
10415
10415
  height: (Q = ye.wave_height_max) == null ? void 0 : Q.at(oe),
10416
10416
  degree: (ee = ye.wave_direction_dominant) == null ? void 0 : ee.at(oe),
10417
10417
  period: (he = ye.wave_period_max) == null ? void 0 : he.at(oe),
10418
- bearing: ((I = ye.wave_direction_dominant) == null ? void 0 : I.at(oe)) !== null ? (((H = ye.wave_direction_dominant) == null ? void 0 : H.at(oe)) + 180) % 360 : null
10418
+ bearing: ((D = ye.wave_direction_dominant) == null ? void 0 : D.at(oe)) !== null ? (((H = ye.wave_direction_dominant) == null ? void 0 : H.at(oe)) + 180) % 360 : null
10419
10419
  },
10420
10420
  swell: {
10421
10421
  height: (U = ye.swell_wave_height_max) == null ? void 0 : U.at(oe),
@@ -11320,7 +11320,7 @@ const Sm = {
11320
11320
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (e = this.interpolateMarkers) == null || e.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (t = this.map) == null || t.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11321
11321
  },
11322
11322
  handleDateChange() {
11323
- var e, t, o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H;
11323
+ var e, t, o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, 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
11325
  const U = G(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), te = this.interpolateData.filter((A) => A.properties.date === (U == null ? void 0 : U.format()) && !A.properties.disabled), X = this.handleComputePolygons(te), O = ae.featureCollection([...te]);
11326
11326
  X.forEach((A) => {
@@ -11383,7 +11383,7 @@ const Sm = {
11383
11383
  }
11384
11384
  this.$emit("tropicalCenterPoints", $);
11385
11385
  } else
11386
- (I = this.map) != null && I.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
11386
+ (D = this.map) != null && D.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
11387
11387
  },
11388
11388
  handleClick(e) {
11389
11389
  var a, r, l, c, s, d, m, g, p, y, f;
@@ -11521,7 +11521,7 @@ const Sm = {
11521
11521
  }, Tm = { class: "idm-tropical-gl4" }, Rm = { class: "pb-1" }, Im = { class: "text-h5 font-weight-600" }, Dm = {
11522
11522
  key: 0,
11523
11523
  class: "text-h5 font-weight-600"
11524
- }, Am = { class: "text-body-1" }, Gm = { class: "text-label" }, Wm = { class: "d-flex justify-space-between align-center" }, Fm = { class: "w-60" }, Nm = { class: "text-label pr-1" }, Bm = { class: "flex-1-1-0" }, Zm = { class: "text-label pr-1" }, Em = { class: "py-2 d-flex justify-space-between align-center" }, Om = { class: "w-60" }, Xm = { class: "text-label pr-1" }, jm = { class: "flex-1-1-0" }, Vm = { class: "text-label pr-1" }, Hm = { class: "d-flex align-center flex-1-1-100 justify-space-between mt-n1" }, Ym = {
11524
+ }, Am = { class: "text-body-1" }, Gm = { class: "text-label" }, Wm = { class: "d-flex justify-space-between align-center" }, Fm = { class: "w-60" }, Nm = { class: "text-label pr-1" }, Zm = { class: "flex-1-1-0" }, Bm = { class: "text-label pr-1" }, Em = { class: "py-2 d-flex justify-space-between align-center" }, Om = { class: "w-60" }, Xm = { class: "text-label pr-1" }, jm = { class: "flex-1-1-0" }, Vm = { class: "text-label pr-1" }, Hm = { class: "d-flex align-center flex-1-1-100 justify-space-between mt-n1" }, Ym = {
11525
11525
  class: "text-label pr-1",
11526
11526
  style: { width: "70px" }
11527
11527
  }, Um = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Jm = { class: "more" }, Km = {
@@ -11531,7 +11531,7 @@ const Sm = {
11531
11531
  key: 1,
11532
11532
  class: "my-3 w-100",
11533
11533
  style: { height: "80px" }
11534
- }, xd = { class: "legend d-flex justify-start align-center" }, vd = { class: "label" }, kd = { class: "legend d-flex justify-start align-center" }, _d = { class: "label" }, zd = { class: "legend d-flex justify-start align-center" }, Ld = { class: "label" }, Pd = { class: "legend d-flex justify-start align-center" }, Cd = { class: "label" }, Md = { class: "legend d-flex justify-start align-center" }, Sd = { class: "label" }, Td = { class: "legend d-flex justify-start align-center" }, Rd = { class: "label" }, Id = { class: "legend d-flex justify-start align-center" }, Dd = { class: "label" }, Ad = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" }, Wd = { class: "legend d-flex justify-start align-center" }, Fd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center" }, Bd = { class: "label" }, Zd = { class: "d-flex justify-star align-center" }, Ed = { class: "font-weight-600 mr-1" }, Od = { class: "" }, Xd = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, jd = {
11534
+ }, xd = { class: "legend d-flex justify-start align-center" }, vd = { class: "label" }, kd = { class: "legend d-flex justify-start align-center" }, _d = { class: "label" }, zd = { class: "legend d-flex justify-start align-center" }, Ld = { class: "label" }, Pd = { class: "legend d-flex justify-start align-center" }, Cd = { class: "label" }, Md = { class: "legend d-flex justify-start align-center" }, Sd = { class: "label" }, Td = { class: "legend d-flex justify-start align-center" }, Rd = { class: "label" }, Id = { class: "legend d-flex justify-start align-center" }, Dd = { class: "label" }, Ad = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" }, Wd = { class: "legend d-flex justify-start align-center" }, Fd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center" }, Zd = { class: "label" }, Bd = { class: "d-flex justify-star align-center" }, Ed = { class: "font-weight-600 mr-1" }, Od = { class: "" }, Xd = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, jd = {
11535
11535
  key: 0,
11536
11536
  class: "d-flex justify-start align-center"
11537
11537
  }, Vd = { class: "text-label pr-1" }, Hd = {
@@ -11558,7 +11558,7 @@ const Sm = {
11558
11558
  }, nh = { class: "text-label pr-1" }, sh = { class: "d-flex justify-start align-center" }, ch = { class: "text-label pr-1" };
11559
11559
  function mh(e, t, o, i, a, r) {
11560
11560
  const l = R("VBtn"), c = R("VTooltip"), s = R("VCardText"), d = R("VDivider"), m = R("VCardActions"), g = R("VCard"), p = R("v-card-title"), y = R("v-divider");
11561
- return C(), D("div", Tm, [
11561
+ return P(), I("div", Tm, [
11562
11562
  n("div", {
11563
11563
  class: "menu-bar-box transition pa-1",
11564
11564
  style: ue({ top: o.top + o.paddingTop + 86 + "px", right: a.right + "px" })
@@ -11571,7 +11571,7 @@ function mh(e, t, o, i, a, r) {
11571
11571
  "open-on-focus": !o.simple,
11572
11572
  "open-on-hover": !o.simple
11573
11573
  }, {
11574
- activator: P(({ props: f }) => [
11574
+ activator: C(({ props: f }) => [
11575
11575
  L(l, Y(f, {
11576
11576
  "min-width": "32",
11577
11577
  width: "32",
@@ -11579,7 +11579,7 @@ function mh(e, t, o, i, a, r) {
11579
11579
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
11580
11580
  onClick: r.handleMenuToggle
11581
11581
  }), {
11582
- default: P(() => t[3] || (t[3] = [
11582
+ default: C(() => t[3] || (t[3] = [
11583
11583
  n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
11584
11584
  ])),
11585
11585
  _: 2,
@@ -11589,7 +11589,7 @@ function mh(e, t, o, i, a, r) {
11589
11589
  _: 1
11590
11590
  }, 8, ["text", "open-on-focus", "open-on-hover"])
11591
11591
  ], 4),
11592
- a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (C(), D("div", {
11592
+ a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (P(), I("div", {
11593
11593
  key: 0,
11594
11594
  ref: "tropicalsInfo",
11595
11595
  id: "idm-tropical-gl4-info",
@@ -11599,14 +11599,14 @@ function mh(e, t, o, i, a, r) {
11599
11599
  class: _e(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
11600
11600
  elevation: o.simple ? 0 : 16
11601
11601
  }, {
11602
- default: P(() => [
11602
+ default: C(() => [
11603
11603
  L(s, null, {
11604
- default: P(() => {
11604
+ default: C(() => {
11605
11605
  var f, h, u, x, v, w, k, S, _, M, T, W;
11606
11606
  return [
11607
11607
  n("div", Rm, [
11608
11608
  n("span", Im, b(o.locale === "en" ? (f = a.activeTropicals) == null ? void 0 : f.Name : ((h = a.activeTropicals) == null ? void 0 : h.nameCn) || ((u = a.activeTropicals) == null ? void 0 : u.Name) || "-"), 1),
11609
- (v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (C(), D("span", Dm, " , " + b(e.$t("tropical." + ((k = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : k.levelI18n))), 1)) : N("", !0)
11609
+ (v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (P(), I("span", Dm, " , " + b(e.$t("tropical." + ((k = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : k.levelI18n))), 1)) : N("", !0)
11610
11610
  ]),
11611
11611
  L(l, {
11612
11612
  icon: "",
@@ -11615,7 +11615,7 @@ function mh(e, t, o, i, a, r) {
11615
11615
  class: "close",
11616
11616
  onClick: Se(r.handleCloseInfoMarker, ["stop"])
11617
11617
  }, {
11618
- default: P(() => t[4] || (t[4] = [
11618
+ default: C(() => t[4] || (t[4] = [
11619
11619
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
11620
11620
  ])),
11621
11621
  _: 1,
@@ -11631,7 +11631,7 @@ function mh(e, t, o, i, a, r) {
11631
11631
  }),
11632
11632
  L(d),
11633
11633
  L(s, { class: "text-body-1 py-3" }, {
11634
- default: P(() => {
11634
+ default: C(() => {
11635
11635
  var f, h, u, x, v, w, k, S, _;
11636
11636
  return [
11637
11637
  n("div", Wm, [
@@ -11640,8 +11640,8 @@ function mh(e, t, o, i, a, r) {
11640
11640
  n("span", null, b(((h = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : h.kts) || "-") + " kts", 1),
11641
11641
  n("span", null, ", BF " + b(r.computeBF(((x = (u = a.activeTropicals) == null ? void 0 : u.history) == null ? void 0 : x.kts) || "-")), 1)
11642
11642
  ]),
11643
- n("div", Bm, [
11644
- n("label", Zm, b(e.$t("weather.pressure")) + " : ", 1),
11643
+ n("div", Zm, [
11644
+ n("label", Bm, b(e.$t("weather.pressure")) + " : ", 1),
11645
11645
  n("span", null, b(((w = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : w.pressure) || "-") + " hPa", 1)
11646
11646
  ])
11647
11647
  ]),
@@ -11658,7 +11658,7 @@ function mh(e, t, o, i, a, r) {
11658
11658
  n("div", Hm, [
11659
11659
  n("label", Ym, b(e.$t("tropical.models")) + " : ", 1),
11660
11660
  n("div", Um, [
11661
- (C(!0), D(Ie, null, De((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (M, T) => (C(), Z(l, {
11661
+ (P(!0), I(Ie, null, De((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (M, T) => (P(), B(l, {
11662
11662
  key: T,
11663
11663
  density: "compact",
11664
11664
  variant: M.disabled ? "text" : "flat",
@@ -11667,7 +11667,7 @@ function mh(e, t, o, i, a, r) {
11667
11667
  class: _e(["model text-none text-body-1 px-1", M.disabled ? "btn-border-1 btn-bg-1" : ""]),
11668
11668
  onClick: Se((W) => r.handleForecastToggle(M), ["stop"])
11669
11669
  }, {
11670
- default: P(() => [
11670
+ default: C(() => [
11671
11671
  de(b(M.model), 1)
11672
11672
  ]),
11673
11673
  _: 2
@@ -11679,11 +11679,11 @@ function mh(e, t, o, i, a, r) {
11679
11679
  _: 1
11680
11680
  }),
11681
11681
  L(d),
11682
- o.simple ? N("", !0) : (C(), Z(m, {
11682
+ o.simple ? N("", !0) : (P(), B(m, {
11683
11683
  key: 0,
11684
11684
  class: "d-flex justify-space-between"
11685
11685
  }, {
11686
- default: P(() => [
11686
+ default: C(() => [
11687
11687
  L(l, {
11688
11688
  density: "compact",
11689
11689
  "prepend-icon": "",
@@ -11692,23 +11692,23 @@ function mh(e, t, o, i, a, r) {
11692
11692
  class: "text-none text-body-1",
11693
11693
  onClick: t[0] || (t[0] = Se((f) => a.showLegend = !a.showLegend, ["stop"]))
11694
11694
  }, {
11695
- prepend: P(() => t[5] || (t[5] = [
11695
+ prepend: C(() => t[5] || (t[5] = [
11696
11696
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11697
11697
  ])),
11698
- default: P(() => [
11698
+ default: C(() => [
11699
11699
  de(" " + b(e.$t("weather.legend")), 1)
11700
11700
  ]),
11701
11701
  _: 1
11702
11702
  }, 8, ["color"]),
11703
11703
  n("div", Jm, [
11704
- o.permission & a.helper.LEVEL.Supper ? (C(), Z(l, {
11704
+ o.permission & a.helper.LEVEL.Supper ? (P(), B(l, {
11705
11705
  key: 0,
11706
11706
  variant: "text",
11707
11707
  density: "compact",
11708
11708
  class: "text-none text-body-1",
11709
11709
  onClick: t[1] || (t[1] = Se((f) => r.handleNotification(a.activeTropicals), ["stop"]))
11710
11710
  }, {
11711
- default: P(() => [
11711
+ default: C(() => [
11712
11712
  de(b(e.$t("actions.notify")), 1)
11713
11713
  ]),
11714
11714
  _: 1
@@ -11720,7 +11720,7 @@ function mh(e, t, o, i, a, r) {
11720
11720
  class: "text-none text-body-1",
11721
11721
  onClick: t[2] || (t[2] = Se((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11722
11722
  }, {
11723
- default: P(() => [
11723
+ default: C(() => [
11724
11724
  de(b(e.$t("actions.viewReport")), 1)
11725
11725
  ]),
11726
11726
  _: 1
@@ -11732,7 +11732,7 @@ function mh(e, t, o, i, a, r) {
11732
11732
  ]),
11733
11733
  _: 1
11734
11734
  }, 8, ["class", "elevation"]),
11735
- o.simple ? (C(), D("div", Km, [
11735
+ o.simple ? (P(), I("div", Km, [
11736
11736
  n("div", $m, [
11737
11737
  n("div", qm, [
11738
11738
  t[6] || (t[6] = n("div", { class: "icon td" }, null, -1)),
@@ -11777,11 +11777,11 @@ function mh(e, t, o, i, a, r) {
11777
11777
  n("div", bd, "50kts " + b(e.$t("tropical.radii")), 1)
11778
11778
  ])
11779
11779
  ])
11780
- ])) : (C(), D("div", wd, [
11780
+ ])) : (P(), I("div", wd, [
11781
11781
  Qe(L(g, { elevation: "16" }, {
11782
- default: P(() => [
11782
+ default: C(() => [
11783
11783
  L(s, null, {
11784
- default: P(() => [
11784
+ default: C(() => [
11785
11785
  Qe(n("div", {
11786
11786
  class: _e(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
11787
11787
  }, [
@@ -11823,7 +11823,7 @@ function mh(e, t, o, i, a, r) {
11823
11823
  ]),
11824
11824
  n("div", Nd, [
11825
11825
  t[25] || (t[25] = n("div", { class: "icon r10" }, null, -1)),
11826
- n("div", Bd, "50kts " + b(e.$t("tropical.radii")), 1)
11826
+ n("div", Zd, "50kts " + b(e.$t("tropical.radii")), 1)
11827
11827
  ])
11828
11828
  ], 2), [
11829
11829
  [et, a.showLegend]
@@ -11843,12 +11843,12 @@ function mh(e, t, o, i, a, r) {
11843
11843
  elevation: "16",
11844
11844
  "max-width": "280"
11845
11845
  }, {
11846
- default: P(() => [
11846
+ default: C(() => [
11847
11847
  L(p, null, {
11848
- default: P(() => {
11848
+ default: C(() => {
11849
11849
  var f, h, u, x;
11850
11850
  return [
11851
- n("div", Zd, [
11851
+ n("div", Bd, [
11852
11852
  n("span", Ed, b(o.locale === "en" ? (f = a.hoverPoint) == null ? void 0 : f.Name : ((h = a.hoverPoint) == null ? void 0 : h.nameCn) || ((u = a.hoverPoint) == null ? void 0 : u.Name)), 1),
11853
11853
  n("span", Od, " [" + b(e.$t("tropical." + ((x = a.hoverPoint) == null ? void 0 : x.levelI18n))) + "]", 1)
11854
11854
  ])
@@ -11858,31 +11858,31 @@ function mh(e, t, o, i, a, r) {
11858
11858
  }),
11859
11859
  L(y),
11860
11860
  L(s, { class: "text-body-1" }, {
11861
- default: P(() => {
11862
- var f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I;
11861
+ default: C(() => {
11862
+ var f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D;
11863
11863
  return [
11864
11864
  n("div", Xd, [
11865
- ((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (C(), D("div", jd, [
11865
+ ((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (P(), I("div", jd, [
11866
11866
  n("label", Vd, b(e.$t("tropical.updated")) + " : ", 1),
11867
11867
  n("span", null, b(r.computeTzTime((h = a.hoverPoint) == null ? void 0 : h.update, o.timeZone)), 1)
11868
11868
  ])) : N("", !0),
11869
- ((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (C(), D("div", Hd, [
11869
+ ((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (P(), I("div", Hd, [
11870
11870
  n("label", Yd, b(e.$t("tropical.forecast")) + " : ", 1),
11871
11871
  n("span", null, b(r.computeTzTime((x = a.hoverPoint) == null ? void 0 : x.date, o.timeZone)), 1)
11872
11872
  ])) : N("", !0),
11873
- ((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (C(), D("div", Ud, [
11873
+ ((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (P(), I("div", Ud, [
11874
11874
  n("label", Jd, b(e.$t("tropical.forecast")) + " : ", 1),
11875
11875
  n("span", null, b(r.computeTzTime((w = a.hoverPoint) == null ? void 0 : w.date, o.timeZone)), 1)
11876
11876
  ])) : N("", !0),
11877
- ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (C(), D("div", Kd, [
11877
+ ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (P(), I("div", Kd, [
11878
11878
  n("label", $d, b(e.$t("tropical.model")) + " : ", 1),
11879
11879
  n("span", null, b(((S = a.hoverPoint) == null ? void 0 : S.model) ?? "-"), 1)
11880
11880
  ])) : N("", !0),
11881
- ((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (C(), D("div", qd, [
11881
+ ((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (P(), I("div", qd, [
11882
11882
  n("label", Qd, b(e.$t("weather.wind")) + " : ", 1),
11883
11883
  n("span", null, b(((T = JSON.parse((M = a.hoverPoint) == null ? void 0 : M.wind)) == null ? void 0 : T.kts) ?? "-") + " kts", 1)
11884
11884
  ])) : N("", !0),
11885
- ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (C(), D("div", eh, [
11885
+ ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (P(), I("div", eh, [
11886
11886
  n("label", th, b(e.$t("weather.wind")) + " : ", 1),
11887
11887
  n("span", null, b(((F = a.hoverPoint) == null ? void 0 : F.kts) ?? "-") + " kts", 1)
11888
11888
  ])) : N("", !0),
@@ -11890,13 +11890,13 @@ function mh(e, t, o, i, a, r) {
11890
11890
  n("label", ah, b(e.$t("weather.pressure")) + " : ", 1),
11891
11891
  n("span", null, b(((E = a.hoverPoint) == null ? void 0 : E.pressure) ?? "-") + " hPa", 1)
11892
11892
  ]),
11893
- ((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (C(), D("div", ih, [
11893
+ ((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (P(), I("div", ih, [
11894
11894
  n("label", rh, b(e.$t("tropical.moveSpeed")) + " : ", 1),
11895
11895
  n("span", null, b(((Q = JSON.parse((J = a.hoverPoint) == null ? void 0 : J.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
11896
11896
  ])) : N("", !0),
11897
- ((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (C(), D("div", lh, [
11897
+ ((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (P(), I("div", lh, [
11898
11898
  n("label", nh, b(e.$t("tropical.moveDir")) + " : ", 1),
11899
- n("span", null, b(((I = JSON.parse((he = a.hoverPoint) == null ? void 0 : he.movement)) == null ? void 0 : I.deg) ?? "-") + " °", 1)
11899
+ n("span", null, b(((D = JSON.parse((he = a.hoverPoint) == null ? void 0 : he.movement)) == null ? void 0 : D.deg) ?? "-") + " °", 1)
11900
11900
  ])) : N("", !0),
11901
11901
  n("div", sh, [
11902
11902
  n("label", ch, b(e.$t("tropical.position")) + " : ", 1),
@@ -12115,20 +12115,20 @@ const dh = {
12115
12115
  };
12116
12116
  function fh(e, t, o, i, a, r) {
12117
12117
  const l = R("VDatePicker"), c = R("VDivider"), s = R("VListItemTitle"), d = R("VListItem"), m = R("VList"), g = R("VCardText"), p = R("VBtn"), y = R("VCardActions"), f = R("VCard");
12118
- return C(), D("div", hh, [
12118
+ return P(), I("div", hh, [
12119
12119
  n("div", {
12120
12120
  style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
12121
12121
  class: _e([o.bgClass, "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2 cursor-pointer"]),
12122
12122
  onClick: t[0] || (t[0] = (...h) => r.handleOpenDatePicker && r.handleOpenDatePicker(...h))
12123
12123
  }, b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 7),
12124
- a.showDatePicker ? (C(), Z(f, {
12124
+ a.showDatePicker ? (P(), B(f, {
12125
12125
  key: 0,
12126
12126
  class: "card-box d-flex flex-column border",
12127
12127
  style: ue(r.getStyle)
12128
12128
  }, {
12129
- default: P(() => [
12129
+ default: C(() => [
12130
12130
  L(g, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
12131
- default: P(() => [
12131
+ default: C(() => [
12132
12132
  n("div", uh, [
12133
12133
  L(l, {
12134
12134
  modelValue: a.currentDate,
@@ -12151,8 +12151,8 @@ function fh(e, t, o, i, a, r) {
12151
12151
  n("div", ph, [
12152
12152
  n("div", gh, b(a.currentTime), 1),
12153
12153
  L(m, { class: "pa-0 flex-1-1-0 scroll" }, {
12154
- default: P(() => [
12155
- (C(!0), D(Ie, null, De(r.hourOptions, (h, u) => (C(), Z(d, {
12154
+ default: C(() => [
12155
+ (P(!0), I(Ie, null, De(r.hourOptions, (h, u) => (P(), B(d, {
12156
12156
  key: u,
12157
12157
  value: h,
12158
12158
  color: "primary",
@@ -12161,12 +12161,12 @@ function fh(e, t, o, i, a, r) {
12161
12161
  height: "26",
12162
12162
  "min-height": "26"
12163
12163
  }, {
12164
- default: P(() => [
12164
+ default: C(() => [
12165
12165
  L(s, {
12166
12166
  class: "text-body-2 font-weight-600 text-center",
12167
12167
  onClick: (x) => a.currentTime = h
12168
12168
  }, {
12169
- default: P(() => [
12169
+ default: C(() => [
12170
12170
  de(b(h), 1)
12171
12171
  ]),
12172
12172
  _: 2
@@ -12186,14 +12186,14 @@ function fh(e, t, o, i, a, r) {
12186
12186
  class: "justify-end pa-0 pr-4",
12187
12187
  style: { height: "50px" }
12188
12188
  }, {
12189
- default: P(() => [
12189
+ default: C(() => [
12190
12190
  L(p, {
12191
12191
  size: "small",
12192
12192
  variant: "tonal",
12193
12193
  class: "text-none text-body-2",
12194
12194
  onClick: r.handleCancelDate
12195
12195
  }, {
12196
- default: P(() => [
12196
+ default: C(() => [
12197
12197
  de(b(e.$t("actions.cancel")), 1)
12198
12198
  ]),
12199
12199
  _: 1
@@ -12205,7 +12205,7 @@ function fh(e, t, o, i, a, r) {
12205
12205
  class: "text-none text-body-2",
12206
12206
  onClick: r.handleConfirmDate
12207
12207
  }, {
12208
- default: P(() => [
12208
+ default: C(() => [
12209
12209
  de(b(e.$t("actions.confirm")), 1)
12210
12210
  ]),
12211
12211
  _: 1
@@ -12410,28 +12410,28 @@ const yh = {
12410
12410
  }, wh = { class: "flex-1-1-0" }, xh = { class: "pa-0" };
12411
12411
  function vh(e, t, o, i, a, r) {
12412
12412
  const l = R("VIcon"), c = R("VDatePicker"), s = R("VCardText"), d = R("VDivider"), m = R("VBtn"), g = R("VCardActions"), p = R("VCard");
12413
- return C(), D("div", bh, [
12413
+ return P(), I("div", bh, [
12414
12414
  n("div", {
12415
12415
  style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
12416
12416
  class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
12417
12417
  onClick: t[0] || (t[0] = (...y) => r.handleOpenDatePicker && r.handleOpenDatePicker(...y))
12418
12418
  }, [
12419
12419
  n("span", wh, b(a.dateRangeStr), 1),
12420
- a.dateRangeStr ? (C(), Z(l, {
12420
+ a.dateRangeStr ? (P(), B(l, {
12421
12421
  key: 0,
12422
12422
  class: "text-h5",
12423
12423
  icon: "mdi-close-circle text-label",
12424
12424
  onClick: Se(r.handleClearDate, ["stop"])
12425
12425
  }, null, 8, ["onClick"])) : N("", !0)
12426
12426
  ], 4),
12427
- a.showDatePicker ? (C(), Z(p, {
12427
+ a.showDatePicker ? (P(), B(p, {
12428
12428
  key: 0,
12429
12429
  class: "card-box d-flex flex-column border",
12430
12430
  style: ue(r.getStyle)
12431
12431
  }, {
12432
- default: P(() => [
12432
+ default: C(() => [
12433
12433
  L(s, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
12434
- default: P(() => [
12434
+ default: C(() => [
12435
12435
  n("div", xh, [
12436
12436
  L(c, {
12437
12437
  modelValue: a.dateRange,
@@ -12456,14 +12456,14 @@ function vh(e, t, o, i, a, r) {
12456
12456
  class: "justify-end pa-0 pr-4",
12457
12457
  style: { height: "50px" }
12458
12458
  }, {
12459
- default: P(() => [
12459
+ default: C(() => [
12460
12460
  L(m, {
12461
12461
  size: "small",
12462
12462
  variant: "tonal",
12463
12463
  class: "text-none text-body-2",
12464
12464
  onClick: r.handleCancelDate
12465
12465
  }, {
12466
- default: P(() => [
12466
+ default: C(() => [
12467
12467
  de(b(e.$t("actions.cancel")), 1)
12468
12468
  ]),
12469
12469
  _: 1
@@ -12475,7 +12475,7 @@ function vh(e, t, o, i, a, r) {
12475
12475
  class: "text-none text-body-2",
12476
12476
  onClick: r.handleConfirmDate
12477
12477
  }, {
12478
- default: P(() => [
12478
+ default: C(() => [
12479
12479
  de(b(e.$t("actions.confirm")), 1)
12480
12480
  ]),
12481
12481
  _: 1
@@ -13537,10 +13537,10 @@ const kh = {
13537
13537
  }), this.loading = !1;
13538
13538
  },
13539
13539
  initTableData(e) {
13540
- var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H, U, te, X, O, $, A, ie, ge;
13540
+ var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge;
13541
13541
  this.currentHourData = {}, this.positionGmt = (i = (o = e == null ? void 0 : e.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = e == null ? void 0 : e.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
13542
13542
  const t = ((l = Xo.pickHourly(e, G(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13543
- 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((d = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.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 = (h = t == null ? void 0 : t.weather) == null ? void 0 : h.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((k = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.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 = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (I = t == null ? void 0 : t.wave) == null ? void 0 : I.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (te = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : te.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((O = (X = t == null ? void 0 : t.wave) == null ? void 0 : X.swell) == null ? void 0 : O.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (A = t == null ? void 0 : t.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ie = t == null ? void 0 : t.current) == null ? void 0 : ie.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;
13543
+ 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((d = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.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 = (h = t == null ? void 0 : t.weather) == null ? void 0 : h.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((k = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.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 = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (D = t == null ? void 0 : t.wave) == null ? void 0 : D.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (te = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : te.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((O = (X = t == null ? void 0 : t.wave) == null ? void 0 : X.swell) == null ? void 0 : O.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (A = t == null ? void 0 : t.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ie = t == null ? void 0 : t.current) == null ? void 0 : ie.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;
13544
13544
  },
13545
13545
  handleBind() {
13546
13546
  var e, t;
@@ -13613,7 +13613,7 @@ const kh = {
13613
13613
  }, Ah = ["xlink:href"], Gh = { class: "d-flex justify-start align-center ga-1 mb-1" }, Wh = {
13614
13614
  class: "multi-color-icon",
13615
13615
  "aria-hidden": "true"
13616
- }, Fh = ["xlink:href"], Nh = { class: "d-flex justify-start align-center" }, Bh = { class: "mx-2" }, Zh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Eh = {
13616
+ }, Fh = ["xlink:href"], Nh = { class: "d-flex justify-start align-center" }, Zh = { class: "mx-2" }, Bh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Eh = {
13617
13617
  style: { width: "100px" },
13618
13618
  class: "pa-0 pr-2 text-right opacity-50"
13619
13619
  }, Oh = { class: "pa-0 px-0" }, Xh = { class: "mx-0 py-2 d-flex align-center justify-start" }, jh = {
@@ -13662,7 +13662,7 @@ const kh = {
13662
13662
  }, Pu = ["xlink:href"];
13663
13663
  function Cu(e, t, o, i, a, r) {
13664
13664
  const l = R("VBtn"), c = R("VTooltip"), s = R("VCardTitle"), d = R("VDivider"), m = R("VTextField"), g = R("VCol"), p = R("VRow"), y = R("DateTimePicker"), f = R("VBtnToggle"), h = R("VCardText"), u = R("VCardActions"), x = R("VForm"), v = R("VCard");
13665
- return C(), D("div", _h, [
13665
+ return P(), I("div", _h, [
13666
13666
  n("div", {
13667
13667
  class: "menu-bar-box transition pa-1",
13668
13668
  style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
@@ -13675,7 +13675,7 @@ function Cu(e, t, o, i, a, r) {
13675
13675
  "open-on-focus": !o.simple,
13676
13676
  "open-on-hover": !o.simple
13677
13677
  }, {
13678
- activator: P(({ props: w }) => [
13678
+ activator: C(({ props: w }) => [
13679
13679
  L(l, Y(w, {
13680
13680
  "min-width": "32",
13681
13681
  width: "32",
@@ -13683,7 +13683,7 @@ function Cu(e, t, o, i, a, r) {
13683
13683
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
13684
13684
  onClick: r.handleMenuToggle
13685
13685
  }), {
13686
- default: P(() => t[8] || (t[8] = [
13686
+ default: C(() => t[8] || (t[8] = [
13687
13687
  n("i", { class: "iconfont icon-a-Spotweather text-h4" }, null, -1)
13688
13688
  ])),
13689
13689
  _: 2,
@@ -13693,14 +13693,14 @@ function Cu(e, t, o, i, a, r) {
13693
13693
  _: 1
13694
13694
  }, 8, ["text", "open-on-focus", "open-on-hover"])
13695
13695
  ], 4),
13696
- a.showForm && !o.simple ? (C(), Z(v, {
13696
+ a.showForm && !o.simple ? (P(), B(v, {
13697
13697
  key: 0,
13698
13698
  class: "spot-form-card",
13699
13699
  style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
13700
13700
  }, {
13701
- default: P(() => [
13701
+ default: C(() => [
13702
13702
  L(s, { class: "d-flex justify-space-between align-center" }, {
13703
- default: P(() => [
13703
+ default: C(() => [
13704
13704
  n("div", zh, [
13705
13705
  n("div", Lh, b(e.$t("spot.spotWeather")), 1)
13706
13706
  ]),
@@ -13711,7 +13711,7 @@ function Cu(e, t, o, i, a, r) {
13711
13711
  class: "mr-n2",
13712
13712
  onClick: r.handleCloseForm
13713
13713
  }, {
13714
- default: P(() => t[9] || (t[9] = [
13714
+ default: C(() => t[9] || (t[9] = [
13715
13715
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
13716
13716
  ])),
13717
13717
  _: 1,
@@ -13727,11 +13727,11 @@ function Cu(e, t, o, i, a, r) {
13727
13727
  class: "form-box",
13728
13728
  onSubmit: Se(r.submitForm, ["prevent"])
13729
13729
  }, {
13730
- default: P(() => [
13730
+ default: C(() => [
13731
13731
  L(h, { class: "text-body-1 py-1" }, {
13732
- default: P(() => [
13732
+ default: C(() => [
13733
13733
  n("div", Ph, [
13734
- (C(), D("svg", Ch, [
13734
+ (P(), I("svg", Ch, [
13735
13735
  n("use", {
13736
13736
  "xlink:href": `#icon-lng-${o.theme}`
13737
13737
  }, null, 8, Mh)
@@ -13739,12 +13739,12 @@ function Cu(e, t, o, i, a, r) {
13739
13739
  n("div", null, b(e.$t("spot.lng")), 1)
13740
13740
  ]),
13741
13741
  L(p, { class: "ma-0" }, {
13742
- default: P(() => [
13742
+ default: C(() => [
13743
13743
  L(g, {
13744
13744
  cols: "4",
13745
13745
  class: "pa-0 d-flex"
13746
13746
  }, {
13747
- default: P(() => [
13747
+ default: C(() => [
13748
13748
  L(m, {
13749
13749
  modelValue: a.form.lngDegree,
13750
13750
  "onUpdate:modelValue": t[0] || (t[0] = (w) => a.form.lngDegree = w),
@@ -13764,7 +13764,7 @@ function Cu(e, t, o, i, a, r) {
13764
13764
  cols: "6",
13765
13765
  class: "pa-0 d-flex"
13766
13766
  }, {
13767
- default: P(() => [
13767
+ default: C(() => [
13768
13768
  L(m, {
13769
13769
  modelValue: a.form.lngMinute,
13770
13770
  "onUpdate:modelValue": t[1] || (t[1] = (w) => a.form.lngMinute = w),
@@ -13785,7 +13785,7 @@ function Cu(e, t, o, i, a, r) {
13785
13785
  cols: "2",
13786
13786
  class: "pa-0"
13787
13787
  }, {
13788
- default: P(() => [
13788
+ default: C(() => [
13789
13789
  L(l, {
13790
13790
  variant: "outlined",
13791
13791
  density: "compact",
@@ -13796,7 +13796,7 @@ function Cu(e, t, o, i, a, r) {
13796
13796
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
13797
13797
  onClick: t[2] || (t[2] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13798
13798
  }, {
13799
- default: P(() => [
13799
+ default: C(() => [
13800
13800
  de(b(a.form.lngDirection), 1)
13801
13801
  ]),
13802
13802
  _: 1
@@ -13808,7 +13808,7 @@ function Cu(e, t, o, i, a, r) {
13808
13808
  _: 1
13809
13809
  }),
13810
13810
  n("div", Sh, [
13811
- (C(), D("svg", Th, [
13811
+ (P(), I("svg", Th, [
13812
13812
  n("use", {
13813
13813
  "xlink:href": `#icon-lng-${o.theme}`
13814
13814
  }, null, 8, Rh)
@@ -13816,12 +13816,12 @@ function Cu(e, t, o, i, a, r) {
13816
13816
  n("div", null, b(e.$t("spot.lat")), 1)
13817
13817
  ]),
13818
13818
  L(p, { class: "ma-0" }, {
13819
- default: P(() => [
13819
+ default: C(() => [
13820
13820
  L(g, {
13821
13821
  cols: "4",
13822
13822
  class: "pa-0 d-flex"
13823
13823
  }, {
13824
- default: P(() => [
13824
+ default: C(() => [
13825
13825
  L(m, {
13826
13826
  modelValue: a.form.latDegree,
13827
13827
  "onUpdate:modelValue": t[3] || (t[3] = (w) => a.form.latDegree = w),
@@ -13844,7 +13844,7 @@ function Cu(e, t, o, i, a, r) {
13844
13844
  cols: "6",
13845
13845
  class: "pa-0 d-flex"
13846
13846
  }, {
13847
- default: P(() => [
13847
+ default: C(() => [
13848
13848
  L(m, {
13849
13849
  modelValue: a.form.latMinute,
13850
13850
  "onUpdate:modelValue": t[4] || (t[4] = (w) => a.form.latMinute = w),
@@ -13865,7 +13865,7 @@ function Cu(e, t, o, i, a, r) {
13865
13865
  cols: "2",
13866
13866
  class: "pa-0"
13867
13867
  }, {
13868
- default: P(() => [
13868
+ default: C(() => [
13869
13869
  L(l, {
13870
13870
  variant: "outlined",
13871
13871
  density: "compact",
@@ -13876,7 +13876,7 @@ function Cu(e, t, o, i, a, r) {
13876
13876
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
13877
13877
  onClick: t[5] || (t[5] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13878
13878
  }, {
13879
- default: P(() => [
13879
+ default: C(() => [
13880
13880
  de(b(a.form.latDirection), 1)
13881
13881
  ]),
13882
13882
  _: 1
@@ -13888,7 +13888,7 @@ function Cu(e, t, o, i, a, r) {
13888
13888
  _: 1
13889
13889
  }),
13890
13890
  n("div", Ih, [
13891
- (C(), D("svg", Dh, [
13891
+ (P(), I("svg", Dh, [
13892
13892
  n("use", {
13893
13893
  "xlink:href": `#icon-date-time-${o.theme}`
13894
13894
  }, null, 8, Ah)
@@ -13896,12 +13896,12 @@ function Cu(e, t, o, i, a, r) {
13896
13896
  n("div", null, b(e.$t("spot.dateTime")), 1)
13897
13897
  ]),
13898
13898
  L(p, { class: "ma-0 mb-4" }, {
13899
- default: P(() => [
13899
+ default: C(() => [
13900
13900
  L(g, {
13901
13901
  cols: "12",
13902
13902
  class: "pa-0"
13903
13903
  }, {
13904
- default: P(() => [
13904
+ default: C(() => [
13905
13905
  L(y, Y({
13906
13906
  "date-time": a.form.dateTime,
13907
13907
  "time-zone": o.timeZone
@@ -13915,7 +13915,7 @@ function Cu(e, t, o, i, a, r) {
13915
13915
  _: 1
13916
13916
  }),
13917
13917
  n("div", Gh, [
13918
- (C(), D("svg", Wh, [
13918
+ (P(), I("svg", Wh, [
13919
13919
  n("use", {
13920
13920
  "xlink:href": `#icon-forecast-model-${o.theme}`
13921
13921
  }, null, 8, Fh)
@@ -13923,12 +13923,12 @@ function Cu(e, t, o, i, a, r) {
13923
13923
  n("div", null, b(e.$t("weather.forecastModel")), 1)
13924
13924
  ]),
13925
13925
  L(p, { class: "ma-0 mb-2" }, {
13926
- default: P(() => [
13926
+ default: C(() => [
13927
13927
  L(g, {
13928
13928
  cols: "12",
13929
13929
  class: "pa-0"
13930
13930
  }, {
13931
- default: P(() => [
13931
+ default: C(() => [
13932
13932
  L(f, {
13933
13933
  modelValue: a.form.forecastModel,
13934
13934
  "onUpdate:modelValue": t[7] || (t[7] = (w) => a.form.forecastModel = w),
@@ -13938,7 +13938,7 @@ function Cu(e, t, o, i, a, r) {
13938
13938
  density: "compact",
13939
13939
  group: ""
13940
13940
  }, {
13941
- default: P(() => [
13941
+ default: C(() => [
13942
13942
  L(l, {
13943
13943
  density: "compact",
13944
13944
  height: "30",
@@ -13947,7 +13947,7 @@ function Cu(e, t, o, i, a, r) {
13947
13947
  color: a.form.forecastModel === "GFS" ? "primary" : "",
13948
13948
  "base-color": ""
13949
13949
  }, {
13950
- default: P(() => t[14] || (t[14] = [
13950
+ default: C(() => t[14] || (t[14] = [
13951
13951
  de("NOAA", -1)
13952
13952
  ])),
13953
13953
  _: 1,
@@ -13961,7 +13961,7 @@ function Cu(e, t, o, i, a, r) {
13961
13961
  "base-color": "",
13962
13962
  value: "ECMWF"
13963
13963
  }, {
13964
- default: P(() => t[15] || (t[15] = [
13964
+ default: C(() => t[15] || (t[15] = [
13965
13965
  de("ECMWF", -1)
13966
13966
  ])),
13967
13967
  _: 1,
@@ -13981,14 +13981,14 @@ function Cu(e, t, o, i, a, r) {
13981
13981
  }),
13982
13982
  L(d),
13983
13983
  L(u, { class: "d-flex justify-end align-center ga-4" }, {
13984
- default: P(() => [
13984
+ default: C(() => [
13985
13985
  L(l, {
13986
13986
  size: "small",
13987
13987
  variant: "outlined",
13988
13988
  class: "text-none text-body-1 btn-border-1 btn-bg-1",
13989
13989
  onClick: r.cancelForm
13990
13990
  }, {
13991
- default: P(() => [
13991
+ default: C(() => [
13992
13992
  de(b(e.$t("actions.clear")), 1)
13993
13993
  ]),
13994
13994
  _: 1
@@ -14002,7 +14002,7 @@ function Cu(e, t, o, i, a, r) {
14002
14002
  type: "submit",
14003
14003
  class: "text-none text-body-1"
14004
14004
  }, {
14005
- default: P(() => [
14005
+ default: C(() => [
14006
14006
  de(b(e.$t("actions.confirm")), 1)
14007
14007
  ]),
14008
14008
  _: 1
@@ -14016,18 +14016,18 @@ function Cu(e, t, o, i, a, r) {
14016
14016
  ]),
14017
14017
  _: 1
14018
14018
  }, 8, ["style"])) : N("", !0),
14019
- a.showMeteo && !o.simple ? (C(), Z(v, {
14019
+ a.showMeteo && !o.simple ? (P(), B(v, {
14020
14020
  key: 1,
14021
14021
  id: "idm-gl4-spot-meteo",
14022
14022
  class: "spot-meteo",
14023
14023
  style: { width: "490px", "z-index": "9" }
14024
14024
  }, {
14025
- default: P(() => [
14025
+ default: C(() => [
14026
14026
  L(s, { class: "d-flex justify-space-between align-center" }, {
14027
- default: P(() => [
14027
+ default: C(() => [
14028
14028
  n("div", Nh, [
14029
14029
  t[16] || (t[16] = n("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
14030
- n("div", Bh, b(r.computePosition(a.form || a.currentHourData)), 1)
14030
+ n("div", Zh, b(r.computePosition(a.form || a.currentHourData)), 1)
14031
14031
  ]),
14032
14032
  L(l, {
14033
14033
  class: "mr-n2",
@@ -14036,7 +14036,7 @@ function Cu(e, t, o, i, a, r) {
14036
14036
  variant: "plain",
14037
14037
  onClick: Se(r.handleCloseMeteo, ["stop"])
14038
14038
  }, {
14039
- default: P(() => t[17] || (t[17] = [
14039
+ default: C(() => t[17] || (t[17] = [
14040
14040
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
14041
14041
  ])),
14042
14042
  _: 1,
@@ -14047,10 +14047,10 @@ function Cu(e, t, o, i, a, r) {
14047
14047
  }),
14048
14048
  L(d),
14049
14049
  L(h, { class: "text-body-1 px-0 py-1" }, {
14050
- default: P(() => {
14050
+ default: C(() => {
14051
14051
  var w, k;
14052
14052
  return [
14053
- n("div", Zh, [
14053
+ n("div", Bh, [
14054
14054
  n("div", Eh, b(e.$t("time.time")), 1),
14055
14055
  n("div", Oh, b(r.computedTzTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
14056
14056
  ]),
@@ -14085,13 +14085,13 @@ function Cu(e, t, o, i, a, r) {
14085
14085
  }),
14086
14086
  L(d),
14087
14087
  L(u, { class: "d-flex justify-space-between align-center" }, {
14088
- default: P(() => {
14088
+ default: C(() => {
14089
14089
  var w;
14090
14090
  return [
14091
14091
  (w = o.followList) != null && w.some((k) => {
14092
14092
  var S, _;
14093
14093
  return (k == null ? void 0 : k.id) === a.form.followId || ((S = k == null ? void 0 : k.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
14094
- }) ? (C(), Z(l, {
14094
+ }) ? (P(), B(l, {
14095
14095
  key: 0,
14096
14096
  class: "text-none text-body-1",
14097
14097
  id: "idm-gl4-spot-meteo-follow",
@@ -14100,14 +14100,14 @@ function Cu(e, t, o, i, a, r) {
14100
14100
  height: "32",
14101
14101
  onClick: Se(r.handleCancelFollow, ["stop"])
14102
14102
  }, {
14103
- prepend: P(() => t[19] || (t[19] = [
14103
+ prepend: C(() => t[19] || (t[19] = [
14104
14104
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
14105
14105
  ])),
14106
- default: P(() => [
14106
+ default: C(() => [
14107
14107
  de(" " + b(e.$t("actions.unfollow")), 1)
14108
14108
  ]),
14109
14109
  _: 1
14110
- }, 8, ["onClick"])) : (C(), Z(l, {
14110
+ }, 8, ["onClick"])) : (P(), B(l, {
14111
14111
  key: 1,
14112
14112
  id: "idm-gl4-spot-meteo-unfollow",
14113
14113
  class: "text-none text-body-1",
@@ -14116,10 +14116,10 @@ function Cu(e, t, o, i, a, r) {
14116
14116
  height: "32",
14117
14117
  onClick: Se(r.handleFollow, ["stop"])
14118
14118
  }, {
14119
- prepend: P(() => t[20] || (t[20] = [
14119
+ prepend: C(() => t[20] || (t[20] = [
14120
14120
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
14121
14121
  ])),
14122
- default: P(() => [
14122
+ default: C(() => [
14123
14123
  de(b(e.$t("actions.follow")) + " ", 1)
14124
14124
  ]),
14125
14125
  _: 1
@@ -14132,7 +14132,7 @@ function Cu(e, t, o, i, a, r) {
14132
14132
  class: "text-none text-body-1",
14133
14133
  onClick: Se(r.handleMeteoMore, ["stop"])
14134
14134
  }, {
14135
- default: P(() => [
14135
+ default: C(() => [
14136
14136
  de(b(e.$t("spot.forecast")), 1)
14137
14137
  ]),
14138
14138
  _: 1
@@ -14144,15 +14144,15 @@ function Cu(e, t, o, i, a, r) {
14144
14144
  ]),
14145
14145
  _: 1
14146
14146
  })) : N("", !0),
14147
- a.showMeteo && o.simple ? (C(), Z(v, {
14147
+ a.showMeteo && o.simple ? (P(), B(v, {
14148
14148
  key: 2,
14149
14149
  ref: "spotMeteo",
14150
14150
  class: "position-absolute bottom-0 rounded-t-4",
14151
14151
  style: { width: "100vw", "z-index": "1001" }
14152
14152
  }, {
14153
- default: P(() => [
14153
+ default: C(() => [
14154
14154
  L(s, null, {
14155
- default: P(() => {
14155
+ default: C(() => {
14156
14156
  var w;
14157
14157
  return [
14158
14158
  n("div", lu, [
@@ -14164,7 +14164,7 @@ function Cu(e, t, o, i, a, r) {
14164
14164
  (w = o.followList) != null && w.some((k) => {
14165
14165
  var S, _;
14166
14166
  return (k == null ? void 0 : k.id) === a.form.followId || ((S = k == null ? void 0 : k.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
14167
- }) ? (C(), Z(l, {
14167
+ }) ? (P(), B(l, {
14168
14168
  key: 0,
14169
14169
  class: "text-none text-body-1 rounded-circle",
14170
14170
  variant: "text",
@@ -14174,12 +14174,12 @@ function Cu(e, t, o, i, a, r) {
14174
14174
  "min-width": "28",
14175
14175
  onClick: Se(r.handleCancelFollow, ["stop"])
14176
14176
  }, {
14177
- default: P(() => t[22] || (t[22] = [
14177
+ default: C(() => t[22] || (t[22] = [
14178
14178
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
14179
14179
  ])),
14180
14180
  _: 1,
14181
14181
  __: [22]
14182
- }, 8, ["onClick"])) : (C(), Z(l, {
14182
+ }, 8, ["onClick"])) : (P(), B(l, {
14183
14183
  key: 1,
14184
14184
  class: "text-none text-body-1 rounded-circle",
14185
14185
  variant: "plain",
@@ -14189,7 +14189,7 @@ function Cu(e, t, o, i, a, r) {
14189
14189
  "min-width": "28",
14190
14190
  onClick: Se(r.handleFollow, ["stop"])
14191
14191
  }, {
14192
- default: P(() => t[23] || (t[23] = [
14192
+ default: C(() => t[23] || (t[23] = [
14193
14193
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
14194
14194
  ])),
14195
14195
  _: 1,
@@ -14202,7 +14202,7 @@ function Cu(e, t, o, i, a, r) {
14202
14202
  variant: "plain",
14203
14203
  onClick: Se(r.handleCloseMeteo, ["stop"])
14204
14204
  }, {
14205
- default: P(() => t[24] || (t[24] = [
14205
+ default: C(() => t[24] || (t[24] = [
14206
14206
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
14207
14207
  ])),
14208
14208
  _: 1,
@@ -14218,7 +14218,7 @@ function Cu(e, t, o, i, a, r) {
14218
14218
  }),
14219
14219
  L(d),
14220
14220
  L(h, { class: "text-body-1 px-0 py-2" }, {
14221
- default: P(() => {
14221
+ default: C(() => {
14222
14222
  var w, k;
14223
14223
  return [
14224
14224
  n("div", mu, [
@@ -14270,7 +14270,7 @@ function Cu(e, t, o, i, a, r) {
14270
14270
  _: 1
14271
14271
  }, 512)) : N("", !0),
14272
14272
  Qe(n("div", zu, [
14273
- (C(), D("svg", Lu, [
14273
+ (P(), I("svg", Lu, [
14274
14274
  n("use", {
14275
14275
  "xlink:href": `#icon-spot-${o.theme}`
14276
14276
  }, null, 8, Pu)
@@ -14642,7 +14642,7 @@ const Su = {
14642
14642
  }, Tu = { class: "idm-gl4-measure" };
14643
14643
  function Ru(e, t, o, i, a, r) {
14644
14644
  const l = R("VBtn"), c = R("VTooltip");
14645
- return C(), D("div", Tu, [
14645
+ return P(), I("div", Tu, [
14646
14646
  n("div", {
14647
14647
  class: "menu-bar-box transition pa-1",
14648
14648
  style: ue({ top: o.top + o.paddingTop + 166 + "px", right: a.right + "px" })
@@ -14655,7 +14655,7 @@ function Ru(e, t, o, i, a, r) {
14655
14655
  "open-on-focus": !o.simple,
14656
14656
  "open-on-hover": !o.simple
14657
14657
  }, {
14658
- activator: P(({ props: s }) => [
14658
+ activator: C(({ props: s }) => [
14659
14659
  L(l, Y(s, {
14660
14660
  "min-width": "32",
14661
14661
  width: "32",
@@ -14663,7 +14663,7 @@ function Ru(e, t, o, i, a, r) {
14663
14663
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
14664
14664
  onClick: r.handleMenuToggle
14665
14665
  }), {
14666
- default: P(() => t[0] || (t[0] = [
14666
+ default: C(() => t[0] || (t[0] = [
14667
14667
  n("i", { class: "iconfont icon-a-Measuredistance text-h4" }, null, -1)
14668
14668
  ])),
14669
14669
  _: 2,
@@ -14676,25 +14676,25 @@ function Ru(e, t, o, i, a, r) {
14676
14676
  ]);
14677
14677
  }
14678
14678
  const Iu = /* @__PURE__ */ ne(Su, [["render", Ru]]);
14679
- var B = { image: /* @__PURE__ */ new Map(), background: /* @__PURE__ */ new Map(), resource: /* @__PURE__ */ new Map(), defaultStyle: /* @__PURE__ */ new Map(), baseStyle: /* @__PURE__ */ new Map(), computedStyle: /* @__PURE__ */ new WeakMap(), font: /* @__PURE__ */ new Set(), session: { styleMap: /* @__PURE__ */ new Map(), styleCache: /* @__PURE__ */ new WeakMap(), nodeMap: /* @__PURE__ */ new Map() } };
14679
+ var Z = { image: /* @__PURE__ */ new Map(), background: /* @__PURE__ */ new Map(), resource: /* @__PURE__ */ new Map(), defaultStyle: /* @__PURE__ */ new Map(), baseStyle: /* @__PURE__ */ new Map(), computedStyle: /* @__PURE__ */ new WeakMap(), font: /* @__PURE__ */ new Set(), session: { styleMap: /* @__PURE__ */ new Map(), styleCache: /* @__PURE__ */ new WeakMap(), nodeMap: /* @__PURE__ */ new Map() } };
14680
14680
  function Du(e = "soft") {
14681
- switch (B.session.__counterEpoch = (B.session.__counterEpoch || 0) + 1, e) {
14681
+ switch (Z.session.__counterEpoch = (Z.session.__counterEpoch || 0) + 1, e) {
14682
14682
  case "auto": {
14683
- B.session.styleMap = /* @__PURE__ */ new Map(), B.session.nodeMap = /* @__PURE__ */ new Map();
14683
+ Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map();
14684
14684
  return;
14685
14685
  }
14686
14686
  case "soft": {
14687
- B.session.styleMap = /* @__PURE__ */ new Map(), B.session.nodeMap = /* @__PURE__ */ new Map(), B.session.styleCache = /* @__PURE__ */ new WeakMap();
14687
+ Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap();
14688
14688
  return;
14689
14689
  }
14690
14690
  case "full":
14691
14691
  return;
14692
14692
  case "disabled": {
14693
- B.session.styleMap = /* @__PURE__ */ new Map(), B.session.nodeMap = /* @__PURE__ */ new Map(), B.session.styleCache = /* @__PURE__ */ new WeakMap(), B.computedStyle = /* @__PURE__ */ new WeakMap(), B.baseStyle = /* @__PURE__ */ new Map(), B.defaultStyle = /* @__PURE__ */ new Map(), B.image = /* @__PURE__ */ new Map(), B.background = /* @__PURE__ */ new Map(), B.resource = /* @__PURE__ */ new Map(), B.font = /* @__PURE__ */ new Set();
14693
+ Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap(), Z.computedStyle = /* @__PURE__ */ new WeakMap(), Z.baseStyle = /* @__PURE__ */ new Map(), Z.defaultStyle = /* @__PURE__ */ new Map(), Z.image = /* @__PURE__ */ new Map(), Z.background = /* @__PURE__ */ new Map(), Z.resource = /* @__PURE__ */ new Map(), Z.font = /* @__PURE__ */ new Set();
14694
14694
  return;
14695
14695
  }
14696
14696
  default: {
14697
- B.session.styleMap = /* @__PURE__ */ new Map(), B.session.nodeMap = /* @__PURE__ */ new Map(), B.session.styleCache = /* @__PURE__ */ new WeakMap();
14697
+ Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap();
14698
14698
  return;
14699
14699
  }
14700
14700
  }
@@ -14769,7 +14769,7 @@ function Nu(e, t) {
14769
14769
  return !!t;
14770
14770
  }
14771
14771
  }
14772
- function Bu(e, t) {
14772
+ function Zu(e, t) {
14773
14773
  if (!t)
14774
14774
  return e;
14775
14775
  if (t.includes("{url}"))
@@ -14789,7 +14789,7 @@ function Gi(e) {
14789
14789
  i.onload = () => t(String(i.result || "")), i.onerror = () => o(new Error("read_failed")), i.readAsDataURL(e);
14790
14790
  });
14791
14791
  }
14792
- function Zu(e, t) {
14792
+ function Bu(e, t) {
14793
14793
  return [t.as || "blob", t.timeout ?? 3e3, t.useProxy || "", t.errorTTL ?? 8e3, e].join("|");
14794
14794
  }
14795
14795
  async function Ue(e, t = {}) {
@@ -14817,14 +14817,14 @@ async function Ue(e, t = {}) {
14817
14817
  }
14818
14818
  if (/^about:blank$/i.test(e))
14819
14819
  return o === "dataURL" ? { ok: !0, data: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", status: 200, url: e, fromCache: !1, mime: "image/png" } : { ok: !0, data: o === "text" ? "" : new Blob([]), status: 200, url: e, fromCache: !1 };
14820
- let s = Zu(e, { as: o, timeout: i, useProxy: a, errorTTL: r }), d = Ho.get(s);
14820
+ let s = Bu(e, { as: o, timeout: i, useProxy: a, errorTTL: r }), d = Ho.get(s);
14821
14821
  if (d && d.until > Date.now())
14822
14822
  return { ...d.result, fromCache: !0 };
14823
14823
  d && Ho.delete(s);
14824
14824
  let m = aa.get(s);
14825
14825
  if (m)
14826
14826
  return m;
14827
- let g = Nu(e, a) ? Bu(e, a) : e, p = t.credentials;
14827
+ let g = Nu(e, a) ? Zu(e, a) : e, p = t.credentials;
14828
14828
  if (!p)
14829
14829
  try {
14830
14830
  let u = typeof location < "u" && location.href ? location.href : "http://localhost/", x = new URL(e, u);
@@ -14867,25 +14867,25 @@ async function ir(e, t = {}) {
14867
14867
  if (!o)
14868
14868
  return e;
14869
14869
  let i = Qo(o);
14870
- if (B.background.has(i)) {
14871
- let a = B.background.get(i);
14870
+ if (Z.background.has(i)) {
14871
+ let a = Z.background.get(i);
14872
14872
  return a ? `url("${a}")` : "none";
14873
14873
  }
14874
14874
  try {
14875
14875
  let a = await Ue(i, { as: "dataURL", useProxy: t.useProxy });
14876
- return a.ok ? (B.background.set(i, a.data), `url("${a.data}")`) : (B.background.set(i, null), "none");
14876
+ return a.ok ? (Z.background.set(i, a.data), `url("${a.data}")`) : (Z.background.set(i, null), "none");
14877
14877
  } catch {
14878
- return B.background.set(i, null), "none";
14878
+ return Z.background.set(i, null), "none";
14879
14879
  }
14880
14880
  }
14881
14881
  var Eu = /* @__PURE__ */ new Set(["meta", "script", "noscript", "title", "link", "template"]), ba = /* @__PURE__ */ new Set(["meta", "link", "style", "title", "noscript", "script", "template", "g", "defs", "use", "marker", "mask", "clipPath", "pattern", "path", "polygon", "polyline", "line", "circle", "ellipse", "rect", "filter", "lineargradient", "radialgradient", "stop"]);
14882
14882
  function Ou(e) {
14883
14883
  if (e = String(e).toLowerCase(), ba.has(e)) {
14884
14884
  let r = {};
14885
- return B.defaultStyle.set(e, r), r;
14885
+ return Z.defaultStyle.set(e, r), r;
14886
14886
  }
14887
- if (B.defaultStyle.has(e))
14888
- return B.defaultStyle.get(e);
14887
+ if (Z.defaultStyle.has(e))
14888
+ return Z.defaultStyle.get(e);
14889
14889
  let t = document.getElementById("snapdom-sandbox");
14890
14890
  t || (t = document.createElement("div"), t.id = "snapdom-sandbox", t.setAttribute("data-snapdom-sandbox", "true"), t.setAttribute("aria-hidden", "true"), t.style.position = "absolute", t.style.left = "-9999px", t.style.top = "-9999px", t.style.width = "0px", t.style.height = "0px", t.style.overflow = "hidden", document.body.appendChild(t));
14891
14891
  let o = document.createElement(e);
@@ -14897,7 +14897,7 @@ function Ou(e) {
14897
14897
  let l = i.getPropertyValue(r);
14898
14898
  a[r] = l;
14899
14899
  }
14900
- return t.removeChild(o), B.defaultStyle.set(e, a), a;
14900
+ return t.removeChild(o), Z.defaultStyle.set(e, a), a;
14901
14901
  }
14902
14902
  var Xu = /(?:^|-)(animation|transition)(?:-|$)/i, ju = /^(--|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i, Vu = /* @__PURE__ */ new Set(["cursor", "pointer-events", "touch-action", "user-select", "print-color-adjust", "speak", "reading-flow", "reading-order", "anchor-name", "anchor-scope", "container-name", "container-type", "timeline-scope"]);
14903
14903
  function rr(e) {
@@ -14923,7 +14923,7 @@ function Hu(e) {
14923
14923
  function Yu(e) {
14924
14924
  let t = /* @__PURE__ */ new Map();
14925
14925
  for (let i of e) {
14926
- let a = B.defaultStyle.get(i);
14926
+ let a = Z.defaultStyle.get(i);
14927
14927
  if (!a)
14928
14928
  continue;
14929
14929
  let r = Object.entries(a).map(([l, c]) => `${l}:${c};`).sort().join("");
@@ -14944,8 +14944,8 @@ function Uu(e) {
14944
14944
  function lr(e, t = null) {
14945
14945
  if (!(e instanceof Element))
14946
14946
  return window.getComputedStyle(e, t);
14947
- let o = B.computedStyle.get(e);
14948
- if (o || (o = /* @__PURE__ */ new Map(), B.computedStyle.set(e, o)), !o.has(t)) {
14947
+ let o = Z.computedStyle.get(e);
14948
+ if (o || (o = /* @__PURE__ */ new Map(), Z.computedStyle.set(e, o)), !o.has(t)) {
14949
14949
  let i = window.getComputedStyle(e, t);
14950
14950
  o.set(t, i);
14951
14951
  }
@@ -15282,16 +15282,16 @@ async function dr(e, t, o = "") {
15282
15282
  } catch {
15283
15283
  }
15284
15284
  if (!Ke(g)) {
15285
- if ((a = B.resource) != null && a.has(g)) {
15286
- (r = B.font) == null || r.add(g), i = i.replace(d[0], `url(${B.resource.get(g)})`);
15285
+ if ((a = Z.resource) != null && a.has(g)) {
15286
+ (r = Z.font) == null || r.add(g), i = i.replace(d[0], `url(${Z.resource.get(g)})`);
15287
15287
  continue;
15288
15288
  }
15289
- if (!((l = B.font) != null && l.has(g)))
15289
+ if (!((l = Z.font) != null && l.has(g)))
15290
15290
  try {
15291
15291
  let p = await Ue(g, { as: "dataURL", useProxy: o, silent: !0 });
15292
15292
  if (p.ok && typeof p.data == "string") {
15293
15293
  let y = p.data;
15294
- (c = B.resource) == null || c.set(g, y), (s = B.font) == null || s.add(g), i = i.replace(d[0], `url(${y})`);
15294
+ (c = Z.resource) == null || c.set(g, y), (s = Z.font) == null || s.add(g), i = i.replace(d[0], `url(${y})`);
15295
15295
  }
15296
15296
  } catch {
15297
15297
  console.warn("[snapDOM] Failed to fetch font resource:", g);
@@ -15306,7 +15306,7 @@ function pp(e) {
15306
15306
  let t = (l, c) => e.some(([s, d]) => !(d < l || s > c)), o = t(0, 255) || t(305, 305), i = t(256, 591) || t(7680, 7935), a = t(880, 1023), r = t(1024, 1279);
15307
15307
  return t(7840, 7929) || t(258, 259) || t(416, 417) || t(431, 432) ? "vietnamese" : r ? "cyrillic" : a ? "greek" : i ? "latin-ext" : o ? "latin" : null;
15308
15308
  }
15309
- function Bi(e = {}) {
15309
+ function Zi(e = {}) {
15310
15310
  let t = new Set((e.families || []).map((a) => String(a).toLowerCase())), o = new Set((e.domains || []).map((a) => String(a).toLowerCase())), i = new Set((e.subsets || []).map((a) => String(a).toLowerCase()));
15311
15311
  return (a, r) => {
15312
15312
  if (t.size && t.has(a.family.toLowerCase()))
@@ -15399,17 +15399,17 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
15399
15399
  var h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he;
15400
15400
  e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
15401
15401
  let r = /* @__PURE__ */ new Map();
15402
- for (let I of e) {
15403
- let [H, U, te, X] = String(I).split("__");
15402
+ for (let D of e) {
15403
+ let [H, U, te, X] = String(D).split("__");
15404
15404
  if (!H)
15405
15405
  continue;
15406
15406
  let O = r.get(H) || [];
15407
15407
  O.push({ w: parseInt(U, 10), s: te, st: parseInt(X, 10) }), r.set(H, O);
15408
15408
  }
15409
- function l(I, H, U, te) {
15410
- if (!r.has(I))
15409
+ function l(D, H, U, te) {
15410
+ if (!r.has(D))
15411
15411
  return !1;
15412
- let X = r.get(I), O = np(U), $ = sp(H), A = cp(te), ie = O.min !== O.max, ge = O.min, xe = (se) => $.kind === "normal" && se === "normal" || $.kind !== "normal" && (se === "italic" || se === "oblique"), ke = !1;
15412
+ let X = r.get(D), O = np(U), $ = sp(H), A = cp(te), ie = O.min !== O.max, ge = O.min, xe = (se) => $.kind === "normal" && se === "normal" || $.kind !== "normal" && (se === "italic" || se === "oblique"), ke = !1;
15413
15413
  for (let se of X) {
15414
15414
  let fe = ie ? se.w >= O.min && se.w <= O.max : se.w === ge, ve = xe(Ko(se.s)), Me = se.st >= A.min && se.st <= A.max;
15415
15415
  if (fe && ve && Me) {
@@ -15433,37 +15433,37 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
15433
15433
  }
15434
15434
  return !1;
15435
15435
  }
15436
- let c = Bi(o), s = fp(e, o, i, a);
15437
- if ((h = B.resource) != null && h.has(s))
15438
- return B.resource.get(s);
15436
+ let c = Zi(o), s = fp(e, o, i, a);
15437
+ if ((h = Z.resource) != null && h.has(s))
15438
+ return Z.resource.get(s);
15439
15439
  let d = dp(e), m = [], g = sa;
15440
- for (let I of document.querySelectorAll("style")) {
15441
- let H = I.textContent || "";
15440
+ for (let D of document.querySelectorAll("style")) {
15441
+ let H = D.textContent || "";
15442
15442
  for (let U of H.matchAll(g)) {
15443
15443
  let te = (U[2] || U[4] || "").trim();
15444
15444
  !te || Ke(te) || document.querySelector(`link[rel="stylesheet"][href="${te}"]`) || m.push(te);
15445
15445
  }
15446
15446
  }
15447
- m.length && await Promise.all(m.map((I) => new Promise((H) => {
15448
- if (document.querySelector(`link[rel="stylesheet"][href="${I}"]`))
15447
+ m.length && await Promise.all(m.map((D) => new Promise((H) => {
15448
+ if (document.querySelector(`link[rel="stylesheet"][href="${D}"]`))
15449
15449
  return H(null);
15450
15450
  let U = document.createElement("link");
15451
- U.rel = "stylesheet", U.href = I, U.setAttribute("data-snapdom", "injected-import"), U.onload = () => H(U), U.onerror = () => H(null), document.head.appendChild(U);
15451
+ U.rel = "stylesheet", U.href = D, U.setAttribute("data-snapdom", "injected-import"), U.onload = () => H(U), U.onerror = () => H(null), document.head.appendChild(U);
15452
15452
  })));
15453
- let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((I) => !!I.href);
15454
- for (let I of y)
15453
+ let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((D) => !!D.href);
15454
+ for (let D of y)
15455
15455
  try {
15456
- if (Ke(I.href))
15456
+ if (Ke(D.href))
15457
15457
  continue;
15458
15458
  let H = "", U = !1;
15459
15459
  try {
15460
- U = new URL(I.href, location.href).origin === location.origin;
15460
+ U = new URL(D.href, location.href).origin === location.origin;
15461
15461
  } catch {
15462
15462
  }
15463
- if (!U && !mp(I.href, d))
15463
+ if (!U && !mp(D.href, d))
15464
15464
  continue;
15465
15465
  if (U) {
15466
- let X = Array.from(document.styleSheets).find((O) => O.href === I.href);
15466
+ let X = Array.from(document.styleSheets).find((O) => O.href === D.href);
15467
15467
  if (X)
15468
15468
  try {
15469
15469
  let O = X.cssRules || [];
@@ -15471,82 +15471,82 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
15471
15471
  } catch {
15472
15472
  }
15473
15473
  }
15474
- if (!H && (H = (await Ue(I.href, { as: "text", useProxy: a })).data, Ke(I.href)))
15474
+ if (!H && (H = (await Ue(D.href, { as: "text", useProxy: a })).data, Ke(D.href)))
15475
15475
  continue;
15476
- H = await hp(H, I.href, a);
15476
+ H = await hp(H, D.href, a);
15477
15477
  let te = "";
15478
15478
  for (let X of H.match(up) || []) {
15479
15479
  let O = (((u = X.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : u[1]) || "").trim(), $ = oa(O);
15480
15480
  if (!$ || Ke($))
15481
15481
  continue;
15482
- let A = (((x = X.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((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 = (((k = X.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "").trim(), ke = (((S = X.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke, I.href);
15482
+ let A = (((x = X.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((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 = (((k = X.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "").trim(), ke = (((S = X.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke, D.href);
15483
15483
  if (!l($, ie, A, ge))
15484
15484
  continue;
15485
15485
  let fe = cr(xe);
15486
15486
  if (!mr(t, fe))
15487
15487
  continue;
15488
- let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href: I.href };
15488
+ let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href: D.href };
15489
15489
  if (o && c(ve, fe))
15490
15490
  continue;
15491
- let Me = /url\(/i.test(ke) ? await dr(X, I.href, a) : X;
15491
+ let Me = /url\(/i.test(ke) ? await dr(X, D.href, a) : X;
15492
15492
  te += Me;
15493
15493
  }
15494
15494
  te.trim() && (p += te);
15495
15495
  } catch {
15496
- console.warn("[snapDOM] Failed to process stylesheet:", I.href);
15496
+ console.warn("[snapDOM] Failed to process stylesheet:", D.href);
15497
15497
  }
15498
- let f = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: o ? Bi(o) : null, useProxy: a, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
15499
- for (let I of document.styleSheets)
15500
- if (!(I.href && y.some((H) => H.href === I.href)))
15498
+ let f = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: o ? Zi(o) : null, useProxy: a, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
15499
+ for (let D of document.styleSheets)
15500
+ if (!(D.href && y.some((H) => H.href === D.href)))
15501
15501
  try {
15502
- let H = I.href || location.href;
15503
- H && f.visitedSheets.add(H), await hr(I, H, async (U) => {
15502
+ let H = D.href || location.href;
15503
+ H && f.visitedSheets.add(H), await hr(D, H, async (U) => {
15504
15504
  p += U;
15505
15505
  }, f);
15506
15506
  } catch {
15507
15507
  }
15508
15508
  try {
15509
- for (let I of document.fonts || []) {
15510
- if (!I || !I.family || I.status !== "loaded" || !I._snapdomSrc)
15509
+ for (let D of document.fonts || []) {
15510
+ if (!D || !D.family || D.status !== "loaded" || !D._snapdomSrc)
15511
15511
  continue;
15512
- let H = String(I.family).replace(/^['"]+|['"]+$/g, "");
15512
+ let H = String(D.family).replace(/^['"]+|['"]+$/g, "");
15513
15513
  if (Ke(H) || !r.has(H) || o != null && o.families && o.families.some((te) => String(te).toLowerCase() === H.toLowerCase()))
15514
15514
  continue;
15515
- let U = I._snapdomSrc;
15515
+ let U = D._snapdomSrc;
15516
15516
  if (!String(U).startsWith("data:")) {
15517
- if ((_ = B.resource) != null && _.has(I._snapdomSrc))
15518
- U = B.resource.get(I._snapdomSrc), (M = B.font) == null || M.add(I._snapdomSrc);
15519
- else if (!((T = B.font) != null && T.has(I._snapdomSrc)))
15517
+ if ((_ = Z.resource) != null && _.has(D._snapdomSrc))
15518
+ U = Z.resource.get(D._snapdomSrc), (M = Z.font) == null || M.add(D._snapdomSrc);
15519
+ else if (!((T = Z.font) != null && T.has(D._snapdomSrc)))
15520
15520
  try {
15521
- let te = await Ue(I._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
15521
+ let te = await Ue(D._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
15522
15522
  if (te.ok && typeof te.data == "string")
15523
- U = te.data, (W = B.resource) == null || W.set(I._snapdomSrc, U), (F = B.font) == null || F.add(I._snapdomSrc);
15523
+ U = te.data, (W = Z.resource) == null || W.set(D._snapdomSrc, U), (F = Z.font) == null || F.add(D._snapdomSrc);
15524
15524
  else
15525
15525
  continue;
15526
15526
  } catch {
15527
- console.warn("[snapDOM] Failed to fetch dynamic font src:", I._snapdomSrc);
15527
+ console.warn("[snapDOM] Failed to fetch dynamic font src:", D._snapdomSrc);
15528
15528
  continue;
15529
15529
  }
15530
15530
  }
15531
- p += `@font-face{font-family:'${H}';src:url(${U});font-style:${I.style || "normal"};font-weight:${I.weight || "normal"};}`;
15531
+ p += `@font-face{font-family:'${H}';src:url(${U});font-style:${D.style || "normal"};font-weight:${D.weight || "normal"};}`;
15532
15532
  }
15533
15533
  } catch {
15534
15534
  }
15535
- for (let I of i) {
15536
- if (!I || typeof I != "object")
15535
+ for (let D of i) {
15536
+ if (!D || typeof D != "object")
15537
15537
  continue;
15538
- let H = String(I.family || "").replace(/^['"]+|['"]+$/g, "");
15538
+ let H = String(D.family || "").replace(/^['"]+|['"]+$/g, "");
15539
15539
  if (!H || Ke(H) || !r.has(H) || o != null && o.families && o.families.some((A) => String(A).toLowerCase() === H.toLowerCase()))
15540
15540
  continue;
15541
- let U = I.weight != null ? String(I.weight) : "normal", te = I.style != null ? String(I.style) : "normal", X = I.stretchPct != null ? `${I.stretchPct}%` : "100%", O = String(I.src || ""), $ = O;
15541
+ let U = D.weight != null ? String(D.weight) : "normal", te = D.style != null ? String(D.style) : "normal", X = D.stretchPct != null ? `${D.stretchPct}%` : "100%", O = String(D.src || ""), $ = O;
15542
15542
  if (!$.startsWith("data:")) {
15543
- if ((E = B.resource) != null && E.has(O))
15544
- $ = B.resource.get(O), (V = B.font) == null || V.add(O);
15545
- else if (!((J = B.font) != null && J.has(O)))
15543
+ if ((E = Z.resource) != null && E.has(O))
15544
+ $ = Z.resource.get(O), (V = Z.font) == null || V.add(O);
15545
+ else if (!((J = Z.font) != null && J.has(O)))
15546
15546
  try {
15547
15547
  let A = await Ue(O, { as: "dataURL", useProxy: a, silent: !0 });
15548
15548
  if (A.ok && typeof A.data == "string")
15549
- $ = A.data, (Q = B.resource) == null || Q.set(O, $), (ee = B.font) == null || ee.add(O);
15549
+ $ = A.data, (Q = Z.resource) == null || Q.set(O, $), (ee = Z.font) == null || ee.add(O);
15550
15550
  else
15551
15551
  continue;
15552
15552
  } catch {
@@ -15556,7 +15556,7 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
15556
15556
  }
15557
15557
  p += `@font-face{font-family:'${H}';src:url(${$});font-style:${te};font-weight:${U};font-stretch:${X};}`;
15558
15558
  }
15559
- return p && (p = gp(p), (he = B.resource) == null || he.set(s, p)), p;
15559
+ return p && (p = gp(p), (he = Z.resource) == null || he.set(s, p)), p;
15560
15560
  }
15561
15561
  function bp(e) {
15562
15562
  let t = /* @__PURE__ */ new Set();
@@ -15674,7 +15674,7 @@ function lt(e, { fast: t = !1 } = {}) {
15674
15674
  return e();
15675
15675
  "requestIdleCallback" in window ? requestIdleCallback(e, { timeout: 50 }) : setTimeout(e, 1);
15676
15676
  }
15677
- function Zo() {
15677
+ function Bo() {
15678
15678
  if (typeof navigator > "u")
15679
15679
  return !1;
15680
15680
  let e = navigator.userAgent || "", t = e.toLowerCase(), o = t.includes("safari") && !t.includes("chrome") && !t.includes("crios") && !t.includes("fxios") && !t.includes("android"), i = /applewebkit/i.test(e), a = /mobile/i.test(e), r = !/safari/i.test(e), l = i && a && r, c = /(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(e), s = /(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(t), d = /ipad|iphone|ipod/.test(t) && i;
@@ -15743,7 +15743,7 @@ function zp(e) {
15743
15743
  function Lp(e, t, o = !1) {
15744
15744
  return !e || e.plugins && !o || (e.plugins = zp(t)), e;
15745
15745
  }
15746
- var Zi = /* @__PURE__ */ new WeakMap(), ca = /* @__PURE__ */ new Map(), ma = 0;
15746
+ var Bi = /* @__PURE__ */ new WeakMap(), ca = /* @__PURE__ */ new Map(), ma = 0;
15747
15747
  function Eo() {
15748
15748
  ma++;
15749
15749
  }
@@ -15800,14 +15800,14 @@ function Mp(e) {
15800
15800
  return t || (t = Object.entries(e).sort((o, i) => o[0] < i[0] ? -1 : o[0] > i[0] ? 1 : 0).map(([o, i]) => `${o}:${i}`).join(";"), Oi.set(e, t), t);
15801
15801
  }
15802
15802
  function Sp(e, t = null, o = {}) {
15803
- let i = Zi.get(e);
15803
+ let i = Bi.get(e);
15804
15804
  if (i && i.epoch === ma)
15805
15805
  return i.snapshot;
15806
15806
  let a = t || getComputedStyle(e), r = Cp(a, o);
15807
- return Gp(e, a, r), Zi.set(e, { epoch: ma, snapshot: r }), r;
15807
+ return Gp(e, a, r), Bi.set(e, { epoch: ma, snapshot: r }), r;
15808
15808
  }
15809
15809
  function Tp(e, t) {
15810
- return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: ca, defaultStyle: B.defaultStyle, baseStyle: B.baseStyle, image: B.image, resource: B.resource, background: B.background, font: B.font }, options: t || {} } : { session: B.session, persist: { snapshotKeyCache: ca, defaultStyle: B.defaultStyle, baseStyle: B.baseStyle, image: B.image, resource: B.resource, background: B.background, font: B.font }, options: e || t || {} };
15810
+ return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: ca, defaultStyle: Z.defaultStyle, baseStyle: Z.baseStyle, image: Z.image, resource: Z.resource, background: Z.background, font: Z.font }, options: t || {} } : { session: Z.session, persist: { snapshotKeyCache: ca, defaultStyle: Z.defaultStyle, baseStyle: Z.baseStyle, image: Z.image, resource: Z.resource, background: Z.background, font: Z.font }, options: e || t || {} };
15811
15811
  }
15812
15812
  async function nt(e, t, o, i) {
15813
15813
  var p, y, f;
@@ -15965,7 +15965,7 @@ function ia(e, t, o) {
15965
15965
  function Np(e) {
15966
15966
  return e = e.trim(), !e || /:not\(\s*\[data-sd-slotted\]\s*\)\s*$/.test(e) ? e : `${e}:not([data-sd-slotted])`;
15967
15967
  }
15968
- function Bp(e, t, o = !0) {
15968
+ function Zp(e, t, o = !0) {
15969
15969
  return e.split(",").map((i) => i.trim()).filter(Boolean).map((i) => {
15970
15970
  if (i.startsWith(":where(") || i.startsWith("@"))
15971
15971
  return i;
@@ -15973,9 +15973,9 @@ function Bp(e, t, o = !0) {
15973
15973
  return `:where(${t} ${a})`;
15974
15974
  }).join(", ");
15975
15975
  }
15976
- function Zp(e, t) {
15976
+ function Bp(e, t) {
15977
15977
  return e ? (e = e.replace(/:host\(([^)]+)\)/g, (o, i) => `:where(${t}:is(${i.trim()}))`), e = e.replace(/:host\b/g, `:where(${t})`), e = e.replace(/:host-context\(([^)]+)\)/g, (o, i) => `:where(:where(${i.trim()}) ${t})`), e = e.replace(/::slotted\(([^)]+)\)/g, (o, i) => `:where(${t} ${i.trim()})`), e = e.replace(/(^|})(\s*)([^@}{]+){/g, (o, i, a, r) => {
15978
- let l = Bp(r, t, !0);
15978
+ let l = Zp(r, t, !0);
15979
15979
  return `${i}${a}${l}{`;
15980
15980
  }), e) : "";
15981
15981
  }
@@ -16102,26 +16102,26 @@ async function qp(e, t, o) {
16102
16102
  let g = document.createElement("div");
16103
16103
  return t.nodeMap.set(g, e), nt(e, g, t, o), g.style.overflow = "hidden", g.style.display = "block", g.style.width || (g.style.width = `${Math.round(l.width)}px`), g.style.height || (g.style.height = `${Math.round(l.height)}px`), g.appendChild(m), g;
16104
16104
  }
16105
- var Bo = /* @__PURE__ */ new Map();
16105
+ var Zo = /* @__PURE__ */ new Map();
16106
16106
  async function Oo(e) {
16107
16107
  var o;
16108
- if ((o = B.resource) != null && o.has(e))
16109
- return B.resource.get(e);
16110
- if (Bo.has(e))
16111
- return Bo.get(e);
16108
+ if ((o = Z.resource) != null && o.has(e))
16109
+ return Z.resource.get(e);
16110
+ if (Zo.has(e))
16111
+ return Zo.get(e);
16112
16112
  let t = (async () => {
16113
16113
  var a;
16114
16114
  let i = await Ue(e, { as: "dataURL", silent: !0 });
16115
16115
  if (!i.ok || typeof i.data != "string")
16116
16116
  throw new Error(`[snapDOM] Failed to read blob URL: ${e}`);
16117
- return (a = B.resource) == null || a.set(e, i.data), i.data;
16117
+ return (a = Z.resource) == null || a.set(e, i.data), i.data;
16118
16118
  })();
16119
- Bo.set(e, t);
16119
+ Zo.set(e, t);
16120
16120
  try {
16121
16121
  let i = await t;
16122
- return Bo.set(e, i), i;
16122
+ return Zo.set(e, i), i;
16123
16123
  } catch (i) {
16124
- throw Bo.delete(e), i;
16124
+ throw Zo.delete(e), i;
16125
16125
  }
16126
16126
  }
16127
16127
  var Qp = /\bblob:[^)"'\s]+/g;
@@ -16379,7 +16379,7 @@ async function $o(e, t, o) {
16379
16379
  l.setAttribute("data-sd", u);
16380
16380
  } catch {
16381
16381
  }
16382
- let v = Op(e.shadowRoot), w = Zp(v, x), k = Vp(v), S = Yp(e, k, x);
16382
+ let v = Op(e.shadowRoot), w = Bp(v, x), k = Vp(v), S = Yp(e, k, x);
16383
16383
  Xp(l, S + w, u);
16384
16384
  let _ = document.createDocumentFragment(), M = await ia(Array.from(e.shadowRoot.childNodes), h, o.fast);
16385
16385
  _.append(...M.filter((T) => !!T)), l.appendChild(_);
@@ -16451,7 +16451,7 @@ function Yi(e, t) {
16451
16451
  function rg(e) {
16452
16452
  let t = () => {
16453
16453
  var p;
16454
- return ((p = B == null ? void 0 : B.session) == null ? void 0 : p.__counterEpoch) ?? 0;
16454
+ return ((p = Z == null ? void 0 : Z.session) == null ? void 0 : p.__counterEpoch) ?? 0;
16455
16455
  }, o = t(), i = /* @__PURE__ */ new WeakMap(), a = e instanceof Document ? e.documentElement : e, r = (p) => p && p.tagName === "LI", l = (p) => {
16456
16456
  let y = 0, f = p == null ? void 0 : p.parentElement;
16457
16457
  if (!f)
@@ -16734,7 +16734,7 @@ async function yr(e, t, o, i) {
16734
16734
  let a = e.ownerDocument || document;
16735
16735
  if (!ng(a, o))
16736
16736
  return;
16737
- let r = ((d = B == null ? void 0 : B.session) == null ? void 0 : d.__counterEpoch) ?? 0;
16737
+ let r = ((d = Z == null ? void 0 : Z.session) == null ? void 0 : d.__counterEpoch) ?? 0;
16738
16738
  if ($i !== r && (st = /* @__PURE__ */ new WeakMap(), o && (o.__counterCtx = null), $i = r), !o.__counterCtx)
16739
16739
  try {
16740
16740
  o.__counterCtx = rg(e.ownerDocument || document);
@@ -16781,37 +16781,37 @@ async function yr(e, t, o, i) {
16781
16781
  }
16782
16782
  continue;
16783
16783
  }
16784
- let I = document.createElement("span");
16785
- I.dataset.snapdomPseudo = p, I.style.pointerEvents = "none";
16784
+ let D = document.createElement("span");
16785
+ D.dataset.snapdomPseudo = p, D.style.pointerEvents = "none";
16786
16786
  let H = Wi(y), U = la(H, "span");
16787
- if (o.styleMap.set(I, U), E && u && u.length === 1) {
16787
+ if (o.styleMap.set(D, U), E && u && u.length === 1) {
16788
16788
  let { dataUrl: X, width: O, height: $ } = await ip(u, k, _, S, M), A = document.createElement("img");
16789
- A.src = X, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`, I.appendChild(A), t.dataset.snapdomHasIcon = "true";
16789
+ A.src = X, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`, D.appendChild(A), t.dataset.snapdomHasIcon = "true";
16790
16790
  } else if (u && u.startsWith("url(")) {
16791
16791
  let X = ya(u);
16792
16792
  if (X != null && X.trim())
16793
16793
  try {
16794
16794
  let O = document.createElement("img"), $ = await Ue(Qo(X), { as: "dataURL", useProxy: i.useProxy });
16795
- O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`, I.appendChild(O);
16795
+ O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`, D.appendChild(O);
16796
16796
  } catch (O) {
16797
16797
  console.error(`[snapdom] Error in pseudo ${p} for`, e, O);
16798
16798
  }
16799
16799
  } else
16800
- !E && V && (I.textContent = u);
16801
- I.style.backgroundImage = "none", "maskImage" in I.style && (I.style.maskImage = "none"), "webkitMaskImage" in I.style && (I.style.webkitMaskImage = "none");
16800
+ !E && V && (D.textContent = u);
16801
+ D.style.backgroundImage = "none", "maskImage" in D.style && (D.style.maskImage = "none"), "webkitMaskImage" in D.style && (D.style.webkitMaskImage = "none");
16802
16802
  try {
16803
- I.style.backgroundRepeat = y.backgroundRepeat, I.style.backgroundSize = y.backgroundSize, y.backgroundPositionX && y.backgroundPositionY ? (I.style.backgroundPositionX = y.backgroundPositionX, I.style.backgroundPositionY = y.backgroundPositionY) : I.style.backgroundPosition = y.backgroundPosition, I.style.backgroundOrigin = y.backgroundOrigin, I.style.backgroundClip = y.backgroundClip, I.style.backgroundAttachment = y.backgroundAttachment, I.style.backgroundBlendMode = y.backgroundBlendMode;
16803
+ D.style.backgroundRepeat = y.backgroundRepeat, D.style.backgroundSize = y.backgroundSize, y.backgroundPositionX && y.backgroundPositionY ? (D.style.backgroundPositionX = y.backgroundPositionX, D.style.backgroundPositionY = y.backgroundPositionY) : D.style.backgroundPosition = y.backgroundPosition, D.style.backgroundOrigin = y.backgroundOrigin, D.style.backgroundClip = y.backgroundClip, D.style.backgroundAttachment = y.backgroundAttachment, D.style.backgroundBlendMode = y.backgroundBlendMode;
16804
16804
  } catch {
16805
16805
  }
16806
16806
  if (J)
16807
16807
  try {
16808
16808
  let X = nr(v), O = await Promise.all(X.map(ir));
16809
- I.style.backgroundImage = O.join(", ");
16809
+ D.style.backgroundImage = O.join(", ");
16810
16810
  } catch (X) {
16811
16811
  console.warn(`[snapdom] Failed to inline background-image for ${p}`, X);
16812
16812
  }
16813
- Q && (I.style.backgroundColor = w);
16814
- let te = I.childNodes.length > 0 || ((g = I.textContent) == null ? void 0 : g.trim()) !== "" || J || Q || ee || he;
16813
+ Q && (D.style.backgroundColor = w);
16814
+ let te = D.childNodes.length > 0 || ((g = D.textContent) == null ? void 0 : g.trim()) !== "" || J || Q || ee || he;
16815
16815
  if (x && x.length && e.parentElement) {
16816
16816
  let X = st.get(e.parentElement) || /* @__PURE__ */ new Map(), O = ha(e, l), $ = ua(e, getComputedStyle(e, p), O);
16817
16817
  for (let { name: A } of x) {
@@ -16824,7 +16824,7 @@ async function yr(e, t, o, i) {
16824
16824
  }
16825
16825
  if (!te)
16826
16826
  continue;
16827
- p === "::before" ? t.insertBefore(I, t.firstChild) : t.appendChild(I);
16827
+ p === "::before" ? t.insertBefore(D, t.firstChild) : t.appendChild(D);
16828
16828
  } catch (y) {
16829
16829
  console.warn(`[snapdom] Failed to capture ${p} for`, e, y);
16830
16830
  }
@@ -16998,7 +16998,7 @@ function fg(e) {
16998
16998
  }
16999
16999
  async function yg(e, t = {}) {
17000
17000
  var s, d;
17001
- let o = { styleMap: B.session.styleMap, styleCache: B.session.styleCache, nodeMap: B.session.nodeMap }, i, a = "", r = "";
17001
+ let o = { styleMap: Z.session.styleMap, styleCache: Z.session.styleCache, nodeMap: Z.session.nodeMap }, i, a = "", r = "";
17002
17002
  fg(e);
17003
17003
  try {
17004
17004
  dg(e);
@@ -17289,7 +17289,7 @@ function Ng(e) {
17289
17289
  let t = Math.ceil(parseFloat(e.outlineWidth || "0") || 0);
17290
17290
  return { top: t, right: t, bottom: t, left: t };
17291
17291
  }
17292
- function Bg(e) {
17292
+ function Zg(e) {
17293
17293
  var s;
17294
17294
  let t = `${e.filter || ""} ${e.webkitFilter || ""}`.trim();
17295
17295
  if (!t || t === "none")
@@ -17302,7 +17302,7 @@ function Bg(e) {
17302
17302
  }
17303
17303
  return { bleed: { top: le(i), right: le(a), bottom: le(r), left: le(l) }, has: c };
17304
17304
  }
17305
- function Zg(e, t) {
17305
+ function Bg(e, t) {
17306
17306
  if (!e || !t || !t.style)
17307
17307
  return null;
17308
17308
  let o = getComputedStyle(e);
@@ -17442,7 +17442,7 @@ async function wr(e, t) {
17442
17442
  await qe("beforeSnap", r), await qe("beforeClone", r);
17443
17443
  let f = xg(r.element);
17444
17444
  try {
17445
- ({ clone: l, classCSS: c, styleCache: s } = await yg(r.element, r.options)), !i && l && (y = Zg(r.element, l)), !a && l && Lg(r.element, l);
17445
+ ({ clone: l, classCSS: c, styleCache: s } = await yg(r.element, r.options)), !i && l && (y = Bg(r.element, l)), !a && l && Lg(r.element, l);
17446
17446
  } finally {
17447
17447
  f();
17448
17448
  }
@@ -17467,7 +17467,7 @@ async function wr(e, t) {
17467
17467
  }), t.embedFonts && await new Promise((w) => {
17468
17468
  lt(async () => {
17469
17469
  let k = bp(r.element), S = wp(r.element);
17470
- if (Zo()) {
17470
+ if (Bo()) {
17471
17471
  let _ = new Set(Array.from(k).map((M) => String(M).split("__")[0]).filter(Boolean));
17472
17472
  await xp(_, 1);
17473
17473
  }
@@ -17475,9 +17475,9 @@ async function wr(e, t) {
17475
17475
  }, { fast: o });
17476
17476
  });
17477
17477
  let h = Hu(r.clone).sort(), u = h.join(",");
17478
- B.baseStyle.has(u) ? m = B.baseStyle.get(u) : await new Promise((w) => {
17478
+ Z.baseStyle.has(u) ? m = Z.baseStyle.get(u) : await new Promise((w) => {
17479
17479
  lt(() => {
17480
- m = Yu(h), B.baseStyle.set(u, m), w();
17480
+ m = Yu(h), Z.baseStyle.set(u, m), w();
17481
17481
  }, { fast: o });
17482
17482
  }), r = { fontsCSS: d, baseCSS: m, ...r }, await qe("beforeRender", r), await new Promise((w) => {
17483
17483
  lt(() => {
@@ -17492,17 +17492,17 @@ async function wr(e, t) {
17492
17492
  return Number.isFinite(Re) ? Re : be;
17493
17493
  }, W = T(r.options.width), F = T(r.options.height), E = _, V = M, J = Number.isFinite(W), Q = Number.isFinite(F), ee = M > 0 ? _ / M : 1;
17494
17494
  J && Q ? (E = Math.max(1, le(W)), V = Math.max(1, le(F))) : J ? (E = Math.max(1, le(W)), V = Math.max(1, le(E / (ee || 1)))) : Q ? (V = Math.max(1, le(F)), E = Math.max(1, le(V * (ee || 1)))) : (E = _, V = M);
17495
- let he = 0, I = 0, H = _, U = M;
17495
+ let he = 0, D = 0, H = _, U = M;
17496
17496
  if (!i && y && Number.isFinite(y.a)) {
17497
17497
  let j = { a: y.a, b: y.b || 0, c: y.c || 0, d: y.d || 1, e: 0, f: 0 }, be = Qi(_, M, j, 0, 0);
17498
- he = le(be.minX), I = le(be.minY), H = le(be.maxX), U = le(be.maxY);
17498
+ he = le(be.minX), D = le(be.minY), H = le(be.maxX), U = le(be.maxY);
17499
17499
  } else if (i && Hg(r.element)) {
17500
- let j = k.transform && k.transform !== "none" ? k.transform : "", be = Og(r.element), Re = jg({ baseTransform: j, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Ee, oy: Oe } = Eg(k, _, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()), Be = Qi(_, M, q, Ee, Oe);
17501
- he = le(Be.minX), I = le(Be.minY), H = le(Be.maxX), U = le(Be.maxY);
17500
+ let j = k.transform && k.transform !== "none" ? k.transform : "", be = Og(r.element), Re = jg({ baseTransform: j, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Ee, oy: Oe } = Eg(k, _, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()), Ze = Qi(_, M, q, Ee, Oe);
17501
+ he = le(Ze.minX), D = le(Ze.minY), H = le(Ze.maxX), U = le(Ze.maxY);
17502
17502
  }
17503
- let te = Wg(k), X = Fg(k), O = Ng(k), $ = Bg(k), A = a ? { top: le(te.top + X.top + O.top + $.bleed.top), right: le(te.right + X.right + O.right + $.bleed.right), bottom: le(te.bottom + X.bottom + O.bottom + $.bleed.bottom), left: le(te.left + X.left + O.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17504
- he = le(he - A.left), I = le(I - A.top), H = le(H + A.right), U = le(U + A.bottom);
17505
- let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - I)), xe = J || Q ? le(E / _) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Zo() ? 1 : 0, K = le(Me + (i ? 0 : 1)), me = document.createElementNS(ve, "foreignObject"), je = le(he), Ne = le(I);
17503
+ let te = Wg(k), X = Fg(k), O = Ng(k), $ = Zg(k), A = a ? { top: le(te.top + X.top + O.top + $.bleed.top), right: le(te.right + X.right + O.right + $.bleed.right), bottom: le(te.bottom + X.bottom + O.bottom + $.bleed.bottom), left: le(te.left + X.left + O.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17504
+ he = le(he - A.left), D = le(D - A.top), H = le(H + A.right), U = le(U + A.bottom);
17505
+ let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - D)), xe = J || Q ? le(E / _) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Bo() ? 1 : 0, K = le(Me + (i ? 0 : 1)), me = document.createElementNS(ve, "foreignObject"), je = le(he), Ne = le(D);
17506
17506
  me.setAttribute("x", String(le(-(je - K)))), me.setAttribute("y", String(le(-(Ne - K)))), me.setAttribute("width", String(le(_ + K * 2))), me.setAttribute("height", String(le(M + K * 2))), me.style.overflow = "visible";
17507
17507
  let Le = document.createElement("style");
17508
17508
  Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, me.appendChild(Le);
@@ -17510,8 +17510,8 @@ async function wr(e, t) {
17510
17510
  Te.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.style.width = `${le(_)}px`, Te.style.height = `${le(M)}px`, Te.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.appendChild(r.clone), me.appendChild(Te);
17511
17511
  let oe = new XMLSerializer().serializeToString(me), Pe = le(ie + K * 2), pe = le(ge + K * 2), ye = J || Q;
17512
17512
  t.meta = { w0: _, h0: M, vbW: Pe, vbH: pe, targetW: E, targetH: V };
17513
- let Ze = Zo() && ye ? Pe : le(se + K * 2), He = Zo() && ye ? pe : le(fe + K * 2);
17514
- p = `<svg xmlns="${ve}" width="${Ze}" height="${He}" viewBox="0 0 ${Pe} ${pe}">` + oe + "</svg>", g = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`, r = { svgString: p, dataURL: g, ...r }, w();
17513
+ let Be = Bo() && ye ? Pe : le(se + K * 2), He = Bo() && ye ? pe : le(fe + K * 2);
17514
+ p = `<svg xmlns="${ve}" width="${Be}" height="${He}" viewBox="0 0 ${Pe} ${pe}">` + oe + "</svg>", g = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`, r = { svgString: p, dataURL: g, ...r }, w();
17515
17515
  }, { fast: o });
17516
17516
  }), await qe("afterRender", r);
17517
17517
  let x = document.getElementById("snapdom-sandbox");
@@ -17542,7 +17542,7 @@ async function Kg(e, t) {
17542
17542
  if (!e)
17543
17543
  throw new Error("Element cannot be null or undefined");
17544
17544
  let o = Ug(t);
17545
- if (Lp(o, t && t.plugins), Zo() && (o.embedFonts === !0 || qg(e)))
17545
+ if (Lp(o, t && t.plugins), Bo() && (o.embedFonts === !0 || qg(e)))
17546
17546
  for (let i = 0; i < 3; i++)
17547
17547
  try {
17548
17548
  await $g(e, t), pa = !1;
@@ -17554,52 +17554,52 @@ Ce.capture = async (e, t, o) => {
17554
17554
  if (o !== xr)
17555
17555
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17556
17556
  let i = await wr(e, t), a = { img: async (f, h) => {
17557
- let { toImg: u } = await import("./toImg-a7edbb61.js");
17557
+ let { toImg: u } = await import("./toImg-3c0178b4.js");
17558
17558
  return u(i, { ...f, ...h || {} });
17559
17559
  }, svg: async (f, h) => {
17560
- let { toSvg: u } = await import("./toImg-a7edbb61.js");
17560
+ let { toSvg: u } = await import("./toImg-3c0178b4.js");
17561
17561
  return u(i, { ...f, ...h || {} });
17562
17562
  }, canvas: async (f, h) => {
17563
- let { toCanvas: u } = await import("./toCanvas-6f621445.js");
17563
+ let { toCanvas: u } = await import("./toCanvas-a801c3d5.js");
17564
17564
  return u(i, { ...f, ...h || {} });
17565
17565
  }, blob: async (f, h) => {
17566
- let { toBlob: u } = await import("./toBlob-2d6b873a.js");
17566
+ let { toBlob: u } = await import("./toBlob-ab3af0d5.js");
17567
17567
  return u(i, { ...f, ...h || {} });
17568
17568
  }, png: async (f, h) => {
17569
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17569
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17570
17570
  return u(i, { ...f, ...h || {}, format: "png" });
17571
17571
  }, jpeg: async (f, h) => {
17572
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17572
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17573
17573
  return u(i, { ...f, ...h || {}, format: "jpeg" });
17574
17574
  }, webp: async (f, h) => {
17575
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17575
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17576
17576
  return u(i, { ...f, ...h || {}, format: "webp" });
17577
17577
  }, download: async (f, h) => {
17578
- let { download: u } = await import("./download-9f10d85c.js");
17578
+ let { download: u } = await import("./download-8536a283.js");
17579
17579
  return u(i, { ...f, ...h || {} });
17580
17580
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17581
- let { toSvg: h } = await import("./toImg-a7edbb61.js");
17581
+ let { toSvg: h } = await import("./toImg-3c0178b4.js");
17582
17582
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17583
17583
  }, canvas: async (f) => {
17584
- let { toCanvas: h } = await import("./toCanvas-6f621445.js");
17584
+ let { toCanvas: h } = await import("./toCanvas-a801c3d5.js");
17585
17585
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17586
17586
  }, png: async (f) => {
17587
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17587
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17588
17588
  return h(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17589
17589
  }, jpeg: async (f) => {
17590
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17590
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17591
17591
  return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17592
17592
  }, jpg: async (f) => {
17593
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17593
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17594
17594
  return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17595
17595
  }, webp: async (f) => {
17596
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-98439d5d.js");
17596
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-24bd8fc4.js");
17597
17597
  return h(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17598
17598
  }, blob: async (f) => {
17599
- let { toBlob: h } = await import("./toBlob-2d6b873a.js");
17599
+ let { toBlob: h } = await import("./toBlob-ab3af0d5.js");
17600
17600
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17601
17601
  }, img: async (f) => {
17602
- let { toImg: h } = await import("./toImg-a7edbb61.js");
17602
+ let { toImg: h } = await import("./toImg-3c0178b4.js");
17603
17603
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17604
17604
  } } }, l = await _p("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
17605
17605
  s.jpeg && !s.jpg && (s.jpg = (f, h) => s.jpeg(f, h));
@@ -18143,17 +18143,9 @@ const a0 = {
18143
18143
  type: Number,
18144
18144
  default: void 0
18145
18145
  },
18146
- gateway: {
18147
- type: String,
18148
- default: ""
18149
- },
18150
18146
  token: {
18151
18147
  type: String,
18152
18148
  default: ""
18153
- },
18154
- defaultMeteoToken: {
18155
- type: String,
18156
- default: ""
18157
18149
  }
18158
18150
  },
18159
18151
  emits: ["closeRecord", "preview"],
@@ -18161,7 +18153,7 @@ const a0 = {
18161
18153
  return {
18162
18154
  recorder: null,
18163
18155
  actionStatus: 0,
18164
- // 1 ready, 2 dragging, 3 dragend, 4 confirmed, 5 recording, 6 saving, 7 stop
18156
+ // 1 ready, 2 dragging, 3 dragend, 4 confirmed, 5 stopped, 6 generated, 7uploaded
18165
18157
  startX: 0,
18166
18158
  startY: 0,
18167
18159
  selection: {
@@ -18172,7 +18164,8 @@ const a0 = {
18172
18164
  },
18173
18165
  frameCount: 0,
18174
18166
  blob: null,
18175
- ossClient: null
18167
+ ossClient: null,
18168
+ gifUrl: ""
18176
18169
  };
18177
18170
  },
18178
18171
  computed: {
@@ -18191,14 +18184,16 @@ const a0 = {
18191
18184
  watch: {
18192
18185
  isPlaying: {
18193
18186
  handler(e) {
18194
- e ? this.actionStatus === 4 && this.recorder && (this.recorder.startRecording(), this.actionStatus = 5, this.frameCount = 0, console.log("[BottomBar] GIF 模式开始,使用正常播放 + 事件截图")) : this.actionStatus === 5 && this.recorder && (console.log("[BottomBar] 等待最后一帧截图完成..."), setTimeout(async () => {
18195
- await this.finishGifGeneration();
18196
- }, 2e3));
18197
18187
  }
18198
18188
  },
18199
18189
  enabled: {
18200
18190
  handler(e) {
18201
- e && (this.actionStatus = 1);
18191
+ e ? this.actionStatus = 1 : this.actionStatus = 5;
18192
+ }
18193
+ },
18194
+ actionStatus: {
18195
+ handler(e) {
18196
+ this.actionStatus === 4 && this.startRecord(), this.actionStatus === 5 && this.recorder && this.createGif(), this.actionStatus === 6 && this.handleUpload(this.blob), this.actionStatus === 7 && this.$emit("preview", this.gifUrl);
18202
18197
  }
18203
18198
  }
18204
18199
  },
@@ -18206,7 +18201,6 @@ const a0 = {
18206
18201
  this.ossClient = await Mr.create(this.token);
18207
18202
  },
18208
18203
  methods: {
18209
- //鼠标选取区域
18210
18204
  handleMouseDown(e) {
18211
18205
  this.actionStatus >= 2 && e.clientX >= this.selection.x && e.clientX <= this.selection.x + this.selection.width && e.clientY >= this.selection.y && e.clientY <= this.selection.y + this.selection.height || (this.actionStatus = 2, this.startX = e.clientX, this.startY = e.clientY, this.selection = {
18212
18206
  x: e.clientX,
@@ -18227,57 +18221,56 @@ const a0 = {
18227
18221
  };
18228
18222
  },
18229
18223
  handleMouseUp() {
18230
- this.selection.width > 20 && this.selection.height > 20 ? this.actionStatus = 3 : this.actionStatus = 1;
18224
+ var e, t;
18225
+ ((e = this.selection) == null ? void 0 : e.width) > 20 && ((t = this.selection) == null ? void 0 : t.height) > 20 ? this.actionStatus = 3 : this.actionStatus = 1;
18231
18226
  },
18232
18227
  handleConfirm() {
18233
- this.actionStatus = 4, this.recorder = new o0(), this.recorder.setArea(this.selection), this.recorder.setFrameDelay(this.frequency), this.isPlaying && (this.recorder.startRecording(), this.actionStatus = 5, this.frameCount = 0, console.log("[BottomBar] GIF 模式开始,使用正常播放 + 事件截图"));
18228
+ this.actionStatus = 4;
18234
18229
  },
18235
18230
  handleCancel() {
18236
18231
  this.actionStatus = 1, this.recorder = null, this.selection = { x: 0, y: 0, width: 0, height: 0 };
18237
18232
  },
18238
- // 外部调用:气象图层渲染完成时
18239
- handleWeatherRendered() {
18240
- console.log("[BottomBar] 收到气象渲染完成事件, actionStatus:", this.actionStatus), this.recorder && (this.actionStatus === 4 || this.actionStatus === 5) && (console.log("[BottomBar] 气象加载完成,开始截图"), this.captureCurrentFrame());
18233
+ startRecord() {
18234
+ var e, t, o;
18235
+ this.frameCount = 0, this.recorder = new o0(), (e = this.recorder) == null || e.setArea(this.selection), (t = this.recorder) == null || t.setFrameDelay(this.frequency), (o = this.recorder) == null || o.startRecording(), console.log("[BottomBar] 录制准备就绪");
18241
18236
  },
18242
- // 捕获当前帧
18243
18237
  async captureCurrentFrame() {
18244
- var e;
18245
- if (!this.recorder || !this.actionStatus === 4 || !this.actionStatus === 5) {
18246
- console.log("[BottomBar] 截图跳过:", { isCapturing: this.actionStatus === 5, hasRecorder: !!this.recorder, hasRect: !!this.actionStatus === 4 });
18247
- return;
18248
- }
18249
- try {
18250
- const t = (e = document.getElementsByClassName("gif-container")) == null ? void 0 : e[0];
18251
- console.log("[BottomBar] 开始截图, element:", !!t), t && (await this.recorder.captureFrame(t, this.computedUTCTime(this.currentTimestamp)), this.frameCount = this.recorder.getFrameCount(), console.log("[BottomBar] 截图完成, 帧数:", this.frameCount));
18252
- } catch (t) {
18253
- console.error("[BottomBar] 截图失败:", t);
18254
- }
18255
- },
18256
- // 完成 GIF 生成
18257
- async finishGifGeneration() {
18258
- if (this.recorder) {
18259
- this.recorder.stopRecording(), console.log("[BottomBar] GIF 停止录制,帧数:", this.frameCount);
18238
+ var e, t, o;
18239
+ if (!(!this.recorder || this.actionStatus !== 4)) {
18240
+ console.log("[BottomBar] 开始截第" + (this.frameCount + 1) + "帧截图");
18260
18241
  try {
18261
- this.blob = await this.recorder.generateGif(), console.log("[BottomBar] GIF 生成完成:", this.blob), this.blob && (this.actionStatus = 6, await this.handleUpload(this.blob));
18262
- } catch (e) {
18263
- console.error("[BottomBar] GIF 生成失败:", e), this.clear();
18242
+ const i = (e = document.getElementsByClassName("gif-container")) == null ? void 0 : e[0];
18243
+ i && (await ((t = this.recorder) == null ? void 0 : t.captureFrame(i, this.computedUTCTime(this.currentTimestamp))), this.frameCount = (o = this.recorder) == null ? void 0 : o.getFrameCount(), console.log("[BottomBar] 截图总帧数:", this.frameCount));
18244
+ } catch (i) {
18245
+ console.error("[BottomBar] 截图失败:", i);
18264
18246
  }
18265
18247
  }
18266
18248
  },
18249
+ async createGif() {
18250
+ console.log("[BottomBar] 等待最后一帧截图完成..."), setTimeout(async () => {
18251
+ var e, t;
18252
+ if (this.recorder) {
18253
+ (e = this.recorder) == null || e.stopRecording(), console.log("[BottomBar] 停止录制,总帧数:", this.frameCount);
18254
+ try {
18255
+ this.blob = await ((t = this.recorder) == null ? void 0 : t.generateGif()), console.log("[BottomBar] GIF生成完成:", this.blob), this.blob && (this.actionStatus = 6);
18256
+ } catch (o) {
18257
+ console.error("[BottomBar] GIF生成失败:", o), this.clear();
18258
+ }
18259
+ }
18260
+ }, 2e3);
18261
+ },
18267
18262
  clear() {
18268
- this.actionStatus === 5 && this.recorder ? (console.log("[BottomBar] 等待最后一帧截图完成..."), setTimeout(async () => {
18269
- await this.finishGifGeneration();
18270
- }, 2e3)) : (this.actionStatus = 0, this.frameCount = 0, this.blob = null, this.recorder && (this.recorder.reset(), this.recorder = null), this.$emit("closeRecord"));
18263
+ var e;
18264
+ this.actionStatus = 0, this.frameCount = 0, this.blob = null, this.gifUrl = "", this.recorder && ((e = this.recorder) == null || e.reset(), this.recorder = null), this.$emit("closeRecord"), console.log("[BottomBar] 关闭录制功能,清空数据");
18271
18265
  },
18272
18266
  async handleUpload(e) {
18273
- var a;
18267
+ var i, a;
18268
+ console.log("[BottomBar] 开始上传");
18274
18269
  const t = {
18275
18270
  stream: e,
18276
18271
  ext: "gif"
18277
- }, o = await this.ossClient.put2HZ("/share", [t]);
18278
- console.log("[BottomBar] streams:", o);
18279
- const i = ((a = o == null ? void 0 : o[0]) == null ? void 0 : a.url) || "";
18280
- this.$emit("preview", i), this.actionStatus = 7;
18272
+ }, o = await ((i = this.ossClient) == null ? void 0 : i.put2HZ("/share", [t]));
18273
+ this.gifUrl = ((a = o == null ? void 0 : o[0]) == null ? void 0 : a.url) || "", console.log("[BottomBar] 上传成功"), this.actionStatus = 7;
18281
18274
  },
18282
18275
  handleDownload() {
18283
18276
  const t = `ORM-Record-${G().format("yyyyMMDD-HHmm")}.gif`;
@@ -18296,22 +18289,22 @@ const a0 = {
18296
18289
  }, h0 = { class: "text-body-2" };
18297
18290
  function u0(e, t, o, i, a, r) {
18298
18291
  const l = R("VBtn");
18299
- return C(), D("div", i0, [
18300
- a.actionStatus > 0 && a.actionStatus < 4 ? (C(), D("div", {
18292
+ return P(), I("div", i0, [
18293
+ a.actionStatus > 0 && a.actionStatus < 4 ? (P(), I("div", {
18301
18294
  key: 0,
18302
18295
  class: "capture-selector",
18303
18296
  onMousedown: t[2] || (t[2] = (...c) => r.handleMouseDown && r.handleMouseDown(...c)),
18304
18297
  onMousemove: t[3] || (t[3] = (...c) => r.handleMouseMove && r.handleMouseMove(...c)),
18305
18298
  onMouseup: t[4] || (t[4] = (...c) => r.handleMouseUp && r.handleMouseUp(...c))
18306
18299
  }, [
18307
- a.actionStatus === 1 ? (C(), D("div", r0, b(e.$t("tips.crossHairText")), 1)) : N("", !0),
18308
- a.actionStatus >= 2 ? (C(), D("div", {
18300
+ a.actionStatus === 1 ? (P(), I("div", r0, b(e.$t("tips.crossHairText")), 1)) : N("", !0),
18301
+ a.actionStatus >= 2 ? (P(), I("div", {
18309
18302
  key: 1,
18310
18303
  class: "selection-box",
18311
18304
  style: ue(r.selectionStyle)
18312
18305
  }, [
18313
18306
  n("div", l0, b(Math.round(a.selection.width)) + " × " + b(Math.round(a.selection.height)), 1),
18314
- a.actionStatus === 3 ? (C(), D("div", {
18307
+ a.actionStatus === 3 ? (P(), I("div", {
18315
18308
  key: 0,
18316
18309
  class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
18317
18310
  onMousedown: t[0] || (t[0] = Se(() => {
@@ -18336,7 +18329,7 @@ function u0(e, t, o, i, a, r) {
18336
18329
  ], 32)) : N("", !0)
18337
18330
  ], 4)) : N("", !0)
18338
18331
  ], 32)) : N("", !0),
18339
- a.actionStatus >= 4 && a.actionStatus < 7 ? (C(), D("div", {
18332
+ a.actionStatus >= 4 && a.actionStatus <= 6 ? (P(), I("div", {
18340
18333
  key: 1,
18341
18334
  class: _e(["capture-frame", { recording: a.actionStatus === 5 }]),
18342
18335
  style: ue(r.selectionStyle)
@@ -18351,11 +18344,11 @@ function u0(e, t, o, i, a, r) {
18351
18344
  onMouseup: t[6] || (t[6] = Se(() => {
18352
18345
  }, ["stop"]))
18353
18346
  }, [
18354
- a.actionStatus === 5 ? (C(), D("div", c0, [
18347
+ a.actionStatus === 4 ? (P(), I("div", c0, [
18355
18348
  t[7] || (t[7] = n("div", { class: "dot bg-danger" }, null, -1)),
18356
18349
  n("div", m0, b(e.$t("tips.recordingText")), 1)
18357
18350
  ])) : N("", !0),
18358
- a.actionStatus === 6 ? (C(), D("div", d0, [
18351
+ a.actionStatus === 5 || a.actionStatus === 6 ? (P(), I("div", d0, [
18359
18352
  t[8] || (t[8] = n("div", { class: "dot bg-success" }, null, -1)),
18360
18353
  n("div", h0, b(e.$t("tips.savingText")), 1)
18361
18354
  ])) : N("", !0)
@@ -18363,7 +18356,7 @@ function u0(e, t, o, i, a, r) {
18363
18356
  ], 6)) : N("", !0)
18364
18357
  ]);
18365
18358
  }
18366
- const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-a4c89b31"]]);
18359
+ const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-a6fb44ac"]]);
18367
18360
  const g0 = {
18368
18361
  name: "IdmBottomBar",
18369
18362
  components: { DateTimePicker: ta, IdmCapture: p0 },
@@ -18497,13 +18490,19 @@ const g0 = {
18497
18490
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
18498
18491
  }
18499
18492
  }
18500
- }, f0 = { class: "idm-bottom-bar-gl4" }, y0 = { class: "date-box d-flex ga-2 mr-2" }, b0 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, w0 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, x0 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, v0 = {
18493
+ }, f0 = { class: "idm-bottom-bar-gl4" }, y0 = { class: "date-box d-flex ga-2 mr-2" }, b0 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, w0 = {
18494
+ key: 0,
18495
+ class: "iconfont icon-record"
18496
+ }, x0 = {
18497
+ key: 1,
18498
+ class: "iconfont icon-stop-record text-danger"
18499
+ }, v0 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, k0 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, _0 = {
18501
18500
  key: 0,
18502
18501
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
18503
- }, k0 = ["onClick"], _0 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, z0 = { class: "text-body-1" };
18504
- function L0(e, t, o, i, a, r) {
18502
+ }, z0 = ["onClick"], L0 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, P0 = { class: "text-body-1" };
18503
+ function C0(e, t, o, i, a, r) {
18505
18504
  const l = R("IdmCapture"), c = R("DateTimePicker"), s = R("VListItemTitle"), d = R("VListItem"), m = R("VList"), g = R("VMenu"), p = R("VBtn"), y = R("VDivider"), f = R("VTooltip");
18506
- return C(), D("div", f0, [
18505
+ return P(), I("div", f0, [
18507
18506
  L(l, Y({
18508
18507
  ref: "capture",
18509
18508
  isPlaying: !a.paused,
@@ -18538,13 +18537,13 @@ function L0(e, t, o, i, a, r) {
18538
18537
  class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
18539
18538
  "min-width": "30"
18540
18539
  }, {
18541
- default: P(() => [
18540
+ default: C(() => [
18542
18541
  de(b(a.intervalHour) + " h ", 1),
18543
18542
  L(g, { activator: "parent" }, {
18544
- default: P(() => [
18543
+ default: C(() => [
18545
18544
  L(m, { class: "pa-1" }, {
18546
- default: P(() => [
18547
- (C(!0), D(Ie, null, De(a.intervalOptions, (h, u) => (C(), Z(d, {
18545
+ default: C(() => [
18546
+ (P(!0), I(Ie, null, De(a.intervalOptions, (h, u) => (P(), B(d, {
18548
18547
  key: u,
18549
18548
  value: h,
18550
18549
  variant: a.intervalHour === h ? "tonal" : "text",
@@ -18556,11 +18555,11 @@ function L0(e, t, o, i, a, r) {
18556
18555
  "min-width": "30",
18557
18556
  class: "pa-0 text-center text-body-1"
18558
18557
  }, {
18559
- default: P(() => [
18558
+ default: C(() => [
18560
18559
  L(s, {
18561
18560
  onClick: (x) => a.intervalHour = h
18562
18561
  }, {
18563
- default: P(() => [
18562
+ default: C(() => [
18564
18563
  de(b(h) + "h", 1)
18565
18564
  ]),
18566
18565
  _: 2
@@ -18586,35 +18585,33 @@ function L0(e, t, o, i, a, r) {
18586
18585
  n("div", b0, [
18587
18586
  L(f, {
18588
18587
  text: e.$t("actions.record"),
18589
- location: "top"
18588
+ location: "top",
18589
+ interactive: !0,
18590
+ "open-on-click": !1
18590
18591
  }, {
18591
- activator: P(({ props: h }) => [
18592
+ activator: C(({ props: h }) => [
18592
18593
  L(p, Y(h, {
18593
18594
  icon: "",
18594
18595
  size: "small",
18595
18596
  density: "comfortable",
18596
18597
  variant: "text",
18597
- color: a.gifEnabled ? "primary" : "",
18598
- class: "mr-1",
18599
18598
  onClick: t[5] || (t[5] = (u) => a.gifEnabled = !a.gifEnabled)
18600
18599
  }), {
18601
- default: P(() => t[12] || (t[12] = [
18602
- n("i", {
18603
- class: "mdi mdi-radiobox-marked",
18604
- style: { "font-size": "22px" }
18605
- }, null, -1)
18606
- ])),
18607
- _: 2,
18608
- __: [12]
18609
- }, 1040, ["color"])
18600
+ default: C(() => [
18601
+ a.gifEnabled ? (P(), I("i", x0)) : (P(), I("i", w0))
18602
+ ]),
18603
+ _: 2
18604
+ }, 1040)
18610
18605
  ]),
18611
18606
  _: 1
18612
18607
  }, 8, ["text"]),
18613
18608
  L(f, {
18614
18609
  text: e.$t("actions.reset"),
18615
- location: "top"
18610
+ location: "top",
18611
+ interactive: !0,
18612
+ "open-on-click": !1
18616
18613
  }, {
18617
- activator: P(({ props: h }) => [
18614
+ activator: C(({ props: h }) => [
18618
18615
  L(p, Y(h, {
18619
18616
  icon: "",
18620
18617
  size: "small",
@@ -18622,20 +18619,22 @@ function L0(e, t, o, i, a, r) {
18622
18619
  variant: "text",
18623
18620
  onClick: r.handleReset
18624
18621
  }), {
18625
- default: P(() => t[13] || (t[13] = [
18622
+ default: C(() => t[12] || (t[12] = [
18626
18623
  n("i", { class: "iconfont icon-Reset" }, null, -1)
18627
18624
  ])),
18628
18625
  _: 2,
18629
- __: [13]
18626
+ __: [12]
18630
18627
  }, 1040, ["onClick"])
18631
18628
  ]),
18632
18629
  _: 1
18633
18630
  }, 8, ["text"]),
18634
18631
  L(f, {
18635
18632
  text: e.$t("actions.backward"),
18636
- location: "top"
18633
+ location: "top",
18634
+ interactive: !0,
18635
+ "open-on-click": !1
18637
18636
  }, {
18638
- activator: P(({ props: h }) => [
18637
+ activator: C(({ props: h }) => [
18639
18638
  L(p, Y(h, {
18640
18639
  icon: "",
18641
18640
  size: "small",
@@ -18643,62 +18642,68 @@ function L0(e, t, o, i, a, r) {
18643
18642
  variant: "text",
18644
18643
  onClick: r.handleBackward
18645
18644
  }), {
18646
- default: P(() => t[14] || (t[14] = [
18645
+ default: C(() => t[13] || (t[13] = [
18647
18646
  n("i", { class: "iconfont icon-Backward" }, null, -1)
18648
18647
  ])),
18649
18648
  _: 2,
18650
- __: [14]
18649
+ __: [13]
18651
18650
  }, 1040, ["onClick"])
18652
18651
  ]),
18653
18652
  _: 1
18654
18653
  }, 8, ["text"]),
18655
18654
  L(f, {
18656
18655
  text: e.$t("actions.play"),
18657
- location: "top"
18656
+ location: "top",
18657
+ interactive: !0,
18658
+ "open-on-click": !1
18658
18659
  }, {
18659
- activator: P(({ props: h }) => [
18660
- a.paused ? (C(), Z(p, Y({ key: 0 }, h, {
18660
+ activator: C(({ props: h }) => [
18661
+ a.paused ? (P(), B(p, Y({ key: 0 }, h, {
18661
18662
  icon: "",
18662
18663
  size: "small",
18663
18664
  density: "comfortable",
18664
18665
  variant: "text",
18665
18666
  onClick: r.handlePlay
18666
18667
  }), {
18667
- default: P(() => t[15] || (t[15] = [
18668
+ default: C(() => t[14] || (t[14] = [
18668
18669
  n("i", { class: "iconfont icon-Play" }, null, -1)
18669
18670
  ])),
18670
18671
  _: 2,
18671
- __: [15]
18672
+ __: [14]
18672
18673
  }, 1040, ["onClick"])) : N("", !0)
18673
18674
  ]),
18674
18675
  _: 1
18675
18676
  }, 8, ["text"]),
18676
18677
  L(f, {
18677
18678
  text: e.$t("actions.pause"),
18678
- location: "top"
18679
+ location: "top",
18680
+ interactive: !0,
18681
+ "open-on-click": !1
18679
18682
  }, {
18680
- activator: P(({ props: h }) => [
18681
- a.paused ? N("", !0) : (C(), Z(p, Y({ key: 0 }, h, {
18683
+ activator: C(({ props: h }) => [
18684
+ a.paused ? N("", !0) : (P(), B(p, Y({ key: 0 }, h, {
18682
18685
  icon: "",
18683
18686
  size: "small",
18684
18687
  density: "comfortable",
18685
18688
  variant: "text",
18686
18689
  onClick: r.handlePause
18687
18690
  }), {
18688
- default: P(() => t[16] || (t[16] = [
18691
+ default: C(() => t[15] || (t[15] = [
18689
18692
  n("i", { class: "iconfont icon-Pause" }, null, -1)
18690
18693
  ])),
18691
18694
  _: 2,
18692
- __: [16]
18695
+ __: [15]
18693
18696
  }, 1040, ["onClick"]))
18694
18697
  ]),
18695
18698
  _: 1
18696
18699
  }, 8, ["text"]),
18697
18700
  L(f, {
18698
18701
  text: e.$t("actions.forward"),
18699
- location: "top"
18702
+ location: "top",
18703
+ interactive: !0,
18704
+ "open-on-click": !1
18700
18705
  }, {
18701
- activator: P(({ props: h }) => [
18706
+ activator: C(({ props: h }) => [
18702
18707
  L(p, Y(h, {
18703
18708
  icon: "",
18704
18709
  size: "small",
@@ -18706,11 +18711,11 @@ function L0(e, t, o, i, a, r) {
18706
18711
  variant: "text",
18707
18712
  onClick: r.handleForward
18708
18713
  }), {
18709
- default: P(() => t[17] || (t[17] = [
18714
+ default: C(() => t[16] || (t[16] = [
18710
18715
  n("i", { class: "iconfont icon-Forward" }, null, -1)
18711
18716
  ])),
18712
18717
  _: 2,
18713
- __: [17]
18718
+ __: [16]
18714
18719
  }, 1040, ["onClick"])
18715
18720
  ]),
18716
18721
  _: 1
@@ -18721,12 +18726,12 @@ function L0(e, t, o, i, a, r) {
18721
18726
  class: "mx-2 my-3",
18722
18727
  style: { height: "16px" }
18723
18728
  }),
18724
- n("div", w0, [
18729
+ n("div", v0, [
18725
18730
  L(f, {
18726
18731
  text: e.$t("weather.windBarbs"),
18727
18732
  location: "top"
18728
18733
  }, {
18729
- activator: P(({ props: h }) => {
18734
+ activator: C(({ props: h }) => {
18730
18735
  var u, x;
18731
18736
  return [
18732
18737
  L(p, Y(h, {
@@ -18738,11 +18743,11 @@ function L0(e, t, o, i, a, r) {
18738
18743
  "min-width": "24",
18739
18744
  onClick: t[6] || (t[6] = (v) => r.handleClickFastWeather("wind"))
18740
18745
  }), {
18741
- default: P(() => t[18] || (t[18] = [
18746
+ default: C(() => t[17] || (t[17] = [
18742
18747
  n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
18743
18748
  ])),
18744
18749
  _: 2,
18745
- __: [18]
18750
+ __: [17]
18746
18751
  }, 1040, ["color", "variant"])
18747
18752
  ];
18748
18753
  }),
@@ -18752,7 +18757,7 @@ function L0(e, t, o, i, a, r) {
18752
18757
  text: e.$t("weather.sigWaveHeight"),
18753
18758
  location: "top"
18754
18759
  }, {
18755
- activator: P(({ props: h }) => {
18760
+ activator: C(({ props: h }) => {
18756
18761
  var u, x;
18757
18762
  return [
18758
18763
  L(p, Y(h, {
@@ -18764,7 +18769,7 @@ function L0(e, t, o, i, a, r) {
18764
18769
  "min-width": "24",
18765
18770
  onClick: t[7] || (t[7] = (v) => r.handleClickFastWeather("sig-wave-height"))
18766
18771
  }), {
18767
- default: P(() => [
18772
+ default: C(() => [
18768
18773
  n("i", Y(h, { class: "iconfont icon-a-WaveHeight" }), null, 16)
18769
18774
  ]),
18770
18775
  _: 2
@@ -18777,7 +18782,7 @@ function L0(e, t, o, i, a, r) {
18777
18782
  text: e.$t("weather.currentDirection"),
18778
18783
  location: "top"
18779
18784
  }, {
18780
- activator: P(({ props: h }) => {
18785
+ activator: C(({ props: h }) => {
18781
18786
  var u, x;
18782
18787
  return [
18783
18788
  L(p, Y(h, {
@@ -18789,7 +18794,7 @@ function L0(e, t, o, i, a, r) {
18789
18794
  "min-width": "24",
18790
18795
  onClick: t[8] || (t[8] = (v) => r.handleClickFastWeather("current-direction"))
18791
18796
  }), {
18792
- default: P(() => [
18797
+ default: C(() => [
18793
18798
  n("i", Y(h, { class: "iconfont icon-Current" }), null, 16)
18794
18799
  ]),
18795
18800
  _: 2
@@ -18802,7 +18807,7 @@ function L0(e, t, o, i, a, r) {
18802
18807
  text: e.$t("weather.weatherLayers"),
18803
18808
  location: "top"
18804
18809
  }, {
18805
- activator: P(({ props: h }) => [
18810
+ activator: C(({ props: h }) => [
18806
18811
  L(p, Y(h, {
18807
18812
  class: "pa-1 d-flex",
18808
18813
  variant: "text",
@@ -18811,7 +18816,7 @@ function L0(e, t, o, i, a, r) {
18811
18816
  "min-width": "24",
18812
18817
  onClick: r.handleClickFastMore
18813
18818
  }), {
18814
- default: P(() => [
18819
+ default: C(() => [
18815
18820
  n("i", Y(h, { class: "iconfont icon-dots-align" }), null, 16)
18816
18821
  ]),
18817
18822
  _: 2
@@ -18825,7 +18830,7 @@ function L0(e, t, o, i, a, r) {
18825
18830
  class: "mx-2 mr-3 my-3",
18826
18831
  style: { height: "16px" }
18827
18832
  }),
18828
- n("div", x0, [
18833
+ n("div", k0, [
18829
18834
  L(p, {
18830
18835
  text: "",
18831
18836
  height: "30",
@@ -18833,11 +18838,11 @@ function L0(e, t, o, i, a, r) {
18833
18838
  color: a.source === "GFS" ? "primary" : "",
18834
18839
  onClick: t[9] || (t[9] = (h) => a.source = "GFS")
18835
18840
  }, {
18836
- default: P(() => t[19] || (t[19] = [
18841
+ default: C(() => t[18] || (t[18] = [
18837
18842
  de("NOAA", -1)
18838
18843
  ])),
18839
18844
  _: 1,
18840
- __: [19]
18845
+ __: [18]
18841
18846
  }, 8, ["color"]),
18842
18847
  L(p, {
18843
18848
  text: "",
@@ -18846,11 +18851,11 @@ function L0(e, t, o, i, a, r) {
18846
18851
  color: a.source === "ECMWF" ? "primary" : "",
18847
18852
  onClick: t[10] || (t[10] = (h) => a.source = "ECMWF")
18848
18853
  }, {
18849
- default: P(() => t[20] || (t[20] = [
18854
+ default: C(() => t[19] || (t[19] = [
18850
18855
  de("ECMWF", -1)
18851
18856
  ])),
18852
18857
  _: 1,
18853
- __: [20]
18858
+ __: [19]
18854
18859
  }, 8, ["color"])
18855
18860
  ])
18856
18861
  ], 4),
@@ -18858,14 +18863,14 @@ function L0(e, t, o, i, a, r) {
18858
18863
  class: "timezone-box d-flex flex-column justify-space-between align-end",
18859
18864
  style: ue({ right: a.right + "px" })
18860
18865
  }, [
18861
- a.showTimezone ? (C(), D("div", v0, [
18862
- (C(!0), D(Ie, null, De(a.offsets, (h) => (C(), D("div", {
18866
+ a.showTimezone ? (P(), I("div", _0, [
18867
+ (P(!0), I(Ie, null, De(a.offsets, (h) => (P(), I("div", {
18863
18868
  key: h,
18864
18869
  class: "item rounded text-body-2 hover-active",
18865
18870
  onClick: (u) => a.timeZone = h
18866
- }, b(h < 0 ? h : "+" + h), 9, k0))), 128))
18871
+ }, b(h < 0 ? h : "+" + h), 9, z0))), 128))
18867
18872
  ])) : N("", !0),
18868
- n("div", _0, [
18873
+ n("div", L0, [
18869
18874
  L(p, {
18870
18875
  text: "",
18871
18876
  variant: "flat",
@@ -18874,18 +18879,18 @@ function L0(e, t, o, i, a, r) {
18874
18879
  color: "primary",
18875
18880
  onClick: t[11] || (t[11] = (h) => a.showTimezone = !a.showTimezone)
18876
18881
  }, {
18877
- default: P(() => [
18882
+ default: C(() => [
18878
18883
  de(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18879
18884
  ]),
18880
18885
  _: 1
18881
18886
  }),
18882
- n("span", z0, b(a.currentRealTime), 1)
18887
+ n("span", P0, b(a.currentRealTime), 1)
18883
18888
  ])
18884
18889
  ], 4)
18885
18890
  ]);
18886
18891
  }
18887
- const P0 = /* @__PURE__ */ ne(g0, [["render", L0]]);
18888
- const C0 = {
18892
+ const M0 = /* @__PURE__ */ ne(g0, [["render", C0]]);
18893
+ const S0 = {
18889
18894
  name: "IdmTimePlayer",
18890
18895
  components: { DateTimePicker: ta },
18891
18896
  props: {
@@ -18993,14 +18998,14 @@ const C0 = {
18993
18998
  this.step = Math.floor(t / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
18994
18999
  }
18995
19000
  }
18996
- }, M0 = { class: "w-100 timeline-box d-flex justify-space-around align-center rounded px-2" };
18997
- function S0(e, t, o, i, a, r) {
19001
+ }, T0 = { class: "w-100 timeline-box d-flex justify-space-around align-center rounded px-2" };
19002
+ function R0(e, t, o, i, a, r) {
18998
19003
  const l = R("VBtn"), c = R("DateTimePicker");
18999
- return C(), D("div", {
19004
+ return P(), I("div", {
19000
19005
  class: "idm-time-player-gl4 d-flex justify-center align-center",
19001
19006
  style: ue({ bottom: Object.values(a.show).includes(!0) ? o.playerBottom + "px" : "-100px" })
19002
19007
  }, [
19003
- n("div", M0, [
19008
+ n("div", T0, [
19004
19009
  L(l, {
19005
19010
  size: "small",
19006
19011
  density: "compact",
@@ -19010,7 +19015,7 @@ function S0(e, t, o, i, a, r) {
19010
19015
  height: "30",
19011
19016
  onClick: r.handleReset
19012
19017
  }, {
19013
- default: P(() => t[4] || (t[4] = [
19018
+ default: C(() => t[4] || (t[4] = [
19014
19019
  n("i", { class: "iconfont icon-Reset" }, null, -1)
19015
19020
  ])),
19016
19021
  _: 1,
@@ -19025,7 +19030,7 @@ function S0(e, t, o, i, a, r) {
19025
19030
  height: "30",
19026
19031
  onClick: r.handleBackward
19027
19032
  }, {
19028
- default: P(() => t[5] || (t[5] = [
19033
+ default: C(() => t[5] || (t[5] = [
19029
19034
  n("i", { class: "iconfont icon-Backward" }, null, -1)
19030
19035
  ])),
19031
19036
  _: 1,
@@ -19053,13 +19058,13 @@ function S0(e, t, o, i, a, r) {
19053
19058
  height: "30",
19054
19059
  onClick: r.handleForward
19055
19060
  }, {
19056
- default: P(() => t[6] || (t[6] = [
19061
+ default: C(() => t[6] || (t[6] = [
19057
19062
  n("i", { class: "iconfont icon-Forward" }, null, -1)
19058
19063
  ])),
19059
19064
  _: 1,
19060
19065
  __: [6]
19061
19066
  }, 8, ["onClick"]),
19062
- a.paused ? (C(), Z(l, {
19067
+ a.paused ? (P(), B(l, {
19063
19068
  key: 0,
19064
19069
  size: "small",
19065
19070
  density: "compact",
@@ -19069,12 +19074,12 @@ function S0(e, t, o, i, a, r) {
19069
19074
  height: "30",
19070
19075
  onClick: r.handlePlay
19071
19076
  }, {
19072
- default: P(() => t[7] || (t[7] = [
19077
+ default: C(() => t[7] || (t[7] = [
19073
19078
  n("i", { class: "iconfont icon-Play" }, null, -1)
19074
19079
  ])),
19075
19080
  _: 1,
19076
19081
  __: [7]
19077
- }, 8, ["onClick"])) : (C(), Z(l, {
19082
+ }, 8, ["onClick"])) : (P(), B(l, {
19078
19083
  key: 1,
19079
19084
  size: "small",
19080
19085
  density: "compact",
@@ -19084,7 +19089,7 @@ function S0(e, t, o, i, a, r) {
19084
19089
  height: "30",
19085
19090
  onClick: r.handlePause
19086
19091
  }, {
19087
- default: P(() => t[8] || (t[8] = [
19092
+ default: C(() => t[8] || (t[8] = [
19088
19093
  n("i", { class: "iconfont icon-Pause" }, null, -1)
19089
19094
  ])),
19090
19095
  _: 1,
@@ -19093,7 +19098,7 @@ function S0(e, t, o, i, a, r) {
19093
19098
  ])
19094
19099
  ], 4);
19095
19100
  }
19096
- const kr = /* @__PURE__ */ ne(C0, [["render", S0]]), T0 = {
19101
+ const kr = /* @__PURE__ */ ne(S0, [["render", R0]]), I0 = {
19097
19102
  name: "IdmGL4",
19098
19103
  components: {
19099
19104
  IdmOtherLayer: Ns,
@@ -19101,7 +19106,7 @@ const kr = /* @__PURE__ */ ne(C0, [["render", S0]]), T0 = {
19101
19106
  IdmTropicals: or,
19102
19107
  IdmMeasure: Iu,
19103
19108
  IdmSpot: Mu,
19104
- IdmBottomBar: P0,
19109
+ IdmBottomBar: M0,
19105
19110
  IdmTimePlayer: kr
19106
19111
  },
19107
19112
  props: {
@@ -19158,14 +19163,14 @@ const kr = /* @__PURE__ */ ne(C0, [["render", S0]]), T0 = {
19158
19163
  }
19159
19164
  },
19160
19165
  methods: {}
19161
- }, R0 = {
19166
+ }, D0 = {
19162
19167
  ref: "mapHomeGl4",
19163
19168
  class: "map-gl4-home",
19164
19169
  id: "map-gl4-home"
19165
19170
  };
19166
- function I0(e, t, o, i, a, r) {
19171
+ function A0(e, t, o, i, a, r) {
19167
19172
  const l = R("IdmOtherLayer"), c = R("IdmWeatherLayer"), s = R("IdmTropicals"), d = R("IdmMeasure"), m = R("IdmSpot"), g = R("IdmBottomBar"), p = R("IdmTimePlayer");
19168
- return C(), D("div", R0, [
19173
+ return P(), I("div", D0, [
19169
19174
  L(l, Y({
19170
19175
  ref: "idmOtherLayers",
19171
19176
  simple: o.simple,
@@ -19229,7 +19234,7 @@ function I0(e, t, o, i, a, r) {
19229
19234
  "forecast-model": o.forecastModel,
19230
19235
  "map-feather": o.mapFeather
19231
19236
  }, e.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
19232
- o.simple ? N("", !0) : (C(), Z(g, Y({
19237
+ o.simple ? N("", !0) : (P(), B(g, Y({
19233
19238
  key: 0,
19234
19239
  ref: "idmBottomBar",
19235
19240
  "forecast-model": o.forecastModel,
@@ -19239,7 +19244,7 @@ function I0(e, t, o, i, a, r) {
19239
19244
  "default-meteo-token": a.defaultMeteoToken,
19240
19245
  token: o.token
19241
19246
  }, e.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])),
19242
- o.simple ? (C(), Z(p, Y({
19247
+ o.simple ? (P(), B(p, Y({
19243
19248
  key: 1,
19244
19249
  ref: "idmBottomBar",
19245
19250
  playerBottom: a.playerBottom,
@@ -19249,8 +19254,8 @@ function I0(e, t, o, i, a, r) {
19249
19254
  }, e.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : N("", !0)
19250
19255
  ], 512);
19251
19256
  }
19252
- const D0 = /* @__PURE__ */ ne(T0, [["render", I0]]);
19253
- class A0 {
19257
+ const G0 = /* @__PURE__ */ ne(I0, [["render", A0]]);
19258
+ class W0 {
19254
19259
  constructor(t = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
19255
19260
  we(this, "originStyle");
19256
19261
  we(this, "mapboxStyle");
@@ -19258,7 +19263,7 @@ class A0 {
19258
19263
  we(this, "hi");
19259
19264
  we(this, "td");
19260
19265
  we(this, "windy");
19261
- var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, I, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Ze, He, Ve, j, be, Re, Ee, Oe, q, Be, re, tt, ot, at, 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, Bt, Zt, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Ba, Za, Ea, Oa, Xa, ja, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, 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;
19266
+ var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Re, Ee, Oe, q, Ze, re, tt, ot, at, 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, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Za, Ba, Ea, Oa, Xa, ja, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, 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;
19262
19267
  this.i4 = {
19263
19268
  source: {
19264
19269
  type: "raster",
@@ -37914,7 +37919,7 @@ class A0 {
37914
37919
  (E = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : E.find((z) => z.id === "water-line-label"),
37915
37920
  (J = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : J.find((z) => z.id === "water-point-label"),
37916
37921
  (ee = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : ee.find((z) => z.id === "world-12nm-v4-20231025"),
37917
- (I = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : I.find((z) => z.id === "ne-10m-outline"),
37922
+ (D = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : D.find((z) => z.id === "ne-10m-outline"),
37918
37923
  (U = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : U.find((z) => z.id === "ne-10m-label"),
37919
37924
  (X = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : X.find((z) => z.id === "china-route-line"),
37920
37925
  ($ = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : $.find((z) => z.id === "china-route-fill"),
@@ -37941,7 +37946,7 @@ class A0 {
37941
37946
  fog: {
37942
37947
  range: [0.5, 10]
37943
37948
  },
37944
- sources: (Ze = this.originStyle) == null ? void 0 : Ze.dark.sources,
37949
+ sources: (Be = this.originStyle) == null ? void 0 : Be.dark.sources,
37945
37950
  sprite: (He = this.originStyle) == null ? void 0 : He.dark.sprite,
37946
37951
  glyphs: (Ve = this.originStyle) == null ? void 0 : Ve.dark.glyphs,
37947
37952
  projection: (j = this.originStyle) == null ? void 0 : j.dark.projection,
@@ -37953,7 +37958,7 @@ class A0 {
37953
37958
  layers: [
37954
37959
  (Re = (be = this.originStyle) == null ? void 0 : be.dark.layers) == null ? void 0 : Re.find((z) => z.id === "land"),
37955
37960
  (Oe = (Ee = this.originStyle) == null ? void 0 : Ee.dark.layers) == null ? void 0 : Oe.find((z) => z.id === "water"),
37956
- (Be = (q = this.originStyle) == null ? void 0 : q.dark.layers) == null ? void 0 : Be.find((z) => z.id === "ice-area-fill"),
37961
+ (Ze = (q = this.originStyle) == null ? void 0 : q.dark.layers) == null ? void 0 : Ze.find((z) => z.id === "ice-area-fill"),
37957
37962
  (tt = (re = this.originStyle) == null ? void 0 : re.dark.layers) == null ? void 0 : tt.find((z) => z.id === "ice-area-line"),
37958
37963
  (at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((z) => z.id === "loadlines-label"),
37959
37964
  (ct = (Ge = this.originStyle) == null ? void 0 : Ge.dark.layers) == null ? void 0 : ct.find((z) => z.id === "loadlines-fill"),
@@ -37971,8 +37976,8 @@ class A0 {
37971
37976
  (Dt = (It = this.originStyle) == null ? void 0 : It.dark.layers) == null ? void 0 : Dt.find((z) => z.id === "china-route-fill"),
37972
37977
  (Gt = (At = this.originStyle) == null ? void 0 : At.dark.layers) == null ? void 0 : Gt.find((z) => z.id === "china-route-label"),
37973
37978
  (Ft = (Wt = this.originStyle) == null ? void 0 : Wt.dark.layers) == null ? void 0 : Ft.find((z) => z.id === "admin-0-boundary-bg"),
37974
- (Bt = (Nt = this.originStyle) == null ? void 0 : Nt.dark.layers) == null ? void 0 : Bt.find((z) => z.id === "admin-0-boundary"),
37975
- (Et = (Zt = this.originStyle) == null ? void 0 : Zt.dark.layers) == null ? void 0 : Et.find((z) => z.id === "admin-0-boundary-disputed"),
37979
+ (Zt = (Nt = this.originStyle) == null ? void 0 : Nt.dark.layers) == null ? void 0 : Zt.find((z) => z.id === "admin-0-boundary"),
37980
+ (Et = (Bt = this.originStyle) == null ? void 0 : Bt.dark.layers) == null ? void 0 : Et.find((z) => z.id === "admin-0-boundary-disputed"),
37976
37981
  (Xt = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Xt.find((z) => z.id === "country-label"),
37977
37982
  (Vt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Vt.find((z) => z.id === "continent-label"),
37978
37983
  (Yt = (Ht = this.originStyle) == null ? void 0 : Ht.dark.layers) == null ? void 0 : Yt.find((z) => z.id === "tide-stations"),
@@ -38084,8 +38089,8 @@ class A0 {
38084
38089
  (Ga = (Aa = this.originStyle) == null ? void 0 : Aa.light.layers) == null ? void 0 : Ga.find((z) => z.id === "land"),
38085
38090
  (Fa = (Wa = this.originStyle) == null ? void 0 : Wa.light.layers) == null ? void 0 : Fa.find((z) => z.id === "water"),
38086
38091
  this.i4.layer,
38087
- (Ba = (Na = this.originStyle) == null ? void 0 : Na.light.layers) == null ? void 0 : Ba.find((z) => z.id === "ice-area-fill"),
38088
- (Ea = (Za = this.originStyle) == null ? void 0 : Za.light.layers) == null ? void 0 : Ea.find((z) => z.id === "ice-area-line"),
38092
+ (Za = (Na = this.originStyle) == null ? void 0 : Na.light.layers) == null ? void 0 : Za.find((z) => z.id === "ice-area-fill"),
38093
+ (Ea = (Ba = this.originStyle) == null ? void 0 : Ba.light.layers) == null ? void 0 : Ea.find((z) => z.id === "ice-area-line"),
38089
38094
  (Xa = (Oa = this.originStyle) == null ? void 0 : Oa.light.layers) == null ? void 0 : Xa.find((z) => z.id === "loadlines-label"),
38090
38095
  (Va = (ja = this.originStyle) == null ? void 0 : ja.light.layers) == null ? void 0 : Va.find((z) => z.id === "loadlines-fill"),
38091
38096
  (Ya = (Ha = this.originStyle) == null ? void 0 : Ha.light.layers) == null ? void 0 : Ya.find((z) => z.id === "empty-layer-0"),
@@ -38115,7 +38120,7 @@ class A0 {
38115
38120
  };
38116
38121
  }
38117
38122
  }
38118
- const G0 = {
38123
+ const F0 = {
38119
38124
  name: "MapInitial",
38120
38125
  props: {
38121
38126
  token: {
@@ -38188,7 +38193,7 @@ const G0 = {
38188
38193
  },
38189
38194
  methods: {
38190
38195
  async initOnlineMap() {
38191
- this.helper = new A0(this.token), Ae.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
38196
+ this.helper = new W0(this.token), Ae.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
38192
38197
  const e = new Ae.Map({
38193
38198
  container: "map",
38194
38199
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -38231,24 +38236,24 @@ const G0 = {
38231
38236
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (e = this.map) == null || e.flyTo({ zoom: this.zoom, duration: 500 }));
38232
38237
  }
38233
38238
  }
38234
- }, W0 = { class: "v-btn--variant-elevated rounded" }, F0 = { class: "v-btn--variant-elevated rounded" }, N0 = { class: "zoom" }, B0 = {
38239
+ }, N0 = { class: "v-btn--variant-elevated rounded" }, Z0 = { class: "v-btn--variant-elevated rounded" }, B0 = { class: "zoom" }, E0 = {
38235
38240
  key: 2,
38236
38241
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
38237
38242
  };
38238
- function Z0(e, t, o, i, a, r) {
38243
+ function O0(e, t, o, i, a, r) {
38239
38244
  const l = R("VBtn");
38240
- return C(), D("div", {
38245
+ return P(), I("div", {
38241
38246
  class: "mapbox-initial-gl4 gif-container",
38242
38247
  id: "mapbox-initial-gl4",
38243
38248
  style: ue({ height: o.height, width: o.width })
38244
38249
  }, [
38245
38250
  t[6] || (t[6] = n("div", { id: "map" }, null, -1)),
38246
- o.simple ? (C(), D("div", {
38251
+ o.simple ? (P(), I("div", {
38247
38252
  key: 0,
38248
38253
  class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
38249
38254
  style: ue({ top: o.top + 254 + "px", right: a.right + "px", height: "40px" })
38250
38255
  }, [
38251
- n("div", W0, [
38256
+ n("div", N0, [
38252
38257
  L(l, {
38253
38258
  "min-width": "32",
38254
38259
  width: "32",
@@ -38256,7 +38261,7 @@ function Z0(e, t, o, i, a, r) {
38256
38261
  class: "pa-0 elevation-0",
38257
38262
  onClick: r.initOnlineMap
38258
38263
  }, {
38259
- default: P(() => t[0] || (t[0] = [
38264
+ default: C(() => t[0] || (t[0] = [
38260
38265
  n("i", { class: "iconfont icon-shuaxin text-h4" }, null, -1)
38261
38266
  ])),
38262
38267
  _: 1,
@@ -38264,12 +38269,12 @@ function Z0(e, t, o, i, a, r) {
38264
38269
  }, 8, ["onClick"])
38265
38270
  ])
38266
38271
  ], 4)) : N("", !0),
38267
- o.simple ? N("", !0) : (C(), D("div", {
38272
+ o.simple ? N("", !0) : (P(), I("div", {
38268
38273
  key: 1,
38269
38274
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
38270
38275
  style: ue({ top: o.top + 268 + "px", right: a.right + "px", height: "112px" })
38271
38276
  }, [
38272
- n("div", F0, [
38277
+ n("div", Z0, [
38273
38278
  L(l, {
38274
38279
  "min-width": "32",
38275
38280
  width: "32",
@@ -38277,13 +38282,13 @@ function Z0(e, t, o, i, a, r) {
38277
38282
  class: "pa-0 elevation-0",
38278
38283
  onClick: r.handleZoomIn
38279
38284
  }, {
38280
- default: P(() => t[1] || (t[1] = [
38285
+ default: C(() => t[1] || (t[1] = [
38281
38286
  n("i", { class: "iconfont icon-a-Zoomin text-h4" }, null, -1)
38282
38287
  ])),
38283
38288
  _: 1,
38284
38289
  __: [1]
38285
38290
  }, 8, ["onClick"]),
38286
- n("div", N0, b(a.zoom ? Math.floor(a.zoom) : 0), 1),
38291
+ n("div", B0, b(a.zoom ? Math.floor(a.zoom) : 0), 1),
38287
38292
  L(l, {
38288
38293
  "min-width": "32",
38289
38294
  width: "32",
@@ -38291,7 +38296,7 @@ function Z0(e, t, o, i, a, r) {
38291
38296
  class: "elevation-0 pa-0",
38292
38297
  onClick: r.handleZoomOut
38293
38298
  }, {
38294
- default: P(() => t[2] || (t[2] = [
38299
+ default: C(() => t[2] || (t[2] = [
38295
38300
  n("i", { class: "iconfont icon-a-Zoomout text-h4" }, null, -1)
38296
38301
  ])),
38297
38302
  _: 1,
@@ -38299,7 +38304,7 @@ function Z0(e, t, o, i, a, r) {
38299
38304
  }, 8, ["onClick"])
38300
38305
  ])
38301
38306
  ], 4)),
38302
- o.simple ? N("", !0) : (C(), D("div", B0, [
38307
+ o.simple ? N("", !0) : (P(), I("div", E0, [
38303
38308
  t[3] || (t[3] = n("span", null, "© 2023", -1)),
38304
38309
  n("span", null, "-" + b(r.computeYear), 1),
38305
38310
  t[4] || (t[4] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -38311,25 +38316,25 @@ function Z0(e, t, o, i, a, r) {
38311
38316
  ]))
38312
38317
  ], 4);
38313
38318
  }
38314
- const E0 = /* @__PURE__ */ ne(G0, [["render", Z0]]), tf = {
38319
+ const X0 = /* @__PURE__ */ ne(F0, [["render", O0]]), af = {
38315
38320
  install(e) {
38316
- e.component("MapInitial", E0), e.component("MapboxGL", D0), e.component("TropicalGL", or), e.component("LatLngGL", tr), e.component("DateTimePicker", ta), e.component("DateRangePicker", ar), e.component("PortDetail", ga), e.component("TimePlayer", kr);
38321
+ e.component("MapInitial", X0), e.component("MapboxGL", G0), e.component("TropicalGL", or), e.component("LatLngGL", tr), e.component("DateTimePicker", ta), e.component("DateRangePicker", ar), e.component("PortDetail", ga), e.component("TimePlayer", kr);
38317
38322
  }
38318
38323
  };
38319
38324
  export {
38320
38325
  ta as D,
38321
38326
  tr as L,
38322
- tf as M,
38327
+ af as M,
38323
38328
  ga as P,
38324
38329
  or as T,
38325
38330
  fa as V,
38326
38331
  Ye as W,
38327
- E0 as a,
38328
- D0 as b,
38332
+ X0 as a,
38333
+ G0 as b,
38329
38334
  ar as c,
38330
38335
  kr as d,
38331
38336
  ze as e,
38332
38337
  We as f,
38333
- A0 as g,
38334
- Zo as l
38338
+ W0 as g,
38339
+ Bo as l
38335
38340
  };