@idmwx/idmui-gl4 0.8.6 → 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 +1213 -944
- package/dist/index.umd.cjs +14 -14
- package/dist/mapbox/src/components/other/loadLines.vue.d.ts +6 -7
- package/dist/style.css +1 -1
- 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: {
|
|
@@ -438,7 +438,8 @@ const Va = {
|
|
|
438
438
|
layout: {
|
|
439
439
|
"symbol-placement": "point",
|
|
440
440
|
"icon-image": "warning",
|
|
441
|
-
"icon-size":
|
|
441
|
+
"icon-size": 1,
|
|
442
|
+
"icon-offset": [0, -15],
|
|
442
443
|
"icon-allow-overlap": !0,
|
|
443
444
|
"icon-rotation-alignment": "viewport"
|
|
444
445
|
},
|
|
@@ -453,7 +454,8 @@ const Va = {
|
|
|
453
454
|
layout: {
|
|
454
455
|
"symbol-placement": "line-center",
|
|
455
456
|
"icon-image": "warning",
|
|
456
|
-
"icon-size":
|
|
457
|
+
"icon-size": 1,
|
|
458
|
+
"icon-offset": [0, -15],
|
|
457
459
|
"icon-allow-overlap": !0,
|
|
458
460
|
"icon-rotation-alignment": "viewport"
|
|
459
461
|
},
|
|
@@ -468,7 +470,8 @@ const Va = {
|
|
|
468
470
|
layout: {
|
|
469
471
|
"symbol-placement": "point",
|
|
470
472
|
"icon-image": "warning",
|
|
471
|
-
"icon-
|
|
473
|
+
"icon-offset": [0, -15],
|
|
474
|
+
"icon-size": 1
|
|
472
475
|
},
|
|
473
476
|
paint: {
|
|
474
477
|
"icon-opacity": 0.8
|
|
@@ -487,19 +490,19 @@ const Va = {
|
|
|
487
490
|
this.map.getCanvas().style.cursor = "grab";
|
|
488
491
|
}
|
|
489
492
|
}
|
|
490
|
-
},
|
|
491
|
-
function
|
|
493
|
+
}, ni = ["innerHTML"];
|
|
494
|
+
function ci(t, e, o, i, a, r) {
|
|
492
495
|
const s = w("VBtn"), n = w("v-card-text"), c = w("v-card");
|
|
493
496
|
return He((b(), j(c, {
|
|
494
497
|
class: "scroll",
|
|
495
498
|
id: "idm-gl4-zone-info"
|
|
496
499
|
}, {
|
|
497
500
|
default: u(() => [
|
|
498
|
-
|
|
501
|
+
h(n, null, {
|
|
499
502
|
default: u(() => {
|
|
500
503
|
var g;
|
|
501
504
|
return [
|
|
502
|
-
|
|
505
|
+
h(s, {
|
|
503
506
|
icon: "",
|
|
504
507
|
density: "compact",
|
|
505
508
|
variant: "plain",
|
|
@@ -515,7 +518,7 @@ function Za(t, e, o, i, a, r) {
|
|
|
515
518
|
l("div", {
|
|
516
519
|
class: "rich-context",
|
|
517
520
|
innerHTML: (g = a.form) == null ? void 0 : g.name
|
|
518
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, ni)
|
|
519
522
|
];
|
|
520
523
|
}),
|
|
521
524
|
_: 1
|
|
@@ -523,11 +526,11 @@ function Za(t, e, o, i, a, r) {
|
|
|
523
526
|
]),
|
|
524
527
|
_: 1
|
|
525
528
|
}, 512)), [
|
|
526
|
-
[
|
|
529
|
+
[Ge, a.showZone]
|
|
527
530
|
]);
|
|
528
531
|
}
|
|
529
|
-
const
|
|
530
|
-
const
|
|
532
|
+
const mi = /* @__PURE__ */ Z(si, [["render", ci]]);
|
|
533
|
+
const hi = {
|
|
531
534
|
name: "IdmPort",
|
|
532
535
|
props: {
|
|
533
536
|
map: {
|
|
@@ -607,8 +610,9 @@ const qa = {
|
|
|
607
610
|
filter: ["all", ["==", "$type", "Point"], ["!=", "disabled", !0]],
|
|
608
611
|
layout: {
|
|
609
612
|
"symbol-placement": "point",
|
|
610
|
-
"icon-size":
|
|
613
|
+
"icon-size": 1,
|
|
611
614
|
"icon-image": "port",
|
|
615
|
+
"icon-offset": [0, -15],
|
|
612
616
|
"text-field": "{name}",
|
|
613
617
|
"text-rotation-alignment": "viewport",
|
|
614
618
|
"text-size": 10,
|
|
@@ -637,17 +641,17 @@ const qa = {
|
|
|
637
641
|
this.map.getCanvas().style.cursor = "grab";
|
|
638
642
|
}
|
|
639
643
|
}
|
|
640
|
-
},
|
|
641
|
-
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) {
|
|
642
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");
|
|
643
647
|
return He((b(), j(d, {
|
|
644
648
|
id: "port-info",
|
|
645
649
|
ref: "idmPortInfo"
|
|
646
650
|
}, {
|
|
647
651
|
default: u(() => [
|
|
648
|
-
|
|
652
|
+
h(n, { class: "pr-8" }, {
|
|
649
653
|
default: u(() => [
|
|
650
|
-
|
|
654
|
+
h(s, {
|
|
651
655
|
icon: "",
|
|
652
656
|
density: "compact",
|
|
653
657
|
variant: "plain",
|
|
@@ -660,20 +664,20 @@ function ti(t, e, o, i, a, r) {
|
|
|
660
664
|
_: 1,
|
|
661
665
|
__: [2]
|
|
662
666
|
}),
|
|
663
|
-
l("div",
|
|
664
|
-
l("div",
|
|
667
|
+
l("div", di, [
|
|
668
|
+
l("div", pi, [
|
|
665
669
|
e[3] || (e[3] = l("label", { class: "opacity-70 pr-1" }, "Name : ", -1)),
|
|
666
670
|
l("span", null, y(a.form.name || "-"), 1)
|
|
667
671
|
]),
|
|
668
|
-
l("div",
|
|
672
|
+
l("div", ui, [
|
|
669
673
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "Position : ", -1)),
|
|
670
674
|
l("span", null, y(r.computeLat(a.form.lat)) + ", " + y(r.computeLng(a.form.lng)), 1)
|
|
671
675
|
]),
|
|
672
|
-
l("div",
|
|
676
|
+
l("div", gi, [
|
|
673
677
|
e[5] || (e[5] = l("label", { class: "opacity-70 pr-1" }, "LoCode : ", -1)),
|
|
674
678
|
l("span", null, y(a.form.loCode || "-"), 1)
|
|
675
679
|
]),
|
|
676
|
-
l("div",
|
|
680
|
+
l("div", fi, [
|
|
677
681
|
e[6] || (e[6] = l("label", { class: "opacity-70 pr-1" }, "Region : ", -1)),
|
|
678
682
|
l("span", null, y(a.form.zoneName || "-"), 1)
|
|
679
683
|
])
|
|
@@ -681,10 +685,10 @@ function ti(t, e, o, i, a, r) {
|
|
|
681
685
|
]),
|
|
682
686
|
_: 1
|
|
683
687
|
}),
|
|
684
|
-
|
|
685
|
-
|
|
688
|
+
h(c),
|
|
689
|
+
h(p, { class: "d-flex justify-end align-center" }, {
|
|
686
690
|
default: u(() => [
|
|
687
|
-
|
|
691
|
+
h(g, {
|
|
688
692
|
variant: "text",
|
|
689
693
|
density: "compact",
|
|
690
694
|
"append-icon": "mdi-chevron-right",
|
|
@@ -692,7 +696,7 @@ function ti(t, e, o, i, a, r) {
|
|
|
692
696
|
onClick: e[1] || (e[1] = (f) => r.handleClickMeteo(a.form))
|
|
693
697
|
}, {
|
|
694
698
|
default: u(() => e[7] || (e[7] = [
|
|
695
|
-
|
|
699
|
+
W(" Meteo Forecast ", -1)
|
|
696
700
|
])),
|
|
697
701
|
_: 1,
|
|
698
702
|
__: [7]
|
|
@@ -703,17 +707,17 @@ function ti(t, e, o, i, a, r) {
|
|
|
703
707
|
]),
|
|
704
708
|
_: 1
|
|
705
709
|
}, 512)), [
|
|
706
|
-
[
|
|
710
|
+
[Ge, a.showInfo]
|
|
707
711
|
]);
|
|
708
712
|
}
|
|
709
|
-
const
|
|
713
|
+
const bi = /* @__PURE__ */ Z(hi, [["render", yi], ["__scopeId", "data-v-9199bd8e"]]), wi = {
|
|
710
714
|
name: "IdmLoadLine",
|
|
711
715
|
props: {
|
|
712
716
|
map: {
|
|
713
717
|
type: Object
|
|
714
718
|
},
|
|
715
|
-
|
|
716
|
-
type:
|
|
719
|
+
show: {
|
|
720
|
+
type: Boolean
|
|
717
721
|
},
|
|
718
722
|
beforeLayer: {
|
|
719
723
|
type: String
|
|
@@ -724,80 +728,33 @@ const oi = /* @__PURE__ */ Z(qa, [["render", ti], ["__scopeId", "data-v-7bb500ee
|
|
|
724
728
|
},
|
|
725
729
|
data() {
|
|
726
730
|
return {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
lineLabelLayer: "load-line-label-layer"
|
|
731
|
+
layer: "loadlines-fill",
|
|
732
|
+
labelLayer: "loadlines-label"
|
|
730
733
|
};
|
|
731
734
|
},
|
|
732
735
|
watch: {
|
|
733
|
-
|
|
736
|
+
show: {
|
|
734
737
|
handler() {
|
|
735
|
-
this.handleRender();
|
|
738
|
+
this.show ? this.handleRender() : this.handleClear();
|
|
736
739
|
},
|
|
737
740
|
immediate: !0
|
|
738
741
|
}
|
|
739
742
|
},
|
|
740
743
|
methods: {
|
|
741
744
|
handleRender() {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
data: this.line
|
|
745
|
-
}), this.map.addLayer(
|
|
746
|
-
{
|
|
747
|
-
id: this.lineLayer,
|
|
748
|
-
type: "fill",
|
|
749
|
-
source: this.source,
|
|
750
|
-
filter: ["==", "$type", "Polygon"],
|
|
751
|
-
paint: {
|
|
752
|
-
"fill-outline-color": "rgba(255,255,255,0.3)",
|
|
753
|
-
"fill-opacity": 0.6,
|
|
754
|
-
"fill-color": [
|
|
755
|
-
"match",
|
|
756
|
-
["get", "val"],
|
|
757
|
-
"LLGreen",
|
|
758
|
-
"rgba(164, 214, 217, 1)",
|
|
759
|
-
"LLRed",
|
|
760
|
-
"rgba(217, 150, 151, 1)",
|
|
761
|
-
"LLBlue",
|
|
762
|
-
"rgba(53, 121, 194, 1)",
|
|
763
|
-
"#ffffff"
|
|
764
|
-
]
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
this.beforeLayer
|
|
768
|
-
), this.map.addLayer(
|
|
769
|
-
{
|
|
770
|
-
id: this.lineLabelLayer,
|
|
771
|
-
type: "symbol",
|
|
772
|
-
source: this.source,
|
|
773
|
-
filter: ["==", "$type", "Point"],
|
|
774
|
-
layout: {
|
|
775
|
-
"symbol-placement": "point",
|
|
776
|
-
"text-field": "{lbl} (Length < {shipLength}, {start} - {end})",
|
|
777
|
-
"text-rotation-alignment": "viewport",
|
|
778
|
-
"text-offset": [0, 1],
|
|
779
|
-
"text-size": 10,
|
|
780
|
-
"text-allow-overlap": !0,
|
|
781
|
-
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
782
|
-
},
|
|
783
|
-
paint: {
|
|
784
|
-
"text-color": this.Theme.current.value.colors["on-surface"]
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
this.beforeLayer
|
|
788
|
-
))) : setTimeout(() => {
|
|
789
|
-
this.handleRender();
|
|
790
|
-
}, 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");
|
|
791
747
|
},
|
|
792
748
|
handleClear() {
|
|
793
|
-
|
|
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");
|
|
794
751
|
}
|
|
795
752
|
}
|
|
796
753
|
};
|
|
797
|
-
function
|
|
754
|
+
function xi(t, e, o, i, a, r) {
|
|
798
755
|
return b(), T("div");
|
|
799
756
|
}
|
|
800
|
-
const
|
|
757
|
+
const vi = /* @__PURE__ */ Z(wi, [["render", xi]]), _i = {
|
|
801
758
|
name: "IdmTimezone",
|
|
802
759
|
props: {
|
|
803
760
|
map: {
|
|
@@ -972,10 +929,10 @@ const ri = /* @__PURE__ */ Z(ai, [["render", ii]]), li = {
|
|
|
972
929
|
}
|
|
973
930
|
}
|
|
974
931
|
};
|
|
975
|
-
function
|
|
932
|
+
function ki(t, e, o, i, a, r) {
|
|
976
933
|
return b(), T("div");
|
|
977
934
|
}
|
|
978
|
-
const
|
|
935
|
+
const zi = /* @__PURE__ */ Z(_i, [["render", ki]]), Li = {
|
|
979
936
|
name: "IdmVoluntaryReportingArea",
|
|
980
937
|
props: {
|
|
981
938
|
map: {
|
|
@@ -1069,10 +1026,10 @@ const ni = /* @__PURE__ */ Z(li, [["render", si]]), ci = {
|
|
|
1069
1026
|
}
|
|
1070
1027
|
}
|
|
1071
1028
|
};
|
|
1072
|
-
function
|
|
1029
|
+
function Pi(t, e, o, i, a, r) {
|
|
1073
1030
|
return b(), T("div");
|
|
1074
1031
|
}
|
|
1075
|
-
const
|
|
1032
|
+
const Ci = /* @__PURE__ */ Z(Li, [["render", Pi]]), Si = {
|
|
1076
1033
|
name: "IdmSpecialArea",
|
|
1077
1034
|
props: {
|
|
1078
1035
|
map: {
|
|
@@ -1166,10 +1123,10 @@ const hi = /* @__PURE__ */ Z(ci, [["render", mi]]), di = {
|
|
|
1166
1123
|
}
|
|
1167
1124
|
}
|
|
1168
1125
|
};
|
|
1169
|
-
function
|
|
1126
|
+
function Mi(t, e, o, i, a, r) {
|
|
1170
1127
|
return b(), T("div");
|
|
1171
1128
|
}
|
|
1172
|
-
const
|
|
1129
|
+
const Ti = /* @__PURE__ */ Z(Si, [["render", Mi]]), Ri = {
|
|
1173
1130
|
name: "IdmTerminator",
|
|
1174
1131
|
props: {
|
|
1175
1132
|
map: {
|
|
@@ -1223,10 +1180,10 @@ const ui = /* @__PURE__ */ Z(di, [["render", pi]]), gi = {
|
|
|
1223
1180
|
}
|
|
1224
1181
|
}
|
|
1225
1182
|
};
|
|
1226
|
-
function
|
|
1183
|
+
function Ii(t, e, o, i, a, r) {
|
|
1227
1184
|
return b(), T("div");
|
|
1228
1185
|
}
|
|
1229
|
-
const
|
|
1186
|
+
const Ai = /* @__PURE__ */ Z(Ri, [["render", Ii]]), Di = {
|
|
1230
1187
|
name: "IdmWorld12nm",
|
|
1231
1188
|
props: {
|
|
1232
1189
|
map: {
|
|
@@ -1282,11 +1239,11 @@ const yi = /* @__PURE__ */ Z(gi, [["render", fi]]), bi = {
|
|
|
1282
1239
|
}
|
|
1283
1240
|
}
|
|
1284
1241
|
};
|
|
1285
|
-
function
|
|
1242
|
+
function Oi(t, e, o, i, a, r) {
|
|
1286
1243
|
return null;
|
|
1287
1244
|
}
|
|
1288
|
-
const
|
|
1289
|
-
const
|
|
1245
|
+
const Bi = /* @__PURE__ */ Z(Di, [["render", Oi]]);
|
|
1246
|
+
const Ei = {
|
|
1290
1247
|
name: "IdmWorldMarine",
|
|
1291
1248
|
props: {
|
|
1292
1249
|
map: {
|
|
@@ -1323,10 +1280,10 @@ const vi = {
|
|
|
1323
1280
|
}
|
|
1324
1281
|
}
|
|
1325
1282
|
};
|
|
1326
|
-
function
|
|
1283
|
+
function ji(t, e, o, i, a, r) {
|
|
1327
1284
|
return null;
|
|
1328
1285
|
}
|
|
1329
|
-
const
|
|
1286
|
+
const Ni = /* @__PURE__ */ Z(Ei, [["render", ji]]), Fi = {
|
|
1330
1287
|
name: "IdmChinaRoute",
|
|
1331
1288
|
props: {
|
|
1332
1289
|
map: {
|
|
@@ -1364,11 +1321,11 @@ const ki = /* @__PURE__ */ Z(vi, [["render", _i]]), zi = {
|
|
|
1364
1321
|
}
|
|
1365
1322
|
}
|
|
1366
1323
|
};
|
|
1367
|
-
function
|
|
1324
|
+
function Hi(t, e, o, i, a, r) {
|
|
1368
1325
|
return null;
|
|
1369
1326
|
}
|
|
1370
|
-
const
|
|
1371
|
-
const
|
|
1327
|
+
const Gi = /* @__PURE__ */ Z(Fi, [["render", Hi]]);
|
|
1328
|
+
const Wi = {
|
|
1372
1329
|
name: "IdmTideStations",
|
|
1373
1330
|
props: {
|
|
1374
1331
|
map: {
|
|
@@ -1443,14 +1400,14 @@ const Ci = {
|
|
|
1443
1400
|
this.map.getCanvas().style.cursor = "grab";
|
|
1444
1401
|
}
|
|
1445
1402
|
}
|
|
1446
|
-
},
|
|
1447
|
-
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) {
|
|
1448
1405
|
const s = w("VBtn"), n = w("v-card-text"), c = w("v-card");
|
|
1449
1406
|
return He((b(), j(c, { id: "tidal-station-info" }, {
|
|
1450
1407
|
default: u(() => [
|
|
1451
|
-
|
|
1408
|
+
h(n, { class: "pr-8" }, {
|
|
1452
1409
|
default: u(() => [
|
|
1453
|
-
|
|
1410
|
+
h(s, {
|
|
1454
1411
|
icon: "",
|
|
1455
1412
|
density: "compact",
|
|
1456
1413
|
variant: "plain",
|
|
@@ -1463,20 +1420,20 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1463
1420
|
_: 1,
|
|
1464
1421
|
__: [1]
|
|
1465
1422
|
}),
|
|
1466
|
-
l("div",
|
|
1467
|
-
l("div",
|
|
1423
|
+
l("div", Ui, [
|
|
1424
|
+
l("div", Vi, [
|
|
1468
1425
|
e[2] || (e[2] = l("label", { class: "opacity-70 pr-1 pr-1" }, "Name : ", -1)),
|
|
1469
1426
|
l("span", null, y(a.form.name), 1)
|
|
1470
1427
|
]),
|
|
1471
|
-
l("div",
|
|
1428
|
+
l("div", Yi, [
|
|
1472
1429
|
e[3] || (e[3] = l("label", { class: "opacity-70 pr-1" }, "Position : ", -1)),
|
|
1473
1430
|
l("span", null, y(r.computeLat(a.form.lat)) + ", " + y(r.computeLng(a.form.lng)), 1)
|
|
1474
1431
|
]),
|
|
1475
|
-
l("div",
|
|
1432
|
+
l("div", Zi, [
|
|
1476
1433
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "LoCode : ", -1)),
|
|
1477
1434
|
l("span", null, y(a.form.Code || "-"), 1)
|
|
1478
1435
|
]),
|
|
1479
|
-
l("div",
|
|
1436
|
+
l("div", Xi, [
|
|
1480
1437
|
e[5] || (e[5] = l("label", { class: "opacity-70 pr-1" }, "Country : ", -1)),
|
|
1481
1438
|
l("span", null, y(a.form.Country || "-"), 1)
|
|
1482
1439
|
])
|
|
@@ -1487,10 +1444,10 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1487
1444
|
]),
|
|
1488
1445
|
_: 1
|
|
1489
1446
|
}, 512)), [
|
|
1490
|
-
[
|
|
1447
|
+
[Ge, a.showInfo]
|
|
1491
1448
|
]);
|
|
1492
1449
|
}
|
|
1493
|
-
const
|
|
1450
|
+
const Ki = /* @__PURE__ */ Z(Wi, [["render", qi], ["__scopeId", "data-v-851cf973"]]), Qi = {
|
|
1494
1451
|
name: "IdmIceAreas",
|
|
1495
1452
|
props: {
|
|
1496
1453
|
map: {
|
|
@@ -1527,11 +1484,11 @@ const Di = /* @__PURE__ */ Z(Ci, [["render", Ri], ["__scopeId", "data-v-851cf973
|
|
|
1527
1484
|
}
|
|
1528
1485
|
}
|
|
1529
1486
|
};
|
|
1530
|
-
function
|
|
1487
|
+
function Ji(t, e, o, i, a, r) {
|
|
1531
1488
|
return null;
|
|
1532
1489
|
}
|
|
1533
|
-
const
|
|
1534
|
-
const
|
|
1490
|
+
const $i = /* @__PURE__ */ Z(Qi, [["render", Ji]]);
|
|
1491
|
+
const er = {
|
|
1535
1492
|
name: "IdmLatLng",
|
|
1536
1493
|
props: {
|
|
1537
1494
|
map: {
|
|
@@ -1701,7 +1658,7 @@ const ji = {
|
|
|
1701
1658
|
}
|
|
1702
1659
|
}
|
|
1703
1660
|
};
|
|
1704
|
-
function
|
|
1661
|
+
function tr(t, e, o, i, a, r) {
|
|
1705
1662
|
var s, n, c;
|
|
1706
1663
|
return b(), T("div", {
|
|
1707
1664
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
@@ -1712,26 +1669,26 @@ function Ni(t, e, o, i, a, r) {
|
|
|
1712
1669
|
l("div", null, y((c = a.lngLat) == null ? void 0 : c.str), 1)
|
|
1713
1670
|
], 4);
|
|
1714
1671
|
}
|
|
1715
|
-
const
|
|
1716
|
-
const
|
|
1672
|
+
const Ua = /* @__PURE__ */ Z(er, [["render", tr]]);
|
|
1673
|
+
const or = {
|
|
1717
1674
|
name: "IdmOtherLayerr",
|
|
1718
1675
|
components: {
|
|
1719
|
-
IdmWarZone:
|
|
1720
|
-
IdmGmdssArea:
|
|
1721
|
-
IdmEcaZone:
|
|
1722
|
-
IdmAlertZone:
|
|
1723
|
-
IdmPort:
|
|
1724
|
-
IdmLoadLine:
|
|
1725
|
-
IdmTimezone:
|
|
1726
|
-
IdmVRA:
|
|
1727
|
-
IdmSpecialArea:
|
|
1728
|
-
IdmTerminator:
|
|
1729
|
-
IdmWorld12nm:
|
|
1730
|
-
IdmWorldMarine:
|
|
1731
|
-
IdmChinaRoute:
|
|
1732
|
-
IdmTideStations:
|
|
1733
|
-
IdmIceAreas:
|
|
1734
|
-
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
|
|
1735
1692
|
},
|
|
1736
1693
|
props: {
|
|
1737
1694
|
map: {
|
|
@@ -1933,37 +1890,37 @@ const Fi = {
|
|
|
1933
1890
|
this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
|
|
1934
1891
|
}
|
|
1935
1892
|
}
|
|
1936
|
-
},
|
|
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 = {
|
|
1937
1894
|
key: 0,
|
|
1938
1895
|
src: "https://osshz.idmwx.com/asset/dark-map.png",
|
|
1939
1896
|
class: "border rounded-sm"
|
|
1940
|
-
},
|
|
1897
|
+
}, mr = {
|
|
1941
1898
|
key: 1,
|
|
1942
1899
|
src: "https://osshz.idmwx.com/asset/nautical-map.png",
|
|
1943
1900
|
class: "border rounded-sm"
|
|
1944
|
-
},
|
|
1901
|
+
}, hr = {
|
|
1945
1902
|
key: 2,
|
|
1946
1903
|
src: "https://osshz.idmwx.com/asset/satellite-map.png",
|
|
1947
1904
|
class: "border rounded-sm"
|
|
1948
|
-
},
|
|
1905
|
+
}, dr = {
|
|
1949
1906
|
key: 3,
|
|
1950
1907
|
src: "https://osshz.idmwx.com/asset/light-map.png",
|
|
1951
1908
|
class: "border rounded-sm"
|
|
1952
|
-
},
|
|
1953
|
-
function
|
|
1954
|
-
var $, ee, Q,
|
|
1955
|
-
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"),
|
|
1956
|
-
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, [
|
|
1957
1914
|
l("div", {
|
|
1958
1915
|
class: "menu-bar-box transition px-1 rounded",
|
|
1959
1916
|
style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
|
|
1960
1917
|
}, [
|
|
1961
|
-
|
|
1918
|
+
h(n, {
|
|
1962
1919
|
text: t.$t("layer.mapLayers"),
|
|
1963
1920
|
location: "left"
|
|
1964
1921
|
}, {
|
|
1965
1922
|
activator: u(({ props: F }) => [
|
|
1966
|
-
|
|
1923
|
+
h(s, B(F, {
|
|
1967
1924
|
"min-width": "32",
|
|
1968
1925
|
width: "32",
|
|
1969
1926
|
height: "32",
|
|
@@ -1981,12 +1938,12 @@ function Ji(t, e, o, i, a, r) {
|
|
|
1981
1938
|
}, 8, ["text"])
|
|
1982
1939
|
], 4),
|
|
1983
1940
|
l("div", {
|
|
1984
|
-
class:
|
|
1941
|
+
class: We(["available-layers transition", a.toggle ? "right-bar" : ""]),
|
|
1985
1942
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
1986
1943
|
}, [
|
|
1987
|
-
l("div",
|
|
1988
|
-
l("div",
|
|
1989
|
-
|
|
1944
|
+
l("div", ir, [
|
|
1945
|
+
l("div", rr, y(t.$t("layer.layers")), 1),
|
|
1946
|
+
h(s, {
|
|
1990
1947
|
icon: "",
|
|
1991
1948
|
density: "compact",
|
|
1992
1949
|
variant: "plain",
|
|
@@ -2000,46 +1957,46 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2000
1957
|
__: [6]
|
|
2001
1958
|
}, 8, ["onClick"])
|
|
2002
1959
|
]),
|
|
2003
|
-
l("div",
|
|
2004
|
-
|
|
1960
|
+
l("div", lr, [
|
|
1961
|
+
h(f, {
|
|
2005
1962
|
class: "menu-card mx-auto mb-3",
|
|
2006
1963
|
elevation: "0"
|
|
2007
1964
|
}, {
|
|
2008
1965
|
default: u(() => [
|
|
2009
|
-
|
|
1966
|
+
h(g, { class: "border-b-thin" }, {
|
|
2010
1967
|
default: u(() => [
|
|
2011
|
-
|
|
1968
|
+
h(c, {
|
|
2012
1969
|
class: "text-subtitle-1 font-weight-medium",
|
|
2013
1970
|
style: { "font-size": "16px !important" }
|
|
2014
1971
|
}, {
|
|
2015
1972
|
default: u(() => [
|
|
2016
|
-
|
|
1973
|
+
W(y(t.$t("layer.mapFeathers")), 1)
|
|
2017
1974
|
]),
|
|
2018
1975
|
_: 1
|
|
2019
1976
|
})
|
|
2020
1977
|
]),
|
|
2021
1978
|
_: 1
|
|
2022
1979
|
}),
|
|
2023
|
-
|
|
1980
|
+
h(d, { class: "pb-2" }, {
|
|
2024
1981
|
default: u(() => [
|
|
2025
|
-
l("div",
|
|
1982
|
+
l("div", sr, [
|
|
2026
1983
|
(b(!0), T(ke, null, Le(a.mapFeathers, (F) => (b(), T("div", {
|
|
2027
1984
|
key: F.value,
|
|
2028
1985
|
class: "mb-2 feather-item",
|
|
2029
|
-
onClick: (
|
|
1986
|
+
onClick: (le) => r.handleToggleMapFeather(F)
|
|
2030
1987
|
}, [
|
|
2031
1988
|
l("div", {
|
|
2032
|
-
class:
|
|
1989
|
+
class: We([a.mapFeather === F.value ? "active" : "", "img-box"])
|
|
2033
1990
|
}, [
|
|
2034
|
-
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))
|
|
2035
1992
|
], 2),
|
|
2036
|
-
l("div",
|
|
2037
|
-
], 8,
|
|
1993
|
+
l("div", pr, y(t.$t(`layer.${F.locale}`)), 1)
|
|
1994
|
+
], 8, nr))), 128))
|
|
2038
1995
|
]),
|
|
2039
1996
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), j(p, {
|
|
2040
1997
|
key: F.key,
|
|
2041
1998
|
modelValue: a.checkList,
|
|
2042
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1999
|
+
"onUpdate:modelValue": e[0] || (e[0] = (le) => a.checkList = le),
|
|
2043
2000
|
value: F.key,
|
|
2044
2001
|
label: t.$t(`layer.${F.locale}`),
|
|
2045
2002
|
color: "primary",
|
|
@@ -2054,31 +2011,31 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2054
2011
|
]),
|
|
2055
2012
|
_: 1
|
|
2056
2013
|
}),
|
|
2057
|
-
|
|
2014
|
+
h(f, {
|
|
2058
2015
|
class: "menu-card mx-auto mb-3",
|
|
2059
2016
|
elevation: "0"
|
|
2060
2017
|
}, {
|
|
2061
2018
|
default: u(() => [
|
|
2062
|
-
|
|
2019
|
+
h(g, { class: "border-b-thin" }, {
|
|
2063
2020
|
default: u(() => [
|
|
2064
|
-
|
|
2021
|
+
h(c, {
|
|
2065
2022
|
class: "text-subtitle-1 font-weight-medium",
|
|
2066
2023
|
style: { "font-size": "16px !important" }
|
|
2067
2024
|
}, {
|
|
2068
2025
|
default: u(() => [
|
|
2069
|
-
|
|
2026
|
+
W(y(t.$t("layer.pointsOfInteresting")), 1)
|
|
2070
2027
|
]),
|
|
2071
2028
|
_: 1
|
|
2072
2029
|
})
|
|
2073
2030
|
]),
|
|
2074
2031
|
_: 1
|
|
2075
2032
|
}),
|
|
2076
|
-
|
|
2033
|
+
h(d, { class: "py-2" }, {
|
|
2077
2034
|
default: u(() => [
|
|
2078
2035
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), j(p, {
|
|
2079
2036
|
key: F.key,
|
|
2080
2037
|
modelValue: a.checkList,
|
|
2081
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2038
|
+
"onUpdate:modelValue": e[1] || (e[1] = (le) => a.checkList = le),
|
|
2082
2039
|
value: F.key,
|
|
2083
2040
|
label: t.$t(`layer.${F.locale}`),
|
|
2084
2041
|
color: "primary",
|
|
@@ -2093,31 +2050,31 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2093
2050
|
]),
|
|
2094
2051
|
_: 1
|
|
2095
2052
|
}),
|
|
2096
|
-
|
|
2053
|
+
h(f, {
|
|
2097
2054
|
class: "menu-card mx-auto mb-3",
|
|
2098
2055
|
elevation: "0"
|
|
2099
2056
|
}, {
|
|
2100
2057
|
default: u(() => [
|
|
2101
|
-
|
|
2058
|
+
h(g, { class: "border-b-thin" }, {
|
|
2102
2059
|
default: u(() => [
|
|
2103
|
-
|
|
2060
|
+
h(c, {
|
|
2104
2061
|
class: "text-subtitle-1 font-weight-medium",
|
|
2105
2062
|
style: { "font-size": "16px !important" }
|
|
2106
2063
|
}, {
|
|
2107
2064
|
default: u(() => [
|
|
2108
|
-
|
|
2065
|
+
W(y(t.$t("layer.otherLayers")), 1)
|
|
2109
2066
|
]),
|
|
2110
2067
|
_: 1
|
|
2111
2068
|
})
|
|
2112
2069
|
]),
|
|
2113
2070
|
_: 1
|
|
2114
2071
|
}),
|
|
2115
|
-
|
|
2072
|
+
h(d, { class: "py-2" }, {
|
|
2116
2073
|
default: u(() => [
|
|
2117
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, {
|
|
2118
2075
|
key: F.key,
|
|
2119
2076
|
modelValue: a.checkList,
|
|
2120
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
2077
|
+
"onUpdate:modelValue": e[2] || (e[2] = (le) => a.checkList = le),
|
|
2121
2078
|
value: F.key,
|
|
2122
2079
|
label: t.$t(`layer.${F.locale}`),
|
|
2123
2080
|
color: "primary",
|
|
@@ -2132,28 +2089,28 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2132
2089
|
]),
|
|
2133
2090
|
_: 1
|
|
2134
2091
|
}),
|
|
2135
|
-
|
|
2092
|
+
h(f, {
|
|
2136
2093
|
class: "menu-card mx-auto mb-3",
|
|
2137
2094
|
elevation: "0"
|
|
2138
2095
|
}, {
|
|
2139
2096
|
default: u(() => [
|
|
2140
|
-
|
|
2097
|
+
h(g, { class: "border-b-thin" }, {
|
|
2141
2098
|
default: u(() => [
|
|
2142
|
-
|
|
2099
|
+
h(c, {
|
|
2143
2100
|
class: "text-subtitle-1 font-weight-medium",
|
|
2144
2101
|
style: { "font-size": "16px !important" }
|
|
2145
2102
|
}, {
|
|
2146
2103
|
default: u(() => [
|
|
2147
|
-
|
|
2104
|
+
W(y(t.$t("layer.myFollows")), 1)
|
|
2148
2105
|
]),
|
|
2149
2106
|
_: 1
|
|
2150
2107
|
})
|
|
2151
2108
|
]),
|
|
2152
2109
|
_: 1
|
|
2153
2110
|
}),
|
|
2154
|
-
|
|
2111
|
+
h(d, { class: "py-2" }, {
|
|
2155
2112
|
default: u(() => [
|
|
2156
|
-
|
|
2113
|
+
h(p, {
|
|
2157
2114
|
modelValue: a.followList,
|
|
2158
2115
|
"onUpdate:modelValue": e[3] || (e[3] = (F) => a.followList = F),
|
|
2159
2116
|
value: "ports",
|
|
@@ -2164,7 +2121,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2164
2121
|
class: "flex-1-0-100 text-body-2",
|
|
2165
2122
|
"hide-details": ""
|
|
2166
2123
|
}, null, 8, ["modelValue", "label"]),
|
|
2167
|
-
|
|
2124
|
+
h(p, {
|
|
2168
2125
|
modelValue: a.followList,
|
|
2169
2126
|
"onUpdate:modelValue": e[4] || (e[4] = (F) => a.followList = F),
|
|
2170
2127
|
value: "locations",
|
|
@@ -2229,7 +2186,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2229
2186
|
o.map ? (b(), j(_, B({
|
|
2230
2187
|
key: 8,
|
|
2231
2188
|
map: o.map,
|
|
2232
|
-
zone: (
|
|
2189
|
+
zone: (se = a.otherLayers) == null ? void 0 : se["alert-zones"]
|
|
2233
2190
|
}, t.$attrs, {
|
|
2234
2191
|
"before-layer": "empty-layer-3",
|
|
2235
2192
|
theme: o.theme
|
|
@@ -2243,27 +2200,27 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2243
2200
|
o.map ? (b(), j(k, B({
|
|
2244
2201
|
key: 10,
|
|
2245
2202
|
map: o.map,
|
|
2246
|
-
|
|
2247
|
-
}, t.$attrs), null, 16, ["map", "
|
|
2248
|
-
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({
|
|
2249
2206
|
key: 11,
|
|
2250
2207
|
map: o.map,
|
|
2251
|
-
zone: (
|
|
2208
|
+
zone: (pe = a.otherLayers) == null ? void 0 : pe["time-zones"]
|
|
2252
2209
|
}, t.$attrs), null, 16, ["map", "zone"])) : O("", !0),
|
|
2253
2210
|
o.map ? (b(), j(V, B({
|
|
2254
2211
|
key: 12,
|
|
2255
2212
|
map: o.map,
|
|
2256
|
-
area: (
|
|
2213
|
+
area: (me = a.otherLayers) == null ? void 0 : me["voluntary-reporting-area"]
|
|
2257
2214
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2258
2215
|
o.map ? (b(), j(X, B({
|
|
2259
2216
|
key: 13,
|
|
2260
2217
|
map: o.map,
|
|
2261
|
-
area: (
|
|
2218
|
+
area: (K = a.otherLayers) == null ? void 0 : K["special-area"]
|
|
2262
2219
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2263
2220
|
o.map ? (b(), j(q, B({
|
|
2264
2221
|
key: 14,
|
|
2265
2222
|
map: o.map,
|
|
2266
|
-
area: (
|
|
2223
|
+
area: (ie = a.otherLayers) == null ? void 0 : ie["day-night"]
|
|
2267
2224
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2268
2225
|
o.map ? (b(), j(Y, B({
|
|
2269
2226
|
key: 15,
|
|
@@ -2273,19 +2230,19 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2273
2230
|
}, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : O("", !0)
|
|
2274
2231
|
]);
|
|
2275
2232
|
}
|
|
2276
|
-
const
|
|
2233
|
+
const gr = /* @__PURE__ */ Z(or, [["render", ur]]);
|
|
2277
2234
|
class io {
|
|
2278
2235
|
constructor(e) {
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
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;
|
|
2289
2246
|
}
|
|
2290
2247
|
/**
|
|
2291
2248
|
* 转换为[-180, 180]的经度,且包含转换次数
|
|
@@ -2562,7 +2519,7 @@ class Ne {
|
|
|
2562
2519
|
class ce {
|
|
2563
2520
|
}
|
|
2564
2521
|
// 顶点渲染
|
|
2565
|
-
|
|
2522
|
+
ne(ce, "vertexSchema", `
|
|
2566
2523
|
//canvas 坐标系上的坐标 (x, y)
|
|
2567
2524
|
attribute vec2 a_position; //像素坐标
|
|
2568
2525
|
attribute vec2 a_texCoord; //纹理坐标
|
|
@@ -2577,7 +2534,7 @@ se(ce, "vertexSchema", `
|
|
|
2577
2534
|
gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
|
|
2578
2535
|
v_texCoord = a_texCoord;
|
|
2579
2536
|
}`), // 类如风、流等u v双变量片元渲染
|
|
2580
|
-
|
|
2537
|
+
ne(ce, "uvFragmentSchema", `
|
|
2581
2538
|
precision mediump float;
|
|
2582
2539
|
uniform sampler2D u_image;
|
|
2583
2540
|
uniform vec2 u_range_u_v;
|
|
@@ -2597,7 +2554,7 @@ se(ce, "uvFragmentSchema", `
|
|
|
2597
2554
|
|
|
2598
2555
|
gl_FragColor = color;
|
|
2599
2556
|
}`), // 类如浪、气压等单变量片元渲染
|
|
2600
|
-
|
|
2557
|
+
ne(ce, "fragmentSchema", `
|
|
2601
2558
|
precision mediump float;
|
|
2602
2559
|
uniform sampler2D u_image; // 灰度
|
|
2603
2560
|
uniform sampler2D u_color; // 色值映射
|
|
@@ -2610,7 +2567,7 @@ se(ce, "fragmentSchema", `
|
|
|
2610
2567
|
}`);
|
|
2611
2568
|
class be {
|
|
2612
2569
|
}
|
|
2613
|
-
|
|
2570
|
+
ne(be, "vertexSchema", `
|
|
2614
2571
|
precision mediump float;
|
|
2615
2572
|
|
|
2616
2573
|
attribute float a_index; // 索引
|
|
@@ -2634,7 +2591,7 @@ se(be, "vertexSchema", `
|
|
|
2634
2591
|
gl_PointSize = 1.0;
|
|
2635
2592
|
// gl_PointSize = u_point;
|
|
2636
2593
|
gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
|
|
2637
|
-
}`),
|
|
2594
|
+
}`), ne(be, "fragmentSchema", `
|
|
2638
2595
|
precision mediump float;
|
|
2639
2596
|
|
|
2640
2597
|
uniform sampler2D u_factor;
|
|
@@ -2656,7 +2613,7 @@ se(be, "vertexSchema", `
|
|
|
2656
2613
|
|
|
2657
2614
|
float f = 1.0 - uv.b;
|
|
2658
2615
|
gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
|
|
2659
|
-
}`),
|
|
2616
|
+
}`), ne(be, "quadVertSchema", `
|
|
2660
2617
|
precision mediump float;
|
|
2661
2618
|
|
|
2662
2619
|
attribute vec2 a_pos;
|
|
@@ -2666,7 +2623,7 @@ se(be, "vertexSchema", `
|
|
|
2666
2623
|
void main() {
|
|
2667
2624
|
v_tex_pos = a_pos;
|
|
2668
2625
|
gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
|
|
2669
|
-
}`),
|
|
2626
|
+
}`), ne(be, "screenFragmentSchema", `
|
|
2670
2627
|
precision mediump float;
|
|
2671
2628
|
|
|
2672
2629
|
uniform sampler2D u_screen;
|
|
@@ -2678,7 +2635,7 @@ se(be, "vertexSchema", `
|
|
|
2678
2635
|
vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
|
|
2679
2636
|
// a hack to guarantee opacity fade out even with a value close to 1.0
|
|
2680
2637
|
gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
|
|
2681
|
-
}`),
|
|
2638
|
+
}`), ne(be, "updateFragmentSchema", `
|
|
2682
2639
|
precision mediump float;
|
|
2683
2640
|
|
|
2684
2641
|
uniform sampler2D u_particles;
|
|
@@ -2757,7 +2714,7 @@ se(be, "vertexSchema", `
|
|
|
2757
2714
|
fract(pos * 255.0),
|
|
2758
2715
|
floor(pos * 255.0) / 255.0);
|
|
2759
2716
|
}`);
|
|
2760
|
-
const
|
|
2717
|
+
const fr = {
|
|
2761
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>',
|
|
2762
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>',
|
|
2763
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>',
|
|
@@ -2781,7 +2738,7 @@ const er = {
|
|
|
2781
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>',
|
|
2782
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>',
|
|
2783
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>'
|
|
2784
|
-
},
|
|
2741
|
+
}, yr = {
|
|
2785
2742
|
name: "IdmWindBarb",
|
|
2786
2743
|
props: {
|
|
2787
2744
|
map: {
|
|
@@ -2817,7 +2774,7 @@ const er = {
|
|
|
2817
2774
|
right: 10,
|
|
2818
2775
|
bottom: 125,
|
|
2819
2776
|
windBarbLoaded: !1,
|
|
2820
|
-
svgs:
|
|
2777
|
+
svgs: fr
|
|
2821
2778
|
};
|
|
2822
2779
|
},
|
|
2823
2780
|
computed: {
|
|
@@ -2924,11 +2881,11 @@ const er = {
|
|
|
2924
2881
|
}
|
|
2925
2882
|
}
|
|
2926
2883
|
};
|
|
2927
|
-
function
|
|
2884
|
+
function br(t, e, o, i, a, r) {
|
|
2928
2885
|
return null;
|
|
2929
2886
|
}
|
|
2930
|
-
const
|
|
2931
|
-
const
|
|
2887
|
+
const wr = /* @__PURE__ */ Z(yr, [["render", br]]);
|
|
2888
|
+
const xr = {
|
|
2932
2889
|
name: "IdmWindParticle",
|
|
2933
2890
|
props: {
|
|
2934
2891
|
factor: {
|
|
@@ -3094,10 +3051,10 @@ const ir = {
|
|
|
3094
3051
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
3095
3052
|
}
|
|
3096
3053
|
}
|
|
3097
|
-
},
|
|
3098
|
-
function
|
|
3054
|
+
}, vr = { key: 0 };
|
|
3055
|
+
function _r(t, e, o, i, a, r) {
|
|
3099
3056
|
var s;
|
|
3100
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3057
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", vr, [
|
|
3101
3058
|
l("div", {
|
|
3102
3059
|
class: "legend-bars-gl4 wind",
|
|
3103
3060
|
style: ae({ right: a.right + "px" })
|
|
@@ -3113,7 +3070,7 @@ function lr(t, e, o, i, a, r) {
|
|
|
3113
3070
|
]), 4)
|
|
3114
3071
|
])) : O("", !0);
|
|
3115
3072
|
}
|
|
3116
|
-
const
|
|
3073
|
+
const kr = /* @__PURE__ */ Z(xr, [["render", _r]]), zr = {
|
|
3117
3074
|
name: "IdmCurrent",
|
|
3118
3075
|
props: {
|
|
3119
3076
|
map: {
|
|
@@ -3271,11 +3228,11 @@ const sr = /* @__PURE__ */ Z(ir, [["render", lr]]), nr = {
|
|
|
3271
3228
|
}
|
|
3272
3229
|
}
|
|
3273
3230
|
};
|
|
3274
|
-
function
|
|
3231
|
+
function Lr(t, e, o, i, a, r) {
|
|
3275
3232
|
return null;
|
|
3276
3233
|
}
|
|
3277
|
-
const
|
|
3278
|
-
const
|
|
3234
|
+
const Pr = /* @__PURE__ */ Z(zr, [["render", Lr]]);
|
|
3235
|
+
const Cr = {
|
|
3279
3236
|
name: "IdmCurrentParticle",
|
|
3280
3237
|
props: {
|
|
3281
3238
|
factor: {
|
|
@@ -3438,10 +3395,10 @@ const hr = {
|
|
|
3438
3395
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
3439
3396
|
}
|
|
3440
3397
|
}
|
|
3441
|
-
},
|
|
3442
|
-
function
|
|
3398
|
+
}, Sr = { key: 0 };
|
|
3399
|
+
function Mr(t, e, o, i, a, r) {
|
|
3443
3400
|
var s;
|
|
3444
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3401
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Sr, [
|
|
3445
3402
|
l("div", {
|
|
3446
3403
|
class: "legend-bars-gl4 current",
|
|
3447
3404
|
style: ae({ right: a.right + "px" })
|
|
@@ -3456,8 +3413,8 @@ function pr(t, e, o, i, a, r) {
|
|
|
3456
3413
|
]), 4)
|
|
3457
3414
|
])) : O("", !0);
|
|
3458
3415
|
}
|
|
3459
|
-
const
|
|
3460
|
-
const
|
|
3416
|
+
const Tr = /* @__PURE__ */ Z(Cr, [["render", Mr]]);
|
|
3417
|
+
const Rr = {
|
|
3461
3418
|
name: "IdmTemp",
|
|
3462
3419
|
props: {
|
|
3463
3420
|
factor: {
|
|
@@ -3566,10 +3523,10 @@ const gr = {
|
|
|
3566
3523
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
3567
3524
|
}
|
|
3568
3525
|
}
|
|
3569
|
-
},
|
|
3570
|
-
function
|
|
3526
|
+
}, Ir = { key: 0 };
|
|
3527
|
+
function Ar(t, e, o, i, a, r) {
|
|
3571
3528
|
var s;
|
|
3572
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
3529
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Ir, [
|
|
3573
3530
|
l("div", {
|
|
3574
3531
|
class: "legend-bars-gl4 sig-wave",
|
|
3575
3532
|
style: ae({ right: a.right + "px" })
|
|
@@ -3584,7 +3541,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
3584
3541
|
]), 4)
|
|
3585
3542
|
])) : O("", !0);
|
|
3586
3543
|
}
|
|
3587
|
-
const
|
|
3544
|
+
const Dr = /* @__PURE__ */ Z(Rr, [["render", Ar], ["__scopeId", "data-v-79ce70e2"]]), Or = {
|
|
3588
3545
|
name: "IdmSigWave",
|
|
3589
3546
|
props: {
|
|
3590
3547
|
map: {
|
|
@@ -3733,10 +3690,10 @@ const br = /* @__PURE__ */ Z(gr, [["render", yr], ["__scopeId", "data-v-79ce70e2
|
|
|
3733
3690
|
}
|
|
3734
3691
|
}
|
|
3735
3692
|
};
|
|
3736
|
-
function
|
|
3693
|
+
function Br(t, e, o, i, a, r) {
|
|
3737
3694
|
return null;
|
|
3738
3695
|
}
|
|
3739
|
-
const
|
|
3696
|
+
const Er = /* @__PURE__ */ Z(Or, [["render", Br]]), jr = {
|
|
3740
3697
|
name: "IdmSwell",
|
|
3741
3698
|
props: {
|
|
3742
3699
|
map: {
|
|
@@ -3887,10 +3844,10 @@ const vr = /* @__PURE__ */ Z(wr, [["render", xr]]), _r = {
|
|
|
3887
3844
|
}
|
|
3888
3845
|
}
|
|
3889
3846
|
};
|
|
3890
|
-
function
|
|
3847
|
+
function Nr(t, e, o, i, a, r) {
|
|
3891
3848
|
return b(), T("div");
|
|
3892
3849
|
}
|
|
3893
|
-
const
|
|
3850
|
+
const Fr = /* @__PURE__ */ Z(jr, [["render", Nr]]), Hr = {
|
|
3894
3851
|
name: "IdmPrmsl",
|
|
3895
3852
|
props: {
|
|
3896
3853
|
map: {
|
|
@@ -4041,24 +3998,24 @@ const zr = /* @__PURE__ */ Z(_r, [["render", kr]]), Lr = {
|
|
|
4041
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);
|
|
4042
3999
|
}
|
|
4043
4000
|
}
|
|
4044
|
-
},
|
|
4001
|
+
}, Gr = {
|
|
4045
4002
|
key: 0,
|
|
4046
4003
|
class: "legend-tip-btn-gl4"
|
|
4047
4004
|
};
|
|
4048
|
-
function
|
|
4005
|
+
function Wr(t, e, o, i, a, r) {
|
|
4049
4006
|
var c;
|
|
4050
4007
|
const s = w("VBtn"), n = w("VTooltip");
|
|
4051
|
-
return (c = o.prmsl) != null && c.active ? (b(), T("div",
|
|
4008
|
+
return (c = o.prmsl) != null && c.active ? (b(), T("div", Gr, [
|
|
4052
4009
|
l("div", {
|
|
4053
4010
|
class: "menu-bar-box pa-1 rounded",
|
|
4054
4011
|
style: ae({ right: a.right + "px" })
|
|
4055
4012
|
}, [
|
|
4056
|
-
|
|
4013
|
+
h(n, {
|
|
4057
4014
|
text: "Map Layers",
|
|
4058
4015
|
location: "left"
|
|
4059
4016
|
}, {
|
|
4060
4017
|
activator: u(({ props: g }) => [
|
|
4061
|
-
|
|
4018
|
+
h(s, B(g, {
|
|
4062
4019
|
"min-width": "32",
|
|
4063
4020
|
width: "32",
|
|
4064
4021
|
height: "32",
|
|
@@ -4078,8 +4035,8 @@ function Cr(t, e, o, i, a, r) {
|
|
|
4078
4035
|
], 4)
|
|
4079
4036
|
])) : O("", !0);
|
|
4080
4037
|
}
|
|
4081
|
-
const
|
|
4082
|
-
const
|
|
4038
|
+
const Ur = /* @__PURE__ */ Z(Hr, [["render", Wr]]);
|
|
4039
|
+
const Vr = {
|
|
4083
4040
|
name: "IdmIceEdge",
|
|
4084
4041
|
props: {
|
|
4085
4042
|
factor: {
|
|
@@ -4180,10 +4137,10 @@ const Mr = {
|
|
|
4180
4137
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4181
4138
|
}
|
|
4182
4139
|
}
|
|
4183
|
-
},
|
|
4184
|
-
function
|
|
4140
|
+
}, Yr = { key: 0 };
|
|
4141
|
+
function Zr(t, e, o, i, a, r) {
|
|
4185
4142
|
var s;
|
|
4186
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4143
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Yr, [
|
|
4187
4144
|
l("div", {
|
|
4188
4145
|
class: "legend-bars-gl4 ice-edge",
|
|
4189
4146
|
style: ae({ right: a.right + "px" })
|
|
@@ -4203,8 +4160,8 @@ function Ir(t, e, o, i, a, r) {
|
|
|
4203
4160
|
]), 4)
|
|
4204
4161
|
])) : O("", !0);
|
|
4205
4162
|
}
|
|
4206
|
-
const
|
|
4207
|
-
const
|
|
4163
|
+
const Xr = /* @__PURE__ */ Z(Vr, [["render", Zr]]);
|
|
4164
|
+
const qr = {
|
|
4208
4165
|
name: "IdmCover",
|
|
4209
4166
|
props: {
|
|
4210
4167
|
factor: {
|
|
@@ -4296,10 +4253,10 @@ const Rr = {
|
|
|
4296
4253
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4297
4254
|
}
|
|
4298
4255
|
}
|
|
4299
|
-
},
|
|
4300
|
-
function
|
|
4256
|
+
}, Kr = { key: 0 };
|
|
4257
|
+
function Qr(t, e, o, i, a, r) {
|
|
4301
4258
|
var s;
|
|
4302
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4259
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Kr, [
|
|
4303
4260
|
l("div", {
|
|
4304
4261
|
class: "legend-bars-gl4 ice-cover",
|
|
4305
4262
|
style: ae({ right: a.right + "px" })
|
|
@@ -4313,8 +4270,8 @@ function Or(t, e, o, i, a, r) {
|
|
|
4313
4270
|
]), 4)
|
|
4314
4271
|
])) : O("", !0);
|
|
4315
4272
|
}
|
|
4316
|
-
const
|
|
4317
|
-
const
|
|
4273
|
+
const Jr = /* @__PURE__ */ Z(qr, [["render", Qr], ["__scopeId", "data-v-9696d73b"]]);
|
|
4274
|
+
const $r = {
|
|
4318
4275
|
name: "IdmThickness",
|
|
4319
4276
|
props: {
|
|
4320
4277
|
factor: {
|
|
@@ -4414,10 +4371,10 @@ const Er = {
|
|
|
4414
4371
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4415
4372
|
}
|
|
4416
4373
|
}
|
|
4417
|
-
},
|
|
4418
|
-
function
|
|
4374
|
+
}, el = { key: 0 };
|
|
4375
|
+
function tl(t, e, o, i, a, r) {
|
|
4419
4376
|
var s;
|
|
4420
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4377
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", el, [
|
|
4421
4378
|
l("div", {
|
|
4422
4379
|
class: "legend-bars-gl4 ice-thickness",
|
|
4423
4380
|
style: ae({ right: a.right + "px" })
|
|
@@ -4432,8 +4389,8 @@ function Nr(t, e, o, i, a, r) {
|
|
|
4432
4389
|
]), 4)
|
|
4433
4390
|
])) : O("", !0);
|
|
4434
4391
|
}
|
|
4435
|
-
const
|
|
4436
|
-
const
|
|
4392
|
+
const ol = /* @__PURE__ */ Z($r, [["render", tl]]);
|
|
4393
|
+
const al = {
|
|
4437
4394
|
name: "IdmPrecip3h",
|
|
4438
4395
|
props: {
|
|
4439
4396
|
factor: {
|
|
@@ -4534,10 +4491,10 @@ const Hr = {
|
|
|
4534
4491
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4535
4492
|
}
|
|
4536
4493
|
}
|
|
4537
|
-
},
|
|
4538
|
-
function
|
|
4494
|
+
}, il = { key: 0 };
|
|
4495
|
+
function rl(t, e, o, i, a, r) {
|
|
4539
4496
|
var s;
|
|
4540
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4497
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", il, [
|
|
4541
4498
|
l("div", {
|
|
4542
4499
|
class: "legend-bars-gl4 precip3h",
|
|
4543
4500
|
style: ae({ right: a.right + "px" })
|
|
@@ -4553,8 +4510,8 @@ function Gr(t, e, o, i, a, r) {
|
|
|
4553
4510
|
]), 4)
|
|
4554
4511
|
])) : O("", !0);
|
|
4555
4512
|
}
|
|
4556
|
-
const
|
|
4557
|
-
const
|
|
4513
|
+
const ll = /* @__PURE__ */ Z(al, [["render", rl]]);
|
|
4514
|
+
const sl = {
|
|
4558
4515
|
name: "IdmVisibility",
|
|
4559
4516
|
props: {
|
|
4560
4517
|
factor: {
|
|
@@ -4645,10 +4602,10 @@ const Vr = {
|
|
|
4645
4602
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4646
4603
|
}
|
|
4647
4604
|
}
|
|
4648
|
-
},
|
|
4649
|
-
function
|
|
4605
|
+
}, nl = { key: 0 };
|
|
4606
|
+
function cl(t, e, o, i, a, r) {
|
|
4650
4607
|
var s;
|
|
4651
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4608
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", nl, [
|
|
4652
4609
|
l("div", {
|
|
4653
4610
|
class: "legend-bars-gl4 visibility",
|
|
4654
4611
|
style: ae({ right: a.right + "px" })
|
|
@@ -4662,8 +4619,8 @@ function Zr(t, e, o, i, a, r) {
|
|
|
4662
4619
|
]), 4)
|
|
4663
4620
|
])) : O("", !0);
|
|
4664
4621
|
}
|
|
4665
|
-
const
|
|
4666
|
-
const
|
|
4622
|
+
const ml = /* @__PURE__ */ Z(sl, [["render", cl]]);
|
|
4623
|
+
const hl = {
|
|
4667
4624
|
name: "IdmWaterTemp",
|
|
4668
4625
|
props: {
|
|
4669
4626
|
factor: {
|
|
@@ -4757,10 +4714,10 @@ const qr = {
|
|
|
4757
4714
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4758
4715
|
}
|
|
4759
4716
|
}
|
|
4760
|
-
},
|
|
4761
|
-
function
|
|
4717
|
+
}, dl = { key: 0 };
|
|
4718
|
+
function pl(t, e, o, i, a, r) {
|
|
4762
4719
|
var s;
|
|
4763
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4720
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", dl, [
|
|
4764
4721
|
l("div", {
|
|
4765
4722
|
class: "legend-bars-gl4 water-temp",
|
|
4766
4723
|
style: ae({ right: a.right + "px" })
|
|
@@ -4774,8 +4731,8 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4774
4731
|
]), 4)
|
|
4775
4732
|
])) : O("", !0);
|
|
4776
4733
|
}
|
|
4777
|
-
const
|
|
4778
|
-
const
|
|
4734
|
+
const ul = /* @__PURE__ */ Z(hl, [["render", pl]]);
|
|
4735
|
+
const gl = {
|
|
4779
4736
|
name: "IdmTemp",
|
|
4780
4737
|
props: {
|
|
4781
4738
|
factor: {
|
|
@@ -4880,10 +4837,10 @@ const $r = {
|
|
|
4880
4837
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4881
4838
|
}
|
|
4882
4839
|
}
|
|
4883
|
-
},
|
|
4884
|
-
function
|
|
4840
|
+
}, fl = { key: 0 };
|
|
4841
|
+
function yl(t, e, o, i, a, r) {
|
|
4885
4842
|
var s;
|
|
4886
|
-
return (s = o.factor) != null && s.active ? (b(), T("div",
|
|
4843
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", fl, [
|
|
4887
4844
|
l("div", {
|
|
4888
4845
|
class: "legend-bars-gl4 temp",
|
|
4889
4846
|
style: ae({ right: a.right + "px" })
|
|
@@ -4899,25 +4856,25 @@ function tl(t, e, o, i, a, r) {
|
|
|
4899
4856
|
]), 4)
|
|
4900
4857
|
])) : O("", !0);
|
|
4901
4858
|
}
|
|
4902
|
-
const
|
|
4903
|
-
const
|
|
4859
|
+
const bl = /* @__PURE__ */ Z(gl, [["render", yl]]);
|
|
4860
|
+
const wl = {
|
|
4904
4861
|
name: "IdmGlLayer",
|
|
4905
4862
|
components: {
|
|
4906
|
-
IdmWindBarb:
|
|
4907
|
-
IdmWindParticle:
|
|
4908
|
-
IdmCurrentDirection:
|
|
4909
|
-
IdmCurrentParticle:
|
|
4910
|
-
IdmWave:
|
|
4911
|
-
IdmSigWaveHeight:
|
|
4912
|
-
IdmSwell:
|
|
4913
|
-
IdmPrmsl:
|
|
4914
|
-
IdmIceEdge:
|
|
4915
|
-
IdmIceCover:
|
|
4916
|
-
IdmIceThickness:
|
|
4917
|
-
IdmPrecip3h:
|
|
4918
|
-
IdmVisibility:
|
|
4919
|
-
IdmWaterTemp:
|
|
4920
|
-
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
|
|
4921
4878
|
},
|
|
4922
4879
|
props: {
|
|
4923
4880
|
isLogin: {
|
|
@@ -5197,8 +5154,8 @@ const al = {
|
|
|
5197
5154
|
this.weatherLayers = {}, _.map((P) => {
|
|
5198
5155
|
var V, X, q, Y;
|
|
5199
5156
|
const k = ((V = P == null ? void 0 : P.data) == null ? void 0 : V.data) || (P == null ? void 0 : P.data);
|
|
5200
|
-
let
|
|
5201
|
-
|
|
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] = {
|
|
5202
5159
|
raw: k,
|
|
5203
5160
|
type: ((Y = P == null ? void 0 : P.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
|
|
5204
5161
|
etime: M.data.etime
|
|
@@ -5294,37 +5251,37 @@ const al = {
|
|
|
5294
5251
|
for (const _ in L)
|
|
5295
5252
|
if (_ > n && _ < c && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5296
5253
|
const P = L[_].lng;
|
|
5297
|
-
r > s ? P.forEach((k,
|
|
5254
|
+
r > s ? P.forEach((k, R) => {
|
|
5298
5255
|
var V, X, q, Y, $, ee;
|
|
5299
5256
|
if (a < 2) {
|
|
5300
5257
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5301
5258
|
const Q = E.point([k, _], {
|
|
5302
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5303
|
-
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]
|
|
5304
5261
|
});
|
|
5305
5262
|
M.push(Q);
|
|
5306
5263
|
}
|
|
5307
5264
|
} else if ((k >= r && k <= 180 || k >= -180 && k <= s) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5308
5265
|
const Q = E.point([k, _], {
|
|
5309
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5310
|
-
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]
|
|
5311
5268
|
});
|
|
5312
5269
|
M.push(Q);
|
|
5313
5270
|
}
|
|
5314
|
-
}) : P.forEach((k,
|
|
5271
|
+
}) : P.forEach((k, R) => {
|
|
5315
5272
|
var V, X, q, Y, $, ee;
|
|
5316
5273
|
if (r < 2) {
|
|
5317
5274
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5318
5275
|
const Q = E.point([k, _], {
|
|
5319
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5320
|
-
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]
|
|
5321
5278
|
});
|
|
5322
5279
|
M.push(Q);
|
|
5323
5280
|
}
|
|
5324
5281
|
} else if (k >= r && k <= s && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5325
5282
|
const Q = E.point([k, _], {
|
|
5326
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5327
|
-
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]
|
|
5328
5285
|
});
|
|
5329
5286
|
M.push(Q);
|
|
5330
5287
|
}
|
|
@@ -5337,9 +5294,9 @@ const al = {
|
|
|
5337
5294
|
const _ = [];
|
|
5338
5295
|
for (const P in (f = v.raw) == null ? void 0 : f.LineString) {
|
|
5339
5296
|
const k = v.raw.LineString[P];
|
|
5340
|
-
for (const
|
|
5297
|
+
for (const R of k)
|
|
5341
5298
|
_.push(
|
|
5342
|
-
E.lineString(
|
|
5299
|
+
E.lineString(R, {
|
|
5343
5300
|
val: Number(P)
|
|
5344
5301
|
})
|
|
5345
5302
|
);
|
|
@@ -5358,37 +5315,37 @@ const al = {
|
|
|
5358
5315
|
for (const _ in L)
|
|
5359
5316
|
if (_ > n && _ < c && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5360
5317
|
const P = L[_].lng;
|
|
5361
|
-
r > s ? P.forEach((k,
|
|
5318
|
+
r > s ? P.forEach((k, R) => {
|
|
5362
5319
|
var V, X, q, Y, $, ee;
|
|
5363
5320
|
if (a < 2) {
|
|
5364
5321
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5365
5322
|
const Q = E.point([k, _], {
|
|
5366
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5367
|
-
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]
|
|
5368
5325
|
});
|
|
5369
5326
|
M.push(Q);
|
|
5370
5327
|
}
|
|
5371
5328
|
} else if ((k >= r && k <= 180 || k >= -180 && k <= s) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5372
5329
|
const Q = E.point([k, _], {
|
|
5373
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5374
|
-
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]
|
|
5375
5332
|
});
|
|
5376
5333
|
M.push(Q);
|
|
5377
5334
|
}
|
|
5378
|
-
}) : P.forEach((k,
|
|
5335
|
+
}) : P.forEach((k, R) => {
|
|
5379
5336
|
var V, X, q, Y, $, ee;
|
|
5380
5337
|
if (r < 2) {
|
|
5381
5338
|
if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
|
|
5382
5339
|
const Q = E.point([k, _], {
|
|
5383
|
-
val: ((V = L[_].val) == null ? void 0 : V[
|
|
5384
|
-
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]
|
|
5385
5342
|
});
|
|
5386
5343
|
M.push(Q);
|
|
5387
5344
|
}
|
|
5388
5345
|
} else if (k >= r && k <= s && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5389
5346
|
const Q = E.point([k, _], {
|
|
5390
|
-
val: ((Y = L[_].val) == null ? void 0 : Y[
|
|
5391
|
-
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]
|
|
5392
5349
|
});
|
|
5393
5350
|
M.push(Q);
|
|
5394
5351
|
}
|
|
@@ -5400,8 +5357,8 @@ const al = {
|
|
|
5400
5357
|
if (!v.data) {
|
|
5401
5358
|
const P = [];
|
|
5402
5359
|
for (const k in (x = v.raw) == null ? void 0 : x.Polygon) {
|
|
5403
|
-
const
|
|
5404
|
-
for (const V of
|
|
5360
|
+
const R = v.raw.Polygon[k];
|
|
5361
|
+
for (const V of R)
|
|
5405
5362
|
P.push(
|
|
5406
5363
|
E.polygon(V, {
|
|
5407
5364
|
val: Number(k)
|
|
@@ -5420,11 +5377,11 @@ const al = {
|
|
|
5420
5377
|
if (v > n && v < c && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5421
5378
|
const _ = L[v].lng;
|
|
5422
5379
|
r > s ? _.forEach((P, k) => {
|
|
5423
|
-
var
|
|
5380
|
+
var R, V, X, q;
|
|
5424
5381
|
if (a < 2) {
|
|
5425
5382
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5426
5383
|
const Y = E.point([P, v], {
|
|
5427
|
-
dir: ((
|
|
5384
|
+
dir: ((R = L[v].val) == null ? void 0 : R[k]) || ((V = L[v].dir) == null ? void 0 : V[k]),
|
|
5428
5385
|
spd: L[v].spd[k]
|
|
5429
5386
|
});
|
|
5430
5387
|
M.push(Y);
|
|
@@ -5437,11 +5394,11 @@ const al = {
|
|
|
5437
5394
|
M.push(Y);
|
|
5438
5395
|
}
|
|
5439
5396
|
}) : _.forEach((P, k) => {
|
|
5440
|
-
var
|
|
5397
|
+
var R, V, X, q;
|
|
5441
5398
|
if (a < 2) {
|
|
5442
5399
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5443
5400
|
const Y = E.point([P, v], {
|
|
5444
|
-
dir: ((
|
|
5401
|
+
dir: ((R = L[v].val) == null ? void 0 : R[k]) || ((V = L[v].dir) == null ? void 0 : V[k]),
|
|
5445
5402
|
spd: L[v].spd[k]
|
|
5446
5403
|
});
|
|
5447
5404
|
M.push(Y);
|
|
@@ -5551,36 +5508,36 @@ const al = {
|
|
|
5551
5508
|
}), o;
|
|
5552
5509
|
}
|
|
5553
5510
|
}
|
|
5554
|
-
},
|
|
5511
|
+
}, xl = { class: "idm-gl4-meteo-layers" }, vl = {
|
|
5555
5512
|
key: 0,
|
|
5556
5513
|
class: "legend-tip-btn-gl4"
|
|
5557
|
-
},
|
|
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 = {
|
|
5558
5515
|
key: 0,
|
|
5559
5516
|
style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
|
|
5560
|
-
},
|
|
5517
|
+
}, Pl = { class: "text-caption px-2" }, Cl = { class: "d-flex flex-row justify-start align-center" }, Sl = {
|
|
5561
5518
|
class: "d-flex flex-row justify-center align-center",
|
|
5562
5519
|
style: { width: "40px" }
|
|
5563
|
-
},
|
|
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 = {
|
|
5564
5521
|
key: 0,
|
|
5565
5522
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5566
|
-
},
|
|
5523
|
+
}, Dl = {
|
|
5567
5524
|
key: 1,
|
|
5568
5525
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5569
|
-
},
|
|
5570
|
-
function
|
|
5571
|
-
var pe, me, K, ie,
|
|
5572
|
-
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"),
|
|
5573
|
-
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, [
|
|
5574
5531
|
l("div", {
|
|
5575
5532
|
class: "menu-bar-box transition pa-1",
|
|
5576
5533
|
style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
|
|
5577
5534
|
}, [
|
|
5578
|
-
|
|
5535
|
+
h(n, {
|
|
5579
5536
|
text: t.$t("weather.weatherLayers"),
|
|
5580
5537
|
location: "left"
|
|
5581
5538
|
}, {
|
|
5582
5539
|
activator: u(({ props: H }) => [
|
|
5583
|
-
|
|
5540
|
+
h(s, B(H, {
|
|
5584
5541
|
"min-width": "32",
|
|
5585
5542
|
width: "32",
|
|
5586
5543
|
height: "32",
|
|
@@ -5597,17 +5554,17 @@ function El(t, e, o, i, a, r) {
|
|
|
5597
5554
|
_: 1
|
|
5598
5555
|
}, 8, ["text"])
|
|
5599
5556
|
], 4),
|
|
5600
|
-
r.showTipMenu ? (b(), T("div",
|
|
5557
|
+
r.showTipMenu ? (b(), T("div", vl, [
|
|
5601
5558
|
l("div", {
|
|
5602
5559
|
class: "menu-bar-box pa-1 rounded",
|
|
5603
5560
|
style: ae({ right: a.right + "px" })
|
|
5604
5561
|
}, [
|
|
5605
|
-
|
|
5562
|
+
h(n, {
|
|
5606
5563
|
text: "Legend",
|
|
5607
5564
|
location: "left"
|
|
5608
5565
|
}, {
|
|
5609
5566
|
activator: u(({ props: H }) => [
|
|
5610
|
-
|
|
5567
|
+
h(s, B(H, {
|
|
5611
5568
|
"min-width": "32",
|
|
5612
5569
|
width: "32",
|
|
5613
5570
|
height: "32",
|
|
@@ -5632,10 +5589,10 @@ function El(t, e, o, i, a, r) {
|
|
|
5632
5589
|
style: ae({ position: "absolute", top: "340px", right: a.right + 50 + "px" })
|
|
5633
5590
|
}, {
|
|
5634
5591
|
default: u(() => [
|
|
5635
|
-
|
|
5592
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5636
5593
|
default: u(() => [
|
|
5637
5594
|
e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
5638
|
-
|
|
5595
|
+
h(g, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
5639
5596
|
default: u(() => [
|
|
5640
5597
|
(b(!0), T(ke, null, Le(a.legend.barbs, (H, te) => (b(), j(c, {
|
|
5641
5598
|
key: H,
|
|
@@ -5643,12 +5600,12 @@ function El(t, e, o, i, a, r) {
|
|
|
5643
5600
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
5644
5601
|
}, {
|
|
5645
5602
|
default: u(() => [
|
|
5646
|
-
l("div",
|
|
5603
|
+
l("div", _l, [
|
|
5647
5604
|
l("i", {
|
|
5648
|
-
class:
|
|
5605
|
+
class: We(["iconfont", r.barbsIconName[te]]),
|
|
5649
5606
|
style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
|
|
5650
5607
|
}, null, 6),
|
|
5651
|
-
l("span",
|
|
5608
|
+
l("span", kl, y(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
|
|
5652
5609
|
])
|
|
5653
5610
|
]),
|
|
5654
5611
|
_: 2
|
|
@@ -5660,11 +5617,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5660
5617
|
_: 1,
|
|
5661
5618
|
__: [9]
|
|
5662
5619
|
}),
|
|
5663
|
-
|
|
5664
|
-
|
|
5620
|
+
h(d, { vertical: "" }),
|
|
5621
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5665
5622
|
default: u(() => [
|
|
5666
5623
|
e[10] || (e[10] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
5667
|
-
|
|
5624
|
+
h(g, {
|
|
5668
5625
|
class: "ma-0 ml-1",
|
|
5669
5626
|
style: { width: "100px" }
|
|
5670
5627
|
}, {
|
|
@@ -5675,12 +5632,12 @@ function El(t, e, o, i, a, r) {
|
|
|
5675
5632
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
5676
5633
|
}, {
|
|
5677
5634
|
default: u(() => [
|
|
5678
|
-
l("div",
|
|
5679
|
-
te === 0 ? (b(), T("div",
|
|
5635
|
+
l("div", zl, [
|
|
5636
|
+
te === 0 ? (b(), T("div", Ll)) : (b(), T("div", {
|
|
5680
5637
|
key: 1,
|
|
5681
5638
|
style: ae({ width: "24px", height: "12px", background: H.color })
|
|
5682
5639
|
}, null, 4)),
|
|
5683
|
-
l("div",
|
|
5640
|
+
l("div", Pl, y(H.label), 1)
|
|
5684
5641
|
])
|
|
5685
5642
|
]),
|
|
5686
5643
|
_: 2
|
|
@@ -5692,11 +5649,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5692
5649
|
_: 1,
|
|
5693
5650
|
__: [10]
|
|
5694
5651
|
}),
|
|
5695
|
-
|
|
5696
|
-
|
|
5652
|
+
h(d, { vertical: "" }),
|
|
5653
|
+
h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
|
|
5697
5654
|
default: u(() => [
|
|
5698
5655
|
e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
|
|
5699
|
-
|
|
5656
|
+
h(g, {
|
|
5700
5657
|
class: "ma-0 ml-n5",
|
|
5701
5658
|
style: { width: "110px" }
|
|
5702
5659
|
}, {
|
|
@@ -5707,14 +5664,14 @@ function El(t, e, o, i, a, r) {
|
|
|
5707
5664
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
5708
5665
|
}, {
|
|
5709
5666
|
default: u(() => [
|
|
5710
|
-
l("div",
|
|
5711
|
-
l("div",
|
|
5667
|
+
l("div", Cl, [
|
|
5668
|
+
l("div", Sl, [
|
|
5712
5669
|
l("i", {
|
|
5713
5670
|
class: "iconfont icon-a-direction-arrow opacity-80",
|
|
5714
5671
|
style: ae({ fontSize: 40 * H.size + "px" })
|
|
5715
5672
|
}, null, 4)
|
|
5716
5673
|
]),
|
|
5717
|
-
l("div",
|
|
5674
|
+
l("div", Ml, y(H.label), 1)
|
|
5718
5675
|
])
|
|
5719
5676
|
]),
|
|
5720
5677
|
_: 2
|
|
@@ -5731,13 +5688,13 @@ function El(t, e, o, i, a, r) {
|
|
|
5731
5688
|
}, 8, ["style"])) : O("", !0)
|
|
5732
5689
|
])) : O("", !0),
|
|
5733
5690
|
l("div", {
|
|
5734
|
-
class:
|
|
5691
|
+
class: We(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
|
|
5735
5692
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
5736
5693
|
}, [
|
|
5737
|
-
l("div",
|
|
5738
|
-
l("div",
|
|
5739
|
-
l("div",
|
|
5740
|
-
|
|
5694
|
+
l("div", Tl, [
|
|
5695
|
+
l("div", Rl, [
|
|
5696
|
+
l("div", Il, y(t.$t("weather.weather")), 1),
|
|
5697
|
+
h(z, {
|
|
5741
5698
|
modelValue: a.autoActive,
|
|
5742
5699
|
"onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
|
|
5743
5700
|
class: "small-switch",
|
|
@@ -5746,7 +5703,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5746
5703
|
"hide-details": ""
|
|
5747
5704
|
}, null, 8, ["modelValue"])
|
|
5748
5705
|
]),
|
|
5749
|
-
|
|
5706
|
+
h(s, {
|
|
5750
5707
|
icon: "",
|
|
5751
5708
|
density: "compact",
|
|
5752
5709
|
variant: "plain",
|
|
@@ -5761,28 +5718,28 @@ function El(t, e, o, i, a, r) {
|
|
|
5761
5718
|
}, 8, ["onClick"])
|
|
5762
5719
|
]),
|
|
5763
5720
|
l("div", {
|
|
5764
|
-
class:
|
|
5721
|
+
class: We(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
|
|
5765
5722
|
}, [
|
|
5766
|
-
|
|
5723
|
+
h(f, {
|
|
5767
5724
|
class: "menu-card mx-auto mb-3",
|
|
5768
5725
|
elevation: "0"
|
|
5769
5726
|
}, {
|
|
5770
5727
|
default: u(() => [
|
|
5771
|
-
|
|
5728
|
+
h(S, { class: "border-b-thin" }, {
|
|
5772
5729
|
default: u(() => [
|
|
5773
|
-
|
|
5730
|
+
h(x, {
|
|
5774
5731
|
class: "text-subtitle-1 font-weight-medium",
|
|
5775
5732
|
style: { "font-size": "16px !important" }
|
|
5776
5733
|
}, {
|
|
5777
5734
|
default: u(() => [
|
|
5778
|
-
|
|
5735
|
+
W(y(t.$t("weather.overlays")), 1)
|
|
5779
5736
|
]),
|
|
5780
5737
|
_: 1
|
|
5781
5738
|
})
|
|
5782
5739
|
]),
|
|
5783
5740
|
_: 1
|
|
5784
5741
|
}),
|
|
5785
|
-
|
|
5742
|
+
h(p, { class: "py-2" }, {
|
|
5786
5743
|
default: u(() => [
|
|
5787
5744
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => H.overlays), (H) => (b(), j(C, {
|
|
5788
5745
|
key: H.key,
|
|
@@ -5803,31 +5760,31 @@ function El(t, e, o, i, a, r) {
|
|
|
5803
5760
|
]),
|
|
5804
5761
|
_: 1
|
|
5805
5762
|
}),
|
|
5806
|
-
|
|
5763
|
+
h(f, {
|
|
5807
5764
|
class: "menu-card mx-auto mb-3",
|
|
5808
5765
|
elevation: "0"
|
|
5809
5766
|
}, {
|
|
5810
5767
|
default: u(() => [
|
|
5811
|
-
|
|
5768
|
+
h(S, { class: "border-b-thin" }, {
|
|
5812
5769
|
default: u(() => [
|
|
5813
|
-
|
|
5770
|
+
h(x, {
|
|
5814
5771
|
class: "text-subtitle-1 font-weight-medium",
|
|
5815
5772
|
style: { "font-size": "16px !important" }
|
|
5816
5773
|
}, {
|
|
5817
5774
|
default: u(() => [
|
|
5818
|
-
|
|
5775
|
+
W(y(t.$t("weather.renders")), 1)
|
|
5819
5776
|
]),
|
|
5820
5777
|
_: 1
|
|
5821
5778
|
})
|
|
5822
5779
|
]),
|
|
5823
5780
|
_: 1
|
|
5824
5781
|
}),
|
|
5825
|
-
|
|
5782
|
+
h(p, { class: "py-2" }, {
|
|
5826
5783
|
default: u(() => [
|
|
5827
5784
|
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (b(), T(ke, {
|
|
5828
5785
|
key: H.key
|
|
5829
5786
|
}, [
|
|
5830
|
-
|
|
5787
|
+
h(N, {
|
|
5831
5788
|
modelValue: a.renderKey,
|
|
5832
5789
|
"onUpdate:modelValue": e[3] || (e[3] = (te) => a.renderKey = te),
|
|
5833
5790
|
label: t.$t(`weather.${H.locale}`),
|
|
@@ -5840,9 +5797,9 @@ function El(t, e, o, i, a, r) {
|
|
|
5840
5797
|
"hide-details": "",
|
|
5841
5798
|
onClick: (te) => a.renderKey = a.renderKey === H.key ? "" : H.key
|
|
5842
5799
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
5843
|
-
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), T("div",
|
|
5800
|
+
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), T("div", Al, [
|
|
5844
5801
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5845
|
-
|
|
5802
|
+
h(z, {
|
|
5846
5803
|
modelValue: a.showWindParticle,
|
|
5847
5804
|
"onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
|
|
5848
5805
|
label: "",
|
|
@@ -5854,9 +5811,9 @@ function El(t, e, o, i, a, r) {
|
|
|
5854
5811
|
"hide-details": ""
|
|
5855
5812
|
}, null, 8, ["modelValue"])
|
|
5856
5813
|
])) : O("", !0),
|
|
5857
|
-
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), T("div",
|
|
5814
|
+
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), T("div", Dl, [
|
|
5858
5815
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5859
|
-
|
|
5816
|
+
h(z, {
|
|
5860
5817
|
modelValue: a.showCurrentParticle,
|
|
5861
5818
|
"onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
|
|
5862
5819
|
label: "",
|
|
@@ -5880,7 +5837,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5880
5837
|
disabled: !a.autoActive
|
|
5881
5838
|
}, {
|
|
5882
5839
|
default: u(() => [
|
|
5883
|
-
|
|
5840
|
+
h(s, {
|
|
5884
5841
|
density: "compact",
|
|
5885
5842
|
height: "30",
|
|
5886
5843
|
value: "ice-cover",
|
|
@@ -5890,11 +5847,11 @@ function El(t, e, o, i, a, r) {
|
|
|
5890
5847
|
disabled: !a.autoActive
|
|
5891
5848
|
}, {
|
|
5892
5849
|
default: u(() => [
|
|
5893
|
-
|
|
5850
|
+
W(y(t.$t("weather.coverage")), 1)
|
|
5894
5851
|
]),
|
|
5895
5852
|
_: 1
|
|
5896
5853
|
}, 8, ["color", "disabled"]),
|
|
5897
|
-
|
|
5854
|
+
h(s, {
|
|
5898
5855
|
density: "compact",
|
|
5899
5856
|
height: "30",
|
|
5900
5857
|
class: "text-none px-2",
|
|
@@ -5904,7 +5861,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5904
5861
|
value: "ice-thickness"
|
|
5905
5862
|
}, {
|
|
5906
5863
|
default: u(() => [
|
|
5907
|
-
|
|
5864
|
+
W(y(t.$t("weather.thickness")), 1)
|
|
5908
5865
|
]),
|
|
5909
5866
|
_: 1
|
|
5910
5867
|
}, 8, ["color", "disabled"])
|
|
@@ -5918,49 +5875,49 @@ function El(t, e, o, i, a, r) {
|
|
|
5918
5875
|
]),
|
|
5919
5876
|
_: 1
|
|
5920
5877
|
}),
|
|
5921
|
-
|
|
5878
|
+
h(f, {
|
|
5922
5879
|
class: "menu-card mx-auto mb-3",
|
|
5923
5880
|
elevation: "0"
|
|
5924
5881
|
}, {
|
|
5925
5882
|
default: u(() => [
|
|
5926
|
-
|
|
5883
|
+
h(S, { class: "border-b-thin" }, {
|
|
5927
5884
|
default: u(() => [
|
|
5928
|
-
|
|
5885
|
+
h(x, {
|
|
5929
5886
|
class: "text-subtitle-1 font-weight-medium",
|
|
5930
5887
|
style: { "font-size": "16px !important" }
|
|
5931
5888
|
}, {
|
|
5932
5889
|
default: u(() => [
|
|
5933
|
-
|
|
5890
|
+
W(y(t.$t("weather.forecastModel")), 1)
|
|
5934
5891
|
]),
|
|
5935
5892
|
_: 1
|
|
5936
5893
|
})
|
|
5937
5894
|
]),
|
|
5938
5895
|
_: 1
|
|
5939
5896
|
}),
|
|
5940
|
-
|
|
5897
|
+
h(p, { class: "" }, {
|
|
5941
5898
|
default: u(() => {
|
|
5942
|
-
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;
|
|
5943
5900
|
return [
|
|
5944
|
-
l("div",
|
|
5945
|
-
l("div",
|
|
5946
|
-
l("div",
|
|
5947
|
-
l("div",
|
|
5948
|
-
l("div",
|
|
5949
|
-
l("div",
|
|
5950
|
-
l("div",
|
|
5951
|
-
|
|
5952
|
-
l("div",
|
|
5953
|
-
l("div",
|
|
5954
|
-
l("div",
|
|
5955
|
-
l("div",
|
|
5956
|
-
l("div",
|
|
5957
|
-
l("div",
|
|
5958
|
-
l("div",
|
|
5959
|
-
|
|
5960
|
-
l("div",
|
|
5961
|
-
l("div",
|
|
5962
|
-
l("div",
|
|
5963
|
-
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)
|
|
5964
5921
|
];
|
|
5965
5922
|
}),
|
|
5966
5923
|
_: 1
|
|
@@ -6006,19 +5963,19 @@ function El(t, e, o, i, a, r) {
|
|
|
6006
5963
|
o.map ? (b(), j(k, B({
|
|
6007
5964
|
key: 5,
|
|
6008
5965
|
viewport: a.viewport,
|
|
6009
|
-
factor: (
|
|
5966
|
+
factor: (F = a.weatherLayers) == null ? void 0 : F["wind-particle"],
|
|
6010
5967
|
"menu-toggle": o.menuToggle
|
|
6011
5968
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6012
|
-
o.map ? (b(), j(
|
|
5969
|
+
o.map ? (b(), j(R, B({
|
|
6013
5970
|
key: 6,
|
|
6014
5971
|
viewport: a.viewport,
|
|
6015
|
-
factor: (
|
|
5972
|
+
factor: (le = a.weatherLayers) == null ? void 0 : le["current-particle"],
|
|
6016
5973
|
"menu-toggle": o.menuToggle
|
|
6017
5974
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6018
5975
|
o.map ? (b(), j(V, B({
|
|
6019
5976
|
key: 7,
|
|
6020
5977
|
viewport: a.viewport,
|
|
6021
|
-
factor: (
|
|
5978
|
+
factor: (fe = a.weatherLayers) == null ? void 0 : fe["sig-wave"],
|
|
6022
5979
|
"menu-toggle": o.menuToggle
|
|
6023
5980
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6024
5981
|
o.map ? (b(), j(X, B({
|
|
@@ -6055,13 +6012,13 @@ function El(t, e, o, i, a, r) {
|
|
|
6055
6012
|
o.map ? (b(), j(Q, B({
|
|
6056
6013
|
key: 13,
|
|
6057
6014
|
viewport: a.viewport,
|
|
6058
|
-
factor: (
|
|
6015
|
+
factor: (Re = a.weatherLayers) == null ? void 0 : Re.visibility,
|
|
6059
6016
|
"menu-toggle": o.menuToggle
|
|
6060
6017
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6061
|
-
o.map ? (b(), j(
|
|
6018
|
+
o.map ? (b(), j(se, B({
|
|
6062
6019
|
key: 14,
|
|
6063
6020
|
viewport: a.viewport,
|
|
6064
|
-
factor: (
|
|
6021
|
+
factor: (Ie = a.weatherLayers) == null ? void 0 : Ie["water-temp"],
|
|
6065
6022
|
"menu-toggle": o.menuToggle
|
|
6066
6023
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6067
6024
|
o.map ? (b(), j(de, B({
|
|
@@ -6072,7 +6029,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6072
6029
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0)
|
|
6073
6030
|
]);
|
|
6074
6031
|
}
|
|
6075
|
-
const
|
|
6032
|
+
const es = /* @__PURE__ */ Z(wl, [["render", $l]]), eo = [
|
|
6076
6033
|
{
|
|
6077
6034
|
rank: 0,
|
|
6078
6035
|
name: "Best Match",
|
|
@@ -6350,7 +6307,7 @@ const jl = /* @__PURE__ */ Z(al, [["render", El]]), eo = [
|
|
|
6350
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"
|
|
6351
6308
|
}
|
|
6352
6309
|
];
|
|
6353
|
-
class
|
|
6310
|
+
class Wa {
|
|
6354
6311
|
static standardWeatherModels() {
|
|
6355
6312
|
return eo.filter((e) => !e.disabled && e.alias);
|
|
6356
6313
|
}
|
|
@@ -6373,7 +6330,7 @@ class Ca {
|
|
|
6373
6330
|
* @return 与之对应的大气模式
|
|
6374
6331
|
*/
|
|
6375
6332
|
static autoPickPeerModel(e, o, i = "copernicus") {
|
|
6376
|
-
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) {
|
|
6377
6334
|
if (o === "copernicus")
|
|
6378
6335
|
return "ecmwf";
|
|
6379
6336
|
} else if (o === "ecmwf")
|
|
@@ -6419,91 +6376,91 @@ class Ca {
|
|
|
6419
6376
|
}), a;
|
|
6420
6377
|
}
|
|
6421
6378
|
static pickHourly(e, o) {
|
|
6422
|
-
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
6423
|
-
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 = [];
|
|
6424
6381
|
if (he.isBetween(J, re, "millisecond", "[]")) {
|
|
6425
|
-
const
|
|
6426
|
-
let
|
|
6427
|
-
if (
|
|
6382
|
+
const A = he.utc().diff(J, "h", !1);
|
|
6383
|
+
let ge, Ce;
|
|
6384
|
+
if (ue) {
|
|
6428
6385
|
let De = 0, Oe = 0;
|
|
6429
|
-
for (const
|
|
6430
|
-
const U =
|
|
6431
|
-
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++)
|
|
6432
6389
|
De += (d = U == null ? void 0 : U.precipitation) == null ? void 0 : d.at(ze);
|
|
6433
|
-
for (let ze =
|
|
6390
|
+
for (let ze = A - (A - 1) % 6; ze <= A; ze++)
|
|
6434
6391
|
Oe += (f = U == null ? void 0 : U.precipitation) == null ? void 0 : f.at(ze);
|
|
6435
|
-
|
|
6436
|
-
temp: (z = U == null ? void 0 : U.temperature_2m) == null ? void 0 : z.at(
|
|
6437
|
-
apparentTemp: (x = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : x.at(
|
|
6438
|
-
rh: (S = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : S.at(
|
|
6439
|
-
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),
|
|
6440
6397
|
precip: {
|
|
6441
|
-
probability: (N = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : N.at(
|
|
6442
|
-
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),
|
|
6443
6400
|
sum3Hours: Math.round(De * 100) / 100,
|
|
6444
6401
|
sum6Hours: Math.round(Oe * 100) / 100
|
|
6445
6402
|
},
|
|
6446
|
-
pmsl: (L = U == null ? void 0 : U.pressure_msl) == null ? void 0 : L.at(
|
|
6447
|
-
psurf: (v = U == null ? void 0 : U.surface_pressure) == null ? void 0 : v.at(
|
|
6448
|
-
code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(
|
|
6449
|
-
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)),
|
|
6450
6407
|
wind: {
|
|
6451
|
-
speed: (k = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : k.at(
|
|
6452
|
-
kts: (
|
|
6453
|
-
degree: (V = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : V.at(
|
|
6454
|
-
bearing: ((X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(
|
|
6455
|
-
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)
|
|
6456
6413
|
},
|
|
6457
|
-
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)
|
|
6458
6415
|
};
|
|
6459
|
-
const { name: Ue, url: Ve, bg: Ye } = this.parseWeatherCode(
|
|
6460
|
-
|
|
6461
|
-
utc: J.add(
|
|
6462
|
-
model:
|
|
6463
|
-
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 }
|
|
6464
6421
|
});
|
|
6465
6422
|
}
|
|
6466
6423
|
}
|
|
6467
|
-
if (
|
|
6424
|
+
if (G) {
|
|
6468
6425
|
let De = 0;
|
|
6469
|
-
for (const Oe of
|
|
6470
|
-
const
|
|
6426
|
+
for (const Oe of G) {
|
|
6427
|
+
const I = Oe == null ? void 0 : Oe.hourly;
|
|
6471
6428
|
Ce = {
|
|
6472
6429
|
wave: {
|
|
6473
6430
|
sig: {
|
|
6474
|
-
height: (ee =
|
|
6475
|
-
degree: (Q =
|
|
6476
|
-
bearing: ((
|
|
6477
|
-
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)
|
|
6478
6435
|
},
|
|
6479
6436
|
swell: {
|
|
6480
|
-
height: (me =
|
|
6481
|
-
degree: (K =
|
|
6482
|
-
bearing: ((ie =
|
|
6483
|
-
period: (
|
|
6484
|
-
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)
|
|
6485
6442
|
},
|
|
6486
6443
|
wd: {
|
|
6487
|
-
height: (xe =
|
|
6488
|
-
degree: (ve =
|
|
6489
|
-
bearing: ((Se =
|
|
6490
|
-
period: (Te =
|
|
6491
|
-
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)
|
|
6492
6449
|
}
|
|
6493
6450
|
},
|
|
6494
6451
|
current: {
|
|
6495
|
-
speed: (
|
|
6496
|
-
kts: (ye =
|
|
6497
|
-
degree: (H =
|
|
6498
|
-
bearing: ((te =
|
|
6499
|
-
},
|
|
6500
|
-
sst: (je =
|
|
6501
|
-
height: (Pe =
|
|
6502
|
-
}, 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++;
|
|
6503
6460
|
}
|
|
6504
6461
|
}
|
|
6505
6462
|
}
|
|
6506
|
-
return
|
|
6463
|
+
return Ae;
|
|
6507
6464
|
}
|
|
6508
6465
|
static toLegacy(e) {
|
|
6509
6466
|
var o, i, a, r, s, n, c, g, p, d;
|
|
@@ -6528,49 +6485,49 @@ class Ca {
|
|
|
6528
6485
|
};
|
|
6529
6486
|
}
|
|
6530
6487
|
static pickDaily(e, o) {
|
|
6531
|
-
var i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
6532
|
-
const
|
|
6533
|
-
if (
|
|
6534
|
-
let he,
|
|
6535
|
-
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);
|
|
6536
6493
|
if (ye)
|
|
6537
6494
|
for (const _e of ye) {
|
|
6538
6495
|
const J = _e.daily;
|
|
6539
6496
|
he = {
|
|
6540
|
-
code: (g = J.weather_code) == null ? void 0 : g.at(
|
|
6497
|
+
code: (g = J.weather_code) == null ? void 0 : g.at(G),
|
|
6541
6498
|
temp: {
|
|
6542
|
-
max: (p = J.temperature_2m_max) == null ? void 0 : p.at(
|
|
6543
|
-
min: (d = J.temperature_2m_min) == null ? void 0 : d.at(
|
|
6544
|
-
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)
|
|
6545
6502
|
},
|
|
6546
6503
|
apparentTemp: {
|
|
6547
|
-
max: (z = J.apparent_temperature_max) == null ? void 0 : z.at(
|
|
6548
|
-
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)
|
|
6549
6506
|
},
|
|
6550
6507
|
precip: {
|
|
6551
|
-
sum: (S = J.precipitation_sum) == null ? void 0 : S.at(
|
|
6552
|
-
rainSum: (C = J.rain_sum) == null ? void 0 : C.at(
|
|
6553
|
-
snowfallSum: (N = J.snowfall_sum) == null ? void 0 : N.at(
|
|
6554
|
-
showersSum: (M = J.showers_sum) == null ? void 0 : M.at(
|
|
6555
|
-
hours: (L = J.precipitation_hours) == null ? void 0 : L.at(
|
|
6556
|
-
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)
|
|
6557
6514
|
},
|
|
6558
6515
|
rh: {
|
|
6559
|
-
max: (_ = J.relative_humidity_2m_max) == null ? void 0 : _.at(
|
|
6560
|
-
min: (P = J.relative_humidity_2m_min) == null ? void 0 : P.at(
|
|
6561
|
-
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)
|
|
6562
6519
|
},
|
|
6563
6520
|
wind: {
|
|
6564
|
-
speed: (
|
|
6565
|
-
kts: (V = J.wind_speed_10m_max) == null ? void 0 : V.at(
|
|
6566
|
-
degree: (X = J.wind_direction_10m_dominant) == null ? void 0 : X.at(
|
|
6567
|
-
gusts: (q = J.wind_gusts_10m_max) == null ? void 0 : q.at(
|
|
6568
|
-
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
|
|
6569
6526
|
}
|
|
6570
6527
|
};
|
|
6571
|
-
const { name: re, url:
|
|
6572
|
-
he.name = re, he.url =
|
|
6573
|
-
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(),
|
|
6574
6531
|
model: _e.model,
|
|
6575
6532
|
weather: { ...he }
|
|
6576
6533
|
});
|
|
@@ -6579,31 +6536,31 @@ class Ca {
|
|
|
6579
6536
|
let _e = 0;
|
|
6580
6537
|
for (const J of H) {
|
|
6581
6538
|
const re = J.daily;
|
|
6582
|
-
|
|
6539
|
+
ue = {
|
|
6583
6540
|
wave: {
|
|
6584
6541
|
sig: {
|
|
6585
|
-
height: (ee = re.wave_height_max) == null ? void 0 : ee.at(
|
|
6586
|
-
degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(
|
|
6587
|
-
period: (
|
|
6588
|
-
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
|
|
6589
6546
|
},
|
|
6590
6547
|
swell: {
|
|
6591
|
-
height: (me = re.swell_wave_height_max) == null ? void 0 : me.at(
|
|
6592
|
-
degree: (K = re.swell_wave_direction_dominant) == null ? void 0 : K.at(
|
|
6593
|
-
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(
|
|
6594
|
-
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),
|
|
6595
6552
|
// bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
|
|
6596
|
-
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
|
|
6597
6554
|
},
|
|
6598
6555
|
wd: {
|
|
6599
|
-
height: (xe = re.wind_wave_height_max) == null ? void 0 : xe.at(
|
|
6600
|
-
degree: (ve = re.wind_wave_direction_dominant) == null ? void 0 : ve.at(
|
|
6601
|
-
period: (Se = re.wind_wave_period_max) == null ? void 0 : Se.at(
|
|
6602
|
-
peakPeriod: (Me = re.wind_wave_peak_period_max) == null ? void 0 : Me.at(
|
|
6603
|
-
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
|
|
6604
6561
|
}
|
|
6605
6562
|
}
|
|
6606
|
-
},
|
|
6563
|
+
}, ue.wave = this.parseWave(ue.wave, he == null ? void 0 : he.wind), Object.assign(Pe[_e], ue), _e++;
|
|
6607
6564
|
}
|
|
6608
6565
|
}
|
|
6609
6566
|
}
|
|
@@ -7008,7 +6965,7 @@ class Ca {
|
|
|
7008
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;
|
|
7009
6966
|
}
|
|
7010
6967
|
}
|
|
7011
|
-
const
|
|
6968
|
+
const ts = {
|
|
7012
6969
|
name: "IdmTropicals",
|
|
7013
6970
|
props: {
|
|
7014
6971
|
permission: {
|
|
@@ -7057,7 +7014,7 @@ const Nl = {
|
|
|
7057
7014
|
return {
|
|
7058
7015
|
right: 10,
|
|
7059
7016
|
toggle: !1,
|
|
7060
|
-
helper:
|
|
7017
|
+
helper: qa,
|
|
7061
7018
|
tropicals: void 0,
|
|
7062
7019
|
tropicalCacheKey: "tropicalCacheGL4",
|
|
7063
7020
|
source: "tropicals-source",
|
|
@@ -7099,8 +7056,8 @@ const Nl = {
|
|
|
7099
7056
|
},
|
|
7100
7057
|
computeBF() {
|
|
7101
7058
|
return function(t) {
|
|
7102
|
-
const e =
|
|
7103
|
-
return
|
|
7059
|
+
const e = Wa.kts2ms(t);
|
|
7060
|
+
return Wa.beaufort(e);
|
|
7104
7061
|
};
|
|
7105
7062
|
},
|
|
7106
7063
|
computeMovement() {
|
|
@@ -7169,7 +7126,7 @@ const Nl = {
|
|
|
7169
7126
|
responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
|
|
7170
7127
|
}).then((p) => {
|
|
7171
7128
|
var z, x, S;
|
|
7172
|
-
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));
|
|
7173
7130
|
((S = (x = p == null ? void 0 : p.config) == null ? void 0 : x.headers) == null ? void 0 : S.key) && d && (this.tropicals = {
|
|
7174
7131
|
data: d,
|
|
7175
7132
|
active: !0,
|
|
@@ -7435,7 +7392,7 @@ const Nl = {
|
|
|
7435
7392
|
}), z = (/* @__PURE__ */ new Date()).valueOf() - (d + f), console.log("[tropical] add elapsed: ", z, ", total: ", f += z));
|
|
7436
7393
|
}
|
|
7437
7394
|
this.handleDrawCircle();
|
|
7438
|
-
const p =
|
|
7395
|
+
const p = Ga.interpolate(this.tropicals, 1);
|
|
7439
7396
|
this.interpolateData = JSON.parse(JSON.stringify(p)), this.handleDateChange();
|
|
7440
7397
|
}
|
|
7441
7398
|
},
|
|
@@ -7457,9 +7414,9 @@ const Nl = {
|
|
|
7457
7414
|
), this.showTropicalsInfo = !1;
|
|
7458
7415
|
},
|
|
7459
7416
|
handleDateChange() {
|
|
7460
|
-
var t, e, o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k,
|
|
7461
|
-
if ((t = this.interpolateMarkers) == null || t.forEach((
|
|
7462
|
-
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]);
|
|
7463
7420
|
pe.forEach((K) => {
|
|
7464
7421
|
me.features.push(K);
|
|
7465
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, {
|
|
@@ -7479,8 +7436,8 @@ const Nl = {
|
|
|
7479
7436
|
for (const K of de)
|
|
7480
7437
|
if (!K.properties.disabled) {
|
|
7481
7438
|
let ie = "#f44336";
|
|
7482
|
-
((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 = (
|
|
7483
|
-
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"
|
|
7484
7441
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
7485
7442
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
7486
7443
|
<path
|
|
@@ -7494,10 +7451,10 @@ const Nl = {
|
|
|
7494
7451
|
<path
|
|
7495
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"
|
|
7496
7453
|
fill="#ffffff" p-id="18386"></path>
|
|
7497
|
-
</svg>`,
|
|
7498
|
-
|
|
7499
|
-
const
|
|
7500
|
-
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);
|
|
7501
7458
|
}
|
|
7502
7459
|
} else
|
|
7503
7460
|
(ee = this.map) != null && ee.getSource(this.interpolateSource) && ((Q = this.map) == null || Q.getSource(this.interpolateSource).setData(this.empty));
|
|
@@ -7610,29 +7567,29 @@ const Nl = {
|
|
|
7610
7567
|
this.$emit("tropicalNotification", t);
|
|
7611
7568
|
}
|
|
7612
7569
|
}
|
|
7613
|
-
},
|
|
7570
|
+
}, os = { class: "idm-tropical-gl4" }, as = {
|
|
7614
7571
|
id: "idm-tropical-gl4-info",
|
|
7615
7572
|
class: "idm-tropical-gl4-info"
|
|
7616
|
-
},
|
|
7573
|
+
}, is = { class: "pb-1" }, rs = { class: "text-h6 font-weight-600" }, ls = {
|
|
7617
7574
|
key: 0,
|
|
7618
7575
|
class: "text-body-1 opacity-70"
|
|
7619
|
-
},
|
|
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 = {
|
|
7620
7577
|
class: "my-4",
|
|
7621
7578
|
style: { height: "80px" }
|
|
7622
|
-
},
|
|
7623
|
-
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) {
|
|
7624
7581
|
const s = w("VBtn"), n = w("VTooltip"), c = w("VCardText"), g = w("VDivider"), p = w("VCardActions"), d = w("VCard");
|
|
7625
|
-
return b(), T("div",
|
|
7582
|
+
return b(), T("div", os, [
|
|
7626
7583
|
l("div", {
|
|
7627
7584
|
class: "menu-bar-box transition pa-1",
|
|
7628
7585
|
style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
|
|
7629
7586
|
}, [
|
|
7630
|
-
|
|
7587
|
+
h(n, {
|
|
7631
7588
|
text: t.$t("tropical.tropicals"),
|
|
7632
7589
|
location: "left"
|
|
7633
7590
|
}, {
|
|
7634
7591
|
activator: u(({ props: f }) => [
|
|
7635
|
-
|
|
7592
|
+
h(s, B(f, {
|
|
7636
7593
|
"min-width": "32",
|
|
7637
7594
|
width: "32",
|
|
7638
7595
|
height: "32",
|
|
@@ -7649,21 +7606,21 @@ function is(t, e, o, i, a, r) {
|
|
|
7649
7606
|
_: 1
|
|
7650
7607
|
}, 8, ["text"])
|
|
7651
7608
|
], 4),
|
|
7652
|
-
He(l("div",
|
|
7653
|
-
|
|
7609
|
+
He(l("div", as, [
|
|
7610
|
+
h(d, {
|
|
7654
7611
|
width: "400",
|
|
7655
7612
|
elevation: "16"
|
|
7656
7613
|
}, {
|
|
7657
7614
|
default: u(() => [
|
|
7658
|
-
|
|
7615
|
+
h(c, null, {
|
|
7659
7616
|
default: u(() => {
|
|
7660
7617
|
var f, z, x, S, C, N, M, L, v, _;
|
|
7661
7618
|
return [
|
|
7662
|
-
l("div",
|
|
7663
|
-
l("span",
|
|
7664
|
-
(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)
|
|
7665
7622
|
]),
|
|
7666
|
-
|
|
7623
|
+
h(s, {
|
|
7667
7624
|
icon: "",
|
|
7668
7625
|
density: "compact",
|
|
7669
7626
|
variant: "plain",
|
|
@@ -7676,7 +7633,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7676
7633
|
_: 1,
|
|
7677
7634
|
__: [5]
|
|
7678
7635
|
}),
|
|
7679
|
-
l("div",
|
|
7636
|
+
l("div", ss, [
|
|
7680
7637
|
e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
|
|
7681
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)
|
|
7682
7639
|
])
|
|
@@ -7684,48 +7641,48 @@ function is(t, e, o, i, a, r) {
|
|
|
7684
7641
|
}),
|
|
7685
7642
|
_: 1
|
|
7686
7643
|
}),
|
|
7687
|
-
|
|
7688
|
-
|
|
7644
|
+
h(g),
|
|
7645
|
+
h(c, { class: "text-body-1" }, {
|
|
7689
7646
|
default: u(() => {
|
|
7690
7647
|
var f, z, x, S, C, N, M, L, v;
|
|
7691
7648
|
return [
|
|
7692
|
-
l("div",
|
|
7693
|
-
l("div",
|
|
7649
|
+
l("div", ns, [
|
|
7650
|
+
l("div", cs, [
|
|
7694
7651
|
e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
|
|
7695
7652
|
l("span", null, y(((z = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
|
|
7696
7653
|
l("span", null, ", BF " + y(r.computeBF(((S = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : S.kts) || "-")), 1)
|
|
7697
7654
|
]),
|
|
7698
|
-
l("div",
|
|
7655
|
+
l("div", ms, [
|
|
7699
7656
|
e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
|
|
7700
7657
|
l("span", null, y(((N = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : N.pressure) || "-") + " hPa", 1)
|
|
7701
7658
|
])
|
|
7702
7659
|
]),
|
|
7703
|
-
l("div",
|
|
7704
|
-
l("div",
|
|
7660
|
+
l("div", hs, [
|
|
7661
|
+
l("div", ds, [
|
|
7705
7662
|
e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
|
|
7706
7663
|
l("span", null, y(((M = r.computeMovement(a.activeTropicals)) == null ? void 0 : M.kts) || "-") + " kts", 1)
|
|
7707
7664
|
]),
|
|
7708
|
-
l("div",
|
|
7665
|
+
l("div", ps, [
|
|
7709
7666
|
e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
|
|
7710
7667
|
l("span", null, y(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
|
|
7711
7668
|
])
|
|
7712
7669
|
]),
|
|
7713
|
-
l("div",
|
|
7670
|
+
l("div", us, [
|
|
7714
7671
|
e[11] || (e[11] = l("label", {
|
|
7715
7672
|
class: "opacity-70 pr-1",
|
|
7716
7673
|
style: { width: "max-content" }
|
|
7717
7674
|
}, "Forecast Models : ", -1)),
|
|
7718
|
-
l("div",
|
|
7675
|
+
l("div", gs, [
|
|
7719
7676
|
(b(!0), T(ke, null, Le((v = a.activeTropicals) == null ? void 0 : v.forecasts, (_, P) => (b(), j(s, {
|
|
7720
7677
|
key: P,
|
|
7721
7678
|
density: "compact",
|
|
7722
7679
|
variant: _.disabled ? "outlined" : "flat",
|
|
7723
7680
|
color: _.disabled ? "" : "primary",
|
|
7724
|
-
class:
|
|
7681
|
+
class: We(["model text-none text-body-1", _.disabled ? "" : "btn-border-2"]),
|
|
7725
7682
|
onClick: (k) => r.handleForecastToggle(_)
|
|
7726
7683
|
}, {
|
|
7727
7684
|
default: u(() => [
|
|
7728
|
-
|
|
7685
|
+
W(y(_.model), 1)
|
|
7729
7686
|
]),
|
|
7730
7687
|
_: 2
|
|
7731
7688
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -7735,10 +7692,10 @@ function is(t, e, o, i, a, r) {
|
|
|
7735
7692
|
}),
|
|
7736
7693
|
_: 1
|
|
7737
7694
|
}),
|
|
7738
|
-
|
|
7739
|
-
|
|
7695
|
+
h(g),
|
|
7696
|
+
h(p, { class: "d-flex justify-space-between" }, {
|
|
7740
7697
|
default: u(() => [
|
|
7741
|
-
|
|
7698
|
+
h(s, {
|
|
7742
7699
|
density: "compact",
|
|
7743
7700
|
"prepend-icon": "",
|
|
7744
7701
|
variant: "text",
|
|
@@ -7750,12 +7707,12 @@ function is(t, e, o, i, a, r) {
|
|
|
7750
7707
|
l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
7751
7708
|
])),
|
|
7752
7709
|
default: u(() => [
|
|
7753
|
-
e[13] || (e[13] =
|
|
7710
|
+
e[13] || (e[13] = W(" Legend ", -1))
|
|
7754
7711
|
]),
|
|
7755
7712
|
_: 1,
|
|
7756
7713
|
__: [13]
|
|
7757
7714
|
}, 8, ["color"]),
|
|
7758
|
-
l("div",
|
|
7715
|
+
l("div", fs, [
|
|
7759
7716
|
o.permission & a.helper.LEVEL.Supper ? (b(), j(s, {
|
|
7760
7717
|
key: 0,
|
|
7761
7718
|
variant: "text",
|
|
@@ -7764,12 +7721,12 @@ function is(t, e, o, i, a, r) {
|
|
|
7764
7721
|
onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
|
|
7765
7722
|
}, {
|
|
7766
7723
|
default: u(() => e[14] || (e[14] = [
|
|
7767
|
-
|
|
7724
|
+
W("Notify", -1)
|
|
7768
7725
|
])),
|
|
7769
7726
|
_: 1,
|
|
7770
7727
|
__: [14]
|
|
7771
7728
|
})) : O("", !0),
|
|
7772
|
-
|
|
7729
|
+
h(s, {
|
|
7773
7730
|
variant: "text",
|
|
7774
7731
|
density: "compact",
|
|
7775
7732
|
"append-icon": "mdi-chevron-right",
|
|
@@ -7777,7 +7734,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7777
7734
|
onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
|
|
7778
7735
|
}, {
|
|
7779
7736
|
default: u(() => e[15] || (e[15] = [
|
|
7780
|
-
|
|
7737
|
+
W("View Report", -1)
|
|
7781
7738
|
])),
|
|
7782
7739
|
_: 1,
|
|
7783
7740
|
__: [15]
|
|
@@ -7789,15 +7746,15 @@ function is(t, e, o, i, a, r) {
|
|
|
7789
7746
|
]),
|
|
7790
7747
|
_: 1
|
|
7791
7748
|
}),
|
|
7792
|
-
l("div",
|
|
7793
|
-
He(
|
|
7749
|
+
l("div", ys, [
|
|
7750
|
+
He(h(d, {
|
|
7794
7751
|
width: "400",
|
|
7795
7752
|
elevation: "16"
|
|
7796
7753
|
}, {
|
|
7797
7754
|
default: u(() => [
|
|
7798
|
-
|
|
7755
|
+
h(c, null, {
|
|
7799
7756
|
default: u(() => [
|
|
7800
|
-
He(l("div",
|
|
7757
|
+
He(l("div", bs, e[16] || (e[16] = [
|
|
7801
7758
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7802
7759
|
l("div", { class: "icon td" }),
|
|
7803
7760
|
l("div", { class: "label" }, "TD")
|
|
@@ -7823,9 +7780,9 @@ function is(t, e, o, i, a, r) {
|
|
|
7823
7780
|
l("div", { class: "label" }, "Super TY")
|
|
7824
7781
|
], -1)
|
|
7825
7782
|
]), 512), [
|
|
7826
|
-
[
|
|
7783
|
+
[Ge, a.showLegend]
|
|
7827
7784
|
]),
|
|
7828
|
-
He(l("div",
|
|
7785
|
+
He(l("div", ws, e[17] || (e[17] = [
|
|
7829
7786
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7830
7787
|
l("div", { class: "icon history" }),
|
|
7831
7788
|
l("div", { class: "label" }, "History")
|
|
@@ -7843,7 +7800,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7843
7800
|
l("div", { class: "label" }, "50kts Radii")
|
|
7844
7801
|
], -1)
|
|
7845
7802
|
]), 512), [
|
|
7846
|
-
[
|
|
7803
|
+
[Ge, a.showLegend]
|
|
7847
7804
|
])
|
|
7848
7805
|
]),
|
|
7849
7806
|
_: 1
|
|
@@ -7851,16 +7808,16 @@ function is(t, e, o, i, a, r) {
|
|
|
7851
7808
|
]),
|
|
7852
7809
|
_: 1
|
|
7853
7810
|
}, 512), [
|
|
7854
|
-
[
|
|
7811
|
+
[Ge, a.showLegend]
|
|
7855
7812
|
])
|
|
7856
7813
|
])
|
|
7857
7814
|
], 512), [
|
|
7858
|
-
[
|
|
7815
|
+
[Ge, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
|
|
7859
7816
|
])
|
|
7860
7817
|
]);
|
|
7861
7818
|
}
|
|
7862
|
-
const
|
|
7863
|
-
const
|
|
7819
|
+
const Va = /* @__PURE__ */ Z(ts, [["render", xs]]);
|
|
7820
|
+
const vs = {
|
|
7864
7821
|
name: "DateTimePicker",
|
|
7865
7822
|
props: {
|
|
7866
7823
|
locale: {
|
|
@@ -8009,27 +7966,27 @@ const rs = {
|
|
|
8009
7966
|
this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
|
|
8010
7967
|
}
|
|
8011
7968
|
}
|
|
8012
|
-
},
|
|
7969
|
+
}, _s = { class: "idm-gl4-timepicker" }, ks = {
|
|
8013
7970
|
class: "pa-0",
|
|
8014
7971
|
style: { width: "250px" }
|
|
8015
|
-
},
|
|
7972
|
+
}, zs = {
|
|
8016
7973
|
class: "h-100 pa-0 d-flex flex-column justify-start align-center",
|
|
8017
7974
|
style: { width: "100px" }
|
|
8018
|
-
},
|
|
7975
|
+
}, Ls = {
|
|
8019
7976
|
class: "d-flex justify-center align-center text-body-2",
|
|
8020
7977
|
style: { height: "56px" }
|
|
8021
7978
|
};
|
|
8022
|
-
function
|
|
7979
|
+
function Ps(t, e, o, i, a, r) {
|
|
8023
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");
|
|
8024
|
-
return b(), T("div",
|
|
8025
|
-
|
|
7981
|
+
return b(), T("div", _s, [
|
|
7982
|
+
h(s, {
|
|
8026
7983
|
text: "",
|
|
8027
7984
|
height: "30",
|
|
8028
7985
|
class: "elevation-0 text-body-1 px-2 btn-border-1",
|
|
8029
7986
|
onClick: r.handleOpenDatePicker
|
|
8030
7987
|
}, {
|
|
8031
7988
|
default: u(() => [
|
|
8032
|
-
|
|
7989
|
+
W(y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
8033
7990
|
]),
|
|
8034
7991
|
_: 1
|
|
8035
7992
|
}, 8, ["onClick"]),
|
|
@@ -8038,10 +7995,10 @@ function ms(t, e, o, i, a, r) {
|
|
|
8038
7995
|
class: "card-box d-flex flex-column"
|
|
8039
7996
|
}, {
|
|
8040
7997
|
default: u(() => [
|
|
8041
|
-
|
|
7998
|
+
h(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
8042
7999
|
default: u(() => [
|
|
8043
|
-
l("div",
|
|
8044
|
-
|
|
8000
|
+
l("div", ks, [
|
|
8001
|
+
h(n, {
|
|
8045
8002
|
modelValue: a.currentDate,
|
|
8046
8003
|
"onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
|
|
8047
8004
|
min: a.dateRange[0],
|
|
@@ -8055,13 +8012,13 @@ function ms(t, e, o, i, a, r) {
|
|
|
8055
8012
|
"onUpdate:month": r.handleUpdateMonth
|
|
8056
8013
|
}, null, 8, ["modelValue", "min", "max", "mode-icon", "onUpdate:month"])
|
|
8057
8014
|
]),
|
|
8058
|
-
|
|
8015
|
+
h(c, {
|
|
8059
8016
|
class: "h-100",
|
|
8060
8017
|
vertical: ""
|
|
8061
8018
|
}),
|
|
8062
|
-
l("div",
|
|
8063
|
-
l("div",
|
|
8064
|
-
|
|
8019
|
+
l("div", zs, [
|
|
8020
|
+
l("div", Ls, y(a.currentTime), 1),
|
|
8021
|
+
h(d, { class: "pa-0 flex-1-1-0" }, {
|
|
8065
8022
|
default: u(() => [
|
|
8066
8023
|
(b(!0), T(ke, null, Le(r.hourOptions, (S, C) => (b(), j(p, {
|
|
8067
8024
|
key: C,
|
|
@@ -8073,12 +8030,12 @@ function ms(t, e, o, i, a, r) {
|
|
|
8073
8030
|
"min-height": "26"
|
|
8074
8031
|
}, {
|
|
8075
8032
|
default: u(() => [
|
|
8076
|
-
|
|
8033
|
+
h(g, {
|
|
8077
8034
|
class: "text-body-2 text-center",
|
|
8078
8035
|
onClick: (N) => a.currentTime = S
|
|
8079
8036
|
}, {
|
|
8080
8037
|
default: u(() => [
|
|
8081
|
-
|
|
8038
|
+
W(y(S), 1)
|
|
8082
8039
|
]),
|
|
8083
8040
|
_: 2
|
|
8084
8041
|
}, 1032, ["onClick"])
|
|
@@ -8092,25 +8049,25 @@ function ms(t, e, o, i, a, r) {
|
|
|
8092
8049
|
]),
|
|
8093
8050
|
_: 1
|
|
8094
8051
|
}),
|
|
8095
|
-
|
|
8096
|
-
|
|
8052
|
+
h(c),
|
|
8053
|
+
h(z, {
|
|
8097
8054
|
class: "justify-end pa-0 pr-4",
|
|
8098
8055
|
style: { height: "50px" }
|
|
8099
8056
|
}, {
|
|
8100
8057
|
default: u(() => [
|
|
8101
|
-
|
|
8058
|
+
h(s, {
|
|
8102
8059
|
size: "small",
|
|
8103
8060
|
variant: "tonal",
|
|
8104
8061
|
class: "text-none",
|
|
8105
8062
|
onClick: r.handleCancelDate
|
|
8106
8063
|
}, {
|
|
8107
8064
|
default: u(() => e[1] || (e[1] = [
|
|
8108
|
-
|
|
8065
|
+
W("Cancel", -1)
|
|
8109
8066
|
])),
|
|
8110
8067
|
_: 1,
|
|
8111
8068
|
__: [1]
|
|
8112
8069
|
}, 8, ["onClick"]),
|
|
8113
|
-
|
|
8070
|
+
h(s, {
|
|
8114
8071
|
size: "small",
|
|
8115
8072
|
variant: "tonal",
|
|
8116
8073
|
color: "primary",
|
|
@@ -8118,7 +8075,7 @@ function ms(t, e, o, i, a, r) {
|
|
|
8118
8075
|
onClick: r.handleConfirmDate
|
|
8119
8076
|
}, {
|
|
8120
8077
|
default: u(() => e[2] || (e[2] = [
|
|
8121
|
-
|
|
8078
|
+
W("Confirm", -1)
|
|
8122
8079
|
])),
|
|
8123
8080
|
_: 1,
|
|
8124
8081
|
__: [2]
|
|
@@ -8131,8 +8088,8 @@ function ms(t, e, o, i, a, r) {
|
|
|
8131
8088
|
})) : O("", !0)
|
|
8132
8089
|
]);
|
|
8133
8090
|
}
|
|
8134
|
-
const ro = /* @__PURE__ */ Z(
|
|
8135
|
-
const
|
|
8091
|
+
const ro = /* @__PURE__ */ Z(vs, [["render", Ps]]);
|
|
8092
|
+
const Cs = {
|
|
8136
8093
|
name: "IdmPoint",
|
|
8137
8094
|
components: {
|
|
8138
8095
|
DateTimePicker: ro
|
|
@@ -8370,10 +8327,10 @@ const hs = {
|
|
|
8370
8327
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
8371
8328
|
},
|
|
8372
8329
|
initTableData(t) {
|
|
8373
|
-
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;
|
|
8374
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;
|
|
8375
8332
|
const e = ((s = ao.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
8376
|
-
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;
|
|
8377
8334
|
},
|
|
8378
8335
|
handleBind() {
|
|
8379
8336
|
var t, e;
|
|
@@ -8429,32 +8386,32 @@ const hs = {
|
|
|
8429
8386
|
this.$emit("follow", "point", this.point);
|
|
8430
8387
|
}
|
|
8431
8388
|
}
|
|
8432
|
-
},
|
|
8389
|
+
}, Ss = { class: "idm-gl4-spot" }, Ms = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ts = {
|
|
8433
8390
|
class: "multi-color-icon",
|
|
8434
8391
|
"aria-hidden": "true"
|
|
8435
|
-
},
|
|
8392
|
+
}, Rs = ["xlink:href"], Is = { class: "d-flex justify-start align-center ga-1 mb-1" }, As = {
|
|
8436
8393
|
class: "multi-color-icon",
|
|
8437
8394
|
"aria-hidden": "true"
|
|
8438
|
-
},
|
|
8395
|
+
}, Ds = ["xlink:href"], Os = { class: "d-flex justify-start align-center ga-1 mb-1" }, Bs = {
|
|
8439
8396
|
class: "multi-color-icon",
|
|
8440
8397
|
"aria-hidden": "true"
|
|
8441
|
-
},
|
|
8398
|
+
}, Es = ["xlink:href"], js = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ns = {
|
|
8442
8399
|
class: "multi-color-icon",
|
|
8443
8400
|
"aria-hidden": "true"
|
|
8444
|
-
},
|
|
8445
|
-
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) {
|
|
8446
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");
|
|
8447
|
-
return b(), T("div",
|
|
8404
|
+
return b(), T("div", Ss, [
|
|
8448
8405
|
l("div", {
|
|
8449
8406
|
class: "menu-bar-box transition pa-1",
|
|
8450
8407
|
style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
|
|
8451
8408
|
}, [
|
|
8452
|
-
|
|
8409
|
+
h(n, {
|
|
8453
8410
|
text: t.$t("spot.spotsMeteo"),
|
|
8454
8411
|
location: "left"
|
|
8455
8412
|
}, {
|
|
8456
8413
|
activator: u(({ props: v }) => [
|
|
8457
|
-
|
|
8414
|
+
h(s, B(v, {
|
|
8458
8415
|
"min-width": "32",
|
|
8459
8416
|
width: "32",
|
|
8460
8417
|
height: "32",
|
|
@@ -8477,12 +8434,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8477
8434
|
style: ae({ top: o.top + 174 + "px", right: a.right + 50 + "px" })
|
|
8478
8435
|
}, {
|
|
8479
8436
|
default: u(() => [
|
|
8480
|
-
|
|
8437
|
+
h(c, { class: "d-flex justify-space-between align-center" }, {
|
|
8481
8438
|
default: u(() => [
|
|
8482
8439
|
e[10] || (e[10] = l("div", { class: "d-flex justify-start align-center" }, [
|
|
8483
8440
|
l("div", { class: "text-h6 font-weight-600 mx-2" }, "Spot Weather")
|
|
8484
8441
|
], -1)),
|
|
8485
|
-
|
|
8442
|
+
h(s, {
|
|
8486
8443
|
icon: "",
|
|
8487
8444
|
density: "compact",
|
|
8488
8445
|
variant: "plain",
|
|
@@ -8499,32 +8456,32 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8499
8456
|
_: 1,
|
|
8500
8457
|
__: [10]
|
|
8501
8458
|
}),
|
|
8502
|
-
|
|
8503
|
-
|
|
8459
|
+
h(g),
|
|
8460
|
+
h(N, { class: "text-body-1 py-1" }, {
|
|
8504
8461
|
default: u(() => [
|
|
8505
|
-
|
|
8462
|
+
h(C, {
|
|
8506
8463
|
ref: "spotForm",
|
|
8507
8464
|
autocomplete: "off",
|
|
8508
8465
|
class: "form-box",
|
|
8509
|
-
onSubmit:
|
|
8466
|
+
onSubmit: Xa(r.submitForm, ["prevent"])
|
|
8510
8467
|
}, {
|
|
8511
8468
|
default: u(() => [
|
|
8512
|
-
l("div",
|
|
8513
|
-
(b(), T("svg",
|
|
8469
|
+
l("div", Ms, [
|
|
8470
|
+
(b(), T("svg", Ts, [
|
|
8514
8471
|
l("use", {
|
|
8515
8472
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8516
|
-
}, null, 8,
|
|
8473
|
+
}, null, 8, Rs)
|
|
8517
8474
|
])),
|
|
8518
8475
|
e[11] || (e[11] = l("div", null, "Lng", -1))
|
|
8519
8476
|
]),
|
|
8520
|
-
|
|
8477
|
+
h(f, { class: "ma-0" }, {
|
|
8521
8478
|
default: u(() => [
|
|
8522
|
-
|
|
8479
|
+
h(d, {
|
|
8523
8480
|
cols: "4",
|
|
8524
8481
|
class: "pa-0 d-flex"
|
|
8525
8482
|
}, {
|
|
8526
8483
|
default: u(() => [
|
|
8527
|
-
|
|
8484
|
+
h(p, {
|
|
8528
8485
|
modelValue: a.form.lngDegree,
|
|
8529
8486
|
"onUpdate:modelValue": e[0] || (e[0] = (v) => a.form.lngDegree = v),
|
|
8530
8487
|
rules: a.formRules.lngDegree,
|
|
@@ -8538,12 +8495,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8538
8495
|
_: 1,
|
|
8539
8496
|
__: [12]
|
|
8540
8497
|
}),
|
|
8541
|
-
|
|
8498
|
+
h(d, {
|
|
8542
8499
|
cols: "6",
|
|
8543
8500
|
class: "pa-0 d-flex"
|
|
8544
8501
|
}, {
|
|
8545
8502
|
default: u(() => [
|
|
8546
|
-
|
|
8503
|
+
h(p, {
|
|
8547
8504
|
modelValue: a.form.lngMinute,
|
|
8548
8505
|
"onUpdate:modelValue": e[1] || (e[1] = (v) => a.form.lngMinute = v),
|
|
8549
8506
|
rules: a.formRules.lngMinute,
|
|
@@ -8558,12 +8515,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8558
8515
|
_: 1,
|
|
8559
8516
|
__: [13]
|
|
8560
8517
|
}),
|
|
8561
|
-
|
|
8518
|
+
h(d, {
|
|
8562
8519
|
cols: "2",
|
|
8563
8520
|
class: "pa-0"
|
|
8564
8521
|
}, {
|
|
8565
8522
|
default: u(() => [
|
|
8566
|
-
|
|
8523
|
+
h(s, {
|
|
8567
8524
|
variant: "outlined",
|
|
8568
8525
|
density: "compact",
|
|
8569
8526
|
width: "32",
|
|
@@ -8574,7 +8531,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8574
8531
|
onClick: e[2] || (e[2] = (v) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
8575
8532
|
}, {
|
|
8576
8533
|
default: u(() => [
|
|
8577
|
-
|
|
8534
|
+
W(y(a.form.lngDirection), 1)
|
|
8578
8535
|
]),
|
|
8579
8536
|
_: 1
|
|
8580
8537
|
})
|
|
@@ -8584,22 +8541,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8584
8541
|
]),
|
|
8585
8542
|
_: 1
|
|
8586
8543
|
}),
|
|
8587
|
-
l("div",
|
|
8588
|
-
(b(), T("svg",
|
|
8544
|
+
l("div", Is, [
|
|
8545
|
+
(b(), T("svg", As, [
|
|
8589
8546
|
l("use", {
|
|
8590
8547
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8591
|
-
}, null, 8,
|
|
8548
|
+
}, null, 8, Ds)
|
|
8592
8549
|
])),
|
|
8593
8550
|
e[14] || (e[14] = l("div", null, "Lat", -1))
|
|
8594
8551
|
]),
|
|
8595
|
-
|
|
8552
|
+
h(f, { class: "ma-0" }, {
|
|
8596
8553
|
default: u(() => [
|
|
8597
|
-
|
|
8554
|
+
h(d, {
|
|
8598
8555
|
cols: "4",
|
|
8599
8556
|
class: "pa-0 d-flex"
|
|
8600
8557
|
}, {
|
|
8601
8558
|
default: u(() => [
|
|
8602
|
-
|
|
8559
|
+
h(p, {
|
|
8603
8560
|
modelValue: a.form.latDegree,
|
|
8604
8561
|
"onUpdate:modelValue": e[3] || (e[3] = (v) => a.form.latDegree = v),
|
|
8605
8562
|
rules: a.formRules.latDegree,
|
|
@@ -8616,12 +8573,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8616
8573
|
_: 1,
|
|
8617
8574
|
__: [15]
|
|
8618
8575
|
}),
|
|
8619
|
-
|
|
8576
|
+
h(d, {
|
|
8620
8577
|
cols: "6",
|
|
8621
8578
|
class: "pa-0 d-flex"
|
|
8622
8579
|
}, {
|
|
8623
8580
|
default: u(() => [
|
|
8624
|
-
|
|
8581
|
+
h(p, {
|
|
8625
8582
|
modelValue: a.form.latMinute,
|
|
8626
8583
|
"onUpdate:modelValue": e[4] || (e[4] = (v) => a.form.latMinute = v),
|
|
8627
8584
|
rules: a.formRules.latMinute,
|
|
@@ -8636,12 +8593,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8636
8593
|
_: 1,
|
|
8637
8594
|
__: [16]
|
|
8638
8595
|
}),
|
|
8639
|
-
|
|
8596
|
+
h(d, {
|
|
8640
8597
|
cols: "2",
|
|
8641
8598
|
class: "pa-0"
|
|
8642
8599
|
}, {
|
|
8643
8600
|
default: u(() => [
|
|
8644
|
-
|
|
8601
|
+
h(s, {
|
|
8645
8602
|
variant: "outlined",
|
|
8646
8603
|
density: "compact",
|
|
8647
8604
|
width: "32",
|
|
@@ -8652,7 +8609,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8652
8609
|
onClick: e[5] || (e[5] = (v) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
8653
8610
|
}, {
|
|
8654
8611
|
default: u(() => [
|
|
8655
|
-
|
|
8612
|
+
W(y(a.form.latDirection), 1)
|
|
8656
8613
|
]),
|
|
8657
8614
|
_: 1
|
|
8658
8615
|
})
|
|
@@ -8662,22 +8619,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8662
8619
|
]),
|
|
8663
8620
|
_: 1
|
|
8664
8621
|
}),
|
|
8665
|
-
l("div",
|
|
8666
|
-
(b(), T("svg",
|
|
8622
|
+
l("div", Os, [
|
|
8623
|
+
(b(), T("svg", Bs, [
|
|
8667
8624
|
l("use", {
|
|
8668
8625
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
8669
|
-
}, null, 8,
|
|
8626
|
+
}, null, 8, Es)
|
|
8670
8627
|
])),
|
|
8671
8628
|
e[17] || (e[17] = l("div", null, "Date Time", -1))
|
|
8672
8629
|
]),
|
|
8673
|
-
|
|
8630
|
+
h(f, { class: "ma-0 mb-4" }, {
|
|
8674
8631
|
default: u(() => [
|
|
8675
|
-
|
|
8632
|
+
h(d, {
|
|
8676
8633
|
cols: "12",
|
|
8677
8634
|
class: "pa-0"
|
|
8678
8635
|
}, {
|
|
8679
8636
|
default: u(() => [
|
|
8680
|
-
|
|
8637
|
+
h(z, B({
|
|
8681
8638
|
"date-time": a.form.dateTime,
|
|
8682
8639
|
"time-zone": o.timeZone
|
|
8683
8640
|
}, t.$attrs, {
|
|
@@ -8689,22 +8646,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8689
8646
|
]),
|
|
8690
8647
|
_: 1
|
|
8691
8648
|
}),
|
|
8692
|
-
l("div",
|
|
8693
|
-
(b(), T("svg",
|
|
8649
|
+
l("div", js, [
|
|
8650
|
+
(b(), T("svg", Ns, [
|
|
8694
8651
|
l("use", {
|
|
8695
8652
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
8696
|
-
}, null, 8,
|
|
8653
|
+
}, null, 8, Fs)
|
|
8697
8654
|
])),
|
|
8698
8655
|
e[18] || (e[18] = l("div", null, "Forecast Model", -1))
|
|
8699
8656
|
]),
|
|
8700
|
-
|
|
8657
|
+
h(f, { class: "ma-0 mb-2" }, {
|
|
8701
8658
|
default: u(() => [
|
|
8702
|
-
|
|
8659
|
+
h(d, {
|
|
8703
8660
|
cols: "12",
|
|
8704
8661
|
class: "pa-0"
|
|
8705
8662
|
}, {
|
|
8706
8663
|
default: u(() => [
|
|
8707
|
-
|
|
8664
|
+
h(x, {
|
|
8708
8665
|
modelValue: a.form.forecastModel,
|
|
8709
8666
|
"onUpdate:modelValue": e[7] || (e[7] = (v) => a.form.forecastModel = v),
|
|
8710
8667
|
class: "w-100",
|
|
@@ -8714,30 +8671,30 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8714
8671
|
group: ""
|
|
8715
8672
|
}, {
|
|
8716
8673
|
default: u(() => [
|
|
8717
|
-
|
|
8674
|
+
h(s, {
|
|
8718
8675
|
density: "compact",
|
|
8719
8676
|
height: "30",
|
|
8720
8677
|
value: "GFS",
|
|
8721
|
-
class:
|
|
8678
|
+
class: We(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
|
|
8722
8679
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
8723
8680
|
"base-color": ""
|
|
8724
8681
|
}, {
|
|
8725
8682
|
default: u(() => e[19] || (e[19] = [
|
|
8726
|
-
|
|
8683
|
+
W("NOAA", -1)
|
|
8727
8684
|
])),
|
|
8728
8685
|
_: 1,
|
|
8729
8686
|
__: [19]
|
|
8730
8687
|
}, 8, ["class", "color"]),
|
|
8731
|
-
|
|
8688
|
+
h(s, {
|
|
8732
8689
|
density: "compact",
|
|
8733
8690
|
height: "30",
|
|
8734
|
-
class:
|
|
8691
|
+
class: We(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
|
|
8735
8692
|
color: a.form.forecastModel === "ECMWF" ? "primary" : "",
|
|
8736
8693
|
"base-color": "",
|
|
8737
8694
|
value: "ECMWF"
|
|
8738
8695
|
}, {
|
|
8739
8696
|
default: u(() => e[20] || (e[20] = [
|
|
8740
|
-
|
|
8697
|
+
W("ECMWF", -1)
|
|
8741
8698
|
])),
|
|
8742
8699
|
_: 1,
|
|
8743
8700
|
__: [20]
|
|
@@ -8751,22 +8708,22 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8751
8708
|
]),
|
|
8752
8709
|
_: 1
|
|
8753
8710
|
}),
|
|
8754
|
-
|
|
8755
|
-
|
|
8711
|
+
h(g),
|
|
8712
|
+
h(S, { class: "d-flex justify-end align-center ga-4" }, {
|
|
8756
8713
|
default: u(() => [
|
|
8757
|
-
|
|
8714
|
+
h(s, {
|
|
8758
8715
|
size: "small",
|
|
8759
8716
|
variant: "outlined",
|
|
8760
8717
|
class: "text-none text-body-1",
|
|
8761
8718
|
onClick: r.cancelForm
|
|
8762
8719
|
}, {
|
|
8763
8720
|
default: u(() => e[21] || (e[21] = [
|
|
8764
|
-
|
|
8721
|
+
W("Clear", -1)
|
|
8765
8722
|
])),
|
|
8766
8723
|
_: 1,
|
|
8767
8724
|
__: [21]
|
|
8768
8725
|
}, 8, ["onClick"]),
|
|
8769
|
-
|
|
8726
|
+
h(s, {
|
|
8770
8727
|
loading: a.loading,
|
|
8771
8728
|
size: "small",
|
|
8772
8729
|
variant: "flat",
|
|
@@ -8775,7 +8732,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8775
8732
|
class: "text-none text-body-1"
|
|
8776
8733
|
}, {
|
|
8777
8734
|
default: u(() => e[22] || (e[22] = [
|
|
8778
|
-
|
|
8735
|
+
W("Confirm", -1)
|
|
8779
8736
|
])),
|
|
8780
8737
|
_: 1,
|
|
8781
8738
|
__: [22]
|
|
@@ -8792,21 +8749,21 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8792
8749
|
]),
|
|
8793
8750
|
_: 1
|
|
8794
8751
|
}, 8, ["style"])) : O("", !0),
|
|
8795
|
-
He(
|
|
8752
|
+
He(h(M, {
|
|
8796
8753
|
id: "idm-gl4-spot-meteo",
|
|
8797
8754
|
class: "spot-meteo",
|
|
8798
8755
|
style: { width: "490px", "z-index": "9" }
|
|
8799
8756
|
}, {
|
|
8800
8757
|
default: u(() => [
|
|
8801
|
-
|
|
8758
|
+
h(c, { class: "d-flex justify-space-between align-center" }, {
|
|
8802
8759
|
default: u(() => {
|
|
8803
8760
|
var v, _;
|
|
8804
8761
|
return [
|
|
8805
|
-
l("div",
|
|
8762
|
+
l("div", Hs, [
|
|
8806
8763
|
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
8807
|
-
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)
|
|
8808
8765
|
]),
|
|
8809
|
-
|
|
8766
|
+
h(s, {
|
|
8810
8767
|
icon: "",
|
|
8811
8768
|
density: "compact",
|
|
8812
8769
|
variant: "plain",
|
|
@@ -8823,29 +8780,29 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8823
8780
|
}),
|
|
8824
8781
|
_: 1
|
|
8825
8782
|
}),
|
|
8826
|
-
|
|
8827
|
-
|
|
8783
|
+
h(g),
|
|
8784
|
+
h(N, { class: "text-body-1 ml-n8" }, {
|
|
8828
8785
|
default: u(() => [
|
|
8829
|
-
|
|
8786
|
+
h(f, null, {
|
|
8830
8787
|
default: u(() => [
|
|
8831
|
-
|
|
8788
|
+
h(d, {
|
|
8832
8789
|
cols: "3",
|
|
8833
8790
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8834
8791
|
}, {
|
|
8835
8792
|
default: u(() => e[25] || (e[25] = [
|
|
8836
|
-
|
|
8793
|
+
W("Time", -1)
|
|
8837
8794
|
])),
|
|
8838
8795
|
_: 1,
|
|
8839
8796
|
__: [25]
|
|
8840
8797
|
}),
|
|
8841
|
-
|
|
8798
|
+
h(d, {
|
|
8842
8799
|
cols: "9",
|
|
8843
8800
|
class: "pa-2 px-0"
|
|
8844
8801
|
}, {
|
|
8845
8802
|
default: u(() => {
|
|
8846
8803
|
var v;
|
|
8847
8804
|
return [
|
|
8848
|
-
|
|
8805
|
+
W(y(r.computedTzTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
|
|
8849
8806
|
];
|
|
8850
8807
|
}),
|
|
8851
8808
|
_: 1
|
|
@@ -8853,26 +8810,26 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8853
8810
|
]),
|
|
8854
8811
|
_: 1
|
|
8855
8812
|
}),
|
|
8856
|
-
|
|
8813
|
+
h(f, null, {
|
|
8857
8814
|
default: u(() => [
|
|
8858
|
-
|
|
8815
|
+
h(d, {
|
|
8859
8816
|
cols: "3",
|
|
8860
8817
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8861
8818
|
}, {
|
|
8862
8819
|
default: u(() => e[26] || (e[26] = [
|
|
8863
|
-
|
|
8820
|
+
W("LT", -1)
|
|
8864
8821
|
])),
|
|
8865
8822
|
_: 1,
|
|
8866
8823
|
__: [26]
|
|
8867
8824
|
}),
|
|
8868
|
-
|
|
8825
|
+
h(d, {
|
|
8869
8826
|
cols: "9",
|
|
8870
8827
|
class: "pa-2 px-0"
|
|
8871
8828
|
}, {
|
|
8872
8829
|
default: u(() => {
|
|
8873
8830
|
var v;
|
|
8874
8831
|
return [
|
|
8875
|
-
|
|
8832
|
+
W(y(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
|
|
8876
8833
|
];
|
|
8877
8834
|
}),
|
|
8878
8835
|
_: 1
|
|
@@ -8880,129 +8837,129 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8880
8837
|
]),
|
|
8881
8838
|
_: 1
|
|
8882
8839
|
}),
|
|
8883
|
-
|
|
8840
|
+
h(f, null, {
|
|
8884
8841
|
default: u(() => [
|
|
8885
|
-
|
|
8842
|
+
h(d, {
|
|
8886
8843
|
cols: "3",
|
|
8887
8844
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8888
8845
|
}, {
|
|
8889
8846
|
default: u(() => e[27] || (e[27] = [
|
|
8890
|
-
|
|
8847
|
+
W("Wind", -1)
|
|
8891
8848
|
])),
|
|
8892
8849
|
_: 1,
|
|
8893
8850
|
__: [27]
|
|
8894
8851
|
}),
|
|
8895
|
-
|
|
8852
|
+
h(d, {
|
|
8896
8853
|
cols: "4",
|
|
8897
8854
|
class: "pa-2 px-0 text-left"
|
|
8898
8855
|
}, {
|
|
8899
8856
|
default: u(() => [
|
|
8900
|
-
|
|
8857
|
+
W(y(a.currentHourData.windDir) + " / " + y(a.currentHourData.windSpeed) + "kts / BF" + y(a.currentHourData.windLevel), 1)
|
|
8901
8858
|
]),
|
|
8902
8859
|
_: 1
|
|
8903
8860
|
}),
|
|
8904
|
-
|
|
8861
|
+
h(d, {
|
|
8905
8862
|
cols: "2",
|
|
8906
8863
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8907
8864
|
}, {
|
|
8908
8865
|
default: u(() => e[28] || (e[28] = [
|
|
8909
|
-
|
|
8866
|
+
W("Sig Wave", -1)
|
|
8910
8867
|
])),
|
|
8911
8868
|
_: 1,
|
|
8912
8869
|
__: [28]
|
|
8913
8870
|
}),
|
|
8914
|
-
|
|
8871
|
+
h(d, {
|
|
8915
8872
|
cols: "3",
|
|
8916
8873
|
class: "pa-2 px-0 text-left"
|
|
8917
8874
|
}, {
|
|
8918
8875
|
default: u(() => [
|
|
8919
|
-
|
|
8876
|
+
W(y(a.currentHourData.sigwaveDir) + " / " + y(a.currentHourData.sigwaveHeight) + "m / " + y(a.currentHourData.sigwavePeriod) + "s", 1)
|
|
8920
8877
|
]),
|
|
8921
8878
|
_: 1
|
|
8922
8879
|
})
|
|
8923
8880
|
]),
|
|
8924
8881
|
_: 1
|
|
8925
8882
|
}),
|
|
8926
|
-
|
|
8883
|
+
h(f, null, {
|
|
8927
8884
|
default: u(() => [
|
|
8928
|
-
|
|
8885
|
+
h(d, {
|
|
8929
8886
|
cols: "3",
|
|
8930
8887
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8931
8888
|
}, {
|
|
8932
8889
|
default: u(() => e[29] || (e[29] = [
|
|
8933
|
-
|
|
8890
|
+
W("Wind Wave", -1)
|
|
8934
8891
|
])),
|
|
8935
8892
|
_: 1,
|
|
8936
8893
|
__: [29]
|
|
8937
8894
|
}),
|
|
8938
|
-
|
|
8895
|
+
h(d, {
|
|
8939
8896
|
cols: "4",
|
|
8940
8897
|
class: "pa-2 px-0 text-left"
|
|
8941
8898
|
}, {
|
|
8942
8899
|
default: u(() => [
|
|
8943
|
-
|
|
8900
|
+
W(y(a.currentHourData.windwaveDir) + " / " + y(a.currentHourData.windwaveHeight) + "m / " + y(a.currentHourData.windwavePeriod) + "s", 1)
|
|
8944
8901
|
]),
|
|
8945
8902
|
_: 1
|
|
8946
8903
|
}),
|
|
8947
|
-
|
|
8904
|
+
h(d, {
|
|
8948
8905
|
cols: "2",
|
|
8949
8906
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8950
8907
|
}, {
|
|
8951
8908
|
default: u(() => e[30] || (e[30] = [
|
|
8952
|
-
|
|
8909
|
+
W("Swell", -1)
|
|
8953
8910
|
])),
|
|
8954
8911
|
_: 1,
|
|
8955
8912
|
__: [30]
|
|
8956
8913
|
}),
|
|
8957
|
-
|
|
8914
|
+
h(d, {
|
|
8958
8915
|
cols: "3",
|
|
8959
8916
|
class: "pa-2 px-0 text-left"
|
|
8960
8917
|
}, {
|
|
8961
8918
|
default: u(() => [
|
|
8962
|
-
|
|
8919
|
+
W(y(a.currentHourData.swellDir) + " / " + y(a.currentHourData.swellHeight) + "m / " + y(a.currentHourData.swellPeriod) + "s", 1)
|
|
8963
8920
|
]),
|
|
8964
8921
|
_: 1
|
|
8965
8922
|
})
|
|
8966
8923
|
]),
|
|
8967
8924
|
_: 1
|
|
8968
8925
|
}),
|
|
8969
|
-
|
|
8926
|
+
h(f, null, {
|
|
8970
8927
|
default: u(() => [
|
|
8971
|
-
|
|
8928
|
+
h(d, {
|
|
8972
8929
|
cols: "3",
|
|
8973
8930
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
8974
8931
|
}, {
|
|
8975
8932
|
default: u(() => e[31] || (e[31] = [
|
|
8976
|
-
|
|
8933
|
+
W("Current", -1)
|
|
8977
8934
|
])),
|
|
8978
8935
|
_: 1,
|
|
8979
8936
|
__: [31]
|
|
8980
8937
|
}),
|
|
8981
|
-
|
|
8938
|
+
h(d, {
|
|
8982
8939
|
cols: "4",
|
|
8983
8940
|
class: "pa-2 px-0 text-left"
|
|
8984
8941
|
}, {
|
|
8985
8942
|
default: u(() => [
|
|
8986
|
-
|
|
8943
|
+
W(y(a.currentHourData.currentDir) + " / " + y(a.currentHourData.currentSpeed) + "kts", 1)
|
|
8987
8944
|
]),
|
|
8988
8945
|
_: 1
|
|
8989
8946
|
}),
|
|
8990
|
-
|
|
8947
|
+
h(d, {
|
|
8991
8948
|
cols: "2",
|
|
8992
8949
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
8993
8950
|
}, {
|
|
8994
8951
|
default: u(() => e[32] || (e[32] = [
|
|
8995
|
-
|
|
8952
|
+
W("Visibility", -1)
|
|
8996
8953
|
])),
|
|
8997
8954
|
_: 1,
|
|
8998
8955
|
__: [32]
|
|
8999
8956
|
}),
|
|
9000
|
-
|
|
8957
|
+
h(d, {
|
|
9001
8958
|
cols: "3",
|
|
9002
8959
|
class: "pa-2 px-0 text-left"
|
|
9003
8960
|
}, {
|
|
9004
8961
|
default: u(() => [
|
|
9005
|
-
|
|
8962
|
+
W(y(a.currentHourData.visibility) + " nm", 1)
|
|
9006
8963
|
]),
|
|
9007
8964
|
_: 1
|
|
9008
8965
|
})
|
|
@@ -9012,10 +8969,10 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9012
8969
|
]),
|
|
9013
8970
|
_: 1
|
|
9014
8971
|
}),
|
|
9015
|
-
|
|
9016
|
-
|
|
8972
|
+
h(g),
|
|
8973
|
+
h(S, { class: "d-flex justify-space-between align-center" }, {
|
|
9017
8974
|
default: u(() => [
|
|
9018
|
-
|
|
8975
|
+
h(s, {
|
|
9019
8976
|
vvariant: "text",
|
|
9020
8977
|
density: "compact",
|
|
9021
8978
|
"prepend-icon": "mdi-star",
|
|
@@ -9023,15 +8980,15 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9023
8980
|
onClick: r.handleFollow
|
|
9024
8981
|
}, {
|
|
9025
8982
|
prepend: u(() => [
|
|
9026
|
-
|
|
8983
|
+
h(L, { color: "warning" })
|
|
9027
8984
|
]),
|
|
9028
8985
|
default: u(() => [
|
|
9029
|
-
e[33] || (e[33] =
|
|
8986
|
+
e[33] || (e[33] = W(" Follow", -1))
|
|
9030
8987
|
]),
|
|
9031
8988
|
_: 1,
|
|
9032
8989
|
__: [33]
|
|
9033
8990
|
}, 8, ["onClick"]),
|
|
9034
|
-
|
|
8991
|
+
h(s, {
|
|
9035
8992
|
variant: "text",
|
|
9036
8993
|
density: "compact",
|
|
9037
8994
|
"append-icon": "mdi-chevron-right",
|
|
@@ -9039,7 +8996,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9039
8996
|
onClick: r.handleMeteoMore
|
|
9040
8997
|
}, {
|
|
9041
8998
|
default: u(() => e[34] || (e[34] = [
|
|
9042
|
-
|
|
8999
|
+
W("Forecast", -1)
|
|
9043
9000
|
])),
|
|
9044
9001
|
_: 1,
|
|
9045
9002
|
__: [34]
|
|
@@ -9050,12 +9007,12 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9050
9007
|
]),
|
|
9051
9008
|
_: 1
|
|
9052
9009
|
}, 512), [
|
|
9053
|
-
[
|
|
9010
|
+
[Ge, a.showMeteo]
|
|
9054
9011
|
])
|
|
9055
9012
|
]);
|
|
9056
9013
|
}
|
|
9057
|
-
const
|
|
9058
|
-
const
|
|
9014
|
+
const Us = /* @__PURE__ */ Z(Cs, [["render", Ws]]);
|
|
9015
|
+
const Vs = {
|
|
9059
9016
|
name: "IdmMeasure",
|
|
9060
9017
|
props: {
|
|
9061
9018
|
map: {
|
|
@@ -9405,20 +9362,20 @@ const Ms = {
|
|
|
9405
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);
|
|
9406
9363
|
}
|
|
9407
9364
|
}
|
|
9408
|
-
},
|
|
9409
|
-
function
|
|
9365
|
+
}, Ys = { class: "idm-gl4-measure" };
|
|
9366
|
+
function Zs(t, e, o, i, a, r) {
|
|
9410
9367
|
const s = w("VBtn"), n = w("VTooltip");
|
|
9411
|
-
return b(), T("div",
|
|
9368
|
+
return b(), T("div", Ys, [
|
|
9412
9369
|
l("div", {
|
|
9413
9370
|
class: "menu-bar-box transition pa-1",
|
|
9414
9371
|
style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
|
|
9415
9372
|
}, [
|
|
9416
|
-
|
|
9373
|
+
h(n, {
|
|
9417
9374
|
text: t.$t("measure.measure"),
|
|
9418
9375
|
location: "left"
|
|
9419
9376
|
}, {
|
|
9420
9377
|
activator: u(({ props: c }) => [
|
|
9421
|
-
|
|
9378
|
+
h(s, B(c, {
|
|
9422
9379
|
"min-width": "32",
|
|
9423
9380
|
width: "32",
|
|
9424
9381
|
height: "32",
|
|
@@ -9437,8 +9394,8 @@ function Is(t, e, o, i, a, r) {
|
|
|
9437
9394
|
], 4)
|
|
9438
9395
|
]);
|
|
9439
9396
|
}
|
|
9440
|
-
const
|
|
9441
|
-
const
|
|
9397
|
+
const Xs = /* @__PURE__ */ Z(Vs, [["render", Zs]]);
|
|
9398
|
+
const qs = {
|
|
9442
9399
|
name: "IdmBottomBar",
|
|
9443
9400
|
components: { DateTimePicker: ro },
|
|
9444
9401
|
props: {
|
|
@@ -9555,20 +9512,20 @@ const Rs = {
|
|
|
9555
9512
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
9556
9513
|
}
|
|
9557
9514
|
}
|
|
9558
|
-
},
|
|
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 = {
|
|
9559
9516
|
key: 0,
|
|
9560
9517
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
9561
|
-
},
|
|
9562
|
-
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) {
|
|
9563
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");
|
|
9564
|
-
return b(), T("div",
|
|
9521
|
+
return b(), T("div", Ks, [
|
|
9565
9522
|
Object.values(a.show).includes(!0) ? (b(), T("div", {
|
|
9566
9523
|
key: 0,
|
|
9567
9524
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
9568
9525
|
style: ae({ right: a.right + 146 + "px" })
|
|
9569
9526
|
}, [
|
|
9570
|
-
l("div",
|
|
9571
|
-
|
|
9527
|
+
l("div", Qs, [
|
|
9528
|
+
h(s, B({
|
|
9572
9529
|
"date-time": a.currentDateTimeZ,
|
|
9573
9530
|
"time-zone": a.timeZone,
|
|
9574
9531
|
"day-about": a.dayAbout,
|
|
@@ -9578,17 +9535,17 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9578
9535
|
onCurrentRealTime: e[1] || (e[1] = (x) => a.currentRealTime = x),
|
|
9579
9536
|
onTimestampRange: e[2] || (e[2] = (x) => a.timestampRange = x)
|
|
9580
9537
|
}), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
|
|
9581
|
-
|
|
9538
|
+
h(d, {
|
|
9582
9539
|
text: "",
|
|
9583
9540
|
height: "30",
|
|
9584
9541
|
class: "text-none elevation-0 btn-border-1 text-body-1",
|
|
9585
9542
|
"min-width": "30"
|
|
9586
9543
|
}, {
|
|
9587
9544
|
default: u(() => [
|
|
9588
|
-
|
|
9589
|
-
|
|
9545
|
+
W(y(a.intervalHour) + " h ", 1),
|
|
9546
|
+
h(p, { activator: "parent" }, {
|
|
9590
9547
|
default: u(() => [
|
|
9591
|
-
|
|
9548
|
+
h(g, { class: "pa-1" }, {
|
|
9592
9549
|
default: u(() => [
|
|
9593
9550
|
(b(!0), T(ke, null, Le(a.intervalOptions, (x, S) => (b(), j(c, {
|
|
9594
9551
|
key: S,
|
|
@@ -9603,11 +9560,11 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9603
9560
|
class: "pa-0 text-center text-body-1"
|
|
9604
9561
|
}, {
|
|
9605
9562
|
default: u(() => [
|
|
9606
|
-
|
|
9563
|
+
h(n, {
|
|
9607
9564
|
onClick: (C) => a.intervalHour = x
|
|
9608
9565
|
}, {
|
|
9609
9566
|
default: u(() => [
|
|
9610
|
-
|
|
9567
|
+
W(y(x) + "h", 1)
|
|
9611
9568
|
]),
|
|
9612
9569
|
_: 2
|
|
9613
9570
|
}, 1032, ["onClick"])
|
|
@@ -9624,13 +9581,13 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9624
9581
|
_: 1
|
|
9625
9582
|
})
|
|
9626
9583
|
]),
|
|
9627
|
-
|
|
9584
|
+
h(f, {
|
|
9628
9585
|
vertical: "",
|
|
9629
9586
|
class: "mx-2 my-3",
|
|
9630
9587
|
style: { height: "16px" }
|
|
9631
9588
|
}),
|
|
9632
|
-
l("div",
|
|
9633
|
-
|
|
9589
|
+
l("div", Js, [
|
|
9590
|
+
h(d, {
|
|
9634
9591
|
icon: "",
|
|
9635
9592
|
size: "small",
|
|
9636
9593
|
density: "comfortable",
|
|
@@ -9643,7 +9600,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9643
9600
|
_: 1,
|
|
9644
9601
|
__: [9]
|
|
9645
9602
|
}, 8, ["onClick"]),
|
|
9646
|
-
|
|
9603
|
+
h(d, {
|
|
9647
9604
|
icon: "",
|
|
9648
9605
|
size: "small",
|
|
9649
9606
|
density: "comfortable",
|
|
@@ -9683,7 +9640,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9683
9640
|
_: 1,
|
|
9684
9641
|
__: [12]
|
|
9685
9642
|
}, 8, ["onClick"])),
|
|
9686
|
-
|
|
9643
|
+
h(d, {
|
|
9687
9644
|
icon: "",
|
|
9688
9645
|
size: "small",
|
|
9689
9646
|
density: "comfortable",
|
|
@@ -9697,20 +9654,20 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9697
9654
|
__: [13]
|
|
9698
9655
|
}, 8, ["onClick"])
|
|
9699
9656
|
]),
|
|
9700
|
-
|
|
9657
|
+
h(f, {
|
|
9701
9658
|
vertical: "",
|
|
9702
9659
|
class: "mx-2 my-3",
|
|
9703
9660
|
style: { height: "16px" }
|
|
9704
9661
|
}),
|
|
9705
|
-
l("div",
|
|
9706
|
-
|
|
9662
|
+
l("div", $s, [
|
|
9663
|
+
h(z, {
|
|
9707
9664
|
text: t.$t("weather.windBarbs"),
|
|
9708
9665
|
location: "top"
|
|
9709
9666
|
}, {
|
|
9710
9667
|
activator: u(({ props: x }) => {
|
|
9711
9668
|
var S, C;
|
|
9712
9669
|
return [
|
|
9713
|
-
|
|
9670
|
+
h(d, B(x, {
|
|
9714
9671
|
class: "pa-1 d-flex",
|
|
9715
9672
|
color: (S = o.weatherCheckList) != null && S.includes("wind") ? "primary" : "",
|
|
9716
9673
|
variant: (C = o.weatherCheckList) != null && C.includes("wind") ? "elevated" : "text",
|
|
@@ -9729,14 +9686,14 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9729
9686
|
}),
|
|
9730
9687
|
_: 1
|
|
9731
9688
|
}, 8, ["text"]),
|
|
9732
|
-
|
|
9689
|
+
h(z, {
|
|
9733
9690
|
text: t.$t("weather.sigWaveHeight"),
|
|
9734
9691
|
location: "top"
|
|
9735
9692
|
}, {
|
|
9736
9693
|
activator: u(({ props: x }) => {
|
|
9737
9694
|
var S, C;
|
|
9738
9695
|
return [
|
|
9739
|
-
|
|
9696
|
+
h(d, B(x, {
|
|
9740
9697
|
class: "pa-1 d-flex",
|
|
9741
9698
|
color: (S = o.weatherCheckList) != null && S.includes("sig-wave-height") ? "primary" : "",
|
|
9742
9699
|
variant: (C = o.weatherCheckList) != null && C.includes("sig-wave-height") ? "elevated" : "text",
|
|
@@ -9754,14 +9711,14 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9754
9711
|
}),
|
|
9755
9712
|
_: 1
|
|
9756
9713
|
}, 8, ["text"]),
|
|
9757
|
-
|
|
9714
|
+
h(z, {
|
|
9758
9715
|
text: t.$t("weather.currentDirection"),
|
|
9759
9716
|
location: "top"
|
|
9760
9717
|
}, {
|
|
9761
9718
|
activator: u(({ props: x }) => {
|
|
9762
9719
|
var S, C;
|
|
9763
9720
|
return [
|
|
9764
|
-
|
|
9721
|
+
h(d, B(x, {
|
|
9765
9722
|
class: "pa-1 d-flex",
|
|
9766
9723
|
color: (S = o.weatherCheckList) != null && S.includes("current-direction") ? "primary" : "",
|
|
9767
9724
|
variant: (C = o.weatherCheckList) != null && C.includes("current-direction") ? "elevated" : "text",
|
|
@@ -9779,12 +9736,12 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9779
9736
|
}),
|
|
9780
9737
|
_: 1
|
|
9781
9738
|
}, 8, ["text"]),
|
|
9782
|
-
|
|
9739
|
+
h(z, {
|
|
9783
9740
|
text: t.$t("weather.weatherLayers"),
|
|
9784
9741
|
location: "top"
|
|
9785
9742
|
}, {
|
|
9786
9743
|
activator: u(({ props: x }) => [
|
|
9787
|
-
|
|
9744
|
+
h(d, B(x, {
|
|
9788
9745
|
class: "pa-1 d-flex",
|
|
9789
9746
|
variant: "text",
|
|
9790
9747
|
height: "24",
|
|
@@ -9801,13 +9758,13 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9801
9758
|
_: 1
|
|
9802
9759
|
}, 8, ["text"])
|
|
9803
9760
|
]),
|
|
9804
|
-
|
|
9761
|
+
h(f, {
|
|
9805
9762
|
vertical: "",
|
|
9806
9763
|
class: "mx-2 mr-3 my-3",
|
|
9807
9764
|
style: { height: "16px" }
|
|
9808
9765
|
}),
|
|
9809
|
-
l("div",
|
|
9810
|
-
|
|
9766
|
+
l("div", en, [
|
|
9767
|
+
h(d, {
|
|
9811
9768
|
text: "",
|
|
9812
9769
|
height: "30",
|
|
9813
9770
|
class: "px-2 elevation-0 text-body-1 btn-border-2",
|
|
@@ -9815,12 +9772,12 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9815
9772
|
onClick: e[6] || (e[6] = (x) => a.source = "GFS")
|
|
9816
9773
|
}, {
|
|
9817
9774
|
default: u(() => e[15] || (e[15] = [
|
|
9818
|
-
|
|
9775
|
+
W("NOAA", -1)
|
|
9819
9776
|
])),
|
|
9820
9777
|
_: 1,
|
|
9821
9778
|
__: [15]
|
|
9822
9779
|
}, 8, ["color"]),
|
|
9823
|
-
|
|
9780
|
+
h(d, {
|
|
9824
9781
|
text: "",
|
|
9825
9782
|
height: "30",
|
|
9826
9783
|
class: "px-2 elevation-0 text-body-1 btn-border-2",
|
|
@@ -9828,7 +9785,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9828
9785
|
onClick: e[7] || (e[7] = (x) => a.source = "ECMWF")
|
|
9829
9786
|
}, {
|
|
9830
9787
|
default: u(() => e[16] || (e[16] = [
|
|
9831
|
-
|
|
9788
|
+
W("ECMWF", -1)
|
|
9832
9789
|
])),
|
|
9833
9790
|
_: 1,
|
|
9834
9791
|
__: [16]
|
|
@@ -9839,15 +9796,15 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9839
9796
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
9840
9797
|
style: ae({ right: a.right + "px" })
|
|
9841
9798
|
}, [
|
|
9842
|
-
a.showTimezone ? (b(), T("div",
|
|
9799
|
+
a.showTimezone ? (b(), T("div", tn, [
|
|
9843
9800
|
(b(!0), T(ke, null, Le(a.offsets, (x) => (b(), T("div", {
|
|
9844
9801
|
key: x,
|
|
9845
9802
|
class: "item rounded text-body-2 hover-active",
|
|
9846
9803
|
onClick: (S) => a.timeZone = x
|
|
9847
|
-
}, y(x < 0 ? x : "+" + x), 9,
|
|
9804
|
+
}, y(x < 0 ? x : "+" + x), 9, on))), 128))
|
|
9848
9805
|
])) : O("", !0),
|
|
9849
|
-
l("div",
|
|
9850
|
-
|
|
9806
|
+
l("div", an, [
|
|
9807
|
+
h(d, {
|
|
9851
9808
|
text: "",
|
|
9852
9809
|
variant: "flat",
|
|
9853
9810
|
height: "28",
|
|
@@ -9856,24 +9813,24 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9856
9813
|
onClick: e[8] || (e[8] = (x) => a.showTimezone = !a.showTimezone)
|
|
9857
9814
|
}, {
|
|
9858
9815
|
default: u(() => [
|
|
9859
|
-
|
|
9816
|
+
W(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
9860
9817
|
]),
|
|
9861
9818
|
_: 1
|
|
9862
9819
|
}),
|
|
9863
|
-
l("span",
|
|
9820
|
+
l("span", rn, y(a.currentRealTime), 1)
|
|
9864
9821
|
])
|
|
9865
9822
|
], 4)
|
|
9866
9823
|
]);
|
|
9867
9824
|
}
|
|
9868
|
-
const
|
|
9825
|
+
const sn = /* @__PURE__ */ Z(qs, [["render", ln]]), nn = {
|
|
9869
9826
|
name: "IdmGL4",
|
|
9870
9827
|
components: {
|
|
9871
|
-
IdmOtherLayer:
|
|
9872
|
-
IdmWeatherLayer:
|
|
9873
|
-
IdmTropicals:
|
|
9874
|
-
IdmMeasure:
|
|
9875
|
-
IdmSpot:
|
|
9876
|
-
IdmBottomBar:
|
|
9828
|
+
IdmOtherLayer: gr,
|
|
9829
|
+
IdmWeatherLayer: es,
|
|
9830
|
+
IdmTropicals: Va,
|
|
9831
|
+
IdmMeasure: Xs,
|
|
9832
|
+
IdmSpot: Us,
|
|
9833
|
+
IdmBottomBar: sn
|
|
9877
9834
|
},
|
|
9878
9835
|
props: {
|
|
9879
9836
|
map: {
|
|
@@ -9926,14 +9883,14 @@ const Us = /* @__PURE__ */ Z(Rs, [["render", Gs]]), Vs = {
|
|
|
9926
9883
|
}
|
|
9927
9884
|
},
|
|
9928
9885
|
methods: {}
|
|
9929
|
-
},
|
|
9886
|
+
}, cn = {
|
|
9930
9887
|
ref: "mapHomeGl4",
|
|
9931
9888
|
class: "map-gl4-home"
|
|
9932
9889
|
};
|
|
9933
|
-
function
|
|
9890
|
+
function mn(t, e, o, i, a, r) {
|
|
9934
9891
|
const s = w("IdmOtherLayer"), n = w("IdmWeatherLayer"), c = w("IdmTropicals"), g = w("IdmMeasure"), p = w("IdmSpot"), d = w("IdmBottomBar");
|
|
9935
|
-
return b(), T("div",
|
|
9936
|
-
|
|
9892
|
+
return b(), T("div", cn, [
|
|
9893
|
+
h(s, B({
|
|
9937
9894
|
ref: "idmOtherLayers",
|
|
9938
9895
|
token: o.token,
|
|
9939
9896
|
"default-meteo-token": a.defaultMeteoToken,
|
|
@@ -9949,7 +9906,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9949
9906
|
a.otherCheckList = f, a.layerVersion = a.layerVersion + 1;
|
|
9950
9907
|
})
|
|
9951
9908
|
}), null, 16, ["token", "default-meteo-token", "map", "real-time", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9952
|
-
|
|
9909
|
+
h(n, B({
|
|
9953
9910
|
ref: "idmWeatherLayers",
|
|
9954
9911
|
map: o.map,
|
|
9955
9912
|
"before-layer": "empty-layer-2",
|
|
@@ -9968,7 +9925,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9968
9925
|
a.weatherCheckList = f, a.layerVersion = a.layerVersion + 1;
|
|
9969
9926
|
})
|
|
9970
9927
|
}), null, 16, ["map", "real-time", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9971
|
-
|
|
9928
|
+
h(c, B({
|
|
9972
9929
|
map: o.map,
|
|
9973
9930
|
token: o.token,
|
|
9974
9931
|
"default-meteo-token": a.defaultMeteoToken,
|
|
@@ -9980,11 +9937,11 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9980
9937
|
"forecast-model": o.forecastModel,
|
|
9981
9938
|
"map-feather": o.mapFeather
|
|
9982
9939
|
}, t.$attrs), null, 16, ["map", "token", "default-meteo-token", "tropicals", "real-time", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
|
|
9983
|
-
|
|
9940
|
+
h(g, B({
|
|
9984
9941
|
map: o.map,
|
|
9985
9942
|
"map-feather": o.mapFeather
|
|
9986
9943
|
}, t.$attrs), null, 16, ["map", "map-feather"]),
|
|
9987
|
-
|
|
9944
|
+
h(p, B({
|
|
9988
9945
|
ref: "idmSpot",
|
|
9989
9946
|
map: o.map,
|
|
9990
9947
|
"real-time": a.realTime,
|
|
@@ -9993,7 +9950,7 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9993
9950
|
"forecast-model": o.forecastModel,
|
|
9994
9951
|
"map-feather": o.mapFeather
|
|
9995
9952
|
}, t.$attrs), null, 16, ["map", "real-time", "token", "gateway", "forecast-model", "map-feather"]),
|
|
9996
|
-
|
|
9953
|
+
h(d, B({
|
|
9997
9954
|
ref: "idmBottomBar",
|
|
9998
9955
|
"forecast-model": o.forecastModel,
|
|
9999
9956
|
"weather-check-list": a.weatherCheckList,
|
|
@@ -10003,16 +9960,16 @@ function Zs(t, e, o, i, a, r) {
|
|
|
10003
9960
|
}), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
10004
9961
|
], 512);
|
|
10005
9962
|
}
|
|
10006
|
-
const
|
|
10007
|
-
class
|
|
9963
|
+
const hn = /* @__PURE__ */ Z(nn, [["render", mn]]);
|
|
9964
|
+
class dn {
|
|
10008
9965
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
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;
|
|
10016
9973
|
this.i4 = {
|
|
10017
9974
|
source: {
|
|
10018
9975
|
type: "raster",
|
|
@@ -10165,11 +10122,11 @@ class qs {
|
|
|
10165
10122
|
},
|
|
10166
10123
|
sources: {
|
|
10167
10124
|
composite: {
|
|
10168
|
-
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",
|
|
10169
10126
|
type: "vector"
|
|
10170
10127
|
}
|
|
10171
10128
|
},
|
|
10172
|
-
sprite: "mapbox://sprites/neatchenheng/cmd894dwn036m01rf7anc0k0d/
|
|
10129
|
+
sprite: "mapbox://sprites/neatchenheng/cmd894dwn036m01rf7anc0k0d/bz666gsj7u5oat4j8k2l1dwes",
|
|
10173
10130
|
glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
|
|
10174
10131
|
projection: {
|
|
10175
10132
|
name: "equirectangular"
|
|
@@ -11519,12 +11476,77 @@ class qs {
|
|
|
11519
11476
|
"text-field": ["to-string", ["get", "Location_EN"]],
|
|
11520
11477
|
"text-size": 10,
|
|
11521
11478
|
"icon-image": "tide",
|
|
11522
|
-
"icon-size":
|
|
11479
|
+
"icon-size": 1,
|
|
11480
|
+
"icon-offset": [0, -15],
|
|
11523
11481
|
"text-offset": [0, 1.6],
|
|
11524
11482
|
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
11525
11483
|
},
|
|
11526
11484
|
source: "composite",
|
|
11527
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"
|
|
11528
11550
|
}
|
|
11529
11551
|
],
|
|
11530
11552
|
created: "2025-07-18T03:20:31.079Z",
|
|
@@ -11640,11 +11662,11 @@ class qs {
|
|
|
11640
11662
|
},
|
|
11641
11663
|
sources: {
|
|
11642
11664
|
composite: {
|
|
11643
|
-
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",
|
|
11644
11666
|
type: "vector"
|
|
11645
11667
|
}
|
|
11646
11668
|
},
|
|
11647
|
-
sprite: "mapbox://sprites/neatchenheng/cmdqwez32005b01re2w0k3zk4/
|
|
11669
|
+
sprite: "mapbox://sprites/neatchenheng/cmdqwez32005b01re2w0k3zk4/043aysza9g0kol1p98tvlqaia",
|
|
11648
11670
|
glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
|
|
11649
11671
|
projection: {
|
|
11650
11672
|
name: "equirectangular"
|
|
@@ -12981,12 +13003,77 @@ class qs {
|
|
|
12981
13003
|
"text-field": ["to-string", ["get", "Location_EN"]],
|
|
12982
13004
|
"text-size": 10,
|
|
12983
13005
|
"icon-image": "tide",
|
|
12984
|
-
"icon-size":
|
|
13006
|
+
"icon-size": 1,
|
|
13007
|
+
"icon-offset": [0, -15],
|
|
12985
13008
|
"text-offset": [0, 1.6],
|
|
12986
13009
|
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
12987
13010
|
},
|
|
12988
13011
|
source: "composite",
|
|
12989
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"
|
|
12990
13077
|
}
|
|
12991
13078
|
],
|
|
12992
13079
|
created: "2025-07-31T04:32:27.422Z",
|
|
@@ -16851,11 +16938,11 @@ class qs {
|
|
|
16851
16938
|
tileSize: 256
|
|
16852
16939
|
},
|
|
16853
16940
|
composite: {
|
|
16854
|
-
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",
|
|
16855
16942
|
type: "vector"
|
|
16856
16943
|
}
|
|
16857
16944
|
},
|
|
16858
|
-
sprite: "mapbox://sprites/neatchenheng/cmdiadnej03n101r485bs2m6a/
|
|
16945
|
+
sprite: "mapbox://sprites/neatchenheng/cmdiadnej03n101r485bs2m6a/0tw385oibzjf7i8y5jsvcglnd",
|
|
16859
16946
|
glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
|
|
16860
16947
|
projection: {
|
|
16861
16948
|
name: "equirectangular"
|
|
@@ -17555,12 +17642,77 @@ class qs {
|
|
|
17555
17642
|
"text-field": ["to-string", ["get", "Location_EN"]],
|
|
17556
17643
|
"text-size": 10,
|
|
17557
17644
|
"icon-image": "tide",
|
|
17558
|
-
"icon-size":
|
|
17645
|
+
"icon-size": 1,
|
|
17646
|
+
"icon-offset": [0, -15],
|
|
17559
17647
|
"text-offset": [0, 1.6],
|
|
17560
17648
|
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
17561
17649
|
},
|
|
17562
17650
|
source: "composite",
|
|
17563
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"
|
|
17564
17716
|
}
|
|
17565
17717
|
],
|
|
17566
17718
|
created: "2025-07-25T03:53:24.667Z",
|
|
@@ -28018,10 +28170,54 @@ class qs {
|
|
|
28018
28170
|
webpage: "https://studio.mapbox.com/tilesets/neatchenheng.27issko0"
|
|
28019
28171
|
}
|
|
28020
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
|
+
},
|
|
28021
28217
|
i4: this.i4.source
|
|
28022
28218
|
// "hi": this.hi.source
|
|
28023
28219
|
},
|
|
28024
|
-
sprite: "mapbox://sprites/neatchenheng/cmddwkooj003i01ptch7p9gvz/
|
|
28220
|
+
sprite: "mapbox://sprites/neatchenheng/cmddwkooj003i01ptch7p9gvz/0jzn5u6i3ep6hqkci88flctvp",
|
|
28025
28221
|
glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
|
|
28026
28222
|
projection: {
|
|
28027
28223
|
name: "equirectangular"
|
|
@@ -28253,12 +28449,77 @@ class qs {
|
|
|
28253
28449
|
"text-field": ["to-string", ["get", "Location_EN"]],
|
|
28254
28450
|
"text-size": 10,
|
|
28255
28451
|
"icon-image": "tide",
|
|
28256
|
-
"icon-size":
|
|
28452
|
+
"icon-size": 1,
|
|
28453
|
+
"icon-offset": [0, -15],
|
|
28257
28454
|
"text-offset": [0, 1.6],
|
|
28258
28455
|
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
28259
28456
|
},
|
|
28260
28457
|
source: "mapbox://neatchenheng.7y3kpvvv",
|
|
28261
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"
|
|
28262
28523
|
}
|
|
28263
28524
|
],
|
|
28264
28525
|
created: "2025-07-22T02:15:53.587Z",
|
|
@@ -28284,38 +28545,40 @@ class qs {
|
|
|
28284
28545
|
composite: this.originStyle.light.sources.composite
|
|
28285
28546
|
},
|
|
28286
28547
|
layers: [
|
|
28287
|
-
(i = (o = this.originStyle) == null ? void 0 : o.light.layers) == null ? void 0 : i.find((
|
|
28288
|
-
(r = (a = this.originStyle) == null ? void 0 : a.light.layers) == null ? void 0 : r.find((
|
|
28289
|
-
(n = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : n.find((
|
|
28290
|
-
(g = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : g.find((
|
|
28291
|
-
(d = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : d.find((
|
|
28292
|
-
(z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((
|
|
28293
|
-
(S = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : S.find((
|
|
28294
|
-
(N = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : N.find((
|
|
28295
|
-
(L = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : L.find((
|
|
28296
|
-
(_ = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : _.find((
|
|
28297
|
-
(k = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : k.find((
|
|
28298
|
-
(V = (
|
|
28299
|
-
(q = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : q.find((
|
|
28300
|
-
($ = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : $.find((
|
|
28301
|
-
(Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((
|
|
28302
|
-
(de = (
|
|
28303
|
-
(me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((
|
|
28304
|
-
(ie = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : ie.find((
|
|
28305
|
-
(
|
|
28306
|
-
(xe = (
|
|
28307
|
-
(Se = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Se.find((
|
|
28308
|
-
(Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((
|
|
28309
|
-
(
|
|
28310
|
-
(H = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : H.find((
|
|
28311
|
-
(je = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : je.find((
|
|
28312
|
-
(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")
|
|
28313
28576
|
]
|
|
28314
28577
|
},
|
|
28315
28578
|
dark: {
|
|
28316
28579
|
version: 8,
|
|
28317
28580
|
name: "dark",
|
|
28318
|
-
metadata: (
|
|
28581
|
+
metadata: (re = this.originStyle) == null ? void 0 : re.dark.metadata,
|
|
28319
28582
|
center: [90.22129259388525, -3.2084663486364606],
|
|
28320
28583
|
zoom: 1.2556266457717493,
|
|
28321
28584
|
bearing: 0,
|
|
@@ -28324,55 +28587,57 @@ class qs {
|
|
|
28324
28587
|
fog: {
|
|
28325
28588
|
range: [0.5, 10]
|
|
28326
28589
|
},
|
|
28327
|
-
sources: (
|
|
28328
|
-
sprite: (
|
|
28329
|
-
glyphs: (
|
|
28330
|
-
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,
|
|
28331
28594
|
id: "cmdqwez32005b01re2w0k3zk4",
|
|
28332
28595
|
owner: "neatchenheng",
|
|
28333
28596
|
visibility: "private",
|
|
28334
28597
|
protected: !1,
|
|
28335
28598
|
draft: !1,
|
|
28336
28599
|
layers: [
|
|
28337
|
-
(
|
|
28338
|
-
(
|
|
28339
|
-
(
|
|
28340
|
-
(
|
|
28341
|
-
(
|
|
28342
|
-
(
|
|
28343
|
-
(
|
|
28344
|
-
(
|
|
28345
|
-
(
|
|
28346
|
-
(
|
|
28347
|
-
(
|
|
28348
|
-
(
|
|
28349
|
-
(
|
|
28350
|
-
(
|
|
28351
|
-
(
|
|
28352
|
-
(
|
|
28353
|
-
(
|
|
28354
|
-
(
|
|
28355
|
-
(
|
|
28356
|
-
(
|
|
28357
|
-
(
|
|
28358
|
-
(
|
|
28359
|
-
(
|
|
28360
|
-
(
|
|
28361
|
-
(
|
|
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")
|
|
28362
28627
|
]
|
|
28363
28628
|
},
|
|
28364
28629
|
satellite: {
|
|
28365
28630
|
version: 8,
|
|
28366
28631
|
name: "Satellite Streets",
|
|
28367
|
-
metadata: (
|
|
28632
|
+
metadata: (Nt = this.originStyle) == null ? void 0 : Nt.satellite.metadata,
|
|
28368
28633
|
center: [55.13, 25.12],
|
|
28369
28634
|
zoom: 12,
|
|
28370
|
-
fog: (
|
|
28371
|
-
imports: (
|
|
28372
|
-
sources: (
|
|
28373
|
-
sprite: (
|
|
28374
|
-
glyphs: (
|
|
28375
|
-
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,
|
|
28376
28641
|
created: "2025-07-25T03:53:24.667Z",
|
|
28377
28642
|
modified: "2025-07-28T06:47:35.471Z",
|
|
28378
28643
|
id: "cmdiadnej03n101r485bs2m6a",
|
|
@@ -28381,64 +28646,68 @@ class qs {
|
|
|
28381
28646
|
protected: !1,
|
|
28382
28647
|
draft: !1,
|
|
28383
28648
|
layers: [
|
|
28384
|
-
(
|
|
28385
|
-
(
|
|
28386
|
-
(
|
|
28387
|
-
(
|
|
28388
|
-
(
|
|
28389
|
-
(
|
|
28390
|
-
(
|
|
28391
|
-
(
|
|
28392
|
-
(
|
|
28393
|
-
(
|
|
28394
|
-
(
|
|
28395
|
-
(
|
|
28396
|
-
(
|
|
28397
|
-
(
|
|
28398
|
-
(
|
|
28399
|
-
(
|
|
28400
|
-
(
|
|
28401
|
-
(
|
|
28402
|
-
(
|
|
28403
|
-
(
|
|
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")
|
|
28404
28671
|
]
|
|
28405
28672
|
},
|
|
28406
28673
|
nautical: {
|
|
28407
28674
|
version: 8,
|
|
28408
28675
|
name: "nautical",
|
|
28409
|
-
metadata: (
|
|
28676
|
+
metadata: (Uo = this.originStyle) == null ? void 0 : Uo.nautical.metadata,
|
|
28410
28677
|
center: [-34, 38],
|
|
28411
28678
|
zoom: 2,
|
|
28412
28679
|
terrain: null,
|
|
28413
|
-
imports: (
|
|
28414
|
-
sources: (
|
|
28415
|
-
sprite: (
|
|
28416
|
-
glyphs: (
|
|
28417
|
-
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,
|
|
28418
28685
|
layers: [
|
|
28419
28686
|
this.i4.layer,
|
|
28420
28687
|
// this.hi.layer,
|
|
28421
|
-
(
|
|
28422
|
-
(
|
|
28423
|
-
(
|
|
28424
|
-
(
|
|
28425
|
-
(
|
|
28426
|
-
(
|
|
28427
|
-
(
|
|
28428
|
-
(
|
|
28429
|
-
(
|
|
28430
|
-
(
|
|
28431
|
-
(
|
|
28432
|
-
(
|
|
28433
|
-
(
|
|
28434
|
-
(
|
|
28435
|
-
(
|
|
28436
|
-
(
|
|
28437
|
-
(
|
|
28438
|
-
(
|
|
28439
|
-
(
|
|
28440
|
-
(
|
|
28441
|
-
(
|
|
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")
|
|
28442
28711
|
],
|
|
28443
28712
|
created: "2025-07-22T02:15:53.587Z",
|
|
28444
28713
|
modified: "2025-08-07T10:15:43.870Z",
|
|
@@ -28451,7 +28720,7 @@ class qs {
|
|
|
28451
28720
|
};
|
|
28452
28721
|
}
|
|
28453
28722
|
}
|
|
28454
|
-
const
|
|
28723
|
+
const pn = {
|
|
28455
28724
|
name: "MapInitial",
|
|
28456
28725
|
props: {
|
|
28457
28726
|
token: {
|
|
@@ -28504,7 +28773,7 @@ const Ks = {
|
|
|
28504
28773
|
methods: {
|
|
28505
28774
|
async initOnlineMap() {
|
|
28506
28775
|
var e;
|
|
28507
|
-
(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";
|
|
28508
28777
|
const t = new we.Map({
|
|
28509
28778
|
container: "map",
|
|
28510
28779
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -28544,17 +28813,17 @@ const Ks = {
|
|
|
28544
28813
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
28545
28814
|
}
|
|
28546
28815
|
}
|
|
28547
|
-
},
|
|
28548
|
-
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) {
|
|
28549
28818
|
const s = w("VBtn");
|
|
28550
|
-
return b(), T("div",
|
|
28819
|
+
return b(), T("div", un, [
|
|
28551
28820
|
e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
|
|
28552
28821
|
l("div", {
|
|
28553
28822
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
28554
28823
|
style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
|
|
28555
28824
|
}, [
|
|
28556
|
-
l("div",
|
|
28557
|
-
|
|
28825
|
+
l("div", gn, [
|
|
28826
|
+
h(s, {
|
|
28558
28827
|
"min-width": "32",
|
|
28559
28828
|
width: "32",
|
|
28560
28829
|
height: "32",
|
|
@@ -28567,8 +28836,8 @@ function en(t, e, o, i, a, r) {
|
|
|
28567
28836
|
_: 1,
|
|
28568
28837
|
__: [0]
|
|
28569
28838
|
}, 8, ["onClick"]),
|
|
28570
|
-
l("div",
|
|
28571
|
-
|
|
28839
|
+
l("div", fn, y(Math.floor(a.zoom)), 1),
|
|
28840
|
+
h(s, {
|
|
28572
28841
|
"min-width": "32",
|
|
28573
28842
|
width: "32",
|
|
28574
28843
|
height: "32",
|
|
@@ -28585,19 +28854,19 @@ function en(t, e, o, i, a, r) {
|
|
|
28585
28854
|
], 4)
|
|
28586
28855
|
]);
|
|
28587
28856
|
}
|
|
28588
|
-
const
|
|
28857
|
+
const bn = /* @__PURE__ */ Z(pn, [["render", yn]]), Tn = {
|
|
28589
28858
|
install(t) {
|
|
28590
|
-
t.component("MapInitial",
|
|
28859
|
+
t.component("MapInitial", bn), t.component("MapboxGL", hn), t.component("TropicalGL", Va), t.component("LatLngGL", Ua), t.component("DateTimePicker", ro);
|
|
28591
28860
|
}
|
|
28592
28861
|
};
|
|
28593
28862
|
export {
|
|
28594
28863
|
ro as DateTimePicker,
|
|
28595
|
-
|
|
28596
|
-
|
|
28597
|
-
|
|
28598
|
-
|
|
28864
|
+
Ua as LatLngGL,
|
|
28865
|
+
bn as MapInitial,
|
|
28866
|
+
hn as MapboxGL,
|
|
28867
|
+
Tn as MapboxGLPlugin,
|
|
28599
28868
|
be as ParticleSchema,
|
|
28600
|
-
|
|
28869
|
+
Va as TropicalGL,
|
|
28601
28870
|
io as Viewport,
|
|
28602
28871
|
Ne as WebGL,
|
|
28603
28872
|
ce as WebGLSchema
|