@idmwx/idmui-gl4 3.6.7 → 3.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3VYIPD3A-4da5a760.js → chunk-3VYIPD3A-521ddd72.js} +1 -1
- package/dist/{chunk-ANSXOGKI-c20016c0.js → chunk-ANSXOGKI-52e829ce.js} +1 -1
- package/dist/{chunk-T4JIPPZO-36183ac2.js → chunk-T4JIPPZO-ae4347c1.js} +1 -1
- package/dist/{download-9474eb34.js → download-131ab3d0.js} +3 -3
- package/dist/{index-d5cd8610.js → index-0d4dba4e.js} +215 -251
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +12 -12
- package/dist/mapbox/src/components/weather/currentDirection.vue.d.ts +6 -11
- package/dist/mapbox/src/components/weather/prmsl.vue.d.ts +2 -9
- package/dist/mapbox/src/components/weather/sigWaveHeight.vue.d.ts +0 -8
- package/dist/mapbox/src/components/weather/windBarbs.vue.d.ts +10 -16
- package/dist/mapbox/src/index.vue.d.ts +3 -0
- package/dist/{rasterize-JS5G2XHH-eec3dedc.js → rasterize-JS5G2XHH-cc446959.js} +3 -3
- package/dist/{toBlob-d8ade901.js → toBlob-6d3d669c.js} +3 -3
- package/dist/{toCanvas-c7123306.js → toCanvas-278ce257.js} +2 -2
- package/dist/{toImg-c6c95390.js → toImg-8df15930.js} +3 -3
- package/package.json +1 -1
|
@@ -751,10 +751,10 @@ const Al = {
|
|
|
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, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
754
|
+
var c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze;
|
|
755
755
|
let r = {};
|
|
756
756
|
const l = ((c = Zo.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
|
|
757
|
-
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((b = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((f = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", r.windDir = (v = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((k = (C = l == null ? void 0 : l.weather) == null ? void 0 : C.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (D = l == null ? void 0 : l.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (j = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.sig) == null ? void 0 : j.direction, r.sigwavePeriod = this.computeRoundPrecision((
|
|
757
|
+
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((b = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((f = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", r.windDir = (v = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((k = (C = l == null ? void 0 : l.weather) == null ? void 0 : C.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (D = l == null ? void 0 : l.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (j = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.sig) == null ? void 0 : j.direction, r.sigwavePeriod = this.computeRoundPrecision((Q = (B = l == null ? void 0 : l.wave) == null ? void 0 : B.sig) == null ? void 0 : Q.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((re = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.wd) == null ? void 0 : re.height, 1) ?? "-", r.windwaveDir = (fe = (xe = l == null ? void 0 : l.wave) == null ? void 0 : xe.wd) == null ? void 0 : fe.direction, r.windwavePeriod = this.computeRoundPrecision(($ = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((se = (te = l == null ? void 0 : l.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", r.swellDir = (Y = (q = l == null ? void 0 : l.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, r.swellPeriod = this.computeRoundPrecision((Z = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((U = l == null ? void 0 : l.current) == null ? void 0 : U.speed, 1) ?? "-", r.currentDir = (ye = l == null ? void 0 : l.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.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}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
|
|
758
758
|
});
|
|
759
759
|
},
|
|
760
760
|
handleTide() {
|
|
@@ -3423,7 +3423,7 @@ const cc = {
|
|
|
3423
3423
|
}, wc = { class: "text-body-2 text-center pt-2" };
|
|
3424
3424
|
function xc(t, e, o, i, a, r) {
|
|
3425
3425
|
var fe, E, $, te, se, q, Y, le, Z;
|
|
3426
|
-
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), z = M("IdmTimezone"), v = M("IdmAlertZone"), C = M("IdmEcaZone"), k = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), G = M("IdmSpecialArea"), j = M("IdmWorld12nm"), B = M("IdmChinaRoute"),
|
|
3426
|
+
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), z = M("IdmTimezone"), v = M("IdmAlertZone"), C = M("IdmEcaZone"), k = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), G = M("IdmSpecialArea"), j = M("IdmWorld12nm"), B = M("IdmChinaRoute"), Q = M("IdmIceAreas"), ae = M("IdmNsrAreas"), re = M("IdmFollowPort"), xe = M("IdmFollowPosition");
|
|
3427
3427
|
return A(), R("div", mc, [
|
|
3428
3428
|
n("div", {
|
|
3429
3429
|
class: pe(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
@@ -3437,8 +3437,8 @@ function xc(t, e, o, i, a, r) {
|
|
|
3437
3437
|
"open-on-focus": !o.simple,
|
|
3438
3438
|
"open-on-hover": !o.simple
|
|
3439
3439
|
}, {
|
|
3440
|
-
activator: x(({ props:
|
|
3441
|
-
w(l, V(
|
|
3440
|
+
activator: x(({ props: U }) => [
|
|
3441
|
+
w(l, V(U, {
|
|
3442
3442
|
"min-width": "32",
|
|
3443
3443
|
width: "32",
|
|
3444
3444
|
height: "32",
|
|
@@ -3497,25 +3497,25 @@ function xc(t, e, o, i, a, r) {
|
|
|
3497
3497
|
w(p, { class: "pb-2" }, {
|
|
3498
3498
|
default: x(() => [
|
|
3499
3499
|
n("div", uc, [
|
|
3500
|
-
(A(!0), R(Ce, null, Me(a.mapFeathers, (
|
|
3501
|
-
key:
|
|
3500
|
+
(A(!0), R(Ce, null, Me(a.mapFeathers, (U) => (A(), R("div", {
|
|
3501
|
+
key: U.value,
|
|
3502
3502
|
class: "mb-4 feather-item",
|
|
3503
|
-
onClick: (ye) => r.handleToggleMapFeather(
|
|
3503
|
+
onClick: (ye) => r.handleToggleMapFeather(U)
|
|
3504
3504
|
}, [
|
|
3505
3505
|
n("div", {
|
|
3506
|
-
class: pe([a.mapFeather ===
|
|
3506
|
+
class: pe([a.mapFeather === U.value ? "active" : "", "img-box"])
|
|
3507
3507
|
}, [
|
|
3508
|
-
|
|
3508
|
+
U.value === "dark" ? (A(), R("img", gc)) : U.value === "nautical" ? (A(), R("img", fc)) : U.value === "satellite" ? (A(), R("img", yc)) : (A(), R("img", bc))
|
|
3509
3509
|
], 2),
|
|
3510
|
-
n("div", wc, y(t.$t(`layer.${
|
|
3510
|
+
n("div", wc, y(t.$t(`layer.${U.locale}`)), 1)
|
|
3511
3511
|
], 8, pc))), 128))
|
|
3512
3512
|
]),
|
|
3513
|
-
(A(!0), R(Ce, null, Me(a.tagLayers.filter((
|
|
3514
|
-
key:
|
|
3513
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["graticule", "day-night", "time-zones"].includes(U.key)), (U) => (A(), F(m, {
|
|
3514
|
+
key: U.key,
|
|
3515
3515
|
modelValue: a.checkList,
|
|
3516
3516
|
"onUpdate:modelValue": e[0] || (e[0] = (ye) => a.checkList = ye),
|
|
3517
|
-
value:
|
|
3518
|
-
label: t.$t(`layer.${
|
|
3517
|
+
value: U.key,
|
|
3518
|
+
label: t.$t(`layer.${U.locale}`),
|
|
3519
3519
|
color: "primary",
|
|
3520
3520
|
density: "compact",
|
|
3521
3521
|
style: { height: "36px" },
|
|
@@ -3546,12 +3546,12 @@ function xc(t, e, o, i, a, r) {
|
|
|
3546
3546
|
}),
|
|
3547
3547
|
w(p, { class: "py-2 mx-n1" }, {
|
|
3548
3548
|
default: x(() => [
|
|
3549
|
-
(A(!0), R(Ce, null, Me(a.tagLayers.filter((
|
|
3550
|
-
key:
|
|
3549
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
|
|
3550
|
+
key: U.key,
|
|
3551
3551
|
modelValue: a.checkList,
|
|
3552
3552
|
"onUpdate:modelValue": e[1] || (e[1] = (ye) => a.checkList = ye),
|
|
3553
|
-
value:
|
|
3554
|
-
label: t.$t(`layer.${
|
|
3553
|
+
value: U.key,
|
|
3554
|
+
label: t.$t(`layer.${U.locale}`),
|
|
3555
3555
|
color: "primary",
|
|
3556
3556
|
density: "compact",
|
|
3557
3557
|
style: { height: "36px" },
|
|
@@ -3582,12 +3582,12 @@ function xc(t, e, o, i, a, r) {
|
|
|
3582
3582
|
}),
|
|
3583
3583
|
w(p, { class: "py-2 mx-n1" }, {
|
|
3584
3584
|
default: x(() => [
|
|
3585
|
-
(A(!0), R(Ce, null, Me(a.tagLayers.filter((
|
|
3586
|
-
key:
|
|
3585
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
|
|
3586
|
+
key: U.key,
|
|
3587
3587
|
modelValue: a.checkList,
|
|
3588
3588
|
"onUpdate:modelValue": e[2] || (e[2] = (ye) => a.checkList = ye),
|
|
3589
|
-
value:
|
|
3590
|
-
label: t.$t(`layer.${
|
|
3589
|
+
value: U.key,
|
|
3590
|
+
label: t.$t(`layer.${U.locale}`),
|
|
3591
3591
|
color: "primary",
|
|
3592
3592
|
density: "compact",
|
|
3593
3593
|
style: { height: "36px" },
|
|
@@ -3620,7 +3620,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3620
3620
|
default: x(() => [
|
|
3621
3621
|
w(m, {
|
|
3622
3622
|
modelValue: a.checkList,
|
|
3623
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
3623
|
+
"onUpdate:modelValue": e[3] || (e[3] = (U) => a.checkList = U),
|
|
3624
3624
|
value: "follow-ports",
|
|
3625
3625
|
label: t.$t("layer.ports"),
|
|
3626
3626
|
color: "primary",
|
|
@@ -3631,7 +3631,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3631
3631
|
}, null, 8, ["modelValue", "label"]),
|
|
3632
3632
|
w(m, {
|
|
3633
3633
|
modelValue: a.checkList,
|
|
3634
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
3634
|
+
"onUpdate:modelValue": e[4] || (e[4] = (U) => a.checkList = U),
|
|
3635
3635
|
value: "follow-positions",
|
|
3636
3636
|
label: t.$t("layer.locations"),
|
|
3637
3637
|
color: "primary",
|
|
@@ -3749,7 +3749,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3749
3749
|
token: o.token,
|
|
3750
3750
|
show: a.checkList.includes("chinaRoute")
|
|
3751
3751
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
|
|
3752
|
-
o.map ? (A(), F(
|
|
3752
|
+
o.map ? (A(), F(Q, V({
|
|
3753
3753
|
key: 15,
|
|
3754
3754
|
map: o.map,
|
|
3755
3755
|
show: a.checkList.includes("ice-areas")
|
|
@@ -4302,32 +4302,28 @@ const Ac = {
|
|
|
4302
4302
|
wind: {
|
|
4303
4303
|
type: Object
|
|
4304
4304
|
},
|
|
4305
|
-
current: {
|
|
4306
|
-
type: Object
|
|
4307
|
-
},
|
|
4308
4305
|
beforeLayer: {
|
|
4309
4306
|
type: String
|
|
4310
4307
|
},
|
|
4311
|
-
menuToggle: {
|
|
4312
|
-
type: Object
|
|
4313
|
-
},
|
|
4314
4308
|
theme: {
|
|
4315
4309
|
type: String
|
|
4316
4310
|
},
|
|
4317
4311
|
mapFeather: {
|
|
4318
4312
|
type: String
|
|
4313
|
+
},
|
|
4314
|
+
activeWeatherLayers: {
|
|
4315
|
+
type: Array
|
|
4316
|
+
},
|
|
4317
|
+
hasRampLayer: {
|
|
4318
|
+
type: Boolean
|
|
4319
4319
|
}
|
|
4320
4320
|
},
|
|
4321
4321
|
emits: [],
|
|
4322
4322
|
data() {
|
|
4323
4323
|
return {
|
|
4324
|
-
toggle: !1,
|
|
4325
|
-
showCaption: !1,
|
|
4326
4324
|
source: "wind-barb-source",
|
|
4327
4325
|
barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
|
|
4328
4326
|
empty: W.featureCollection([]),
|
|
4329
|
-
right: 10,
|
|
4330
|
-
bottom: 125,
|
|
4331
4327
|
windBarbLoaded: !1,
|
|
4332
4328
|
svgs: Ac
|
|
4333
4329
|
};
|
|
@@ -4337,7 +4333,7 @@ const Ac = {
|
|
|
4337
4333
|
return 0.6;
|
|
4338
4334
|
},
|
|
4339
4335
|
color() {
|
|
4340
|
-
return this.mapFeather === "light" || this.mapFeather === "nautical" ? "#000623" : "#
|
|
4336
|
+
return (this.mapFeather === "light" || this.mapFeather === "nautical") && !this.hasRampLayer ? "#000623" : "#ffffff";
|
|
4341
4337
|
}
|
|
4342
4338
|
},
|
|
4343
4339
|
watch: {
|
|
@@ -4348,42 +4344,36 @@ const Ac = {
|
|
|
4348
4344
|
},
|
|
4349
4345
|
immediate: !0
|
|
4350
4346
|
},
|
|
4351
|
-
|
|
4347
|
+
color: {
|
|
4352
4348
|
handler() {
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
});
|
|
4357
|
-
},
|
|
4358
|
-
immediate: !0
|
|
4349
|
+
var t;
|
|
4350
|
+
(t = this.wind) != null && t.active && (this.handleClear(), this.handleRender());
|
|
4351
|
+
}
|
|
4359
4352
|
}
|
|
4360
4353
|
},
|
|
4361
4354
|
methods: {
|
|
4362
|
-
handleMenuToggle() {
|
|
4363
|
-
this.toggle = !this.toggle, this.showCaption = !this.showCaption;
|
|
4364
|
-
},
|
|
4365
4355
|
handleRender() {
|
|
4366
|
-
var t, e;
|
|
4356
|
+
var t, e, o;
|
|
4367
4357
|
if (this.map && this.wind) {
|
|
4368
|
-
const
|
|
4369
|
-
let
|
|
4370
|
-
const
|
|
4358
|
+
const i = (/* @__PURE__ */ new Date()).valueOf();
|
|
4359
|
+
let a = 0;
|
|
4360
|
+
const r = this.wind.active ? this.wind.data : this.empty;
|
|
4371
4361
|
if ((t = this.map) != null && t.getSource(this.source))
|
|
4372
|
-
(e = this.map) == null || e.getSource(this.source).setData(
|
|
4362
|
+
(e = this.map) == null || e.getSource(this.source).setData(r), (/* @__PURE__ */ new Date()).valueOf() - (i + a);
|
|
4373
4363
|
else {
|
|
4374
|
-
this.map.addSource(this.source, { type: "geojson", data:
|
|
4375
|
-
for (let
|
|
4376
|
-
const
|
|
4377
|
-
|
|
4378
|
-
this.map.hasImage(
|
|
4364
|
+
this.map.addSource(this.source, { type: "geojson", data: r });
|
|
4365
|
+
for (let l = 0; l < (this.barbs ?? []).length - 1; l++) {
|
|
4366
|
+
const c = (this.barbs ?? [])[l] || 0, s = (this.barbs ?? [])[l + 1] || 0, d = c < 10 ? `00${c}kts` : c < 100 ? `0${c}kts` : `${c}kts`, m = new Image(48, 48), p = (o = this.svgs[d].replace(/fill="#ffffff"/g, `fill="${this.color}"`)) == null ? void 0 : o.replace(/fill="#000623"/g, `fill="${this.color}"`);
|
|
4367
|
+
m.src = "data:image/svg+xml;base64," + window.btoa(p), m.onload = () => {
|
|
4368
|
+
this.map.hasImage(d + "-icon") ? this.map.updateImage(d + "-icon", m) : this.map.addImage(d + "-icon", m), this.map.getLayer(d) || this.map.addLayer(
|
|
4379
4369
|
{
|
|
4380
|
-
id:
|
|
4370
|
+
id: d,
|
|
4381
4371
|
type: "symbol",
|
|
4382
|
-
filter: ["all", [">=", "spd",
|
|
4372
|
+
filter: ["all", [">=", "spd", c], ["<", "spd", s]],
|
|
4383
4373
|
source: this.source,
|
|
4384
4374
|
layout: {
|
|
4385
4375
|
"symbol-placement": "point",
|
|
4386
|
-
"icon-image":
|
|
4376
|
+
"icon-image": d + "-icon",
|
|
4387
4377
|
// mapbox sprite
|
|
4388
4378
|
"icon-size": 0.5,
|
|
4389
4379
|
"icon-offset": [0, -20],
|
|
@@ -4405,14 +4395,14 @@ const Ac = {
|
|
|
4405
4395
|
);
|
|
4406
4396
|
};
|
|
4407
4397
|
}
|
|
4408
|
-
this.windBarbLoaded = !0, (/* @__PURE__ */ new Date()).valueOf() - (
|
|
4398
|
+
this.windBarbLoaded = !0, (/* @__PURE__ */ new Date()).valueOf() - (i + a);
|
|
4409
4399
|
}
|
|
4410
4400
|
}
|
|
4411
4401
|
},
|
|
4412
4402
|
handleClear() {
|
|
4413
4403
|
for (const t of this.barbs ?? []) {
|
|
4414
4404
|
const e = t < 10 ? `00${t}kts` : t < 100 ? `0${t}kts` : `${t}kts`;
|
|
4415
|
-
this.map.getLayer(e) && this.map.removeLayer(e);
|
|
4405
|
+
this.map.getLayer(e) && this.map.removeLayer(e), this.map.hasImage(e + "-icon") && this.map.removeImage(e + "-icon");
|
|
4416
4406
|
}
|
|
4417
4407
|
this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
|
|
4418
4408
|
}
|
|
@@ -4620,22 +4610,19 @@ const Pc = /* @__PURE__ */ ne(_c, [["render", Mc]]), Sc = {
|
|
|
4620
4610
|
beforeLayer: {
|
|
4621
4611
|
type: String
|
|
4622
4612
|
},
|
|
4623
|
-
menuToggle: {
|
|
4624
|
-
type: Object
|
|
4625
|
-
},
|
|
4626
4613
|
theme: {
|
|
4627
4614
|
type: String
|
|
4628
4615
|
},
|
|
4629
4616
|
mapFeather: {
|
|
4630
4617
|
type: String
|
|
4618
|
+
},
|
|
4619
|
+
hasRampLayer: {
|
|
4620
|
+
type: Boolean
|
|
4631
4621
|
}
|
|
4632
4622
|
},
|
|
4633
4623
|
emits: [],
|
|
4634
4624
|
data() {
|
|
4635
4625
|
return {
|
|
4636
|
-
right: 10,
|
|
4637
|
-
toggle: !1,
|
|
4638
|
-
showCaption: !1,
|
|
4639
4626
|
source: "current-source",
|
|
4640
4627
|
directionLayer: "current-direction-layer",
|
|
4641
4628
|
speedLayer: "current-speed-layer",
|
|
@@ -4648,7 +4635,7 @@ const Pc = /* @__PURE__ */ ne(_c, [["render", Mc]]), Sc = {
|
|
|
4648
4635
|
return 0.6;
|
|
4649
4636
|
},
|
|
4650
4637
|
color() {
|
|
4651
|
-
return this.mapFeather === "light" || this.mapFeather === "nautical" ? "#000623" : "#
|
|
4638
|
+
return (this.mapFeather === "light" || this.mapFeather === "nautical") && !this.hasRampLayer ? "#000623" : "#ffffff";
|
|
4652
4639
|
}
|
|
4653
4640
|
},
|
|
4654
4641
|
watch: {
|
|
@@ -4659,20 +4646,14 @@ const Pc = /* @__PURE__ */ ne(_c, [["render", Mc]]), Sc = {
|
|
|
4659
4646
|
},
|
|
4660
4647
|
immediate: !0
|
|
4661
4648
|
},
|
|
4662
|
-
|
|
4649
|
+
color: {
|
|
4663
4650
|
handler() {
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
});
|
|
4668
|
-
},
|
|
4669
|
-
immediate: !0
|
|
4651
|
+
var t;
|
|
4652
|
+
(t = this.current) != null && t.active && (this.handleClear(), this.handleRender());
|
|
4653
|
+
}
|
|
4670
4654
|
}
|
|
4671
4655
|
},
|
|
4672
4656
|
methods: {
|
|
4673
|
-
handleMenuToggle() {
|
|
4674
|
-
this.toggle = !this.toggle, this.showCaption = !this.showCaption;
|
|
4675
|
-
},
|
|
4676
4657
|
handleRender() {
|
|
4677
4658
|
var t, e;
|
|
4678
4659
|
if (this.map && this.current) {
|
|
@@ -4723,7 +4704,7 @@ const Pc = /* @__PURE__ */ ne(_c, [["render", Mc]]), Sc = {
|
|
|
4723
4704
|
let d = 0;
|
|
4724
4705
|
s.forEach((m) => {
|
|
4725
4706
|
m.onload = () => {
|
|
4726
|
-
d++, this.map.hasImage("currentDirIcon")
|
|
4707
|
+
d++, this.map.hasImage("currentDirIcon") ? this.map.updateImage("currentDirIcon", l) : this.map.addImage("currentDirIcon", l), d === 1 && !this.map.getLayer(this.directionLayer) && this.map.addLayer(
|
|
4727
4708
|
{
|
|
4728
4709
|
id: this.directionLayer,
|
|
4729
4710
|
type: "symbol",
|
|
@@ -4756,7 +4737,7 @@ const Pc = /* @__PURE__ */ ne(_c, [["render", Mc]]), Sc = {
|
|
|
4756
4737
|
}
|
|
4757
4738
|
},
|
|
4758
4739
|
handleClear() {
|
|
4759
|
-
this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
4740
|
+
this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.hasImage("currentDirIcon") && this.map.removeImage("currentDirIcon"), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
4760
4741
|
}
|
|
4761
4742
|
}
|
|
4762
4743
|
};
|
|
@@ -5085,16 +5066,10 @@ const Nc = /* @__PURE__ */ ne(Gc, [["render", jc], ["__scopeId", "data-v-b562523
|
|
|
5085
5066
|
},
|
|
5086
5067
|
beforeLayer: {
|
|
5087
5068
|
type: String
|
|
5088
|
-
},
|
|
5089
|
-
menuToggle: {
|
|
5090
|
-
type: Object
|
|
5091
5069
|
}
|
|
5092
5070
|
},
|
|
5093
5071
|
data() {
|
|
5094
5072
|
return {
|
|
5095
|
-
right: 10,
|
|
5096
|
-
toggle: !1,
|
|
5097
|
-
showCaption: !1,
|
|
5098
5073
|
source: "sig-wave-height-source",
|
|
5099
5074
|
heightLayer: "sig-wave-height-layer",
|
|
5100
5075
|
heightLabelLayer: "sig-wave-height-label-layer",
|
|
@@ -5111,9 +5086,6 @@ const Nc = /* @__PURE__ */ ne(Gc, [["render", jc], ["__scopeId", "data-v-b562523
|
|
|
5111
5086
|
}
|
|
5112
5087
|
},
|
|
5113
5088
|
methods: {
|
|
5114
|
-
handleMenuToggle() {
|
|
5115
|
-
this.toggle = !this.toggle, this.showCaption = !this.showCaption;
|
|
5116
|
-
},
|
|
5117
5089
|
handleRender() {
|
|
5118
5090
|
var t, e;
|
|
5119
5091
|
if (this.sigWaveHeight) {
|
|
@@ -5356,17 +5328,12 @@ const Yc = /* @__PURE__ */ ne(Xc, [["render", Hc], ["__scopeId", "data-v-7ee2fac
|
|
|
5356
5328
|
showRampColor: {
|
|
5357
5329
|
type: Boolean
|
|
5358
5330
|
},
|
|
5359
|
-
activeWeatherLayers: {
|
|
5360
|
-
type: Array
|
|
5361
|
-
},
|
|
5362
5331
|
theme: {
|
|
5363
5332
|
type: String
|
|
5364
5333
|
}
|
|
5365
5334
|
},
|
|
5366
5335
|
data() {
|
|
5367
5336
|
return {
|
|
5368
|
-
right: 10,
|
|
5369
|
-
toggle: !1,
|
|
5370
5337
|
source: "prmsl-source",
|
|
5371
5338
|
layer: "prmsl-layer",
|
|
5372
5339
|
labelLayer: "prmsl-label-layer",
|
|
@@ -5384,9 +5351,6 @@ const Yc = /* @__PURE__ */ ne(Xc, [["render", Hc], ["__scopeId", "data-v-7ee2fac
|
|
|
5384
5351
|
}
|
|
5385
5352
|
},
|
|
5386
5353
|
methods: {
|
|
5387
|
-
handleMenuToggle() {
|
|
5388
|
-
this.toggle = !this.toggle;
|
|
5389
|
-
},
|
|
5390
5354
|
handleRender() {
|
|
5391
5355
|
var t, e, o;
|
|
5392
5356
|
if (this.prmsl) {
|
|
@@ -6770,7 +6734,7 @@ const zm = {
|
|
|
6770
6734
|
if (k > b && k < u && (!(i <= this.zoom) || k % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6771
6735
|
const P = v[k].lng;
|
|
6772
6736
|
p > g ? P.forEach((_, D) => {
|
|
6773
|
-
var T, G, j, B,
|
|
6737
|
+
var T, G, j, B, Q, ae;
|
|
6774
6738
|
if (i < 2) {
|
|
6775
6739
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6776
6740
|
const re = W.point([_, k], {
|
|
@@ -6781,13 +6745,13 @@ const zm = {
|
|
|
6781
6745
|
}
|
|
6782
6746
|
} else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6783
6747
|
const re = W.point([_, k], {
|
|
6784
|
-
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((
|
|
6748
|
+
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((Q = v[k].dir) == null ? void 0 : Q[D]),
|
|
6785
6749
|
spd: (ae = v[k].spd) == null ? void 0 : ae[D]
|
|
6786
6750
|
});
|
|
6787
6751
|
z.push(re);
|
|
6788
6752
|
}
|
|
6789
6753
|
}) : P.forEach((_, D) => {
|
|
6790
|
-
var T, G, j, B,
|
|
6754
|
+
var T, G, j, B, Q, ae;
|
|
6791
6755
|
if (p < 2) {
|
|
6792
6756
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6793
6757
|
const re = W.point([_, k], {
|
|
@@ -6798,7 +6762,7 @@ const zm = {
|
|
|
6798
6762
|
}
|
|
6799
6763
|
} else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6800
6764
|
const re = W.point([_, k], {
|
|
6801
|
-
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((
|
|
6765
|
+
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((Q = v[k].dir) == null ? void 0 : Q[D]),
|
|
6802
6766
|
spd: (ae = v[k].spd) == null ? void 0 : ae[D]
|
|
6803
6767
|
});
|
|
6804
6768
|
z.push(re);
|
|
@@ -6834,7 +6798,7 @@ const zm = {
|
|
|
6834
6798
|
if (k > b && k < u && (!(i <= this.zoom) || k % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6835
6799
|
const P = v[k].lng;
|
|
6836
6800
|
p > g ? P.forEach((_, D) => {
|
|
6837
|
-
var T, G, j, B,
|
|
6801
|
+
var T, G, j, B, Q, ae;
|
|
6838
6802
|
if (i < 2) {
|
|
6839
6803
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6840
6804
|
const re = W.point([_, k], {
|
|
@@ -6845,13 +6809,13 @@ const zm = {
|
|
|
6845
6809
|
}
|
|
6846
6810
|
} else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6847
6811
|
const re = W.point([_, k], {
|
|
6848
|
-
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((
|
|
6812
|
+
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((Q = v[k].dir) == null ? void 0 : Q[D]),
|
|
6849
6813
|
spd: (ae = v[k].spd) == null ? void 0 : ae[D]
|
|
6850
6814
|
});
|
|
6851
6815
|
z.push(re);
|
|
6852
6816
|
}
|
|
6853
6817
|
}) : P.forEach((_, D) => {
|
|
6854
|
-
var T, G, j, B,
|
|
6818
|
+
var T, G, j, B, Q, ae;
|
|
6855
6819
|
if (p < 2) {
|
|
6856
6820
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6857
6821
|
const re = W.point([_, k], {
|
|
@@ -6862,7 +6826,7 @@ const zm = {
|
|
|
6862
6826
|
}
|
|
6863
6827
|
} else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
6864
6828
|
const re = W.point([_, k], {
|
|
6865
|
-
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((
|
|
6829
|
+
val: ((B = v[k].val) == null ? void 0 : B[D]) || ((Q = v[k].dir) == null ? void 0 : Q[D]),
|
|
6866
6830
|
spd: (ae = v[k].spd) == null ? void 0 : ae[D]
|
|
6867
6831
|
});
|
|
6868
6832
|
z.push(re);
|
|
@@ -7047,8 +7011,8 @@ const zm = {
|
|
|
7047
7011
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7048
7012
|
}, Xm = { class: "text-body-1 py-2" }, Om = { class: "text-body-1 font-weight-medium" }, Hm = { class: "text-body-2 text-label" }, Ym = { class: "text-body-2 text-label" }, Um = { class: "text-body-2 text-label mb-3" }, Jm = { class: "text-body-1 font-weight-medium" }, Km = { class: "text-body-2 text-label" }, Qm = { class: "text-body-2 text-label" }, qm = { class: "text-body-2 text-label mb-3" }, $m = { class: "text-body-1 py-2" }, ed = { class: "text-body-1 font-weight-medium" }, td = { class: "text-body-2 text-label" }, od = { class: "text-body-2 text-label" }, ad = { class: "text-body-2 text-label mb-3" }, id = { class: "text-body-1 font-weight-medium" }, rd = { class: "text-body-2 text-label" }, ld = { class: "text-body-2 text-label" }, nd = { class: "text-body-2 text-label mb-3" }, sd = { class: "text-body-1 py-2" }, cd = { class: "text-body-1 font-weight-medium" }, md = { class: "text-body-2 text-label" }, dd = { class: "text-body-2 text-label" }, hd = { class: "text-body-2 text-label mb-3" };
|
|
7049
7013
|
function ud(t, e, o, i, a, r) {
|
|
7050
|
-
var fe, E, $, te, se, q, Y, le, Z,
|
|
7051
|
-
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), z = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), k = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), G = M("IdmIceEdge"), j = M("IdmIceCover"), B = M("IdmIceThickness"),
|
|
7014
|
+
var fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze, ue, ke;
|
|
7015
|
+
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), z = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), k = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), G = M("IdmIceEdge"), j = M("IdmIceCover"), B = M("IdmIceThickness"), Q = M("IdmPrecip3h"), ae = M("IdmVisibility"), re = M("IdmWaterTemp"), xe = M("IdmTemp");
|
|
7052
7016
|
return A(), R("div", _m, [
|
|
7053
7017
|
n("div", {
|
|
7054
7018
|
class: "menu-bar-box transition pa-1",
|
|
@@ -7492,7 +7456,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7492
7456
|
}),
|
|
7493
7457
|
w(s, { class: "" }, {
|
|
7494
7458
|
default: x(() => {
|
|
7495
|
-
var ee, we, Ee, Be, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Bt, Gt, Ft, 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, ie, oe, ct, qe, We,
|
|
7459
|
+
var ee, we, Ee, Be, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Bt, Gt, Ft, 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, ie, oe, ct, qe, We, J, ro, ce, Fe, mt, ft, yt, X, dt, K, ht, no, ge, go, be, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
|
|
7496
7460
|
return [
|
|
7497
7461
|
n("div", Xm, y(t.$t("weather.atmospheric")), 1),
|
|
7498
7462
|
n("div", Om, y((Ee = (we = (ee = a.models) == null ? void 0 : ee.weather) == null ? void 0 : we.NOAA) == null ? void 0 : Ee.source) + " " + y((et = ($e = (Be = a.models) == null ? void 0 : Be.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),
|
|
@@ -7511,11 +7475,11 @@ function ud(t, e, o, i, a, r) {
|
|
|
7511
7475
|
n("div", ad, y(t.$t("weather.referenceTime")) + ": " + y(r.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),
|
|
7512
7476
|
n("div", id, 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((ie = (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 : ie.days) + y(t.$t("units.days")), 1),
|
|
7513
7477
|
n("div", rd, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7514
|
-
n("div", ld, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((
|
|
7478
|
+
n("div", ld, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((J = (We = (qe = (ct = (oe = a.models) == null ? void 0 : oe.marine) == null ? void 0 : ct.wave) == null ? void 0 : qe.ECMWF) == null ? void 0 : We.meta) == null ? void 0 : J.availabilityTime)), 1),
|
|
7515
7479
|
n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((ft = (mt = (Fe = (ce = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : ce.wave) == null ? void 0 : Fe.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
7516
7480
|
w(d),
|
|
7517
7481
|
n("div", sd, y(t.$t("weather.currents")), 1),
|
|
7518
|
-
n("div", cd, y((
|
|
7482
|
+
n("div", cd, 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 = (ge = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : ge.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (vo = (be = a.models) == null ? void 0 : be.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),
|
|
7519
7483
|
n("div", md, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7520
7484
|
n("div", dd, y(t.$t("weather.lastUpdate")) + ": " + y(r.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),
|
|
7521
7485
|
n("div", hd, y(t.$t("weather.referenceTime")) + ": " + y(r.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)
|
|
@@ -7534,33 +7498,27 @@ function ud(t, e, o, i, a, r) {
|
|
|
7534
7498
|
map: o.map,
|
|
7535
7499
|
"map-feather": o.mapFeather,
|
|
7536
7500
|
"before-layer": "empty-layer-3",
|
|
7537
|
-
wind: (fe = a.weatherLayers) == null ? void 0 : fe.wind
|
|
7538
|
-
|
|
7539
|
-
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
|
|
7501
|
+
wind: (fe = a.weatherLayers) == null ? void 0 : fe.wind
|
|
7502
|
+
}, t.$attrs), null, 16, ["map", "map-feather", "wind"])) : I("", !0),
|
|
7540
7503
|
o.map ? (A(), F(v, V({
|
|
7541
7504
|
key: 2,
|
|
7542
7505
|
map: o.map,
|
|
7543
7506
|
"before-layer": "empty-layer-2",
|
|
7544
|
-
"sig-wave-height": (E = a.weatherLayers) == null ? void 0 : E["sig-wave-height"]
|
|
7545
|
-
|
|
7546
|
-
"active-weather-layers": a.activeWeatherLayers
|
|
7547
|
-
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : I("", !0),
|
|
7507
|
+
"sig-wave-height": (E = a.weatherLayers) == null ? void 0 : E["sig-wave-height"]
|
|
7508
|
+
}, t.$attrs), null, 16, ["map", "sig-wave-height"])) : I("", !0),
|
|
7548
7509
|
o.map ? (A(), F(C, V({
|
|
7549
7510
|
key: 3,
|
|
7550
7511
|
map: o.map,
|
|
7551
7512
|
"map-feather": o.mapFeather,
|
|
7552
7513
|
"before-layer": "empty-layer-2",
|
|
7553
|
-
current: ($ = a.weatherLayers) == null ? void 0 : $.current
|
|
7554
|
-
|
|
7555
|
-
}, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : I("", !0),
|
|
7514
|
+
current: ($ = a.weatherLayers) == null ? void 0 : $.current
|
|
7515
|
+
}, t.$attrs), null, 16, ["map", "map-feather", "current"])) : I("", !0),
|
|
7556
7516
|
o.map ? (A(), F(k, V({
|
|
7557
7517
|
key: 4,
|
|
7558
7518
|
map: o.map,
|
|
7559
7519
|
"before-layer": "empty-layer-3",
|
|
7560
|
-
prmsl: (te = a.weatherLayers) == null ? void 0 : te.prmsl
|
|
7561
|
-
|
|
7562
|
-
"active-weather-layers": a.activeWeatherLayers
|
|
7563
|
-
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : I("", !0),
|
|
7520
|
+
prmsl: (te = a.weatherLayers) == null ? void 0 : te.prmsl
|
|
7521
|
+
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "theme"])) : I("", !0),
|
|
7564
7522
|
o.map ? (A(), F(P, V({
|
|
7565
7523
|
key: 5,
|
|
7566
7524
|
viewport: a.viewport,
|
|
@@ -7601,7 +7559,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7601
7559
|
o.map ? (A(), F(j, V({
|
|
7602
7560
|
key: 10,
|
|
7603
7561
|
viewport: a.viewport,
|
|
7604
|
-
factor: (
|
|
7562
|
+
factor: (U = a.weatherLayers) == null ? void 0 : U["ice-cover"],
|
|
7605
7563
|
"menu-toggle": o.menuToggle,
|
|
7606
7564
|
simple: o.simple
|
|
7607
7565
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
@@ -7612,7 +7570,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7612
7570
|
"menu-toggle": o.menuToggle,
|
|
7613
7571
|
simple: o.simple
|
|
7614
7572
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7615
|
-
o.map ? (A(), F(
|
|
7573
|
+
o.map ? (A(), F(Q, V({
|
|
7616
7574
|
key: 12,
|
|
7617
7575
|
viewport: a.viewport,
|
|
7618
7576
|
factor: (Le = a.weatherLayers) == null ? void 0 : Le.precip3h,
|
|
@@ -7993,49 +7951,49 @@ let ur = class {
|
|
|
7993
7951
|
}), a;
|
|
7994
7952
|
}
|
|
7995
7953
|
static pickHourly(e, o) {
|
|
7996
|
-
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
7954
|
+
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze, ue, ke, ee, we, Ee, Be, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Bt, Gt, Ft, 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;
|
|
7997
7955
|
const de = typeof o == "string" ? S(o) : o;
|
|
7998
7956
|
let Ge = de.clone();
|
|
7999
|
-
const ie = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ie == null ? void 0 : ie[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((l = (r = oe == null ? void 0 : oe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ie == null ? void 0 : ie[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"),
|
|
8000
|
-
Ge = Ge.isBefore(We) ? We.clone() : Ge, Ge = Ge.isAfter(
|
|
7957
|
+
const ie = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ie == null ? void 0 : ie[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((l = (r = oe == null ? void 0 : oe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ie == null ? void 0 : ie[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ie == null ? void 0 : ie[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((v = (z = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : z.time) == null ? void 0 : v.at(-1)), "h"), ro = [];
|
|
7958
|
+
Ge = Ge.isBefore(We) ? We.clone() : Ge, Ge = Ge.isAfter(J) ? J.clone() : Ge;
|
|
8001
7959
|
const ce = Ge.utc().diff(We, "h", !1);
|
|
8002
7960
|
let Fe, mt;
|
|
8003
7961
|
if (ie != null && ie.length) {
|
|
8004
7962
|
let ft = 0, yt = 0, X = 0;
|
|
8005
7963
|
for (const dt of ie) {
|
|
8006
|
-
const
|
|
7964
|
+
const K = dt == null ? void 0 : dt.hourly;
|
|
8007
7965
|
for (let be = ce - (ce - 1) % 3; be <= ce; be++)
|
|
8008
|
-
ft += ((C =
|
|
7966
|
+
ft += ((C = K == null ? void 0 : K.precipitation) == null ? void 0 : C.at(be)) ?? 0;
|
|
8009
7967
|
for (let be = ce - (ce - 1) % 6; be <= ce; be++)
|
|
8010
|
-
yt += ((k =
|
|
7968
|
+
yt += ((k = K == null ? void 0 : K.precipitation) == null ? void 0 : k.at(be)) ?? 0;
|
|
8011
7969
|
for (let be = ce - (ce - 1) % 12; be <= ce; be++)
|
|
8012
|
-
X += ((P =
|
|
8013
|
-
const ht = ((_ =
|
|
7970
|
+
X += ((P = K == null ? void 0 : K.precipitation) == null ? void 0 : P.at(be)) ?? 0;
|
|
7971
|
+
const ht = ((_ = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : _.at(ce)) ?? ((T = (D = K == null ? void 0 : K.wind_direction_10m) == null ? void 0 : D.filter((be) => be !== null)) == null ? void 0 : T.at(-1));
|
|
8014
7972
|
Fe = {
|
|
8015
|
-
temp: ((G =
|
|
8016
|
-
apparentTemp: ((
|
|
8017
|
-
rh: ((xe =
|
|
8018
|
-
dp: (($ =
|
|
7973
|
+
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((be) => be !== null)) == null ? void 0 : B.at(-1)),
|
|
7974
|
+
apparentTemp: ((Q = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : Q.at(ce)) ?? ((re = (ae = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ae.filter((be) => be !== null)) == null ? void 0 : re.at(-1)),
|
|
7975
|
+
rh: ((xe = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : xe.at(ce)) ?? ((E = (fe = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : fe.filter((be) => be !== null)) == null ? void 0 : E.at(-1)),
|
|
7976
|
+
dp: (($ = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : te.filter((be) => be !== null)) == null ? void 0 : se.at(-1)),
|
|
8019
7977
|
precip: {
|
|
8020
|
-
probability: ((q =
|
|
8021
|
-
sum: ((Y =
|
|
8022
|
-
sum1Hours: ((le =
|
|
7978
|
+
probability: ((q = K == null ? void 0 : K.precipitation_probability) == null ? void 0 : q.at(ce)) ?? 0,
|
|
7979
|
+
sum: ((Y = K == null ? void 0 : K.precipitation) == null ? void 0 : Y.at(ce)) ?? 0,
|
|
7980
|
+
sum1Hours: ((le = K == null ? void 0 : K.precipitation) == null ? void 0 : le.at(ce)) ?? 0,
|
|
8023
7981
|
sum3Hours: Math.round(ft * 100) / 100,
|
|
8024
7982
|
sum6Hours: Math.round(yt * 100) / 100,
|
|
8025
7983
|
sum12Hours: Math.round(X * 100) / 100
|
|
8026
7984
|
},
|
|
8027
|
-
pmsl: ((Z =
|
|
8028
|
-
psurf: ((Le =
|
|
8029
|
-
code: ((ke =
|
|
8030
|
-
visibility: this.m2nm(((Ee =
|
|
7985
|
+
pmsl: ((Z = K == null ? void 0 : K.pressure_msl) == null ? void 0 : Z.at(ce)) ?? ((ye = (U = K == null ? void 0 : K.pressure_msl) == null ? void 0 : U.filter((be) => be !== null)) == null ? void 0 : ye.at(-1)),
|
|
7986
|
+
psurf: ((Le = K == null ? void 0 : K.surface_pressure) == null ? void 0 : Le.at(ce)) ?? ((ue = (ze = K == null ? void 0 : K.surface_pressure) == null ? void 0 : ze.filter((be) => be !== null)) == null ? void 0 : ue.at(-1)),
|
|
7987
|
+
code: ((ke = K == null ? void 0 : K.weather_code) == null ? void 0 : ke.at(ce)) ?? ((we = (ee = K == null ? void 0 : K.weather_code) == null ? void 0 : ee.filter((be) => be !== null)) == null ? void 0 : we.at(-1)),
|
|
7988
|
+
visibility: this.m2nm(((Ee = K == null ? void 0 : K.visibility) == null ? void 0 : Ee.at(ce)) ?? (($e = (Be = K == null ? void 0 : K.visibility) == null ? void 0 : Be.filter((be) => be !== null)) == null ? void 0 : $e.at(-1))),
|
|
8031
7989
|
wind: {
|
|
8032
|
-
speed: ((et =
|
|
8033
|
-
kts: ((tt =
|
|
7990
|
+
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((be) => be !== null)) == null ? void 0 : je.at(-1)),
|
|
7991
|
+
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((be) => be !== null)) == null ? void 0 : He.at(-1)),
|
|
8034
7992
|
degree: ht,
|
|
8035
7993
|
bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
|
|
8036
|
-
gusts: ((Ke =
|
|
7994
|
+
gusts: ((Ke = K == null ? void 0 : K.wind_gusts_10m) == null ? void 0 : Ke.at(ce)) ?? ((at = (ot = K == null ? void 0 : K.wind_gusts_10m) == null ? void 0 : ot.filter((be) => be !== null)) == null ? void 0 : at.at(-1))
|
|
8037
7995
|
},
|
|
8038
|
-
isDay: (Qe =
|
|
7996
|
+
isDay: (Qe = K == null ? void 0 : K.is_day) == null ? void 0 : Qe.at(ce)
|
|
8039
7997
|
};
|
|
8040
7998
|
const { name: no, url: ge, bg: go } = this.parseWeatherCode(Fe.code, Fe.isDay);
|
|
8041
7999
|
Fe.name = no, Fe.url = ge, Fe.bg = go, Fe.wind.scale = this.beaufort(this.kts2ms(Fe.wind.kts)), Fe.wind.direction = this.degree2Direction(Fe.wind.degree), ro.push({
|
|
@@ -8049,7 +8007,7 @@ let ur = class {
|
|
|
8049
8007
|
if (oe != null && oe.length) {
|
|
8050
8008
|
let ft = 0;
|
|
8051
8009
|
for (const yt of oe) {
|
|
8052
|
-
const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((ge) => ge !== null)) == null ? void 0 : Ne.at(-1)),
|
|
8010
|
+
const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((ge) => ge !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((lt = (rt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : rt.filter((ge) => ge !== null)) == null ? void 0 : lt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((ge) => ge !== null)) == null ? void 0 : wt.at(-1)), no = ((xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.at(ce)) ?? ((At = (vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.filter((ge) => ge !== null)) == null ? void 0 : At.at(-1));
|
|
8053
8011
|
mt = {
|
|
8054
8012
|
wave: {
|
|
8055
8013
|
sig: {
|
|
@@ -8060,8 +8018,8 @@ let ur = class {
|
|
|
8060
8018
|
},
|
|
8061
8019
|
swell: {
|
|
8062
8020
|
height: ((Pt = X == null ? void 0 : X.swell_wave_height) == null ? void 0 : Pt.at(ce)) ?? ((Tt = (St = X == null ? void 0 : X.swell_wave_height) == null ? void 0 : St.filter((ge) => ge !== null)) == null ? void 0 : Tt.at(-1)),
|
|
8063
|
-
degree:
|
|
8064
|
-
bearing:
|
|
8021
|
+
degree: K,
|
|
8022
|
+
bearing: K !== null ? Math.round((K + 180) % 360) : null,
|
|
8065
8023
|
period: ((Rt = X == null ? void 0 : X.swell_wave_period) == null ? void 0 : Rt.at(ce)) ?? ((It = (Dt = X == null ? void 0 : X.swell_wave_period) == null ? void 0 : Dt.filter((ge) => ge !== null)) == null ? void 0 : It.at(-1)),
|
|
8066
8024
|
peakPeriod: ((Et = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Et.at(ce)) ?? ((Gt = (Bt = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Bt.filter((ge) => ge !== null)) == null ? void 0 : Gt.at(-1))
|
|
8067
8025
|
},
|
|
@@ -8119,7 +8077,7 @@ let ur = class {
|
|
|
8119
8077
|
};
|
|
8120
8078
|
}
|
|
8121
8079
|
static pickDaily(e, o) {
|
|
8122
|
-
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
8080
|
+
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze, ue, ke, ee, we, Ee, Be, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Bt, Gt, Ft, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
|
|
8123
8081
|
const oo = typeof o == "string" ? S(o) : o;
|
|
8124
8082
|
let Xe = oo.clone();
|
|
8125
8083
|
const Ye = e == null ? void 0 : e.weather, ao = e == null ? void 0 : e.marine, nt = S((r = (a = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), io = S((s = (c = (l = Ye == null ? void 0 : Ye[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), gt = [];
|
|
@@ -8128,43 +8086,43 @@ let ur = class {
|
|
|
8128
8086
|
const de = Xe.diff(nt, "d", !1);
|
|
8129
8087
|
if (Ye)
|
|
8130
8088
|
for (const Ge of Ye) {
|
|
8131
|
-
const ie = Ge.daily, oe = ((d = ie.wind_direction_10m_dominant) == null ? void 0 : d.at(de)) ?? ((p = (m = ie.wind_direction_10m_dominant) == null ? void 0 : m.filter((
|
|
8089
|
+
const ie = Ge.daily, oe = ((d = ie.wind_direction_10m_dominant) == null ? void 0 : d.at(de)) ?? ((p = (m = ie.wind_direction_10m_dominant) == null ? void 0 : m.filter((J) => J !== null)) == null ? void 0 : p.at(-1));
|
|
8132
8090
|
De = {
|
|
8133
|
-
code: ((g = ie.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ie.weather_code) == null ? void 0 : b.filter((
|
|
8091
|
+
code: ((g = ie.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ie.weather_code) == null ? void 0 : b.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
|
|
8134
8092
|
temp: {
|
|
8135
|
-
max: ((h = ie.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((z = (f = ie.temperature_2m_max) == null ? void 0 : f.filter((
|
|
8136
|
-
min: ((v = ie.temperature_2m_min) == null ? void 0 : v.at(de)) ?? ((k = (C = ie.temperature_2m_min) == null ? void 0 : C.filter((
|
|
8137
|
-
mean: ((P = ie.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ie.temperature_2m_mean) == null ? void 0 : _.filter((
|
|
8093
|
+
max: ((h = ie.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((z = (f = ie.temperature_2m_max) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
|
|
8094
|
+
min: ((v = ie.temperature_2m_min) == null ? void 0 : v.at(de)) ?? ((k = (C = ie.temperature_2m_min) == null ? void 0 : C.filter((J) => J !== null)) == null ? void 0 : k.at(-1)),
|
|
8095
|
+
mean: ((P = ie.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ie.temperature_2m_mean) == null ? void 0 : _.filter((J) => J !== null)) == null ? void 0 : D.at(-1))
|
|
8138
8096
|
},
|
|
8139
8097
|
apparentTemp: {
|
|
8140
|
-
max: ((T = ie.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (G = ie.apparent_temperature_max) == null ? void 0 : G.filter((
|
|
8141
|
-
min: ((B = ie.apparent_temperature_min) == null ? void 0 : B.at(de)) ?? ((ae = (
|
|
8098
|
+
max: ((T = ie.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (G = ie.apparent_temperature_max) == null ? void 0 : G.filter((J) => J !== null)) == null ? void 0 : j.at(-1)),
|
|
8099
|
+
min: ((B = ie.apparent_temperature_min) == null ? void 0 : B.at(de)) ?? ((ae = (Q = ie.apparent_temperature_min) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : ae.at(-1))
|
|
8142
8100
|
},
|
|
8143
8101
|
precip: {
|
|
8144
|
-
sum: ((re = ie.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((fe = (xe = ie.precipitation_sum) == null ? void 0 : xe.filter((
|
|
8145
|
-
rainSum: ((E = ie.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ie.rain_sum) == null ? void 0 : $.filter((
|
|
8146
|
-
snowfallSum: ((se = ie.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ie.snowfall_sum) == null ? void 0 : q.filter((
|
|
8147
|
-
showersSum: ((le = ie.showers_sum) == null ? void 0 : le.at(de)) ?? ((
|
|
8102
|
+
sum: ((re = ie.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((fe = (xe = ie.precipitation_sum) == null ? void 0 : xe.filter((J) => J !== null)) == null ? void 0 : fe.at(-1)),
|
|
8103
|
+
rainSum: ((E = ie.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ie.rain_sum) == null ? void 0 : $.filter((J) => J !== null)) == null ? void 0 : te.at(-1)),
|
|
8104
|
+
snowfallSum: ((se = ie.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ie.snowfall_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
|
|
8105
|
+
showersSum: ((le = ie.showers_sum) == null ? void 0 : le.at(de)) ?? ((U = (Z = ie.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : U.at(-1)),
|
|
8148
8106
|
hours: ((ye = ie.precipitation_hours) == null ? void 0 : ye.at(de)) ?? 0,
|
|
8149
8107
|
probability: ((Le = ie.precipitation_probability_max) == null ? void 0 : Le.at(de)) ?? 0
|
|
8150
8108
|
},
|
|
8151
8109
|
rh: {
|
|
8152
|
-
max: ((ze = ie.relative_humidity_2m_max) == null ? void 0 : ze.at(de)) ?? ((ke = (ue = ie.relative_humidity_2m_max) == null ? void 0 : ue.filter((
|
|
8153
|
-
min: ((ee = ie.relative_humidity_2m_min) == null ? void 0 : ee.at(de)) ?? ((Ee = (we = ie.relative_humidity_2m_min) == null ? void 0 : we.filter((
|
|
8154
|
-
mean: ((Be = ie.relative_humidity_2m_mean) == null ? void 0 : Be.at(de)) ?? ((et = ($e = ie.relative_humidity_2m_mean) == null ? void 0 : $e.filter((
|
|
8110
|
+
max: ((ze = ie.relative_humidity_2m_max) == null ? void 0 : ze.at(de)) ?? ((ke = (ue = ie.relative_humidity_2m_max) == null ? void 0 : ue.filter((J) => J !== null)) == null ? void 0 : ke.at(-1)),
|
|
8111
|
+
min: ((ee = ie.relative_humidity_2m_min) == null ? void 0 : ee.at(de)) ?? ((Ee = (we = ie.relative_humidity_2m_min) == null ? void 0 : we.filter((J) => J !== null)) == null ? void 0 : Ee.at(-1)),
|
|
8112
|
+
mean: ((Be = ie.relative_humidity_2m_mean) == null ? void 0 : Be.at(de)) ?? ((et = ($e = ie.relative_humidity_2m_mean) == null ? void 0 : $e.filter((J) => J !== null)) == null ? void 0 : et.at(-1))
|
|
8155
8113
|
},
|
|
8156
8114
|
wind: {
|
|
8157
|
-
speed: ((Je = ie.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (je = ie.wind_speed_10m_max) == null ? void 0 : je.filter((
|
|
8158
|
-
kts: ((Oe = ie.wind_speed_10m_max) == null ? void 0 : Oe.at(de)) ?? ((Ke = (He = ie.wind_speed_10m_max) == null ? void 0 : He.filter((
|
|
8115
|
+
speed: ((Je = ie.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (je = ie.wind_speed_10m_max) == null ? void 0 : je.filter((J) => J !== null)) == null ? void 0 : tt.at(-1)),
|
|
8116
|
+
kts: ((Oe = ie.wind_speed_10m_max) == null ? void 0 : Oe.at(de)) ?? ((Ke = (He = ie.wind_speed_10m_max) == null ? void 0 : He.filter((J) => J !== null)) == null ? void 0 : Ke.at(-1)),
|
|
8159
8117
|
degree: oe,
|
|
8160
|
-
gusts: ((ot = ie.wind_gusts_10m_max) == null ? void 0 : ot.at(de)) ?? ((Qe = (at = ie.wind_gusts_10m_max) == null ? void 0 : at.filter((
|
|
8161
|
-
mean: ((Te = ie.wind_speed_10m_mean) == null ? void 0 : Te.at(de)) ?? ((Ne = (Re = ie.wind_speed_10m_mean) == null ? void 0 : Re.filter((
|
|
8118
|
+
gusts: ((ot = ie.wind_gusts_10m_max) == null ? void 0 : ot.at(de)) ?? ((Qe = (at = ie.wind_gusts_10m_max) == null ? void 0 : at.filter((J) => J !== null)) == null ? void 0 : Qe.at(-1)),
|
|
8119
|
+
mean: ((Te = ie.wind_speed_10m_mean) == null ? void 0 : Te.at(de)) ?? ((Ne = (Re = ie.wind_speed_10m_mean) == null ? void 0 : Re.filter((J) => J !== null)) == null ? void 0 : Ne.at(-1)),
|
|
8162
8120
|
bearing: oe !== null ? Math.round((oe + 180) % 360) : null
|
|
8163
8121
|
},
|
|
8164
8122
|
visibility: {
|
|
8165
|
-
max: this.m2nm(((it = ie.visibility_max) == null ? void 0 : it.at(de)) ?? ((lt = (rt = ie.visibility_max) == null ? void 0 : rt.filter((
|
|
8166
|
-
min: this.m2nm(((Ve = ie.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ie.visibility_min) == null ? void 0 : bt.filter((
|
|
8167
|
-
mean: this.m2nm(((xt = ie.visibility_mean) == null ? void 0 : xt.at(de)) ?? ((At = (vt = ie.visibility_mean) == null ? void 0 : vt.filter((
|
|
8123
|
+
max: this.m2nm(((it = ie.visibility_max) == null ? void 0 : it.at(de)) ?? ((lt = (rt = ie.visibility_max) == null ? void 0 : rt.filter((J) => J !== null)) == null ? void 0 : lt.at(-1))),
|
|
8124
|
+
min: this.m2nm(((Ve = ie.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ie.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
|
|
8125
|
+
mean: this.m2nm(((xt = ie.visibility_mean) == null ? void 0 : xt.at(de)) ?? ((At = (vt = ie.visibility_mean) == null ? void 0 : vt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
|
|
8168
8126
|
}
|
|
8169
8127
|
};
|
|
8170
8128
|
const { name: ct, url: qe, bg: We } = this.parseWeatherCode(De.code, !0);
|
|
@@ -8178,27 +8136,27 @@ let ur = class {
|
|
|
8178
8136
|
if (ao) {
|
|
8179
8137
|
let Ge = 0;
|
|
8180
8138
|
for (const ie of ao) {
|
|
8181
|
-
const oe = ie.daily, ct = ((kt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : kt.at(de)) || ((zt = (Lt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : Lt.filter((
|
|
8139
|
+
const oe = ie.daily, ct = ((kt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : kt.at(de)) || ((zt = (Lt = oe == null ? void 0 : oe.wave_direction_dominant) == null ? void 0 : Lt.filter((J) => J !== null)) == null ? void 0 : zt.at(-1)), qe = ((_t = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : _t.at(de)) || ((Mt = (Ct = oe == null ? void 0 : oe.swell_wave_direction_dominant) == null ? void 0 : Ct.filter((J) => J !== null)) == null ? void 0 : Mt.at(-1)), We = ((Pt = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : Pt.at(de)) || ((Tt = (St = oe == null ? void 0 : oe.wind_wave_direction_dominant) == null ? void 0 : St.filter((J) => J !== null)) == null ? void 0 : Tt.at(-1));
|
|
8182
8140
|
st = {
|
|
8183
8141
|
wave: {
|
|
8184
8142
|
sig: {
|
|
8185
|
-
height: ((Rt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Rt.at(de)) || ((It = (Dt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Dt.filter((
|
|
8143
|
+
height: ((Rt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Rt.at(de)) || ((It = (Dt = oe == null ? void 0 : oe.wave_height_max) == null ? void 0 : Dt.filter((J) => J !== null)) == null ? void 0 : It.at(-1)),
|
|
8186
8144
|
degree: ct,
|
|
8187
|
-
period: ((Et = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Et.at(de)) || ((Gt = (Bt = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Bt.filter((
|
|
8145
|
+
period: ((Et = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Et.at(de)) || ((Gt = (Bt = oe == null ? void 0 : oe.wave_period_max) == null ? void 0 : Bt.filter((J) => J !== null)) == null ? void 0 : Gt.at(-1)),
|
|
8188
8146
|
bearing: ct !== null ? Math.round((ct + 180) % 360) : null
|
|
8189
8147
|
},
|
|
8190
8148
|
swell: {
|
|
8191
|
-
height: ((Ft = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : Ft.at(de)) ?? ((Nt = (jt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : jt.filter((
|
|
8149
|
+
height: ((Ft = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : Ft.at(de)) ?? ((Nt = (jt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : jt.filter((J) => J !== null)) == null ? void 0 : Nt.at(-1)),
|
|
8192
8150
|
degree: qe,
|
|
8193
|
-
period: ((Zt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Zt.at(de)) ?? ((Vt = (Wt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Wt.filter((
|
|
8194
|
-
peakPeriod: ((Xt = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Xt.at(de)) ?? ((Ht = (Ot = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((
|
|
8151
|
+
period: ((Zt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Zt.at(de)) ?? ((Vt = (Wt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Wt.filter((J) => J !== null)) == null ? void 0 : Vt.at(-1)),
|
|
8152
|
+
peakPeriod: ((Xt = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Xt.at(de)) ?? ((Ht = (Ot = oe == null ? void 0 : oe.swell_wave_peak_period_max) == null ? void 0 : Ot.filter((J) => J !== null)) == null ? void 0 : Ht.at(-1)),
|
|
8195
8153
|
bearing: qe !== null ? Math.round((qe + 180) % 360) : null
|
|
8196
8154
|
},
|
|
8197
8155
|
wd: {
|
|
8198
|
-
height: ((Yt = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Yt.at(de)) ?? ((Jt = (Ut = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Ut.filter((
|
|
8156
|
+
height: ((Yt = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Yt.at(de)) ?? ((Jt = (Ut = oe == null ? void 0 : oe.wind_wave_height_max) == null ? void 0 : Ut.filter((J) => J !== null)) == null ? void 0 : Jt.at(-1)),
|
|
8199
8157
|
degree: We,
|
|
8200
|
-
period: ((Kt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Kt.at(de)) ?? ((qt = (Qt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Qt.filter((
|
|
8201
|
-
peakPeriod: (($t = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : $t.at(de)) ?? ((to = (eo = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : eo.filter((
|
|
8158
|
+
period: ((Kt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Kt.at(de)) ?? ((qt = (Qt = oe == null ? void 0 : oe.wind_wave_period_max) == null ? void 0 : Qt.filter((J) => J !== null)) == null ? void 0 : qt.at(-1)),
|
|
8159
|
+
peakPeriod: (($t = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : $t.at(de)) ?? ((to = (eo = oe == null ? void 0 : oe.wind_wave_peak_period_max) == null ? void 0 : eo.filter((J) => J !== null)) == null ? void 0 : to.at(-1)),
|
|
8202
8160
|
bearing: We !== null ? Math.round((We + 180) % 360) : null
|
|
8203
8161
|
}
|
|
8204
8162
|
}
|
|
@@ -9130,7 +9088,7 @@ const gd = {
|
|
|
9130
9088
|
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();
|
|
9131
9089
|
},
|
|
9132
9090
|
handleDateChange() {
|
|
9133
|
-
var t, e, o, i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
9091
|
+
var t, e, o, i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $;
|
|
9134
9092
|
if ((t = this.interpolateMarkers) == null || t.forEach((te) => te == null ? void 0 : te.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
9135
9093
|
const te = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((Z) => Z.properties.date === (te == null ? void 0 : te.format()) && !Z.properties.disabled), q = this.handleComputePolygons(se), Y = W.featureCollection([...se]);
|
|
9136
9094
|
q.forEach((Z) => {
|
|
@@ -9173,15 +9131,15 @@ const gd = {
|
|
|
9173
9131
|
})) == null ? void 0 : l.properties) == null ? void 0 : c.nameCn) || ((s = Z.properties) == null ? void 0 : s.Name) || "-";
|
|
9174
9132
|
Z.properties.nameCn = ue, Z.properties.Name = ((m = (d = Z.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (ke) => ke.toUpperCase())) || Z.properties.nameCn, le.push(Z);
|
|
9175
9133
|
}
|
|
9176
|
-
let
|
|
9177
|
-
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ?
|
|
9134
|
+
let U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9135
|
+
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.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 = (z = Z.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((k = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.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"] : ((Q = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : Q.kts) >= 79 && ((re = (ae = Z.properties) == null ? void 0 : ae.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((fe = (xe = Z.properties) == null ? void 0 : xe.wind) == null ? void 0 : fe.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9178
9136
|
const ye = `<svg t="1719918955501"
|
|
9179
9137
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
9180
9138
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
9181
9139
|
<path
|
|
9182
9140
|
d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
|
|
9183
|
-
fill="${
|
|
9184
|
-
<path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${
|
|
9141
|
+
fill="${U}" p-id="18383"></path>
|
|
9142
|
+
<path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${U}"
|
|
9185
9143
|
p-id="18384"></path>
|
|
9186
9144
|
<path
|
|
9187
9145
|
d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
|
|
@@ -9657,7 +9615,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9657
9615
|
w(d),
|
|
9658
9616
|
w(s, { class: "text-body-1" }, {
|
|
9659
9617
|
default: x(() => {
|
|
9660
|
-
var b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
9618
|
+
var b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe;
|
|
9661
9619
|
return [
|
|
9662
9620
|
n("div", Ph, [
|
|
9663
9621
|
((b = a.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (A(), R("div", Sh, [
|
|
@@ -9690,7 +9648,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9690
9648
|
]),
|
|
9691
9649
|
((B = a.hoverPoint) == null ? void 0 : B.type) === "history" ? (A(), R("div", Xh, [
|
|
9692
9650
|
n("label", Oh, y(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
9693
|
-
n("span", null, y(((ae = JSON.parse(((
|
|
9651
|
+
n("span", null, y(((ae = JSON.parse(((Q = a.hoverPoint) == null ? void 0 : Q.movement) || "{}")) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
|
|
9694
9652
|
])) : I("", !0),
|
|
9695
9653
|
((re = a.hoverPoint) == null ? void 0 : re.type) === "history" ? (A(), R("div", Hh, [
|
|
9696
9654
|
n("label", Yh, y(t.$t("tropical.moveDir")) + " : ", 1),
|
|
@@ -10274,10 +10232,10 @@ const au = {
|
|
|
10274
10232
|
}), this.loading = !1;
|
|
10275
10233
|
},
|
|
10276
10234
|
initTableData(t) {
|
|
10277
|
-
var o, i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
10235
|
+
var o, i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze;
|
|
10278
10236
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
10279
10237
|
const e = ((l = Zo.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
10280
|
-
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 = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.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 = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.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((
|
|
10238
|
+
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 = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.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 = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.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((Q = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.wd) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((fe = (xe = e == null ? void 0 : e.wave) == null ? void 0 : xe.wd) == null ? void 0 : fe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.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 = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.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;
|
|
10281
10239
|
},
|
|
10282
10240
|
handleBind() {
|
|
10283
10241
|
var t, e;
|
|
@@ -14145,13 +14103,13 @@ function Kg(t, e, o, i, a, r) {
|
|
|
14145
14103
|
]),
|
|
14146
14104
|
T.show ? (A(), R("div", Hg, [
|
|
14147
14105
|
(A(!0), R(Ce, null, Me((j = T.layers) == null ? void 0 : j.filter((B) => {
|
|
14148
|
-
var
|
|
14149
|
-
return ((
|
|
14106
|
+
var Q;
|
|
14107
|
+
return ((Q = B.name) == null ? void 0 : Q.indexOf(a.keyword)) > -1;
|
|
14150
14108
|
}), (B) => {
|
|
14151
|
-
var
|
|
14109
|
+
var Q;
|
|
14152
14110
|
return A(), R("div", {
|
|
14153
14111
|
key: B.id,
|
|
14154
|
-
class: pe(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((
|
|
14112
|
+
class: pe(["layer-item pa-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((Q = a.currentLayer) == null ? void 0 : Q.id) === B.id ? "active" : ""])
|
|
14155
14113
|
}, [
|
|
14156
14114
|
n("div", Yg, [
|
|
14157
14115
|
n("span", Ug, y(B == null ? void 0 : B.name), 1)
|
|
@@ -14968,7 +14926,7 @@ async function Or(t, e, o, i) {
|
|
|
14968
14926
|
}
|
|
14969
14927
|
}
|
|
14970
14928
|
async function B0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
|
|
14971
|
-
var h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
14929
|
+
var h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe;
|
|
14972
14930
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
14973
14931
|
let r = /* @__PURE__ */ new Map();
|
|
14974
14932
|
for (let E of t) {
|
|
@@ -14981,9 +14939,9 @@ async function B0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
14981
14939
|
function l(E, $, te, se) {
|
|
14982
14940
|
if (!r.has(E))
|
|
14983
14941
|
return !1;
|
|
14984
|
-
let q = r.get(E), Y = _0(te), le = C0($), Z = M0(se),
|
|
14942
|
+
let q = r.get(E), Y = _0(te), le = C0($), Z = M0(se), U = Y.min !== Y.max, ye = Y.min, Le = (ue) => le.kind === "normal" && ue === "normal" || le.kind !== "normal" && (ue === "italic" || ue === "oblique"), ze = !1;
|
|
14985
14943
|
for (let ue of q) {
|
|
14986
|
-
let ke =
|
|
14944
|
+
let ke = U ? ue.w >= Y.min && ue.w <= Y.max : ue.w === ye, ee = Le(Yo(ue.s)), we = ue.st >= Z.min && ue.st <= Z.max;
|
|
14987
14945
|
if (ke && ee && we) {
|
|
14988
14946
|
ze = !0;
|
|
14989
14947
|
break;
|
|
@@ -14991,13 +14949,13 @@ async function B0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
14991
14949
|
}
|
|
14992
14950
|
if (ze)
|
|
14993
14951
|
return !0;
|
|
14994
|
-
if (!
|
|
14952
|
+
if (!U)
|
|
14995
14953
|
for (let ue of q) {
|
|
14996
14954
|
let ke = Le(Yo(ue.s)), ee = ue.st >= Z.min && ue.st <= Z.max;
|
|
14997
14955
|
if (Math.abs(ye - ue.w) <= 300 && ke && ee)
|
|
14998
14956
|
return !0;
|
|
14999
14957
|
}
|
|
15000
|
-
if (!
|
|
14958
|
+
if (!U && le.kind === "normal" && q.some((ue) => Yo(ue.s) !== "normal"))
|
|
15001
14959
|
for (let ue of q) {
|
|
15002
14960
|
let ke = Math.abs(ye - ue.w) <= 300, ee = ue.st >= Z.min && ue.st <= Z.max;
|
|
15003
14961
|
if (ke && ee)
|
|
@@ -15051,13 +15009,13 @@ async function B0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15051
15009
|
let Y = (((f = q.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), le = $o(Y);
|
|
15052
15010
|
if (!le || co(le))
|
|
15053
15011
|
continue;
|
|
15054
|
-
let Z = (((z = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : z[1]) || "400").trim(),
|
|
15055
|
-
if (!l(le,
|
|
15012
|
+
let Z = (((z = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : z[1]) || "400").trim(), U = (((v = q.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ye = (((C = q.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : C[1]) || "100%").trim(), Le = (((k = q.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "").trim(), ze = (((P = q.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : P[1]) || "").trim(), ue = fa(ze, E.href);
|
|
15013
|
+
if (!l(le, U, Z, ye))
|
|
15056
15014
|
continue;
|
|
15057
15015
|
let ke = Wr(Le);
|
|
15058
15016
|
if (!Vr(e, ke))
|
|
15059
15017
|
continue;
|
|
15060
|
-
let ee = { family: le, weightSpec: Z, styleSpec:
|
|
15018
|
+
let ee = { family: le, weightSpec: Z, styleSpec: U, stretchSpec: ye, unicodeRange: Le, srcRaw: ze, srcUrls: ue, href: E.href };
|
|
15061
15019
|
if (o && c(ee, ke))
|
|
15062
15020
|
continue;
|
|
15063
15021
|
let we = /url\(/i.test(ze) ? await Xr(q, E.href, a) : q;
|
|
@@ -15113,7 +15071,7 @@ async function B0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15113
15071
|
let te = 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;
|
|
15114
15072
|
if (!le.startsWith("data:")) {
|
|
15115
15073
|
if ((B = O.resource) != null && B.has(Y))
|
|
15116
|
-
le = O.resource.get(Y), (
|
|
15074
|
+
le = O.resource.get(Y), (Q = O.font) == null || Q.add(Y);
|
|
15117
15075
|
else if (!((ae = O.font) != null && ae.has(Y)))
|
|
15118
15076
|
try {
|
|
15119
15077
|
let Z = await so(Y, { as: "dataURL", useProxy: a, silent: !0 });
|
|
@@ -16328,19 +16286,19 @@ async function Kr(t, e, o, i) {
|
|
|
16328
16286
|
});
|
|
16329
16287
|
if (!Y)
|
|
16330
16288
|
continue;
|
|
16331
|
-
let le = Y.textContent, Z = (m = le.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : m[0],
|
|
16289
|
+
let le = Y.textContent, Z = (m = le.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : m[0], U = le.slice((Z == null ? void 0 : Z.length) || 0);
|
|
16332
16290
|
if (!Z || /[\uD800-\uDFFF]/.test(Z))
|
|
16333
16291
|
continue;
|
|
16334
16292
|
let ye = document.createElement("span");
|
|
16335
16293
|
ye.textContent = Z, ye.dataset.snapdomPseudo = "::first-letter";
|
|
16336
16294
|
let Le = fr(b), ze = aa(Le, "span");
|
|
16337
16295
|
o.styleMap.set(ye, ze);
|
|
16338
|
-
let ue = document.createTextNode(
|
|
16296
|
+
let ue = document.createTextNode(U);
|
|
16339
16297
|
e.replaceChild(ue, Y), e.insertBefore(ye, ue);
|
|
16340
16298
|
continue;
|
|
16341
16299
|
}
|
|
16342
|
-
let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: z } = Sf(t, g, l), v = b.backgroundImage, C = b.backgroundColor, k = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, G = parseFloat(b.borderWidth), j = b.transform, B = co(k),
|
|
16343
|
-
if (!(
|
|
16300
|
+
let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: z } = Sf(t, g, l), v = b.backgroundImage, C = b.backgroundColor, k = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, G = parseFloat(b.borderWidth), j = b.transform, B = co(k), Q = !h && f !== "", ae = v && v !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", xe = T && T !== "none" && G > 0, fe = j && j !== "none";
|
|
16301
|
+
if (!(Q || ae || re || xe || fe)) {
|
|
16344
16302
|
if (z && z.length && t.parentElement) {
|
|
16345
16303
|
let q = xo.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
16346
16304
|
for (let { name: Y } of z) {
|
|
@@ -16369,7 +16327,7 @@ async function Kr(t, e, o, i) {
|
|
|
16369
16327
|
console.error(`[snapdom] Error in pseudo ${g} for`, t, Y);
|
|
16370
16328
|
}
|
|
16371
16329
|
} else
|
|
16372
|
-
!B &&
|
|
16330
|
+
!B && Q && (E.textContent = f);
|
|
16373
16331
|
E.style.backgroundImage = "none", "maskImage" in E.style && (E.style.maskImage = "none"), "webkitMaskImage" in E.style && (E.style.webkitMaskImage = "none");
|
|
16374
16332
|
try {
|
|
16375
16333
|
E.style.backgroundRepeat = b.backgroundRepeat, E.style.backgroundSize = b.backgroundSize, b.backgroundPositionX && b.backgroundPositionY ? (E.style.backgroundPositionX = b.backgroundPositionX, E.style.backgroundPositionY = b.backgroundPositionY) : E.style.backgroundPosition = b.backgroundPosition, E.style.backgroundOrigin = b.backgroundOrigin, E.style.backgroundClip = b.backgroundClip, E.style.backgroundAttachment = b.backgroundAttachment, E.style.backgroundBlendMode = b.backgroundBlendMode;
|
|
@@ -16389,8 +16347,8 @@ async function Kr(t, e, o, i) {
|
|
|
16389
16347
|
for (let { name: Z } of z) {
|
|
16390
16348
|
if (!Z)
|
|
16391
16349
|
continue;
|
|
16392
|
-
let
|
|
16393
|
-
q.set(Z,
|
|
16350
|
+
let U = le.get(t, Z);
|
|
16351
|
+
q.set(Z, U);
|
|
16394
16352
|
}
|
|
16395
16353
|
xo.set(t.parentElement, q);
|
|
16396
16354
|
}
|
|
@@ -16495,8 +16453,8 @@ function Tf(t, e) {
|
|
|
16495
16453
|
let ae = B.slice(1).trim();
|
|
16496
16454
|
ae && !m.has(ae) && !C.has(ae) && v.add(ae);
|
|
16497
16455
|
}
|
|
16498
|
-
let
|
|
16499
|
-
|
|
16456
|
+
let Q = ((k = j.getAttribute) == null ? void 0 : k.call(j, "style")) || "";
|
|
16457
|
+
Q && b(Q, v);
|
|
16500
16458
|
for (let ae of l) {
|
|
16501
16459
|
let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ae);
|
|
16502
16460
|
re && b(re, v);
|
|
@@ -17062,8 +17020,8 @@ async function qr(t, e) {
|
|
|
17062
17020
|
let T = (Te, Re = NaN) => {
|
|
17063
17021
|
let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
|
|
17064
17022
|
return Number.isFinite(Ne) ? Ne : Re;
|
|
17065
|
-
}, G = T(r.options.width), j = T(r.options.height), B = _,
|
|
17066
|
-
ae && re ? (B = Math.max(1, me(G)),
|
|
17023
|
+
}, G = T(r.options.width), j = T(r.options.height), B = _, Q = D, ae = Number.isFinite(G), re = Number.isFinite(j), xe = D > 0 ? _ / D : 1;
|
|
17024
|
+
ae && re ? (B = Math.max(1, me(G)), Q = Math.max(1, me(j))) : ae ? (B = Math.max(1, me(G)), Q = Math.max(1, me(B / (xe || 1)))) : re ? (Q = Math.max(1, me(j)), B = Math.max(1, me(Q * (xe || 1)))) : (B = _, Q = D);
|
|
17067
17025
|
let fe = 0, E = 0, $ = _, te = D;
|
|
17068
17026
|
if (!i && b && Number.isFinite(b.a)) {
|
|
17069
17027
|
let Te = { a: b.a, b: b.b || 0, c: b.c || 0, d: b.d || 1, e: 0, f: 0 }, Re = Dr(_, D, Te, 0, 0);
|
|
@@ -17074,14 +17032,14 @@ async function qr(t, e) {
|
|
|
17074
17032
|
}
|
|
17075
17033
|
let se = o1(k), q = a1(k), Y = i1(k), le = r1(k), 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 };
|
|
17076
17034
|
fe = me(fe - Z.left), E = me(E - Z.top), $ = me($ + Z.right), te = me(te + Z.bottom);
|
|
17077
|
-
let
|
|
17035
|
+
let U = Math.max(1, me($ - fe)), ye = Math.max(1, me(te - E)), Le = ae || re ? me(B / _) : 1, ze = re || ae ? me(Q / D) : 1, ue = Math.max(1, me(U * Le)), ke = Math.max(1, me(ye * ze)), ee = "http://www.w3.org/2000/svg", we = Fo() ? 1 : 0, Ee = me(we + (i ? 0 : 1)), Be = document.createElementNS(ee, "foreignObject"), $e = me(fe), et = me(E);
|
|
17078
17036
|
Be.setAttribute("x", String(me(-($e - Ee)))), Be.setAttribute("y", String(me(-(et - Ee)))), Be.setAttribute("width", String(me(_ + Ee * 2))), Be.setAttribute("height", String(me(D + Ee * 2))), Be.style.overflow = "visible";
|
|
17079
17037
|
let Je = document.createElement("style");
|
|
17080
17038
|
Je.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, Be.appendChild(Je);
|
|
17081
17039
|
let je = document.createElement("div");
|
|
17082
17040
|
je.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.style.width = `${me(_)}px`, je.style.height = `${me(D)}px`, je.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), je.appendChild(r.clone), Be.appendChild(je);
|
|
17083
|
-
let tt = new XMLSerializer().serializeToString(Be), Oe = me(
|
|
17084
|
-
e.meta = { w0: _, h0: D, vbW: Oe, vbH: He, targetW: B, targetH:
|
|
17041
|
+
let tt = new XMLSerializer().serializeToString(Be), Oe = me(U + Ee * 2), He = me(ye + Ee * 2), Ke = ae || re;
|
|
17042
|
+
e.meta = { w0: _, h0: D, vbW: Oe, vbH: He, targetW: B, targetH: Q };
|
|
17085
17043
|
let ot = Fo() && Ke ? Oe : me(ue + Ee * 2), at = Fo() && Ke ? He : me(ke + Ee * 2);
|
|
17086
17044
|
g = `<svg xmlns="${ee}" width="${ot}" height="${at}" viewBox="0 0 ${Oe} ${He}">` + tt + "</svg>", p = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(g)}`, r = { svgString: g, dataURL: p, ...r }, C();
|
|
17087
17045
|
}, { fast: o });
|
|
@@ -17126,52 +17084,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17126
17084
|
if (o !== $r)
|
|
17127
17085
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17128
17086
|
let i = await qr(t, e), a = { img: async (u, h) => {
|
|
17129
|
-
let { toImg: f } = await import("./toImg-
|
|
17087
|
+
let { toImg: f } = await import("./toImg-8df15930.js");
|
|
17130
17088
|
return f(i, { ...u, ...h || {} });
|
|
17131
17089
|
}, svg: async (u, h) => {
|
|
17132
|
-
let { toSvg: f } = await import("./toImg-
|
|
17090
|
+
let { toSvg: f } = await import("./toImg-8df15930.js");
|
|
17133
17091
|
return f(i, { ...u, ...h || {} });
|
|
17134
17092
|
}, canvas: async (u, h) => {
|
|
17135
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17093
|
+
let { toCanvas: f } = await import("./toCanvas-278ce257.js");
|
|
17136
17094
|
return f(i, { ...u, ...h || {} });
|
|
17137
17095
|
}, blob: async (u, h) => {
|
|
17138
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17096
|
+
let { toBlob: f } = await import("./toBlob-6d3d669c.js");
|
|
17139
17097
|
return f(i, { ...u, ...h || {} });
|
|
17140
17098
|
}, png: async (u, h) => {
|
|
17141
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17099
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17142
17100
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17143
17101
|
}, jpeg: async (u, h) => {
|
|
17144
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17102
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17145
17103
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17146
17104
|
}, webp: async (u, h) => {
|
|
17147
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17105
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17148
17106
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17149
17107
|
}, download: async (u, h) => {
|
|
17150
|
-
let { download: f } = await import("./download-
|
|
17108
|
+
let { download: f } = await import("./download-131ab3d0.js");
|
|
17151
17109
|
return f(i, { ...u, ...h || {} });
|
|
17152
17110
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17153
|
-
let { toSvg: h } = await import("./toImg-
|
|
17111
|
+
let { toSvg: h } = await import("./toImg-8df15930.js");
|
|
17154
17112
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17155
17113
|
}, canvas: async (u) => {
|
|
17156
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17114
|
+
let { toCanvas: h } = await import("./toCanvas-278ce257.js");
|
|
17157
17115
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17158
17116
|
}, png: async (u) => {
|
|
17159
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17117
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17160
17118
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17161
17119
|
}, jpeg: async (u) => {
|
|
17162
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17120
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17163
17121
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17164
17122
|
}, jpg: async (u) => {
|
|
17165
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17123
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17166
17124
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17167
17125
|
}, webp: async (u) => {
|
|
17168
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17126
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-cc446959.js");
|
|
17169
17127
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17170
17128
|
}, blob: async (u) => {
|
|
17171
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17129
|
+
let { toBlob: h } = await import("./toBlob-6d3d669c.js");
|
|
17172
17130
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17173
17131
|
}, img: async (u) => {
|
|
17174
|
-
let { toImg: h } = await import("./toImg-
|
|
17132
|
+
let { toImg: h } = await import("./toImg-8df15930.js");
|
|
17175
17133
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17176
17134
|
} } }, l = await W0("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17177
17135
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -17377,8 +17335,8 @@ class w1 {
|
|
|
17377
17335
|
if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(v, C, k, P, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(p, this.captureRect.width / 2, u + b), this.logoImage && this.logoLoaded) {
|
|
17378
17336
|
const T = Math.max(this.captureRect.height / 8, 40), G = this.logoImage.naturalWidth / this.logoImage.naturalHeight;
|
|
17379
17337
|
let j = T, B = j * G;
|
|
17380
|
-
const
|
|
17381
|
-
B >
|
|
17338
|
+
const Q = this.captureRect.width / 4;
|
|
17339
|
+
B > Q && (B = Q, j = B / G);
|
|
17382
17340
|
const ae = this.captureRect.width - B - 12, re = u, xe = this.ctx.imageSmoothingEnabled, fe = this.ctx.imageSmoothingQuality;
|
|
17383
17341
|
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, ae, re, B, j), this.ctx.imageSmoothingEnabled = xe, this.ctx.imageSmoothingQuality = fe;
|
|
17384
17342
|
}
|
|
@@ -19419,25 +19377,30 @@ const cy = /* @__PURE__ */ ne(H1, [["render", sy]]), my = {
|
|
|
19419
19377
|
defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNtZWliMDg2dTAwMDdmdnV4ZHRhcmFoODIiLCJyb2xlIjoyLCJuYW1lIjoiY2hlbmhlbmdAb3Jtd3guY29tIiwicGxhdElkIjoiZ2QwbXQxZCIsImNvbXBhbnkiOnsiaWQiOm51bGwsImNoaWxkcmVuIjpbXX0sImlhdCI6MTc1NTg1NzQ0NiwiZXhwIjozOTYzMzc3NDQ2fQ.nll8PA8tZEFONV2ydX4Rx_Xya7nMzJQ6vPSL_Sg2dVU"
|
|
19420
19378
|
};
|
|
19421
19379
|
},
|
|
19380
|
+
computed: {
|
|
19381
|
+
hasRampLayer() {
|
|
19382
|
+
return this.autoActive && this.weatherCheckList.some((t) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((e) => e === t));
|
|
19383
|
+
}
|
|
19384
|
+
},
|
|
19422
19385
|
watch: {
|
|
19423
19386
|
layerVersion: {
|
|
19424
19387
|
handler() {
|
|
19425
19388
|
var t, e, o, i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _;
|
|
19426
19389
|
if (this.map) {
|
|
19427
|
-
const D = this.
|
|
19390
|
+
const D = this.hasRampLayer, T = this.autoActive && this.weatherCheckList.some((B) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((Q) => Q === B));
|
|
19428
19391
|
let G = !1;
|
|
19429
19392
|
if (this.mapFeather === "nautical" || this.mapFeather === "satellite") {
|
|
19430
19393
|
const B = localStorage.getItem("nauticalLayerCacheGL4") === "hi" ? "hi" : "i4";
|
|
19431
|
-
D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (r = this.map) != null && r.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (l = this.map) != null && l.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", B === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", B === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")), G = this.otherCheckList.some((
|
|
19432
|
-
(ae) => ae ===
|
|
19394
|
+
D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (r = this.map) != null && r.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (l = this.map) != null && l.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", B === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", B === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")), G = this.otherCheckList.some((Q) => ["navareas", "load-lines", "voluntary-reporting-area", "war-zones", "gmdss-areas", "special-area", "ice-areas"].some(
|
|
19395
|
+
(ae) => ae === Q
|
|
19433
19396
|
));
|
|
19434
19397
|
} else
|
|
19435
19398
|
G = this.otherCheckList.some((B) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "gmdss-areas", "special-area", "ice-areas"].some(
|
|
19436
|
-
(
|
|
19399
|
+
(Q) => Q === B
|
|
19437
19400
|
));
|
|
19438
19401
|
T || G ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (z = this.map) != null && z.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((v = this.map) != null && v.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((k = this.map) != null && k.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
|
|
19439
|
-
var B,
|
|
19440
|
-
(B = this.map) != null && B.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (
|
|
19402
|
+
var B, Q;
|
|
19403
|
+
(B = this.map) != null && B.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (Q = this.map) != null && Q.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
|
|
19441
19404
|
}, 1e3)) : (_ = this.map) != null && _.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2");
|
|
19442
19405
|
}
|
|
19443
19406
|
}
|
|
@@ -19487,11 +19450,12 @@ function hy(t, e, o, i, a, r) {
|
|
|
19487
19450
|
gateway: a.gateway,
|
|
19488
19451
|
"assist-gateway": a.assistGateway,
|
|
19489
19452
|
"forecast-model": o.forecastModel,
|
|
19490
|
-
"map-feather": o.mapFeather
|
|
19453
|
+
"map-feather": o.mapFeather,
|
|
19454
|
+
"has-ramp-layer": r.hasRampLayer
|
|
19491
19455
|
}, t.$attrs, {
|
|
19492
19456
|
onAutoActive: r.handleChangeAutoActive,
|
|
19493
19457
|
onWeatherCheckList: r.handleChangeWeatherChecklist
|
|
19494
|
-
}), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather", "onAutoActive", "onWeatherCheckList"]),
|
|
19458
|
+
}), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather", "has-ramp-layer", "onAutoActive", "onWeatherCheckList"]),
|
|
19495
19459
|
w(s, V({
|
|
19496
19460
|
ref: "idmTropicals",
|
|
19497
19461
|
simple: o.simple,
|
|
@@ -19569,7 +19533,7 @@ class py {
|
|
|
19569
19533
|
ve(this, "hi");
|
|
19570
19534
|
ve(this, "td");
|
|
19571
19535
|
ve(this, "windy");
|
|
19572
|
-
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B,
|
|
19536
|
+
var i, a, r, l, c, s, d, m, p, g, b, u, h, f, z, v, C, k, P, _, D, T, G, j, B, Q, ae, re, xe, fe, E, $, te, se, q, Y, le, Z, U, ye, Le, ze, ue, ke, ee, we, Ee, Be, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, rt, lt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Bt, Gt, Ft, 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, ie, oe, ct, qe, We, J, ro, ce, Fe, mt, ft, yt, X, dt, K, ht, no, ge, go, be, 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, Ba, Ga, Fa, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, ri, li, 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, Bi, Gi, Fi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, er, tr, or, ar, ir, rr, lr, nr, sr, cr, mr, dr;
|
|
19573
19537
|
this.i4 = {
|
|
19574
19538
|
source: {
|
|
19575
19539
|
type: "raster",
|
|
@@ -38211,14 +38175,14 @@ class py {
|
|
|
38211
38175
|
(_ = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : _.find((L) => L.id === "water-outline"),
|
|
38212
38176
|
(T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((L) => L.id === "water-outline2"),
|
|
38213
38177
|
(j = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : j.find((L) => L.id === "empty-layer-2"),
|
|
38214
|
-
(
|
|
38178
|
+
(Q = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : Q.find((L) => L.id === "water-line-label"),
|
|
38215
38179
|
(re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((L) => L.id === "water-point-label"),
|
|
38216
38180
|
(fe = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : fe.find((L) => L.id === "world-12nm-v4-20231025"),
|
|
38217
38181
|
($ = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : $.find((L) => L.id === "nsr-flll"),
|
|
38218
38182
|
(se = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : se.find((L) => L.id === "nsr-line"),
|
|
38219
38183
|
(Y = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : Y.find((L) => L.id === "nsr-label"),
|
|
38220
38184
|
(Z = (le = this.originStyle) == null ? void 0 : le.light.layers) == null ? void 0 : Z.find((L) => L.id === "ne-10m-outline"),
|
|
38221
|
-
(ye = (
|
|
38185
|
+
(ye = (U = this.originStyle) == null ? void 0 : U.light.layers) == null ? void 0 : ye.find((L) => L.id === "ne-10m-label"),
|
|
38222
38186
|
(ze = (Le = this.originStyle) == null ? void 0 : Le.light.layers) == null ? void 0 : ze.find((L) => L.id === "china-route-line"),
|
|
38223
38187
|
(ke = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ke.find((L) => L.id === "china-route-fill"),
|
|
38224
38188
|
(we = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : we.find((L) => L.id === "china-route-label"),
|
|
@@ -38280,7 +38244,7 @@ class py {
|
|
|
38280
38244
|
(Ge = (de = this.originStyle) == null ? void 0 : de.dark.layers) == null ? void 0 : Ge.find((L) => L.id === "admin-0-boundary"),
|
|
38281
38245
|
(oe = (ie = this.originStyle) == null ? void 0 : ie.dark.layers) == null ? void 0 : oe.find((L) => L.id === "admin-0-boundary-disputed"),
|
|
38282
38246
|
(qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((L) => L.id === "country-label"),
|
|
38283
|
-
(
|
|
38247
|
+
(J = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : J.find((L) => L.id === "continent-label"),
|
|
38284
38248
|
(ce = (ro = this.originStyle) == null ? void 0 : ro.dark.layers) == null ? void 0 : ce.find((L) => L.id === "tide-stations"),
|
|
38285
38249
|
(mt = (Fe = this.originStyle) == null ? void 0 : Fe.dark.layers) == null ? void 0 : mt.find((L) => L.id === "empty-layer-3"),
|
|
38286
38250
|
(yt = (ft = this.originStyle) == null ? void 0 : ft.dark.layers) == null ? void 0 : yt.find((L) => L.id === "empty-layer-4")
|
|
@@ -38293,7 +38257,7 @@ class py {
|
|
|
38293
38257
|
center: [55.13, 25.12],
|
|
38294
38258
|
zoom: 12,
|
|
38295
38259
|
fog: (dt = this.originStyle) == null ? void 0 : dt.satellite.fog,
|
|
38296
|
-
imports: (
|
|
38260
|
+
imports: (K = this.originStyle) == null ? void 0 : K.satellite.imports,
|
|
38297
38261
|
sources: (ht = this.originStyle) == null ? void 0 : ht.satellite.sources,
|
|
38298
38262
|
sprite: (no = this.originStyle) == null ? void 0 : no.satellite.sprite,
|
|
38299
38263
|
glyphs: (ge = this.originStyle) == null ? void 0 : ge.satellite.glyphs,
|