@idmwx/idmui-gl4 3.6.4 → 3.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3VYIPD3A-a7689b18.js → chunk-3VYIPD3A-d1ac10d3.js} +1 -1
- package/dist/{chunk-ANSXOGKI-b4e893f0.js → chunk-ANSXOGKI-baf12f0d.js} +1 -1
- package/dist/{chunk-T4JIPPZO-03866c8a.js → chunk-T4JIPPZO-620f172f.js} +1 -1
- package/dist/{download-711f8b0b.js → download-9f4c6afa.js} +3 -3
- package/dist/{index-d1d43372.js → index-17825f18.js} +383 -365
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +6 -6
- package/dist/mapbox/src/components/bottomTimeLine/index.vue.d.ts +15 -7
- package/dist/{rasterize-JS5G2XHH-95f562df.js → rasterize-JS5G2XHH-446b2325.js} +3 -3
- package/dist/{toBlob-3f65ef7a.js → toBlob-cdfc2a52.js} +3 -3
- package/dist/{toCanvas-1bf9d824.js → toCanvas-288bbb78.js} +2 -2
- package/dist/{toImg-c00a2909.js → toImg-617a035f.js} +3 -3
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ var al = (t, e, o) => e in t ? ol(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (t, e, o) => (al(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Ie from "axios";
|
|
5
5
|
import { useTheme as We } from "vuetify";
|
|
6
|
-
import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as
|
|
6
|
+
import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as B, normalizeClass as ue, withCtx as x, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as y, createTextVNode as N, Fragment as Ce, renderList as Me, withDirectives as uo, vShow as po, mergeProps as V, normalizeStyle as ge } from "vue";
|
|
7
7
|
import Ae from "mapbox-gl";
|
|
8
8
|
import S from "moment";
|
|
9
9
|
import { LngLatHelper as H, TropicalHelper as hr, LaneHelper as pt, GeoJsonHelper as ut } from "@idm-plugin/geo";
|
|
10
10
|
import { Meteo2Assist as Wo, TidesAssist as Ir } from "@idm-plugin/meteo";
|
|
11
|
-
import * as
|
|
11
|
+
import * as Jo from "echarts";
|
|
12
12
|
import * as Z from "@turf/turf";
|
|
13
13
|
import { LayerHelper as Zo, CompanyHelper as il } from "@idm-plugin/tag2";
|
|
14
14
|
import rl from "@mapbox/sphericalmercator";
|
|
@@ -519,7 +519,7 @@ const bl = {
|
|
|
519
519
|
}, wl = ["innerHTML"];
|
|
520
520
|
function xl(t, e, o, i, a, r) {
|
|
521
521
|
const l = M("VBtn"), c = M("VCardText"), s = M("VCard");
|
|
522
|
-
return a.showMakerInfo ? (A(),
|
|
522
|
+
return a.showMakerInfo ? (A(), B(s, {
|
|
523
523
|
key: 0,
|
|
524
524
|
id: "idm-gl4-zone-info",
|
|
525
525
|
class: ue(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"])
|
|
@@ -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, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
754
|
+
var c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze;
|
|
755
755
|
let r = {};
|
|
756
756
|
const l = ((c = Wo.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((m = l == null ? void 0 : l.weather) == null ? void 0 : m.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.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 = (
|
|
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((m = l == null ? void 0 : l.weather) == null ? void 0 : m.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.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 = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : j.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.sig) == null ? void 0 : U.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((W = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.swell) == null ? void 0 : W.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((J = l == null ? void 0 : l.current) == null ? void 0 : J.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() {
|
|
@@ -797,8 +797,8 @@ const Al = {
|
|
|
797
797
|
}), this.initEchart();
|
|
798
798
|
},
|
|
799
799
|
initEchart() {
|
|
800
|
-
|
|
801
|
-
const t =
|
|
800
|
+
Jo.dispose(this.$refs.tideEchart.style);
|
|
801
|
+
const t = Jo.init(this.$refs.tideEchart), e = {
|
|
802
802
|
animation: !1,
|
|
803
803
|
tooltip: {
|
|
804
804
|
trigger: "axis",
|
|
@@ -923,7 +923,7 @@ const Al = {
|
|
|
923
923
|
}, Pl = { class: "summary-box" }, Sl = { class: "d-flex justify-space-between align-center py-2" }, Tl = { class: "d-flex justify-center align-center text-h6 ga-2" }, Rl = {
|
|
924
924
|
class: "multi-color-icon",
|
|
925
925
|
"aria-hidden": "true"
|
|
926
|
-
}, Dl = ["xlink:href"], Il = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, El = { class: "w-100 d-flex justify-start align-center" }, Gl = { class: "w-30 text-label font-weight-400" }, Fl = { class: "flex-1-1-0" },
|
|
926
|
+
}, Dl = ["xlink:href"], Il = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, El = { class: "w-100 d-flex justify-start align-center" }, Gl = { class: "w-30 text-label font-weight-400" }, Fl = { class: "flex-1-1-0" }, Bl = { class: "w-100 d-flex justify-start align-center" }, jl = { class: "w-30 text-label font-weight-400" }, Nl = { class: "flex-1-1-0" }, Wl = { class: "w-100 d-flex justify-start align-center" }, Zl = { class: "w-30 text-label font-weight-400" }, Vl = { class: "flex-1-1-0" }, Xl = { class: "table-box w-100 mt-2" }, Ol = { class: "w-100 d-flex justify-space-between align-center py-2" }, Hl = { class: "d-flex justify-center align-center text-h6 ga-2" }, Yl = {
|
|
927
927
|
class: "multi-color-icon",
|
|
928
928
|
"aria-hidden": "true"
|
|
929
929
|
}, Ul = ["xlink:href"], Jl = {
|
|
@@ -959,7 +959,7 @@ const Al = {
|
|
|
959
959
|
}, An = { class: "px-1 text-center" }, kn = { class: "px-1 text-center" }, Ln = { class: "px-1 text-center" };
|
|
960
960
|
function zn(t, e, o, i, a, r) {
|
|
961
961
|
const l = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), m = M("VBtnToggle"), d = M("VCard");
|
|
962
|
-
return A(),
|
|
962
|
+
return A(), B(d, {
|
|
963
963
|
class: ue(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
964
964
|
}, {
|
|
965
965
|
default: x(() => {
|
|
@@ -981,7 +981,7 @@ function zn(t, e, o, i, a, r) {
|
|
|
981
981
|
(v = o.followList) != null && v.some((k) => {
|
|
982
982
|
var P;
|
|
983
983
|
return ((P = k.port) == null ? void 0 : P.id) === o.portId;
|
|
984
|
-
}) ? (A(),
|
|
984
|
+
}) ? (A(), B(l, {
|
|
985
985
|
key: 0,
|
|
986
986
|
class: "text-none rounded-circle",
|
|
987
987
|
variant: "text",
|
|
@@ -996,7 +996,7 @@ function zn(t, e, o, i, a, r) {
|
|
|
996
996
|
])),
|
|
997
997
|
_: 1,
|
|
998
998
|
__: [2]
|
|
999
|
-
}, 8, ["onClick"])) : (A(),
|
|
999
|
+
}, 8, ["onClick"])) : (A(), B(l, {
|
|
1000
1000
|
key: 1,
|
|
1001
1001
|
class: "text-none rounded-circle",
|
|
1002
1002
|
variant: "plain",
|
|
@@ -1057,7 +1057,7 @@ function zn(t, e, o, i, a, r) {
|
|
|
1057
1057
|
(p = o.followList) != null && p.some((u) => {
|
|
1058
1058
|
var h;
|
|
1059
1059
|
return ((h = u.port) == null ? void 0 : h.id) === o.portId;
|
|
1060
|
-
}) ? (A(),
|
|
1060
|
+
}) ? (A(), B(l, {
|
|
1061
1061
|
key: 0,
|
|
1062
1062
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1063
1063
|
variant: "tonal",
|
|
@@ -1072,7 +1072,7 @@ function zn(t, e, o, i, a, r) {
|
|
|
1072
1072
|
N(" " + y(t.$t("actions.unfollow")), 1)
|
|
1073
1073
|
]),
|
|
1074
1074
|
_: 1
|
|
1075
|
-
}, 8, ["onClick"])) : (A(),
|
|
1075
|
+
}, 8, ["onClick"])) : (A(), B(l, {
|
|
1076
1076
|
key: 1,
|
|
1077
1077
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1078
1078
|
variant: "tonal",
|
|
@@ -1122,8 +1122,8 @@ function zn(t, e, o, i, a, r) {
|
|
|
1122
1122
|
n("div", Gl, y(t.$t("port.region")), 1),
|
|
1123
1123
|
n("div", Fl, y(((g = o.port) == null ? void 0 : g.region) ?? ((b = o.port) == null ? void 0 : b.city) ?? "-"), 1)
|
|
1124
1124
|
]),
|
|
1125
|
-
n("div",
|
|
1126
|
-
n("div",
|
|
1125
|
+
n("div", Bl, [
|
|
1126
|
+
n("div", jl, y(t.$t("port.position")), 1),
|
|
1127
1127
|
n("div", Nl, y(r.computePosition(o.port)), 1)
|
|
1128
1128
|
]),
|
|
1129
1129
|
n("div", Wl, [
|
|
@@ -1159,7 +1159,7 @@ function zn(t, e, o, i, a, r) {
|
|
|
1159
1159
|
mandatory: ""
|
|
1160
1160
|
}, {
|
|
1161
1161
|
default: x(() => [
|
|
1162
|
-
(A(!0), R(Ce, null, Me(r.dateList, (u) => (A(),
|
|
1162
|
+
(A(!0), R(Ce, null, Me(r.dateList, (u) => (A(), B(l, {
|
|
1163
1163
|
key: u.index,
|
|
1164
1164
|
class: ue(["text-none text-body-1 flex-1-1-0", `bg-${u.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
|
|
1165
1165
|
density: "compact",
|
|
@@ -1228,14 +1228,14 @@ function zn(t, e, o, i, a, r) {
|
|
|
1228
1228
|
n("div", null, y(t.$t("tide.tideTimes")), 1)
|
|
1229
1229
|
]),
|
|
1230
1230
|
n("div", fn, [
|
|
1231
|
-
a.showTideDetail ? (A(),
|
|
1231
|
+
a.showTideDetail ? (A(), B(l, {
|
|
1232
1232
|
key: 0,
|
|
1233
1233
|
icon: "mdi-eye-outline",
|
|
1234
1234
|
density: "compact",
|
|
1235
1235
|
variant: "plain",
|
|
1236
1236
|
size: "small",
|
|
1237
1237
|
onClick: e[1] || (e[1] = (u) => a.showTideDetail = !1)
|
|
1238
|
-
})) : (A(),
|
|
1238
|
+
})) : (A(), B(l, {
|
|
1239
1239
|
key: 1,
|
|
1240
1240
|
icon: "mdi-eye-off-outline",
|
|
1241
1241
|
density: "compact",
|
|
@@ -1411,7 +1411,7 @@ function Sn(t, e, o, i, a, r) {
|
|
|
1411
1411
|
}, 512), [
|
|
1412
1412
|
[po, a.showInfo]
|
|
1413
1413
|
]),
|
|
1414
|
-
a.showDetail ? (A(),
|
|
1414
|
+
a.showDetail ? (A(), B(s, V({
|
|
1415
1415
|
key: 0,
|
|
1416
1416
|
"port-id": a.portId,
|
|
1417
1417
|
port: a.port,
|
|
@@ -1672,7 +1672,7 @@ const In = /* @__PURE__ */ ne(Rn, [["render", Dn]]), En = {
|
|
|
1672
1672
|
function Gn(t, e, o, i, a, r) {
|
|
1673
1673
|
return A(), R("div");
|
|
1674
1674
|
}
|
|
1675
|
-
const Fn = /* @__PURE__ */ ne(En, [["render", Gn]]),
|
|
1675
|
+
const Fn = /* @__PURE__ */ ne(En, [["render", Gn]]), Bn = {
|
|
1676
1676
|
name: "IdmVoluntaryReportingArea",
|
|
1677
1677
|
props: {
|
|
1678
1678
|
map: {
|
|
@@ -1764,10 +1764,10 @@ const Fn = /* @__PURE__ */ ne(En, [["render", Gn]]), jn = {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
}
|
|
1766
1766
|
};
|
|
1767
|
-
function
|
|
1767
|
+
function jn(t, e, o, i, a, r) {
|
|
1768
1768
|
return A(), R("div");
|
|
1769
1769
|
}
|
|
1770
|
-
const Nn = /* @__PURE__ */ ne(
|
|
1770
|
+
const Nn = /* @__PURE__ */ ne(Bn, [["render", jn]]), Wn = {
|
|
1771
1771
|
name: "IdmSpecialArea",
|
|
1772
1772
|
props: {
|
|
1773
1773
|
map: {
|
|
@@ -2253,8 +2253,8 @@ const rs = {
|
|
|
2253
2253
|
}), this.initEchart();
|
|
2254
2254
|
},
|
|
2255
2255
|
initEchart() {
|
|
2256
|
-
|
|
2257
|
-
const t =
|
|
2256
|
+
Jo.dispose(this.$refs.tideEchart.style);
|
|
2257
|
+
const t = Jo.init(this.$refs.tideEchart), e = {
|
|
2258
2258
|
animation: !1,
|
|
2259
2259
|
tooltip: {
|
|
2260
2260
|
trigger: "axis",
|
|
@@ -2391,7 +2391,7 @@ const rs = {
|
|
|
2391
2391
|
}, Is = { class: "px-1 text-center" }, Es = { class: "px-1 text-center" }, Gs = { class: "px-1 text-center" };
|
|
2392
2392
|
function Fs(t, e, o, i, a, r) {
|
|
2393
2393
|
const l = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), m = M("VBtnToggle"), d = M("VCard");
|
|
2394
|
-
return A(),
|
|
2394
|
+
return A(), B(d, {
|
|
2395
2395
|
class: ue(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
2396
2396
|
}, {
|
|
2397
2397
|
default: x(() => {
|
|
@@ -2483,7 +2483,7 @@ function Fs(t, e, o, i, a, r) {
|
|
|
2483
2483
|
mandatory: ""
|
|
2484
2484
|
}, {
|
|
2485
2485
|
default: x(() => [
|
|
2486
|
-
(A(!0), R(Ce, null, Me(r.dateList, (b) => (A(),
|
|
2486
|
+
(A(!0), R(Ce, null, Me(r.dateList, (b) => (A(), B(l, {
|
|
2487
2487
|
key: b.label,
|
|
2488
2488
|
class: ue(["text-none text-body-1 flex-1-1-0", `bg-${b.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
|
|
2489
2489
|
density: "compact",
|
|
@@ -2525,11 +2525,11 @@ function Fs(t, e, o, i, a, r) {
|
|
|
2525
2525
|
_: 1
|
|
2526
2526
|
}, 8, ["class"]);
|
|
2527
2527
|
}
|
|
2528
|
-
const
|
|
2529
|
-
const
|
|
2528
|
+
const Bs = /* @__PURE__ */ ne(rs, [["render", Fs], ["__scopeId", "data-v-5c51381d"]]);
|
|
2529
|
+
const js = {
|
|
2530
2530
|
name: "IdmTideStations",
|
|
2531
2531
|
components: {
|
|
2532
|
-
TideDetail:
|
|
2532
|
+
TideDetail: Bs
|
|
2533
2533
|
},
|
|
2534
2534
|
props: {
|
|
2535
2535
|
map: {
|
|
@@ -2626,13 +2626,13 @@ function Xs(t, e, o, i, a, r) {
|
|
|
2626
2626
|
}, 512), [
|
|
2627
2627
|
[po, a.showInfo]
|
|
2628
2628
|
]),
|
|
2629
|
-
a.showDetail ? (A(),
|
|
2629
|
+
a.showDetail ? (A(), B(s, V({
|
|
2630
2630
|
key: 0,
|
|
2631
2631
|
station: a.station
|
|
2632
2632
|
}, t.$attrs, { onClose: r.handleCloseDetail }), null, 16, ["station", "onClose"])) : I("", !0)
|
|
2633
2633
|
]);
|
|
2634
2634
|
}
|
|
2635
|
-
const Os = /* @__PURE__ */ ne(
|
|
2635
|
+
const Os = /* @__PURE__ */ ne(js, [["render", Xs], ["__scopeId", "data-v-ad725d5e"]]), Hs = {
|
|
2636
2636
|
name: "IdmIceAreas",
|
|
2637
2637
|
props: {
|
|
2638
2638
|
map: {
|
|
@@ -3017,7 +3017,7 @@ function tc(t, e, o, i, a, r) {
|
|
|
3017
3017
|
}, 512), [
|
|
3018
3018
|
[po, a.showInfo]
|
|
3019
3019
|
]),
|
|
3020
|
-
a.showDetail ? (A(),
|
|
3020
|
+
a.showDetail ? (A(), B(s, V({
|
|
3021
3021
|
key: 0,
|
|
3022
3022
|
"port-id": a.portId,
|
|
3023
3023
|
port: a.port,
|
|
@@ -3169,7 +3169,7 @@ const ac = {
|
|
|
3169
3169
|
};
|
|
3170
3170
|
function nc(t, e, o, i, a, r) {
|
|
3171
3171
|
const l = M("VCardText"), c = M("VCard");
|
|
3172
|
-
return uo((A(),
|
|
3172
|
+
return uo((A(), B(c, {
|
|
3173
3173
|
id: "idmFollowPositionInfo",
|
|
3174
3174
|
ref: "idmFollowPositionInfo"
|
|
3175
3175
|
}, {
|
|
@@ -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, W;
|
|
3426
|
-
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), m = M("VCardItem"), d = 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"), F = M("IdmSpecialArea"),
|
|
3426
|
+
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), m = M("VCardItem"), d = 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"), F = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), U = 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: ue(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
@@ -3510,7 +3510,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3510
3510
|
n("div", wc, y(t.$t(`layer.${J.locale}`)), 1)
|
|
3511
3511
|
], 8, pc))), 128))
|
|
3512
3512
|
]),
|
|
3513
|
-
(A(!0), R(Ce, null, Me(a.tagLayers.filter((J) => ["graticule", "day-night", "time-zones"].includes(J.key)), (J) => (A(),
|
|
3513
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((J) => ["graticule", "day-night", "time-zones"].includes(J.key)), (J) => (A(), B(d, {
|
|
3514
3514
|
key: J.key,
|
|
3515
3515
|
modelValue: a.checkList,
|
|
3516
3516
|
"onUpdate:modelValue": e[0] || (e[0] = (ye) => a.checkList = ye),
|
|
@@ -3546,7 +3546,7 @@ 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((J) => ["ports", "alert-zones", "tidal-stations"].includes(J.key)), (J) => (A(),
|
|
3549
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((J) => ["ports", "alert-zones", "tidal-stations"].includes(J.key)), (J) => (A(), B(d, {
|
|
3550
3550
|
key: J.key,
|
|
3551
3551
|
modelValue: a.checkList,
|
|
3552
3552
|
"onUpdate:modelValue": e[1] || (e[1] = (ye) => a.checkList = ye),
|
|
@@ -3582,7 +3582,7 @@ 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((J) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(J.key)), (J) => (A(),
|
|
3585
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((J) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(J.key)), (J) => (A(), B(d, {
|
|
3586
3586
|
key: J.key,
|
|
3587
3587
|
modelValue: a.checkList,
|
|
3588
3588
|
"onUpdate:modelValue": e[2] || (e[2] = (ye) => a.checkList = ye),
|
|
@@ -3648,7 +3648,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3648
3648
|
})
|
|
3649
3649
|
], 2)
|
|
3650
3650
|
], 6),
|
|
3651
|
-
o.map ? (A(),
|
|
3651
|
+
o.map ? (A(), B(b, V({
|
|
3652
3652
|
key: 0,
|
|
3653
3653
|
ref: "idmPorts",
|
|
3654
3654
|
simple: o.simple,
|
|
@@ -3660,7 +3660,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3660
3660
|
"real-time": o.realTime,
|
|
3661
3661
|
theme: o.theme
|
|
3662
3662
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : I("", !0),
|
|
3663
|
-
o.map ? (A(),
|
|
3663
|
+
o.map ? (A(), B(u, V({
|
|
3664
3664
|
key: 1,
|
|
3665
3665
|
ref: "idmIideStation",
|
|
3666
3666
|
simple: o.simple,
|
|
@@ -3674,25 +3674,25 @@ function xc(t, e, o, i, a, r) {
|
|
|
3674
3674
|
"forecast-model": o.forecastModel,
|
|
3675
3675
|
"before-layer": "empty-layer-3"
|
|
3676
3676
|
}, t.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : I("", !0),
|
|
3677
|
-
o.map ? (A(),
|
|
3677
|
+
o.map ? (A(), B(h, V({
|
|
3678
3678
|
key: 2,
|
|
3679
3679
|
simple: o.simple,
|
|
3680
3680
|
map: o.map,
|
|
3681
3681
|
"menu-toggle": o.menuToggle,
|
|
3682
3682
|
show: a.checkList.includes("graticule")
|
|
3683
3683
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : I("", !0),
|
|
3684
|
-
o.map ? (A(),
|
|
3684
|
+
o.map ? (A(), B(f, V({
|
|
3685
3685
|
key: 3,
|
|
3686
3686
|
map: o.map,
|
|
3687
3687
|
area: (E = a.otherLayers) == null ? void 0 : E["day-night"]
|
|
3688
3688
|
}, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : I("", !0),
|
|
3689
|
-
o.map ? (A(),
|
|
3689
|
+
o.map ? (A(), B(z, V({
|
|
3690
3690
|
key: 4,
|
|
3691
3691
|
map: o.map,
|
|
3692
3692
|
zone: ($ = a.otherLayers) == null ? void 0 : $["time-zones"],
|
|
3693
3693
|
"real-time": o.realTime
|
|
3694
3694
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : I("", !0),
|
|
3695
|
-
o.map ? (A(),
|
|
3695
|
+
o.map ? (A(), B(v, V({
|
|
3696
3696
|
key: 5,
|
|
3697
3697
|
map: o.map,
|
|
3698
3698
|
simple: o.simple,
|
|
@@ -3701,65 +3701,65 @@ function xc(t, e, o, i, a, r) {
|
|
|
3701
3701
|
"before-layer": "empty-layer-3",
|
|
3702
3702
|
theme: o.theme
|
|
3703
3703
|
}), null, 16, ["map", "simple", "zone", "theme"])) : I("", !0),
|
|
3704
|
-
o.map ? (A(),
|
|
3704
|
+
o.map ? (A(), B(C, V({
|
|
3705
3705
|
key: 6,
|
|
3706
3706
|
map: o.map,
|
|
3707
3707
|
zone: (se = a.otherLayers) == null ? void 0 : se["eca-zones"]
|
|
3708
3708
|
}, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
|
|
3709
|
-
o.map ? (A(),
|
|
3709
|
+
o.map ? (A(), B(k, V({
|
|
3710
3710
|
key: 7,
|
|
3711
3711
|
map: o.map,
|
|
3712
3712
|
zone: (q = a.otherLayers) == null ? void 0 : q["war-zones"]
|
|
3713
3713
|
}, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
|
|
3714
|
-
o.map ? (A(),
|
|
3714
|
+
o.map ? (A(), B(P, V({
|
|
3715
3715
|
key: 8,
|
|
3716
3716
|
map: o.map,
|
|
3717
3717
|
area: (Y = a.otherLayers) == null ? void 0 : Y["gmdss-areas"]
|
|
3718
3718
|
}, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
|
|
3719
|
-
o.map ? (A(),
|
|
3719
|
+
o.map ? (A(), B(_, V({
|
|
3720
3720
|
key: 9,
|
|
3721
3721
|
map: o.map,
|
|
3722
3722
|
show: a.checkList.includes("load-lines")
|
|
3723
3723
|
}, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
|
|
3724
|
-
o.map ? (A(),
|
|
3724
|
+
o.map ? (A(), B(D, V({
|
|
3725
3725
|
key: 10,
|
|
3726
3726
|
map: o.map,
|
|
3727
3727
|
token: o.token,
|
|
3728
3728
|
show: a.checkList.includes("worldMarine")
|
|
3729
3729
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
|
|
3730
|
-
o.map ? (A(),
|
|
3730
|
+
o.map ? (A(), B(T, V({
|
|
3731
3731
|
key: 11,
|
|
3732
3732
|
map: o.map,
|
|
3733
3733
|
area: (le = a.otherLayers) == null ? void 0 : le["voluntary-reporting-area"]
|
|
3734
3734
|
}, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
|
|
3735
|
-
o.map ? (A(),
|
|
3735
|
+
o.map ? (A(), B(F, V({
|
|
3736
3736
|
key: 12,
|
|
3737
3737
|
map: o.map,
|
|
3738
3738
|
area: (W = a.otherLayers) == null ? void 0 : W["special-area"]
|
|
3739
3739
|
}, t.$attrs), null, 16, ["map", "area"])) : I("", !0),
|
|
3740
|
-
o.map ? (A(), j
|
|
3740
|
+
o.map ? (A(), B(j, V({
|
|
3741
3741
|
key: 13,
|
|
3742
3742
|
map: o.map,
|
|
3743
3743
|
token: o.token,
|
|
3744
3744
|
show: a.checkList.includes("world12nm")
|
|
3745
3745
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : I("", !0),
|
|
3746
|
-
o.map ? (A(),
|
|
3746
|
+
o.map ? (A(), B(G, V({
|
|
3747
3747
|
key: 14,
|
|
3748
3748
|
map: o.map,
|
|
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(),
|
|
3752
|
+
o.map ? (A(), B(U, V({
|
|
3753
3753
|
key: 15,
|
|
3754
3754
|
map: o.map,
|
|
3755
3755
|
show: a.checkList.includes("ice-areas")
|
|
3756
3756
|
}, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
|
|
3757
|
-
o.map ? (A(),
|
|
3757
|
+
o.map ? (A(), B(ae, V({
|
|
3758
3758
|
key: 16,
|
|
3759
3759
|
map: o.map,
|
|
3760
3760
|
show: a.checkList.includes("nsr")
|
|
3761
3761
|
}, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
|
|
3762
|
-
o.map ? (A(),
|
|
3762
|
+
o.map ? (A(), B(re, V({
|
|
3763
3763
|
key: 17,
|
|
3764
3764
|
ref: "idmFollowPort",
|
|
3765
3765
|
simple: o.simple,
|
|
@@ -3770,7 +3770,7 @@ function xc(t, e, o, i, a, r) {
|
|
|
3770
3770
|
"forecast-model": o.forecastModel,
|
|
3771
3771
|
"real-time": o.realTime
|
|
3772
3772
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : I("", !0),
|
|
3773
|
-
o.map ? (A(),
|
|
3773
|
+
o.map ? (A(), B(xe, V({
|
|
3774
3774
|
key: 18,
|
|
3775
3775
|
ref: "idmFollowPosition",
|
|
3776
3776
|
simple: o.simple,
|
|
@@ -5056,10 +5056,10 @@ const Fc = {
|
|
|
5056
5056
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
5057
5057
|
}
|
|
5058
5058
|
}
|
|
5059
|
-
},
|
|
5060
|
-
function
|
|
5059
|
+
}, Bc = { key: 0 };
|
|
5060
|
+
function jc(t, e, o, i, a, r) {
|
|
5061
5061
|
var l;
|
|
5062
|
-
return (l = o.factor) != null && l.active ? (A(), R("div",
|
|
5062
|
+
return (l = o.factor) != null && l.active ? (A(), R("div", Bc, [
|
|
5063
5063
|
n("div", {
|
|
5064
5064
|
class: "legend-bars-gl4 sig-wave",
|
|
5065
5065
|
style: ge({ right: a.right + "px" })
|
|
@@ -5074,7 +5074,7 @@ function Bc(t, e, o, i, a, r) {
|
|
|
5074
5074
|
]), 4)
|
|
5075
5075
|
])) : I("", !0);
|
|
5076
5076
|
}
|
|
5077
|
-
const Nc = /* @__PURE__ */ ne(Fc, [["render",
|
|
5077
|
+
const Nc = /* @__PURE__ */ ne(Fc, [["render", jc], ["__scopeId", "data-v-b562523c"]]), Wc = {
|
|
5078
5078
|
name: "IdmSigWaveHeight",
|
|
5079
5079
|
props: {
|
|
5080
5080
|
map: {
|
|
@@ -6661,9 +6661,9 @@ const zm = {
|
|
|
6661
6661
|
);
|
|
6662
6662
|
const k = await Promise.all(C);
|
|
6663
6663
|
this.weatherLayers = {}, k.map((P) => {
|
|
6664
|
-
var T, F,
|
|
6664
|
+
var T, F, j, G;
|
|
6665
6665
|
const _ = ((T = P == null ? void 0 : P.data) == null ? void 0 : T.data) || (P == null ? void 0 : P.data);
|
|
6666
|
-
let D = (
|
|
6666
|
+
let D = (j = (F = P == null ? void 0 : P.config) == null ? void 0 : F.headers) == null ? void 0 : j.key;
|
|
6667
6667
|
D && _ && (this.weatherLayers[D] = {
|
|
6668
6668
|
raw: _,
|
|
6669
6669
|
type: ((G = P == null ? void 0 : P.config) == null ? void 0 : G.responseType) === "blob" ? "image" : "json",
|
|
@@ -6770,12 +6770,12 @@ const zm = {
|
|
|
6770
6770
|
if (k > b && k < u && (!(i <= this.zoom) || k % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6771
6771
|
const P = v[k].lng;
|
|
6772
6772
|
p > g ? P.forEach((_, D) => {
|
|
6773
|
-
var T, F,
|
|
6773
|
+
var T, F, j, G, U, ae;
|
|
6774
6774
|
if (i < 2) {
|
|
6775
6775
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6776
6776
|
const re = Z.point([_, k], {
|
|
6777
6777
|
val: ((T = v[k].val) == null ? void 0 : T[D]) || ((F = v[k].dir) == null ? void 0 : F[D]),
|
|
6778
|
-
spd: (
|
|
6778
|
+
spd: (j = v[k].spd) == null ? void 0 : j[D]
|
|
6779
6779
|
});
|
|
6780
6780
|
z.push(re);
|
|
6781
6781
|
}
|
|
@@ -6787,12 +6787,12 @@ const zm = {
|
|
|
6787
6787
|
z.push(re);
|
|
6788
6788
|
}
|
|
6789
6789
|
}) : P.forEach((_, D) => {
|
|
6790
|
-
var T, F,
|
|
6790
|
+
var T, F, j, G, U, ae;
|
|
6791
6791
|
if (p < 2) {
|
|
6792
6792
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6793
6793
|
const re = Z.point([_, k], {
|
|
6794
6794
|
val: ((T = v[k].val) == null ? void 0 : T[D]) || ((F = v[k].dir) == null ? void 0 : F[D]),
|
|
6795
|
-
spd: (
|
|
6795
|
+
spd: (j = v[k].spd) == null ? void 0 : j[D]
|
|
6796
6796
|
});
|
|
6797
6797
|
z.push(re);
|
|
6798
6798
|
}
|
|
@@ -6834,12 +6834,12 @@ const zm = {
|
|
|
6834
6834
|
if (k > b && k < u && (!(i <= this.zoom) || k % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6835
6835
|
const P = v[k].lng;
|
|
6836
6836
|
p > g ? P.forEach((_, D) => {
|
|
6837
|
-
var T, F,
|
|
6837
|
+
var T, F, j, G, U, ae;
|
|
6838
6838
|
if (i < 2) {
|
|
6839
6839
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6840
6840
|
const re = Z.point([_, k], {
|
|
6841
6841
|
val: ((T = v[k].val) == null ? void 0 : T[D]) || ((F = v[k].dir) == null ? void 0 : F[D]),
|
|
6842
|
-
spd: (
|
|
6842
|
+
spd: (j = v[k].spd) == null ? void 0 : j[D]
|
|
6843
6843
|
});
|
|
6844
6844
|
z.push(re);
|
|
6845
6845
|
}
|
|
@@ -6851,12 +6851,12 @@ const zm = {
|
|
|
6851
6851
|
z.push(re);
|
|
6852
6852
|
}
|
|
6853
6853
|
}) : P.forEach((_, D) => {
|
|
6854
|
-
var T, F,
|
|
6854
|
+
var T, F, j, G, U, ae;
|
|
6855
6855
|
if (p < 2) {
|
|
6856
6856
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6857
6857
|
const re = Z.point([_, k], {
|
|
6858
6858
|
val: ((T = v[k].val) == null ? void 0 : T[D]) || ((F = v[k].dir) == null ? void 0 : F[D]),
|
|
6859
|
-
spd: (
|
|
6859
|
+
spd: (j = v[k].spd) == null ? void 0 : j[D]
|
|
6860
6860
|
});
|
|
6861
6861
|
z.push(re);
|
|
6862
6862
|
}
|
|
@@ -6895,7 +6895,7 @@ const zm = {
|
|
|
6895
6895
|
if (C > b && C < u && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6896
6896
|
const k = v[C].lng;
|
|
6897
6897
|
p > g ? k.forEach((P, _) => {
|
|
6898
|
-
var D, T, F,
|
|
6898
|
+
var D, T, F, j;
|
|
6899
6899
|
if (i < 2) {
|
|
6900
6900
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6901
6901
|
const G = Z.point([P, C], {
|
|
@@ -6906,13 +6906,13 @@ const zm = {
|
|
|
6906
6906
|
}
|
|
6907
6907
|
} else if ((P >= p && P <= 180 || P >= -180 && P <= g) && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6908
6908
|
const G = Z.point([P, C], {
|
|
6909
|
-
dir: ((F = v[C].val) == null ? void 0 : F[_]) || ((
|
|
6909
|
+
dir: ((F = v[C].val) == null ? void 0 : F[_]) || ((j = v[C].dir) == null ? void 0 : j[_]),
|
|
6910
6910
|
spd: v[C].spd[_]
|
|
6911
6911
|
});
|
|
6912
6912
|
z.push(G);
|
|
6913
6913
|
}
|
|
6914
6914
|
}) : k.forEach((P, _) => {
|
|
6915
|
-
var D, T, F,
|
|
6915
|
+
var D, T, F, j;
|
|
6916
6916
|
if (i < 2) {
|
|
6917
6917
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6918
6918
|
const G = Z.point([P, C], {
|
|
@@ -6923,7 +6923,7 @@ const zm = {
|
|
|
6923
6923
|
}
|
|
6924
6924
|
} else if (P >= p && P <= g && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6925
6925
|
const G = Z.point([P, C], {
|
|
6926
|
-
dir: ((F = v[C].val) == null ? void 0 : F[_]) || ((
|
|
6926
|
+
dir: ((F = v[C].val) == null ? void 0 : F[_]) || ((j = v[C].dir) == null ? void 0 : j[_]),
|
|
6927
6927
|
spd: v[C].spd[_]
|
|
6928
6928
|
});
|
|
6929
6929
|
z.push(G);
|
|
@@ -7036,7 +7036,7 @@ const zm = {
|
|
|
7036
7036
|
}, Im = { class: "text-caption px-2" }, Em = { class: "d-flex flex-row justify-start align-start flex-wrap text-body-2 ml-n1" }, Gm = { class: "d-flex flex-row justify-start align-center" }, Fm = {
|
|
7037
7037
|
class: "d-flex flex-row justify-center align-center",
|
|
7038
7038
|
style: { width: "40px" }
|
|
7039
|
-
},
|
|
7039
|
+
}, Bm = { class: "text-caption" }, jm = { class: "d-flex justify-start align-center ga-3" }, Nm = { class: "text-h5 font-weight-medium" }, Wm = {
|
|
7040
7040
|
key: 0,
|
|
7041
7041
|
class: "w-100 d-flex justify-space-between align-center ga-1 mb-2 px-3"
|
|
7042
7042
|
}, Zm = {
|
|
@@ -7048,7 +7048,7 @@ const zm = {
|
|
|
7048
7048
|
}, 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
7049
|
function ud(t, e, o, i, a, r) {
|
|
7050
7050
|
var fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze, he, ke;
|
|
7051
|
-
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), m = M("VDivider"), d = 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"), F = M("IdmIceEdge"),
|
|
7051
|
+
const l = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), m = M("VDivider"), d = 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"), F = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), U = M("IdmPrecip3h"), ae = M("IdmVisibility"), re = M("IdmWaterTemp"), xe = M("IdmTemp");
|
|
7052
7052
|
return A(), R("div", _m, [
|
|
7053
7053
|
n("div", {
|
|
7054
7054
|
class: "menu-bar-box transition pa-1",
|
|
@@ -7111,7 +7111,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7111
7111
|
_: 1
|
|
7112
7112
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
7113
7113
|
], 6),
|
|
7114
|
-
a.legendToggle ? (A(),
|
|
7114
|
+
a.legendToggle ? (A(), B(d, {
|
|
7115
7115
|
key: 0,
|
|
7116
7116
|
elevation: "16",
|
|
7117
7117
|
class: "card-info d-flex justify-center align-start",
|
|
@@ -7186,7 +7186,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7186
7186
|
style: ge({ fontSize: 40 * ee.size + "px" })
|
|
7187
7187
|
}, null, 4)
|
|
7188
7188
|
]),
|
|
7189
|
-
n("div",
|
|
7189
|
+
n("div", Bm, y(ee.label), 1)
|
|
7190
7190
|
])
|
|
7191
7191
|
]))), 128))
|
|
7192
7192
|
])
|
|
@@ -7205,7 +7205,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7205
7205
|
n("div", {
|
|
7206
7206
|
class: ue(["header-box w-100 d-flex justify-space-between align-center", o.simple ? "px-3" : "px-4"])
|
|
7207
7207
|
}, [
|
|
7208
|
-
n("div",
|
|
7208
|
+
n("div", jm, [
|
|
7209
7209
|
n("div", Nm, y(t.$t("weather.weather")), 1),
|
|
7210
7210
|
w(p, {
|
|
7211
7211
|
modelValue: a.autoActive,
|
|
@@ -7296,7 +7296,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7296
7296
|
}),
|
|
7297
7297
|
w(s, { class: "py-2 mx-n1" }, {
|
|
7298
7298
|
default: x(() => [
|
|
7299
|
-
(A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(),
|
|
7299
|
+
(A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(), B(h, {
|
|
7300
7300
|
key: ee.key,
|
|
7301
7301
|
modelValue: a.checkList,
|
|
7302
7302
|
"onUpdate:modelValue": e[3] || (e[3] = (we) => a.checkList = we),
|
|
@@ -7379,7 +7379,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7379
7379
|
"hide-details": ""
|
|
7380
7380
|
}, null, 8, ["modelValue"])
|
|
7381
7381
|
])) : I("", !0),
|
|
7382
|
-
a.renderKey === "wave-group" && ee.key === "wave-group" ? (A(),
|
|
7382
|
+
a.renderKey === "wave-group" && ee.key === "wave-group" ? (A(), B(g, {
|
|
7383
7383
|
key: 2,
|
|
7384
7384
|
modelValue: a.waveToggleValue,
|
|
7385
7385
|
"onUpdate:modelValue": e[7] || (e[7] = (we) => a.waveToggleValue = we),
|
|
@@ -7423,7 +7423,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7423
7423
|
]),
|
|
7424
7424
|
_: 1
|
|
7425
7425
|
}, 8, ["modelValue", "disabled"])) : I("", !0),
|
|
7426
|
-
a.renderKey === "ice-forecast" && ee.key === "ice-forecast" ? (A(),
|
|
7426
|
+
a.renderKey === "ice-forecast" && ee.key === "ice-forecast" ? (A(), B(g, {
|
|
7427
7427
|
key: 3,
|
|
7428
7428
|
modelValue: a.iceToggleValue,
|
|
7429
7429
|
"onUpdate:modelValue": e[8] || (e[8] = (we) => a.iceToggleValue = we),
|
|
@@ -7492,10 +7492,10 @@ function ud(t, e, o, i, a, r) {
|
|
|
7492
7492
|
}),
|
|
7493
7493
|
w(s, { class: "" }, {
|
|
7494
7494
|
default: x(() => {
|
|
7495
|
-
var ee, we, Ee, Ge, $e, et, Je,
|
|
7495
|
+
var ee, we, Ee, Ge, $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, Gt, Ft, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ie, oe, ct, qe, Ze, K, ro, ce, Be, mt, ft, yt, X, dt, Q, ht, no, pe, go, be, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
|
|
7496
7496
|
return [
|
|
7497
7497
|
n("div", Xm, y(t.$t("weather.atmospheric")), 1),
|
|
7498
|
-
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 = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : $e.NOAA) == null ? void 0 : et.spatialResolution) + y(t.$t("units.km")) + " " + y((Oe = (tt = (
|
|
7498
|
+
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 = (Ge = a.models) == null ? void 0 : Ge.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),
|
|
7499
7499
|
n("div", Hm, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
7500
7500
|
n("div", Ym, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((at = (ot = (Ke = (He = a.models) == null ? void 0 : He.weather) == null ? void 0 : Ke.NOAA) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
|
|
7501
7501
|
n("div", Um, y(t.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((Ne = (Re = (Te = (Qe = a.models) == null ? void 0 : Qe.weather) == null ? void 0 : Te.NOAA) == null ? void 0 : Re.meta) == null ? void 0 : Ne.initialisationTime)), 1),
|
|
@@ -7505,14 +7505,14 @@ function ud(t, e, o, i, a, r) {
|
|
|
7505
7505
|
n("div", qm, y(t.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((Tt = (St = (Pt = (Mt = a.models) == null ? void 0 : Mt.weather) == null ? void 0 : Pt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.initialisationTime)), 1),
|
|
7506
7506
|
w(m),
|
|
7507
7507
|
n("div", $m, y(t.$t("weather.wave")), 1),
|
|
7508
|
-
n("div", ed, y((Et = (It = (Dt = (Rt = a.models) == null ? void 0 : Rt.marine) == null ? void 0 : Dt.wave) == null ? void 0 : It.NOAA) == null ? void 0 : Et.source) + " " + y((
|
|
7508
|
+
n("div", ed, y((Et = (It = (Dt = (Rt = a.models) == null ? void 0 : Rt.marine) == null ? void 0 : Dt.wave) == null ? void 0 : It.NOAA) == null ? void 0 : Et.source) + " " + y((jt = (Bt = (Ft = (Gt = a.models) == null ? void 0 : Gt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Bt.NOAA) == null ? void 0 : jt.spatialResolution) + y(t.$t("units.km")) + " " + y((Xt = (Vt = (Zt = (Wt = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Wt.wave) == null ? void 0 : Zt.NOAA) == null ? void 0 : Vt.meta) == null ? void 0 : Xt.days) + y(t.$t("units.days")), 1),
|
|
7509
7509
|
n("div", td, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
7510
7510
|
n("div", od, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((Jt = (Ut = (Yt = (Ht = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Ht.wave) == null ? void 0 : Yt.NOAA) == null ? void 0 : Ut.meta) == null ? void 0 : Jt.availabilityTime)), 1),
|
|
7511
7511
|
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
7512
|
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 = (Fe = (de = (st = (De = a.models) == null ? void 0 : De.marine) == null ? void 0 : st.wave) == null ? void 0 : de.ECMWF) == null ? void 0 : Fe.meta) == null ? void 0 : ie.days) + y(t.$t("units.days")), 1),
|
|
7513
7513
|
n("div", rd, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7514
7514
|
n("div", ld, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((K = (Ze = (qe = (ct = (oe = a.models) == null ? void 0 : oe.marine) == null ? void 0 : ct.wave) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : K.availabilityTime)), 1),
|
|
7515
|
-
n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((ft = (mt = (
|
|
7515
|
+
n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((ft = (mt = (Be = (ce = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : ce.wave) == null ? void 0 : Be.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
7516
7516
|
w(m),
|
|
7517
7517
|
n("div", sd, y(t.$t("weather.currents")), 1),
|
|
7518
7518
|
n("div", cd, y((Q = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : Q.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (vo = (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),
|
|
@@ -7528,7 +7528,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7528
7528
|
})
|
|
7529
7529
|
], 2)
|
|
7530
7530
|
], 6),
|
|
7531
|
-
o.map ? (A(),
|
|
7531
|
+
o.map ? (A(), B(z, V({
|
|
7532
7532
|
key: 1,
|
|
7533
7533
|
ref: "windBarb",
|
|
7534
7534
|
map: o.map,
|
|
@@ -7537,7 +7537,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7537
7537
|
wind: (fe = a.weatherLayers) == null ? void 0 : fe.wind,
|
|
7538
7538
|
"menu-toggle": o.menuToggle
|
|
7539
7539
|
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
|
|
7540
|
-
o.map ? (A(),
|
|
7540
|
+
o.map ? (A(), B(v, V({
|
|
7541
7541
|
key: 2,
|
|
7542
7542
|
map: o.map,
|
|
7543
7543
|
"before-layer": "empty-layer-2",
|
|
@@ -7545,7 +7545,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7545
7545
|
"menu-toggle": o.menuToggle,
|
|
7546
7546
|
"active-weather-layers": a.activeWeatherLayers
|
|
7547
7547
|
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : I("", !0),
|
|
7548
|
-
o.map ? (A(),
|
|
7548
|
+
o.map ? (A(), B(C, V({
|
|
7549
7549
|
key: 3,
|
|
7550
7550
|
map: o.map,
|
|
7551
7551
|
"map-feather": o.mapFeather,
|
|
@@ -7553,7 +7553,7 @@ function ud(t, e, o, i, a, r) {
|
|
|
7553
7553
|
current: ($ = a.weatherLayers) == null ? void 0 : $.current,
|
|
7554
7554
|
"menu-toggle": o.menuToggle
|
|
7555
7555
|
}, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : I("", !0),
|
|
7556
|
-
o.map ? (A(),
|
|
7556
|
+
o.map ? (A(), B(k, V({
|
|
7557
7557
|
key: 4,
|
|
7558
7558
|
map: o.map,
|
|
7559
7559
|
"before-layer": "empty-layer-3",
|
|
@@ -7561,28 +7561,28 @@ function ud(t, e, o, i, a, r) {
|
|
|
7561
7561
|
"menu-toggle": o.menuToggle,
|
|
7562
7562
|
"active-weather-layers": a.activeWeatherLayers
|
|
7563
7563
|
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : I("", !0),
|
|
7564
|
-
o.map ? (A(),
|
|
7564
|
+
o.map ? (A(), B(P, V({
|
|
7565
7565
|
key: 5,
|
|
7566
7566
|
viewport: a.viewport,
|
|
7567
7567
|
factor: (se = a.weatherLayers) == null ? void 0 : se["wind-particle"],
|
|
7568
7568
|
"menu-toggle": o.menuToggle,
|
|
7569
7569
|
simple: o.simple
|
|
7570
7570
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7571
|
-
o.map ? (A(),
|
|
7571
|
+
o.map ? (A(), B(_, V({
|
|
7572
7572
|
key: 6,
|
|
7573
7573
|
viewport: a.viewport,
|
|
7574
7574
|
factor: (q = a.weatherLayers) == null ? void 0 : q["current-particle"],
|
|
7575
7575
|
"menu-toggle": o.menuToggle,
|
|
7576
7576
|
simple: o.simple
|
|
7577
7577
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7578
|
-
o.map ? (A(),
|
|
7578
|
+
o.map ? (A(), B(D, V({
|
|
7579
7579
|
key: 7,
|
|
7580
7580
|
viewport: a.viewport,
|
|
7581
7581
|
factor: (Y = a.weatherLayers) == null ? void 0 : Y["sig-wave"],
|
|
7582
7582
|
"menu-toggle": o.menuToggle,
|
|
7583
7583
|
simple: o.simple
|
|
7584
7584
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7585
|
-
o.map ? (A(),
|
|
7585
|
+
o.map ? (A(), B(T, V({
|
|
7586
7586
|
key: 8,
|
|
7587
7587
|
map: o.map,
|
|
7588
7588
|
viewport: a.viewport,
|
|
@@ -7591,49 +7591,49 @@ function ud(t, e, o, i, a, r) {
|
|
|
7591
7591
|
"active-weather-layers": a.activeWeatherLayers,
|
|
7592
7592
|
simple: o.simple
|
|
7593
7593
|
}, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : I("", !0),
|
|
7594
|
-
o.map ? (A(),
|
|
7594
|
+
o.map ? (A(), B(F, V({
|
|
7595
7595
|
key: 9,
|
|
7596
7596
|
viewport: a.viewport,
|
|
7597
7597
|
factor: (W = a.weatherLayers) == null ? void 0 : W["ice-edge"],
|
|
7598
7598
|
"menu-toggle": o.menuToggle,
|
|
7599
7599
|
simple: o.simple
|
|
7600
7600
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7601
|
-
o.map ? (A(), j
|
|
7601
|
+
o.map ? (A(), B(j, V({
|
|
7602
7602
|
key: 10,
|
|
7603
7603
|
viewport: a.viewport,
|
|
7604
7604
|
factor: (J = a.weatherLayers) == null ? void 0 : J["ice-cover"],
|
|
7605
7605
|
"menu-toggle": o.menuToggle,
|
|
7606
7606
|
simple: o.simple
|
|
7607
7607
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7608
|
-
o.map ? (A(),
|
|
7608
|
+
o.map ? (A(), B(G, V({
|
|
7609
7609
|
key: 11,
|
|
7610
7610
|
viewport: a.viewport,
|
|
7611
7611
|
factor: (ye = a.weatherLayers) == null ? void 0 : ye["ice-thickness"],
|
|
7612
7612
|
"menu-toggle": o.menuToggle,
|
|
7613
7613
|
simple: o.simple
|
|
7614
7614
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7615
|
-
o.map ? (A(),
|
|
7615
|
+
o.map ? (A(), B(U, V({
|
|
7616
7616
|
key: 12,
|
|
7617
7617
|
viewport: a.viewport,
|
|
7618
7618
|
factor: (Le = a.weatherLayers) == null ? void 0 : Le.precip3h,
|
|
7619
7619
|
"menu-toggle": o.menuToggle,
|
|
7620
7620
|
simple: o.simple
|
|
7621
7621
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7622
|
-
o.map ? (A(),
|
|
7622
|
+
o.map ? (A(), B(ae, V({
|
|
7623
7623
|
key: 13,
|
|
7624
7624
|
viewport: a.viewport,
|
|
7625
7625
|
factor: (ze = a.weatherLayers) == null ? void 0 : ze.visibility,
|
|
7626
7626
|
"menu-toggle": o.menuToggle,
|
|
7627
7627
|
simple: o.simple
|
|
7628
7628
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7629
|
-
o.map ? (A(),
|
|
7629
|
+
o.map ? (A(), B(re, V({
|
|
7630
7630
|
key: 14,
|
|
7631
7631
|
viewport: a.viewport,
|
|
7632
7632
|
factor: (he = a.weatherLayers) == null ? void 0 : he["water-temp"],
|
|
7633
7633
|
"menu-toggle": o.menuToggle,
|
|
7634
7634
|
simple: o.simple
|
|
7635
7635
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7636
|
-
o.map ? (A(),
|
|
7636
|
+
o.map ? (A(), B(xe, V({
|
|
7637
7637
|
key: 15,
|
|
7638
7638
|
viewport: a.viewport,
|
|
7639
7639
|
factor: (ke = a.weatherLayers) == null ? void 0 : ke.temp,
|
|
@@ -7993,13 +7993,13 @@ let ur = class {
|
|
|
7993
7993
|
}), a;
|
|
7994
7994
|
}
|
|
7995
7995
|
static pickHourly(e, o) {
|
|
7996
|
-
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
7996
|
+
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze, he, ke, ee, we, Ee, Ge, $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, Gt, Ft, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
|
|
7997
7997
|
const de = typeof o == "string" ? S(o) : o;
|
|
7998
7998
|
let Fe = de.clone();
|
|
7999
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), Ze = qe.clone().add(((m = (s = (c = ie == null ? void 0 : ie[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : m.at(0)) || ((g = (p = (d = oe == null ? void 0 : oe[0]) == null ? void 0 : d.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), K = 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 = [];
|
|
8000
8000
|
Fe = Fe.isBefore(Ze) ? Ze.clone() : Fe, Fe = Fe.isAfter(K) ? K.clone() : Fe;
|
|
8001
8001
|
const ce = Fe.utc().diff(Ze, "h", !1);
|
|
8002
|
-
let
|
|
8002
|
+
let Be, mt;
|
|
8003
8003
|
if (ie != null && ie.length) {
|
|
8004
8004
|
let ft = 0, yt = 0, X = 0;
|
|
8005
8005
|
for (const dt of ie) {
|
|
@@ -8011,8 +8011,8 @@ let ur = class {
|
|
|
8011
8011
|
for (let be = ce - (ce - 1) % 12; be <= ce; be++)
|
|
8012
8012
|
X += ((P = Q == null ? void 0 : Q.precipitation) == null ? void 0 : P.at(be)) ?? 0;
|
|
8013
8013
|
const ht = ((_ = Q == null ? void 0 : Q.wind_direction_10m) == null ? void 0 : _.at(ce)) ?? ((T = (D = Q == null ? void 0 : Q.wind_direction_10m) == null ? void 0 : D.filter((be) => be !== null)) == null ? void 0 : T.at(-1));
|
|
8014
|
-
|
|
8015
|
-
temp: ((F = Q == null ? void 0 : Q.temperature_2m) == null ? void 0 : F.at(ce)) ?? ((G = (
|
|
8014
|
+
Be = {
|
|
8015
|
+
temp: ((F = Q == null ? void 0 : Q.temperature_2m) == null ? void 0 : F.at(ce)) ?? ((G = (j = Q == null ? void 0 : Q.temperature_2m) == null ? void 0 : j.filter((be) => be !== null)) == null ? void 0 : G.at(-1)),
|
|
8016
8016
|
apparentTemp: ((U = Q == null ? void 0 : Q.apparent_temperature) == null ? void 0 : U.at(ce)) ?? ((re = (ae = Q == null ? void 0 : Q.apparent_temperature) == null ? void 0 : ae.filter((be) => be !== null)) == null ? void 0 : re.at(-1)),
|
|
8017
8017
|
rh: ((xe = Q == null ? void 0 : Q.relative_humidity_2m) == null ? void 0 : xe.at(ce)) ?? ((E = (fe = Q == null ? void 0 : Q.relative_humidity_2m) == null ? void 0 : fe.filter((be) => be !== null)) == null ? void 0 : E.at(-1)),
|
|
8018
8018
|
dp: (($ = Q == null ? void 0 : Q.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = Q == null ? void 0 : Q.dew_point_2m) == null ? void 0 : te.filter((be) => be !== null)) == null ? void 0 : se.at(-1)),
|
|
@@ -8029,7 +8029,7 @@ let ur = class {
|
|
|
8029
8029
|
code: ((ke = Q == null ? void 0 : Q.weather_code) == null ? void 0 : ke.at(ce)) ?? ((we = (ee = Q == null ? void 0 : Q.weather_code) == null ? void 0 : ee.filter((be) => be !== null)) == null ? void 0 : we.at(-1)),
|
|
8030
8030
|
visibility: this.m2nm(((Ee = Q == null ? void 0 : Q.visibility) == null ? void 0 : Ee.at(ce)) ?? (($e = (Ge = Q == null ? void 0 : Q.visibility) == null ? void 0 : Ge.filter((be) => be !== null)) == null ? void 0 : $e.at(-1))),
|
|
8031
8031
|
wind: {
|
|
8032
|
-
speed: ((et = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((
|
|
8032
|
+
speed: ((et = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : et.at(ce)) ?? ((je = (Je = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : Je.filter((be) => be !== null)) == null ? void 0 : je.at(-1)),
|
|
8033
8033
|
kts: ((tt = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : tt.at(ce)) ?? ((He = (Oe = Q == null ? void 0 : Q.wind_speed_10m) == null ? void 0 : Oe.filter((be) => be !== null)) == null ? void 0 : He.at(-1)),
|
|
8034
8034
|
degree: ht,
|
|
8035
8035
|
bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
|
|
@@ -8037,12 +8037,12 @@ let ur = class {
|
|
|
8037
8037
|
},
|
|
8038
8038
|
isDay: (Qe = Q == null ? void 0 : Q.is_day) == null ? void 0 : Qe.at(ce)
|
|
8039
8039
|
};
|
|
8040
|
-
const { name: no, url: pe, bg: go } = this.parseWeatherCode(
|
|
8041
|
-
|
|
8040
|
+
const { name: no, url: pe, bg: go } = this.parseWeatherCode(Be.code, Be.isDay);
|
|
8041
|
+
Be.name = no, Be.url = pe, Be.bg = go, Be.wind.scale = this.beaufort(this.kts2ms(Be.wind.kts)), Be.wind.direction = this.degree2Direction(Be.wind.degree), ro.push({
|
|
8042
8042
|
utc: de.utc().format(),
|
|
8043
8043
|
realUTC: Ze.add(ce, "h").format(),
|
|
8044
8044
|
model: dt.model,
|
|
8045
|
-
weather: { ...
|
|
8045
|
+
weather: { ...Be }
|
|
8046
8046
|
});
|
|
8047
8047
|
}
|
|
8048
8048
|
}
|
|
@@ -8066,7 +8066,7 @@ let ur = class {
|
|
|
8066
8066
|
peakPeriod: ((Et = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Et.at(ce)) ?? ((Ft = (Gt = X == null ? void 0 : X.swell_wave_peak_period) == null ? void 0 : Gt.filter((pe) => pe !== null)) == null ? void 0 : Ft.at(-1))
|
|
8067
8067
|
},
|
|
8068
8068
|
wd: {
|
|
8069
|
-
height: ((
|
|
8069
|
+
height: ((Bt = X == null ? void 0 : X.wind_wave_height) == null ? void 0 : Bt.at(ce)) ?? ((Nt = (jt = X == null ? void 0 : X.wind_wave_height) == null ? void 0 : jt.filter((pe) => pe !== null)) == null ? void 0 : Nt.at(-1)),
|
|
8070
8070
|
degree: ht,
|
|
8071
8071
|
bearing: ht !== null ? Math.round((ht + 180) % 360) : null,
|
|
8072
8072
|
period: ((Wt = X == null ? void 0 : X.wind_wave_period) == null ? void 0 : Wt.at(ce)) ?? ((Vt = (Zt = X == null ? void 0 : X.wind_wave_period) == null ? void 0 : Zt.filter((pe) => pe !== null)) == null ? void 0 : Vt.at(-1)),
|
|
@@ -8085,7 +8085,7 @@ let ur = class {
|
|
|
8085
8085
|
sit: ((ao = X == null ? void 0 : X.sea_ice_thickness) == null ? void 0 : ao.at(ce)) ?? ((io = (nt = X == null ? void 0 : X.sea_ice_thickness) == null ? void 0 : nt.filter((pe) => pe !== null)) == null ? void 0 : io.at(-1)),
|
|
8086
8086
|
sic: ((gt = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : gt.at(ce)) ?? ((st = (De = X == null ? void 0 : X.sea_ice_concentration) == null ? void 0 : De.filter((pe) => pe !== null)) == null ? void 0 : st.at(-1))
|
|
8087
8087
|
}
|
|
8088
|
-
}, mt.wave = this.parseWave(mt.wave,
|
|
8088
|
+
}, mt.wave = this.parseWave(mt.wave, Be == null ? void 0 : Be.wind), mt.current.direction = this.degree2Direction(mt.current.degree), ro[ft] ? Object.assign(ro[ft], mt) : ro.push({
|
|
8089
8089
|
utc: de.utc().format(),
|
|
8090
8090
|
realUTC: Ze.add(ce, "h").format(),
|
|
8091
8091
|
model: yt.model,
|
|
@@ -8119,7 +8119,7 @@ let ur = class {
|
|
|
8119
8119
|
};
|
|
8120
8120
|
}
|
|
8121
8121
|
static pickDaily(e, o) {
|
|
8122
|
-
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
8122
|
+
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze, he, ke, ee, we, Ee, Ge, $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, Gt, Ft, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
|
|
8123
8123
|
const oo = typeof o == "string" ? S(o) : o;
|
|
8124
8124
|
let Xe = oo.clone();
|
|
8125
8125
|
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 = [];
|
|
@@ -8137,7 +8137,7 @@ let ur = class {
|
|
|
8137
8137
|
mean: ((P = ie.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ie.temperature_2m_mean) == null ? void 0 : _.filter((K) => K !== null)) == null ? void 0 : D.at(-1))
|
|
8138
8138
|
},
|
|
8139
8139
|
apparentTemp: {
|
|
8140
|
-
max: ((T = ie.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((
|
|
8140
|
+
max: ((T = ie.apparent_temperature_max) == null ? void 0 : T.at(de)) ?? ((j = (F = ie.apparent_temperature_max) == null ? void 0 : F.filter((K) => K !== null)) == null ? void 0 : j.at(-1)),
|
|
8141
8141
|
min: ((G = ie.apparent_temperature_min) == null ? void 0 : G.at(de)) ?? ((ae = (U = ie.apparent_temperature_min) == null ? void 0 : U.filter((K) => K !== null)) == null ? void 0 : ae.at(-1))
|
|
8142
8142
|
},
|
|
8143
8143
|
precip: {
|
|
@@ -8154,7 +8154,7 @@ let ur = class {
|
|
|
8154
8154
|
mean: ((Ge = ie.relative_humidity_2m_mean) == null ? void 0 : Ge.at(de)) ?? ((et = ($e = ie.relative_humidity_2m_mean) == null ? void 0 : $e.filter((K) => K !== null)) == null ? void 0 : et.at(-1))
|
|
8155
8155
|
},
|
|
8156
8156
|
wind: {
|
|
8157
|
-
speed: ((Je = ie.wind_speed_10m_max) == null ? void 0 : Je.at(de)) ?? ((tt = (
|
|
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((K) => K !== null)) == null ? void 0 : tt.at(-1)),
|
|
8158
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((K) => K !== null)) == null ? void 0 : Ke.at(-1)),
|
|
8159
8159
|
degree: oe,
|
|
8160
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((K) => K !== null)) == null ? void 0 : Qe.at(-1)),
|
|
@@ -8188,7 +8188,7 @@ let ur = class {
|
|
|
8188
8188
|
bearing: ct !== null ? Math.round((ct + 180) % 360) : null
|
|
8189
8189
|
},
|
|
8190
8190
|
swell: {
|
|
8191
|
-
height: ((
|
|
8191
|
+
height: ((Bt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : Bt.at(de)) ?? ((Nt = (jt = oe == null ? void 0 : oe.swell_wave_height_max) == null ? void 0 : jt.filter((K) => K !== null)) == null ? void 0 : Nt.at(-1)),
|
|
8192
8192
|
degree: qe,
|
|
8193
8193
|
period: ((Wt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Wt.at(de)) ?? ((Vt = (Zt = oe == null ? void 0 : oe.swell_wave_period_max) == null ? void 0 : Zt.filter((K) => K !== null)) == null ? void 0 : Vt.at(-1)),
|
|
8194
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((K) => K !== null)) == null ? void 0 : Ht.at(-1)),
|
|
@@ -9130,7 +9130,7 @@ const gd = {
|
|
|
9130
9130
|
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
9131
|
},
|
|
9132
9132
|
handleDateChange() {
|
|
9133
|
-
var t, e, o, i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
9133
|
+
var t, e, o, i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $;
|
|
9134
9134
|
if ((t = this.interpolateMarkers) == null || t.forEach((te) => te == null ? void 0 : te.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
9135
9135
|
const te = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((W) => W.properties.date === (te == null ? void 0 : te.format()) && !W.properties.disabled), q = this.handleComputePolygons(se), Y = Z.featureCollection([...se]);
|
|
9136
9136
|
q.forEach((W) => {
|
|
@@ -9174,7 +9174,7 @@ const gd = {
|
|
|
9174
9174
|
W.properties.nameCn = he, W.properties.Name = ((d = (m = W.properties.name) == null ? void 0 : m.trim()) == null ? void 0 : d.replace(/^./, (ke) => ke.toUpperCase())) || W.properties.nameCn, le.push(W);
|
|
9175
9175
|
}
|
|
9176
9176
|
let J = this.Theme.current.value.colors["tropicals-ty"];
|
|
9177
|
-
((g = (p = W.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = W.properties) == null ? void 0 : b.wind) != null && u.kts) ? J = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = W.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((v = (z = W.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 47 ? J = this.Theme.current.value.colors["tropicals-ts"] : ((k = (C = W.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 47 && ((_ = (P = W.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? J = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = W.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((
|
|
9177
|
+
((g = (p = W.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = W.properties) == null ? void 0 : b.wind) != null && u.kts) ? J = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = W.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((v = (z = W.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 47 ? J = this.Theme.current.value.colors["tropicals-ts"] : ((k = (C = W.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 47 && ((_ = (P = W.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? J = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = W.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (F = W.properties) == null ? void 0 : F.wind) == null ? void 0 : j.kts) < 79 ? J = this.Theme.current.value.colors["tropicals-ty"] : ((U = (G = W.properties) == null ? void 0 : G.wind) == null ? void 0 : U.kts) >= 79 && ((re = (ae = W.properties) == null ? void 0 : ae.wind) == null ? void 0 : re.kts) < 94 ? J = this.Theme.current.value.colors["tropicals-sty"] : ((fe = (xe = W.properties) == null ? void 0 : xe.wind) == null ? void 0 : fe.kts) >= 94 ? J = this.Theme.current.value.colors["tropicals-super-ty"] : J = this.Theme.current.value.colors["tropicals-ty"];
|
|
9178
9178
|
const ye = `<svg t="1719918955501"
|
|
9179
9179
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
9180
9180
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -9337,7 +9337,7 @@ const gd = {
|
|
|
9337
9337
|
}, Id = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Ed = { class: "more" }, Gd = {
|
|
9338
9338
|
key: 0,
|
|
9339
9339
|
class: "w-100 d-flex justify-space-between align-center px-2"
|
|
9340
|
-
}, Fd = { class: "pa-1" },
|
|
9340
|
+
}, Fd = { class: "pa-1" }, Bd = { class: "legend d-flex justify-start align-center py-2" }, jd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center py-2" }, Wd = { class: "label" }, Zd = { class: "legend d-flex justify-start align-center py-2" }, Vd = { class: "label" }, Xd = { class: "pa-1" }, Od = { class: "legend d-flex justify-start align-center py-2" }, Hd = { class: "label" }, Yd = { class: "legend d-flex justify-start align-center py-2" }, Ud = { class: "label" }, Jd = { class: "legend d-flex justify-start align-center py-2" }, Kd = { class: "label" }, Qd = { class: "pa-1" }, qd = { class: "w-100 legend d-flex justify-start align-center py-2 ga-2" }, $d = { class: "label" }, eh = { class: "label" }, th = { class: "w-100 legend d-flex justify-start align-center py-2" }, oh = { class: "label" }, ah = { class: "w-100 legend d-flex justify-start align-center py-2" }, ih = { class: "label" }, rh = {
|
|
9341
9341
|
key: 1,
|
|
9342
9342
|
class: "my-3 w-100",
|
|
9343
9343
|
style: { height: "80px" }
|
|
@@ -9353,10 +9353,10 @@ const gd = {
|
|
|
9353
9353
|
}, Eh = { class: "text-label pr-1" }, Gh = {
|
|
9354
9354
|
key: 3,
|
|
9355
9355
|
class: "d-flex justify-start align-center"
|
|
9356
|
-
}, Fh = { class: "text-label pr-1" },
|
|
9356
|
+
}, Fh = { class: "text-label pr-1" }, Bh = {
|
|
9357
9357
|
key: 4,
|
|
9358
9358
|
class: "d-flex justify-start align-center"
|
|
9359
|
-
},
|
|
9359
|
+
}, jh = { class: "text-label pr-1" }, Nh = {
|
|
9360
9360
|
key: 5,
|
|
9361
9361
|
class: "d-flex justify-start align-center"
|
|
9362
9362
|
}, Wh = { class: "text-label pr-1" }, Zh = { class: "d-flex justify-start align-center" }, Vh = { class: "text-label pr-1" }, Xh = {
|
|
@@ -9468,7 +9468,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9468
9468
|
n("div", Rd, [
|
|
9469
9469
|
n("label", Dd, y(t.$t("tropical.models")) + " : ", 1),
|
|
9470
9470
|
n("div", Id, [
|
|
9471
|
-
(A(!0), R(Ce, null, Me((P = a.activeTropicals) == null ? void 0 : P.forecasts, (_, D) => (A(),
|
|
9471
|
+
(A(!0), R(Ce, null, Me((P = a.activeTropicals) == null ? void 0 : P.forecasts, (_, D) => (A(), B(l, {
|
|
9472
9472
|
key: D,
|
|
9473
9473
|
density: "compact",
|
|
9474
9474
|
variant: _.disabled ? "text" : "flat",
|
|
@@ -9489,7 +9489,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9489
9489
|
_: 1
|
|
9490
9490
|
}),
|
|
9491
9491
|
w(m),
|
|
9492
|
-
o.simple ? I("", !0) : (A(),
|
|
9492
|
+
o.simple ? I("", !0) : (A(), B(d, {
|
|
9493
9493
|
key: 0,
|
|
9494
9494
|
class: "d-flex justify-space-between"
|
|
9495
9495
|
}, {
|
|
@@ -9532,9 +9532,9 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9532
9532
|
}, 8, ["class", "elevation"]),
|
|
9533
9533
|
o.simple ? (A(), R("div", Gd, [
|
|
9534
9534
|
n("div", Fd, [
|
|
9535
|
-
n("div",
|
|
9535
|
+
n("div", Bd, [
|
|
9536
9536
|
e[5] || (e[5] = n("div", { class: "icon td" }, null, -1)),
|
|
9537
|
-
n("div",
|
|
9537
|
+
n("div", jd, y(t.$t("tropical.td")), 1)
|
|
9538
9538
|
]),
|
|
9539
9539
|
n("div", Nd, [
|
|
9540
9540
|
e[6] || (e[6] = n("div", { class: "icon sts" }, null, -1)),
|
|
@@ -9657,7 +9657,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9657
9657
|
w(m),
|
|
9658
9658
|
w(s, { class: "text-body-1" }, {
|
|
9659
9659
|
default: x(() => {
|
|
9660
|
-
var b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
9660
|
+
var b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe;
|
|
9661
9661
|
return [
|
|
9662
9662
|
n("div", Ph, [
|
|
9663
9663
|
((b = a.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (A(), R("div", Sh, [
|
|
@@ -9676,8 +9676,8 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9676
9676
|
n("label", Fh, y(t.$t("tropical.model")) + " : ", 1),
|
|
9677
9677
|
n("span", null, y(((k = a.hoverPoint) == null ? void 0 : k.model) ?? "-"), 1)
|
|
9678
9678
|
])) : I("", !0),
|
|
9679
|
-
((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (A(), R("div",
|
|
9680
|
-
n("label",
|
|
9679
|
+
((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (A(), R("div", Bh, [
|
|
9680
|
+
n("label", jh, y(t.$t("weather.wind")) + " : ", 1),
|
|
9681
9681
|
n("span", null, y(((D = JSON.parse(((_ = a.hoverPoint) == null ? void 0 : _.wind) || "{}")) == null ? void 0 : D.kts) ?? "-") + " kts", 1)
|
|
9682
9682
|
])) : I("", !0),
|
|
9683
9683
|
((T = a.hoverPoint) == null ? void 0 : T.type) === "history" ? (A(), R("div", Nh, [
|
|
@@ -9686,7 +9686,7 @@ function Kh(t, e, o, i, a, r) {
|
|
|
9686
9686
|
])) : I("", !0),
|
|
9687
9687
|
n("div", Zh, [
|
|
9688
9688
|
n("label", Vh, y(t.$t("weather.pressure")) + " : ", 1),
|
|
9689
|
-
n("span", null, y(((
|
|
9689
|
+
n("span", null, y(((j = a.hoverPoint) == null ? void 0 : j.pressure) ?? "-") + " hPa", 1)
|
|
9690
9690
|
]),
|
|
9691
9691
|
((G = a.hoverPoint) == null ? void 0 : G.type) === "history" ? (A(), R("div", Xh, [
|
|
9692
9692
|
n("label", Oh, y(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
@@ -9912,7 +9912,7 @@ function ou(t, e, o, i, a, r) {
|
|
|
9912
9912
|
class: ue([[o.bgClass, { "cursor-pointer": !o.disabled }], "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2"]),
|
|
9913
9913
|
onClick: e[0] || (e[0] = (...h) => r.handleOpenDatePicker && r.handleOpenDatePicker(...h))
|
|
9914
9914
|
}, y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 7),
|
|
9915
|
-
a.showDatePicker ? (A(),
|
|
9915
|
+
a.showDatePicker ? (A(), B(u, {
|
|
9916
9916
|
key: 0,
|
|
9917
9917
|
class: "card-box d-flex flex-column border elevation-12",
|
|
9918
9918
|
style: ge(r.getStyle)
|
|
@@ -9941,7 +9941,7 @@ function ou(t, e, o, i, a, r) {
|
|
|
9941
9941
|
n("div", tu, y(t.$t("time.time")), 1),
|
|
9942
9942
|
w(d, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
9943
9943
|
default: x(() => [
|
|
9944
|
-
(A(!0), R(Ce, null, Me(r.hourOptions, (h, f) => (A(),
|
|
9944
|
+
(A(!0), R(Ce, null, Me(r.hourOptions, (h, f) => (A(), B(m, {
|
|
9945
9945
|
key: f,
|
|
9946
9946
|
value: h,
|
|
9947
9947
|
color: "primary",
|
|
@@ -10009,11 +10009,11 @@ function ou(t, e, o, i, a, r) {
|
|
|
10009
10009
|
}, 8, ["style"])) : I("", !0)
|
|
10010
10010
|
], 512);
|
|
10011
10011
|
}
|
|
10012
|
-
const
|
|
10012
|
+
const qo = /* @__PURE__ */ ne(Qh, [["render", ou]]);
|
|
10013
10013
|
const au = {
|
|
10014
10014
|
name: "IdmPoint",
|
|
10015
10015
|
components: {
|
|
10016
|
-
DateTimePicker:
|
|
10016
|
+
DateTimePicker: qo
|
|
10017
10017
|
},
|
|
10018
10018
|
props: {
|
|
10019
10019
|
simple: {
|
|
@@ -10274,10 +10274,10 @@ const au = {
|
|
|
10274
10274
|
}), this.loading = !1;
|
|
10275
10275
|
},
|
|
10276
10276
|
initTableData(t) {
|
|
10277
|
-
var o, i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
10277
|
+
var o, i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze;
|
|
10278
10278
|
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
10279
|
const e = ((l = Wo.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((m = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : m.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.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((
|
|
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((m = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : m.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.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 = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : U.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 = (W = e == null ? void 0 : e.current) == null ? void 0 : W.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((J = e == null ? void 0 : e.current) == null ? void 0 : J.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
10281
|
},
|
|
10282
10282
|
handleBind() {
|
|
10283
10283
|
var t, e;
|
|
@@ -10364,10 +10364,10 @@ const au = {
|
|
|
10364
10364
|
}, Fu = {
|
|
10365
10365
|
style: { width: "150px" },
|
|
10366
10366
|
class: "pa-0 text-left"
|
|
10367
|
-
},
|
|
10367
|
+
}, Bu = {
|
|
10368
10368
|
style: { width: "80px" },
|
|
10369
10369
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
10370
|
-
},
|
|
10370
|
+
}, ju = {
|
|
10371
10371
|
cols: "3",
|
|
10372
10372
|
class: "pa-0 text-left"
|
|
10373
10373
|
}, Nu = { class: "mx-0 py-2 d-flex align-center justify-start" }, Wu = {
|
|
@@ -10432,7 +10432,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10432
10432
|
_: 1
|
|
10433
10433
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
10434
10434
|
], 4),
|
|
10435
|
-
a.showForm && !o.simple ? (A(),
|
|
10435
|
+
a.showForm && !o.simple ? (A(), B(v, {
|
|
10436
10436
|
key: 0,
|
|
10437
10437
|
class: "spot-form-card",
|
|
10438
10438
|
style: ge({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
|
|
@@ -10702,7 +10702,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10702
10702
|
]),
|
|
10703
10703
|
_: 1
|
|
10704
10704
|
}, 8, ["style"])) : I("", !0),
|
|
10705
|
-
a.showMeteo && !o.simple ? (A(),
|
|
10705
|
+
a.showMeteo && !o.simple ? (A(), B(v, {
|
|
10706
10706
|
key: 1,
|
|
10707
10707
|
id: "idm-gl4-spot-meteo",
|
|
10708
10708
|
class: "spot-meteo",
|
|
@@ -10756,8 +10756,8 @@ function vp(t, e, o, i, a, r) {
|
|
|
10756
10756
|
n("div", Eu, [
|
|
10757
10757
|
n("div", Gu, y(t.$t("weather.windWave")), 1),
|
|
10758
10758
|
n("div", Fu, y(a.currentHourData.windwaveDir ?? "-") + "/" + y(a.currentHourData.windwaveHeight ?? "-") + "m/" + y(a.currentHourData.windwavePeriod ?? "-") + "s ", 1),
|
|
10759
|
-
n("div",
|
|
10760
|
-
n("div",
|
|
10759
|
+
n("div", Bu, y(t.$t("weather.swell")), 1),
|
|
10760
|
+
n("div", ju, y(a.currentHourData.swellDir ?? "-") + "/" + y(a.currentHourData.swellHeight ?? "-") + "m/" + y(a.currentHourData.swellPeriod ?? "-") + "s ", 1)
|
|
10761
10761
|
]),
|
|
10762
10762
|
n("div", Nu, [
|
|
10763
10763
|
n("div", Wu, y(t.$t("weather.current")), 1),
|
|
@@ -10783,7 +10783,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10783
10783
|
(C = o.followList) != null && C.some((k) => {
|
|
10784
10784
|
var P, _;
|
|
10785
10785
|
return (k == null ? void 0 : k.id) === a.form.followId || ((P = k == null ? void 0 : k.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
|
|
10786
|
-
}) ? (A(),
|
|
10786
|
+
}) ? (A(), B(l, {
|
|
10787
10787
|
key: 0,
|
|
10788
10788
|
id: "idm-gl4-spot-meteo-follow",
|
|
10789
10789
|
class: "text-none text-body-1",
|
|
@@ -10799,7 +10799,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10799
10799
|
N(" " + y(t.$t("actions.unfollow")), 1)
|
|
10800
10800
|
]),
|
|
10801
10801
|
_: 1
|
|
10802
|
-
}, 8, ["onClick"])) : (A(),
|
|
10802
|
+
}, 8, ["onClick"])) : (A(), B(l, {
|
|
10803
10803
|
key: 1,
|
|
10804
10804
|
id: "idm-gl4-spot-meteo-unfollow",
|
|
10805
10805
|
class: "text-none text-body-1",
|
|
@@ -10836,7 +10836,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10836
10836
|
]),
|
|
10837
10837
|
_: 1
|
|
10838
10838
|
})) : I("", !0),
|
|
10839
|
-
a.showMeteo && o.simple ? (A(),
|
|
10839
|
+
a.showMeteo && o.simple ? (A(), B(v, {
|
|
10840
10840
|
key: 2,
|
|
10841
10841
|
ref: "spotMeteo",
|
|
10842
10842
|
class: "position-absolute bottom-0 rounded-t-4",
|
|
@@ -10856,7 +10856,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10856
10856
|
(C = o.followList) != null && C.some((k) => {
|
|
10857
10857
|
var P, _;
|
|
10858
10858
|
return (k == null ? void 0 : k.id) === a.form.followId || ((P = k == null ? void 0 : k.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
|
|
10859
|
-
}) ? (A(),
|
|
10859
|
+
}) ? (A(), B(l, {
|
|
10860
10860
|
key: 0,
|
|
10861
10861
|
class: "text-none text-body-1 rounded-circle",
|
|
10862
10862
|
variant: "text",
|
|
@@ -10871,7 +10871,7 @@ function vp(t, e, o, i, a, r) {
|
|
|
10871
10871
|
])),
|
|
10872
10872
|
_: 1,
|
|
10873
10873
|
__: [26]
|
|
10874
|
-
}, 8, ["onClick"])) : (A(),
|
|
10874
|
+
}, 8, ["onClick"])) : (A(), B(l, {
|
|
10875
10875
|
key: 1,
|
|
10876
10876
|
class: "text-none text-body-1 rounded-circle",
|
|
10877
10877
|
variant: "plain",
|
|
@@ -12177,13 +12177,13 @@ const Cp = {
|
|
|
12177
12177
|
});
|
|
12178
12178
|
}
|
|
12179
12179
|
}
|
|
12180
|
-
}, Mp = { class: "text-h6 font-weight-600" }, Pp = { class: "text-label mb-1" }, Sp = { class: "text-label mb-1" }, Tp = { class: "mb-1" }, Rp = { class: "text-label mb-1" }, Dp = { class: "mb-1" }, Ip = { class: "text-label mb-1" }, Ep = { class: "mb-1" }, Gp = { class: "text-label mb-1" }, Fp = { class: "color-picker-row d-flex align-start ga-2" },
|
|
12180
|
+
}, Mp = { class: "text-h6 font-weight-600" }, Pp = { class: "text-label mb-1" }, Sp = { class: "text-label mb-1" }, Tp = { class: "mb-1" }, Rp = { class: "text-label mb-1" }, Dp = { class: "mb-1" }, Ip = { class: "text-label mb-1" }, Ep = { class: "mb-1" }, Gp = { class: "text-label mb-1" }, Fp = { class: "color-picker-row d-flex align-start ga-2" }, Bp = ["value"], jp = { class: "mb-n2" }, Np = { class: "text-label mb-1" }, Wp = { class: "mb-1" }, Zp = { class: "text-label mb-1" }, Vp = { class: "color-picker-row d-flex align-start ga-2" }, Xp = ["value"], Op = { class: "mb-n2" }, Hp = { class: "text-label mb-1" }, Yp = {
|
|
12181
12181
|
key: 0,
|
|
12182
12182
|
class: "mb-3"
|
|
12183
12183
|
}, Up = { class: "text-label mb-1" }, Jp = { class: "mb-1" }, Kp = { class: "text-label mb-1" }, Qp = { class: "color-picker-row d-flex align-start ga-2" }, qp = ["value"], $p = { class: "mb-n2" }, eg = { class: "text-label mb-1" };
|
|
12184
12184
|
function tg(t, e, o, i, a, r) {
|
|
12185
12185
|
const l = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), m = M("VTextField"), d = M("VCardText"), p = M("VBtnToggle"), g = M("VCol"), b = M("VRow"), u = M("VCardActions"), h = M("VForm"), f = M("VCard");
|
|
12186
|
-
return A(),
|
|
12186
|
+
return A(), B(f, {
|
|
12187
12187
|
class: "idm-gl4-draw-dialog-card",
|
|
12188
12188
|
elevation: "4"
|
|
12189
12189
|
}, {
|
|
@@ -12230,7 +12230,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12230
12230
|
}),
|
|
12231
12231
|
_: 1
|
|
12232
12232
|
}),
|
|
12233
|
-
(z = o.editLayer) != null && z.id ? I("", !0) : (A(),
|
|
12233
|
+
(z = o.editLayer) != null && z.id ? I("", !0) : (A(), B(d, {
|
|
12234
12234
|
key: 0,
|
|
12235
12235
|
class: "text-body-1 px-4 pb-0"
|
|
12236
12236
|
}, {
|
|
@@ -12297,7 +12297,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12297
12297
|
}),
|
|
12298
12298
|
_: 1
|
|
12299
12299
|
})),
|
|
12300
|
-
a.markerType === "Point" ? (A(),
|
|
12300
|
+
a.markerType === "Point" ? (A(), B(h, {
|
|
12301
12301
|
key: 1,
|
|
12302
12302
|
ref: "pointForm",
|
|
12303
12303
|
autocomplete: "off",
|
|
@@ -12488,7 +12488,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12488
12488
|
value: a.form.color,
|
|
12489
12489
|
class: "native-color-picker cursor-pointer",
|
|
12490
12490
|
onInput: e[11] || (e[11] = (v) => a.form.color = v.target.value)
|
|
12491
|
-
}, null, 40,
|
|
12491
|
+
}, null, 40, Bp),
|
|
12492
12492
|
w(m, {
|
|
12493
12493
|
modelValue: a.form.color,
|
|
12494
12494
|
"onUpdate:modelValue": e[12] || (e[12] = (v) => a.form.color = v),
|
|
@@ -12499,7 +12499,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12499
12499
|
}, null, 8, ["modelValue", "rules"])
|
|
12500
12500
|
])
|
|
12501
12501
|
]),
|
|
12502
|
-
n("div",
|
|
12502
|
+
n("div", jp, [
|
|
12503
12503
|
n("div", Np, [
|
|
12504
12504
|
N(y(t.$t("marker.name")), 1),
|
|
12505
12505
|
e[30] || (e[30] = n("span", { class: "text-danger" }, "*", -1))
|
|
@@ -12550,7 +12550,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12550
12550
|
]),
|
|
12551
12551
|
_: 1
|
|
12552
12552
|
}, 8, ["onSubmit"])) : I("", !0),
|
|
12553
|
-
a.markerType === "Line" ? (A(),
|
|
12553
|
+
a.markerType === "Line" ? (A(), B(h, {
|
|
12554
12554
|
key: 2,
|
|
12555
12555
|
ref: "lineForm",
|
|
12556
12556
|
autocomplete: "off",
|
|
@@ -12633,7 +12633,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12633
12633
|
]),
|
|
12634
12634
|
_: 1
|
|
12635
12635
|
}, 8, ["onSubmit"])) : I("", !0),
|
|
12636
|
-
a.markerType === "Area" ? (A(),
|
|
12636
|
+
a.markerType === "Area" ? (A(), B(h, {
|
|
12637
12637
|
key: 3,
|
|
12638
12638
|
ref: "areaForm",
|
|
12639
12639
|
autocomplete: "off",
|
|
@@ -12752,7 +12752,7 @@ function tg(t, e, o, i, a, r) {
|
|
|
12752
12752
|
default: x(() => {
|
|
12753
12753
|
var v;
|
|
12754
12754
|
return [
|
|
12755
|
-
(v = o.editLayer) != null && v.id ? I("", !0) : (A(),
|
|
12755
|
+
(v = o.editLayer) != null && v.id ? I("", !0) : (A(), B(l, {
|
|
12756
12756
|
key: 0,
|
|
12757
12757
|
class: "text-none text-body-1",
|
|
12758
12758
|
variant: "tonal",
|
|
@@ -13027,7 +13027,7 @@ const ag = {
|
|
|
13027
13027
|
}, fg = { class: "text-body-2 text-truncate" };
|
|
13028
13028
|
function yg(t, e, o, i, a, r) {
|
|
13029
13029
|
const l = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), m = M("VTextField"), d = M("VIcon"), p = M("VCardText"), g = M("VCardActions"), b = M("VForm"), u = M("VCard");
|
|
13030
|
-
return A(),
|
|
13030
|
+
return A(), B(u, {
|
|
13031
13031
|
class: "idm-gl4-import-dialog-card",
|
|
13032
13032
|
elevation: "4"
|
|
13033
13033
|
}, {
|
|
@@ -13267,7 +13267,7 @@ const wg = {
|
|
|
13267
13267
|
}, xg = { class: "text-h6 font-weight-600" }, vg = { class: "text-label mb-2" };
|
|
13268
13268
|
function Ag(t, e, o, i, a, r) {
|
|
13269
13269
|
const l = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), m = M("VTextField"), d = M("VCardText"), p = M("VCardActions"), g = M("VCard"), b = M("VDialog");
|
|
13270
|
-
return A(),
|
|
13270
|
+
return A(), B(b, {
|
|
13271
13271
|
"model-value": o.modelValue,
|
|
13272
13272
|
"max-width": "320",
|
|
13273
13273
|
persistent: "",
|
|
@@ -13390,7 +13390,7 @@ const kg = /* @__PURE__ */ ne(wg, [["render", Ag]]), Lg = {
|
|
|
13390
13390
|
}, zg = { class: "text-body-1 pb-1" }, _g = { class: "text-body-1" };
|
|
13391
13391
|
function Cg(t, e, o, i, a, r) {
|
|
13392
13392
|
const l = M("VIcon"), c = M("VBtn"), s = M("VCardTitle"), m = M("VCardText"), d = M("VCardActions"), p = M("VCard"), g = M("VDialog");
|
|
13393
|
-
return A(),
|
|
13393
|
+
return A(), B(g, {
|
|
13394
13394
|
modelValue: a.showDialog,
|
|
13395
13395
|
"onUpdate:modelValue": e[0] || (e[0] = (b) => a.showDialog = b),
|
|
13396
13396
|
width: "500",
|
|
@@ -13834,11 +13834,11 @@ const Pg = {
|
|
|
13834
13834
|
}, Fg = {
|
|
13835
13835
|
key: 0,
|
|
13836
13836
|
class: "w-100 d-flex justify-space-between align-center ga-4"
|
|
13837
|
-
},
|
|
13837
|
+
}, Bg = {
|
|
13838
13838
|
key: 0,
|
|
13839
13839
|
class: "w-100 d-flex justify-center align-center",
|
|
13840
13840
|
style: { height: "200px" }
|
|
13841
|
-
},
|
|
13841
|
+
}, jg = {
|
|
13842
13842
|
key: 1,
|
|
13843
13843
|
class: "w-100 d-flex justify-center align-center"
|
|
13844
13844
|
}, Ng = { class: "text-body-1" }, Wg = {
|
|
@@ -13982,41 +13982,41 @@ function Kg(t, e, o, i, a, r) {
|
|
|
13982
13982
|
}, 8, ["onClick"])
|
|
13983
13983
|
]))
|
|
13984
13984
|
]),
|
|
13985
|
-
a.loading ? (A(), R("div",
|
|
13985
|
+
a.loading ? (A(), R("div", Bg, [
|
|
13986
13986
|
w(p, {
|
|
13987
13987
|
color: "primary",
|
|
13988
13988
|
indeterminate: "",
|
|
13989
13989
|
size: "36",
|
|
13990
13990
|
width: "4"
|
|
13991
13991
|
})
|
|
13992
|
-
])) : a.layerGroup.length === 0 ? (A(), R("div",
|
|
13992
|
+
])) : a.layerGroup.length === 0 ? (A(), R("div", jg, [
|
|
13993
13993
|
n("div", Ng, y(t.$t("tips.noData")), 1)
|
|
13994
13994
|
])) : (A(), R("div", Wg, [
|
|
13995
13995
|
(A(!0), R(Ce, null, Me(a.layerGroup, (T, F) => {
|
|
13996
|
-
var
|
|
13996
|
+
var j;
|
|
13997
13997
|
return A(), R("div", {
|
|
13998
13998
|
key: T.name,
|
|
13999
13999
|
class: ue(["btn-bg-1", T.index === a.layerGroup.length ? "rounded-b" : T.index === 1 ? "rounded-t" : ""])
|
|
14000
14000
|
}, [
|
|
14001
14001
|
n("div", Zg, [
|
|
14002
14002
|
n("div", Vg, [
|
|
14003
|
-
T.show ? (A(),
|
|
14003
|
+
T.show ? (A(), B(m, {
|
|
14004
14004
|
key: 0,
|
|
14005
14005
|
icon: "mdi-chevron-down",
|
|
14006
14006
|
onClick: (G) => T.show = !1
|
|
14007
|
-
}, null, 8, ["onClick"])) : (A(),
|
|
14007
|
+
}, null, 8, ["onClick"])) : (A(), B(m, {
|
|
14008
14008
|
key: 1,
|
|
14009
14009
|
icon: "mdi-chevron-right",
|
|
14010
14010
|
onClick: (G) => T.show = !0
|
|
14011
14011
|
}, null, 8, ["onClick"])),
|
|
14012
|
-
a.loading ? (A(),
|
|
14012
|
+
a.loading ? (A(), B(p, {
|
|
14013
14013
|
key: 3,
|
|
14014
14014
|
class: "mx-2",
|
|
14015
14015
|
color: "primary",
|
|
14016
14016
|
indeterminate: "",
|
|
14017
14017
|
size: "16",
|
|
14018
14018
|
width: "2"
|
|
14019
|
-
})) : (A(),
|
|
14019
|
+
})) : (A(), B(g, {
|
|
14020
14020
|
key: 2,
|
|
14021
14021
|
density: "compact",
|
|
14022
14022
|
variant: "flat",
|
|
@@ -14144,7 +14144,7 @@ function Kg(t, e, o, i, a, r) {
|
|
|
14144
14144
|
])) : I("", !0)
|
|
14145
14145
|
]),
|
|
14146
14146
|
T.show ? (A(), R("div", Hg, [
|
|
14147
|
-
(A(!0), R(Ce, null, Me((
|
|
14147
|
+
(A(!0), R(Ce, null, Me((j = T.layers) == null ? void 0 : j.filter((G) => {
|
|
14148
14148
|
var U;
|
|
14149
14149
|
return ((U = G.name) == null ? void 0 : U.indexOf(a.keyword)) > -1;
|
|
14150
14150
|
}), (G) => {
|
|
@@ -14191,7 +14191,7 @@ function Kg(t, e, o, i, a, r) {
|
|
|
14191
14191
|
], 2);
|
|
14192
14192
|
}), 128))
|
|
14193
14193
|
])) : I("", !0),
|
|
14194
|
-
F < a.layerGroup.length - 1 ? (A(),
|
|
14194
|
+
F < a.layerGroup.length - 1 ? (A(), B(v, {
|
|
14195
14195
|
key: 1,
|
|
14196
14196
|
class: "w-100",
|
|
14197
14197
|
thickness: "1"
|
|
@@ -14200,7 +14200,7 @@ function Kg(t, e, o, i, a, r) {
|
|
|
14200
14200
|
}), 128))
|
|
14201
14201
|
]))
|
|
14202
14202
|
], 6),
|
|
14203
|
-
a.drawDialog ? (A(),
|
|
14203
|
+
a.drawDialog ? (A(), B(C, {
|
|
14204
14204
|
ref: "drawDialog",
|
|
14205
14205
|
key: ((D = a.currentLayer) == null ? void 0 : D.id) || "new",
|
|
14206
14206
|
map: o.map,
|
|
@@ -14213,7 +14213,7 @@ function Kg(t, e, o, i, a, r) {
|
|
|
14213
14213
|
onSave: r.handleSaveMarker,
|
|
14214
14214
|
onHideLayer: r.handleClearLayer
|
|
14215
14215
|
}, null, 8, ["map", "gateway", "token", "default-meteo-token", "edit-layer", "group", "onClose", "onSave", "onHideLayer"])) : I("", !0),
|
|
14216
|
-
a.importDialog ? (A(),
|
|
14216
|
+
a.importDialog ? (A(), B(k, {
|
|
14217
14217
|
key: 1,
|
|
14218
14218
|
map: o.map,
|
|
14219
14219
|
gateway: o.gateway,
|
|
@@ -14290,7 +14290,7 @@ function $g(t) {
|
|
|
14290
14290
|
return a.length !== 16 ? `matrix3d(${i})` : (a[12] = "0", a[13] = "0", `matrix3d(${a.join(", ")})`);
|
|
14291
14291
|
}), e.trim().replace(/\s{2,}/g, " ");
|
|
14292
14292
|
}
|
|
14293
|
-
function
|
|
14293
|
+
function Ko(t) {
|
|
14294
14294
|
if (/%[0-9A-Fa-f]{2}/.test(t))
|
|
14295
14295
|
return t;
|
|
14296
14296
|
try {
|
|
@@ -14315,7 +14315,7 @@ function e0(t = "[snapDOM]", { ttlMs: e = 5 * 6e4, maxEntries: o = 12 } = {}) {
|
|
|
14315
14315
|
i.clear(), a = 0;
|
|
14316
14316
|
} };
|
|
14317
14317
|
}
|
|
14318
|
-
var pr = e0("[snapDOM]", { ttlMs: 3 * 6e4, maxEntries: 10 }), ea = /* @__PURE__ */ new Map(),
|
|
14318
|
+
var pr = e0("[snapDOM]", { ttlMs: 3 * 6e4, maxEntries: 10 }), ea = /* @__PURE__ */ new Map(), Xo = /* @__PURE__ */ new Map();
|
|
14319
14319
|
function t0(t) {
|
|
14320
14320
|
return /^data:|^blob:|^about:blank$/i.test(t);
|
|
14321
14321
|
}
|
|
@@ -14345,13 +14345,13 @@ function i0(t, e) {
|
|
|
14345
14345
|
if (!e)
|
|
14346
14346
|
return t;
|
|
14347
14347
|
if (e.includes("{url}"))
|
|
14348
|
-
return e.replace("{urlRaw}",
|
|
14348
|
+
return e.replace("{urlRaw}", Ko(t)).replace("{url}", encodeURIComponent(t));
|
|
14349
14349
|
if (/[?&]url=?$/.test(e))
|
|
14350
14350
|
return `${e}${encodeURIComponent(t)}`;
|
|
14351
14351
|
if (e.endsWith("?"))
|
|
14352
14352
|
return `${e}url=${encodeURIComponent(t)}`;
|
|
14353
14353
|
if (e.endsWith("/"))
|
|
14354
|
-
return `${e}${
|
|
14354
|
+
return `${e}${Ko(t)}`;
|
|
14355
14355
|
let o = e.includes("?") ? "&" : "?";
|
|
14356
14356
|
return `${e}${o}url=${encodeURIComponent(t)}`;
|
|
14357
14357
|
}
|
|
@@ -14389,10 +14389,10 @@ async function so(t, e = {}) {
|
|
|
14389
14389
|
}
|
|
14390
14390
|
if (/^about:blank$/i.test(t))
|
|
14391
14391
|
return o === "dataURL" ? { ok: !0, data: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", status: 200, url: t, fromCache: !1, mime: "image/png" } : { ok: !0, data: o === "text" ? "" : new Blob([]), status: 200, url: t, fromCache: !1 };
|
|
14392
|
-
let s = r0(t, { as: o, timeout: i, useProxy: a, errorTTL: r }), m =
|
|
14392
|
+
let s = r0(t, { as: o, timeout: i, useProxy: a, errorTTL: r }), m = Xo.get(s);
|
|
14393
14393
|
if (m && m.until > Date.now())
|
|
14394
14394
|
return { ...m.result, fromCache: !0 };
|
|
14395
|
-
m &&
|
|
14395
|
+
m && Xo.delete(s);
|
|
14396
14396
|
let d = ea.get(s);
|
|
14397
14397
|
if (d)
|
|
14398
14398
|
return d;
|
|
@@ -14409,7 +14409,7 @@ async function so(t, e = {}) {
|
|
|
14409
14409
|
let f = await fetch(p, { signal: b.signal, credentials: g, headers: l });
|
|
14410
14410
|
if (!f.ok) {
|
|
14411
14411
|
let C = { ok: !1, data: null, status: f.status, url: p, fromCache: !1, reason: "http_error" };
|
|
14412
|
-
if (r > 0 &&
|
|
14412
|
+
if (r > 0 && Xo.set(s, { until: Date.now() + r, result: C }), !c) {
|
|
14413
14413
|
let k = `${f.status} ${f.statusText || ""}`.trim();
|
|
14414
14414
|
pr.warnOnce(`http:${f.status}:${o}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, `HTTP error ${k} while fetching ${o} ${t}`);
|
|
14415
14415
|
}
|
|
@@ -14421,7 +14421,7 @@ async function so(t, e = {}) {
|
|
|
14421
14421
|
return o === "dataURL" ? { ok: !0, data: await gr(z), status: f.status, url: p, fromCache: !1, mime: v } : { ok: !0, data: z, status: f.status, url: p, fromCache: !1, mime: v };
|
|
14422
14422
|
} catch (f) {
|
|
14423
14423
|
let z = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network", v = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: z };
|
|
14424
|
-
if (!/^blob:/i.test(t) && r > 0 &&
|
|
14424
|
+
if (!/^blob:/i.test(t) && r > 0 && Xo.set(s, { until: Date.now() + r, result: v }), !c) {
|
|
14425
14425
|
let C = `${z}:${o}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, k = z === "timeout" ? `Timeout after ${i}ms. Consider increasing timeout or using a proxy for ${t}` : z === "abort" ? `Request aborted while fetching ${o} ${t}` : `Network/CORS issue while fetching ${o} ${t}. A proxy may be required`;
|
|
14426
14426
|
pr.errorOnce(C, k);
|
|
14427
14427
|
}
|
|
@@ -14438,7 +14438,7 @@ async function Fr(t, e = {}) {
|
|
|
14438
14438
|
let o = pa(t);
|
|
14439
14439
|
if (!o)
|
|
14440
14440
|
return t;
|
|
14441
|
-
let i =
|
|
14441
|
+
let i = Ko(o);
|
|
14442
14442
|
if (O.background.has(i)) {
|
|
14443
14443
|
let a = O.background.get(i);
|
|
14444
14444
|
return a ? `url("${a}")` : "none";
|
|
@@ -14464,7 +14464,7 @@ function n0(t) {
|
|
|
14464
14464
|
o.style.all = "initial", e.appendChild(o);
|
|
14465
14465
|
let i = getComputedStyle(o), a = {};
|
|
14466
14466
|
for (let r of i) {
|
|
14467
|
-
if (
|
|
14467
|
+
if (Br(r))
|
|
14468
14468
|
continue;
|
|
14469
14469
|
let l = i.getPropertyValue(r);
|
|
14470
14470
|
a[r] = l;
|
|
@@ -14472,7 +14472,7 @@ function n0(t) {
|
|
|
14472
14472
|
return e.removeChild(o), O.defaultStyle.set(t, a), a;
|
|
14473
14473
|
}
|
|
14474
14474
|
var s0 = /(?:^|-)(animation|transition)(?:-|$)/i, c0 = /^(--|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i, m0 = /* @__PURE__ */ new Set(["cursor", "pointer-events", "touch-action", "user-select", "print-color-adjust", "speak", "reading-flow", "reading-order", "anchor-name", "anchor-scope", "container-name", "container-type", "timeline-scope"]);
|
|
14475
|
-
function
|
|
14475
|
+
function Br(t) {
|
|
14476
14476
|
let e = String(t).toLowerCase();
|
|
14477
14477
|
return !!(m0.has(e) || c0.test(e) || s0.test(e));
|
|
14478
14478
|
}
|
|
@@ -14481,7 +14481,7 @@ function aa(t, e) {
|
|
|
14481
14481
|
return "";
|
|
14482
14482
|
let o = [], i = n0(e);
|
|
14483
14483
|
for (let [a, r] of Object.entries(t)) {
|
|
14484
|
-
if (
|
|
14484
|
+
if (Br(a))
|
|
14485
14485
|
continue;
|
|
14486
14486
|
let l = i[a];
|
|
14487
14487
|
r && r !== l && o.push(`${a}:${r}`);
|
|
@@ -14513,7 +14513,7 @@ function u0(t) {
|
|
|
14513
14513
|
o.set(a, `c${i++}`);
|
|
14514
14514
|
return o;
|
|
14515
14515
|
}
|
|
14516
|
-
function
|
|
14516
|
+
function jr(t, e = null) {
|
|
14517
14517
|
if (!(t instanceof Element))
|
|
14518
14518
|
return window.getComputedStyle(t, e);
|
|
14519
14519
|
let o = O.computedStyle.get(t);
|
|
@@ -14665,7 +14665,7 @@ function $o(t) {
|
|
|
14665
14665
|
}
|
|
14666
14666
|
return "";
|
|
14667
14667
|
}
|
|
14668
|
-
function
|
|
14668
|
+
function Ho(t) {
|
|
14669
14669
|
let e = String(t ?? "400").trim().toLowerCase();
|
|
14670
14670
|
if (e === "normal")
|
|
14671
14671
|
return 400;
|
|
@@ -14674,7 +14674,7 @@ function Yo(t) {
|
|
|
14674
14674
|
let o = parseInt(e, 10);
|
|
14675
14675
|
return Number.isFinite(o) ? Math.min(900, Math.max(100, o)) : 400;
|
|
14676
14676
|
}
|
|
14677
|
-
function
|
|
14677
|
+
function Yo(t) {
|
|
14678
14678
|
let e = String(t ?? "normal").trim().toLowerCase();
|
|
14679
14679
|
return e.startsWith("italic") ? "italic" : e.startsWith("oblique") ? "oblique" : "normal";
|
|
14680
14680
|
}
|
|
@@ -14685,10 +14685,10 @@ function z0(t) {
|
|
|
14685
14685
|
function _0(t) {
|
|
14686
14686
|
let e = String(t || "400").trim(), o = e.match(/^(\d{2,3})\s+(\d{2,3})$/);
|
|
14687
14687
|
if (o) {
|
|
14688
|
-
let a =
|
|
14688
|
+
let a = Ho(o[1]), r = Ho(o[2]);
|
|
14689
14689
|
return { min: Math.min(a, r), max: Math.max(a, r) };
|
|
14690
14690
|
}
|
|
14691
|
-
let i =
|
|
14691
|
+
let i = Ho(e);
|
|
14692
14692
|
return { min: i, max: i };
|
|
14693
14693
|
}
|
|
14694
14694
|
function C0(t) {
|
|
@@ -14749,7 +14749,7 @@ function br(t, e) {
|
|
|
14749
14749
|
return `url("${l}")`;
|
|
14750
14750
|
});
|
|
14751
14751
|
}
|
|
14752
|
-
var ra = /@import\s+(?:url\(\s*(['"]?)([^)"']+)\1\s*\)|(['"])([^"']+)\3)([^;]*);/g,
|
|
14752
|
+
var ra = /@import\s+(?:url\(\s*(['"]?)([^)"']+)\1\s*\)|(['"])([^"']+)\3)([^;]*);/g, Qo = 4;
|
|
14753
14753
|
async function T0(t, e, o) {
|
|
14754
14754
|
if (!t)
|
|
14755
14755
|
return t;
|
|
@@ -14762,8 +14762,8 @@ async function T0(t, e, o) {
|
|
|
14762
14762
|
}
|
|
14763
14763
|
}
|
|
14764
14764
|
async function r(c, s, m = 0) {
|
|
14765
|
-
if (m >
|
|
14766
|
-
return console.warn(`[snapDOM] @import depth exceeded (${
|
|
14765
|
+
if (m > Qo)
|
|
14766
|
+
return console.warn(`[snapDOM] @import depth exceeded (${Qo}) at ${s}`), c;
|
|
14767
14767
|
let d = "", p = 0, g;
|
|
14768
14768
|
for (; g = ra.exec(c); ) {
|
|
14769
14769
|
d += c.slice(p, g.index), p = ra.lastIndex;
|
|
@@ -14933,8 +14933,8 @@ async function Or(t, e, o, i) {
|
|
|
14933
14933
|
for (let l of a) {
|
|
14934
14934
|
if (l.type === CSSRule.IMPORT_RULE && l.styleSheet) {
|
|
14935
14935
|
let c = l.href ? r(l.href, e) : e;
|
|
14936
|
-
if (i.depth >=
|
|
14937
|
-
console.warn(`[snapDOM] CSSOM import depth exceeded (${
|
|
14936
|
+
if (i.depth >= Qo) {
|
|
14937
|
+
console.warn(`[snapDOM] CSSOM import depth exceeded (${Qo}) at ${c}`);
|
|
14938
14938
|
continue;
|
|
14939
14939
|
}
|
|
14940
14940
|
if (c && i.visitedSheets.has(c)) {
|
|
@@ -14968,7 +14968,7 @@ async function Or(t, e, o, i) {
|
|
|
14968
14968
|
}
|
|
14969
14969
|
}
|
|
14970
14970
|
async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
|
|
14971
|
-
var h, f, z, v, C, k, P, _, D, T, F,
|
|
14971
|
+
var h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe;
|
|
14972
14972
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
14973
14973
|
let r = /* @__PURE__ */ new Map();
|
|
14974
14974
|
for (let E of t) {
|
|
@@ -14983,7 +14983,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
14983
14983
|
return !1;
|
|
14984
14984
|
let q = r.get(E), Y = _0(te), le = C0($), W = M0(se), J = Y.min !== Y.max, ye = Y.min, Le = (he) => le.kind === "normal" && he === "normal" || le.kind !== "normal" && (he === "italic" || he === "oblique"), ze = !1;
|
|
14985
14985
|
for (let he of q) {
|
|
14986
|
-
let ke = J ? he.w >= Y.min && he.w <= Y.max : he.w === ye, ee = Le(
|
|
14986
|
+
let ke = J ? he.w >= Y.min && he.w <= Y.max : he.w === ye, ee = Le(Yo(he.s)), we = he.st >= W.min && he.st <= W.max;
|
|
14987
14987
|
if (ke && ee && we) {
|
|
14988
14988
|
ze = !0;
|
|
14989
14989
|
break;
|
|
@@ -14993,11 +14993,11 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
14993
14993
|
return !0;
|
|
14994
14994
|
if (!J)
|
|
14995
14995
|
for (let he of q) {
|
|
14996
|
-
let ke = Le(
|
|
14996
|
+
let ke = Le(Yo(he.s)), ee = he.st >= W.min && he.st <= W.max;
|
|
14997
14997
|
if (Math.abs(ye - he.w) <= 300 && ke && ee)
|
|
14998
14998
|
return !0;
|
|
14999
14999
|
}
|
|
15000
|
-
if (!J && le.kind === "normal" && q.some((he) =>
|
|
15000
|
+
if (!J && le.kind === "normal" && q.some((he) => Yo(he.s) !== "normal"))
|
|
15001
15001
|
for (let he of q) {
|
|
15002
15002
|
let ke = Math.abs(ye - he.w) <= 300, ee = he.st >= W.min && he.st <= W.max;
|
|
15003
15003
|
if (ke && ee)
|
|
@@ -15092,7 +15092,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15092
15092
|
try {
|
|
15093
15093
|
let se = await so(E._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15094
15094
|
if (se.ok && typeof se.data == "string")
|
|
15095
|
-
te = se.data, (F = O.resource) == null || F.set(E._snapdomSrc, te), (
|
|
15095
|
+
te = se.data, (F = O.resource) == null || F.set(E._snapdomSrc, te), (j = O.font) == null || j.add(E._snapdomSrc);
|
|
15096
15096
|
else
|
|
15097
15097
|
continue;
|
|
15098
15098
|
} catch {
|
|
@@ -15138,7 +15138,7 @@ function F0(t) {
|
|
|
15138
15138
|
let c = $o(l.fontFamily);
|
|
15139
15139
|
if (!c)
|
|
15140
15140
|
return;
|
|
15141
|
-
let s = (m, d, p) => `${c}__${
|
|
15141
|
+
let s = (m, d, p) => `${c}__${Ho(m)}__${Yo(d)}__${z0(p)}`;
|
|
15142
15142
|
e.add(s(l.fontWeight, l.fontStyle, l.fontStretch));
|
|
15143
15143
|
};
|
|
15144
15144
|
i(getComputedStyle(t));
|
|
@@ -15155,7 +15155,7 @@ function F0(t) {
|
|
|
15155
15155
|
}
|
|
15156
15156
|
return e;
|
|
15157
15157
|
}
|
|
15158
|
-
function
|
|
15158
|
+
function B0(t) {
|
|
15159
15159
|
var a;
|
|
15160
15160
|
let e = /* @__PURE__ */ new Set(), o = (r) => {
|
|
15161
15161
|
if (r)
|
|
@@ -15187,7 +15187,7 @@ function j0(t) {
|
|
|
15187
15187
|
}
|
|
15188
15188
|
return e;
|
|
15189
15189
|
}
|
|
15190
|
-
async function
|
|
15190
|
+
async function j0(t, e = 2) {
|
|
15191
15191
|
try {
|
|
15192
15192
|
await document.fonts.ready;
|
|
15193
15193
|
} catch {
|
|
@@ -15210,7 +15210,7 @@ async function B0(t, e = 2) {
|
|
|
15210
15210
|
async function N0(t, e, o, i = {}) {
|
|
15211
15211
|
let a = [[t, e]], r = ["background-image", "mask", "mask-image", "-webkit-mask", "-webkit-mask-image", "mask-source", "mask-box-image-source", "mask-border-source", "-webkit-mask-box-image-source", "border-image", "border-image-source"], l = ["mask-position", "mask-size", "mask-repeat", "-webkit-mask-position", "-webkit-mask-size", "-webkit-mask-repeat", "mask-origin", "mask-clip", "-webkit-mask-origin", "-webkit-mask-clip", "-webkit-mask-position-x", "-webkit-mask-position-y"], c = ["background-position", "background-position-x", "background-position-y", "background-size", "background-repeat", "background-origin", "background-clip", "background-attachment", "background-blend-mode"], s = ["border-image-slice", "border-image-width", "border-image-outset", "border-image-repeat"];
|
|
15212
15212
|
for (; a.length; ) {
|
|
15213
|
-
let [m, d] = a.shift(), p = o.get(m) ||
|
|
15213
|
+
let [m, d] = a.shift(), p = o.get(m) || jr(m);
|
|
15214
15214
|
o.has(m) || o.set(m, p);
|
|
15215
15215
|
let g = (() => {
|
|
15216
15216
|
let h = p.getPropertyValue("border-image"), f = p.getPropertyValue("border-image-source");
|
|
@@ -15246,7 +15246,7 @@ function bo(t, { fast: e = !1 } = {}) {
|
|
|
15246
15246
|
return t();
|
|
15247
15247
|
"requestIdleCallback" in window ? requestIdleCallback(t, { timeout: 50 }) : setTimeout(t, 1);
|
|
15248
15248
|
}
|
|
15249
|
-
function
|
|
15249
|
+
function Bo() {
|
|
15250
15250
|
if (typeof navigator > "u")
|
|
15251
15251
|
return !1;
|
|
15252
15252
|
let t = navigator.userAgent || "", e = t.toLowerCase(), o = e.includes("safari") && !e.includes("chrome") && !e.includes("crios") && !e.includes("fxios") && !e.includes("android"), i = /applewebkit/i.test(t), a = /mobile/i.test(t), r = !/safari/i.test(t), l = i && a && r, c = /(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(t), s = /(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(e), m = /ipad|iphone|ipod/.test(e) && i;
|
|
@@ -15316,7 +15316,7 @@ function X0(t, e, o = !1) {
|
|
|
15316
15316
|
return !t || t.plugins && !o || (t.plugins = V0(e)), t;
|
|
15317
15317
|
}
|
|
15318
15318
|
var xr = /* @__PURE__ */ new WeakMap(), la = /* @__PURE__ */ new Map(), na = 0;
|
|
15319
|
-
function
|
|
15319
|
+
function jo() {
|
|
15320
15320
|
na++;
|
|
15321
15321
|
}
|
|
15322
15322
|
var vr = !1;
|
|
@@ -15325,16 +15325,16 @@ function O0(t = document.documentElement) {
|
|
|
15325
15325
|
if (!vr) {
|
|
15326
15326
|
vr = !0;
|
|
15327
15327
|
try {
|
|
15328
|
-
new MutationObserver(() =>
|
|
15328
|
+
new MutationObserver(() => jo()).observe(t, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15329
15329
|
} catch {
|
|
15330
15330
|
}
|
|
15331
15331
|
try {
|
|
15332
|
-
new MutationObserver(() =>
|
|
15332
|
+
new MutationObserver(() => jo()).observe(document.head, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15333
15333
|
} catch {
|
|
15334
15334
|
}
|
|
15335
15335
|
try {
|
|
15336
15336
|
let i = document.fonts;
|
|
15337
|
-
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone",
|
|
15337
|
+
i && ((e = i.addEventListener) == null || e.call(i, "loadingdone", jo), (o = i.ready) == null || o.then(() => jo()).catch(() => {
|
|
15338
15338
|
}));
|
|
15339
15339
|
} catch {
|
|
15340
15340
|
}
|
|
@@ -15386,7 +15386,7 @@ async function wo(t, e, o, i) {
|
|
|
15386
15386
|
if (t.tagName === "STYLE")
|
|
15387
15387
|
return;
|
|
15388
15388
|
let a = J0(o, i), r = a.options && a.options.cache || "auto";
|
|
15389
|
-
if (r !== "disabled" && O0(document.documentElement), r === "disabled" && !a.session.__bumpedForDisabled && (
|
|
15389
|
+
if (r !== "disabled" && O0(document.documentElement), r === "disabled" && !a.session.__bumpedForDisabled && (jo(), la.clear(), a.session.__bumpedForDisabled = !0), ga.has((g = t.tagName) == null ? void 0 : g.toLowerCase())) {
|
|
15390
15390
|
let h = (b = t.getAttribute) == null ? void 0 : b.call(t, "style");
|
|
15391
15391
|
h && e.setAttribute("style", h);
|
|
15392
15392
|
}
|
|
@@ -15712,7 +15712,7 @@ async function Lr(t) {
|
|
|
15712
15712
|
}
|
|
15713
15713
|
return o;
|
|
15714
15714
|
}
|
|
15715
|
-
function
|
|
15715
|
+
function Oo(t) {
|
|
15716
15716
|
return typeof t == "string" && t.startsWith("blob:");
|
|
15717
15717
|
}
|
|
15718
15718
|
function xf(t) {
|
|
@@ -15732,7 +15732,7 @@ async function Af(t) {
|
|
|
15732
15732
|
for (let s of e)
|
|
15733
15733
|
try {
|
|
15734
15734
|
let m = s.getAttribute("src") || s.currentSrc || "";
|
|
15735
|
-
if (
|
|
15735
|
+
if (Oo(m)) {
|
|
15736
15736
|
let p = await No(m);
|
|
15737
15737
|
s.setAttribute("src", p);
|
|
15738
15738
|
}
|
|
@@ -15740,7 +15740,7 @@ async function Af(t) {
|
|
|
15740
15740
|
if (d && d.includes("blob:")) {
|
|
15741
15741
|
let p = xf(d), g = !1;
|
|
15742
15742
|
for (let b of p)
|
|
15743
|
-
if (
|
|
15743
|
+
if (Oo(b.url))
|
|
15744
15744
|
try {
|
|
15745
15745
|
b.url = await No(b.url), g = !0;
|
|
15746
15746
|
} catch {
|
|
@@ -15753,7 +15753,7 @@ async function Af(t) {
|
|
|
15753
15753
|
for (let s of o)
|
|
15754
15754
|
try {
|
|
15755
15755
|
let m = "http://www.w3.org/1999/xlink", d = s.getAttribute("href") || ((l = s.getAttributeNS) == null ? void 0 : l.call(s, m, "href"));
|
|
15756
|
-
if (
|
|
15756
|
+
if (Oo(d)) {
|
|
15757
15757
|
let p = await No(d);
|
|
15758
15758
|
s.setAttribute("href", p), (c = s.removeAttributeNS) == null || c.call(s, m, "href");
|
|
15759
15759
|
}
|
|
@@ -15782,12 +15782,12 @@ async function Af(t) {
|
|
|
15782
15782
|
for (let d of m)
|
|
15783
15783
|
try {
|
|
15784
15784
|
let p = d.getAttribute(s);
|
|
15785
|
-
|
|
15785
|
+
Oo(p) && d.setAttribute(s, await No(p));
|
|
15786
15786
|
} catch {
|
|
15787
15787
|
}
|
|
15788
15788
|
}
|
|
15789
15789
|
}
|
|
15790
|
-
async function
|
|
15790
|
+
async function Uo(t, e, o) {
|
|
15791
15791
|
var m, d, p, g, b, u;
|
|
15792
15792
|
if (!t)
|
|
15793
15793
|
throw new Error("Invalid node");
|
|
@@ -15926,8 +15926,8 @@ async function Jo(t, e, o) {
|
|
|
15926
15926
|
let h = function(T, F) {
|
|
15927
15927
|
if (T.nodeType === Node.ELEMENT_NODE && T.tagName === "STYLE")
|
|
15928
15928
|
return F(null);
|
|
15929
|
-
|
|
15930
|
-
F(
|
|
15929
|
+
Uo(T, e, o).then((j) => {
|
|
15930
|
+
F(j || null);
|
|
15931
15931
|
}).catch(() => {
|
|
15932
15932
|
F(null);
|
|
15933
15933
|
});
|
|
@@ -15935,13 +15935,13 @@ async function Jo(t, e, o) {
|
|
|
15935
15935
|
try {
|
|
15936
15936
|
let T = t.shadowRoot.querySelectorAll("slot");
|
|
15937
15937
|
for (let F of T) {
|
|
15938
|
-
let
|
|
15938
|
+
let j = [];
|
|
15939
15939
|
try {
|
|
15940
|
-
|
|
15940
|
+
j = ((p = F.assignedNodes) == null ? void 0 : p.call(F, { flatten: !0 })) || ((g = F.assignedNodes) == null ? void 0 : g.call(F)) || [];
|
|
15941
15941
|
} catch {
|
|
15942
|
-
|
|
15942
|
+
j = ((b = F.assignedNodes) == null ? void 0 : b.call(F)) || [];
|
|
15943
15943
|
}
|
|
15944
|
-
for (let G of
|
|
15944
|
+
for (let G of j)
|
|
15945
15945
|
i.add(G);
|
|
15946
15946
|
}
|
|
15947
15947
|
} catch {
|
|
@@ -15958,7 +15958,7 @@ async function Jo(t, e, o) {
|
|
|
15958
15958
|
}
|
|
15959
15959
|
if (t.tagName === "SLOT") {
|
|
15960
15960
|
let h = function(k, P) {
|
|
15961
|
-
|
|
15961
|
+
Uo(k, e, o).then((_) => {
|
|
15962
15962
|
_ && pf(_), P(_ || null);
|
|
15963
15963
|
}).catch(() => {
|
|
15964
15964
|
P(null);
|
|
@@ -15969,7 +15969,7 @@ async function Jo(t, e, o) {
|
|
|
15969
15969
|
function c(h, f) {
|
|
15970
15970
|
if (i.has(h))
|
|
15971
15971
|
return f(null);
|
|
15972
|
-
|
|
15972
|
+
Uo(h, e, o).then((z) => {
|
|
15973
15973
|
f(z || null);
|
|
15974
15974
|
}).catch(() => {
|
|
15975
15975
|
f(null);
|
|
@@ -16075,8 +16075,8 @@ function zf(t) {
|
|
|
16075
16075
|
if (getComputedStyle(u).display === "list-item" && r(u)) {
|
|
16076
16076
|
let k = u.parentElement, P = 1;
|
|
16077
16077
|
if (k && k.tagName === "OL") {
|
|
16078
|
-
let D = k.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, F = l(u),
|
|
16079
|
-
P = Number.isFinite(Number(
|
|
16078
|
+
let D = k.getAttribute("start"), T = Number.isFinite(Number(D)) ? Number(D) : 1, F = l(u), j = u.getAttribute("value");
|
|
16079
|
+
P = Number.isFinite(Number(j)) ? Number(j) : T + F;
|
|
16080
16080
|
} else
|
|
16081
16081
|
P = 1 + l(u);
|
|
16082
16082
|
let _ = h.get("list-item") || [];
|
|
@@ -16315,7 +16315,7 @@ async function Kr(t, e, o, i) {
|
|
|
16315
16315
|
let l = o.__counterCtx;
|
|
16316
16316
|
for (let g of ["::before", "::after", "::first-letter"])
|
|
16317
16317
|
try {
|
|
16318
|
-
let b =
|
|
16318
|
+
let b = jr(t, g);
|
|
16319
16319
|
if (!b || b.content === "none" && b.backgroundImage === "none" && b.backgroundColor === "transparent" && (b.borderStyle === "none" || parseFloat(b.borderWidth) === 0) && (!b.transform || b.transform === "none") && b.display === "inline")
|
|
16320
16320
|
continue;
|
|
16321
16321
|
if (g === "::first-letter") {
|
|
@@ -16339,7 +16339,7 @@ async function Kr(t, e, o, i) {
|
|
|
16339
16339
|
e.replaceChild(he, Y), e.insertBefore(ye, he);
|
|
16340
16340
|
continue;
|
|
16341
16341
|
}
|
|
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, F = parseFloat(b.borderWidth),
|
|
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, F = parseFloat(b.borderWidth), j = b.transform, G = co(k), U = !h && f !== "", ae = v && v !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", xe = T && T !== "none" && F > 0, fe = j && j !== "none";
|
|
16343
16343
|
if (!(U || ae || re || xe || fe)) {
|
|
16344
16344
|
if (z && z.length && t.parentElement) {
|
|
16345
16345
|
let q = xo.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
@@ -16363,7 +16363,7 @@ async function Kr(t, e, o, i) {
|
|
|
16363
16363
|
let q = pa(f);
|
|
16364
16364
|
if (q != null && q.trim())
|
|
16365
16365
|
try {
|
|
16366
|
-
let Y = document.createElement("img"), le = await so(
|
|
16366
|
+
let Y = document.createElement("img"), le = await so(Ko(q), { as: "dataURL", useProxy: i.useProxy });
|
|
16367
16367
|
Y.src = le.data, Y.style = `width:${P}px;height:auto;object-fit:contain;`, E.appendChild(Y);
|
|
16368
16368
|
} catch (Y) {
|
|
16369
16369
|
console.error(`[snapdom] Error in pseudo ${g} for`, t, Y);
|
|
@@ -16421,14 +16421,14 @@ function Tf(t, e) {
|
|
|
16421
16421
|
if (!T)
|
|
16422
16422
|
return null;
|
|
16423
16423
|
for (let F = 0; F < T.length; F++) {
|
|
16424
|
-
let
|
|
16425
|
-
if (!
|
|
16424
|
+
let j = T[F];
|
|
16425
|
+
if (!j || !j.name)
|
|
16426
16426
|
continue;
|
|
16427
|
-
if (
|
|
16428
|
-
return
|
|
16429
|
-
let G =
|
|
16430
|
-
if (G !== -1 &&
|
|
16431
|
-
return
|
|
16427
|
+
if (j.name === "href")
|
|
16428
|
+
return j.value;
|
|
16429
|
+
let G = j.name.indexOf(":");
|
|
16430
|
+
if (G !== -1 && j.name.slice(G + 1) === "href")
|
|
16431
|
+
return j.value;
|
|
16432
16432
|
}
|
|
16433
16433
|
return null;
|
|
16434
16434
|
}, d = new Set(Array.from(t.querySelectorAll("[id]")).map((_) => _.id)), p = /* @__PURE__ */ new Set(), g = !1, b = (_, D = null) => {
|
|
@@ -16444,18 +16444,18 @@ function Tf(t, e) {
|
|
|
16444
16444
|
}, u = (_) => {
|
|
16445
16445
|
let D = _.querySelectorAll("use");
|
|
16446
16446
|
for (let F of D) {
|
|
16447
|
-
let
|
|
16448
|
-
if (!
|
|
16447
|
+
let j = m(F);
|
|
16448
|
+
if (!j || !j.startsWith("#"))
|
|
16449
16449
|
continue;
|
|
16450
16450
|
g = !0;
|
|
16451
|
-
let G =
|
|
16451
|
+
let G = j.slice(1).trim();
|
|
16452
16452
|
G && !d.has(G) && p.add(G);
|
|
16453
16453
|
}
|
|
16454
16454
|
let T = _.querySelectorAll('*[style*="url("],*[fill^="url("], *[stroke^="url("],*[filter^="url("],*[clip-path^="url("],*[mask^="url("],*[marker^="url("],*[marker-start^="url("],*[marker-mid^="url("],*[marker-end^="url("]');
|
|
16455
16455
|
for (let F of T) {
|
|
16456
16456
|
b(F.getAttribute("style") || "");
|
|
16457
|
-
for (let
|
|
16458
|
-
b(F.getAttribute(
|
|
16457
|
+
for (let j of l)
|
|
16458
|
+
b(F.getAttribute(j));
|
|
16459
16459
|
}
|
|
16460
16460
|
};
|
|
16461
16461
|
for (let _ of a)
|
|
@@ -16468,8 +16468,8 @@ function Tf(t, e) {
|
|
|
16468
16468
|
if (!_ || d.has(_))
|
|
16469
16469
|
return null;
|
|
16470
16470
|
let D = c(_), T = (F) => {
|
|
16471
|
-
let
|
|
16472
|
-
return
|
|
16471
|
+
let j = i.querySelector(F);
|
|
16472
|
+
return j && !t.contains(j) ? j : null;
|
|
16473
16473
|
};
|
|
16474
16474
|
return T(`svg defs > *#${D}`) || T(`svg > symbol#${D}`) || T(`*#${D}`);
|
|
16475
16475
|
};
|
|
@@ -16489,16 +16489,16 @@ function Tf(t, e) {
|
|
|
16489
16489
|
let T = D.cloneNode(!0);
|
|
16490
16490
|
T.id || T.setAttribute("id", _), f.appendChild(T), C.add(_), d.add(_);
|
|
16491
16491
|
let F = [T, ...T.querySelectorAll("*")];
|
|
16492
|
-
for (let
|
|
16493
|
-
let G = m(
|
|
16492
|
+
for (let j of F) {
|
|
16493
|
+
let G = m(j);
|
|
16494
16494
|
if (G && G.startsWith("#")) {
|
|
16495
16495
|
let ae = G.slice(1).trim();
|
|
16496
16496
|
ae && !d.has(ae) && !C.has(ae) && v.add(ae);
|
|
16497
16497
|
}
|
|
16498
|
-
let U = ((k =
|
|
16498
|
+
let U = ((k = j.getAttribute) == null ? void 0 : k.call(j, "style")) || "";
|
|
16499
16499
|
U && b(U, v);
|
|
16500
16500
|
for (let ae of l) {
|
|
16501
|
-
let re = (P =
|
|
16501
|
+
let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ae);
|
|
16502
16502
|
re && b(re, v);
|
|
16503
16503
|
}
|
|
16504
16504
|
}
|
|
@@ -16578,7 +16578,7 @@ async function Ff(t, e = {}) {
|
|
|
16578
16578
|
console.warn("inlineExternal defs or symbol failed:", d);
|
|
16579
16579
|
}
|
|
16580
16580
|
try {
|
|
16581
|
-
i = await
|
|
16581
|
+
i = await Uo(t, o, e, t);
|
|
16582
16582
|
} catch (d) {
|
|
16583
16583
|
throw console.warn("deepClone failed:", d), d;
|
|
16584
16584
|
}
|
|
@@ -16629,12 +16629,12 @@ async function Ff(t, e = {}) {
|
|
|
16629
16629
|
p.tagName === "PRE" && (d.style.marginTop = "0", d.style.marginBlockStart = "0");
|
|
16630
16630
|
return { clone: i, classCSS: a, styleCache: o.styleCache };
|
|
16631
16631
|
}
|
|
16632
|
-
function
|
|
16632
|
+
function Bf(t) {
|
|
16633
16633
|
var m, d, p, g;
|
|
16634
16634
|
let e = parseInt(((m = t.dataset) == null ? void 0 : m.snapdomWidth) || "", 10) || 0, o = parseInt(((d = t.dataset) == null ? void 0 : d.snapdomHeight) || "", 10) || 0, i = parseInt(t.getAttribute("width") || "", 10) || 0, a = parseInt(t.getAttribute("height") || "", 10) || 0, r = parseFloat(((p = t.style) == null ? void 0 : p.width) || "") || 0, l = parseFloat(((g = t.style) == null ? void 0 : g.height) || "") || 0, c = e || r || i || t.width || t.naturalWidth || 100, s = o || l || a || t.height || t.naturalHeight || 100;
|
|
16635
16635
|
return { width: c, height: s };
|
|
16636
16636
|
}
|
|
16637
|
-
async function
|
|
16637
|
+
async function jf(t, e = {}) {
|
|
16638
16638
|
let o = Array.from(t.querySelectorAll("img")), i = async (a) => {
|
|
16639
16639
|
if (!a.getAttribute("src")) {
|
|
16640
16640
|
let d = a.currentSrc || a.src || "";
|
|
@@ -16649,7 +16649,7 @@ async function Bf(t, e = {}) {
|
|
|
16649
16649
|
a.src = l.data, a.width || (a.width = a.naturalWidth || 100), a.height || (a.height = a.naturalHeight || 100);
|
|
16650
16650
|
return;
|
|
16651
16651
|
}
|
|
16652
|
-
let { width: c, height: s } =
|
|
16652
|
+
let { width: c, height: s } = Bf(a), { fallbackURL: m } = e || {};
|
|
16653
16653
|
if (m)
|
|
16654
16654
|
try {
|
|
16655
16655
|
let d = typeof m == "function" ? await m({ width: c, height: s, src: r, element: a }) : m;
|
|
@@ -17030,7 +17030,7 @@ async function qr(t, e) {
|
|
|
17030
17030
|
}
|
|
17031
17031
|
await new Promise((C) => {
|
|
17032
17032
|
bo(async () => {
|
|
17033
|
-
await
|
|
17033
|
+
await jf(r.clone, r.options), C();
|
|
17034
17034
|
}, { fast: o });
|
|
17035
17035
|
}), await new Promise((C) => {
|
|
17036
17036
|
bo(async () => {
|
|
@@ -17038,10 +17038,10 @@ async function qr(t, e) {
|
|
|
17038
17038
|
}, { fast: o });
|
|
17039
17039
|
}), e.embedFonts && await new Promise((C) => {
|
|
17040
17040
|
bo(async () => {
|
|
17041
|
-
let k = F0(r.element), P =
|
|
17042
|
-
if (
|
|
17041
|
+
let k = F0(r.element), P = B0(r.element);
|
|
17042
|
+
if (Bo()) {
|
|
17043
17043
|
let _ = new Set(Array.from(k).map((D) => String(D).split("__")[0]).filter(Boolean));
|
|
17044
|
-
await
|
|
17044
|
+
await j0(_, 1);
|
|
17045
17045
|
}
|
|
17046
17046
|
m = await G0({ required: k, usedCodepoints: P, preCached: !1, exclude: r.options.excludeFonts, useProxy: r.options.useProxy }), C();
|
|
17047
17047
|
}, { fast: o });
|
|
@@ -17062,8 +17062,8 @@ async function qr(t, e) {
|
|
|
17062
17062
|
let T = (Te, Re = NaN) => {
|
|
17063
17063
|
let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
|
|
17064
17064
|
return Number.isFinite(Ne) ? Ne : Re;
|
|
17065
|
-
}, F = T(r.options.width),
|
|
17066
|
-
ae && re ? (G = Math.max(1, me(F)), U = Math.max(1, me(
|
|
17065
|
+
}, F = T(r.options.width), j = T(r.options.height), G = _, U = D, ae = Number.isFinite(F), re = Number.isFinite(j), xe = D > 0 ? _ / D : 1;
|
|
17066
|
+
ae && re ? (G = Math.max(1, me(F)), U = Math.max(1, me(j))) : ae ? (G = Math.max(1, me(F)), U = Math.max(1, me(G / (xe || 1)))) : re ? (U = Math.max(1, me(j)), G = Math.max(1, me(U * (xe || 1)))) : (G = _, U = D);
|
|
17067
17067
|
let fe = 0, E = 0, $ = _, te = D;
|
|
17068
17068
|
if (!i && b && Number.isFinite(b.a)) {
|
|
17069
17069
|
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,15 +17074,15 @@ async function qr(t, e) {
|
|
|
17074
17074
|
}
|
|
17075
17075
|
let se = o1(k), q = a1(k), Y = i1(k), le = r1(k), W = 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
17076
|
fe = me(fe - W.left), E = me(E - W.top), $ = me($ + W.right), te = me(te + W.bottom);
|
|
17077
|
-
let J = Math.max(1, me($ - fe)), ye = Math.max(1, me(te - E)), Le = ae || re ? me(G / _) : 1, ze = re || ae ? me(U / D) : 1, he = Math.max(1, me(J * Le)), ke = Math.max(1, me(ye * ze)), ee = "http://www.w3.org/2000/svg", we =
|
|
17077
|
+
let J = Math.max(1, me($ - fe)), ye = Math.max(1, me(te - E)), Le = ae || re ? me(G / _) : 1, ze = re || ae ? me(U / D) : 1, he = Math.max(1, me(J * Le)), ke = Math.max(1, me(ye * ze)), ee = "http://www.w3.org/2000/svg", we = Bo() ? 1 : 0, Ee = me(we + (i ? 0 : 1)), Ge = document.createElementNS(ee, "foreignObject"), $e = me(fe), et = me(E);
|
|
17078
17078
|
Ge.setAttribute("x", String(me(-($e - Ee)))), Ge.setAttribute("y", String(me(-(et - Ee)))), Ge.setAttribute("width", String(me(_ + Ee * 2))), Ge.setAttribute("height", String(me(D + Ee * 2))), Ge.style.overflow = "visible";
|
|
17079
17079
|
let Je = document.createElement("style");
|
|
17080
17080
|
Je.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, Ge.appendChild(Je);
|
|
17081
|
-
let
|
|
17082
|
-
|
|
17081
|
+
let je = document.createElement("div");
|
|
17082
|
+
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), Ge.appendChild(je);
|
|
17083
17083
|
let tt = new XMLSerializer().serializeToString(Ge), Oe = me(J + Ee * 2), He = me(ye + Ee * 2), Ke = ae || re;
|
|
17084
17084
|
e.meta = { w0: _, h0: D, vbW: Oe, vbH: He, targetW: G, targetH: U };
|
|
17085
|
-
let ot =
|
|
17085
|
+
let ot = Bo() && Ke ? Oe : me(he + Ee * 2), at = Bo() && Ke ? He : me(ke + Ee * 2);
|
|
17086
17086
|
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
17087
|
}, { fast: o });
|
|
17088
17088
|
}), await ho("afterRender", r);
|
|
@@ -17114,7 +17114,7 @@ async function f1(t, e) {
|
|
|
17114
17114
|
if (!t)
|
|
17115
17115
|
throw new Error("Element cannot be null or undefined");
|
|
17116
17116
|
let o = p1(e);
|
|
17117
|
-
if (X0(o, e && e.plugins),
|
|
17117
|
+
if (X0(o, e && e.plugins), Bo() && (o.embedFonts === !0 || b1(t)))
|
|
17118
17118
|
for (let i = 0; i < 3; i++)
|
|
17119
17119
|
try {
|
|
17120
17120
|
await y1(t, e), da = !1;
|
|
@@ -17126,52 +17126,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17126
17126
|
if (o !== $r)
|
|
17127
17127
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17128
17128
|
let i = await qr(t, e), a = { img: async (u, h) => {
|
|
17129
|
-
let { toImg: f } = await import("./toImg-
|
|
17129
|
+
let { toImg: f } = await import("./toImg-617a035f.js");
|
|
17130
17130
|
return f(i, { ...u, ...h || {} });
|
|
17131
17131
|
}, svg: async (u, h) => {
|
|
17132
|
-
let { toSvg: f } = await import("./toImg-
|
|
17132
|
+
let { toSvg: f } = await import("./toImg-617a035f.js");
|
|
17133
17133
|
return f(i, { ...u, ...h || {} });
|
|
17134
17134
|
}, canvas: async (u, h) => {
|
|
17135
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17135
|
+
let { toCanvas: f } = await import("./toCanvas-288bbb78.js");
|
|
17136
17136
|
return f(i, { ...u, ...h || {} });
|
|
17137
17137
|
}, blob: async (u, h) => {
|
|
17138
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17138
|
+
let { toBlob: f } = await import("./toBlob-cdfc2a52.js");
|
|
17139
17139
|
return f(i, { ...u, ...h || {} });
|
|
17140
17140
|
}, png: async (u, h) => {
|
|
17141
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17141
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17142
17142
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17143
17143
|
}, jpeg: async (u, h) => {
|
|
17144
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17144
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17145
17145
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17146
17146
|
}, webp: async (u, h) => {
|
|
17147
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17147
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17148
17148
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17149
17149
|
}, download: async (u, h) => {
|
|
17150
|
-
let { download: f } = await import("./download-
|
|
17150
|
+
let { download: f } = await import("./download-9f4c6afa.js");
|
|
17151
17151
|
return f(i, { ...u, ...h || {} });
|
|
17152
17152
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17153
|
-
let { toSvg: h } = await import("./toImg-
|
|
17153
|
+
let { toSvg: h } = await import("./toImg-617a035f.js");
|
|
17154
17154
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17155
17155
|
}, canvas: async (u) => {
|
|
17156
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17156
|
+
let { toCanvas: h } = await import("./toCanvas-288bbb78.js");
|
|
17157
17157
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17158
17158
|
}, png: async (u) => {
|
|
17159
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17159
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17160
17160
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17161
17161
|
}, jpeg: async (u) => {
|
|
17162
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17162
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17163
17163
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17164
17164
|
}, jpg: async (u) => {
|
|
17165
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17165
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17166
17166
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17167
17167
|
}, webp: async (u) => {
|
|
17168
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17168
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-446b2325.js");
|
|
17169
17169
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17170
17170
|
}, blob: async (u) => {
|
|
17171
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17171
|
+
let { toBlob: h } = await import("./toBlob-cdfc2a52.js");
|
|
17172
17172
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17173
17173
|
}, img: async (u) => {
|
|
17174
|
-
let { toImg: h } = await import("./toImg-
|
|
17174
|
+
let { toImg: h } = await import("./toImg-617a035f.js");
|
|
17175
17175
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17176
17176
|
} } }, l = await Z0("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17177
17177
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -17376,11 +17376,11 @@ class w1 {
|
|
|
17376
17376
|
const f = this.ctx.measureText(p).width, z = g, v = (this.captureRect.width - f) / 2 - b * 2, C = u, k = f + b * 4, P = z + b * 2;
|
|
17377
17377
|
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
17378
|
const T = Math.max(this.captureRect.height / 8, 40), F = this.logoImage.naturalWidth / this.logoImage.naturalHeight;
|
|
17379
|
-
let
|
|
17379
|
+
let j = T, G = j * F;
|
|
17380
17380
|
const U = this.captureRect.width / 4;
|
|
17381
|
-
G > U && (G = U,
|
|
17381
|
+
G > U && (G = U, j = G / F);
|
|
17382
17382
|
const ae = this.captureRect.width - G - 12, re = u, xe = this.ctx.imageSmoothingEnabled, fe = this.ctx.imageSmoothingQuality;
|
|
17383
|
-
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, ae, re, G,
|
|
17383
|
+
this.ctx.imageSmoothingEnabled = !0, this.ctx.imageSmoothingQuality = "high", this.ctx.drawImage(this.logoImage, ae, re, G, j), this.ctx.imageSmoothingEnabled = xe, this.ctx.imageSmoothingQuality = fe;
|
|
17384
17384
|
}
|
|
17385
17385
|
const _ = this.ctx.getImageData(0, 0, this.canvas.width, this.canvas.height);
|
|
17386
17386
|
this.frames.push(_), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
|
|
@@ -17859,7 +17859,7 @@ function S1(t, e, o, i, a, r) {
|
|
|
17859
17859
|
const el = /* @__PURE__ */ ne(x1, [["render", S1], ["__scopeId", "data-v-61789b74"]]);
|
|
17860
17860
|
const T1 = {
|
|
17861
17861
|
name: "IdmBottomBar",
|
|
17862
|
-
components: { DateTimePicker:
|
|
17862
|
+
components: { DateTimePicker: qo, IdmCapture: el },
|
|
17863
17863
|
props: {
|
|
17864
17864
|
menuToggle: {
|
|
17865
17865
|
type: Object,
|
|
@@ -17997,7 +17997,7 @@ const T1 = {
|
|
|
17997
17997
|
}, R1 = { class: "idm-bottom-bar-gl4" }, D1 = { class: "date-box d-flex ga-2 mr-2" }, I1 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, E1 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, G1 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, F1 = {
|
|
17998
17998
|
key: 0,
|
|
17999
17999
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
18000
|
-
},
|
|
18000
|
+
}, B1 = ["onClick"], j1 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, N1 = { class: "text-body-1" };
|
|
18001
18001
|
function W1(t, e, o, i, a, r) {
|
|
18002
18002
|
const l = M("IdmCapture"), c = M("DateTimePicker"), s = M("VListItemTitle"), m = M("VListItem"), d = M("VList"), p = M("VMenu"), g = M("VBtn"), b = M("VDivider"), u = M("VTooltip");
|
|
18003
18003
|
return A(), R("div", R1, [
|
|
@@ -18043,7 +18043,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18043
18043
|
default: x(() => [
|
|
18044
18044
|
w(d, { class: "pa-1" }, {
|
|
18045
18045
|
default: x(() => [
|
|
18046
|
-
(A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(),
|
|
18046
|
+
(A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(), B(m, {
|
|
18047
18047
|
key: f,
|
|
18048
18048
|
value: h,
|
|
18049
18049
|
variant: a.intervalHour === h ? "tonal" : "text",
|
|
@@ -18090,7 +18090,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18090
18090
|
"open-on-click": !1
|
|
18091
18091
|
}, {
|
|
18092
18092
|
activator: x(({ props: h }) => [
|
|
18093
|
-
a.gifEnabled ? (A(),
|
|
18093
|
+
a.gifEnabled ? (A(), B(g, V({
|
|
18094
18094
|
key: 1,
|
|
18095
18095
|
disabled: a.frameCount < 1
|
|
18096
18096
|
}, h, {
|
|
@@ -18105,7 +18105,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18105
18105
|
])),
|
|
18106
18106
|
_: 2,
|
|
18107
18107
|
__: [15]
|
|
18108
|
-
}, 1040, ["disabled"])) : (A(),
|
|
18108
|
+
}, 1040, ["disabled"])) : (A(), B(g, V({ key: 0 }, h, {
|
|
18109
18109
|
icon: "",
|
|
18110
18110
|
size: "small",
|
|
18111
18111
|
density: "comfortable",
|
|
@@ -18174,7 +18174,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18174
18174
|
"open-on-click": !1
|
|
18175
18175
|
}, {
|
|
18176
18176
|
activator: x(({ props: h }) => [
|
|
18177
|
-
a.paused ? (A(),
|
|
18177
|
+
a.paused ? (A(), B(g, V({ key: 0 }, h, {
|
|
18178
18178
|
icon: "",
|
|
18179
18179
|
size: "small",
|
|
18180
18180
|
density: "comfortable",
|
|
@@ -18197,7 +18197,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18197
18197
|
"open-on-click": !1
|
|
18198
18198
|
}, {
|
|
18199
18199
|
activator: x(({ props: h }) => [
|
|
18200
|
-
a.paused ? I("", !0) : (A(),
|
|
18200
|
+
a.paused ? I("", !0) : (A(), B(g, V({ key: 0 }, h, {
|
|
18201
18201
|
icon: "",
|
|
18202
18202
|
size: "small",
|
|
18203
18203
|
density: "comfortable",
|
|
@@ -18384,9 +18384,9 @@ function W1(t, e, o, i, a, r) {
|
|
|
18384
18384
|
key: h,
|
|
18385
18385
|
class: "item rounded text-body-2 hover-active",
|
|
18386
18386
|
onClick: (f) => a.timeZone = h
|
|
18387
|
-
}, y(h < 0 ? h : "+" + h), 9,
|
|
18387
|
+
}, y(h < 0 ? h : "+" + h), 9, B1))), 128))
|
|
18388
18388
|
])) : I("", !0),
|
|
18389
|
-
n("div",
|
|
18389
|
+
n("div", j1, [
|
|
18390
18390
|
w(g, {
|
|
18391
18391
|
text: "",
|
|
18392
18392
|
variant: "flat",
|
|
@@ -18408,7 +18408,7 @@ function W1(t, e, o, i, a, r) {
|
|
|
18408
18408
|
const Z1 = /* @__PURE__ */ ne(T1, [["render", W1]]);
|
|
18409
18409
|
const V1 = {
|
|
18410
18410
|
name: "IdmTimePlayer",
|
|
18411
|
-
components: { DateTimePicker:
|
|
18411
|
+
components: { DateTimePicker: qo },
|
|
18412
18412
|
props: {
|
|
18413
18413
|
menuToggle: {
|
|
18414
18414
|
type: Object,
|
|
@@ -18580,7 +18580,7 @@ function O1(t, e, o, i, a, r) {
|
|
|
18580
18580
|
_: 1,
|
|
18581
18581
|
__: [6]
|
|
18582
18582
|
}, 8, ["onClick"]),
|
|
18583
|
-
a.paused ? (A(),
|
|
18583
|
+
a.paused ? (A(), B(l, {
|
|
18584
18584
|
key: 0,
|
|
18585
18585
|
size: "small",
|
|
18586
18586
|
density: "compact",
|
|
@@ -18595,7 +18595,7 @@ function O1(t, e, o, i, a, r) {
|
|
|
18595
18595
|
])),
|
|
18596
18596
|
_: 1,
|
|
18597
18597
|
__: [7]
|
|
18598
|
-
}, 8, ["onClick"])) : (A(),
|
|
18598
|
+
}, 8, ["onClick"])) : (A(), B(l, {
|
|
18599
18599
|
key: 1,
|
|
18600
18600
|
size: "small",
|
|
18601
18601
|
density: "compact",
|
|
@@ -18617,8 +18617,11 @@ function O1(t, e, o, i, a, r) {
|
|
|
18617
18617
|
const tl = /* @__PURE__ */ ne(V1, [["render", O1]]);
|
|
18618
18618
|
const H1 = {
|
|
18619
18619
|
name: "IdmBottomTimeLine",
|
|
18620
|
-
components: {
|
|
18620
|
+
components: { IdmCapture: el },
|
|
18621
18621
|
props: {
|
|
18622
|
+
realTime: {
|
|
18623
|
+
type: String
|
|
18624
|
+
},
|
|
18622
18625
|
menuToggle: {
|
|
18623
18626
|
type: Object,
|
|
18624
18627
|
default: {}
|
|
@@ -18665,11 +18668,16 @@ const H1 = {
|
|
|
18665
18668
|
};
|
|
18666
18669
|
},
|
|
18667
18670
|
computed: {
|
|
18671
|
+
realTimeTimestamp() {
|
|
18672
|
+
return this.realTime ? S(this.realTime, S.ISO_8601, !0).valueOf() : NaN;
|
|
18673
|
+
},
|
|
18668
18674
|
minTimestamp() {
|
|
18669
|
-
|
|
18675
|
+
const t = S.tz(S().add(this.dayAbout.h, "days"), this.timeZoneName).startOf("day").valueOf();
|
|
18676
|
+
return this.realTimeTimestamp < t ? S.tz(this.realTimeTimestamp, this.timeZoneName).startOf("day").valueOf() : t;
|
|
18670
18677
|
},
|
|
18671
18678
|
maxTimestamp() {
|
|
18672
|
-
|
|
18679
|
+
const t = S.tz(S().add(this.dayAbout.f, "days"), this.timeZoneName).endOf("day").valueOf();
|
|
18680
|
+
return this.realTimeTimestamp > t ? S.tz(this.realTimeTimestamp, this.timeZoneName).endOf("day").valueOf() : t;
|
|
18673
18681
|
},
|
|
18674
18682
|
timelineStartDate() {
|
|
18675
18683
|
return S.tz(this.minTimestamp, this.timeZoneName).startOf("day");
|
|
@@ -18717,6 +18725,12 @@ const H1 = {
|
|
|
18717
18725
|
}
|
|
18718
18726
|
},
|
|
18719
18727
|
watch: {
|
|
18728
|
+
realTimeTimestamp: {
|
|
18729
|
+
handler(t) {
|
|
18730
|
+
!Number.isFinite(t) || t === this.currentTimestamp || (this.handlePause(), this.currentTimestamp = t, this.$nextTick(this.scrollToCurrentTime));
|
|
18731
|
+
},
|
|
18732
|
+
immediate: !0
|
|
18733
|
+
},
|
|
18720
18734
|
"menuToggle.v": {
|
|
18721
18735
|
handler() {
|
|
18722
18736
|
this.$nextTick(() => {
|
|
@@ -18749,13 +18763,13 @@ const H1 = {
|
|
|
18749
18763
|
},
|
|
18750
18764
|
currentTimestamp: {
|
|
18751
18765
|
handler() {
|
|
18752
|
-
this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:
|
|
18766
|
+
Number.isFinite(this.currentTimestamp) && (this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:mm[Z]"), this.currentTimestamp !== this.realTimeTimestamp && this.$emit("realTime", this.currentDateTimeZ), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`, this.paused || this.$nextTick(() => {
|
|
18753
18767
|
const t = this.$refs.timelineScroll;
|
|
18754
18768
|
if (!t || !this.currentTimestamp)
|
|
18755
18769
|
return;
|
|
18756
18770
|
const e = this.timeZoneName, o = S.tz(this.currentTimestamp, e), r = (o.clone().startOf("day").diff(this.timelineStartDate, "hours") + o.hour()) / this.intervalHour * this.hourWidth, l = r + this.hourWidth, c = t.scrollLeft, s = c + t.clientWidth;
|
|
18757
18771
|
l > s ? t.scrollLeft = l - t.clientWidth : r < c && (t.scrollLeft = r);
|
|
18758
|
-
});
|
|
18772
|
+
}));
|
|
18759
18773
|
},
|
|
18760
18774
|
immediate: !0
|
|
18761
18775
|
},
|
|
@@ -18765,13 +18779,6 @@ const H1 = {
|
|
|
18765
18779
|
},
|
|
18766
18780
|
immediate: !0
|
|
18767
18781
|
},
|
|
18768
|
-
show: {
|
|
18769
|
-
handler() {
|
|
18770
|
-
var t;
|
|
18771
|
-
Object.values(this.show).includes(!0) || (t = this.$refs.dateTimePicker) == null || t.handleCancelDate();
|
|
18772
|
-
},
|
|
18773
|
-
deep: !0
|
|
18774
|
-
},
|
|
18775
18782
|
gifEnabled: {
|
|
18776
18783
|
handler(t, e) {
|
|
18777
18784
|
t || this.handlePause();
|
|
@@ -18780,11 +18787,21 @@ const H1 = {
|
|
|
18780
18787
|
}
|
|
18781
18788
|
},
|
|
18782
18789
|
mounted() {
|
|
18783
|
-
this.initCurrentTimestamp(), this.timer = setInterval(() => {
|
|
18790
|
+
Number.isFinite(this.currentTimestamp) ? this.$nextTick(this.scrollToCurrentTime) : this.initCurrentTimestamp(), this.timer = setInterval(() => {
|
|
18784
18791
|
this.currentRealTime = `${S.tz(S().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
|
|
18785
18792
|
}, 100);
|
|
18786
18793
|
},
|
|
18794
|
+
unmounted() {
|
|
18795
|
+
clearInterval(this.timer);
|
|
18796
|
+
},
|
|
18787
18797
|
methods: {
|
|
18798
|
+
scrollToCurrentTime() {
|
|
18799
|
+
const t = this.$refs.timelineScroll, e = t == null ? void 0 : t.querySelector(".play-bubble");
|
|
18800
|
+
if (!e)
|
|
18801
|
+
return;
|
|
18802
|
+
const o = e.getBoundingClientRect(), i = t.getBoundingClientRect();
|
|
18803
|
+
t.scrollLeft = Math.max(0, t.scrollLeft + (o.left + o.width / 2) - (i.left + i.width / 2));
|
|
18804
|
+
},
|
|
18788
18805
|
initCurrentTimestamp() {
|
|
18789
18806
|
const t = Date.now(), e = this.timeZoneName, o = S.tz(t, e), i = (this.timeZone % this.intervalHour + this.intervalHour) % this.intervalHour, a = o.hour(), r = a - ((a - i) % this.intervalHour + this.intervalHour) % this.intervalHour, l = o.clone().set({
|
|
18790
18807
|
minute: 0,
|
|
@@ -18860,6 +18877,9 @@ const H1 = {
|
|
|
18860
18877
|
},
|
|
18861
18878
|
handleClickFastMore() {
|
|
18862
18879
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
18880
|
+
},
|
|
18881
|
+
handleCloseRecord() {
|
|
18882
|
+
this.gifEnabled = !1, this.paused = !0;
|
|
18863
18883
|
}
|
|
18864
18884
|
}
|
|
18865
18885
|
}, Y1 = { class: "idm-bottom-bar-gl4" }, U1 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, J1 = { class: "date-box d-flex ga-2" }, K1 = { class: "hour-box d-flex ga-2 flex-1-1-0 h-100 overflow-hidden" }, Q1 = { class: "timeline-track" }, q1 = ["onClick"], $1 = { class: "timeline-hours" }, ey = ["onClick"], ty = {
|
|
@@ -18882,11 +18902,9 @@ function my(t, e, o, i, a, r) {
|
|
|
18882
18902
|
frequency: a.frequency,
|
|
18883
18903
|
"current-timestamp": a.currentTimestamp
|
|
18884
18904
|
}, t.$attrs, {
|
|
18885
|
-
onCloseRecord:
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
onFrameCount: e[1] || (e[1] = (u) => a.frameCount = u)
|
|
18889
|
-
}), null, 16, ["is-playing", "enabled", "frequency", "current-timestamp"]),
|
|
18905
|
+
onCloseRecord: r.handleCloseRecord,
|
|
18906
|
+
onFrameCount: e[0] || (e[0] = (u) => a.frameCount = u)
|
|
18907
|
+
}), null, 16, ["is-playing", "enabled", "frequency", "current-timestamp", "onCloseRecord"]),
|
|
18890
18908
|
n("div", {
|
|
18891
18909
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
18892
18910
|
style: ge({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
|
|
@@ -18899,7 +18917,7 @@ function my(t, e, o, i, a, r) {
|
|
|
18899
18917
|
"open-on-click": !1
|
|
18900
18918
|
}, {
|
|
18901
18919
|
activator: x(({ props: u }) => [
|
|
18902
|
-
a.gifEnabled ? (A(),
|
|
18920
|
+
a.gifEnabled ? (A(), B(c, V({
|
|
18903
18921
|
key: 1,
|
|
18904
18922
|
disabled: a.frameCount < 1
|
|
18905
18923
|
}, u, {
|
|
@@ -18907,25 +18925,25 @@ function my(t, e, o, i, a, r) {
|
|
|
18907
18925
|
size: "small",
|
|
18908
18926
|
density: "comfortable",
|
|
18909
18927
|
variant: "text",
|
|
18910
|
-
onClick: e[
|
|
18928
|
+
onClick: e[2] || (e[2] = (h) => a.gifEnabled = !a.gifEnabled)
|
|
18911
18929
|
}), {
|
|
18912
|
-
default: x(() => e[
|
|
18930
|
+
default: x(() => e[14] || (e[14] = [
|
|
18913
18931
|
n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
|
|
18914
18932
|
])),
|
|
18915
18933
|
_: 2,
|
|
18916
|
-
__: [
|
|
18917
|
-
}, 1040, ["disabled"])) : (A(),
|
|
18934
|
+
__: [14]
|
|
18935
|
+
}, 1040, ["disabled"])) : (A(), B(c, V({ key: 0 }, u, {
|
|
18918
18936
|
icon: "",
|
|
18919
18937
|
size: "small",
|
|
18920
18938
|
density: "comfortable",
|
|
18921
18939
|
variant: "text",
|
|
18922
|
-
onClick: e[
|
|
18940
|
+
onClick: e[1] || (e[1] = (h) => a.gifEnabled = !a.gifEnabled)
|
|
18923
18941
|
}), {
|
|
18924
|
-
default: x(() => e[
|
|
18942
|
+
default: x(() => e[13] || (e[13] = [
|
|
18925
18943
|
n("i", { class: "iconfont icon-record" }, null, -1)
|
|
18926
18944
|
])),
|
|
18927
18945
|
_: 2,
|
|
18928
|
-
__: [
|
|
18946
|
+
__: [13]
|
|
18929
18947
|
}, 1040))
|
|
18930
18948
|
]),
|
|
18931
18949
|
_: 1
|
|
@@ -18944,11 +18962,11 @@ function my(t, e, o, i, a, r) {
|
|
|
18944
18962
|
variant: "text",
|
|
18945
18963
|
onClick: r.handleReset
|
|
18946
18964
|
}), {
|
|
18947
|
-
default: x(() => e[
|
|
18965
|
+
default: x(() => e[15] || (e[15] = [
|
|
18948
18966
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18949
18967
|
])),
|
|
18950
18968
|
_: 2,
|
|
18951
|
-
__: [
|
|
18969
|
+
__: [15]
|
|
18952
18970
|
}, 1040, ["onClick"])
|
|
18953
18971
|
]),
|
|
18954
18972
|
_: 1
|
|
@@ -18967,11 +18985,11 @@ function my(t, e, o, i, a, r) {
|
|
|
18967
18985
|
variant: "text",
|
|
18968
18986
|
onClick: r.handleBackward
|
|
18969
18987
|
}), {
|
|
18970
|
-
default: x(() => e[
|
|
18988
|
+
default: x(() => e[16] || (e[16] = [
|
|
18971
18989
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18972
18990
|
])),
|
|
18973
18991
|
_: 2,
|
|
18974
|
-
__: [
|
|
18992
|
+
__: [16]
|
|
18975
18993
|
}, 1040, ["onClick"])
|
|
18976
18994
|
]),
|
|
18977
18995
|
_: 1
|
|
@@ -18983,18 +19001,18 @@ function my(t, e, o, i, a, r) {
|
|
|
18983
19001
|
"open-on-click": !1
|
|
18984
19002
|
}, {
|
|
18985
19003
|
activator: x(({ props: u }) => [
|
|
18986
|
-
a.paused ? (A(),
|
|
19004
|
+
a.paused ? (A(), B(c, V({ key: 0 }, u, {
|
|
18987
19005
|
icon: "",
|
|
18988
19006
|
size: "small",
|
|
18989
19007
|
density: "comfortable",
|
|
18990
19008
|
variant: "text",
|
|
18991
19009
|
onClick: r.handlePlay
|
|
18992
19010
|
}), {
|
|
18993
|
-
default: x(() => e[
|
|
19011
|
+
default: x(() => e[17] || (e[17] = [
|
|
18994
19012
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18995
19013
|
])),
|
|
18996
19014
|
_: 2,
|
|
18997
|
-
__: [
|
|
19015
|
+
__: [17]
|
|
18998
19016
|
}, 1040, ["onClick"])) : I("", !0)
|
|
18999
19017
|
]),
|
|
19000
19018
|
_: 1
|
|
@@ -19006,18 +19024,18 @@ function my(t, e, o, i, a, r) {
|
|
|
19006
19024
|
"open-on-click": !1
|
|
19007
19025
|
}, {
|
|
19008
19026
|
activator: x(({ props: u }) => [
|
|
19009
|
-
a.paused ? I("", !0) : (A(),
|
|
19027
|
+
a.paused ? I("", !0) : (A(), B(c, V({ key: 0 }, u, {
|
|
19010
19028
|
icon: "",
|
|
19011
19029
|
size: "small",
|
|
19012
19030
|
density: "comfortable",
|
|
19013
19031
|
variant: "text",
|
|
19014
19032
|
onClick: r.handlePause
|
|
19015
19033
|
}), {
|
|
19016
|
-
default: x(() => e[
|
|
19034
|
+
default: x(() => e[18] || (e[18] = [
|
|
19017
19035
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
19018
19036
|
])),
|
|
19019
19037
|
_: 2,
|
|
19020
|
-
__: [
|
|
19038
|
+
__: [18]
|
|
19021
19039
|
}, 1040, ["onClick"]))
|
|
19022
19040
|
]),
|
|
19023
19041
|
_: 1
|
|
@@ -19036,11 +19054,11 @@ function my(t, e, o, i, a, r) {
|
|
|
19036
19054
|
variant: "text",
|
|
19037
19055
|
onClick: r.handleForward
|
|
19038
19056
|
}), {
|
|
19039
|
-
default: x(() => e[
|
|
19057
|
+
default: x(() => e[19] || (e[19] = [
|
|
19040
19058
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
19041
19059
|
])),
|
|
19042
19060
|
_: 2,
|
|
19043
|
-
__: [
|
|
19061
|
+
__: [19]
|
|
19044
19062
|
}, 1040, ["onClick"])
|
|
19045
19063
|
]),
|
|
19046
19064
|
_: 1
|
|
@@ -19063,7 +19081,7 @@ function my(t, e, o, i, a, r) {
|
|
|
19063
19081
|
default: x(() => [
|
|
19064
19082
|
w(g, { class: "pa-1" }, {
|
|
19065
19083
|
default: x(() => [
|
|
19066
|
-
(A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(),
|
|
19084
|
+
(A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(), B(p, {
|
|
19067
19085
|
key: h,
|
|
19068
19086
|
value: u,
|
|
19069
19087
|
variant: a.intervalHour === u ? "tonal" : "text",
|
|
@@ -19105,10 +19123,10 @@ function my(t, e, o, i, a, r) {
|
|
|
19105
19123
|
n("div", {
|
|
19106
19124
|
ref: "timelineScroll",
|
|
19107
19125
|
class: ue(["timeline-scroll", { dragging: a.isDragging }]),
|
|
19108
|
-
onMousedown: e[
|
|
19109
|
-
onMousemove: e[
|
|
19110
|
-
onMouseup: e[
|
|
19111
|
-
onMouseleave: e[
|
|
19126
|
+
onMousedown: e[3] || (e[3] = (...u) => r.handleDragStart && r.handleDragStart(...u)),
|
|
19127
|
+
onMousemove: e[4] || (e[4] = (...u) => r.handleDragMove && r.handleDragMove(...u)),
|
|
19128
|
+
onMouseup: e[5] || (e[5] = (...u) => r.handleDragEnd && r.handleDragEnd(...u)),
|
|
19129
|
+
onMouseleave: e[6] || (e[6] = (...u) => r.handleDragEnd && r.handleDragEnd(...u))
|
|
19112
19130
|
}, [
|
|
19113
19131
|
n("div", Q1, [
|
|
19114
19132
|
(A(!0), R(Ce, null, Me(r.timelineDays, (u, h) => (A(), R("div", {
|
|
@@ -19128,7 +19146,7 @@ function my(t, e, o, i, a, r) {
|
|
|
19128
19146
|
}, [
|
|
19129
19147
|
f.isCurrent ? (A(), R("div", ty, [
|
|
19130
19148
|
n("span", oy, y(r.playBubbleText), 1),
|
|
19131
|
-
e[
|
|
19149
|
+
e[20] || (e[20] = n("span", { class: "bubble-arrow" }, null, -1))
|
|
19132
19150
|
])) : I("", !0),
|
|
19133
19151
|
a.intervalHour < 24 ? (A(), R("span", ay, y(f.label), 1)) : I("", !0)
|
|
19134
19152
|
], 14, ey))), 128))
|
|
@@ -19156,13 +19174,13 @@ function my(t, e, o, i, a, r) {
|
|
|
19156
19174
|
height: "24",
|
|
19157
19175
|
width: "24",
|
|
19158
19176
|
"min-width": "24",
|
|
19159
|
-
onClick: e[
|
|
19177
|
+
onClick: e[7] || (e[7] = (z) => r.handleClickFastWeather("wind"))
|
|
19160
19178
|
}), {
|
|
19161
|
-
default: x(() => e[
|
|
19179
|
+
default: x(() => e[21] || (e[21] = [
|
|
19162
19180
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
19163
19181
|
])),
|
|
19164
19182
|
_: 2,
|
|
19165
|
-
__: [
|
|
19183
|
+
__: [21]
|
|
19166
19184
|
}, 1040, ["color", "variant"])
|
|
19167
19185
|
];
|
|
19168
19186
|
}),
|
|
@@ -19182,7 +19200,7 @@ function my(t, e, o, i, a, r) {
|
|
|
19182
19200
|
height: "24",
|
|
19183
19201
|
width: "24",
|
|
19184
19202
|
"min-width": "24",
|
|
19185
|
-
onClick: e[
|
|
19203
|
+
onClick: e[8] || (e[8] = (z) => r.handleClickFastWeather("sig-wave-height"))
|
|
19186
19204
|
}), {
|
|
19187
19205
|
default: x(() => [
|
|
19188
19206
|
n("i", V(u, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
@@ -19207,7 +19225,7 @@ function my(t, e, o, i, a, r) {
|
|
|
19207
19225
|
height: "24",
|
|
19208
19226
|
width: "24",
|
|
19209
19227
|
"min-width": "24",
|
|
19210
|
-
onClick: e[
|
|
19228
|
+
onClick: e[9] || (e[9] = (z) => r.handleClickFastWeather("current-direction"))
|
|
19211
19229
|
}), {
|
|
19212
19230
|
default: x(() => [
|
|
19213
19231
|
n("i", V(u, { class: "iconfont icon-Current" }), null, 16)
|
|
@@ -19250,26 +19268,26 @@ function my(t, e, o, i, a, r) {
|
|
|
19250
19268
|
height: "30",
|
|
19251
19269
|
class: ue(["px-2 elevation-0 text-body-1 btn-border-2", a.source === "GFS" ? "bg-primary" : "btn-bg-2"]),
|
|
19252
19270
|
color: a.source === "GFS" ? "primary" : "",
|
|
19253
|
-
onClick: e[
|
|
19271
|
+
onClick: e[10] || (e[10] = (u) => a.source = "GFS")
|
|
19254
19272
|
}, {
|
|
19255
|
-
default: x(() => e[
|
|
19273
|
+
default: x(() => e[22] || (e[22] = [
|
|
19256
19274
|
N(" NOAA ", -1)
|
|
19257
19275
|
])),
|
|
19258
19276
|
_: 1,
|
|
19259
|
-
__: [
|
|
19277
|
+
__: [22]
|
|
19260
19278
|
}, 8, ["color", "class"]),
|
|
19261
19279
|
w(c, {
|
|
19262
19280
|
text: "",
|
|
19263
19281
|
height: "30",
|
|
19264
19282
|
class: ue(["px-2 elevation-0 text-body-1 btn-border-2", a.source === "ECMWF" ? "bg-primary" : "btn-bg-2"]),
|
|
19265
19283
|
color: a.source === "ECMWF" ? "primary" : "",
|
|
19266
|
-
onClick: e[
|
|
19284
|
+
onClick: e[11] || (e[11] = (u) => a.source = "ECMWF")
|
|
19267
19285
|
}, {
|
|
19268
|
-
default: x(() => e[
|
|
19286
|
+
default: x(() => e[23] || (e[23] = [
|
|
19269
19287
|
N(" ECMWF ", -1)
|
|
19270
19288
|
])),
|
|
19271
19289
|
_: 1,
|
|
19272
|
-
__: [
|
|
19290
|
+
__: [23]
|
|
19273
19291
|
}, 8, ["class", "color"])
|
|
19274
19292
|
])
|
|
19275
19293
|
], 4),
|
|
@@ -19291,7 +19309,7 @@ function my(t, e, o, i, a, r) {
|
|
|
19291
19309
|
height: "28",
|
|
19292
19310
|
class: "pa-1 text-body-1",
|
|
19293
19311
|
color: "primary",
|
|
19294
|
-
onClick: e[
|
|
19312
|
+
onClick: e[12] || (e[12] = (u) => a.showTimezone = !a.showTimezone)
|
|
19295
19313
|
}, {
|
|
19296
19314
|
default: x(() => [
|
|
19297
19315
|
N(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
@@ -19456,7 +19474,7 @@ function py(t, e, o, i, a, r) {
|
|
|
19456
19474
|
map: o.map,
|
|
19457
19475
|
"map-feather": o.mapFeather
|
|
19458
19476
|
}, t.$attrs), null, 16, ["simple", "map", "map-feather"]),
|
|
19459
|
-
o.simple ? I("", !0) : (A(),
|
|
19477
|
+
o.simple ? I("", !0) : (A(), B(p, V({
|
|
19460
19478
|
key: 0,
|
|
19461
19479
|
simple: o.simple,
|
|
19462
19480
|
map: o.map,
|
|
@@ -19465,7 +19483,7 @@ function py(t, e, o, i, a, r) {
|
|
|
19465
19483
|
"default-meteo-token": a.defaultMeteoToken,
|
|
19466
19484
|
token: o.token
|
|
19467
19485
|
}, t.$attrs), null, 16, ["simple", "map", "map-feather", "gateway", "default-meteo-token", "token"])),
|
|
19468
|
-
!o.simple && !o.showTimeline ? (A(),
|
|
19486
|
+
!o.simple && !o.showTimeline ? (A(), B(g, V({
|
|
19469
19487
|
key: 1,
|
|
19470
19488
|
ref: "idmBottomBar",
|
|
19471
19489
|
"forecast-model": o.forecastModel,
|
|
@@ -19475,7 +19493,7 @@ function py(t, e, o, i, a, r) {
|
|
|
19475
19493
|
"default-meteo-token": a.defaultMeteoToken,
|
|
19476
19494
|
token: o.token
|
|
19477
19495
|
}, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])) : I("", !0),
|
|
19478
|
-
!o.simple && o.showTimeline ? (A(),
|
|
19496
|
+
!o.simple && o.showTimeline ? (A(), B(b, V({
|
|
19479
19497
|
key: 2,
|
|
19480
19498
|
ref: "idmBottomBar",
|
|
19481
19499
|
"forecast-model": o.forecastModel,
|
|
@@ -19485,7 +19503,7 @@ function py(t, e, o, i, a, r) {
|
|
|
19485
19503
|
"default-meteo-token": a.defaultMeteoToken,
|
|
19486
19504
|
token: o.token
|
|
19487
19505
|
}, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])) : I("", !0),
|
|
19488
|
-
o.simple ? (A(),
|
|
19506
|
+
o.simple ? (A(), B(u, V({
|
|
19489
19507
|
key: 3,
|
|
19490
19508
|
ref: "idmBottomBar",
|
|
19491
19509
|
"player-bottom": a.playerBottom,
|
|
@@ -19505,7 +19523,7 @@ class fy {
|
|
|
19505
19523
|
ve(this, "hi");
|
|
19506
19524
|
ve(this, "td");
|
|
19507
19525
|
ve(this, "windy");
|
|
19508
|
-
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F,
|
|
19526
|
+
var i, a, r, l, c, s, m, d, p, g, b, u, h, f, z, v, C, k, P, _, D, T, F, j, G, U, ae, re, xe, fe, E, $, te, se, q, Y, le, W, J, ye, Le, ze, he, ke, ee, we, Ee, Ge, $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, Gt, Ft, Bt, jt, Nt, Wt, Zt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ie, oe, ct, qe, Ze, K, ro, ce, Be, mt, ft, yt, X, dt, Q, ht, no, pe, 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, Ga, Fa, Ba, ja, Na, Wa, Za, 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, Gi, Fi, Bi, ji, Ni, Wi, Zi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, er, tr, or, ar, ir, rr, lr, nr, sr, cr, mr, dr;
|
|
19509
19527
|
this.i4 = {
|
|
19510
19528
|
source: {
|
|
19511
19529
|
type: "raster",
|
|
@@ -38146,7 +38164,7 @@ class fy {
|
|
|
38146
38164
|
(k = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : k.find((L) => L.id === "country-boundaries"),
|
|
38147
38165
|
(_ = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : _.find((L) => L.id === "water-outline"),
|
|
38148
38166
|
(T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((L) => L.id === "water-outline2"),
|
|
38149
|
-
(
|
|
38167
|
+
(j = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : j.find((L) => L.id === "empty-layer-2"),
|
|
38150
38168
|
(U = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : U.find((L) => L.id === "water-line-label"),
|
|
38151
38169
|
(re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((L) => L.id === "water-point-label"),
|
|
38152
38170
|
(fe = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : fe.find((L) => L.id === "world-12nm-v4-20231025"),
|
|
@@ -38160,7 +38178,7 @@ class fy {
|
|
|
38160
38178
|
(we = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : we.find((L) => L.id === "china-route-label"),
|
|
38161
38179
|
(Ge = (Ee = this.originStyle) == null ? void 0 : Ee.light.layers) == null ? void 0 : Ge.find((L) => L.id === "admin-0-boundary-bg"),
|
|
38162
38180
|
(et = ($e = this.originStyle) == null ? void 0 : $e.light.layers) == null ? void 0 : et.find((L) => L.id === "admin-0-boundary"),
|
|
38163
|
-
(
|
|
38181
|
+
(je = (Je = this.originStyle) == null ? void 0 : Je.light.layers) == null ? void 0 : je.find((L) => L.id === "admin-0-boundary-disputed"),
|
|
38164
38182
|
(Oe = (tt = this.originStyle) == null ? void 0 : tt.light.layers) == null ? void 0 : Oe.find((L) => L.id === "country-label"),
|
|
38165
38183
|
(Ke = (He = this.originStyle) == null ? void 0 : He.light.layers) == null ? void 0 : Ke.find((L) => L.id === "continent-label"),
|
|
38166
38184
|
(at = (ot = this.originStyle) == null ? void 0 : ot.light.layers) == null ? void 0 : at.find((L) => L.id === "tide-stations"),
|
|
@@ -38199,8 +38217,8 @@ class fy {
|
|
|
38199
38217
|
(Rt = (Tt = this.originStyle) == null ? void 0 : Tt.dark.layers) == null ? void 0 : Rt.find((L) => L.id === "empty-layer-0"),
|
|
38200
38218
|
(It = (Dt = this.originStyle) == null ? void 0 : Dt.dark.layers) == null ? void 0 : It.find((L) => L.id === "empty-layer-1"),
|
|
38201
38219
|
(Gt = (Et = this.originStyle) == null ? void 0 : Et.dark.layers) == null ? void 0 : Gt.find((L) => L.id === "country-boundaries"),
|
|
38202
|
-
(
|
|
38203
|
-
(Nt = (
|
|
38220
|
+
(Bt = (Ft = this.originStyle) == null ? void 0 : Ft.dark.layers) == null ? void 0 : Bt.find((L) => L.id === "water-outline"),
|
|
38221
|
+
(Nt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Nt.find((L) => L.id === "empty-layer-2"),
|
|
38204
38222
|
(Zt = (Wt = this.originStyle) == null ? void 0 : Wt.dark.layers) == null ? void 0 : Zt.find((L) => L.id === "water-line-label"),
|
|
38205
38223
|
(Xt = (Vt = this.originStyle) == null ? void 0 : Vt.dark.layers) == null ? void 0 : Xt.find((L) => L.id === "water-point-label"),
|
|
38206
38224
|
(Ht = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Ht.find((L) => L.id === "world-12nm-v4-20231025"),
|
|
@@ -38218,7 +38236,7 @@ class fy {
|
|
|
38218
38236
|
(qe = (ct = this.originStyle) == null ? void 0 : ct.dark.layers) == null ? void 0 : qe.find((L) => L.id === "country-label"),
|
|
38219
38237
|
(K = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : K.find((L) => L.id === "continent-label"),
|
|
38220
38238
|
(ce = (ro = this.originStyle) == null ? void 0 : ro.dark.layers) == null ? void 0 : ce.find((L) => L.id === "tide-stations"),
|
|
38221
|
-
(mt = (
|
|
38239
|
+
(mt = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : mt.find((L) => L.id === "empty-layer-3"),
|
|
38222
38240
|
(yt = (ft = this.originStyle) == null ? void 0 : ft.dark.layers) == null ? void 0 : yt.find((L) => L.id === "empty-layer-4")
|
|
38223
38241
|
]
|
|
38224
38242
|
},
|
|
@@ -38260,7 +38278,7 @@ class fy {
|
|
|
38260
38278
|
(Da = (Ra = this.originStyle) == null ? void 0 : Ra.satellite.layers) == null ? void 0 : Da.find((L) => L.id === "ne-10m-outline"),
|
|
38261
38279
|
(Ea = (Ia = this.originStyle) == null ? void 0 : Ia.satellite.layers) == null ? void 0 : Ea.find((L) => L.id === "ne-10m-label"),
|
|
38262
38280
|
(Fa = (Ga = this.originStyle) == null ? void 0 : Ga.satellite.layers) == null ? void 0 : Fa.find((L) => L.id === "china-route-line"),
|
|
38263
|
-
(
|
|
38281
|
+
(ja = (Ba = this.originStyle) == null ? void 0 : Ba.satellite.layers) == null ? void 0 : ja.find((L) => L.id === "china-route-fill"),
|
|
38264
38282
|
(Wa = (Na = this.originStyle) == null ? void 0 : Na.satellite.layers) == null ? void 0 : Wa.find((L) => L.id === "china-route-label"),
|
|
38265
38283
|
(Va = (Za = this.originStyle) == null ? void 0 : Za.dark.layers) == null ? void 0 : Va.find((L) => L.id === "admin-0-boundary-bg"),
|
|
38266
38284
|
(Oa = (Xa = this.originStyle) == null ? void 0 : Xa.dark.layers) == null ? void 0 : Oa.find((L) => L.id === "admin-0-boundary"),
|
|
@@ -38304,7 +38322,7 @@ class fy {
|
|
|
38304
38322
|
(Di = (Ri = this.originStyle) == null ? void 0 : Ri.light.layers) == null ? void 0 : Di.find((L) => L.id === "world-12nm-v4-20231025"),
|
|
38305
38323
|
(Ei = (Ii = this.originStyle) == null ? void 0 : Ii.light.layers) == null ? void 0 : Ei.find((L) => L.id === "nsr-flll"),
|
|
38306
38324
|
(Fi = (Gi = this.originStyle) == null ? void 0 : Gi.light.layers) == null ? void 0 : Fi.find((L) => L.id === "nsr-line"),
|
|
38307
|
-
(
|
|
38325
|
+
(ji = (Bi = this.originStyle) == null ? void 0 : Bi.light.layers) == null ? void 0 : ji.find((L) => L.id === "nsr-label"),
|
|
38308
38326
|
(Wi = (Ni = this.originStyle) == null ? void 0 : Ni.light.layers) == null ? void 0 : Wi.find((L) => L.id === "ne-10m-outline"),
|
|
38309
38327
|
(Vi = (Zi = this.originStyle) == null ? void 0 : Zi.light.layers) == null ? void 0 : Vi.find((L) => L.id === "ne-10m-label"),
|
|
38310
38328
|
(Oi = (Xi = this.originStyle) == null ? void 0 : Xi.light.layers) == null ? void 0 : Oi.find((L) => L.id === "china-route-line"),
|
|
@@ -38553,7 +38571,7 @@ function Ay(t, e, o, i, a, r) {
|
|
|
38553
38571
|
group: ""
|
|
38554
38572
|
}, {
|
|
38555
38573
|
default: x(() => [
|
|
38556
|
-
(A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(),
|
|
38574
|
+
(A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(), B(l, {
|
|
38557
38575
|
key: s,
|
|
38558
38576
|
value: s,
|
|
38559
38577
|
"min-width": "32",
|
|
@@ -38842,7 +38860,7 @@ function Sy(t, e, o, i, a, r) {
|
|
|
38842
38860
|
onClick: e[0] || (e[0] = (...b) => r.handleOpenDatePicker && r.handleOpenDatePicker(...b))
|
|
38843
38861
|
}, [
|
|
38844
38862
|
n("span", _y, y(a.dateRangeStr), 1),
|
|
38845
|
-
a.dateRangeStr ? (A(),
|
|
38863
|
+
a.dateRangeStr ? (A(), B(l, {
|
|
38846
38864
|
key: 0,
|
|
38847
38865
|
class: "text-h5",
|
|
38848
38866
|
icon: "mdi-close-circle",
|
|
@@ -38850,7 +38868,7 @@ function Sy(t, e, o, i, a, r) {
|
|
|
38850
38868
|
onClick: _e(r.handleClearDate, ["stop"])
|
|
38851
38869
|
}, null, 8, ["onClick"])) : I("", !0)
|
|
38852
38870
|
], 4),
|
|
38853
|
-
a.showDatePicker ? (A(),
|
|
38871
|
+
a.showDatePicker ? (A(), B(g, {
|
|
38854
38872
|
key: 0,
|
|
38855
38873
|
class: "card-box d-flex flex-column border elevation-12",
|
|
38856
38874
|
style: ge(r.getStyle)
|
|
@@ -38906,7 +38924,7 @@ function Sy(t, e, o, i, a, r) {
|
|
|
38906
38924
|
var b, u;
|
|
38907
38925
|
return [
|
|
38908
38926
|
(b = o.fastPick) != null && b.show ? (A(), R("div", My, [
|
|
38909
|
-
(A(!0), R(Ce, null, Me((u = a.fastPickOptions) == null ? void 0 : u.filter((h) => o.fastPick.allows.some((f) => f === h)), (h) => (A(),
|
|
38927
|
+
(A(!0), R(Ce, null, Me((u = a.fastPickOptions) == null ? void 0 : u.filter((h) => o.fastPick.allows.some((f) => f === h)), (h) => (A(), B(d, {
|
|
38910
38928
|
key: h,
|
|
38911
38929
|
size: "small",
|
|
38912
38930
|
color: a.activeFastPick === h ? "primary" : "",
|
|
@@ -38956,12 +38974,12 @@ function Sy(t, e, o, i, a, r) {
|
|
|
38956
38974
|
}
|
|
38957
38975
|
const Ty = /* @__PURE__ */ ne(Ly, [["render", Sy]]), Yy = {
|
|
38958
38976
|
install(t) {
|
|
38959
|
-
t.component("MapInitial", ky), t.component("MapboxGL", gy), t.component("TropicalGL", Gr), t.component("LatLngGL", Er), t.component("DateTimePicker",
|
|
38977
|
+
t.component("MapInitial", ky), t.component("MapboxGL", gy), t.component("TropicalGL", Gr), t.component("LatLngGL", Er), t.component("DateTimePicker", qo), t.component("DateRangePicker", Ty), t.component("PortDetail", ha), t.component("BottomTimePlayer", tl);
|
|
38960
38978
|
}
|
|
38961
38979
|
};
|
|
38962
38980
|
export {
|
|
38963
38981
|
tl as B,
|
|
38964
|
-
|
|
38982
|
+
qo as D,
|
|
38965
38983
|
Er as L,
|
|
38966
38984
|
Yy as M,
|
|
38967
38985
|
ha as P,
|
|
@@ -38974,5 +38992,5 @@ export {
|
|
|
38974
38992
|
Pe as d,
|
|
38975
38993
|
Ue as e,
|
|
38976
38994
|
fy as f,
|
|
38977
|
-
|
|
38995
|
+
Bo as l
|
|
38978
38996
|
};
|