@idmwx/idmui-gl4 1.7.8 → 1.8.0
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 +342 -326
- package/dist/index.umd.cjs +14 -14
- package/dist/mapbox/src/components/other/portDetail.vue.d.ts +12 -8
- package/dist/mapbox/src/components/other/tideDetail.vue.d.ts +15 -11
- package/dist/mapbox/src/components/spot/index.vue.d.ts +21 -17
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,18 +2,18 @@ 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
3
|
var de = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Se from "axios";
|
|
5
|
-
import { useTheme 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 Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as
|
|
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 Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as Ze, vShow as Ye, mergeProps as B, normalizeStyle as ie } from "vue";
|
|
7
7
|
import xe from "mapbox-gl";
|
|
8
8
|
import S from "moment";
|
|
9
|
-
import { LngLatHelper as X, TropicalHelper as
|
|
10
|
-
import { Meteo2Assist as Co, TidesAssist as
|
|
11
|
-
import * as
|
|
9
|
+
import { LngLatHelper as X, TropicalHelper as Za, LaneHelper as Ve } from "@idm-plugin/geo";
|
|
10
|
+
import { Meteo2Assist as Co, TidesAssist as So } from "@idm-plugin/meteo";
|
|
11
|
+
import * as Mo from "echarts";
|
|
12
12
|
import * as H from "@turf/turf";
|
|
13
13
|
import { LayerHelper as To, CompanyHelper as Ja } from "@idm-plugin/tag2";
|
|
14
14
|
import Qa from "@mapbox/sphericalmercator";
|
|
15
15
|
import { LayerHelper as ei } from "@idm-plugin/tag";
|
|
16
|
-
const
|
|
16
|
+
const q = (t, e) => {
|
|
17
17
|
const o = t.__vccOpts || t;
|
|
18
18
|
for (const [i, a] of e)
|
|
19
19
|
o[i] = a;
|
|
@@ -32,7 +32,7 @@ const Y = (t, e) => {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup() {
|
|
35
|
-
return { Theme:
|
|
35
|
+
return { Theme: Le() };
|
|
36
36
|
},
|
|
37
37
|
data() {
|
|
38
38
|
return {
|
|
@@ -115,7 +115,7 @@ const Y = (t, e) => {
|
|
|
115
115
|
function oi(t, e, o, i, a, r) {
|
|
116
116
|
return y(), M("div");
|
|
117
117
|
}
|
|
118
|
-
const ai = /* @__PURE__ */
|
|
118
|
+
const ai = /* @__PURE__ */ q(ti, [["render", oi]]), ii = {
|
|
119
119
|
name: "IdmGmdssArea",
|
|
120
120
|
props: {
|
|
121
121
|
map: {
|
|
@@ -129,7 +129,7 @@ const ai = /* @__PURE__ */ Y(ti, [["render", oi]]), ii = {
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
setup() {
|
|
132
|
-
return { Theme:
|
|
132
|
+
return { Theme: Le() };
|
|
133
133
|
},
|
|
134
134
|
data() {
|
|
135
135
|
return {
|
|
@@ -242,7 +242,7 @@ const ai = /* @__PURE__ */ Y(ti, [["render", oi]]), ii = {
|
|
|
242
242
|
function ri(t, e, o, i, a, r) {
|
|
243
243
|
return y(), M("div");
|
|
244
244
|
}
|
|
245
|
-
const si = /* @__PURE__ */
|
|
245
|
+
const si = /* @__PURE__ */ q(ii, [["render", ri]]), li = {
|
|
246
246
|
name: "IdmEcaZone",
|
|
247
247
|
props: {
|
|
248
248
|
map: {
|
|
@@ -256,7 +256,7 @@ const si = /* @__PURE__ */ Y(ii, [["render", ri]]), li = {
|
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
setup() {
|
|
259
|
-
return { Theme:
|
|
259
|
+
return { Theme: Le() };
|
|
260
260
|
},
|
|
261
261
|
data() {
|
|
262
262
|
return {
|
|
@@ -338,7 +338,7 @@ const si = /* @__PURE__ */ Y(ii, [["render", ri]]), li = {
|
|
|
338
338
|
function ni(t, e, o, i, a, r) {
|
|
339
339
|
return y(), M("div");
|
|
340
340
|
}
|
|
341
|
-
const ci = /* @__PURE__ */
|
|
341
|
+
const ci = /* @__PURE__ */ q(li, [["render", ni]]);
|
|
342
342
|
const mi = {
|
|
343
343
|
name: "IdmAlertZone",
|
|
344
344
|
props: {
|
|
@@ -353,7 +353,7 @@ const mi = {
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
setup() {
|
|
356
|
-
return { Theme:
|
|
356
|
+
return { Theme: Le() };
|
|
357
357
|
},
|
|
358
358
|
data() {
|
|
359
359
|
return {
|
|
@@ -525,7 +525,7 @@ function hi(t, e, o, i, a, r) {
|
|
|
525
525
|
_: 1
|
|
526
526
|
})) : D("", !0);
|
|
527
527
|
}
|
|
528
|
-
const pi = /* @__PURE__ */
|
|
528
|
+
const pi = /* @__PURE__ */ q(mi, [["render", hi]]);
|
|
529
529
|
const ui = {
|
|
530
530
|
name: "PortDetail",
|
|
531
531
|
props: {
|
|
@@ -538,6 +538,9 @@ const ui = {
|
|
|
538
538
|
token: {
|
|
539
539
|
type: String
|
|
540
540
|
},
|
|
541
|
+
defaultMeteoToken: {
|
|
542
|
+
type: String
|
|
543
|
+
},
|
|
541
544
|
gateway: {
|
|
542
545
|
type: String
|
|
543
546
|
},
|
|
@@ -1335,7 +1338,7 @@ const ui = {
|
|
|
1335
1338
|
emits: ["follow", "cancelFollow", "meteoMore", "close", "closeAllDetail"],
|
|
1336
1339
|
setup() {
|
|
1337
1340
|
return {
|
|
1338
|
-
Theme:
|
|
1341
|
+
Theme: Le()
|
|
1339
1342
|
};
|
|
1340
1343
|
},
|
|
1341
1344
|
data() {
|
|
@@ -1487,10 +1490,10 @@ const ui = {
|
|
|
1487
1490
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1488
1491
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1489
1492
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1490
|
-
var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N,
|
|
1493
|
+
var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Pe, Ce;
|
|
1491
1494
|
let r = {};
|
|
1492
1495
|
const l = ((c = Co.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
|
|
1493
|
-
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 = (
|
|
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 = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.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((J = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((Q = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : Q.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.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;
|
|
1494
1497
|
});
|
|
1495
1498
|
},
|
|
1496
1499
|
handleTide() {
|
|
@@ -1523,7 +1526,7 @@ const ui = {
|
|
|
1523
1526
|
},
|
|
1524
1527
|
initTideTableData(t) {
|
|
1525
1528
|
var e, o;
|
|
1526
|
-
this.tideTableData =
|
|
1529
|
+
this.tideTableData = So.pickDailyExtremes(t, (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null ? void 0 : o.dateTime), this.initEchartData();
|
|
1527
1530
|
},
|
|
1528
1531
|
initEchartData() {
|
|
1529
1532
|
var t;
|
|
@@ -1534,8 +1537,8 @@ const ui = {
|
|
|
1534
1537
|
}), this.initEchart();
|
|
1535
1538
|
},
|
|
1536
1539
|
initEchart() {
|
|
1537
|
-
|
|
1538
|
-
const t =
|
|
1540
|
+
Mo.dispose(this.$refs.tideEchart.style);
|
|
1541
|
+
const t = Mo.init(this.$refs.tideEchart), e = {
|
|
1539
1542
|
animation: !1,
|
|
1540
1543
|
tooltip: {
|
|
1541
1544
|
trigger: "axis",
|
|
@@ -1929,11 +1932,11 @@ function yr(t, e, o, i, a, r) {
|
|
|
1929
1932
|
_: 1
|
|
1930
1933
|
});
|
|
1931
1934
|
}
|
|
1932
|
-
const
|
|
1935
|
+
const Io = /* @__PURE__ */ q(ui, [["render", yr], ["__scopeId", "data-v-1c0a4e51"]]);
|
|
1933
1936
|
const br = {
|
|
1934
1937
|
name: "IdmPort",
|
|
1935
1938
|
components: {
|
|
1936
|
-
PortDetail:
|
|
1939
|
+
PortDetail: Io
|
|
1937
1940
|
},
|
|
1938
1941
|
props: {
|
|
1939
1942
|
map: {
|
|
@@ -1950,7 +1953,7 @@ const br = {
|
|
|
1950
1953
|
}
|
|
1951
1954
|
},
|
|
1952
1955
|
setup() {
|
|
1953
|
-
return { Theme:
|
|
1956
|
+
return { Theme: Le() };
|
|
1954
1957
|
},
|
|
1955
1958
|
emits: ["closeAllDetail"],
|
|
1956
1959
|
data() {
|
|
@@ -2040,7 +2043,7 @@ const br = {
|
|
|
2040
2043
|
function _r(t, e, o, i, a, r) {
|
|
2041
2044
|
const l = x("VCardText"), c = x("VCard"), n = x("PortDetail");
|
|
2042
2045
|
return y(), M("div", null, [
|
|
2043
|
-
|
|
2046
|
+
Ze(p(c, {
|
|
2044
2047
|
id: "idmPortInfo",
|
|
2045
2048
|
ref: "idmPortInfo"
|
|
2046
2049
|
}, {
|
|
@@ -2063,7 +2066,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
2063
2066
|
]),
|
|
2064
2067
|
_: 1
|
|
2065
2068
|
}, 512), [
|
|
2066
|
-
[
|
|
2069
|
+
[Ye, a.showInfo]
|
|
2067
2070
|
]),
|
|
2068
2071
|
a.showDetail ? (y(), R(n, B({
|
|
2069
2072
|
key: 0,
|
|
@@ -2075,7 +2078,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
2075
2078
|
}, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : D("", !0)
|
|
2076
2079
|
]);
|
|
2077
2080
|
}
|
|
2078
|
-
const kr = /* @__PURE__ */
|
|
2081
|
+
const kr = /* @__PURE__ */ q(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3"]]), zr = {
|
|
2079
2082
|
name: "IdmLoadLine",
|
|
2080
2083
|
props: {
|
|
2081
2084
|
map: {
|
|
@@ -2089,7 +2092,7 @@ const kr = /* @__PURE__ */ Y(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3
|
|
|
2089
2092
|
}
|
|
2090
2093
|
},
|
|
2091
2094
|
setup() {
|
|
2092
|
-
return { Theme:
|
|
2095
|
+
return { Theme: Le() };
|
|
2093
2096
|
},
|
|
2094
2097
|
data() {
|
|
2095
2098
|
return {
|
|
@@ -2119,7 +2122,7 @@ const kr = /* @__PURE__ */ Y(br, [["render", _r], ["__scopeId", "data-v-0c0f27d3
|
|
|
2119
2122
|
function Lr(t, e, o, i, a, r) {
|
|
2120
2123
|
return y(), M("div");
|
|
2121
2124
|
}
|
|
2122
|
-
const Pr = /* @__PURE__ */
|
|
2125
|
+
const Pr = /* @__PURE__ */ q(zr, [["render", Lr]]), Cr = {
|
|
2123
2126
|
name: "IdmTimezone",
|
|
2124
2127
|
props: {
|
|
2125
2128
|
map: {
|
|
@@ -2133,7 +2136,7 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
|
|
|
2133
2136
|
}
|
|
2134
2137
|
},
|
|
2135
2138
|
setup() {
|
|
2136
|
-
return { Theme:
|
|
2139
|
+
return { Theme: Le() };
|
|
2137
2140
|
},
|
|
2138
2141
|
data() {
|
|
2139
2142
|
return {
|
|
@@ -2324,7 +2327,7 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
|
|
|
2324
2327
|
function Tr(t, e, o, i, a, r) {
|
|
2325
2328
|
return y(), M("div");
|
|
2326
2329
|
}
|
|
2327
|
-
const Sr = /* @__PURE__ */
|
|
2330
|
+
const Sr = /* @__PURE__ */ q(Cr, [["render", Tr]]), Mr = {
|
|
2328
2331
|
name: "IdmVoluntaryReportingArea",
|
|
2329
2332
|
props: {
|
|
2330
2333
|
map: {
|
|
@@ -2338,7 +2341,7 @@ const Sr = /* @__PURE__ */ Y(Cr, [["render", Tr]]), Mr = {
|
|
|
2338
2341
|
}
|
|
2339
2342
|
},
|
|
2340
2343
|
setup() {
|
|
2341
|
-
return { Theme:
|
|
2344
|
+
return { Theme: Le() };
|
|
2342
2345
|
},
|
|
2343
2346
|
data() {
|
|
2344
2347
|
return {
|
|
@@ -2419,7 +2422,7 @@ const Sr = /* @__PURE__ */ Y(Cr, [["render", Tr]]), Mr = {
|
|
|
2419
2422
|
function Ir(t, e, o, i, a, r) {
|
|
2420
2423
|
return y(), M("div");
|
|
2421
2424
|
}
|
|
2422
|
-
const Dr = /* @__PURE__ */
|
|
2425
|
+
const Dr = /* @__PURE__ */ q(Mr, [["render", Ir]]), Ar = {
|
|
2423
2426
|
name: "IdmSpecialArea",
|
|
2424
2427
|
props: {
|
|
2425
2428
|
map: {
|
|
@@ -2433,7 +2436,7 @@ const Dr = /* @__PURE__ */ Y(Mr, [["render", Ir]]), Ar = {
|
|
|
2433
2436
|
}
|
|
2434
2437
|
},
|
|
2435
2438
|
setup() {
|
|
2436
|
-
return { Theme:
|
|
2439
|
+
return { Theme: Le() };
|
|
2437
2440
|
},
|
|
2438
2441
|
data() {
|
|
2439
2442
|
return {
|
|
@@ -2514,7 +2517,7 @@ const Dr = /* @__PURE__ */ Y(Mr, [["render", Ir]]), Ar = {
|
|
|
2514
2517
|
function Rr(t, e, o, i, a, r) {
|
|
2515
2518
|
return y(), M("div");
|
|
2516
2519
|
}
|
|
2517
|
-
const Or = /* @__PURE__ */
|
|
2520
|
+
const Or = /* @__PURE__ */ q(Ar, [["render", Rr]]), Br = {
|
|
2518
2521
|
name: "IdmTerminator",
|
|
2519
2522
|
props: {
|
|
2520
2523
|
map: {
|
|
@@ -2568,7 +2571,7 @@ const Or = /* @__PURE__ */ Y(Ar, [["render", Rr]]), Br = {
|
|
|
2568
2571
|
function Er(t, e, o, i, a, r) {
|
|
2569
2572
|
return y(), M("div");
|
|
2570
2573
|
}
|
|
2571
|
-
const jr = /* @__PURE__ */
|
|
2574
|
+
const jr = /* @__PURE__ */ q(Br, [["render", Er]]), Nr = {
|
|
2572
2575
|
name: "IdmWorld12nm",
|
|
2573
2576
|
props: {
|
|
2574
2577
|
map: {
|
|
@@ -2625,7 +2628,7 @@ const jr = /* @__PURE__ */ Y(Br, [["render", Er]]), Nr = {
|
|
|
2625
2628
|
function Fr(t, e, o, i, a, r) {
|
|
2626
2629
|
return null;
|
|
2627
2630
|
}
|
|
2628
|
-
const Hr = /* @__PURE__ */
|
|
2631
|
+
const Hr = /* @__PURE__ */ q(Nr, [["render", Fr]]);
|
|
2629
2632
|
const Gr = {
|
|
2630
2633
|
name: "IdmWorldMarine",
|
|
2631
2634
|
props: {
|
|
@@ -2664,7 +2667,7 @@ const Gr = {
|
|
|
2664
2667
|
function Ur(t, e, o, i, a, r) {
|
|
2665
2668
|
return null;
|
|
2666
2669
|
}
|
|
2667
|
-
const Wr = /* @__PURE__ */
|
|
2670
|
+
const Wr = /* @__PURE__ */ q(Gr, [["render", Ur]]), Vr = {
|
|
2668
2671
|
name: "IdmChinaRoute",
|
|
2669
2672
|
props: {
|
|
2670
2673
|
map: {
|
|
@@ -2703,7 +2706,7 @@ const Wr = /* @__PURE__ */ Y(Gr, [["render", Ur]]), Vr = {
|
|
|
2703
2706
|
function Zr(t, e, o, i, a, r) {
|
|
2704
2707
|
return null;
|
|
2705
2708
|
}
|
|
2706
|
-
const Yr = /* @__PURE__ */
|
|
2709
|
+
const Yr = /* @__PURE__ */ q(Vr, [["render", Zr]]);
|
|
2707
2710
|
const qr = {
|
|
2708
2711
|
name: "IdmTideStations",
|
|
2709
2712
|
props: {
|
|
@@ -2716,6 +2719,9 @@ const qr = {
|
|
|
2716
2719
|
token: {
|
|
2717
2720
|
type: String
|
|
2718
2721
|
},
|
|
2722
|
+
defaultMeteoToken: {
|
|
2723
|
+
type: String
|
|
2724
|
+
},
|
|
2719
2725
|
theme: {
|
|
2720
2726
|
type: String
|
|
2721
2727
|
},
|
|
@@ -2737,7 +2743,7 @@ const qr = {
|
|
|
2737
2743
|
},
|
|
2738
2744
|
setup() {
|
|
2739
2745
|
return {
|
|
2740
|
-
Theme:
|
|
2746
|
+
Theme: Le()
|
|
2741
2747
|
};
|
|
2742
2748
|
},
|
|
2743
2749
|
emits: ["close", "closeAllDetail"],
|
|
@@ -2805,7 +2811,8 @@ const qr = {
|
|
|
2805
2811
|
},
|
|
2806
2812
|
currentIndex: {
|
|
2807
2813
|
handler() {
|
|
2808
|
-
|
|
2814
|
+
var t, e;
|
|
2815
|
+
this.initTideTableData(), this.initEchartData(So.pickDailyHeights(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime));
|
|
2809
2816
|
}
|
|
2810
2817
|
},
|
|
2811
2818
|
station: {
|
|
@@ -2817,7 +2824,7 @@ const qr = {
|
|
|
2817
2824
|
},
|
|
2818
2825
|
methods: {
|
|
2819
2826
|
async fetchTidesData() {
|
|
2820
|
-
var o, i, a, r;
|
|
2827
|
+
var o, i, a, r, l, c;
|
|
2821
2828
|
this.tideLoading = !0, this.tideData = {};
|
|
2822
2829
|
let t = {
|
|
2823
2830
|
lat: this.station.lat,
|
|
@@ -2829,26 +2836,26 @@ const qr = {
|
|
|
2829
2836
|
heights: !0
|
|
2830
2837
|
}, e = await Se.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, t, {
|
|
2831
2838
|
headers: {
|
|
2832
|
-
Authorization: this.token
|
|
2839
|
+
Authorization: this.token || this.defaultMeteoToken
|
|
2840
|
+
//
|
|
2833
2841
|
}
|
|
2834
2842
|
});
|
|
2835
|
-
((a = e == null ? void 0 : e.data) == null ? void 0 : a.code) === 0 && (this.tideData = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.data) || {}, this.tideLoading = !1, this.initTideTableData(this.tideData));
|
|
2843
|
+
((a = e == null ? void 0 : e.data) == null ? void 0 : a.code) === 0 && (this.tideData = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.data) || {}, this.tideLoading = !1, this.initTideTableData(), this.initEchartData(So.pickDailyHeights(this.tideData, (c = (l = this.dateList) == null ? void 0 : l[this.currentIndex]) == null ? void 0 : c.dateTime)));
|
|
2836
2844
|
},
|
|
2837
|
-
initTideTableData(
|
|
2838
|
-
var
|
|
2839
|
-
this.tideTableData =
|
|
2845
|
+
initTideTableData() {
|
|
2846
|
+
var t, e;
|
|
2847
|
+
this.tideTableData = So.pickDailyExtremes(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime);
|
|
2840
2848
|
},
|
|
2841
|
-
initEchartData() {
|
|
2842
|
-
var t;
|
|
2849
|
+
initEchartData(t) {
|
|
2843
2850
|
this.xDate = [], this.echartData = {
|
|
2844
2851
|
height: []
|
|
2845
|
-
},
|
|
2852
|
+
}, t == null || t.forEach((e) => {
|
|
2846
2853
|
this.xDate.push(this.computeLocalTime(e.date, this.station, "MM-DD HH:mm")), this.echartData.height.push([this.computeLocalTime(e.date, this.station, "MM-DD HH:mm"), e.height ?? void 0, "m"]);
|
|
2847
2854
|
}), this.initEchart();
|
|
2848
2855
|
},
|
|
2849
2856
|
initEchart() {
|
|
2850
|
-
|
|
2851
|
-
const t =
|
|
2857
|
+
Mo.dispose(this.$refs.tideEchart);
|
|
2858
|
+
const t = Mo.init(this.$refs.tideEchart), e = {
|
|
2852
2859
|
animation: !1,
|
|
2853
2860
|
tooltip: {
|
|
2854
2861
|
trigger: "axis",
|
|
@@ -3097,7 +3104,7 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3097
3104
|
_: 1
|
|
3098
3105
|
});
|
|
3099
3106
|
}
|
|
3100
|
-
const Ss = /* @__PURE__ */
|
|
3107
|
+
const Ss = /* @__PURE__ */ q(qr, [["render", Ts], ["__scopeId", "data-v-b79e1aa0"]]);
|
|
3101
3108
|
const Ms = {
|
|
3102
3109
|
name: "IdmTideStations",
|
|
3103
3110
|
components: {
|
|
@@ -3177,7 +3184,7 @@ const Ms = {
|
|
|
3177
3184
|
function Os(t, e, o, i, a, r) {
|
|
3178
3185
|
const l = x("v-card-text"), c = x("v-card"), n = x("TideDetail");
|
|
3179
3186
|
return y(), M("div", null, [
|
|
3180
|
-
|
|
3187
|
+
Ze(p(c, { id: "idmTidalInfo" }, {
|
|
3181
3188
|
default: f(() => [
|
|
3182
3189
|
p(l, { class: "pr-8 text-body-1" }, {
|
|
3183
3190
|
default: f(() => {
|
|
@@ -3196,7 +3203,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
3196
3203
|
]),
|
|
3197
3204
|
_: 1
|
|
3198
3205
|
}, 512), [
|
|
3199
|
-
[
|
|
3206
|
+
[Ye, a.showInfo]
|
|
3200
3207
|
]),
|
|
3201
3208
|
a.showDetail ? (y(), R(n, B({
|
|
3202
3209
|
key: 0,
|
|
@@ -3205,7 +3212,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
3205
3212
|
}, t.$attrs), null, 16, ["station", "onClose"])) : D("", !0)
|
|
3206
3213
|
]);
|
|
3207
3214
|
}
|
|
3208
|
-
const Bs = /* @__PURE__ */
|
|
3215
|
+
const Bs = /* @__PURE__ */ q(Ms, [["render", Os], ["__scopeId", "data-v-4611be64"]]), Es = {
|
|
3209
3216
|
name: "IdmIceAreas",
|
|
3210
3217
|
props: {
|
|
3211
3218
|
map: {
|
|
@@ -3243,7 +3250,7 @@ const Bs = /* @__PURE__ */ Y(Ms, [["render", Os], ["__scopeId", "data-v-4611be64
|
|
|
3243
3250
|
function js(t, e, o, i, a, r) {
|
|
3244
3251
|
return null;
|
|
3245
3252
|
}
|
|
3246
|
-
const Ns = /* @__PURE__ */
|
|
3253
|
+
const Ns = /* @__PURE__ */ q(Es, [["render", js]]);
|
|
3247
3254
|
const Fs = {
|
|
3248
3255
|
name: "IdmLatLng",
|
|
3249
3256
|
props: {
|
|
@@ -3425,11 +3432,11 @@ function Hs(t, e, o, i, a, r) {
|
|
|
3425
3432
|
s("div", null, m((n = a.lngLat) == null ? void 0 : n.str), 1)
|
|
3426
3433
|
], 4);
|
|
3427
3434
|
}
|
|
3428
|
-
const qa = /* @__PURE__ */
|
|
3435
|
+
const qa = /* @__PURE__ */ q(Fs, [["render", Hs]]);
|
|
3429
3436
|
const Gs = {
|
|
3430
3437
|
name: "IdmFollowPort",
|
|
3431
3438
|
components: {
|
|
3432
|
-
PortDetail:
|
|
3439
|
+
PortDetail: Io
|
|
3433
3440
|
},
|
|
3434
3441
|
props: {
|
|
3435
3442
|
map: {
|
|
@@ -4231,7 +4238,7 @@ const Gs = {
|
|
|
4231
4238
|
}
|
|
4232
4239
|
},
|
|
4233
4240
|
setup() {
|
|
4234
|
-
return { Theme:
|
|
4241
|
+
return { Theme: Le() };
|
|
4235
4242
|
},
|
|
4236
4243
|
emits: ["closeAllDetail"],
|
|
4237
4244
|
data() {
|
|
@@ -4339,7 +4346,7 @@ const Gs = {
|
|
|
4339
4346
|
function Zs(t, e, o, i, a, r) {
|
|
4340
4347
|
const l = x("v-card-text"), c = x("v-card"), n = x("PortDetail");
|
|
4341
4348
|
return y(), M("div", null, [
|
|
4342
|
-
|
|
4349
|
+
Ze(p(c, {
|
|
4343
4350
|
id: "idmFollowPortInfo",
|
|
4344
4351
|
ref: "idmFollowPortInfo"
|
|
4345
4352
|
}, {
|
|
@@ -4362,7 +4369,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
4362
4369
|
]),
|
|
4363
4370
|
_: 1
|
|
4364
4371
|
}, 512), [
|
|
4365
|
-
[
|
|
4372
|
+
[Ye, a.showInfo]
|
|
4366
4373
|
]),
|
|
4367
4374
|
a.showDetail ? (y(), R(n, B({
|
|
4368
4375
|
key: 0,
|
|
@@ -4375,7 +4382,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
4375
4382
|
}, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : D("", !0)
|
|
4376
4383
|
]);
|
|
4377
4384
|
}
|
|
4378
|
-
const Ys = /* @__PURE__ */
|
|
4385
|
+
const Ys = /* @__PURE__ */ q(Gs, [["render", Zs], ["__scopeId", "data-v-95e70a1f"]]);
|
|
4379
4386
|
const qs = {
|
|
4380
4387
|
name: "IdmFollowPosition",
|
|
4381
4388
|
props: {
|
|
@@ -4399,7 +4406,7 @@ const qs = {
|
|
|
4399
4406
|
}
|
|
4400
4407
|
},
|
|
4401
4408
|
setup() {
|
|
4402
|
-
return { Theme:
|
|
4409
|
+
return { Theme: Le() };
|
|
4403
4410
|
},
|
|
4404
4411
|
data() {
|
|
4405
4412
|
return {
|
|
@@ -4514,7 +4521,7 @@ const qs = {
|
|
|
4514
4521
|
};
|
|
4515
4522
|
function Js(t, e, o, i, a, r) {
|
|
4516
4523
|
const l = x("v-card-text"), c = x("v-card");
|
|
4517
|
-
return
|
|
4524
|
+
return Ze((y(), R(c, {
|
|
4518
4525
|
id: "idmFollowPositionInfo",
|
|
4519
4526
|
ref: "idmFollowPositionInfo"
|
|
4520
4527
|
}, {
|
|
@@ -4536,10 +4543,10 @@ function Js(t, e, o, i, a, r) {
|
|
|
4536
4543
|
]),
|
|
4537
4544
|
_: 1
|
|
4538
4545
|
}, 512)), [
|
|
4539
|
-
[
|
|
4546
|
+
[Ye, a.showInfo]
|
|
4540
4547
|
]);
|
|
4541
4548
|
}
|
|
4542
|
-
const Qs = /* @__PURE__ */
|
|
4549
|
+
const Qs = /* @__PURE__ */ q(qs, [["render", Js], ["__scopeId", "data-v-cd6c9f7e"]]);
|
|
4543
4550
|
const el = {
|
|
4544
4551
|
name: "IdmOtherLayerr",
|
|
4545
4552
|
components: {
|
|
@@ -4750,7 +4757,7 @@ const el = {
|
|
|
4750
4757
|
}, dl = { class: "text-body-2 text-center pt-1" };
|
|
4751
4758
|
function hl(t, e, o, i, a, r) {
|
|
4752
4759
|
var $, ne, se, Q, ae, he, ce, pe, ge;
|
|
4753
|
-
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"), N = x("IdmSpecialArea"),
|
|
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"), N = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), Y = x("IdmChinaRoute"), V = x("IdmIceAreas"), ee = x("IdmFollowPort"), J = x("IdmFollowPosition");
|
|
4754
4761
|
return y(), M("div", tl, [
|
|
4755
4762
|
s("div", {
|
|
4756
4763
|
class: "menu-bar-box transition px-1 rounded",
|
|
@@ -5022,12 +5029,13 @@ function hl(t, e, o, i, a, r) {
|
|
|
5022
5029
|
map: o.map,
|
|
5023
5030
|
gateway: o.gateway,
|
|
5024
5031
|
token: o.token,
|
|
5032
|
+
defaultMeteoToken: o.defaultMeteoToken,
|
|
5025
5033
|
show: a.checkList.includes("tidal-stations"),
|
|
5026
5034
|
theme: o.theme,
|
|
5027
5035
|
realTime: o.realTime,
|
|
5028
5036
|
forecastModel: o.forecastModel,
|
|
5029
5037
|
"before-layer": "empty-layer-3"
|
|
5030
|
-
}, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) : D("", !0),
|
|
5038
|
+
}, t.$attrs), null, 16, ["map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : D("", !0),
|
|
5031
5039
|
o.map ? (y(), R(L, B({
|
|
5032
5040
|
key: 6,
|
|
5033
5041
|
map: o.map,
|
|
@@ -5064,19 +5072,19 @@ function hl(t, e, o, i, a, r) {
|
|
|
5064
5072
|
map: o.map,
|
|
5065
5073
|
area: (ge = a.otherLayers) == null ? void 0 : ge["special-area"]
|
|
5066
5074
|
}, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
|
|
5067
|
-
o.map ? (y(), R(
|
|
5075
|
+
o.map ? (y(), R(Z, B({
|
|
5068
5076
|
key: 13,
|
|
5069
5077
|
map: o.map,
|
|
5070
5078
|
token: o.token,
|
|
5071
5079
|
show: a.checkList.includes("world12nm")
|
|
5072
5080
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
|
|
5073
|
-
o.map ? (y(), R(
|
|
5081
|
+
o.map ? (y(), R(Y, B({
|
|
5074
5082
|
key: 14,
|
|
5075
5083
|
map: o.map,
|
|
5076
5084
|
token: o.token,
|
|
5077
5085
|
show: a.checkList.includes("chinaRoute")
|
|
5078
5086
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
|
|
5079
|
-
o.map ? (y(), R(
|
|
5087
|
+
o.map ? (y(), R(V, B({
|
|
5080
5088
|
key: 15,
|
|
5081
5089
|
map: o.map,
|
|
5082
5090
|
show: a.checkList.includes("ice-areas")
|
|
@@ -5101,8 +5109,8 @@ function hl(t, e, o, i, a, r) {
|
|
|
5101
5109
|
}, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : D("", !0)
|
|
5102
5110
|
]);
|
|
5103
5111
|
}
|
|
5104
|
-
const pl = /* @__PURE__ */
|
|
5105
|
-
class
|
|
5112
|
+
const pl = /* @__PURE__ */ q(el, [["render", hl]]);
|
|
5113
|
+
class Do {
|
|
5106
5114
|
constructor(e) {
|
|
5107
5115
|
de(this, "map");
|
|
5108
5116
|
de(this, "mercator");
|
|
@@ -5436,9 +5444,9 @@ de(le, "fragmentSchema", `
|
|
|
5436
5444
|
vec4 color = texture2D(u_color, vec2(rgba.r, 0));
|
|
5437
5445
|
gl_FragColor = color;
|
|
5438
5446
|
}`);
|
|
5439
|
-
class
|
|
5447
|
+
class ze {
|
|
5440
5448
|
}
|
|
5441
|
-
de(
|
|
5449
|
+
de(ze, "vertexSchema", `
|
|
5442
5450
|
precision mediump float;
|
|
5443
5451
|
|
|
5444
5452
|
attribute float a_index; // 索引
|
|
@@ -5462,7 +5470,7 @@ de(ke, "vertexSchema", `
|
|
|
5462
5470
|
gl_PointSize = 1.0;
|
|
5463
5471
|
// gl_PointSize = u_point;
|
|
5464
5472
|
gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
|
|
5465
|
-
}`), de(
|
|
5473
|
+
}`), de(ze, "fragmentSchema", `
|
|
5466
5474
|
precision mediump float;
|
|
5467
5475
|
|
|
5468
5476
|
uniform sampler2D u_factor;
|
|
@@ -5484,7 +5492,7 @@ de(ke, "vertexSchema", `
|
|
|
5484
5492
|
|
|
5485
5493
|
float f = 1.0 - uv.b;
|
|
5486
5494
|
gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
|
|
5487
|
-
}`), de(
|
|
5495
|
+
}`), de(ze, "quadVertSchema", `
|
|
5488
5496
|
precision mediump float;
|
|
5489
5497
|
|
|
5490
5498
|
attribute vec2 a_pos;
|
|
@@ -5494,7 +5502,7 @@ de(ke, "vertexSchema", `
|
|
|
5494
5502
|
void main() {
|
|
5495
5503
|
v_tex_pos = a_pos;
|
|
5496
5504
|
gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
|
|
5497
|
-
}`), de(
|
|
5505
|
+
}`), de(ze, "screenFragmentSchema", `
|
|
5498
5506
|
precision mediump float;
|
|
5499
5507
|
|
|
5500
5508
|
uniform sampler2D u_screen;
|
|
@@ -5506,7 +5514,7 @@ de(ke, "vertexSchema", `
|
|
|
5506
5514
|
vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
|
|
5507
5515
|
// a hack to guarantee opacity fade out even with a value close to 1.0
|
|
5508
5516
|
gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
|
|
5509
|
-
}`), de(
|
|
5517
|
+
}`), de(ze, "updateFragmentSchema", `
|
|
5510
5518
|
precision mediump float;
|
|
5511
5519
|
|
|
5512
5520
|
uniform sampler2D u_particles;
|
|
@@ -5746,7 +5754,7 @@ const ul = {
|
|
|
5746
5754
|
function fl(t, e, o, i, a, r) {
|
|
5747
5755
|
return null;
|
|
5748
5756
|
}
|
|
5749
|
-
const yl = /* @__PURE__ */
|
|
5757
|
+
const yl = /* @__PURE__ */ q(gl, [["render", fl]]);
|
|
5750
5758
|
const bl = {
|
|
5751
5759
|
name: "IdmWindParticle",
|
|
5752
5760
|
props: {
|
|
@@ -5754,7 +5762,7 @@ const bl = {
|
|
|
5754
5762
|
type: Object
|
|
5755
5763
|
},
|
|
5756
5764
|
viewport: {
|
|
5757
|
-
type:
|
|
5765
|
+
type: Do
|
|
5758
5766
|
},
|
|
5759
5767
|
menuToggle: {
|
|
5760
5768
|
type: Object
|
|
@@ -5868,11 +5876,11 @@ const bl = {
|
|
|
5868
5876
|
];
|
|
5869
5877
|
this.wrapper = this.webgl.bindParticle(
|
|
5870
5878
|
this.particleContext,
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5879
|
+
ze.vertexSchema,
|
|
5880
|
+
ze.fragmentSchema,
|
|
5881
|
+
ze.quadVertSchema,
|
|
5882
|
+
ze.screenFragmentSchema,
|
|
5883
|
+
ze.updateFragmentSchema
|
|
5876
5884
|
), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = { ...this.wrapper, ...this.webgl.setupParticle(this.particleContext, 9e3), ...this.webgl.resize(this.viewport, this.particleContext) }, this.viewport.map.on("resize", this.handleResize), this.viewport.map.on("movestart", this.handlePause), this.viewport.map.on("moveend", this.handlePlay);
|
|
5877
5885
|
}
|
|
5878
5886
|
},
|
|
@@ -5929,7 +5937,7 @@ function xl(t, e, o, i, a, r) {
|
|
|
5929
5937
|
]), 4)
|
|
5930
5938
|
])) : D("", !0);
|
|
5931
5939
|
}
|
|
5932
|
-
const vl = /* @__PURE__ */
|
|
5940
|
+
const vl = /* @__PURE__ */ q(bl, [["render", xl]]), _l = {
|
|
5933
5941
|
name: "IdmCurrent",
|
|
5934
5942
|
props: {
|
|
5935
5943
|
map: {
|
|
@@ -6087,7 +6095,7 @@ const vl = /* @__PURE__ */ Y(bl, [["render", xl]]), _l = {
|
|
|
6087
6095
|
function kl(t, e, o, i, a, r) {
|
|
6088
6096
|
return null;
|
|
6089
6097
|
}
|
|
6090
|
-
const zl = /* @__PURE__ */
|
|
6098
|
+
const zl = /* @__PURE__ */ q(_l, [["render", kl]]);
|
|
6091
6099
|
const Ll = {
|
|
6092
6100
|
name: "IdmCurrentParticle",
|
|
6093
6101
|
props: {
|
|
@@ -6095,7 +6103,7 @@ const Ll = {
|
|
|
6095
6103
|
type: Object
|
|
6096
6104
|
},
|
|
6097
6105
|
viewport: {
|
|
6098
|
-
type:
|
|
6106
|
+
type: Do
|
|
6099
6107
|
},
|
|
6100
6108
|
menuToggle: {
|
|
6101
6109
|
type: Object
|
|
@@ -6202,11 +6210,11 @@ const Ll = {
|
|
|
6202
6210
|
];
|
|
6203
6211
|
this.wrapper = this.webgl.bindParticle(
|
|
6204
6212
|
this.particleContext,
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6213
|
+
ze.vertexSchema,
|
|
6214
|
+
ze.fragmentSchema,
|
|
6215
|
+
ze.quadVertSchema,
|
|
6216
|
+
ze.screenFragmentSchema,
|
|
6217
|
+
ze.updateFragmentSchema
|
|
6210
6218
|
), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = {
|
|
6211
6219
|
...this.wrapper,
|
|
6212
6220
|
...this.webgl.setupParticle(this.particleContext, 9e3),
|
|
@@ -6266,7 +6274,7 @@ function Cl(t, e, o, i, a, r) {
|
|
|
6266
6274
|
]), 4)
|
|
6267
6275
|
])) : D("", !0);
|
|
6268
6276
|
}
|
|
6269
|
-
const Tl = /* @__PURE__ */
|
|
6277
|
+
const Tl = /* @__PURE__ */ q(Ll, [["render", Cl]]);
|
|
6270
6278
|
const Sl = {
|
|
6271
6279
|
name: "IdmSigWave",
|
|
6272
6280
|
props: {
|
|
@@ -6390,7 +6398,7 @@ function Il(t, e, o, i, a, r) {
|
|
|
6390
6398
|
]), 4)
|
|
6391
6399
|
])) : D("", !0);
|
|
6392
6400
|
}
|
|
6393
|
-
const Dl = /* @__PURE__ */
|
|
6401
|
+
const Dl = /* @__PURE__ */ q(Sl, [["render", Il], ["__scopeId", "data-v-fa73c319"]]), Al = {
|
|
6394
6402
|
name: "IdmSigWaveHeight",
|
|
6395
6403
|
props: {
|
|
6396
6404
|
map: {
|
|
@@ -6538,7 +6546,7 @@ const Dl = /* @__PURE__ */ Y(Sl, [["render", Il], ["__scopeId", "data-v-fa73c319
|
|
|
6538
6546
|
function Rl(t, e, o, i, a, r) {
|
|
6539
6547
|
return null;
|
|
6540
6548
|
}
|
|
6541
|
-
const Ol = /* @__PURE__ */
|
|
6549
|
+
const Ol = /* @__PURE__ */ q(Al, [["render", Rl]]);
|
|
6542
6550
|
const Bl = {
|
|
6543
6551
|
name: "IdmSwell",
|
|
6544
6552
|
props: {
|
|
@@ -6662,7 +6670,7 @@ function jl(t, e, o, i, a, r) {
|
|
|
6662
6670
|
]), 4)
|
|
6663
6671
|
])) : D("", !0);
|
|
6664
6672
|
}
|
|
6665
|
-
const Nl = /* @__PURE__ */
|
|
6673
|
+
const Nl = /* @__PURE__ */ q(Bl, [["render", jl], ["__scopeId", "data-v-d47b8b5c"]]), Fl = {
|
|
6666
6674
|
name: "IdmPrmsl",
|
|
6667
6675
|
props: {
|
|
6668
6676
|
map: {
|
|
@@ -6844,7 +6852,7 @@ function Gl(t, e, o, i, a, r) {
|
|
|
6844
6852
|
], 4)
|
|
6845
6853
|
])) : D("", !0);
|
|
6846
6854
|
}
|
|
6847
|
-
const Ul = /* @__PURE__ */
|
|
6855
|
+
const Ul = /* @__PURE__ */ q(Fl, [["render", Gl]]);
|
|
6848
6856
|
const Wl = {
|
|
6849
6857
|
name: "IdmIceEdge",
|
|
6850
6858
|
props: {
|
|
@@ -6966,7 +6974,7 @@ function Zl(t, e, o, i, a, r) {
|
|
|
6966
6974
|
]), 4)
|
|
6967
6975
|
])) : D("", !0);
|
|
6968
6976
|
}
|
|
6969
|
-
const Yl = /* @__PURE__ */
|
|
6977
|
+
const Yl = /* @__PURE__ */ q(Wl, [["render", Zl]]);
|
|
6970
6978
|
const ql = {
|
|
6971
6979
|
name: "IdmCover",
|
|
6972
6980
|
props: {
|
|
@@ -7073,7 +7081,7 @@ function $l(t, e, o, i, a, r) {
|
|
|
7073
7081
|
]), 4)
|
|
7074
7082
|
])) : D("", !0);
|
|
7075
7083
|
}
|
|
7076
|
-
const Kl = /* @__PURE__ */
|
|
7084
|
+
const Kl = /* @__PURE__ */ q(ql, [["render", $l], ["__scopeId", "data-v-dcedee39"]]);
|
|
7077
7085
|
const Jl = {
|
|
7078
7086
|
name: "IdmThickness",
|
|
7079
7087
|
props: {
|
|
@@ -7188,7 +7196,7 @@ function en(t, e, o, i, a, r) {
|
|
|
7188
7196
|
]), 4)
|
|
7189
7197
|
])) : D("", !0);
|
|
7190
7198
|
}
|
|
7191
|
-
const tn = /* @__PURE__ */
|
|
7199
|
+
const tn = /* @__PURE__ */ q(Jl, [["render", en]]);
|
|
7192
7200
|
const on = {
|
|
7193
7201
|
name: "IdmPrecip3h",
|
|
7194
7202
|
props: {
|
|
@@ -7305,7 +7313,7 @@ function rn(t, e, o, i, a, r) {
|
|
|
7305
7313
|
]), 4)
|
|
7306
7314
|
])) : D("", !0);
|
|
7307
7315
|
}
|
|
7308
|
-
const sn = /* @__PURE__ */
|
|
7316
|
+
const sn = /* @__PURE__ */ q(on, [["render", rn]]);
|
|
7309
7317
|
const ln = {
|
|
7310
7318
|
name: "IdmVisibility",
|
|
7311
7319
|
props: {
|
|
@@ -7410,7 +7418,7 @@ function cn(t, e, o, i, a, r) {
|
|
|
7410
7418
|
]), 4)
|
|
7411
7419
|
])) : D("", !0);
|
|
7412
7420
|
}
|
|
7413
|
-
const mn = /* @__PURE__ */
|
|
7421
|
+
const mn = /* @__PURE__ */ q(ln, [["render", cn]]);
|
|
7414
7422
|
const dn = {
|
|
7415
7423
|
name: "IdmWaterTemp",
|
|
7416
7424
|
props: {
|
|
@@ -7518,7 +7526,7 @@ function pn(t, e, o, i, a, r) {
|
|
|
7518
7526
|
]), 4)
|
|
7519
7527
|
])) : D("", !0);
|
|
7520
7528
|
}
|
|
7521
|
-
const un = /* @__PURE__ */
|
|
7529
|
+
const un = /* @__PURE__ */ q(dn, [["render", pn]]);
|
|
7522
7530
|
const gn = {
|
|
7523
7531
|
name: "IdmTemp",
|
|
7524
7532
|
props: {
|
|
@@ -7639,7 +7647,7 @@ function yn(t, e, o, i, a, r) {
|
|
|
7639
7647
|
]), 4)
|
|
7640
7648
|
])) : D("", !0);
|
|
7641
7649
|
}
|
|
7642
|
-
const bn = /* @__PURE__ */
|
|
7650
|
+
const bn = /* @__PURE__ */ q(gn, [["render", yn]]);
|
|
7643
7651
|
const wn = {
|
|
7644
7652
|
name: "IdmGlLayer",
|
|
7645
7653
|
components: {
|
|
@@ -7809,7 +7817,7 @@ const wn = {
|
|
|
7809
7817
|
},
|
|
7810
7818
|
map: {
|
|
7811
7819
|
handler() {
|
|
7812
|
-
this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new
|
|
7820
|
+
this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new Do(this.map), this.handleRampColorInitial());
|
|
7813
7821
|
},
|
|
7814
7822
|
immediate: !0
|
|
7815
7823
|
},
|
|
@@ -7945,12 +7953,12 @@ const wn = {
|
|
|
7945
7953
|
);
|
|
7946
7954
|
const v = await Promise.all(z);
|
|
7947
7955
|
this.weatherLayers = {}, v.map((C) => {
|
|
7948
|
-
var N,
|
|
7956
|
+
var N, Z, Y, V;
|
|
7949
7957
|
const k = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
|
|
7950
|
-
let A = (
|
|
7958
|
+
let A = (Y = (Z = C == null ? void 0 : C.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
|
|
7951
7959
|
A && k && (this.weatherLayers[A] = {
|
|
7952
7960
|
raw: k,
|
|
7953
|
-
type: ((
|
|
7961
|
+
type: ((V = C == null ? void 0 : C.config) == null ? void 0 : V.responseType) === "blob" ? "image" : "json",
|
|
7954
7962
|
etime: I.data.etime
|
|
7955
7963
|
});
|
|
7956
7964
|
});
|
|
@@ -8043,35 +8051,35 @@ const wn = {
|
|
|
8043
8051
|
if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8044
8052
|
const C = L[v].lng;
|
|
8045
8053
|
w > _ ? C.forEach((k, A) => {
|
|
8046
|
-
var N,
|
|
8054
|
+
var N, Z, Y, V, ee, J;
|
|
8047
8055
|
if (a < 2) {
|
|
8048
8056
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8049
8057
|
const $ = H.point([k, v], {
|
|
8050
|
-
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((
|
|
8051
|
-
spd: (
|
|
8058
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8059
|
+
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8052
8060
|
});
|
|
8053
8061
|
I.push($);
|
|
8054
8062
|
}
|
|
8055
8063
|
} else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8056
8064
|
const $ = H.point([k, v], {
|
|
8057
|
-
val: ((
|
|
8065
|
+
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8058
8066
|
spd: (J = L[v].spd) == null ? void 0 : J[A]
|
|
8059
8067
|
});
|
|
8060
8068
|
I.push($);
|
|
8061
8069
|
}
|
|
8062
8070
|
}) : C.forEach((k, A) => {
|
|
8063
|
-
var N,
|
|
8071
|
+
var N, Z, Y, V, ee, J;
|
|
8064
8072
|
if (w < 2) {
|
|
8065
8073
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8066
8074
|
const $ = H.point([k, v], {
|
|
8067
|
-
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((
|
|
8068
|
-
spd: (
|
|
8075
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8076
|
+
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8069
8077
|
});
|
|
8070
8078
|
I.push($);
|
|
8071
8079
|
}
|
|
8072
8080
|
} else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8073
8081
|
const $ = H.point([k, v], {
|
|
8074
|
-
val: ((
|
|
8082
|
+
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8075
8083
|
spd: (J = L[v].spd) == null ? void 0 : J[A]
|
|
8076
8084
|
});
|
|
8077
8085
|
I.push($);
|
|
@@ -8107,35 +8115,35 @@ const wn = {
|
|
|
8107
8115
|
if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8108
8116
|
const C = L[v].lng;
|
|
8109
8117
|
w > _ ? C.forEach((k, A) => {
|
|
8110
|
-
var N,
|
|
8118
|
+
var N, Z, Y, V, ee, J;
|
|
8111
8119
|
if (a < 2) {
|
|
8112
8120
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8113
8121
|
const $ = H.point([k, v], {
|
|
8114
|
-
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((
|
|
8115
|
-
spd: (
|
|
8122
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8123
|
+
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8116
8124
|
});
|
|
8117
8125
|
I.push($);
|
|
8118
8126
|
}
|
|
8119
8127
|
} else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8120
8128
|
const $ = H.point([k, v], {
|
|
8121
|
-
val: ((
|
|
8129
|
+
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8122
8130
|
spd: (J = L[v].spd) == null ? void 0 : J[A]
|
|
8123
8131
|
});
|
|
8124
8132
|
I.push($);
|
|
8125
8133
|
}
|
|
8126
8134
|
}) : C.forEach((k, A) => {
|
|
8127
|
-
var N,
|
|
8135
|
+
var N, Z, Y, V, ee, J;
|
|
8128
8136
|
if (w < 2) {
|
|
8129
8137
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
8130
8138
|
const $ = H.point([k, v], {
|
|
8131
|
-
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((
|
|
8132
|
-
spd: (
|
|
8139
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((Z = L[v].dir) == null ? void 0 : Z[A]),
|
|
8140
|
+
spd: (Y = L[v].spd) == null ? void 0 : Y[A]
|
|
8133
8141
|
});
|
|
8134
8142
|
I.push($);
|
|
8135
8143
|
}
|
|
8136
8144
|
} else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
8137
8145
|
const $ = H.point([k, v], {
|
|
8138
|
-
val: ((
|
|
8146
|
+
val: ((V = L[v].val) == null ? void 0 : V[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8139
8147
|
spd: (J = L[v].spd) == null ? void 0 : J[A]
|
|
8140
8148
|
});
|
|
8141
8149
|
I.push($);
|
|
@@ -8168,38 +8176,38 @@ const wn = {
|
|
|
8168
8176
|
if (z > g && z < P && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8169
8177
|
const v = L[z].lng;
|
|
8170
8178
|
w > _ ? v.forEach((C, k) => {
|
|
8171
|
-
var A, N,
|
|
8179
|
+
var A, N, Z, Y;
|
|
8172
8180
|
if (a < 2) {
|
|
8173
8181
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8174
|
-
const
|
|
8182
|
+
const V = H.point([C, z], {
|
|
8175
8183
|
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((N = L[z].dir) == null ? void 0 : N[k]),
|
|
8176
8184
|
spd: L[z].spd[k]
|
|
8177
8185
|
});
|
|
8178
|
-
I.push(
|
|
8186
|
+
I.push(V);
|
|
8179
8187
|
}
|
|
8180
8188
|
} else if ((C >= w && C <= 180 || C >= -180 && C <= _) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8181
|
-
const
|
|
8182
|
-
dir: ((
|
|
8189
|
+
const V = H.point([C, z], {
|
|
8190
|
+
dir: ((Z = L[z].val) == null ? void 0 : Z[k]) || ((Y = L[z].dir) == null ? void 0 : Y[k]),
|
|
8183
8191
|
spd: L[z].spd[k]
|
|
8184
8192
|
});
|
|
8185
|
-
I.push(
|
|
8193
|
+
I.push(V);
|
|
8186
8194
|
}
|
|
8187
8195
|
}) : v.forEach((C, k) => {
|
|
8188
|
-
var A, N,
|
|
8196
|
+
var A, N, Z, Y;
|
|
8189
8197
|
if (a < 2) {
|
|
8190
8198
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8191
|
-
const
|
|
8199
|
+
const V = H.point([C, z], {
|
|
8192
8200
|
dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((N = L[z].dir) == null ? void 0 : N[k]),
|
|
8193
8201
|
spd: L[z].spd[k]
|
|
8194
8202
|
});
|
|
8195
|
-
I.push(
|
|
8203
|
+
I.push(V);
|
|
8196
8204
|
}
|
|
8197
8205
|
} else if (C >= w && C <= _ && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8198
|
-
const
|
|
8199
|
-
dir: ((
|
|
8206
|
+
const V = H.point([C, z], {
|
|
8207
|
+
dir: ((Z = L[z].val) == null ? void 0 : Z[k]) || ((Y = L[z].dir) == null ? void 0 : Y[k]),
|
|
8200
8208
|
spd: L[z].spd[k]
|
|
8201
8209
|
});
|
|
8202
|
-
I.push(
|
|
8210
|
+
I.push(V);
|
|
8203
8211
|
}
|
|
8204
8212
|
});
|
|
8205
8213
|
}
|
|
@@ -8317,8 +8325,8 @@ const wn = {
|
|
|
8317
8325
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
8318
8326
|
}, 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" };
|
|
8319
8327
|
function ic(t, e, o, i, a, r) {
|
|
8320
|
-
var Q, ae, he, ce, pe, ge, F, me, ve,
|
|
8321
|
-
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"), N = x("IdmWave"),
|
|
8328
|
+
var Q, ae, he, ce, pe, ge, F, me, ve, Pe, Ce, De, Ae, Re, ke;
|
|
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"), N = x("IdmWave"), Z = x("IdmSwell"), Y = x("IdmIceEdge"), V = x("IdmIceCover"), ee = x("IdmIceThickness"), J = x("IdmPrecip3h"), $ = x("IdmVisibility"), ne = x("IdmWaterTemp"), se = x("IdmTemp");
|
|
8322
8330
|
return y(), M("div", xn, [
|
|
8323
8331
|
s("div", {
|
|
8324
8332
|
class: "menu-bar-box transition pa-1",
|
|
@@ -8734,14 +8742,14 @@ function ic(t, e, o, i, a, r) {
|
|
|
8734
8742
|
}),
|
|
8735
8743
|
p(h, { class: "" }, {
|
|
8736
8744
|
default: f(() => {
|
|
8737
|
-
var G, te, He, Me, ue,
|
|
8745
|
+
var G, te, He, Me, ue, Te, U, fe, oe, re, Oe, Ge, Ue, E, ye, Ie, Be, Ee, j, We, 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;
|
|
8738
8746
|
return [
|
|
8739
8747
|
s("div", On, m(t.$t("weather.atmospheric")), 1),
|
|
8740
|
-
s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((
|
|
8748
|
+
s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((Te = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.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),
|
|
8741
8749
|
s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
|
|
8742
|
-
s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((
|
|
8743
|
-
s("div", Nn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((
|
|
8744
|
-
s("div", Fn, m((
|
|
8750
|
+
s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((E = (Ue = (Ge = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : Ge.NOAA) == null ? void 0 : Ue.meta) == null ? void 0 : E.availabilityTime)), 1),
|
|
8751
|
+
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),
|
|
8752
|
+
s("div", Fn, m((W = (We = (j = a.models) == null ? void 0 : j.weather) == null ? void 0 : We.ECMWF) == null ? void 0 : W.source) + " " + m(($e = (Xe = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Xe.ECMWF) == null ? void 0 : $e.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = (Ke = (_e = a.models) == null ? void 0 : _e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
|
|
8745
8753
|
s("div", Hn, m(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8746
8754
|
s("div", Gn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
|
|
8747
8755
|
s("div", Un, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
|
|
@@ -8821,7 +8829,7 @@ function ic(t, e, o, i, a, r) {
|
|
|
8821
8829
|
factor: (F = a.weatherLayers) == null ? void 0 : F["sig-wave"],
|
|
8822
8830
|
"menu-toggle": o.menuToggle
|
|
8823
8831
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8824
|
-
o.map ? (y(), R(
|
|
8832
|
+
o.map ? (y(), R(Z, B({
|
|
8825
8833
|
key: 8,
|
|
8826
8834
|
map: o.map,
|
|
8827
8835
|
viewport: a.viewport,
|
|
@@ -8829,22 +8837,22 @@ function ic(t, e, o, i, a, r) {
|
|
|
8829
8837
|
"menu-toggle": o.menuToggle,
|
|
8830
8838
|
"active-weather-layers": a.activeWeatherLayers
|
|
8831
8839
|
}, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers"])) : D("", !0),
|
|
8832
|
-
o.map ? (y(), R(
|
|
8840
|
+
o.map ? (y(), R(Y, B({
|
|
8833
8841
|
key: 9,
|
|
8834
8842
|
viewport: a.viewport,
|
|
8835
8843
|
factor: (ve = a.weatherLayers) == null ? void 0 : ve["ice-edge"],
|
|
8836
8844
|
"menu-toggle": o.menuToggle
|
|
8837
8845
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8838
|
-
o.map ? (y(), R(
|
|
8846
|
+
o.map ? (y(), R(V, B({
|
|
8839
8847
|
key: 10,
|
|
8840
8848
|
viewport: a.viewport,
|
|
8841
|
-
factor: (
|
|
8849
|
+
factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-cover"],
|
|
8842
8850
|
"menu-toggle": o.menuToggle
|
|
8843
8851
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8844
8852
|
o.map ? (y(), R(ee, B({
|
|
8845
8853
|
key: 11,
|
|
8846
8854
|
viewport: a.viewport,
|
|
8847
|
-
factor: (
|
|
8855
|
+
factor: (Ce = a.weatherLayers) == null ? void 0 : Ce["ice-thickness"],
|
|
8848
8856
|
"menu-toggle": o.menuToggle
|
|
8849
8857
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
|
|
8850
8858
|
o.map ? (y(), R(J, B({
|
|
@@ -8868,12 +8876,12 @@ function ic(t, e, o, i, a, r) {
|
|
|
8868
8876
|
o.map ? (y(), R(se, B({
|
|
8869
8877
|
key: 15,
|
|
8870
8878
|
viewport: a.viewport,
|
|
8871
|
-
factor: (
|
|
8879
|
+
factor: (ke = a.weatherLayers) == null ? void 0 : ke.temp,
|
|
8872
8880
|
"menu-toggle": o.menuToggle
|
|
8873
8881
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0)
|
|
8874
8882
|
]);
|
|
8875
8883
|
}
|
|
8876
|
-
const rc = /* @__PURE__ */
|
|
8884
|
+
const rc = /* @__PURE__ */ q(wn, [["render", ic]]), Lo = [
|
|
8877
8885
|
{
|
|
8878
8886
|
rank: 0,
|
|
8879
8887
|
name: "Best Match",
|
|
@@ -9151,7 +9159,7 @@ const rc = /* @__PURE__ */ Y(wn, [["render", ic]]), Lo = [
|
|
|
9151
9159
|
variables: "swell_wave_direction,swell_wave_height,swell_wave_period,swell_wave_peak_period,wave_direction,wave_height,wave_period,wind_wave_direction,wind_wave_height,wind_wave_period,wind_wave_peak_period"
|
|
9152
9160
|
}
|
|
9153
9161
|
];
|
|
9154
|
-
class
|
|
9162
|
+
class Ya {
|
|
9155
9163
|
static standardWeatherModels() {
|
|
9156
9164
|
return Lo.filter((e) => !e.disabled && e.alias);
|
|
9157
9165
|
}
|
|
@@ -9220,91 +9228,95 @@ class Za {
|
|
|
9220
9228
|
}), a;
|
|
9221
9229
|
}
|
|
9222
9230
|
static pickHourly(e, o) {
|
|
9223
|
-
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N,
|
|
9224
|
-
const
|
|
9225
|
-
if (
|
|
9226
|
-
const
|
|
9231
|
+
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Pe, Ce, De, Ae, Re, ke, G, te, He, Me, ue, Te;
|
|
9232
|
+
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"), Ge = 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"), Ue = [];
|
|
9233
|
+
if (U.isBetween(Oe, Ge, "millisecond", "[]")) {
|
|
9234
|
+
const E = U.utc().diff(Oe, "h", !1);
|
|
9227
9235
|
let ye, Ie;
|
|
9228
9236
|
if (fe) {
|
|
9229
|
-
let Be = 0, Ee = 0;
|
|
9230
|
-
for (const
|
|
9231
|
-
const
|
|
9232
|
-
for (let
|
|
9233
|
-
Be += (b =
|
|
9234
|
-
for (let
|
|
9235
|
-
Ee += (w =
|
|
9237
|
+
let Be = 0, Ee = 0, j = 0;
|
|
9238
|
+
for (const We of fe) {
|
|
9239
|
+
const W = We == null ? void 0 : We.hourly;
|
|
9240
|
+
for (let _e = E - (E - 1) % 3; _e <= E; _e++)
|
|
9241
|
+
Be += (b = W == null ? void 0 : W.precipitation) == null ? void 0 : b.at(_e);
|
|
9242
|
+
for (let _e = E - (E - 1) % 6; _e <= E; _e++)
|
|
9243
|
+
Ee += (w = W == null ? void 0 : W.precipitation) == null ? void 0 : w.at(_e);
|
|
9244
|
+
for (let _e = E - (E - 1) % 12; _e <= E; _e++)
|
|
9245
|
+
j += (_ = W == null ? void 0 : W.precipitation) == null ? void 0 : _.at(_e);
|
|
9236
9246
|
ye = {
|
|
9237
|
-
temp: (
|
|
9238
|
-
apparentTemp: (
|
|
9239
|
-
rh: (
|
|
9240
|
-
dp: (
|
|
9247
|
+
temp: (g = W == null ? void 0 : W.temperature_2m) == null ? void 0 : g.at(E),
|
|
9248
|
+
apparentTemp: (P = W == null ? void 0 : W.apparent_temperature) == null ? void 0 : P.at(E),
|
|
9249
|
+
rh: (T = W == null ? void 0 : W.relative_humidity_2m) == null ? void 0 : T.at(E),
|
|
9250
|
+
dp: (O = W == null ? void 0 : W.dew_point_2m) == null ? void 0 : O.at(E),
|
|
9241
9251
|
precip: {
|
|
9242
|
-
probability: (
|
|
9243
|
-
sum: (
|
|
9252
|
+
probability: (I = W == null ? void 0 : W.precipitation_probability) == null ? void 0 : I.at(E),
|
|
9253
|
+
sum: (L = W == null ? void 0 : W.precipitation) == null ? void 0 : L.at(E),
|
|
9254
|
+
sum1Hours: (z = W == null ? void 0 : W.precipitation) == null ? void 0 : z.at(E),
|
|
9244
9255
|
sum3Hours: Math.round(Be * 100) / 100,
|
|
9245
|
-
sum6Hours: Math.round(Ee * 100) / 100
|
|
9256
|
+
sum6Hours: Math.round(Ee * 100) / 100,
|
|
9257
|
+
sum12Hours: Math.round(j * 100) / 100
|
|
9246
9258
|
},
|
|
9247
|
-
pmsl: (
|
|
9248
|
-
psurf: (
|
|
9249
|
-
code: (
|
|
9250
|
-
visibility: this.m2nm((
|
|
9259
|
+
pmsl: (v = W == null ? void 0 : W.pressure_msl) == null ? void 0 : v.at(E),
|
|
9260
|
+
psurf: (C = W == null ? void 0 : W.surface_pressure) == null ? void 0 : C.at(E),
|
|
9261
|
+
code: (k = W == null ? void 0 : W.weather_code) == null ? void 0 : k.at(E),
|
|
9262
|
+
visibility: this.m2nm((A = W == null ? void 0 : W.visibility) == null ? void 0 : A.at(E)),
|
|
9251
9263
|
wind: {
|
|
9252
|
-
speed: (
|
|
9253
|
-
kts: (
|
|
9254
|
-
degree: (
|
|
9255
|
-
bearing: ((V =
|
|
9256
|
-
gusts: (
|
|
9264
|
+
speed: (N = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : N.at(E),
|
|
9265
|
+
kts: (Z = W == null ? void 0 : W.wind_speed_10m) == null ? void 0 : Z.at(E),
|
|
9266
|
+
degree: (Y = W == null ? void 0 : W.wind_direction_10m) == null ? void 0 : Y.at(E),
|
|
9267
|
+
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: (J = W == null ? void 0 : W.wind_gusts_10m) == null ? void 0 : J.at(E)
|
|
9257
9269
|
},
|
|
9258
|
-
isDay: (
|
|
9270
|
+
isDay: ($ = W == null ? void 0 : W.is_day) == null ? void 0 : $.at(E)
|
|
9259
9271
|
};
|
|
9260
|
-
const { name:
|
|
9261
|
-
ye.name =
|
|
9262
|
-
utc:
|
|
9263
|
-
model:
|
|
9272
|
+
const { name: qe, url: Xe, bg: $e } = this.parseWeatherCode(ye.code, ye.isDay);
|
|
9273
|
+
ye.name = qe, ye.url = Xe, ye.bg = $e, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Ue.push({
|
|
9274
|
+
utc: Oe.add(E, "h").format(),
|
|
9275
|
+
model: We.model,
|
|
9264
9276
|
weather: { ...ye }
|
|
9265
9277
|
});
|
|
9266
9278
|
}
|
|
9267
9279
|
}
|
|
9268
|
-
if (
|
|
9280
|
+
if (oe) {
|
|
9269
9281
|
let Be = 0;
|
|
9270
|
-
for (const Ee of
|
|
9271
|
-
const
|
|
9282
|
+
for (const Ee of oe) {
|
|
9283
|
+
const j = Ee == null ? void 0 : Ee.hourly;
|
|
9272
9284
|
Ie = {
|
|
9273
9285
|
wave: {
|
|
9274
9286
|
sig: {
|
|
9275
|
-
height: (
|
|
9276
|
-
degree: (
|
|
9277
|
-
bearing: ((
|
|
9278
|
-
period: (
|
|
9287
|
+
height: (ne = j == null ? void 0 : j.wave_height) == null ? void 0 : ne.at(E),
|
|
9288
|
+
degree: (se = j == null ? void 0 : j.wave_direction) == null ? void 0 : se.at(E),
|
|
9289
|
+
bearing: ((Q = j == null ? void 0 : j.wave_direction) == null ? void 0 : Q.at(E)) !== null ? (((ae = j == null ? void 0 : j.wave_direction) == null ? void 0 : ae.at(E)) + 180) % 360 : null,
|
|
9290
|
+
period: (he = j == null ? void 0 : j.wave_period) == null ? void 0 : he.at(E)
|
|
9279
9291
|
},
|
|
9280
9292
|
swell: {
|
|
9281
|
-
height: (
|
|
9282
|
-
degree: (
|
|
9283
|
-
bearing: ((
|
|
9284
|
-
period: (
|
|
9285
|
-
peakPeriod: (
|
|
9293
|
+
height: (ce = j == null ? void 0 : j.swell_wave_height) == null ? void 0 : ce.at(E),
|
|
9294
|
+
degree: (pe = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : pe.at(E),
|
|
9295
|
+
bearing: ((ge = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : ge.at(E)) !== null ? (((F = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : F.at(E)) + 180) % 360 : null,
|
|
9296
|
+
period: (me = j == null ? void 0 : j.swell_wave_period) == null ? void 0 : me.at(E),
|
|
9297
|
+
peakPeriod: (ve = j == null ? void 0 : j.swell_wave_peak_period) == null ? void 0 : ve.at(E)
|
|
9286
9298
|
},
|
|
9287
9299
|
wd: {
|
|
9288
|
-
height: (
|
|
9289
|
-
degree: (
|
|
9290
|
-
bearing: ((
|
|
9291
|
-
period: (
|
|
9292
|
-
peakPeriod: (
|
|
9300
|
+
height: (Pe = j == null ? void 0 : j.wind_wave_height) == null ? void 0 : Pe.at(E),
|
|
9301
|
+
degree: (Ce = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Ce.at(E),
|
|
9302
|
+
bearing: ((De = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : De.at(E)) !== null ? (((Ae = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Ae.at(E)) + 180) % 360 : null,
|
|
9303
|
+
period: (Re = j == null ? void 0 : j.wind_wave_period) == null ? void 0 : Re.at(E),
|
|
9304
|
+
peakPeriod: (ke = j == null ? void 0 : j.wind_wave_peak_period) == null ? void 0 : ke.at(E)
|
|
9293
9305
|
}
|
|
9294
9306
|
},
|
|
9295
9307
|
current: {
|
|
9296
|
-
speed: (
|
|
9297
|
-
kts: (
|
|
9298
|
-
degree: (
|
|
9299
|
-
bearing: ((
|
|
9300
|
-
},
|
|
9301
|
-
sst: (
|
|
9302
|
-
height: (
|
|
9303
|
-
}, Ie.wave = this.parseWave(Ie.wave, ye == null ? void 0 : ye.wind), Ie.current.direction = this.degree2Direction(Ie.current.degree), Object.assign(
|
|
9308
|
+
speed: (G = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : G.at(E),
|
|
9309
|
+
kts: (te = j == null ? void 0 : j.ocean_current_velocity) == null ? void 0 : te.at(E),
|
|
9310
|
+
degree: (He = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : He.at(E),
|
|
9311
|
+
bearing: ((Me = j == null ? void 0 : j.ocean_current_direction) == null ? void 0 : Me.at(E)) ?? null
|
|
9312
|
+
},
|
|
9313
|
+
sst: (ue = j == null ? void 0 : j.sea_surface_temperature) == null ? void 0 : ue.at(E),
|
|
9314
|
+
height: (Te = j == null ? void 0 : j.sea_level_height_msl) == null ? void 0 : Te.at(E)
|
|
9315
|
+
}, Ie.wave = this.parseWave(Ie.wave, ye == null ? void 0 : ye.wind), Ie.current.direction = this.degree2Direction(Ie.current.degree), Object.assign(Ue[Be], Ie), Be++;
|
|
9304
9316
|
}
|
|
9305
9317
|
}
|
|
9306
9318
|
}
|
|
9307
|
-
return
|
|
9319
|
+
return Ue;
|
|
9308
9320
|
}
|
|
9309
9321
|
static toLegacy(e) {
|
|
9310
9322
|
var o, i, a, r, l, c, n, u, h, b;
|
|
@@ -9329,14 +9341,14 @@ class Za {
|
|
|
9329
9341
|
};
|
|
9330
9342
|
}
|
|
9331
9343
|
static pickDaily(e, o) {
|
|
9332
|
-
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N,
|
|
9333
|
-
const Re = typeof o == "string" ? S(o) : o,
|
|
9344
|
+
var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Pe, Ce, De, Ae;
|
|
9345
|
+
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)), He = 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 = [];
|
|
9334
9346
|
if (Re.isBetween(te, He, "millisecond", "[]")) {
|
|
9335
|
-
let ue,
|
|
9347
|
+
let ue, Te;
|
|
9336
9348
|
const U = Re.diff(te, "d", !1);
|
|
9337
|
-
if (
|
|
9338
|
-
for (const
|
|
9339
|
-
const oe =
|
|
9349
|
+
if (ke)
|
|
9350
|
+
for (const fe of ke) {
|
|
9351
|
+
const oe = fe.daily;
|
|
9340
9352
|
ue = {
|
|
9341
9353
|
code: (u = oe.weather_code) == null ? void 0 : u.at(U),
|
|
9342
9354
|
temp: {
|
|
@@ -9364,23 +9376,23 @@ class Za {
|
|
|
9364
9376
|
wind: {
|
|
9365
9377
|
speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(U),
|
|
9366
9378
|
kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(U),
|
|
9367
|
-
degree: (
|
|
9368
|
-
gusts: (
|
|
9369
|
-
bearing: ((
|
|
9379
|
+
degree: (Z = oe.wind_direction_10m_dominant) == null ? void 0 : Z.at(U),
|
|
9380
|
+
gusts: (Y = oe.wind_gusts_10m_max) == null ? void 0 : Y.at(U),
|
|
9381
|
+
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
|
|
9370
9382
|
}
|
|
9371
9383
|
};
|
|
9372
|
-
const { name: re, url: Oe, bg:
|
|
9373
|
-
ue.name = re, ue.url = Oe, ue.bg =
|
|
9384
|
+
const { name: re, url: Oe, bg: Ge } = this.parseWeatherCode(ue.code, !0);
|
|
9385
|
+
ue.name = re, ue.url = Oe, ue.bg = Ge, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Me.push({
|
|
9374
9386
|
utc: te.add(U, "d").utc().format(),
|
|
9375
|
-
model:
|
|
9387
|
+
model: fe.model,
|
|
9376
9388
|
weather: { ...ue }
|
|
9377
9389
|
});
|
|
9378
9390
|
}
|
|
9379
9391
|
if (G) {
|
|
9380
|
-
let
|
|
9392
|
+
let fe = 0;
|
|
9381
9393
|
for (const oe of G) {
|
|
9382
9394
|
const re = oe.daily;
|
|
9383
|
-
|
|
9395
|
+
Te = {
|
|
9384
9396
|
wave: {
|
|
9385
9397
|
sig: {
|
|
9386
9398
|
height: (J = re.wave_height_max) == null ? void 0 : J.at(U),
|
|
@@ -9399,12 +9411,12 @@ class Za {
|
|
|
9399
9411
|
wd: {
|
|
9400
9412
|
height: (me = re.wind_wave_height_max) == null ? void 0 : me.at(U),
|
|
9401
9413
|
degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(U),
|
|
9402
|
-
period: (
|
|
9403
|
-
peakPeriod: (
|
|
9414
|
+
period: (Pe = re.wind_wave_period_max) == null ? void 0 : Pe.at(U),
|
|
9415
|
+
peakPeriod: (Ce = re.wind_wave_peak_period_max) == null ? void 0 : Ce.at(U),
|
|
9404
9416
|
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
|
|
9405
9417
|
}
|
|
9406
9418
|
}
|
|
9407
|
-
},
|
|
9419
|
+
}, Te.wave = this.parseWave(Te.wave, ue == null ? void 0 : ue.wind), Object.assign(Me[fe], Te), fe++;
|
|
9408
9420
|
}
|
|
9409
9421
|
}
|
|
9410
9422
|
}
|
|
@@ -9798,7 +9810,7 @@ class Za {
|
|
|
9798
9810
|
*/
|
|
9799
9811
|
static beaufort(e) {
|
|
9800
9812
|
let o = 0;
|
|
9801
|
-
return isNaN(e) || (e = Math.round(e * 10) / 10, e <= 0.2 ? o = 0 : e <= 1.5 ? o = 1 : e <= 3.3 ? o = 2 : e <= 5.4 ? o = 3 : e <= 7.9 ? o = 4 : e <= 10.7 ? o = 5 : e <= 13.8 ? o = 6 : e <= 17.1 ? o = 7 : e <= 20.7 ? o = 8 : e <= 22.4 ? o = 9 : e <= 28.4 ? o = 10 : e <= 32.6 ? o = 11 : e >
|
|
9813
|
+
return isNaN(e) || (e = Math.round(e * 10) / 10, e <= 0.2 ? o = 0 : e <= 1.5 ? o = 1 : e <= 3.3 ? o = 2 : e <= 5.4 ? o = 3 : e <= 7.9 ? o = 4 : e <= 10.7 ? o = 5 : e <= 13.8 ? o = 6 : e <= 17.1 ? o = 7 : e <= 20.7 ? o = 8 : e <= 22.4 ? o = 9 : e <= 28.4 ? o = 10 : e <= 32.6 ? o = 11 : e <= 36.9 ? o = 12 : e <= 41.4 ? o = 13 : e <= 46.1 ? o = 14 : e <= 50.9 ? o = 15 : e <= 55.9 ? o = 16 : e <= 61.2 ? o = 17 : e > 61.2 && (o = 18)), o;
|
|
9802
9814
|
}
|
|
9803
9815
|
/**
|
|
9804
9816
|
* 计算海浪等级
|
|
@@ -9858,7 +9870,7 @@ const sc = {
|
|
|
9858
9870
|
},
|
|
9859
9871
|
emits: ["tropical", "tropicalProbability", "tropicalNotification"],
|
|
9860
9872
|
setup() {
|
|
9861
|
-
return { Theme:
|
|
9873
|
+
return { Theme: Le() };
|
|
9862
9874
|
},
|
|
9863
9875
|
data() {
|
|
9864
9876
|
return {
|
|
@@ -9934,8 +9946,8 @@ const sc = {
|
|
|
9934
9946
|
},
|
|
9935
9947
|
computeBF() {
|
|
9936
9948
|
return function(t) {
|
|
9937
|
-
const e =
|
|
9938
|
-
return
|
|
9949
|
+
const e = Ya.kts2ms(t);
|
|
9950
|
+
return Ya.beaufort(e);
|
|
9939
9951
|
};
|
|
9940
9952
|
},
|
|
9941
9953
|
computeMovement() {
|
|
@@ -10017,7 +10029,7 @@ const sc = {
|
|
|
10017
10029
|
responseType: /\.(jpg|png)$/.test(u.tropicals) ? "blob" : "json"
|
|
10018
10030
|
}).then((h) => {
|
|
10019
10031
|
var _, g, P;
|
|
10020
|
-
const b =
|
|
10032
|
+
const b = Za.convert2Geojson(((_ = h == null ? void 0 : h.data) == null ? void 0 : _.data) || (h == null ? void 0 : h.data));
|
|
10021
10033
|
((P = (g = h == null ? void 0 : h.config) == null ? void 0 : g.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
|
|
10022
10034
|
data: b,
|
|
10023
10035
|
active: !0,
|
|
@@ -10290,7 +10302,7 @@ const sc = {
|
|
|
10290
10302
|
"text-halo-width": 1
|
|
10291
10303
|
}
|
|
10292
10304
|
}, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", w, ", total: ", b += w));
|
|
10293
|
-
const _ =
|
|
10305
|
+
const _ = Za.interpolate(this.tropicals, 1);
|
|
10294
10306
|
this.interpolateData = JSON.parse(JSON.stringify(_)), this.handleDateChange();
|
|
10295
10307
|
}
|
|
10296
10308
|
},
|
|
@@ -10299,7 +10311,7 @@ const sc = {
|
|
|
10299
10311
|
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();
|
|
10300
10312
|
},
|
|
10301
10313
|
handleDateChange() {
|
|
10302
|
-
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, N,
|
|
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, N, Z, Y, V, ee;
|
|
10303
10315
|
if ((t = this.interpolateMarkers) == null || t.forEach((J) => J == null ? void 0 : J.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
10304
10316
|
const J = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((Q) => Q.properties.date === (J == null ? void 0 : J.format()) && !Q.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
|
|
10305
10317
|
ne.forEach((Q) => {
|
|
@@ -10321,7 +10333,7 @@ const sc = {
|
|
|
10321
10333
|
for (const Q of $)
|
|
10322
10334
|
if (!Q.properties.disabled) {
|
|
10323
10335
|
let ae = "#f44336";
|
|
10324
|
-
((c = (l = Q.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = Q.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = Q.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((_ = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? ae = "#f2f202" : ((P = (g = Q.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = Q.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = Q.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((k = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 79 && ((N = (A = Q.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((
|
|
10336
|
+
((c = (l = Q.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = Q.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = Q.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((_ = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? ae = "#f2f202" : ((P = (g = Q.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = Q.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = Q.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((k = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 79 && ((N = (A = Q.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Y = (Z = Q.properties) == null ? void 0 : Z.wind) == null ? void 0 : Y.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
|
|
10325
10337
|
const he = `<svg t="1719918955501"
|
|
10326
10338
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
10327
10339
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -10342,7 +10354,7 @@ const sc = {
|
|
|
10342
10354
|
this.interpolateMarkers.push(pe);
|
|
10343
10355
|
}
|
|
10344
10356
|
} else
|
|
10345
|
-
(
|
|
10357
|
+
(V = this.map) != null && V.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
|
|
10346
10358
|
},
|
|
10347
10359
|
handleClick(t) {
|
|
10348
10360
|
var a, r, l, c, n, u, h, b, w;
|
|
@@ -10677,11 +10689,11 @@ function tm(t, e, o, i, a, r) {
|
|
|
10677
10689
|
_: 1
|
|
10678
10690
|
}),
|
|
10679
10691
|
s("div", Tc, [
|
|
10680
|
-
|
|
10692
|
+
Ze(p(b, { elevation: "16" }, {
|
|
10681
10693
|
default: f(() => [
|
|
10682
10694
|
p(n, null, {
|
|
10683
10695
|
default: f(() => [
|
|
10684
|
-
|
|
10696
|
+
Ze(s("div", Sc, e[6] || (e[6] = [
|
|
10685
10697
|
s("div", { class: "legend d-flex justify-start align-center" }, [
|
|
10686
10698
|
s("div", { class: "icon td" }),
|
|
10687
10699
|
s("div", { class: "label" }, "TD")
|
|
@@ -10707,9 +10719,9 @@ function tm(t, e, o, i, a, r) {
|
|
|
10707
10719
|
s("div", { class: "label" }, "Super TY")
|
|
10708
10720
|
], -1)
|
|
10709
10721
|
]), 512), [
|
|
10710
|
-
[
|
|
10722
|
+
[Ye, a.showLegend]
|
|
10711
10723
|
]),
|
|
10712
|
-
|
|
10724
|
+
Ze(s("div", Mc, e[7] || (e[7] = [
|
|
10713
10725
|
s("div", { class: "legend d-flex justify-start align-center" }, [
|
|
10714
10726
|
s("div", { class: "icon history" }),
|
|
10715
10727
|
s("div", { class: "label" }, "History")
|
|
@@ -10727,7 +10739,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10727
10739
|
s("div", { class: "label" }, "50kts Radii")
|
|
10728
10740
|
], -1)
|
|
10729
10741
|
]), 512), [
|
|
10730
|
-
[
|
|
10742
|
+
[Ye, a.showLegend]
|
|
10731
10743
|
])
|
|
10732
10744
|
]),
|
|
10733
10745
|
_: 1
|
|
@@ -10735,11 +10747,11 @@ function tm(t, e, o, i, a, r) {
|
|
|
10735
10747
|
]),
|
|
10736
10748
|
_: 1
|
|
10737
10749
|
}, 512), [
|
|
10738
|
-
[
|
|
10750
|
+
[Ye, a.showLegend]
|
|
10739
10751
|
])
|
|
10740
10752
|
])
|
|
10741
10753
|
])) : D("", !0),
|
|
10742
|
-
|
|
10754
|
+
Ze(p(b, {
|
|
10743
10755
|
id: "tropicalHoverMarkerInfo",
|
|
10744
10756
|
elevation: "16",
|
|
10745
10757
|
"max-width": "280"
|
|
@@ -10760,7 +10772,7 @@ function tm(t, e, o, i, a, r) {
|
|
|
10760
10772
|
p(_),
|
|
10761
10773
|
p(n, { class: "text-body-1" }, {
|
|
10762
10774
|
default: f(() => {
|
|
10763
|
-
var g, P, T, O, I, L, z, v, C, k, A, N,
|
|
10775
|
+
var g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se;
|
|
10764
10776
|
return [
|
|
10765
10777
|
s("div", Rc, [
|
|
10766
10778
|
((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), M("div", Oc, [
|
|
@@ -10785,13 +10797,13 @@ function tm(t, e, o, i, a, r) {
|
|
|
10785
10797
|
])) : D("", !0),
|
|
10786
10798
|
((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), M("div", Vc, [
|
|
10787
10799
|
s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
|
|
10788
|
-
s("span", null, m(((
|
|
10800
|
+
s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.kts) ?? "-") + " kts", 1)
|
|
10789
10801
|
])) : D("", !0),
|
|
10790
10802
|
s("div", Yc, [
|
|
10791
10803
|
s("label", qc, m(t.$t("weather.pressure")) + " : ", 1),
|
|
10792
|
-
s("span", null, m(((
|
|
10804
|
+
s("span", null, m(((Y = a.hoverPoint) == null ? void 0 : Y.pressure) ?? "-") + " hPa", 1)
|
|
10793
10805
|
]),
|
|
10794
|
-
((
|
|
10806
|
+
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (y(), M("div", Xc, [
|
|
10795
10807
|
s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
10796
10808
|
s("span", null, m(((J = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : J.kts) ?? "-") + " kts", 1)
|
|
10797
10809
|
])) : D("", !0),
|
|
@@ -10811,11 +10823,11 @@ function tm(t, e, o, i, a, r) {
|
|
|
10811
10823
|
]),
|
|
10812
10824
|
_: 1
|
|
10813
10825
|
}, 512), [
|
|
10814
|
-
[
|
|
10826
|
+
[Ye, a.showHoverPoint]
|
|
10815
10827
|
])
|
|
10816
10828
|
]);
|
|
10817
10829
|
}
|
|
10818
|
-
const Xa = /* @__PURE__ */
|
|
10830
|
+
const Xa = /* @__PURE__ */ q(sc, [["render", tm]]);
|
|
10819
10831
|
const om = {
|
|
10820
10832
|
name: "DateTimePicker",
|
|
10821
10833
|
props: {
|
|
@@ -11096,11 +11108,11 @@ function lm(t, e, o, i, a, r) {
|
|
|
11096
11108
|
}, 8, ["class"])) : D("", !0)
|
|
11097
11109
|
], 512);
|
|
11098
11110
|
}
|
|
11099
|
-
const
|
|
11111
|
+
const Ao = /* @__PURE__ */ q(om, [["render", lm]]);
|
|
11100
11112
|
const nm = {
|
|
11101
11113
|
name: "IdmPoint",
|
|
11102
11114
|
components: {
|
|
11103
|
-
DateTimePicker:
|
|
11115
|
+
DateTimePicker: Ao
|
|
11104
11116
|
// DateRangePicker
|
|
11105
11117
|
},
|
|
11106
11118
|
props: {
|
|
@@ -11111,6 +11123,9 @@ const nm = {
|
|
|
11111
11123
|
token: {
|
|
11112
11124
|
type: String
|
|
11113
11125
|
},
|
|
11126
|
+
defaultMeteoToken: {
|
|
11127
|
+
type: String
|
|
11128
|
+
},
|
|
11114
11129
|
theme: {
|
|
11115
11130
|
type: String,
|
|
11116
11131
|
default: "zh"
|
|
@@ -11336,10 +11351,10 @@ const nm = {
|
|
|
11336
11351
|
(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;
|
|
11337
11352
|
},
|
|
11338
11353
|
initTableData(t) {
|
|
11339
|
-
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N,
|
|
11354
|
+
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve;
|
|
11340
11355
|
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;
|
|
11341
11356
|
const e = ((l = Co.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
11342
|
-
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((
|
|
11357
|
+
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 = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.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 = (J = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((Q = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.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;
|
|
11343
11358
|
},
|
|
11344
11359
|
handleBind() {
|
|
11345
11360
|
var t, e;
|
|
@@ -11932,18 +11947,18 @@ function Xm(t, e, o, i, a, r) {
|
|
|
11932
11947
|
]),
|
|
11933
11948
|
_: 1
|
|
11934
11949
|
})) : D("", !0),
|
|
11935
|
-
|
|
11950
|
+
Ze(s("div", Zm, [
|
|
11936
11951
|
(y(), M("svg", Ym, [
|
|
11937
11952
|
s("use", {
|
|
11938
11953
|
"xlink:href": `#icon-spot-${o.theme}`
|
|
11939
11954
|
}, null, 8, qm)
|
|
11940
11955
|
]))
|
|
11941
11956
|
], 512), [
|
|
11942
|
-
[
|
|
11957
|
+
[Ye, a.showMeteo]
|
|
11943
11958
|
])
|
|
11944
11959
|
]);
|
|
11945
11960
|
}
|
|
11946
|
-
const $m = /* @__PURE__ */
|
|
11961
|
+
const $m = /* @__PURE__ */ q(nm, [["render", Xm]]);
|
|
11947
11962
|
const Km = {
|
|
11948
11963
|
name: "IdmMeasure",
|
|
11949
11964
|
props: {
|
|
@@ -11960,7 +11975,7 @@ const Km = {
|
|
|
11960
11975
|
}
|
|
11961
11976
|
},
|
|
11962
11977
|
setup() {
|
|
11963
|
-
return { Theme:
|
|
11978
|
+
return { Theme: Le() };
|
|
11964
11979
|
},
|
|
11965
11980
|
data() {
|
|
11966
11981
|
return {
|
|
@@ -12116,10 +12131,10 @@ const Km = {
|
|
|
12116
12131
|
let o = 0;
|
|
12117
12132
|
const i = [];
|
|
12118
12133
|
for (let a = 1; a < e.length; a++) {
|
|
12119
|
-
const r = e[a - 1], l = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, u = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, h =
|
|
12134
|
+
const r = e[a - 1], l = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, u = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, h = Ve.calculateDistance(n, u, c.mode === "RL", 4), b = Ve.calculateBearing(n, u, c.mode === "RL", 2);
|
|
12120
12135
|
o = X.roundPrecision(o + h, 4);
|
|
12121
12136
|
let w;
|
|
12122
|
-
c.mode === "RL" ? w = X.convertToMonotonicLng([n, u]) : w = X.convertToMonotonicLng(
|
|
12137
|
+
c.mode === "RL" ? w = X.convertToMonotonicLng([n, u]) : w = X.convertToMonotonicLng(Ve.interpolateCoordinates(n, u, 200));
|
|
12123
12138
|
const _ = H.lineString(w.map((P) => [P.lng, P.lat]));
|
|
12124
12139
|
_.properties.dist = h, _.properties.bearing = b, _.properties.total = o, _.properties.name = "Line " + this.currentLineIndex, i.push(_);
|
|
12125
12140
|
const g = e[a];
|
|
@@ -12134,17 +12149,17 @@ const Km = {
|
|
|
12134
12149
|
let r, l;
|
|
12135
12150
|
if (e) {
|
|
12136
12151
|
const n = e.properties, u = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, h = { lng: o.lng, lat: o.lat };
|
|
12137
|
-
r =
|
|
12152
|
+
r = Ve.calculateDistance(u, h, n.mode === "RL", 4), l = Ve.calculateBearing(u, h, n.mode === "RL", 2);
|
|
12138
12153
|
let b;
|
|
12139
|
-
n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(
|
|
12154
|
+
n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ve.interpolateCoordinates(u, h, 200));
|
|
12140
12155
|
const w = H.lineString(b.map((_) => [_.lng, _.lat]));
|
|
12141
12156
|
w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
|
|
12142
12157
|
}
|
|
12143
12158
|
if (i) {
|
|
12144
12159
|
const n = o.properties, u = o, h = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
|
|
12145
|
-
r =
|
|
12160
|
+
r = Ve.calculateDistance(u, h, n.mode === "RL", 4), l = Ve.calculateBearing(u, h, n.mode === "RL", 2);
|
|
12146
12161
|
let b;
|
|
12147
|
-
n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(
|
|
12162
|
+
n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ve.interpolateCoordinates(u, h, 200));
|
|
12148
12163
|
const w = H.lineString(b.map((_) => [_.lng, _.lat]));
|
|
12149
12164
|
w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
|
|
12150
12165
|
}
|
|
@@ -12326,10 +12341,10 @@ function Qm(t, e, o, i, a, r) {
|
|
|
12326
12341
|
], 4)
|
|
12327
12342
|
]);
|
|
12328
12343
|
}
|
|
12329
|
-
const ed = /* @__PURE__ */
|
|
12344
|
+
const ed = /* @__PURE__ */ q(Km, [["render", Qm]]);
|
|
12330
12345
|
const td = {
|
|
12331
12346
|
name: "IdmBottomBar",
|
|
12332
|
-
components: { DateTimePicker:
|
|
12347
|
+
components: { DateTimePicker: Ao },
|
|
12333
12348
|
props: {
|
|
12334
12349
|
menuToggle: {
|
|
12335
12350
|
type: Object,
|
|
@@ -12763,7 +12778,7 @@ function dd(t, e, o, i, a, r) {
|
|
|
12763
12778
|
], 4)
|
|
12764
12779
|
]);
|
|
12765
12780
|
}
|
|
12766
|
-
const hd = /* @__PURE__ */
|
|
12781
|
+
const hd = /* @__PURE__ */ q(td, [["render", dd]]), pd = {
|
|
12767
12782
|
name: "IdmGL4",
|
|
12768
12783
|
components: {
|
|
12769
12784
|
IdmOtherLayer: pl,
|
|
@@ -12881,10 +12896,11 @@ function gd(t, e, o, i, a, r) {
|
|
|
12881
12896
|
ref: "idmSpot",
|
|
12882
12897
|
map: o.map,
|
|
12883
12898
|
token: o.token,
|
|
12899
|
+
"default-meteo-token": a.defaultMeteoToken,
|
|
12884
12900
|
gateway: a.gateway,
|
|
12885
12901
|
"forecast-model": o.forecastModel,
|
|
12886
12902
|
"map-feather": o.mapFeather
|
|
12887
|
-
}, t.$attrs), null, 16, ["map", "token", "gateway", "forecast-model", "map-feather"]),
|
|
12903
|
+
}, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
|
|
12888
12904
|
p(b, B({
|
|
12889
12905
|
ref: "idmBottomBar",
|
|
12890
12906
|
"forecast-model": o.forecastModel,
|
|
@@ -12893,7 +12909,7 @@ function gd(t, e, o, i, a, r) {
|
|
|
12893
12909
|
}, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
12894
12910
|
], 512);
|
|
12895
12911
|
}
|
|
12896
|
-
const fd = /* @__PURE__ */
|
|
12912
|
+
const fd = /* @__PURE__ */ q(pd, [["render", gd]]);
|
|
12897
12913
|
class yd {
|
|
12898
12914
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
12899
12915
|
de(this, "originStyle");
|
|
@@ -12902,7 +12918,7 @@ class yd {
|
|
|
12902
12918
|
de(this, "hi");
|
|
12903
12919
|
de(this, "td");
|
|
12904
12920
|
de(this, "windy");
|
|
12905
|
-
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N,
|
|
12921
|
+
var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, Z, Y, V, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, ve, Pe, Ce, De, Ae, Re, ke, G, te, He, Me, ue, Te, U, fe, oe, re, Oe, Ge, Ue, E, ye, Ie, Be, Ee, j, We, 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;
|
|
12906
12922
|
this.i4 = {
|
|
12907
12923
|
source: {
|
|
12908
12924
|
type: "raster",
|
|
@@ -31555,22 +31571,22 @@ class yd {
|
|
|
31555
31571
|
(v = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
|
|
31556
31572
|
(k = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : k.find((d) => d.id === "water-outline2"),
|
|
31557
31573
|
(N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
|
|
31558
|
-
(
|
|
31559
|
-
(ee = (
|
|
31574
|
+
(Y = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Y.find((d) => d.id === "water-line-label"),
|
|
31575
|
+
(ee = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
|
|
31560
31576
|
($ = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
|
|
31561
31577
|
(se = (ne = this.originStyle) == null ? void 0 : ne.light.layers) == null ? void 0 : se.find((d) => d.id === "ne-10m-outline"),
|
|
31562
31578
|
(ae = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : ae.find((d) => d.id === "ne-10m-label"),
|
|
31563
31579
|
(ce = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : ce.find((d) => d.id === "china-route-line"),
|
|
31564
31580
|
(ge = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ge.find((d) => d.id === "china-route-fill"),
|
|
31565
31581
|
(me = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : me.find((d) => d.id === "china-route-label"),
|
|
31566
|
-
(
|
|
31567
|
-
(De = (
|
|
31582
|
+
(Pe = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Pe.find((d) => d.id === "admin-0-boundary-bg"),
|
|
31583
|
+
(De = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : De.find((d) => d.id === "admin-0-boundary"),
|
|
31568
31584
|
(Re = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : Re.find((d) => d.id === "admin-0-boundary-disputed"),
|
|
31569
|
-
(G = (
|
|
31585
|
+
(G = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
|
|
31570
31586
|
(He = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : He.find((d) => d.id === "continent-label"),
|
|
31571
31587
|
(ue = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : ue.find((d) => d.id === "tide-stations"),
|
|
31572
|
-
(U = (
|
|
31573
|
-
(oe = (
|
|
31588
|
+
(U = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
|
|
31589
|
+
(oe = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
|
|
31574
31590
|
]
|
|
31575
31591
|
},
|
|
31576
31592
|
dark: {
|
|
@@ -31586,21 +31602,21 @@ class yd {
|
|
|
31586
31602
|
range: [0.5, 10]
|
|
31587
31603
|
},
|
|
31588
31604
|
sources: (Oe = this.originStyle) == null ? void 0 : Oe.dark.sources,
|
|
31589
|
-
sprite: (
|
|
31590
|
-
glyphs: (
|
|
31591
|
-
projection: (
|
|
31605
|
+
sprite: (Ge = this.originStyle) == null ? void 0 : Ge.dark.sprite,
|
|
31606
|
+
glyphs: (Ue = this.originStyle) == null ? void 0 : Ue.dark.glyphs,
|
|
31607
|
+
projection: (E = this.originStyle) == null ? void 0 : E.dark.projection,
|
|
31592
31608
|
id: "cmdqwez32005b01re2w0k3zk4",
|
|
31593
31609
|
owner: "neatchenheng",
|
|
31594
31610
|
visibility: "private",
|
|
31595
31611
|
protected: !1,
|
|
31596
31612
|
draft: !1,
|
|
31597
31613
|
layers: [
|
|
31598
|
-
(
|
|
31599
|
-
(
|
|
31600
|
-
(
|
|
31601
|
-
(
|
|
31602
|
-
(
|
|
31603
|
-
(Ke = (
|
|
31614
|
+
(Ie = (ye = this.originStyle) == null ? void 0 : ye.dark.layers) == null ? void 0 : Ie.find((d) => d.id === "land"),
|
|
31615
|
+
(Ee = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : Ee.find((d) => d.id === "water"),
|
|
31616
|
+
(We = (j = this.originStyle) == null ? void 0 : j.dark.layers) == null ? void 0 : We.find((d) => d.id === "ice-area-fill"),
|
|
31617
|
+
(qe = (W = this.originStyle) == null ? void 0 : W.dark.layers) == null ? void 0 : qe.find((d) => d.id === "ice-area-line"),
|
|
31618
|
+
($e = (Xe = this.originStyle) == null ? void 0 : Xe.dark.layers) == null ? void 0 : $e.find((d) => d.id === "loadlines-label"),
|
|
31619
|
+
(Ke = (_e = this.originStyle) == null ? void 0 : _e.dark.layers) == null ? void 0 : Ke.find((d) => d.id === "loadlines-fill"),
|
|
31604
31620
|
(Qe = (Je = this.originStyle) == null ? void 0 : Je.dark.layers) == null ? void 0 : Qe.find((d) => d.id === "empty-layer-0"),
|
|
31605
31621
|
(tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((d) => d.id === "empty-layer-1"),
|
|
31606
31622
|
(at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((d) => d.id === "country-boundaries"),
|
|
@@ -31659,13 +31675,13 @@ class yd {
|
|
|
31659
31675
|
(xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((d) => d.id === "china-route-line"),
|
|
31660
31676
|
(_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((d) => d.id === "china-route-fill"),
|
|
31661
31677
|
(zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((d) => d.id === "china-route-label"),
|
|
31662
|
-
(
|
|
31663
|
-
(
|
|
31664
|
-
(
|
|
31665
|
-
(
|
|
31666
|
-
(
|
|
31667
|
-
(
|
|
31668
|
-
(
|
|
31678
|
+
(Oo = (Ro = this.originStyle) == null ? void 0 : Ro.satellite.layers) == null ? void 0 : Oo.find((d) => d.id === "country-label"),
|
|
31679
|
+
(Eo = (Bo = this.originStyle) == null ? void 0 : Bo.satellite.layers) == null ? void 0 : Eo.find((d) => d.id === "continent-label"),
|
|
31680
|
+
(No = (jo = this.originStyle) == null ? void 0 : jo.satellite.layers) == null ? void 0 : No.find((d) => d.id === "tide-stations"),
|
|
31681
|
+
(Ho = (Fo = this.originStyle) == null ? void 0 : Fo.satellite.layers) == null ? void 0 : Ho.find((d) => d.id === "ice-area-fill"),
|
|
31682
|
+
(Uo = (Go = this.originStyle) == null ? void 0 : Go.satellite.layers) == null ? void 0 : Uo.find((d) => d.id === "ice-area-line"),
|
|
31683
|
+
(Vo = (Wo = this.originStyle) == null ? void 0 : Wo.satellite.layers) == null ? void 0 : Vo.find((d) => d.id === "empty-layer-3"),
|
|
31684
|
+
(Yo = (Zo = this.originStyle) == null ? void 0 : Zo.satellite.layers) == null ? void 0 : Yo.find((d) => d.id === "empty-layer-4")
|
|
31669
31685
|
]
|
|
31670
31686
|
},
|
|
31671
31687
|
nautical: {
|
|
@@ -31725,35 +31741,35 @@ class yd {
|
|
|
31725
31741
|
projection: this.originStyle.light.projection,
|
|
31726
31742
|
sources: this.originStyle.light.sources,
|
|
31727
31743
|
layers: [
|
|
31728
|
-
(
|
|
31729
|
-
(
|
|
31744
|
+
(Xo = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Xo.find((d) => d.id === "land"),
|
|
31745
|
+
(Ko = ($o = this.originStyle) == null ? void 0 : $o.light.layers) == null ? void 0 : Ko.find((d) => d.id === "water"),
|
|
31730
31746
|
this.i4.layer,
|
|
31731
|
-
(
|
|
31732
|
-
(
|
|
31733
|
-
(
|
|
31734
|
-
(
|
|
31735
|
-
(
|
|
31736
|
-
(
|
|
31737
|
-
(
|
|
31738
|
-
(
|
|
31739
|
-
(
|
|
31740
|
-
(
|
|
31747
|
+
(Qo = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : Qo.find((d) => d.id === "ice-area-fill"),
|
|
31748
|
+
(ta = (ea = this.originStyle) == null ? void 0 : ea.light.layers) == null ? void 0 : ta.find((d) => d.id === "ice-area-line"),
|
|
31749
|
+
(aa = (oa = this.originStyle) == null ? void 0 : oa.light.layers) == null ? void 0 : aa.find((d) => d.id === "loadlines-label"),
|
|
31750
|
+
(ra = (ia = this.originStyle) == null ? void 0 : ia.light.layers) == null ? void 0 : ra.find((d) => d.id === "loadlines-fill"),
|
|
31751
|
+
(la = (sa = this.originStyle) == null ? void 0 : sa.light.layers) == null ? void 0 : la.find((d) => d.id === "empty-layer-0"),
|
|
31752
|
+
(ca = (na = this.originStyle) == null ? void 0 : na.light.layers) == null ? void 0 : ca.find((d) => d.id === "empty-layer-1"),
|
|
31753
|
+
(da = (ma = this.originStyle) == null ? void 0 : ma.light.layers) == null ? void 0 : da.find((d) => d.id === "empty-layer-2"),
|
|
31754
|
+
(pa = (ha = this.originStyle) == null ? void 0 : ha.light.layers) == null ? void 0 : pa.find((d) => d.id === "country-boundaries"),
|
|
31755
|
+
(ga = (ua = this.originStyle) == null ? void 0 : ua.light.layers) == null ? void 0 : ga.find((d) => d.id === "water-outline"),
|
|
31756
|
+
(ya = (fa = this.originStyle) == null ? void 0 : fa.light.layers) == null ? void 0 : ya.find((d) => d.id === "water-outline2"),
|
|
31741
31757
|
// this.originStyle?.light.layers?.find((l: { id: string }) => l.id === 'water-line-label'),
|
|
31742
31758
|
// this.originStyle?.light.layers?.find((l: { id: string }) => l.id === 'water-point-label'),
|
|
31743
|
-
(
|
|
31744
|
-
(
|
|
31745
|
-
(
|
|
31746
|
-
(
|
|
31747
|
-
(
|
|
31748
|
-
(
|
|
31749
|
-
(
|
|
31750
|
-
(
|
|
31751
|
-
(
|
|
31752
|
-
(
|
|
31753
|
-
(
|
|
31754
|
-
(
|
|
31755
|
-
(
|
|
31756
|
-
(
|
|
31759
|
+
(wa = (ba = this.originStyle) == null ? void 0 : ba.light.layers) == null ? void 0 : wa.find((d) => d.id === "world-12nm-v4-20231025"),
|
|
31760
|
+
(va = (xa = this.originStyle) == null ? void 0 : xa.light.layers) == null ? void 0 : va.find((d) => d.id === "ne-10m-outline"),
|
|
31761
|
+
(ka = (_a = this.originStyle) == null ? void 0 : _a.light.layers) == null ? void 0 : ka.find((d) => d.id === "ne-10m-label"),
|
|
31762
|
+
(La = (za = this.originStyle) == null ? void 0 : za.light.layers) == null ? void 0 : La.find((d) => d.id === "china-route-line"),
|
|
31763
|
+
(Ca = (Pa = this.originStyle) == null ? void 0 : Pa.light.layers) == null ? void 0 : Ca.find((d) => d.id === "china-route-fill"),
|
|
31764
|
+
(Sa = (Ta = this.originStyle) == null ? void 0 : Ta.light.layers) == null ? void 0 : Sa.find((d) => d.id === "china-route-label"),
|
|
31765
|
+
(Ia = (Ma = this.originStyle) == null ? void 0 : Ma.light.layers) == null ? void 0 : Ia.find((d) => d.id === "admin-0-boundary-bg"),
|
|
31766
|
+
(Aa = (Da = this.originStyle) == null ? void 0 : Da.light.layers) == null ? void 0 : Aa.find((d) => d.id === "admin-0-boundary"),
|
|
31767
|
+
(Oa = (Ra = this.originStyle) == null ? void 0 : Ra.light.layers) == null ? void 0 : Oa.find((d) => d.id === "admin-0-boundary-disputed"),
|
|
31768
|
+
(Ea = (Ba = this.originStyle) == null ? void 0 : Ba.light.layers) == null ? void 0 : Ea.find((d) => d.id === "country-label"),
|
|
31769
|
+
(Na = (ja = this.originStyle) == null ? void 0 : ja.light.layers) == null ? void 0 : Na.find((d) => d.id === "continent-label"),
|
|
31770
|
+
(Ha = (Fa = this.originStyle) == null ? void 0 : Fa.light.layers) == null ? void 0 : Ha.find((d) => d.id === "tide-stations"),
|
|
31771
|
+
(Ua = (Ga = this.originStyle) == null ? void 0 : Ga.light.layers) == null ? void 0 : Ua.find((d) => d.id === "empty-layer-3"),
|
|
31772
|
+
(Va = (Wa = this.originStyle) == null ? void 0 : Wa.light.layers) == null ? void 0 : Va.find((d) => d.id === "empty-layer-4")
|
|
31757
31773
|
]
|
|
31758
31774
|
}
|
|
31759
31775
|
};
|
|
@@ -31912,7 +31928,7 @@ function kd(t, e, o, i, a, r) {
|
|
|
31912
31928
|
])
|
|
31913
31929
|
]);
|
|
31914
31930
|
}
|
|
31915
|
-
const zd = /* @__PURE__ */
|
|
31931
|
+
const zd = /* @__PURE__ */ q(bd, [["render", kd]]);
|
|
31916
31932
|
const Ld = {
|
|
31917
31933
|
name: "DateRangePicker",
|
|
31918
31934
|
props: {
|
|
@@ -32153,22 +32169,22 @@ function Td(t, e, o, i, a, r) {
|
|
|
32153
32169
|
}, 8, ["class"])) : D("", !0)
|
|
32154
32170
|
], 512);
|
|
32155
32171
|
}
|
|
32156
|
-
const Sd = /* @__PURE__ */
|
|
32172
|
+
const Sd = /* @__PURE__ */ q(Ld, [["render", Td]]), Hd = {
|
|
32157
32173
|
install(t) {
|
|
32158
|
-
t.component("MapInitial", zd), t.component("MapboxGL", fd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker",
|
|
32174
|
+
t.component("MapInitial", zd), t.component("MapboxGL", fd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Ao), t.component("DateRangePicker", Sd), t.component("PortDetail", Io);
|
|
32159
32175
|
}
|
|
32160
32176
|
};
|
|
32161
32177
|
export {
|
|
32162
32178
|
Sd as DateRangePicker,
|
|
32163
|
-
|
|
32179
|
+
Ao as DateTimePicker,
|
|
32164
32180
|
qa as LatLngGL,
|
|
32165
32181
|
zd as MapInitial,
|
|
32166
32182
|
fd as MapboxGL,
|
|
32167
32183
|
Hd as MapboxGLPlugin,
|
|
32168
|
-
|
|
32169
|
-
|
|
32184
|
+
ze as ParticleSchema,
|
|
32185
|
+
Io as PortDetail,
|
|
32170
32186
|
Xa as TropicalGL,
|
|
32171
|
-
|
|
32187
|
+
Do as Viewport,
|
|
32172
32188
|
Fe as WebGL,
|
|
32173
32189
|
le as WebGLSchema
|
|
32174
32190
|
};
|