@idmwx/idmui-gl4 1.8.3 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +226 -223
- package/dist/index.umd.cjs +16 -16
- package/dist/mapbox/src/components/weather/index.vue.d.ts +10 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var $a = Object.defineProperty;
|
|
2
2
|
var Ka = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
|
-
var
|
|
3
|
+
var he = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Se from "axios";
|
|
5
5
|
import { useTheme as Le } from "vuetify";
|
|
6
|
-
import { openBlock as y, createElementBlock as M, resolveComponent as x, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ye, toDisplayString as m, createTextVNode as
|
|
6
|
+
import { openBlock as y, createElementBlock as M, resolveComponent as x, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ye, toDisplayString as m, createTextVNode as J, Fragment as be, renderList as we, withDirectives as Ve, vShow as Ze, mergeProps as B, normalizeStyle as ae } from "vue";
|
|
7
7
|
import xe from "mapbox-gl";
|
|
8
8
|
import S from "moment";
|
|
9
9
|
import { LngLatHelper as X, TropicalHelper as Za, LaneHelper as We } from "@idm-plugin/geo";
|
|
@@ -1490,10 +1490,10 @@ const ui = {
|
|
|
1490
1490
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1491
1491
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1492
1492
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1493
|
-
var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
1493
|
+
var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le, me, K, ie, pe, de, ue, N, se, ve, Pe, Ce;
|
|
1494
1494
|
let r = {};
|
|
1495
1495
|
const l = ((c = Co.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
|
|
1496
|
-
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (k = l == null ? void 0 : l.wave) == null ? void 0 : k.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (
|
|
1496
|
+
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (k = l == null ? void 0 : l.wave) == null ? void 0 : k.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ce = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ce.direction, r.windwavePeriod = this.computeRoundPrecision((me = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : me.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ie = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : ie.height, 1) ?? "-", r.swellDir = (de = (pe = l == null ? void 0 : l.wave) == null ? void 0 : pe.swell) == null ? void 0 : de.direction, r.swellPeriod = this.computeRoundPrecision((N = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : N.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((se = l == null ? void 0 : l.current) == null ? void 0 : se.speed, 1) ?? "-", r.currentDir = (ve = l == null ? void 0 : l.current) == null ? void 0 : ve.direction, r.currentSpeed = this.computeRoundPrecision((Pe = l == null ? void 0 : l.current) == null ? void 0 : Pe.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 = (Ce = l == null ? void 0 : l.weather) == null ? void 0 : Ce.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
|
|
1497
1497
|
});
|
|
1498
1498
|
},
|
|
1499
1499
|
handleTide() {
|
|
@@ -1738,7 +1738,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1738
1738
|
p(u, { color: "warning" })
|
|
1739
1739
|
]),
|
|
1740
1740
|
default: f(() => [
|
|
1741
|
-
|
|
1741
|
+
J(" " + m(t.$t("actions.unfollow")), 1)
|
|
1742
1742
|
]),
|
|
1743
1743
|
_: 1
|
|
1744
1744
|
}, 8, ["onClick"])) : (y(), R(l, {
|
|
@@ -1751,7 +1751,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1751
1751
|
onClick: r.handleFollow
|
|
1752
1752
|
}, {
|
|
1753
1753
|
default: f(() => [
|
|
1754
|
-
|
|
1754
|
+
J(m(t.$t("actions.follow")), 1)
|
|
1755
1755
|
]),
|
|
1756
1756
|
_: 1
|
|
1757
1757
|
}, 8, ["onClick"])),
|
|
@@ -1763,7 +1763,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1763
1763
|
onClick: r.handleMeteoMore
|
|
1764
1764
|
}, {
|
|
1765
1765
|
default: f(() => [
|
|
1766
|
-
|
|
1766
|
+
J(m(t.$t("actions.7dayForcast")), 1)
|
|
1767
1767
|
]),
|
|
1768
1768
|
_: 1
|
|
1769
1769
|
}, 8, ["onClick"])
|
|
@@ -1828,7 +1828,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1828
1828
|
value: g.index
|
|
1829
1829
|
}, {
|
|
1830
1830
|
default: f(() => [
|
|
1831
|
-
|
|
1831
|
+
J(m(g.label), 1)
|
|
1832
1832
|
]),
|
|
1833
1833
|
_: 2
|
|
1834
1834
|
}, 1032, ["value"]))), 256))
|
|
@@ -1841,7 +1841,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1841
1841
|
key: g.id
|
|
1842
1842
|
}, [
|
|
1843
1843
|
s("th", Gi, [
|
|
1844
|
-
|
|
1844
|
+
J(m(t.$t(`${g.key}`)) + " ", 1),
|
|
1845
1845
|
g.unit ? (y(), M("span", Ui, " ( " + m(g.unit) + " )", 1)) : D("", !0)
|
|
1846
1846
|
]),
|
|
1847
1847
|
s("td", Wi, [
|
|
@@ -3071,7 +3071,7 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3071
3071
|
value: _.index
|
|
3072
3072
|
}, {
|
|
3073
3073
|
default: f(() => [
|
|
3074
|
-
|
|
3074
|
+
J(m(_.label), 1)
|
|
3075
3075
|
]),
|
|
3076
3076
|
_: 2
|
|
3077
3077
|
}, 1032, ["value"]))), 256))
|
|
@@ -4756,8 +4756,8 @@ const el = {
|
|
|
4756
4756
|
class: "border rounded-sm"
|
|
4757
4757
|
}, dl = { class: "text-body-2 text-center pt-1" };
|
|
4758
4758
|
function hl(t, e, o, i, a, r) {
|
|
4759
|
-
var $,
|
|
4760
|
-
const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), g = x("IdmTerminator"), P = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), L = x("IdmEcaZone"), z = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), k = x("IdmWorldMarine"), A = x("IdmVRA"),
|
|
4759
|
+
var $, ce, le, me, K, ie, pe, de, ue;
|
|
4760
|
+
const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), g = x("IdmTerminator"), P = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), L = x("IdmEcaZone"), z = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), k = x("IdmWorldMarine"), A = x("IdmVRA"), F = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), Y = x("IdmChinaRoute"), V = x("IdmIceAreas"), ee = x("IdmFollowPort"), Q = x("IdmFollowPosition");
|
|
4761
4761
|
return y(), M("div", tl, [
|
|
4762
4762
|
s("div", {
|
|
4763
4763
|
class: "menu-bar-box transition px-1 rounded",
|
|
@@ -4767,8 +4767,8 @@ function hl(t, e, o, i, a, r) {
|
|
|
4767
4767
|
text: t.$t("layer.mapLayers"),
|
|
4768
4768
|
location: "left"
|
|
4769
4769
|
}, {
|
|
4770
|
-
activator: f(({ props:
|
|
4771
|
-
p(l, B(
|
|
4770
|
+
activator: f(({ props: N }) => [
|
|
4771
|
+
p(l, B(N, {
|
|
4772
4772
|
"min-width": "32",
|
|
4773
4773
|
width: "32",
|
|
4774
4774
|
height: "32",
|
|
@@ -4818,7 +4818,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4818
4818
|
style: { "font-size": "16px !important" }
|
|
4819
4819
|
}, {
|
|
4820
4820
|
default: f(() => [
|
|
4821
|
-
|
|
4821
|
+
J(m(t.$t("layer.mapFeathers")), 1)
|
|
4822
4822
|
]),
|
|
4823
4823
|
_: 1
|
|
4824
4824
|
})
|
|
@@ -4828,25 +4828,25 @@ function hl(t, e, o, i, a, r) {
|
|
|
4828
4828
|
p(b, { class: "pb-2" }, {
|
|
4829
4829
|
default: f(() => [
|
|
4830
4830
|
s("div", rl, [
|
|
4831
|
-
(y(!0), M(be, null, we(a.mapFeathers, (
|
|
4832
|
-
key:
|
|
4831
|
+
(y(!0), M(be, null, we(a.mapFeathers, (N) => (y(), M("div", {
|
|
4832
|
+
key: N.value,
|
|
4833
4833
|
class: "mb-2 feather-item",
|
|
4834
|
-
onClick: (
|
|
4834
|
+
onClick: (se) => r.handleToggleMapFeather(N)
|
|
4835
4835
|
}, [
|
|
4836
4836
|
s("div", {
|
|
4837
|
-
class: Ye([a.mapFeather ===
|
|
4837
|
+
class: Ye([a.mapFeather === N.value ? "active" : "", "img-box"])
|
|
4838
4838
|
}, [
|
|
4839
|
-
|
|
4839
|
+
N.value === "dark" ? (y(), M("img", ll)) : N.value === "nautical" ? (y(), M("img", nl)) : N.value === "satellite" ? (y(), M("img", cl)) : (y(), M("img", ml))
|
|
4840
4840
|
], 2),
|
|
4841
|
-
s("div", dl, m(t.$t(`layer.${
|
|
4841
|
+
s("div", dl, m(t.$t(`layer.${N.locale}`)), 1)
|
|
4842
4842
|
], 8, sl))), 128))
|
|
4843
4843
|
]),
|
|
4844
|
-
(y(!0), M(be, null, we(a.tagLayers.filter((
|
|
4845
|
-
key:
|
|
4844
|
+
(y(!0), M(be, null, we(a.tagLayers.filter((N) => ["graticule", "day-night", "time-zones"].includes(N.key)), (N) => (y(), R(h, {
|
|
4845
|
+
key: N.key,
|
|
4846
4846
|
modelValue: a.checkList,
|
|
4847
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
4848
|
-
value:
|
|
4849
|
-
label: t.$t(`layer.${
|
|
4847
|
+
"onUpdate:modelValue": e[0] || (e[0] = (se) => a.checkList = se),
|
|
4848
|
+
value: N.key,
|
|
4849
|
+
label: t.$t(`layer.${N.locale}`),
|
|
4850
4850
|
color: "primary",
|
|
4851
4851
|
density: "compact",
|
|
4852
4852
|
style: { height: "36px" },
|
|
@@ -4871,7 +4871,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4871
4871
|
style: { "font-size": "16px !important" }
|
|
4872
4872
|
}, {
|
|
4873
4873
|
default: f(() => [
|
|
4874
|
-
|
|
4874
|
+
J(m(t.$t("layer.pointsOfInteresting")), 1)
|
|
4875
4875
|
]),
|
|
4876
4876
|
_: 1
|
|
4877
4877
|
})
|
|
@@ -4880,12 +4880,12 @@ function hl(t, e, o, i, a, r) {
|
|
|
4880
4880
|
}),
|
|
4881
4881
|
p(b, { class: "py-2" }, {
|
|
4882
4882
|
default: f(() => [
|
|
4883
|
-
(y(!0), M(be, null, we(a.tagLayers.filter((
|
|
4884
|
-
key:
|
|
4883
|
+
(y(!0), M(be, null, we(a.tagLayers.filter((N) => ["ports", "alert-zones", "tidal-stations"].includes(N.key)), (N) => (y(), R(h, {
|
|
4884
|
+
key: N.key,
|
|
4885
4885
|
modelValue: a.checkList,
|
|
4886
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
4887
|
-
value:
|
|
4888
|
-
label: t.$t(`layer.${
|
|
4886
|
+
"onUpdate:modelValue": e[1] || (e[1] = (se) => a.checkList = se),
|
|
4887
|
+
value: N.key,
|
|
4888
|
+
label: t.$t(`layer.${N.locale}`),
|
|
4889
4889
|
color: "primary",
|
|
4890
4890
|
density: "compact",
|
|
4891
4891
|
style: { height: "36px" },
|
|
@@ -4910,7 +4910,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4910
4910
|
style: { "font-size": "16px !important" }
|
|
4911
4911
|
}, {
|
|
4912
4912
|
default: f(() => [
|
|
4913
|
-
|
|
4913
|
+
J(m(t.$t("layer.otherLayers")), 1)
|
|
4914
4914
|
]),
|
|
4915
4915
|
_: 1
|
|
4916
4916
|
})
|
|
@@ -4919,12 +4919,12 @@ function hl(t, e, o, i, a, r) {
|
|
|
4919
4919
|
}),
|
|
4920
4920
|
p(b, { class: "py-2" }, {
|
|
4921
4921
|
default: f(() => [
|
|
4922
|
-
(y(!0), M(be, null, we(a.tagLayers.filter((
|
|
4923
|
-
key:
|
|
4922
|
+
(y(!0), M(be, null, we(a.tagLayers.filter((N) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(N.key)), (N) => (y(), R(h, {
|
|
4923
|
+
key: N.key,
|
|
4924
4924
|
modelValue: a.checkList,
|
|
4925
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
4926
|
-
value:
|
|
4927
|
-
label: t.$t(`layer.${
|
|
4925
|
+
"onUpdate:modelValue": e[2] || (e[2] = (se) => a.checkList = se),
|
|
4926
|
+
value: N.key,
|
|
4927
|
+
label: t.$t(`layer.${N.locale}`),
|
|
4928
4928
|
color: "primary",
|
|
4929
4929
|
density: "compact",
|
|
4930
4930
|
style: { height: "36px" },
|
|
@@ -4949,7 +4949,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4949
4949
|
style: { "font-size": "16px !important" }
|
|
4950
4950
|
}, {
|
|
4951
4951
|
default: f(() => [
|
|
4952
|
-
|
|
4952
|
+
J(m(t.$t("layer.myFollows")), 1)
|
|
4953
4953
|
]),
|
|
4954
4954
|
_: 1
|
|
4955
4955
|
})
|
|
@@ -4960,7 +4960,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4960
4960
|
default: f(() => [
|
|
4961
4961
|
p(h, {
|
|
4962
4962
|
modelValue: a.checkList,
|
|
4963
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
4963
|
+
"onUpdate:modelValue": e[3] || (e[3] = (N) => a.checkList = N),
|
|
4964
4964
|
value: "follow-ports",
|
|
4965
4965
|
label: t.$t("layer.ports"),
|
|
4966
4966
|
color: "primary",
|
|
@@ -4971,7 +4971,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4971
4971
|
}, null, 8, ["modelValue", "label"]),
|
|
4972
4972
|
p(h, {
|
|
4973
4973
|
modelValue: a.checkList,
|
|
4974
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
4974
|
+
"onUpdate:modelValue": e[4] || (e[4] = (N) => a.checkList = N),
|
|
4975
4975
|
value: "follow-positions",
|
|
4976
4976
|
label: t.$t("layer.locations"),
|
|
4977
4977
|
color: "primary",
|
|
@@ -5002,14 +5002,14 @@ function hl(t, e, o, i, a, r) {
|
|
|
5002
5002
|
o.map ? (y(), R(P, B({
|
|
5003
5003
|
key: 2,
|
|
5004
5004
|
map: o.map,
|
|
5005
|
-
zone: (
|
|
5005
|
+
zone: (ce = a.otherLayers) == null ? void 0 : ce["time-zones"],
|
|
5006
5006
|
realTime: o.realTime
|
|
5007
5007
|
}, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : D("", !0),
|
|
5008
5008
|
o.map ? (y(), R(T, B({
|
|
5009
5009
|
key: 3,
|
|
5010
5010
|
ref: "idmPorts",
|
|
5011
5011
|
map: o.map,
|
|
5012
|
-
ports: (
|
|
5012
|
+
ports: (le = a.otherLayers) == null ? void 0 : le.ports,
|
|
5013
5013
|
gateway: o.gateway,
|
|
5014
5014
|
token: o.token,
|
|
5015
5015
|
"forecast-model": o.forecastModel,
|
|
@@ -5018,7 +5018,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
5018
5018
|
o.map ? (y(), R(O, B({
|
|
5019
5019
|
key: 4,
|
|
5020
5020
|
map: o.map,
|
|
5021
|
-
zone: (
|
|
5021
|
+
zone: (me = a.otherLayers) == null ? void 0 : me["alert-zones"]
|
|
5022
5022
|
}, t.$attrs, {
|
|
5023
5023
|
"before-layer": "empty-layer-3",
|
|
5024
5024
|
theme: o.theme
|
|
@@ -5039,17 +5039,17 @@ function hl(t, e, o, i, a, r) {
|
|
|
5039
5039
|
o.map ? (y(), R(L, B({
|
|
5040
5040
|
key: 6,
|
|
5041
5041
|
map: o.map,
|
|
5042
|
-
zone: (
|
|
5042
|
+
zone: (K = a.otherLayers) == null ? void 0 : K["eca-zones"]
|
|
5043
5043
|
}, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
|
|
5044
5044
|
o.map ? (y(), R(z, B({
|
|
5045
5045
|
key: 7,
|
|
5046
5046
|
map: o.map,
|
|
5047
|
-
zone: (
|
|
5047
|
+
zone: (ie = a.otherLayers) == null ? void 0 : ie["war-zones"]
|
|
5048
5048
|
}, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
|
|
5049
5049
|
o.map ? (y(), R(v, B({
|
|
5050
5050
|
key: 8,
|
|
5051
5051
|
map: o.map,
|
|
5052
|
-
area: (
|
|
5052
|
+
area: (pe = a.otherLayers) == null ? void 0 : pe["gmdss-areas"]
|
|
5053
5053
|
}, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
|
|
5054
5054
|
o.map ? (y(), R(C, B({
|
|
5055
5055
|
key: 9,
|
|
@@ -5065,12 +5065,12 @@ function hl(t, e, o, i, a, r) {
|
|
|
5065
5065
|
o.map ? (y(), R(A, B({
|
|
5066
5066
|
key: 11,
|
|
5067
5067
|
map: o.map,
|
|
5068
|
-
area: (
|
|
5068
|
+
area: (de = a.otherLayers) == null ? void 0 : de["voluntary-reporting-area"]
|
|
5069
5069
|
}, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
|
|
5070
|
-
o.map ? (y(), R(
|
|
5070
|
+
o.map ? (y(), R(F, B({
|
|
5071
5071
|
key: 12,
|
|
5072
5072
|
map: o.map,
|
|
5073
|
-
area: (
|
|
5073
|
+
area: (ue = a.otherLayers) == null ? void 0 : ue["special-area"]
|
|
5074
5074
|
}, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
|
|
5075
5075
|
o.map ? (y(), R(Z, B({
|
|
5076
5076
|
key: 13,
|
|
@@ -5099,7 +5099,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
5099
5099
|
"forecast-model": o.forecastModel,
|
|
5100
5100
|
realTime: o.realTime
|
|
5101
5101
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
|
|
5102
|
-
o.map ? (y(), R(
|
|
5102
|
+
o.map ? (y(), R(Q, B({
|
|
5103
5103
|
key: 17,
|
|
5104
5104
|
ref: "idmFollowPosition",
|
|
5105
5105
|
map: o.map,
|
|
@@ -5112,15 +5112,15 @@ function hl(t, e, o, i, a, r) {
|
|
|
5112
5112
|
const pl = /* @__PURE__ */ q(el, [["render", hl]]);
|
|
5113
5113
|
class Do {
|
|
5114
5114
|
constructor(e) {
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5115
|
+
he(this, "map");
|
|
5116
|
+
he(this, "mercator");
|
|
5117
|
+
he(this, "rampColorLayer");
|
|
5118
|
+
he(this, "rampColorSource");
|
|
5119
|
+
he(this, "particleLayer");
|
|
5120
|
+
he(this, "particleSource");
|
|
5121
|
+
he(this, "rampColorCanvas");
|
|
5122
|
+
he(this, "particleCanvas");
|
|
5123
|
+
he(this, "ratio");
|
|
5124
5124
|
this.map = e, this.mercator = new Qa(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
|
|
5125
5125
|
}
|
|
5126
5126
|
/**
|
|
@@ -5395,10 +5395,10 @@ class Ne {
|
|
|
5395
5395
|
});
|
|
5396
5396
|
}
|
|
5397
5397
|
}
|
|
5398
|
-
class
|
|
5398
|
+
class ne {
|
|
5399
5399
|
}
|
|
5400
5400
|
// 顶点渲染
|
|
5401
|
-
|
|
5401
|
+
he(ne, "vertexSchema", `
|
|
5402
5402
|
//canvas 坐标系上的坐标 (x, y)
|
|
5403
5403
|
attribute vec2 a_position; //像素坐标
|
|
5404
5404
|
attribute vec2 a_texCoord; //纹理坐标
|
|
@@ -5413,7 +5413,7 @@ de(le, "vertexSchema", `
|
|
|
5413
5413
|
gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
|
|
5414
5414
|
v_texCoord = a_texCoord;
|
|
5415
5415
|
}`), // 类如风、流等u v双变量片元渲染
|
|
5416
|
-
|
|
5416
|
+
he(ne, "uvFragmentSchema", `
|
|
5417
5417
|
precision mediump float;
|
|
5418
5418
|
uniform sampler2D u_image;
|
|
5419
5419
|
uniform vec2 u_range_u_v;
|
|
@@ -5433,7 +5433,7 @@ de(le, "uvFragmentSchema", `
|
|
|
5433
5433
|
|
|
5434
5434
|
gl_FragColor = color;
|
|
5435
5435
|
}`), // 类如浪、气压等单变量片元渲染
|
|
5436
|
-
|
|
5436
|
+
he(ne, "fragmentSchema", `
|
|
5437
5437
|
precision mediump float;
|
|
5438
5438
|
uniform sampler2D u_image; // 灰度
|
|
5439
5439
|
uniform sampler2D u_color; // 色值映射
|
|
@@ -5446,7 +5446,7 @@ de(le, "fragmentSchema", `
|
|
|
5446
5446
|
}`);
|
|
5447
5447
|
class ze {
|
|
5448
5448
|
}
|
|
5449
|
-
|
|
5449
|
+
he(ze, "vertexSchema", `
|
|
5450
5450
|
precision mediump float;
|
|
5451
5451
|
|
|
5452
5452
|
attribute float a_index; // 索引
|
|
@@ -5470,7 +5470,7 @@ de(ze, "vertexSchema", `
|
|
|
5470
5470
|
gl_PointSize = 1.0;
|
|
5471
5471
|
// gl_PointSize = u_point;
|
|
5472
5472
|
gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
|
|
5473
|
-
}`),
|
|
5473
|
+
}`), he(ze, "fragmentSchema", `
|
|
5474
5474
|
precision mediump float;
|
|
5475
5475
|
|
|
5476
5476
|
uniform sampler2D u_factor;
|
|
@@ -5492,7 +5492,7 @@ de(ze, "vertexSchema", `
|
|
|
5492
5492
|
|
|
5493
5493
|
float f = 1.0 - uv.b;
|
|
5494
5494
|
gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
|
|
5495
|
-
}`),
|
|
5495
|
+
}`), he(ze, "quadVertSchema", `
|
|
5496
5496
|
precision mediump float;
|
|
5497
5497
|
|
|
5498
5498
|
attribute vec2 a_pos;
|
|
@@ -5502,7 +5502,7 @@ de(ze, "vertexSchema", `
|
|
|
5502
5502
|
void main() {
|
|
5503
5503
|
v_tex_pos = a_pos;
|
|
5504
5504
|
gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
|
|
5505
|
-
}`),
|
|
5505
|
+
}`), he(ze, "screenFragmentSchema", `
|
|
5506
5506
|
precision mediump float;
|
|
5507
5507
|
|
|
5508
5508
|
uniform sampler2D u_screen;
|
|
@@ -5514,7 +5514,7 @@ de(ze, "vertexSchema", `
|
|
|
5514
5514
|
vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
|
|
5515
5515
|
// a hack to guarantee opacity fade out even with a value close to 1.0
|
|
5516
5516
|
gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
|
|
5517
|
-
}`),
|
|
5517
|
+
}`), he(ze, "updateFragmentSchema", `
|
|
5518
5518
|
precision mediump float;
|
|
5519
5519
|
|
|
5520
5520
|
uniform sampler2D u_particles;
|
|
@@ -5862,7 +5862,7 @@ const bl = {
|
|
|
5862
5862
|
[1, "rgb(91, 136, 161)"]
|
|
5863
5863
|
];
|
|
5864
5864
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
5865
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
5865
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
|
|
5866
5866
|
this.program = e, this.aPositionBuffer = o;
|
|
5867
5867
|
}
|
|
5868
5868
|
this.handleParticleSetup();
|
|
@@ -6195,7 +6195,7 @@ const Ll = {
|
|
|
6195
6195
|
[1, "rgb(195,194,194)"]
|
|
6196
6196
|
];
|
|
6197
6197
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
6198
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
6198
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
|
|
6199
6199
|
this.program = e, this.aPositionBuffer = o;
|
|
6200
6200
|
}
|
|
6201
6201
|
this.handleParticleSetup();
|
|
@@ -6367,7 +6367,7 @@ const Sl = {
|
|
|
6367
6367
|
//13
|
|
6368
6368
|
];
|
|
6369
6369
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
6370
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
6370
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
6371
6371
|
this.program = e, this.aPositionBuffer = o;
|
|
6372
6372
|
}
|
|
6373
6373
|
},
|
|
@@ -6639,7 +6639,7 @@ const Bl = {
|
|
|
6639
6639
|
//13
|
|
6640
6640
|
];
|
|
6641
6641
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
6642
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
6642
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
6643
6643
|
this.program = e, this.aPositionBuffer = o;
|
|
6644
6644
|
}
|
|
6645
6645
|
},
|
|
@@ -6938,7 +6938,7 @@ const Wl = {
|
|
|
6938
6938
|
// 100%
|
|
6939
6939
|
];
|
|
6940
6940
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
6941
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
6941
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
6942
6942
|
this.program = e, this.aPositionBuffer = o;
|
|
6943
6943
|
}
|
|
6944
6944
|
},
|
|
@@ -7051,7 +7051,7 @@ const ql = {
|
|
|
7051
7051
|
// 100%
|
|
7052
7052
|
];
|
|
7053
7053
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7054
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7054
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7055
7055
|
this.program = e, this.aPositionBuffer = o;
|
|
7056
7056
|
}
|
|
7057
7057
|
},
|
|
@@ -7165,7 +7165,7 @@ const Jl = {
|
|
|
7165
7165
|
// 4m
|
|
7166
7166
|
];
|
|
7167
7167
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7168
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7168
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7169
7169
|
this.program = e, this.aPositionBuffer = o;
|
|
7170
7170
|
}
|
|
7171
7171
|
},
|
|
@@ -7281,7 +7281,7 @@ const on = {
|
|
|
7281
7281
|
[1, "rgba(197,5,58,0.8)"]
|
|
7282
7282
|
];
|
|
7283
7283
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7284
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7284
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7285
7285
|
this.program = e, this.aPositionBuffer = o;
|
|
7286
7286
|
}
|
|
7287
7287
|
},
|
|
@@ -7388,7 +7388,7 @@ const ln = {
|
|
|
7388
7388
|
[1, "rgba(144,144,144,0)"]
|
|
7389
7389
|
];
|
|
7390
7390
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7391
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7391
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7392
7392
|
this.program = e, this.aPositionBuffer = o;
|
|
7393
7393
|
}
|
|
7394
7394
|
},
|
|
@@ -7496,7 +7496,7 @@ const dn = {
|
|
|
7496
7496
|
//
|
|
7497
7497
|
];
|
|
7498
7498
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7499
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7499
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7500
7500
|
this.program = e, this.aPositionBuffer = o;
|
|
7501
7501
|
}
|
|
7502
7502
|
},
|
|
@@ -7615,7 +7615,7 @@ const gn = {
|
|
|
7615
7615
|
[1, "rgb(138, 43, 10)"]
|
|
7616
7616
|
];
|
|
7617
7617
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
7618
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
7618
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
|
|
7619
7619
|
this.program = e, this.aPositionBuffer = o;
|
|
7620
7620
|
}
|
|
7621
7621
|
},
|
|
@@ -7688,9 +7688,6 @@ const wn = {
|
|
|
7688
7688
|
type: Array,
|
|
7689
7689
|
default: []
|
|
7690
7690
|
},
|
|
7691
|
-
token: {
|
|
7692
|
-
type: String
|
|
7693
|
-
},
|
|
7694
7691
|
defaultMeteoToken: {
|
|
7695
7692
|
type: String
|
|
7696
7693
|
},
|
|
@@ -7953,8 +7950,8 @@ const wn = {
|
|
|
7953
7950
|
);
|
|
7954
7951
|
const v = await Promise.all(z);
|
|
7955
7952
|
this.weatherLayers = {}, v.map((C) => {
|
|
7956
|
-
var
|
|
7957
|
-
const k = ((
|
|
7953
|
+
var F, Z, Y, V;
|
|
7954
|
+
const k = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
|
|
7958
7955
|
let A = (Y = (Z = C == null ? void 0 : C.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
|
|
7959
7956
|
A && k && (this.weatherLayers[A] = {
|
|
7960
7957
|
raw: k,
|
|
@@ -8051,11 +8048,11 @@ const wn = {
|
|
|
8051
8048
|
if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8052
8049
|
const C = L[v].lng;
|
|
8053
8050
|
w > _ ? C.forEach((k, A) => {
|
|
8054
|
-
var
|
|
8051
|
+
var F, Z, Y, V, ee, Q;
|
|
8055
8052
|
if (a < 2) {
|
|
8056
8053
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8057
8054
|
const $ = H.point([k, v], {
|
|
8058
|
-
val: ((
|
|
8055
|
+
val: ((F = L[v].val) == null ? void 0 : F[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8059
8056
|
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8060
8057
|
});
|
|
8061
8058
|
I.push($);
|
|
@@ -8063,16 +8060,16 @@ const wn = {
|
|
|
8063
8060
|
} else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8064
8061
|
const $ = H.point([k, v], {
|
|
8065
8062
|
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8066
|
-
spd: (
|
|
8063
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8067
8064
|
});
|
|
8068
8065
|
I.push($);
|
|
8069
8066
|
}
|
|
8070
8067
|
}) : C.forEach((k, A) => {
|
|
8071
|
-
var
|
|
8068
|
+
var F, Z, Y, V, ee, Q;
|
|
8072
8069
|
if (w < 2) {
|
|
8073
8070
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8074
8071
|
const $ = H.point([k, v], {
|
|
8075
|
-
val: ((
|
|
8072
|
+
val: ((F = L[v].val) == null ? void 0 : F[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8076
8073
|
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8077
8074
|
});
|
|
8078
8075
|
I.push($);
|
|
@@ -8080,7 +8077,7 @@ const wn = {
|
|
|
8080
8077
|
} else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8081
8078
|
const $ = H.point([k, v], {
|
|
8082
8079
|
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8083
|
-
spd: (
|
|
8080
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8084
8081
|
});
|
|
8085
8082
|
I.push($);
|
|
8086
8083
|
}
|
|
@@ -8115,11 +8112,11 @@ const wn = {
|
|
|
8115
8112
|
if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8116
8113
|
const C = L[v].lng;
|
|
8117
8114
|
w > _ ? C.forEach((k, A) => {
|
|
8118
|
-
var
|
|
8115
|
+
var F, Z, Y, V, ee, Q;
|
|
8119
8116
|
if (a < 2) {
|
|
8120
8117
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8121
8118
|
const $ = H.point([k, v], {
|
|
8122
|
-
val: ((
|
|
8119
|
+
val: ((F = L[v].val) == null ? void 0 : F[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8123
8120
|
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8124
8121
|
});
|
|
8125
8122
|
I.push($);
|
|
@@ -8127,16 +8124,16 @@ const wn = {
|
|
|
8127
8124
|
} else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8128
8125
|
const $ = H.point([k, v], {
|
|
8129
8126
|
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8130
|
-
spd: (
|
|
8127
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8131
8128
|
});
|
|
8132
8129
|
I.push($);
|
|
8133
8130
|
}
|
|
8134
8131
|
}) : C.forEach((k, A) => {
|
|
8135
|
-
var
|
|
8132
|
+
var F, Z, Y, V, ee, Q;
|
|
8136
8133
|
if (w < 2) {
|
|
8137
8134
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8138
8135
|
const $ = H.point([k, v], {
|
|
8139
|
-
val: ((
|
|
8136
|
+
val: ((F = L[v].val) == null ? void 0 : F[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8140
8137
|
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8141
8138
|
});
|
|
8142
8139
|
I.push($);
|
|
@@ -8144,7 +8141,7 @@ const wn = {
|
|
|
8144
8141
|
} else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
8145
8142
|
const $ = H.point([k, v], {
|
|
8146
8143
|
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8147
|
-
spd: (
|
|
8144
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8148
8145
|
});
|
|
8149
8146
|
I.push($);
|
|
8150
8147
|
}
|
|
@@ -8157,9 +8154,9 @@ const wn = {
|
|
|
8157
8154
|
const C = [];
|
|
8158
8155
|
for (const k in (h = z.raw) == null ? void 0 : h.Polygon) {
|
|
8159
8156
|
const A = z.raw.Polygon[k];
|
|
8160
|
-
for (const
|
|
8157
|
+
for (const F of A)
|
|
8161
8158
|
C.push(
|
|
8162
|
-
H.polygon(
|
|
8159
|
+
H.polygon(F, {
|
|
8163
8160
|
val: Number(k)
|
|
8164
8161
|
})
|
|
8165
8162
|
);
|
|
@@ -8176,11 +8173,11 @@ const wn = {
|
|
|
8176
8173
|
if (z > g && z < P && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8177
8174
|
const v = L[z].lng;
|
|
8178
8175
|
w > _ ? v.forEach((C, k) => {
|
|
8179
|
-
var A,
|
|
8176
|
+
var A, F, Z, Y;
|
|
8180
8177
|
if (a < 2) {
|
|
8181
8178
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8182
8179
|
const V = H.point([C, z], {
|
|
8183
|
-
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((
|
|
8180
|
+
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((F = L[z].dir) == null ? void 0 : F[k]),
|
|
8184
8181
|
spd: L[z].spd[k]
|
|
8185
8182
|
});
|
|
8186
8183
|
I.push(V);
|
|
@@ -8193,11 +8190,11 @@ const wn = {
|
|
|
8193
8190
|
I.push(V);
|
|
8194
8191
|
}
|
|
8195
8192
|
}) : v.forEach((C, k) => {
|
|
8196
|
-
var A,
|
|
8193
|
+
var A, F, Z, Y;
|
|
8197
8194
|
if (a < 2) {
|
|
8198
8195
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8199
8196
|
const V = H.point([C, z], {
|
|
8200
|
-
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((
|
|
8197
|
+
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((F = L[z].dir) == null ? void 0 : F[k]),
|
|
8201
8198
|
spd: L[z].spd[k]
|
|
8202
8199
|
});
|
|
8203
8200
|
I.push(V);
|
|
@@ -8325,8 +8322,8 @@ const wn = {
|
|
|
8325
8322
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
8326
8323
|
}, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Un = { class: "text-body-2 text-label mb-3" }, Wn = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Zn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" }, Qn = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
|
|
8327
8324
|
function ic(t, e, o, i, a, r) {
|
|
8328
|
-
var
|
|
8329
|
-
const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), u = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), g = x("VCardTitle"), P = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), k = x("IdmWindParticle"), A = x("IdmCurrentParticle"),
|
|
8325
|
+
var me, K, ie, pe, de, ue, N, se, ve, Pe, Ce, De, Ae, Re, ke;
|
|
8326
|
+
const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), u = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), g = x("VCardTitle"), P = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), k = x("IdmWindParticle"), A = x("IdmCurrentParticle"), F = x("IdmWave"), Z = x("IdmSwell"), Y = x("IdmIceEdge"), V = x("IdmIceCover"), ee = x("IdmIceThickness"), Q = x("IdmPrecip3h"), $ = x("IdmVisibility"), ce = x("IdmWaterTemp"), le = x("IdmTemp");
|
|
8330
8327
|
return y(), M("div", xn, [
|
|
8331
8328
|
s("div", {
|
|
8332
8329
|
class: "menu-bar-box transition pa-1",
|
|
@@ -8533,7 +8530,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8533
8530
|
style: { "font-size": "16px !important" }
|
|
8534
8531
|
}, {
|
|
8535
8532
|
default: f(() => [
|
|
8536
|
-
|
|
8533
|
+
J(m(t.$t("weather.overlays")), 1)
|
|
8537
8534
|
]),
|
|
8538
8535
|
_: 1
|
|
8539
8536
|
})
|
|
@@ -8573,7 +8570,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8573
8570
|
style: { "font-size": "16px !important" }
|
|
8574
8571
|
}, {
|
|
8575
8572
|
default: f(() => [
|
|
8576
|
-
|
|
8573
|
+
J(m(t.$t("weather.renders")), 1)
|
|
8577
8574
|
]),
|
|
8578
8575
|
_: 1
|
|
8579
8576
|
})
|
|
@@ -8650,7 +8647,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8650
8647
|
disabled: !a.autoActive
|
|
8651
8648
|
}, {
|
|
8652
8649
|
default: f(() => [
|
|
8653
|
-
|
|
8650
|
+
J(m(t.$t("weather.significant")), 1)
|
|
8654
8651
|
]),
|
|
8655
8652
|
_: 1
|
|
8656
8653
|
}, 8, ["color", "disabled"]),
|
|
@@ -8664,7 +8661,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8664
8661
|
value: "swell"
|
|
8665
8662
|
}, {
|
|
8666
8663
|
default: f(() => [
|
|
8667
|
-
|
|
8664
|
+
J(m(t.$t("weather.swell")), 1)
|
|
8668
8665
|
]),
|
|
8669
8666
|
_: 1
|
|
8670
8667
|
}, 8, ["color", "disabled"])
|
|
@@ -8693,7 +8690,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8693
8690
|
disabled: !a.autoActive
|
|
8694
8691
|
}, {
|
|
8695
8692
|
default: f(() => [
|
|
8696
|
-
|
|
8693
|
+
J(m(t.$t("weather.coverage")), 1)
|
|
8697
8694
|
]),
|
|
8698
8695
|
_: 1
|
|
8699
8696
|
}, 8, ["color", "disabled"]),
|
|
@@ -8707,7 +8704,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8707
8704
|
value: "ice-thickness"
|
|
8708
8705
|
}, {
|
|
8709
8706
|
default: f(() => [
|
|
8710
|
-
|
|
8707
|
+
J(m(t.$t("weather.thickness")), 1)
|
|
8711
8708
|
]),
|
|
8712
8709
|
_: 1
|
|
8713
8710
|
}, 8, ["color", "disabled"])
|
|
@@ -8733,7 +8730,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8733
8730
|
style: { "font-size": "16px !important" }
|
|
8734
8731
|
}, {
|
|
8735
8732
|
default: f(() => [
|
|
8736
|
-
|
|
8733
|
+
J(m(t.$t("weather.forecastModel")), 1)
|
|
8737
8734
|
]),
|
|
8738
8735
|
_: 1
|
|
8739
8736
|
})
|
|
@@ -8742,10 +8739,10 @@ function ic(t, e, o, i, a, r) {
|
|
|
8742
8739
|
}),
|
|
8743
8740
|
p(h, { class: "" }, {
|
|
8744
8741
|
default: f(() => {
|
|
8745
|
-
var G, te, Fe, Me,
|
|
8742
|
+
var G, te, Fe, Me, ge, Te, U, fe, oe, re, Oe, He, Ge, E, ye, Ie, Be, Ee, j, Ue, W, qe, Xe, $e, _e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
|
|
8746
8743
|
return [
|
|
8747
8744
|
s("div", On, m(t.$t("weather.atmospheric")), 1),
|
|
8748
|
-
s("div", Bn, m((Fe = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((Te = (
|
|
8745
|
+
s("div", Bn, m((Fe = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((Te = (ge = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Te.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (fe = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
|
|
8749
8746
|
s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
|
|
8750
8747
|
s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((E = (Ge = (He = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ge.meta) == null ? void 0 : E.availabilityTime)), 1),
|
|
8751
8748
|
s("div", Nn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Ee = (Be = (Ie = (ye = a.models) == null ? void 0 : ye.weather) == null ? void 0 : Ie.NOAA) == null ? void 0 : Be.meta) == null ? void 0 : Ee.initialisationTime)), 1),
|
|
@@ -8784,14 +8781,14 @@ function ic(t, e, o, i, a, r) {
|
|
|
8784
8781
|
map: o.map,
|
|
8785
8782
|
"map-feather": o.mapFeather,
|
|
8786
8783
|
"before-layer": "empty-layer-3",
|
|
8787
|
-
wind: (
|
|
8784
|
+
wind: (me = a.weatherLayers) == null ? void 0 : me.wind,
|
|
8788
8785
|
"menu-toggle": o.menuToggle
|
|
8789
8786
|
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : D("", !0),
|
|
8790
8787
|
o.map ? (y(), R(z, B({
|
|
8791
8788
|
key: 2,
|
|
8792
8789
|
map: o.map,
|
|
8793
8790
|
"before-layer": "empty-layer-2",
|
|
8794
|
-
"sig-wave-height": (
|
|
8791
|
+
"sig-wave-height": (K = a.weatherLayers) == null ? void 0 : K["sig-wave-height"],
|
|
8795
8792
|
"menu-toggle": o.menuToggle,
|
|
8796
8793
|
"active-weather-layers": a.activeWeatherLayers
|
|
8797
8794
|
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
|
|
@@ -8800,40 +8797,40 @@ function ic(t, e, o, i, a, r) {
|
|
|
8800
8797
|
map: o.map,
|
|
8801
8798
|
"map-feather": o.mapFeather,
|
|
8802
8799
|
"before-layer": "empty-layer-2",
|
|
8803
|
-
current: (
|
|
8800
|
+
current: (ie = a.weatherLayers) == null ? void 0 : ie.current,
|
|
8804
8801
|
"menu-toggle": o.menuToggle
|
|
8805
8802
|
}, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : D("", !0),
|
|
8806
8803
|
o.map ? (y(), R(C, B({
|
|
8807
8804
|
key: 4,
|
|
8808
8805
|
map: o.map,
|
|
8809
8806
|
"before-layer": "empty-layer-2",
|
|
8810
|
-
prmsl: (
|
|
8807
|
+
prmsl: (pe = a.weatherLayers) == null ? void 0 : pe.prmsl,
|
|
8811
8808
|
"menu-toggle": o.menuToggle,
|
|
8812
8809
|
"active-weather-layers": a.activeWeatherLayers
|
|
8813
8810
|
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
|
|
8814
8811
|
o.map ? (y(), R(k, B({
|
|
8815
8812
|
key: 5,
|
|
8816
8813
|
viewport: a.viewport,
|
|
8817
|
-
factor: (
|
|
8814
|
+
factor: (de = a.weatherLayers) == null ? void 0 : de["wind-particle"],
|
|
8818
8815
|
"menu-toggle": o.menuToggle
|
|
8819
8816
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8820
8817
|
o.map ? (y(), R(A, B({
|
|
8821
8818
|
key: 6,
|
|
8822
8819
|
viewport: a.viewport,
|
|
8823
|
-
factor: (
|
|
8820
|
+
factor: (ue = a.weatherLayers) == null ? void 0 : ue["current-particle"],
|
|
8824
8821
|
"menu-toggle": o.menuToggle
|
|
8825
8822
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8826
|
-
o.map ? (y(), R(
|
|
8823
|
+
o.map ? (y(), R(F, B({
|
|
8827
8824
|
key: 7,
|
|
8828
8825
|
viewport: a.viewport,
|
|
8829
|
-
factor: (
|
|
8826
|
+
factor: (N = a.weatherLayers) == null ? void 0 : N["sig-wave"],
|
|
8830
8827
|
"menu-toggle": o.menuToggle
|
|
8831
8828
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8832
8829
|
o.map ? (y(), R(Z, B({
|
|
8833
8830
|
key: 8,
|
|
8834
8831
|
map: o.map,
|
|
8835
8832
|
viewport: a.viewport,
|
|
8836
|
-
factor: (
|
|
8833
|
+
factor: (se = a.weatherLayers) == null ? void 0 : se.swell,
|
|
8837
8834
|
"menu-toggle": o.menuToggle,
|
|
8838
8835
|
"active-weather-layers": a.activeWeatherLayers
|
|
8839
8836
|
}, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers"])) : D("", !0),
|
|
@@ -8855,7 +8852,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8855
8852
|
factor: (Ce = a.weatherLayers) == null ? void 0 : Ce["ice-thickness"],
|
|
8856
8853
|
"menu-toggle": o.menuToggle
|
|
8857
8854
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8858
|
-
o.map ? (y(), R(
|
|
8855
|
+
o.map ? (y(), R(Q, B({
|
|
8859
8856
|
key: 12,
|
|
8860
8857
|
viewport: a.viewport,
|
|
8861
8858
|
factor: (De = a.weatherLayers) == null ? void 0 : De.precip3h,
|
|
@@ -8867,13 +8864,13 @@ function ic(t, e, o, i, a, r) {
|
|
|
8867
8864
|
factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.visibility,
|
|
8868
8865
|
"menu-toggle": o.menuToggle
|
|
8869
8866
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8870
|
-
o.map ? (y(), R(
|
|
8867
|
+
o.map ? (y(), R(ce, B({
|
|
8871
8868
|
key: 14,
|
|
8872
8869
|
viewport: a.viewport,
|
|
8873
8870
|
factor: (Re = a.weatherLayers) == null ? void 0 : Re["water-temp"],
|
|
8874
8871
|
"menu-toggle": o.menuToggle
|
|
8875
8872
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8876
|
-
o.map ? (y(), R(
|
|
8873
|
+
o.map ? (y(), R(le, B({
|
|
8877
8874
|
key: 15,
|
|
8878
8875
|
viewport: a.viewport,
|
|
8879
8876
|
factor: (ke = a.weatherLayers) == null ? void 0 : ke.temp,
|
|
@@ -9228,7 +9225,7 @@ class Ya {
|
|
|
9228
9225
|
}), a;
|
|
9229
9226
|
}
|
|
9230
9227
|
static pickHourly(e, o) {
|
|
9231
|
-
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
9228
|
+
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le, me, K, ie, pe, de, ue, N, se, ve, Pe, Ce, De, Ae, Re, ke, G, te, Fe, Me, ge, Te;
|
|
9232
9229
|
const U = typeof o == "string" ? S(o) : o, fe = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, re = S((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Oe = re.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = re.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Ge = [];
|
|
9233
9230
|
if (U.isBetween(Oe, He, "millisecond", "[]")) {
|
|
9234
9231
|
const E = U.utc().diff(Oe, "h", !1);
|
|
@@ -9261,11 +9258,11 @@ class Ya {
|
|
|
9261
9258
|
code: (k = W == null ? void 0 : W.weather_code) == null ? void 0 : k.at(E),
|
|
9262
9259
|
visibility: this.m2nm((A = W == null ? void 0 : W.visibility) == null ? void 0 : A.at(E)),
|
|
9263
9260
|
wind: {
|
|
9264
|
-
speed: (
|
|
9261
|
+
speed: (F = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : F.at(E),
|
|
9265
9262
|
kts: (Z = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : Z.at(E),
|
|
9266
9263
|
degree: (Y = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Y.at(E),
|
|
9267
9264
|
bearing: ((V = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : V.at(E)) !== null ? (((ee = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : ee.at(E)) + 180) % 360 : null,
|
|
9268
|
-
gusts: (
|
|
9265
|
+
gusts: (Q = W == null ? void 0 : W.wind_gusts_10m) == null ? void 0 : Q.at(E)
|
|
9269
9266
|
},
|
|
9270
9267
|
isDay: ($ = W == null ? void 0 : W.is_day) == null ? void 0 : $.at(E)
|
|
9271
9268
|
};
|
|
@@ -9284,16 +9281,16 @@ class Ya {
|
|
|
9284
9281
|
Ie = {
|
|
9285
9282
|
wave: {
|
|
9286
9283
|
sig: {
|
|
9287
|
-
height: (
|
|
9288
|
-
degree: (
|
|
9289
|
-
bearing: ((
|
|
9290
|
-
period: (
|
|
9284
|
+
height: (ce = j == null ? void 0 : j.wave_height) == null ? void 0 : ce.at(E),
|
|
9285
|
+
degree: (le = j == null ? void 0 : j.wave_direction) == null ? void 0 : le.at(E),
|
|
9286
|
+
bearing: ((me = j == null ? void 0 : j.wave_direction) == null ? void 0 : me.at(E)) !== null ? (((K = j == null ? void 0 : j.wave_direction) == null ? void 0 : K.at(E)) + 180) % 360 : null,
|
|
9287
|
+
period: (ie = j == null ? void 0 : j.wave_period) == null ? void 0 : ie.at(E)
|
|
9291
9288
|
},
|
|
9292
9289
|
swell: {
|
|
9293
|
-
height: (
|
|
9294
|
-
degree: (
|
|
9295
|
-
bearing: ((
|
|
9296
|
-
period: (
|
|
9290
|
+
height: (pe = j == null ? void 0 : j.swell_wave_height) == null ? void 0 : pe.at(E),
|
|
9291
|
+
degree: (de = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : de.at(E),
|
|
9292
|
+
bearing: ((ue = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : ue.at(E)) !== null ? (((N = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : N.at(E)) + 180) % 360 : null,
|
|
9293
|
+
period: (se = j == null ? void 0 : j.swell_wave_period) == null ? void 0 : se.at(E),
|
|
9297
9294
|
peakPeriod: (ve = j == null ? void 0 : j.swell_wave_peak_period) == null ? void 0 : ve.at(E)
|
|
9298
9295
|
},
|
|
9299
9296
|
wd: {
|
|
@@ -9310,7 +9307,7 @@ class Ya {
|
|
|
9310
9307
|
degree: (Fe = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Fe.at(E),
|
|
9311
9308
|
bearing: ((Me = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Me.at(E)) ?? null
|
|
9312
9309
|
},
|
|
9313
|
-
sst: (
|
|
9310
|
+
sst: (ge = j == null ? void 0 : j.sea_surface_temperature) == null ? void 0 : ge.at(E),
|
|
9314
9311
|
height: (Te = j == null ? void 0 : j.sea_level_height_msl) == null ? void 0 : Te.at(E)
|
|
9315
9312
|
}, Ie.wave = this.parseWave(Ie.wave, ye == null ? void 0 : ye.wind), Ie.current.direction = this.degree2Direction(Ie.current.degree), Object.assign(Ge[Be], Ie), Be++;
|
|
9316
9313
|
}
|
|
@@ -9341,15 +9338,15 @@ class Ya {
|
|
|
9341
9338
|
};
|
|
9342
9339
|
}
|
|
9343
9340
|
static pickDaily(e, o) {
|
|
9344
|
-
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
9341
|
+
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le, me, K, ie, pe, de, ue, N, se, ve, Pe, Ce, De, Ae;
|
|
9345
9342
|
const Re = typeof o == "string" ? S(o) : o, ke = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = S((r = (a = (i = ke == null ? void 0 : ke[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (l = ke == null ? void 0 : ke[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
|
|
9346
9343
|
if (Re.isBetween(te, Fe, "millisecond", "[]")) {
|
|
9347
|
-
let
|
|
9344
|
+
let ge, Te;
|
|
9348
9345
|
const U = Re.diff(te, "d", !1);
|
|
9349
9346
|
if (ke)
|
|
9350
9347
|
for (const fe of ke) {
|
|
9351
9348
|
const oe = fe.daily;
|
|
9352
|
-
|
|
9349
|
+
ge = {
|
|
9353
9350
|
code: (u = oe.weather_code) == null ? void 0 : u.at(U),
|
|
9354
9351
|
temp: {
|
|
9355
9352
|
max: (h = oe.temperature_2m_max) == null ? void 0 : h.at(U),
|
|
@@ -9375,17 +9372,17 @@ class Ya {
|
|
|
9375
9372
|
},
|
|
9376
9373
|
wind: {
|
|
9377
9374
|
speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(U),
|
|
9378
|
-
kts: (
|
|
9375
|
+
kts: (F = oe.wind_speed_10m_max) == null ? void 0 : F.at(U),
|
|
9379
9376
|
degree: (Z = oe.wind_direction_10m_dominant) == null ? void 0 : Z.at(U),
|
|
9380
9377
|
gusts: (Y = oe.wind_gusts_10m_max) == null ? void 0 : Y.at(U),
|
|
9381
9378
|
bearing: ((V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(U)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(U)) + 180) % 360 : null
|
|
9382
9379
|
}
|
|
9383
9380
|
};
|
|
9384
|
-
const { name: re, url: Oe, bg: He } = this.parseWeatherCode(
|
|
9385
|
-
|
|
9381
|
+
const { name: re, url: Oe, bg: He } = this.parseWeatherCode(ge.code, !0);
|
|
9382
|
+
ge.name = re, ge.url = Oe, ge.bg = He, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Me.push({
|
|
9386
9383
|
utc: te.add(U, "d").utc().format(),
|
|
9387
9384
|
model: fe.model,
|
|
9388
|
-
weather: { ...
|
|
9385
|
+
weather: { ...ge }
|
|
9389
9386
|
});
|
|
9390
9387
|
}
|
|
9391
9388
|
if (G) {
|
|
@@ -9395,28 +9392,28 @@ class Ya {
|
|
|
9395
9392
|
Te = {
|
|
9396
9393
|
wave: {
|
|
9397
9394
|
sig: {
|
|
9398
|
-
height: (
|
|
9395
|
+
height: (Q = re.wave_height_max) == null ? void 0 : Q.at(U),
|
|
9399
9396
|
degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(U),
|
|
9400
|
-
period: (
|
|
9401
|
-
bearing: ((
|
|
9397
|
+
period: (ce = re.wave_period_max) == null ? void 0 : ce.at(U),
|
|
9398
|
+
bearing: ((le = re.wave_direction_dominant) == null ? void 0 : le.at(U)) !== null ? (((me = re.wave_direction_dominant) == null ? void 0 : me.at(U)) + 180) % 360 : null
|
|
9402
9399
|
},
|
|
9403
9400
|
swell: {
|
|
9404
|
-
height: (
|
|
9405
|
-
degree: (
|
|
9406
|
-
period: (
|
|
9407
|
-
peakPeriod: (
|
|
9401
|
+
height: (K = re.swell_wave_height_max) == null ? void 0 : K.at(U),
|
|
9402
|
+
degree: (ie = re.swell_wave_direction_dominant) == null ? void 0 : ie.at(U),
|
|
9403
|
+
period: (pe = re.swell_wave_period_max) == null ? void 0 : pe.at(U),
|
|
9404
|
+
peakPeriod: (de = re.swell_wave_peak_period_max) == null ? void 0 : de.at(U),
|
|
9408
9405
|
// bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
|
|
9409
|
-
bearing: ((
|
|
9406
|
+
bearing: ((ue = re.swell_wave_direction_dominant) == null ? void 0 : ue.at(U)) !== null ? ((N = re.swell_wave_direction_dominant) == null ? void 0 : N.at(U)) % 360 : null
|
|
9410
9407
|
},
|
|
9411
9408
|
wd: {
|
|
9412
|
-
height: (
|
|
9409
|
+
height: (se = re.wind_wave_height_max) == null ? void 0 : se.at(U),
|
|
9413
9410
|
degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(U),
|
|
9414
9411
|
period: (Pe = re.wind_wave_period_max) == null ? void 0 : Pe.at(U),
|
|
9415
9412
|
peakPeriod: (Ce = re.wind_wave_peak_period_max) == null ? void 0 : Ce.at(U),
|
|
9416
9413
|
bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) + 180) % 360 : null
|
|
9417
9414
|
}
|
|
9418
9415
|
}
|
|
9419
|
-
}, Te.wave = this.parseWave(Te.wave,
|
|
9416
|
+
}, Te.wave = this.parseWave(Te.wave, ge == null ? void 0 : ge.wind), Object.assign(Me[fe], Te), fe++;
|
|
9420
9417
|
}
|
|
9421
9418
|
}
|
|
9422
9419
|
}
|
|
@@ -9868,7 +9865,7 @@ const sc = {
|
|
|
9868
9865
|
type: String
|
|
9869
9866
|
}
|
|
9870
9867
|
},
|
|
9871
|
-
emits: ["tropical", "tropicalProbability", "tropicalNotification"],
|
|
9868
|
+
emits: ["tropical", "tropicalCenterPoints", "tropicalProbability", "tropicalNotification"],
|
|
9872
9869
|
setup() {
|
|
9873
9870
|
return { Theme: Le() };
|
|
9874
9871
|
},
|
|
@@ -10016,14 +10013,14 @@ const sc = {
|
|
|
10016
10013
|
if (i > 0) {
|
|
10017
10014
|
const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await Se.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
|
|
10018
10015
|
headers: {
|
|
10019
|
-
Authorization: this.
|
|
10016
|
+
Authorization: this.defaultMeteoToken
|
|
10020
10017
|
}
|
|
10021
10018
|
});
|
|
10022
10019
|
if (o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("weather links elapsed: ", o, ", total: ", e += o), ((r = n == null ? void 0 : n.data) == null ? void 0 : r.code) === 0) {
|
|
10023
10020
|
const u = (l = n == null ? void 0 : n.data) == null ? void 0 : l.data;
|
|
10024
10021
|
await Se.get(u.tropicals, {
|
|
10025
10022
|
headers: {
|
|
10026
|
-
Authorization: this.
|
|
10023
|
+
Authorization: this.defaultMeteoToken,
|
|
10027
10024
|
key: "tropicals"
|
|
10028
10025
|
},
|
|
10029
10026
|
responseType: /\.(jpg|png)$/.test(u.tropicals) ? "blob" : "json"
|
|
@@ -10311,14 +10308,14 @@ const sc = {
|
|
|
10311
10308
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
10312
10309
|
},
|
|
10313
10310
|
handleDateChange() {
|
|
10314
|
-
var t, e, o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
10315
|
-
if ((t = this.interpolateMarkers) == null || t.forEach((
|
|
10316
|
-
const
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
}), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(
|
|
10311
|
+
var t, e, o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee;
|
|
10312
|
+
if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
10313
|
+
const Q = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((K) => K.properties.date === (Q == null ? void 0 : Q.format()) && !K.properties.disabled), ce = this.handleComputePolygons($), le = H.featureCollection([...$]);
|
|
10314
|
+
ce.forEach((K) => {
|
|
10315
|
+
le.features.push(K);
|
|
10316
|
+
}), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(le) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
|
|
10320
10317
|
type: "geojson",
|
|
10321
|
-
data:
|
|
10318
|
+
data: le
|
|
10322
10319
|
}), (r = this.map) == null || r.addLayer({
|
|
10323
10320
|
id: this.interpolateLineLayer,
|
|
10324
10321
|
type: "line",
|
|
@@ -10330,11 +10327,16 @@ const sc = {
|
|
|
10330
10327
|
"line-width": 1
|
|
10331
10328
|
}
|
|
10332
10329
|
}, "empty-layer-3")), this.interpolateMarkers = [];
|
|
10333
|
-
|
|
10334
|
-
|
|
10330
|
+
const me = [];
|
|
10331
|
+
for (const K of $)
|
|
10332
|
+
if (!K.properties.disabled) {
|
|
10333
|
+
me.some((N) => {
|
|
10334
|
+
var se;
|
|
10335
|
+
return N.properties.name === ((se = K.properties) == null ? void 0 : se.name);
|
|
10336
|
+
}) || me.push(K);
|
|
10335
10337
|
let ie = "#f44336";
|
|
10336
|
-
((c = (l =
|
|
10337
|
-
const
|
|
10338
|
+
((c = (l = K.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = K.properties) == null ? void 0 : n.wind) != null && u.kts) ? ie = "#03f869" : ((b = (h = K.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((_ = (w = K.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? ie = "#f2f202" : ((P = (g = K.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = K.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ie = "#ff9100" : ((L = (I = K.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (z = K.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 79 ? ie = "#f44336" : ((k = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 79 && ((F = (A = K.properties) == null ? void 0 : A.wind) == null ? void 0 : F.kts) < 94 ? ie = "#f903d0" : ((Y = (Z = K.properties) == null ? void 0 : Z.wind) == null ? void 0 : Y.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
|
|
10339
|
+
const pe = `<svg t="1719918955501"
|
|
10338
10340
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
10339
10341
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
10340
10342
|
<path
|
|
@@ -10348,11 +10350,12 @@ const sc = {
|
|
|
10348
10350
|
<path
|
|
10349
10351
|
d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
|
|
10350
10352
|
fill="#ffffff" p-id="18386"></path>
|
|
10351
|
-
</svg>`,
|
|
10352
|
-
|
|
10353
|
-
const
|
|
10354
|
-
this.interpolateMarkers.push(
|
|
10353
|
+
</svg>`, de = document.createElement("div");
|
|
10354
|
+
de.className = "idm-tropical-gl4-hourly-marker", de.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${pe}</div>`;
|
|
10355
|
+
const ue = new xe.Marker(de).setLngLat(K.geometry.coordinates).addTo(this.map);
|
|
10356
|
+
this.interpolateMarkers.push(ue);
|
|
10355
10357
|
}
|
|
10358
|
+
this.$emit("tropicalCenterPoints", me);
|
|
10356
10359
|
} else
|
|
10357
10360
|
(V = this.map) != null && V.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
|
|
10358
10361
|
},
|
|
@@ -10582,7 +10585,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10582
10585
|
}, 8, ["onClick"]),
|
|
10583
10586
|
s("div", hc, [
|
|
10584
10587
|
s("span", pc, m(t.$t("actions.lastUpdate")) + ": ", 1),
|
|
10585
|
-
s("span", null, m(r.computeTime(((v = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : v.updated) || ((A = (k = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : k.filter((
|
|
10588
|
+
s("span", null, m(r.computeTime(((v = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : v.updated) || ((A = (k = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : k.filter((F) => !F.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
|
|
10586
10589
|
])
|
|
10587
10590
|
];
|
|
10588
10591
|
}),
|
|
@@ -10624,10 +10627,10 @@ function tm(t, e, o, i, a, r) {
|
|
|
10624
10627
|
color: k.disabled ? "" : "primary",
|
|
10625
10628
|
"min-width": 30,
|
|
10626
10629
|
class: Ye(["model text-none text-body-1 px-1", k.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
10627
|
-
onClick: je((
|
|
10630
|
+
onClick: je((F) => r.handleForecastToggle(k), ["stop"])
|
|
10628
10631
|
}, {
|
|
10629
10632
|
default: f(() => [
|
|
10630
|
-
|
|
10633
|
+
J(m(k.model), 1)
|
|
10631
10634
|
]),
|
|
10632
10635
|
_: 2
|
|
10633
10636
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -10652,7 +10655,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10652
10655
|
s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
10653
10656
|
])),
|
|
10654
10657
|
default: f(() => [
|
|
10655
|
-
|
|
10658
|
+
J(" " + m(t.$t("weather.legend")), 1)
|
|
10656
10659
|
]),
|
|
10657
10660
|
_: 1
|
|
10658
10661
|
}, 8, ["color"]),
|
|
@@ -10665,7 +10668,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10665
10668
|
onClick: e[1] || (e[1] = je((g) => r.handleNotification(a.activeTropicals), ["stop"]))
|
|
10666
10669
|
}, {
|
|
10667
10670
|
default: f(() => [
|
|
10668
|
-
|
|
10671
|
+
J(m(t.$t("actions.notify")), 1)
|
|
10669
10672
|
]),
|
|
10670
10673
|
_: 1
|
|
10671
10674
|
})) : D("", !0),
|
|
@@ -10677,7 +10680,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10677
10680
|
onClick: e[2] || (e[2] = je((g) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
|
|
10678
10681
|
}, {
|
|
10679
10682
|
default: f(() => [
|
|
10680
|
-
|
|
10683
|
+
J(m(t.$t("actions.viewReport")), 1)
|
|
10681
10684
|
]),
|
|
10682
10685
|
_: 1
|
|
10683
10686
|
})
|
|
@@ -10772,7 +10775,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10772
10775
|
p(_),
|
|
10773
10776
|
p(n, { class: "text-body-1" }, {
|
|
10774
10777
|
default: f(() => {
|
|
10775
|
-
var g, P, T, O, I, L, z, v, C, k, A,
|
|
10778
|
+
var g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le;
|
|
10776
10779
|
return [
|
|
10777
10780
|
s("div", Rc, [
|
|
10778
10781
|
((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), M("div", Oc, [
|
|
@@ -10795,7 +10798,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10795
10798
|
s("label", Wc, m(t.$t("weather.wind")) + " : ", 1),
|
|
10796
10799
|
s("span", null, m(((A = JSON.parse((k = a.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
|
|
10797
10800
|
])) : D("", !0),
|
|
10798
|
-
((
|
|
10801
|
+
((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (y(), M("div", Vc, [
|
|
10799
10802
|
s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
|
|
10800
10803
|
s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.kts) ?? "-") + " kts", 1)
|
|
10801
10804
|
])) : D("", !0),
|
|
@@ -10805,11 +10808,11 @@ function tm(t, e, o, i, a, r) {
|
|
|
10805
10808
|
]),
|
|
10806
10809
|
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (y(), M("div", Xc, [
|
|
10807
10810
|
s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
10808
|
-
s("span", null, m(((
|
|
10811
|
+
s("span", null, m(((Q = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
|
|
10809
10812
|
])) : D("", !0),
|
|
10810
10813
|
(($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), M("div", Kc, [
|
|
10811
10814
|
s("label", Jc, m(t.$t("tropical.moveDir")) + " : ", 1),
|
|
10812
|
-
s("span", null, m(((
|
|
10815
|
+
s("span", null, m(((le = JSON.parse((ce = a.hoverPoint) == null ? void 0 : ce.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
|
|
10813
10816
|
])) : D("", !0),
|
|
10814
10817
|
s("div", Qc, [
|
|
10815
10818
|
s("label", em, m(t.$t("tropical.position")) + " : ", 1),
|
|
@@ -11028,7 +11031,7 @@ function lm(t, e, o, i, a, r) {
|
|
|
11028
11031
|
onClick: r.handleOpenDatePicker
|
|
11029
11032
|
}, {
|
|
11030
11033
|
default: f(() => [
|
|
11031
|
-
|
|
11034
|
+
J(m(a.currentDateTime) + " | UTC " + m(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
11032
11035
|
]),
|
|
11033
11036
|
_: 1
|
|
11034
11037
|
}, 8, ["height", "width", "onClick"]),
|
|
@@ -11061,7 +11064,7 @@ function lm(t, e, o, i, a, r) {
|
|
|
11061
11064
|
}),
|
|
11062
11065
|
s("div", rm, [
|
|
11063
11066
|
s("div", sm, m(a.currentTime), 1),
|
|
11064
|
-
p(b, { class: "pa-0 flex-1-1-0" }, {
|
|
11067
|
+
p(b, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
11065
11068
|
default: f(() => [
|
|
11066
11069
|
(y(!0), M(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
|
|
11067
11070
|
key: T,
|
|
@@ -11078,7 +11081,7 @@ function lm(t, e, o, i, a, r) {
|
|
|
11078
11081
|
onClick: (O) => a.currentTime = P
|
|
11079
11082
|
}, {
|
|
11080
11083
|
default: f(() => [
|
|
11081
|
-
|
|
11084
|
+
J(m(P), 1)
|
|
11082
11085
|
]),
|
|
11083
11086
|
_: 2
|
|
11084
11087
|
}, 1032, ["onClick"])
|
|
@@ -11105,7 +11108,7 @@ function lm(t, e, o, i, a, r) {
|
|
|
11105
11108
|
onClick: r.handleCancelDate
|
|
11106
11109
|
}, {
|
|
11107
11110
|
default: f(() => e[1] || (e[1] = [
|
|
11108
|
-
|
|
11111
|
+
J("Cancel", -1)
|
|
11109
11112
|
])),
|
|
11110
11113
|
_: 1,
|
|
11111
11114
|
__: [1]
|
|
@@ -11118,7 +11121,7 @@ function lm(t, e, o, i, a, r) {
|
|
|
11118
11121
|
onClick: r.handleConfirmDate
|
|
11119
11122
|
}, {
|
|
11120
11123
|
default: f(() => e[2] || (e[2] = [
|
|
11121
|
-
|
|
11124
|
+
J("Confirm", -1)
|
|
11122
11125
|
])),
|
|
11123
11126
|
_: 1,
|
|
11124
11127
|
__: [2]
|
|
@@ -11374,10 +11377,10 @@ const nm = {
|
|
|
11374
11377
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
|
|
11375
11378
|
},
|
|
11376
11379
|
initTableData(t) {
|
|
11377
|
-
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
11380
|
+
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le, me, K, ie, pe, de, ue, N, se, ve;
|
|
11378
11381
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
11379
11382
|
const e = ((l = Co.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
11380
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (
|
|
11383
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ce = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ce.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((me = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : me.height, 1) ?? "-", this.currentHourData.swellDir = (ie = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.swell) == null ? void 0 : ie.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((de = (pe = e == null ? void 0 : e.wave) == null ? void 0 : pe.swell) == null ? void 0 : de.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ue = e == null ? void 0 : e.current) == null ? void 0 : ue.speed, 1) ?? "-", this.currentHourData.currentDir = (N = e == null ? void 0 : e.current) == null ? void 0 : N.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((se = e == null ? void 0 : e.current) == null ? void 0 : se.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ve = e == null ? void 0 : e.weather) == null ? void 0 : ve.url;
|
|
11381
11384
|
},
|
|
11382
11385
|
handleBind() {
|
|
11383
11386
|
var t, e;
|
|
@@ -11618,7 +11621,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11618
11621
|
onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
11619
11622
|
}, {
|
|
11620
11623
|
default: f(() => [
|
|
11621
|
-
|
|
11624
|
+
J(m(a.form.lngDirection), 1)
|
|
11622
11625
|
]),
|
|
11623
11626
|
_: 1
|
|
11624
11627
|
})
|
|
@@ -11698,7 +11701,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11698
11701
|
onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
11699
11702
|
}, {
|
|
11700
11703
|
default: f(() => [
|
|
11701
|
-
|
|
11704
|
+
J(m(a.form.latDirection), 1)
|
|
11702
11705
|
]),
|
|
11703
11706
|
_: 1
|
|
11704
11707
|
})
|
|
@@ -11769,7 +11772,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11769
11772
|
"base-color": ""
|
|
11770
11773
|
}, {
|
|
11771
11774
|
default: f(() => e[14] || (e[14] = [
|
|
11772
|
-
|
|
11775
|
+
J("NOAA", -1)
|
|
11773
11776
|
])),
|
|
11774
11777
|
_: 1,
|
|
11775
11778
|
__: [14]
|
|
@@ -11783,7 +11786,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11783
11786
|
value: "ECMWF"
|
|
11784
11787
|
}, {
|
|
11785
11788
|
default: f(() => e[15] || (e[15] = [
|
|
11786
|
-
|
|
11789
|
+
J("ECMWF", -1)
|
|
11787
11790
|
])),
|
|
11788
11791
|
_: 1,
|
|
11789
11792
|
__: [15]
|
|
@@ -11810,7 +11813,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11810
11813
|
onClick: r.cancelForm
|
|
11811
11814
|
}, {
|
|
11812
11815
|
default: f(() => [
|
|
11813
|
-
|
|
11816
|
+
J(m(t.$t("actions.clear")), 1)
|
|
11814
11817
|
]),
|
|
11815
11818
|
_: 1
|
|
11816
11819
|
}, 8, ["onClick"]),
|
|
@@ -11824,7 +11827,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11824
11827
|
class: "text-none text-body-1"
|
|
11825
11828
|
}, {
|
|
11826
11829
|
default: f(() => [
|
|
11827
|
-
|
|
11830
|
+
J(m(t.$t("actions.confirm")), 1)
|
|
11828
11831
|
]),
|
|
11829
11832
|
_: 1
|
|
11830
11833
|
}, 8, ["loading"])
|
|
@@ -11930,7 +11933,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11930
11933
|
})
|
|
11931
11934
|
]),
|
|
11932
11935
|
default: f(() => [
|
|
11933
|
-
|
|
11936
|
+
J(" " + m(t.$t("actions.unfollow")), 1)
|
|
11934
11937
|
]),
|
|
11935
11938
|
_: 1
|
|
11936
11939
|
}, 8, ["onClick"])) : (y(), R(l, {
|
|
@@ -11947,7 +11950,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11947
11950
|
p(L, { style: { "font-size": "20px", "margin-top": "-2px" } })
|
|
11948
11951
|
]),
|
|
11949
11952
|
default: f(() => [
|
|
11950
|
-
|
|
11953
|
+
J(m(t.$t("actions.follow")) + " ", 1)
|
|
11951
11954
|
]),
|
|
11952
11955
|
_: 1
|
|
11953
11956
|
}, 8, ["onClick"])),
|
|
@@ -11960,7 +11963,7 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11960
11963
|
onClick: je(r.handleMeteoMore, ["stop"])
|
|
11961
11964
|
}, {
|
|
11962
11965
|
default: f(() => [
|
|
11963
|
-
|
|
11966
|
+
J(m(t.$t("spot.forecast")), 1)
|
|
11964
11967
|
]),
|
|
11965
11968
|
_: 1
|
|
11966
11969
|
}, 8, ["onClick"])
|
|
@@ -12521,7 +12524,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12521
12524
|
"min-width": "30"
|
|
12522
12525
|
}, {
|
|
12523
12526
|
default: f(() => [
|
|
12524
|
-
|
|
12527
|
+
J(m(a.intervalHour) + " h ", 1),
|
|
12525
12528
|
p(h, { activator: "parent" }, {
|
|
12526
12529
|
default: f(() => [
|
|
12527
12530
|
p(u, { class: "pa-1" }, {
|
|
@@ -12543,7 +12546,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12543
12546
|
onClick: (T) => a.intervalHour = g
|
|
12544
12547
|
}, {
|
|
12545
12548
|
default: f(() => [
|
|
12546
|
-
|
|
12549
|
+
J(m(g) + "h", 1)
|
|
12547
12550
|
]),
|
|
12548
12551
|
_: 2
|
|
12549
12552
|
}, 1032, ["onClick"])
|
|
@@ -12751,7 +12754,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12751
12754
|
onClick: e[7] || (e[7] = (g) => a.source = "GFS")
|
|
12752
12755
|
}, {
|
|
12753
12756
|
default: f(() => e[16] || (e[16] = [
|
|
12754
|
-
|
|
12757
|
+
J("NOAA", -1)
|
|
12755
12758
|
])),
|
|
12756
12759
|
_: 1,
|
|
12757
12760
|
__: [16]
|
|
@@ -12764,7 +12767,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12764
12767
|
onClick: e[8] || (e[8] = (g) => a.source = "ECMWF")
|
|
12765
12768
|
}, {
|
|
12766
12769
|
default: f(() => e[17] || (e[17] = [
|
|
12767
|
-
|
|
12770
|
+
J("ECMWF", -1)
|
|
12768
12771
|
])),
|
|
12769
12772
|
_: 1,
|
|
12770
12773
|
__: [17]
|
|
@@ -12792,7 +12795,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12792
12795
|
onClick: e[9] || (e[9] = (g) => a.showTimezone = !a.showTimezone)
|
|
12793
12796
|
}, {
|
|
12794
12797
|
default: f(() => [
|
|
12795
|
-
|
|
12798
|
+
J(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
12796
12799
|
]),
|
|
12797
12800
|
_: 1
|
|
12798
12801
|
}),
|
|
@@ -12935,13 +12938,13 @@ function gd(t, e, o, i, a, r) {
|
|
|
12935
12938
|
const fd = /* @__PURE__ */ q(pd, [["render", gd]]);
|
|
12936
12939
|
class yd {
|
|
12937
12940
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A,
|
|
12941
|
+
he(this, "originStyle");
|
|
12942
|
+
he(this, "mapboxStyle");
|
|
12943
|
+
he(this, "i4");
|
|
12944
|
+
he(this, "hi");
|
|
12945
|
+
he(this, "td");
|
|
12946
|
+
he(this, "windy");
|
|
12947
|
+
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, F, Z, Y, V, ee, Q, $, ce, le, me, K, ie, pe, de, ue, N, se, ve, Pe, Ce, De, Ae, Re, ke, G, te, Fe, Me, ge, Te, U, fe, oe, re, Oe, He, Ge, E, ye, Ie, Be, Ee, j, Ue, W, qe, Xe, $e, _e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Uo, Wo, Vo, Zo, Yo, qo, Xo, $o, Ko, Jo, Qo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Ua, Wa, Va;
|
|
12945
12948
|
this.i4 = {
|
|
12946
12949
|
source: {
|
|
12947
12950
|
type: "raster",
|
|
@@ -31593,21 +31596,21 @@ class yd {
|
|
|
31593
31596
|
(L = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : L.find((d) => d.id === "country-boundaries"),
|
|
31594
31597
|
(v = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
|
|
31595
31598
|
(k = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : k.find((d) => d.id === "water-outline2"),
|
|
31596
|
-
(
|
|
31599
|
+
(F = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : F.find((d) => d.id === "empty-layer-2"),
|
|
31597
31600
|
(Y = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Y.find((d) => d.id === "water-line-label"),
|
|
31598
31601
|
(ee = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
|
|
31599
|
-
($ = (
|
|
31600
|
-
(
|
|
31601
|
-
(
|
|
31602
|
-
(
|
|
31603
|
-
(
|
|
31604
|
-
(
|
|
31602
|
+
($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
|
|
31603
|
+
(le = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : le.find((d) => d.id === "ne-10m-outline"),
|
|
31604
|
+
(K = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : K.find((d) => d.id === "ne-10m-label"),
|
|
31605
|
+
(pe = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : pe.find((d) => d.id === "china-route-line"),
|
|
31606
|
+
(ue = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : ue.find((d) => d.id === "china-route-fill"),
|
|
31607
|
+
(se = (N = this.originStyle) == null ? void 0 : N.light.layers) == null ? void 0 : se.find((d) => d.id === "china-route-label"),
|
|
31605
31608
|
(Pe = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Pe.find((d) => d.id === "admin-0-boundary-bg"),
|
|
31606
31609
|
(De = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : De.find((d) => d.id === "admin-0-boundary"),
|
|
31607
31610
|
(Re = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : Re.find((d) => d.id === "admin-0-boundary-disputed"),
|
|
31608
31611
|
(G = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
|
|
31609
31612
|
(Fe = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : Fe.find((d) => d.id === "continent-label"),
|
|
31610
|
-
(
|
|
31613
|
+
(ge = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
|
|
31611
31614
|
(U = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
|
|
31612
31615
|
(oe = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
|
|
31613
31616
|
]
|
|
@@ -32145,7 +32148,7 @@ function Td(t, e, o, i, a, r) {
|
|
|
32145
32148
|
onClick: r.handleOpenDatePicker
|
|
32146
32149
|
}, {
|
|
32147
32150
|
default: f(() => [
|
|
32148
|
-
|
|
32151
|
+
J(m(a.dateRangeStr), 1)
|
|
32149
32152
|
]),
|
|
32150
32153
|
_: 1
|
|
32151
32154
|
}, 8, ["height", "width", "onClick"]),
|
|
@@ -32189,7 +32192,7 @@ function Td(t, e, o, i, a, r) {
|
|
|
32189
32192
|
onClick: r.handleCancelDate
|
|
32190
32193
|
}, {
|
|
32191
32194
|
default: f(() => e[1] || (e[1] = [
|
|
32192
|
-
|
|
32195
|
+
J("Cancel", -1)
|
|
32193
32196
|
])),
|
|
32194
32197
|
_: 1,
|
|
32195
32198
|
__: [1]
|
|
@@ -32202,7 +32205,7 @@ function Td(t, e, o, i, a, r) {
|
|
|
32202
32205
|
onClick: r.handleConfirmDate
|
|
32203
32206
|
}, {
|
|
32204
32207
|
default: f(() => e[2] || (e[2] = [
|
|
32205
|
-
|
|
32208
|
+
J("Confirm", -1)
|
|
32206
32209
|
])),
|
|
32207
32210
|
_: 1,
|
|
32208
32211
|
__: [2]
|
|
@@ -32232,5 +32235,5 @@ export {
|
|
|
32232
32235
|
Xa as TropicalGL,
|
|
32233
32236
|
Do as Viewport,
|
|
32234
32237
|
Ne as WebGL,
|
|
32235
|
-
|
|
32238
|
+
ne as WebGLSchema
|
|
32236
32239
|
};
|