@idmwx/idmui-gl4 3.5.4 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3VYIPD3A-49bcdae9.js → chunk-3VYIPD3A-169b1505.js} +1 -1
- package/dist/{chunk-ANSXOGKI-2a1efb54.js → chunk-ANSXOGKI-b209a90c.js} +1 -1
- package/dist/{chunk-T4JIPPZO-bf41723f.js → chunk-T4JIPPZO-8d452d84.js} +1 -1
- package/dist/{download-95b76cfa.js → download-b6376108.js} +3 -3
- package/dist/{index-e4fb215d.js → index-072c6099.js} +226 -278
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +3 -3
- package/dist/{rasterize-JS5G2XHH-aa42338c.js → rasterize-JS5G2XHH-65db591b.js} +3 -3
- package/dist/{toBlob-9ef5dbfe.js → toBlob-ee45412b.js} +3 -3
- package/dist/{toCanvas-f7170c51.js → toCanvas-5c78f5b9.js} +2 -2
- package/dist/{toImg-61cddd34.js → toImg-7b1d4fe2.js} +3 -3
- package/package.json +1 -1
|
@@ -15,13 +15,13 @@ import El from "@mapbox/sphericalmercator";
|
|
|
15
15
|
import { LayerHelper as Fl } from "@idm-plugin/tag";
|
|
16
16
|
import "shpjs";
|
|
17
17
|
import Gl from "gif.js";
|
|
18
|
-
import { AliOssSTSClient as
|
|
18
|
+
import { AliOssSTSClient as Bl } from "@idm-plugin/aliclient";
|
|
19
19
|
const ne = (t, e) => {
|
|
20
20
|
const o = t.__vccOpts || t;
|
|
21
21
|
for (const [i, a] of e)
|
|
22
22
|
o[i] = a;
|
|
23
23
|
return o;
|
|
24
|
-
},
|
|
24
|
+
}, jl = {
|
|
25
25
|
name: "IdmWarZone",
|
|
26
26
|
props: {
|
|
27
27
|
map: {
|
|
@@ -118,7 +118,7 @@ const ne = (t, e) => {
|
|
|
118
118
|
function Nl(t, e, o, i, a, l) {
|
|
119
119
|
return A(), R("div");
|
|
120
120
|
}
|
|
121
|
-
const Zl = /* @__PURE__ */ ne(
|
|
121
|
+
const Zl = /* @__PURE__ */ ne(jl, [["render", Nl]]), Wl = {
|
|
122
122
|
name: "IdmGmdssArea",
|
|
123
123
|
props: {
|
|
124
124
|
map: {
|
|
@@ -751,10 +751,10 @@ const ql = {
|
|
|
751
751
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
752
752
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
753
753
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
754
|
-
var c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
754
|
+
var c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze;
|
|
755
755
|
let l = {};
|
|
756
756
|
const r = ((c = Zo.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
|
|
757
|
-
l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((w = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : w.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (v = (k = r == null ? void 0 : r.weather) == null ? void 0 : k.wind) == null ? void 0 : v.direction, l.windLevel = this.computeRoundPrecision((L = (_ = r == null ? void 0 : r.weather) == null ? void 0 : _.wind) == null ? void 0 : L.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((z = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : z.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (
|
|
757
|
+
l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((w = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : w.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (v = (k = r == null ? void 0 : r.weather) == null ? void 0 : k.wind) == null ? void 0 : v.direction, l.windLevel = this.computeRoundPrecision((L = (_ = r == null ? void 0 : r.weather) == null ? void 0 : _.wind) == null ? void 0 : L.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((z = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : z.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((ae = (B = r == null ? void 0 : r.wave) == null ? void 0 : B.sig) == null ? void 0 : ae.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ie = r == null ? void 0 : r.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (xe = r == null ? void 0 : r.wave) == null ? void 0 : xe.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision((q = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : q.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (ee = r == null ? void 0 : r.wave) == null ? void 0 : ee.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (Q = r == null ? void 0 : r.wave) == null ? void 0 : Q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
|
|
758
758
|
});
|
|
759
759
|
},
|
|
760
760
|
handleTide() {
|
|
@@ -936,7 +936,7 @@ const ql = {
|
|
|
936
936
|
}, Cr = {
|
|
937
937
|
key: 0,
|
|
938
938
|
class: ""
|
|
939
|
-
}, Mr = { class: "px-1 text-center" }, Pr = ["src"], Sr = { key: 1 }, Tr = { class: "px-1 text-center" }, Rr = ["src"], Dr = { key: 1 }, Ir = { class: "px-1 text-center" }, Er = ["src"], Fr = { key: 1 }, Gr = { class: "px-1 text-center" },
|
|
939
|
+
}, Mr = { class: "px-1 text-center" }, Pr = ["src"], Sr = { key: 1 }, Tr = { class: "px-1 text-center" }, Rr = ["src"], Dr = { key: 1 }, Ir = { class: "px-1 text-center" }, Er = ["src"], Fr = { key: 1 }, Gr = { class: "px-1 text-center" }, Br = ["src"], jr = { key: 1 }, Nr = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, Zr = { class: "w-100 d-flex justify-space-between align-center py-2" }, Wr = { class: "d-flex justify-center align-center text-h6 ga-2" }, Vr = {
|
|
940
940
|
class: "multi-color-icon",
|
|
941
941
|
"aria-hidden": "true"
|
|
942
942
|
}, Xr = ["xlink:href"], Or = { class: "text-body-2 ga-2" }, Hr = {
|
|
@@ -1210,7 +1210,7 @@ function en(t, e, o, i, a, l) {
|
|
|
1210
1210
|
key: 0,
|
|
1211
1211
|
src: u == null ? void 0 : u.value3,
|
|
1212
1212
|
style: { height: "30px" }
|
|
1213
|
-
}, null, 8,
|
|
1213
|
+
}, null, 8, Br)) : (A(), R("span", jr, y((u == null ? void 0 : u.value3) ?? "-"), 1))
|
|
1214
1214
|
])
|
|
1215
1215
|
]))), 128))
|
|
1216
1216
|
])
|
|
@@ -2087,23 +2087,7 @@ const Tn = /* @__PURE__ */ ne(Pn, [["render", Sn]]), Rn = {
|
|
|
2087
2087
|
methods: {
|
|
2088
2088
|
handleRender() {
|
|
2089
2089
|
var t, e;
|
|
2090
|
-
(t = this.map) != null && t.getLayer(this.lineLayerId) && this.map.setLayoutProperty(this.lineLayerId, "visibility", "visible"), (e = this.map) != null && e.getLayer(this.labelLayerId) && (this.map.setLayoutProperty(this.labelLayerId, "visibility", "visible"), this.map.setLayoutProperty(
|
|
2091
|
-
this.labelLayerId,
|
|
2092
|
-
"text-field",
|
|
2093
|
-
this.locale === "en" ? [
|
|
2094
|
-
"concat",
|
|
2095
|
-
"[",
|
|
2096
|
-
["get", "nsr_zone"],
|
|
2097
|
-
"] ",
|
|
2098
|
-
["get", "name_en"]
|
|
2099
|
-
] : [
|
|
2100
|
-
"concat",
|
|
2101
|
-
"[",
|
|
2102
|
-
["get", "nsr_zone"],
|
|
2103
|
-
"] ",
|
|
2104
|
-
["get", "name_zh"]
|
|
2105
|
-
]
|
|
2106
|
-
));
|
|
2090
|
+
(t = this.map) != null && t.getLayer(this.lineLayerId) && this.map.setLayoutProperty(this.lineLayerId, "visibility", "visible"), (e = this.map) != null && e.getLayer(this.labelLayerId) && (this.map.setLayoutProperty(this.labelLayerId, "visibility", "visible"), this.map.setLayoutProperty(this.labelLayerId, "text-field", this.locale === "en" ? ["concat", ["get", "name_en"]] : ["concat", ["get", "name_zh"]]));
|
|
2107
2091
|
},
|
|
2108
2092
|
handleClear() {
|
|
2109
2093
|
var t, e;
|
|
@@ -2381,7 +2365,7 @@ const En = {
|
|
|
2381
2365
|
this.$emit("close");
|
|
2382
2366
|
}
|
|
2383
2367
|
}
|
|
2384
|
-
}, Fn = { class: "d-flex justify-space-between align-center" }, Gn = { class: "d-flex justify-start text-h5 my-2" },
|
|
2368
|
+
}, Fn = { class: "d-flex justify-space-between align-center" }, Gn = { class: "d-flex justify-start text-h5 my-2" }, Bn = { class: "d-flex justify-start align-center text-h6 text-label ga-3" }, jn = { class: "summary-box w-100" }, Nn = { class: "d-flex justify-space-between align-center py-2" }, Zn = { class: "d-flex justify-center align-center text-h6 ga-2" }, Wn = {
|
|
2385
2369
|
class: "multi-color-icon",
|
|
2386
2370
|
"aria-hidden": "true"
|
|
2387
2371
|
}, Vn = ["xlink:href"], Xn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, On = { class: "w-100 d-flex justify-start align-center" }, Hn = { class: "w-30 text-label font-weight-400" }, Yn = { class: "flex-1-1-0" }, Un = { class: "w-100 d-flex justify-start align-center" }, Jn = { class: "w-30 text-label font-weight-400" }, Kn = { class: "flex-1-1-0" }, Qn = { class: "w-100 d-flex justify-start align-center" }, qn = { class: "w-30 text-label font-weight-400" }, $n = { class: "flex-1-1-0" }, es = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, ts = { class: "w-100 d-flex justify-space-between align-center py-2" }, os = { class: "d-flex justify-center align-center text-h6 ga-2" }, as = {
|
|
@@ -2435,7 +2419,7 @@ function us(t, e, o, i, a, l) {
|
|
|
2435
2419
|
__: [1]
|
|
2436
2420
|
}, 8, ["onClick"])
|
|
2437
2421
|
]),
|
|
2438
|
-
n("div",
|
|
2422
|
+
n("div", Bn, [
|
|
2439
2423
|
n("div", null, y(t.$t("tide.tideStation")), 1)
|
|
2440
2424
|
])
|
|
2441
2425
|
];
|
|
@@ -2446,7 +2430,7 @@ function us(t, e, o, i, a, l) {
|
|
|
2446
2430
|
n("div", {
|
|
2447
2431
|
class: ue(["w-100 pt-0 pb-0 overflow-y-auto scroll", o.simple ? "px-3" : "px-5"])
|
|
2448
2432
|
}, [
|
|
2449
|
-
n("div",
|
|
2433
|
+
n("div", jn, [
|
|
2450
2434
|
n("div", Nn, [
|
|
2451
2435
|
n("div", Zn, [
|
|
2452
2436
|
(A(), R("svg", Wn, [
|
|
@@ -3210,8 +3194,8 @@ function Gs(t, e, o, i, a, l) {
|
|
|
3210
3194
|
[po, a.showInfo]
|
|
3211
3195
|
]);
|
|
3212
3196
|
}
|
|
3213
|
-
const
|
|
3214
|
-
const
|
|
3197
|
+
const Bs = /* @__PURE__ */ ne(Ds, [["render", Gs], ["__scopeId", "data-v-1de14e27"]]);
|
|
3198
|
+
const js = {
|
|
3215
3199
|
name: "IdmOtherLayerr",
|
|
3216
3200
|
components: {
|
|
3217
3201
|
IdmWarZone: Zl,
|
|
@@ -3232,7 +3216,7 @@ const Bs = {
|
|
|
3232
3216
|
IdmIceAreas: Ls,
|
|
3233
3217
|
IdmLatLng: dl,
|
|
3234
3218
|
IdmFollowPort: Rs,
|
|
3235
|
-
IdmFollowPosition:
|
|
3219
|
+
IdmFollowPosition: Bs
|
|
3236
3220
|
},
|
|
3237
3221
|
props: {
|
|
3238
3222
|
simple: {
|
|
@@ -3439,7 +3423,7 @@ const Bs = {
|
|
|
3439
3423
|
}, Js = { class: "text-body-2 text-center pt-2" };
|
|
3440
3424
|
function Ks(t, e, o, i, a, l) {
|
|
3441
3425
|
var be, E, q, ee, se, Q, Y, le, Z;
|
|
3442
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), w = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), k = M("IdmTimezone"), v = M("IdmAlertZone"), _ = M("IdmEcaZone"), L = M("IdmWarZone"), P = M("IdmGmdssArea"), z = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), G = M("IdmSpecialArea"),
|
|
3426
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), w = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), k = M("IdmTimezone"), v = M("IdmAlertZone"), _ = M("IdmEcaZone"), L = M("IdmWarZone"), P = M("IdmGmdssArea"), z = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), G = M("IdmSpecialArea"), j = M("IdmWorld12nm"), B = M("IdmChinaRoute"), ae = M("IdmIceAreas"), ie = M("IdmNsrAreas"), re = M("IdmFollowPort"), xe = M("IdmFollowPosition");
|
|
3443
3427
|
return A(), R("div", Ns, [
|
|
3444
3428
|
n("div", {
|
|
3445
3429
|
class: ue(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
@@ -3753,13 +3737,13 @@ function Ks(t, e, o, i, a, l) {
|
|
|
3753
3737
|
map: o.map,
|
|
3754
3738
|
area: (Z = a.otherLayers) == null ? void 0 : Z["special-area"]
|
|
3755
3739
|
}, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
|
|
3756
|
-
o.map ? (A(), F(
|
|
3740
|
+
o.map ? (A(), F(j, V({
|
|
3757
3741
|
key: 13,
|
|
3758
3742
|
map: o.map,
|
|
3759
3743
|
token: o.token,
|
|
3760
3744
|
show: a.checkList.includes("world12nm")
|
|
3761
3745
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
|
|
3762
|
-
o.map ? (A(), F(
|
|
3746
|
+
o.map ? (A(), F(B, V({
|
|
3763
3747
|
key: 14,
|
|
3764
3748
|
map: o.map,
|
|
3765
3749
|
token: o.token,
|
|
@@ -3797,7 +3781,7 @@ function Ks(t, e, o, i, a, l) {
|
|
|
3797
3781
|
}, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "real-time"])) : I("", !0)
|
|
3798
3782
|
]);
|
|
3799
3783
|
}
|
|
3800
|
-
const Qs = /* @__PURE__ */ ne(
|
|
3784
|
+
const Qs = /* @__PURE__ */ ne(js, [["render", Ks]]);
|
|
3801
3785
|
class ua {
|
|
3802
3786
|
constructor(e) {
|
|
3803
3787
|
ke(this, "map");
|
|
@@ -5848,8 +5832,8 @@ function Gc(t, e, o, i, a, l) {
|
|
|
5848
5832
|
]), 4)
|
|
5849
5833
|
])) : I("", !0);
|
|
5850
5834
|
}
|
|
5851
|
-
const
|
|
5852
|
-
const
|
|
5835
|
+
const Bc = /* @__PURE__ */ ne(Ec, [["render", Gc]]);
|
|
5836
|
+
const jc = {
|
|
5853
5837
|
name: "IdmPrecip3h",
|
|
5854
5838
|
props: {
|
|
5855
5839
|
simple: {
|
|
@@ -5969,7 +5953,7 @@ function Zc(t, e, o, i, a, l) {
|
|
|
5969
5953
|
]), 4)
|
|
5970
5954
|
])) : I("", !0);
|
|
5971
5955
|
}
|
|
5972
|
-
const Wc = /* @__PURE__ */ ne(
|
|
5956
|
+
const Wc = /* @__PURE__ */ ne(jc, [["render", Zc]]);
|
|
5973
5957
|
const Vc = {
|
|
5974
5958
|
name: "IdmVisibility",
|
|
5975
5959
|
props: {
|
|
@@ -6329,7 +6313,7 @@ const tm = {
|
|
|
6329
6313
|
IdmPrmsl: _c,
|
|
6330
6314
|
IdmIceEdge: Sc,
|
|
6331
6315
|
IdmIceCover: Ic,
|
|
6332
|
-
IdmIceThickness:
|
|
6316
|
+
IdmIceThickness: Bc,
|
|
6333
6317
|
IdmPrecip3h: Wc,
|
|
6334
6318
|
IdmVisibility: Hc,
|
|
6335
6319
|
IdmWaterTemp: Kc,
|
|
@@ -6660,12 +6644,12 @@ const tm = {
|
|
|
6660
6644
|
);
|
|
6661
6645
|
const L = await Promise.all(_);
|
|
6662
6646
|
this.weatherLayers = {}, L.map((P) => {
|
|
6663
|
-
var T, G,
|
|
6647
|
+
var T, G, j, B;
|
|
6664
6648
|
const z = ((T = P == null ? void 0 : P.data) == null ? void 0 : T.data) || (P == null ? void 0 : P.data);
|
|
6665
|
-
let D = (
|
|
6649
|
+
let D = (j = (G = P == null ? void 0 : P.config) == null ? void 0 : G.headers) == null ? void 0 : j.key;
|
|
6666
6650
|
D && z && (this.weatherLayers[D] = {
|
|
6667
6651
|
raw: z,
|
|
6668
|
-
type: ((
|
|
6652
|
+
type: ((B = P == null ? void 0 : P.config) == null ? void 0 : B.responseType) === "blob" ? "image" : "json",
|
|
6669
6653
|
etime: k.data.etime
|
|
6670
6654
|
});
|
|
6671
6655
|
});
|
|
@@ -6761,35 +6745,35 @@ const tm = {
|
|
|
6761
6745
|
if (L > w && L < u && (!(i <= this.zoom) || L % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6762
6746
|
const P = v[L].lng;
|
|
6763
6747
|
p > g ? P.forEach((z, D) => {
|
|
6764
|
-
var T, G,
|
|
6748
|
+
var T, G, j, B, ae, ie;
|
|
6765
6749
|
if (i < 2) {
|
|
6766
6750
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
6767
6751
|
const re = W.point([z, L], {
|
|
6768
6752
|
val: ((T = v[L].val) == null ? void 0 : T[D]) || ((G = v[L].dir) == null ? void 0 : G[D]),
|
|
6769
|
-
spd: (
|
|
6753
|
+
spd: (j = v[L].spd) == null ? void 0 : j[D]
|
|
6770
6754
|
});
|
|
6771
6755
|
k.push(re);
|
|
6772
6756
|
}
|
|
6773
6757
|
} else if ((z >= p && z <= 180 || z >= -180 && z <= g) && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6774
6758
|
const re = W.point([z, L], {
|
|
6775
|
-
val: ((
|
|
6759
|
+
val: ((B = v[L].val) == null ? void 0 : B[D]) || ((ae = v[L].dir) == null ? void 0 : ae[D]),
|
|
6776
6760
|
spd: (ie = v[L].spd) == null ? void 0 : ie[D]
|
|
6777
6761
|
});
|
|
6778
6762
|
k.push(re);
|
|
6779
6763
|
}
|
|
6780
6764
|
}) : P.forEach((z, D) => {
|
|
6781
|
-
var T, G,
|
|
6765
|
+
var T, G, j, B, ae, ie;
|
|
6782
6766
|
if (p < 2) {
|
|
6783
6767
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
6784
6768
|
const re = W.point([z, L], {
|
|
6785
6769
|
val: ((T = v[L].val) == null ? void 0 : T[D]) || ((G = v[L].dir) == null ? void 0 : G[D]),
|
|
6786
|
-
spd: (
|
|
6770
|
+
spd: (j = v[L].spd) == null ? void 0 : j[D]
|
|
6787
6771
|
});
|
|
6788
6772
|
k.push(re);
|
|
6789
6773
|
}
|
|
6790
6774
|
} else if (z >= p && z <= g && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6791
6775
|
const re = W.point([z, L], {
|
|
6792
|
-
val: ((
|
|
6776
|
+
val: ((B = v[L].val) == null ? void 0 : B[D]) || ((ae = v[L].dir) == null ? void 0 : ae[D]),
|
|
6793
6777
|
spd: (ie = v[L].spd) == null ? void 0 : ie[D]
|
|
6794
6778
|
});
|
|
6795
6779
|
k.push(re);
|
|
@@ -6825,35 +6809,35 @@ const tm = {
|
|
|
6825
6809
|
if (L > w && L < u && (!(i <= this.zoom) || L % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6826
6810
|
const P = v[L].lng;
|
|
6827
6811
|
p > g ? P.forEach((z, D) => {
|
|
6828
|
-
var T, G,
|
|
6812
|
+
var T, G, j, B, ae, ie;
|
|
6829
6813
|
if (i < 2) {
|
|
6830
6814
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
6831
6815
|
const re = W.point([z, L], {
|
|
6832
6816
|
val: ((T = v[L].val) == null ? void 0 : T[D]) || ((G = v[L].dir) == null ? void 0 : G[D]),
|
|
6833
|
-
spd: (
|
|
6817
|
+
spd: (j = v[L].spd) == null ? void 0 : j[D]
|
|
6834
6818
|
});
|
|
6835
6819
|
k.push(re);
|
|
6836
6820
|
}
|
|
6837
6821
|
} else if ((z >= p && z <= 180 || z >= -180 && z <= g) && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6838
6822
|
const re = W.point([z, L], {
|
|
6839
|
-
val: ((
|
|
6823
|
+
val: ((B = v[L].val) == null ? void 0 : B[D]) || ((ae = v[L].dir) == null ? void 0 : ae[D]),
|
|
6840
6824
|
spd: (ie = v[L].spd) == null ? void 0 : ie[D]
|
|
6841
6825
|
});
|
|
6842
6826
|
k.push(re);
|
|
6843
6827
|
}
|
|
6844
6828
|
}) : P.forEach((z, D) => {
|
|
6845
|
-
var T, G,
|
|
6829
|
+
var T, G, j, B, ae, ie;
|
|
6846
6830
|
if (p < 2) {
|
|
6847
6831
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
6848
6832
|
const re = W.point([z, L], {
|
|
6849
6833
|
val: ((T = v[L].val) == null ? void 0 : T[D]) || ((G = v[L].dir) == null ? void 0 : G[D]),
|
|
6850
|
-
spd: (
|
|
6834
|
+
spd: (j = v[L].spd) == null ? void 0 : j[D]
|
|
6851
6835
|
});
|
|
6852
6836
|
k.push(re);
|
|
6853
6837
|
}
|
|
6854
6838
|
} else if (z >= p && z <= g && (!(i <= this.zoom) || z % (i < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
6855
6839
|
const re = W.point([z, L], {
|
|
6856
|
-
val: ((
|
|
6840
|
+
val: ((B = v[L].val) == null ? void 0 : B[D]) || ((ae = v[L].dir) == null ? void 0 : ae[D]),
|
|
6857
6841
|
spd: (ie = v[L].spd) == null ? void 0 : ie[D]
|
|
6858
6842
|
});
|
|
6859
6843
|
k.push(re);
|
|
@@ -6886,38 +6870,38 @@ const tm = {
|
|
|
6886
6870
|
if (_ > w && _ < u && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6887
6871
|
const L = v[_].lng;
|
|
6888
6872
|
p > g ? L.forEach((P, z) => {
|
|
6889
|
-
var D, T, G,
|
|
6873
|
+
var D, T, G, j;
|
|
6890
6874
|
if (i < 2) {
|
|
6891
6875
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6892
|
-
const
|
|
6876
|
+
const B = W.point([P, _], {
|
|
6893
6877
|
dir: ((D = v[_].val) == null ? void 0 : D[z]) || ((T = v[_].dir) == null ? void 0 : T[z]),
|
|
6894
6878
|
spd: v[_].spd[z]
|
|
6895
6879
|
});
|
|
6896
|
-
k.push(
|
|
6880
|
+
k.push(B);
|
|
6897
6881
|
}
|
|
6898
6882
|
} else if ((P >= p && P <= 180 || P >= -180 && P <= g) && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6899
|
-
const
|
|
6900
|
-
dir: ((G = v[_].val) == null ? void 0 : G[z]) || ((
|
|
6883
|
+
const B = W.point([P, _], {
|
|
6884
|
+
dir: ((G = v[_].val) == null ? void 0 : G[z]) || ((j = v[_].dir) == null ? void 0 : j[z]),
|
|
6901
6885
|
spd: v[_].spd[z]
|
|
6902
6886
|
});
|
|
6903
|
-
k.push(
|
|
6887
|
+
k.push(B);
|
|
6904
6888
|
}
|
|
6905
6889
|
}) : L.forEach((P, z) => {
|
|
6906
|
-
var D, T, G,
|
|
6890
|
+
var D, T, G, j;
|
|
6907
6891
|
if (i < 2) {
|
|
6908
6892
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6909
|
-
const
|
|
6893
|
+
const B = W.point([P, _], {
|
|
6910
6894
|
dir: ((D = v[_].val) == null ? void 0 : D[z]) || ((T = v[_].dir) == null ? void 0 : T[z]),
|
|
6911
6895
|
spd: v[_].spd[z]
|
|
6912
6896
|
});
|
|
6913
|
-
k.push(
|
|
6897
|
+
k.push(B);
|
|
6914
6898
|
}
|
|
6915
6899
|
} else if (P >= p && P <= g && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6916
|
-
const
|
|
6917
|
-
dir: ((G = v[_].val) == null ? void 0 : G[z]) || ((
|
|
6900
|
+
const B = W.point([P, _], {
|
|
6901
|
+
dir: ((G = v[_].val) == null ? void 0 : G[z]) || ((j = v[_].dir) == null ? void 0 : j[z]),
|
|
6918
6902
|
spd: v[_].spd[z]
|
|
6919
6903
|
});
|
|
6920
|
-
k.push(
|
|
6904
|
+
k.push(B);
|
|
6921
6905
|
}
|
|
6922
6906
|
});
|
|
6923
6907
|
}
|
|
@@ -7036,10 +7020,10 @@ const tm = {
|
|
|
7036
7020
|
}, wm = {
|
|
7037
7021
|
key: 1,
|
|
7038
7022
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7039
|
-
}, xm = { class: "text-body-1 py-2" }, vm = { class: "text-body-1 font-weight-medium" }, Am = { class: "text-body-2 text-label" }, km = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label mb-3" }, zm = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, Cm = { class: "text-body-2 text-label" }, Mm = { class: "text-body-2 text-label mb-3" }, Pm = { class: "text-body-1 py-2" }, Sm = { class: "text-body-1 font-weight-medium" }, Tm = { class: "text-body-2 text-label" }, Rm = { class: "text-body-2 text-label" }, Dm = { class: "text-body-2 text-label mb-3" }, Im = { class: "text-body-1 font-weight-medium" }, Em = { class: "text-body-2 text-label" }, Fm = { class: "text-body-2 text-label" }, Gm = { class: "text-body-2 text-label mb-3" },
|
|
7023
|
+
}, xm = { class: "text-body-1 py-2" }, vm = { class: "text-body-1 font-weight-medium" }, Am = { class: "text-body-2 text-label" }, km = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label mb-3" }, zm = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, Cm = { class: "text-body-2 text-label" }, Mm = { class: "text-body-2 text-label mb-3" }, Pm = { class: "text-body-1 py-2" }, Sm = { class: "text-body-1 font-weight-medium" }, Tm = { class: "text-body-2 text-label" }, Rm = { class: "text-body-2 text-label" }, Dm = { class: "text-body-2 text-label mb-3" }, Im = { class: "text-body-1 font-weight-medium" }, Em = { class: "text-body-2 text-label" }, Fm = { class: "text-body-2 text-label" }, Gm = { class: "text-body-2 text-label mb-3" }, Bm = { class: "text-body-1 py-2" }, jm = { class: "text-body-1 font-weight-medium" }, Nm = { class: "text-body-2 text-label" }, Zm = { class: "text-body-2 text-label" }, Wm = { class: "text-body-2 text-label mb-3" };
|
|
7040
7024
|
function Vm(t, e, o, i, a, l) {
|
|
7041
7025
|
var be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze, he, Ae;
|
|
7042
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), w = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), k = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), _ = M("IdmCurrentDirection"), L = M("IdmPrmsl"), P = M("IdmWindParticle"), z = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), G = M("IdmIceEdge"),
|
|
7026
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), w = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), k = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), _ = M("IdmCurrentDirection"), L = M("IdmPrmsl"), P = M("IdmWindParticle"), z = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), G = M("IdmIceEdge"), j = M("IdmIceCover"), B = M("IdmIceThickness"), ae = M("IdmPrecip3h"), ie = M("IdmVisibility"), re = M("IdmWaterTemp"), xe = M("IdmTemp");
|
|
7043
7027
|
return A(), R("div", om, [
|
|
7044
7028
|
n("div", {
|
|
7045
7029
|
class: "menu-bar-box transition pa-1",
|
|
@@ -7483,10 +7467,10 @@ function Vm(t, e, o, i, a, l) {
|
|
|
7483
7467
|
}),
|
|
7484
7468
|
b(s, { class: "" }, {
|
|
7485
7469
|
default: x(() => {
|
|
7486
|
-
var $, we, Ee, Fe, $e, et, Je,
|
|
7470
|
+
var $, we, Ee, Fe, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Ge, oe, te, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
|
|
7487
7471
|
return [
|
|
7488
7472
|
n("div", xm, y(t.$t("weather.atmospheric")), 1),
|
|
7489
|
-
n("div", vm, y((Ee = (we = ($ = a.models) == null ? void 0 : $.weather) == null ? void 0 : we.NOAA) == null ? void 0 : Ee.source) + " " + y((et = ($e = (Fe = a.models) == null ? void 0 : Fe.weather) == null ? void 0 : $e.NOAA) == null ? void 0 : et.spatialResolution) + y(t.$t("units.km")) + " " + y((Oe = (tt = (
|
|
7473
|
+
n("div", vm, y((Ee = (we = ($ = a.models) == null ? void 0 : $.weather) == null ? void 0 : we.NOAA) == null ? void 0 : Ee.source) + " " + y((et = ($e = (Fe = a.models) == null ? void 0 : Fe.weather) == null ? void 0 : $e.NOAA) == null ? void 0 : et.spatialResolution) + y(t.$t("units.km")) + " " + y((Oe = (tt = (je = (Je = a.models) == null ? void 0 : Je.weather) == null ? void 0 : je.NOAA) == null ? void 0 : tt.meta) == null ? void 0 : Oe.days) + y(t.$t("units.days")), 1),
|
|
7490
7474
|
n("div", Am, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
7491
7475
|
n("div", km, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((at = (ot = (Ke = (He = a.models) == null ? void 0 : He.weather) == null ? void 0 : Ke.NOAA) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
|
|
7492
7476
|
n("div", Lm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Ne = (Re = (Te = (Qe = a.models) == null ? void 0 : Qe.weather) == null ? void 0 : Te.NOAA) == null ? void 0 : Re.meta) == null ? void 0 : Ne.initialisationTime)), 1),
|
|
@@ -7496,17 +7480,17 @@ function Vm(t, e, o, i, a, l) {
|
|
|
7496
7480
|
n("div", Mm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Tt = (St = (Pt = (Mt = a.models) == null ? void 0 : Mt.weather) == null ? void 0 : Pt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.initialisationTime)), 1),
|
|
7497
7481
|
b(d),
|
|
7498
7482
|
n("div", Pm, y(t.$t("weather.wave")), 1),
|
|
7499
|
-
n("div", Sm, y((Et = (It = (Dt = (Rt = a.models) == null ? void 0 : Rt.marine) == null ? void 0 : Dt.wave) == null ? void 0 : It.NOAA) == null ? void 0 : Et.source) + " " + y((
|
|
7483
|
+
n("div", Sm, y((Et = (It = (Dt = (Rt = a.models) == null ? void 0 : Rt.marine) == null ? void 0 : Dt.wave) == null ? void 0 : It.NOAA) == null ? void 0 : Et.source) + " " + y((jt = (Bt = (Gt = (Ft = a.models) == null ? void 0 : Ft.marine) == null ? void 0 : Gt.wave) == null ? void 0 : Bt.NOAA) == null ? void 0 : jt.spatialResolution) + y(t.$t("units.km")) + " " + y((Xt = (Vt = (Wt = (Zt = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Zt.wave) == null ? void 0 : Wt.NOAA) == null ? void 0 : Vt.meta) == null ? void 0 : Xt.days) + y(t.$t("units.days")), 1),
|
|
7500
7484
|
n("div", Tm, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
7501
7485
|
n("div", Rm, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Jt = (Ut = (Yt = (Ht = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Ht.wave) == null ? void 0 : Yt.NOAA) == null ? void 0 : Ut.meta) == null ? void 0 : Jt.availabilityTime)), 1),
|
|
7502
7486
|
n("div", Dm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((eo = ($t = (qt = (Qt = (Kt = a.models) == null ? void 0 : Kt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : qt.NOAA) == null ? void 0 : $t.meta) == null ? void 0 : eo.initialisationTime)), 1),
|
|
7503
7487
|
n("div", Im, y((Ye = (Xe = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.wave) == null ? void 0 : Xe.ECMWF) == null ? void 0 : Ye.source) + " " + y((gt = (io = (nt = (ao = a.models) == null ? void 0 : ao.marine) == null ? void 0 : nt.wave) == null ? void 0 : io.ECMWF) == null ? void 0 : gt.spatialResolution) + y(t.$t("units.km")) + " " + y((oe = (Ge = (de = (st = (De = a.models) == null ? void 0 : De.marine) == null ? void 0 : st.wave) == null ? void 0 : de.ECMWF) == null ? void 0 : Ge.meta) == null ? void 0 : oe.days) + y(t.$t("units.days")), 1),
|
|
7504
7488
|
n("div", Em, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7505
7489
|
n("div", Fm, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((J = (We = (qe = (ct = (te = a.models) == null ? void 0 : te.marine) == null ? void 0 : ct.wave) == null ? void 0 : qe.ECMWF) == null ? void 0 : We.meta) == null ? void 0 : J.availabilityTime)), 1),
|
|
7506
|
-
n("div", Gm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((ft = (mt = (
|
|
7490
|
+
n("div", Gm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((ft = (mt = (Be = (ce = (lo = a.models) == null ? void 0 : lo.marine) == null ? void 0 : ce.wave) == null ? void 0 : Be.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
7507
7491
|
b(d),
|
|
7508
|
-
n("div",
|
|
7509
|
-
n("div",
|
|
7492
|
+
n("div", Bm, y(t.$t("weather.currents")), 1),
|
|
7493
|
+
n("div", jm, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (vo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : vo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
|
|
7510
7494
|
n("div", Nm, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7511
7495
|
n("div", Zm, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Po = (Mo = (Co = (_o = (zo = a.models) == null ? void 0 : zo.marine) == null ? void 0 : _o.current) == null ? void 0 : Co.ECMWF) == null ? void 0 : Mo.meta) == null ? void 0 : Po.availabilityTime)), 1),
|
|
7512
7496
|
n("div", Wm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Io = (Do = (Ro = (To = (So = a.models) == null ? void 0 : So.marine) == null ? void 0 : To.current) == null ? void 0 : Ro.ECMWF) == null ? void 0 : Do.meta) == null ? void 0 : Io.initialisationTime)), 1)
|
|
@@ -7589,14 +7573,14 @@ function Vm(t, e, o, i, a, l) {
|
|
|
7589
7573
|
"menu-toggle": o.menuToggle,
|
|
7590
7574
|
simple: o.simple
|
|
7591
7575
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7592
|
-
o.map ? (A(), F(
|
|
7576
|
+
o.map ? (A(), F(j, V({
|
|
7593
7577
|
key: 10,
|
|
7594
7578
|
viewport: a.viewport,
|
|
7595
7579
|
factor: (U = a.weatherLayers) == null ? void 0 : U["ice-cover"],
|
|
7596
7580
|
"menu-toggle": o.menuToggle,
|
|
7597
7581
|
simple: o.simple
|
|
7598
7582
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7599
|
-
o.map ? (A(), F(
|
|
7583
|
+
o.map ? (A(), F(B, V({
|
|
7600
7584
|
key: 11,
|
|
7601
7585
|
viewport: a.viewport,
|
|
7602
7586
|
factor: (fe = a.weatherLayers) == null ? void 0 : fe["ice-thickness"],
|
|
@@ -7984,13 +7968,13 @@ let Vi = class {
|
|
|
7984
7968
|
}), a;
|
|
7985
7969
|
}
|
|
7986
7970
|
static pickHourly(e, o) {
|
|
7987
|
-
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
7971
|
+
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze, he, Ae, $, we, Ee, Fe, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
|
|
7988
7972
|
const de = typeof o == "string" ? S(o) : o;
|
|
7989
7973
|
let Ge = de.clone();
|
|
7990
7974
|
const oe = e == null ? void 0 : e.weather, te = e == null ? void 0 : e.marine, ct = ((a = (i = oe == null ? void 0 : oe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = te == null ? void 0 : te[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = oe == null ? void 0 : oe[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = te == null ? void 0 : te[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (w = oe == null ? void 0 : oe[0]) == null ? void 0 : w.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((v = (k = (f = te == null ? void 0 : te[0]) == null ? void 0 : f.hourly) == null ? void 0 : k.time) == null ? void 0 : v.at(-1)), "h"), lo = [];
|
|
7991
7975
|
Ge = Ge.isBefore(We) ? We.clone() : Ge, Ge = Ge.isAfter(J) ? J.clone() : Ge;
|
|
7992
7976
|
const ce = Ge.utc().diff(We, "h", !1);
|
|
7993
|
-
let
|
|
7977
|
+
let Be, mt;
|
|
7994
7978
|
if (oe != null && oe.length) {
|
|
7995
7979
|
let ft = 0, yt = 0, X = 0;
|
|
7996
7980
|
for (const dt of oe) {
|
|
@@ -8002,8 +7986,8 @@ let Vi = class {
|
|
|
8002
7986
|
for (let ye = ce - (ce - 1) % 12; ye <= ce; ye++)
|
|
8003
7987
|
X += ((P = K == null ? void 0 : K.precipitation) == null ? void 0 : P.at(ye)) ?? 0;
|
|
8004
7988
|
const ht = ((z = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : z.at(ce)) ?? ((T = (D = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : D.filter((ye) => ye !== null)) == null ? void 0 : T.at(-1));
|
|
8005
|
-
|
|
8006
|
-
temp: ((G = K == null ? void 0 : K.temperature_2m) == null ? void 0 : G.at(ce)) ?? ((
|
|
7989
|
+
Be = {
|
|
7990
|
+
temp: ((G = K == null ? void 0 : K.temperature_2m) == null ? void 0 : G.at(ce)) ?? ((B = (j = K == null ? void 0 : K.temperature_2m) == null ? void 0 : j.filter((ye) => ye !== null)) == null ? void 0 : B.at(-1)),
|
|
8007
7991
|
apparentTemp: ((ae = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ae.at(ce)) ?? ((re = (ie = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ie.filter((ye) => ye !== null)) == null ? void 0 : re.at(-1)),
|
|
8008
7992
|
rh: ((xe = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : xe.at(ce)) ?? ((E = (be = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
|
|
8009
7993
|
dp: ((q = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : q.at(ce)) ?? ((se = (ee = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : ee.filter((ye) => ye !== null)) == null ? void 0 : se.at(-1)),
|
|
@@ -8020,7 +8004,7 @@ let Vi = class {
|
|
|
8020
8004
|
code: ((Ae = K == null ? void 0 : K.weather_code) == null ? void 0 : Ae.at(ce)) ?? ((we = ($ = K == null ? void 0 : K.weather_code) == null ? void 0 : $.filter((ye) => ye !== null)) == null ? void 0 : we.at(-1)),
|
|
8021
8005
|
visibility: this.m2nm(((Ee = K == null ? void 0 : K.visibility) == null ? void 0 : Ee.at(ce)) ?? (($e = (Fe = K == null ? void 0 : K.visibility) == null ? void 0 : Fe.filter((ye) => ye !== null)) == null ? void 0 : $e.at(-1))),
|
|
8022
8006
|
wind: {
|
|
8023
|
-
speed: ((et = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((
|
|
8007
|
+
speed: ((et = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((je = (Je = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : Je.filter((ye) => ye !== null)) == null ? void 0 : je.at(-1)),
|
|
8024
8008
|
kts: ((tt = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : tt.at(ce)) ?? ((He = (Oe = K == null ? void 0 : K.wind_speed_10m) == null ? void 0 : Oe.filter((ye) => ye !== null)) == null ? void 0 : He.at(-1)),
|
|
8025
8009
|
degree: ht,
|
|
8026
8010
|
bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
|
|
@@ -8028,12 +8012,12 @@ let Vi = class {
|
|
|
8028
8012
|
},
|
|
8029
8013
|
isDay: (Qe = K == null ? void 0 : K.is_day) == null ? void 0 : Qe.at(ce)
|
|
8030
8014
|
};
|
|
8031
|
-
const { name: no, url: pe, bg: go } = this.parseWeatherCode(
|
|
8032
|
-
|
|
8015
|
+
const { name: no, url: pe, bg: go } = this.parseWeatherCode(Be.code, Be.isDay);
|
|
8016
|
+
Be.name = no, Be.url = pe, Be.bg = go, Be.wind.scale = this.beaufort(this.kts2ms(Be.wind.kts)), Be.wind.direction = this.degree2Direction(Be.wind.degree), lo.push({
|
|
8033
8017
|
utc: de.utc().format(),
|
|
8034
8018
|
realUTC: We.add(ce, "h").format(),
|
|
8035
8019
|
model: dt.model,
|
|
8036
|
-
weather: { ...
|
|
8020
|
+
weather: { ...Be }
|
|
8037
8021
|
});
|
|
8038
8022
|
}
|
|
8039
8023
|
}
|
|
@@ -8057,7 +8041,7 @@ let Vi = class {
|
|
|
8057
8041
|
peakPeriod: ((Et = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Et.at(ce)) ?? ((Gt = (Ft = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Ft.filter((pe) => pe !== null)) == null ? void 0 : Gt.at(-1))
|
|
8058
8042
|
},
|
|
8059
8043
|
wd: {
|
|
8060
|
-
height: ((
|
|
8044
|
+
height: ((Bt = X == null ? void 0 : X.wind_wave_height) == null ? void 0 : Bt.at(ce)) ?? ((Nt = (jt = X == null ? void 0 : X.wind_wave_height) == null ? void 0 : jt.filter((pe) => pe !== null)) == null ? void 0 : Nt.at(-1)),
|
|
8061
8045
|
degree: ht,
|
|
8062
8046
|
bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
|
|
8063
8047
|
period: ((Zt = X == null ? void 0 : X.wind_wave_period) == null ? void 0 : Zt.at(ce)) ?? ((Vt = (Wt = X == null ? void 0 : X.wind_wave_period) == null ? void 0 : Wt.filter((pe) => pe !== null)) == null ? void 0 : Vt.at(-1)),
|
|
@@ -8076,7 +8060,7 @@ let Vi = class {
|
|
|
8076
8060
|
sit: ((ao = X == null ? void 0 : X.sea_ice_thickness) == null ? void 0 : ao.at(ce)) ?? ((io = (nt = X == null ? void 0 : X.sea_ice_thickness) == null ? void 0 : nt.filter((pe) => pe !== null)) == null ? void 0 : io.at(-1)),
|
|
8077
8061
|
sic: ((gt = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : gt.at(ce)) ?? ((st = (De = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : De.filter((pe) => pe !== null)) == null ? void 0 : st.at(-1))
|
|
8078
8062
|
}
|
|
8079
|
-
}, mt.wave = this.parseWave(mt.wave,
|
|
8063
|
+
}, mt.wave = this.parseWave(mt.wave, Be == null ? void 0 : Be.wind), mt.current.direction = this.degree2Direction(mt.current.degree), lo[ft] ? Object.assign(lo[ft], mt) : lo.push({
|
|
8080
8064
|
utc: de.utc().format(),
|
|
8081
8065
|
realUTC: We.add(ce, "h").format(),
|
|
8082
8066
|
model: yt.model,
|
|
@@ -8110,7 +8094,7 @@ let Vi = class {
|
|
|
8110
8094
|
};
|
|
8111
8095
|
}
|
|
8112
8096
|
static pickDaily(e, o) {
|
|
8113
|
-
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
8097
|
+
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze, he, Ae, $, we, Ee, Fe, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
|
|
8114
8098
|
const oo = typeof o == "string" ? S(o) : o;
|
|
8115
8099
|
let Xe = oo.clone();
|
|
8116
8100
|
const Ye = e == null ? void 0 : e.weather, ao = e == null ? void 0 : e.marine, nt = S((l = (a = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : l.at(0)), io = S((s = (c = (r = Ye == null ? void 0 : Ye[0]) == null ? void 0 : r.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), gt = [];
|
|
@@ -8128,8 +8112,8 @@ let Vi = class {
|
|
|
8128
8112
|
mean: ((P = oe.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (z = oe.temperature_2m_mean) == null ? void 0 : z.filter((J) => J !== null)) == null ? void 0 : D.at(-1))
|
|
8129
8113
|
},
|
|
8130
8114
|
apparentTemp: {
|
|
8131
|
-
max: ((T = oe.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((
|
|
8132
|
-
min: ((
|
|
8115
|
+
max: ((T = oe.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (G = oe.apparent_temperature_max) == null ? void 0 : G.filter((J) => J !== null)) == null ? void 0 : j.at(-1)),
|
|
8116
|
+
min: ((B = oe.apparent_temperature_min) == null ? void 0 : B.at(de)) ?? ((ie = (ae = oe.apparent_temperature_min) == null ? void 0 : ae.filter((J) => J !== null)) == null ? void 0 : ie.at(-1))
|
|
8133
8117
|
},
|
|
8134
8118
|
precip: {
|
|
8135
8119
|
sum: ((re = oe.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (xe = oe.precipitation_sum) == null ? void 0 : xe.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
|
|
@@ -8145,7 +8129,7 @@ let Vi = class {
|
|
|
8145
8129
|
mean: ((Fe = oe.relative_humidity_2m_mean) == null ? void 0 : Fe.at(de)) ?? ((et = ($e = oe.relative_humidity_2m_mean) == null ? void 0 : $e.filter((J) => J !== null)) == null ? void 0 : et.at(-1))
|
|
8146
8130
|
},
|
|
8147
8131
|
wind: {
|
|
8148
|
-
speed: ((Je = oe.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (
|
|
8132
|
+
speed: ((Je = oe.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (je = oe.wind_speed_10m_max) == null ? void 0 : je.filter((J) => J !== null)) == null ? void 0 : tt.at(-1)),
|
|
8149
8133
|
kts: ((Oe = oe.wind_speed_10m_max) == null ? void 0 : Oe.at(de)) ?? ((Ke = (He = oe.wind_speed_10m_max) == null ? void 0 : He.filter((J) => J !== null)) == null ? void 0 : Ke.at(-1)),
|
|
8150
8134
|
degree: te,
|
|
8151
8135
|
gusts: ((ot = oe.wind_gusts_10m_max) == null ? void 0 : ot.at(de)) ?? ((Qe = (at = oe.wind_gusts_10m_max) == null ? void 0 : at.filter((J) => J !== null)) == null ? void 0 : Qe.at(-1)),
|
|
@@ -8179,7 +8163,7 @@ let Vi = class {
|
|
|
8179
8163
|
bearing: ct !== null ? Math.round((ct + 180) % 360) : null
|
|
8180
8164
|
},
|
|
8181
8165
|
swell: {
|
|
8182
|
-
height: ((
|
|
8166
|
+
height: ((Bt = te == null ? void 0 : te.swell_wave_height_max) == null ? void 0 : Bt.at(de)) ?? ((Nt = (jt = te == null ? void 0 : te.swell_wave_height_max) == null ? void 0 : jt.filter((J) => J !== null)) == null ? void 0 : Nt.at(-1)),
|
|
8183
8167
|
degree: qe,
|
|
8184
8168
|
period: ((Zt = te == null ? void 0 : te.swell_wave_period_max) == null ? void 0 : Zt.at(de)) ?? ((Vt = (Wt = te == null ? void 0 : te.swell_wave_period_max) == null ? void 0 : Wt.filter((J) => J !== null)) == null ? void 0 : Vt.at(-1)),
|
|
8185
8169
|
peakPeriod: ((Xt = te == null ? void 0 : te.swell_wave_peak_period_max) == null ? void 0 : Xt.at(de)) ?? ((Ht = (Ot = te == null ? void 0 : te.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((J) => J !== null)) == null ? void 0 : Ht.at(-1)),
|
|
@@ -9121,7 +9105,7 @@ const Om = {
|
|
|
9121
9105
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
9122
9106
|
},
|
|
9123
9107
|
handleDateChange() {
|
|
9124
|
-
var t, e, o, i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
9108
|
+
var t, e, o, i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q;
|
|
9125
9109
|
if ((t = this.interpolateMarkers) == null || t.forEach((ee) => ee == null ? void 0 : ee.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
9126
9110
|
const ee = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((Z) => Z.properties.date === (ee == null ? void 0 : ee.format()) && !Z.properties.disabled), Q = this.handleComputePolygons(se), Y = W.featureCollection([...se]);
|
|
9127
9111
|
Q.forEach((Z) => {
|
|
@@ -9165,7 +9149,7 @@ const Om = {
|
|
|
9165
9149
|
Z.properties.nameCn = he, Z.properties.Name = ((m = (d = Z.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (Ae) => Ae.toUpperCase())) || Z.properties.nameCn, le.push(Z);
|
|
9166
9150
|
}
|
|
9167
9151
|
let U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9168
|
-
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (w = Z.properties) == null ? void 0 : w.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((v = (k = Z.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((L = (_ = Z.properties) == null ? void 0 : _.wind) == null ? void 0 : L.kts) >= 47 && ((z = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : z.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((
|
|
9152
|
+
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (w = Z.properties) == null ? void 0 : w.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((v = (k = Z.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((L = (_ = Z.properties) == null ? void 0 : _.wind) == null ? void 0 : L.kts) >= 47 && ((z = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : z.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((ae = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : ae.kts) >= 79 && ((re = (ie = Z.properties) == null ? void 0 : ie.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (xe = Z.properties) == null ? void 0 : xe.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9169
9153
|
const fe = `<svg t="1719918955501"
|
|
9170
9154
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
9171
9155
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -9332,7 +9316,7 @@ const Om = {
|
|
|
9332
9316
|
key: 1,
|
|
9333
9317
|
class: "my-3 w-100",
|
|
9334
9318
|
style: { height: "80px" }
|
|
9335
|
-
}, Fd = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" },
|
|
9319
|
+
}, Fd = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" }, Bd = { class: "legend d-flex justify-start align-center" }, jd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center" }, Zd = { class: "label" }, Wd = { class: "legend d-flex justify-start align-center" }, Vd = { class: "label" }, Xd = { class: "legend d-flex justify-start align-center" }, Od = { class: "label" }, Hd = { class: "legend d-flex justify-start align-center" }, Yd = { class: "label" }, Ud = { class: "legend d-flex justify-start align-center" }, Jd = { class: "label" }, Kd = { class: "legend d-flex justify-start align-center" }, Qd = { class: "label" }, qd = { class: "legend d-flex justify-start align-center" }, $d = { class: "label" }, eh = { class: "legend d-flex justify-start align-center" }, th = { class: "label" }, oh = { class: "d-flex justify-star align-center" }, ah = { class: "font-weight-600 mr-1" }, ih = { class: "" }, lh = { class: "d-flex flex-column justify-center align-start ga-2" }, rh = {
|
|
9336
9320
|
key: 0,
|
|
9337
9321
|
class: "d-flex justify-start align-center"
|
|
9338
9322
|
}, nh = { class: "text-label pr-1" }, sh = {
|
|
@@ -9578,9 +9562,9 @@ function _h(t, e, o, i, a, l) {
|
|
|
9578
9562
|
e[15] || (e[15] = n("div", { class: "icon td" }, null, -1)),
|
|
9579
9563
|
n("div", Gd, y(t.$t("tropical.td")), 1)
|
|
9580
9564
|
]),
|
|
9581
|
-
n("div",
|
|
9565
|
+
n("div", Bd, [
|
|
9582
9566
|
e[16] || (e[16] = n("div", { class: "icon ts" }, null, -1)),
|
|
9583
|
-
n("div",
|
|
9567
|
+
n("div", jd, y(t.$t("tropical.ts")), 1)
|
|
9584
9568
|
]),
|
|
9585
9569
|
n("div", Nd, [
|
|
9586
9570
|
e[17] || (e[17] = n("div", { class: "icon sts" }, null, -1)),
|
|
@@ -9648,7 +9632,7 @@ function _h(t, e, o, i, a, l) {
|
|
|
9648
9632
|
b(d),
|
|
9649
9633
|
b(s, { class: "text-body-1" }, {
|
|
9650
9634
|
default: x(() => {
|
|
9651
|
-
var w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
9635
|
+
var w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be;
|
|
9652
9636
|
return [
|
|
9653
9637
|
n("div", lh, [
|
|
9654
9638
|
((w = a.hoverPoint) == null ? void 0 : w.type) === "forecast" ? (A(), R("div", rh, [
|
|
@@ -9677,9 +9661,9 @@ function _h(t, e, o, i, a, l) {
|
|
|
9677
9661
|
])) : I("", !0),
|
|
9678
9662
|
n("div", bh, [
|
|
9679
9663
|
n("label", wh, y(t.$t("weather.pressure")) + " : ", 1),
|
|
9680
|
-
n("span", null, y(((
|
|
9664
|
+
n("span", null, y(((j = a.hoverPoint) == null ? void 0 : j.pressure) ?? "-") + " hPa", 1)
|
|
9681
9665
|
]),
|
|
9682
|
-
((
|
|
9666
|
+
((B = a.hoverPoint) == null ? void 0 : B.type) === "history" ? (A(), R("div", xh, [
|
|
9683
9667
|
n("label", vh, y(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
9684
9668
|
n("span", null, y(((ie = JSON.parse(((ae = a.hoverPoint) == null ? void 0 : ae.movement) || "{}")) == null ? void 0 : ie.kts) ?? "-") + " kts", 1)
|
|
9685
9669
|
])) : I("", !0),
|
|
@@ -10267,10 +10251,10 @@ const Dh = {
|
|
|
10267
10251
|
}), this.loading = !1;
|
|
10268
10252
|
},
|
|
10269
10253
|
initTableData(t) {
|
|
10270
|
-
var o, i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
10254
|
+
var o, i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze;
|
|
10271
10255
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (l = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset;
|
|
10272
10256
|
const e = ((r = Zo.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : r[0]) || {};
|
|
10273
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((
|
|
10257
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((j = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((ae = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.wd) == null ? void 0 : ae.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (xe = e == null ? void 0 : e.wave) == null ? void 0 : xe.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((q = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : q.height, 1) ?? "-", this.currentHourData.swellDir = (se = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
|
|
10274
10258
|
},
|
|
10275
10259
|
handleBind() {
|
|
10276
10260
|
var t, e;
|
|
@@ -10333,7 +10317,7 @@ const Dh = {
|
|
|
10333
10317
|
this.$emit("cancelFollow", t);
|
|
10334
10318
|
}
|
|
10335
10319
|
}
|
|
10336
|
-
}, Ih = { class: "idm-gl4-spot" }, Eh = { class: "d-flex justify-start align-center" }, Fh = { class: "text-h6 font-weight-600" }, Gh = { class: "d-flex justify-start align-center ga-1 mb-2" },
|
|
10320
|
+
}, Ih = { class: "idm-gl4-spot" }, Eh = { class: "d-flex justify-start align-center" }, Fh = { class: "text-h6 font-weight-600" }, Gh = { class: "d-flex justify-start align-center ga-1 mb-2" }, Bh = { class: "text-label" }, jh = { class: "w-100 d-flex ma-0" }, Nh = { class: "w-30 pa-0 d-flex" }, Zh = { class: "flex-1-1-0 pa-0 d-flex" }, Wh = { class: "pa-0" }, Vh = { class: "d-flex justify-start align-center ga-1 mb-2" }, Xh = { class: "text-label" }, Oh = { class: "w-100 d-flex ma-0" }, Hh = { class: "w-30 pa-0 d-flex" }, Yh = { class: "flex-1-1-0 pa-0 d-flex" }, Uh = { class: "pa-0" }, Jh = { class: "d-flex justify-start align-center ga-1 mb-2" }, Kh = { class: "text-label" }, Qh = { class: "d-flex justify-start align-center ga-1 mb-2" }, qh = { class: "text-label" }, $h = { class: "d-flex justify-start align-center" }, eu = { class: "mx-2" }, tu = { class: "mx-0 py-2 d-flex align-center justify-start" }, ou = {
|
|
10337
10321
|
style: { width: "100px" },
|
|
10338
10322
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
10339
10323
|
}, au = { class: "pa-0 px-0" }, iu = { class: "mx-0 py-2 d-flex align-center justify-start" }, lu = {
|
|
@@ -10387,7 +10371,7 @@ const Dh = {
|
|
|
10387
10371
|
}, zu = { class: "pa-0 text-left" }, _u = { class: "d-flex justify-space-between align-center" }, Cu = { class: "d-flex justify-start align-center" }, Mu = { class: "mx-1" }, Pu = { class: "d-flex justify-end align-center" }, Su = { class: "mx-0 py-1 d-flex align-center justify-start" }, Tu = {
|
|
10388
10372
|
style: { width: "60px" },
|
|
10389
10373
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
10390
|
-
}, Ru = { class: "pa-0 px-0" }, Du = { class: "mx-0 py-1 d-flex align-center justify-start" }, Iu = { class: "pa-0 px-0" }, Eu = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Fu = { class: "d-flex flex-column align-start justify-center ga-3" }, Gu = { class: "text-label pr-2" },
|
|
10374
|
+
}, Ru = { class: "pa-0 px-0" }, Du = { class: "mx-0 py-1 d-flex align-center justify-start" }, Iu = { class: "pa-0 px-0" }, Eu = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Fu = { class: "d-flex flex-column align-start justify-center ga-3" }, Gu = { class: "text-label pr-2" }, Bu = { class: "text-label pr-2" }, ju = { class: "text-label pr-2" }, Nu = { key: 0 }, Zu = { class: "text-label pr-2" }, Wu = { class: "d-flex flex-column align-start justify-center ga-3" }, Vu = { class: "text-label pr-2" }, Xu = { class: "text-label pr-2" }, Ou = { class: "text-label pr-2" }, Hu = { key: 0 }, Yu = { class: "text-label pr-2" }, Uu = { id: "idm-position-icon" }, Ju = {
|
|
10391
10375
|
class: "multi-color-icon",
|
|
10392
10376
|
style: { height: "30px", width: "30px" },
|
|
10393
10377
|
"aria-hidden": "true"
|
|
@@ -10463,12 +10447,12 @@ function Qu(t, e, o, i, a, l) {
|
|
|
10463
10447
|
b(h, { class: "text-body-1 pa-4 py-2" }, {
|
|
10464
10448
|
default: x(() => [
|
|
10465
10449
|
n("div", Gh, [
|
|
10466
|
-
n("div",
|
|
10450
|
+
n("div", Bh, [
|
|
10467
10451
|
N(y(t.$t("spot.lat")), 1),
|
|
10468
10452
|
e[10] || (e[10] = n("span", { class: "text-danger" }, "*", -1))
|
|
10469
10453
|
])
|
|
10470
10454
|
]),
|
|
10471
|
-
n("div",
|
|
10455
|
+
n("div", jh, [
|
|
10472
10456
|
n("div", Nh, [
|
|
10473
10457
|
b(m, {
|
|
10474
10458
|
modelValue: a.form.latDegree,
|
|
@@ -10924,11 +10908,11 @@ function Qu(t, e, o, i, a, l) {
|
|
|
10924
10908
|
n("span", null, y(a.currentHourData.windDir ?? "-") + "/" + y(a.currentHourData.windSpeed ?? "-") + "kts/BF" + y(a.currentHourData.windLevel ?? "-"), 1)
|
|
10925
10909
|
]),
|
|
10926
10910
|
n("div", null, [
|
|
10927
|
-
n("span",
|
|
10911
|
+
n("span", Bu, y(t.$t("weather.sigWave")), 1),
|
|
10928
10912
|
n("span", null, y(a.currentHourData.sigwaveDir ?? "-") + "/" + y(a.currentHourData.sigwaveHeight ?? "-") + "m/" + y(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
|
|
10929
10913
|
]),
|
|
10930
10914
|
n("div", null, [
|
|
10931
|
-
n("span",
|
|
10915
|
+
n("span", ju, y(t.$t("weather.windWave")), 1),
|
|
10932
10916
|
n("span", null, y(a.currentHourData.windwaveDir ?? "-") + "/" + y(a.currentHourData.windwaveHeight ?? "-") + "m/" + y(a.currentHourData.windwavePeriod ?? "-") + "s", 1)
|
|
10933
10917
|
]),
|
|
10934
10918
|
a.currentHourData.showIce ? (A(), R("div", Nu, [
|
|
@@ -13011,7 +12995,7 @@ const Dp = {
|
|
|
13011
12995
|
}), this.map.getSource(t) && this.map.removeSource(t);
|
|
13012
12996
|
}
|
|
13013
12997
|
}
|
|
13014
|
-
}, Ip = { class: "text-h6 font-weight-600" }, Ep = { class: "mb-4" }, Fp = { class: "text-label mb-1" }, Gp = { class: "mb-1" },
|
|
12998
|
+
}, Ip = { class: "text-h6 font-weight-600" }, Ep = { class: "mb-4" }, Fp = { class: "text-label mb-1" }, Gp = { class: "mb-1" }, Bp = { class: "text-label mb-1" }, jp = { class: "color-picker-row d-flex align-start ga-2" }, Np = ["value"], Zp = { class: "text-body-2 text-center text-label" }, Wp = { class: "text-body-1 text-primary mt-2 cursor-pointer" }, Vp = { class: "text-body-2 text-left text-label mt-1" }, Xp = {
|
|
13015
12999
|
key: 0,
|
|
13016
13000
|
class: "text-body-2 text-left text-danger mt-1"
|
|
13017
13001
|
}, Op = {
|
|
@@ -13069,11 +13053,11 @@ function Yp(t, e, o, i, a, l) {
|
|
|
13069
13053
|
}, null, 8, ["modelValue"])
|
|
13070
13054
|
]),
|
|
13071
13055
|
n("div", Gp, [
|
|
13072
|
-
n("div",
|
|
13056
|
+
n("div", Bp, [
|
|
13073
13057
|
N(y(t.$t("marker.color")), 1),
|
|
13074
13058
|
e[11] || (e[11] = n("span", { class: "text-danger" }, "*", -1))
|
|
13075
13059
|
]),
|
|
13076
|
-
n("div",
|
|
13060
|
+
n("div", jp, [
|
|
13077
13061
|
n("input", {
|
|
13078
13062
|
type: "color",
|
|
13079
13063
|
value: a.form.color,
|
|
@@ -13986,7 +13970,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
13986
13970
|
n("div", fg, y(t.$t("tips.noData")), 1)
|
|
13987
13971
|
])) : (A(), R("div", yg, [
|
|
13988
13972
|
(A(!0), R(Ce, null, Me(a.layerGroup, (T, G) => {
|
|
13989
|
-
var
|
|
13973
|
+
var j;
|
|
13990
13974
|
return A(), R("div", {
|
|
13991
13975
|
key: T.name,
|
|
13992
13976
|
class: ue(["btn-bg-1", T.index === a.layerGroup.length ? "rounded-b" : T.index === 1 ? "rounded-t" : ""])
|
|
@@ -13996,11 +13980,11 @@ function _g(t, e, o, i, a, l) {
|
|
|
13996
13980
|
T.show ? (A(), F(d, {
|
|
13997
13981
|
key: 0,
|
|
13998
13982
|
icon: "mdi-chevron-down",
|
|
13999
|
-
onClick: (
|
|
13983
|
+
onClick: (B) => T.show = !1
|
|
14000
13984
|
}, null, 8, ["onClick"])) : (A(), F(d, {
|
|
14001
13985
|
key: 1,
|
|
14002
13986
|
icon: "mdi-chevron-right",
|
|
14003
|
-
onClick: (
|
|
13987
|
+
onClick: (B) => T.show = !0
|
|
14004
13988
|
}, null, 8, ["onClick"])),
|
|
14005
13989
|
a.loading ? (A(), F(p, {
|
|
14006
13990
|
key: 3,
|
|
@@ -14015,19 +13999,19 @@ function _g(t, e, o, i, a, l) {
|
|
|
14015
13999
|
variant: "flat",
|
|
14016
14000
|
class: "font-weight-600 mr-2",
|
|
14017
14001
|
color: "primary",
|
|
14018
|
-
onClick: (
|
|
14002
|
+
onClick: (B) => T.show = !T.show
|
|
14019
14003
|
}, {
|
|
14020
14004
|
default: x(() => {
|
|
14021
|
-
var
|
|
14005
|
+
var B;
|
|
14022
14006
|
return [
|
|
14023
|
-
N(y((
|
|
14007
|
+
N(y((B = T.layers) == null ? void 0 : B.length), 1)
|
|
14024
14008
|
];
|
|
14025
14009
|
}),
|
|
14026
14010
|
_: 2
|
|
14027
14011
|
}, 1032, ["onClick"])),
|
|
14028
14012
|
n("div", {
|
|
14029
14013
|
class: "",
|
|
14030
|
-
onClick: (
|
|
14014
|
+
onClick: (B) => T.show = !T.show
|
|
14031
14015
|
}, y(T.name), 9, xg)
|
|
14032
14016
|
]),
|
|
14033
14017
|
T.name !== "Custom Layers" && !o.simple ? (A(), R("div", vg, [
|
|
@@ -14059,7 +14043,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14059
14043
|
default: x(() => [
|
|
14060
14044
|
b(w, {
|
|
14061
14045
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14062
|
-
onClick: (
|
|
14046
|
+
onClick: (B) => l.handleOpenDrawMarkers(T)
|
|
14063
14047
|
}, {
|
|
14064
14048
|
default: x(() => [
|
|
14065
14049
|
b(d, {
|
|
@@ -14083,7 +14067,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14083
14067
|
default: x(() => [
|
|
14084
14068
|
b(w, {
|
|
14085
14069
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14086
|
-
onClick: (
|
|
14070
|
+
onClick: (B) => l.handleEditGroup(T)
|
|
14087
14071
|
}, {
|
|
14088
14072
|
default: x(() => [
|
|
14089
14073
|
b(d, {
|
|
@@ -14107,7 +14091,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14107
14091
|
default: x(() => [
|
|
14108
14092
|
b(w, {
|
|
14109
14093
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14110
|
-
onClick: (
|
|
14094
|
+
onClick: (B) => l.handleOpenDelete("group", T)
|
|
14111
14095
|
}, {
|
|
14112
14096
|
default: x(() => [
|
|
14113
14097
|
b(d, {
|
|
@@ -14137,17 +14121,17 @@ function _g(t, e, o, i, a, l) {
|
|
|
14137
14121
|
])) : I("", !0)
|
|
14138
14122
|
]),
|
|
14139
14123
|
T.show ? (A(), R("div", Ag, [
|
|
14140
|
-
(A(!0), R(Ce, null, Me((
|
|
14124
|
+
(A(!0), R(Ce, null, Me((j = T.layers) == null ? void 0 : j.filter((B) => {
|
|
14141
14125
|
var ae;
|
|
14142
|
-
return ((ae =
|
|
14143
|
-
}), (
|
|
14126
|
+
return ((ae = B.name) == null ? void 0 : ae.indexOf(a.keyword)) > -1;
|
|
14127
|
+
}), (B) => {
|
|
14144
14128
|
var ae;
|
|
14145
14129
|
return A(), R("div", {
|
|
14146
|
-
key:
|
|
14147
|
-
class: ue(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((ae = a.currentLayer) == null ? void 0 : ae.id) ===
|
|
14130
|
+
key: B.id,
|
|
14131
|
+
class: ue(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((ae = a.currentLayer) == null ? void 0 : ae.id) === B.id ? "active" : ""])
|
|
14148
14132
|
}, [
|
|
14149
14133
|
n("div", kg, [
|
|
14150
|
-
n("span", Lg, y(
|
|
14134
|
+
n("span", Lg, y(B == null ? void 0 : B.name), 1)
|
|
14151
14135
|
]),
|
|
14152
14136
|
o.simple ? I("", !0) : (A(), R("div", zg, [
|
|
14153
14137
|
b(r, {
|
|
@@ -14155,7 +14139,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14155
14139
|
density: "compact",
|
|
14156
14140
|
icon: "",
|
|
14157
14141
|
variant: "text",
|
|
14158
|
-
onClick: (ie) => l.handleEditLayer(T,
|
|
14142
|
+
onClick: (ie) => l.handleEditLayer(T, B)
|
|
14159
14143
|
}, {
|
|
14160
14144
|
default: x(() => [
|
|
14161
14145
|
b(d, {
|
|
@@ -14170,7 +14154,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14170
14154
|
density: "compact",
|
|
14171
14155
|
icon: "",
|
|
14172
14156
|
variant: "text",
|
|
14173
|
-
onClick: (ie) => l.handleOpenDelete("layer",
|
|
14157
|
+
onClick: (ie) => l.handleOpenDelete("layer", B)
|
|
14174
14158
|
}, {
|
|
14175
14159
|
default: x(() => [
|
|
14176
14160
|
b(d, {
|
|
@@ -14464,10 +14448,10 @@ function Gg(t) {
|
|
|
14464
14448
|
}
|
|
14465
14449
|
return e.removeChild(o), O.defaultStyle.set(t, a), a;
|
|
14466
14450
|
}
|
|
14467
|
-
var
|
|
14451
|
+
var Bg = /(?:^|-)(animation|transition)(?:-|$)/i, jg = /^(--|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i, Ng = /* @__PURE__ */ new Set(["cursor", "pointer-events", "touch-action", "user-select", "print-color-adjust", "speak", "reading-flow", "reading-order", "anchor-name", "anchor-scope", "container-name", "container-type", "timeline-scope"]);
|
|
14468
14452
|
function pl(t) {
|
|
14469
14453
|
let e = String(t).toLowerCase();
|
|
14470
|
-
return !!(Ng.has(e) ||
|
|
14454
|
+
return !!(Ng.has(e) || jg.test(e) || Bg.test(e));
|
|
14471
14455
|
}
|
|
14472
14456
|
function aa(t, e) {
|
|
14473
14457
|
if (e = String(e || "").toLowerCase(), ga.has(e))
|
|
@@ -14961,7 +14945,7 @@ async function vl(t, e, o, i) {
|
|
|
14961
14945
|
}
|
|
14962
14946
|
}
|
|
14963
14947
|
async function h0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
|
|
14964
|
-
var h, f, k, v, _, L, P, z, D, T, G,
|
|
14948
|
+
var h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be;
|
|
14965
14949
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
14966
14950
|
let l = /* @__PURE__ */ new Map();
|
|
14967
14951
|
for (let E of t) {
|
|
@@ -15085,7 +15069,7 @@ async function h0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15085
15069
|
try {
|
|
15086
15070
|
let se = await so(E._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15087
15071
|
if (se.ok && typeof se.data == "string")
|
|
15088
|
-
ee = se.data, (G = O.resource) == null || G.set(E._snapdomSrc, ee), (
|
|
15072
|
+
ee = se.data, (G = O.resource) == null || G.set(E._snapdomSrc, ee), (j = O.font) == null || j.add(E._snapdomSrc);
|
|
15089
15073
|
else
|
|
15090
15074
|
continue;
|
|
15091
15075
|
} catch {
|
|
@@ -15105,7 +15089,7 @@ async function h0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15105
15089
|
continue;
|
|
15106
15090
|
let ee = E.weight != null ? String(E.weight) : "normal", se = E.style != null ? String(E.style) : "normal", Q = E.stretchPct != null ? `${E.stretchPct}%` : "100%", Y = String(E.src || ""), le = Y;
|
|
15107
15091
|
if (!le.startsWith("data:")) {
|
|
15108
|
-
if ((
|
|
15092
|
+
if ((B = O.resource) != null && B.has(Y))
|
|
15109
15093
|
le = O.resource.get(Y), (ae = O.font) == null || ae.add(Y);
|
|
15110
15094
|
else if (!((ie = O.font) != null && ie.has(Y)))
|
|
15111
15095
|
try {
|
|
@@ -15239,7 +15223,7 @@ function bo(t, { fast: e = !1 } = {}) {
|
|
|
15239
15223
|
return t();
|
|
15240
15224
|
"requestIdleCallback" in window ? requestIdleCallback(t, { timeout: 50 }) : setTimeout(t, 1);
|
|
15241
15225
|
}
|
|
15242
|
-
function
|
|
15226
|
+
function Bo() {
|
|
15243
15227
|
if (typeof navigator > "u")
|
|
15244
15228
|
return !1;
|
|
15245
15229
|
let t = navigator.userAgent || "", e = t.toLowerCase(), o = e.includes("safari") && !e.includes("chrome") && !e.includes("crios") && !e.includes("fxios") && !e.includes("android"), i = /applewebkit/i.test(t), a = /mobile/i.test(t), l = !/safari/i.test(t), r = i && a && l, c = /(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(t), s = /(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(e), d = /ipad|iphone|ipod/.test(e) && i;
|
|
@@ -15309,7 +15293,7 @@ function x0(t, e, o = !1) {
|
|
|
15309
15293
|
return !t || t.plugins && !o || (t.plugins = w0(e)), t;
|
|
15310
15294
|
}
|
|
15311
15295
|
var Ki = /* @__PURE__ */ new WeakMap(), ra = /* @__PURE__ */ new Map(), na = 0;
|
|
15312
|
-
function
|
|
15296
|
+
function jo() {
|
|
15313
15297
|
na++;
|
|
15314
15298
|
}
|
|
15315
15299
|
var Qi = !1;
|
|
@@ -15318,16 +15302,16 @@ function v0(t = document.documentElement) {
|
|
|
15318
15302
|
if (!Qi) {
|
|
15319
15303
|
Qi = !0;
|
|
15320
15304
|
try {
|
|
15321
|
-
new MutationObserver(() =>
|
|
15305
|
+
new MutationObserver(() => jo()).observe(t, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15322
15306
|
} catch {
|
|
15323
15307
|
}
|
|
15324
15308
|
try {
|
|
15325
|
-
new MutationObserver(() =>
|
|
15309
|
+
new MutationObserver(() => jo()).observe(document.head, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15326
15310
|
} catch {
|
|
15327
15311
|
}
|
|
15328
15312
|
try {
|
|
15329
15313
|
let i = document.fonts;
|
|
15330
|
-
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone",
|
|
15314
|
+
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone", jo), (o = i.ready) == null || o.then(() => jo()).catch(() => {
|
|
15331
15315
|
}));
|
|
15332
15316
|
} catch {
|
|
15333
15317
|
}
|
|
@@ -15379,7 +15363,7 @@ async function wo(t, e, o, i) {
|
|
|
15379
15363
|
if (t.tagName === "STYLE")
|
|
15380
15364
|
return;
|
|
15381
15365
|
let a = z0(o, i), l = a.options && a.options.cache || "auto";
|
|
15382
|
-
if (l !== "disabled" && v0(document.documentElement), l === "disabled" && !a.session.__bumpedForDisabled && (
|
|
15366
|
+
if (l !== "disabled" && v0(document.documentElement), l === "disabled" && !a.session.__bumpedForDisabled && (jo(), ra.clear(), a.session.__bumpedForDisabled = !0), ga.has((g = t.tagName) == null ? void 0 : g.toLowerCase())) {
|
|
15383
15367
|
let h = (w = t.getAttribute) == null ? void 0 : w.call(t, "style");
|
|
15384
15368
|
h && e.setAttribute("style", h);
|
|
15385
15369
|
}
|
|
@@ -15567,13 +15551,13 @@ function G0(t) {
|
|
|
15567
15551
|
}
|
|
15568
15552
|
return e;
|
|
15569
15553
|
}
|
|
15570
|
-
function
|
|
15554
|
+
function B0(t, e, o) {
|
|
15571
15555
|
if (!e)
|
|
15572
15556
|
return;
|
|
15573
15557
|
let i = document.createElement("style");
|
|
15574
15558
|
i.setAttribute("data-sd", o), i.textContent = e, t.insertBefore(i, t.firstChild || null);
|
|
15575
15559
|
}
|
|
15576
|
-
function
|
|
15560
|
+
function j0(t, e) {
|
|
15577
15561
|
try {
|
|
15578
15562
|
let o = t.currentSrc || t.src || "";
|
|
15579
15563
|
if (!o)
|
|
@@ -15889,7 +15873,7 @@ async function Jo(t, e, o) {
|
|
|
15889
15873
|
let r;
|
|
15890
15874
|
try {
|
|
15891
15875
|
if (r = t.cloneNode(!1), R0(t, r), e.nodeMap.set(r, t), t.tagName === "IMG") {
|
|
15892
|
-
|
|
15876
|
+
j0(t, r);
|
|
15893
15877
|
try {
|
|
15894
15878
|
let h = t.getBoundingClientRect(), f = Math.round(h.width || 0), k = Math.round(h.height || 0);
|
|
15895
15879
|
if (!f || !k) {
|
|
@@ -15919,8 +15903,8 @@ async function Jo(t, e, o) {
|
|
|
15919
15903
|
let h = function(T, G) {
|
|
15920
15904
|
if (T.nodeType === Node.ELEMENT_NODE && T.tagName === "STYLE")
|
|
15921
15905
|
return G(null);
|
|
15922
|
-
Jo(T, e, o).then((
|
|
15923
|
-
G(
|
|
15906
|
+
Jo(T, e, o).then((j) => {
|
|
15907
|
+
G(j || null);
|
|
15924
15908
|
}).catch(() => {
|
|
15925
15909
|
G(null);
|
|
15926
15910
|
});
|
|
@@ -15928,14 +15912,14 @@ async function Jo(t, e, o) {
|
|
|
15928
15912
|
try {
|
|
15929
15913
|
let T = t.shadowRoot.querySelectorAll("slot");
|
|
15930
15914
|
for (let G of T) {
|
|
15931
|
-
let
|
|
15915
|
+
let j = [];
|
|
15932
15916
|
try {
|
|
15933
|
-
|
|
15917
|
+
j = ((p = G.assignedNodes) == null ? void 0 : p.call(G, { flatten: !0 })) || ((g = G.assignedNodes) == null ? void 0 : g.call(G)) || [];
|
|
15934
15918
|
} catch {
|
|
15935
|
-
|
|
15919
|
+
j = ((w = G.assignedNodes) == null ? void 0 : w.call(G)) || [];
|
|
15936
15920
|
}
|
|
15937
|
-
for (let
|
|
15938
|
-
i.add(
|
|
15921
|
+
for (let B of j)
|
|
15922
|
+
i.add(B);
|
|
15939
15923
|
}
|
|
15940
15924
|
} catch {
|
|
15941
15925
|
}
|
|
@@ -15945,7 +15929,7 @@ async function Jo(t, e, o) {
|
|
|
15945
15929
|
} catch {
|
|
15946
15930
|
}
|
|
15947
15931
|
let v = G0(t.shadowRoot), _ = E0(v, k), L = N0(v), P = W0(t, L, k);
|
|
15948
|
-
|
|
15932
|
+
B0(r, P + _, f);
|
|
15949
15933
|
let z = document.createDocumentFragment(), D = await ta(Array.from(t.shadowRoot.childNodes), h, o.fast);
|
|
15950
15934
|
z.append(...D.filter((T) => !!T)), r.appendChild(z);
|
|
15951
15935
|
}
|
|
@@ -16068,8 +16052,8 @@ function ef(t) {
|
|
|
16068
16052
|
if (getComputedStyle(u).display === "list-item" && l(u)) {
|
|
16069
16053
|
let L = u.parentElement, P = 1;
|
|
16070
16054
|
if (L && L.tagName === "OL") {
|
|
16071
|
-
let D = L.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, G = r(u),
|
|
16072
|
-
P = Number.isFinite(Number(
|
|
16055
|
+
let D = L.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, G = r(u), j = u.getAttribute("value");
|
|
16056
|
+
P = Number.isFinite(Number(j)) ? Number(j) : T + G;
|
|
16073
16057
|
} else
|
|
16074
16058
|
P = 1 + r(u);
|
|
16075
16059
|
let z = h.get("list-item") || [];
|
|
@@ -16332,7 +16316,7 @@ async function _l(t, e, o, i) {
|
|
|
16332
16316
|
e.replaceChild(he, Y), e.insertBefore(fe, he);
|
|
16333
16317
|
continue;
|
|
16334
16318
|
}
|
|
16335
|
-
let u = w.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: k } = rf(t, g, r), v = w.backgroundImage, _ = w.backgroundColor, L = w.fontFamily, P = parseInt(w.fontSize) || 32, z = parseInt(w.fontWeight) || !1, D = w.color || "#000", T = w.borderStyle, G = parseFloat(w.borderWidth),
|
|
16319
|
+
let u = w.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: k } = rf(t, g, r), v = w.backgroundImage, _ = w.backgroundColor, L = w.fontFamily, P = parseInt(w.fontSize) || 32, z = parseInt(w.fontWeight) || !1, D = w.color || "#000", T = w.borderStyle, G = parseFloat(w.borderWidth), j = w.transform, B = co(L), ae = !h && f !== "", ie = v && v !== "none", re = _ && _ !== "transparent" && _ !== "rgba(0, 0, 0, 0)", xe = T && T !== "none" && G > 0, be = j && j !== "none";
|
|
16336
16320
|
if (!(ae || ie || re || xe || be)) {
|
|
16337
16321
|
if (k && k.length && t.parentElement) {
|
|
16338
16322
|
let Q = xo.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
@@ -16349,7 +16333,7 @@ async function _l(t, e, o, i) {
|
|
|
16349
16333
|
let E = document.createElement("span");
|
|
16350
16334
|
E.dataset.snapdomPseudo = g, E.style.pointerEvents = "none";
|
|
16351
16335
|
let q = Hi(w), ee = aa(q, "span");
|
|
16352
|
-
if (o.styleMap.set(E, ee),
|
|
16336
|
+
if (o.styleMap.set(E, ee), B && f && f.length === 1) {
|
|
16353
16337
|
let { dataUrl: Q, width: Y, height: le } = await $g(f, L, z, P, D), Z = document.createElement("img");
|
|
16354
16338
|
Z.src = Q, Z.style = `height:${P}px;width:${Y / le * P}px;object-fit:contain;`, E.appendChild(Z), e.dataset.snapdomHasIcon = "true";
|
|
16355
16339
|
} else if (f && f.startsWith("url(")) {
|
|
@@ -16362,7 +16346,7 @@ async function _l(t, e, o, i) {
|
|
|
16362
16346
|
console.error(`[snapdom] Error in pseudo ${g} for`, t, Y);
|
|
16363
16347
|
}
|
|
16364
16348
|
} else
|
|
16365
|
-
!
|
|
16349
|
+
!B && ae && (E.textContent = f);
|
|
16366
16350
|
E.style.backgroundImage = "none", "maskImage" in E.style && (E.style.maskImage = "none"), "webkitMaskImage" in E.style && (E.style.webkitMaskImage = "none");
|
|
16367
16351
|
try {
|
|
16368
16352
|
E.style.backgroundRepeat = w.backgroundRepeat, E.style.backgroundSize = w.backgroundSize, w.backgroundPositionX && w.backgroundPositionY ? (E.style.backgroundPositionX = w.backgroundPositionX, E.style.backgroundPositionY = w.backgroundPositionY) : E.style.backgroundPosition = w.backgroundPosition, E.style.backgroundOrigin = w.backgroundOrigin, E.style.backgroundClip = w.backgroundClip, E.style.backgroundAttachment = w.backgroundAttachment, E.style.backgroundBlendMode = w.backgroundBlendMode;
|
|
@@ -16414,14 +16398,14 @@ function nf(t, e) {
|
|
|
16414
16398
|
if (!T)
|
|
16415
16399
|
return null;
|
|
16416
16400
|
for (let G = 0; G < T.length; G++) {
|
|
16417
|
-
let
|
|
16418
|
-
if (!
|
|
16401
|
+
let j = T[G];
|
|
16402
|
+
if (!j || !j.name)
|
|
16419
16403
|
continue;
|
|
16420
|
-
if (
|
|
16421
|
-
return
|
|
16422
|
-
let
|
|
16423
|
-
if (
|
|
16424
|
-
return
|
|
16404
|
+
if (j.name === "href")
|
|
16405
|
+
return j.value;
|
|
16406
|
+
let B = j.name.indexOf(":");
|
|
16407
|
+
if (B !== -1 && j.name.slice(B + 1) === "href")
|
|
16408
|
+
return j.value;
|
|
16425
16409
|
}
|
|
16426
16410
|
return null;
|
|
16427
16411
|
}, m = new Set(Array.from(t.querySelectorAll("[id]")).map((z) => z.id)), p = /* @__PURE__ */ new Set(), g = !1, w = (z, D = null) => {
|
|
@@ -16437,18 +16421,18 @@ function nf(t, e) {
|
|
|
16437
16421
|
}, u = (z) => {
|
|
16438
16422
|
let D = z.querySelectorAll("use");
|
|
16439
16423
|
for (let G of D) {
|
|
16440
|
-
let
|
|
16441
|
-
if (!
|
|
16424
|
+
let j = d(G);
|
|
16425
|
+
if (!j || !j.startsWith("#"))
|
|
16442
16426
|
continue;
|
|
16443
16427
|
g = !0;
|
|
16444
|
-
let
|
|
16445
|
-
|
|
16428
|
+
let B = j.slice(1).trim();
|
|
16429
|
+
B && !m.has(B) && p.add(B);
|
|
16446
16430
|
}
|
|
16447
16431
|
let T = z.querySelectorAll('*[style*="url("],*[fill^="url("], *[stroke^="url("],*[filter^="url("],*[clip-path^="url("],*[mask^="url("],*[marker^="url("],*[marker-start^="url("],*[marker-mid^="url("],*[marker-end^="url("]');
|
|
16448
16432
|
for (let G of T) {
|
|
16449
16433
|
w(G.getAttribute("style") || "");
|
|
16450
|
-
for (let
|
|
16451
|
-
w(G.getAttribute(
|
|
16434
|
+
for (let j of r)
|
|
16435
|
+
w(G.getAttribute(j));
|
|
16452
16436
|
}
|
|
16453
16437
|
};
|
|
16454
16438
|
for (let z of a)
|
|
@@ -16461,8 +16445,8 @@ function nf(t, e) {
|
|
|
16461
16445
|
if (!z || m.has(z))
|
|
16462
16446
|
return null;
|
|
16463
16447
|
let D = c(z), T = (G) => {
|
|
16464
|
-
let
|
|
16465
|
-
return
|
|
16448
|
+
let j = i.querySelector(G);
|
|
16449
|
+
return j && !t.contains(j) ? j : null;
|
|
16466
16450
|
};
|
|
16467
16451
|
return T(`svg defs > *#${D}`) || T(`svg > symbol#${D}`) || T(`*#${D}`);
|
|
16468
16452
|
};
|
|
@@ -16482,16 +16466,16 @@ function nf(t, e) {
|
|
|
16482
16466
|
let T = D.cloneNode(!0);
|
|
16483
16467
|
T.id || T.setAttribute("id", z), f.appendChild(T), _.add(z), m.add(z);
|
|
16484
16468
|
let G = [T, ...T.querySelectorAll("*")];
|
|
16485
|
-
for (let
|
|
16486
|
-
let
|
|
16487
|
-
if (
|
|
16488
|
-
let ie =
|
|
16469
|
+
for (let j of G) {
|
|
16470
|
+
let B = d(j);
|
|
16471
|
+
if (B && B.startsWith("#")) {
|
|
16472
|
+
let ie = B.slice(1).trim();
|
|
16489
16473
|
ie && !m.has(ie) && !_.has(ie) && v.add(ie);
|
|
16490
16474
|
}
|
|
16491
|
-
let ae = ((L =
|
|
16475
|
+
let ae = ((L = j.getAttribute) == null ? void 0 : L.call(j, "style")) || "";
|
|
16492
16476
|
ae && w(ae, v);
|
|
16493
16477
|
for (let ie of r) {
|
|
16494
|
-
let re = (P =
|
|
16478
|
+
let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ie);
|
|
16495
16479
|
re && w(re, v);
|
|
16496
16480
|
}
|
|
16497
16481
|
}
|
|
@@ -16926,7 +16910,7 @@ function Gf(t, e, o) {
|
|
|
16926
16910
|
};
|
|
16927
16911
|
return { ox: r(a, e), oy: r(l, o) };
|
|
16928
16912
|
}
|
|
16929
|
-
function
|
|
16913
|
+
function Bf(t) {
|
|
16930
16914
|
var a, l, r, c, s, d, m, p;
|
|
16931
16915
|
let e = { rotate: "0deg", scale: null, translate: null }, o = typeof t.computedStyleMap == "function" ? t.computedStyleMap() : null;
|
|
16932
16916
|
if (o) {
|
|
@@ -16969,14 +16953,14 @@ function jf(t) {
|
|
|
16969
16953
|
return e.rotate = i.rotate && i.rotate !== "none" ? i.rotate : "0deg", e.scale = i.scale && i.scale !== "none" ? i.scale : null, e.translate = i.translate && i.translate !== "none" ? i.translate : null, e;
|
|
16970
16954
|
}
|
|
16971
16955
|
var oa = null;
|
|
16972
|
-
function
|
|
16956
|
+
function jf() {
|
|
16973
16957
|
if (oa)
|
|
16974
16958
|
return oa;
|
|
16975
16959
|
let t = document.createElement("div");
|
|
16976
16960
|
return t.id = "snapdom-measure-slot", t.setAttribute("aria-hidden", "true"), Object.assign(t.style, { position: "absolute", left: "-99999px", top: "0px", width: "0px", height: "0px", overflow: "hidden", opacity: "0", pointerEvents: "none", contain: "size layout style" }), document.documentElement.appendChild(t), oa = t, t;
|
|
16977
16961
|
}
|
|
16978
16962
|
function Nf(t) {
|
|
16979
|
-
let e =
|
|
16963
|
+
let e = jf(), o = document.createElement("div");
|
|
16980
16964
|
o.style.transformOrigin = "0 0", t.baseTransform && (o.style.transform = t.baseTransform), t.rotate && (o.style.rotate = t.rotate), t.scale && (o.style.scale = t.scale), t.translate && (o.style.translate = t.translate), e.appendChild(o);
|
|
16981
16965
|
let i = Cl(o);
|
|
16982
16966
|
return e.removeChild(o), i;
|
|
@@ -17032,7 +17016,7 @@ async function Ml(t, e) {
|
|
|
17032
17016
|
}), e.embedFonts && await new Promise((_) => {
|
|
17033
17017
|
bo(async () => {
|
|
17034
17018
|
let L = u0(l.element), P = p0(l.element);
|
|
17035
|
-
if (
|
|
17019
|
+
if (Bo()) {
|
|
17036
17020
|
let z = new Set(Array.from(L).map((D) => String(D).split("__")[0]).filter(Boolean));
|
|
17037
17021
|
await g0(z, 1);
|
|
17038
17022
|
}
|
|
@@ -17055,27 +17039,27 @@ async function Ml(t, e) {
|
|
|
17055
17039
|
let T = (Te, Re = NaN) => {
|
|
17056
17040
|
let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
|
|
17057
17041
|
return Number.isFinite(Ne) ? Ne : Re;
|
|
17058
|
-
}, G = T(l.options.width),
|
|
17059
|
-
ie && re ? (
|
|
17042
|
+
}, G = T(l.options.width), j = T(l.options.height), B = z, ae = D, ie = Number.isFinite(G), re = Number.isFinite(j), xe = D > 0 ? z / D : 1;
|
|
17043
|
+
ie && re ? (B = Math.max(1, me(G)), ae = Math.max(1, me(j))) : ie ? (B = Math.max(1, me(G)), ae = Math.max(1, me(B / (xe || 1)))) : re ? (ae = Math.max(1, me(j)), B = Math.max(1, me(ae * (xe || 1)))) : (B = z, ae = D);
|
|
17060
17044
|
let be = 0, E = 0, q = z, ee = D;
|
|
17061
17045
|
if (!i && w && Number.isFinite(w.a)) {
|
|
17062
17046
|
let Te = { a: w.a, b: w.b || 0, c: w.c || 0, d: w.d || 1, e: 0, f: 0 }, Re = cl(z, D, Te, 0, 0);
|
|
17063
17047
|
be = me(Re.minX), E = me(Re.minY), q = me(Re.maxX), ee = me(Re.maxY);
|
|
17064
17048
|
} else if (i && Wf(l.element)) {
|
|
17065
|
-
let Te = L.transform && L.transform !== "none" ? L.transform : "", Re =
|
|
17049
|
+
let Te = L.transform && L.transform !== "none" ? L.transform : "", Re = Bf(l.element), Ne = Nf({ baseTransform: Te, rotate: Re.rotate || "0deg", scale: Re.scale, translate: Re.translate }), { ox: it, oy: lt } = Gf(L, z, D), rt = Ne.is2D ? Ne : new DOMMatrix(Ne.toString()), Ve = cl(z, D, rt, it, lt);
|
|
17066
17050
|
be = me(Ve.minX), E = me(Ve.minY), q = me(Ve.maxX), ee = me(Ve.maxY);
|
|
17067
17051
|
}
|
|
17068
17052
|
let se = Rf(L), Q = Df(L), Y = If(L), le = Ef(L), Z = a ? { top: me(se.top + Q.top + Y.top + le.bleed.top), right: me(se.right + Q.right + Y.right + le.bleed.right), bottom: me(se.bottom + Q.bottom + Y.bottom + le.bleed.bottom), left: me(se.left + Q.left + Y.left + le.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
|
|
17069
17053
|
be = me(be - Z.left), E = me(E - Z.top), q = me(q + Z.right), ee = me(ee + Z.bottom);
|
|
17070
|
-
let U = Math.max(1, me(q - be)), fe = Math.max(1, me(ee - E)), Le = ie || re ? me(
|
|
17054
|
+
let U = Math.max(1, me(q - be)), fe = Math.max(1, me(ee - E)), Le = ie || re ? me(B / z) : 1, ze = re || ie ? me(ae / D) : 1, he = Math.max(1, me(U * Le)), Ae = Math.max(1, me(fe * ze)), $ = "http://www.w3.org/2000/svg", we = Bo() ? 1 : 0, Ee = me(we + (i ? 0 : 1)), Fe = document.createElementNS($, "foreignObject"), $e = me(be), et = me(E);
|
|
17071
17055
|
Fe.setAttribute("x", String(me(-($e - Ee)))), Fe.setAttribute("y", String(me(-(et - Ee)))), Fe.setAttribute("width", String(me(z + Ee * 2))), Fe.setAttribute("height", String(me(D + Ee * 2))), Fe.style.overflow = "visible";
|
|
17072
17056
|
let Je = document.createElement("style");
|
|
17073
17057
|
Je.textContent = l.baseCSS + l.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + l.classCSS, Fe.appendChild(Je);
|
|
17074
|
-
let
|
|
17075
|
-
|
|
17058
|
+
let je = document.createElement("div");
|
|
17059
|
+
je.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.style.width = `${me(z)}px`, je.style.height = `${me(D)}px`, je.style.overflow = "visible", l.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.appendChild(l.clone), Fe.appendChild(je);
|
|
17076
17060
|
let tt = new XMLSerializer().serializeToString(Fe), Oe = me(U + Ee * 2), He = me(fe + Ee * 2), Ke = ie || re;
|
|
17077
|
-
e.meta = { w0: z, h0: D, vbW: Oe, vbH: He, targetW:
|
|
17078
|
-
let ot =
|
|
17061
|
+
e.meta = { w0: z, h0: D, vbW: Oe, vbH: He, targetW: B, targetH: ae };
|
|
17062
|
+
let ot = Bo() && Ke ? Oe : me(he + Ee * 2), at = Bo() && Ke ? He : me(Ae + Ee * 2);
|
|
17079
17063
|
g = `<svg xmlns="${$}" width="${ot}" height="${at}" viewBox="0 0 ${Oe} ${He}">` + tt + "</svg>", p = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(g)}`, l = { svgString: g, dataURL: p, ...l }, _();
|
|
17080
17064
|
}, { fast: o });
|
|
17081
17065
|
}), await ho("afterRender", l);
|
|
@@ -17107,7 +17091,7 @@ async function Hf(t, e) {
|
|
|
17107
17091
|
if (!t)
|
|
17108
17092
|
throw new Error("Element cannot be null or undefined");
|
|
17109
17093
|
let o = Xf(e);
|
|
17110
|
-
if (x0(o, e && e.plugins),
|
|
17094
|
+
if (x0(o, e && e.plugins), Bo() && (o.embedFonts === !0 || Uf(t)))
|
|
17111
17095
|
for (let i = 0; i < 3; i++)
|
|
17112
17096
|
try {
|
|
17113
17097
|
await Yf(t, e), da = !1;
|
|
@@ -17119,52 +17103,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17119
17103
|
if (o !== Pl)
|
|
17120
17104
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17121
17105
|
let i = await Ml(t, e), a = { img: async (u, h) => {
|
|
17122
|
-
let { toImg: f } = await import("./toImg-
|
|
17106
|
+
let { toImg: f } = await import("./toImg-7b1d4fe2.js");
|
|
17123
17107
|
return f(i, { ...u, ...h || {} });
|
|
17124
17108
|
}, svg: async (u, h) => {
|
|
17125
|
-
let { toSvg: f } = await import("./toImg-
|
|
17109
|
+
let { toSvg: f } = await import("./toImg-7b1d4fe2.js");
|
|
17126
17110
|
return f(i, { ...u, ...h || {} });
|
|
17127
17111
|
}, canvas: async (u, h) => {
|
|
17128
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17112
|
+
let { toCanvas: f } = await import("./toCanvas-5c78f5b9.js");
|
|
17129
17113
|
return f(i, { ...u, ...h || {} });
|
|
17130
17114
|
}, blob: async (u, h) => {
|
|
17131
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17115
|
+
let { toBlob: f } = await import("./toBlob-ee45412b.js");
|
|
17132
17116
|
return f(i, { ...u, ...h || {} });
|
|
17133
17117
|
}, png: async (u, h) => {
|
|
17134
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17118
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17135
17119
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17136
17120
|
}, jpeg: async (u, h) => {
|
|
17137
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17121
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17138
17122
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17139
17123
|
}, webp: async (u, h) => {
|
|
17140
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17124
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17141
17125
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17142
17126
|
}, download: async (u, h) => {
|
|
17143
|
-
let { download: f } = await import("./download-
|
|
17127
|
+
let { download: f } = await import("./download-b6376108.js");
|
|
17144
17128
|
return f(i, { ...u, ...h || {} });
|
|
17145
17129
|
} }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17146
|
-
let { toSvg: h } = await import("./toImg-
|
|
17130
|
+
let { toSvg: h } = await import("./toImg-7b1d4fe2.js");
|
|
17147
17131
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17148
17132
|
}, canvas: async (u) => {
|
|
17149
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17133
|
+
let { toCanvas: h } = await import("./toCanvas-5c78f5b9.js");
|
|
17150
17134
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17151
17135
|
}, png: async (u) => {
|
|
17152
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17136
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17153
17137
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17154
17138
|
}, jpeg: async (u) => {
|
|
17155
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17139
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17156
17140
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17157
17141
|
}, jpg: async (u) => {
|
|
17158
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17142
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17159
17143
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17160
17144
|
}, webp: async (u) => {
|
|
17161
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17145
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-65db591b.js");
|
|
17162
17146
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17163
17147
|
}, blob: async (u) => {
|
|
17164
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17148
|
+
let { toBlob: h } = await import("./toBlob-ee45412b.js");
|
|
17165
17149
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17166
17150
|
}, img: async (u) => {
|
|
17167
|
-
let { toImg: h } = await import("./toImg-
|
|
17151
|
+
let { toImg: h } = await import("./toImg-7b1d4fe2.js");
|
|
17168
17152
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17169
17153
|
} } }, r = await b0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17170
17154
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -17361,8 +17345,8 @@ class Jf {
|
|
|
17361
17345
|
let D = P, T = D * z;
|
|
17362
17346
|
const G = this.captureRect.width / 4;
|
|
17363
17347
|
T > G && (T = G, D = T / z);
|
|
17364
|
-
const
|
|
17365
|
-
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage,
|
|
17348
|
+
const j = this.captureRect.width - T - 12, B = p, ae = this.ctx.imageSmoothingEnabled, ie = this.ctx.imageSmoothingQuality;
|
|
17349
|
+
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, j, B, T, D), this.ctx.imageSmoothingEnabled = ae, this.ctx.imageSmoothingQuality = ie;
|
|
17366
17350
|
}
|
|
17367
17351
|
const _ = this.ctx.getImageData(0, 0, this.captureRect.width * i, this.captureRect.height * i);
|
|
17368
17352
|
this.frames.push(_), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
|
|
@@ -17646,7 +17630,7 @@ const Kf = {
|
|
|
17646
17630
|
return;
|
|
17647
17631
|
}
|
|
17648
17632
|
try {
|
|
17649
|
-
const e = await
|
|
17633
|
+
const e = await Bl.create(this.token), o = await (e == null ? void 0 : e.put2HZ("/share", t));
|
|
17650
17634
|
if (o && o.length > 0)
|
|
17651
17635
|
for (const i of o)
|
|
17652
17636
|
i.url && (i.url.endsWith(".gif") ? this.gifUrl = i.url : i.url.endsWith(".mp4") && (this.mp4Url = i.url));
|
|
@@ -18761,8 +18745,8 @@ const v1 = {
|
|
|
18761
18745
|
}, D1 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, I1 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, E1 = {
|
|
18762
18746
|
key: 0,
|
|
18763
18747
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
18764
|
-
}, F1 = ["onClick"], G1 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" },
|
|
18765
|
-
function
|
|
18748
|
+
}, F1 = ["onClick"], G1 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, B1 = { class: "text-body-1" };
|
|
18749
|
+
function j1(t, e, o, i, a, l) {
|
|
18766
18750
|
const r = M("IdmCapture"), c = M("VBtn"), s = M("VTooltip"), d = M("VDivider"), m = M("VListItemTitle"), p = M("VListItem"), g = M("VList"), w = M("VMenu");
|
|
18767
18751
|
return A(), R("div", A1, [
|
|
18768
18752
|
b(r, V({
|
|
@@ -19188,12 +19172,12 @@ function B1(t, e, o, i, a, l) {
|
|
|
19188
19172
|
]),
|
|
19189
19173
|
_: 1
|
|
19190
19174
|
}),
|
|
19191
|
-
n("span",
|
|
19175
|
+
n("span", B1, y(a.currentRealTime), 1)
|
|
19192
19176
|
])
|
|
19193
19177
|
], 4)
|
|
19194
19178
|
]);
|
|
19195
19179
|
}
|
|
19196
|
-
const N1 = /* @__PURE__ */ ne(v1, [["render",
|
|
19180
|
+
const N1 = /* @__PURE__ */ ne(v1, [["render", j1]]), Z1 = {
|
|
19197
19181
|
name: "IdmGL4",
|
|
19198
19182
|
components: {
|
|
19199
19183
|
IdmOtherLayer: Qs,
|
|
@@ -19394,7 +19378,7 @@ class O1 {
|
|
|
19394
19378
|
ke(this, "hi");
|
|
19395
19379
|
ke(this, "td");
|
|
19396
19380
|
ke(this, "windy");
|
|
19397
|
-
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G,
|
|
19381
|
+
var i, a, l, r, c, s, d, m, p, g, w, u, h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be, E, q, ee, se, Q, Y, le, Z, U, fe, Le, ze, he, Ae, $, we, Ee, Fe, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Ft, Gt, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Ge, oe, te, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, xa, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Fa, Ga, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Fi, Gi, Bi, ji, Ni, Zi;
|
|
19398
19382
|
this.i4 = {
|
|
19399
19383
|
source: {
|
|
19400
19384
|
type: "raster",
|
|
@@ -19536,7 +19520,7 @@ class O1 {
|
|
|
19536
19520
|
},
|
|
19537
19521
|
sources: {
|
|
19538
19522
|
composite: {
|
|
19539
|
-
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,neatchenheng.
|
|
19523
|
+
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,neatchenheng.em5174yi0b3k",
|
|
19540
19524
|
type: "vector"
|
|
19541
19525
|
},
|
|
19542
19526
|
i4: this.i4.source,
|
|
@@ -20956,7 +20940,7 @@ class O1 {
|
|
|
20956
20940
|
visibility: "none"
|
|
20957
20941
|
},
|
|
20958
20942
|
source: "composite",
|
|
20959
|
-
"source-layer": "
|
|
20943
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
20960
20944
|
},
|
|
20961
20945
|
{
|
|
20962
20946
|
id: "nsr-line",
|
|
@@ -20969,14 +20953,11 @@ class O1 {
|
|
|
20969
20953
|
"line-width": 2
|
|
20970
20954
|
},
|
|
20971
20955
|
layout: {
|
|
20972
|
-
"line-sort-key": [
|
|
20973
|
-
"get",
|
|
20974
|
-
"nsr_zone"
|
|
20975
|
-
],
|
|
20956
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
20976
20957
|
visibility: "none"
|
|
20977
20958
|
},
|
|
20978
20959
|
source: "composite",
|
|
20979
|
-
"source-layer": "
|
|
20960
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
20980
20961
|
},
|
|
20981
20962
|
{
|
|
20982
20963
|
id: "nsr-label",
|
|
@@ -20988,22 +20969,13 @@ class O1 {
|
|
|
20988
20969
|
"text-color": "rgb(0, 0, 0)"
|
|
20989
20970
|
},
|
|
20990
20971
|
layout: {
|
|
20991
|
-
"symbol-sort-key": [
|
|
20992
|
-
|
|
20993
|
-
"nsr_zone"
|
|
20994
|
-
],
|
|
20995
|
-
"text-field": [
|
|
20996
|
-
"concat",
|
|
20997
|
-
"[",
|
|
20998
|
-
["get", "nsr_zone"],
|
|
20999
|
-
"] ",
|
|
21000
|
-
["get", "name_en"]
|
|
21001
|
-
],
|
|
20972
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
20973
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
21002
20974
|
"text-size": 11,
|
|
21003
20975
|
visibility: "none"
|
|
21004
20976
|
},
|
|
21005
20977
|
source: "composite",
|
|
21006
|
-
"source-layer": "
|
|
20978
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
21007
20979
|
}
|
|
21008
20980
|
],
|
|
21009
20981
|
created: "2025-07-18T03:20:31.079Z",
|
|
@@ -21119,7 +21091,7 @@ class O1 {
|
|
|
21119
21091
|
},
|
|
21120
21092
|
sources: {
|
|
21121
21093
|
composite: {
|
|
21122
|
-
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,neatchenheng.
|
|
21094
|
+
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,neatchenheng.em5174yi0b3k",
|
|
21123
21095
|
type: "vector"
|
|
21124
21096
|
}
|
|
21125
21097
|
},
|
|
@@ -22524,7 +22496,7 @@ class O1 {
|
|
|
22524
22496
|
visibility: "none"
|
|
22525
22497
|
},
|
|
22526
22498
|
source: "composite",
|
|
22527
|
-
"source-layer": "
|
|
22499
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22528
22500
|
},
|
|
22529
22501
|
{
|
|
22530
22502
|
id: "nsr-line",
|
|
@@ -22537,14 +22509,11 @@ class O1 {
|
|
|
22537
22509
|
"line-width": 2
|
|
22538
22510
|
},
|
|
22539
22511
|
layout: {
|
|
22540
|
-
"line-sort-key": [
|
|
22541
|
-
"get",
|
|
22542
|
-
"nsr_zone"
|
|
22543
|
-
],
|
|
22512
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
22544
22513
|
visibility: "none"
|
|
22545
22514
|
},
|
|
22546
22515
|
source: "composite",
|
|
22547
|
-
"source-layer": "
|
|
22516
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22548
22517
|
},
|
|
22549
22518
|
{
|
|
22550
22519
|
id: "nsr-label",
|
|
@@ -22556,22 +22525,13 @@ class O1 {
|
|
|
22556
22525
|
"text-color": "rgb(255, 255, 255)"
|
|
22557
22526
|
},
|
|
22558
22527
|
layout: {
|
|
22559
|
-
"symbol-sort-key": [
|
|
22560
|
-
|
|
22561
|
-
"nsr_zone"
|
|
22562
|
-
],
|
|
22563
|
-
"text-field": [
|
|
22564
|
-
"concat",
|
|
22565
|
-
"[",
|
|
22566
|
-
["get", "nsr_zone"],
|
|
22567
|
-
"] ",
|
|
22568
|
-
["get", "name_en"]
|
|
22569
|
-
],
|
|
22528
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
22529
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
22570
22530
|
"text-size": 11,
|
|
22571
22531
|
visibility: "none"
|
|
22572
22532
|
},
|
|
22573
22533
|
source: "composite",
|
|
22574
|
-
"source-layer": "
|
|
22534
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22575
22535
|
}
|
|
22576
22536
|
],
|
|
22577
22537
|
created: "2025-07-31T04:32:27.422Z",
|
|
@@ -26436,7 +26396,7 @@ class O1 {
|
|
|
26436
26396
|
tileSize: 256
|
|
26437
26397
|
},
|
|
26438
26398
|
composite: {
|
|
26439
|
-
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.country-boundaries-v1,neatchenheng.82kqbc1q,neatchenheng.d44z21eg,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv,neatchenheng.dlkkohie,neatchenheng.
|
|
26399
|
+
url: "mapbox://mapbox.mapbox-streets-v8,mapbox.country-boundaries-v1,neatchenheng.82kqbc1q,neatchenheng.d44z21eg,neatchenheng.a4ifbysm,neatchenheng.27issko0,neatchenheng.9uwc9x7l,neatchenheng.7y3kpvvv,neatchenheng.dlkkohie,neatchenheng.em5174yi0b3k",
|
|
26440
26400
|
type: "vector"
|
|
26441
26401
|
}
|
|
26442
26402
|
},
|
|
@@ -27208,7 +27168,7 @@ class O1 {
|
|
|
27208
27168
|
visibility: "none"
|
|
27209
27169
|
},
|
|
27210
27170
|
source: "composite",
|
|
27211
|
-
"source-layer": "
|
|
27171
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27212
27172
|
},
|
|
27213
27173
|
{
|
|
27214
27174
|
id: "nsr-line",
|
|
@@ -27221,14 +27181,11 @@ class O1 {
|
|
|
27221
27181
|
"line-width": 2
|
|
27222
27182
|
},
|
|
27223
27183
|
layout: {
|
|
27224
|
-
"line-sort-key": [
|
|
27225
|
-
"get",
|
|
27226
|
-
"nsr_zone"
|
|
27227
|
-
],
|
|
27184
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
27228
27185
|
visibility: "none"
|
|
27229
27186
|
},
|
|
27230
27187
|
source: "composite",
|
|
27231
|
-
"source-layer": "
|
|
27188
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27232
27189
|
},
|
|
27233
27190
|
{
|
|
27234
27191
|
id: "nsr-label",
|
|
@@ -27240,22 +27197,13 @@ class O1 {
|
|
|
27240
27197
|
"text-color": "rgb(255, 255, 255)"
|
|
27241
27198
|
},
|
|
27242
27199
|
layout: {
|
|
27243
|
-
"symbol-sort-key": [
|
|
27244
|
-
|
|
27245
|
-
"nsr_zone"
|
|
27246
|
-
],
|
|
27247
|
-
"text-field": [
|
|
27248
|
-
"concat",
|
|
27249
|
-
"[",
|
|
27250
|
-
["get", "nsr_zone"],
|
|
27251
|
-
"] ",
|
|
27252
|
-
["get", "name_en"]
|
|
27253
|
-
],
|
|
27200
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
27201
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
27254
27202
|
"text-size": 10,
|
|
27255
27203
|
visibility: "none"
|
|
27256
27204
|
},
|
|
27257
27205
|
source: "composite",
|
|
27258
|
-
"source-layer": "
|
|
27206
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27259
27207
|
}
|
|
27260
27208
|
],
|
|
27261
27209
|
created: "2025-07-25T03:53:24.667Z",
|
|
@@ -38071,8 +38019,8 @@ class O1 {
|
|
|
38071
38019
|
(L = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : L.find((C) => C.id === "country-boundaries"),
|
|
38072
38020
|
(z = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : z.find((C) => C.id === "water-outline"),
|
|
38073
38021
|
(T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((C) => C.id === "water-outline2"),
|
|
38074
|
-
(
|
|
38075
|
-
(ae = (
|
|
38022
|
+
(j = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : j.find((C) => C.id === "empty-layer-2"),
|
|
38023
|
+
(ae = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : ae.find((C) => C.id === "water-line-label"),
|
|
38076
38024
|
(re = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : re.find((C) => C.id === "water-point-label"),
|
|
38077
38025
|
(be = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : be.find((C) => C.id === "world-12nm-v4-20231025"),
|
|
38078
38026
|
(q = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : q.find((C) => C.id === "nsr-flll"),
|
|
@@ -38085,7 +38033,7 @@ class O1 {
|
|
|
38085
38033
|
(we = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : we.find((C) => C.id === "china-route-label"),
|
|
38086
38034
|
(Fe = (Ee = this.originStyle) == null ? void 0 : Ee.light.layers) == null ? void 0 : Fe.find((C) => C.id === "admin-0-boundary-bg"),
|
|
38087
38035
|
(et = ($e = this.originStyle) == null ? void 0 : $e.light.layers) == null ? void 0 : et.find((C) => C.id === "admin-0-boundary"),
|
|
38088
|
-
(
|
|
38036
|
+
(je = (Je = this.originStyle) == null ? void 0 : Je.light.layers) == null ? void 0 : je.find((C) => C.id === "admin-0-boundary-disputed"),
|
|
38089
38037
|
(Oe = (tt = this.originStyle) == null ? void 0 : tt.light.layers) == null ? void 0 : Oe.find((C) => C.id === "country-label"),
|
|
38090
38038
|
(Ke = (He = this.originStyle) == null ? void 0 : He.light.layers) == null ? void 0 : Ke.find((C) => C.id === "continent-label"),
|
|
38091
38039
|
(at = (ot = this.originStyle) == null ? void 0 : ot.light.layers) == null ? void 0 : at.find((C) => C.id === "tide-stations"),
|
|
@@ -38124,8 +38072,8 @@ class O1 {
|
|
|
38124
38072
|
(Rt = (Tt = this.originStyle) == null ? void 0 : Tt.dark.layers) == null ? void 0 : Rt.find((C) => C.id === "empty-layer-0"),
|
|
38125
38073
|
(It = (Dt = this.originStyle) == null ? void 0 : Dt.dark.layers) == null ? void 0 : It.find((C) => C.id === "empty-layer-1"),
|
|
38126
38074
|
(Ft = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : Ft.find((C) => C.id === "country-boundaries"),
|
|
38127
|
-
(
|
|
38128
|
-
(Nt = (
|
|
38075
|
+
(Bt = (Gt = this.originStyle) == null ? void 0 : Gt.dark.layers) == null ? void 0 : Bt.find((C) => C.id === "water-outline"),
|
|
38076
|
+
(Nt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Nt.find((C) => C.id === "empty-layer-2"),
|
|
38129
38077
|
(Wt = (Zt = this.originStyle) == null ? void 0 : Zt.dark.layers) == null ? void 0 : Wt.find((C) => C.id === "water-line-label"),
|
|
38130
38078
|
(Xt = (Vt = this.originStyle) == null ? void 0 : Vt.dark.layers) == null ? void 0 : Xt.find((C) => C.id === "water-point-label"),
|
|
38131
38079
|
(Ht = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Ht.find((C) => C.id === "world-12nm-v4-20231025"),
|
|
@@ -38143,7 +38091,7 @@ class O1 {
|
|
|
38143
38091
|
(qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((C) => C.id === "country-label"),
|
|
38144
38092
|
(J = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : J.find((C) => C.id === "continent-label"),
|
|
38145
38093
|
(ce = (lo = this.originStyle) == null ? void 0 : lo.dark.layers) == null ? void 0 : ce.find((C) => C.id === "tide-stations"),
|
|
38146
|
-
(mt = (
|
|
38094
|
+
(mt = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : mt.find((C) => C.id === "empty-layer-3"),
|
|
38147
38095
|
(yt = (ft = this.originStyle) == null ? void 0 : ft.dark.layers) == null ? void 0 : yt.find((C) => C.id === "empty-layer-4")
|
|
38148
38096
|
]
|
|
38149
38097
|
},
|
|
@@ -38185,7 +38133,7 @@ class O1 {
|
|
|
38185
38133
|
(Da = (Ra = this.originStyle) == null ? void 0 : Ra.satellite.layers) == null ? void 0 : Da.find((C) => C.id === "ne-10m-outline"),
|
|
38186
38134
|
(Ea = (Ia = this.originStyle) == null ? void 0 : Ia.satellite.layers) == null ? void 0 : Ea.find((C) => C.id === "ne-10m-label"),
|
|
38187
38135
|
(Ga = (Fa = this.originStyle) == null ? void 0 : Fa.satellite.layers) == null ? void 0 : Ga.find((C) => C.id === "china-route-line"),
|
|
38188
|
-
(
|
|
38136
|
+
(ja = (Ba = this.originStyle) == null ? void 0 : Ba.satellite.layers) == null ? void 0 : ja.find((C) => C.id === "china-route-fill"),
|
|
38189
38137
|
(Za = (Na = this.originStyle) == null ? void 0 : Na.satellite.layers) == null ? void 0 : Za.find((C) => C.id === "china-route-label"),
|
|
38190
38138
|
(Va = (Wa = this.originStyle) == null ? void 0 : Wa.satellite.layers) == null ? void 0 : Va.find((C) => C.id === "tide-stations"),
|
|
38191
38139
|
(Oa = (Xa = this.originStyle) == null ? void 0 : Xa.satellite.layers) == null ? void 0 : Oa.find((C) => C.id === "empty-layer-3"),
|
|
@@ -38227,7 +38175,7 @@ class O1 {
|
|
|
38227
38175
|
(Di = (Ri = this.originStyle) == null ? void 0 : Ri.light.layers) == null ? void 0 : Di.find((C) => C.id === "china-route-fill"),
|
|
38228
38176
|
(Ei = (Ii = this.originStyle) == null ? void 0 : Ii.light.layers) == null ? void 0 : Ei.find((C) => C.id === "china-route-label"),
|
|
38229
38177
|
(Gi = (Fi = this.originStyle) == null ? void 0 : Fi.light.layers) == null ? void 0 : Gi.find((C) => C.id === "tide-stations"),
|
|
38230
|
-
(
|
|
38178
|
+
(ji = (Bi = this.originStyle) == null ? void 0 : Bi.light.layers) == null ? void 0 : ji.find((C) => C.id === "empty-layer-3"),
|
|
38231
38179
|
(Zi = (Ni = this.originStyle) == null ? void 0 : Ni.light.layers) == null ? void 0 : Zi.find((C) => C.id === "empty-layer-4")
|
|
38232
38180
|
]
|
|
38233
38181
|
}
|
|
@@ -38824,5 +38772,5 @@ export {
|
|
|
38824
38772
|
Pe as d,
|
|
38825
38773
|
Ue as e,
|
|
38826
38774
|
O1 as f,
|
|
38827
|
-
|
|
38775
|
+
Bo as l
|
|
38828
38776
|
};
|