@idmwx/idmui-gl4 0.8.7 → 0.8.8
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 +1193 -932
- package/dist/index.umd.cjs +14 -14
- package/dist/mapbox/src/components/other/loadLines.vue.d.ts +6 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var Ya = Object.defineProperty;
|
|
2
|
+
var Za = (t, e, o) => e in t ? Ya(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
|
+
var ne = (t, e, o) => (Za(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Be from "axios";
|
|
5
5
|
import { useTheme as Ee } from "vuetify";
|
|
6
|
-
import { openBlock as b, createElementBlock as T, resolveComponent as w, withDirectives as He, createBlock as j, withCtx as u, createVNode as
|
|
6
|
+
import { openBlock as b, createElementBlock as T, resolveComponent as w, withDirectives as He, createBlock as j, withCtx as u, createVNode as h, createElementVNode as l, vShow as Ge, toDisplayString as y, createTextVNode as W, normalizeStyle as ae, mergeProps as B, normalizeClass as We, Fragment as ke, renderList as Le, createCommentVNode as O, withModifiers as Xa } from "vue";
|
|
7
7
|
import we from "mapbox-gl";
|
|
8
|
-
import { LngLatHelper as oe, TropicalHelper as
|
|
8
|
+
import { LngLatHelper as oe, TropicalHelper as Ga, LaneHelper as Fe } from "@idm-plugin/geo";
|
|
9
9
|
import * as E from "@turf/turf";
|
|
10
|
-
import { LayerHelper as oo, CompanyHelper as
|
|
10
|
+
import { LayerHelper as oo, CompanyHelper as qa } from "@idm-plugin/tag-nop";
|
|
11
11
|
import D from "moment";
|
|
12
|
-
import
|
|
13
|
-
import { LayerHelper as
|
|
12
|
+
import Ka from "@mapbox/sphericalmercator";
|
|
13
|
+
import { LayerHelper as Qa } from "@idm-plugin/tag";
|
|
14
14
|
import { Meteo2Assist as ao } from "@idm-plugin/meteo";
|
|
15
15
|
const Z = (t, e) => {
|
|
16
16
|
const o = t.__vccOpts || t;
|
|
17
17
|
for (const [i, a] of e)
|
|
18
18
|
o[i] = a;
|
|
19
19
|
return o;
|
|
20
|
-
},
|
|
20
|
+
}, Ja = {
|
|
21
21
|
name: "IdmWarZone",
|
|
22
22
|
props: {
|
|
23
23
|
map: {
|
|
@@ -113,10 +113,10 @@ const Z = (t, e) => {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function
|
|
116
|
+
function $a(t, e, o, i, a, r) {
|
|
117
117
|
return b(), T("div");
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const ei = /* @__PURE__ */ Z(Ja, [["render", $a]]), ti = {
|
|
120
120
|
name: "IdmGmdssArea",
|
|
121
121
|
props: {
|
|
122
122
|
map: {
|
|
@@ -242,10 +242,10 @@ const ja = /* @__PURE__ */ Z(Ba, [["render", Ea]]), Na = {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
function
|
|
245
|
+
function oi(t, e, o, i, a, r) {
|
|
246
246
|
return b(), T("div");
|
|
247
247
|
}
|
|
248
|
-
const
|
|
248
|
+
const ai = /* @__PURE__ */ Z(ti, [["render", oi]]), ii = {
|
|
249
249
|
name: "IdmEcaZone",
|
|
250
250
|
props: {
|
|
251
251
|
map: {
|
|
@@ -343,11 +343,11 @@ const Ha = /* @__PURE__ */ Z(Na, [["render", Fa]]), Wa = {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
function
|
|
346
|
+
function ri(t, e, o, i, a, r) {
|
|
347
347
|
return b(), T("div");
|
|
348
348
|
}
|
|
349
|
-
const
|
|
350
|
-
const
|
|
349
|
+
const li = /* @__PURE__ */ Z(ii, [["render", ri]]);
|
|
350
|
+
const si = {
|
|
351
351
|
name: "IdmAlertZone",
|
|
352
352
|
props: {
|
|
353
353
|
map: {
|
|
@@ -490,19 +490,19 @@ const Va = {
|
|
|
490
490
|
this.map.getCanvas().style.cursor = "grab";
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
},
|
|
494
|
-
function
|
|
493
|
+
}, ni = ["innerHTML"];
|
|
494
|
+
function ci(t, e, o, i, a, r) {
|
|
495
495
|
const s = w("VBtn"), n = w("v-card-text"), c = w("v-card");
|
|
496
496
|
return He((b(), j(c, {
|
|
497
497
|
class: "scroll",
|
|
498
498
|
id: "idm-gl4-zone-info"
|
|
499
499
|
}, {
|
|
500
500
|
default: u(() => [
|
|
501
|
-
|
|
501
|
+
h(n, null, {
|
|
502
502
|
default: u(() => {
|
|
503
503
|
var g;
|
|
504
504
|
return [
|
|
505
|
-
|
|
505
|
+
h(s, {
|
|
506
506
|
icon: "",
|
|
507
507
|
density: "compact",
|
|
508
508
|
variant: "plain",
|
|
@@ -518,7 +518,7 @@ function Za(t, e, o, i, a, r) {
|
|
|
518
518
|
l("div", {
|
|
519
519
|
class: "rich-context",
|
|
520
520
|
innerHTML: (g = a.form) == null ? void 0 : g.name
|
|
521
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, ni)
|
|
522
522
|
];
|
|
523
523
|
}),
|
|
524
524
|
_: 1
|
|
@@ -526,11 +526,11 @@ function Za(t, e, o, i, a, r) {
|
|
|
526
526
|
]),
|
|
527
527
|
_: 1
|
|
528
528
|
}, 512)), [
|
|
529
|
-
[
|
|
529
|
+
[Ge, a.showZone]
|
|
530
530
|
]);
|
|
531
531
|
}
|
|
532
|
-
const
|
|
533
|
-
const
|
|
532
|
+
const mi = /* @__PURE__ */ Z(si, [["render", ci]]);
|
|
533
|
+
const hi = {
|
|
534
534
|
name: "IdmPort",
|
|
535
535
|
props: {
|
|
536
536
|
map: {
|
|
@@ -641,17 +641,17 @@ const qa = {
|
|
|
641
641
|
this.map.getCanvas().style.cursor = "grab";
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
},
|
|
645
|
-
function
|
|
644
|
+
}, di = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, pi = { class: "d-flex justify-start align-center" }, ui = { class: "d-flex justify-start align-center" }, gi = { class: "d-flex justify-start align-center" }, fi = { class: "d-flex justify-start align-center" };
|
|
645
|
+
function yi(t, e, o, i, a, r) {
|
|
646
646
|
const s = w("VBtn"), n = w("v-card-text"), c = w("v-divider"), g = w("v-btn"), p = w("v-card-actions"), d = w("v-card");
|
|
647
647
|
return He((b(), j(d, {
|
|
648
648
|
id: "port-info",
|
|
649
649
|
ref: "idmPortInfo"
|
|
650
650
|
}, {
|
|
651
651
|
default: u(() => [
|
|
652
|
-
|
|
652
|
+
h(n, { class: "pr-8" }, {
|
|
653
653
|
default: u(() => [
|
|
654
|
-
|
|
654
|
+
h(s, {
|
|
655
655
|
icon: "",
|
|
656
656
|
density: "compact",
|
|
657
657
|
variant: "plain",
|
|
@@ -664,20 +664,20 @@ function ti(t, e, o, i, a, r) {
|
|
|
664
664
|
_: 1,
|
|
665
665
|
__: [2]
|
|
666
666
|
}),
|
|
667
|
-
l("div",
|
|
668
|
-
l("div",
|
|
667
|
+
l("div", di, [
|
|
668
|
+
l("div", pi, [
|
|
669
669
|
e[3] || (e[3] = l("label", { class: "opacity-70 pr-1" }, "Name : ", -1)),
|
|
670
670
|
l("span", null, y(a.form.name || "-"), 1)
|
|
671
671
|
]),
|
|
672
|
-
l("div",
|
|
672
|
+
l("div", ui, [
|
|
673
673
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "Position : ", -1)),
|
|
674
674
|
l("span", null, y(r.computeLat(a.form.lat)) + ", " + y(r.computeLng(a.form.lng)), 1)
|
|
675
675
|
]),
|
|
676
|
-
l("div",
|
|
676
|
+
l("div", gi, [
|
|
677
677
|
e[5] || (e[5] = l("label", { class: "opacity-70 pr-1" }, "LoCode : ", -1)),
|
|
678
678
|
l("span", null, y(a.form.loCode || "-"), 1)
|
|
679
679
|
]),
|
|
680
|
-
l("div",
|
|
680
|
+
l("div", fi, [
|
|
681
681
|
e[6] || (e[6] = l("label", { class: "opacity-70 pr-1" }, "Region : ", -1)),
|
|
682
682
|
l("span", null, y(a.form.zoneName || "-"), 1)
|
|
683
683
|
])
|
|
@@ -685,10 +685,10 @@ function ti(t, e, o, i, a, r) {
|
|
|
685
685
|
]),
|
|
686
686
|
_: 1
|
|
687
687
|
}),
|
|
688
|
-
|
|
689
|
-
|
|
688
|
+
h(c),
|
|
689
|
+
h(p, { class: "d-flex justify-end align-center" }, {
|
|
690
690
|
default: u(() => [
|
|
691
|
-
|
|
691
|
+
h(g, {
|
|
692
692
|
variant: "text",
|
|
693
693
|
density: "compact",
|
|
694
694
|
"append-icon": "mdi-chevron-right",
|
|
@@ -696,7 +696,7 @@ function ti(t, e, o, i, a, r) {
|
|
|
696
696
|
onClick: e[1] || (e[1] = (f) => r.handleClickMeteo(a.form))
|
|
697
697
|
}, {
|
|
698
698
|
default: u(() => e[7] || (e[7] = [
|
|
699
|
-
|
|
699
|
+
W(" Meteo Forecast ", -1)
|
|
700
700
|
])),
|
|
701
701
|
_: 1,
|
|
702
702
|
__: [7]
|
|
@@ -707,17 +707,17 @@ function ti(t, e, o, i, a, r) {
|
|
|
707
707
|
]),
|
|
708
708
|
_: 1
|
|
709
709
|
}, 512)), [
|
|
710
|
-
[
|
|
710
|
+
[Ge, a.showInfo]
|
|
711
711
|
]);
|
|
712
712
|
}
|
|
713
|
-
const
|
|
713
|
+
const bi = /* @__PURE__ */ Z(hi, [["render", yi], ["__scopeId", "data-v-9199bd8e"]]), wi = {
|
|
714
714
|
name: "IdmLoadLine",
|
|
715
715
|
props: {
|
|
716
716
|
map: {
|
|
717
717
|
type: Object
|
|
718
718
|
},
|
|
719
|
-
|
|
720
|
-
type:
|
|
719
|
+
show: {
|
|
720
|
+
type: Boolean
|
|
721
721
|
},
|
|
722
722
|
beforeLayer: {
|
|
723
723
|
type: String
|
|
@@ -728,80 +728,33 @@ const oi = /* @__PURE__ */ Z(qa, [["render", ti], ["__scopeId", "data-v-9199bd8e
|
|
|
728
728
|
},
|
|
729
729
|
data() {
|
|
730
730
|
return {
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
lineLabelLayer: "load-line-label-layer"
|
|
731
|
+
layer: "loadlines-fill",
|
|
732
|
+
labelLayer: "loadlines-label"
|
|
734
733
|
};
|
|
735
734
|
},
|
|
736
735
|
watch: {
|
|
737
|
-
|
|
736
|
+
show: {
|
|
738
737
|
handler() {
|
|
739
|
-
this.handleRender();
|
|
738
|
+
this.show ? this.handleRender() : this.handleClear();
|
|
740
739
|
},
|
|
741
740
|
immediate: !0
|
|
742
741
|
}
|
|
743
742
|
},
|
|
744
743
|
methods: {
|
|
745
744
|
handleRender() {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
data: this.line
|
|
749
|
-
}), this.map.addLayer(
|
|
750
|
-
{
|
|
751
|
-
id: this.lineLayer,
|
|
752
|
-
type: "fill",
|
|
753
|
-
source: this.source,
|
|
754
|
-
filter: ["==", "$type", "Polygon"],
|
|
755
|
-
paint: {
|
|
756
|
-
"fill-outline-color": "rgba(255,255,255,0.3)",
|
|
757
|
-
"fill-opacity": 0.6,
|
|
758
|
-
"fill-color": [
|
|
759
|
-
"match",
|
|
760
|
-
["get", "val"],
|
|
761
|
-
"LLGreen",
|
|
762
|
-
"rgba(164, 214, 217, 1)",
|
|
763
|
-
"LLRed",
|
|
764
|
-
"rgba(217, 150, 151, 1)",
|
|
765
|
-
"LLBlue",
|
|
766
|
-
"rgba(53, 121, 194, 1)",
|
|
767
|
-
"#ffffff"
|
|
768
|
-
]
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
this.beforeLayer
|
|
772
|
-
), this.map.addLayer(
|
|
773
|
-
{
|
|
774
|
-
id: this.lineLabelLayer,
|
|
775
|
-
type: "symbol",
|
|
776
|
-
source: this.source,
|
|
777
|
-
filter: ["==", "$type", "Point"],
|
|
778
|
-
layout: {
|
|
779
|
-
"symbol-placement": "point",
|
|
780
|
-
"text-field": "{lbl} (Length < {shipLength}, {start} - {end})",
|
|
781
|
-
"text-rotation-alignment": "viewport",
|
|
782
|
-
"text-offset": [0, 1],
|
|
783
|
-
"text-size": 10,
|
|
784
|
-
"text-allow-overlap": !0,
|
|
785
|
-
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
786
|
-
},
|
|
787
|
-
paint: {
|
|
788
|
-
"text-color": this.Theme.current.value.colors["on-surface"]
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
this.beforeLayer
|
|
792
|
-
))) : setTimeout(() => {
|
|
793
|
-
this.handleRender();
|
|
794
|
-
}, 500);
|
|
745
|
+
var t, e;
|
|
746
|
+
(t = this.map) != null && t.getLayer(this.layer) && this.map.setLayoutProperty(this.layer, "visibility", "visible"), (e = this.map) != null && e.getLayer(this.labelLayer) && this.map.setLayoutProperty(this.labelLayer, "visibility", "visible");
|
|
795
747
|
},
|
|
796
748
|
handleClear() {
|
|
797
|
-
|
|
749
|
+
var t, e;
|
|
750
|
+
(t = this.map) != null && t.getLayer(this.layer) && this.map.setLayoutProperty(this.layer, "visibility", "none"), (e = this.map) != null && e.getLayer(this.labelLayer) && this.map.setLayoutProperty(this.labelLayer, "visibility", "none");
|
|
798
751
|
}
|
|
799
752
|
}
|
|
800
753
|
};
|
|
801
|
-
function
|
|
754
|
+
function xi(t, e, o, i, a, r) {
|
|
802
755
|
return b(), T("div");
|
|
803
756
|
}
|
|
804
|
-
const
|
|
757
|
+
const vi = /* @__PURE__ */ Z(wi, [["render", xi]]), _i = {
|
|
805
758
|
name: "IdmTimezone",
|
|
806
759
|
props: {
|
|
807
760
|
map: {
|
|
@@ -976,10 +929,10 @@ const ri = /* @__PURE__ */ Z(ai, [["render", ii]]), li = {
|
|
|
976
929
|
}
|
|
977
930
|
}
|
|
978
931
|
};
|
|
979
|
-
function
|
|
932
|
+
function ki(t, e, o, i, a, r) {
|
|
980
933
|
return b(), T("div");
|
|
981
934
|
}
|
|
982
|
-
const
|
|
935
|
+
const zi = /* @__PURE__ */ Z(_i, [["render", ki]]), Li = {
|
|
983
936
|
name: "IdmVoluntaryReportingArea",
|
|
984
937
|
props: {
|
|
985
938
|
map: {
|
|
@@ -1073,10 +1026,10 @@ const ni = /* @__PURE__ */ Z(li, [["render", si]]), ci = {
|
|
|
1073
1026
|
}
|
|
1074
1027
|
}
|
|
1075
1028
|
};
|
|
1076
|
-
function
|
|
1029
|
+
function Pi(t, e, o, i, a, r) {
|
|
1077
1030
|
return b(), T("div");
|
|
1078
1031
|
}
|
|
1079
|
-
const
|
|
1032
|
+
const Ci = /* @__PURE__ */ Z(Li, [["render", Pi]]), Si = {
|
|
1080
1033
|
name: "IdmSpecialArea",
|
|
1081
1034
|
props: {
|
|
1082
1035
|
map: {
|
|
@@ -1170,10 +1123,10 @@ const hi = /* @__PURE__ */ Z(ci, [["render", mi]]), di = {
|
|
|
1170
1123
|
}
|
|
1171
1124
|
}
|
|
1172
1125
|
};
|
|
1173
|
-
function
|
|
1126
|
+
function Mi(t, e, o, i, a, r) {
|
|
1174
1127
|
return b(), T("div");
|
|
1175
1128
|
}
|
|
1176
|
-
const
|
|
1129
|
+
const Ti = /* @__PURE__ */ Z(Si, [["render", Mi]]), Ri = {
|
|
1177
1130
|
name: "IdmTerminator",
|
|
1178
1131
|
props: {
|
|
1179
1132
|
map: {
|
|
@@ -1227,10 +1180,10 @@ const ui = /* @__PURE__ */ Z(di, [["render", pi]]), gi = {
|
|
|
1227
1180
|
}
|
|
1228
1181
|
}
|
|
1229
1182
|
};
|
|
1230
|
-
function
|
|
1183
|
+
function Ii(t, e, o, i, a, r) {
|
|
1231
1184
|
return b(), T("div");
|
|
1232
1185
|
}
|
|
1233
|
-
const
|
|
1186
|
+
const Ai = /* @__PURE__ */ Z(Ri, [["render", Ii]]), Di = {
|
|
1234
1187
|
name: "IdmWorld12nm",
|
|
1235
1188
|
props: {
|
|
1236
1189
|
map: {
|
|
@@ -1286,11 +1239,11 @@ const yi = /* @__PURE__ */ Z(gi, [["render", fi]]), bi = {
|
|
|
1286
1239
|
}
|
|
1287
1240
|
}
|
|
1288
1241
|
};
|
|
1289
|
-
function
|
|
1242
|
+
function Oi(t, e, o, i, a, r) {
|
|
1290
1243
|
return null;
|
|
1291
1244
|
}
|
|
1292
|
-
const
|
|
1293
|
-
const
|
|
1245
|
+
const Bi = /* @__PURE__ */ Z(Di, [["render", Oi]]);
|
|
1246
|
+
const Ei = {
|
|
1294
1247
|
name: "IdmWorldMarine",
|
|
1295
1248
|
props: {
|
|
1296
1249
|
map: {
|
|
@@ -1327,10 +1280,10 @@ const vi = {
|
|
|
1327
1280
|
}
|
|
1328
1281
|
}
|
|
1329
1282
|
};
|
|
1330
|
-
function
|
|
1283
|
+
function ji(t, e, o, i, a, r) {
|
|
1331
1284
|
return null;
|
|
1332
1285
|
}
|
|
1333
|
-
const
|
|
1286
|
+
const Ni = /* @__PURE__ */ Z(Ei, [["render", ji]]), Fi = {
|
|
1334
1287
|
name: "IdmChinaRoute",
|
|
1335
1288
|
props: {
|
|
1336
1289
|
map: {
|
|
@@ -1368,11 +1321,11 @@ const ki = /* @__PURE__ */ Z(vi, [["render", _i]]), zi = {
|
|
|
1368
1321
|
}
|
|
1369
1322
|
}
|
|
1370
1323
|
};
|
|
1371
|
-
function
|
|
1324
|
+
function Hi(t, e, o, i, a, r) {
|
|
1372
1325
|
return null;
|
|
1373
1326
|
}
|
|
1374
|
-
const
|
|
1375
|
-
const
|
|
1327
|
+
const Gi = /* @__PURE__ */ Z(Fi, [["render", Hi]]);
|
|
1328
|
+
const Wi = {
|
|
1376
1329
|
name: "IdmTideStations",
|
|
1377
1330
|
props: {
|
|
1378
1331
|
map: {
|
|
@@ -1447,14 +1400,14 @@ const Ci = {
|
|
|
1447
1400
|
this.map.getCanvas().style.cursor = "grab";
|
|
1448
1401
|
}
|
|
1449
1402
|
}
|
|
1450
|
-
},
|
|
1451
|
-
function
|
|
1403
|
+
}, Ui = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Vi = { class: "d-flex justify-start align-center" }, Yi = { class: "d-flex justify-start align-center" }, Zi = { class: "d-flex justify-start align-center" }, Xi = { class: "d-flex justify-start align-center" };
|
|
1404
|
+
function qi(t, e, o, i, a, r) {
|
|
1452
1405
|
const s = w("VBtn"), n = w("v-card-text"), c = w("v-card");
|
|
1453
1406
|
return He((b(), j(c, { id: "tidal-station-info" }, {
|
|
1454
1407
|
default: u(() => [
|
|
1455
|
-
|
|
1408
|
+
h(n, { class: "pr-8" }, {
|
|
1456
1409
|
default: u(() => [
|
|
1457
|
-
|
|
1410
|
+
h(s, {
|
|
1458
1411
|
icon: "",
|
|
1459
1412
|
density: "compact",
|
|
1460
1413
|
variant: "plain",
|
|
@@ -1467,20 +1420,20 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1467
1420
|
_: 1,
|
|
1468
1421
|
__: [1]
|
|
1469
1422
|
}),
|
|
1470
|
-
l("div",
|
|
1471
|
-
l("div",
|
|
1423
|
+
l("div", Ui, [
|
|
1424
|
+
l("div", Vi, [
|
|
1472
1425
|
e[2] || (e[2] = l("label", { class: "opacity-70 pr-1 pr-1" }, "Name : ", -1)),
|
|
1473
1426
|
l("span", null, y(a.form.name), 1)
|
|
1474
1427
|
]),
|
|
1475
|
-
l("div",
|
|
1428
|
+
l("div", Yi, [
|
|
1476
1429
|
e[3] || (e[3] = l("label", { class: "opacity-70 pr-1" }, "Position : ", -1)),
|
|
1477
1430
|
l("span", null, y(r.computeLat(a.form.lat)) + ", " + y(r.computeLng(a.form.lng)), 1)
|
|
1478
1431
|
]),
|
|
1479
|
-
l("div",
|
|
1432
|
+
l("div", Zi, [
|
|
1480
1433
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "LoCode : ", -1)),
|
|
1481
1434
|
l("span", null, y(a.form.Code || "-"), 1)
|
|
1482
1435
|
]),
|
|
1483
|
-
l("div",
|
|
1436
|
+
l("div", Xi, [
|
|
1484
1437
|
e[5] || (e[5] = l("label", { class: "opacity-70 pr-1" }, "Country : ", -1)),
|
|
1485
1438
|
l("span", null, y(a.form.Country || "-"), 1)
|
|
1486
1439
|
])
|
|
@@ -1491,10 +1444,10 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1491
1444
|
]),
|
|
1492
1445
|
_: 1
|
|
1493
1446
|
}, 512)), [
|
|
1494
|
-
[
|
|
1447
|
+
[Ge, a.showInfo]
|
|
1495
1448
|
]);
|
|
1496
1449
|
}
|
|
1497
|
-
const
|
|
1450
|
+
const Ki = /* @__PURE__ */ Z(Wi, [["render", qi], ["__scopeId", "data-v-851cf973"]]), Qi = {
|
|
1498
1451
|
name: "IdmIceAreas",
|
|
1499
1452
|
props: {
|
|
1500
1453
|
map: {
|
|
@@ -1531,11 +1484,11 @@ const Di = /* @__PURE__ */ Z(Ci, [["render", Ri], ["__scopeId", "data-v-851cf973
|
|
|
1531
1484
|
}
|
|
1532
1485
|
}
|
|
1533
1486
|
};
|
|
1534
|
-
function
|
|
1487
|
+
function Ji(t, e, o, i, a, r) {
|
|
1535
1488
|
return null;
|
|
1536
1489
|
}
|
|
1537
|
-
const
|
|
1538
|
-
const
|
|
1490
|
+
const $i = /* @__PURE__ */ Z(Qi, [["render", Ji]]);
|
|
1491
|
+
const er = {
|
|
1539
1492
|
name: "IdmLatLng",
|
|
1540
1493
|
props: {
|
|
1541
1494
|
map: {
|
|
@@ -1705,7 +1658,7 @@ const ji = {
|
|
|
1705
1658
|
}
|
|
1706
1659
|
}
|
|
1707
1660
|
};
|
|
1708
|
-
function
|
|
1661
|
+
function tr(t, e, o, i, a, r) {
|
|
1709
1662
|
var s, n, c;
|
|
1710
1663
|
return b(), T("div", {
|
|
1711
1664
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
@@ -1716,26 +1669,26 @@ function Ni(t, e, o, i, a, r) {
|
|
|
1716
1669
|
l("div", null, y((c = a.lngLat) == null ? void 0 : c.str), 1)
|
|
1717
1670
|
], 4);
|
|
1718
1671
|
}
|
|
1719
|
-
const
|
|
1720
|
-
const
|
|
1672
|
+
const Ua = /* @__PURE__ */ Z(er, [["render", tr]]);
|
|
1673
|
+
const or = {
|
|
1721
1674
|
name: "IdmOtherLayerr",
|
|
1722
1675
|
components: {
|
|
1723
|
-
IdmWarZone:
|
|
1724
|
-
IdmGmdssArea:
|
|
1725
|
-
IdmEcaZone:
|
|
1726
|
-
IdmAlertZone:
|
|
1727
|
-
IdmPort:
|
|
1728
|
-
IdmLoadLine:
|
|
1729
|
-
IdmTimezone:
|
|
1730
|
-
IdmVRA:
|
|
1731
|
-
IdmSpecialArea:
|
|
1732
|
-
IdmTerminator:
|
|
1733
|
-
IdmWorld12nm:
|
|
1734
|
-
IdmWorldMarine:
|
|
1735
|
-
IdmChinaRoute:
|
|
1736
|
-
IdmTideStations:
|
|
1737
|
-
IdmIceAreas:
|
|
1738
|
-
IdmLatLng:
|
|
1676
|
+
IdmWarZone: ei,
|
|
1677
|
+
IdmGmdssArea: ai,
|
|
1678
|
+
IdmEcaZone: li,
|
|
1679
|
+
IdmAlertZone: mi,
|
|
1680
|
+
IdmPort: bi,
|
|
1681
|
+
IdmLoadLine: vi,
|
|
1682
|
+
IdmTimezone: zi,
|
|
1683
|
+
IdmVRA: Ci,
|
|
1684
|
+
IdmSpecialArea: Ti,
|
|
1685
|
+
IdmTerminator: Ai,
|
|
1686
|
+
IdmWorld12nm: Bi,
|
|
1687
|
+
IdmWorldMarine: Ni,
|
|
1688
|
+
IdmChinaRoute: Gi,
|
|
1689
|
+
IdmTideStations: Ki,
|
|
1690
|
+
IdmIceAreas: $i,
|
|
1691
|
+
IdmLatLng: Ua
|
|
1739
1692
|
},
|
|
1740
1693
|
props: {
|
|
1741
1694
|
map: {
|
|
@@ -1937,37 +1890,37 @@ const Fi = {
|
|
|
1937
1890
|
this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
|
|
1938
1891
|
}
|
|
1939
1892
|
}
|
|
1940
|
-
},
|
|
1893
|
+
}, ar = { class: "idm-gl4-other-layer" }, ir = { class: "header-box d-flex justify-space-between align-center px-4" }, rr = { class: "text-h5 font-weight-medium" }, lr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, sr = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, nr = ["onClick"], cr = {
|
|
1941
1894
|
key: 0,
|
|
1942
1895
|
src: "https://osshz.idmwx.com/asset/dark-map.png",
|
|
1943
1896
|
class: "border rounded-sm"
|
|
1944
|
-
},
|
|
1897
|
+
}, mr = {
|
|
1945
1898
|
key: 1,
|
|
1946
1899
|
src: "https://osshz.idmwx.com/asset/nautical-map.png",
|
|
1947
1900
|
class: "border rounded-sm"
|
|
1948
|
-
},
|
|
1901
|
+
}, hr = {
|
|
1949
1902
|
key: 2,
|
|
1950
1903
|
src: "https://osshz.idmwx.com/asset/satellite-map.png",
|
|
1951
1904
|
class: "border rounded-sm"
|
|
1952
|
-
},
|
|
1905
|
+
}, dr = {
|
|
1953
1906
|
key: 3,
|
|
1954
1907
|
src: "https://osshz.idmwx.com/asset/light-map.png",
|
|
1955
1908
|
class: "border rounded-sm"
|
|
1956
|
-
},
|
|
1957
|
-
function
|
|
1958
|
-
var $, ee, Q,
|
|
1959
|
-
const s = w("VBtn"), n = w("VTooltip"), c = w("VCardTitle"), g = w("VCardItem"), p = w("VCheckbox"), d = w("VCardText"), f = w("VCard"), z = w("IdmTideStations"), x = w("IdmIceAreas"), S = w("IdmWorld12nm"), C = w("IdmWorldMarine"), N = w("IdmChinaRoute"), M = w("IdmWarZone"), L = w("IdmGmdssArea"), v = w("IdmEcaZone"), _ = w("IdmAlertZone"), P = w("IdmPort"), k = w("IdmLoadLine"),
|
|
1960
|
-
return b(), T("div",
|
|
1909
|
+
}, pr = { class: "text-body-2 text-center pt-1" };
|
|
1910
|
+
function ur(t, e, o, i, a, r) {
|
|
1911
|
+
var $, ee, Q, se, de, pe, me, K, ie;
|
|
1912
|
+
const s = w("VBtn"), n = w("VTooltip"), c = w("VCardTitle"), g = w("VCardItem"), p = w("VCheckbox"), d = w("VCardText"), f = w("VCard"), z = w("IdmTideStations"), x = w("IdmIceAreas"), S = w("IdmWorld12nm"), C = w("IdmWorldMarine"), N = w("IdmChinaRoute"), M = w("IdmWarZone"), L = w("IdmGmdssArea"), v = w("IdmEcaZone"), _ = w("IdmAlertZone"), P = w("IdmPort"), k = w("IdmLoadLine"), R = w("IdmTimezone"), V = w("IdmVRA"), X = w("IdmSpecialArea"), q = w("IdmTerminator"), Y = w("IdmLatLng");
|
|
1913
|
+
return b(), T("div", ar, [
|
|
1961
1914
|
l("div", {
|
|
1962
1915
|
class: "menu-bar-box transition px-1 rounded",
|
|
1963
1916
|
style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
|
|
1964
1917
|
}, [
|
|
1965
|
-
|
|
1918
|
+
h(n, {
|
|
1966
1919
|
text: t.$t("layer.mapLayers"),
|
|
1967
1920
|
location: "left"
|
|
1968
1921
|
}, {
|
|
1969
1922
|
activator: u(({ props: F }) => [
|
|
1970
|
-
|
|
1923
|
+
h(s, B(F, {
|
|
1971
1924
|
"min-width": "32",
|
|
1972
1925
|
width: "32",
|
|
1973
1926
|
height: "32",
|
|
@@ -1985,12 +1938,12 @@ function Ji(t, e, o, i, a, r) {
|
|
|
1985
1938
|
}, 8, ["text"])
|
|
1986
1939
|
], 4),
|
|
1987
1940
|
l("div", {
|
|
1988
|
-
class:
|
|
1941
|
+
class: We(["available-layers transition", a.toggle ? "right-bar" : ""]),
|
|
1989
1942
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
1990
1943
|
}, [
|
|
1991
|
-
l("div",
|
|
1992
|
-
l("div",
|
|
1993
|
-
|
|
1944
|
+
l("div", ir, [
|
|
1945
|
+
l("div", rr, y(t.$t("layer.layers")), 1),
|
|
1946
|
+
h(s, {
|
|
1994
1947
|
icon: "",
|
|
1995
1948
|
density: "compact",
|
|
1996
1949
|
variant: "plain",
|
|
@@ -2004,46 +1957,46 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2004
1957
|
__: [6]
|
|
2005
1958
|
}, 8, ["onClick"])
|
|
2006
1959
|
]),
|
|
2007
|
-
l("div",
|
|
2008
|
-
|
|
1960
|
+
l("div", lr, [
|
|
1961
|
+
h(f, {
|
|
2009
1962
|
class: "menu-card mx-auto mb-3",
|
|
2010
1963
|
elevation: "0"
|
|
2011
1964
|
}, {
|
|
2012
1965
|
default: u(() => [
|
|
2013
|
-
|
|
1966
|
+
h(g, { class: "border-b-thin" }, {
|
|
2014
1967
|
default: u(() => [
|
|
2015
|
-
|
|
1968
|
+
h(c, {
|
|
2016
1969
|
class: "text-subtitle-1 font-weight-medium",
|
|
2017
1970
|
style: { "font-size": "16px !important" }
|
|
2018
1971
|
}, {
|
|
2019
1972
|
default: u(() => [
|
|
2020
|
-
|
|
1973
|
+
W(y(t.$t("layer.mapFeathers")), 1)
|
|
2021
1974
|
]),
|
|
2022
1975
|
_: 1
|
|
2023
1976
|
})
|
|
2024
1977
|
]),
|
|
2025
1978
|
_: 1
|
|
2026
1979
|
}),
|
|
2027
|
-
|
|
1980
|
+
h(d, { class: "pb-2" }, {
|
|
2028
1981
|
default: u(() => [
|
|
2029
|
-
l("div",
|
|
1982
|
+
l("div", sr, [
|
|
2030
1983
|
(b(!0), T(ke, null, Le(a.mapFeathers, (F) => (b(), T("div", {
|
|
2031
1984
|
key: F.value,
|
|
2032
1985
|
class: "mb-2 feather-item",
|
|
2033
|
-
onClick: (
|
|
1986
|
+
onClick: (le) => r.handleToggleMapFeather(F)
|
|
2034
1987
|
}, [
|
|
2035
1988
|
l("div", {
|
|
2036
|
-
class:
|
|
1989
|
+
class: We([a.mapFeather === F.value ? "active" : "", "img-box"])
|
|
2037
1990
|
}, [
|
|
2038
|
-
F.value === "dark" ? (b(), T("img",
|
|
1991
|
+
F.value === "dark" ? (b(), T("img", cr)) : F.value === "nautical" ? (b(), T("img", mr)) : F.value === "satellite" ? (b(), T("img", hr)) : (b(), T("img", dr))
|
|
2039
1992
|
], 2),
|
|
2040
|
-
l("div",
|
|
2041
|
-
], 8,
|
|
1993
|
+
l("div", pr, y(t.$t(`layer.${F.locale}`)), 1)
|
|
1994
|
+
], 8, nr))), 128))
|
|
2042
1995
|
]),
|
|
2043
1996
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), j(p, {
|
|
2044
1997
|
key: F.key,
|
|
2045
1998
|
modelValue: a.checkList,
|
|
2046
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1999
|
+
"onUpdate:modelValue": e[0] || (e[0] = (le) => a.checkList = le),
|
|
2047
2000
|
value: F.key,
|
|
2048
2001
|
label: t.$t(`layer.${F.locale}`),
|
|
2049
2002
|
color: "primary",
|
|
@@ -2058,31 +2011,31 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2058
2011
|
]),
|
|
2059
2012
|
_: 1
|
|
2060
2013
|
}),
|
|
2061
|
-
|
|
2014
|
+
h(f, {
|
|
2062
2015
|
class: "menu-card mx-auto mb-3",
|
|
2063
2016
|
elevation: "0"
|
|
2064
2017
|
}, {
|
|
2065
2018
|
default: u(() => [
|
|
2066
|
-
|
|
2019
|
+
h(g, { class: "border-b-thin" }, {
|
|
2067
2020
|
default: u(() => [
|
|
2068
|
-
|
|
2021
|
+
h(c, {
|
|
2069
2022
|
class: "text-subtitle-1 font-weight-medium",
|
|
2070
2023
|
style: { "font-size": "16px !important" }
|
|
2071
2024
|
}, {
|
|
2072
2025
|
default: u(() => [
|
|
2073
|
-
|
|
2026
|
+
W(y(t.$t("layer.pointsOfInteresting")), 1)
|
|
2074
2027
|
]),
|
|
2075
2028
|
_: 1
|
|
2076
2029
|
})
|
|
2077
2030
|
]),
|
|
2078
2031
|
_: 1
|
|
2079
2032
|
}),
|
|
2080
|
-
|
|
2033
|
+
h(d, { class: "py-2" }, {
|
|
2081
2034
|
default: u(() => [
|
|
2082
2035
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), j(p, {
|
|
2083
2036
|
key: F.key,
|
|
2084
2037
|
modelValue: a.checkList,
|
|
2085
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2038
|
+
"onUpdate:modelValue": e[1] || (e[1] = (le) => a.checkList = le),
|
|
2086
2039
|
value: F.key,
|
|
2087
2040
|
label: t.$t(`layer.${F.locale}`),
|
|
2088
2041
|
color: "primary",
|
|
@@ -2097,31 +2050,31 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2097
2050
|
]),
|
|
2098
2051
|
_: 1
|
|
2099
2052
|
}),
|
|
2100
|
-
|
|
2053
|
+
h(f, {
|
|
2101
2054
|
class: "menu-card mx-auto mb-3",
|
|
2102
2055
|
elevation: "0"
|
|
2103
2056
|
}, {
|
|
2104
2057
|
default: u(() => [
|
|
2105
|
-
|
|
2058
|
+
h(g, { class: "border-b-thin" }, {
|
|
2106
2059
|
default: u(() => [
|
|
2107
|
-
|
|
2060
|
+
h(c, {
|
|
2108
2061
|
class: "text-subtitle-1 font-weight-medium",
|
|
2109
2062
|
style: { "font-size": "16px !important" }
|
|
2110
2063
|
}, {
|
|
2111
2064
|
default: u(() => [
|
|
2112
|
-
|
|
2065
|
+
W(y(t.$t("layer.otherLayers")), 1)
|
|
2113
2066
|
]),
|
|
2114
2067
|
_: 1
|
|
2115
2068
|
})
|
|
2116
2069
|
]),
|
|
2117
2070
|
_: 1
|
|
2118
2071
|
}),
|
|
2119
|
-
|
|
2072
|
+
h(d, { class: "py-2" }, {
|
|
2120
2073
|
default: u(() => [
|
|
2121
2074
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), j(p, {
|
|
2122
2075
|
key: F.key,
|
|
2123
2076
|
modelValue: a.checkList,
|
|
2124
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
2077
|
+
"onUpdate:modelValue": e[2] || (e[2] = (le) => a.checkList = le),
|
|
2125
2078
|
value: F.key,
|
|
2126
2079
|
label: t.$t(`layer.${F.locale}`),
|
|
2127
2080
|
color: "primary",
|
|
@@ -2136,28 +2089,28 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2136
2089
|
]),
|
|
2137
2090
|
_: 1
|
|
2138
2091
|
}),
|
|
2139
|
-
|
|
2092
|
+
h(f, {
|
|
2140
2093
|
class: "menu-card mx-auto mb-3",
|
|
2141
2094
|
elevation: "0"
|
|
2142
2095
|
}, {
|
|
2143
2096
|
default: u(() => [
|
|
2144
|
-
|
|
2097
|
+
h(g, { class: "border-b-thin" }, {
|
|
2145
2098
|
default: u(() => [
|
|
2146
|
-
|
|
2099
|
+
h(c, {
|
|
2147
2100
|
class: "text-subtitle-1 font-weight-medium",
|
|
2148
2101
|
style: { "font-size": "16px !important" }
|
|
2149
2102
|
}, {
|
|
2150
2103
|
default: u(() => [
|
|
2151
|
-
|
|
2104
|
+
W(y(t.$t("layer.myFollows")), 1)
|
|
2152
2105
|
]),
|
|
2153
2106
|
_: 1
|
|
2154
2107
|
})
|
|
2155
2108
|
]),
|
|
2156
2109
|
_: 1
|
|
2157
2110
|
}),
|
|
2158
|
-
|
|
2111
|
+
h(d, { class: "py-2" }, {
|
|
2159
2112
|
default: u(() => [
|
|
2160
|
-
|
|
2113
|
+
h(p, {
|
|
2161
2114
|
modelValue: a.followList,
|
|
2162
2115
|
"onUpdate:modelValue": e[3] || (e[3] = (F) => a.followList = F),
|
|
2163
2116
|
value: "ports",
|
|
@@ -2168,7 +2121,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2168
2121
|
class: "flex-1-0-100 text-body-2",
|
|
2169
2122
|
"hide-details": ""
|
|
2170
2123
|
}, null, 8, ["modelValue", "label"]),
|
|
2171
|
-
|
|
2124
|
+
h(p, {
|
|
2172
2125
|
modelValue: a.followList,
|
|
2173
2126
|
"onUpdate:modelValue": e[4] || (e[4] = (F) => a.followList = F),
|
|
2174
2127
|
value: "locations",
|
|
@@ -2233,7 +2186,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2233
2186
|
o.map ? (b(), j(_, B({
|
|
2234
2187
|
key: 8,
|
|
2235
2188
|
map: o.map,
|
|
2236
|
-
zone: (
|
|
2189
|
+
zone: (se = a.otherLayers) == null ? void 0 : se["alert-zones"]
|
|
2237
2190
|
}, t.$attrs, {
|
|
2238
2191
|
"before-layer": "empty-layer-3",
|
|
2239
2192
|
theme: o.theme
|
|
@@ -2247,27 +2200,27 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2247
2200
|
o.map ? (b(), j(k, B({
|
|
2248
2201
|
key: 10,
|
|
2249
2202
|
map: o.map,
|
|
2250
|
-
|
|
2251
|
-
}, t.$attrs), null, 16, ["map", "
|
|
2252
|
-
o.map ? (b(), j(
|
|
2203
|
+
show: a.checkList.includes("load-lines")
|
|
2204
|
+
}, t.$attrs), null, 16, ["map", "show"])) : O("", !0),
|
|
2205
|
+
o.map ? (b(), j(R, B({
|
|
2253
2206
|
key: 11,
|
|
2254
2207
|
map: o.map,
|
|
2255
|
-
zone: (
|
|
2208
|
+
zone: (pe = a.otherLayers) == null ? void 0 : pe["time-zones"]
|
|
2256
2209
|
}, t.$attrs), null, 16, ["map", "zone"])) : O("", !0),
|
|
2257
2210
|
o.map ? (b(), j(V, B({
|
|
2258
2211
|
key: 12,
|
|
2259
2212
|
map: o.map,
|
|
2260
|
-
area: (
|
|
2213
|
+
area: (me = a.otherLayers) == null ? void 0 : me["voluntary-reporting-area"]
|
|
2261
2214
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2262
2215
|
o.map ? (b(), j(X, B({
|
|
2263
2216
|
key: 13,
|
|
2264
2217
|
map: o.map,
|
|
2265
|
-
area: (
|
|
2218
|
+
area: (K = a.otherLayers) == null ? void 0 : K["special-area"]
|
|
2266
2219
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2267
2220
|
o.map ? (b(), j(q, B({
|
|
2268
2221
|
key: 14,
|
|
2269
2222
|
map: o.map,
|
|
2270
|
-
area: (
|
|
2223
|
+
area: (ie = a.otherLayers) == null ? void 0 : ie["day-night"]
|
|
2271
2224
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2272
2225
|
o.map ? (b(), j(Y, B({
|
|
2273
2226
|
key: 15,
|
|
@@ -2277,19 +2230,19 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2277
2230
|
}, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : O("", !0)
|
|
2278
2231
|
]);
|
|
2279
2232
|
}
|
|
2280
|
-
const
|
|
2233
|
+
const gr = /* @__PURE__ */ Z(or, [["render", ur]]);
|
|
2281
2234
|
class io {
|
|
2282
2235
|
constructor(e) {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
this.map = e, this.mercator = new
|
|
2236
|
+
ne(this, "map");
|
|
2237
|
+
ne(this, "mercator");
|
|
2238
|
+
ne(this, "rampColorLayer");
|
|
2239
|
+
ne(this, "rampColorSource");
|
|
2240
|
+
ne(this, "particleLayer");
|
|
2241
|
+
ne(this, "particleSource");
|
|
2242
|
+
ne(this, "rampColorCanvas");
|
|
2243
|
+
ne(this, "particleCanvas");
|
|
2244
|
+
ne(this, "ratio");
|
|
2245
|
+
this.map = e, this.mercator = new Ka(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
|
|
2293
2246
|
}
|
|
2294
2247
|
/**
|
|
2295
2248
|
* 转换为[-180, 180]的经度,且包含转换次数
|
|
@@ -2566,7 +2519,7 @@ class Ne {
|
|
|
2566
2519
|
class ce {
|
|
2567
2520
|
}
|
|
2568
2521
|
// 顶点渲染
|
|
2569
|
-
|
|
2522
|
+
ne(ce, "vertexSchema", `
|
|
2570
2523
|
//canvas 坐标系上的坐标 (x, y)
|
|
2571
2524
|
attribute vec2 a_position; //像素坐标
|
|
2572
2525
|
attribute vec2 a_texCoord; //纹理坐标
|
|
@@ -2581,7 +2534,7 @@ se(ce, "vertexSchema", `
|
|
|
2581
2534
|
gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
|
|
2582
2535
|
v_texCoord = a_texCoord;
|
|
2583
2536
|
}`), // 类如风、流等u v双变量片元渲染
|
|
2584
|
-
|
|
2537
|
+
ne(ce, "uvFragmentSchema", `
|
|
2585
2538
|
precision mediump float;
|
|
2586
2539
|
uniform sampler2D u_image;
|
|
2587
2540
|
uniform vec2 u_range_u_v;
|
|
@@ -2601,7 +2554,7 @@ se(ce, "uvFragmentSchema", `
|
|
|
2601
2554
|
|
|
2602
2555
|
gl_FragColor = color;
|
|
2603
2556
|
}`), // 类如浪、气压等单变量片元渲染
|
|
2604
|
-
|
|
2557
|
+
ne(ce, "fragmentSchema", `
|
|
2605
2558
|
precision mediump float;
|
|
2606
2559
|
uniform sampler2D u_image; // 灰度
|
|
2607
2560
|
uniform sampler2D u_color; // 色值映射
|
|
@@ -2614,7 +2567,7 @@ se(ce, "fragmentSchema", `
|
|
|
2614
2567
|
}`);
|
|
2615
2568
|
class be {
|
|
2616
2569
|
}
|
|
2617
|
-
|
|
2570
|
+
ne(be, "vertexSchema", `
|
|
2618
2571
|
precision mediump float;
|
|
2619
2572
|
|
|
2620
2573
|
attribute float a_index; // 索引
|
|
@@ -2638,7 +2591,7 @@ se(be, "vertexSchema", `
|
|
|
2638
2591
|
gl_PointSize = 1.0;
|
|
2639
2592
|
// gl_PointSize = u_point;
|
|
2640
2593
|
gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
|
|
2641
|
-
}`),
|
|
2594
|
+
}`), ne(be, "fragmentSchema", `
|
|
2642
2595
|
precision mediump float;
|
|
2643
2596
|
|
|
2644
2597
|
uniform sampler2D u_factor;
|
|
@@ -2660,7 +2613,7 @@ se(be, "vertexSchema", `
|
|
|
2660
2613
|
|
|
2661
2614
|
float f = 1.0 - uv.b;
|
|
2662
2615
|
gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
|
|
2663
|
-
}`),
|
|
2616
|
+
}`), ne(be, "quadVertSchema", `
|
|
2664
2617
|
precision mediump float;
|
|
2665
2618
|
|
|
2666
2619
|
attribute vec2 a_pos;
|
|
@@ -2670,7 +2623,7 @@ se(be, "vertexSchema", `
|
|
|
2670
2623
|
void main() {
|
|
2671
2624
|
v_tex_pos = a_pos;
|
|
2672
2625
|
gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
|
|
2673
|
-
}`),
|
|
2626
|
+
}`), ne(be, "screenFragmentSchema", `
|
|
2674
2627
|
precision mediump float;
|
|
2675
2628
|
|
|
2676
2629
|
uniform sampler2D u_screen;
|
|
@@ -2682,7 +2635,7 @@ se(be, "vertexSchema", `
|
|
|
2682
2635
|
vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
|
|
2683
2636
|
// a hack to guarantee opacity fade out even with a value close to 1.0
|
|
2684
2637
|
gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
|
|
2685
|
-
}`),
|
|
2638
|
+
}`), ne(be, "updateFragmentSchema", `
|
|
2686
2639
|
precision mediump float;
|
|
2687
2640
|
|
|
2688
2641
|
uniform sampler2D u_particles;
|
|
@@ -2761,7 +2714,7 @@ se(be, "vertexSchema", `
|
|
|
2761
2714
|
fract(pos * 255.0),
|
|
2762
2715
|
floor(pos * 255.0) / 255.0);
|
|
2763
2716
|
}`);
|
|
2764
|
-
const
|
|
2717
|
+
const fr = {
|
|
2765
2718
|
"000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
|
|
2766
2719
|
"002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
|
|
2767
2720
|
"005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
|
|
@@ -2785,7 +2738,7 @@ const er = {
|
|
|
2785
2738
|
"095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
|
|
2786
2739
|
"100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
|
|
2787
2740
|
"105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
|
|
2788
|
-
},
|
|
2741
|
+
}, yr = {
|
|
2789
2742
|
name: "IdmWindBarb",
|
|
2790
2743
|
props: {
|
|
2791
2744
|
map: {
|
|
@@ -2821,7 +2774,7 @@ const er = {
|
|
|
2821
2774
|
right: 10,
|
|
2822
2775
|
bottom: 125,
|
|
2823
2776
|
windBarbLoaded: !1,
|
|
2824
|
-
svgs:
|
|
2777
|
+
svgs: fr
|
|
2825
2778
|
};
|
|
2826
2779
|
},
|
|
2827
2780
|
computed: {
|
|
@@ -2928,11 +2881,11 @@ const er = {
|
|
|
2928
2881
|
}
|
|
2929
2882
|
}
|
|
2930
2883
|
};
|
|
2931
|
-
function
|
|
2884
|
+
function br(t, e, o, i, a, r) {
|
|
2932
2885
|
return null;
|
|
2933
2886
|
}
|
|
2934
|
-
const
|
|
2935
|
-
const
|
|
2887
|
+
const wr = /* @__PURE__ */ Z(yr, [["render", br]]);
|
|
2888
|
+
const xr = {
|
|
2936
2889
|
name: "IdmWindParticle",
|
|
2937
2890
|
props: {
|
|
2938
2891
|
factor: {
|
|
@@ -3098,10 +3051,10 @@ const ir = {
|
|
|
3098
3051
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
3099
3052
|
}
|
|
3100
3053
|
}
|
|
3101
|
-
},
|
|
3102
|
-
function
|
|
3054
|
+
}, vr = { key: 0 };
|
|
3055
|
+
function _r(t, e, o, i, a, r) {
|
|
3103
3056
|
var s;
|
|
3104
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3057
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", vr, [
|
|
3105
3058
|
l("div", {
|
|
3106
3059
|
class: "legend-bars-gl4 wind",
|
|
3107
3060
|
style: ae({ right: a.right + "px" })
|
|
@@ -3117,7 +3070,7 @@ function lr(t, e, o, i, a, r) {
|
|
|
3117
3070
|
]), 4)
|
|
3118
3071
|
])) : O("", !0);
|
|
3119
3072
|
}
|
|
3120
|
-
const
|
|
3073
|
+
const kr = /* @__PURE__ */ Z(xr, [["render", _r]]), zr = {
|
|
3121
3074
|
name: "IdmCurrent",
|
|
3122
3075
|
props: {
|
|
3123
3076
|
map: {
|
|
@@ -3275,11 +3228,11 @@ const sr = /* @__PURE__ */ Z(ir, [["render", lr]]), nr = {
|
|
|
3275
3228
|
}
|
|
3276
3229
|
}
|
|
3277
3230
|
};
|
|
3278
|
-
function
|
|
3231
|
+
function Lr(t, e, o, i, a, r) {
|
|
3279
3232
|
return null;
|
|
3280
3233
|
}
|
|
3281
|
-
const
|
|
3282
|
-
const
|
|
3234
|
+
const Pr = /* @__PURE__ */ Z(zr, [["render", Lr]]);
|
|
3235
|
+
const Cr = {
|
|
3283
3236
|
name: "IdmCurrentParticle",
|
|
3284
3237
|
props: {
|
|
3285
3238
|
factor: {
|
|
@@ -3442,10 +3395,10 @@ const hr = {
|
|
|
3442
3395
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
3443
3396
|
}
|
|
3444
3397
|
}
|
|
3445
|
-
},
|
|
3446
|
-
function
|
|
3398
|
+
}, Sr = { key: 0 };
|
|
3399
|
+
function Mr(t, e, o, i, a, r) {
|
|
3447
3400
|
var s;
|
|
3448
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3401
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Sr, [
|
|
3449
3402
|
l("div", {
|
|
3450
3403
|
class: "legend-bars-gl4 current",
|
|
3451
3404
|
style: ae({ right: a.right + "px" })
|
|
@@ -3460,8 +3413,8 @@ function pr(t, e, o, i, a, r) {
|
|
|
3460
3413
|
]), 4)
|
|
3461
3414
|
])) : O("", !0);
|
|
3462
3415
|
}
|
|
3463
|
-
const
|
|
3464
|
-
const
|
|
3416
|
+
const Tr = /* @__PURE__ */ Z(Cr, [["render", Mr]]);
|
|
3417
|
+
const Rr = {
|
|
3465
3418
|
name: "IdmTemp",
|
|
3466
3419
|
props: {
|
|
3467
3420
|
factor: {
|
|
@@ -3570,10 +3523,10 @@ const gr = {
|
|
|
3570
3523
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
3571
3524
|
}
|
|
3572
3525
|
}
|
|
3573
|
-
},
|
|
3574
|
-
function
|
|
3526
|
+
}, Ir = { key: 0 };
|
|
3527
|
+
function Ar(t, e, o, i, a, r) {
|
|
3575
3528
|
var s;
|
|
3576
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3529
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Ir, [
|
|
3577
3530
|
l("div", {
|
|
3578
3531
|
class: "legend-bars-gl4 sig-wave",
|
|
3579
3532
|
style: ae({ right: a.right + "px" })
|
|
@@ -3588,7 +3541,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
3588
3541
|
]), 4)
|
|
3589
3542
|
])) : O("", !0);
|
|
3590
3543
|
}
|
|
3591
|
-
const
|
|
3544
|
+
const Dr = /* @__PURE__ */ Z(Rr, [["render", Ar], ["__scopeId", "data-v-79ce70e2"]]), Or = {
|
|
3592
3545
|
name: "IdmSigWave",
|
|
3593
3546
|
props: {
|
|
3594
3547
|
map: {
|
|
@@ -3737,10 +3690,10 @@ const br = /* @__PURE__ */ Z(gr, [["render", yr], ["__scopeId", "data-v-79ce70e2
|
|
|
3737
3690
|
}
|
|
3738
3691
|
}
|
|
3739
3692
|
};
|
|
3740
|
-
function
|
|
3693
|
+
function Br(t, e, o, i, a, r) {
|
|
3741
3694
|
return null;
|
|
3742
3695
|
}
|
|
3743
|
-
const
|
|
3696
|
+
const Er = /* @__PURE__ */ Z(Or, [["render", Br]]), jr = {
|
|
3744
3697
|
name: "IdmSwell",
|
|
3745
3698
|
props: {
|
|
3746
3699
|
map: {
|
|
@@ -3891,10 +3844,10 @@ const vr = /* @__PURE__ */ Z(wr, [["render", xr]]), _r = {
|
|
|
3891
3844
|
}
|
|
3892
3845
|
}
|
|
3893
3846
|
};
|
|
3894
|
-
function
|
|
3847
|
+
function Nr(t, e, o, i, a, r) {
|
|
3895
3848
|
return b(), T("div");
|
|
3896
3849
|
}
|
|
3897
|
-
const
|
|
3850
|
+
const Fr = /* @__PURE__ */ Z(jr, [["render", Nr]]), Hr = {
|
|
3898
3851
|
name: "IdmPrmsl",
|
|
3899
3852
|
props: {
|
|
3900
3853
|
map: {
|
|
@@ -4045,24 +3998,24 @@ const zr = /* @__PURE__ */ Z(_r, [["render", kr]]), Lr = {
|
|
|
4045
3998
|
this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
4046
3999
|
}
|
|
4047
4000
|
}
|
|
4048
|
-
},
|
|
4001
|
+
}, Gr = {
|
|
4049
4002
|
key: 0,
|
|
4050
4003
|
class: "legend-tip-btn-gl4"
|
|
4051
4004
|
};
|
|
4052
|
-
function
|
|
4005
|
+
function Wr(t, e, o, i, a, r) {
|
|
4053
4006
|
var c;
|
|
4054
4007
|
const s = w("VBtn"), n = w("VTooltip");
|
|
4055
|
-
return (c = o.prmsl) != null && c.active ? (b(), T("div",
|
|
4008
|
+
return (c = o.prmsl) != null && c.active ? (b(), T("div", Gr, [
|
|
4056
4009
|
l("div", {
|
|
4057
4010
|
class: "menu-bar-box pa-1 rounded",
|
|
4058
4011
|
style: ae({ right: a.right + "px" })
|
|
4059
4012
|
}, [
|
|
4060
|
-
|
|
4013
|
+
h(n, {
|
|
4061
4014
|
text: "Map Layers",
|
|
4062
4015
|
location: "left"
|
|
4063
4016
|
}, {
|
|
4064
4017
|
activator: u(({ props: g }) => [
|
|
4065
|
-
|
|
4018
|
+
h(s, B(g, {
|
|
4066
4019
|
"min-width": "32",
|
|
4067
4020
|
width: "32",
|
|
4068
4021
|
height: "32",
|
|
@@ -4082,8 +4035,8 @@ function Cr(t, e, o, i, a, r) {
|
|
|
4082
4035
|
], 4)
|
|
4083
4036
|
])) : O("", !0);
|
|
4084
4037
|
}
|
|
4085
|
-
const
|
|
4086
|
-
const
|
|
4038
|
+
const Ur = /* @__PURE__ */ Z(Hr, [["render", Wr]]);
|
|
4039
|
+
const Vr = {
|
|
4087
4040
|
name: "IdmIceEdge",
|
|
4088
4041
|
props: {
|
|
4089
4042
|
factor: {
|
|
@@ -4184,10 +4137,10 @@ const Mr = {
|
|
|
4184
4137
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4185
4138
|
}
|
|
4186
4139
|
}
|
|
4187
|
-
},
|
|
4188
|
-
function
|
|
4140
|
+
}, Yr = { key: 0 };
|
|
4141
|
+
function Zr(t, e, o, i, a, r) {
|
|
4189
4142
|
var s;
|
|
4190
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4143
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Yr, [
|
|
4191
4144
|
l("div", {
|
|
4192
4145
|
class: "legend-bars-gl4 ice-edge",
|
|
4193
4146
|
style: ae({ right: a.right + "px" })
|
|
@@ -4207,8 +4160,8 @@ function Ir(t, e, o, i, a, r) {
|
|
|
4207
4160
|
]), 4)
|
|
4208
4161
|
])) : O("", !0);
|
|
4209
4162
|
}
|
|
4210
|
-
const
|
|
4211
|
-
const
|
|
4163
|
+
const Xr = /* @__PURE__ */ Z(Vr, [["render", Zr]]);
|
|
4164
|
+
const qr = {
|
|
4212
4165
|
name: "IdmCover",
|
|
4213
4166
|
props: {
|
|
4214
4167
|
factor: {
|
|
@@ -4300,10 +4253,10 @@ const Rr = {
|
|
|
4300
4253
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4301
4254
|
}
|
|
4302
4255
|
}
|
|
4303
|
-
},
|
|
4304
|
-
function
|
|
4256
|
+
}, Kr = { key: 0 };
|
|
4257
|
+
function Qr(t, e, o, i, a, r) {
|
|
4305
4258
|
var s;
|
|
4306
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4259
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Kr, [
|
|
4307
4260
|
l("div", {
|
|
4308
4261
|
class: "legend-bars-gl4 ice-cover",
|
|
4309
4262
|
style: ae({ right: a.right + "px" })
|
|
@@ -4317,8 +4270,8 @@ function Or(t, e, o, i, a, r) {
|
|
|
4317
4270
|
]), 4)
|
|
4318
4271
|
])) : O("", !0);
|
|
4319
4272
|
}
|
|
4320
|
-
const
|
|
4321
|
-
const
|
|
4273
|
+
const Jr = /* @__PURE__ */ Z(qr, [["render", Qr], ["__scopeId", "data-v-9696d73b"]]);
|
|
4274
|
+
const $r = {
|
|
4322
4275
|
name: "IdmThickness",
|
|
4323
4276
|
props: {
|
|
4324
4277
|
factor: {
|
|
@@ -4418,10 +4371,10 @@ const Er = {
|
|
|
4418
4371
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4419
4372
|
}
|
|
4420
4373
|
}
|
|
4421
|
-
},
|
|
4422
|
-
function
|
|
4374
|
+
}, el = { key: 0 };
|
|
4375
|
+
function tl(t, e, o, i, a, r) {
|
|
4423
4376
|
var s;
|
|
4424
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4377
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", el, [
|
|
4425
4378
|
l("div", {
|
|
4426
4379
|
class: "legend-bars-gl4 ice-thickness",
|
|
4427
4380
|
style: ae({ right: a.right + "px" })
|
|
@@ -4436,8 +4389,8 @@ function Nr(t, e, o, i, a, r) {
|
|
|
4436
4389
|
]), 4)
|
|
4437
4390
|
])) : O("", !0);
|
|
4438
4391
|
}
|
|
4439
|
-
const
|
|
4440
|
-
const
|
|
4392
|
+
const ol = /* @__PURE__ */ Z($r, [["render", tl]]);
|
|
4393
|
+
const al = {
|
|
4441
4394
|
name: "IdmPrecip3h",
|
|
4442
4395
|
props: {
|
|
4443
4396
|
factor: {
|
|
@@ -4538,10 +4491,10 @@ const Hr = {
|
|
|
4538
4491
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4539
4492
|
}
|
|
4540
4493
|
}
|
|
4541
|
-
},
|
|
4542
|
-
function
|
|
4494
|
+
}, il = { key: 0 };
|
|
4495
|
+
function rl(t, e, o, i, a, r) {
|
|
4543
4496
|
var s;
|
|
4544
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4497
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", il, [
|
|
4545
4498
|
l("div", {
|
|
4546
4499
|
class: "legend-bars-gl4 precip3h",
|
|
4547
4500
|
style: ae({ right: a.right + "px" })
|
|
@@ -4557,8 +4510,8 @@ function Gr(t, e, o, i, a, r) {
|
|
|
4557
4510
|
]), 4)
|
|
4558
4511
|
])) : O("", !0);
|
|
4559
4512
|
}
|
|
4560
|
-
const
|
|
4561
|
-
const
|
|
4513
|
+
const ll = /* @__PURE__ */ Z(al, [["render", rl]]);
|
|
4514
|
+
const sl = {
|
|
4562
4515
|
name: "IdmVisibility",
|
|
4563
4516
|
props: {
|
|
4564
4517
|
factor: {
|
|
@@ -4649,10 +4602,10 @@ const Vr = {
|
|
|
4649
4602
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4650
4603
|
}
|
|
4651
4604
|
}
|
|
4652
|
-
},
|
|
4653
|
-
function
|
|
4605
|
+
}, nl = { key: 0 };
|
|
4606
|
+
function cl(t, e, o, i, a, r) {
|
|
4654
4607
|
var s;
|
|
4655
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4608
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", nl, [
|
|
4656
4609
|
l("div", {
|
|
4657
4610
|
class: "legend-bars-gl4 visibility",
|
|
4658
4611
|
style: ae({ right: a.right + "px" })
|
|
@@ -4666,8 +4619,8 @@ function Zr(t, e, o, i, a, r) {
|
|
|
4666
4619
|
]), 4)
|
|
4667
4620
|
])) : O("", !0);
|
|
4668
4621
|
}
|
|
4669
|
-
const
|
|
4670
|
-
const
|
|
4622
|
+
const ml = /* @__PURE__ */ Z(sl, [["render", cl]]);
|
|
4623
|
+
const hl = {
|
|
4671
4624
|
name: "IdmWaterTemp",
|
|
4672
4625
|
props: {
|
|
4673
4626
|
factor: {
|
|
@@ -4761,10 +4714,10 @@ const qr = {
|
|
|
4761
4714
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4762
4715
|
}
|
|
4763
4716
|
}
|
|
4764
|
-
},
|
|
4765
|
-
function
|
|
4717
|
+
}, dl = { key: 0 };
|
|
4718
|
+
function pl(t, e, o, i, a, r) {
|
|
4766
4719
|
var s;
|
|
4767
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4720
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", dl, [
|
|
4768
4721
|
l("div", {
|
|
4769
4722
|
class: "legend-bars-gl4 water-temp",
|
|
4770
4723
|
style: ae({ right: a.right + "px" })
|
|
@@ -4778,8 +4731,8 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4778
4731
|
]), 4)
|
|
4779
4732
|
])) : O("", !0);
|
|
4780
4733
|
}
|
|
4781
|
-
const
|
|
4782
|
-
const
|
|
4734
|
+
const ul = /* @__PURE__ */ Z(hl, [["render", pl]]);
|
|
4735
|
+
const gl = {
|
|
4783
4736
|
name: "IdmTemp",
|
|
4784
4737
|
props: {
|
|
4785
4738
|
factor: {
|
|
@@ -4884,10 +4837,10 @@ const $r = {
|
|
|
4884
4837
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4885
4838
|
}
|
|
4886
4839
|
}
|
|
4887
|
-
},
|
|
4888
|
-
function
|
|
4840
|
+
}, fl = { key: 0 };
|
|
4841
|
+
function yl(t, e, o, i, a, r) {
|
|
4889
4842
|
var s;
|
|
4890
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4843
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", fl, [
|
|
4891
4844
|
l("div", {
|
|
4892
4845
|
class: "legend-bars-gl4 temp",
|
|
4893
4846
|
style: ae({ right: a.right + "px" })
|
|
@@ -4903,25 +4856,25 @@ function tl(t, e, o, i, a, r) {
|
|
|
4903
4856
|
]), 4)
|
|
4904
4857
|
])) : O("", !0);
|
|
4905
4858
|
}
|
|
4906
|
-
const
|
|
4907
|
-
const
|
|
4859
|
+
const bl = /* @__PURE__ */ Z(gl, [["render", yl]]);
|
|
4860
|
+
const wl = {
|
|
4908
4861
|
name: "IdmGlLayer",
|
|
4909
4862
|
components: {
|
|
4910
|
-
IdmWindBarb:
|
|
4911
|
-
IdmWindParticle:
|
|
4912
|
-
IdmCurrentDirection:
|
|
4913
|
-
IdmCurrentParticle:
|
|
4914
|
-
IdmWave:
|
|
4915
|
-
IdmSigWaveHeight:
|
|
4916
|
-
IdmSwell:
|
|
4917
|
-
IdmPrmsl:
|
|
4918
|
-
IdmIceEdge:
|
|
4919
|
-
IdmIceCover:
|
|
4920
|
-
IdmIceThickness:
|
|
4921
|
-
IdmPrecip3h:
|
|
4922
|
-
IdmVisibility:
|
|
4923
|
-
IdmWaterTemp:
|
|
4924
|
-
IdmTemp:
|
|
4863
|
+
IdmWindBarb: wr,
|
|
4864
|
+
IdmWindParticle: kr,
|
|
4865
|
+
IdmCurrentDirection: Pr,
|
|
4866
|
+
IdmCurrentParticle: Tr,
|
|
4867
|
+
IdmWave: Dr,
|
|
4868
|
+
IdmSigWaveHeight: Er,
|
|
4869
|
+
IdmSwell: Fr,
|
|
4870
|
+
IdmPrmsl: Ur,
|
|
4871
|
+
IdmIceEdge: Xr,
|
|
4872
|
+
IdmIceCover: Jr,
|
|
4873
|
+
IdmIceThickness: ol,
|
|
4874
|
+
IdmPrecip3h: ll,
|
|
4875
|
+
IdmVisibility: ml,
|
|
4876
|
+
IdmWaterTemp: ul,
|
|
4877
|
+
IdmTemp: bl
|
|
4925
4878
|
},
|
|
4926
4879
|
props: {
|
|
4927
4880
|
isLogin: {
|
|
@@ -5201,8 +5154,8 @@ const al = {
|
|
|
5201
5154
|
this.weatherLayers = {}, _.map((P) => {
|
|
5202
5155
|
var V, X, q, Y;
|
|
5203
5156
|
const k = ((V = P == null ? void 0 : P.data) == null ? void 0 : V.data) || (P == null ? void 0 : P.data);
|
|
5204
|
-
let
|
|
5205
|
-
|
|
5157
|
+
let R = (q = (X = P == null ? void 0 : P.config) == null ? void 0 : X.headers) == null ? void 0 : q.key;
|
|
5158
|
+
R && k && (this.weatherLayers[R] = {
|
|
5206
5159
|
raw: k,
|
|
5207
5160
|
type: ((Y = P == null ? void 0 : P.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
|
|
5208
5161
|
etime: M.data.etime
|
|
@@ -5298,37 +5251,37 @@ const al = {
|
|
|
5298
5251
|
for (const _ in L)
|
|
5299
5252
|
if (_ > n && _ < c && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5300
5253
|
const P = L[_].lng;
|
|
5301
|
-
r > s ? P.forEach((k,
|
|
5254
|
+
r > s ? P.forEach((k, R) => {
|
|
5302
5255
|
var V, X, q, Y, $, ee;
|
|
5303
5256
|
if (a < 2) {
|
|
5304
5257
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5305
5258
|
const Q = E.point([k, _], {
|
|
5306
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5307
|
-
spd: (q = L[_].spd) == null ? void 0 : q[
|
|
5259
|
+
val: ((V = L[_].val) == null ? void 0 : V[R]) || ((X = L[_].dir) == null ? void 0 : X[R]),
|
|
5260
|
+
spd: (q = L[_].spd) == null ? void 0 : q[R]
|
|
5308
5261
|
});
|
|
5309
5262
|
M.push(Q);
|
|
5310
5263
|
}
|
|
5311
5264
|
} else if ((k >= r && k <= 180 || k >= -180 && k <= s) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5312
5265
|
const Q = E.point([k, _], {
|
|
5313
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5314
|
-
spd: (ee = L[_].spd) == null ? void 0 : ee[
|
|
5266
|
+
val: ((Y = L[_].val) == null ? void 0 : Y[R]) || (($ = L[_].dir) == null ? void 0 : $[R]),
|
|
5267
|
+
spd: (ee = L[_].spd) == null ? void 0 : ee[R]
|
|
5315
5268
|
});
|
|
5316
5269
|
M.push(Q);
|
|
5317
5270
|
}
|
|
5318
|
-
}) : P.forEach((k,
|
|
5271
|
+
}) : P.forEach((k, R) => {
|
|
5319
5272
|
var V, X, q, Y, $, ee;
|
|
5320
5273
|
if (r < 2) {
|
|
5321
5274
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5322
5275
|
const Q = E.point([k, _], {
|
|
5323
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5324
|
-
spd: (q = L[_].spd) == null ? void 0 : q[
|
|
5276
|
+
val: ((V = L[_].val) == null ? void 0 : V[R]) || ((X = L[_].dir) == null ? void 0 : X[R]),
|
|
5277
|
+
spd: (q = L[_].spd) == null ? void 0 : q[R]
|
|
5325
5278
|
});
|
|
5326
5279
|
M.push(Q);
|
|
5327
5280
|
}
|
|
5328
5281
|
} else if (k >= r && k <= s && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5329
5282
|
const Q = E.point([k, _], {
|
|
5330
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5331
|
-
spd: (ee = L[_].spd) == null ? void 0 : ee[
|
|
5283
|
+
val: ((Y = L[_].val) == null ? void 0 : Y[R]) || (($ = L[_].dir) == null ? void 0 : $[R]),
|
|
5284
|
+
spd: (ee = L[_].spd) == null ? void 0 : ee[R]
|
|
5332
5285
|
});
|
|
5333
5286
|
M.push(Q);
|
|
5334
5287
|
}
|
|
@@ -5341,9 +5294,9 @@ const al = {
|
|
|
5341
5294
|
const _ = [];
|
|
5342
5295
|
for (const P in (f = v.raw) == null ? void 0 : f.LineString) {
|
|
5343
5296
|
const k = v.raw.LineString[P];
|
|
5344
|
-
for (const
|
|
5297
|
+
for (const R of k)
|
|
5345
5298
|
_.push(
|
|
5346
|
-
E.lineString(
|
|
5299
|
+
E.lineString(R, {
|
|
5347
5300
|
val: Number(P)
|
|
5348
5301
|
})
|
|
5349
5302
|
);
|
|
@@ -5362,37 +5315,37 @@ const al = {
|
|
|
5362
5315
|
for (const _ in L)
|
|
5363
5316
|
if (_ > n && _ < c && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5364
5317
|
const P = L[_].lng;
|
|
5365
|
-
r > s ? P.forEach((k,
|
|
5318
|
+
r > s ? P.forEach((k, R) => {
|
|
5366
5319
|
var V, X, q, Y, $, ee;
|
|
5367
5320
|
if (a < 2) {
|
|
5368
5321
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5369
5322
|
const Q = E.point([k, _], {
|
|
5370
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5371
|
-
spd: (q = L[_].spd) == null ? void 0 : q[
|
|
5323
|
+
val: ((V = L[_].val) == null ? void 0 : V[R]) || ((X = L[_].dir) == null ? void 0 : X[R]),
|
|
5324
|
+
spd: (q = L[_].spd) == null ? void 0 : q[R]
|
|
5372
5325
|
});
|
|
5373
5326
|
M.push(Q);
|
|
5374
5327
|
}
|
|
5375
5328
|
} else if ((k >= r && k <= 180 || k >= -180 && k <= s) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5376
5329
|
const Q = E.point([k, _], {
|
|
5377
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5378
|
-
spd: (ee = L[_].spd) == null ? void 0 : ee[
|
|
5330
|
+
val: ((Y = L[_].val) == null ? void 0 : Y[R]) || (($ = L[_].dir) == null ? void 0 : $[R]),
|
|
5331
|
+
spd: (ee = L[_].spd) == null ? void 0 : ee[R]
|
|
5379
5332
|
});
|
|
5380
5333
|
M.push(Q);
|
|
5381
5334
|
}
|
|
5382
|
-
}) : P.forEach((k,
|
|
5335
|
+
}) : P.forEach((k, R) => {
|
|
5383
5336
|
var V, X, q, Y, $, ee;
|
|
5384
5337
|
if (r < 2) {
|
|
5385
5338
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5386
5339
|
const Q = E.point([k, _], {
|
|
5387
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5388
|
-
spd: (q = L[_].spd) == null ? void 0 : q[
|
|
5340
|
+
val: ((V = L[_].val) == null ? void 0 : V[R]) || ((X = L[_].dir) == null ? void 0 : X[R]),
|
|
5341
|
+
spd: (q = L[_].spd) == null ? void 0 : q[R]
|
|
5389
5342
|
});
|
|
5390
5343
|
M.push(Q);
|
|
5391
5344
|
}
|
|
5392
5345
|
} else if (k >= r && k <= s && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5393
5346
|
const Q = E.point([k, _], {
|
|
5394
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5395
|
-
spd: (ee = L[_].spd) == null ? void 0 : ee[
|
|
5347
|
+
val: ((Y = L[_].val) == null ? void 0 : Y[R]) || (($ = L[_].dir) == null ? void 0 : $[R]),
|
|
5348
|
+
spd: (ee = L[_].spd) == null ? void 0 : ee[R]
|
|
5396
5349
|
});
|
|
5397
5350
|
M.push(Q);
|
|
5398
5351
|
}
|
|
@@ -5404,8 +5357,8 @@ const al = {
|
|
|
5404
5357
|
if (!v.data) {
|
|
5405
5358
|
const P = [];
|
|
5406
5359
|
for (const k in (x = v.raw) == null ? void 0 : x.Polygon) {
|
|
5407
|
-
const
|
|
5408
|
-
for (const V of
|
|
5360
|
+
const R = v.raw.Polygon[k];
|
|
5361
|
+
for (const V of R)
|
|
5409
5362
|
P.push(
|
|
5410
5363
|
E.polygon(V, {
|
|
5411
5364
|
val: Number(k)
|
|
@@ -5424,11 +5377,11 @@ const al = {
|
|
|
5424
5377
|
if (v > n && v < c && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5425
5378
|
const _ = L[v].lng;
|
|
5426
5379
|
r > s ? _.forEach((P, k) => {
|
|
5427
|
-
var
|
|
5380
|
+
var R, V, X, q;
|
|
5428
5381
|
if (a < 2) {
|
|
5429
5382
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5430
5383
|
const Y = E.point([P, v], {
|
|
5431
|
-
dir: ((
|
|
5384
|
+
dir: ((R = L[v].val) == null ? void 0 : R[k]) || ((V = L[v].dir) == null ? void 0 : V[k]),
|
|
5432
5385
|
spd: L[v].spd[k]
|
|
5433
5386
|
});
|
|
5434
5387
|
M.push(Y);
|
|
@@ -5441,11 +5394,11 @@ const al = {
|
|
|
5441
5394
|
M.push(Y);
|
|
5442
5395
|
}
|
|
5443
5396
|
}) : _.forEach((P, k) => {
|
|
5444
|
-
var
|
|
5397
|
+
var R, V, X, q;
|
|
5445
5398
|
if (a < 2) {
|
|
5446
5399
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5447
5400
|
const Y = E.point([P, v], {
|
|
5448
|
-
dir: ((
|
|
5401
|
+
dir: ((R = L[v].val) == null ? void 0 : R[k]) || ((V = L[v].dir) == null ? void 0 : V[k]),
|
|
5449
5402
|
spd: L[v].spd[k]
|
|
5450
5403
|
});
|
|
5451
5404
|
M.push(Y);
|
|
@@ -5555,36 +5508,36 @@ const al = {
|
|
|
5555
5508
|
}), o;
|
|
5556
5509
|
}
|
|
5557
5510
|
}
|
|
5558
|
-
},
|
|
5511
|
+
}, xl = { class: "idm-gl4-meteo-layers" }, vl = {
|
|
5559
5512
|
key: 0,
|
|
5560
5513
|
class: "legend-tip-btn-gl4"
|
|
5561
|
-
},
|
|
5514
|
+
}, _l = { class: "d-flex flex-row justify-center align-center" }, kl = { class: "text-caption" }, zl = { class: "d-flex flex-row justify-center align-center" }, Ll = {
|
|
5562
5515
|
key: 0,
|
|
5563
5516
|
style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
|
|
5564
|
-
},
|
|
5517
|
+
}, Pl = { class: "text-caption px-2" }, Cl = { class: "d-flex flex-row justify-start align-center" }, Sl = {
|
|
5565
5518
|
class: "d-flex flex-row justify-center align-center",
|
|
5566
5519
|
style: { width: "40px" }
|
|
5567
|
-
},
|
|
5520
|
+
}, Ml = { class: "text-caption px-2" }, Tl = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Rl = { class: "d-flex justify-start align-center ga-3" }, Il = { class: "text-h5 font-weight-medium" }, Al = {
|
|
5568
5521
|
key: 0,
|
|
5569
5522
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5570
|
-
},
|
|
5523
|
+
}, Dl = {
|
|
5571
5524
|
key: 1,
|
|
5572
5525
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5573
|
-
},
|
|
5574
|
-
function
|
|
5575
|
-
var pe, me, K, ie,
|
|
5576
|
-
const s = w("VBtn"), n = w("VTooltip"), c = w("VCol"), g = w("VRow"), p = w("VCardText"), d = w("VDivider"), f = w("VCard"), z = w("VSwitch"), x = w("VCardTitle"), S = w("VCardItem"), C = w("VCheckbox"), N = w("VRadio"), M = w("VBtnToggle"), L = w("IdmWindBarb"), v = w("IdmSigWaveHeight"), _ = w("IdmCurrentDirection"), P = w("IdmPrmsl"), k = w("IdmWindParticle"),
|
|
5577
|
-
return b(), T("div",
|
|
5526
|
+
}, Ol = { class: "text-body-1 py-2" }, Bl = { class: "text-body-1 font-weight-medium" }, El = { class: "text-body-2 opacity-70" }, jl = { class: "text-body-2 opacity-70 mb-3" }, Nl = { class: "text-body-1 font-weight-medium" }, Fl = { class: "text-body-2 opacity-70" }, Hl = { class: "text-body-2 opacity-70 mb-3" }, Gl = { class: "text-body-1 py-2" }, Wl = { class: "text-body-1 font-weight-medium" }, Ul = { class: "text-body-2 opacity-70" }, Vl = { class: "text-body-2 opacity-70 mb-3" }, Yl = { class: "text-body-1 font-weight-medium" }, Zl = { class: "text-body-2 opacity-70" }, Xl = { class: "text-body-2 opacity-70 mb-3" }, ql = { class: "text-body-1 py-2" }, Kl = { class: "text-body-1 font-weight-medium" }, Ql = { class: "text-body-2 opacity-70" }, Jl = { class: "text-body-2 opacity-70 mb-3" };
|
|
5527
|
+
function $l(t, e, o, i, a, r) {
|
|
5528
|
+
var pe, me, K, ie, F, le, fe, xe, ve, Se, Me, Te, Re, Ie, ye;
|
|
5529
|
+
const s = w("VBtn"), n = w("VTooltip"), c = w("VCol"), g = w("VRow"), p = w("VCardText"), d = w("VDivider"), f = w("VCard"), z = w("VSwitch"), x = w("VCardTitle"), S = w("VCardItem"), C = w("VCheckbox"), N = w("VRadio"), M = w("VBtnToggle"), L = w("IdmWindBarb"), v = w("IdmSigWaveHeight"), _ = w("IdmCurrentDirection"), P = w("IdmPrmsl"), k = w("IdmWindParticle"), R = w("IdmCurrentParticle"), V = w("IdmWave"), X = w("IdmSwell"), q = w("IdmIceEdge"), Y = w("IdmIceCover"), $ = w("IdmIceThickness"), ee = w("IdmPrecip3h"), Q = w("IdmVisibility"), se = w("IdmWaterTemp"), de = w("IdmTemp");
|
|
5530
|
+
return b(), T("div", xl, [
|
|
5578
5531
|
l("div", {
|
|
5579
5532
|
class: "menu-bar-box transition pa-1",
|
|
5580
5533
|
style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
|
|
5581
5534
|
}, [
|
|
5582
|
-
|
|
5535
|
+
h(n, {
|
|
5583
5536
|
text: t.$t("weather.weatherLayers"),
|
|
5584
5537
|
location: "left"
|
|
5585
5538
|
}, {
|
|
5586
5539
|
activator: u(({ props: H }) => [
|
|
5587
|
-
|
|
5540
|
+
h(s, B(H, {
|
|
5588
5541
|
"min-width": "32",
|
|
5589
5542
|
width: "32",
|
|
5590
5543
|
height: "32",
|
|
@@ -5601,17 +5554,17 @@ function El(t, e, o, i, a, r) {
|
|
|
5601
5554
|
_: 1
|
|
5602
5555
|
}, 8, ["text"])
|
|
5603
5556
|
], 4),
|
|
5604
|
-
r.showTipMenu ? (b(), T("div",
|
|
5557
|
+
r.showTipMenu ? (b(), T("div", vl, [
|
|
5605
5558
|
l("div", {
|
|
5606
5559
|
class: "menu-bar-box pa-1 rounded",
|
|
5607
5560
|
style: ae({ right: a.right + "px" })
|
|
5608
5561
|
}, [
|
|
5609
|
-
|
|
5562
|
+
h(n, {
|
|
5610
5563
|
text: "Legend",
|
|
5611
5564
|
location: "left"
|
|
5612
5565
|
}, {
|
|
5613
5566
|
activator: u(({ props: H }) => [
|
|
5614
|
-
|
|
5567
|
+
h(s, B(H, {
|
|
5615
5568
|
"min-width": "32",
|
|
5616
5569
|
width: "32",
|
|
5617
5570
|
height: "32",
|
|
@@ -5636,10 +5589,10 @@ function El(t, e, o, i, a, r) {
|
|
|
5636
5589
|
style: ae({ position: "absolute", top: "340px", right: a.right + 50 + "px" })
|
|
5637
5590
|
}, {
|
|
5638
5591
|
default: u(() => [
|
|
5639
|
-
|
|
5592
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5640
5593
|
default: u(() => [
|
|
5641
5594
|
e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
5642
|
-
|
|
5595
|
+
h(g, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
5643
5596
|
default: u(() => [
|
|
5644
5597
|
(b(!0), T(ke, null, Le(a.legend.barbs, (H, te) => (b(), j(c, {
|
|
5645
5598
|
key: H,
|
|
@@ -5647,12 +5600,12 @@ function El(t, e, o, i, a, r) {
|
|
|
5647
5600
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
5648
5601
|
}, {
|
|
5649
5602
|
default: u(() => [
|
|
5650
|
-
l("div",
|
|
5603
|
+
l("div", _l, [
|
|
5651
5604
|
l("i", {
|
|
5652
|
-
class:
|
|
5605
|
+
class: We(["iconfont", r.barbsIconName[te]]),
|
|
5653
5606
|
style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
|
|
5654
5607
|
}, null, 6),
|
|
5655
|
-
l("span",
|
|
5608
|
+
l("span", kl, y(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
|
|
5656
5609
|
])
|
|
5657
5610
|
]),
|
|
5658
5611
|
_: 2
|
|
@@ -5664,11 +5617,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5664
5617
|
_: 1,
|
|
5665
5618
|
__: [9]
|
|
5666
5619
|
}),
|
|
5667
|
-
|
|
5668
|
-
|
|
5620
|
+
h(d, { vertical: "" }),
|
|
5621
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5669
5622
|
default: u(() => [
|
|
5670
5623
|
e[10] || (e[10] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
5671
|
-
|
|
5624
|
+
h(g, {
|
|
5672
5625
|
class: "ma-0 ml-1",
|
|
5673
5626
|
style: { width: "100px" }
|
|
5674
5627
|
}, {
|
|
@@ -5679,12 +5632,12 @@ function El(t, e, o, i, a, r) {
|
|
|
5679
5632
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
5680
5633
|
}, {
|
|
5681
5634
|
default: u(() => [
|
|
5682
|
-
l("div",
|
|
5683
|
-
te === 0 ? (b(), T("div",
|
|
5635
|
+
l("div", zl, [
|
|
5636
|
+
te === 0 ? (b(), T("div", Ll)) : (b(), T("div", {
|
|
5684
5637
|
key: 1,
|
|
5685
5638
|
style: ae({ width: "24px", height: "12px", background: H.color })
|
|
5686
5639
|
}, null, 4)),
|
|
5687
|
-
l("div",
|
|
5640
|
+
l("div", Pl, y(H.label), 1)
|
|
5688
5641
|
])
|
|
5689
5642
|
]),
|
|
5690
5643
|
_: 2
|
|
@@ -5696,11 +5649,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5696
5649
|
_: 1,
|
|
5697
5650
|
__: [10]
|
|
5698
5651
|
}),
|
|
5699
|
-
|
|
5700
|
-
|
|
5652
|
+
h(d, { vertical: "" }),
|
|
5653
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5701
5654
|
default: u(() => [
|
|
5702
5655
|
e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
|
|
5703
|
-
|
|
5656
|
+
h(g, {
|
|
5704
5657
|
class: "ma-0 ml-n5",
|
|
5705
5658
|
style: { width: "110px" }
|
|
5706
5659
|
}, {
|
|
@@ -5711,14 +5664,14 @@ function El(t, e, o, i, a, r) {
|
|
|
5711
5664
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
5712
5665
|
}, {
|
|
5713
5666
|
default: u(() => [
|
|
5714
|
-
l("div",
|
|
5715
|
-
l("div",
|
|
5667
|
+
l("div", Cl, [
|
|
5668
|
+
l("div", Sl, [
|
|
5716
5669
|
l("i", {
|
|
5717
5670
|
class: "iconfont icon-a-direction-arrow opacity-80",
|
|
5718
5671
|
style: ae({ fontSize: 40 * H.size + "px" })
|
|
5719
5672
|
}, null, 4)
|
|
5720
5673
|
]),
|
|
5721
|
-
l("div",
|
|
5674
|
+
l("div", Ml, y(H.label), 1)
|
|
5722
5675
|
])
|
|
5723
5676
|
]),
|
|
5724
5677
|
_: 2
|
|
@@ -5735,13 +5688,13 @@ function El(t, e, o, i, a, r) {
|
|
|
5735
5688
|
}, 8, ["style"])) : O("", !0)
|
|
5736
5689
|
])) : O("", !0),
|
|
5737
5690
|
l("div", {
|
|
5738
|
-
class:
|
|
5691
|
+
class: We(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
|
|
5739
5692
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
5740
5693
|
}, [
|
|
5741
|
-
l("div",
|
|
5742
|
-
l("div",
|
|
5743
|
-
l("div",
|
|
5744
|
-
|
|
5694
|
+
l("div", Tl, [
|
|
5695
|
+
l("div", Rl, [
|
|
5696
|
+
l("div", Il, y(t.$t("weather.weather")), 1),
|
|
5697
|
+
h(z, {
|
|
5745
5698
|
modelValue: a.autoActive,
|
|
5746
5699
|
"onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
|
|
5747
5700
|
class: "small-switch",
|
|
@@ -5750,7 +5703,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5750
5703
|
"hide-details": ""
|
|
5751
5704
|
}, null, 8, ["modelValue"])
|
|
5752
5705
|
]),
|
|
5753
|
-
|
|
5706
|
+
h(s, {
|
|
5754
5707
|
icon: "",
|
|
5755
5708
|
density: "compact",
|
|
5756
5709
|
variant: "plain",
|
|
@@ -5765,28 +5718,28 @@ function El(t, e, o, i, a, r) {
|
|
|
5765
5718
|
}, 8, ["onClick"])
|
|
5766
5719
|
]),
|
|
5767
5720
|
l("div", {
|
|
5768
|
-
class:
|
|
5721
|
+
class: We(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
|
|
5769
5722
|
}, [
|
|
5770
|
-
|
|
5723
|
+
h(f, {
|
|
5771
5724
|
class: "menu-card mx-auto mb-3",
|
|
5772
5725
|
elevation: "0"
|
|
5773
5726
|
}, {
|
|
5774
5727
|
default: u(() => [
|
|
5775
|
-
|
|
5728
|
+
h(S, { class: "border-b-thin" }, {
|
|
5776
5729
|
default: u(() => [
|
|
5777
|
-
|
|
5730
|
+
h(x, {
|
|
5778
5731
|
class: "text-subtitle-1 font-weight-medium",
|
|
5779
5732
|
style: { "font-size": "16px !important" }
|
|
5780
5733
|
}, {
|
|
5781
5734
|
default: u(() => [
|
|
5782
|
-
|
|
5735
|
+
W(y(t.$t("weather.overlays")), 1)
|
|
5783
5736
|
]),
|
|
5784
5737
|
_: 1
|
|
5785
5738
|
})
|
|
5786
5739
|
]),
|
|
5787
5740
|
_: 1
|
|
5788
5741
|
}),
|
|
5789
|
-
|
|
5742
|
+
h(p, { class: "py-2" }, {
|
|
5790
5743
|
default: u(() => [
|
|
5791
5744
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => H.overlays), (H) => (b(), j(C, {
|
|
5792
5745
|
key: H.key,
|
|
@@ -5807,31 +5760,31 @@ function El(t, e, o, i, a, r) {
|
|
|
5807
5760
|
]),
|
|
5808
5761
|
_: 1
|
|
5809
5762
|
}),
|
|
5810
|
-
|
|
5763
|
+
h(f, {
|
|
5811
5764
|
class: "menu-card mx-auto mb-3",
|
|
5812
5765
|
elevation: "0"
|
|
5813
5766
|
}, {
|
|
5814
5767
|
default: u(() => [
|
|
5815
|
-
|
|
5768
|
+
h(S, { class: "border-b-thin" }, {
|
|
5816
5769
|
default: u(() => [
|
|
5817
|
-
|
|
5770
|
+
h(x, {
|
|
5818
5771
|
class: "text-subtitle-1 font-weight-medium",
|
|
5819
5772
|
style: { "font-size": "16px !important" }
|
|
5820
5773
|
}, {
|
|
5821
5774
|
default: u(() => [
|
|
5822
|
-
|
|
5775
|
+
W(y(t.$t("weather.renders")), 1)
|
|
5823
5776
|
]),
|
|
5824
5777
|
_: 1
|
|
5825
5778
|
})
|
|
5826
5779
|
]),
|
|
5827
5780
|
_: 1
|
|
5828
5781
|
}),
|
|
5829
|
-
|
|
5782
|
+
h(p, { class: "py-2" }, {
|
|
5830
5783
|
default: u(() => [
|
|
5831
5784
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (b(), T(ke, {
|
|
5832
5785
|
key: H.key
|
|
5833
5786
|
}, [
|
|
5834
|
-
|
|
5787
|
+
h(N, {
|
|
5835
5788
|
modelValue: a.renderKey,
|
|
5836
5789
|
"onUpdate:modelValue": e[3] || (e[3] = (te) => a.renderKey = te),
|
|
5837
5790
|
label: t.$t(`weather.${H.locale}`),
|
|
@@ -5844,9 +5797,9 @@ function El(t, e, o, i, a, r) {
|
|
|
5844
5797
|
"hide-details": "",
|
|
5845
5798
|
onClick: (te) => a.renderKey = a.renderKey === H.key ? "" : H.key
|
|
5846
5799
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
5847
|
-
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), T("div",
|
|
5800
|
+
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), T("div", Al, [
|
|
5848
5801
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5849
|
-
|
|
5802
|
+
h(z, {
|
|
5850
5803
|
modelValue: a.showWindParticle,
|
|
5851
5804
|
"onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
|
|
5852
5805
|
label: "",
|
|
@@ -5858,9 +5811,9 @@ function El(t, e, o, i, a, r) {
|
|
|
5858
5811
|
"hide-details": ""
|
|
5859
5812
|
}, null, 8, ["modelValue"])
|
|
5860
5813
|
])) : O("", !0),
|
|
5861
|
-
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), T("div",
|
|
5814
|
+
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), T("div", Dl, [
|
|
5862
5815
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5863
|
-
|
|
5816
|
+
h(z, {
|
|
5864
5817
|
modelValue: a.showCurrentParticle,
|
|
5865
5818
|
"onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
|
|
5866
5819
|
label: "",
|
|
@@ -5884,7 +5837,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5884
5837
|
disabled: !a.autoActive
|
|
5885
5838
|
}, {
|
|
5886
5839
|
default: u(() => [
|
|
5887
|
-
|
|
5840
|
+
h(s, {
|
|
5888
5841
|
density: "compact",
|
|
5889
5842
|
height: "30",
|
|
5890
5843
|
value: "ice-cover",
|
|
@@ -5894,11 +5847,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5894
5847
|
disabled: !a.autoActive
|
|
5895
5848
|
}, {
|
|
5896
5849
|
default: u(() => [
|
|
5897
|
-
|
|
5850
|
+
W(y(t.$t("weather.coverage")), 1)
|
|
5898
5851
|
]),
|
|
5899
5852
|
_: 1
|
|
5900
5853
|
}, 8, ["color", "disabled"]),
|
|
5901
|
-
|
|
5854
|
+
h(s, {
|
|
5902
5855
|
density: "compact",
|
|
5903
5856
|
height: "30",
|
|
5904
5857
|
class: "text-none px-2",
|
|
@@ -5908,7 +5861,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5908
5861
|
value: "ice-thickness"
|
|
5909
5862
|
}, {
|
|
5910
5863
|
default: u(() => [
|
|
5911
|
-
|
|
5864
|
+
W(y(t.$t("weather.thickness")), 1)
|
|
5912
5865
|
]),
|
|
5913
5866
|
_: 1
|
|
5914
5867
|
}, 8, ["color", "disabled"])
|
|
@@ -5922,49 +5875,49 @@ function El(t, e, o, i, a, r) {
|
|
|
5922
5875
|
]),
|
|
5923
5876
|
_: 1
|
|
5924
5877
|
}),
|
|
5925
|
-
|
|
5878
|
+
h(f, {
|
|
5926
5879
|
class: "menu-card mx-auto mb-3",
|
|
5927
5880
|
elevation: "0"
|
|
5928
5881
|
}, {
|
|
5929
5882
|
default: u(() => [
|
|
5930
|
-
|
|
5883
|
+
h(S, { class: "border-b-thin" }, {
|
|
5931
5884
|
default: u(() => [
|
|
5932
|
-
|
|
5885
|
+
h(x, {
|
|
5933
5886
|
class: "text-subtitle-1 font-weight-medium",
|
|
5934
5887
|
style: { "font-size": "16px !important" }
|
|
5935
5888
|
}, {
|
|
5936
5889
|
default: u(() => [
|
|
5937
|
-
|
|
5890
|
+
W(y(t.$t("weather.forecastModel")), 1)
|
|
5938
5891
|
]),
|
|
5939
5892
|
_: 1
|
|
5940
5893
|
})
|
|
5941
5894
|
]),
|
|
5942
5895
|
_: 1
|
|
5943
5896
|
}),
|
|
5944
|
-
|
|
5897
|
+
h(p, { class: "" }, {
|
|
5945
5898
|
default: u(() => {
|
|
5946
|
-
var H, te, je, Pe, he,
|
|
5899
|
+
var H, te, je, Pe, he, ue, G, _e, J, re, Ae, A, ge, Ce, De, Oe, I, U, Ue, Ve, Ye, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt;
|
|
5947
5900
|
return [
|
|
5948
|
-
l("div",
|
|
5949
|
-
l("div",
|
|
5950
|
-
l("div",
|
|
5951
|
-
l("div",
|
|
5952
|
-
l("div",
|
|
5953
|
-
l("div",
|
|
5954
|
-
l("div",
|
|
5955
|
-
|
|
5956
|
-
l("div",
|
|
5957
|
-
l("div",
|
|
5958
|
-
l("div",
|
|
5959
|
-
l("div",
|
|
5960
|
-
l("div",
|
|
5961
|
-
l("div",
|
|
5962
|
-
l("div",
|
|
5963
|
-
|
|
5964
|
-
l("div",
|
|
5965
|
-
l("div",
|
|
5966
|
-
l("div",
|
|
5967
|
-
l("div",
|
|
5901
|
+
l("div", Ol, y(t.$t("weather.atmospheric")), 1),
|
|
5902
|
+
l("div", Bl, y((je = (te = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + y((ue = (he = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : he.NOAA) == null ? void 0 : ue.spatialResolution) + y(t.$t("units.km")) + " " + y((re = (J = (_e = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : _e.NOAA) == null ? void 0 : J.meta) == null ? void 0 : re.days) + y(t.$t("units.days")), 1),
|
|
5903
|
+
l("div", El, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
5904
|
+
l("div", jl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Ce = (ge = (A = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : A.NOAA) == null ? void 0 : ge.meta) == null ? void 0 : Ce.initialisationTime)), 1),
|
|
5905
|
+
l("div", Nl, y((I = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : I.source) + " " + y((Ve = (Ue = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : Ve.spatialResolution) + y(t.$t("units.km")) + " " + y((Xe = (Ze = (ze = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : ze.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : Xe.days) + y(t.$t("units.days")), 1),
|
|
5906
|
+
l("div", Fl, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5907
|
+
l("div", Hl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Je = (Qe = (Ke = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
|
|
5908
|
+
h(d),
|
|
5909
|
+
l("div", Gl, y(t.$t("weather.wave")), 1),
|
|
5910
|
+
l("div", Wl, y((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + y((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + y(t.$t("units.km")) + " " + y((ht = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : ht.days) + y(t.$t("units.days")), 1),
|
|
5911
|
+
l("div", Ul, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
5912
|
+
l("div", Vl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((ft = (gt = (ut = (pt = (dt = a.models) == null ? void 0 : dt.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
5913
|
+
l("div", Yl, y((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + y((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + y(t.$t("units.km")) + " " + y((Mt = (St = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Mt.days) + y(t.$t("units.days")), 1),
|
|
5914
|
+
l("div", Zl, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5915
|
+
l("div", Xl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Dt = (At = (It = (Rt = (Tt = a.models) == null ? void 0 : Tt.marine) == null ? void 0 : Rt.wave) == null ? void 0 : It.ECMWF) == null ? void 0 : At.meta) == null ? void 0 : Dt.initialisationTime)), 1),
|
|
5916
|
+
h(d),
|
|
5917
|
+
l("div", ql, y(t.$t("weather.currents")), 1),
|
|
5918
|
+
l("div", Kl, y((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + y((Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.spatialResolution) + y(t.$t("units.km")) + " " + y((Zt = (Yt = (Vt = (Ut = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Ut.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Zt.days) + y(t.$t("units.days")), 1),
|
|
5919
|
+
l("div", Ql, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5920
|
+
l("div", Jl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Jt = (Qt = (Kt = (qt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : qt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
|
|
5968
5921
|
];
|
|
5969
5922
|
}),
|
|
5970
5923
|
_: 1
|
|
@@ -6010,19 +5963,19 @@ function El(t, e, o, i, a, r) {
|
|
|
6010
5963
|
o.map ? (b(), j(k, B({
|
|
6011
5964
|
key: 5,
|
|
6012
5965
|
viewport: a.viewport,
|
|
6013
|
-
factor: (
|
|
5966
|
+
factor: (F = a.weatherLayers) == null ? void 0 : F["wind-particle"],
|
|
6014
5967
|
"menu-toggle": o.menuToggle
|
|
6015
5968
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6016
|
-
o.map ? (b(), j(
|
|
5969
|
+
o.map ? (b(), j(R, B({
|
|
6017
5970
|
key: 6,
|
|
6018
5971
|
viewport: a.viewport,
|
|
6019
|
-
factor: (
|
|
5972
|
+
factor: (le = a.weatherLayers) == null ? void 0 : le["current-particle"],
|
|
6020
5973
|
"menu-toggle": o.menuToggle
|
|
6021
5974
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6022
5975
|
o.map ? (b(), j(V, B({
|
|
6023
5976
|
key: 7,
|
|
6024
5977
|
viewport: a.viewport,
|
|
6025
|
-
factor: (
|
|
5978
|
+
factor: (fe = a.weatherLayers) == null ? void 0 : fe["sig-wave"],
|
|
6026
5979
|
"menu-toggle": o.menuToggle
|
|
6027
5980
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6028
5981
|
o.map ? (b(), j(X, B({
|
|
@@ -6059,13 +6012,13 @@ function El(t, e, o, i, a, r) {
|
|
|
6059
6012
|
o.map ? (b(), j(Q, B({
|
|
6060
6013
|
key: 13,
|
|
6061
6014
|
viewport: a.viewport,
|
|
6062
|
-
factor: (
|
|
6015
|
+
factor: (Re = a.weatherLayers) == null ? void 0 : Re.visibility,
|
|
6063
6016
|
"menu-toggle": o.menuToggle
|
|
6064
6017
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6065
|
-
o.map ? (b(), j(
|
|
6018
|
+
o.map ? (b(), j(se, B({
|
|
6066
6019
|
key: 14,
|
|
6067
6020
|
viewport: a.viewport,
|
|
6068
|
-
factor: (
|
|
6021
|
+
factor: (Ie = a.weatherLayers) == null ? void 0 : Ie["water-temp"],
|
|
6069
6022
|
"menu-toggle": o.menuToggle
|
|
6070
6023
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6071
6024
|
o.map ? (b(), j(de, B({
|
|
@@ -6076,7 +6029,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6076
6029
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0)
|
|
6077
6030
|
]);
|
|
6078
6031
|
}
|
|
6079
|
-
const
|
|
6032
|
+
const es = /* @__PURE__ */ Z(wl, [["render", $l]]), eo = [
|
|
6080
6033
|
{
|
|
6081
6034
|
rank: 0,
|
|
6082
6035
|
name: "Best Match",
|
|
@@ -6354,7 +6307,7 @@ const jl = /* @__PURE__ */ Z(al, [["render", El]]), eo = [
|
|
|
6354
6307
|
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"
|
|
6355
6308
|
}
|
|
6356
6309
|
];
|
|
6357
|
-
class
|
|
6310
|
+
class Wa {
|
|
6358
6311
|
static standardWeatherModels() {
|
|
6359
6312
|
return eo.filter((e) => !e.disabled && e.alias);
|
|
6360
6313
|
}
|
|
@@ -6377,7 +6330,7 @@ class Ca {
|
|
|
6377
6330
|
* @return 与之对应的大气模式
|
|
6378
6331
|
*/
|
|
6379
6332
|
static autoPickPeerModel(e, o, i = "copernicus") {
|
|
6380
|
-
if (o = this.autoPickLayerModel(o, i),
|
|
6333
|
+
if (o = this.autoPickLayerModel(o, i), Qa.WEATHER_LAYERS.reduce((a, r) => r.atmos ? a + r.weight : a, 0) & e.weight) {
|
|
6381
6334
|
if (o === "copernicus")
|
|
6382
6335
|
return "ecmwf";
|
|
6383
6336
|
} else if (o === "ecmwf")
|
|
@@ -6423,91 +6376,91 @@ class Ca {
|
|
|
6423
6376
|
}), a;
|
|
6424
6377
|
}
|
|
6425
6378
|
static pickHourly(e, o) {
|
|
6426
|
-
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
6427
|
-
const he = typeof o == "string" ? D(o) : o,
|
|
6379
|
+
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q, se, de, pe, me, K, ie, F, le, fe, xe, ve, Se, Me, Te, Re, Ie, ye, H, te, je, Pe;
|
|
6380
|
+
const he = typeof o == "string" ? D(o) : o, ue = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, _e = D((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = _e.clone().add((n = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = _e.clone().add((p = (g = (c = ue == null ? void 0 : ue[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Ae = [];
|
|
6428
6381
|
if (he.isBetween(J, re, "millisecond", "[]")) {
|
|
6429
|
-
const
|
|
6430
|
-
let
|
|
6431
|
-
if (
|
|
6382
|
+
const A = he.utc().diff(J, "h", !1);
|
|
6383
|
+
let ge, Ce;
|
|
6384
|
+
if (ue) {
|
|
6432
6385
|
let De = 0, Oe = 0;
|
|
6433
|
-
for (const
|
|
6434
|
-
const U =
|
|
6435
|
-
for (let ze =
|
|
6386
|
+
for (const I of ue) {
|
|
6387
|
+
const U = I == null ? void 0 : I.hourly;
|
|
6388
|
+
for (let ze = A - (A - 1) % 3; ze <= A; ze++)
|
|
6436
6389
|
De += (d = U == null ? void 0 : U.precipitation) == null ? void 0 : d.at(ze);
|
|
6437
|
-
for (let ze =
|
|
6390
|
+
for (let ze = A - (A - 1) % 6; ze <= A; ze++)
|
|
6438
6391
|
Oe += (f = U == null ? void 0 : U.precipitation) == null ? void 0 : f.at(ze);
|
|
6439
|
-
|
|
6440
|
-
temp: (z = U == null ? void 0 : U.temperature_2m) == null ? void 0 : z.at(
|
|
6441
|
-
apparentTemp: (x = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : x.at(
|
|
6442
|
-
rh: (S = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : S.at(
|
|
6443
|
-
dp: (C = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : C.at(
|
|
6392
|
+
ge = {
|
|
6393
|
+
temp: (z = U == null ? void 0 : U.temperature_2m) == null ? void 0 : z.at(A),
|
|
6394
|
+
apparentTemp: (x = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : x.at(A),
|
|
6395
|
+
rh: (S = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : S.at(A),
|
|
6396
|
+
dp: (C = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : C.at(A),
|
|
6444
6397
|
precip: {
|
|
6445
|
-
probability: (N = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : N.at(
|
|
6446
|
-
sum: (M = U == null ? void 0 : U.precipitation) == null ? void 0 : M.at(
|
|
6398
|
+
probability: (N = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : N.at(A),
|
|
6399
|
+
sum: (M = U == null ? void 0 : U.precipitation) == null ? void 0 : M.at(A),
|
|
6447
6400
|
sum3Hours: Math.round(De * 100) / 100,
|
|
6448
6401
|
sum6Hours: Math.round(Oe * 100) / 100
|
|
6449
6402
|
},
|
|
6450
|
-
pmsl: (L = U == null ? void 0 : U.pressure_msl) == null ? void 0 : L.at(
|
|
6451
|
-
psurf: (v = U == null ? void 0 : U.surface_pressure) == null ? void 0 : v.at(
|
|
6452
|
-
code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(
|
|
6453
|
-
visibility: this.m2nm((P = U == null ? void 0 : U.visibility) == null ? void 0 : P.at(
|
|
6403
|
+
pmsl: (L = U == null ? void 0 : U.pressure_msl) == null ? void 0 : L.at(A),
|
|
6404
|
+
psurf: (v = U == null ? void 0 : U.surface_pressure) == null ? void 0 : v.at(A),
|
|
6405
|
+
code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(A),
|
|
6406
|
+
visibility: this.m2nm((P = U == null ? void 0 : U.visibility) == null ? void 0 : P.at(A)),
|
|
6454
6407
|
wind: {
|
|
6455
|
-
speed: (k = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : k.at(
|
|
6456
|
-
kts: (
|
|
6457
|
-
degree: (V = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : V.at(
|
|
6458
|
-
bearing: ((X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(
|
|
6459
|
-
gusts: (Y = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Y.at(
|
|
6408
|
+
speed: (k = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : k.at(A),
|
|
6409
|
+
kts: (R = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : R.at(A),
|
|
6410
|
+
degree: (V = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : V.at(A),
|
|
6411
|
+
bearing: ((X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(A)) !== null ? (((q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : q.at(A)) + 180) % 360 : null,
|
|
6412
|
+
gusts: (Y = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Y.at(A)
|
|
6460
6413
|
},
|
|
6461
|
-
isDay: ($ = U == null ? void 0 : U.is_day) == null ? void 0 : $.at(
|
|
6414
|
+
isDay: ($ = U == null ? void 0 : U.is_day) == null ? void 0 : $.at(A)
|
|
6462
6415
|
};
|
|
6463
|
-
const { name: Ue, url: Ve, bg: Ye } = this.parseWeatherCode(
|
|
6464
|
-
|
|
6465
|
-
utc: J.add(
|
|
6466
|
-
model:
|
|
6467
|
-
weather: { ...
|
|
6416
|
+
const { name: Ue, url: Ve, bg: Ye } = this.parseWeatherCode(ge.code, ge.isDay);
|
|
6417
|
+
ge.name = Ue, ge.url = Ve, ge.bg = Ye, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Ae.push({
|
|
6418
|
+
utc: J.add(A, "h").format(),
|
|
6419
|
+
model: I.model,
|
|
6420
|
+
weather: { ...ge }
|
|
6468
6421
|
});
|
|
6469
6422
|
}
|
|
6470
6423
|
}
|
|
6471
|
-
if (
|
|
6424
|
+
if (G) {
|
|
6472
6425
|
let De = 0;
|
|
6473
|
-
for (const Oe of
|
|
6474
|
-
const
|
|
6426
|
+
for (const Oe of G) {
|
|
6427
|
+
const I = Oe == null ? void 0 : Oe.hourly;
|
|
6475
6428
|
Ce = {
|
|
6476
6429
|
wave: {
|
|
6477
6430
|
sig: {
|
|
6478
|
-
height: (ee =
|
|
6479
|
-
degree: (Q =
|
|
6480
|
-
bearing: ((
|
|
6481
|
-
period: (pe =
|
|
6431
|
+
height: (ee = I == null ? void 0 : I.wave_height) == null ? void 0 : ee.at(A),
|
|
6432
|
+
degree: (Q = I == null ? void 0 : I.wave_direction) == null ? void 0 : Q.at(A),
|
|
6433
|
+
bearing: ((se = I == null ? void 0 : I.wave_direction) == null ? void 0 : se.at(A)) !== null ? (((de = I == null ? void 0 : I.wave_direction) == null ? void 0 : de.at(A)) + 180) % 360 : null,
|
|
6434
|
+
period: (pe = I == null ? void 0 : I.wave_period) == null ? void 0 : pe.at(A)
|
|
6482
6435
|
},
|
|
6483
6436
|
swell: {
|
|
6484
|
-
height: (me =
|
|
6485
|
-
degree: (K =
|
|
6486
|
-
bearing: ((ie =
|
|
6487
|
-
period: (
|
|
6488
|
-
peakPeriod: (
|
|
6437
|
+
height: (me = I == null ? void 0 : I.swell_wave_height) == null ? void 0 : me.at(A),
|
|
6438
|
+
degree: (K = I == null ? void 0 : I.swell_wave_direction) == null ? void 0 : K.at(A),
|
|
6439
|
+
bearing: ((ie = I == null ? void 0 : I.swell_wave_direction) == null ? void 0 : ie.at(A)) !== null ? (((F = I == null ? void 0 : I.swell_wave_direction) == null ? void 0 : F.at(A)) + 180) % 360 : null,
|
|
6440
|
+
period: (le = I == null ? void 0 : I.swell_wave_period) == null ? void 0 : le.at(A),
|
|
6441
|
+
peakPeriod: (fe = I == null ? void 0 : I.swell_wave_peak_period) == null ? void 0 : fe.at(A)
|
|
6489
6442
|
},
|
|
6490
6443
|
wd: {
|
|
6491
|
-
height: (xe =
|
|
6492
|
-
degree: (ve =
|
|
6493
|
-
bearing: ((Se =
|
|
6494
|
-
period: (Te =
|
|
6495
|
-
peakPeriod: (
|
|
6444
|
+
height: (xe = I == null ? void 0 : I.wind_wave_height) == null ? void 0 : xe.at(A),
|
|
6445
|
+
degree: (ve = I == null ? void 0 : I.wind_wave_direction) == null ? void 0 : ve.at(A),
|
|
6446
|
+
bearing: ((Se = I == null ? void 0 : I.wind_wave_direction) == null ? void 0 : Se.at(A)) !== null ? (((Me = I == null ? void 0 : I.wind_wave_direction) == null ? void 0 : Me.at(A)) + 180) % 360 : null,
|
|
6447
|
+
period: (Te = I == null ? void 0 : I.wind_wave_period) == null ? void 0 : Te.at(A),
|
|
6448
|
+
peakPeriod: (Re = I == null ? void 0 : I.wind_wave_peak_period) == null ? void 0 : Re.at(A)
|
|
6496
6449
|
}
|
|
6497
6450
|
},
|
|
6498
6451
|
current: {
|
|
6499
|
-
speed: (
|
|
6500
|
-
kts: (ye =
|
|
6501
|
-
degree: (H =
|
|
6502
|
-
bearing: ((te =
|
|
6503
|
-
},
|
|
6504
|
-
sst: (je =
|
|
6505
|
-
height: (Pe =
|
|
6506
|
-
}, Ce.wave = this.parseWave(Ce.wave,
|
|
6452
|
+
speed: (Ie = I == null ? void 0 : I.ocean_current_velocity) == null ? void 0 : Ie.at(A),
|
|
6453
|
+
kts: (ye = I == null ? void 0 : I.ocean_current_velocity) == null ? void 0 : ye.at(A),
|
|
6454
|
+
degree: (H = I == null ? void 0 : I.ocean_current_direction) == null ? void 0 : H.at(A),
|
|
6455
|
+
bearing: ((te = I == null ? void 0 : I.ocean_current_direction) == null ? void 0 : te.at(A)) ?? null
|
|
6456
|
+
},
|
|
6457
|
+
sst: (je = I == null ? void 0 : I.sea_surface_temperature) == null ? void 0 : je.at(A),
|
|
6458
|
+
height: (Pe = I == null ? void 0 : I.sea_level_height_msl) == null ? void 0 : Pe.at(A)
|
|
6459
|
+
}, Ce.wave = this.parseWave(Ce.wave, ge == null ? void 0 : ge.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(Ae[De], Ce), De++;
|
|
6507
6460
|
}
|
|
6508
6461
|
}
|
|
6509
6462
|
}
|
|
6510
|
-
return
|
|
6463
|
+
return Ae;
|
|
6511
6464
|
}
|
|
6512
6465
|
static toLegacy(e) {
|
|
6513
6466
|
var o, i, a, r, s, n, c, g, p, d;
|
|
@@ -6532,49 +6485,49 @@ class Ca {
|
|
|
6532
6485
|
};
|
|
6533
6486
|
}
|
|
6534
6487
|
static pickDaily(e, o) {
|
|
6535
|
-
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
6536
|
-
const
|
|
6537
|
-
if (
|
|
6538
|
-
let he,
|
|
6539
|
-
const
|
|
6488
|
+
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q, se, de, pe, me, K, ie, F, le, fe, xe, ve, Se, Me, Te, Re;
|
|
6489
|
+
const Ie = typeof o == "string" ? D(o) : o, ye = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = D((r = (a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = D((c = (n = (s = ye == null ? void 0 : ye[0]) == null ? void 0 : s.daily) == null ? void 0 : n.time) == null ? void 0 : c.at(-1)), Pe = [];
|
|
6490
|
+
if (Ie.isBetween(te, je, "millisecond", "[]")) {
|
|
6491
|
+
let he, ue;
|
|
6492
|
+
const G = Ie.diff(te, "d", !1);
|
|
6540
6493
|
if (ye)
|
|
6541
6494
|
for (const _e of ye) {
|
|
6542
6495
|
const J = _e.daily;
|
|
6543
6496
|
he = {
|
|
6544
|
-
code: (g = J.weather_code) == null ? void 0 : g.at(
|
|
6497
|
+
code: (g = J.weather_code) == null ? void 0 : g.at(G),
|
|
6545
6498
|
temp: {
|
|
6546
|
-
max: (p = J.temperature_2m_max) == null ? void 0 : p.at(
|
|
6547
|
-
min: (d = J.temperature_2m_min) == null ? void 0 : d.at(
|
|
6548
|
-
mean: (f = J.temperature_2m_mean) == null ? void 0 : f.at(
|
|
6499
|
+
max: (p = J.temperature_2m_max) == null ? void 0 : p.at(G),
|
|
6500
|
+
min: (d = J.temperature_2m_min) == null ? void 0 : d.at(G),
|
|
6501
|
+
mean: (f = J.temperature_2m_mean) == null ? void 0 : f.at(G)
|
|
6549
6502
|
},
|
|
6550
6503
|
apparentTemp: {
|
|
6551
|
-
max: (z = J.apparent_temperature_max) == null ? void 0 : z.at(
|
|
6552
|
-
min: (x = J.apparent_temperature_min) == null ? void 0 : x.at(
|
|
6504
|
+
max: (z = J.apparent_temperature_max) == null ? void 0 : z.at(G),
|
|
6505
|
+
min: (x = J.apparent_temperature_min) == null ? void 0 : x.at(G)
|
|
6553
6506
|
},
|
|
6554
6507
|
precip: {
|
|
6555
|
-
sum: (S = J.precipitation_sum) == null ? void 0 : S.at(
|
|
6556
|
-
rainSum: (C = J.rain_sum) == null ? void 0 : C.at(
|
|
6557
|
-
snowfallSum: (N = J.snowfall_sum) == null ? void 0 : N.at(
|
|
6558
|
-
showersSum: (M = J.showers_sum) == null ? void 0 : M.at(
|
|
6559
|
-
hours: (L = J.precipitation_hours) == null ? void 0 : L.at(
|
|
6560
|
-
probability: (v = J.precipitation_probability_max) == null ? void 0 : v.at(
|
|
6508
|
+
sum: (S = J.precipitation_sum) == null ? void 0 : S.at(G),
|
|
6509
|
+
rainSum: (C = J.rain_sum) == null ? void 0 : C.at(G),
|
|
6510
|
+
snowfallSum: (N = J.snowfall_sum) == null ? void 0 : N.at(G),
|
|
6511
|
+
showersSum: (M = J.showers_sum) == null ? void 0 : M.at(G),
|
|
6512
|
+
hours: (L = J.precipitation_hours) == null ? void 0 : L.at(G),
|
|
6513
|
+
probability: (v = J.precipitation_probability_max) == null ? void 0 : v.at(G)
|
|
6561
6514
|
},
|
|
6562
6515
|
rh: {
|
|
6563
|
-
max: (_ = J.relative_humidity_2m_max) == null ? void 0 : _.at(
|
|
6564
|
-
min: (P = J.relative_humidity_2m_min) == null ? void 0 : P.at(
|
|
6565
|
-
mean: (k = J.relative_humidity_2m_mean) == null ? void 0 : k.at(
|
|
6516
|
+
max: (_ = J.relative_humidity_2m_max) == null ? void 0 : _.at(G),
|
|
6517
|
+
min: (P = J.relative_humidity_2m_min) == null ? void 0 : P.at(G),
|
|
6518
|
+
mean: (k = J.relative_humidity_2m_mean) == null ? void 0 : k.at(G)
|
|
6566
6519
|
},
|
|
6567
6520
|
wind: {
|
|
6568
|
-
speed: (
|
|
6569
|
-
kts: (V = J.wind_speed_10m_max) == null ? void 0 : V.at(
|
|
6570
|
-
degree: (X = J.wind_direction_10m_dominant) == null ? void 0 : X.at(
|
|
6571
|
-
gusts: (q = J.wind_gusts_10m_max) == null ? void 0 : q.at(
|
|
6572
|
-
bearing: ((Y = J.wind_direction_10m_dominant) == null ? void 0 : Y.at(
|
|
6521
|
+
speed: (R = J.wind_speed_10m_max) == null ? void 0 : R.at(G),
|
|
6522
|
+
kts: (V = J.wind_speed_10m_max) == null ? void 0 : V.at(G),
|
|
6523
|
+
degree: (X = J.wind_direction_10m_dominant) == null ? void 0 : X.at(G),
|
|
6524
|
+
gusts: (q = J.wind_gusts_10m_max) == null ? void 0 : q.at(G),
|
|
6525
|
+
bearing: ((Y = J.wind_direction_10m_dominant) == null ? void 0 : Y.at(G)) !== null ? ((($ = J.wind_direction_10m_dominant) == null ? void 0 : $.at(G)) + 180) % 360 : null
|
|
6573
6526
|
}
|
|
6574
6527
|
};
|
|
6575
|
-
const { name: re, url:
|
|
6576
|
-
he.name = re, he.url =
|
|
6577
|
-
utc: te.add(
|
|
6528
|
+
const { name: re, url: Ae, bg: A } = this.parseWeatherCode(he.code, !0);
|
|
6529
|
+
he.name = re, he.url = Ae, he.bg = A, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Pe.push({
|
|
6530
|
+
utc: te.add(G, "d").utc().format(),
|
|
6578
6531
|
model: _e.model,
|
|
6579
6532
|
weather: { ...he }
|
|
6580
6533
|
});
|
|
@@ -6583,31 +6536,31 @@ class Ca {
|
|
|
6583
6536
|
let _e = 0;
|
|
6584
6537
|
for (const J of H) {
|
|
6585
6538
|
const re = J.daily;
|
|
6586
|
-
|
|
6539
|
+
ue = {
|
|
6587
6540
|
wave: {
|
|
6588
6541
|
sig: {
|
|
6589
|
-
height: (ee = re.wave_height_max) == null ? void 0 : ee.at(
|
|
6590
|
-
degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(
|
|
6591
|
-
period: (
|
|
6592
|
-
bearing: ((de = re.wave_direction_dominant) == null ? void 0 : de.at(
|
|
6542
|
+
height: (ee = re.wave_height_max) == null ? void 0 : ee.at(G),
|
|
6543
|
+
degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(G),
|
|
6544
|
+
period: (se = re.wave_period_max) == null ? void 0 : se.at(G),
|
|
6545
|
+
bearing: ((de = re.wave_direction_dominant) == null ? void 0 : de.at(G)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(G)) + 180) % 360 : null
|
|
6593
6546
|
},
|
|
6594
6547
|
swell: {
|
|
6595
|
-
height: (me = re.swell_wave_height_max) == null ? void 0 : me.at(
|
|
6596
|
-
degree: (K = re.swell_wave_direction_dominant) == null ? void 0 : K.at(
|
|
6597
|
-
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(
|
|
6598
|
-
peakPeriod: (
|
|
6548
|
+
height: (me = re.swell_wave_height_max) == null ? void 0 : me.at(G),
|
|
6549
|
+
degree: (K = re.swell_wave_direction_dominant) == null ? void 0 : K.at(G),
|
|
6550
|
+
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(G),
|
|
6551
|
+
peakPeriod: (F = re.swell_wave_peak_period_max) == null ? void 0 : F.at(G),
|
|
6599
6552
|
// bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
|
|
6600
|
-
bearing: ((
|
|
6553
|
+
bearing: ((le = re.swell_wave_direction_dominant) == null ? void 0 : le.at(G)) !== null ? ((fe = re.swell_wave_direction_dominant) == null ? void 0 : fe.at(G)) % 360 : null
|
|
6601
6554
|
},
|
|
6602
6555
|
wd: {
|
|
6603
|
-
height: (xe = re.wind_wave_height_max) == null ? void 0 : xe.at(
|
|
6604
|
-
degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(
|
|
6605
|
-
period: (Se = re.wind_wave_period_max) == null ? void 0 : Se.at(
|
|
6606
|
-
peakPeriod: (Me = re.wind_wave_peak_period_max) == null ? void 0 : Me.at(
|
|
6607
|
-
bearing: ((Te = re.wind_wave_direction_dominant) == null ? void 0 : Te.at(
|
|
6556
|
+
height: (xe = re.wind_wave_height_max) == null ? void 0 : xe.at(G),
|
|
6557
|
+
degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(G),
|
|
6558
|
+
period: (Se = re.wind_wave_period_max) == null ? void 0 : Se.at(G),
|
|
6559
|
+
peakPeriod: (Me = re.wind_wave_peak_period_max) == null ? void 0 : Me.at(G),
|
|
6560
|
+
bearing: ((Te = re.wind_wave_direction_dominant) == null ? void 0 : Te.at(G)) !== null ? (((Re = re.wind_wave_direction_dominant) == null ? void 0 : Re.at(G)) + 180) % 360 : null
|
|
6608
6561
|
}
|
|
6609
6562
|
}
|
|
6610
|
-
},
|
|
6563
|
+
}, ue.wave = this.parseWave(ue.wave, he == null ? void 0 : he.wind), Object.assign(Pe[_e], ue), _e++;
|
|
6611
6564
|
}
|
|
6612
6565
|
}
|
|
6613
6566
|
}
|
|
@@ -7012,7 +6965,7 @@ class Ca {
|
|
|
7012
6965
|
return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
|
|
7013
6966
|
}
|
|
7014
6967
|
}
|
|
7015
|
-
const
|
|
6968
|
+
const ts = {
|
|
7016
6969
|
name: "IdmTropicals",
|
|
7017
6970
|
props: {
|
|
7018
6971
|
permission: {
|
|
@@ -7061,7 +7014,7 @@ const Nl = {
|
|
|
7061
7014
|
return {
|
|
7062
7015
|
right: 10,
|
|
7063
7016
|
toggle: !1,
|
|
7064
|
-
helper:
|
|
7017
|
+
helper: qa,
|
|
7065
7018
|
tropicals: void 0,
|
|
7066
7019
|
tropicalCacheKey: "tropicalCacheGL4",
|
|
7067
7020
|
source: "tropicals-source",
|
|
@@ -7103,8 +7056,8 @@ const Nl = {
|
|
|
7103
7056
|
},
|
|
7104
7057
|
computeBF() {
|
|
7105
7058
|
return function(t) {
|
|
7106
|
-
const e =
|
|
7107
|
-
return
|
|
7059
|
+
const e = Wa.kts2ms(t);
|
|
7060
|
+
return Wa.beaufort(e);
|
|
7108
7061
|
};
|
|
7109
7062
|
},
|
|
7110
7063
|
computeMovement() {
|
|
@@ -7173,7 +7126,7 @@ const Nl = {
|
|
|
7173
7126
|
responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
|
|
7174
7127
|
}).then((p) => {
|
|
7175
7128
|
var z, x, S;
|
|
7176
|
-
const d =
|
|
7129
|
+
const d = Ga.convert2Geojson(((z = p == null ? void 0 : p.data) == null ? void 0 : z.data) || (p == null ? void 0 : p.data));
|
|
7177
7130
|
((S = (x = p == null ? void 0 : p.config) == null ? void 0 : x.headers) == null ? void 0 : S.key) && d && (this.tropicals = {
|
|
7178
7131
|
data: d,
|
|
7179
7132
|
active: !0,
|
|
@@ -7439,7 +7392,7 @@ const Nl = {
|
|
|
7439
7392
|
}), z = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropical] add elapsed: ", z, ", total: ", f += z));
|
|
7440
7393
|
}
|
|
7441
7394
|
this.handleDrawCircle();
|
|
7442
|
-
const p =
|
|
7395
|
+
const p = Ga.interpolate(this.tropicals, 1);
|
|
7443
7396
|
this.interpolateData = JSON.parse(JSON.stringify(p)), this.handleDateChange();
|
|
7444
7397
|
}
|
|
7445
7398
|
},
|
|
@@ -7461,9 +7414,9 @@ const Nl = {
|
|
|
7461
7414
|
), this.showTropicalsInfo = !1;
|
|
7462
7415
|
},
|
|
7463
7416
|
handleDateChange() {
|
|
7464
|
-
var t, e, o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
7465
|
-
if ((t = this.interpolateMarkers) == null || t.forEach((
|
|
7466
|
-
const
|
|
7417
|
+
var t, e, o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q;
|
|
7418
|
+
if ((t = this.interpolateMarkers) == null || t.forEach((se) => se == null ? void 0 : se.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
7419
|
+
const se = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), de = this.interpolateData.filter((K) => K.properties.date === (se == null ? void 0 : se.format()) && !K.properties.disabled), pe = this.handleComputePolygons(de), me = E.featureCollection([...de]);
|
|
7467
7420
|
pe.forEach((K) => {
|
|
7468
7421
|
me.features.push(K);
|
|
7469
7422
|
}), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
|
|
@@ -7483,8 +7436,8 @@ const Nl = {
|
|
|
7483
7436
|
for (const K of de)
|
|
7484
7437
|
if (!K.properties.disabled) {
|
|
7485
7438
|
let ie = "#f44336";
|
|
7486
|
-
((n = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = K.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((z = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) < 47 ? ie = "#f2f202" : ((S = (x = K.properties) == null ? void 0 : x.wind) == null ? void 0 : S.kts) >= 47 && ((N = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : N.kts) < 63 ? ie = "#ff9100" : ((L = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : L.kts) >= 63 && ((_ = (v = K.properties) == null ? void 0 : v.wind) == null ? void 0 : _.kts) < 79 ? ie = "#f44336" : ((k = (P = K.properties) == null ? void 0 : P.wind) == null ? void 0 : k.kts) >= 79 && ((V = (
|
|
7487
|
-
const
|
|
7439
|
+
((n = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = K.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((z = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) < 47 ? ie = "#f2f202" : ((S = (x = K.properties) == null ? void 0 : x.wind) == null ? void 0 : S.kts) >= 47 && ((N = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : N.kts) < 63 ? ie = "#ff9100" : ((L = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : L.kts) >= 63 && ((_ = (v = K.properties) == null ? void 0 : v.wind) == null ? void 0 : _.kts) < 79 ? ie = "#f44336" : ((k = (P = K.properties) == null ? void 0 : P.wind) == null ? void 0 : k.kts) >= 79 && ((V = (R = K.properties) == null ? void 0 : R.wind) == null ? void 0 : V.kts) < 94 ? ie = "#f903d0" : ((q = (X = K.properties) == null ? void 0 : X.wind) == null ? void 0 : q.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
|
|
7440
|
+
const F = `<svg t="1719918955501"
|
|
7488
7441
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
7489
7442
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
7490
7443
|
<path
|
|
@@ -7498,10 +7451,10 @@ const Nl = {
|
|
|
7498
7451
|
<path
|
|
7499
7452
|
d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
|
|
7500
7453
|
fill="#ffffff" p-id="18386"></path>
|
|
7501
|
-
</svg>`,
|
|
7502
|
-
|
|
7503
|
-
const
|
|
7504
|
-
this.interpolateMarkers.push(
|
|
7454
|
+
</svg>`, le = document.createElement("div");
|
|
7455
|
+
le.className = "idm-tropical-gl4-hourly-marker", le.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${F}</div>`;
|
|
7456
|
+
const fe = new we.Marker(le).setLngLat(K.geometry.coordinates).addTo(this.map);
|
|
7457
|
+
this.interpolateMarkers.push(fe), ($ = (Y = this.map) == null ? void 0 : Y.getSource(this.circleSource)) == null || $.setData(this.circleSourceData);
|
|
7505
7458
|
}
|
|
7506
7459
|
} else
|
|
7507
7460
|
(ee = this.map) != null && ee.getSource(this.interpolateSource) && ((Q = this.map) == null || Q.getSource(this.interpolateSource).setData(this.empty));
|
|
@@ -7614,29 +7567,29 @@ const Nl = {
|
|
|
7614
7567
|
this.$emit("tropicalNotification", t);
|
|
7615
7568
|
}
|
|
7616
7569
|
}
|
|
7617
|
-
},
|
|
7570
|
+
}, os = { class: "idm-tropical-gl4" }, as = {
|
|
7618
7571
|
id: "idm-tropical-gl4-info",
|
|
7619
7572
|
class: "idm-tropical-gl4-info"
|
|
7620
|
-
},
|
|
7573
|
+
}, is = { class: "pb-1" }, rs = { class: "text-h6 font-weight-600" }, ls = {
|
|
7621
7574
|
key: 0,
|
|
7622
7575
|
class: "text-body-1 opacity-70"
|
|
7623
|
-
},
|
|
7576
|
+
}, ss = { class: "text-body-2" }, ns = { class: "d-flex justify-space-between align-center" }, cs = { class: "flex-1-1-0" }, ms = { class: "flex-1-1-0" }, hs = { class: "py-2 d-flex justify-space-between align-center" }, ds = { class: "flex-1-1-0" }, ps = { class: "flex-1-1-0" }, us = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, gs = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, fs = { class: "more" }, ys = {
|
|
7624
7577
|
class: "my-4",
|
|
7625
7578
|
style: { height: "80px" }
|
|
7626
|
-
},
|
|
7627
|
-
function
|
|
7579
|
+
}, bs = { class: "pa-1 d-flex justify-space-between align-center" }, ws = { class: "pa-1 d-flex justify-space-between align-center" };
|
|
7580
|
+
function xs(t, e, o, i, a, r) {
|
|
7628
7581
|
const s = w("VBtn"), n = w("VTooltip"), c = w("VCardText"), g = w("VDivider"), p = w("VCardActions"), d = w("VCard");
|
|
7629
|
-
return b(), T("div",
|
|
7582
|
+
return b(), T("div", os, [
|
|
7630
7583
|
l("div", {
|
|
7631
7584
|
class: "menu-bar-box transition pa-1",
|
|
7632
7585
|
style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
|
|
7633
7586
|
}, [
|
|
7634
|
-
|
|
7587
|
+
h(n, {
|
|
7635
7588
|
text: t.$t("tropical.tropicals"),
|
|
7636
7589
|
location: "left"
|
|
7637
7590
|
}, {
|
|
7638
7591
|
activator: u(({ props: f }) => [
|
|
7639
|
-
|
|
7592
|
+
h(s, B(f, {
|
|
7640
7593
|
"min-width": "32",
|
|
7641
7594
|
width: "32",
|
|
7642
7595
|
height: "32",
|
|
@@ -7653,21 +7606,21 @@ function is(t, e, o, i, a, r) {
|
|
|
7653
7606
|
_: 1
|
|
7654
7607
|
}, 8, ["text"])
|
|
7655
7608
|
], 4),
|
|
7656
|
-
He(l("div",
|
|
7657
|
-
|
|
7609
|
+
He(l("div", as, [
|
|
7610
|
+
h(d, {
|
|
7658
7611
|
width: "400",
|
|
7659
7612
|
elevation: "16"
|
|
7660
7613
|
}, {
|
|
7661
7614
|
default: u(() => [
|
|
7662
|
-
|
|
7615
|
+
h(c, null, {
|
|
7663
7616
|
default: u(() => {
|
|
7664
7617
|
var f, z, x, S, C, N, M, L, v, _;
|
|
7665
7618
|
return [
|
|
7666
|
-
l("div",
|
|
7667
|
-
l("span",
|
|
7668
|
-
(x = (z = a.activeTropicals) == null ? void 0 : z.history) != null && x.level ? (b(), T("span",
|
|
7619
|
+
l("div", is, [
|
|
7620
|
+
l("span", rs, y((f = a.activeTropicals) == null ? void 0 : f.name), 1),
|
|
7621
|
+
(x = (z = a.activeTropicals) == null ? void 0 : z.history) != null && x.level ? (b(), T("span", ls, ", " + y((C = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : C.level), 1)) : O("", !0)
|
|
7669
7622
|
]),
|
|
7670
|
-
|
|
7623
|
+
h(s, {
|
|
7671
7624
|
icon: "",
|
|
7672
7625
|
density: "compact",
|
|
7673
7626
|
variant: "plain",
|
|
@@ -7680,7 +7633,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7680
7633
|
_: 1,
|
|
7681
7634
|
__: [5]
|
|
7682
7635
|
}),
|
|
7683
|
-
l("div",
|
|
7636
|
+
l("div", ss, [
|
|
7684
7637
|
e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
|
|
7685
7638
|
l("span", null, y(r.computeTime(((M = (N = a.activeTropicals) == null ? void 0 : N.history) == null ? void 0 : M.updated) || ((_ = (v = (L = a.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : v.filter((P) => !P.disabled)[0]) == null ? void 0 : _.date))), 1)
|
|
7686
7639
|
])
|
|
@@ -7688,48 +7641,48 @@ function is(t, e, o, i, a, r) {
|
|
|
7688
7641
|
}),
|
|
7689
7642
|
_: 1
|
|
7690
7643
|
}),
|
|
7691
|
-
|
|
7692
|
-
|
|
7644
|
+
h(g),
|
|
7645
|
+
h(c, { class: "text-body-1" }, {
|
|
7693
7646
|
default: u(() => {
|
|
7694
7647
|
var f, z, x, S, C, N, M, L, v;
|
|
7695
7648
|
return [
|
|
7696
|
-
l("div",
|
|
7697
|
-
l("div",
|
|
7649
|
+
l("div", ns, [
|
|
7650
|
+
l("div", cs, [
|
|
7698
7651
|
e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
|
|
7699
7652
|
l("span", null, y(((z = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
|
|
7700
7653
|
l("span", null, ", BF " + y(r.computeBF(((S = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : S.kts) || "-")), 1)
|
|
7701
7654
|
]),
|
|
7702
|
-
l("div",
|
|
7655
|
+
l("div", ms, [
|
|
7703
7656
|
e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
|
|
7704
7657
|
l("span", null, y(((N = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : N.pressure) || "-") + " hPa", 1)
|
|
7705
7658
|
])
|
|
7706
7659
|
]),
|
|
7707
|
-
l("div",
|
|
7708
|
-
l("div",
|
|
7660
|
+
l("div", hs, [
|
|
7661
|
+
l("div", ds, [
|
|
7709
7662
|
e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
|
|
7710
7663
|
l("span", null, y(((M = r.computeMovement(a.activeTropicals)) == null ? void 0 : M.kts) || "-") + " kts", 1)
|
|
7711
7664
|
]),
|
|
7712
|
-
l("div",
|
|
7665
|
+
l("div", ps, [
|
|
7713
7666
|
e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
|
|
7714
7667
|
l("span", null, y(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
|
|
7715
7668
|
])
|
|
7716
7669
|
]),
|
|
7717
|
-
l("div",
|
|
7670
|
+
l("div", us, [
|
|
7718
7671
|
e[11] || (e[11] = l("label", {
|
|
7719
7672
|
class: "opacity-70 pr-1",
|
|
7720
7673
|
style: { width: "max-content" }
|
|
7721
7674
|
}, "Forecast Models : ", -1)),
|
|
7722
|
-
l("div",
|
|
7675
|
+
l("div", gs, [
|
|
7723
7676
|
(b(!0), T(ke, null, Le((v = a.activeTropicals) == null ? void 0 : v.forecasts, (_, P) => (b(), j(s, {
|
|
7724
7677
|
key: P,
|
|
7725
7678
|
density: "compact",
|
|
7726
7679
|
variant: _.disabled ? "outlined" : "flat",
|
|
7727
7680
|
color: _.disabled ? "" : "primary",
|
|
7728
|
-
class:
|
|
7681
|
+
class: We(["model text-none text-body-1", _.disabled ? "" : "btn-border-2"]),
|
|
7729
7682
|
onClick: (k) => r.handleForecastToggle(_)
|
|
7730
7683
|
}, {
|
|
7731
7684
|
default: u(() => [
|
|
7732
|
-
|
|
7685
|
+
W(y(_.model), 1)
|
|
7733
7686
|
]),
|
|
7734
7687
|
_: 2
|
|
7735
7688
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -7739,10 +7692,10 @@ function is(t, e, o, i, a, r) {
|
|
|
7739
7692
|
}),
|
|
7740
7693
|
_: 1
|
|
7741
7694
|
}),
|
|
7742
|
-
|
|
7743
|
-
|
|
7695
|
+
h(g),
|
|
7696
|
+
h(p, { class: "d-flex justify-space-between" }, {
|
|
7744
7697
|
default: u(() => [
|
|
7745
|
-
|
|
7698
|
+
h(s, {
|
|
7746
7699
|
density: "compact",
|
|
7747
7700
|
"prepend-icon": "",
|
|
7748
7701
|
variant: "text",
|
|
@@ -7754,12 +7707,12 @@ function is(t, e, o, i, a, r) {
|
|
|
7754
7707
|
l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
7755
7708
|
])),
|
|
7756
7709
|
default: u(() => [
|
|
7757
|
-
e[13] || (e[13] =
|
|
7710
|
+
e[13] || (e[13] = W(" Legend ", -1))
|
|
7758
7711
|
]),
|
|
7759
7712
|
_: 1,
|
|
7760
7713
|
__: [13]
|
|
7761
7714
|
}, 8, ["color"]),
|
|
7762
|
-
l("div",
|
|
7715
|
+
l("div", fs, [
|
|
7763
7716
|
o.permission & a.helper.LEVEL.Supper ? (b(), j(s, {
|
|
7764
7717
|
key: 0,
|
|
7765
7718
|
variant: "text",
|
|
@@ -7768,12 +7721,12 @@ function is(t, e, o, i, a, r) {
|
|
|
7768
7721
|
onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
|
|
7769
7722
|
}, {
|
|
7770
7723
|
default: u(() => e[14] || (e[14] = [
|
|
7771
|
-
|
|
7724
|
+
W("Notify", -1)
|
|
7772
7725
|
])),
|
|
7773
7726
|
_: 1,
|
|
7774
7727
|
__: [14]
|
|
7775
7728
|
})) : O("", !0),
|
|
7776
|
-
|
|
7729
|
+
h(s, {
|
|
7777
7730
|
variant: "text",
|
|
7778
7731
|
density: "compact",
|
|
7779
7732
|
"append-icon": "mdi-chevron-right",
|
|
@@ -7781,7 +7734,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7781
7734
|
onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
|
|
7782
7735
|
}, {
|
|
7783
7736
|
default: u(() => e[15] || (e[15] = [
|
|
7784
|
-
|
|
7737
|
+
W("View Report", -1)
|
|
7785
7738
|
])),
|
|
7786
7739
|
_: 1,
|
|
7787
7740
|
__: [15]
|
|
@@ -7793,15 +7746,15 @@ function is(t, e, o, i, a, r) {
|
|
|
7793
7746
|
]),
|
|
7794
7747
|
_: 1
|
|
7795
7748
|
}),
|
|
7796
|
-
l("div",
|
|
7797
|
-
He(
|
|
7749
|
+
l("div", ys, [
|
|
7750
|
+
He(h(d, {
|
|
7798
7751
|
width: "400",
|
|
7799
7752
|
elevation: "16"
|
|
7800
7753
|
}, {
|
|
7801
7754
|
default: u(() => [
|
|
7802
|
-
|
|
7755
|
+
h(c, null, {
|
|
7803
7756
|
default: u(() => [
|
|
7804
|
-
He(l("div",
|
|
7757
|
+
He(l("div", bs, e[16] || (e[16] = [
|
|
7805
7758
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7806
7759
|
l("div", { class: "icon td" }),
|
|
7807
7760
|
l("div", { class: "label" }, "TD")
|
|
@@ -7827,9 +7780,9 @@ function is(t, e, o, i, a, r) {
|
|
|
7827
7780
|
l("div", { class: "label" }, "Super TY")
|
|
7828
7781
|
], -1)
|
|
7829
7782
|
]), 512), [
|
|
7830
|
-
[
|
|
7783
|
+
[Ge, a.showLegend]
|
|
7831
7784
|
]),
|
|
7832
|
-
He(l("div",
|
|
7785
|
+
He(l("div", ws, e[17] || (e[17] = [
|
|
7833
7786
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7834
7787
|
l("div", { class: "icon history" }),
|
|
7835
7788
|
l("div", { class: "label" }, "History")
|
|
@@ -7847,7 +7800,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7847
7800
|
l("div", { class: "label" }, "50kts Radii")
|
|
7848
7801
|
], -1)
|
|
7849
7802
|
]), 512), [
|
|
7850
|
-
[
|
|
7803
|
+
[Ge, a.showLegend]
|
|
7851
7804
|
])
|
|
7852
7805
|
]),
|
|
7853
7806
|
_: 1
|
|
@@ -7855,16 +7808,16 @@ function is(t, e, o, i, a, r) {
|
|
|
7855
7808
|
]),
|
|
7856
7809
|
_: 1
|
|
7857
7810
|
}, 512), [
|
|
7858
|
-
[
|
|
7811
|
+
[Ge, a.showLegend]
|
|
7859
7812
|
])
|
|
7860
7813
|
])
|
|
7861
7814
|
], 512), [
|
|
7862
|
-
[
|
|
7815
|
+
[Ge, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
|
|
7863
7816
|
])
|
|
7864
7817
|
]);
|
|
7865
7818
|
}
|
|
7866
|
-
const
|
|
7867
|
-
const
|
|
7819
|
+
const Va = /* @__PURE__ */ Z(ts, [["render", xs]]);
|
|
7820
|
+
const vs = {
|
|
7868
7821
|
name: "DateTimePicker",
|
|
7869
7822
|
props: {
|
|
7870
7823
|
locale: {
|
|
@@ -8013,27 +7966,27 @@ const rs = {
|
|
|
8013
7966
|
this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
|
|
8014
7967
|
}
|
|
8015
7968
|
}
|
|
8016
|
-
},
|
|
7969
|
+
}, _s = { class: "idm-gl4-timepicker" }, ks = {
|
|
8017
7970
|
class: "pa-0",
|
|
8018
7971
|
style: { width: "250px" }
|
|
8019
|
-
},
|
|
7972
|
+
}, zs = {
|
|
8020
7973
|
class: "h-100 pa-0 d-flex flex-column justify-start align-center",
|
|
8021
7974
|
style: { width: "100px" }
|
|
8022
|
-
},
|
|
7975
|
+
}, Ls = {
|
|
8023
7976
|
class: "d-flex justify-center align-center text-body-2",
|
|
8024
7977
|
style: { height: "56px" }
|
|
8025
7978
|
};
|
|
8026
|
-
function
|
|
7979
|
+
function Ps(t, e, o, i, a, r) {
|
|
8027
7980
|
const s = w("VBtn"), n = w("VDatePicker"), c = w("VDivider"), g = w("VListItemTitle"), p = w("VListItem"), d = w("VList"), f = w("VCardText"), z = w("VCardActions"), x = w("VCard");
|
|
8028
|
-
return b(), T("div",
|
|
8029
|
-
|
|
7981
|
+
return b(), T("div", _s, [
|
|
7982
|
+
h(s, {
|
|
8030
7983
|
text: "",
|
|
8031
7984
|
height: "30",
|
|
8032
7985
|
class: "elevation-0 text-body-1 px-2 btn-border-1",
|
|
8033
7986
|
onClick: r.handleOpenDatePicker
|
|
8034
7987
|
}, {
|
|
8035
7988
|
default: u(() => [
|
|
8036
|
-
|
|
7989
|
+
W(y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
8037
7990
|
]),
|
|
8038
7991
|
_: 1
|
|
8039
7992
|
}, 8, ["onClick"]),
|
|
@@ -8042,10 +7995,10 @@ function ms(t, e, o, i, a, r) {
|
|
|
8042
7995
|
class: "card-box d-flex flex-column"
|
|
8043
7996
|
}, {
|
|
8044
7997
|
default: u(() => [
|
|
8045
|
-
|
|
7998
|
+
h(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
8046
7999
|
default: u(() => [
|
|
8047
|
-
l("div",
|
|
8048
|
-
|
|
8000
|
+
l("div", ks, [
|
|
8001
|
+
h(n, {
|
|
8049
8002
|
modelValue: a.currentDate,
|
|
8050
8003
|
"onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
|
|
8051
8004
|
min: a.dateRange[0],
|
|
@@ -8059,13 +8012,13 @@ function ms(t, e, o, i, a, r) {
|
|
|
8059
8012
|
"onUpdate:month": r.handleUpdateMonth
|
|
8060
8013
|
}, null, 8, ["modelValue", "min", "max", "mode-icon", "onUpdate:month"])
|
|
8061
8014
|
]),
|
|
8062
|
-
|
|
8015
|
+
h(c, {
|
|
8063
8016
|
class: "h-100",
|
|
8064
8017
|
vertical: ""
|
|
8065
8018
|
}),
|
|
8066
|
-
l("div",
|
|
8067
|
-
l("div",
|
|
8068
|
-
|
|
8019
|
+
l("div", zs, [
|
|
8020
|
+
l("div", Ls, y(a.currentTime), 1),
|
|
8021
|
+
h(d, { class: "pa-0 flex-1-1-0" }, {
|
|
8069
8022
|
default: u(() => [
|
|
8070
8023
|
(b(!0), T(ke, null, Le(r.hourOptions, (S, C) => (b(), j(p, {
|
|
8071
8024
|
key: C,
|
|
@@ -8077,12 +8030,12 @@ function ms(t, e, o, i, a, r) {
|
|
|
8077
8030
|
"min-height": "26"
|
|
8078
8031
|
}, {
|
|
8079
8032
|
default: u(() => [
|
|
8080
|
-
|
|
8033
|
+
h(g, {
|
|
8081
8034
|
class: "text-body-2 text-center",
|
|
8082
8035
|
onClick: (N) => a.currentTime = S
|
|
8083
8036
|
}, {
|
|
8084
8037
|
default: u(() => [
|
|
8085
|
-
|
|
8038
|
+
W(y(S), 1)
|
|
8086
8039
|
]),
|
|
8087
8040
|
_: 2
|
|
8088
8041
|
}, 1032, ["onClick"])
|
|
@@ -8096,25 +8049,25 @@ function ms(t, e, o, i, a, r) {
|
|
|
8096
8049
|
]),
|
|
8097
8050
|
_: 1
|
|
8098
8051
|
}),
|
|
8099
|
-
|
|
8100
|
-
|
|
8052
|
+
h(c),
|
|
8053
|
+
h(z, {
|
|
8101
8054
|
class: "justify-end pa-0 pr-4",
|
|
8102
8055
|
style: { height: "50px" }
|
|
8103
8056
|
}, {
|
|
8104
8057
|
default: u(() => [
|
|
8105
|
-
|
|
8058
|
+
h(s, {
|
|
8106
8059
|
size: "small",
|
|
8107
8060
|
variant: "tonal",
|
|
8108
8061
|
class: "text-none",
|
|
8109
8062
|
onClick: r.handleCancelDate
|
|
8110
8063
|
}, {
|
|
8111
8064
|
default: u(() => e[1] || (e[1] = [
|
|
8112
|
-
|
|
8065
|
+
W("Cancel", -1)
|
|
8113
8066
|
])),
|
|
8114
8067
|
_: 1,
|
|
8115
8068
|
__: [1]
|
|
8116
8069
|
}, 8, ["onClick"]),
|
|
8117
|
-
|
|
8070
|
+
h(s, {
|
|
8118
8071
|
size: "small",
|
|
8119
8072
|
variant: "tonal",
|
|
8120
8073
|
color: "primary",
|
|
@@ -8122,7 +8075,7 @@ function ms(t, e, o, i, a, r) {
|
|
|
8122
8075
|
onClick: r.handleConfirmDate
|
|
8123
8076
|
}, {
|
|
8124
8077
|
default: u(() => e[2] || (e[2] = [
|
|
8125
|
-
|
|
8078
|
+
W("Confirm", -1)
|
|
8126
8079
|
])),
|
|
8127
8080
|
_: 1,
|
|
8128
8081
|
__: [2]
|
|
@@ -8135,8 +8088,8 @@ function ms(t, e, o, i, a, r) {
|
|
|
8135
8088
|
})) : O("", !0)
|
|
8136
8089
|
]);
|
|
8137
8090
|
}
|
|
8138
|
-
const ro = /* @__PURE__ */ Z(
|
|
8139
|
-
const
|
|
8091
|
+
const ro = /* @__PURE__ */ Z(vs, [["render", Ps]]);
|
|
8092
|
+
const Cs = {
|
|
8140
8093
|
name: "IdmPoint",
|
|
8141
8094
|
components: {
|
|
8142
8095
|
DateTimePicker: ro
|
|
@@ -8374,10 +8327,10 @@ const hs = {
|
|
|
8374
8327
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
8375
8328
|
},
|
|
8376
8329
|
initTableData(t) {
|
|
8377
|
-
var o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
8330
|
+
var o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q, se, de, pe, me, K, ie, F, le, fe, xe, ve;
|
|
8378
8331
|
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;
|
|
8379
8332
|
const e = ((s = ao.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
8380
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((x = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : x.kts, 1) ?? "-", this.currentHourData.windDir = (C = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : C.direction, this.currentHourData.windLevel = this.roundPrecision((M = (N = e == null ? void 0 : e.weather) == null ? void 0 : N.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((v = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((P = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (
|
|
8333
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((x = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : x.kts, 1) ?? "-", this.currentHourData.windDir = (C = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : C.direction, this.currentHourData.windLevel = this.roundPrecision((M = (N = e == null ? void 0 : e.weather) == null ? void 0 : N.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((v = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((P = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((X = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.sig) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (de = e == null ? void 0 : e.wave) == null ? void 0 : de.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (K = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((F = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (fe = e == null ? void 0 : e.current) == null ? void 0 : fe.direction, this.currentHourData.currentSpeed = this.roundPrecision((xe = e == null ? void 0 : e.current) == null ? void 0 : xe.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ve = e == null ? void 0 : e.weather) == null ? void 0 : ve.url;
|
|
8381
8334
|
},
|
|
8382
8335
|
handleBind() {
|
|
8383
8336
|
var t, e;
|
|
@@ -8433,32 +8386,32 @@ const hs = {
|
|
|
8433
8386
|
this.$emit("follow", "point", this.point);
|
|
8434
8387
|
}
|
|
8435
8388
|
}
|
|
8436
|
-
},
|
|
8389
|
+
}, Ss = { class: "idm-gl4-spot" }, Ms = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ts = {
|
|
8437
8390
|
class: "multi-color-icon",
|
|
8438
8391
|
"aria-hidden": "true"
|
|
8439
|
-
},
|
|
8392
|
+
}, Rs = ["xlink:href"], Is = { class: "d-flex justify-start align-center ga-1 mb-1" }, As = {
|
|
8440
8393
|
class: "multi-color-icon",
|
|
8441
8394
|
"aria-hidden": "true"
|
|
8442
|
-
},
|
|
8395
|
+
}, Ds = ["xlink:href"], Os = { class: "d-flex justify-start align-center ga-1 mb-1" }, Bs = {
|
|
8443
8396
|
class: "multi-color-icon",
|
|
8444
8397
|
"aria-hidden": "true"
|
|
8445
|
-
},
|
|
8398
|
+
}, Es = ["xlink:href"], js = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ns = {
|
|
8446
8399
|
class: "multi-color-icon",
|
|
8447
8400
|
"aria-hidden": "true"
|
|
8448
|
-
},
|
|
8449
|
-
function
|
|
8401
|
+
}, Fs = ["xlink:href"], Hs = { class: "d-flex justify-start align-center" }, Gs = { class: "mx-2" };
|
|
8402
|
+
function Ws(t, e, o, i, a, r) {
|
|
8450
8403
|
const s = w("VBtn"), n = w("VTooltip"), c = w("VCardTitle"), g = w("VDivider"), p = w("VTextField"), d = w("VCol"), f = w("VRow"), z = w("DateTimePicker"), x = w("VBtnToggle"), S = w("VCardActions"), C = w("VForm"), N = w("VCardText"), M = w("VCard"), L = w("VIcon");
|
|
8451
|
-
return b(), T("div",
|
|
8404
|
+
return b(), T("div", Ss, [
|
|
8452
8405
|
l("div", {
|
|
8453
8406
|
class: "menu-bar-box transition pa-1",
|
|
8454
8407
|
style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
|
|
8455
8408
|
}, [
|
|
8456
|
-
|
|
8409
|
+
h(n, {
|
|
8457
8410
|
text: t.$t("spot.spotsMeteo"),
|
|
8458
8411
|
location: "left"
|
|
8459
8412
|
}, {
|
|
8460
8413
|
activator: u(({ props: v }) => [
|
|
8461
|
-
|
|
8414
|
+
h(s, B(v, {
|
|
8462
8415
|
"min-width": "32",
|
|
8463
8416
|
width: "32",
|
|
8464
8417
|
height: "32",
|
|
@@ -8481,12 +8434,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8481
8434
|
style: ae({ top: o.top + 174 + "px", right: a.right + 50 + "px" })
|
|
8482
8435
|
}, {
|
|
8483
8436
|
default: u(() => [
|
|
8484
|
-
|
|
8437
|
+
h(c, { class: "d-flex justify-space-between align-center" }, {
|
|
8485
8438
|
default: u(() => [
|
|
8486
8439
|
e[10] || (e[10] = l("div", { class: "d-flex justify-start align-center" }, [
|
|
8487
8440
|
l("div", { class: "text-h6 font-weight-600 mx-2" }, "Spot Weather")
|
|
8488
8441
|
], -1)),
|
|
8489
|
-
|
|
8442
|
+
h(s, {
|
|
8490
8443
|
icon: "",
|
|
8491
8444
|
density: "compact",
|
|
8492
8445
|
variant: "plain",
|
|
@@ -8503,32 +8456,32 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8503
8456
|
_: 1,
|
|
8504
8457
|
__: [10]
|
|
8505
8458
|
}),
|
|
8506
|
-
|
|
8507
|
-
|
|
8459
|
+
h(g),
|
|
8460
|
+
h(N, { class: "text-body-1 py-1" }, {
|
|
8508
8461
|
default: u(() => [
|
|
8509
|
-
|
|
8462
|
+
h(C, {
|
|
8510
8463
|
ref: "spotForm",
|
|
8511
8464
|
autocomplete: "off",
|
|
8512
8465
|
class: "form-box",
|
|
8513
|
-
onSubmit:
|
|
8466
|
+
onSubmit: Xa(r.submitForm, ["prevent"])
|
|
8514
8467
|
}, {
|
|
8515
8468
|
default: u(() => [
|
|
8516
|
-
l("div",
|
|
8517
|
-
(b(), T("svg",
|
|
8469
|
+
l("div", Ms, [
|
|
8470
|
+
(b(), T("svg", Ts, [
|
|
8518
8471
|
l("use", {
|
|
8519
8472
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8520
|
-
}, null, 8,
|
|
8473
|
+
}, null, 8, Rs)
|
|
8521
8474
|
])),
|
|
8522
8475
|
e[11] || (e[11] = l("div", null, "Lng", -1))
|
|
8523
8476
|
]),
|
|
8524
|
-
|
|
8477
|
+
h(f, { class: "ma-0" }, {
|
|
8525
8478
|
default: u(() => [
|
|
8526
|
-
|
|
8479
|
+
h(d, {
|
|
8527
8480
|
cols: "4",
|
|
8528
8481
|
class: "pa-0 d-flex"
|
|
8529
8482
|
}, {
|
|
8530
8483
|
default: u(() => [
|
|
8531
|
-
|
|
8484
|
+
h(p, {
|
|
8532
8485
|
modelValue: a.form.lngDegree,
|
|
8533
8486
|
"onUpdate:modelValue": e[0] || (e[0] = (v) => a.form.lngDegree = v),
|
|
8534
8487
|
rules: a.formRules.lngDegree,
|
|
@@ -8542,12 +8495,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8542
8495
|
_: 1,
|
|
8543
8496
|
__: [12]
|
|
8544
8497
|
}),
|
|
8545
|
-
|
|
8498
|
+
h(d, {
|
|
8546
8499
|
cols: "6",
|
|
8547
8500
|
class: "pa-0 d-flex"
|
|
8548
8501
|
}, {
|
|
8549
8502
|
default: u(() => [
|
|
8550
|
-
|
|
8503
|
+
h(p, {
|
|
8551
8504
|
modelValue: a.form.lngMinute,
|
|
8552
8505
|
"onUpdate:modelValue": e[1] || (e[1] = (v) => a.form.lngMinute = v),
|
|
8553
8506
|
rules: a.formRules.lngMinute,
|
|
@@ -8562,12 +8515,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8562
8515
|
_: 1,
|
|
8563
8516
|
__: [13]
|
|
8564
8517
|
}),
|
|
8565
|
-
|
|
8518
|
+
h(d, {
|
|
8566
8519
|
cols: "2",
|
|
8567
8520
|
class: "pa-0"
|
|
8568
8521
|
}, {
|
|
8569
8522
|
default: u(() => [
|
|
8570
|
-
|
|
8523
|
+
h(s, {
|
|
8571
8524
|
variant: "outlined",
|
|
8572
8525
|
density: "compact",
|
|
8573
8526
|
width: "32",
|
|
@@ -8578,7 +8531,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8578
8531
|
onClick: e[2] || (e[2] = (v) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
8579
8532
|
}, {
|
|
8580
8533
|
default: u(() => [
|
|
8581
|
-
|
|
8534
|
+
W(y(a.form.lngDirection), 1)
|
|
8582
8535
|
]),
|
|
8583
8536
|
_: 1
|
|
8584
8537
|
})
|
|
@@ -8588,22 +8541,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8588
8541
|
]),
|
|
8589
8542
|
_: 1
|
|
8590
8543
|
}),
|
|
8591
|
-
l("div",
|
|
8592
|
-
(b(), T("svg",
|
|
8544
|
+
l("div", Is, [
|
|
8545
|
+
(b(), T("svg", As, [
|
|
8593
8546
|
l("use", {
|
|
8594
8547
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8595
|
-
}, null, 8,
|
|
8548
|
+
}, null, 8, Ds)
|
|
8596
8549
|
])),
|
|
8597
8550
|
e[14] || (e[14] = l("div", null, "Lat", -1))
|
|
8598
8551
|
]),
|
|
8599
|
-
|
|
8552
|
+
h(f, { class: "ma-0" }, {
|
|
8600
8553
|
default: u(() => [
|
|
8601
|
-
|
|
8554
|
+
h(d, {
|
|
8602
8555
|
cols: "4",
|
|
8603
8556
|
class: "pa-0 d-flex"
|
|
8604
8557
|
}, {
|
|
8605
8558
|
default: u(() => [
|
|
8606
|
-
|
|
8559
|
+
h(p, {
|
|
8607
8560
|
modelValue: a.form.latDegree,
|
|
8608
8561
|
"onUpdate:modelValue": e[3] || (e[3] = (v) => a.form.latDegree = v),
|
|
8609
8562
|
rules: a.formRules.latDegree,
|
|
@@ -8620,12 +8573,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8620
8573
|
_: 1,
|
|
8621
8574
|
__: [15]
|
|
8622
8575
|
}),
|
|
8623
|
-
|
|
8576
|
+
h(d, {
|
|
8624
8577
|
cols: "6",
|
|
8625
8578
|
class: "pa-0 d-flex"
|
|
8626
8579
|
}, {
|
|
8627
8580
|
default: u(() => [
|
|
8628
|
-
|
|
8581
|
+
h(p, {
|
|
8629
8582
|
modelValue: a.form.latMinute,
|
|
8630
8583
|
"onUpdate:modelValue": e[4] || (e[4] = (v) => a.form.latMinute = v),
|
|
8631
8584
|
rules: a.formRules.latMinute,
|
|
@@ -8640,12 +8593,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8640
8593
|
_: 1,
|
|
8641
8594
|
__: [16]
|
|
8642
8595
|
}),
|
|
8643
|
-
|
|
8596
|
+
h(d, {
|
|
8644
8597
|
cols: "2",
|
|
8645
8598
|
class: "pa-0"
|
|
8646
8599
|
}, {
|
|
8647
8600
|
default: u(() => [
|
|
8648
|
-
|
|
8601
|
+
h(s, {
|
|
8649
8602
|
variant: "outlined",
|
|
8650
8603
|
density: "compact",
|
|
8651
8604
|
width: "32",
|
|
@@ -8656,7 +8609,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8656
8609
|
onClick: e[5] || (e[5] = (v) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
8657
8610
|
}, {
|
|
8658
8611
|
default: u(() => [
|
|
8659
|
-
|
|
8612
|
+
W(y(a.form.latDirection), 1)
|
|
8660
8613
|
]),
|
|
8661
8614
|
_: 1
|
|
8662
8615
|
})
|
|
@@ -8666,22 +8619,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8666
8619
|
]),
|
|
8667
8620
|
_: 1
|
|
8668
8621
|
}),
|
|
8669
|
-
l("div",
|
|
8670
|
-
(b(), T("svg",
|
|
8622
|
+
l("div", Os, [
|
|
8623
|
+
(b(), T("svg", Bs, [
|
|
8671
8624
|
l("use", {
|
|
8672
8625
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
8673
|
-
}, null, 8,
|
|
8626
|
+
}, null, 8, Es)
|
|
8674
8627
|
])),
|
|
8675
8628
|
e[17] || (e[17] = l("div", null, "Date Time", -1))
|
|
8676
8629
|
]),
|
|
8677
|
-
|
|
8630
|
+
h(f, { class: "ma-0 mb-4" }, {
|
|
8678
8631
|
default: u(() => [
|
|
8679
|
-
|
|
8632
|
+
h(d, {
|
|
8680
8633
|
cols: "12",
|
|
8681
8634
|
class: "pa-0"
|
|
8682
8635
|
}, {
|
|
8683
8636
|
default: u(() => [
|
|
8684
|
-
|
|
8637
|
+
h(z, B({
|
|
8685
8638
|
"date-time": a.form.dateTime,
|
|
8686
8639
|
"time-zone": o.timeZone
|
|
8687
8640
|
}, t.$attrs, {
|
|
@@ -8693,22 +8646,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8693
8646
|
]),
|
|
8694
8647
|
_: 1
|
|
8695
8648
|
}),
|
|
8696
|
-
l("div",
|
|
8697
|
-
(b(), T("svg",
|
|
8649
|
+
l("div", js, [
|
|
8650
|
+
(b(), T("svg", Ns, [
|
|
8698
8651
|
l("use", {
|
|
8699
8652
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
8700
|
-
}, null, 8,
|
|
8653
|
+
}, null, 8, Fs)
|
|
8701
8654
|
])),
|
|
8702
8655
|
e[18] || (e[18] = l("div", null, "Forecast Model", -1))
|
|
8703
8656
|
]),
|
|
8704
|
-
|
|
8657
|
+
h(f, { class: "ma-0 mb-2" }, {
|
|
8705
8658
|
default: u(() => [
|
|
8706
|
-
|
|
8659
|
+
h(d, {
|
|
8707
8660
|
cols: "12",
|
|
8708
8661
|
class: "pa-0"
|
|
8709
8662
|
}, {
|
|
8710
8663
|
default: u(() => [
|
|
8711
|
-
|
|
8664
|
+
h(x, {
|
|
8712
8665
|
modelValue: a.form.forecastModel,
|
|
8713
8666
|
"onUpdate:modelValue": e[7] || (e[7] = (v) => a.form.forecastModel = v),
|
|
8714
8667
|
class: "w-100",
|
|
@@ -8718,30 +8671,30 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8718
8671
|
group: ""
|
|
8719
8672
|
}, {
|
|
8720
8673
|
default: u(() => [
|
|
8721
|
-
|
|
8674
|
+
h(s, {
|
|
8722
8675
|
density: "compact",
|
|
8723
8676
|
height: "30",
|
|
8724
8677
|
value: "GFS",
|
|
8725
|
-
class:
|
|
8678
|
+
class: We(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
|
|
8726
8679
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
8727
8680
|
"base-color": ""
|
|
8728
8681
|
}, {
|
|
8729
8682
|
default: u(() => e[19] || (e[19] = [
|
|
8730
|
-
|
|
8683
|
+
W("NOAA", -1)
|
|
8731
8684
|
])),
|
|
8732
8685
|
_: 1,
|
|
8733
8686
|
__: [19]
|
|
8734
8687
|
}, 8, ["class", "color"]),
|
|
8735
|
-
|
|
8688
|
+
h(s, {
|
|
8736
8689
|
density: "compact",
|
|
8737
8690
|
height: "30",
|
|
8738
|
-
class:
|
|
8691
|
+
class: We(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
|
|
8739
8692
|
color: a.form.forecastModel === "ECMWF" ? "primary" : "",
|
|
8740
8693
|
"base-color": "",
|
|
8741
8694
|
value: "ECMWF"
|
|
8742
8695
|
}, {
|
|
8743
8696
|
default: u(() => e[20] || (e[20] = [
|
|
8744
|
-
|
|
8697
|
+
W("ECMWF", -1)
|
|
8745
8698
|
])),
|
|
8746
8699
|
_: 1,
|
|
8747
8700
|
__: [20]
|
|
@@ -8755,22 +8708,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8755
8708
|
]),
|
|
8756
8709
|
_: 1
|
|
8757
8710
|
}),
|
|
8758
|
-
|
|
8759
|
-
|
|
8711
|
+
h(g),
|
|
8712
|
+
h(S, { class: "d-flex justify-end align-center ga-4" }, {
|
|
8760
8713
|
default: u(() => [
|
|
8761
|
-
|
|
8714
|
+
h(s, {
|
|
8762
8715
|
size: "small",
|
|
8763
8716
|
variant: "outlined",
|
|
8764
8717
|
class: "text-none text-body-1",
|
|
8765
8718
|
onClick: r.cancelForm
|
|
8766
8719
|
}, {
|
|
8767
8720
|
default: u(() => e[21] || (e[21] = [
|
|
8768
|
-
|
|
8721
|
+
W("Clear", -1)
|
|
8769
8722
|
])),
|
|
8770
8723
|
_: 1,
|
|
8771
8724
|
__: [21]
|
|
8772
8725
|
}, 8, ["onClick"]),
|
|
8773
|
-
|
|
8726
|
+
h(s, {
|
|
8774
8727
|
loading: a.loading,
|
|
8775
8728
|
size: "small",
|
|
8776
8729
|
variant: "flat",
|
|
@@ -8779,7 +8732,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8779
8732
|
class: "text-none text-body-1"
|
|
8780
8733
|
}, {
|
|
8781
8734
|
default: u(() => e[22] || (e[22] = [
|
|
8782
|
-
|
|
8735
|
+
W("Confirm", -1)
|
|
8783
8736
|
])),
|
|
8784
8737
|
_: 1,
|
|
8785
8738
|
__: [22]
|
|
@@ -8796,21 +8749,21 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8796
8749
|
]),
|
|
8797
8750
|
_: 1
|
|
8798
8751
|
}, 8, ["style"])) : O("", !0),
|
|
8799
|
-
He(
|
|
8752
|
+
He(h(M, {
|
|
8800
8753
|
id: "idm-gl4-spot-meteo",
|
|
8801
8754
|
class: "spot-meteo",
|
|
8802
8755
|
style: { width: "490px", "z-index": "9" }
|
|
8803
8756
|
}, {
|
|
8804
8757
|
default: u(() => [
|
|
8805
|
-
|
|
8758
|
+
h(c, { class: "d-flex justify-space-between align-center" }, {
|
|
8806
8759
|
default: u(() => {
|
|
8807
8760
|
var v, _;
|
|
8808
8761
|
return [
|
|
8809
|
-
l("div",
|
|
8762
|
+
l("div", Hs, [
|
|
8810
8763
|
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
8811
|
-
l("div",
|
|
8764
|
+
l("div", Gs, y(r.computeLat((v = a.currentHourData) == null ? void 0 : v.lat)) + "," + y(r.computeLng((_ = a.currentHourData) == null ? void 0 : _.lng)), 1)
|
|
8812
8765
|
]),
|
|
8813
|
-
|
|
8766
|
+
h(s, {
|
|
8814
8767
|
icon: "",
|
|
8815
8768
|
density: "compact",
|
|
8816
8769
|
variant: "plain",
|
|
@@ -8827,29 +8780,29 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8827
8780
|
}),
|
|
8828
8781
|
_: 1
|
|
8829
8782
|
}),
|
|
8830
|
-
|
|
8831
|
-
|
|
8783
|
+
h(g),
|
|
8784
|
+
h(N, { class: "text-body-1 ml-n8" }, {
|
|
8832
8785
|
default: u(() => [
|
|
8833
|
-
|
|
8786
|
+
h(f, null, {
|
|
8834
8787
|
default: u(() => [
|
|
8835
|
-
|
|
8788
|
+
h(d, {
|
|
8836
8789
|
cols: "3",
|
|
8837
8790
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8838
8791
|
}, {
|
|
8839
8792
|
default: u(() => e[25] || (e[25] = [
|
|
8840
|
-
|
|
8793
|
+
W("Time", -1)
|
|
8841
8794
|
])),
|
|
8842
8795
|
_: 1,
|
|
8843
8796
|
__: [25]
|
|
8844
8797
|
}),
|
|
8845
|
-
|
|
8798
|
+
h(d, {
|
|
8846
8799
|
cols: "9",
|
|
8847
8800
|
class: "pa-2 px-0"
|
|
8848
8801
|
}, {
|
|
8849
8802
|
default: u(() => {
|
|
8850
8803
|
var v;
|
|
8851
8804
|
return [
|
|
8852
|
-
|
|
8805
|
+
W(y(r.computedTzTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
|
|
8853
8806
|
];
|
|
8854
8807
|
}),
|
|
8855
8808
|
_: 1
|
|
@@ -8857,26 +8810,26 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8857
8810
|
]),
|
|
8858
8811
|
_: 1
|
|
8859
8812
|
}),
|
|
8860
|
-
|
|
8813
|
+
h(f, null, {
|
|
8861
8814
|
default: u(() => [
|
|
8862
|
-
|
|
8815
|
+
h(d, {
|
|
8863
8816
|
cols: "3",
|
|
8864
8817
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8865
8818
|
}, {
|
|
8866
8819
|
default: u(() => e[26] || (e[26] = [
|
|
8867
|
-
|
|
8820
|
+
W("LT", -1)
|
|
8868
8821
|
])),
|
|
8869
8822
|
_: 1,
|
|
8870
8823
|
__: [26]
|
|
8871
8824
|
}),
|
|
8872
|
-
|
|
8825
|
+
h(d, {
|
|
8873
8826
|
cols: "9",
|
|
8874
8827
|
class: "pa-2 px-0"
|
|
8875
8828
|
}, {
|
|
8876
8829
|
default: u(() => {
|
|
8877
8830
|
var v;
|
|
8878
8831
|
return [
|
|
8879
|
-
|
|
8832
|
+
W(y(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
|
|
8880
8833
|
];
|
|
8881
8834
|
}),
|
|
8882
8835
|
_: 1
|
|
@@ -8884,129 +8837,129 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8884
8837
|
]),
|
|
8885
8838
|
_: 1
|
|
8886
8839
|
}),
|
|
8887
|
-
|
|
8840
|
+
h(f, null, {
|
|
8888
8841
|
default: u(() => [
|
|
8889
|
-
|
|
8842
|
+
h(d, {
|
|
8890
8843
|
cols: "3",
|
|
8891
8844
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8892
8845
|
}, {
|
|
8893
8846
|
default: u(() => e[27] || (e[27] = [
|
|
8894
|
-
|
|
8847
|
+
W("Wind", -1)
|
|
8895
8848
|
])),
|
|
8896
8849
|
_: 1,
|
|
8897
8850
|
__: [27]
|
|
8898
8851
|
}),
|
|
8899
|
-
|
|
8852
|
+
h(d, {
|
|
8900
8853
|
cols: "4",
|
|
8901
8854
|
class: "pa-2 px-0 text-left"
|
|
8902
8855
|
}, {
|
|
8903
8856
|
default: u(() => [
|
|
8904
|
-
|
|
8857
|
+
W(y(a.currentHourData.windDir) + " / " + y(a.currentHourData.windSpeed) + "kts / BF" + y(a.currentHourData.windLevel), 1)
|
|
8905
8858
|
]),
|
|
8906
8859
|
_: 1
|
|
8907
8860
|
}),
|
|
8908
|
-
|
|
8861
|
+
h(d, {
|
|
8909
8862
|
cols: "2",
|
|
8910
8863
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8911
8864
|
}, {
|
|
8912
8865
|
default: u(() => e[28] || (e[28] = [
|
|
8913
|
-
|
|
8866
|
+
W("Sig Wave", -1)
|
|
8914
8867
|
])),
|
|
8915
8868
|
_: 1,
|
|
8916
8869
|
__: [28]
|
|
8917
8870
|
}),
|
|
8918
|
-
|
|
8871
|
+
h(d, {
|
|
8919
8872
|
cols: "3",
|
|
8920
8873
|
class: "pa-2 px-0 text-left"
|
|
8921
8874
|
}, {
|
|
8922
8875
|
default: u(() => [
|
|
8923
|
-
|
|
8876
|
+
W(y(a.currentHourData.sigwaveDir) + " / " + y(a.currentHourData.sigwaveHeight) + "m / " + y(a.currentHourData.sigwavePeriod) + "s", 1)
|
|
8924
8877
|
]),
|
|
8925
8878
|
_: 1
|
|
8926
8879
|
})
|
|
8927
8880
|
]),
|
|
8928
8881
|
_: 1
|
|
8929
8882
|
}),
|
|
8930
|
-
|
|
8883
|
+
h(f, null, {
|
|
8931
8884
|
default: u(() => [
|
|
8932
|
-
|
|
8885
|
+
h(d, {
|
|
8933
8886
|
cols: "3",
|
|
8934
8887
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8935
8888
|
}, {
|
|
8936
8889
|
default: u(() => e[29] || (e[29] = [
|
|
8937
|
-
|
|
8890
|
+
W("Wind Wave", -1)
|
|
8938
8891
|
])),
|
|
8939
8892
|
_: 1,
|
|
8940
8893
|
__: [29]
|
|
8941
8894
|
}),
|
|
8942
|
-
|
|
8895
|
+
h(d, {
|
|
8943
8896
|
cols: "4",
|
|
8944
8897
|
class: "pa-2 px-0 text-left"
|
|
8945
8898
|
}, {
|
|
8946
8899
|
default: u(() => [
|
|
8947
|
-
|
|
8900
|
+
W(y(a.currentHourData.windwaveDir) + " / " + y(a.currentHourData.windwaveHeight) + "m / " + y(a.currentHourData.windwavePeriod) + "s", 1)
|
|
8948
8901
|
]),
|
|
8949
8902
|
_: 1
|
|
8950
8903
|
}),
|
|
8951
|
-
|
|
8904
|
+
h(d, {
|
|
8952
8905
|
cols: "2",
|
|
8953
8906
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8954
8907
|
}, {
|
|
8955
8908
|
default: u(() => e[30] || (e[30] = [
|
|
8956
|
-
|
|
8909
|
+
W("Swell", -1)
|
|
8957
8910
|
])),
|
|
8958
8911
|
_: 1,
|
|
8959
8912
|
__: [30]
|
|
8960
8913
|
}),
|
|
8961
|
-
|
|
8914
|
+
h(d, {
|
|
8962
8915
|
cols: "3",
|
|
8963
8916
|
class: "pa-2 px-0 text-left"
|
|
8964
8917
|
}, {
|
|
8965
8918
|
default: u(() => [
|
|
8966
|
-
|
|
8919
|
+
W(y(a.currentHourData.swellDir) + " / " + y(a.currentHourData.swellHeight) + "m / " + y(a.currentHourData.swellPeriod) + "s", 1)
|
|
8967
8920
|
]),
|
|
8968
8921
|
_: 1
|
|
8969
8922
|
})
|
|
8970
8923
|
]),
|
|
8971
8924
|
_: 1
|
|
8972
8925
|
}),
|
|
8973
|
-
|
|
8926
|
+
h(f, null, {
|
|
8974
8927
|
default: u(() => [
|
|
8975
|
-
|
|
8928
|
+
h(d, {
|
|
8976
8929
|
cols: "3",
|
|
8977
8930
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8978
8931
|
}, {
|
|
8979
8932
|
default: u(() => e[31] || (e[31] = [
|
|
8980
|
-
|
|
8933
|
+
W("Current", -1)
|
|
8981
8934
|
])),
|
|
8982
8935
|
_: 1,
|
|
8983
8936
|
__: [31]
|
|
8984
8937
|
}),
|
|
8985
|
-
|
|
8938
|
+
h(d, {
|
|
8986
8939
|
cols: "4",
|
|
8987
8940
|
class: "pa-2 px-0 text-left"
|
|
8988
8941
|
}, {
|
|
8989
8942
|
default: u(() => [
|
|
8990
|
-
|
|
8943
|
+
W(y(a.currentHourData.currentDir) + " / " + y(a.currentHourData.currentSpeed) + "kts", 1)
|
|
8991
8944
|
]),
|
|
8992
8945
|
_: 1
|
|
8993
8946
|
}),
|
|
8994
|
-
|
|
8947
|
+
h(d, {
|
|
8995
8948
|
cols: "2",
|
|
8996
8949
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8997
8950
|
}, {
|
|
8998
8951
|
default: u(() => e[32] || (e[32] = [
|
|
8999
|
-
|
|
8952
|
+
W("Visibility", -1)
|
|
9000
8953
|
])),
|
|
9001
8954
|
_: 1,
|
|
9002
8955
|
__: [32]
|
|
9003
8956
|
}),
|
|
9004
|
-
|
|
8957
|
+
h(d, {
|
|
9005
8958
|
cols: "3",
|
|
9006
8959
|
class: "pa-2 px-0 text-left"
|
|
9007
8960
|
}, {
|
|
9008
8961
|
default: u(() => [
|
|
9009
|
-
|
|
8962
|
+
W(y(a.currentHourData.visibility) + " nm", 1)
|
|
9010
8963
|
]),
|
|
9011
8964
|
_: 1
|
|
9012
8965
|
})
|
|
@@ -9016,10 +8969,10 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9016
8969
|
]),
|
|
9017
8970
|
_: 1
|
|
9018
8971
|
}),
|
|
9019
|
-
|
|
9020
|
-
|
|
8972
|
+
h(g),
|
|
8973
|
+
h(S, { class: "d-flex justify-space-between align-center" }, {
|
|
9021
8974
|
default: u(() => [
|
|
9022
|
-
|
|
8975
|
+
h(s, {
|
|
9023
8976
|
vvariant: "text",
|
|
9024
8977
|
density: "compact",
|
|
9025
8978
|
"prepend-icon": "mdi-star",
|
|
@@ -9027,15 +8980,15 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9027
8980
|
onClick: r.handleFollow
|
|
9028
8981
|
}, {
|
|
9029
8982
|
prepend: u(() => [
|
|
9030
|
-
|
|
8983
|
+
h(L, { color: "warning" })
|
|
9031
8984
|
]),
|
|
9032
8985
|
default: u(() => [
|
|
9033
|
-
e[33] || (e[33] =
|
|
8986
|
+
e[33] || (e[33] = W(" Follow", -1))
|
|
9034
8987
|
]),
|
|
9035
8988
|
_: 1,
|
|
9036
8989
|
__: [33]
|
|
9037
8990
|
}, 8, ["onClick"]),
|
|
9038
|
-
|
|
8991
|
+
h(s, {
|
|
9039
8992
|
variant: "text",
|
|
9040
8993
|
density: "compact",
|
|
9041
8994
|
"append-icon": "mdi-chevron-right",
|
|
@@ -9043,7 +8996,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9043
8996
|
onClick: r.handleMeteoMore
|
|
9044
8997
|
}, {
|
|
9045
8998
|
default: u(() => e[34] || (e[34] = [
|
|
9046
|
-
|
|
8999
|
+
W("Forecast", -1)
|
|
9047
9000
|
])),
|
|
9048
9001
|
_: 1,
|
|
9049
9002
|
__: [34]
|
|
@@ -9054,12 +9007,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9054
9007
|
]),
|
|
9055
9008
|
_: 1
|
|
9056
9009
|
}, 512), [
|
|
9057
|
-
[
|
|
9010
|
+
[Ge, a.showMeteo]
|
|
9058
9011
|
])
|
|
9059
9012
|
]);
|
|
9060
9013
|
}
|
|
9061
|
-
const
|
|
9062
|
-
const
|
|
9014
|
+
const Us = /* @__PURE__ */ Z(Cs, [["render", Ws]]);
|
|
9015
|
+
const Vs = {
|
|
9063
9016
|
name: "IdmMeasure",
|
|
9064
9017
|
props: {
|
|
9065
9018
|
map: {
|
|
@@ -9409,20 +9362,20 @@ const Ms = {
|
|
|
9409
9362
|
}), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((x = this.map) != null && x.getSource(o)) && this.map.removeSource(o), e && ((S = this.map) != null && S.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
|
|
9410
9363
|
}
|
|
9411
9364
|
}
|
|
9412
|
-
},
|
|
9413
|
-
function
|
|
9365
|
+
}, Ys = { class: "idm-gl4-measure" };
|
|
9366
|
+
function Zs(t, e, o, i, a, r) {
|
|
9414
9367
|
const s = w("VBtn"), n = w("VTooltip");
|
|
9415
|
-
return b(), T("div",
|
|
9368
|
+
return b(), T("div", Ys, [
|
|
9416
9369
|
l("div", {
|
|
9417
9370
|
class: "menu-bar-box transition pa-1",
|
|
9418
9371
|
style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
|
|
9419
9372
|
}, [
|
|
9420
|
-
|
|
9373
|
+
h(n, {
|
|
9421
9374
|
text: t.$t("measure.measure"),
|
|
9422
9375
|
location: "left"
|
|
9423
9376
|
}, {
|
|
9424
9377
|
activator: u(({ props: c }) => [
|
|
9425
|
-
|
|
9378
|
+
h(s, B(c, {
|
|
9426
9379
|
"min-width": "32",
|
|
9427
9380
|
width: "32",
|
|
9428
9381
|
height: "32",
|
|
@@ -9441,8 +9394,8 @@ function Is(t, e, o, i, a, r) {
|
|
|
9441
9394
|
], 4)
|
|
9442
9395
|
]);
|
|
9443
9396
|
}
|
|
9444
|
-
const
|
|
9445
|
-
const
|
|
9397
|
+
const Xs = /* @__PURE__ */ Z(Vs, [["render", Zs]]);
|
|
9398
|
+
const qs = {
|
|
9446
9399
|
name: "IdmBottomBar",
|
|
9447
9400
|
components: { DateTimePicker: ro },
|
|
9448
9401
|
props: {
|
|
@@ -9559,20 +9512,20 @@ const Rs = {
|
|
|
9559
9512
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
9560
9513
|
}
|
|
9561
9514
|
}
|
|
9562
|
-
},
|
|
9515
|
+
}, Ks = { class: "idm-bottom-bar-gl4" }, Qs = { class: "date-box d-flex ga-2 mr-2" }, Js = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, $s = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, en = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, tn = {
|
|
9563
9516
|
key: 0,
|
|
9564
9517
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
9565
|
-
},
|
|
9566
|
-
function
|
|
9518
|
+
}, on = ["onClick"], an = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, rn = { class: "text-body-1" };
|
|
9519
|
+
function ln(t, e, o, i, a, r) {
|
|
9567
9520
|
const s = w("DateTimePicker"), n = w("VListItemTitle"), c = w("VListItem"), g = w("VList"), p = w("VMenu"), d = w("VBtn"), f = w("VDivider"), z = w("VTooltip");
|
|
9568
|
-
return b(), T("div",
|
|
9521
|
+
return b(), T("div", Ks, [
|
|
9569
9522
|
Object.values(a.show).includes(!0) ? (b(), T("div", {
|
|
9570
9523
|
key: 0,
|
|
9571
9524
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
9572
9525
|
style: ae({ right: a.right + 146 + "px" })
|
|
9573
9526
|
}, [
|
|
9574
|
-
l("div",
|
|
9575
|
-
|
|
9527
|
+
l("div", Qs, [
|
|
9528
|
+
h(s, B({
|
|
9576
9529
|
"date-time": a.currentDateTimeZ,
|
|
9577
9530
|
"time-zone": a.timeZone,
|
|
9578
9531
|
"day-about": a.dayAbout,
|
|
@@ -9582,17 +9535,17 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9582
9535
|
onCurrentRealTime: e[1] || (e[1] = (x) => a.currentRealTime = x),
|
|
9583
9536
|
onTimestampRange: e[2] || (e[2] = (x) => a.timestampRange = x)
|
|
9584
9537
|
}), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
|
|
9585
|
-
|
|
9538
|
+
h(d, {
|
|
9586
9539
|
text: "",
|
|
9587
9540
|
height: "30",
|
|
9588
9541
|
class: "text-none elevation-0 btn-border-1 text-body-1",
|
|
9589
9542
|
"min-width": "30"
|
|
9590
9543
|
}, {
|
|
9591
9544
|
default: u(() => [
|
|
9592
|
-
|
|
9593
|
-
|
|
9545
|
+
W(y(a.intervalHour) + " h ", 1),
|
|
9546
|
+
h(p, { activator: "parent" }, {
|
|
9594
9547
|
default: u(() => [
|
|
9595
|
-
|
|
9548
|
+
h(g, { class: "pa-1" }, {
|
|
9596
9549
|
default: u(() => [
|
|
9597
9550
|
(b(!0), T(ke, null, Le(a.intervalOptions, (x, S) => (b(), j(c, {
|
|
9598
9551
|
key: S,
|
|
@@ -9607,11 +9560,11 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9607
9560
|
class: "pa-0 text-center text-body-1"
|
|
9608
9561
|
}, {
|
|
9609
9562
|
default: u(() => [
|
|
9610
|
-
|
|
9563
|
+
h(n, {
|
|
9611
9564
|
onClick: (C) => a.intervalHour = x
|
|
9612
9565
|
}, {
|
|
9613
9566
|
default: u(() => [
|
|
9614
|
-
|
|
9567
|
+
W(y(x) + "h", 1)
|
|
9615
9568
|
]),
|
|
9616
9569
|
_: 2
|
|
9617
9570
|
}, 1032, ["onClick"])
|
|
@@ -9628,13 +9581,13 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9628
9581
|
_: 1
|
|
9629
9582
|
})
|
|
9630
9583
|
]),
|
|
9631
|
-
|
|
9584
|
+
h(f, {
|
|
9632
9585
|
vertical: "",
|
|
9633
9586
|
class: "mx-2 my-3",
|
|
9634
9587
|
style: { height: "16px" }
|
|
9635
9588
|
}),
|
|
9636
|
-
l("div",
|
|
9637
|
-
|
|
9589
|
+
l("div", Js, [
|
|
9590
|
+
h(d, {
|
|
9638
9591
|
icon: "",
|
|
9639
9592
|
size: "small",
|
|
9640
9593
|
density: "comfortable",
|
|
@@ -9647,7 +9600,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9647
9600
|
_: 1,
|
|
9648
9601
|
__: [9]
|
|
9649
9602
|
}, 8, ["onClick"]),
|
|
9650
|
-
|
|
9603
|
+
h(d, {
|
|
9651
9604
|
icon: "",
|
|
9652
9605
|
size: "small",
|
|
9653
9606
|
density: "comfortable",
|
|
@@ -9687,7 +9640,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9687
9640
|
_: 1,
|
|
9688
9641
|
__: [12]
|
|
9689
9642
|
}, 8, ["onClick"])),
|
|
9690
|
-
|
|
9643
|
+
h(d, {
|
|
9691
9644
|
icon: "",
|
|
9692
9645
|
size: "small",
|
|
9693
9646
|
density: "comfortable",
|
|
@@ -9701,20 +9654,20 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9701
9654
|
__: [13]
|
|
9702
9655
|
}, 8, ["onClick"])
|
|
9703
9656
|
]),
|
|
9704
|
-
|
|
9657
|
+
h(f, {
|
|
9705
9658
|
vertical: "",
|
|
9706
9659
|
class: "mx-2 my-3",
|
|
9707
9660
|
style: { height: "16px" }
|
|
9708
9661
|
}),
|
|
9709
|
-
l("div",
|
|
9710
|
-
|
|
9662
|
+
l("div", $s, [
|
|
9663
|
+
h(z, {
|
|
9711
9664
|
text: t.$t("weather.windBarbs"),
|
|
9712
9665
|
location: "top"
|
|
9713
9666
|
}, {
|
|
9714
9667
|
activator: u(({ props: x }) => {
|
|
9715
9668
|
var S, C;
|
|
9716
9669
|
return [
|
|
9717
|
-
|
|
9670
|
+
h(d, B(x, {
|
|
9718
9671
|
class: "pa-1 d-flex",
|
|
9719
9672
|
color: (S = o.weatherCheckList) != null && S.includes("wind") ? "primary" : "",
|
|
9720
9673
|
variant: (C = o.weatherCheckList) != null && C.includes("wind") ? "elevated" : "text",
|
|
@@ -9733,14 +9686,14 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9733
9686
|
}),
|
|
9734
9687
|
_: 1
|
|
9735
9688
|
}, 8, ["text"]),
|
|
9736
|
-
|
|
9689
|
+
h(z, {
|
|
9737
9690
|
text: t.$t("weather.sigWaveHeight"),
|
|
9738
9691
|
location: "top"
|
|
9739
9692
|
}, {
|
|
9740
9693
|
activator: u(({ props: x }) => {
|
|
9741
9694
|
var S, C;
|
|
9742
9695
|
return [
|
|
9743
|
-
|
|
9696
|
+
h(d, B(x, {
|
|
9744
9697
|
class: "pa-1 d-flex",
|
|
9745
9698
|
color: (S = o.weatherCheckList) != null && S.includes("sig-wave-height") ? "primary" : "",
|
|
9746
9699
|
variant: (C = o.weatherCheckList) != null && C.includes("sig-wave-height") ? "elevated" : "text",
|
|
@@ -9758,14 +9711,14 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9758
9711
|
}),
|
|
9759
9712
|
_: 1
|
|
9760
9713
|
}, 8, ["text"]),
|
|
9761
|
-
|
|
9714
|
+
h(z, {
|
|
9762
9715
|
text: t.$t("weather.currentDirection"),
|
|
9763
9716
|
location: "top"
|
|
9764
9717
|
}, {
|
|
9765
9718
|
activator: u(({ props: x }) => {
|
|
9766
9719
|
var S, C;
|
|
9767
9720
|
return [
|
|
9768
|
-
|
|
9721
|
+
h(d, B(x, {
|
|
9769
9722
|
class: "pa-1 d-flex",
|
|
9770
9723
|
color: (S = o.weatherCheckList) != null && S.includes("current-direction") ? "primary" : "",
|
|
9771
9724
|
variant: (C = o.weatherCheckList) != null && C.includes("current-direction") ? "elevated" : "text",
|
|
@@ -9783,12 +9736,12 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9783
9736
|
}),
|
|
9784
9737
|
_: 1
|
|
9785
9738
|
}, 8, ["text"]),
|
|
9786
|
-
|
|
9739
|
+
h(z, {
|
|
9787
9740
|
text: t.$t("weather.weatherLayers"),
|
|
9788
9741
|
location: "top"
|
|
9789
9742
|
}, {
|
|
9790
9743
|
activator: u(({ props: x }) => [
|
|
9791
|
-
|
|
9744
|
+
h(d, B(x, {
|
|
9792
9745
|
class: "pa-1 d-flex",
|
|
9793
9746
|
variant: "text",
|
|
9794
9747
|
height: "24",
|
|
@@ -9805,13 +9758,13 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9805
9758
|
_: 1
|
|
9806
9759
|
}, 8, ["text"])
|
|
9807
9760
|
]),
|
|
9808
|
-
|
|
9761
|
+
h(f, {
|
|
9809
9762
|
vertical: "",
|
|
9810
9763
|
class: "mx-2 mr-3 my-3",
|
|
9811
9764
|
style: { height: "16px" }
|
|
9812
9765
|
}),
|
|
9813
|
-
l("div",
|
|
9814
|
-
|
|
9766
|
+
l("div", en, [
|
|
9767
|
+
h(d, {
|
|
9815
9768
|
text: "",
|
|
9816
9769
|
height: "30",
|
|
9817
9770
|
class: "px-2 elevation-0 text-body-1 btn-border-2",
|
|
@@ -9819,12 +9772,12 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9819
9772
|
onClick: e[6] || (e[6] = (x) => a.source = "GFS")
|
|
9820
9773
|
}, {
|
|
9821
9774
|
default: u(() => e[15] || (e[15] = [
|
|
9822
|
-
|
|
9775
|
+
W("NOAA", -1)
|
|
9823
9776
|
])),
|
|
9824
9777
|
_: 1,
|
|
9825
9778
|
__: [15]
|
|
9826
9779
|
}, 8, ["color"]),
|
|
9827
|
-
|
|
9780
|
+
h(d, {
|
|
9828
9781
|
text: "",
|
|
9829
9782
|
height: "30",
|
|
9830
9783
|
class: "px-2 elevation-0 text-body-1 btn-border-2",
|
|
@@ -9832,7 +9785,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9832
9785
|
onClick: e[7] || (e[7] = (x) => a.source = "ECMWF")
|
|
9833
9786
|
}, {
|
|
9834
9787
|
default: u(() => e[16] || (e[16] = [
|
|
9835
|
-
|
|
9788
|
+
W("ECMWF", -1)
|
|
9836
9789
|
])),
|
|
9837
9790
|
_: 1,
|
|
9838
9791
|
__: [16]
|
|
@@ -9843,15 +9796,15 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9843
9796
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
9844
9797
|
style: ae({ right: a.right + "px" })
|
|
9845
9798
|
}, [
|
|
9846
|
-
a.showTimezone ? (b(), T("div",
|
|
9799
|
+
a.showTimezone ? (b(), T("div", tn, [
|
|
9847
9800
|
(b(!0), T(ke, null, Le(a.offsets, (x) => (b(), T("div", {
|
|
9848
9801
|
key: x,
|
|
9849
9802
|
class: "item rounded text-body-2 hover-active",
|
|
9850
9803
|
onClick: (S) => a.timeZone = x
|
|
9851
|
-
}, y(x < 0 ? x : "+" + x), 9,
|
|
9804
|
+
}, y(x < 0 ? x : "+" + x), 9, on))), 128))
|
|
9852
9805
|
])) : O("", !0),
|
|
9853
|
-
l("div",
|
|
9854
|
-
|
|
9806
|
+
l("div", an, [
|
|
9807
|
+
h(d, {
|
|
9855
9808
|
text: "",
|
|
9856
9809
|
variant: "flat",
|
|
9857
9810
|
height: "28",
|
|
@@ -9860,24 +9813,24 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9860
9813
|
onClick: e[8] || (e[8] = (x) => a.showTimezone = !a.showTimezone)
|
|
9861
9814
|
}, {
|
|
9862
9815
|
default: u(() => [
|
|
9863
|
-
|
|
9816
|
+
W(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
9864
9817
|
]),
|
|
9865
9818
|
_: 1
|
|
9866
9819
|
}),
|
|
9867
|
-
l("span",
|
|
9820
|
+
l("span", rn, y(a.currentRealTime), 1)
|
|
9868
9821
|
])
|
|
9869
9822
|
], 4)
|
|
9870
9823
|
]);
|
|
9871
9824
|
}
|
|
9872
|
-
const
|
|
9825
|
+
const sn = /* @__PURE__ */ Z(qs, [["render", ln]]), nn = {
|
|
9873
9826
|
name: "IdmGL4",
|
|
9874
9827
|
components: {
|
|
9875
|
-
IdmOtherLayer:
|
|
9876
|
-
IdmWeatherLayer:
|
|
9877
|
-
IdmTropicals:
|
|
9878
|
-
IdmMeasure:
|
|
9879
|
-
IdmSpot:
|
|
9880
|
-
IdmBottomBar:
|
|
9828
|
+
IdmOtherLayer: gr,
|
|
9829
|
+
IdmWeatherLayer: es,
|
|
9830
|
+
IdmTropicals: Va,
|
|
9831
|
+
IdmMeasure: Xs,
|
|
9832
|
+
IdmSpot: Us,
|
|
9833
|
+
IdmBottomBar: sn
|
|
9881
9834
|
},
|
|
9882
9835
|
props: {
|
|
9883
9836
|
map: {
|
|
@@ -9930,14 +9883,14 @@ const Us = /* @__PURE__ */ Z(Rs, [["render", Gs]]), Vs = {
|
|
|
9930
9883
|
}
|
|
9931
9884
|
},
|
|
9932
9885
|
methods: {}
|
|
9933
|
-
},
|
|
9886
|
+
}, cn = {
|
|
9934
9887
|
ref: "mapHomeGl4",
|
|
9935
9888
|
class: "map-gl4-home"
|
|
9936
9889
|
};
|
|
9937
|
-
function
|
|
9890
|
+
function mn(t, e, o, i, a, r) {
|
|
9938
9891
|
const s = w("IdmOtherLayer"), n = w("IdmWeatherLayer"), c = w("IdmTropicals"), g = w("IdmMeasure"), p = w("IdmSpot"), d = w("IdmBottomBar");
|
|
9939
|
-
return b(), T("div",
|
|
9940
|
-
|
|
9892
|
+
return b(), T("div", cn, [
|
|
9893
|
+
h(s, B({
|
|
9941
9894
|
ref: "idmOtherLayers",
|
|
9942
9895
|
token: o.token,
|
|
9943
9896
|
"default-meteo-token": a.defaultMeteoToken,
|
|
@@ -9953,7 +9906,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9953
9906
|
a.otherCheckList = f, a.layerVersion = a.layerVersion + 1;
|
|
9954
9907
|
})
|
|
9955
9908
|
}), null, 16, ["token", "default-meteo-token", "map", "real-time", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9956
|
-
|
|
9909
|
+
h(n, B({
|
|
9957
9910
|
ref: "idmWeatherLayers",
|
|
9958
9911
|
map: o.map,
|
|
9959
9912
|
"before-layer": "empty-layer-2",
|
|
@@ -9972,7 +9925,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9972
9925
|
a.weatherCheckList = f, a.layerVersion = a.layerVersion + 1;
|
|
9973
9926
|
})
|
|
9974
9927
|
}), null, 16, ["map", "real-time", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9975
|
-
|
|
9928
|
+
h(c, B({
|
|
9976
9929
|
map: o.map,
|
|
9977
9930
|
token: o.token,
|
|
9978
9931
|
"default-meteo-token": a.defaultMeteoToken,
|
|
@@ -9984,11 +9937,11 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9984
9937
|
"forecast-model": o.forecastModel,
|
|
9985
9938
|
"map-feather": o.mapFeather
|
|
9986
9939
|
}, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "tropicals", "real-time", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9987
|
-
|
|
9940
|
+
h(g, B({
|
|
9988
9941
|
map: o.map,
|
|
9989
9942
|
"map-feather": o.mapFeather
|
|
9990
9943
|
}, t.$attrs), null, 16, ["map", "map-feather"]),
|
|
9991
|
-
|
|
9944
|
+
h(p, B({
|
|
9992
9945
|
ref: "idmSpot",
|
|
9993
9946
|
map: o.map,
|
|
9994
9947
|
"real-time": a.realTime,
|
|
@@ -9997,7 +9950,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9997
9950
|
"forecast-model": o.forecastModel,
|
|
9998
9951
|
"map-feather": o.mapFeather
|
|
9999
9952
|
}, t.$attrs), null, 16, ["map", "real-time", "token", "gateway", "forecast-model", "map-feather"]),
|
|
10000
|
-
|
|
9953
|
+
h(d, B({
|
|
10001
9954
|
ref: "idmBottomBar",
|
|
10002
9955
|
"forecast-model": o.forecastModel,
|
|
10003
9956
|
"weather-check-list": a.weatherCheckList,
|
|
@@ -10007,16 +9960,16 @@ function Zs(t, e, o, i, a, r) {
|
|
|
10007
9960
|
}), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
10008
9961
|
], 512);
|
|
10009
9962
|
}
|
|
10010
|
-
const
|
|
10011
|
-
class
|
|
9963
|
+
const hn = /* @__PURE__ */ Z(nn, [["render", mn]]);
|
|
9964
|
+
class dn {
|
|
10012
9965
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
var o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
9966
|
+
ne(this, "originStyle");
|
|
9967
|
+
ne(this, "mapboxStyle");
|
|
9968
|
+
ne(this, "i4");
|
|
9969
|
+
ne(this, "hi");
|
|
9970
|
+
ne(this, "td");
|
|
9971
|
+
ne(this, "windy");
|
|
9972
|
+
var o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q, se, de, pe, me, K, ie, F, le, fe, xe, ve, Se, Me, Te, Re, Ie, ye, H, te, je, Pe, he, ue, G, _e, J, re, Ae, A, ge, Ce, De, Oe, I, U, Ue, Ve, Ye, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Ro, Io, Ao, Do, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Sa, Ma, Ta, Ra, Ia, Aa, Da, Oa, Ba, Ea, ja, Na, Fa, Ha;
|
|
10020
9973
|
this.i4 = {
|
|
10021
9974
|
source: {
|
|
10022
9975
|
type: "raster",
|
|
@@ -10169,7 +10122,7 @@ class qs {
|
|
|
10169
10122
|
},
|
|
10170
10123
|
sources: {
|
|
10171
10124
|
composite: {
|
|
10172
|
-
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2,mapbox.country-boundaries-v1,neatchenheng.d44z21eg,neatchenheng.82kqbc1q,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv",
|
|
10125
|
+
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2,mapbox.country-boundaries-v1,neatchenheng.d44z21eg,neatchenheng.82kqbc1q,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv,neatchenheng.dlkkohie",
|
|
10173
10126
|
type: "vector"
|
|
10174
10127
|
}
|
|
10175
10128
|
},
|
|
@@ -11530,6 +11483,70 @@ class qs {
|
|
|
11530
11483
|
},
|
|
11531
11484
|
source: "composite",
|
|
11532
11485
|
"source-layer": "tide_station_cn-8xvt91"
|
|
11486
|
+
},
|
|
11487
|
+
{
|
|
11488
|
+
id: "loadlines-label",
|
|
11489
|
+
minzoom: 0,
|
|
11490
|
+
maxzoom: 22,
|
|
11491
|
+
type: "symbol",
|
|
11492
|
+
paint: {
|
|
11493
|
+
"text-color": "rgb(0, 0, 0)"
|
|
11494
|
+
},
|
|
11495
|
+
layout: {
|
|
11496
|
+
"text-field": [
|
|
11497
|
+
"to-string",
|
|
11498
|
+
[
|
|
11499
|
+
"get",
|
|
11500
|
+
"name"
|
|
11501
|
+
]
|
|
11502
|
+
],
|
|
11503
|
+
"text-size": 10,
|
|
11504
|
+
"text-font": [
|
|
11505
|
+
"DIN Pro Regular",
|
|
11506
|
+
"Arial Unicode MS Regular"
|
|
11507
|
+
],
|
|
11508
|
+
visibility: "none",
|
|
11509
|
+
"text-offset": [
|
|
11510
|
+
0,
|
|
11511
|
+
1
|
|
11512
|
+
]
|
|
11513
|
+
},
|
|
11514
|
+
source: "composite",
|
|
11515
|
+
"source-layer": "loadlines-b6mgr8"
|
|
11516
|
+
},
|
|
11517
|
+
{
|
|
11518
|
+
id: "loadlines-fill",
|
|
11519
|
+
minzoom: 0,
|
|
11520
|
+
maxzoom: 22,
|
|
11521
|
+
type: "fill",
|
|
11522
|
+
paint: {
|
|
11523
|
+
"fill-color": [
|
|
11524
|
+
"match",
|
|
11525
|
+
[
|
|
11526
|
+
"get",
|
|
11527
|
+
"val"
|
|
11528
|
+
],
|
|
11529
|
+
[
|
|
11530
|
+
"LLGreen"
|
|
11531
|
+
],
|
|
11532
|
+
"rgba(164, 214, 217, 0.6)",
|
|
11533
|
+
[
|
|
11534
|
+
"LLBlue"
|
|
11535
|
+
],
|
|
11536
|
+
"rgba(53, 121, 194, 0.6)",
|
|
11537
|
+
[
|
|
11538
|
+
"LLRed"
|
|
11539
|
+
],
|
|
11540
|
+
"rgba(217, 150, 151, 0.6)",
|
|
11541
|
+
"rgb(255, 255, 255)"
|
|
11542
|
+
],
|
|
11543
|
+
"fill-outline-color": "rgba(255, 255, 255, 0.3)"
|
|
11544
|
+
},
|
|
11545
|
+
layout: {
|
|
11546
|
+
visibility: "none"
|
|
11547
|
+
},
|
|
11548
|
+
source: "composite",
|
|
11549
|
+
"source-layer": "loadlines-b6mgr8"
|
|
11533
11550
|
}
|
|
11534
11551
|
],
|
|
11535
11552
|
created: "2025-07-18T03:20:31.079Z",
|
|
@@ -11645,7 +11662,7 @@ class qs {
|
|
|
11645
11662
|
},
|
|
11646
11663
|
sources: {
|
|
11647
11664
|
composite: {
|
|
11648
|
-
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2,mapbox.country-boundaries-v1,neatchenheng.d44z21eg,neatchenheng.82kqbc1q,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv",
|
|
11665
|
+
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2,mapbox.country-boundaries-v1,neatchenheng.d44z21eg,neatchenheng.82kqbc1q,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv,neatchenheng.dlkkohie",
|
|
11649
11666
|
type: "vector"
|
|
11650
11667
|
}
|
|
11651
11668
|
},
|
|
@@ -12993,6 +13010,70 @@ class qs {
|
|
|
12993
13010
|
},
|
|
12994
13011
|
source: "composite",
|
|
12995
13012
|
"source-layer": "tide_station_cn-8xvt91"
|
|
13013
|
+
},
|
|
13014
|
+
{
|
|
13015
|
+
id: "loadlines-label",
|
|
13016
|
+
minzoom: 0,
|
|
13017
|
+
maxzoom: 22,
|
|
13018
|
+
type: "symbol",
|
|
13019
|
+
paint: {
|
|
13020
|
+
"text-color": "rgb(255, 255, 255)"
|
|
13021
|
+
},
|
|
13022
|
+
layout: {
|
|
13023
|
+
"text-field": [
|
|
13024
|
+
"to-string",
|
|
13025
|
+
[
|
|
13026
|
+
"get",
|
|
13027
|
+
"name"
|
|
13028
|
+
]
|
|
13029
|
+
],
|
|
13030
|
+
"text-size": 10,
|
|
13031
|
+
"text-font": [
|
|
13032
|
+
"DIN Pro Regular",
|
|
13033
|
+
"Arial Unicode MS Regular"
|
|
13034
|
+
],
|
|
13035
|
+
visibility: "none",
|
|
13036
|
+
"text-offset": [
|
|
13037
|
+
0,
|
|
13038
|
+
1
|
|
13039
|
+
]
|
|
13040
|
+
},
|
|
13041
|
+
source: "composite",
|
|
13042
|
+
"source-layer": "loadlines-b6mgr8"
|
|
13043
|
+
},
|
|
13044
|
+
{
|
|
13045
|
+
id: "loadlines-fill",
|
|
13046
|
+
minzoom: 0,
|
|
13047
|
+
maxzoom: 22,
|
|
13048
|
+
type: "fill",
|
|
13049
|
+
paint: {
|
|
13050
|
+
"fill-color": [
|
|
13051
|
+
"match",
|
|
13052
|
+
[
|
|
13053
|
+
"get",
|
|
13054
|
+
"val"
|
|
13055
|
+
],
|
|
13056
|
+
[
|
|
13057
|
+
"LLGreen"
|
|
13058
|
+
],
|
|
13059
|
+
"rgba(164, 214, 217, 0.6)",
|
|
13060
|
+
[
|
|
13061
|
+
"LLBlue"
|
|
13062
|
+
],
|
|
13063
|
+
"rgba(53, 121, 194, 0.6)",
|
|
13064
|
+
[
|
|
13065
|
+
"LLRed"
|
|
13066
|
+
],
|
|
13067
|
+
"rgba(217, 150, 151, 0.6)",
|
|
13068
|
+
"rgb(255, 255, 255)"
|
|
13069
|
+
],
|
|
13070
|
+
"fill-outline-color": "rgba(255, 255, 255, 0.3)"
|
|
13071
|
+
},
|
|
13072
|
+
layout: {
|
|
13073
|
+
visibility: "none"
|
|
13074
|
+
},
|
|
13075
|
+
source: "composite",
|
|
13076
|
+
"source-layer": "loadlines-b6mgr8"
|
|
12996
13077
|
}
|
|
12997
13078
|
],
|
|
12998
13079
|
created: "2025-07-31T04:32:27.422Z",
|
|
@@ -16857,7 +16938,7 @@ class qs {
|
|
|
16857
16938
|
tileSize: 256
|
|
16858
16939
|
},
|
|
16859
16940
|
composite: {
|
|
16860
|
-
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.country-boundaries-v1,neatchenheng.82kqbc1q,neatchenheng.d44z21eg,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv",
|
|
16941
|
+
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.country-boundaries-v1,neatchenheng.82kqbc1q,neatchenheng.d44z21eg,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv,neatchenheng.dlkkohie",
|
|
16861
16942
|
type: "vector"
|
|
16862
16943
|
}
|
|
16863
16944
|
},
|
|
@@ -17568,6 +17649,70 @@ class qs {
|
|
|
17568
17649
|
},
|
|
17569
17650
|
source: "composite",
|
|
17570
17651
|
"source-layer": "tide_station_cn-8xvt91"
|
|
17652
|
+
},
|
|
17653
|
+
{
|
|
17654
|
+
id: "loadlines-label",
|
|
17655
|
+
minzoom: 0,
|
|
17656
|
+
maxzoom: 22,
|
|
17657
|
+
type: "symbol",
|
|
17658
|
+
paint: {
|
|
17659
|
+
"text-color": "rgb(255, 255, 255)"
|
|
17660
|
+
},
|
|
17661
|
+
layout: {
|
|
17662
|
+
"text-field": [
|
|
17663
|
+
"to-string",
|
|
17664
|
+
[
|
|
17665
|
+
"get",
|
|
17666
|
+
"name"
|
|
17667
|
+
]
|
|
17668
|
+
],
|
|
17669
|
+
"text-size": 10,
|
|
17670
|
+
"text-font": [
|
|
17671
|
+
"DIN Pro Regular",
|
|
17672
|
+
"Arial Unicode MS Regular"
|
|
17673
|
+
],
|
|
17674
|
+
visibility: "none",
|
|
17675
|
+
"text-offset": [
|
|
17676
|
+
0,
|
|
17677
|
+
1
|
|
17678
|
+
]
|
|
17679
|
+
},
|
|
17680
|
+
source: "composite",
|
|
17681
|
+
"source-layer": "loadlines-b6mgr8"
|
|
17682
|
+
},
|
|
17683
|
+
{
|
|
17684
|
+
id: "loadlines-fill",
|
|
17685
|
+
minzoom: 0,
|
|
17686
|
+
maxzoom: 22,
|
|
17687
|
+
type: "fill",
|
|
17688
|
+
paint: {
|
|
17689
|
+
"fill-color": [
|
|
17690
|
+
"match",
|
|
17691
|
+
[
|
|
17692
|
+
"get",
|
|
17693
|
+
"val"
|
|
17694
|
+
],
|
|
17695
|
+
[
|
|
17696
|
+
"LLGreen"
|
|
17697
|
+
],
|
|
17698
|
+
"rgba(164, 214, 217, 0.6)",
|
|
17699
|
+
[
|
|
17700
|
+
"LLBlue"
|
|
17701
|
+
],
|
|
17702
|
+
"rgba(53, 121, 194, 0.6)",
|
|
17703
|
+
[
|
|
17704
|
+
"LLRed"
|
|
17705
|
+
],
|
|
17706
|
+
"rgba(217, 150, 151, 0.6)",
|
|
17707
|
+
"rgb(255, 255, 255)"
|
|
17708
|
+
],
|
|
17709
|
+
"fill-outline-color": "rgba(255, 255, 255, 0.3)"
|
|
17710
|
+
},
|
|
17711
|
+
layout: {
|
|
17712
|
+
visibility: "none"
|
|
17713
|
+
},
|
|
17714
|
+
source: "composite",
|
|
17715
|
+
"source-layer": "loadlines-b6mgr8"
|
|
17571
17716
|
}
|
|
17572
17717
|
],
|
|
17573
17718
|
created: "2025-07-25T03:53:24.667Z",
|
|
@@ -28025,6 +28170,50 @@ class qs {
|
|
|
28025
28170
|
webpage: "https://studio.mapbox.com/tilesets/neatchenheng.27issko0"
|
|
28026
28171
|
}
|
|
28027
28172
|
},
|
|
28173
|
+
"mapbox://neatchenheng.dlkkohie": {
|
|
28174
|
+
url: "mapbox://neatchenheng.dlkkohie",
|
|
28175
|
+
type: "vector",
|
|
28176
|
+
data: {
|
|
28177
|
+
bounds: [
|
|
28178
|
+
-180.0443283402411,
|
|
28179
|
+
-80,
|
|
28180
|
+
180.01928531696865,
|
|
28181
|
+
90
|
|
28182
|
+
],
|
|
28183
|
+
center: [
|
|
28184
|
+
-0.012521511636222726,
|
|
28185
|
+
5,
|
|
28186
|
+
0
|
|
28187
|
+
],
|
|
28188
|
+
created: 1756711198438,
|
|
28189
|
+
created_by_client: "studio",
|
|
28190
|
+
filesize: 38788,
|
|
28191
|
+
format: "pbf",
|
|
28192
|
+
id: "neatchenheng.dlkkohie",
|
|
28193
|
+
mapbox_logo: !0,
|
|
28194
|
+
maxzoom: 6,
|
|
28195
|
+
minzoom: 0,
|
|
28196
|
+
modified: 1756711198222,
|
|
28197
|
+
name: "loadlines-b6mgr8",
|
|
28198
|
+
private: !0,
|
|
28199
|
+
scheme: "xyz",
|
|
28200
|
+
tilejson: "3.0.0",
|
|
28201
|
+
tiles: [
|
|
28202
|
+
"mapbox://tiles/neatchenheng.dlkkohie/{z}/{x}/{y}.vector.pbf"
|
|
28203
|
+
],
|
|
28204
|
+
upload_id: "cmf0sh4ld1lvw1no16u59vten",
|
|
28205
|
+
vector_layers: [
|
|
28206
|
+
{
|
|
28207
|
+
id: "loadlines-b6mgr8",
|
|
28208
|
+
maxzoom: 22,
|
|
28209
|
+
minzoom: 0,
|
|
28210
|
+
source: "neatchenheng.dlkkohie"
|
|
28211
|
+
}
|
|
28212
|
+
],
|
|
28213
|
+
version: "1.0.0",
|
|
28214
|
+
webpage: "https://studio.mapbox.com/tilesets/neatchenheng.dlkkohie"
|
|
28215
|
+
}
|
|
28216
|
+
},
|
|
28028
28217
|
i4: this.i4.source
|
|
28029
28218
|
// "hi": this.hi.source
|
|
28030
28219
|
},
|
|
@@ -28267,6 +28456,70 @@ class qs {
|
|
|
28267
28456
|
},
|
|
28268
28457
|
source: "mapbox://neatchenheng.7y3kpvvv",
|
|
28269
28458
|
"source-layer": "tide_station_cn-8xvt91"
|
|
28459
|
+
},
|
|
28460
|
+
{
|
|
28461
|
+
id: "loadlines-label",
|
|
28462
|
+
minzoom: 0,
|
|
28463
|
+
maxzoom: 22,
|
|
28464
|
+
type: "symbol",
|
|
28465
|
+
paint: {
|
|
28466
|
+
"text-color": "rgb(0, 0, 0)"
|
|
28467
|
+
},
|
|
28468
|
+
layout: {
|
|
28469
|
+
"text-field": [
|
|
28470
|
+
"to-string",
|
|
28471
|
+
[
|
|
28472
|
+
"get",
|
|
28473
|
+
"name"
|
|
28474
|
+
]
|
|
28475
|
+
],
|
|
28476
|
+
"text-size": 10,
|
|
28477
|
+
"text-font": [
|
|
28478
|
+
"DIN Pro Regular",
|
|
28479
|
+
"Arial Unicode MS Regular"
|
|
28480
|
+
],
|
|
28481
|
+
visibility: "none",
|
|
28482
|
+
"text-offset": [
|
|
28483
|
+
0,
|
|
28484
|
+
1
|
|
28485
|
+
]
|
|
28486
|
+
},
|
|
28487
|
+
source: "composite",
|
|
28488
|
+
"source-layer": "loadlines-b6mgr8"
|
|
28489
|
+
},
|
|
28490
|
+
{
|
|
28491
|
+
id: "loadlines-fill",
|
|
28492
|
+
minzoom: 0,
|
|
28493
|
+
maxzoom: 22,
|
|
28494
|
+
type: "fill",
|
|
28495
|
+
paint: {
|
|
28496
|
+
"fill-color": [
|
|
28497
|
+
"match",
|
|
28498
|
+
[
|
|
28499
|
+
"get",
|
|
28500
|
+
"val"
|
|
28501
|
+
],
|
|
28502
|
+
[
|
|
28503
|
+
"LLGreen"
|
|
28504
|
+
],
|
|
28505
|
+
"rgba(164, 214, 217, 0.6)",
|
|
28506
|
+
[
|
|
28507
|
+
"LLBlue"
|
|
28508
|
+
],
|
|
28509
|
+
"rgba(53, 121, 194, 0.6)",
|
|
28510
|
+
[
|
|
28511
|
+
"LLRed"
|
|
28512
|
+
],
|
|
28513
|
+
"rgba(217, 150, 151, 0.6)",
|
|
28514
|
+
"rgb(255, 255, 255)"
|
|
28515
|
+
],
|
|
28516
|
+
"fill-outline-color": "rgba(255, 255, 255, 0.3)"
|
|
28517
|
+
},
|
|
28518
|
+
layout: {
|
|
28519
|
+
visibility: "none"
|
|
28520
|
+
},
|
|
28521
|
+
source: "composite",
|
|
28522
|
+
"source-layer": "loadlines-b6mgr8"
|
|
28270
28523
|
}
|
|
28271
28524
|
],
|
|
28272
28525
|
created: "2025-07-22T02:15:53.587Z",
|
|
@@ -28292,38 +28545,40 @@ class qs {
|
|
|
28292
28545
|
composite: this.originStyle.light.sources.composite
|
|
28293
28546
|
},
|
|
28294
28547
|
layers: [
|
|
28295
|
-
(i = (o = this.originStyle) == null ? void 0 : o.light.layers) == null ? void 0 : i.find((
|
|
28296
|
-
(r = (a = this.originStyle) == null ? void 0 : a.light.layers) == null ? void 0 : r.find((
|
|
28297
|
-
(n = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : n.find((
|
|
28298
|
-
(g = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : g.find((
|
|
28299
|
-
(d = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : d.find((
|
|
28300
|
-
(z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((
|
|
28301
|
-
(S = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : S.find((
|
|
28302
|
-
(N = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : N.find((
|
|
28303
|
-
(L = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : L.find((
|
|
28304
|
-
(_ = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : _.find((
|
|
28305
|
-
(k = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : k.find((
|
|
28306
|
-
(V = (
|
|
28307
|
-
(q = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : q.find((
|
|
28308
|
-
($ = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : $.find((
|
|
28309
|
-
(Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((
|
|
28310
|
-
(de = (
|
|
28311
|
-
(me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((
|
|
28312
|
-
(ie = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : ie.find((
|
|
28313
|
-
(
|
|
28314
|
-
(xe = (
|
|
28315
|
-
(Se = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Se.find((
|
|
28316
|
-
(Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((
|
|
28317
|
-
(
|
|
28318
|
-
(H = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : H.find((
|
|
28319
|
-
(je = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : je.find((
|
|
28320
|
-
(he = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : he.find((
|
|
28548
|
+
(i = (o = this.originStyle) == null ? void 0 : o.light.layers) == null ? void 0 : i.find((m) => m.id === "land"),
|
|
28549
|
+
(r = (a = this.originStyle) == null ? void 0 : a.light.layers) == null ? void 0 : r.find((m) => m.id === "water"),
|
|
28550
|
+
(n = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : n.find((m) => m.id === "ice-area-fill"),
|
|
28551
|
+
(g = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : g.find((m) => m.id === "ice-area-line"),
|
|
28552
|
+
(d = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : d.find((m) => m.id === "loadlines-label"),
|
|
28553
|
+
(z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((m) => m.id === "loadlines-fill"),
|
|
28554
|
+
(S = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : S.find((m) => m.id === "empty-layer-0"),
|
|
28555
|
+
(N = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : N.find((m) => m.id === "empty-layer-1"),
|
|
28556
|
+
(L = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : L.find((m) => m.id === "country-boundaries"),
|
|
28557
|
+
(_ = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : _.find((m) => m.id === "water-outline"),
|
|
28558
|
+
(k = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : k.find((m) => m.id === "water-outline2"),
|
|
28559
|
+
(V = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : V.find((m) => m.id === "empty-layer-2"),
|
|
28560
|
+
(q = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : q.find((m) => m.id === "water-line-label"),
|
|
28561
|
+
($ = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : $.find((m) => m.id === "water-point-label"),
|
|
28562
|
+
(Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((m) => m.id === "world-12nm-v4-20231025"),
|
|
28563
|
+
(de = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : de.find((m) => m.id === "ne-10m-outline"),
|
|
28564
|
+
(me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((m) => m.id === "ne-10m-label"),
|
|
28565
|
+
(ie = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : ie.find((m) => m.id === "china-route-line"),
|
|
28566
|
+
(le = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : le.find((m) => m.id === "china-route-fill"),
|
|
28567
|
+
(xe = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : xe.find((m) => m.id === "china-route-label"),
|
|
28568
|
+
(Se = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Se.find((m) => m.id === "admin-0-boundary-bg"),
|
|
28569
|
+
(Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((m) => m.id === "admin-0-boundary"),
|
|
28570
|
+
(Ie = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : Ie.find((m) => m.id === "admin-0-boundary-disputed"),
|
|
28571
|
+
(H = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
|
|
28572
|
+
(je = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
|
|
28573
|
+
(he = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : he.find((m) => m.id === "tide-stations"),
|
|
28574
|
+
(G = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : G.find((m) => m.id === "empty-layer-3"),
|
|
28575
|
+
(J = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : J.find((m) => m.id === "empty-layer-4")
|
|
28321
28576
|
]
|
|
28322
28577
|
},
|
|
28323
28578
|
dark: {
|
|
28324
28579
|
version: 8,
|
|
28325
28580
|
name: "dark",
|
|
28326
|
-
metadata: (
|
|
28581
|
+
metadata: (re = this.originStyle) == null ? void 0 : re.dark.metadata,
|
|
28327
28582
|
center: [90.22129259388525, -3.2084663486364606],
|
|
28328
28583
|
zoom: 1.2556266457717493,
|
|
28329
28584
|
bearing: 0,
|
|
@@ -28332,55 +28587,57 @@ class qs {
|
|
|
28332
28587
|
fog: {
|
|
28333
28588
|
range: [0.5, 10]
|
|
28334
28589
|
},
|
|
28335
|
-
sources: (
|
|
28336
|
-
sprite: (
|
|
28337
|
-
glyphs: (
|
|
28338
|
-
projection: (
|
|
28590
|
+
sources: (Ae = this.originStyle) == null ? void 0 : Ae.dark.sources,
|
|
28591
|
+
sprite: (A = this.originStyle) == null ? void 0 : A.dark.sprite,
|
|
28592
|
+
glyphs: (ge = this.originStyle) == null ? void 0 : ge.dark.glyphs,
|
|
28593
|
+
projection: (Ce = this.originStyle) == null ? void 0 : Ce.dark.projection,
|
|
28339
28594
|
id: "cmdqwez32005b01re2w0k3zk4",
|
|
28340
28595
|
owner: "neatchenheng",
|
|
28341
28596
|
visibility: "private",
|
|
28342
28597
|
protected: !1,
|
|
28343
28598
|
draft: !1,
|
|
28344
28599
|
layers: [
|
|
28345
|
-
(
|
|
28346
|
-
(
|
|
28347
|
-
(
|
|
28348
|
-
(
|
|
28349
|
-
(
|
|
28350
|
-
(
|
|
28351
|
-
(
|
|
28352
|
-
(
|
|
28353
|
-
(
|
|
28354
|
-
(
|
|
28355
|
-
(
|
|
28356
|
-
(
|
|
28357
|
-
(
|
|
28358
|
-
(
|
|
28359
|
-
(
|
|
28360
|
-
(
|
|
28361
|
-
(
|
|
28362
|
-
(
|
|
28363
|
-
(
|
|
28364
|
-
(
|
|
28365
|
-
(
|
|
28366
|
-
(
|
|
28367
|
-
(
|
|
28368
|
-
(
|
|
28369
|
-
(
|
|
28600
|
+
(Oe = (De = this.originStyle) == null ? void 0 : De.dark.layers) == null ? void 0 : Oe.find((m) => m.id === "land"),
|
|
28601
|
+
(U = (I = this.originStyle) == null ? void 0 : I.dark.layers) == null ? void 0 : U.find((m) => m.id === "water"),
|
|
28602
|
+
(Ve = (Ue = this.originStyle) == null ? void 0 : Ue.dark.layers) == null ? void 0 : Ve.find((m) => m.id === "ice-area-fill"),
|
|
28603
|
+
(ze = (Ye = this.originStyle) == null ? void 0 : Ye.dark.layers) == null ? void 0 : ze.find((m) => m.id === "ice-area-line"),
|
|
28604
|
+
(Xe = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : Xe.find((m) => m.id === "loadlines-label"),
|
|
28605
|
+
(Ke = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Ke.find((m) => m.id === "loadlines-fill"),
|
|
28606
|
+
(Je = (Qe = this.originStyle) == null ? void 0 : Qe.dark.layers) == null ? void 0 : Je.find((m) => m.id === "empty-layer-0"),
|
|
28607
|
+
(et = ($e = this.originStyle) == null ? void 0 : $e.dark.layers) == null ? void 0 : et.find((m) => m.id === "empty-layer-1"),
|
|
28608
|
+
(ot = (tt = this.originStyle) == null ? void 0 : tt.dark.layers) == null ? void 0 : ot.find((m) => m.id === "country-boundaries"),
|
|
28609
|
+
(it = (at = this.originStyle) == null ? void 0 : at.dark.layers) == null ? void 0 : it.find((m) => m.id === "water-outline"),
|
|
28610
|
+
(lt = (rt = this.originStyle) == null ? void 0 : rt.dark.layers) == null ? void 0 : lt.find((m) => m.id === "empty-layer-2"),
|
|
28611
|
+
(nt = (st = this.originStyle) == null ? void 0 : st.dark.layers) == null ? void 0 : nt.find((m) => m.id === "water-line-label"),
|
|
28612
|
+
(mt = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : mt.find((m) => m.id === "water-point-label"),
|
|
28613
|
+
(dt = (ht = this.originStyle) == null ? void 0 : ht.dark.layers) == null ? void 0 : dt.find((m) => m.id === "world-12nm-v4-20231025"),
|
|
28614
|
+
(ut = (pt = this.originStyle) == null ? void 0 : pt.dark.layers) == null ? void 0 : ut.find((m) => m.id === "ne-10m-outline"),
|
|
28615
|
+
(ft = (gt = this.originStyle) == null ? void 0 : gt.dark.layers) == null ? void 0 : ft.find((m) => m.id === "ne-10m-label"),
|
|
28616
|
+
(bt = (yt = this.originStyle) == null ? void 0 : yt.dark.layers) == null ? void 0 : bt.find((m) => m.id === "china-route-line"),
|
|
28617
|
+
(xt = (wt = this.originStyle) == null ? void 0 : wt.dark.layers) == null ? void 0 : xt.find((m) => m.id === "china-route-fill"),
|
|
28618
|
+
(_t = (vt = this.originStyle) == null ? void 0 : vt.dark.layers) == null ? void 0 : _t.find((m) => m.id === "china-route-label"),
|
|
28619
|
+
(zt = (kt = this.originStyle) == null ? void 0 : kt.dark.layers) == null ? void 0 : zt.find((m) => m.id === "admin-0-boundary-bg"),
|
|
28620
|
+
(Pt = (Lt = this.originStyle) == null ? void 0 : Lt.dark.layers) == null ? void 0 : Pt.find((m) => m.id === "admin-0-boundary"),
|
|
28621
|
+
(St = (Ct = this.originStyle) == null ? void 0 : Ct.dark.layers) == null ? void 0 : St.find((m) => m.id === "admin-0-boundary-disputed"),
|
|
28622
|
+
(Tt = (Mt = this.originStyle) == null ? void 0 : Mt.dark.layers) == null ? void 0 : Tt.find((m) => m.id === "country-label"),
|
|
28623
|
+
(It = (Rt = this.originStyle) == null ? void 0 : Rt.dark.layers) == null ? void 0 : It.find((m) => m.id === "continent-label"),
|
|
28624
|
+
(Dt = (At = this.originStyle) == null ? void 0 : At.dark.layers) == null ? void 0 : Dt.find((m) => m.id === "tide-stations"),
|
|
28625
|
+
(Bt = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Bt.find((m) => m.id === "empty-layer-3"),
|
|
28626
|
+
(jt = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : jt.find((m) => m.id === "empty-layer-4")
|
|
28370
28627
|
]
|
|
28371
28628
|
},
|
|
28372
28629
|
satellite: {
|
|
28373
28630
|
version: 8,
|
|
28374
28631
|
name: "Satellite Streets",
|
|
28375
|
-
metadata: (
|
|
28632
|
+
metadata: (Nt = this.originStyle) == null ? void 0 : Nt.satellite.metadata,
|
|
28376
28633
|
center: [55.13, 25.12],
|
|
28377
28634
|
zoom: 12,
|
|
28378
|
-
fog: (
|
|
28379
|
-
imports: (
|
|
28380
|
-
sources: (
|
|
28381
|
-
sprite: (
|
|
28382
|
-
glyphs: (
|
|
28383
|
-
projection: (
|
|
28635
|
+
fog: (Ft = this.originStyle) == null ? void 0 : Ft.satellite.fog,
|
|
28636
|
+
imports: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.imports,
|
|
28637
|
+
sources: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.sources,
|
|
28638
|
+
sprite: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sprite,
|
|
28639
|
+
glyphs: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.glyphs,
|
|
28640
|
+
projection: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.projection,
|
|
28384
28641
|
created: "2025-07-25T03:53:24.667Z",
|
|
28385
28642
|
modified: "2025-07-28T06:47:35.471Z",
|
|
28386
28643
|
id: "cmdiadnej03n101r485bs2m6a",
|
|
@@ -28389,64 +28646,68 @@ class qs {
|
|
|
28389
28646
|
protected: !1,
|
|
28390
28647
|
draft: !1,
|
|
28391
28648
|
layers: [
|
|
28392
|
-
(
|
|
28393
|
-
(
|
|
28394
|
-
(
|
|
28395
|
-
(
|
|
28396
|
-
(
|
|
28397
|
-
(
|
|
28398
|
-
(
|
|
28399
|
-
(
|
|
28400
|
-
(
|
|
28401
|
-
(
|
|
28402
|
-
(
|
|
28403
|
-
(
|
|
28404
|
-
(
|
|
28405
|
-
(
|
|
28406
|
-
(
|
|
28407
|
-
(
|
|
28408
|
-
(
|
|
28409
|
-
(
|
|
28410
|
-
(
|
|
28411
|
-
(
|
|
28649
|
+
(Zt = (Yt = this.originStyle) == null ? void 0 : Yt.satellite.layers) == null ? void 0 : Zt.find((m) => m.id === "background"),
|
|
28650
|
+
(qt = (Xt = this.originStyle) == null ? void 0 : Xt.satellite.layers) == null ? void 0 : qt.find((m) => m.id === "satellite"),
|
|
28651
|
+
(Qt = (Kt = this.originStyle) == null ? void 0 : Kt.satellite.layers) == null ? void 0 : Qt.find((m) => m.id === "loadlines-label"),
|
|
28652
|
+
(lo = (Jt = this.originStyle) == null ? void 0 : Jt.satellite.layers) == null ? void 0 : lo.find((m) => m.id === "loadlines-fill"),
|
|
28653
|
+
(no = (so = this.originStyle) == null ? void 0 : so.satellite.layers) == null ? void 0 : no.find((m) => m.id === "empty-layer-0"),
|
|
28654
|
+
(mo = (co = this.originStyle) == null ? void 0 : co.satellite.layers) == null ? void 0 : mo.find((m) => m.id === "empty-layer-1"),
|
|
28655
|
+
(po = (ho = this.originStyle) == null ? void 0 : ho.satellite.layers) == null ? void 0 : po.find((m) => m.id === "country-boundaries"),
|
|
28656
|
+
(go = (uo = this.originStyle) == null ? void 0 : uo.satellite.layers) == null ? void 0 : go.find((m) => m.id === "water-outline"),
|
|
28657
|
+
(yo = (fo = this.originStyle) == null ? void 0 : fo.satellite.layers) == null ? void 0 : yo.find((m) => m.id === "empty-layer-2"),
|
|
28658
|
+
(wo = (bo = this.originStyle) == null ? void 0 : bo.satellite.layers) == null ? void 0 : wo.find((m) => m.id === "world-12nm-v4-20231025"),
|
|
28659
|
+
(vo = (xo = this.originStyle) == null ? void 0 : xo.satellite.layers) == null ? void 0 : vo.find((m) => m.id === "ne-10m-outline"),
|
|
28660
|
+
(ko = (_o = this.originStyle) == null ? void 0 : _o.satellite.layers) == null ? void 0 : ko.find((m) => m.id === "ne-10m-label"),
|
|
28661
|
+
(Lo = (zo = this.originStyle) == null ? void 0 : zo.satellite.layers) == null ? void 0 : Lo.find((m) => m.id === "china-route-line"),
|
|
28662
|
+
(Co = (Po = this.originStyle) == null ? void 0 : Po.satellite.layers) == null ? void 0 : Co.find((m) => m.id === "china-route-fill"),
|
|
28663
|
+
(Mo = (So = this.originStyle) == null ? void 0 : So.satellite.layers) == null ? void 0 : Mo.find((m) => m.id === "china-route-label"),
|
|
28664
|
+
(Ro = (To = this.originStyle) == null ? void 0 : To.satellite.layers) == null ? void 0 : Ro.find((m) => m.id === "country-label"),
|
|
28665
|
+
(Ao = (Io = this.originStyle) == null ? void 0 : Io.satellite.layers) == null ? void 0 : Ao.find((m) => m.id === "continent-label"),
|
|
28666
|
+
(Oo = (Do = this.originStyle) == null ? void 0 : Do.satellite.layers) == null ? void 0 : Oo.find((m) => m.id === "tide-stations"),
|
|
28667
|
+
(Eo = (Bo = this.originStyle) == null ? void 0 : Bo.satellite.layers) == null ? void 0 : Eo.find((m) => m.id === "ice-area-fill"),
|
|
28668
|
+
(No = (jo = this.originStyle) == null ? void 0 : jo.satellite.layers) == null ? void 0 : No.find((m) => m.id === "ice-area-line"),
|
|
28669
|
+
(Ho = (Fo = this.originStyle) == null ? void 0 : Fo.satellite.layers) == null ? void 0 : Ho.find((m) => m.id === "empty-layer-3"),
|
|
28670
|
+
(Wo = (Go = this.originStyle) == null ? void 0 : Go.satellite.layers) == null ? void 0 : Wo.find((m) => m.id === "empty-layer-4")
|
|
28412
28671
|
]
|
|
28413
28672
|
},
|
|
28414
28673
|
nautical: {
|
|
28415
28674
|
version: 8,
|
|
28416
28675
|
name: "nautical",
|
|
28417
|
-
metadata: (
|
|
28676
|
+
metadata: (Uo = this.originStyle) == null ? void 0 : Uo.nautical.metadata,
|
|
28418
28677
|
center: [-34, 38],
|
|
28419
28678
|
zoom: 2,
|
|
28420
28679
|
terrain: null,
|
|
28421
|
-
imports: (
|
|
28422
|
-
sources: (
|
|
28423
|
-
sprite: (
|
|
28424
|
-
glyphs: (
|
|
28425
|
-
projection: (
|
|
28680
|
+
imports: (Vo = this.originStyle) == null ? void 0 : Vo.nautical.imports,
|
|
28681
|
+
sources: (Yo = this.originStyle) == null ? void 0 : Yo.nautical.sources,
|
|
28682
|
+
sprite: (Zo = this.originStyle) == null ? void 0 : Zo.nautical.sprite,
|
|
28683
|
+
glyphs: (Xo = this.originStyle) == null ? void 0 : Xo.nautical.glyphs,
|
|
28684
|
+
projection: (qo = this.originStyle) == null ? void 0 : qo.nautical.projection,
|
|
28426
28685
|
layers: [
|
|
28427
28686
|
this.i4.layer,
|
|
28428
28687
|
// this.hi.layer,
|
|
28429
|
-
(
|
|
28430
|
-
(
|
|
28431
|
-
(
|
|
28432
|
-
(
|
|
28433
|
-
(
|
|
28434
|
-
(
|
|
28435
|
-
(
|
|
28436
|
-
(
|
|
28437
|
-
(
|
|
28438
|
-
(
|
|
28439
|
-
(
|
|
28440
|
-
(
|
|
28441
|
-
(
|
|
28442
|
-
(
|
|
28443
|
-
(
|
|
28444
|
-
(
|
|
28445
|
-
(
|
|
28446
|
-
(
|
|
28447
|
-
(
|
|
28448
|
-
(
|
|
28449
|
-
(
|
|
28688
|
+
(Qo = (Ko = this.originStyle) == null ? void 0 : Ko.nautical.layers) == null ? void 0 : Qo.find((m) => m.id === "ice-area-fill"),
|
|
28689
|
+
($o = (Jo = this.originStyle) == null ? void 0 : Jo.nautical.layers) == null ? void 0 : $o.find((m) => m.id === "ice-area-line"),
|
|
28690
|
+
(ta = (ea = this.originStyle) == null ? void 0 : ea.nautical.layers) == null ? void 0 : ta.find((m) => m.id === "loadlines-label"),
|
|
28691
|
+
(aa = (oa = this.originStyle) == null ? void 0 : oa.nautical.layers) == null ? void 0 : aa.find((m) => m.id === "loadlines-fill"),
|
|
28692
|
+
(ra = (ia = this.originStyle) == null ? void 0 : ia.nautical.layers) == null ? void 0 : ra.find((m) => m.id === "empty-layer-0"),
|
|
28693
|
+
(sa = (la = this.originStyle) == null ? void 0 : la.nautical.layers) == null ? void 0 : sa.find((m) => m.id === "empty-layer-1"),
|
|
28694
|
+
(ca = (na = this.originStyle) == null ? void 0 : na.nautical.layers) == null ? void 0 : ca.find((m) => m.id === "empty-layer-2"),
|
|
28695
|
+
(ha = (ma = this.originStyle) == null ? void 0 : ma.nautical.layers) == null ? void 0 : ha.find((m) => m.id === "country-boundaries"),
|
|
28696
|
+
(pa = (da = this.originStyle) == null ? void 0 : da.nautical.layers) == null ? void 0 : pa.find((m) => m.id === "water-outline"),
|
|
28697
|
+
(ga = (ua = this.originStyle) == null ? void 0 : ua.nautical.layers) == null ? void 0 : ga.find((m) => m.id === "world-12nm-v4-20231025"),
|
|
28698
|
+
(ya = (fa = this.originStyle) == null ? void 0 : fa.nautical.layers) == null ? void 0 : ya.find((m) => m.id === "ne-10m-outline"),
|
|
28699
|
+
(wa = (ba = this.originStyle) == null ? void 0 : ba.nautical.layers) == null ? void 0 : wa.find((m) => m.id === "ne-10m-label"),
|
|
28700
|
+
(va = (xa = this.originStyle) == null ? void 0 : xa.nautical.layers) == null ? void 0 : va.find((m) => m.id === "china-route-line"),
|
|
28701
|
+
(ka = (_a = this.originStyle) == null ? void 0 : _a.nautical.layers) == null ? void 0 : ka.find((m) => m.id === "china-route-fill"),
|
|
28702
|
+
(La = (za = this.originStyle) == null ? void 0 : za.nautical.layers) == null ? void 0 : La.find((m) => m.id === "china-route-label"),
|
|
28703
|
+
(Ca = (Pa = this.originStyle) == null ? void 0 : Pa.light.layers) == null ? void 0 : Ca.find((m) => m.id === "admin-0-boundary-bg"),
|
|
28704
|
+
(Ma = (Sa = this.originStyle) == null ? void 0 : Sa.light.layers) == null ? void 0 : Ma.find((m) => m.id === "admin-0-boundary"),
|
|
28705
|
+
(Ra = (Ta = this.originStyle) == null ? void 0 : Ta.light.layers) == null ? void 0 : Ra.find((m) => m.id === "admin-0-boundary-disputed"),
|
|
28706
|
+
(Aa = (Ia = this.originStyle) == null ? void 0 : Ia.light.layers) == null ? void 0 : Aa.find((m) => m.id === "country-label"),
|
|
28707
|
+
(Oa = (Da = this.originStyle) == null ? void 0 : Da.light.layers) == null ? void 0 : Oa.find((m) => m.id === "continent-label"),
|
|
28708
|
+
(Ea = (Ba = this.originStyle) == null ? void 0 : Ba.nautical.layers) == null ? void 0 : Ea.find((m) => m.id === "tide-stations"),
|
|
28709
|
+
(Na = (ja = this.originStyle) == null ? void 0 : ja.nautical.layers) == null ? void 0 : Na.find((m) => m.id === "empty-layer-3"),
|
|
28710
|
+
(Ha = (Fa = this.originStyle) == null ? void 0 : Fa.nautical.layers) == null ? void 0 : Ha.find((m) => m.id === "empty-layer-4")
|
|
28450
28711
|
],
|
|
28451
28712
|
created: "2025-07-22T02:15:53.587Z",
|
|
28452
28713
|
modified: "2025-08-07T10:15:43.870Z",
|
|
@@ -28459,7 +28720,7 @@ class qs {
|
|
|
28459
28720
|
};
|
|
28460
28721
|
}
|
|
28461
28722
|
}
|
|
28462
|
-
const
|
|
28723
|
+
const pn = {
|
|
28463
28724
|
name: "MapInitial",
|
|
28464
28725
|
props: {
|
|
28465
28726
|
token: {
|
|
@@ -28512,7 +28773,7 @@ const Ks = {
|
|
|
28512
28773
|
methods: {
|
|
28513
28774
|
async initOnlineMap() {
|
|
28514
28775
|
var e;
|
|
28515
|
-
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new
|
|
28776
|
+
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new dn(this.token), we.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
28516
28777
|
const t = new we.Map({
|
|
28517
28778
|
container: "map",
|
|
28518
28779
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -28552,17 +28813,17 @@ const Ks = {
|
|
|
28552
28813
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
28553
28814
|
}
|
|
28554
28815
|
}
|
|
28555
|
-
},
|
|
28556
|
-
function
|
|
28816
|
+
}, un = { class: "mapbox-initial-gl4" }, gn = { class: "v-btn--variant-elevated rounded" }, fn = { class: "zoom" };
|
|
28817
|
+
function yn(t, e, o, i, a, r) {
|
|
28557
28818
|
const s = w("VBtn");
|
|
28558
|
-
return b(), T("div",
|
|
28819
|
+
return b(), T("div", un, [
|
|
28559
28820
|
e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
|
|
28560
28821
|
l("div", {
|
|
28561
28822
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
28562
28823
|
style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
|
|
28563
28824
|
}, [
|
|
28564
|
-
l("div",
|
|
28565
|
-
|
|
28825
|
+
l("div", gn, [
|
|
28826
|
+
h(s, {
|
|
28566
28827
|
"min-width": "32",
|
|
28567
28828
|
width: "32",
|
|
28568
28829
|
height: "32",
|
|
@@ -28575,8 +28836,8 @@ function en(t, e, o, i, a, r) {
|
|
|
28575
28836
|
_: 1,
|
|
28576
28837
|
__: [0]
|
|
28577
28838
|
}, 8, ["onClick"]),
|
|
28578
|
-
l("div",
|
|
28579
|
-
|
|
28839
|
+
l("div", fn, y(Math.floor(a.zoom)), 1),
|
|
28840
|
+
h(s, {
|
|
28580
28841
|
"min-width": "32",
|
|
28581
28842
|
width: "32",
|
|
28582
28843
|
height: "32",
|
|
@@ -28593,19 +28854,19 @@ function en(t, e, o, i, a, r) {
|
|
|
28593
28854
|
], 4)
|
|
28594
28855
|
]);
|
|
28595
28856
|
}
|
|
28596
|
-
const
|
|
28857
|
+
const bn = /* @__PURE__ */ Z(pn, [["render", yn]]), Tn = {
|
|
28597
28858
|
install(t) {
|
|
28598
|
-
t.component("MapInitial",
|
|
28859
|
+
t.component("MapInitial", bn), t.component("MapboxGL", hn), t.component("TropicalGL", Va), t.component("LatLngGL", Ua), t.component("DateTimePicker", ro);
|
|
28599
28860
|
}
|
|
28600
28861
|
};
|
|
28601
28862
|
export {
|
|
28602
28863
|
ro as DateTimePicker,
|
|
28603
|
-
|
|
28604
|
-
|
|
28605
|
-
|
|
28606
|
-
|
|
28864
|
+
Ua as LatLngGL,
|
|
28865
|
+
bn as MapInitial,
|
|
28866
|
+
hn as MapboxGL,
|
|
28867
|
+
Tn as MapboxGLPlugin,
|
|
28607
28868
|
be as ParticleSchema,
|
|
28608
|
-
|
|
28869
|
+
Va as TropicalGL,
|
|
28609
28870
|
io as Viewport,
|
|
28610
28871
|
Ne as WebGL,
|
|
28611
28872
|
ce as WebGLSchema
|