@idmwx/idmui-gl4 3.5.4 → 3.5.6
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-cf03439d.js} +1 -1
- package/dist/{chunk-ANSXOGKI-2a1efb54.js → chunk-ANSXOGKI-e50e6699.js} +1 -1
- package/dist/{chunk-T4JIPPZO-bf41723f.js → chunk-T4JIPPZO-5a4c177d.js} +1 -1
- package/dist/{download-95b76cfa.js → download-c234aa09.js} +3 -3
- package/dist/{index-e4fb215d.js → index-09c24825.js} +226 -280
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +4 -4
- package/dist/mapbox/src/components/spot/index.vue.d.ts +1 -1
- package/dist/{rasterize-JS5G2XHH-aa42338c.js → rasterize-JS5G2XHH-0d20ff11.js} +3 -3
- package/dist/{toBlob-9ef5dbfe.js → toBlob-e6884cbe.js} +3 -3
- package/dist/{toCanvas-f7170c51.js → toCanvas-3499e459.js} +2 -2
- package/dist/{toImg-61cddd34.js → toImg-8b5a242b.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),
|
|
@@ -10218,8 +10202,6 @@ const Dh = {
|
|
|
10218
10202
|
},
|
|
10219
10203
|
async fetchData() {
|
|
10220
10204
|
var o;
|
|
10221
|
-
if (isNaN(this.form.latDegree) || isNaN(this.form.latMinute) || isNaN(this.form.lngDegree) || isNaN(this.form.lngMinute))
|
|
10222
|
-
return !1;
|
|
10223
10205
|
this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
|
|
10224
10206
|
const t = S();
|
|
10225
10207
|
((o = S(this.realTime)) == null ? void 0 : o.diff(t, "d", !0)) >= 0 ? await this.fetchForecastData(this.form) : await this.fetchHistoryData(this.form);
|
|
@@ -10267,10 +10249,10 @@ const Dh = {
|
|
|
10267
10249
|
}), this.loading = !1;
|
|
10268
10250
|
},
|
|
10269
10251
|
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,
|
|
10252
|
+
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
10253
|
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
10254
|
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((
|
|
10255
|
+
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
10256
|
},
|
|
10275
10257
|
handleBind() {
|
|
10276
10258
|
var t, e;
|
|
@@ -10333,7 +10315,7 @@ const Dh = {
|
|
|
10333
10315
|
this.$emit("cancelFollow", t);
|
|
10334
10316
|
}
|
|
10335
10317
|
}
|
|
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" },
|
|
10318
|
+
}, 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
10319
|
style: { width: "100px" },
|
|
10338
10320
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
10339
10321
|
}, au = { class: "pa-0 px-0" }, iu = { class: "mx-0 py-2 d-flex align-center justify-start" }, lu = {
|
|
@@ -10387,7 +10369,7 @@ const Dh = {
|
|
|
10387
10369
|
}, 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
10370
|
style: { width: "60px" },
|
|
10389
10371
|
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" },
|
|
10372
|
+
}, 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
10373
|
class: "multi-color-icon",
|
|
10392
10374
|
style: { height: "30px", width: "30px" },
|
|
10393
10375
|
"aria-hidden": "true"
|
|
@@ -10463,12 +10445,12 @@ function Qu(t, e, o, i, a, l) {
|
|
|
10463
10445
|
b(h, { class: "text-body-1 pa-4 py-2" }, {
|
|
10464
10446
|
default: x(() => [
|
|
10465
10447
|
n("div", Gh, [
|
|
10466
|
-
n("div",
|
|
10448
|
+
n("div", Bh, [
|
|
10467
10449
|
N(y(t.$t("spot.lat")), 1),
|
|
10468
10450
|
e[10] || (e[10] = n("span", { class: "text-danger" }, "*", -1))
|
|
10469
10451
|
])
|
|
10470
10452
|
]),
|
|
10471
|
-
n("div",
|
|
10453
|
+
n("div", jh, [
|
|
10472
10454
|
n("div", Nh, [
|
|
10473
10455
|
b(m, {
|
|
10474
10456
|
modelValue: a.form.latDegree,
|
|
@@ -10924,11 +10906,11 @@ function Qu(t, e, o, i, a, l) {
|
|
|
10924
10906
|
n("span", null, y(a.currentHourData.windDir ?? "-") + "/" + y(a.currentHourData.windSpeed ?? "-") + "kts/BF" + y(a.currentHourData.windLevel ?? "-"), 1)
|
|
10925
10907
|
]),
|
|
10926
10908
|
n("div", null, [
|
|
10927
|
-
n("span",
|
|
10909
|
+
n("span", Bu, y(t.$t("weather.sigWave")), 1),
|
|
10928
10910
|
n("span", null, y(a.currentHourData.sigwaveDir ?? "-") + "/" + y(a.currentHourData.sigwaveHeight ?? "-") + "m/" + y(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
|
|
10929
10911
|
]),
|
|
10930
10912
|
n("div", null, [
|
|
10931
|
-
n("span",
|
|
10913
|
+
n("span", ju, y(t.$t("weather.windWave")), 1),
|
|
10932
10914
|
n("span", null, y(a.currentHourData.windwaveDir ?? "-") + "/" + y(a.currentHourData.windwaveHeight ?? "-") + "m/" + y(a.currentHourData.windwavePeriod ?? "-") + "s", 1)
|
|
10933
10915
|
]),
|
|
10934
10916
|
a.currentHourData.showIce ? (A(), R("div", Nu, [
|
|
@@ -13011,7 +12993,7 @@ const Dp = {
|
|
|
13011
12993
|
}), this.map.getSource(t) && this.map.removeSource(t);
|
|
13012
12994
|
}
|
|
13013
12995
|
}
|
|
13014
|
-
}, Ip = { class: "text-h6 font-weight-600" }, Ep = { class: "mb-4" }, Fp = { class: "text-label mb-1" }, Gp = { class: "mb-1" },
|
|
12996
|
+
}, 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
12997
|
key: 0,
|
|
13016
12998
|
class: "text-body-2 text-left text-danger mt-1"
|
|
13017
12999
|
}, Op = {
|
|
@@ -13069,11 +13051,11 @@ function Yp(t, e, o, i, a, l) {
|
|
|
13069
13051
|
}, null, 8, ["modelValue"])
|
|
13070
13052
|
]),
|
|
13071
13053
|
n("div", Gp, [
|
|
13072
|
-
n("div",
|
|
13054
|
+
n("div", Bp, [
|
|
13073
13055
|
N(y(t.$t("marker.color")), 1),
|
|
13074
13056
|
e[11] || (e[11] = n("span", { class: "text-danger" }, "*", -1))
|
|
13075
13057
|
]),
|
|
13076
|
-
n("div",
|
|
13058
|
+
n("div", jp, [
|
|
13077
13059
|
n("input", {
|
|
13078
13060
|
type: "color",
|
|
13079
13061
|
value: a.form.color,
|
|
@@ -13986,7 +13968,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
13986
13968
|
n("div", fg, y(t.$t("tips.noData")), 1)
|
|
13987
13969
|
])) : (A(), R("div", yg, [
|
|
13988
13970
|
(A(!0), R(Ce, null, Me(a.layerGroup, (T, G) => {
|
|
13989
|
-
var
|
|
13971
|
+
var j;
|
|
13990
13972
|
return A(), R("div", {
|
|
13991
13973
|
key: T.name,
|
|
13992
13974
|
class: ue(["btn-bg-1", T.index === a.layerGroup.length ? "rounded-b" : T.index === 1 ? "rounded-t" : ""])
|
|
@@ -13996,11 +13978,11 @@ function _g(t, e, o, i, a, l) {
|
|
|
13996
13978
|
T.show ? (A(), F(d, {
|
|
13997
13979
|
key: 0,
|
|
13998
13980
|
icon: "mdi-chevron-down",
|
|
13999
|
-
onClick: (
|
|
13981
|
+
onClick: (B) => T.show = !1
|
|
14000
13982
|
}, null, 8, ["onClick"])) : (A(), F(d, {
|
|
14001
13983
|
key: 1,
|
|
14002
13984
|
icon: "mdi-chevron-right",
|
|
14003
|
-
onClick: (
|
|
13985
|
+
onClick: (B) => T.show = !0
|
|
14004
13986
|
}, null, 8, ["onClick"])),
|
|
14005
13987
|
a.loading ? (A(), F(p, {
|
|
14006
13988
|
key: 3,
|
|
@@ -14015,19 +13997,19 @@ function _g(t, e, o, i, a, l) {
|
|
|
14015
13997
|
variant: "flat",
|
|
14016
13998
|
class: "font-weight-600 mr-2",
|
|
14017
13999
|
color: "primary",
|
|
14018
|
-
onClick: (
|
|
14000
|
+
onClick: (B) => T.show = !T.show
|
|
14019
14001
|
}, {
|
|
14020
14002
|
default: x(() => {
|
|
14021
|
-
var
|
|
14003
|
+
var B;
|
|
14022
14004
|
return [
|
|
14023
|
-
N(y((
|
|
14005
|
+
N(y((B = T.layers) == null ? void 0 : B.length), 1)
|
|
14024
14006
|
];
|
|
14025
14007
|
}),
|
|
14026
14008
|
_: 2
|
|
14027
14009
|
}, 1032, ["onClick"])),
|
|
14028
14010
|
n("div", {
|
|
14029
14011
|
class: "",
|
|
14030
|
-
onClick: (
|
|
14012
|
+
onClick: (B) => T.show = !T.show
|
|
14031
14013
|
}, y(T.name), 9, xg)
|
|
14032
14014
|
]),
|
|
14033
14015
|
T.name !== "Custom Layers" && !o.simple ? (A(), R("div", vg, [
|
|
@@ -14059,7 +14041,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14059
14041
|
default: x(() => [
|
|
14060
14042
|
b(w, {
|
|
14061
14043
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14062
|
-
onClick: (
|
|
14044
|
+
onClick: (B) => l.handleOpenDrawMarkers(T)
|
|
14063
14045
|
}, {
|
|
14064
14046
|
default: x(() => [
|
|
14065
14047
|
b(d, {
|
|
@@ -14083,7 +14065,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14083
14065
|
default: x(() => [
|
|
14084
14066
|
b(w, {
|
|
14085
14067
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14086
|
-
onClick: (
|
|
14068
|
+
onClick: (B) => l.handleEditGroup(T)
|
|
14087
14069
|
}, {
|
|
14088
14070
|
default: x(() => [
|
|
14089
14071
|
b(d, {
|
|
@@ -14107,7 +14089,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14107
14089
|
default: x(() => [
|
|
14108
14090
|
b(w, {
|
|
14109
14091
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14110
|
-
onClick: (
|
|
14092
|
+
onClick: (B) => l.handleOpenDelete("group", T)
|
|
14111
14093
|
}, {
|
|
14112
14094
|
default: x(() => [
|
|
14113
14095
|
b(d, {
|
|
@@ -14137,17 +14119,17 @@ function _g(t, e, o, i, a, l) {
|
|
|
14137
14119
|
])) : I("", !0)
|
|
14138
14120
|
]),
|
|
14139
14121
|
T.show ? (A(), R("div", Ag, [
|
|
14140
|
-
(A(!0), R(Ce, null, Me((
|
|
14122
|
+
(A(!0), R(Ce, null, Me((j = T.layers) == null ? void 0 : j.filter((B) => {
|
|
14141
14123
|
var ae;
|
|
14142
|
-
return ((ae =
|
|
14143
|
-
}), (
|
|
14124
|
+
return ((ae = B.name) == null ? void 0 : ae.indexOf(a.keyword)) > -1;
|
|
14125
|
+
}), (B) => {
|
|
14144
14126
|
var ae;
|
|
14145
14127
|
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) ===
|
|
14128
|
+
key: B.id,
|
|
14129
|
+
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
14130
|
}, [
|
|
14149
14131
|
n("div", kg, [
|
|
14150
|
-
n("span", Lg, y(
|
|
14132
|
+
n("span", Lg, y(B == null ? void 0 : B.name), 1)
|
|
14151
14133
|
]),
|
|
14152
14134
|
o.simple ? I("", !0) : (A(), R("div", zg, [
|
|
14153
14135
|
b(r, {
|
|
@@ -14155,7 +14137,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14155
14137
|
density: "compact",
|
|
14156
14138
|
icon: "",
|
|
14157
14139
|
variant: "text",
|
|
14158
|
-
onClick: (ie) => l.handleEditLayer(T,
|
|
14140
|
+
onClick: (ie) => l.handleEditLayer(T, B)
|
|
14159
14141
|
}, {
|
|
14160
14142
|
default: x(() => [
|
|
14161
14143
|
b(d, {
|
|
@@ -14170,7 +14152,7 @@ function _g(t, e, o, i, a, l) {
|
|
|
14170
14152
|
density: "compact",
|
|
14171
14153
|
icon: "",
|
|
14172
14154
|
variant: "text",
|
|
14173
|
-
onClick: (ie) => l.handleOpenDelete("layer",
|
|
14155
|
+
onClick: (ie) => l.handleOpenDelete("layer", B)
|
|
14174
14156
|
}, {
|
|
14175
14157
|
default: x(() => [
|
|
14176
14158
|
b(d, {
|
|
@@ -14464,10 +14446,10 @@ function Gg(t) {
|
|
|
14464
14446
|
}
|
|
14465
14447
|
return e.removeChild(o), O.defaultStyle.set(t, a), a;
|
|
14466
14448
|
}
|
|
14467
|
-
var
|
|
14449
|
+
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
14450
|
function pl(t) {
|
|
14469
14451
|
let e = String(t).toLowerCase();
|
|
14470
|
-
return !!(Ng.has(e) ||
|
|
14452
|
+
return !!(Ng.has(e) || jg.test(e) || Bg.test(e));
|
|
14471
14453
|
}
|
|
14472
14454
|
function aa(t, e) {
|
|
14473
14455
|
if (e = String(e || "").toLowerCase(), ga.has(e))
|
|
@@ -14961,7 +14943,7 @@ async function vl(t, e, o, i) {
|
|
|
14961
14943
|
}
|
|
14962
14944
|
}
|
|
14963
14945
|
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,
|
|
14946
|
+
var h, f, k, v, _, L, P, z, D, T, G, j, B, ae, ie, re, xe, be;
|
|
14965
14947
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
14966
14948
|
let l = /* @__PURE__ */ new Map();
|
|
14967
14949
|
for (let E of t) {
|
|
@@ -15085,7 +15067,7 @@ async function h0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15085
15067
|
try {
|
|
15086
15068
|
let se = await so(E._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15087
15069
|
if (se.ok && typeof se.data == "string")
|
|
15088
|
-
ee = se.data, (G = O.resource) == null || G.set(E._snapdomSrc, ee), (
|
|
15070
|
+
ee = se.data, (G = O.resource) == null || G.set(E._snapdomSrc, ee), (j = O.font) == null || j.add(E._snapdomSrc);
|
|
15089
15071
|
else
|
|
15090
15072
|
continue;
|
|
15091
15073
|
} catch {
|
|
@@ -15105,7 +15087,7 @@ async function h0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15105
15087
|
continue;
|
|
15106
15088
|
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
15089
|
if (!le.startsWith("data:")) {
|
|
15108
|
-
if ((
|
|
15090
|
+
if ((B = O.resource) != null && B.has(Y))
|
|
15109
15091
|
le = O.resource.get(Y), (ae = O.font) == null || ae.add(Y);
|
|
15110
15092
|
else if (!((ie = O.font) != null && ie.has(Y)))
|
|
15111
15093
|
try {
|
|
@@ -15239,7 +15221,7 @@ function bo(t, { fast: e = !1 } = {}) {
|
|
|
15239
15221
|
return t();
|
|
15240
15222
|
"requestIdleCallback" in window ? requestIdleCallback(t, { timeout: 50 }) : setTimeout(t, 1);
|
|
15241
15223
|
}
|
|
15242
|
-
function
|
|
15224
|
+
function Bo() {
|
|
15243
15225
|
if (typeof navigator > "u")
|
|
15244
15226
|
return !1;
|
|
15245
15227
|
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 +15291,7 @@ function x0(t, e, o = !1) {
|
|
|
15309
15291
|
return !t || t.plugins && !o || (t.plugins = w0(e)), t;
|
|
15310
15292
|
}
|
|
15311
15293
|
var Ki = /* @__PURE__ */ new WeakMap(), ra = /* @__PURE__ */ new Map(), na = 0;
|
|
15312
|
-
function
|
|
15294
|
+
function jo() {
|
|
15313
15295
|
na++;
|
|
15314
15296
|
}
|
|
15315
15297
|
var Qi = !1;
|
|
@@ -15318,16 +15300,16 @@ function v0(t = document.documentElement) {
|
|
|
15318
15300
|
if (!Qi) {
|
|
15319
15301
|
Qi = !0;
|
|
15320
15302
|
try {
|
|
15321
|
-
new MutationObserver(() =>
|
|
15303
|
+
new MutationObserver(() => jo()).observe(t, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15322
15304
|
} catch {
|
|
15323
15305
|
}
|
|
15324
15306
|
try {
|
|
15325
|
-
new MutationObserver(() =>
|
|
15307
|
+
new MutationObserver(() => jo()).observe(document.head, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15326
15308
|
} catch {
|
|
15327
15309
|
}
|
|
15328
15310
|
try {
|
|
15329
15311
|
let i = document.fonts;
|
|
15330
|
-
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone",
|
|
15312
|
+
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone", jo), (o = i.ready) == null || o.then(() => jo()).catch(() => {
|
|
15331
15313
|
}));
|
|
15332
15314
|
} catch {
|
|
15333
15315
|
}
|
|
@@ -15379,7 +15361,7 @@ async function wo(t, e, o, i) {
|
|
|
15379
15361
|
if (t.tagName === "STYLE")
|
|
15380
15362
|
return;
|
|
15381
15363
|
let a = z0(o, i), l = a.options && a.options.cache || "auto";
|
|
15382
|
-
if (l !== "disabled" && v0(document.documentElement), l === "disabled" && !a.session.__bumpedForDisabled && (
|
|
15364
|
+
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
15365
|
let h = (w = t.getAttribute) == null ? void 0 : w.call(t, "style");
|
|
15384
15366
|
h && e.setAttribute("style", h);
|
|
15385
15367
|
}
|
|
@@ -15567,13 +15549,13 @@ function G0(t) {
|
|
|
15567
15549
|
}
|
|
15568
15550
|
return e;
|
|
15569
15551
|
}
|
|
15570
|
-
function
|
|
15552
|
+
function B0(t, e, o) {
|
|
15571
15553
|
if (!e)
|
|
15572
15554
|
return;
|
|
15573
15555
|
let i = document.createElement("style");
|
|
15574
15556
|
i.setAttribute("data-sd", o), i.textContent = e, t.insertBefore(i, t.firstChild || null);
|
|
15575
15557
|
}
|
|
15576
|
-
function
|
|
15558
|
+
function j0(t, e) {
|
|
15577
15559
|
try {
|
|
15578
15560
|
let o = t.currentSrc || t.src || "";
|
|
15579
15561
|
if (!o)
|
|
@@ -15889,7 +15871,7 @@ async function Jo(t, e, o) {
|
|
|
15889
15871
|
let r;
|
|
15890
15872
|
try {
|
|
15891
15873
|
if (r = t.cloneNode(!1), R0(t, r), e.nodeMap.set(r, t), t.tagName === "IMG") {
|
|
15892
|
-
|
|
15874
|
+
j0(t, r);
|
|
15893
15875
|
try {
|
|
15894
15876
|
let h = t.getBoundingClientRect(), f = Math.round(h.width || 0), k = Math.round(h.height || 0);
|
|
15895
15877
|
if (!f || !k) {
|
|
@@ -15919,8 +15901,8 @@ async function Jo(t, e, o) {
|
|
|
15919
15901
|
let h = function(T, G) {
|
|
15920
15902
|
if (T.nodeType === Node.ELEMENT_NODE && T.tagName === "STYLE")
|
|
15921
15903
|
return G(null);
|
|
15922
|
-
Jo(T, e, o).then((
|
|
15923
|
-
G(
|
|
15904
|
+
Jo(T, e, o).then((j) => {
|
|
15905
|
+
G(j || null);
|
|
15924
15906
|
}).catch(() => {
|
|
15925
15907
|
G(null);
|
|
15926
15908
|
});
|
|
@@ -15928,14 +15910,14 @@ async function Jo(t, e, o) {
|
|
|
15928
15910
|
try {
|
|
15929
15911
|
let T = t.shadowRoot.querySelectorAll("slot");
|
|
15930
15912
|
for (let G of T) {
|
|
15931
|
-
let
|
|
15913
|
+
let j = [];
|
|
15932
15914
|
try {
|
|
15933
|
-
|
|
15915
|
+
j = ((p = G.assignedNodes) == null ? void 0 : p.call(G, { flatten: !0 })) || ((g = G.assignedNodes) == null ? void 0 : g.call(G)) || [];
|
|
15934
15916
|
} catch {
|
|
15935
|
-
|
|
15917
|
+
j = ((w = G.assignedNodes) == null ? void 0 : w.call(G)) || [];
|
|
15936
15918
|
}
|
|
15937
|
-
for (let
|
|
15938
|
-
i.add(
|
|
15919
|
+
for (let B of j)
|
|
15920
|
+
i.add(B);
|
|
15939
15921
|
}
|
|
15940
15922
|
} catch {
|
|
15941
15923
|
}
|
|
@@ -15945,7 +15927,7 @@ async function Jo(t, e, o) {
|
|
|
15945
15927
|
} catch {
|
|
15946
15928
|
}
|
|
15947
15929
|
let v = G0(t.shadowRoot), _ = E0(v, k), L = N0(v), P = W0(t, L, k);
|
|
15948
|
-
|
|
15930
|
+
B0(r, P + _, f);
|
|
15949
15931
|
let z = document.createDocumentFragment(), D = await ta(Array.from(t.shadowRoot.childNodes), h, o.fast);
|
|
15950
15932
|
z.append(...D.filter((T) => !!T)), r.appendChild(z);
|
|
15951
15933
|
}
|
|
@@ -16068,8 +16050,8 @@ function ef(t) {
|
|
|
16068
16050
|
if (getComputedStyle(u).display === "list-item" && l(u)) {
|
|
16069
16051
|
let L = u.parentElement, P = 1;
|
|
16070
16052
|
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(
|
|
16053
|
+
let D = L.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, G = r(u), j = u.getAttribute("value");
|
|
16054
|
+
P = Number.isFinite(Number(j)) ? Number(j) : T + G;
|
|
16073
16055
|
} else
|
|
16074
16056
|
P = 1 + r(u);
|
|
16075
16057
|
let z = h.get("list-item") || [];
|
|
@@ -16332,7 +16314,7 @@ async function _l(t, e, o, i) {
|
|
|
16332
16314
|
e.replaceChild(he, Y), e.insertBefore(fe, he);
|
|
16333
16315
|
continue;
|
|
16334
16316
|
}
|
|
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),
|
|
16317
|
+
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
16318
|
if (!(ae || ie || re || xe || be)) {
|
|
16337
16319
|
if (k && k.length && t.parentElement) {
|
|
16338
16320
|
let Q = xo.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
@@ -16349,7 +16331,7 @@ async function _l(t, e, o, i) {
|
|
|
16349
16331
|
let E = document.createElement("span");
|
|
16350
16332
|
E.dataset.snapdomPseudo = g, E.style.pointerEvents = "none";
|
|
16351
16333
|
let q = Hi(w), ee = aa(q, "span");
|
|
16352
|
-
if (o.styleMap.set(E, ee),
|
|
16334
|
+
if (o.styleMap.set(E, ee), B && f && f.length === 1) {
|
|
16353
16335
|
let { dataUrl: Q, width: Y, height: le } = await $g(f, L, z, P, D), Z = document.createElement("img");
|
|
16354
16336
|
Z.src = Q, Z.style = `height:${P}px;width:${Y / le * P}px;object-fit:contain;`, E.appendChild(Z), e.dataset.snapdomHasIcon = "true";
|
|
16355
16337
|
} else if (f && f.startsWith("url(")) {
|
|
@@ -16362,7 +16344,7 @@ async function _l(t, e, o, i) {
|
|
|
16362
16344
|
console.error(`[snapdom] Error in pseudo ${g} for`, t, Y);
|
|
16363
16345
|
}
|
|
16364
16346
|
} else
|
|
16365
|
-
!
|
|
16347
|
+
!B && ae && (E.textContent = f);
|
|
16366
16348
|
E.style.backgroundImage = "none", "maskImage" in E.style && (E.style.maskImage = "none"), "webkitMaskImage" in E.style && (E.style.webkitMaskImage = "none");
|
|
16367
16349
|
try {
|
|
16368
16350
|
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 +16396,14 @@ function nf(t, e) {
|
|
|
16414
16396
|
if (!T)
|
|
16415
16397
|
return null;
|
|
16416
16398
|
for (let G = 0; G < T.length; G++) {
|
|
16417
|
-
let
|
|
16418
|
-
if (!
|
|
16399
|
+
let j = T[G];
|
|
16400
|
+
if (!j || !j.name)
|
|
16419
16401
|
continue;
|
|
16420
|
-
if (
|
|
16421
|
-
return
|
|
16422
|
-
let
|
|
16423
|
-
if (
|
|
16424
|
-
return
|
|
16402
|
+
if (j.name === "href")
|
|
16403
|
+
return j.value;
|
|
16404
|
+
let B = j.name.indexOf(":");
|
|
16405
|
+
if (B !== -1 && j.name.slice(B + 1) === "href")
|
|
16406
|
+
return j.value;
|
|
16425
16407
|
}
|
|
16426
16408
|
return null;
|
|
16427
16409
|
}, m = new Set(Array.from(t.querySelectorAll("[id]")).map((z) => z.id)), p = /* @__PURE__ */ new Set(), g = !1, w = (z, D = null) => {
|
|
@@ -16437,18 +16419,18 @@ function nf(t, e) {
|
|
|
16437
16419
|
}, u = (z) => {
|
|
16438
16420
|
let D = z.querySelectorAll("use");
|
|
16439
16421
|
for (let G of D) {
|
|
16440
|
-
let
|
|
16441
|
-
if (!
|
|
16422
|
+
let j = d(G);
|
|
16423
|
+
if (!j || !j.startsWith("#"))
|
|
16442
16424
|
continue;
|
|
16443
16425
|
g = !0;
|
|
16444
|
-
let
|
|
16445
|
-
|
|
16426
|
+
let B = j.slice(1).trim();
|
|
16427
|
+
B && !m.has(B) && p.add(B);
|
|
16446
16428
|
}
|
|
16447
16429
|
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
16430
|
for (let G of T) {
|
|
16449
16431
|
w(G.getAttribute("style") || "");
|
|
16450
|
-
for (let
|
|
16451
|
-
w(G.getAttribute(
|
|
16432
|
+
for (let j of r)
|
|
16433
|
+
w(G.getAttribute(j));
|
|
16452
16434
|
}
|
|
16453
16435
|
};
|
|
16454
16436
|
for (let z of a)
|
|
@@ -16461,8 +16443,8 @@ function nf(t, e) {
|
|
|
16461
16443
|
if (!z || m.has(z))
|
|
16462
16444
|
return null;
|
|
16463
16445
|
let D = c(z), T = (G) => {
|
|
16464
|
-
let
|
|
16465
|
-
return
|
|
16446
|
+
let j = i.querySelector(G);
|
|
16447
|
+
return j && !t.contains(j) ? j : null;
|
|
16466
16448
|
};
|
|
16467
16449
|
return T(`svg defs > *#${D}`) || T(`svg > symbol#${D}`) || T(`*#${D}`);
|
|
16468
16450
|
};
|
|
@@ -16482,16 +16464,16 @@ function nf(t, e) {
|
|
|
16482
16464
|
let T = D.cloneNode(!0);
|
|
16483
16465
|
T.id || T.setAttribute("id", z), f.appendChild(T), _.add(z), m.add(z);
|
|
16484
16466
|
let G = [T, ...T.querySelectorAll("*")];
|
|
16485
|
-
for (let
|
|
16486
|
-
let
|
|
16487
|
-
if (
|
|
16488
|
-
let ie =
|
|
16467
|
+
for (let j of G) {
|
|
16468
|
+
let B = d(j);
|
|
16469
|
+
if (B && B.startsWith("#")) {
|
|
16470
|
+
let ie = B.slice(1).trim();
|
|
16489
16471
|
ie && !m.has(ie) && !_.has(ie) && v.add(ie);
|
|
16490
16472
|
}
|
|
16491
|
-
let ae = ((L =
|
|
16473
|
+
let ae = ((L = j.getAttribute) == null ? void 0 : L.call(j, "style")) || "";
|
|
16492
16474
|
ae && w(ae, v);
|
|
16493
16475
|
for (let ie of r) {
|
|
16494
|
-
let re = (P =
|
|
16476
|
+
let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ie);
|
|
16495
16477
|
re && w(re, v);
|
|
16496
16478
|
}
|
|
16497
16479
|
}
|
|
@@ -16926,7 +16908,7 @@ function Gf(t, e, o) {
|
|
|
16926
16908
|
};
|
|
16927
16909
|
return { ox: r(a, e), oy: r(l, o) };
|
|
16928
16910
|
}
|
|
16929
|
-
function
|
|
16911
|
+
function Bf(t) {
|
|
16930
16912
|
var a, l, r, c, s, d, m, p;
|
|
16931
16913
|
let e = { rotate: "0deg", scale: null, translate: null }, o = typeof t.computedStyleMap == "function" ? t.computedStyleMap() : null;
|
|
16932
16914
|
if (o) {
|
|
@@ -16969,14 +16951,14 @@ function jf(t) {
|
|
|
16969
16951
|
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
16952
|
}
|
|
16971
16953
|
var oa = null;
|
|
16972
|
-
function
|
|
16954
|
+
function jf() {
|
|
16973
16955
|
if (oa)
|
|
16974
16956
|
return oa;
|
|
16975
16957
|
let t = document.createElement("div");
|
|
16976
16958
|
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
16959
|
}
|
|
16978
16960
|
function Nf(t) {
|
|
16979
|
-
let e =
|
|
16961
|
+
let e = jf(), o = document.createElement("div");
|
|
16980
16962
|
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
16963
|
let i = Cl(o);
|
|
16982
16964
|
return e.removeChild(o), i;
|
|
@@ -17032,7 +17014,7 @@ async function Ml(t, e) {
|
|
|
17032
17014
|
}), e.embedFonts && await new Promise((_) => {
|
|
17033
17015
|
bo(async () => {
|
|
17034
17016
|
let L = u0(l.element), P = p0(l.element);
|
|
17035
|
-
if (
|
|
17017
|
+
if (Bo()) {
|
|
17036
17018
|
let z = new Set(Array.from(L).map((D) => String(D).split("__")[0]).filter(Boolean));
|
|
17037
17019
|
await g0(z, 1);
|
|
17038
17020
|
}
|
|
@@ -17055,27 +17037,27 @@ async function Ml(t, e) {
|
|
|
17055
17037
|
let T = (Te, Re = NaN) => {
|
|
17056
17038
|
let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
|
|
17057
17039
|
return Number.isFinite(Ne) ? Ne : Re;
|
|
17058
|
-
}, G = T(l.options.width),
|
|
17059
|
-
ie && re ? (
|
|
17040
|
+
}, 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;
|
|
17041
|
+
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
17042
|
let be = 0, E = 0, q = z, ee = D;
|
|
17061
17043
|
if (!i && w && Number.isFinite(w.a)) {
|
|
17062
17044
|
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
17045
|
be = me(Re.minX), E = me(Re.minY), q = me(Re.maxX), ee = me(Re.maxY);
|
|
17064
17046
|
} else if (i && Wf(l.element)) {
|
|
17065
|
-
let Te = L.transform && L.transform !== "none" ? L.transform : "", Re =
|
|
17047
|
+
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
17048
|
be = me(Ve.minX), E = me(Ve.minY), q = me(Ve.maxX), ee = me(Ve.maxY);
|
|
17067
17049
|
}
|
|
17068
17050
|
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
17051
|
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(
|
|
17052
|
+
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
17053
|
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
17054
|
let Je = document.createElement("style");
|
|
17073
17055
|
Je.textContent = l.baseCSS + l.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + l.classCSS, Fe.appendChild(Je);
|
|
17074
|
-
let
|
|
17075
|
-
|
|
17056
|
+
let je = document.createElement("div");
|
|
17057
|
+
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
17058
|
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 =
|
|
17059
|
+
e.meta = { w0: z, h0: D, vbW: Oe, vbH: He, targetW: B, targetH: ae };
|
|
17060
|
+
let ot = Bo() && Ke ? Oe : me(he + Ee * 2), at = Bo() && Ke ? He : me(Ae + Ee * 2);
|
|
17079
17061
|
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
17062
|
}, { fast: o });
|
|
17081
17063
|
}), await ho("afterRender", l);
|
|
@@ -17107,7 +17089,7 @@ async function Hf(t, e) {
|
|
|
17107
17089
|
if (!t)
|
|
17108
17090
|
throw new Error("Element cannot be null or undefined");
|
|
17109
17091
|
let o = Xf(e);
|
|
17110
|
-
if (x0(o, e && e.plugins),
|
|
17092
|
+
if (x0(o, e && e.plugins), Bo() && (o.embedFonts === !0 || Uf(t)))
|
|
17111
17093
|
for (let i = 0; i < 3; i++)
|
|
17112
17094
|
try {
|
|
17113
17095
|
await Yf(t, e), da = !1;
|
|
@@ -17119,52 +17101,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17119
17101
|
if (o !== Pl)
|
|
17120
17102
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17121
17103
|
let i = await Ml(t, e), a = { img: async (u, h) => {
|
|
17122
|
-
let { toImg: f } = await import("./toImg-
|
|
17104
|
+
let { toImg: f } = await import("./toImg-8b5a242b.js");
|
|
17123
17105
|
return f(i, { ...u, ...h || {} });
|
|
17124
17106
|
}, svg: async (u, h) => {
|
|
17125
|
-
let { toSvg: f } = await import("./toImg-
|
|
17107
|
+
let { toSvg: f } = await import("./toImg-8b5a242b.js");
|
|
17126
17108
|
return f(i, { ...u, ...h || {} });
|
|
17127
17109
|
}, canvas: async (u, h) => {
|
|
17128
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17110
|
+
let { toCanvas: f } = await import("./toCanvas-3499e459.js");
|
|
17129
17111
|
return f(i, { ...u, ...h || {} });
|
|
17130
17112
|
}, blob: async (u, h) => {
|
|
17131
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17113
|
+
let { toBlob: f } = await import("./toBlob-e6884cbe.js");
|
|
17132
17114
|
return f(i, { ...u, ...h || {} });
|
|
17133
17115
|
}, png: async (u, h) => {
|
|
17134
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17116
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17135
17117
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17136
17118
|
}, jpeg: async (u, h) => {
|
|
17137
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17119
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17138
17120
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17139
17121
|
}, webp: async (u, h) => {
|
|
17140
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17122
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17141
17123
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17142
17124
|
}, download: async (u, h) => {
|
|
17143
|
-
let { download: f } = await import("./download-
|
|
17125
|
+
let { download: f } = await import("./download-c234aa09.js");
|
|
17144
17126
|
return f(i, { ...u, ...h || {} });
|
|
17145
17127
|
} }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17146
|
-
let { toSvg: h } = await import("./toImg-
|
|
17128
|
+
let { toSvg: h } = await import("./toImg-8b5a242b.js");
|
|
17147
17129
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17148
17130
|
}, canvas: async (u) => {
|
|
17149
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17131
|
+
let { toCanvas: h } = await import("./toCanvas-3499e459.js");
|
|
17150
17132
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17151
17133
|
}, png: async (u) => {
|
|
17152
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17134
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17153
17135
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17154
17136
|
}, jpeg: async (u) => {
|
|
17155
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17137
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17156
17138
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17157
17139
|
}, jpg: async (u) => {
|
|
17158
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17140
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17159
17141
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17160
17142
|
}, webp: async (u) => {
|
|
17161
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17143
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0d20ff11.js");
|
|
17162
17144
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17163
17145
|
}, blob: async (u) => {
|
|
17164
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17146
|
+
let { toBlob: h } = await import("./toBlob-e6884cbe.js");
|
|
17165
17147
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17166
17148
|
}, img: async (u) => {
|
|
17167
|
-
let { toImg: h } = await import("./toImg-
|
|
17149
|
+
let { toImg: h } = await import("./toImg-8b5a242b.js");
|
|
17168
17150
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17169
17151
|
} } }, r = await b0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17170
17152
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -17361,8 +17343,8 @@ class Jf {
|
|
|
17361
17343
|
let D = P, T = D * z;
|
|
17362
17344
|
const G = this.captureRect.width / 4;
|
|
17363
17345
|
T > G && (T = G, D = T / z);
|
|
17364
|
-
const
|
|
17365
|
-
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage,
|
|
17346
|
+
const j = this.captureRect.width - T - 12, B = p, ae = this.ctx.imageSmoothingEnabled, ie = this.ctx.imageSmoothingQuality;
|
|
17347
|
+
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
17348
|
}
|
|
17367
17349
|
const _ = this.ctx.getImageData(0, 0, this.captureRect.width * i, this.captureRect.height * i);
|
|
17368
17350
|
this.frames.push(_), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
|
|
@@ -17646,7 +17628,7 @@ const Kf = {
|
|
|
17646
17628
|
return;
|
|
17647
17629
|
}
|
|
17648
17630
|
try {
|
|
17649
|
-
const e = await
|
|
17631
|
+
const e = await Bl.create(this.token), o = await (e == null ? void 0 : e.put2HZ("/share", t));
|
|
17650
17632
|
if (o && o.length > 0)
|
|
17651
17633
|
for (const i of o)
|
|
17652
17634
|
i.url && (i.url.endsWith(".gif") ? this.gifUrl = i.url : i.url.endsWith(".mp4") && (this.mp4Url = i.url));
|
|
@@ -18761,8 +18743,8 @@ const v1 = {
|
|
|
18761
18743
|
}, 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
18744
|
key: 0,
|
|
18763
18745
|
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
|
|
18746
|
+
}, F1 = ["onClick"], G1 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, B1 = { class: "text-body-1" };
|
|
18747
|
+
function j1(t, e, o, i, a, l) {
|
|
18766
18748
|
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
18749
|
return A(), R("div", A1, [
|
|
18768
18750
|
b(r, V({
|
|
@@ -19188,12 +19170,12 @@ function B1(t, e, o, i, a, l) {
|
|
|
19188
19170
|
]),
|
|
19189
19171
|
_: 1
|
|
19190
19172
|
}),
|
|
19191
|
-
n("span",
|
|
19173
|
+
n("span", B1, y(a.currentRealTime), 1)
|
|
19192
19174
|
])
|
|
19193
19175
|
], 4)
|
|
19194
19176
|
]);
|
|
19195
19177
|
}
|
|
19196
|
-
const N1 = /* @__PURE__ */ ne(v1, [["render",
|
|
19178
|
+
const N1 = /* @__PURE__ */ ne(v1, [["render", j1]]), Z1 = {
|
|
19197
19179
|
name: "IdmGL4",
|
|
19198
19180
|
components: {
|
|
19199
19181
|
IdmOtherLayer: Qs,
|
|
@@ -19394,7 +19376,7 @@ class O1 {
|
|
|
19394
19376
|
ke(this, "hi");
|
|
19395
19377
|
ke(this, "td");
|
|
19396
19378
|
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,
|
|
19379
|
+
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
19380
|
this.i4 = {
|
|
19399
19381
|
source: {
|
|
19400
19382
|
type: "raster",
|
|
@@ -19536,7 +19518,7 @@ class O1 {
|
|
|
19536
19518
|
},
|
|
19537
19519
|
sources: {
|
|
19538
19520
|
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.
|
|
19521
|
+
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
19522
|
type: "vector"
|
|
19541
19523
|
},
|
|
19542
19524
|
i4: this.i4.source,
|
|
@@ -20956,7 +20938,7 @@ class O1 {
|
|
|
20956
20938
|
visibility: "none"
|
|
20957
20939
|
},
|
|
20958
20940
|
source: "composite",
|
|
20959
|
-
"source-layer": "
|
|
20941
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
20960
20942
|
},
|
|
20961
20943
|
{
|
|
20962
20944
|
id: "nsr-line",
|
|
@@ -20969,14 +20951,11 @@ class O1 {
|
|
|
20969
20951
|
"line-width": 2
|
|
20970
20952
|
},
|
|
20971
20953
|
layout: {
|
|
20972
|
-
"line-sort-key": [
|
|
20973
|
-
"get",
|
|
20974
|
-
"nsr_zone"
|
|
20975
|
-
],
|
|
20954
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
20976
20955
|
visibility: "none"
|
|
20977
20956
|
},
|
|
20978
20957
|
source: "composite",
|
|
20979
|
-
"source-layer": "
|
|
20958
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
20980
20959
|
},
|
|
20981
20960
|
{
|
|
20982
20961
|
id: "nsr-label",
|
|
@@ -20988,22 +20967,13 @@ class O1 {
|
|
|
20988
20967
|
"text-color": "rgb(0, 0, 0)"
|
|
20989
20968
|
},
|
|
20990
20969
|
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
|
-
],
|
|
20970
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
20971
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
21002
20972
|
"text-size": 11,
|
|
21003
20973
|
visibility: "none"
|
|
21004
20974
|
},
|
|
21005
20975
|
source: "composite",
|
|
21006
|
-
"source-layer": "
|
|
20976
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
21007
20977
|
}
|
|
21008
20978
|
],
|
|
21009
20979
|
created: "2025-07-18T03:20:31.079Z",
|
|
@@ -21119,7 +21089,7 @@ class O1 {
|
|
|
21119
21089
|
},
|
|
21120
21090
|
sources: {
|
|
21121
21091
|
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.
|
|
21092
|
+
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
21093
|
type: "vector"
|
|
21124
21094
|
}
|
|
21125
21095
|
},
|
|
@@ -22524,7 +22494,7 @@ class O1 {
|
|
|
22524
22494
|
visibility: "none"
|
|
22525
22495
|
},
|
|
22526
22496
|
source: "composite",
|
|
22527
|
-
"source-layer": "
|
|
22497
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22528
22498
|
},
|
|
22529
22499
|
{
|
|
22530
22500
|
id: "nsr-line",
|
|
@@ -22537,14 +22507,11 @@ class O1 {
|
|
|
22537
22507
|
"line-width": 2
|
|
22538
22508
|
},
|
|
22539
22509
|
layout: {
|
|
22540
|
-
"line-sort-key": [
|
|
22541
|
-
"get",
|
|
22542
|
-
"nsr_zone"
|
|
22543
|
-
],
|
|
22510
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
22544
22511
|
visibility: "none"
|
|
22545
22512
|
},
|
|
22546
22513
|
source: "composite",
|
|
22547
|
-
"source-layer": "
|
|
22514
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22548
22515
|
},
|
|
22549
22516
|
{
|
|
22550
22517
|
id: "nsr-label",
|
|
@@ -22556,22 +22523,13 @@ class O1 {
|
|
|
22556
22523
|
"text-color": "rgb(255, 255, 255)"
|
|
22557
22524
|
},
|
|
22558
22525
|
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
|
-
],
|
|
22526
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
22527
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
22570
22528
|
"text-size": 11,
|
|
22571
22529
|
visibility: "none"
|
|
22572
22530
|
},
|
|
22573
22531
|
source: "composite",
|
|
22574
|
-
"source-layer": "
|
|
22532
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
22575
22533
|
}
|
|
22576
22534
|
],
|
|
22577
22535
|
created: "2025-07-31T04:32:27.422Z",
|
|
@@ -26436,7 +26394,7 @@ class O1 {
|
|
|
26436
26394
|
tileSize: 256
|
|
26437
26395
|
},
|
|
26438
26396
|
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.
|
|
26397
|
+
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
26398
|
type: "vector"
|
|
26441
26399
|
}
|
|
26442
26400
|
},
|
|
@@ -27208,7 +27166,7 @@ class O1 {
|
|
|
27208
27166
|
visibility: "none"
|
|
27209
27167
|
},
|
|
27210
27168
|
source: "composite",
|
|
27211
|
-
"source-layer": "
|
|
27169
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27212
27170
|
},
|
|
27213
27171
|
{
|
|
27214
27172
|
id: "nsr-line",
|
|
@@ -27221,14 +27179,11 @@ class O1 {
|
|
|
27221
27179
|
"line-width": 2
|
|
27222
27180
|
},
|
|
27223
27181
|
layout: {
|
|
27224
|
-
"line-sort-key": [
|
|
27225
|
-
"get",
|
|
27226
|
-
"nsr_zone"
|
|
27227
|
-
],
|
|
27182
|
+
"line-sort-key": ["get", "nsr_zone"],
|
|
27228
27183
|
visibility: "none"
|
|
27229
27184
|
},
|
|
27230
27185
|
source: "composite",
|
|
27231
|
-
"source-layer": "
|
|
27186
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27232
27187
|
},
|
|
27233
27188
|
{
|
|
27234
27189
|
id: "nsr-label",
|
|
@@ -27240,22 +27195,13 @@ class O1 {
|
|
|
27240
27195
|
"text-color": "rgb(255, 255, 255)"
|
|
27241
27196
|
},
|
|
27242
27197
|
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
|
-
],
|
|
27198
|
+
"symbol-sort-key": ["get", "nsr_zone"],
|
|
27199
|
+
"text-field": ["concat", "[", ["get", "nsr_zone"], "] ", ["get", "name_en"]],
|
|
27254
27200
|
"text-size": 10,
|
|
27255
27201
|
visibility: "none"
|
|
27256
27202
|
},
|
|
27257
27203
|
source: "composite",
|
|
27258
|
-
"source-layer": "
|
|
27204
|
+
"source-layer": "67254ae0b5b8c2a16c6b"
|
|
27259
27205
|
}
|
|
27260
27206
|
],
|
|
27261
27207
|
created: "2025-07-25T03:53:24.667Z",
|
|
@@ -38071,8 +38017,8 @@ class O1 {
|
|
|
38071
38017
|
(L = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : L.find((C) => C.id === "country-boundaries"),
|
|
38072
38018
|
(z = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : z.find((C) => C.id === "water-outline"),
|
|
38073
38019
|
(T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((C) => C.id === "water-outline2"),
|
|
38074
|
-
(
|
|
38075
|
-
(ae = (
|
|
38020
|
+
(j = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : j.find((C) => C.id === "empty-layer-2"),
|
|
38021
|
+
(ae = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : ae.find((C) => C.id === "water-line-label"),
|
|
38076
38022
|
(re = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : re.find((C) => C.id === "water-point-label"),
|
|
38077
38023
|
(be = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : be.find((C) => C.id === "world-12nm-v4-20231025"),
|
|
38078
38024
|
(q = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : q.find((C) => C.id === "nsr-flll"),
|
|
@@ -38085,7 +38031,7 @@ class O1 {
|
|
|
38085
38031
|
(we = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : we.find((C) => C.id === "china-route-label"),
|
|
38086
38032
|
(Fe = (Ee = this.originStyle) == null ? void 0 : Ee.light.layers) == null ? void 0 : Fe.find((C) => C.id === "admin-0-boundary-bg"),
|
|
38087
38033
|
(et = ($e = this.originStyle) == null ? void 0 : $e.light.layers) == null ? void 0 : et.find((C) => C.id === "admin-0-boundary"),
|
|
38088
|
-
(
|
|
38034
|
+
(je = (Je = this.originStyle) == null ? void 0 : Je.light.layers) == null ? void 0 : je.find((C) => C.id === "admin-0-boundary-disputed"),
|
|
38089
38035
|
(Oe = (tt = this.originStyle) == null ? void 0 : tt.light.layers) == null ? void 0 : Oe.find((C) => C.id === "country-label"),
|
|
38090
38036
|
(Ke = (He = this.originStyle) == null ? void 0 : He.light.layers) == null ? void 0 : Ke.find((C) => C.id === "continent-label"),
|
|
38091
38037
|
(at = (ot = this.originStyle) == null ? void 0 : ot.light.layers) == null ? void 0 : at.find((C) => C.id === "tide-stations"),
|
|
@@ -38124,8 +38070,8 @@ class O1 {
|
|
|
38124
38070
|
(Rt = (Tt = this.originStyle) == null ? void 0 : Tt.dark.layers) == null ? void 0 : Rt.find((C) => C.id === "empty-layer-0"),
|
|
38125
38071
|
(It = (Dt = this.originStyle) == null ? void 0 : Dt.dark.layers) == null ? void 0 : It.find((C) => C.id === "empty-layer-1"),
|
|
38126
38072
|
(Ft = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : Ft.find((C) => C.id === "country-boundaries"),
|
|
38127
|
-
(
|
|
38128
|
-
(Nt = (
|
|
38073
|
+
(Bt = (Gt = this.originStyle) == null ? void 0 : Gt.dark.layers) == null ? void 0 : Bt.find((C) => C.id === "water-outline"),
|
|
38074
|
+
(Nt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Nt.find((C) => C.id === "empty-layer-2"),
|
|
38129
38075
|
(Wt = (Zt = this.originStyle) == null ? void 0 : Zt.dark.layers) == null ? void 0 : Wt.find((C) => C.id === "water-line-label"),
|
|
38130
38076
|
(Xt = (Vt = this.originStyle) == null ? void 0 : Vt.dark.layers) == null ? void 0 : Xt.find((C) => C.id === "water-point-label"),
|
|
38131
38077
|
(Ht = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Ht.find((C) => C.id === "world-12nm-v4-20231025"),
|
|
@@ -38143,7 +38089,7 @@ class O1 {
|
|
|
38143
38089
|
(qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((C) => C.id === "country-label"),
|
|
38144
38090
|
(J = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : J.find((C) => C.id === "continent-label"),
|
|
38145
38091
|
(ce = (lo = this.originStyle) == null ? void 0 : lo.dark.layers) == null ? void 0 : ce.find((C) => C.id === "tide-stations"),
|
|
38146
|
-
(mt = (
|
|
38092
|
+
(mt = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : mt.find((C) => C.id === "empty-layer-3"),
|
|
38147
38093
|
(yt = (ft = this.originStyle) == null ? void 0 : ft.dark.layers) == null ? void 0 : yt.find((C) => C.id === "empty-layer-4")
|
|
38148
38094
|
]
|
|
38149
38095
|
},
|
|
@@ -38185,7 +38131,7 @@ class O1 {
|
|
|
38185
38131
|
(Da = (Ra = this.originStyle) == null ? void 0 : Ra.satellite.layers) == null ? void 0 : Da.find((C) => C.id === "ne-10m-outline"),
|
|
38186
38132
|
(Ea = (Ia = this.originStyle) == null ? void 0 : Ia.satellite.layers) == null ? void 0 : Ea.find((C) => C.id === "ne-10m-label"),
|
|
38187
38133
|
(Ga = (Fa = this.originStyle) == null ? void 0 : Fa.satellite.layers) == null ? void 0 : Ga.find((C) => C.id === "china-route-line"),
|
|
38188
|
-
(
|
|
38134
|
+
(ja = (Ba = this.originStyle) == null ? void 0 : Ba.satellite.layers) == null ? void 0 : ja.find((C) => C.id === "china-route-fill"),
|
|
38189
38135
|
(Za = (Na = this.originStyle) == null ? void 0 : Na.satellite.layers) == null ? void 0 : Za.find((C) => C.id === "china-route-label"),
|
|
38190
38136
|
(Va = (Wa = this.originStyle) == null ? void 0 : Wa.satellite.layers) == null ? void 0 : Va.find((C) => C.id === "tide-stations"),
|
|
38191
38137
|
(Oa = (Xa = this.originStyle) == null ? void 0 : Xa.satellite.layers) == null ? void 0 : Oa.find((C) => C.id === "empty-layer-3"),
|
|
@@ -38227,7 +38173,7 @@ class O1 {
|
|
|
38227
38173
|
(Di = (Ri = this.originStyle) == null ? void 0 : Ri.light.layers) == null ? void 0 : Di.find((C) => C.id === "china-route-fill"),
|
|
38228
38174
|
(Ei = (Ii = this.originStyle) == null ? void 0 : Ii.light.layers) == null ? void 0 : Ei.find((C) => C.id === "china-route-label"),
|
|
38229
38175
|
(Gi = (Fi = this.originStyle) == null ? void 0 : Fi.light.layers) == null ? void 0 : Gi.find((C) => C.id === "tide-stations"),
|
|
38230
|
-
(
|
|
38176
|
+
(ji = (Bi = this.originStyle) == null ? void 0 : Bi.light.layers) == null ? void 0 : ji.find((C) => C.id === "empty-layer-3"),
|
|
38231
38177
|
(Zi = (Ni = this.originStyle) == null ? void 0 : Ni.light.layers) == null ? void 0 : Zi.find((C) => C.id === "empty-layer-4")
|
|
38232
38178
|
]
|
|
38233
38179
|
}
|
|
@@ -38824,5 +38770,5 @@ export {
|
|
|
38824
38770
|
Pe as d,
|
|
38825
38771
|
Ue as e,
|
|
38826
38772
|
O1 as f,
|
|
38827
|
-
|
|
38773
|
+
Bo as l
|
|
38828
38774
|
};
|