@idmwx/idmui-gl4 3.5.9 → 3.6.0
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-4c6cf162.js → chunk-3VYIPD3A-27ea74b9.js} +1 -1
- package/dist/{chunk-ANSXOGKI-76beedf9.js → chunk-ANSXOGKI-3c0d889a.js} +1 -1
- package/dist/{chunk-T4JIPPZO-03c56c7b.js → chunk-T4JIPPZO-37810b1b.js} +1 -1
- package/dist/{download-4477d123.js → download-558eb2c8.js} +3 -3
- package/dist/{index-62e95a3b.js → index-96a2b166.js} +636 -626
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +12 -12
- package/dist/mapbox/src/components/map/index.vue.d.ts +5 -3
- package/dist/mapbox/src/helper/mapbox.d.ts +2 -2
- package/dist/{rasterize-JS5G2XHH-6880f738.js → rasterize-JS5G2XHH-12fed3a5.js} +3 -3
- package/dist/{toBlob-ad6cc35a.js → toBlob-192fbb34.js} +3 -3
- package/dist/{toCanvas-98141454.js → toCanvas-49669d9c.js} +2 -2
- package/dist/{toImg-0ca56397.js → toImg-378c92f2.js} +3 -3
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ var ar = (t, e, o) => e in t ? or(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ke = (t, e, o) => (ar(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Ie from "axios";
|
|
5
5
|
import { useTheme as Ze } from "vuetify";
|
|
6
|
-
import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as F, normalizeClass as ue, withCtx as
|
|
7
|
-
import
|
|
6
|
+
import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as F, normalizeClass as ue, withCtx as v, 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
|
+
import xe from "mapbox-gl";
|
|
8
8
|
import S from "moment";
|
|
9
9
|
import { LngLatHelper as H, TropicalHelper as hl, LaneHelper as pt, GeoJsonHelper as ut } from "@idm-plugin/geo";
|
|
10
10
|
import { Meteo2Assist as Zo, TidesAssist as Il } from "@idm-plugin/meteo";
|
|
@@ -508,7 +508,7 @@ const br = {
|
|
|
508
508
|
const o = (a = document.getElementById("idm-gl4-zone-info")) == null ? void 0 : a.cloneNode(!0), i = (l = o == null ? void 0 : o.children[1]) == null ? void 0 : l.children[0];
|
|
509
509
|
i && (i.onclick = () => {
|
|
510
510
|
this.handleRemoveMarker();
|
|
511
|
-
}), this.marker = new
|
|
511
|
+
}), this.marker = new xe.Marker(o).setLngLat(t).setOffset([230, 0]).addTo(this.map);
|
|
512
512
|
});
|
|
513
513
|
},
|
|
514
514
|
handleRemoveMarker() {
|
|
@@ -517,16 +517,16 @@ const br = {
|
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
}, wr = ["innerHTML"];
|
|
520
|
-
function
|
|
520
|
+
function vr(t, e, o, i, a, l) {
|
|
521
521
|
const r = M("VBtn"), c = M("VCardText"), s = M("VCard");
|
|
522
522
|
return a.showMakerInfo ? (A(), F(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"])
|
|
526
526
|
}, {
|
|
527
|
-
default:
|
|
527
|
+
default: v(() => [
|
|
528
528
|
w(c, null, {
|
|
529
|
-
default:
|
|
529
|
+
default: v(() => {
|
|
530
530
|
var d;
|
|
531
531
|
return [
|
|
532
532
|
w(r, {
|
|
@@ -536,7 +536,7 @@ function xr(t, e, o, i, a, l) {
|
|
|
536
536
|
class: "close",
|
|
537
537
|
onClick: _e(l.handleRemoveMarker, ["stop"])
|
|
538
538
|
}, {
|
|
539
|
-
default:
|
|
539
|
+
default: v(() => e[0] || (e[0] = [
|
|
540
540
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
541
541
|
])),
|
|
542
542
|
_: 1,
|
|
@@ -554,7 +554,7 @@ function xr(t, e, o, i, a, l) {
|
|
|
554
554
|
_: 1
|
|
555
555
|
}, 8, ["class"])) : I("", !0);
|
|
556
556
|
}
|
|
557
|
-
const
|
|
557
|
+
const xr = /* @__PURE__ */ ne(br, [["render", vr]]);
|
|
558
558
|
const Ar = {
|
|
559
559
|
name: "PortDetail",
|
|
560
560
|
props: {
|
|
@@ -751,10 +751,10 @@ const Ar = {
|
|
|
751
751
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
752
752
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
753
753
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
754
|
-
var c, s, d, m, p, g, b, u, h, f, L,
|
|
754
|
+
var c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
|
|
755
755
|
let l = {};
|
|
756
756
|
const r = ((c = Zo.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
|
|
757
|
-
l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (
|
|
757
|
+
l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (x = (L = r == null ? void 0 : r.weather) == null ? void 0 : L.wind) == null ? void 0 : x.direction, l.windLevel = this.computeRoundPrecision((z = (C = r == null ? void 0 : r.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((_ = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (B = r == null ? void 0 : r.wave) == null ? void 0 : B.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((Q = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : Q.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ie = r == null ? void 0 : r.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (ve = r == null ? void 0 : r.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision(($ = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (te = r == null ? void 0 : r.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (q = r == null ? void 0 : r.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
|
|
758
758
|
});
|
|
759
759
|
},
|
|
760
760
|
handleTide() {
|
|
@@ -950,10 +950,10 @@ const Ar = {
|
|
|
950
950
|
}, wn = {
|
|
951
951
|
class: "px-1 text-center text-label font-weight-400",
|
|
952
952
|
width: "120"
|
|
953
|
-
},
|
|
953
|
+
}, vn = {
|
|
954
954
|
class: "px-1 text-center text-label font-weight-400",
|
|
955
955
|
width: "120"
|
|
956
|
-
},
|
|
956
|
+
}, xn = {
|
|
957
957
|
class: "px-1 text-center text-label font-weight-400",
|
|
958
958
|
width: "120"
|
|
959
959
|
}, An = { class: "px-1 text-center" }, kn = { class: "px-1 text-center" }, Ln = { class: "px-1 text-center" };
|
|
@@ -962,12 +962,12 @@ function zn(t, e, o, i, a, l) {
|
|
|
962
962
|
return A(), F(m, {
|
|
963
963
|
class: ue(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
964
964
|
}, {
|
|
965
|
-
default:
|
|
965
|
+
default: v(() => {
|
|
966
966
|
var p, g, b;
|
|
967
967
|
return [
|
|
968
968
|
w(c, { class: "w-100" }, {
|
|
969
|
-
default:
|
|
970
|
-
var u, h, f, L,
|
|
969
|
+
default: v(() => {
|
|
970
|
+
var u, h, f, L, x, C;
|
|
971
971
|
return [
|
|
972
972
|
n("div", kr, [
|
|
973
973
|
n("div", Lr, [
|
|
@@ -978,7 +978,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
978
978
|
n("div", null, y((L = o.port) == null ? void 0 : L.name), 1)
|
|
979
979
|
]),
|
|
980
980
|
o.simple ? (A(), R("div", zr, [
|
|
981
|
-
(
|
|
981
|
+
(x = o.followList) != null && x.some((z) => {
|
|
982
982
|
var P;
|
|
983
983
|
return ((P = z.port) == null ? void 0 : P.id) === o.portId;
|
|
984
984
|
}) ? (A(), F(r, {
|
|
@@ -991,7 +991,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
991
991
|
"min-width": "28",
|
|
992
992
|
onClick: l.handleCancelFollow
|
|
993
993
|
}, {
|
|
994
|
-
default:
|
|
994
|
+
default: v(() => e[2] || (e[2] = [
|
|
995
995
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
996
996
|
])),
|
|
997
997
|
_: 1,
|
|
@@ -1006,7 +1006,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1006
1006
|
"min-width": "28",
|
|
1007
1007
|
onClick: l.handleFollow
|
|
1008
1008
|
}, {
|
|
1009
|
-
default:
|
|
1009
|
+
default: v(() => e[3] || (e[3] = [
|
|
1010
1010
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
1011
1011
|
])),
|
|
1012
1012
|
_: 1,
|
|
@@ -1019,7 +1019,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1019
1019
|
class: "",
|
|
1020
1020
|
onClick: l.handleClose
|
|
1021
1021
|
}, {
|
|
1022
|
-
default:
|
|
1022
|
+
default: v(() => e[4] || (e[4] = [
|
|
1023
1023
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1024
1024
|
])),
|
|
1025
1025
|
_: 1,
|
|
@@ -1033,7 +1033,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1033
1033
|
class: "",
|
|
1034
1034
|
onClick: l.handleClose
|
|
1035
1035
|
}, {
|
|
1036
|
-
default:
|
|
1036
|
+
default: v(() => e[5] || (e[5] = [
|
|
1037
1037
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1038
1038
|
])),
|
|
1039
1039
|
_: 1,
|
|
@@ -1065,10 +1065,10 @@ function zn(t, e, o, i, a, l) {
|
|
|
1065
1065
|
height: "32",
|
|
1066
1066
|
onClick: l.handleCancelFollow
|
|
1067
1067
|
}, {
|
|
1068
|
-
prepend:
|
|
1068
|
+
prepend: v(() => e[7] || (e[7] = [
|
|
1069
1069
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
1070
1070
|
])),
|
|
1071
|
-
default:
|
|
1071
|
+
default: v(() => [
|
|
1072
1072
|
N(" " + y(t.$t("actions.unfollow")), 1)
|
|
1073
1073
|
]),
|
|
1074
1074
|
_: 1
|
|
@@ -1080,10 +1080,10 @@ function zn(t, e, o, i, a, l) {
|
|
|
1080
1080
|
height: "32",
|
|
1081
1081
|
onClick: l.handleFollow
|
|
1082
1082
|
}, {
|
|
1083
|
-
prepend:
|
|
1083
|
+
prepend: v(() => e[8] || (e[8] = [
|
|
1084
1084
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
1085
1085
|
])),
|
|
1086
|
-
default:
|
|
1086
|
+
default: v(() => [
|
|
1087
1087
|
N(y(t.$t("actions.follow")) + " ", 1)
|
|
1088
1088
|
]),
|
|
1089
1089
|
_: 1
|
|
@@ -1095,7 +1095,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1095
1095
|
height: "32",
|
|
1096
1096
|
onClick: l.handleMeteoMore
|
|
1097
1097
|
}, {
|
|
1098
|
-
default:
|
|
1098
|
+
default: v(() => [
|
|
1099
1099
|
N(y(t.$t("actions.7dayForcast")), 1)
|
|
1100
1100
|
]),
|
|
1101
1101
|
_: 1
|
|
@@ -1158,7 +1158,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1158
1158
|
rounded: "1",
|
|
1159
1159
|
mandatory: ""
|
|
1160
1160
|
}, {
|
|
1161
|
-
default:
|
|
1161
|
+
default: v(() => [
|
|
1162
1162
|
(A(!0), R(Ce, null, Me(l.dateList, (u) => (A(), F(r, {
|
|
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"}`]),
|
|
@@ -1167,7 +1167,7 @@ function zn(t, e, o, i, a, l) {
|
|
|
1167
1167
|
height: "26",
|
|
1168
1168
|
value: u.index
|
|
1169
1169
|
}, {
|
|
1170
|
-
default:
|
|
1170
|
+
default: v(() => [
|
|
1171
1171
|
N(y(u.label), 1)
|
|
1172
1172
|
]),
|
|
1173
1173
|
_: 2
|
|
@@ -1254,8 +1254,8 @@ function zn(t, e, o, i, a, l) {
|
|
|
1254
1254
|
n("tbody", null, [
|
|
1255
1255
|
n("tr", null, [
|
|
1256
1256
|
n("th", wn, y(t.$t("tide.tide")), 1),
|
|
1257
|
-
n("th",
|
|
1258
|
-
n("th",
|
|
1257
|
+
n("th", vn, y(t.$t("time.time")) + " ( LT ) ", 1),
|
|
1258
|
+
n("th", xn, y(t.$t("tide.height")) + " ( m )", 1)
|
|
1259
1259
|
]),
|
|
1260
1260
|
(A(!0), R(Ce, null, Me(a.tideTableData, (u, h) => {
|
|
1261
1261
|
var f;
|
|
@@ -1371,7 +1371,7 @@ const _n = {
|
|
|
1371
1371
|
if (e.properties.id) {
|
|
1372
1372
|
this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
|
|
1373
1373
|
const l = (a = document.getElementById("idmPortInfo")) == null ? void 0 : a.cloneNode(!0);
|
|
1374
|
-
this.marker = new
|
|
1374
|
+
this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
|
|
1375
1375
|
}
|
|
1376
1376
|
},
|
|
1377
1377
|
handleLeave() {
|
|
@@ -1390,9 +1390,9 @@ function Sn(t, e, o, i, a, l) {
|
|
|
1390
1390
|
id: "idmPortInfo",
|
|
1391
1391
|
ref: "idmPortInfo"
|
|
1392
1392
|
}, {
|
|
1393
|
-
default:
|
|
1393
|
+
default: v(() => [
|
|
1394
1394
|
w(r, { class: "text-body-1 pr-8" }, {
|
|
1395
|
-
default:
|
|
1395
|
+
default: v(() => [
|
|
1396
1396
|
n("div", Cn, [
|
|
1397
1397
|
n("div", null, y(t.$t("port.port")), 1),
|
|
1398
1398
|
n("div", Mn, [
|
|
@@ -1662,7 +1662,7 @@ const In = /* @__PURE__ */ ne(Rn, [["render", Dn]]), En = {
|
|
|
1662
1662
|
}), (i = this.map.getSource(this.source)) == null || i.setData(a);
|
|
1663
1663
|
const l = document.createElement("div");
|
|
1664
1664
|
l.className = "v-card--variant-elevated rounded px-2 py-1 text-body-1", l.innerHTML = `<div>UTC ${t.features[0].properties.offSet}:00</div>
|
|
1665
|
-
<div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new
|
|
1665
|
+
<div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
|
|
1666
1666
|
}
|
|
1667
1667
|
},
|
|
1668
1668
|
handleLeave() {
|
|
@@ -2368,7 +2368,7 @@ const ls = {
|
|
|
2368
2368
|
}, rs = { class: "d-flex justify-space-between align-center" }, ns = { class: "d-flex justify-start text-h5 my-2" }, ss = { class: "d-flex justify-start align-center text-h6 text-label ga-3" }, cs = { class: "summary-box w-100" }, ms = { class: "d-flex justify-space-between align-center py-2" }, ds = { class: "d-flex justify-center align-center text-h6 ga-2" }, hs = {
|
|
2369
2369
|
class: "multi-color-icon",
|
|
2370
2370
|
"aria-hidden": "true"
|
|
2371
|
-
}, us = ["xlink:href"], ps = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, gs = { class: "w-100 d-flex justify-start align-center" }, fs = { class: "w-30 text-label font-weight-400" }, ys = { class: "flex-1-1-0" }, bs = { class: "w-100 d-flex justify-start align-center" }, ws = { class: "w-30 text-label font-weight-400" },
|
|
2371
|
+
}, us = ["xlink:href"], ps = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, gs = { class: "w-100 d-flex justify-start align-center" }, fs = { class: "w-30 text-label font-weight-400" }, ys = { class: "flex-1-1-0" }, bs = { class: "w-100 d-flex justify-start align-center" }, ws = { class: "w-30 text-label font-weight-400" }, vs = { class: "flex-1-1-0" }, xs = { class: "w-100 d-flex justify-start align-center" }, As = { class: "w-30 text-label font-weight-400" }, ks = { class: "flex-1-1-0" }, Ls = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, zs = { class: "w-100 d-flex justify-space-between align-center py-2" }, _s = { class: "d-flex justify-center align-center text-h6 ga-2" }, Cs = {
|
|
2372
2372
|
class: "multi-color-icon",
|
|
2373
2373
|
"aria-hidden": "true"
|
|
2374
2374
|
}, Ms = ["xlink:href"], Ps = {
|
|
@@ -2394,11 +2394,11 @@ function Fs(t, e, o, i, a, l) {
|
|
|
2394
2394
|
return A(), F(m, {
|
|
2395
2395
|
class: ue(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
2396
2396
|
}, {
|
|
2397
|
-
default:
|
|
2397
|
+
default: v(() => {
|
|
2398
2398
|
var p, g;
|
|
2399
2399
|
return [
|
|
2400
2400
|
w(c, { class: "w-100" }, {
|
|
2401
|
-
default:
|
|
2401
|
+
default: v(() => {
|
|
2402
2402
|
var b;
|
|
2403
2403
|
return [
|
|
2404
2404
|
n("div", rs, [
|
|
@@ -2412,7 +2412,7 @@ function Fs(t, e, o, i, a, l) {
|
|
|
2412
2412
|
class: "",
|
|
2413
2413
|
onClick: l.handleClose
|
|
2414
2414
|
}, {
|
|
2415
|
-
default:
|
|
2415
|
+
default: v(() => e[1] || (e[1] = [
|
|
2416
2416
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
2417
2417
|
])),
|
|
2418
2418
|
_: 1,
|
|
@@ -2448,9 +2448,9 @@ function Fs(t, e, o, i, a, l) {
|
|
|
2448
2448
|
]),
|
|
2449
2449
|
n("div", bs, [
|
|
2450
2450
|
n("div", ws, y(t.$t("tide.position")), 1),
|
|
2451
|
-
n("div",
|
|
2451
|
+
n("div", vs, y(l.computePosition(o.station)), 1)
|
|
2452
2452
|
]),
|
|
2453
|
-
n("div",
|
|
2453
|
+
n("div", xs, [
|
|
2454
2454
|
n("div", As, y(t.$t("time.localTime")), 1),
|
|
2455
2455
|
n("div", ks, y(l.computeLocalTime(o.realTime, o.station)) + " " + y(l.computeTimeOffset(o.station)), 1)
|
|
2456
2456
|
])
|
|
@@ -2482,7 +2482,7 @@ function Fs(t, e, o, i, a, l) {
|
|
|
2482
2482
|
rounded: "1",
|
|
2483
2483
|
mandatory: ""
|
|
2484
2484
|
}, {
|
|
2485
|
-
default:
|
|
2485
|
+
default: v(() => [
|
|
2486
2486
|
(A(!0), R(Ce, null, Me(l.dateList, (b) => (A(), F(r, {
|
|
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"}`]),
|
|
@@ -2491,7 +2491,7 @@ function Fs(t, e, o, i, a, l) {
|
|
|
2491
2491
|
height: "26",
|
|
2492
2492
|
value: b.index
|
|
2493
2493
|
}, {
|
|
2494
|
-
default:
|
|
2494
|
+
default: v(() => [
|
|
2495
2495
|
N(y(b.label), 1)
|
|
2496
2496
|
]),
|
|
2497
2497
|
_: 2
|
|
@@ -2590,7 +2590,7 @@ const js = {
|
|
|
2590
2590
|
if (e.properties) {
|
|
2591
2591
|
this.showInfo = !0, this.hoverStation = e.properties, this.hoverStation.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.hoverStation.lng = e.geometry.coordinates[0], this.hoverStation.lat = e.geometry.coordinates[1], (o = this.marker) == null || o.remove();
|
|
2592
2592
|
const a = (i = document.getElementById("idmTidalInfo")) == null ? void 0 : i.cloneNode(!0);
|
|
2593
|
-
this.marker = new
|
|
2593
|
+
this.marker = new xe.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
|
|
2594
2594
|
}
|
|
2595
2595
|
},
|
|
2596
2596
|
handleLeave() {
|
|
@@ -2606,9 +2606,9 @@ function Xs(t, e, o, i, a, l) {
|
|
|
2606
2606
|
const r = M("VCardText"), c = M("VCard"), s = M("TideDetail");
|
|
2607
2607
|
return A(), R("div", null, [
|
|
2608
2608
|
uo(w(c, { id: "idmTidalInfo" }, {
|
|
2609
|
-
default:
|
|
2609
|
+
default: v(() => [
|
|
2610
2610
|
w(r, { class: "pr-8 text-body-1" }, {
|
|
2611
|
-
default:
|
|
2611
|
+
default: v(() => {
|
|
2612
2612
|
var d, m;
|
|
2613
2613
|
return [
|
|
2614
2614
|
n("div", Ns, [
|
|
@@ -2977,7 +2977,7 @@ const Qs = {
|
|
|
2977
2977
|
if (e.properties.id) {
|
|
2978
2978
|
this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
|
|
2979
2979
|
const l = (a = document.getElementById("idmFollowPortInfo")) == null ? void 0 : a.cloneNode(!0);
|
|
2980
|
-
this.marker = new
|
|
2980
|
+
this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
|
|
2981
2981
|
}
|
|
2982
2982
|
},
|
|
2983
2983
|
handleLeave() {
|
|
@@ -2996,9 +2996,9 @@ function tc(t, e, o, i, a, l) {
|
|
|
2996
2996
|
id: "idmFollowPortInfo",
|
|
2997
2997
|
ref: "idmFollowPortInfo"
|
|
2998
2998
|
}, {
|
|
2999
|
-
default:
|
|
2999
|
+
default: v(() => [
|
|
3000
3000
|
w(r, { class: "text-body-1 pr-8" }, {
|
|
3001
|
-
default:
|
|
3001
|
+
default: v(() => [
|
|
3002
3002
|
n("div", qs, [
|
|
3003
3003
|
n("div", null, y(t.$t("port.port")), 1),
|
|
3004
3004
|
n("div", $s, [
|
|
@@ -3155,7 +3155,7 @@ const ac = {
|
|
|
3155
3155
|
if (e.properties.id) {
|
|
3156
3156
|
this.showInfo = !0, this.position = e.properties, (o = this.marker) == null || o.remove();
|
|
3157
3157
|
const i = document.getElementById("idmFollowPositionInfo").cloneNode(!0);
|
|
3158
|
-
this.marker = new
|
|
3158
|
+
this.marker = new xe.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
|
|
3159
3159
|
}
|
|
3160
3160
|
},
|
|
3161
3161
|
handleLeave() {
|
|
@@ -3173,9 +3173,9 @@ function nc(t, e, o, i, a, l) {
|
|
|
3173
3173
|
id: "idmFollowPositionInfo",
|
|
3174
3174
|
ref: "idmFollowPositionInfo"
|
|
3175
3175
|
}, {
|
|
3176
|
-
default:
|
|
3176
|
+
default: v(() => [
|
|
3177
3177
|
w(r, { class: "text-body-1 pr-8" }, {
|
|
3178
|
-
default:
|
|
3178
|
+
default: v(() => [
|
|
3179
3179
|
n("div", ic, [
|
|
3180
3180
|
e[0] || (e[0] = n("div", null, "Location", -1)),
|
|
3181
3181
|
n("div", lc, [
|
|
@@ -3201,7 +3201,7 @@ const cc = {
|
|
|
3201
3201
|
IdmWarZone: dr,
|
|
3202
3202
|
IdmGmdssArea: pr,
|
|
3203
3203
|
IdmEcaZone: yr,
|
|
3204
|
-
IdmAlertZone:
|
|
3204
|
+
IdmAlertZone: xr,
|
|
3205
3205
|
IdmPort: Tn,
|
|
3206
3206
|
IdmLoadLine: In,
|
|
3207
3207
|
IdmTimezone: Fn,
|
|
@@ -3421,9 +3421,9 @@ const cc = {
|
|
|
3421
3421
|
src: "https://ossimg.ormwx.com/asset/light-map.png",
|
|
3422
3422
|
class: "border rounded-sm"
|
|
3423
3423
|
}, wc = { class: "text-body-2 text-center pt-2" };
|
|
3424
|
-
function
|
|
3424
|
+
function vc(t, e, o, i, a, l) {
|
|
3425
3425
|
var be, E, $, te, se, q, Y, le, Z;
|
|
3426
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"),
|
|
3426
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), x = M("IdmAlertZone"), C = M("IdmEcaZone"), z = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), B = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), Q = M("IdmIceAreas"), ie = M("IdmNsrAreas"), re = M("IdmFollowPort"), ve = 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" : ""]),
|
|
@@ -3437,7 +3437,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3437
3437
|
"open-on-focus": !o.simple,
|
|
3438
3438
|
"open-on-hover": !o.simple
|
|
3439
3439
|
}, {
|
|
3440
|
-
activator:
|
|
3440
|
+
activator: v(({ props: U }) => [
|
|
3441
3441
|
w(r, V(U, {
|
|
3442
3442
|
"min-width": "32",
|
|
3443
3443
|
width: "32",
|
|
@@ -3445,7 +3445,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3445
3445
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
3446
3446
|
onClick: l.handleMenuToggle
|
|
3447
3447
|
}), {
|
|
3448
|
-
default:
|
|
3448
|
+
default: v(() => e[5] || (e[5] = [
|
|
3449
3449
|
n("i", { class: "iconfont icon-Layer text-h4" }, null, -1)
|
|
3450
3450
|
])),
|
|
3451
3451
|
_: 2,
|
|
@@ -3468,7 +3468,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3468
3468
|
class: "mr-n2",
|
|
3469
3469
|
onClick: l.handleMenuToggle
|
|
3470
3470
|
}, {
|
|
3471
|
-
default:
|
|
3471
|
+
default: v(() => e[6] || (e[6] = [
|
|
3472
3472
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
3473
3473
|
])),
|
|
3474
3474
|
_: 1,
|
|
@@ -3482,11 +3482,11 @@ function xc(t, e, o, i, a, l) {
|
|
|
3482
3482
|
class: "block-bg mx-auto mb-2",
|
|
3483
3483
|
elevation: "0"
|
|
3484
3484
|
}, {
|
|
3485
|
-
default:
|
|
3485
|
+
default: v(() => [
|
|
3486
3486
|
w(d, { class: "border-b-thin" }, {
|
|
3487
|
-
default:
|
|
3487
|
+
default: v(() => [
|
|
3488
3488
|
w(s, { class: "text-h6" }, {
|
|
3489
|
-
default:
|
|
3489
|
+
default: v(() => [
|
|
3490
3490
|
N(y(t.$t("layer.mapFeathers")), 1)
|
|
3491
3491
|
]),
|
|
3492
3492
|
_: 1
|
|
@@ -3495,7 +3495,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3495
3495
|
_: 1
|
|
3496
3496
|
}),
|
|
3497
3497
|
w(p, { class: "pb-2" }, {
|
|
3498
|
-
default:
|
|
3498
|
+
default: v(() => [
|
|
3499
3499
|
n("div", uc, [
|
|
3500
3500
|
(A(!0), R(Ce, null, Me(a.mapFeathers, (U) => (A(), R("div", {
|
|
3501
3501
|
key: U.value,
|
|
@@ -3532,11 +3532,11 @@ function xc(t, e, o, i, a, l) {
|
|
|
3532
3532
|
class: "block-bg mx-auto mb-2",
|
|
3533
3533
|
elevation: "0"
|
|
3534
3534
|
}, {
|
|
3535
|
-
default:
|
|
3535
|
+
default: v(() => [
|
|
3536
3536
|
w(d, { class: "border-b-thin" }, {
|
|
3537
|
-
default:
|
|
3537
|
+
default: v(() => [
|
|
3538
3538
|
w(s, { class: "text-h6" }, {
|
|
3539
|
-
default:
|
|
3539
|
+
default: v(() => [
|
|
3540
3540
|
N(y(t.$t("layer.pointsOfInteresting")), 1)
|
|
3541
3541
|
]),
|
|
3542
3542
|
_: 1
|
|
@@ -3545,7 +3545,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3545
3545
|
_: 1
|
|
3546
3546
|
}),
|
|
3547
3547
|
w(p, { class: "py-2 mx-n1" }, {
|
|
3548
|
-
default:
|
|
3548
|
+
default: v(() => [
|
|
3549
3549
|
(A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
|
|
3550
3550
|
key: U.key,
|
|
3551
3551
|
modelValue: a.checkList,
|
|
@@ -3568,11 +3568,11 @@ function xc(t, e, o, i, a, l) {
|
|
|
3568
3568
|
class: "block-bg mx-auto mb-2",
|
|
3569
3569
|
elevation: "0"
|
|
3570
3570
|
}, {
|
|
3571
|
-
default:
|
|
3571
|
+
default: v(() => [
|
|
3572
3572
|
w(d, { class: "border-b-thin" }, {
|
|
3573
|
-
default:
|
|
3573
|
+
default: v(() => [
|
|
3574
3574
|
w(s, { class: "text-h6" }, {
|
|
3575
|
-
default:
|
|
3575
|
+
default: v(() => [
|
|
3576
3576
|
N(y(t.$t("layer.otherLayers")), 1)
|
|
3577
3577
|
]),
|
|
3578
3578
|
_: 1
|
|
@@ -3581,7 +3581,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3581
3581
|
_: 1
|
|
3582
3582
|
}),
|
|
3583
3583
|
w(p, { class: "py-2 mx-n1" }, {
|
|
3584
|
-
default:
|
|
3584
|
+
default: v(() => [
|
|
3585
3585
|
(A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
|
|
3586
3586
|
key: U.key,
|
|
3587
3587
|
modelValue: a.checkList,
|
|
@@ -3604,11 +3604,11 @@ function xc(t, e, o, i, a, l) {
|
|
|
3604
3604
|
class: "block-bg mx-auto mb-3",
|
|
3605
3605
|
elevation: "0"
|
|
3606
3606
|
}, {
|
|
3607
|
-
default:
|
|
3607
|
+
default: v(() => [
|
|
3608
3608
|
w(d, { class: "border-b-thin" }, {
|
|
3609
|
-
default:
|
|
3609
|
+
default: v(() => [
|
|
3610
3610
|
w(s, { class: "text-h6" }, {
|
|
3611
|
-
default:
|
|
3611
|
+
default: v(() => [
|
|
3612
3612
|
N(y(t.$t("layer.myFollows")), 1)
|
|
3613
3613
|
]),
|
|
3614
3614
|
_: 1
|
|
@@ -3617,7 +3617,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3617
3617
|
_: 1
|
|
3618
3618
|
}),
|
|
3619
3619
|
w(p, { class: "py-2 mx-n1" }, {
|
|
3620
|
-
default:
|
|
3620
|
+
default: v(() => [
|
|
3621
3621
|
w(m, {
|
|
3622
3622
|
modelValue: a.checkList,
|
|
3623
3623
|
"onUpdate:modelValue": e[3] || (e[3] = (U) => a.checkList = U),
|
|
@@ -3692,7 +3692,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
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(), F(
|
|
3695
|
+
o.map ? (A(), F(x, V({
|
|
3696
3696
|
key: 5,
|
|
3697
3697
|
map: o.map,
|
|
3698
3698
|
simple: o.simple,
|
|
@@ -3770,7 +3770,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
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(), F(
|
|
3773
|
+
o.map ? (A(), F(ve, V({
|
|
3774
3774
|
key: 18,
|
|
3775
3775
|
ref: "idmFollowPosition",
|
|
3776
3776
|
simple: o.simple,
|
|
@@ -3781,7 +3781,7 @@ function xc(t, e, o, i, a, l) {
|
|
|
3781
3781
|
}, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "real-time"])) : I("", !0)
|
|
3782
3782
|
]);
|
|
3783
3783
|
}
|
|
3784
|
-
const
|
|
3784
|
+
const xc = /* @__PURE__ */ ne(cc, [["render", vc]]);
|
|
3785
3785
|
class ua {
|
|
3786
3786
|
constructor(e) {
|
|
3787
3787
|
ke(this, "map");
|
|
@@ -4022,7 +4022,7 @@ class ro {
|
|
|
4022
4022
|
m.resolution && o.uniform2f(m.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), m.image && o.uniform1i(m.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, l), m.color && o.uniform1i(m.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (m.uvRange && o.uniform2f(m.uvRange, c.uvRange[0], c.uvRange[1]), m.sRange && o.uniform2f(m.sRange, c.sRange[0], c.sRange[1])), m.scale && o.uniform1f(m.scale, (c == null ? void 0 : c.scale) || 1);
|
|
4023
4023
|
const p = e.getBoundPixel(), g = e.map.getZoom() + 1, b = e.getWorldCopy(p, g);
|
|
4024
4024
|
for (const u of b) {
|
|
4025
|
-
const h = (u[0] - p[0]) * e.ratio, f = (u[1] - p[3]) * e.ratio, L = u[2] * e.ratio, [
|
|
4025
|
+
const h = (u[0] - p[0]) * e.ratio, f = (u[1] - p[3]) * e.ratio, L = u[2] * e.ratio, [x, C, z, P] = [h, L + h, f, L + f], _ = new Float32Array([x, z, C, z, x, P, x, P, C, z, C, P]);
|
|
4026
4026
|
o.bindBuffer(o.ARRAY_BUFFER, r), o.bufferData(o.ARRAY_BUFFER, _, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
|
|
4027
4027
|
}
|
|
4028
4028
|
} catch (m) {
|
|
@@ -6178,8 +6178,8 @@ function wm(t, e, o, i, a, l) {
|
|
|
6178
6178
|
]), 4)
|
|
6179
6179
|
])) : I("", !0);
|
|
6180
6180
|
}
|
|
6181
|
-
const
|
|
6182
|
-
const
|
|
6181
|
+
const vm = /* @__PURE__ */ ne(ym, [["render", wm]]);
|
|
6182
|
+
const xm = {
|
|
6183
6183
|
name: "IdmTemp",
|
|
6184
6184
|
props: {
|
|
6185
6185
|
simple: {
|
|
@@ -6303,7 +6303,7 @@ function km(t, e, o, i, a, l) {
|
|
|
6303
6303
|
]), 4)
|
|
6304
6304
|
])) : I("", !0);
|
|
6305
6305
|
}
|
|
6306
|
-
const Lm = /* @__PURE__ */ ne(
|
|
6306
|
+
const Lm = /* @__PURE__ */ ne(xm, [["render", km]]);
|
|
6307
6307
|
const zm = {
|
|
6308
6308
|
name: "IdmGlLayer",
|
|
6309
6309
|
components: {
|
|
@@ -6320,7 +6320,7 @@ const zm = {
|
|
|
6320
6320
|
IdmIceThickness: sm,
|
|
6321
6321
|
IdmPrecip3h: hm,
|
|
6322
6322
|
IdmVisibility: fm,
|
|
6323
|
-
IdmWaterTemp:
|
|
6323
|
+
IdmWaterTemp: vm,
|
|
6324
6324
|
IdmTemp: Lm
|
|
6325
6325
|
},
|
|
6326
6326
|
props: {
|
|
@@ -6636,15 +6636,15 @@ const zm = {
|
|
|
6636
6636
|
}
|
|
6637
6637
|
);
|
|
6638
6638
|
if ((/* @__PURE__ */ new Date()).valueOf() - (e + o), ((r = L == null ? void 0 : L.data) == null ? void 0 : r.code) === 0) {
|
|
6639
|
-
const
|
|
6640
|
-
for (const P in
|
|
6639
|
+
const x = (c = L == null ? void 0 : L.data) == null ? void 0 : c.data, C = [];
|
|
6640
|
+
for (const P in x)
|
|
6641
6641
|
C.push(
|
|
6642
|
-
Ie.get(
|
|
6642
|
+
Ie.get(x[P], {
|
|
6643
6643
|
headers: {
|
|
6644
6644
|
Authorization: this.defaultMeteoToken,
|
|
6645
6645
|
key: P
|
|
6646
6646
|
},
|
|
6647
|
-
responseType: /\.(jpg|png)$/.test(
|
|
6647
|
+
responseType: /\.(jpg|png)$/.test(x[P]) ? "blob" : "json"
|
|
6648
6648
|
}).catch((_) => {
|
|
6649
6649
|
console.log(`[${P}] fetch layer error: ${_}`);
|
|
6650
6650
|
})
|
|
@@ -6662,19 +6662,19 @@ const zm = {
|
|
|
6662
6662
|
});
|
|
6663
6663
|
}
|
|
6664
6664
|
if ((/* @__PURE__ */ new Date()).valueOf() - (e + o), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
|
|
6665
|
-
const
|
|
6665
|
+
const x = (s = this.weatherLayers["swell-direction"]) == null ? void 0 : s.raw, C = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
|
|
6666
6666
|
delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
|
|
6667
6667
|
type: "json",
|
|
6668
|
-
direction:
|
|
6668
|
+
direction: x,
|
|
6669
6669
|
height: { raw: C },
|
|
6670
6670
|
etime: L.data.etime
|
|
6671
6671
|
};
|
|
6672
6672
|
}
|
|
6673
6673
|
if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
|
|
6674
|
-
const
|
|
6674
|
+
const x = (m = this.weatherLayers["current-direction"]) == null ? void 0 : m.raw, C = (p = this.weatherLayers["current-speed"]) == null ? void 0 : p.raw;
|
|
6675
6675
|
delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
|
|
6676
6676
|
type: "json",
|
|
6677
|
-
direction:
|
|
6677
|
+
direction: x,
|
|
6678
6678
|
speed: { raw: C },
|
|
6679
6679
|
etime: L.data.etime
|
|
6680
6680
|
};
|
|
@@ -6682,8 +6682,8 @@ const zm = {
|
|
|
6682
6682
|
}
|
|
6683
6683
|
}
|
|
6684
6684
|
this.handleWeatherLayerToggle(), this.handleDrawWeather4Json(), this.$nextTick(() => {
|
|
6685
|
-
var h, f, L,
|
|
6686
|
-
(C = (
|
|
6685
|
+
var h, f, L, x, C;
|
|
6686
|
+
(C = (x = (L = (f = (h = this.$parent) == null ? void 0 : h.$refs) == null ? void 0 : f.idmBottomBar) == null ? void 0 : L.$refs) == null ? void 0 : x.capture) == null || C.captureCurrentFrame();
|
|
6687
6687
|
});
|
|
6688
6688
|
}
|
|
6689
6689
|
},
|
|
@@ -6755,24 +6755,24 @@ const zm = {
|
|
|
6755
6755
|
let L = [];
|
|
6756
6756
|
if (h === "swell") {
|
|
6757
6757
|
f = !0;
|
|
6758
|
-
const
|
|
6759
|
-
for (const z in
|
|
6758
|
+
const x = ((r = this.weatherLayers[h]) == null ? void 0 : r.direction) || {};
|
|
6759
|
+
for (const z in x)
|
|
6760
6760
|
if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6761
|
-
const P =
|
|
6761
|
+
const P = x[z].lng;
|
|
6762
6762
|
p > g ? P.forEach((_, D) => {
|
|
6763
6763
|
var T, B, j, G, Q, ie;
|
|
6764
6764
|
if (i < 2) {
|
|
6765
6765
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6766
6766
|
const re = W.point([_, z], {
|
|
6767
|
-
val: ((T =
|
|
6768
|
-
spd: (j =
|
|
6767
|
+
val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
|
|
6768
|
+
spd: (j = x[z].spd) == null ? void 0 : j[D]
|
|
6769
6769
|
});
|
|
6770
6770
|
L.push(re);
|
|
6771
6771
|
}
|
|
6772
6772
|
} else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6773
6773
|
const re = W.point([_, z], {
|
|
6774
|
-
val: ((G =
|
|
6775
|
-
spd: (ie =
|
|
6774
|
+
val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
|
|
6775
|
+
spd: (ie = x[z].spd) == null ? void 0 : ie[D]
|
|
6776
6776
|
});
|
|
6777
6777
|
L.push(re);
|
|
6778
6778
|
}
|
|
@@ -6781,15 +6781,15 @@ const zm = {
|
|
|
6781
6781
|
if (p < 2) {
|
|
6782
6782
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6783
6783
|
const re = W.point([_, z], {
|
|
6784
|
-
val: ((T =
|
|
6785
|
-
spd: (j =
|
|
6784
|
+
val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
|
|
6785
|
+
spd: (j = x[z].spd) == null ? void 0 : j[D]
|
|
6786
6786
|
});
|
|
6787
6787
|
L.push(re);
|
|
6788
6788
|
}
|
|
6789
6789
|
} else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6790
6790
|
const re = W.point([_, z], {
|
|
6791
|
-
val: ((G =
|
|
6792
|
-
spd: (ie =
|
|
6791
|
+
val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
|
|
6792
|
+
spd: (ie = x[z].spd) == null ? void 0 : ie[D]
|
|
6793
6793
|
});
|
|
6794
6794
|
L.push(re);
|
|
6795
6795
|
}
|
|
@@ -6819,24 +6819,24 @@ const zm = {
|
|
|
6819
6819
|
}
|
|
6820
6820
|
} else if (h === "current") {
|
|
6821
6821
|
f = !0;
|
|
6822
|
-
const
|
|
6823
|
-
for (const z in
|
|
6822
|
+
const x = ((s = this.weatherLayers[h]) == null ? void 0 : s.direction) || {};
|
|
6823
|
+
for (const z in x)
|
|
6824
6824
|
if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6825
|
-
const P =
|
|
6825
|
+
const P = x[z].lng;
|
|
6826
6826
|
p > g ? P.forEach((_, D) => {
|
|
6827
6827
|
var T, B, j, G, Q, ie;
|
|
6828
6828
|
if (i < 2) {
|
|
6829
6829
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6830
6830
|
const re = W.point([_, z], {
|
|
6831
|
-
val: ((T =
|
|
6832
|
-
spd: (j =
|
|
6831
|
+
val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
|
|
6832
|
+
spd: (j = x[z].spd) == null ? void 0 : j[D]
|
|
6833
6833
|
});
|
|
6834
6834
|
L.push(re);
|
|
6835
6835
|
}
|
|
6836
6836
|
} else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6837
6837
|
const re = W.point([_, z], {
|
|
6838
|
-
val: ((G =
|
|
6839
|
-
spd: (ie =
|
|
6838
|
+
val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
|
|
6839
|
+
spd: (ie = x[z].spd) == null ? void 0 : ie[D]
|
|
6840
6840
|
});
|
|
6841
6841
|
L.push(re);
|
|
6842
6842
|
}
|
|
@@ -6845,15 +6845,15 @@ const zm = {
|
|
|
6845
6845
|
if (p < 2) {
|
|
6846
6846
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
6847
6847
|
const re = W.point([_, z], {
|
|
6848
|
-
val: ((T =
|
|
6849
|
-
spd: (j =
|
|
6848
|
+
val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
|
|
6849
|
+
spd: (j = x[z].spd) == null ? void 0 : j[D]
|
|
6850
6850
|
});
|
|
6851
6851
|
L.push(re);
|
|
6852
6852
|
}
|
|
6853
6853
|
} else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
6854
6854
|
const re = W.point([_, z], {
|
|
6855
|
-
val: ((G =
|
|
6856
|
-
spd: (ie =
|
|
6855
|
+
val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
|
|
6856
|
+
spd: (ie = x[z].spd) == null ? void 0 : ie[D]
|
|
6857
6857
|
});
|
|
6858
6858
|
L.push(re);
|
|
6859
6859
|
}
|
|
@@ -6880,24 +6880,24 @@ const zm = {
|
|
|
6880
6880
|
}
|
|
6881
6881
|
} else if (h === "wind") {
|
|
6882
6882
|
f = !0;
|
|
6883
|
-
const
|
|
6884
|
-
for (const C in
|
|
6883
|
+
const x = this.weatherLayers.wind.raw;
|
|
6884
|
+
for (const C in x)
|
|
6885
6885
|
if (C > b && C < u && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6886
|
-
const z =
|
|
6886
|
+
const z = x[C].lng;
|
|
6887
6887
|
p > g ? z.forEach((P, _) => {
|
|
6888
6888
|
var D, T, B, j;
|
|
6889
6889
|
if (i < 2) {
|
|
6890
6890
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6891
6891
|
const G = W.point([P, C], {
|
|
6892
|
-
dir: ((D =
|
|
6893
|
-
spd:
|
|
6892
|
+
dir: ((D = x[C].val) == null ? void 0 : D[_]) || ((T = x[C].dir) == null ? void 0 : T[_]),
|
|
6893
|
+
spd: x[C].spd[_]
|
|
6894
6894
|
});
|
|
6895
6895
|
L.push(G);
|
|
6896
6896
|
}
|
|
6897
6897
|
} else if ((P >= p && P <= 180 || P >= -180 && P <= g) && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6898
6898
|
const G = W.point([P, C], {
|
|
6899
|
-
dir: ((B =
|
|
6900
|
-
spd:
|
|
6899
|
+
dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
|
|
6900
|
+
spd: x[C].spd[_]
|
|
6901
6901
|
});
|
|
6902
6902
|
L.push(G);
|
|
6903
6903
|
}
|
|
@@ -6906,15 +6906,15 @@ const zm = {
|
|
|
6906
6906
|
if (i < 2) {
|
|
6907
6907
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
6908
6908
|
const G = W.point([P, C], {
|
|
6909
|
-
dir: ((D =
|
|
6910
|
-
spd:
|
|
6909
|
+
dir: ((D = x[C].val) == null ? void 0 : D[_]) || ((T = x[C].dir) == null ? void 0 : T[_]),
|
|
6910
|
+
spd: x[C].spd[_]
|
|
6911
6911
|
});
|
|
6912
6912
|
L.push(G);
|
|
6913
6913
|
}
|
|
6914
6914
|
} else if (P >= p && P <= g && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
|
|
6915
6915
|
const G = W.point([P, C], {
|
|
6916
|
-
dir: ((B =
|
|
6917
|
-
spd:
|
|
6916
|
+
dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
|
|
6917
|
+
spd: x[C].spd[_]
|
|
6918
6918
|
});
|
|
6919
6919
|
L.push(G);
|
|
6920
6920
|
}
|
|
@@ -6926,11 +6926,11 @@ const zm = {
|
|
|
6926
6926
|
L = this.weatherLayers[h].data;
|
|
6927
6927
|
else {
|
|
6928
6928
|
f = !0;
|
|
6929
|
-
const
|
|
6930
|
-
if (
|
|
6929
|
+
const x = this.weatherLayers[h].raw;
|
|
6930
|
+
if (x) {
|
|
6931
6931
|
const C = [];
|
|
6932
|
-
for (const z in
|
|
6933
|
-
const P =
|
|
6932
|
+
for (const z in x.Polygon) {
|
|
6933
|
+
const P = x.Polygon[z];
|
|
6934
6934
|
for (const _ of P)
|
|
6935
6935
|
C.push(
|
|
6936
6936
|
W.polygon(_, {
|
|
@@ -6938,8 +6938,8 @@ const zm = {
|
|
|
6938
6938
|
})
|
|
6939
6939
|
);
|
|
6940
6940
|
}
|
|
6941
|
-
for (const z in
|
|
6942
|
-
const P =
|
|
6941
|
+
for (const z in x.MultiPolygon) {
|
|
6942
|
+
const P = x.MultiPolygon[z];
|
|
6943
6943
|
for (const _ of P)
|
|
6944
6944
|
C.push(
|
|
6945
6945
|
W.multiPolygon(_, {
|
|
@@ -6947,8 +6947,8 @@ const zm = {
|
|
|
6947
6947
|
})
|
|
6948
6948
|
);
|
|
6949
6949
|
}
|
|
6950
|
-
for (const z in
|
|
6951
|
-
const P =
|
|
6950
|
+
for (const z in x.Point) {
|
|
6951
|
+
const P = x.Point[z];
|
|
6952
6952
|
for (let _ = 0; _ < ((m = P.lng) == null ? void 0 : m.length); _++)
|
|
6953
6953
|
C.push(
|
|
6954
6954
|
W.point([P.lng[_], z], {
|
|
@@ -6965,11 +6965,11 @@ const zm = {
|
|
|
6965
6965
|
L = this.weatherLayers[h].data;
|
|
6966
6966
|
else {
|
|
6967
6967
|
f = !0;
|
|
6968
|
-
const
|
|
6969
|
-
if (
|
|
6968
|
+
const x = this.weatherLayers[h].raw;
|
|
6969
|
+
if (x) {
|
|
6970
6970
|
const C = [];
|
|
6971
|
-
for (const z in
|
|
6972
|
-
const P =
|
|
6971
|
+
for (const z in x.LineString) {
|
|
6972
|
+
const P = x.LineString[z];
|
|
6973
6973
|
for (const _ of P)
|
|
6974
6974
|
C.push(
|
|
6975
6975
|
W.lineString(_, {
|
|
@@ -6977,12 +6977,12 @@ const zm = {
|
|
|
6977
6977
|
})
|
|
6978
6978
|
);
|
|
6979
6979
|
}
|
|
6980
|
-
for (const z in
|
|
6981
|
-
|
|
6980
|
+
for (const z in x.Point)
|
|
6981
|
+
x.Point[z].lng.forEach((P, _) => {
|
|
6982
6982
|
P = H.convertToStdLng(P), C.push(
|
|
6983
6983
|
W.point([P, z], {
|
|
6984
|
-
val:
|
|
6985
|
-
type:
|
|
6984
|
+
val: x.Point[z].val[_],
|
|
6985
|
+
type: x.Point[z].type[_]
|
|
6986
6986
|
})
|
|
6987
6987
|
);
|
|
6988
6988
|
});
|
|
@@ -7038,7 +7038,7 @@ const zm = {
|
|
|
7038
7038
|
}, 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" }, ld = { class: "text-body-2 text-label" }, rd = { 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" };
|
|
7039
7039
|
function ud(t, e, o, i, a, l) {
|
|
7040
7040
|
var be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae;
|
|
7041
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"),
|
|
7041
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"), x = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), z = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), B = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), Q = M("IdmPrecip3h"), ie = M("IdmVisibility"), re = M("IdmWaterTemp"), ve = M("IdmTemp");
|
|
7042
7042
|
return A(), R("div", _m, [
|
|
7043
7043
|
n("div", {
|
|
7044
7044
|
class: "menu-bar-box transition pa-1",
|
|
@@ -7052,7 +7052,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7052
7052
|
"open-on-focus": !o.simple,
|
|
7053
7053
|
"open-on-hover": !o.simple
|
|
7054
7054
|
}, {
|
|
7055
|
-
activator:
|
|
7055
|
+
activator: v(({ props: ee }) => [
|
|
7056
7056
|
w(r, V(ee, {
|
|
7057
7057
|
"min-width": "32",
|
|
7058
7058
|
width: "32",
|
|
@@ -7060,7 +7060,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7060
7060
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
7061
7061
|
onClick: l.handleMenuToggle
|
|
7062
7062
|
}), {
|
|
7063
|
-
default:
|
|
7063
|
+
default: v(() => e[9] || (e[9] = [
|
|
7064
7064
|
n("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
|
|
7065
7065
|
])),
|
|
7066
7066
|
_: 2,
|
|
@@ -7083,7 +7083,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7083
7083
|
"open-on-focus": !o.simple,
|
|
7084
7084
|
"open-on-hover": !o.simple
|
|
7085
7085
|
}, {
|
|
7086
|
-
activator:
|
|
7086
|
+
activator: v(({ props: ee }) => [
|
|
7087
7087
|
w(r, V(ee, {
|
|
7088
7088
|
"min-width": "32",
|
|
7089
7089
|
width: "32",
|
|
@@ -7091,7 +7091,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7091
7091
|
class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
|
|
7092
7092
|
onClick: e[0] || (e[0] = (we) => a.legendToggle = !a.legendToggle)
|
|
7093
7093
|
}), {
|
|
7094
|
-
default:
|
|
7094
|
+
default: v(() => e[10] || (e[10] = [
|
|
7095
7095
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
7096
7096
|
])),
|
|
7097
7097
|
_: 2,
|
|
@@ -7107,12 +7107,12 @@ function ud(t, e, o, i, a, l) {
|
|
|
7107
7107
|
class: "card-info d-flex justify-center align-start",
|
|
7108
7108
|
style: ge({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
|
|
7109
7109
|
}, {
|
|
7110
|
-
default:
|
|
7110
|
+
default: v(() => [
|
|
7111
7111
|
w(s, {
|
|
7112
7112
|
class: "d-flex flex-column justify-center align-start text-label px-1",
|
|
7113
7113
|
style: { width: "120px" }
|
|
7114
7114
|
}, {
|
|
7115
|
-
default:
|
|
7115
|
+
default: v(() => [
|
|
7116
7116
|
e[11] || (e[11] = n("div", { class: "text-body-2 font-weight-600 mb-2 mx-1" }, "Wind Level", -1)),
|
|
7117
7117
|
n("div", Mm, [
|
|
7118
7118
|
(A(!0), R(Ce, null, Me(a.legend.barbs, (ee, we) => (A(), R("div", {
|
|
@@ -7137,7 +7137,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7137
7137
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
7138
7138
|
style: { width: "100px" }
|
|
7139
7139
|
}, {
|
|
7140
|
-
default:
|
|
7140
|
+
default: v(() => [
|
|
7141
7141
|
e[12] || (e[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
7142
7142
|
n("div", Tm, [
|
|
7143
7143
|
(A(!0), R(Ce, null, Me(a.legend.sigWaveHeight, (ee, we) => (A(), R("div", {
|
|
@@ -7162,7 +7162,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7162
7162
|
class: "d-flex flex-column justify-center align-start text-label pl-0 pr-2",
|
|
7163
7163
|
style: { width: "100px" }
|
|
7164
7164
|
}, {
|
|
7165
|
-
default:
|
|
7165
|
+
default: v(() => [
|
|
7166
7166
|
e[13] || (e[13] = n("div", { class: "text-body-2 font-weight-600 mb-2 mx-2" }, "Current", -1)),
|
|
7167
7167
|
n("div", Em, [
|
|
7168
7168
|
(A(!0), R(Ce, null, Me(a.legend.current, (ee, we) => (A(), R("div", {
|
|
@@ -7214,7 +7214,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7214
7214
|
class: "mr-n2",
|
|
7215
7215
|
onClick: l.handleMenuToggle
|
|
7216
7216
|
}, {
|
|
7217
|
-
default:
|
|
7217
|
+
default: v(() => e[14] || (e[14] = [
|
|
7218
7218
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
7219
7219
|
])),
|
|
7220
7220
|
_: 1,
|
|
@@ -7232,7 +7232,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7232
7232
|
mandatory: "",
|
|
7233
7233
|
group: ""
|
|
7234
7234
|
}, {
|
|
7235
|
-
default:
|
|
7235
|
+
default: v(() => [
|
|
7236
7236
|
w(r, {
|
|
7237
7237
|
density: "compact",
|
|
7238
7238
|
height: "28",
|
|
@@ -7241,7 +7241,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7241
7241
|
color: a.currentModel === "GFS" ? "primary" : "",
|
|
7242
7242
|
"base-color": ""
|
|
7243
7243
|
}, {
|
|
7244
|
-
default:
|
|
7244
|
+
default: v(() => e[15] || (e[15] = [
|
|
7245
7245
|
N(" NOAA ", -1)
|
|
7246
7246
|
])),
|
|
7247
7247
|
_: 1,
|
|
@@ -7255,7 +7255,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7255
7255
|
"base-color": "",
|
|
7256
7256
|
value: "ECMWF"
|
|
7257
7257
|
}, {
|
|
7258
|
-
default:
|
|
7258
|
+
default: v(() => e[16] || (e[16] = [
|
|
7259
7259
|
N(" ECMWF ", -1)
|
|
7260
7260
|
])),
|
|
7261
7261
|
_: 1,
|
|
@@ -7272,11 +7272,11 @@ function ud(t, e, o, i, a, l) {
|
|
|
7272
7272
|
class: "block-bg mx-auto mb-2",
|
|
7273
7273
|
elevation: "0"
|
|
7274
7274
|
}, {
|
|
7275
|
-
default:
|
|
7275
|
+
default: v(() => [
|
|
7276
7276
|
w(u, { class: "border-b-thin" }, {
|
|
7277
|
-
default:
|
|
7277
|
+
default: v(() => [
|
|
7278
7278
|
w(b, { class: "text-h6" }, {
|
|
7279
|
-
default:
|
|
7279
|
+
default: v(() => [
|
|
7280
7280
|
N(y(t.$t("weather.overlays")), 1)
|
|
7281
7281
|
]),
|
|
7282
7282
|
_: 1
|
|
@@ -7285,7 +7285,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7285
7285
|
_: 1
|
|
7286
7286
|
}),
|
|
7287
7287
|
w(s, { class: "py-2 mx-n1" }, {
|
|
7288
|
-
default:
|
|
7288
|
+
default: v(() => [
|
|
7289
7289
|
(A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(), F(h, {
|
|
7290
7290
|
key: ee.key,
|
|
7291
7291
|
modelValue: a.checkList,
|
|
@@ -7309,11 +7309,11 @@ function ud(t, e, o, i, a, l) {
|
|
|
7309
7309
|
class: "block-bg mx-auto mb-2",
|
|
7310
7310
|
elevation: "0"
|
|
7311
7311
|
}, {
|
|
7312
|
-
default:
|
|
7312
|
+
default: v(() => [
|
|
7313
7313
|
w(u, { class: "border-b-thin" }, {
|
|
7314
|
-
default:
|
|
7314
|
+
default: v(() => [
|
|
7315
7315
|
w(b, { class: "text-h6" }, {
|
|
7316
|
-
default:
|
|
7316
|
+
default: v(() => [
|
|
7317
7317
|
N(y(t.$t("weather.renders")), 1)
|
|
7318
7318
|
]),
|
|
7319
7319
|
_: 1
|
|
@@ -7322,7 +7322,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7322
7322
|
_: 1
|
|
7323
7323
|
}),
|
|
7324
7324
|
w(s, { class: "py-2 mx-n1" }, {
|
|
7325
|
-
default:
|
|
7325
|
+
default: v(() => [
|
|
7326
7326
|
(A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => !ee.overlays), (ee) => (A(), R(Ce, {
|
|
7327
7327
|
key: ee.key
|
|
7328
7328
|
}, [
|
|
@@ -7381,7 +7381,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7381
7381
|
mandatory: "",
|
|
7382
7382
|
disabled: !a.autoActive
|
|
7383
7383
|
}, {
|
|
7384
|
-
default:
|
|
7384
|
+
default: v(() => [
|
|
7385
7385
|
w(r, {
|
|
7386
7386
|
density: "compact",
|
|
7387
7387
|
height: "30",
|
|
@@ -7391,7 +7391,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7391
7391
|
"base-color": "grey-lighten-1",
|
|
7392
7392
|
disabled: !a.autoActive
|
|
7393
7393
|
}, {
|
|
7394
|
-
default:
|
|
7394
|
+
default: v(() => [
|
|
7395
7395
|
N(y(t.$t("weather.significant")), 1)
|
|
7396
7396
|
]),
|
|
7397
7397
|
_: 1
|
|
@@ -7405,7 +7405,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7405
7405
|
disabled: !a.autoActive,
|
|
7406
7406
|
value: "swell"
|
|
7407
7407
|
}, {
|
|
7408
|
-
default:
|
|
7408
|
+
default: v(() => [
|
|
7409
7409
|
N(y(t.$t("weather.swell")), 1)
|
|
7410
7410
|
]),
|
|
7411
7411
|
_: 1
|
|
@@ -7425,7 +7425,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7425
7425
|
mandatory: "",
|
|
7426
7426
|
disabled: !a.autoActive
|
|
7427
7427
|
}, {
|
|
7428
|
-
default:
|
|
7428
|
+
default: v(() => [
|
|
7429
7429
|
w(r, {
|
|
7430
7430
|
density: "compact",
|
|
7431
7431
|
height: "30",
|
|
@@ -7435,7 +7435,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7435
7435
|
"base-color": "grey-lighten-1",
|
|
7436
7436
|
disabled: !a.autoActive
|
|
7437
7437
|
}, {
|
|
7438
|
-
default:
|
|
7438
|
+
default: v(() => [
|
|
7439
7439
|
N(y(t.$t("weather.coverage")), 1)
|
|
7440
7440
|
]),
|
|
7441
7441
|
_: 1
|
|
@@ -7449,7 +7449,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7449
7449
|
disabled: !a.autoActive,
|
|
7450
7450
|
value: "ice-thickness"
|
|
7451
7451
|
}, {
|
|
7452
|
-
default:
|
|
7452
|
+
default: v(() => [
|
|
7453
7453
|
N(y(t.$t("weather.thickness")), 1)
|
|
7454
7454
|
]),
|
|
7455
7455
|
_: 1
|
|
@@ -7468,11 +7468,11 @@ function ud(t, e, o, i, a, l) {
|
|
|
7468
7468
|
class: "block-bg mx-auto mb-2",
|
|
7469
7469
|
elevation: "0"
|
|
7470
7470
|
}, {
|
|
7471
|
-
default:
|
|
7471
|
+
default: v(() => [
|
|
7472
7472
|
w(u, { class: "border-b-thin" }, {
|
|
7473
|
-
default:
|
|
7473
|
+
default: v(() => [
|
|
7474
7474
|
w(b, { class: "text-h6" }, {
|
|
7475
|
-
default:
|
|
7475
|
+
default: v(() => [
|
|
7476
7476
|
N(y(t.$t("weather.forecastModel")), 1)
|
|
7477
7477
|
]),
|
|
7478
7478
|
_: 1
|
|
@@ -7481,15 +7481,15 @@ function ud(t, e, o, i, a, l) {
|
|
|
7481
7481
|
_: 1
|
|
7482
7482
|
}),
|
|
7483
7483
|
w(s, { class: "" }, {
|
|
7484
|
-
default:
|
|
7485
|
-
var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt,
|
|
7484
|
+
default: v(() => {
|
|
7485
|
+
var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
|
|
7486
7486
|
return [
|
|
7487
7487
|
n("div", Xm, y(t.$t("weather.atmospheric")), 1),
|
|
7488
7488
|
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),
|
|
7489
7489
|
n("div", Hm, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
7490
7490
|
n("div", Ym, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((at = (ot = (Ke = (He = a.models) == null ? void 0 : He.weather) == null ? void 0 : Ke.NOAA) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
|
|
7491
7491
|
n("div", Um, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Ne = (Re = (Te = (Qe = a.models) == null ? void 0 : Qe.weather) == null ? void 0 : Te.NOAA) == null ? void 0 : Re.meta) == null ? void 0 : Ne.initialisationTime)), 1),
|
|
7492
|
-
n("div", Jm, y((rt = (lt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : lt.ECMWF) == null ? void 0 : rt.source) + " " + y((wt = (bt = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : bt.ECMWF) == null ? void 0 : wt.spatialResolution) + y(t.$t("units.km")) + " " + y((kt = (At = (
|
|
7492
|
+
n("div", Jm, y((rt = (lt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : lt.ECMWF) == null ? void 0 : rt.source) + " " + y((wt = (bt = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : bt.ECMWF) == null ? void 0 : wt.spatialResolution) + y(t.$t("units.km")) + " " + y((kt = (At = (xt = (vt = a.models) == null ? void 0 : vt.weather) == null ? void 0 : xt.ECMWF) == null ? void 0 : At.meta) == null ? void 0 : kt.days) + y(t.$t("units.days")), 1),
|
|
7493
7493
|
n("div", Km, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7494
7494
|
n("div", Qm, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Ct = (_t = (zt = (Lt = a.models) == null ? void 0 : Lt.weather) == null ? void 0 : zt.ECMWF) == null ? void 0 : _t.meta) == null ? void 0 : Ct.availabilityTime)), 1),
|
|
7495
7495
|
n("div", qm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Tt = (St = (Pt = (Mt = a.models) == null ? void 0 : Mt.weather) == null ? void 0 : Pt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.initialisationTime)), 1),
|
|
@@ -7505,7 +7505,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7505
7505
|
n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((ft = (mt = (Be = (ce = (lo = a.models) == null ? void 0 : lo.marine) == null ? void 0 : ce.wave) == null ? void 0 : Be.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
7506
7506
|
w(d),
|
|
7507
7507
|
n("div", sd, y(t.$t("weather.currents")), 1),
|
|
7508
|
-
n("div", cd, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (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 = (
|
|
7508
|
+
n("div", cd, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (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 = (xo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : xo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
|
|
7509
7509
|
n("div", md, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
7510
7510
|
n("div", dd, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Po = (Mo = (Co = (_o = (zo = a.models) == null ? void 0 : zo.marine) == null ? void 0 : _o.current) == null ? void 0 : Co.ECMWF) == null ? void 0 : Mo.meta) == null ? void 0 : Po.availabilityTime)), 1),
|
|
7511
7511
|
n("div", hd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Io = (Do = (Ro = (To = (So = a.models) == null ? void 0 : So.marine) == null ? void 0 : To.current) == null ? void 0 : Ro.ECMWF) == null ? void 0 : Do.meta) == null ? void 0 : Io.initialisationTime)), 1)
|
|
@@ -7527,7 +7527,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7527
7527
|
wind: (be = a.weatherLayers) == null ? void 0 : be.wind,
|
|
7528
7528
|
"menu-toggle": o.menuToggle
|
|
7529
7529
|
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
|
|
7530
|
-
o.map ? (A(), F(
|
|
7530
|
+
o.map ? (A(), F(x, V({
|
|
7531
7531
|
key: 2,
|
|
7532
7532
|
map: o.map,
|
|
7533
7533
|
"before-layer": "empty-layer-2",
|
|
@@ -7623,7 +7623,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7623
7623
|
"menu-toggle": o.menuToggle,
|
|
7624
7624
|
simple: o.simple
|
|
7625
7625
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
|
|
7626
|
-
o.map ? (A(), F(
|
|
7626
|
+
o.map ? (A(), F(ve, V({
|
|
7627
7627
|
key: 15,
|
|
7628
7628
|
viewport: a.viewport,
|
|
7629
7629
|
factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.temp,
|
|
@@ -7983,10 +7983,10 @@ let ul = class {
|
|
|
7983
7983
|
}), a;
|
|
7984
7984
|
}
|
|
7985
7985
|
static pickHourly(e, o) {
|
|
7986
|
-
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
7986
|
+
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
|
|
7987
7987
|
const de = typeof o == "string" ? S(o) : o;
|
|
7988
7988
|
let Fe = de.clone();
|
|
7989
|
-
const ae = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ae == null ? void 0 : ae[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ae == null ? void 0 : ae[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ae == null ? void 0 : ae[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((
|
|
7989
|
+
const ae = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ae == null ? void 0 : ae[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ae == null ? void 0 : ae[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ae == null ? void 0 : ae[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((x = (L = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : L.time) == null ? void 0 : x.at(-1)), "h"), lo = [];
|
|
7990
7990
|
Fe = Fe.isBefore(We) ? We.clone() : Fe, Fe = Fe.isAfter(J) ? J.clone() : Fe;
|
|
7991
7991
|
const ce = Fe.utc().diff(We, "h", !1);
|
|
7992
7992
|
let Be, mt;
|
|
@@ -8004,7 +8004,7 @@ let ul = class {
|
|
|
8004
8004
|
Be = {
|
|
8005
8005
|
temp: ((B = K == null ? void 0 : K.temperature_2m) == null ? void 0 : B.at(ce)) ?? ((G = (j = K == null ? void 0 : K.temperature_2m) == null ? void 0 : j.filter((ye) => ye !== null)) == null ? void 0 : G.at(-1)),
|
|
8006
8006
|
apparentTemp: ((Q = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : Q.at(ce)) ?? ((re = (ie = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ie.filter((ye) => ye !== null)) == null ? void 0 : re.at(-1)),
|
|
8007
|
-
rh: ((
|
|
8007
|
+
rh: ((ve = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : ve.at(ce)) ?? ((E = (be = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
|
|
8008
8008
|
dp: (($ = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : te.filter((ye) => ye !== null)) == null ? void 0 : se.at(-1)),
|
|
8009
8009
|
precip: {
|
|
8010
8010
|
probability: ((q = K == null ? void 0 : K.precipitation_probability) == null ? void 0 : q.at(ce)) ?? 0,
|
|
@@ -8039,7 +8039,7 @@ let ul = class {
|
|
|
8039
8039
|
if (oe != null && oe.length) {
|
|
8040
8040
|
let ft = 0;
|
|
8041
8041
|
for (const yt of oe) {
|
|
8042
|
-
const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((
|
|
8042
|
+
const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.at(ce)) ?? ((At = (xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.filter((pe) => pe !== null)) == null ? void 0 : At.at(-1));
|
|
8043
8043
|
mt = {
|
|
8044
8044
|
wave: {
|
|
8045
8045
|
sig: {
|
|
@@ -8109,7 +8109,7 @@ let ul = class {
|
|
|
8109
8109
|
};
|
|
8110
8110
|
}
|
|
8111
8111
|
static pickDaily(e, o) {
|
|
8112
|
-
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
8112
|
+
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
|
|
8113
8113
|
const oo = typeof o == "string" ? S(o) : o;
|
|
8114
8114
|
let Xe = oo.clone();
|
|
8115
8115
|
const Ye = e == null ? void 0 : e.weather, ao = e == null ? void 0 : e.marine, nt = S((l = (a = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : l.at(0)), io = S((s = (c = (r = Ye == null ? void 0 : Ye[0]) == null ? void 0 : r.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), gt = [];
|
|
@@ -8123,7 +8123,7 @@ let ul = class {
|
|
|
8123
8123
|
code: ((g = ae.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ae.weather_code) == null ? void 0 : b.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
|
|
8124
8124
|
temp: {
|
|
8125
8125
|
max: ((h = ae.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((L = (f = ae.temperature_2m_max) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : L.at(-1)),
|
|
8126
|
-
min: ((
|
|
8126
|
+
min: ((x = ae.temperature_2m_min) == null ? void 0 : x.at(de)) ?? ((z = (C = ae.temperature_2m_min) == null ? void 0 : C.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
|
|
8127
8127
|
mean: ((P = ae.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ae.temperature_2m_mean) == null ? void 0 : _.filter((J) => J !== null)) == null ? void 0 : D.at(-1))
|
|
8128
8128
|
},
|
|
8129
8129
|
apparentTemp: {
|
|
@@ -8131,7 +8131,7 @@ let ul = class {
|
|
|
8131
8131
|
min: ((G = ae.apparent_temperature_min) == null ? void 0 : G.at(de)) ?? ((ie = (Q = ae.apparent_temperature_min) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : ie.at(-1))
|
|
8132
8132
|
},
|
|
8133
8133
|
precip: {
|
|
8134
|
-
sum: ((re = ae.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (
|
|
8134
|
+
sum: ((re = ae.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (ve = ae.precipitation_sum) == null ? void 0 : ve.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
|
|
8135
8135
|
rainSum: ((E = ae.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ae.rain_sum) == null ? void 0 : $.filter((J) => J !== null)) == null ? void 0 : te.at(-1)),
|
|
8136
8136
|
snowfallSum: ((se = ae.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ae.snowfall_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
|
|
8137
8137
|
showersSum: ((le = ae.showers_sum) == null ? void 0 : le.at(de)) ?? ((U = (Z = ae.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : U.at(-1)),
|
|
@@ -8154,7 +8154,7 @@ let ul = class {
|
|
|
8154
8154
|
visibility: {
|
|
8155
8155
|
max: this.m2nm(((it = ae.visibility_max) == null ? void 0 : it.at(de)) ?? ((rt = (lt = ae.visibility_max) == null ? void 0 : lt.filter((J) => J !== null)) == null ? void 0 : rt.at(-1))),
|
|
8156
8156
|
min: this.m2nm(((Ve = ae.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ae.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
|
|
8157
|
-
mean: this.m2nm(((
|
|
8157
|
+
mean: this.m2nm(((vt = ae.visibility_mean) == null ? void 0 : vt.at(de)) ?? ((At = (xt = ae.visibility_mean) == null ? void 0 : xt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
|
|
8158
8158
|
}
|
|
8159
8159
|
};
|
|
8160
8160
|
const { name: ct, url: qe, bg: We } = this.parseWeatherCode(De.code, !0);
|
|
@@ -8843,7 +8843,7 @@ const gd = {
|
|
|
8843
8843
|
handleRefresh() {
|
|
8844
8844
|
var e, o;
|
|
8845
8845
|
(((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
|
|
8846
|
-
var l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
8846
|
+
var l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D;
|
|
8847
8847
|
let a = "";
|
|
8848
8848
|
switch (!0) {
|
|
8849
8849
|
case (((l = i.properties.wind) == null ? void 0 : l.kts) < 32 || ((r = i.properties) == null ? void 0 : r.kts) < 32):
|
|
@@ -8868,7 +8868,7 @@ const gd = {
|
|
|
8868
8868
|
a = "superTy";
|
|
8869
8869
|
break;
|
|
8870
8870
|
}
|
|
8871
|
-
i.properties.levelI18n = a, ((L = i.geometry) == null ? void 0 : L.type) === "Point" && ((
|
|
8871
|
+
i.properties.levelI18n = a, ((L = i.geometry) == null ? void 0 : L.type) === "Point" && ((x = i.properties) != null && x.important) && (i.properties.format = (z = (C = S(i.properties.date)) == null ? void 0 : C.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((D = (_ = i.properties.name) == null ? void 0 : _.trim()) == null ? void 0 : D.replace(/^./, (T) => T.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
|
|
8872
8872
|
}), this.handleInit();
|
|
8873
8873
|
},
|
|
8874
8874
|
handleInit() {
|
|
@@ -9120,7 +9120,7 @@ const gd = {
|
|
|
9120
9120
|
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();
|
|
9121
9121
|
},
|
|
9122
9122
|
handleDateChange() {
|
|
9123
|
-
var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
9123
|
+
var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $;
|
|
9124
9124
|
if ((t = this.interpolateMarkers) == null || t.forEach((te) => te == null ? void 0 : te.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
9125
9125
|
const te = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((Z) => Z.properties.date === (te == null ? void 0 : te.format()) && !Z.properties.disabled), q = this.handleComputePolygons(se), Y = W.featureCollection([...se]);
|
|
9126
9126
|
q.forEach((Z) => {
|
|
@@ -9164,7 +9164,7 @@ const gd = {
|
|
|
9164
9164
|
Z.properties.nameCn = he, Z.properties.Name = ((m = (d = Z.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (Ae) => Ae.toUpperCase())) || Z.properties.nameCn, le.push(Z);
|
|
9165
9165
|
}
|
|
9166
9166
|
let U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9167
|
-
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((
|
|
9167
|
+
((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((x = (L = Z.properties) == null ? void 0 : L.wind) == null ? void 0 : x.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((Q = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : Q.kts) >= 79 && ((re = (ie = Z.properties) == null ? void 0 : ie.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (ve = Z.properties) == null ? void 0 : ve.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
|
|
9168
9168
|
const fe = `<svg t="1719918955501"
|
|
9169
9169
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
9170
9170
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -9181,7 +9181,7 @@ const gd = {
|
|
|
9181
9181
|
fill="#ffffff" p-id="18386"></path>
|
|
9182
9182
|
</svg>`, Le = document.createElement("div");
|
|
9183
9183
|
Le.className = "idm-tropical-gl4-hourly-marker", Le.innerHTML = `<div class="${Z.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${fe}</div>`;
|
|
9184
|
-
const ze = new
|
|
9184
|
+
const ze = new xe.Marker(Le).setLngLat(Z.geometry.coordinates).addTo(this.map);
|
|
9185
9185
|
this.interpolateMarkers.push(ze);
|
|
9186
9186
|
}
|
|
9187
9187
|
this.$emit("tropicalCenterPoints", le);
|
|
@@ -9213,7 +9213,7 @@ const gd = {
|
|
|
9213
9213
|
drawTropicalsInfoMaker(t) {
|
|
9214
9214
|
this.$nextTick(() => {
|
|
9215
9215
|
const e = document.getElementById("idm-tropical-gl4-info");
|
|
9216
|
-
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat(t).setOffset([220, 0]) : this.activeTropicalsMarker = new
|
|
9216
|
+
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat(t).setOffset([220, 0]) : this.activeTropicalsMarker = new xe.Marker(e).setLngLat(t).setOffset([220, 0]).addTo(this.map);
|
|
9217
9217
|
});
|
|
9218
9218
|
},
|
|
9219
9219
|
handleCloseInfoMarker() {
|
|
@@ -9310,7 +9310,7 @@ const gd = {
|
|
|
9310
9310
|
);
|
|
9311
9311
|
this.hoverPoint && (this.hoverPoint.lng = o.geometry.coordinates[0], this.hoverPoint.lat = o.geometry.coordinates[1], this.hoverPoint.update = (c = (r = i == null ? void 0 : i[0]) == null ? void 0 : r.properties) == null ? void 0 : c.date, (s = this.hoverMarker) == null || s.remove(), this.showHoverPoint = !0, this.$nextTick(() => {
|
|
9312
9312
|
const d = document.getElementById("tropicalHoverMarkerInfo").cloneNode(!0);
|
|
9313
|
-
this.hoverMarker = new
|
|
9313
|
+
this.hoverMarker = new xe.Marker(d).setLngLat(o.geometry.coordinates).setOffset([160, 0]).addTo(this.map);
|
|
9314
9314
|
}));
|
|
9315
9315
|
},
|
|
9316
9316
|
handleLeave() {
|
|
@@ -9321,7 +9321,7 @@ const gd = {
|
|
|
9321
9321
|
}, fd = { class: "idm-tropical-gl4" }, yd = { class: "pb-1" }, bd = { class: "text-h5 font-weight-600" }, wd = {
|
|
9322
9322
|
key: 0,
|
|
9323
9323
|
class: "text-h5 font-weight-600"
|
|
9324
|
-
},
|
|
9324
|
+
}, vd = { class: "text-body-1" }, xd = { class: "text-label" }, Ad = { class: "d-flex justify-space-between align-center" }, kd = { class: "w-60" }, Ld = { class: "text-label pr-1" }, zd = { class: "flex-1-1-0" }, _d = { class: "text-label pr-1" }, Cd = { class: "py-2 d-flex justify-space-between align-center" }, Md = { class: "w-60" }, Pd = { class: "text-label pr-1" }, Sd = { class: "flex-1-1-0" }, Td = { class: "text-label pr-1" }, Rd = { class: "d-flex align-center flex-1-1-100 justify-start mt-n1" }, Dd = {
|
|
9325
9325
|
class: "text-label pr-1",
|
|
9326
9326
|
style: { width: "70px" }
|
|
9327
9327
|
}, Id = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Ed = { class: "more" }, Gd = {
|
|
@@ -9331,7 +9331,7 @@ const gd = {
|
|
|
9331
9331
|
key: 1,
|
|
9332
9332
|
class: "my-3 w-100",
|
|
9333
9333
|
style: { height: "80px" }
|
|
9334
|
-
}, rh = { class: "legend d-flex justify-start align-center" }, nh = { class: "label" }, sh = { class: "legend d-flex justify-start align-center" }, ch = { class: "label" }, mh = { class: "legend d-flex justify-start align-center" }, dh = { class: "label" }, hh = { class: "legend d-flex justify-start align-center" }, uh = { class: "label" }, ph = { class: "legend d-flex justify-start align-center" }, gh = { class: "label" }, fh = { class: "legend d-flex justify-start align-center" }, yh = { class: "label" }, bh = { class: "legend d-flex justify-start align-center" }, wh = { class: "label" },
|
|
9334
|
+
}, rh = { class: "legend d-flex justify-start align-center" }, nh = { class: "label" }, sh = { class: "legend d-flex justify-start align-center" }, ch = { class: "label" }, mh = { class: "legend d-flex justify-start align-center" }, dh = { class: "label" }, hh = { class: "legend d-flex justify-start align-center" }, uh = { class: "label" }, ph = { class: "legend d-flex justify-start align-center" }, gh = { class: "label" }, fh = { class: "legend d-flex justify-start align-center" }, yh = { class: "label" }, bh = { class: "legend d-flex justify-start align-center" }, wh = { class: "label" }, vh = { class: "legend d-flex justify-start align-center" }, xh = { class: "label" }, Ah = { class: "legend d-flex justify-start align-center" }, kh = { class: "label" }, Lh = { class: "legend d-flex justify-start align-center" }, zh = { class: "label" }, _h = { class: "d-flex justify-star align-center" }, Ch = { class: "font-weight-600 mr-1" }, Mh = { class: "" }, Ph = { class: "d-flex flex-column justify-center align-start ga-2" }, Sh = {
|
|
9335
9335
|
key: 0,
|
|
9336
9336
|
class: "d-flex justify-start align-center"
|
|
9337
9337
|
}, Th = { class: "text-label pr-1" }, Rh = {
|
|
@@ -9371,7 +9371,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9371
9371
|
"open-on-focus": !o.simple,
|
|
9372
9372
|
"open-on-hover": !o.simple
|
|
9373
9373
|
}, {
|
|
9374
|
-
activator:
|
|
9374
|
+
activator: v(({ props: b }) => [
|
|
9375
9375
|
w(r, V(b, {
|
|
9376
9376
|
"min-width": "32",
|
|
9377
9377
|
width: "32",
|
|
@@ -9379,7 +9379,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9379
9379
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
9380
9380
|
onClick: l.handleMenuToggle
|
|
9381
9381
|
}), {
|
|
9382
|
-
default:
|
|
9382
|
+
default: v(() => e[2] || (e[2] = [
|
|
9383
9383
|
n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
|
|
9384
9384
|
])),
|
|
9385
9385
|
_: 2,
|
|
@@ -9399,14 +9399,14 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9399
9399
|
class: ue(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
|
|
9400
9400
|
elevation: o.simple ? 0 : 16
|
|
9401
9401
|
}, {
|
|
9402
|
-
default:
|
|
9402
|
+
default: v(() => [
|
|
9403
9403
|
w(s, null, {
|
|
9404
|
-
default:
|
|
9405
|
-
var b, u, h, f, L,
|
|
9404
|
+
default: v(() => {
|
|
9405
|
+
var b, u, h, f, L, x, C, z, P, _, D, T;
|
|
9406
9406
|
return [
|
|
9407
9407
|
n("div", yd, [
|
|
9408
9408
|
n("span", bd, y(o.locale === "en" ? (b = a.activeTropicals) == null ? void 0 : b.Name : ((u = a.activeTropicals) == null ? void 0 : u.nameCn) || ((h = a.activeTropicals) == null ? void 0 : h.Name) || "-"), 1),
|
|
9409
|
-
(L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.levelI18n ? (A(), R("span", wd, " , " + y(t.$t("tropical." + ((C = (
|
|
9409
|
+
(L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.levelI18n ? (A(), R("span", wd, " , " + y(t.$t("tropical." + ((C = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : C.levelI18n))), 1)) : I("", !0)
|
|
9410
9410
|
]),
|
|
9411
9411
|
w(r, {
|
|
9412
9412
|
icon: "",
|
|
@@ -9415,14 +9415,14 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9415
9415
|
class: "close",
|
|
9416
9416
|
onClick: _e(l.handleCloseInfoMarker, ["stop"])
|
|
9417
9417
|
}, {
|
|
9418
|
-
default:
|
|
9418
|
+
default: v(() => e[3] || (e[3] = [
|
|
9419
9419
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
9420
9420
|
])),
|
|
9421
9421
|
_: 1,
|
|
9422
9422
|
__: [3]
|
|
9423
9423
|
}, 8, ["onClick"]),
|
|
9424
|
-
n("div",
|
|
9425
|
-
n("span",
|
|
9424
|
+
n("div", vd, [
|
|
9425
|
+
n("span", xd, y(t.$t("actions.lastUpdate")) + ": ", 1),
|
|
9426
9426
|
n("span", null, y(l.computeTime(((P = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : P.updated) || ((T = (D = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : D.filter((B) => !B.disabled)[0]) == null ? void 0 : T.date), o.timeZone)), 1)
|
|
9427
9427
|
])
|
|
9428
9428
|
];
|
|
@@ -9431,8 +9431,8 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9431
9431
|
}),
|
|
9432
9432
|
w(d),
|
|
9433
9433
|
w(s, { class: "text-body-1 py-3" }, {
|
|
9434
|
-
default:
|
|
9435
|
-
var b, u, h, f, L,
|
|
9434
|
+
default: v(() => {
|
|
9435
|
+
var b, u, h, f, L, x, C, z, P;
|
|
9436
9436
|
return [
|
|
9437
9437
|
n("div", Ad, [
|
|
9438
9438
|
n("div", kd, [
|
|
@@ -9442,7 +9442,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9442
9442
|
]),
|
|
9443
9443
|
n("div", zd, [
|
|
9444
9444
|
n("label", _d, y(t.$t("weather.pressure")) + " : ", 1),
|
|
9445
|
-
n("span", null, y(((
|
|
9445
|
+
n("span", null, y(((x = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : x.pressure) || "-") + " hPa", 1)
|
|
9446
9446
|
])
|
|
9447
9447
|
]),
|
|
9448
9448
|
n("div", Cd, [
|
|
@@ -9467,7 +9467,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9467
9467
|
class: ue(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
9468
9468
|
onClick: _e((T) => l.handleForecastToggle(_), ["stop"])
|
|
9469
9469
|
}, {
|
|
9470
|
-
default:
|
|
9470
|
+
default: v(() => [
|
|
9471
9471
|
N(y(_.model), 1)
|
|
9472
9472
|
]),
|
|
9473
9473
|
_: 2
|
|
@@ -9483,7 +9483,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9483
9483
|
key: 0,
|
|
9484
9484
|
class: "d-flex justify-space-between"
|
|
9485
9485
|
}, {
|
|
9486
|
-
default:
|
|
9486
|
+
default: v(() => [
|
|
9487
9487
|
w(r, {
|
|
9488
9488
|
density: "compact",
|
|
9489
9489
|
"prepend-icon": "",
|
|
@@ -9492,10 +9492,10 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9492
9492
|
class: "text-none text-body-1",
|
|
9493
9493
|
onClick: e[0] || (e[0] = _e((b) => a.showLegend = !a.showLegend, ["stop"]))
|
|
9494
9494
|
}, {
|
|
9495
|
-
prepend:
|
|
9495
|
+
prepend: v(() => e[4] || (e[4] = [
|
|
9496
9496
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
9497
9497
|
])),
|
|
9498
|
-
default:
|
|
9498
|
+
default: v(() => [
|
|
9499
9499
|
N(" " + y(t.$t("weather.legend")), 1)
|
|
9500
9500
|
]),
|
|
9501
9501
|
_: 1
|
|
@@ -9508,7 +9508,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9508
9508
|
class: "text-none text-body-1",
|
|
9509
9509
|
onClick: e[1] || (e[1] = _e((b) => l.handleStrikeProbability(a.activeTropicals), ["stop"]))
|
|
9510
9510
|
}, {
|
|
9511
|
-
default:
|
|
9511
|
+
default: v(() => [
|
|
9512
9512
|
N(y(t.$t("actions.viewReport")), 1)
|
|
9513
9513
|
]),
|
|
9514
9514
|
_: 1
|
|
@@ -9567,9 +9567,9 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9567
9567
|
])
|
|
9568
9568
|
])) : (A(), R("div", lh, [
|
|
9569
9569
|
uo(w(p, { elevation: "16" }, {
|
|
9570
|
-
default:
|
|
9570
|
+
default: v(() => [
|
|
9571
9571
|
w(s, null, {
|
|
9572
|
-
default:
|
|
9572
|
+
default: v(() => [
|
|
9573
9573
|
uo(n("div", {
|
|
9574
9574
|
class: ue(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
|
|
9575
9575
|
}, [
|
|
@@ -9601,9 +9601,9 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9601
9601
|
e[21] || (e[21] = n("div", { class: "icon history" }, null, -1)),
|
|
9602
9602
|
n("div", wh, y(t.$t("tropical.history")), 1)
|
|
9603
9603
|
]),
|
|
9604
|
-
n("div",
|
|
9604
|
+
n("div", vh, [
|
|
9605
9605
|
e[22] || (e[22] = n("div", { class: "icon forecast" }, null, -1)),
|
|
9606
|
-
n("div",
|
|
9606
|
+
n("div", xh, y(t.$t("tropical.forecast")), 1)
|
|
9607
9607
|
]),
|
|
9608
9608
|
n("div", Ah, [
|
|
9609
9609
|
e[23] || (e[23] = n("div", { class: "icon r7" }, null, -1)),
|
|
@@ -9631,9 +9631,9 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9631
9631
|
elevation: "16",
|
|
9632
9632
|
"max-width": "290"
|
|
9633
9633
|
}, {
|
|
9634
|
-
default:
|
|
9634
|
+
default: v(() => [
|
|
9635
9635
|
w(g, null, {
|
|
9636
|
-
default:
|
|
9636
|
+
default: v(() => {
|
|
9637
9637
|
var b, u, h, f;
|
|
9638
9638
|
return [
|
|
9639
9639
|
n("div", _h, [
|
|
@@ -9646,8 +9646,8 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9646
9646
|
}),
|
|
9647
9647
|
w(d),
|
|
9648
9648
|
w(s, { class: "text-body-1" }, {
|
|
9649
|
-
default:
|
|
9650
|
-
var b, u, h, f, L,
|
|
9649
|
+
default: v(() => {
|
|
9650
|
+
var b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
|
|
9651
9651
|
return [
|
|
9652
9652
|
n("div", Ph, [
|
|
9653
9653
|
((b = a.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (A(), R("div", Sh, [
|
|
@@ -9660,7 +9660,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9660
9660
|
])) : I("", !0),
|
|
9661
9661
|
((L = a.hoverPoint) == null ? void 0 : L.type) === "history" ? (A(), R("div", Ih, [
|
|
9662
9662
|
n("label", Eh, y(t.$t("tropical.forecast")) + " : ", 1),
|
|
9663
|
-
n("span", null, y(l.computeTzTime((
|
|
9663
|
+
n("span", null, y(l.computeTzTime((x = a.hoverPoint) == null ? void 0 : x.date, o.timeZone)), 1)
|
|
9664
9664
|
])) : I("", !0),
|
|
9665
9665
|
((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (A(), R("div", Gh, [
|
|
9666
9666
|
n("label", Fh, y(t.$t("tropical.model")) + " : ", 1),
|
|
@@ -9684,7 +9684,7 @@ function Kh(t, e, o, i, a, l) {
|
|
|
9684
9684
|
])) : I("", !0),
|
|
9685
9685
|
((re = a.hoverPoint) == null ? void 0 : re.type) === "history" ? (A(), R("div", Hh, [
|
|
9686
9686
|
n("label", Yh, y(t.$t("tropical.moveDir")) + " : ", 1),
|
|
9687
|
-
n("span", null, y(((be = JSON.parse(((
|
|
9687
|
+
n("span", null, y(((be = JSON.parse(((ve = a.hoverPoint) == null ? void 0 : ve.movement) || "{}")) == null ? void 0 : be.deg) ?? "-") + " °", 1)
|
|
9688
9688
|
])) : I("", !0),
|
|
9689
9689
|
n("div", Uh, [
|
|
9690
9690
|
n("label", Jh, y(t.$t("tropical.position")) + " : ", 1),
|
|
@@ -9907,9 +9907,9 @@ function ou(t, e, o, i, a, l) {
|
|
|
9907
9907
|
class: "card-box d-flex flex-column border elevation-12",
|
|
9908
9908
|
style: ge(l.getStyle)
|
|
9909
9909
|
}, {
|
|
9910
|
-
default:
|
|
9910
|
+
default: v(() => [
|
|
9911
9911
|
w(p, { class: "w-100 flex-1-1-0 d-flex pa-0 text-body-1" }, {
|
|
9912
|
-
default:
|
|
9912
|
+
default: v(() => [
|
|
9913
9913
|
n("div", $h, [
|
|
9914
9914
|
w(r, {
|
|
9915
9915
|
modelValue: a.currentDate,
|
|
@@ -9930,7 +9930,7 @@ function ou(t, e, o, i, a, l) {
|
|
|
9930
9930
|
n("div", eu, [
|
|
9931
9931
|
n("div", tu, y(t.$t("time.time")), 1),
|
|
9932
9932
|
w(m, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
9933
|
-
default:
|
|
9933
|
+
default: v(() => [
|
|
9934
9934
|
(A(!0), R(Ce, null, Me(l.hourOptions, (h, f) => (A(), F(d, {
|
|
9935
9935
|
key: f,
|
|
9936
9936
|
value: h,
|
|
@@ -9942,12 +9942,12 @@ function ou(t, e, o, i, a, l) {
|
|
|
9942
9942
|
class: "rounded-xl",
|
|
9943
9943
|
variant: a.currentTime === h ? "flat" : "text"
|
|
9944
9944
|
}, {
|
|
9945
|
-
default:
|
|
9945
|
+
default: v(() => [
|
|
9946
9946
|
w(s, {
|
|
9947
9947
|
class: "text-body-2 font-weight-600 text-center",
|
|
9948
9948
|
onClick: (L) => a.currentTime = h
|
|
9949
9949
|
}, {
|
|
9950
|
-
default:
|
|
9950
|
+
default: v(() => [
|
|
9951
9951
|
N(y(h), 1)
|
|
9952
9952
|
]),
|
|
9953
9953
|
_: 2
|
|
@@ -9967,14 +9967,14 @@ function ou(t, e, o, i, a, l) {
|
|
|
9967
9967
|
class: "w-100 d-flex justify-end align-center px-4 ga-4",
|
|
9968
9968
|
style: { height: "50px" }
|
|
9969
9969
|
}, {
|
|
9970
|
-
default:
|
|
9970
|
+
default: v(() => [
|
|
9971
9971
|
w(g, {
|
|
9972
9972
|
size: "small",
|
|
9973
9973
|
variant: "tonal",
|
|
9974
9974
|
class: "text-none text-body-1 px-4",
|
|
9975
9975
|
onClick: l.handleCancelDate
|
|
9976
9976
|
}, {
|
|
9977
|
-
default:
|
|
9977
|
+
default: v(() => [
|
|
9978
9978
|
N(y(t.$t("actions.cancel")), 1)
|
|
9979
9979
|
]),
|
|
9980
9980
|
_: 1
|
|
@@ -9986,7 +9986,7 @@ function ou(t, e, o, i, a, l) {
|
|
|
9986
9986
|
class: "text-none text-body-1 px-4",
|
|
9987
9987
|
onClick: l.handleConfirmDate
|
|
9988
9988
|
}, {
|
|
9989
|
-
default:
|
|
9989
|
+
default: v(() => [
|
|
9990
9990
|
N(y(t.$t("actions.confirm")), 1)
|
|
9991
9991
|
]),
|
|
9992
9992
|
_: 1
|
|
@@ -10264,10 +10264,10 @@ const au = {
|
|
|
10264
10264
|
}), this.loading = !1;
|
|
10265
10265
|
},
|
|
10266
10266
|
initTableData(t) {
|
|
10267
|
-
var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
10267
|
+
var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
|
|
10268
10268
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (l = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset;
|
|
10269
10269
|
const e = ((r = Zo.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : r[0]) || {};
|
|
10270
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((
|
|
10270
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((x = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : x.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.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 = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Q = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (ve = e == null ? void 0 : e.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
|
|
10271
10271
|
},
|
|
10272
10272
|
handleBind() {
|
|
10273
10273
|
var t, e;
|
|
@@ -10297,14 +10297,14 @@ const au = {
|
|
|
10297
10297
|
var o, i;
|
|
10298
10298
|
(o = this.positionMarker) == null || o.remove();
|
|
10299
10299
|
const e = (i = document.getElementById("idm-position-icon")) == null ? void 0 : i.cloneNode(!0);
|
|
10300
|
-
this.positionMarker = new
|
|
10300
|
+
this.positionMarker = new xe.Marker(e).setLngLat(t).setOffset([0, -15]).addTo(this.map);
|
|
10301
10301
|
}));
|
|
10302
10302
|
},
|
|
10303
10303
|
drawMeteoInfoMarker(t) {
|
|
10304
10304
|
this.$nextTick(() => {
|
|
10305
10305
|
var o;
|
|
10306
10306
|
const e = document.getElementById("idm-gl4-spot-meteo");
|
|
10307
|
-
this.meteoInfoMarker ? (o = this.meteoInfoMarker) == null || o.setLngLat(t) : this.meteoInfoMarker = new
|
|
10307
|
+
this.meteoInfoMarker ? (o = this.meteoInfoMarker) == null || o.setLngLat(t) : this.meteoInfoMarker = new xe.Marker(e).setLngLat(t).setOffset([0, -190]).addTo(this.map);
|
|
10308
10308
|
});
|
|
10309
10309
|
},
|
|
10310
10310
|
handleMeteoMore() {
|
|
@@ -10330,7 +10330,7 @@ const au = {
|
|
|
10330
10330
|
this.$emit("cancelFollow", t);
|
|
10331
10331
|
}
|
|
10332
10332
|
}
|
|
10333
|
-
}, iu = { class: "idm-gl4-spot" }, lu = { class: "d-flex justify-start align-center" }, ru = { class: "text-h6 font-weight-600" }, nu = { class: "d-flex justify-start align-center ga-1 mb-2" }, su = { class: "text-label" }, cu = { class: "w-100 d-flex ma-0" }, mu = { class: "w-30 pa-0 d-flex" }, du = { class: "flex-1-1-0 pa-0 d-flex" }, hu = { class: "pa-0" }, uu = { class: "d-flex justify-start align-center ga-1 mb-2" }, pu = { class: "text-label" }, gu = { class: "w-100 d-flex ma-0" }, fu = { class: "w-30 pa-0 d-flex" }, yu = { class: "flex-1-1-0 pa-0 d-flex" }, bu = { class: "pa-0" }, wu = { class: "d-flex justify-start align-center ga-1 mb-2" },
|
|
10333
|
+
}, iu = { class: "idm-gl4-spot" }, lu = { class: "d-flex justify-start align-center" }, ru = { class: "text-h6 font-weight-600" }, nu = { class: "d-flex justify-start align-center ga-1 mb-2" }, su = { class: "text-label" }, cu = { class: "w-100 d-flex ma-0" }, mu = { class: "w-30 pa-0 d-flex" }, du = { class: "flex-1-1-0 pa-0 d-flex" }, hu = { class: "pa-0" }, uu = { class: "d-flex justify-start align-center ga-1 mb-2" }, pu = { class: "text-label" }, gu = { class: "w-100 d-flex ma-0" }, fu = { class: "w-30 pa-0 d-flex" }, yu = { class: "flex-1-1-0 pa-0 d-flex" }, bu = { class: "pa-0" }, wu = { class: "d-flex justify-start align-center ga-1 mb-2" }, vu = { class: "text-label" }, xu = { class: "d-flex justify-start align-center ga-1 mb-2" }, Au = { class: "text-label" }, ku = { class: "d-flex justify-start align-center" }, Lu = { class: "mx-2" }, zu = { class: "mx-0 py-2 d-flex align-center justify-start" }, _u = {
|
|
10334
10334
|
style: { width: "100px" },
|
|
10335
10335
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
10336
10336
|
}, Cu = { class: "pa-0 px-0" }, Mu = { class: "mx-0 py-2 d-flex align-center justify-start" }, Pu = {
|
|
@@ -10388,9 +10388,9 @@ const au = {
|
|
|
10388
10388
|
class: "multi-color-icon",
|
|
10389
10389
|
style: { height: "30px", width: "30px" },
|
|
10390
10390
|
"aria-hidden": "true"
|
|
10391
|
-
},
|
|
10392
|
-
function
|
|
10393
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VDivider"), m = M("VTextField"), p = M("DateTimePicker"), g = M("VCol"), b = M("VRow"), u = M("VBtnToggle"), h = M("VCardText"), f = M("VCardActions"), L = M("VForm"),
|
|
10391
|
+
}, vp = ["xlink:href"];
|
|
10392
|
+
function xp(t, e, o, i, a, l) {
|
|
10393
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VDivider"), m = M("VTextField"), p = M("DateTimePicker"), g = M("VCol"), b = M("VRow"), u = M("VBtnToggle"), h = M("VCardText"), f = M("VCardActions"), L = M("VForm"), x = M("VCard");
|
|
10394
10394
|
return A(), R("div", iu, [
|
|
10395
10395
|
n("div", {
|
|
10396
10396
|
class: "menu-bar-box transition pa-1",
|
|
@@ -10404,7 +10404,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10404
10404
|
"open-on-focus": !o.simple,
|
|
10405
10405
|
"open-on-hover": !o.simple
|
|
10406
10406
|
}, {
|
|
10407
|
-
activator:
|
|
10407
|
+
activator: v(({ props: C }) => [
|
|
10408
10408
|
w(r, V(C, {
|
|
10409
10409
|
"min-width": "32",
|
|
10410
10410
|
width: "32",
|
|
@@ -10412,7 +10412,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10412
10412
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
10413
10413
|
onClick: l.handleMenuToggle
|
|
10414
10414
|
}), {
|
|
10415
|
-
default:
|
|
10415
|
+
default: v(() => e[8] || (e[8] = [
|
|
10416
10416
|
n("i", { class: "iconfont icon-a-Spotweather text-h4" }, null, -1)
|
|
10417
10417
|
])),
|
|
10418
10418
|
_: 2,
|
|
@@ -10422,14 +10422,14 @@ function vp(t, e, o, i, a, l) {
|
|
|
10422
10422
|
_: 1
|
|
10423
10423
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
10424
10424
|
], 4),
|
|
10425
|
-
a.showForm && !o.simple ? (A(), F(
|
|
10425
|
+
a.showForm && !o.simple ? (A(), F(x, {
|
|
10426
10426
|
key: 0,
|
|
10427
10427
|
class: "spot-form-card",
|
|
10428
10428
|
style: ge({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
|
|
10429
10429
|
}, {
|
|
10430
|
-
default:
|
|
10430
|
+
default: v(() => [
|
|
10431
10431
|
w(s, { class: "d-flex justify-space-between align-center" }, {
|
|
10432
|
-
default:
|
|
10432
|
+
default: v(() => [
|
|
10433
10433
|
n("div", lu, [
|
|
10434
10434
|
n("div", ru, y(t.$t("spot.spotWeather")), 1)
|
|
10435
10435
|
]),
|
|
@@ -10440,7 +10440,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10440
10440
|
class: "mr-n2",
|
|
10441
10441
|
onClick: l.handleCloseForm
|
|
10442
10442
|
}, {
|
|
10443
|
-
default:
|
|
10443
|
+
default: v(() => e[9] || (e[9] = [
|
|
10444
10444
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
10445
10445
|
])),
|
|
10446
10446
|
_: 1,
|
|
@@ -10456,9 +10456,9 @@ function vp(t, e, o, i, a, l) {
|
|
|
10456
10456
|
class: "form-box",
|
|
10457
10457
|
onSubmit: _e(l.submitForm, ["prevent"])
|
|
10458
10458
|
}, {
|
|
10459
|
-
default:
|
|
10459
|
+
default: v(() => [
|
|
10460
10460
|
w(h, { class: "text-body-1 pa-4 py-2" }, {
|
|
10461
|
-
default:
|
|
10461
|
+
default: v(() => [
|
|
10462
10462
|
n("div", nu, [
|
|
10463
10463
|
n("div", su, [
|
|
10464
10464
|
N(y(t.$t("spot.lat")), 1),
|
|
@@ -10507,7 +10507,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10507
10507
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
10508
10508
|
onClick: e[2] || (e[2] = (C) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
10509
10509
|
}, {
|
|
10510
|
-
default:
|
|
10510
|
+
default: v(() => [
|
|
10511
10511
|
N(y(a.form.latDirection), 1)
|
|
10512
10512
|
]),
|
|
10513
10513
|
_: 1
|
|
@@ -10559,7 +10559,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10559
10559
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
10560
10560
|
onClick: e[5] || (e[5] = (C) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
10561
10561
|
}, {
|
|
10562
|
-
default:
|
|
10562
|
+
default: v(() => [
|
|
10563
10563
|
N(y(a.form.lngDirection), 1)
|
|
10564
10564
|
]),
|
|
10565
10565
|
_: 1
|
|
@@ -10567,18 +10567,18 @@ function vp(t, e, o, i, a, l) {
|
|
|
10567
10567
|
])
|
|
10568
10568
|
]),
|
|
10569
10569
|
n("div", wu, [
|
|
10570
|
-
n("div",
|
|
10570
|
+
n("div", vu, [
|
|
10571
10571
|
N(y(t.$t("spot.dateTime")), 1),
|
|
10572
10572
|
e[16] || (e[16] = n("span", { class: "text-danger" }, "*", -1))
|
|
10573
10573
|
])
|
|
10574
10574
|
]),
|
|
10575
10575
|
w(b, { class: "ma-0 mb-4" }, {
|
|
10576
|
-
default:
|
|
10576
|
+
default: v(() => [
|
|
10577
10577
|
w(g, {
|
|
10578
10578
|
cols: "12",
|
|
10579
10579
|
class: "pa-0"
|
|
10580
10580
|
}, {
|
|
10581
|
-
default:
|
|
10581
|
+
default: v(() => [
|
|
10582
10582
|
w(p, V({
|
|
10583
10583
|
"date-time": a.form.dateTime,
|
|
10584
10584
|
"time-zone": o.timeZone
|
|
@@ -10591,19 +10591,19 @@ function vp(t, e, o, i, a, l) {
|
|
|
10591
10591
|
]),
|
|
10592
10592
|
_: 1
|
|
10593
10593
|
}),
|
|
10594
|
-
n("div",
|
|
10594
|
+
n("div", xu, [
|
|
10595
10595
|
n("div", Au, [
|
|
10596
10596
|
N(y(t.$t("weather.forecastModel")), 1),
|
|
10597
10597
|
e[17] || (e[17] = n("span", { class: "text-danger" }, "*", -1))
|
|
10598
10598
|
])
|
|
10599
10599
|
]),
|
|
10600
10600
|
w(b, { class: "ma-0" }, {
|
|
10601
|
-
default:
|
|
10601
|
+
default: v(() => [
|
|
10602
10602
|
w(g, {
|
|
10603
10603
|
cols: "12",
|
|
10604
10604
|
class: "pa-0"
|
|
10605
10605
|
}, {
|
|
10606
|
-
default:
|
|
10606
|
+
default: v(() => [
|
|
10607
10607
|
w(u, {
|
|
10608
10608
|
modelValue: a.form.forecastModel,
|
|
10609
10609
|
"onUpdate:modelValue": e[7] || (e[7] = (C) => a.form.forecastModel = C),
|
|
@@ -10614,7 +10614,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10614
10614
|
group: "",
|
|
10615
10615
|
mandatory: ""
|
|
10616
10616
|
}, {
|
|
10617
|
-
default:
|
|
10617
|
+
default: v(() => [
|
|
10618
10618
|
w(r, {
|
|
10619
10619
|
density: "compact",
|
|
10620
10620
|
height: "30",
|
|
@@ -10623,7 +10623,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10623
10623
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
10624
10624
|
"base-color": ""
|
|
10625
10625
|
}, {
|
|
10626
|
-
default:
|
|
10626
|
+
default: v(() => e[18] || (e[18] = [
|
|
10627
10627
|
N(" NOAA ", -1)
|
|
10628
10628
|
])),
|
|
10629
10629
|
_: 1,
|
|
@@ -10637,7 +10637,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10637
10637
|
"base-color": "",
|
|
10638
10638
|
value: "ECMWF"
|
|
10639
10639
|
}, {
|
|
10640
|
-
default:
|
|
10640
|
+
default: v(() => e[19] || (e[19] = [
|
|
10641
10641
|
N(" ECMWF ", -1)
|
|
10642
10642
|
])),
|
|
10643
10643
|
_: 1,
|
|
@@ -10657,14 +10657,14 @@ function vp(t, e, o, i, a, l) {
|
|
|
10657
10657
|
}),
|
|
10658
10658
|
w(d),
|
|
10659
10659
|
w(f, { class: "d-flex justify-end align-center ga-4 pa-4 py-2" }, {
|
|
10660
|
-
default:
|
|
10660
|
+
default: v(() => [
|
|
10661
10661
|
w(r, {
|
|
10662
10662
|
size: "small",
|
|
10663
10663
|
variant: "tonal",
|
|
10664
10664
|
class: "text-none text-body-1 btn-bg-1",
|
|
10665
10665
|
onClick: l.cancelForm
|
|
10666
10666
|
}, {
|
|
10667
|
-
default:
|
|
10667
|
+
default: v(() => [
|
|
10668
10668
|
N(y(t.$t("actions.clear")), 1)
|
|
10669
10669
|
]),
|
|
10670
10670
|
_: 1
|
|
@@ -10678,7 +10678,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10678
10678
|
type: "submit",
|
|
10679
10679
|
class: "text-none text-body-1"
|
|
10680
10680
|
}, {
|
|
10681
|
-
default:
|
|
10681
|
+
default: v(() => [
|
|
10682
10682
|
N(y(t.$t("actions.confirm")), 1)
|
|
10683
10683
|
]),
|
|
10684
10684
|
_: 1
|
|
@@ -10692,15 +10692,15 @@ function vp(t, e, o, i, a, l) {
|
|
|
10692
10692
|
]),
|
|
10693
10693
|
_: 1
|
|
10694
10694
|
}, 8, ["style"])) : I("", !0),
|
|
10695
|
-
a.showMeteo && !o.simple ? (A(), F(
|
|
10695
|
+
a.showMeteo && !o.simple ? (A(), F(x, {
|
|
10696
10696
|
key: 1,
|
|
10697
10697
|
id: "idm-gl4-spot-meteo",
|
|
10698
10698
|
class: "spot-meteo",
|
|
10699
10699
|
style: { width: "490px", "z-index": "9" }
|
|
10700
10700
|
}, {
|
|
10701
|
-
default:
|
|
10701
|
+
default: v(() => [
|
|
10702
10702
|
w(s, { class: "d-flex justify-space-between align-center" }, {
|
|
10703
|
-
default:
|
|
10703
|
+
default: v(() => [
|
|
10704
10704
|
n("div", ku, [
|
|
10705
10705
|
e[20] || (e[20] = n("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
10706
10706
|
n("div", Lu, y(l.computePosition(a.form || a.currentHourData)), 1)
|
|
@@ -10712,7 +10712,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10712
10712
|
variant: "plain",
|
|
10713
10713
|
onClick: _e(l.handleCloseMeteo, ["stop"])
|
|
10714
10714
|
}, {
|
|
10715
|
-
default:
|
|
10715
|
+
default: v(() => e[21] || (e[21] = [
|
|
10716
10716
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
10717
10717
|
])),
|
|
10718
10718
|
_: 1,
|
|
@@ -10723,7 +10723,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10723
10723
|
}),
|
|
10724
10724
|
w(d),
|
|
10725
10725
|
w(h, { class: "text-body-1 px-0 py-1" }, {
|
|
10726
|
-
default:
|
|
10726
|
+
default: v(() => {
|
|
10727
10727
|
var C, z;
|
|
10728
10728
|
return [
|
|
10729
10729
|
n("div", zu, [
|
|
@@ -10767,7 +10767,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10767
10767
|
}),
|
|
10768
10768
|
w(d),
|
|
10769
10769
|
w(f, { class: "d-flex justify-space-between align-center" }, {
|
|
10770
|
-
default:
|
|
10770
|
+
default: v(() => {
|
|
10771
10771
|
var C;
|
|
10772
10772
|
return [
|
|
10773
10773
|
(C = o.followList) != null && C.some((z) => {
|
|
@@ -10782,10 +10782,10 @@ function vp(t, e, o, i, a, l) {
|
|
|
10782
10782
|
height: "32",
|
|
10783
10783
|
onClick: _e(l.handleCancelFollow, ["stop"])
|
|
10784
10784
|
}, {
|
|
10785
|
-
prepend:
|
|
10785
|
+
prepend: v(() => e[23] || (e[23] = [
|
|
10786
10786
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
10787
10787
|
])),
|
|
10788
|
-
default:
|
|
10788
|
+
default: v(() => [
|
|
10789
10789
|
N(" " + y(t.$t("actions.unfollow")), 1)
|
|
10790
10790
|
]),
|
|
10791
10791
|
_: 1
|
|
@@ -10798,10 +10798,10 @@ function vp(t, e, o, i, a, l) {
|
|
|
10798
10798
|
height: "32",
|
|
10799
10799
|
onClick: _e(l.handleFollow, ["stop"])
|
|
10800
10800
|
}, {
|
|
10801
|
-
prepend:
|
|
10801
|
+
prepend: v(() => e[24] || (e[24] = [
|
|
10802
10802
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
10803
10803
|
])),
|
|
10804
|
-
default:
|
|
10804
|
+
default: v(() => [
|
|
10805
10805
|
N(y(t.$t("actions.follow")) + " ", 1)
|
|
10806
10806
|
]),
|
|
10807
10807
|
_: 1
|
|
@@ -10814,7 +10814,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10814
10814
|
class: "text-none text-body-1",
|
|
10815
10815
|
onClick: _e(l.handleMeteoMore, ["stop"])
|
|
10816
10816
|
}, {
|
|
10817
|
-
default:
|
|
10817
|
+
default: v(() => [
|
|
10818
10818
|
N(y(t.$t("spot.forecast")), 1)
|
|
10819
10819
|
]),
|
|
10820
10820
|
_: 1
|
|
@@ -10826,15 +10826,15 @@ function vp(t, e, o, i, a, l) {
|
|
|
10826
10826
|
]),
|
|
10827
10827
|
_: 1
|
|
10828
10828
|
})) : I("", !0),
|
|
10829
|
-
a.showMeteo && o.simple ? (A(), F(
|
|
10829
|
+
a.showMeteo && o.simple ? (A(), F(x, {
|
|
10830
10830
|
key: 2,
|
|
10831
10831
|
ref: "spotMeteo",
|
|
10832
10832
|
class: "position-absolute bottom-0 rounded-t-4",
|
|
10833
10833
|
style: { width: "100vw", "z-index": "1001" }
|
|
10834
10834
|
}, {
|
|
10835
|
-
default:
|
|
10835
|
+
default: v(() => [
|
|
10836
10836
|
w(s, null, {
|
|
10837
|
-
default:
|
|
10837
|
+
default: v(() => {
|
|
10838
10838
|
var C;
|
|
10839
10839
|
return [
|
|
10840
10840
|
n("div", Ku, [
|
|
@@ -10856,7 +10856,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10856
10856
|
"min-width": "28",
|
|
10857
10857
|
onClick: _e(l.handleCancelFollow, ["stop"])
|
|
10858
10858
|
}, {
|
|
10859
|
-
default:
|
|
10859
|
+
default: v(() => e[26] || (e[26] = [
|
|
10860
10860
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
10861
10861
|
])),
|
|
10862
10862
|
_: 1,
|
|
@@ -10871,7 +10871,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10871
10871
|
"min-width": "28",
|
|
10872
10872
|
onClick: _e(l.handleFollow, ["stop"])
|
|
10873
10873
|
}, {
|
|
10874
|
-
default:
|
|
10874
|
+
default: v(() => e[27] || (e[27] = [
|
|
10875
10875
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
10876
10876
|
])),
|
|
10877
10877
|
_: 1,
|
|
@@ -10884,7 +10884,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10884
10884
|
variant: "plain",
|
|
10885
10885
|
onClick: _e(l.handleCloseMeteo, ["stop"])
|
|
10886
10886
|
}, {
|
|
10887
|
-
default:
|
|
10887
|
+
default: v(() => e[28] || (e[28] = [
|
|
10888
10888
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
10889
10889
|
])),
|
|
10890
10890
|
_: 1,
|
|
@@ -10900,7 +10900,7 @@ function vp(t, e, o, i, a, l) {
|
|
|
10900
10900
|
}),
|
|
10901
10901
|
w(d),
|
|
10902
10902
|
w(h, { class: "text-body-1 px-0 py-2" }, {
|
|
10903
|
-
default:
|
|
10903
|
+
default: v(() => {
|
|
10904
10904
|
var C, z;
|
|
10905
10905
|
return [
|
|
10906
10906
|
n("div", ep, [
|
|
@@ -10963,14 +10963,14 @@ function vp(t, e, o, i, a, l) {
|
|
|
10963
10963
|
(A(), R("svg", wp, [
|
|
10964
10964
|
n("use", {
|
|
10965
10965
|
"xlink:href": `#icon-spot-${o.theme}`
|
|
10966
|
-
}, null, 8,
|
|
10966
|
+
}, null, 8, vp)
|
|
10967
10967
|
]))
|
|
10968
10968
|
], 512), [
|
|
10969
10969
|
[po, a.showMeteo]
|
|
10970
10970
|
])
|
|
10971
10971
|
]);
|
|
10972
10972
|
}
|
|
10973
|
-
const Ap = /* @__PURE__ */ ne(au, [["render",
|
|
10973
|
+
const Ap = /* @__PURE__ */ ne(au, [["render", xp]]);
|
|
10974
10974
|
const kp = {
|
|
10975
10975
|
name: "IdmMeasure",
|
|
10976
10976
|
props: {
|
|
@@ -11114,7 +11114,7 @@ const kp = {
|
|
|
11114
11114
|
const c = this.geojson.filter((s) => s.id === e.split("-")[0])[0].features.filter((s) => s.geometry.type === "Point");
|
|
11115
11115
|
if (c.length > 2 && c.filter((d) => d.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
|
|
11116
11116
|
const d = document.createElement("div");
|
|
11117
|
-
d.className = "idm-gl4-measure-contextmenu-marker", d.innerHTML = `<span id="del-${e}" class="del-point">${this.$t("actions.detele")}</span>`, this.contextmenu = new
|
|
11117
|
+
d.className = "idm-gl4-measure-contextmenu-marker", d.innerHTML = `<span id="del-${e}" class="del-point">${this.$t("actions.detele")}</span>`, this.contextmenu = new xe.Marker(d).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
|
|
11118
11118
|
}
|
|
11119
11119
|
}
|
|
11120
11120
|
},
|
|
@@ -11236,7 +11236,7 @@ const kp = {
|
|
|
11236
11236
|
this.tipMarker._element.innerHTML = c, this.tipMarker.setLngLat([o.lng, o.lat]);
|
|
11237
11237
|
else {
|
|
11238
11238
|
const s = document.createElement("div");
|
|
11239
|
-
s.className = "idm-gl4-measure-tip-marker", s.innerHTML = c, this.tipMarker = new
|
|
11239
|
+
s.className = "idm-gl4-measure-tip-marker", s.innerHTML = c, this.tipMarker = new xe.Marker(s).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
|
|
11240
11240
|
}
|
|
11241
11241
|
},
|
|
11242
11242
|
handleMove(t) {
|
|
@@ -11312,12 +11312,12 @@ const kp = {
|
|
|
11312
11312
|
for (const c of r) {
|
|
11313
11313
|
const s = document.createElement("div");
|
|
11314
11314
|
s.id = `${t.id}-${c.properties.id}`, s.className = `${t.closed ? "idm-gl4-measure-marker closed" : "idm-gl4-measure-marker"}`, s.innerHTML = '<div class="marker-circle"></div>';
|
|
11315
|
-
const d = new
|
|
11315
|
+
const d = new xe.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(c.geometry.coordinates).addTo(this.map);
|
|
11316
11316
|
d.on("drag", this.handleDrag), d.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(d) : this.pointMarkers[t.id] = [d];
|
|
11317
11317
|
}
|
|
11318
11318
|
if (t.closed) {
|
|
11319
11319
|
const c = r.at(-1), d = t.features.filter((p) => p.geometry.type === "LineString").at(-1), m = document.createElement("div");
|
|
11320
|
-
m.className = "idm-gl4-measure-summary-marker", m.innerHTML = `<div class="marker-label">${d.properties.name}</div><div id="${t.id}" class="marker-close">X</div>`, this.closeMarkers[t.id] = new
|
|
11320
|
+
m.className = "idm-gl4-measure-summary-marker", m.innerHTML = `<div class="marker-label">${d.properties.name}</div><div id="${t.id}" class="marker-close">X</div>`, this.closeMarkers[t.id] = new xe.Marker(m).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
|
|
11321
11321
|
}
|
|
11322
11322
|
}
|
|
11323
11323
|
},
|
|
@@ -11345,7 +11345,7 @@ function zp(t, e, o, i, a, l) {
|
|
|
11345
11345
|
"open-on-focus": !o.simple,
|
|
11346
11346
|
"open-on-hover": !o.simple
|
|
11347
11347
|
}, {
|
|
11348
|
-
activator:
|
|
11348
|
+
activator: v(({ props: s }) => [
|
|
11349
11349
|
w(r, V(s, {
|
|
11350
11350
|
"min-width": "32",
|
|
11351
11351
|
width: "32",
|
|
@@ -11353,7 +11353,7 @@ function zp(t, e, o, i, a, l) {
|
|
|
11353
11353
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
11354
11354
|
onClick: l.handleMenuToggle
|
|
11355
11355
|
}), {
|
|
11356
|
-
default:
|
|
11356
|
+
default: v(() => e[0] || (e[0] = [
|
|
11357
11357
|
n("i", { class: "iconfont icon-a-Measuredistance text-h4" }, null, -1)
|
|
11358
11358
|
])),
|
|
11359
11359
|
_: 2,
|
|
@@ -11544,7 +11544,7 @@ const Cp = {
|
|
|
11544
11544
|
const t = document.createElement("div");
|
|
11545
11545
|
t.className = "idm-gl4-point-center-ring";
|
|
11546
11546
|
const e = this.pointMarker.getLngLat();
|
|
11547
|
-
this.pointHighlightMarker = new
|
|
11547
|
+
this.pointHighlightMarker = new xe.Marker({ element: t, anchor: "center", offset: [0, 0] }).setLngLat(e).addTo(this.map), this.pointMarker.on("drag", () => {
|
|
11548
11548
|
var i;
|
|
11549
11549
|
(i = this.pointHighlightMarker) == null || i.setLngLat(this.pointMarker.getLngLat());
|
|
11550
11550
|
});
|
|
@@ -11577,7 +11577,7 @@ const Cp = {
|
|
|
11577
11577
|
this.clearEditMarkers(), this.drawCoords.forEach((e, o) => {
|
|
11578
11578
|
const i = document.createElement("div");
|
|
11579
11579
|
i.className = "idm-gl4-edit-vertex", i.style.backgroundColor = this.form.color;
|
|
11580
|
-
const a = new
|
|
11580
|
+
const a = new xe.Marker({ element: i, draggable: !0 }).setLngLat(e).addTo(this.map);
|
|
11581
11581
|
a.on("dragstart", () => {
|
|
11582
11582
|
this.map.getCanvas().style.cursor = "pointer";
|
|
11583
11583
|
const { lng: l, lat: r } = a.getLngLat();
|
|
@@ -11668,7 +11668,7 @@ const Cp = {
|
|
|
11668
11668
|
this.drawCoords = e.map((i) => [...i]), this.drawCoords.forEach((i, a) => {
|
|
11669
11669
|
const l = document.createElement("div");
|
|
11670
11670
|
l.className = "idm-gl4-edit-vertex", l.style.backgroundColor = this.form.color;
|
|
11671
|
-
const r = new
|
|
11671
|
+
const r = new xe.Marker({ element: l, draggable: !0 }).setLngLat(i).addTo(this.map);
|
|
11672
11672
|
r.on("dragstart", () => {
|
|
11673
11673
|
this.map.getCanvas().style.cursor = "pointer";
|
|
11674
11674
|
const { lng: c, lat: s } = r.getLngLat();
|
|
@@ -11729,7 +11729,7 @@ const Cp = {
|
|
|
11729
11729
|
if ((a = this.pointMarker) == null || a.remove(), !t || !t.length)
|
|
11730
11730
|
return;
|
|
11731
11731
|
const [o, i] = t[0];
|
|
11732
|
-
this.pointMarker = new
|
|
11732
|
+
this.pointMarker = new xe.Marker({ color: e }).setLngLat([o, i]).addTo(this.map);
|
|
11733
11733
|
},
|
|
11734
11734
|
// -------- Line drawing --------
|
|
11735
11735
|
handleMapClickLine(t) {
|
|
@@ -11804,7 +11804,7 @@ const Cp = {
|
|
|
11804
11804
|
this.tipMarker._element.innerHTML = d, this.tipMarker.setLngLat([e[0], e[1]]);
|
|
11805
11805
|
else {
|
|
11806
11806
|
const m = document.createElement("div");
|
|
11807
|
-
m.className = "idm-gl4-draw-tip-marker", m.innerHTML = d, this.tipMarker = new
|
|
11807
|
+
m.className = "idm-gl4-draw-tip-marker", m.innerHTML = d, this.tipMarker = new xe.Marker(m).setOffset([140, 0]).setLngLat([e[0], e[1]]).addTo(this.map);
|
|
11808
11808
|
}
|
|
11809
11809
|
},
|
|
11810
11810
|
handleRefreshLine() {
|
|
@@ -11873,7 +11873,7 @@ const Cp = {
|
|
|
11873
11873
|
this.handleClearVertexLabels();
|
|
11874
11874
|
const o = H.lat2pretty(t[1], 4).pretty, i = H.lng2pretty(t[0], 4).pretty, a = document.createElement("div");
|
|
11875
11875
|
a.className = "idm-gl4-draw-corner-label center", a.innerHTML = `<span class="corner-text">${o} <br/> ${i}</span>`;
|
|
11876
|
-
const l = new
|
|
11876
|
+
const l = new xe.Marker(a, { anchor: "bottom", offset: [0, e] }).setLngLat(t).addTo(this.map);
|
|
11877
11877
|
this.polygonVertexMarkers.push(l);
|
|
11878
11878
|
},
|
|
11879
11879
|
handleRenderAllVertexLabels(t) {
|
|
@@ -11885,7 +11885,7 @@ const Cp = {
|
|
|
11885
11885
|
a >= 0 && i >= 0 ? l = "bottom-left" : a >= 0 && i < 0 ? l = "bottom-right" : a < 0 && i >= 0 ? l = "top-left" : l = "top-right";
|
|
11886
11886
|
const r = H.lat2pretty(o[1], 4).pretty, c = H.lng2pretty(o[0], 4).pretty, s = document.createElement("div");
|
|
11887
11887
|
s.className = "idm-gl4-draw-corner-label " + l, s.innerHTML = `<span class="corner-text">${r} <br/> ${c}</span>`;
|
|
11888
|
-
const d = new
|
|
11888
|
+
const d = new xe.Marker(s, { anchor: l }).setLngLat(o).addTo(this.map);
|
|
11889
11889
|
this.polygonVertexMarkers.push(d);
|
|
11890
11890
|
});
|
|
11891
11891
|
},
|
|
@@ -11932,7 +11932,7 @@ const Cp = {
|
|
|
11932
11932
|
handleRenderCircleCenterLabel(t) {
|
|
11933
11933
|
const e = H.lat2pretty(t[1], 4).pretty, o = H.lng2pretty(t[0], 4).pretty, i = document.createElement("div");
|
|
11934
11934
|
i.className = "idm-gl4-draw-corner-label bottom-right", i.innerHTML = `<span class="corner-text">${e} <br/> ${o}</span>`;
|
|
11935
|
-
const a = new
|
|
11935
|
+
const a = new xe.Marker(i, { anchor: "bottom-right" }).setLngLat(t).addTo(this.map);
|
|
11936
11936
|
this.circleMarkers.push(a);
|
|
11937
11937
|
},
|
|
11938
11938
|
handleRenderRadiusLine(t, e, o) {
|
|
@@ -11955,7 +11955,7 @@ const Cp = {
|
|
|
11955
11955
|
this.circleMarkers.length > 1 && (this.circleMarkers[1].remove(), this.circleMarkers.splice(1, 1));
|
|
11956
11956
|
const h = document.createElement("div"), f = document.createElement("span");
|
|
11957
11957
|
f.className = "idm-gl4-draw-radius-label", f.style.transform = `rotate(${m}deg)`, f.style.transformOrigin = "center", f.style.display = "inline-block", f.textContent = `${i} nm`, h.appendChild(f);
|
|
11958
|
-
const L = new
|
|
11958
|
+
const L = new xe.Marker(h, { anchor: "center", offset: [b, u] }).setLngLat(l).addTo(this.map);
|
|
11959
11959
|
this.circleMarkers.push(L);
|
|
11960
11960
|
},
|
|
11961
11961
|
handleClearCircleLabels() {
|
|
@@ -12034,7 +12034,7 @@ const Cp = {
|
|
|
12034
12034
|
this.handleClearRectCorners(), r.forEach(({ coord: c, anchor: s }) => {
|
|
12035
12035
|
const d = H.lat2pretty(c[1], 4).pretty, m = H.lng2pretty(c[0], 4).pretty, p = document.createElement("div");
|
|
12036
12036
|
p.className = "idm-gl4-draw-corner-label " + s, p.innerHTML = `<span class="corner-text">${d} <br/> ${m}</span>`;
|
|
12037
|
-
const g = new
|
|
12037
|
+
const g = new xe.Marker(p, { anchor: s }).setLngLat(c).addTo(this.map);
|
|
12038
12038
|
this.rectCornerMarkers.push(g);
|
|
12039
12039
|
});
|
|
12040
12040
|
},
|
|
@@ -12177,14 +12177,14 @@ function tg(t, e, o, i, a, l) {
|
|
|
12177
12177
|
class: "idm-gl4-draw-dialog-card",
|
|
12178
12178
|
elevation: "4"
|
|
12179
12179
|
}, {
|
|
12180
|
-
default:
|
|
12180
|
+
default: v(() => {
|
|
12181
12181
|
var L;
|
|
12182
12182
|
return [
|
|
12183
12183
|
w(c, { class: "d-flex justify-space-between align-center" }, {
|
|
12184
|
-
default:
|
|
12185
|
-
var
|
|
12184
|
+
default: v(() => {
|
|
12185
|
+
var x;
|
|
12186
12186
|
return [
|
|
12187
|
-
n("span", Mp, y((
|
|
12187
|
+
n("span", Mp, y((x = o.editLayer) != null && x.id ? t.$t("actions.edit") : t.$t("actions.addMarker")), 1),
|
|
12188
12188
|
w(r, {
|
|
12189
12189
|
icon: "",
|
|
12190
12190
|
density: "compact",
|
|
@@ -12192,7 +12192,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12192
12192
|
class: "mr-n2",
|
|
12193
12193
|
onClick: l.handleClose
|
|
12194
12194
|
}, {
|
|
12195
|
-
default:
|
|
12195
|
+
default: v(() => e[21] || (e[21] = [
|
|
12196
12196
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
12197
12197
|
])),
|
|
12198
12198
|
_: 1,
|
|
@@ -12204,12 +12204,12 @@ function tg(t, e, o, i, a, l) {
|
|
|
12204
12204
|
}),
|
|
12205
12205
|
w(s),
|
|
12206
12206
|
w(m, { class: "text-body-1 px-4 pb-0" }, {
|
|
12207
|
-
default:
|
|
12208
|
-
var
|
|
12207
|
+
default: v(() => {
|
|
12208
|
+
var x;
|
|
12209
12209
|
return [
|
|
12210
12210
|
n("div", Pp, y(t.$t("marker.group")), 1),
|
|
12211
12211
|
w(d, {
|
|
12212
|
-
"model-value": (
|
|
12212
|
+
"model-value": (x = o.group) == null ? void 0 : x.name,
|
|
12213
12213
|
density: "compact",
|
|
12214
12214
|
variant: "outlined",
|
|
12215
12215
|
"hide-details": "",
|
|
@@ -12224,8 +12224,8 @@ function tg(t, e, o, i, a, l) {
|
|
|
12224
12224
|
key: 0,
|
|
12225
12225
|
class: "text-body-1 px-4 pb-0"
|
|
12226
12226
|
}, {
|
|
12227
|
-
default:
|
|
12228
|
-
var
|
|
12227
|
+
default: v(() => {
|
|
12228
|
+
var x;
|
|
12229
12229
|
return [
|
|
12230
12230
|
n("div", Sp, [
|
|
12231
12231
|
N(y(t.$t("marker.markerType")), 1),
|
|
@@ -12239,9 +12239,9 @@ function tg(t, e, o, i, a, l) {
|
|
|
12239
12239
|
density: "compact",
|
|
12240
12240
|
variant: "flat",
|
|
12241
12241
|
class: "w-100",
|
|
12242
|
-
disabled: !!((
|
|
12242
|
+
disabled: !!((x = o.editLayer) != null && x.id)
|
|
12243
12243
|
}, {
|
|
12244
|
-
default:
|
|
12244
|
+
default: v(() => [
|
|
12245
12245
|
w(r, {
|
|
12246
12246
|
value: "Point",
|
|
12247
12247
|
class: ue(["flex-1-1-0 text-none text-body-1", a.markerType === "Point" ? "" : "btn-border-1 btn-bg-1"]),
|
|
@@ -12250,7 +12250,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12250
12250
|
height: "32px",
|
|
12251
12251
|
"min-height": "32px"
|
|
12252
12252
|
}, {
|
|
12253
|
-
default:
|
|
12253
|
+
default: v(() => [
|
|
12254
12254
|
N(y(t.$t("marker.point")), 1)
|
|
12255
12255
|
]),
|
|
12256
12256
|
_: 1
|
|
@@ -12263,7 +12263,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12263
12263
|
height: "32px",
|
|
12264
12264
|
"min-height": "32px"
|
|
12265
12265
|
}, {
|
|
12266
|
-
default:
|
|
12266
|
+
default: v(() => [
|
|
12267
12267
|
N(y(t.$t("marker.line")), 1)
|
|
12268
12268
|
]),
|
|
12269
12269
|
_: 1
|
|
@@ -12275,7 +12275,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12275
12275
|
height: "32px",
|
|
12276
12276
|
"min-height": "32px"
|
|
12277
12277
|
}, {
|
|
12278
|
-
default:
|
|
12278
|
+
default: v(() => [
|
|
12279
12279
|
N(y(t.$t("marker.area")), 1)
|
|
12280
12280
|
]),
|
|
12281
12281
|
_: 1
|
|
@@ -12294,26 +12294,26 @@ function tg(t, e, o, i, a, l) {
|
|
|
12294
12294
|
class: "form-box",
|
|
12295
12295
|
onSubmit: _e(l.handleSave, ["prevent"])
|
|
12296
12296
|
}, {
|
|
12297
|
-
default:
|
|
12297
|
+
default: v(() => [
|
|
12298
12298
|
w(m, { class: "px-4 text-body-1" }, {
|
|
12299
|
-
default:
|
|
12299
|
+
default: v(() => [
|
|
12300
12300
|
n("div", Tp, [
|
|
12301
12301
|
n("div", Rp, [
|
|
12302
12302
|
N(y(t.$t("marker.lat")), 1),
|
|
12303
12303
|
e[23] || (e[23] = n("span", { class: "text-danger" }, "*", -1))
|
|
12304
12304
|
]),
|
|
12305
12305
|
w(b, { class: "ma-0" }, {
|
|
12306
|
-
default:
|
|
12306
|
+
default: v(() => [
|
|
12307
12307
|
w(g, {
|
|
12308
12308
|
cols: "4",
|
|
12309
12309
|
class: "pa-0 d-flex"
|
|
12310
12310
|
}, {
|
|
12311
|
-
default:
|
|
12311
|
+
default: v(() => [
|
|
12312
12312
|
w(d, {
|
|
12313
12313
|
modelValue: a.form.latDegree,
|
|
12314
12314
|
"onUpdate:modelValue": [
|
|
12315
|
-
e[1] || (e[1] = (
|
|
12316
|
-
e[2] || (e[2] = (
|
|
12315
|
+
e[1] || (e[1] = (x) => a.form.latDegree = x),
|
|
12316
|
+
e[2] || (e[2] = (x) => l.handleChangePoint())
|
|
12317
12317
|
],
|
|
12318
12318
|
rules: a.formRules.latDegree,
|
|
12319
12319
|
label: "",
|
|
@@ -12335,12 +12335,12 @@ function tg(t, e, o, i, a, l) {
|
|
|
12335
12335
|
cols: "6",
|
|
12336
12336
|
class: "pa-0 d-flex"
|
|
12337
12337
|
}, {
|
|
12338
|
-
default:
|
|
12338
|
+
default: v(() => [
|
|
12339
12339
|
w(d, {
|
|
12340
12340
|
modelValue: a.form.latMinute,
|
|
12341
12341
|
"onUpdate:modelValue": [
|
|
12342
|
-
e[3] || (e[3] = (
|
|
12343
|
-
e[4] || (e[4] = (
|
|
12342
|
+
e[3] || (e[3] = (x) => a.form.latMinute = x),
|
|
12343
|
+
e[4] || (e[4] = (x) => l.handleChangePoint())
|
|
12344
12344
|
],
|
|
12345
12345
|
rules: a.formRules.latMinute,
|
|
12346
12346
|
label: "",
|
|
@@ -12362,7 +12362,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12362
12362
|
cols: "2",
|
|
12363
12363
|
class: "pa-0"
|
|
12364
12364
|
}, {
|
|
12365
|
-
default:
|
|
12365
|
+
default: v(() => [
|
|
12366
12366
|
w(r, {
|
|
12367
12367
|
variant: "outlined",
|
|
12368
12368
|
density: "compact",
|
|
@@ -12371,11 +12371,11 @@ function tg(t, e, o, i, a, l) {
|
|
|
12371
12371
|
height: "32",
|
|
12372
12372
|
class: "text-body-1 bg-primary",
|
|
12373
12373
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
12374
|
-
onClick: e[5] || (e[5] = (
|
|
12374
|
+
onClick: e[5] || (e[5] = (x) => {
|
|
12375
12375
|
a.form.latDir = a.form.latDir === "N" ? "S" : "N", l.handleChangePoint();
|
|
12376
12376
|
})
|
|
12377
12377
|
}, {
|
|
12378
|
-
default:
|
|
12378
|
+
default: v(() => [
|
|
12379
12379
|
N(y(a.form.latDir), 1)
|
|
12380
12380
|
]),
|
|
12381
12381
|
_: 1
|
|
@@ -12393,17 +12393,17 @@ function tg(t, e, o, i, a, l) {
|
|
|
12393
12393
|
e[26] || (e[26] = n("span", { class: "text-danger" }, "*", -1))
|
|
12394
12394
|
]),
|
|
12395
12395
|
w(b, { class: "ma-0" }, {
|
|
12396
|
-
default:
|
|
12396
|
+
default: v(() => [
|
|
12397
12397
|
w(g, {
|
|
12398
12398
|
cols: "4",
|
|
12399
12399
|
class: "pa-0 d-flex"
|
|
12400
12400
|
}, {
|
|
12401
|
-
default:
|
|
12401
|
+
default: v(() => [
|
|
12402
12402
|
w(d, {
|
|
12403
12403
|
modelValue: a.form.lngDegree,
|
|
12404
12404
|
"onUpdate:modelValue": [
|
|
12405
|
-
e[6] || (e[6] = (
|
|
12406
|
-
e[7] || (e[7] = (
|
|
12405
|
+
e[6] || (e[6] = (x) => a.form.lngDegree = x),
|
|
12406
|
+
e[7] || (e[7] = (x) => l.handleChangePoint())
|
|
12407
12407
|
],
|
|
12408
12408
|
rules: a.formRules.lngDegree,
|
|
12409
12409
|
density: "compact",
|
|
@@ -12420,12 +12420,12 @@ function tg(t, e, o, i, a, l) {
|
|
|
12420
12420
|
cols: "6",
|
|
12421
12421
|
class: "pa-0 d-flex"
|
|
12422
12422
|
}, {
|
|
12423
|
-
default:
|
|
12423
|
+
default: v(() => [
|
|
12424
12424
|
w(d, {
|
|
12425
12425
|
modelValue: a.form.lngMinute,
|
|
12426
12426
|
"onUpdate:modelValue": [
|
|
12427
|
-
e[8] || (e[8] = (
|
|
12428
|
-
e[9] || (e[9] = (
|
|
12427
|
+
e[8] || (e[8] = (x) => a.form.lngMinute = x),
|
|
12428
|
+
e[9] || (e[9] = (x) => l.handleChangePoint())
|
|
12429
12429
|
],
|
|
12430
12430
|
rules: a.formRules.lngMinute,
|
|
12431
12431
|
density: "compact",
|
|
@@ -12442,7 +12442,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12442
12442
|
cols: "2",
|
|
12443
12443
|
class: "pa-0"
|
|
12444
12444
|
}, {
|
|
12445
|
-
default:
|
|
12445
|
+
default: v(() => [
|
|
12446
12446
|
w(r, {
|
|
12447
12447
|
variant: "outlined",
|
|
12448
12448
|
density: "compact",
|
|
@@ -12451,11 +12451,11 @@ function tg(t, e, o, i, a, l) {
|
|
|
12451
12451
|
height: "32",
|
|
12452
12452
|
class: "text-body-1 bg-primary",
|
|
12453
12453
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
12454
|
-
onClick: e[10] || (e[10] = (
|
|
12454
|
+
onClick: e[10] || (e[10] = (x) => {
|
|
12455
12455
|
a.form.lngDir = a.form.lngDir === "E" ? "W" : "E", l.handleChangePoint();
|
|
12456
12456
|
})
|
|
12457
12457
|
}, {
|
|
12458
|
-
default:
|
|
12458
|
+
default: v(() => [
|
|
12459
12459
|
N(y(a.form.lngDir), 1)
|
|
12460
12460
|
]),
|
|
12461
12461
|
_: 1
|
|
@@ -12477,11 +12477,11 @@ function tg(t, e, o, i, a, l) {
|
|
|
12477
12477
|
type: "color",
|
|
12478
12478
|
value: a.form.color,
|
|
12479
12479
|
class: "native-color-picker cursor-pointer",
|
|
12480
|
-
onInput: e[11] || (e[11] = (
|
|
12480
|
+
onInput: e[11] || (e[11] = (x) => a.form.color = x.target.value)
|
|
12481
12481
|
}, null, 40, Bp),
|
|
12482
12482
|
w(d, {
|
|
12483
12483
|
modelValue: a.form.color,
|
|
12484
|
-
"onUpdate:modelValue": e[12] || (e[12] = (
|
|
12484
|
+
"onUpdate:modelValue": e[12] || (e[12] = (x) => a.form.color = x),
|
|
12485
12485
|
rules: a.formRules.color,
|
|
12486
12486
|
density: "compact",
|
|
12487
12487
|
variant: "outlined",
|
|
@@ -12496,7 +12496,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12496
12496
|
]),
|
|
12497
12497
|
w(d, {
|
|
12498
12498
|
modelValue: a.form.name,
|
|
12499
|
-
"onUpdate:modelValue": e[13] || (e[13] = (
|
|
12499
|
+
"onUpdate:modelValue": e[13] || (e[13] = (x) => a.form.name = x),
|
|
12500
12500
|
density: "compact",
|
|
12501
12501
|
variant: "outlined",
|
|
12502
12502
|
rules: a.formRules.name,
|
|
@@ -12509,14 +12509,14 @@ function tg(t, e, o, i, a, l) {
|
|
|
12509
12509
|
}),
|
|
12510
12510
|
w(s),
|
|
12511
12511
|
w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
|
|
12512
|
-
default:
|
|
12512
|
+
default: v(() => [
|
|
12513
12513
|
w(r, {
|
|
12514
12514
|
class: "text-none text-body-1",
|
|
12515
12515
|
variant: "tonal",
|
|
12516
12516
|
density: "comfortable",
|
|
12517
12517
|
onClick: l.handleClearDraw
|
|
12518
12518
|
}, {
|
|
12519
|
-
default:
|
|
12519
|
+
default: v(() => [
|
|
12520
12520
|
N(y(t.$t("actions.clear")), 1)
|
|
12521
12521
|
]),
|
|
12522
12522
|
_: 1
|
|
@@ -12529,7 +12529,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12529
12529
|
type: "submit",
|
|
12530
12530
|
loading: a.saving
|
|
12531
12531
|
}, {
|
|
12532
|
-
default:
|
|
12532
|
+
default: v(() => [
|
|
12533
12533
|
N(y(t.$t("actions.save")), 1)
|
|
12534
12534
|
]),
|
|
12535
12535
|
_: 1
|
|
@@ -12547,9 +12547,9 @@ function tg(t, e, o, i, a, l) {
|
|
|
12547
12547
|
class: "form-box",
|
|
12548
12548
|
onSubmit: _e(l.handleSave, ["prevent"])
|
|
12549
12549
|
}, {
|
|
12550
|
-
default:
|
|
12550
|
+
default: v(() => [
|
|
12551
12551
|
w(m, { class: "px-4 text-body-1" }, {
|
|
12552
|
-
default:
|
|
12552
|
+
default: v(() => [
|
|
12553
12553
|
n("div", Zp, [
|
|
12554
12554
|
n("div", Wp, [
|
|
12555
12555
|
N(y(t.$t("marker.color")), 1),
|
|
@@ -12560,11 +12560,11 @@ function tg(t, e, o, i, a, l) {
|
|
|
12560
12560
|
type: "color",
|
|
12561
12561
|
value: a.form.color,
|
|
12562
12562
|
class: "native-color-picker cursor-pointer",
|
|
12563
|
-
onInput: e[14] || (e[14] = (
|
|
12563
|
+
onInput: e[14] || (e[14] = (x) => a.form.color = x.target.value)
|
|
12564
12564
|
}, null, 40, Xp),
|
|
12565
12565
|
w(d, {
|
|
12566
12566
|
modelValue: a.form.color,
|
|
12567
|
-
"onUpdate:modelValue": e[15] || (e[15] = (
|
|
12567
|
+
"onUpdate:modelValue": e[15] || (e[15] = (x) => a.form.color = x),
|
|
12568
12568
|
rules: a.formRules.color,
|
|
12569
12569
|
density: "compact",
|
|
12570
12570
|
variant: "outlined",
|
|
@@ -12579,7 +12579,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12579
12579
|
]),
|
|
12580
12580
|
w(d, {
|
|
12581
12581
|
modelValue: a.form.name,
|
|
12582
|
-
"onUpdate:modelValue": e[16] || (e[16] = (
|
|
12582
|
+
"onUpdate:modelValue": e[16] || (e[16] = (x) => a.form.name = x),
|
|
12583
12583
|
density: "compact",
|
|
12584
12584
|
variant: "outlined",
|
|
12585
12585
|
rules: a.formRules.name,
|
|
@@ -12592,14 +12592,14 @@ function tg(t, e, o, i, a, l) {
|
|
|
12592
12592
|
}),
|
|
12593
12593
|
w(s),
|
|
12594
12594
|
w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
|
|
12595
|
-
default:
|
|
12595
|
+
default: v(() => [
|
|
12596
12596
|
w(r, {
|
|
12597
12597
|
class: "text-none text-body-1",
|
|
12598
12598
|
variant: "tonal",
|
|
12599
12599
|
density: "comfortable",
|
|
12600
12600
|
onClick: l.handleClearDraw
|
|
12601
12601
|
}, {
|
|
12602
|
-
default:
|
|
12602
|
+
default: v(() => [
|
|
12603
12603
|
N(y(t.$t("actions.clear")), 1)
|
|
12604
12604
|
]),
|
|
12605
12605
|
_: 1
|
|
@@ -12612,7 +12612,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12612
12612
|
type: "submit",
|
|
12613
12613
|
loading: a.saving
|
|
12614
12614
|
}, {
|
|
12615
|
-
default:
|
|
12615
|
+
default: v(() => [
|
|
12616
12616
|
N(y(t.$t("actions.save")), 1)
|
|
12617
12617
|
]),
|
|
12618
12618
|
_: 1
|
|
@@ -12630,12 +12630,12 @@ function tg(t, e, o, i, a, l) {
|
|
|
12630
12630
|
class: "form-box",
|
|
12631
12631
|
onSubmit: _e(l.handleSave, ["prevent"])
|
|
12632
12632
|
}, {
|
|
12633
|
-
default:
|
|
12633
|
+
default: v(() => [
|
|
12634
12634
|
w(m, { class: "px-4 text-body-1" }, {
|
|
12635
|
-
default:
|
|
12636
|
-
var
|
|
12635
|
+
default: v(() => {
|
|
12636
|
+
var x, C;
|
|
12637
12637
|
return [
|
|
12638
|
-
(
|
|
12638
|
+
(x = o.editLayer) != null && x.id ? I("", !0) : (A(), R("div", Yp, [
|
|
12639
12639
|
n("div", Up, [
|
|
12640
12640
|
N(y(t.$t("marker.areaType")), 1),
|
|
12641
12641
|
e[33] || (e[33] = n("span", { class: "text-danger" }, "*", -1))
|
|
@@ -12651,7 +12651,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12651
12651
|
class: "w-100",
|
|
12652
12652
|
disabled: !!((C = o.editLayer) != null && C.id)
|
|
12653
12653
|
}, {
|
|
12654
|
-
default:
|
|
12654
|
+
default: v(() => [
|
|
12655
12655
|
w(r, {
|
|
12656
12656
|
value: "Polygon",
|
|
12657
12657
|
class: ue(["flex-1-1-0 text-none text-body-1", a.form.areaType === "Polygon" ? "" : "btn-border-1 btn-bg-1"]),
|
|
@@ -12660,7 +12660,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12660
12660
|
height: "32px",
|
|
12661
12661
|
"min-height": "32px"
|
|
12662
12662
|
}, {
|
|
12663
|
-
default:
|
|
12663
|
+
default: v(() => [
|
|
12664
12664
|
N(y(t.$t("marker.polygon")), 1)
|
|
12665
12665
|
]),
|
|
12666
12666
|
_: 1
|
|
@@ -12674,7 +12674,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12674
12674
|
height: "32px",
|
|
12675
12675
|
"min-height": "32px"
|
|
12676
12676
|
}, {
|
|
12677
|
-
default:
|
|
12677
|
+
default: v(() => [
|
|
12678
12678
|
N(y(t.$t("marker.circle")), 1)
|
|
12679
12679
|
]),
|
|
12680
12680
|
_: 1
|
|
@@ -12687,7 +12687,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12687
12687
|
height: "32px",
|
|
12688
12688
|
"min-height": "32px"
|
|
12689
12689
|
}, {
|
|
12690
|
-
default:
|
|
12690
|
+
default: v(() => [
|
|
12691
12691
|
N(y(t.$t("marker.rect")), 1)
|
|
12692
12692
|
]),
|
|
12693
12693
|
_: 1
|
|
@@ -12739,17 +12739,17 @@ function tg(t, e, o, i, a, l) {
|
|
|
12739
12739
|
}),
|
|
12740
12740
|
w(s),
|
|
12741
12741
|
w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
|
|
12742
|
-
default:
|
|
12743
|
-
var
|
|
12742
|
+
default: v(() => {
|
|
12743
|
+
var x;
|
|
12744
12744
|
return [
|
|
12745
|
-
(
|
|
12745
|
+
(x = o.editLayer) != null && x.id ? I("", !0) : (A(), F(r, {
|
|
12746
12746
|
key: 0,
|
|
12747
12747
|
class: "text-none text-body-1",
|
|
12748
12748
|
variant: "tonal",
|
|
12749
12749
|
density: "comfortable",
|
|
12750
12750
|
onClick: l.handleClearDraw
|
|
12751
12751
|
}, {
|
|
12752
|
-
default:
|
|
12752
|
+
default: v(() => [
|
|
12753
12753
|
N(y(t.$t("actions.clear")), 1)
|
|
12754
12754
|
]),
|
|
12755
12755
|
_: 1
|
|
@@ -12762,7 +12762,7 @@ function tg(t, e, o, i, a, l) {
|
|
|
12762
12762
|
type: "submit",
|
|
12763
12763
|
loading: a.saving
|
|
12764
12764
|
}, {
|
|
12765
|
-
default:
|
|
12765
|
+
default: v(() => [
|
|
12766
12766
|
N(y(t.$t("actions.save")), 1)
|
|
12767
12767
|
]),
|
|
12768
12768
|
_: 1
|
|
@@ -12956,7 +12956,7 @@ const ag = {
|
|
|
12956
12956
|
const l = ((r = a == null ? void 0 : a.properties) == null ? void 0 : r.color) || ((c = this.Theme.current.value.colors) == null ? void 0 : c["map-green"]);
|
|
12957
12957
|
if (((s = a.geometry) == null ? void 0 : s.type) === "Point") {
|
|
12958
12958
|
const [d, m] = a.geometry.coordinates;
|
|
12959
|
-
this.previewMarkers.push(new
|
|
12959
|
+
this.previewMarkers.push(new xe.Marker({ color: l }).setLngLat([d, m]).addTo(this.map));
|
|
12960
12960
|
}
|
|
12961
12961
|
a.properties.color || (a.properties.color = l);
|
|
12962
12962
|
}), this.map.getSource(e) ? this.map.getSource(e).setData(t) : this.map.addSource(e, { type: "geojson", data: t });
|
|
@@ -13021,9 +13021,9 @@ function yg(t, e, o, i, a, l) {
|
|
|
13021
13021
|
class: "idm-gl4-import-dialog-card",
|
|
13022
13022
|
elevation: "4"
|
|
13023
13023
|
}, {
|
|
13024
|
-
default:
|
|
13024
|
+
default: v(() => [
|
|
13025
13025
|
w(c, { class: "d-flex justify-space-between align-center" }, {
|
|
13026
|
-
default:
|
|
13026
|
+
default: v(() => [
|
|
13027
13027
|
n("span", ig, y(t.$t("marker.importLayer")), 1),
|
|
13028
13028
|
w(r, {
|
|
13029
13029
|
icon: "",
|
|
@@ -13032,7 +13032,7 @@ function yg(t, e, o, i, a, l) {
|
|
|
13032
13032
|
class: "mr-n2",
|
|
13033
13033
|
onClick: l.handleClose
|
|
13034
13034
|
}, {
|
|
13035
|
-
default:
|
|
13035
|
+
default: v(() => e[9] || (e[9] = [
|
|
13036
13036
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13037
13037
|
])),
|
|
13038
13038
|
_: 1,
|
|
@@ -13048,9 +13048,9 @@ function yg(t, e, o, i, a, l) {
|
|
|
13048
13048
|
class: "form-box",
|
|
13049
13049
|
onSubmit: _e(l.handleConfirm, ["prevent"])
|
|
13050
13050
|
}, {
|
|
13051
|
-
default:
|
|
13051
|
+
default: v(() => [
|
|
13052
13052
|
w(p, { class: "px-4 text-body-1" }, {
|
|
13053
|
-
default:
|
|
13053
|
+
default: v(() => [
|
|
13054
13054
|
n("div", lg, [
|
|
13055
13055
|
n("div", rg, [
|
|
13056
13056
|
N(y(t.$t("marker.group")), 1),
|
|
@@ -13101,7 +13101,7 @@ function yg(t, e, o, i, a, l) {
|
|
|
13101
13101
|
color: "grey",
|
|
13102
13102
|
class: "mb-2"
|
|
13103
13103
|
}, {
|
|
13104
|
-
default:
|
|
13104
|
+
default: v(() => e[12] || (e[12] = [
|
|
13105
13105
|
N("mdi-cloud-upload-outline", -1)
|
|
13106
13106
|
])),
|
|
13107
13107
|
_: 1,
|
|
@@ -13126,7 +13126,7 @@ function yg(t, e, o, i, a, l) {
|
|
|
13126
13126
|
color: "success",
|
|
13127
13127
|
class: "mr-1"
|
|
13128
13128
|
}, {
|
|
13129
|
-
default:
|
|
13129
|
+
default: v(() => e[13] || (e[13] = [
|
|
13130
13130
|
N("mdi-check-circle", -1)
|
|
13131
13131
|
])),
|
|
13132
13132
|
_: 1,
|
|
@@ -13142,9 +13142,9 @@ function yg(t, e, o, i, a, l) {
|
|
|
13142
13142
|
class: "file-remove-btn",
|
|
13143
13143
|
onClick: l.handleRemoveFile
|
|
13144
13144
|
}, {
|
|
13145
|
-
default:
|
|
13145
|
+
default: v(() => [
|
|
13146
13146
|
w(m, { size: "16" }, {
|
|
13147
|
-
default:
|
|
13147
|
+
default: v(() => e[14] || (e[14] = [
|
|
13148
13148
|
N("mdi-close", -1)
|
|
13149
13149
|
])),
|
|
13150
13150
|
_: 1,
|
|
@@ -13159,14 +13159,14 @@ function yg(t, e, o, i, a, l) {
|
|
|
13159
13159
|
}),
|
|
13160
13160
|
w(s),
|
|
13161
13161
|
w(g, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
|
|
13162
|
-
default:
|
|
13162
|
+
default: v(() => [
|
|
13163
13163
|
w(r, {
|
|
13164
13164
|
class: "text-none text-body-1",
|
|
13165
13165
|
variant: "tonal",
|
|
13166
13166
|
density: "comfortable",
|
|
13167
13167
|
onClick: l.handleReset
|
|
13168
13168
|
}, {
|
|
13169
|
-
default:
|
|
13169
|
+
default: v(() => [
|
|
13170
13170
|
N(y(t.$t("actions.reset")), 1)
|
|
13171
13171
|
]),
|
|
13172
13172
|
_: 1
|
|
@@ -13179,7 +13179,7 @@ function yg(t, e, o, i, a, l) {
|
|
|
13179
13179
|
type: "submit",
|
|
13180
13180
|
loading: a.uploading
|
|
13181
13181
|
}, {
|
|
13182
|
-
default:
|
|
13182
|
+
default: v(() => [
|
|
13183
13183
|
N(y(t.$t("actions.confirm")), 1)
|
|
13184
13184
|
]),
|
|
13185
13185
|
_: 1
|
|
@@ -13254,7 +13254,7 @@ const wg = {
|
|
|
13254
13254
|
}));
|
|
13255
13255
|
}
|
|
13256
13256
|
}
|
|
13257
|
-
},
|
|
13257
|
+
}, vg = { class: "text-h6 font-weight-600" }, xg = { class: "text-label mb-2" };
|
|
13258
13258
|
function Ag(t, e, o, i, a, l) {
|
|
13259
13259
|
const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VTextField"), m = M("VCardText"), p = M("VCardActions"), g = M("VCard"), b = M("VDialog");
|
|
13260
13260
|
return A(), F(b, {
|
|
@@ -13263,15 +13263,15 @@ function Ag(t, e, o, i, a, l) {
|
|
|
13263
13263
|
persistent: "",
|
|
13264
13264
|
"onUpdate:modelValue": e[1] || (e[1] = (u) => t.$emit("update:modelValue", u))
|
|
13265
13265
|
}, {
|
|
13266
|
-
default:
|
|
13266
|
+
default: v(() => [
|
|
13267
13267
|
w(g, {
|
|
13268
13268
|
class: "",
|
|
13269
13269
|
elevation: "4"
|
|
13270
13270
|
}, {
|
|
13271
|
-
default:
|
|
13271
|
+
default: v(() => [
|
|
13272
13272
|
w(c, { class: "d-flex justify-space-between align-center" }, {
|
|
13273
|
-
default:
|
|
13274
|
-
n("span",
|
|
13273
|
+
default: v(() => [
|
|
13274
|
+
n("span", vg, y(t.$t("actions.editGroup")), 1),
|
|
13275
13275
|
w(r, {
|
|
13276
13276
|
icon: "",
|
|
13277
13277
|
density: "compact",
|
|
@@ -13279,7 +13279,7 @@ function Ag(t, e, o, i, a, l) {
|
|
|
13279
13279
|
class: "mr-n2",
|
|
13280
13280
|
onClick: l.handleClose
|
|
13281
13281
|
}, {
|
|
13282
|
-
default:
|
|
13282
|
+
default: v(() => e[2] || (e[2] = [
|
|
13283
13283
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13284
13284
|
])),
|
|
13285
13285
|
_: 1,
|
|
@@ -13290,8 +13290,8 @@ function Ag(t, e, o, i, a, l) {
|
|
|
13290
13290
|
}),
|
|
13291
13291
|
w(s),
|
|
13292
13292
|
w(m, { class: "px-4 text-body-1" }, {
|
|
13293
|
-
default:
|
|
13294
|
-
n("div",
|
|
13293
|
+
default: v(() => [
|
|
13294
|
+
n("div", xg, [
|
|
13295
13295
|
N(y(t.$t("marker.groupName")), 1),
|
|
13296
13296
|
e[3] || (e[3] = n("span", { class: "text-danger" }, "*", -1))
|
|
13297
13297
|
]),
|
|
@@ -13311,14 +13311,14 @@ function Ag(t, e, o, i, a, l) {
|
|
|
13311
13311
|
}),
|
|
13312
13312
|
w(s),
|
|
13313
13313
|
w(p, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
|
|
13314
|
-
default:
|
|
13314
|
+
default: v(() => [
|
|
13315
13315
|
w(r, {
|
|
13316
13316
|
class: "text-none text-body-1",
|
|
13317
13317
|
variant: "tonal",
|
|
13318
13318
|
density: "comfortable",
|
|
13319
13319
|
onClick: l.handleClose
|
|
13320
13320
|
}, {
|
|
13321
|
-
default:
|
|
13321
|
+
default: v(() => [
|
|
13322
13322
|
N(y(t.$t("actions.cancel")), 1)
|
|
13323
13323
|
]),
|
|
13324
13324
|
_: 1
|
|
@@ -13331,7 +13331,7 @@ function Ag(t, e, o, i, a, l) {
|
|
|
13331
13331
|
loading: a.saving,
|
|
13332
13332
|
onClick: l.handleConfirm
|
|
13333
13333
|
}, {
|
|
13334
|
-
default:
|
|
13334
|
+
default: v(() => [
|
|
13335
13335
|
N(y(t.$t("actions.confirm")), 1)
|
|
13336
13336
|
]),
|
|
13337
13337
|
_: 1
|
|
@@ -13387,11 +13387,11 @@ function Cg(t, e, o, i, a, l) {
|
|
|
13387
13387
|
"min-width": "500",
|
|
13388
13388
|
"max-width": "500"
|
|
13389
13389
|
}, {
|
|
13390
|
-
default:
|
|
13390
|
+
default: v(() => [
|
|
13391
13391
|
w(p, { class: "" }, {
|
|
13392
|
-
default:
|
|
13392
|
+
default: v(() => [
|
|
13393
13393
|
w(s, { class: "text-h6 font-weight-600 d-flex justify-center align-center py-4" }, {
|
|
13394
|
-
default:
|
|
13394
|
+
default: v(() => [
|
|
13395
13395
|
w(r, {
|
|
13396
13396
|
color: "warning",
|
|
13397
13397
|
icon: "mdi-alert-circle",
|
|
@@ -13406,7 +13406,7 @@ function Cg(t, e, o, i, a, l) {
|
|
|
13406
13406
|
class: "position-absolute top-0 right-0 mt-2 mr-2",
|
|
13407
13407
|
onClick: l.handleClose
|
|
13408
13408
|
}, {
|
|
13409
|
-
default:
|
|
13409
|
+
default: v(() => e[1] || (e[1] = [
|
|
13410
13410
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13411
13411
|
])),
|
|
13412
13412
|
_: 1,
|
|
@@ -13416,21 +13416,21 @@ function Cg(t, e, o, i, a, l) {
|
|
|
13416
13416
|
_: 1
|
|
13417
13417
|
}),
|
|
13418
13418
|
w(d, { class: "py-4 text-center" }, {
|
|
13419
|
-
default:
|
|
13419
|
+
default: v(() => [
|
|
13420
13420
|
n("p", zg, y(o.tips), 1),
|
|
13421
13421
|
n("p", _g, y(t.$t("tips.doYouWantToContinue")), 1)
|
|
13422
13422
|
]),
|
|
13423
13423
|
_: 1
|
|
13424
13424
|
}),
|
|
13425
13425
|
w(m, { class: "w-100 d-flex justify-center align-center ga-8 py-6" }, {
|
|
13426
|
-
default:
|
|
13426
|
+
default: v(() => [
|
|
13427
13427
|
w(c, {
|
|
13428
13428
|
variant: "tonal",
|
|
13429
13429
|
class: "text-none text-body-1",
|
|
13430
13430
|
height: "32",
|
|
13431
13431
|
onClick: l.handleClose
|
|
13432
13432
|
}, {
|
|
13433
|
-
default:
|
|
13433
|
+
default: v(() => [
|
|
13434
13434
|
N(y(t.$t("actions.cancel")), 1)
|
|
13435
13435
|
]),
|
|
13436
13436
|
_: 1
|
|
@@ -13443,7 +13443,7 @@ function Cg(t, e, o, i, a, l) {
|
|
|
13443
13443
|
height: "32",
|
|
13444
13444
|
onClick: l.handleDelete
|
|
13445
13445
|
}, {
|
|
13446
|
-
default:
|
|
13446
|
+
default: v(() => [
|
|
13447
13447
|
N(y(t.$t("actions.delete")), 1)
|
|
13448
13448
|
]),
|
|
13449
13449
|
_: 1
|
|
@@ -13667,29 +13667,29 @@ const Pg = {
|
|
|
13667
13667
|
var g, b, u, h;
|
|
13668
13668
|
const d = (g = s.geometry) == null ? void 0 : g.type, m = ((b = s.properties) == null ? void 0 : b.name) || "", p = ((u = s.properties) == null ? void 0 : u.color) || t.color || ((h = this.Theme.current.value.colors) == null ? void 0 : h["map-green"]);
|
|
13669
13669
|
if (d === "Point") {
|
|
13670
|
-
const [f, L] = s.geometry.coordinates,
|
|
13670
|
+
const [f, L] = s.geometry.coordinates, x = `<div style="font-size:12px;line-height:1.5;">
|
|
13671
13671
|
<div style="font-weight:600;">${m}</div>
|
|
13672
13672
|
<div>${H.lat2pretty(L, 4).pretty}, ${H.lng2pretty(f, 4).pretty}</div>
|
|
13673
|
-
</div>`, C = new
|
|
13673
|
+
</div>`, C = new xe.Popup({
|
|
13674
13674
|
offset: 40,
|
|
13675
13675
|
closeButton: !1,
|
|
13676
13676
|
closeOnClick: !1,
|
|
13677
13677
|
anchor: "bottom",
|
|
13678
13678
|
className: "marker-popup-dark"
|
|
13679
|
-
}).setHTML(
|
|
13679
|
+
}).setHTML(x), z = new xe.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
|
|
13680
13680
|
P.addEventListener("mouseenter", () => C.setLngLat([f, L]).addTo(this.map)), P.addEventListener("mouseleave", () => C.remove()), c.push(z);
|
|
13681
13681
|
} else
|
|
13682
13682
|
d === "MultiPoint" && s.geometry.coordinates.forEach(([f, L]) => {
|
|
13683
|
-
const
|
|
13683
|
+
const x = `<div style="font-size:12px;line-height:1.5;">
|
|
13684
13684
|
<div style="font-weight:600;">${m}</div>
|
|
13685
13685
|
<div>${H.lat2pretty(L, 4).pretty}, ${H.lng2pretty(f, 4).pretty}</div>
|
|
13686
|
-
</div>`, C = new
|
|
13686
|
+
</div>`, C = new xe.Popup({
|
|
13687
13687
|
offset: 40,
|
|
13688
13688
|
closeButton: !1,
|
|
13689
13689
|
closeOnClick: !1,
|
|
13690
13690
|
anchor: "bottom",
|
|
13691
13691
|
className: "marker-popup-dark"
|
|
13692
|
-
}).setHTML(
|
|
13692
|
+
}).setHTML(x), z = new xe.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
|
|
13693
13693
|
P.addEventListener("mouseenter", () => C.setLngLat([f, L]).addTo(this.map)), P.addEventListener("mouseleave", () => C.remove()), c.push(z);
|
|
13694
13694
|
});
|
|
13695
13695
|
}), this.layerMarkers[t.id] = c;
|
|
@@ -13843,7 +13843,7 @@ const Pg = {
|
|
|
13843
13843
|
};
|
|
13844
13844
|
function Kg(t, e, o, i, a, l) {
|
|
13845
13845
|
var D;
|
|
13846
|
-
const r = M("VBtn"), c = M("VTooltip"), s = M("VSwitch"), d = M("VIcon"), m = M("VTextField"), p = M("VProgressCircular"), g = M("VChip"), b = M("VListItemTitle"), u = M("VListItem"), h = M("VList"), f = M("VCard"), L = M("VMenu"),
|
|
13846
|
+
const r = M("VBtn"), c = M("VTooltip"), s = M("VSwitch"), d = M("VIcon"), m = M("VTextField"), p = M("VProgressCircular"), g = M("VChip"), b = M("VListItemTitle"), u = M("VListItem"), h = M("VList"), f = M("VCard"), L = M("VMenu"), x = M("VDivider"), C = M("IdmDrawMarker"), z = M("IdmImportMarker"), P = M("IdmGroupDialog"), _ = M("DeleteDialog");
|
|
13847
13847
|
return A(), R("div", Sg, [
|
|
13848
13848
|
n("div", {
|
|
13849
13849
|
class: "menu-bar-box transition pa-1",
|
|
@@ -13857,7 +13857,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13857
13857
|
"open-on-focus": !o.simple,
|
|
13858
13858
|
"open-on-hover": !o.simple
|
|
13859
13859
|
}, {
|
|
13860
|
-
activator:
|
|
13860
|
+
activator: v(({ props: T }) => [
|
|
13861
13861
|
w(r, V(T, {
|
|
13862
13862
|
"min-width": "32",
|
|
13863
13863
|
width: "32",
|
|
@@ -13865,7 +13865,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13865
13865
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
13866
13866
|
onClick: l.handleMenuToggle
|
|
13867
13867
|
}), {
|
|
13868
|
-
default:
|
|
13868
|
+
default: v(() => e[7] || (e[7] = [
|
|
13869
13869
|
n("i", { class: "iconfont icon-compass text-h4" }, null, -1)
|
|
13870
13870
|
])),
|
|
13871
13871
|
_: 2,
|
|
@@ -13899,7 +13899,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13899
13899
|
variant: "text",
|
|
13900
13900
|
onClick: l.fetchAllLayers
|
|
13901
13901
|
}, {
|
|
13902
|
-
default:
|
|
13902
|
+
default: v(() => [
|
|
13903
13903
|
w(d, { icon: "mdi-refresh" })
|
|
13904
13904
|
]),
|
|
13905
13905
|
_: 1
|
|
@@ -13912,7 +13912,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13912
13912
|
variant: "plain",
|
|
13913
13913
|
onClick: l.handleMenuToggle
|
|
13914
13914
|
}, {
|
|
13915
|
-
default:
|
|
13915
|
+
default: v(() => e[8] || (e[8] = [
|
|
13916
13916
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13917
13917
|
])),
|
|
13918
13918
|
_: 1,
|
|
@@ -13931,7 +13931,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13931
13931
|
autocomplete: "off",
|
|
13932
13932
|
class: "input-btn-bg-1"
|
|
13933
13933
|
}, {
|
|
13934
|
-
"prepend-inner":
|
|
13934
|
+
"prepend-inner": v(() => [
|
|
13935
13935
|
(A(), R("svg", Gg, e[9] || (e[9] = [
|
|
13936
13936
|
n("use", { "xlink:href": "#icon-search" }, null, -1)
|
|
13937
13937
|
])))
|
|
@@ -13950,7 +13950,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13950
13950
|
"prepend-icon": "mdi-plus",
|
|
13951
13951
|
onClick: e[2] || (e[2] = (T) => l.handleOpenDrawMarkers())
|
|
13952
13952
|
}, {
|
|
13953
|
-
default:
|
|
13953
|
+
default: v(() => [
|
|
13954
13954
|
N(y(t.$t("actions.add")), 1)
|
|
13955
13955
|
]),
|
|
13956
13956
|
_: 1
|
|
@@ -13965,7 +13965,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
13965
13965
|
"prepend-icon": "mdi-import",
|
|
13966
13966
|
onClick: l.handleOpenImportDialog
|
|
13967
13967
|
}, {
|
|
13968
|
-
default:
|
|
13968
|
+
default: v(() => [
|
|
13969
13969
|
N(y(t.$t("actions.import")), 1)
|
|
13970
13970
|
]),
|
|
13971
13971
|
_: 1
|
|
@@ -14014,7 +14014,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14014
14014
|
color: "primary",
|
|
14015
14015
|
onClick: (G) => T.show = !T.show
|
|
14016
14016
|
}, {
|
|
14017
|
-
default:
|
|
14017
|
+
default: v(() => {
|
|
14018
14018
|
var G;
|
|
14019
14019
|
return [
|
|
14020
14020
|
N(y((G = T.layers) == null ? void 0 : G.length), 1)
|
|
@@ -14034,18 +14034,18 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14034
14034
|
variant: "plain",
|
|
14035
14035
|
class: "mx-1"
|
|
14036
14036
|
}, {
|
|
14037
|
-
default:
|
|
14037
|
+
default: v(() => [
|
|
14038
14038
|
e[10] || (e[10] = n("i", { class: "iconfont icon-dots-vertical text-h4 cursor-pointer" }, null, -1)),
|
|
14039
14039
|
w(L, {
|
|
14040
14040
|
activator: "parent",
|
|
14041
14041
|
"min-width": "240",
|
|
14042
14042
|
class: "drop-menu"
|
|
14043
14043
|
}, {
|
|
14044
|
-
default:
|
|
14044
|
+
default: v(() => [
|
|
14045
14045
|
w(f, { class: "pa-2 px-0" }, {
|
|
14046
|
-
default:
|
|
14046
|
+
default: v(() => [
|
|
14047
14047
|
w(h, { class: "" }, {
|
|
14048
|
-
default:
|
|
14048
|
+
default: v(() => [
|
|
14049
14049
|
w(u, {
|
|
14050
14050
|
value: "account",
|
|
14051
14051
|
variant: "flat",
|
|
@@ -14053,12 +14053,12 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14053
14053
|
height: "38",
|
|
14054
14054
|
"min-height": "38"
|
|
14055
14055
|
}, {
|
|
14056
|
-
default:
|
|
14056
|
+
default: v(() => [
|
|
14057
14057
|
w(b, {
|
|
14058
14058
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14059
14059
|
onClick: (G) => l.handleOpenDrawMarkers(T)
|
|
14060
14060
|
}, {
|
|
14061
|
-
default:
|
|
14061
|
+
default: v(() => [
|
|
14062
14062
|
w(d, {
|
|
14063
14063
|
icon: "mdi-plus-circle-outline mr-4",
|
|
14064
14064
|
size: "16"
|
|
@@ -14077,12 +14077,12 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14077
14077
|
height: "38",
|
|
14078
14078
|
"min-height": "38"
|
|
14079
14079
|
}, {
|
|
14080
|
-
default:
|
|
14080
|
+
default: v(() => [
|
|
14081
14081
|
w(b, {
|
|
14082
14082
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14083
14083
|
onClick: (G) => l.handleEditGroup(T)
|
|
14084
14084
|
}, {
|
|
14085
|
-
default:
|
|
14085
|
+
default: v(() => [
|
|
14086
14086
|
w(d, {
|
|
14087
14087
|
icon: "mdi-pencil mr-4",
|
|
14088
14088
|
size: "16"
|
|
@@ -14101,12 +14101,12 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14101
14101
|
height: "38",
|
|
14102
14102
|
"min-height": "38"
|
|
14103
14103
|
}, {
|
|
14104
|
-
default:
|
|
14104
|
+
default: v(() => [
|
|
14105
14105
|
w(b, {
|
|
14106
14106
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
14107
14107
|
onClick: (G) => l.handleOpenDelete("group", T)
|
|
14108
14108
|
}, {
|
|
14109
|
-
default:
|
|
14109
|
+
default: v(() => [
|
|
14110
14110
|
w(d, {
|
|
14111
14111
|
icon: "mdi-trash-can-outline mr-4",
|
|
14112
14112
|
size: "16"
|
|
@@ -14154,7 +14154,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14154
14154
|
variant: "text",
|
|
14155
14155
|
onClick: (ie) => l.handleEditLayer(T, G)
|
|
14156
14156
|
}, {
|
|
14157
|
-
default:
|
|
14157
|
+
default: v(() => [
|
|
14158
14158
|
w(d, {
|
|
14159
14159
|
icon: "mdi-pencil",
|
|
14160
14160
|
size: "16"
|
|
@@ -14169,7 +14169,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14169
14169
|
variant: "text",
|
|
14170
14170
|
onClick: (ie) => l.handleOpenDelete("layer", G)
|
|
14171
14171
|
}, {
|
|
14172
|
-
default:
|
|
14172
|
+
default: v(() => [
|
|
14173
14173
|
w(d, {
|
|
14174
14174
|
icon: "mdi-trash-can-outline",
|
|
14175
14175
|
size: "16"
|
|
@@ -14181,7 +14181,7 @@ function Kg(t, e, o, i, a, l) {
|
|
|
14181
14181
|
], 2);
|
|
14182
14182
|
}), 128))
|
|
14183
14183
|
])) : I("", !0),
|
|
14184
|
-
B < a.layerGroup.length - 1 ? (A(), F(
|
|
14184
|
+
B < a.layerGroup.length - 1 ? (A(), F(x, {
|
|
14185
14185
|
key: 1,
|
|
14186
14186
|
class: "w-100",
|
|
14187
14187
|
thickness: "1"
|
|
@@ -14362,7 +14362,7 @@ async function so(t, e = {}) {
|
|
|
14362
14362
|
return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1 };
|
|
14363
14363
|
if (o === "dataURL")
|
|
14364
14364
|
return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1, mime: String(t).slice(5).split(";")[0] || "" };
|
|
14365
|
-
let [, f = "", L = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [],
|
|
14365
|
+
let [, f = "", L = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [], x = /;base64/i.test(f) ? atob(L) : decodeURIComponent(L), C = new Uint8Array([...x].map((P) => P.charCodeAt(0))), z = new Blob([C], { type: (f || "").split(";")[0] || "" });
|
|
14366
14366
|
return { ok: !0, data: z, status: 200, url: t, fromCache: !1, mime: z.type || "" };
|
|
14367
14367
|
} catch {
|
|
14368
14368
|
return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "special_url_error" };
|
|
@@ -14372,8 +14372,8 @@ async function so(t, e = {}) {
|
|
|
14372
14372
|
let f = await fetch(t);
|
|
14373
14373
|
if (!f.ok)
|
|
14374
14374
|
return { ok: !1, data: null, status: f.status, url: t, fromCache: !1, reason: "http_error" };
|
|
14375
|
-
let L = await f.blob(),
|
|
14376
|
-
return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: t, fromCache: !1, mime:
|
|
14375
|
+
let L = await f.blob(), x = L.type || f.headers.get("content-type") || "";
|
|
14376
|
+
return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: t, fromCache: !1, mime: x } : o === "text" ? { ok: !0, data: await L.text(), status: f.status, url: t, fromCache: !1, mime: x } : { ok: !0, data: L, status: f.status, url: t, fromCache: !1, mime: x };
|
|
14377
14377
|
} catch {
|
|
14378
14378
|
return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "network" };
|
|
14379
14379
|
}
|
|
@@ -14407,15 +14407,15 @@ async function so(t, e = {}) {
|
|
|
14407
14407
|
}
|
|
14408
14408
|
if (o === "text")
|
|
14409
14409
|
return { ok: !0, data: await f.text(), status: f.status, url: p, fromCache: !1 };
|
|
14410
|
-
let L = await f.blob(),
|
|
14411
|
-
return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: p, fromCache: !1, mime:
|
|
14410
|
+
let L = await f.blob(), x = L.type || f.headers.get("content-type") || "";
|
|
14411
|
+
return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: p, fromCache: !1, mime: x } : { ok: !0, data: L, status: f.status, url: p, fromCache: !1, mime: x };
|
|
14412
14412
|
} catch (f) {
|
|
14413
|
-
let L = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network",
|
|
14414
|
-
if (!/^blob:/i.test(t) && l > 0 && Oo.set(s, { until: Date.now() + l, result:
|
|
14413
|
+
let L = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network", x = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: L };
|
|
14414
|
+
if (!/^blob:/i.test(t) && l > 0 && Oo.set(s, { until: Date.now() + l, result: x }), !c) {
|
|
14415
14415
|
let C = `${L}:${o}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, z = L === "timeout" ? `Timeout after ${i}ms. Consider increasing timeout or using a proxy for ${t}` : L === "abort" ? `Request aborted while fetching ${o} ${t}` : `Network/CORS issue while fetching ${o} ${t}. A proxy may be required`;
|
|
14416
14416
|
pl.errorOnce(C, z);
|
|
14417
14417
|
}
|
|
14418
|
-
return e.onError && e.onError(
|
|
14418
|
+
return e.onError && e.onError(x), x;
|
|
14419
14419
|
} finally {
|
|
14420
14420
|
clearTimeout(u), ea.delete(s);
|
|
14421
14421
|
}
|
|
@@ -14578,7 +14578,7 @@ async function w0(t = "Material Icons", e = 24) {
|
|
|
14578
14578
|
} catch {
|
|
14579
14579
|
}
|
|
14580
14580
|
}
|
|
14581
|
-
function
|
|
14581
|
+
function v0(t) {
|
|
14582
14582
|
var a, l;
|
|
14583
14583
|
let e = ((a = t.getPropertyValue("-webkit-text-fill-color")) == null ? void 0 : a.trim()) || "", o = /^transparent$/i.test(e) || /rgba?\(\s*0\s*,\s*0\s*,\s*0\s*,\s*0\s*\)/i.test(e);
|
|
14584
14584
|
if (e && !o && e.toLowerCase() !== "currentcolor")
|
|
@@ -14586,7 +14586,7 @@ function x0(t) {
|
|
|
14586
14586
|
let i = (l = t.color) == null ? void 0 : l.trim();
|
|
14587
14587
|
return i && i !== "inherit" ? i : "#000";
|
|
14588
14588
|
}
|
|
14589
|
-
async function
|
|
14589
|
+
async function x0(t, { family: e = "Material Icons", weight: o = "normal", fontSize: i = 32, color: a = "#000", variation: l = "", className: r = "" } = {}) {
|
|
14590
14590
|
let c = String(e || "").replace(/^['"]+|['"]+$/g, ""), s = window.devicePixelRatio || 1, d = y0(l), { familyForMeasure: m, familyForCanvas: p } = await b0(c, r, d);
|
|
14591
14591
|
await w0(p.replace(/^["']+|["']+$/g, ""), i);
|
|
14592
14592
|
let g = document.createElement("span");
|
|
@@ -14619,10 +14619,10 @@ async function A0(t, e) {
|
|
|
14619
14619
|
let p = (s || c).textContent.trim();
|
|
14620
14620
|
if (!p)
|
|
14621
14621
|
continue;
|
|
14622
|
-
let g = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", u =
|
|
14622
|
+
let g = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", u = v0(d), h = d.fontVariationSettings && d.fontVariationSettings !== "normal" ? d.fontVariationSettings : "", f = (s || c).className || "", { dataUrl: L, width: x, height: C } = await x0(p, { family: m, weight: b, fontSize: g, color: u, variation: h, className: f });
|
|
14623
14623
|
c.textContent = "";
|
|
14624
14624
|
let z = c.ownerDocument.createElement("img");
|
|
14625
|
-
z.src = L, z.alt = p, z.style.height = `${g}px`, z.style.width = `${Math.max(1, Math.round(
|
|
14625
|
+
z.src = L, z.alt = p, z.style.height = `${g}px`, z.style.width = `${Math.max(1, Math.round(x / C * g))}px`, z.style.objectFit = "contain", z.style.verticalAlign = getComputedStyle(c).verticalAlign || "baseline", c.appendChild(z), l++;
|
|
14626
14626
|
} catch {
|
|
14627
14627
|
}
|
|
14628
14628
|
}
|
|
@@ -14894,7 +14894,7 @@ function I0(t) {
|
|
|
14894
14894
|
return t;
|
|
14895
14895
|
let e = /@font-face[^{}]*\{[^}]*\}/gi, o = /* @__PURE__ */ new Set(), i = [];
|
|
14896
14896
|
for (let p of t.match(e) || []) {
|
|
14897
|
-
let g = ((l = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "", b = $o(g), u = (((r = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), f = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), L = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(),
|
|
14897
|
+
let g = ((l = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "", b = $o(g), u = (((r = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), f = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), L = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(), x = (((m = p.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : m[1]) || "").trim(), C = fa(x, location.href), z = C.length ? C.map((_) => String(_).toLowerCase()).sort().join("|") : x.toLowerCase(), P = [String(b || "").toLowerCase(), u, h, f, L.toLowerCase(), z].join("|");
|
|
14898
14898
|
o.has(P) || (o.add(P), i.push(p));
|
|
14899
14899
|
}
|
|
14900
14900
|
if (i.length === 0)
|
|
@@ -14958,7 +14958,7 @@ async function Ol(t, e, o, i) {
|
|
|
14958
14958
|
}
|
|
14959
14959
|
}
|
|
14960
14960
|
async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
|
|
14961
|
-
var h, f, L,
|
|
14961
|
+
var h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
|
|
14962
14962
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
14963
14963
|
let l = /* @__PURE__ */ new Map();
|
|
14964
14964
|
for (let E of t) {
|
|
@@ -15041,7 +15041,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15041
15041
|
let Y = (((f = q.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), le = $o(Y);
|
|
15042
15042
|
if (!le || co(le))
|
|
15043
15043
|
continue;
|
|
15044
|
-
let Z = (((L = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), U = (((
|
|
15044
|
+
let Z = (((L = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), U = (((x = q.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "normal").trim(), fe = (((C = q.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : C[1]) || "100%").trim(), Le = (((z = q.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : z[1]) || "").trim(), ze = (((P = q.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : P[1]) || "").trim(), he = fa(ze, E.href);
|
|
15045
15045
|
if (!r(le, U, Z, fe))
|
|
15046
15046
|
continue;
|
|
15047
15047
|
let Ae = Wl(Le);
|
|
@@ -15108,7 +15108,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
|
|
|
15108
15108
|
try {
|
|
15109
15109
|
let Z = await so(Y, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15110
15110
|
if (Z.ok && typeof Z.data == "string")
|
|
15111
|
-
le = Z.data, (re = O.resource) == null || re.set(Y, le), (
|
|
15111
|
+
le = Z.data, (re = O.resource) == null || re.set(Y, le), (ve = O.font) == null || ve.add(Y);
|
|
15112
15112
|
else
|
|
15113
15113
|
continue;
|
|
15114
15114
|
} catch {
|
|
@@ -15214,8 +15214,8 @@ async function N0(t, e, o, i = {}) {
|
|
|
15214
15214
|
let f = p.getPropertyValue(h);
|
|
15215
15215
|
if (!f || f === "none")
|
|
15216
15216
|
continue;
|
|
15217
|
-
let L = Nl(f),
|
|
15218
|
-
|
|
15217
|
+
let L = Nl(f), x = await Promise.all(L.map((C) => Fl(C, i)));
|
|
15218
|
+
x.some((C) => C && C !== "none" && !/^url\(undefined/.test(C)) && m.style.setProperty(h, x.join(", "));
|
|
15219
15219
|
}
|
|
15220
15220
|
for (let h of r) {
|
|
15221
15221
|
let f = p.getPropertyValue(h);
|
|
@@ -15305,15 +15305,15 @@ function V0(t) {
|
|
|
15305
15305
|
function X0(t, e, o = !1) {
|
|
15306
15306
|
return !t || t.plugins && !o || (t.plugins = V0(e)), t;
|
|
15307
15307
|
}
|
|
15308
|
-
var
|
|
15308
|
+
var vl = /* @__PURE__ */ new WeakMap(), ra = /* @__PURE__ */ new Map(), na = 0;
|
|
15309
15309
|
function jo() {
|
|
15310
15310
|
na++;
|
|
15311
15311
|
}
|
|
15312
|
-
var
|
|
15312
|
+
var xl = !1;
|
|
15313
15313
|
function O0(t = document.documentElement) {
|
|
15314
15314
|
var e, o;
|
|
15315
|
-
if (!
|
|
15316
|
-
|
|
15315
|
+
if (!xl) {
|
|
15316
|
+
xl = !0;
|
|
15317
15317
|
try {
|
|
15318
15318
|
new MutationObserver(() => jo()).observe(t, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
|
|
15319
15319
|
} catch {
|
|
@@ -15362,11 +15362,11 @@ function Y0(t) {
|
|
|
15362
15362
|
return e || (e = Object.entries(t).sort((o, i) => o[0] < i[0] ? -1 : o[0] > i[0] ? 1 : 0).map(([o, i]) => `${o}:${i}`).join(";"), Al.set(t, e), e);
|
|
15363
15363
|
}
|
|
15364
15364
|
function U0(t, e = null, o = {}) {
|
|
15365
|
-
let i =
|
|
15365
|
+
let i = vl.get(t);
|
|
15366
15366
|
if (i && i.epoch === na)
|
|
15367
15367
|
return i.snapshot;
|
|
15368
15368
|
let a = e || getComputedStyle(t), l = H0(a, o);
|
|
15369
|
-
return ef(t, a, l),
|
|
15369
|
+
return ef(t, a, l), vl.set(t, { epoch: na, snapshot: l }), l;
|
|
15370
15370
|
}
|
|
15371
15371
|
function J0(t, e) {
|
|
15372
15372
|
return t && t.session && t.persist ? t : t && (t.styleMap || t.styleCache || t.nodeMap) ? { session: t, persist: { snapshotKeyCache: ra, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: e || {} } : { session: O.session, persist: { snapshotKeyCache: ra, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: t || e || {} };
|
|
@@ -15705,13 +15705,13 @@ async function Ll(t) {
|
|
|
15705
15705
|
function Ho(t) {
|
|
15706
15706
|
return typeof t == "string" && t.startsWith("blob:");
|
|
15707
15707
|
}
|
|
15708
|
-
function
|
|
15708
|
+
function vf(t) {
|
|
15709
15709
|
return (t || "").split(",").map((e) => e.trim()).filter(Boolean).map((e) => {
|
|
15710
15710
|
let o = e.match(/^(\S+)(\s+.+)?$/);
|
|
15711
15711
|
return o ? { url: o[1], desc: o[2] || "" } : null;
|
|
15712
15712
|
}).filter(Boolean);
|
|
15713
15713
|
}
|
|
15714
|
-
function
|
|
15714
|
+
function xf(t) {
|
|
15715
15715
|
return t.map((e) => e.desc ? `${e.url} ${e.desc.trim()}` : e.url).join(", ");
|
|
15716
15716
|
}
|
|
15717
15717
|
async function Af(t) {
|
|
@@ -15728,14 +15728,14 @@ async function Af(t) {
|
|
|
15728
15728
|
}
|
|
15729
15729
|
let m = s.getAttribute("srcset");
|
|
15730
15730
|
if (m && m.includes("blob:")) {
|
|
15731
|
-
let p =
|
|
15731
|
+
let p = vf(m), g = !1;
|
|
15732
15732
|
for (let b of p)
|
|
15733
15733
|
if (Ho(b.url))
|
|
15734
15734
|
try {
|
|
15735
15735
|
b.url = await No(b.url), g = !0;
|
|
15736
15736
|
} catch {
|
|
15737
15737
|
}
|
|
15738
|
-
g && s.setAttribute("srcset",
|
|
15738
|
+
g && s.setAttribute("srcset", xf(p));
|
|
15739
15739
|
}
|
|
15740
15740
|
} catch {
|
|
15741
15741
|
}
|
|
@@ -15856,16 +15856,16 @@ async function Jo(t, e, o) {
|
|
|
15856
15856
|
L && L.getImageData(0, 0, 1, 1);
|
|
15857
15857
|
} catch {
|
|
15858
15858
|
}
|
|
15859
|
-
if (await new Promise((
|
|
15859
|
+
if (await new Promise((x) => requestAnimationFrame(x)), h = t.toDataURL("image/png"), !h || h === "data:,") {
|
|
15860
15860
|
try {
|
|
15861
15861
|
L && L.getImageData(0, 0, 1, 1);
|
|
15862
15862
|
} catch {
|
|
15863
15863
|
}
|
|
15864
|
-
if (await new Promise((
|
|
15865
|
-
let
|
|
15866
|
-
|
|
15867
|
-
let C =
|
|
15868
|
-
C && (C.drawImage(t, 0, 0), h =
|
|
15864
|
+
if (await new Promise((x) => requestAnimationFrame(x)), h = t.toDataURL("image/png"), !h || h === "data:,") {
|
|
15865
|
+
let x = document.createElement("canvas");
|
|
15866
|
+
x.width = t.width, x.height = t.height;
|
|
15867
|
+
let C = x.getContext("2d");
|
|
15868
|
+
C && (C.drawImage(t, 0, 0), h = x.toDataURL("image/png"));
|
|
15869
15869
|
}
|
|
15870
15870
|
}
|
|
15871
15871
|
} catch {
|
|
@@ -15890,7 +15890,7 @@ async function Jo(t, e, o) {
|
|
|
15890
15890
|
try {
|
|
15891
15891
|
let h = t.getBoundingClientRect(), f = Math.round(h.width || 0), L = Math.round(h.height || 0);
|
|
15892
15892
|
if (!f || !L) {
|
|
15893
|
-
let
|
|
15893
|
+
let x = window.getComputedStyle(t), C = parseFloat(x.width) || 0, z = parseFloat(x.height) || 0, P = parseInt(t.getAttribute("width") || "", 10) || 0, _ = parseInt(t.getAttribute("height") || "", 10) || 0, D = t.width || t.naturalWidth || 0, T = t.height || t.naturalHeight || 0;
|
|
15894
15894
|
f = Math.round(f || C || P || D || 0), L = Math.round(L || z || _ || T || 0);
|
|
15895
15895
|
}
|
|
15896
15896
|
f && (r.dataset.snapdomWidth = String(f)), L && (r.dataset.snapdomHeight = String(L));
|
|
@@ -15900,8 +15900,8 @@ async function Jo(t, e, o) {
|
|
|
15900
15900
|
let h = t.getAttribute("style") || "", f = window.getComputedStyle(t), L = (_) => {
|
|
15901
15901
|
let D = h.match(new RegExp(`${_}\\s*:\\s*([^;]+)`, "i")), T = D ? D[1].trim() : f.getPropertyValue(_);
|
|
15902
15902
|
return /%|auto/i.test(String(T || ""));
|
|
15903
|
-
},
|
|
15904
|
-
z &&
|
|
15903
|
+
}, x = parseInt(r.dataset.snapdomWidth || "0", 10), C = parseInt(r.dataset.snapdomHeight || "0", 10), z = L("width") || !x, P = L("height") || !C;
|
|
15904
|
+
z && x && (r.style.width = `${x}px`), P && C && (r.style.height = `${C}px`), x && (r.style.minWidth = `${x}px`), C && (r.style.minHeight = `${C}px`);
|
|
15905
15905
|
} catch {
|
|
15906
15906
|
}
|
|
15907
15907
|
}
|
|
@@ -15941,7 +15941,7 @@ async function Jo(t, e, o) {
|
|
|
15941
15941
|
r.setAttribute("data-sd", f);
|
|
15942
15942
|
} catch {
|
|
15943
15943
|
}
|
|
15944
|
-
let
|
|
15944
|
+
let x = sf(t.shadowRoot), C = rf(x, L), z = df(x), P = uf(t, z, L);
|
|
15945
15945
|
cf(r, P + C, f);
|
|
15946
15946
|
let _ = document.createDocumentFragment(), D = await ta(Array.from(t.shadowRoot.childNodes), h, o.fast);
|
|
15947
15947
|
_.append(...D.filter((T) => !!T)), r.appendChild(_);
|
|
@@ -15953,8 +15953,8 @@ async function Jo(t, e, o) {
|
|
|
15953
15953
|
}).catch(() => {
|
|
15954
15954
|
P(null);
|
|
15955
15955
|
});
|
|
15956
|
-
}, f = ((u = t.assignedNodes) == null ? void 0 : u.call(t, { flatten: !0 })) || [], L = f.length > 0 ? f : Array.from(t.childNodes),
|
|
15957
|
-
return
|
|
15956
|
+
}, f = ((u = t.assignedNodes) == null ? void 0 : u.call(t, { flatten: !0 })) || [], L = f.length > 0 ? f : Array.from(t.childNodes), x = document.createDocumentFragment(), C = await ta(Array.from(L), h, o.fast);
|
|
15957
|
+
return x.append(...C.filter((z) => !!z)), x;
|
|
15958
15958
|
}
|
|
15959
15959
|
function c(h, f) {
|
|
15960
15960
|
if (i.has(h))
|
|
@@ -16030,10 +16030,10 @@ function zf(t) {
|
|
|
16030
16030
|
b.set(u, h.slice());
|
|
16031
16031
|
return b;
|
|
16032
16032
|
}, s = (g, b, u) => {
|
|
16033
|
-
var
|
|
16033
|
+
var x, C;
|
|
16034
16034
|
let h = c(g), f;
|
|
16035
16035
|
try {
|
|
16036
|
-
f = ((
|
|
16036
|
+
f = ((x = u.style) == null ? void 0 : x.counterReset) || getComputedStyle(u).counterReset;
|
|
16037
16037
|
} catch {
|
|
16038
16038
|
}
|
|
16039
16039
|
if (f && f !== "none")
|
|
@@ -16211,7 +16211,7 @@ function Sl(t = document) {
|
|
|
16211
16211
|
}
|
|
16212
16212
|
return t.querySelector('[style*="counter("], [style*="counters("]') ? (yo.set(t, { fingerprint: e, result: !0 }), !0) : (yo.set(t, { fingerprint: e, result: !1 }), !1);
|
|
16213
16213
|
}
|
|
16214
|
-
var
|
|
16214
|
+
var vo = /* @__PURE__ */ new WeakMap(), Tl = -1;
|
|
16215
16215
|
function Mf(t) {
|
|
16216
16216
|
return (t || "").replace(/"([^"]*)"/g, "$1");
|
|
16217
16217
|
}
|
|
@@ -16224,7 +16224,7 @@ function Pf(t) {
|
|
|
16224
16224
|
return e.length ? e.join("") : Mf(t);
|
|
16225
16225
|
}
|
|
16226
16226
|
function ca(t, e) {
|
|
16227
|
-
let o = t.parentElement, i = o ?
|
|
16227
|
+
let o = t.parentElement, i = o ? vo.get(o) : null;
|
|
16228
16228
|
return i ? { get(a, l) {
|
|
16229
16229
|
let r = e.get(a, l), c = i.get(l);
|
|
16230
16230
|
return typeof c == "number" ? Math.max(r, c) : r;
|
|
@@ -16297,7 +16297,7 @@ async function Kl(t, e, o, i) {
|
|
|
16297
16297
|
if (!Cf(a, o))
|
|
16298
16298
|
return;
|
|
16299
16299
|
let l = ((d = O == null ? void 0 : O.session) == null ? void 0 : d.__counterEpoch) ?? 0;
|
|
16300
|
-
if (Tl !== l && (
|
|
16300
|
+
if (Tl !== l && (vo = /* @__PURE__ */ new WeakMap(), o && (o.__counterCtx = null), Tl = l), !o.__counterCtx)
|
|
16301
16301
|
try {
|
|
16302
16302
|
o.__counterCtx = zf(t.ownerDocument || document);
|
|
16303
16303
|
} catch {
|
|
@@ -16329,17 +16329,17 @@ async function Kl(t, e, o, i) {
|
|
|
16329
16329
|
e.replaceChild(he, Y), e.insertBefore(fe, he);
|
|
16330
16330
|
continue;
|
|
16331
16331
|
}
|
|
16332
|
-
let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r),
|
|
16333
|
-
if (!(Q || ie || re ||
|
|
16332
|
+
let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r), x = b.backgroundImage, C = b.backgroundColor, z = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, B = parseFloat(b.borderWidth), j = b.transform, G = co(z), Q = !h && f !== "", ie = x && x !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", ve = T && T !== "none" && B > 0, be = j && j !== "none";
|
|
16333
|
+
if (!(Q || ie || re || ve || be)) {
|
|
16334
16334
|
if (L && L.length && t.parentElement) {
|
|
16335
|
-
let q =
|
|
16335
|
+
let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
16336
16336
|
for (let { name: Y } of L) {
|
|
16337
16337
|
if (!Y)
|
|
16338
16338
|
continue;
|
|
16339
16339
|
let le = ca(t, r), Z = ma(t, getComputedStyle(t, g), le).get(t, Y);
|
|
16340
16340
|
q.set(Y, Z);
|
|
16341
16341
|
}
|
|
16342
|
-
|
|
16342
|
+
vo.set(t.parentElement, q);
|
|
16343
16343
|
}
|
|
16344
16344
|
continue;
|
|
16345
16345
|
}
|
|
@@ -16367,22 +16367,22 @@ async function Kl(t, e, o, i) {
|
|
|
16367
16367
|
}
|
|
16368
16368
|
if (ie)
|
|
16369
16369
|
try {
|
|
16370
|
-
let q = Nl(
|
|
16370
|
+
let q = Nl(x), Y = await Promise.all(q.map(Fl));
|
|
16371
16371
|
E.style.backgroundImage = Y.join(", ");
|
|
16372
16372
|
} catch (q) {
|
|
16373
16373
|
console.warn(`[snapdom] Failed to inline background-image for ${g}`, q);
|
|
16374
16374
|
}
|
|
16375
16375
|
re && (E.style.backgroundColor = C);
|
|
16376
|
-
let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ie || re ||
|
|
16376
|
+
let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ie || re || ve || be;
|
|
16377
16377
|
if (L && L.length && t.parentElement) {
|
|
16378
|
-
let q =
|
|
16378
|
+
let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map(), Y = ca(t, r), le = ma(t, getComputedStyle(t, g), Y);
|
|
16379
16379
|
for (let { name: Z } of L) {
|
|
16380
16380
|
if (!Z)
|
|
16381
16381
|
continue;
|
|
16382
16382
|
let U = le.get(t, Z);
|
|
16383
16383
|
q.set(Z, U);
|
|
16384
16384
|
}
|
|
16385
|
-
|
|
16385
|
+
vo.set(t.parentElement, q);
|
|
16386
16386
|
}
|
|
16387
16387
|
if (!se)
|
|
16388
16388
|
continue;
|
|
@@ -16465,10 +16465,10 @@ function Tf(t, e) {
|
|
|
16465
16465
|
};
|
|
16466
16466
|
if (!p.size)
|
|
16467
16467
|
return;
|
|
16468
|
-
let
|
|
16469
|
-
for (;
|
|
16470
|
-
let _ =
|
|
16471
|
-
if (
|
|
16468
|
+
let x = new Set(p), C = /* @__PURE__ */ new Set();
|
|
16469
|
+
for (; x.size; ) {
|
|
16470
|
+
let _ = x.values().next().value;
|
|
16471
|
+
if (x.delete(_), !_ || m.has(_) || C.has(_))
|
|
16472
16472
|
continue;
|
|
16473
16473
|
let D = L(_);
|
|
16474
16474
|
if (!D) {
|
|
@@ -16483,13 +16483,13 @@ function Tf(t, e) {
|
|
|
16483
16483
|
let G = d(j);
|
|
16484
16484
|
if (G && G.startsWith("#")) {
|
|
16485
16485
|
let ie = G.slice(1).trim();
|
|
16486
|
-
ie && !m.has(ie) && !C.has(ie) &&
|
|
16486
|
+
ie && !m.has(ie) && !C.has(ie) && x.add(ie);
|
|
16487
16487
|
}
|
|
16488
16488
|
let Q = ((z = j.getAttribute) == null ? void 0 : z.call(j, "style")) || "";
|
|
16489
|
-
Q && b(Q,
|
|
16489
|
+
Q && b(Q, x);
|
|
16490
16490
|
for (let ie of r) {
|
|
16491
16491
|
let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ie);
|
|
16492
|
-
re && b(re,
|
|
16492
|
+
re && b(re, x);
|
|
16493
16493
|
}
|
|
16494
16494
|
}
|
|
16495
16495
|
}
|
|
@@ -16513,14 +16513,14 @@ function Rf(t, e) {
|
|
|
16513
16513
|
let b = Df(s, t), u = If(e, b, l);
|
|
16514
16514
|
if (!u)
|
|
16515
16515
|
continue;
|
|
16516
|
-
let h = s.getBoundingClientRect(), f = h.width, L = h.height,
|
|
16517
|
-
if (!(f > 0 && L > 0) || !Number.isFinite(
|
|
16516
|
+
let h = s.getBoundingClientRect(), f = h.width, L = h.height, x = h.left - i.left;
|
|
16517
|
+
if (!(f > 0 && L > 0) || !Number.isFinite(x))
|
|
16518
16518
|
continue;
|
|
16519
16519
|
let C = p != null ? p + o : o + (a - L - g);
|
|
16520
16520
|
if (!Number.isFinite(C))
|
|
16521
16521
|
continue;
|
|
16522
16522
|
let z = Number.parseInt(d.zIndex, 10), P = Number.isFinite(z), _ = P ? Math.max(z, 1) + 1 : 2, D = P ? z - 1 : 0, T = u.cloneNode(!1);
|
|
16523
|
-
T.setAttribute(l, "1"), T.style.position = "sticky", T.style.left = `${
|
|
16523
|
+
T.setAttribute(l, "1"), T.style.position = "sticky", T.style.left = `${x}px`, T.style.top = `${C}px`, T.style.width = `${f}px`, T.style.height = `${L}px`, T.style.visibility = "hidden", T.style.zIndex = String(D), T.style.overflow = "hidden", T.style.background = "transparent", T.style.boxShadow = "none", T.style.filter = "none", (c = u.parentElement) == null || c.insertBefore(T, u), u.style.position = "absolute", u.style.left = `${x}px`, u.style.top = `${C}px`, u.style.bottom = "auto", u.style.zIndex = String(_), u.style.pointerEvents = "none";
|
|
16524
16524
|
}
|
|
16525
16525
|
}
|
|
16526
16526
|
function Rl(t) {
|
|
@@ -16890,12 +16890,12 @@ function r1(t, e) {
|
|
|
16890
16890
|
if (l.length === 6 && l.every(Number.isFinite)) {
|
|
16891
16891
|
let [r, c, s, d] = l, m = Math.sqrt(r * r + c * c) || 0, p = 0, g = 0, b = 0, u = 0, h = 0, f = 0;
|
|
16892
16892
|
m > 0 && (p = r / m, g = c / m, b = p * s + g * d, u = s - p * b, h = d - g * b, f = Math.sqrt(u * u + h * h) || 0, f > 0 ? b = b / f : b = 0);
|
|
16893
|
-
let L = m,
|
|
16893
|
+
let L = m, x = 0, C = b * f, z = f;
|
|
16894
16894
|
try {
|
|
16895
|
-
e.style.transform = `matrix(${L}, ${
|
|
16895
|
+
e.style.transform = `matrix(${L}, ${x}, ${C}, ${z}, 0, 0)`;
|
|
16896
16896
|
} catch {
|
|
16897
16897
|
}
|
|
16898
|
-
return { a: L, b:
|
|
16898
|
+
return { a: L, b: x, c: C, d: z };
|
|
16899
16899
|
}
|
|
16900
16900
|
}
|
|
16901
16901
|
try {
|
|
@@ -16907,13 +16907,13 @@ function r1(t, e) {
|
|
|
16907
16907
|
}
|
|
16908
16908
|
function Dl(t, e, o, i, a) {
|
|
16909
16909
|
let l = o.a, r = o.b, c = o.c, s = o.d, d = o.e || 0, m = o.f || 0;
|
|
16910
|
-
function p(L,
|
|
16911
|
-
let C = L - i, z =
|
|
16910
|
+
function p(L, x) {
|
|
16911
|
+
let C = L - i, z = x - a, P = l * C + c * z, _ = r * C + s * z;
|
|
16912
16912
|
return P += i + d, _ += a + m, [P, _];
|
|
16913
16913
|
}
|
|
16914
16914
|
let g = [p(0, 0), p(t, 0), p(0, e), p(t, e)], b = 1 / 0, u = 1 / 0, h = -1 / 0, f = -1 / 0;
|
|
16915
|
-
for (let [L,
|
|
16916
|
-
L < b && (b = L),
|
|
16915
|
+
for (let [L, x] of g)
|
|
16916
|
+
L < b && (b = L), x < u && (u = x), L > h && (h = L), x > f && (f = x);
|
|
16917
16917
|
return { minX: b, minY: u, maxX: h, maxY: f, width: h - b, height: f - u };
|
|
16918
16918
|
}
|
|
16919
16919
|
function n1(t, e, o) {
|
|
@@ -16954,8 +16954,8 @@ function s1(t) {
|
|
|
16954
16954
|
}
|
|
16955
16955
|
let h = g("translate");
|
|
16956
16956
|
if (h) {
|
|
16957
|
-
let f = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, L = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0,
|
|
16958
|
-
e.translate = `${f}${
|
|
16957
|
+
let f = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, L = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0, x = "x" in h && ((m = h.x) != null && m.unit) ? h.x.unit : "px", C = "y" in h && ((p = h.y) != null && p.unit) ? h.y.unit : "px";
|
|
16958
|
+
e.translate = `${f}${x} ${L}${C}`;
|
|
16959
16959
|
} else {
|
|
16960
16960
|
let f = getComputedStyle(t);
|
|
16961
16961
|
e.translate = f.translate && f.translate !== "none" ? f.translate : null;
|
|
@@ -16996,7 +16996,7 @@ function Ql(t) {
|
|
|
16996
16996
|
}
|
|
16997
16997
|
}
|
|
16998
16998
|
async function ql(t, e) {
|
|
16999
|
-
var
|
|
16999
|
+
var x;
|
|
17000
17000
|
if (!t)
|
|
17001
17001
|
throw new Error("Element cannot be null or undefined");
|
|
17002
17002
|
qg(e.cache);
|
|
@@ -17008,7 +17008,7 @@ async function ql(t, e) {
|
|
|
17008
17008
|
} finally {
|
|
17009
17009
|
u();
|
|
17010
17010
|
}
|
|
17011
|
-
if (l = { clone: r, classCSS: c, styleCache: s, ...l }, await ho("afterClone", l), Uf(l.clone), ((
|
|
17011
|
+
if (l = { clone: r, classCSS: c, styleCache: s, ...l }, await ho("afterClone", l), Uf(l.clone), ((x = l.options) == null ? void 0 : x.excludeMode) === "remove")
|
|
17012
17012
|
try {
|
|
17013
17013
|
qf(l.element, l.clone, l.styleCache);
|
|
17014
17014
|
} catch (C) {
|
|
@@ -17052,8 +17052,8 @@ async function ql(t, e) {
|
|
|
17052
17052
|
let T = (Te, Re = NaN) => {
|
|
17053
17053
|
let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
|
|
17054
17054
|
return Number.isFinite(Ne) ? Ne : Re;
|
|
17055
|
-
}, B = T(l.options.width), j = T(l.options.height), G = _, Q = D, ie = Number.isFinite(B), re = Number.isFinite(j),
|
|
17056
|
-
ie && re ? (G = Math.max(1, me(B)), Q = Math.max(1, me(j))) : ie ? (G = Math.max(1, me(B)), Q = Math.max(1, me(G / (
|
|
17055
|
+
}, B = T(l.options.width), j = T(l.options.height), G = _, Q = D, ie = Number.isFinite(B), re = Number.isFinite(j), ve = D > 0 ? _ / D : 1;
|
|
17056
|
+
ie && re ? (G = Math.max(1, me(B)), Q = Math.max(1, me(j))) : ie ? (G = Math.max(1, me(B)), Q = Math.max(1, me(G / (ve || 1)))) : re ? (Q = Math.max(1, me(j)), G = Math.max(1, me(Q * (ve || 1)))) : (G = _, Q = D);
|
|
17057
17057
|
let be = 0, E = 0, $ = _, te = D;
|
|
17058
17058
|
if (!i && b && Number.isFinite(b.a)) {
|
|
17059
17059
|
let Te = { a: b.a, b: b.b || 0, c: b.c || 0, d: b.d || 1, e: 0, f: 0 }, Re = Dl(_, D, Te, 0, 0);
|
|
@@ -17116,52 +17116,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17116
17116
|
if (o !== $l)
|
|
17117
17117
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17118
17118
|
let i = await ql(t, e), a = { img: async (u, h) => {
|
|
17119
|
-
let { toImg: f } = await import("./toImg-
|
|
17119
|
+
let { toImg: f } = await import("./toImg-378c92f2.js");
|
|
17120
17120
|
return f(i, { ...u, ...h || {} });
|
|
17121
17121
|
}, svg: async (u, h) => {
|
|
17122
|
-
let { toSvg: f } = await import("./toImg-
|
|
17122
|
+
let { toSvg: f } = await import("./toImg-378c92f2.js");
|
|
17123
17123
|
return f(i, { ...u, ...h || {} });
|
|
17124
17124
|
}, canvas: async (u, h) => {
|
|
17125
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17125
|
+
let { toCanvas: f } = await import("./toCanvas-49669d9c.js");
|
|
17126
17126
|
return f(i, { ...u, ...h || {} });
|
|
17127
17127
|
}, blob: async (u, h) => {
|
|
17128
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17128
|
+
let { toBlob: f } = await import("./toBlob-192fbb34.js");
|
|
17129
17129
|
return f(i, { ...u, ...h || {} });
|
|
17130
17130
|
}, png: async (u, h) => {
|
|
17131
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17131
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17132
17132
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17133
17133
|
}, jpeg: async (u, h) => {
|
|
17134
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17134
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17135
17135
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17136
17136
|
}, webp: async (u, h) => {
|
|
17137
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17137
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17138
17138
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17139
17139
|
}, download: async (u, h) => {
|
|
17140
|
-
let { download: f } = await import("./download-
|
|
17140
|
+
let { download: f } = await import("./download-558eb2c8.js");
|
|
17141
17141
|
return f(i, { ...u, ...h || {} });
|
|
17142
17142
|
} }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17143
|
-
let { toSvg: h } = await import("./toImg-
|
|
17143
|
+
let { toSvg: h } = await import("./toImg-378c92f2.js");
|
|
17144
17144
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17145
17145
|
}, canvas: async (u) => {
|
|
17146
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17146
|
+
let { toCanvas: h } = await import("./toCanvas-49669d9c.js");
|
|
17147
17147
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17148
17148
|
}, png: async (u) => {
|
|
17149
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17149
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17150
17150
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17151
17151
|
}, jpeg: async (u) => {
|
|
17152
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17152
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17153
17153
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17154
17154
|
}, jpg: async (u) => {
|
|
17155
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17155
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17156
17156
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17157
17157
|
}, webp: async (u) => {
|
|
17158
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17158
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-12fed3a5.js");
|
|
17159
17159
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17160
17160
|
}, blob: async (u) => {
|
|
17161
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17161
|
+
let { toBlob: h } = await import("./toBlob-192fbb34.js");
|
|
17162
17162
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17163
17163
|
}, img: async (u) => {
|
|
17164
|
-
let { toImg: h } = await import("./toImg-
|
|
17164
|
+
let { toImg: h } = await import("./toImg-378c92f2.js");
|
|
17165
17165
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17166
17166
|
} } }, r = await W0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17167
17167
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -17175,9 +17175,9 @@ Se.capture = async (t, e, o) => {
|
|
|
17175
17175
|
let L = s[u];
|
|
17176
17176
|
if (!L)
|
|
17177
17177
|
throw new Error(`[snapdom] Unknown export type: ${u}`);
|
|
17178
|
-
let
|
|
17178
|
+
let x = d(u, h), C = { ...e, export: { type: u, options: x, url: i } };
|
|
17179
17179
|
await ho("beforeExport", C);
|
|
17180
|
-
let z = await L(C,
|
|
17180
|
+
let z = await L(C, x);
|
|
17181
17181
|
return await ho("afterExport", C, z), m || (m = !0, await ho("afterSnap", e)), z;
|
|
17182
17182
|
};
|
|
17183
17183
|
return p = p.then(f);
|
|
@@ -17352,8 +17352,8 @@ class w1 {
|
|
|
17352
17352
|
);
|
|
17353
17353
|
const s = o, d = Math.max(this.captureRect.width / 48, this.captureRect.height / 48), m = 8, p = 12;
|
|
17354
17354
|
this.ctx.font = `bold ${d}px Arial, sans-serif`, this.ctx.textAlign = "center", this.ctx.textBaseline = "top";
|
|
17355
|
-
const b = this.ctx.measureText(s).width, u = d, h = (this.captureRect.width - b) / 2 - m * 2, f = p, L = b + m * 4,
|
|
17356
|
-
if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, L,
|
|
17355
|
+
const b = this.ctx.measureText(s).width, u = d, h = (this.captureRect.width - b) / 2 - m * 2, f = p, L = b + m * 4, x = u + m * 2;
|
|
17356
|
+
if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, L, x, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m), this.logoImage && this.logoLoaded) {
|
|
17357
17357
|
const P = Math.max(this.captureRect.height / 8, 40), _ = this.logoImage.naturalWidth / this.logoImage.naturalHeight;
|
|
17358
17358
|
let D = P, T = D * _;
|
|
17359
17359
|
const B = this.captureRect.width / 4;
|
|
@@ -17488,7 +17488,7 @@ class w1 {
|
|
|
17488
17488
|
return this._frameDelay;
|
|
17489
17489
|
}
|
|
17490
17490
|
}
|
|
17491
|
-
const
|
|
17491
|
+
const v1 = {
|
|
17492
17492
|
name: "IdmCapture",
|
|
17493
17493
|
props: {
|
|
17494
17494
|
isPlaying: {
|
|
@@ -17661,7 +17661,7 @@ const x1 = {
|
|
|
17661
17661
|
this.recorder.downloadMp4(this.mp4Blob, e);
|
|
17662
17662
|
}
|
|
17663
17663
|
}
|
|
17664
|
-
},
|
|
17664
|
+
}, x1 = {
|
|
17665
17665
|
key: 0,
|
|
17666
17666
|
class: "drag-tips text-h4"
|
|
17667
17667
|
}, A1 = { class: "size-hint mt-2 ml-2 text-body-2 px-2 py-1 rounded font-weight-bold bg-background" }, k1 = { class: "size-hint mt-2 ml-2 text-body-2 px-2 py-1 rounded font-weight-bold bg-background" }, L1 = { class: "text-body-2" }, z1 = {
|
|
@@ -17684,7 +17684,7 @@ function P1(t, e, o, i, a, l) {
|
|
|
17684
17684
|
onMousemove: e[3] || (e[3] = (...c) => l.handleMouseMove && l.handleMouseMove(...c)),
|
|
17685
17685
|
onMouseup: e[4] || (e[4] = (...c) => l.handleMouseUp && l.handleMouseUp(...c))
|
|
17686
17686
|
}, [
|
|
17687
|
-
a.actionStatus === 1 ? (A(), R("div",
|
|
17687
|
+
a.actionStatus === 1 ? (A(), R("div", x1, y(t.$t("tips.crossHairText")), 1)) : I("", !0),
|
|
17688
17688
|
a.actionStatus >= 2 ? (A(), R("div", {
|
|
17689
17689
|
key: 1,
|
|
17690
17690
|
class: "selection-box",
|
|
@@ -17743,7 +17743,7 @@ function P1(t, e, o, i, a, l) {
|
|
|
17743
17743
|
], 6)) : I("", !0)
|
|
17744
17744
|
], 32);
|
|
17745
17745
|
}
|
|
17746
|
-
const er = /* @__PURE__ */ ne(
|
|
17746
|
+
const er = /* @__PURE__ */ ne(v1, [["render", P1], ["__scopeId", "data-v-0eb7ef02"]]);
|
|
17747
17747
|
const S1 = {
|
|
17748
17748
|
name: "IdmBottomBar",
|
|
17749
17749
|
components: { DateTimePicker: Xo, IdmCapture: er },
|
|
@@ -17924,12 +17924,12 @@ function N1(t, e, o, i, a, l) {
|
|
|
17924
17924
|
class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
|
|
17925
17925
|
"min-width": "30"
|
|
17926
17926
|
}, {
|
|
17927
|
-
default:
|
|
17927
|
+
default: v(() => [
|
|
17928
17928
|
N(y(a.intervalHour) + " h ", 1),
|
|
17929
17929
|
w(p, { activator: "parent" }, {
|
|
17930
|
-
default:
|
|
17930
|
+
default: v(() => [
|
|
17931
17931
|
w(m, { class: "pa-1" }, {
|
|
17932
|
-
default:
|
|
17932
|
+
default: v(() => [
|
|
17933
17933
|
(A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(), F(d, {
|
|
17934
17934
|
key: f,
|
|
17935
17935
|
value: h,
|
|
@@ -17942,11 +17942,11 @@ function N1(t, e, o, i, a, l) {
|
|
|
17942
17942
|
"min-width": "30",
|
|
17943
17943
|
class: "pa-0 text-center text-body-1"
|
|
17944
17944
|
}, {
|
|
17945
|
-
default:
|
|
17945
|
+
default: v(() => [
|
|
17946
17946
|
w(s, {
|
|
17947
17947
|
onClick: (L) => a.intervalHour = h
|
|
17948
17948
|
}, {
|
|
17949
|
-
default:
|
|
17949
|
+
default: v(() => [
|
|
17950
17950
|
N(y(h) + "h", 1)
|
|
17951
17951
|
]),
|
|
17952
17952
|
_: 2
|
|
@@ -17976,7 +17976,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
17976
17976
|
interactive: !0,
|
|
17977
17977
|
"open-on-click": !1
|
|
17978
17978
|
}, {
|
|
17979
|
-
activator:
|
|
17979
|
+
activator: v(({ props: h }) => [
|
|
17980
17980
|
a.gifEnabled ? (A(), F(g, V({
|
|
17981
17981
|
key: 1,
|
|
17982
17982
|
disabled: a.frameCount < 1
|
|
@@ -17987,7 +17987,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
17987
17987
|
variant: "text",
|
|
17988
17988
|
onClick: e[7] || (e[7] = (f) => a.gifEnabled = !a.gifEnabled)
|
|
17989
17989
|
}), {
|
|
17990
|
-
default:
|
|
17990
|
+
default: v(() => e[15] || (e[15] = [
|
|
17991
17991
|
n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
|
|
17992
17992
|
])),
|
|
17993
17993
|
_: 2,
|
|
@@ -17999,7 +17999,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
17999
17999
|
variant: "text",
|
|
18000
18000
|
onClick: e[6] || (e[6] = (f) => a.gifEnabled = !a.gifEnabled)
|
|
18001
18001
|
}), {
|
|
18002
|
-
default:
|
|
18002
|
+
default: v(() => e[14] || (e[14] = [
|
|
18003
18003
|
n("i", { class: "iconfont icon-record" }, null, -1)
|
|
18004
18004
|
])),
|
|
18005
18005
|
_: 2,
|
|
@@ -18014,7 +18014,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18014
18014
|
interactive: !0,
|
|
18015
18015
|
"open-on-click": !1
|
|
18016
18016
|
}, {
|
|
18017
|
-
activator:
|
|
18017
|
+
activator: v(({ props: h }) => [
|
|
18018
18018
|
w(g, V(h, {
|
|
18019
18019
|
icon: "",
|
|
18020
18020
|
size: "small",
|
|
@@ -18022,7 +18022,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18022
18022
|
variant: "text",
|
|
18023
18023
|
onClick: l.handleReset
|
|
18024
18024
|
}), {
|
|
18025
|
-
default:
|
|
18025
|
+
default: v(() => e[16] || (e[16] = [
|
|
18026
18026
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18027
18027
|
])),
|
|
18028
18028
|
_: 2,
|
|
@@ -18037,7 +18037,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18037
18037
|
interactive: !0,
|
|
18038
18038
|
"open-on-click": !1
|
|
18039
18039
|
}, {
|
|
18040
|
-
activator:
|
|
18040
|
+
activator: v(({ props: h }) => [
|
|
18041
18041
|
w(g, V(h, {
|
|
18042
18042
|
icon: "",
|
|
18043
18043
|
size: "small",
|
|
@@ -18045,7 +18045,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18045
18045
|
variant: "text",
|
|
18046
18046
|
onClick: l.handleBackward
|
|
18047
18047
|
}), {
|
|
18048
|
-
default:
|
|
18048
|
+
default: v(() => e[17] || (e[17] = [
|
|
18049
18049
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18050
18050
|
])),
|
|
18051
18051
|
_: 2,
|
|
@@ -18060,7 +18060,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18060
18060
|
interactive: !0,
|
|
18061
18061
|
"open-on-click": !1
|
|
18062
18062
|
}, {
|
|
18063
|
-
activator:
|
|
18063
|
+
activator: v(({ props: h }) => [
|
|
18064
18064
|
a.paused ? (A(), F(g, V({ key: 0 }, h, {
|
|
18065
18065
|
icon: "",
|
|
18066
18066
|
size: "small",
|
|
@@ -18068,7 +18068,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18068
18068
|
variant: "text",
|
|
18069
18069
|
onClick: l.handlePlay
|
|
18070
18070
|
}), {
|
|
18071
|
-
default:
|
|
18071
|
+
default: v(() => e[18] || (e[18] = [
|
|
18072
18072
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18073
18073
|
])),
|
|
18074
18074
|
_: 2,
|
|
@@ -18083,7 +18083,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18083
18083
|
interactive: !0,
|
|
18084
18084
|
"open-on-click": !1
|
|
18085
18085
|
}, {
|
|
18086
|
-
activator:
|
|
18086
|
+
activator: v(({ props: h }) => [
|
|
18087
18087
|
a.paused ? I("", !0) : (A(), F(g, V({ key: 0 }, h, {
|
|
18088
18088
|
icon: "",
|
|
18089
18089
|
size: "small",
|
|
@@ -18091,7 +18091,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18091
18091
|
variant: "text",
|
|
18092
18092
|
onClick: l.handlePause
|
|
18093
18093
|
}), {
|
|
18094
|
-
default:
|
|
18094
|
+
default: v(() => e[19] || (e[19] = [
|
|
18095
18095
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
18096
18096
|
])),
|
|
18097
18097
|
_: 2,
|
|
@@ -18106,7 +18106,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18106
18106
|
interactive: !0,
|
|
18107
18107
|
"open-on-click": !1
|
|
18108
18108
|
}, {
|
|
18109
|
-
activator:
|
|
18109
|
+
activator: v(({ props: h }) => [
|
|
18110
18110
|
w(g, V(h, {
|
|
18111
18111
|
icon: "",
|
|
18112
18112
|
size: "small",
|
|
@@ -18114,7 +18114,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18114
18114
|
variant: "text",
|
|
18115
18115
|
onClick: l.handleForward
|
|
18116
18116
|
}), {
|
|
18117
|
-
default:
|
|
18117
|
+
default: v(() => e[20] || (e[20] = [
|
|
18118
18118
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
18119
18119
|
])),
|
|
18120
18120
|
_: 2,
|
|
@@ -18134,7 +18134,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18134
18134
|
text: t.$t("weather.windBarbs"),
|
|
18135
18135
|
location: "top"
|
|
18136
18136
|
}, {
|
|
18137
|
-
activator:
|
|
18137
|
+
activator: v(({ props: h }) => {
|
|
18138
18138
|
var f, L;
|
|
18139
18139
|
return [
|
|
18140
18140
|
w(g, V(h, {
|
|
@@ -18144,9 +18144,9 @@ function N1(t, e, o, i, a, l) {
|
|
|
18144
18144
|
height: "24",
|
|
18145
18145
|
width: "24",
|
|
18146
18146
|
"min-width": "24",
|
|
18147
|
-
onClick: e[8] || (e[8] = (
|
|
18147
|
+
onClick: e[8] || (e[8] = (x) => l.handleClickFastWeather("wind"))
|
|
18148
18148
|
}), {
|
|
18149
|
-
default:
|
|
18149
|
+
default: v(() => e[21] || (e[21] = [
|
|
18150
18150
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
18151
18151
|
])),
|
|
18152
18152
|
_: 2,
|
|
@@ -18160,7 +18160,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18160
18160
|
text: t.$t("weather.sigWaveHeight"),
|
|
18161
18161
|
location: "top"
|
|
18162
18162
|
}, {
|
|
18163
|
-
activator:
|
|
18163
|
+
activator: v(({ props: h }) => {
|
|
18164
18164
|
var f, L;
|
|
18165
18165
|
return [
|
|
18166
18166
|
w(g, V(h, {
|
|
@@ -18170,9 +18170,9 @@ function N1(t, e, o, i, a, l) {
|
|
|
18170
18170
|
height: "24",
|
|
18171
18171
|
width: "24",
|
|
18172
18172
|
"min-width": "24",
|
|
18173
|
-
onClick: e[9] || (e[9] = (
|
|
18173
|
+
onClick: e[9] || (e[9] = (x) => l.handleClickFastWeather("sig-wave-height"))
|
|
18174
18174
|
}), {
|
|
18175
|
-
default:
|
|
18175
|
+
default: v(() => [
|
|
18176
18176
|
n("i", V(h, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
18177
18177
|
]),
|
|
18178
18178
|
_: 2
|
|
@@ -18185,7 +18185,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18185
18185
|
text: t.$t("weather.currentDirection"),
|
|
18186
18186
|
location: "top"
|
|
18187
18187
|
}, {
|
|
18188
|
-
activator:
|
|
18188
|
+
activator: v(({ props: h }) => {
|
|
18189
18189
|
var f, L;
|
|
18190
18190
|
return [
|
|
18191
18191
|
w(g, V(h, {
|
|
@@ -18195,9 +18195,9 @@ function N1(t, e, o, i, a, l) {
|
|
|
18195
18195
|
height: "24",
|
|
18196
18196
|
width: "24",
|
|
18197
18197
|
"min-width": "24",
|
|
18198
|
-
onClick: e[10] || (e[10] = (
|
|
18198
|
+
onClick: e[10] || (e[10] = (x) => l.handleClickFastWeather("current-direction"))
|
|
18199
18199
|
}), {
|
|
18200
|
-
default:
|
|
18200
|
+
default: v(() => [
|
|
18201
18201
|
n("i", V(h, { class: "iconfont icon-Current" }), null, 16)
|
|
18202
18202
|
]),
|
|
18203
18203
|
_: 2
|
|
@@ -18210,7 +18210,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18210
18210
|
text: t.$t("weather.weatherLayers"),
|
|
18211
18211
|
location: "top"
|
|
18212
18212
|
}, {
|
|
18213
|
-
activator:
|
|
18213
|
+
activator: v(({ props: h }) => [
|
|
18214
18214
|
w(g, V(h, {
|
|
18215
18215
|
class: "pa-1 d-flex",
|
|
18216
18216
|
variant: "text",
|
|
@@ -18219,7 +18219,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18219
18219
|
"min-width": "24",
|
|
18220
18220
|
onClick: l.handleClickFastMore
|
|
18221
18221
|
}), {
|
|
18222
|
-
default:
|
|
18222
|
+
default: v(() => [
|
|
18223
18223
|
n("i", V(h, { class: "iconfont icon-dots-align" }), null, 16)
|
|
18224
18224
|
]),
|
|
18225
18225
|
_: 2
|
|
@@ -18241,7 +18241,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18241
18241
|
color: a.source === "GFS" ? "primary" : "",
|
|
18242
18242
|
onClick: e[11] || (e[11] = (h) => a.source = "GFS")
|
|
18243
18243
|
}, {
|
|
18244
|
-
default:
|
|
18244
|
+
default: v(() => e[22] || (e[22] = [
|
|
18245
18245
|
N(" NOAA ", -1)
|
|
18246
18246
|
])),
|
|
18247
18247
|
_: 1,
|
|
@@ -18254,7 +18254,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18254
18254
|
color: a.source === "ECMWF" ? "primary" : "",
|
|
18255
18255
|
onClick: e[12] || (e[12] = (h) => a.source = "ECMWF")
|
|
18256
18256
|
}, {
|
|
18257
|
-
default:
|
|
18257
|
+
default: v(() => e[23] || (e[23] = [
|
|
18258
18258
|
N(" ECMWF ", -1)
|
|
18259
18259
|
])),
|
|
18260
18260
|
_: 1,
|
|
@@ -18282,7 +18282,7 @@ function N1(t, e, o, i, a, l) {
|
|
|
18282
18282
|
color: "primary",
|
|
18283
18283
|
onClick: e[13] || (e[13] = (h) => a.showTimezone = !a.showTimezone)
|
|
18284
18284
|
}, {
|
|
18285
|
-
default:
|
|
18285
|
+
default: v(() => [
|
|
18286
18286
|
N(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
18287
18287
|
]),
|
|
18288
18288
|
_: 1
|
|
@@ -18418,7 +18418,7 @@ function X1(t, e, o, i, a, l) {
|
|
|
18418
18418
|
height: "30",
|
|
18419
18419
|
onClick: l.handleReset
|
|
18420
18420
|
}, {
|
|
18421
|
-
default:
|
|
18421
|
+
default: v(() => e[4] || (e[4] = [
|
|
18422
18422
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18423
18423
|
])),
|
|
18424
18424
|
_: 1,
|
|
@@ -18433,7 +18433,7 @@ function X1(t, e, o, i, a, l) {
|
|
|
18433
18433
|
height: "30",
|
|
18434
18434
|
onClick: l.handleBackward
|
|
18435
18435
|
}, {
|
|
18436
|
-
default:
|
|
18436
|
+
default: v(() => e[5] || (e[5] = [
|
|
18437
18437
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18438
18438
|
])),
|
|
18439
18439
|
_: 1,
|
|
@@ -18461,7 +18461,7 @@ function X1(t, e, o, i, a, l) {
|
|
|
18461
18461
|
height: "30",
|
|
18462
18462
|
onClick: l.handleForward
|
|
18463
18463
|
}, {
|
|
18464
|
-
default:
|
|
18464
|
+
default: v(() => e[6] || (e[6] = [
|
|
18465
18465
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
18466
18466
|
])),
|
|
18467
18467
|
_: 1,
|
|
@@ -18477,7 +18477,7 @@ function X1(t, e, o, i, a, l) {
|
|
|
18477
18477
|
height: "30",
|
|
18478
18478
|
onClick: l.handlePlay
|
|
18479
18479
|
}, {
|
|
18480
|
-
default:
|
|
18480
|
+
default: v(() => e[7] || (e[7] = [
|
|
18481
18481
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18482
18482
|
])),
|
|
18483
18483
|
_: 1,
|
|
@@ -18492,7 +18492,7 @@ function X1(t, e, o, i, a, l) {
|
|
|
18492
18492
|
height: "30",
|
|
18493
18493
|
onClick: l.handlePause
|
|
18494
18494
|
}, {
|
|
18495
|
-
default:
|
|
18495
|
+
default: v(() => e[8] || (e[8] = [
|
|
18496
18496
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
18497
18497
|
])),
|
|
18498
18498
|
_: 1,
|
|
@@ -18785,7 +18785,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18785
18785
|
interactive: !0,
|
|
18786
18786
|
"open-on-click": !1
|
|
18787
18787
|
}, {
|
|
18788
|
-
activator:
|
|
18788
|
+
activator: v(({ props: u }) => [
|
|
18789
18789
|
a.gifEnabled ? (A(), F(c, V({
|
|
18790
18790
|
key: 1,
|
|
18791
18791
|
disabled: a.frameCount < 1
|
|
@@ -18796,7 +18796,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18796
18796
|
variant: "text",
|
|
18797
18797
|
onClick: e[3] || (e[3] = (h) => a.gifEnabled = !a.gifEnabled)
|
|
18798
18798
|
}), {
|
|
18799
|
-
default:
|
|
18799
|
+
default: v(() => e[15] || (e[15] = [
|
|
18800
18800
|
n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
|
|
18801
18801
|
])),
|
|
18802
18802
|
_: 2,
|
|
@@ -18808,7 +18808,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18808
18808
|
variant: "text",
|
|
18809
18809
|
onClick: e[2] || (e[2] = (h) => a.gifEnabled = !a.gifEnabled)
|
|
18810
18810
|
}), {
|
|
18811
|
-
default:
|
|
18811
|
+
default: v(() => e[14] || (e[14] = [
|
|
18812
18812
|
n("i", { class: "iconfont icon-record" }, null, -1)
|
|
18813
18813
|
])),
|
|
18814
18814
|
_: 2,
|
|
@@ -18823,7 +18823,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18823
18823
|
interactive: !0,
|
|
18824
18824
|
"open-on-click": !1
|
|
18825
18825
|
}, {
|
|
18826
|
-
activator:
|
|
18826
|
+
activator: v(({ props: u }) => [
|
|
18827
18827
|
w(c, V(u, {
|
|
18828
18828
|
icon: "",
|
|
18829
18829
|
size: "small",
|
|
@@ -18831,7 +18831,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18831
18831
|
variant: "text",
|
|
18832
18832
|
onClick: l.handleReset
|
|
18833
18833
|
}), {
|
|
18834
|
-
default:
|
|
18834
|
+
default: v(() => e[16] || (e[16] = [
|
|
18835
18835
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18836
18836
|
])),
|
|
18837
18837
|
_: 2,
|
|
@@ -18846,7 +18846,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18846
18846
|
interactive: !0,
|
|
18847
18847
|
"open-on-click": !1
|
|
18848
18848
|
}, {
|
|
18849
|
-
activator:
|
|
18849
|
+
activator: v(({ props: u }) => [
|
|
18850
18850
|
w(c, V(u, {
|
|
18851
18851
|
icon: "",
|
|
18852
18852
|
size: "small",
|
|
@@ -18854,7 +18854,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18854
18854
|
variant: "text",
|
|
18855
18855
|
onClick: l.handleBackward
|
|
18856
18856
|
}), {
|
|
18857
|
-
default:
|
|
18857
|
+
default: v(() => e[17] || (e[17] = [
|
|
18858
18858
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18859
18859
|
])),
|
|
18860
18860
|
_: 2,
|
|
@@ -18869,7 +18869,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18869
18869
|
interactive: !0,
|
|
18870
18870
|
"open-on-click": !1
|
|
18871
18871
|
}, {
|
|
18872
|
-
activator:
|
|
18872
|
+
activator: v(({ props: u }) => [
|
|
18873
18873
|
a.paused ? (A(), F(c, V({ key: 0 }, u, {
|
|
18874
18874
|
icon: "",
|
|
18875
18875
|
size: "small",
|
|
@@ -18877,7 +18877,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18877
18877
|
variant: "text",
|
|
18878
18878
|
onClick: l.handlePlay
|
|
18879
18879
|
}), {
|
|
18880
|
-
default:
|
|
18880
|
+
default: v(() => e[18] || (e[18] = [
|
|
18881
18881
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18882
18882
|
])),
|
|
18883
18883
|
_: 2,
|
|
@@ -18892,7 +18892,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18892
18892
|
interactive: !0,
|
|
18893
18893
|
"open-on-click": !1
|
|
18894
18894
|
}, {
|
|
18895
|
-
activator:
|
|
18895
|
+
activator: v(({ props: u }) => [
|
|
18896
18896
|
a.paused ? I("", !0) : (A(), F(c, V({ key: 0 }, u, {
|
|
18897
18897
|
icon: "",
|
|
18898
18898
|
size: "small",
|
|
@@ -18900,7 +18900,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18900
18900
|
variant: "text",
|
|
18901
18901
|
onClick: l.handlePause
|
|
18902
18902
|
}), {
|
|
18903
|
-
default:
|
|
18903
|
+
default: v(() => e[19] || (e[19] = [
|
|
18904
18904
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
18905
18905
|
])),
|
|
18906
18906
|
_: 2,
|
|
@@ -18915,7 +18915,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18915
18915
|
interactive: !0,
|
|
18916
18916
|
"open-on-click": !1
|
|
18917
18917
|
}, {
|
|
18918
|
-
activator:
|
|
18918
|
+
activator: v(({ props: u }) => [
|
|
18919
18919
|
w(c, V(u, {
|
|
18920
18920
|
icon: "",
|
|
18921
18921
|
size: "small",
|
|
@@ -18923,7 +18923,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
18923
18923
|
variant: "text",
|
|
18924
18924
|
onClick: l.handleForward
|
|
18925
18925
|
}), {
|
|
18926
|
-
default:
|
|
18926
|
+
default: v(() => e[20] || (e[20] = [
|
|
18927
18927
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
18928
18928
|
])),
|
|
18929
18929
|
_: 2,
|
|
@@ -18944,12 +18944,12 @@ function cy(t, e, o, i, a, l) {
|
|
|
18944
18944
|
class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
|
|
18945
18945
|
"min-width": "30"
|
|
18946
18946
|
}, {
|
|
18947
|
-
default:
|
|
18947
|
+
default: v(() => [
|
|
18948
18948
|
N(y(a.intervalHour) + " h ", 1),
|
|
18949
18949
|
w(b, { activator: "parent" }, {
|
|
18950
|
-
default:
|
|
18950
|
+
default: v(() => [
|
|
18951
18951
|
w(g, { class: "pa-1" }, {
|
|
18952
|
-
default:
|
|
18952
|
+
default: v(() => [
|
|
18953
18953
|
(A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(), F(p, {
|
|
18954
18954
|
key: h,
|
|
18955
18955
|
value: u,
|
|
@@ -18962,11 +18962,11 @@ function cy(t, e, o, i, a, l) {
|
|
|
18962
18962
|
"min-width": "30",
|
|
18963
18963
|
class: "pa-0 text-center text-body-1"
|
|
18964
18964
|
}, {
|
|
18965
|
-
default:
|
|
18965
|
+
default: v(() => [
|
|
18966
18966
|
w(m, {
|
|
18967
18967
|
onClick: (f) => a.intervalHour = u
|
|
18968
18968
|
}, {
|
|
18969
|
-
default:
|
|
18969
|
+
default: v(() => [
|
|
18970
18970
|
N(y(u) + "h", 1)
|
|
18971
18971
|
]),
|
|
18972
18972
|
_: 2
|
|
@@ -19011,7 +19011,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19011
19011
|
key: f.key,
|
|
19012
19012
|
class: ue(["timeline-hour", { active: f.isActive }]),
|
|
19013
19013
|
style: ge({ width: l.hourWidth + "px" }),
|
|
19014
|
-
onClick: (
|
|
19014
|
+
onClick: (x) => l.handleTimelineClick(h, L)
|
|
19015
19015
|
}, [
|
|
19016
19016
|
f.isCurrent ? (A(), R("div", ey, [
|
|
19017
19017
|
n("span", ty, y(l.playBubbleText), 1),
|
|
@@ -19033,7 +19033,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19033
19033
|
text: t.$t("weather.windBarbs"),
|
|
19034
19034
|
location: "top"
|
|
19035
19035
|
}, {
|
|
19036
|
-
activator:
|
|
19036
|
+
activator: v(({ props: u }) => {
|
|
19037
19037
|
var h, f;
|
|
19038
19038
|
return [
|
|
19039
19039
|
w(c, V(u, {
|
|
@@ -19045,7 +19045,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19045
19045
|
"min-width": "24",
|
|
19046
19046
|
onClick: e[8] || (e[8] = (L) => l.handleClickFastWeather("wind"))
|
|
19047
19047
|
}), {
|
|
19048
|
-
default:
|
|
19048
|
+
default: v(() => e[22] || (e[22] = [
|
|
19049
19049
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
19050
19050
|
])),
|
|
19051
19051
|
_: 2,
|
|
@@ -19059,7 +19059,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19059
19059
|
text: t.$t("weather.sigWaveHeight"),
|
|
19060
19060
|
location: "top"
|
|
19061
19061
|
}, {
|
|
19062
|
-
activator:
|
|
19062
|
+
activator: v(({ props: u }) => {
|
|
19063
19063
|
var h, f;
|
|
19064
19064
|
return [
|
|
19065
19065
|
w(c, V(u, {
|
|
@@ -19071,7 +19071,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19071
19071
|
"min-width": "24",
|
|
19072
19072
|
onClick: e[9] || (e[9] = (L) => l.handleClickFastWeather("sig-wave-height"))
|
|
19073
19073
|
}), {
|
|
19074
|
-
default:
|
|
19074
|
+
default: v(() => [
|
|
19075
19075
|
n("i", V(u, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
19076
19076
|
]),
|
|
19077
19077
|
_: 2
|
|
@@ -19084,7 +19084,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19084
19084
|
text: t.$t("weather.currentDirection"),
|
|
19085
19085
|
location: "top"
|
|
19086
19086
|
}, {
|
|
19087
|
-
activator:
|
|
19087
|
+
activator: v(({ props: u }) => {
|
|
19088
19088
|
var h, f;
|
|
19089
19089
|
return [
|
|
19090
19090
|
w(c, V(u, {
|
|
@@ -19096,7 +19096,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19096
19096
|
"min-width": "24",
|
|
19097
19097
|
onClick: e[10] || (e[10] = (L) => l.handleClickFastWeather("current-direction"))
|
|
19098
19098
|
}), {
|
|
19099
|
-
default:
|
|
19099
|
+
default: v(() => [
|
|
19100
19100
|
n("i", V(u, { class: "iconfont icon-Current" }), null, 16)
|
|
19101
19101
|
]),
|
|
19102
19102
|
_: 2
|
|
@@ -19109,7 +19109,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19109
19109
|
text: t.$t("weather.weatherLayers"),
|
|
19110
19110
|
location: "top"
|
|
19111
19111
|
}, {
|
|
19112
|
-
activator:
|
|
19112
|
+
activator: v(({ props: u }) => [
|
|
19113
19113
|
w(c, V(u, {
|
|
19114
19114
|
class: "pa-1 d-flex",
|
|
19115
19115
|
variant: "text",
|
|
@@ -19118,7 +19118,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19118
19118
|
"min-width": "24",
|
|
19119
19119
|
onClick: l.handleClickFastMore
|
|
19120
19120
|
}), {
|
|
19121
|
-
default:
|
|
19121
|
+
default: v(() => [
|
|
19122
19122
|
n("i", V(u, { class: "iconfont icon-dots-align" }), null, 16)
|
|
19123
19123
|
]),
|
|
19124
19124
|
_: 2
|
|
@@ -19139,7 +19139,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19139
19139
|
color: a.source === "GFS" ? "primary" : "",
|
|
19140
19140
|
onClick: e[11] || (e[11] = (u) => a.source = "GFS")
|
|
19141
19141
|
}, {
|
|
19142
|
-
default:
|
|
19142
|
+
default: v(() => e[23] || (e[23] = [
|
|
19143
19143
|
N(" NOAA ", -1)
|
|
19144
19144
|
])),
|
|
19145
19145
|
_: 1,
|
|
@@ -19152,7 +19152,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19152
19152
|
color: a.source === "ECMWF" ? "primary" : "",
|
|
19153
19153
|
onClick: e[12] || (e[12] = (u) => a.source = "ECMWF")
|
|
19154
19154
|
}, {
|
|
19155
|
-
default:
|
|
19155
|
+
default: v(() => e[24] || (e[24] = [
|
|
19156
19156
|
N(" ECMWF ", -1)
|
|
19157
19157
|
])),
|
|
19158
19158
|
_: 1,
|
|
@@ -19180,7 +19180,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19180
19180
|
color: "primary",
|
|
19181
19181
|
onClick: e[13] || (e[13] = (u) => a.showTimezone = !a.showTimezone)
|
|
19182
19182
|
}, {
|
|
19183
|
-
default:
|
|
19183
|
+
default: v(() => [
|
|
19184
19184
|
N(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
19185
19185
|
]),
|
|
19186
19186
|
_: 1
|
|
@@ -19193,7 +19193,7 @@ function cy(t, e, o, i, a, l) {
|
|
|
19193
19193
|
const my = /* @__PURE__ */ ne(O1, [["render", cy]]), dy = {
|
|
19194
19194
|
name: "IdmGL4",
|
|
19195
19195
|
components: {
|
|
19196
|
-
IdmOtherLayer:
|
|
19196
|
+
IdmOtherLayer: xc,
|
|
19197
19197
|
IdmWeatherLayer: pd,
|
|
19198
19198
|
IdmTropicals: Gl,
|
|
19199
19199
|
IdmMeasure: _p,
|
|
@@ -19245,10 +19245,14 @@ const my = /* @__PURE__ */ ne(O1, [["render", cy]]), dy = {
|
|
|
19245
19245
|
watch: {
|
|
19246
19246
|
layerVersion: {
|
|
19247
19247
|
handler() {
|
|
19248
|
-
var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
19248
|
+
var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _;
|
|
19249
19249
|
if (this.map) {
|
|
19250
19250
|
const D = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((Q) => Q === G)), T = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((Q) => Q === G)), B = this.otherCheckList.some((G) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((Q) => Q === G)), j = T || B;
|
|
19251
|
-
(this.mapFeather === "nautical" || this.mapFeather === "satellite")
|
|
19251
|
+
if (this.mapFeather === "nautical" || this.mapFeather === "satellite") {
|
|
19252
|
+
const G = localStorage.getItem("nauticalLayerCacheGL4") === "hi" ? "hi" : "i4";
|
|
19253
|
+
D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (l = this.map) != null && l.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (r = this.map) != null && r.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", G === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", G === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none"));
|
|
19254
|
+
}
|
|
19255
|
+
j ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (L = this.map) != null && L.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((x = this.map) != null && x.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((z = this.map) != null && z.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
|
|
19252
19256
|
var G, Q;
|
|
19253
19257
|
(G = this.map) != null && G.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (Q = this.map) != null && Q.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
|
|
19254
19258
|
}, 1e3)) : (_ = this.map) != null && _.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2");
|
|
@@ -19375,14 +19379,14 @@ function uy(t, e, o, i, a, l) {
|
|
|
19375
19379
|
}
|
|
19376
19380
|
const py = /* @__PURE__ */ ne(dy, [["render", uy]]);
|
|
19377
19381
|
class gy {
|
|
19378
|
-
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNsYmY5M3I0YTAwMDE4Ymx0NWJ4emFwNWMiLCJyb2xlIjoyMDQ3LCJpYXQiOjE2NzA1NTM0NzAsImV4cCI6Mzg3ODA3MzQ3MH0.MxTv0yLGarZCtOSCZfJHMqrXNMNN0-OL4gBGKGcYcc8", {
|
|
19382
|
+
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNsYmY5M3I0YTAwMDE4Ymx0NWJ4emFwNWMiLCJyb2xlIjoyMDQ3LCJpYXQiOjE2NzA1NTM0NzAsImV4cCI6Mzg3ODA3MzQ3MH0.MxTv0yLGarZCtOSCZfJHMqrXNMNN0-OL4gBGKGcYcc8", { hifleet: o = !1 } = {}) {
|
|
19379
19383
|
ke(this, "originStyle");
|
|
19380
19384
|
ke(this, "mapboxStyle");
|
|
19381
19385
|
ke(this, "i4");
|
|
19382
19386
|
ke(this, "hi");
|
|
19383
19387
|
ke(this, "td");
|
|
19384
19388
|
ke(this, "windy");
|
|
19385
|
-
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L,
|
|
19389
|
+
var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, va, xa, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Ga, Fa, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, vi, xi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Gi, Fi, Bi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, el, tl, ol, al, il, ll, rl, nl, sl, cl, ml, dl;
|
|
19386
19390
|
this.i4 = {
|
|
19387
19391
|
source: {
|
|
19388
19392
|
type: "raster",
|
|
@@ -19396,7 +19400,7 @@ class gy {
|
|
|
19396
19400
|
minzoom: 1,
|
|
19397
19401
|
maxzoom: 18,
|
|
19398
19402
|
layout: {
|
|
19399
|
-
visibility: "
|
|
19403
|
+
visibility: "none"
|
|
19400
19404
|
}
|
|
19401
19405
|
}
|
|
19402
19406
|
}, this.hi = {
|
|
@@ -19415,7 +19419,7 @@ class gy {
|
|
|
19415
19419
|
minzoom: 1,
|
|
19416
19420
|
maxzoom: 18,
|
|
19417
19421
|
layout: {
|
|
19418
|
-
visibility: "
|
|
19422
|
+
visibility: "none"
|
|
19419
19423
|
}
|
|
19420
19424
|
}
|
|
19421
19425
|
}, this.originStyle = {
|
|
@@ -38019,14 +38023,14 @@ class gy {
|
|
|
38019
38023
|
(g = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : g.find((k) => k.id === "ice-area-fill"),
|
|
38020
38024
|
(u = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : u.find((k) => k.id === "ice-area-line"),
|
|
38021
38025
|
(f = (h = this.originStyle) == null ? void 0 : h.light.layers) == null ? void 0 : f.find((k) => k.id === "empty-layer-0"),
|
|
38022
|
-
(
|
|
38026
|
+
(x = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : x.find((k) => k.id === "empty-layer-1"),
|
|
38023
38027
|
(z = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : z.find((k) => k.id === "country-boundaries"),
|
|
38024
38028
|
(_ = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : _.find((k) => k.id === "water-outline"),
|
|
38025
38029
|
(T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((k) => k.id === "water-outline2"),
|
|
38026
38030
|
(j = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : j.find((k) => k.id === "empty-layer-2"),
|
|
38027
38031
|
(Q = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : Q.find((k) => k.id === "water-line-label"),
|
|
38028
38032
|
(re = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : re.find((k) => k.id === "water-point-label"),
|
|
38029
|
-
(be = (
|
|
38033
|
+
(be = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : be.find((k) => k.id === "world-12nm-v4-20231025"),
|
|
38030
38034
|
($ = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : $.find((k) => k.id === "nsr-flll"),
|
|
38031
38035
|
(se = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : se.find((k) => k.id === "nsr-line"),
|
|
38032
38036
|
(Y = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : Y.find((k) => k.id === "nsr-label"),
|
|
@@ -38067,8 +38071,8 @@ class gy {
|
|
|
38067
38071
|
protected: !1,
|
|
38068
38072
|
draft: !1,
|
|
38069
38073
|
layers: [
|
|
38070
|
-
(
|
|
38071
|
-
(At = (
|
|
38074
|
+
(vt = (wt = this.originStyle) == null ? void 0 : wt.dark.layers) == null ? void 0 : vt.find((k) => k.id === "land"),
|
|
38075
|
+
(At = (xt = this.originStyle) == null ? void 0 : xt.dark.layers) == null ? void 0 : At.find((k) => k.id === "water"),
|
|
38072
38076
|
(Lt = (kt = this.originStyle) == null ? void 0 : kt.dark.layers) == null ? void 0 : Lt.find((k) => k.id === "loadlines-label"),
|
|
38073
38077
|
(_t = (zt = this.originStyle) == null ? void 0 : zt.dark.layers) == null ? void 0 : _t.find((k) => k.id === "loadlines-fill"),
|
|
38074
38078
|
(Mt = (Ct = this.originStyle) == null ? void 0 : Ct.dark.layers) == null ? void 0 : Mt.find((k) => k.id === "ice-area-fill"),
|
|
@@ -38119,7 +38123,7 @@ class gy {
|
|
|
38119
38123
|
protected: !1,
|
|
38120
38124
|
draft: !1,
|
|
38121
38125
|
layers: [
|
|
38122
|
-
(
|
|
38126
|
+
(xo = (ye = this.originStyle) == null ? void 0 : ye.satellite.layers) == null ? void 0 : xo.find((k) => k.id === "background"),
|
|
38123
38127
|
(ko = (Ao = this.originStyle) == null ? void 0 : Ao.satellite.layers) == null ? void 0 : ko.find((k) => k.id === "satellite"),
|
|
38124
38128
|
(zo = (Lo = this.originStyle) == null ? void 0 : Lo.satellite.layers) == null ? void 0 : zo.find((k) => k.id === "loadlines-label"),
|
|
38125
38129
|
(Co = (_o = this.originStyle) == null ? void 0 : _o.satellite.layers) == null ? void 0 : Co.find((k) => k.id === "loadlines-fill"),
|
|
@@ -38128,7 +38132,7 @@ class gy {
|
|
|
38128
38132
|
(Do = (Ro = this.originStyle) == null ? void 0 : Ro.satellite.layers) == null ? void 0 : Do.find((k) => k.id === "empty-layer-0"),
|
|
38129
38133
|
(ya = (Io = this.originStyle) == null ? void 0 : Io.satellite.layers) == null ? void 0 : ya.find((k) => k.id === "empty-layer-1"),
|
|
38130
38134
|
(wa = (ba = this.originStyle) == null ? void 0 : ba.satellite.layers) == null ? void 0 : wa.find((k) => k.id === "country-boundaries"),
|
|
38131
|
-
(
|
|
38135
|
+
(xa = (va = this.originStyle) == null ? void 0 : va.satellite.layers) == null ? void 0 : xa.find((k) => k.id === "water-outline"),
|
|
38132
38136
|
(ka = (Aa = this.originStyle) == null ? void 0 : Aa.satellite.layers) == null ? void 0 : ka.find((k) => k.id === "empty-layer-2"),
|
|
38133
38137
|
(za = (La = this.originStyle) == null ? void 0 : La.satellite.layers) == null ? void 0 : za.find((k) => k.id === "world-12nm-v4-20231025"),
|
|
38134
38138
|
(Ca = (_a = this.originStyle) == null ? void 0 : _a.satellite.layers) == null ? void 0 : Ca.find((k) => k.id === "nsr-flll"),
|
|
@@ -38163,14 +38167,16 @@ class gy {
|
|
|
38163
38167
|
layers: [
|
|
38164
38168
|
(li = (ii = this.originStyle) == null ? void 0 : ii.light.layers) == null ? void 0 : li.find((k) => k.id === "land"),
|
|
38165
38169
|
(ni = (ri = this.originStyle) == null ? void 0 : ri.light.layers) == null ? void 0 : ni.find((k) => k.id === "water"),
|
|
38166
|
-
|
|
38170
|
+
// 样式的 layers 不允许出现 undefined,用展开的方式按需插入 hi 图层
|
|
38171
|
+
...o ? [this.hi.layer] : [],
|
|
38172
|
+
this.i4.layer,
|
|
38167
38173
|
(ci = (si = this.originStyle) == null ? void 0 : si.light.layers) == null ? void 0 : ci.find((k) => k.id === "loadlines-label"),
|
|
38168
38174
|
(di = (mi = this.originStyle) == null ? void 0 : mi.light.layers) == null ? void 0 : di.find((k) => k.id === "loadlines-fill"),
|
|
38169
38175
|
(ui = (hi = this.originStyle) == null ? void 0 : hi.light.layers) == null ? void 0 : ui.find((k) => k.id === "ice-area-fill"),
|
|
38170
38176
|
(gi = (pi = this.originStyle) == null ? void 0 : pi.light.layers) == null ? void 0 : gi.find((k) => k.id === "ice-area-line"),
|
|
38171
38177
|
(yi = (fi = this.originStyle) == null ? void 0 : fi.light.layers) == null ? void 0 : yi.find((k) => k.id === "empty-layer-0"),
|
|
38172
38178
|
(wi = (bi = this.originStyle) == null ? void 0 : bi.light.layers) == null ? void 0 : wi.find((k) => k.id === "empty-layer-1"),
|
|
38173
|
-
(
|
|
38179
|
+
(xi = (vi = this.originStyle) == null ? void 0 : vi.light.layers) == null ? void 0 : xi.find((k) => k.id === "country-boundaries"),
|
|
38174
38180
|
(ki = (Ai = this.originStyle) == null ? void 0 : Ai.light.layers) == null ? void 0 : ki.find((k) => k.id === "water-outline"),
|
|
38175
38181
|
(zi = (Li = this.originStyle) == null ? void 0 : Li.light.layers) == null ? void 0 : zi.find((k) => k.id === "water-outline2"),
|
|
38176
38182
|
(Ci = (_i = this.originStyle) == null ? void 0 : _i.light.layers) == null ? void 0 : Ci.find((k) => k.id === "empty-layer-2"),
|
|
@@ -38274,8 +38280,8 @@ const fy = {
|
|
|
38274
38280
|
immediate: !0
|
|
38275
38281
|
},
|
|
38276
38282
|
nautical: {
|
|
38277
|
-
handler(t) {
|
|
38278
|
-
localStorage.setItem("nauticalLayerCacheGL4", t), this.handleNauticalToggle();
|
|
38283
|
+
handler(t, e) {
|
|
38284
|
+
localStorage.setItem("nauticalLayerCacheGL4", t), this.handleNauticalToggle(t, e);
|
|
38279
38285
|
}
|
|
38280
38286
|
}
|
|
38281
38287
|
},
|
|
@@ -38285,8 +38291,8 @@ const fy = {
|
|
|
38285
38291
|
*/
|
|
38286
38292
|
async initOnlineMap(t) {
|
|
38287
38293
|
const e = typeof (t == null ? void 0 : t.zoom) == "number" ? t.zoom : 2, o = Array.isArray(t == null ? void 0 : t.center) ? t.center : [120, 30];
|
|
38288
|
-
this.helper = new gy(this.token, {
|
|
38289
|
-
const i = new
|
|
38294
|
+
this.helper = new gy(this.token, { hifleet: this.platform === "ops" }), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
38295
|
+
const i = new xe.Map({
|
|
38290
38296
|
container: "map",
|
|
38291
38297
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
38292
38298
|
// style: 'mapbox://styles/neatchenheng/cmdqwez32005b01re2w0k3zk4', // dark
|
|
@@ -38307,7 +38313,7 @@ const fy = {
|
|
|
38307
38313
|
fadeDuration: 300
|
|
38308
38314
|
});
|
|
38309
38315
|
i.dragRotate.disable(), i.touchZoomRotate.disableRotation(), i.on("load", () => {
|
|
38310
|
-
this.zoom = i.getZoom(), this.map = i, this.$emit("menuToggle"), this.addScaleControl();
|
|
38316
|
+
this.zoom = i.getZoom(), this.map = i, this.handleNauticalToggle(this.nautical), this.$emit("menuToggle"), this.addScaleControl();
|
|
38311
38317
|
}), i.on("move", () => {
|
|
38312
38318
|
var a;
|
|
38313
38319
|
this.zoom = (a = this.map) == null ? void 0 : a.getZoom();
|
|
@@ -38315,7 +38321,7 @@ const fy = {
|
|
|
38315
38321
|
},
|
|
38316
38322
|
addScaleControl() {
|
|
38317
38323
|
var e;
|
|
38318
|
-
this.map.addControl(new
|
|
38324
|
+
this.map.addControl(new xe.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
|
|
38319
38325
|
const t = (e = document.getElementsByClassName("mapboxgl-ctrl-scale")) == null ? void 0 : e[0];
|
|
38320
38326
|
t && (t.className = "mapboxgl-ctrl-scale " + this.mapFeather);
|
|
38321
38327
|
},
|
|
@@ -38328,20 +38334,24 @@ const fy = {
|
|
|
38328
38334
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
38329
38335
|
},
|
|
38330
38336
|
/**
|
|
38331
|
-
* 海图底图 hi / i4
|
|
38337
|
+
* 海图底图 hi / i4 切换:两个图层都在样式里,只显示选中的那个,隐藏的不会请求瓦片
|
|
38338
|
+
* @param newV 选中的厂商
|
|
38339
|
+
* @param oldV 上一次选中的厂商;地图 load 时不传,强制显示选中项
|
|
38332
38340
|
*/
|
|
38333
|
-
handleNauticalToggle() {
|
|
38334
|
-
const
|
|
38335
|
-
|
|
38336
|
-
|
|
38337
|
-
|
|
38341
|
+
handleNauticalToggle(t, e) {
|
|
38342
|
+
const o = this.map;
|
|
38343
|
+
if (!(o != null && o.getLayer(t)))
|
|
38344
|
+
return;
|
|
38345
|
+
const i = !!e && this.nauticalKeys.every((a) => o.getLayer(a) && o.getLayoutProperty(a, "visibility") === "none");
|
|
38346
|
+
for (const a of this.nauticalKeys)
|
|
38347
|
+
o.getLayer(a) && o.setLayoutProperty(a, "visibility", a === t && !i ? "visible" : "none");
|
|
38338
38348
|
}
|
|
38339
38349
|
}
|
|
38340
|
-
}, yy = { class: "v-btn--variant-elevated rounded" }, by = { class: "v-btn--variant-elevated rounded" }, wy = { class: "zoom" },
|
|
38350
|
+
}, yy = { class: "v-btn--variant-elevated rounded" }, by = { class: "v-btn--variant-elevated rounded" }, wy = { class: "zoom" }, vy = {
|
|
38341
38351
|
key: 3,
|
|
38342
38352
|
class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
|
|
38343
38353
|
};
|
|
38344
|
-
function
|
|
38354
|
+
function xy(t, e, o, i, a, l) {
|
|
38345
38355
|
const r = M("VBtn"), c = M("VBtnToggle");
|
|
38346
38356
|
return A(), R("div", {
|
|
38347
38357
|
id: "mapbox-initial-gl4",
|
|
@@ -38362,7 +38372,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38362
38372
|
class: "pa-0 elevation-0",
|
|
38363
38373
|
onClick: l.initOnlineMap
|
|
38364
38374
|
}, {
|
|
38365
|
-
default:
|
|
38375
|
+
default: v(() => e[1] || (e[1] = [
|
|
38366
38376
|
n("i", { class: "iconfont icon-shuaxin text-h4" }, null, -1)
|
|
38367
38377
|
])),
|
|
38368
38378
|
_: 1,
|
|
@@ -38383,7 +38393,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38383
38393
|
class: "pa-0 elevation-0",
|
|
38384
38394
|
onClick: l.handleZoomIn
|
|
38385
38395
|
}, {
|
|
38386
|
-
default:
|
|
38396
|
+
default: v(() => e[2] || (e[2] = [
|
|
38387
38397
|
n("i", { class: "iconfont icon-a-Zoomin text-h4" }, null, -1)
|
|
38388
38398
|
])),
|
|
38389
38399
|
_: 1,
|
|
@@ -38397,7 +38407,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38397
38407
|
class: "elevation-0 pa-0",
|
|
38398
38408
|
onClick: l.handleZoomOut
|
|
38399
38409
|
}, {
|
|
38400
|
-
default:
|
|
38410
|
+
default: v(() => e[3] || (e[3] = [
|
|
38401
38411
|
n("i", { class: "iconfont icon-a-Zoomout text-h4" }, null, -1)
|
|
38402
38412
|
])),
|
|
38403
38413
|
_: 1,
|
|
@@ -38419,7 +38429,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38419
38429
|
mandatory: "",
|
|
38420
38430
|
group: ""
|
|
38421
38431
|
}, {
|
|
38422
|
-
default:
|
|
38432
|
+
default: v(() => [
|
|
38423
38433
|
(A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(), F(r, {
|
|
38424
38434
|
key: s,
|
|
38425
38435
|
value: s,
|
|
@@ -38429,7 +38439,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38429
38439
|
class: "text-none pa-0 elevation-0 text-h6",
|
|
38430
38440
|
color: a.nautical === s ? "primary" : ""
|
|
38431
38441
|
}, {
|
|
38432
|
-
default:
|
|
38442
|
+
default: v(() => [
|
|
38433
38443
|
N(y(s), 1)
|
|
38434
38444
|
]),
|
|
38435
38445
|
_: 2
|
|
@@ -38438,7 +38448,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38438
38448
|
_: 1
|
|
38439
38449
|
}, 8, ["modelValue"])
|
|
38440
38450
|
], 4)) : I("", !0),
|
|
38441
|
-
o.simple ? I("", !0) : (A(), R("div",
|
|
38451
|
+
o.simple ? I("", !0) : (A(), R("div", vy, [
|
|
38442
38452
|
e[4] || (e[4] = n("span", null, "© 2023", -1)),
|
|
38443
38453
|
n("span", null, "-" + y(l.computeYear), 1),
|
|
38444
38454
|
e[5] || (e[5] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
|
|
@@ -38450,7 +38460,7 @@ function vy(t, e, o, i, a, l) {
|
|
|
38450
38460
|
]))
|
|
38451
38461
|
], 4);
|
|
38452
38462
|
}
|
|
38453
|
-
const Ay = /* @__PURE__ */ ne(fy, [["render",
|
|
38463
|
+
const Ay = /* @__PURE__ */ ne(fy, [["render", xy]]);
|
|
38454
38464
|
const ky = {
|
|
38455
38465
|
name: "DateRangePicker",
|
|
38456
38466
|
props: {
|
|
@@ -38722,9 +38732,9 @@ function Py(t, e, o, i, a, l) {
|
|
|
38722
38732
|
class: "card-box d-flex flex-column border elevation-12",
|
|
38723
38733
|
style: ge(l.getStyle)
|
|
38724
38734
|
}, {
|
|
38725
|
-
default:
|
|
38735
|
+
default: v(() => [
|
|
38726
38736
|
w(d, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
38727
|
-
default:
|
|
38737
|
+
default: v(() => [
|
|
38728
38738
|
n("div", _y, [
|
|
38729
38739
|
w(c, {
|
|
38730
38740
|
modelValue: a.dateRange[0],
|
|
@@ -38769,7 +38779,7 @@ function Py(t, e, o, i, a, l) {
|
|
|
38769
38779
|
class: "w-100 d-flex justify-space-between align-center pa-0 px-4",
|
|
38770
38780
|
style: { height: "50px" }
|
|
38771
38781
|
}, {
|
|
38772
|
-
default:
|
|
38782
|
+
default: v(() => {
|
|
38773
38783
|
var b, u;
|
|
38774
38784
|
return [
|
|
38775
38785
|
(b = o.fastPick) != null && b.show ? (A(), R("div", Cy, [
|
|
@@ -38781,7 +38791,7 @@ function Py(t, e, o, i, a, l) {
|
|
|
38781
38791
|
class: "text-none text-body-2 px-1",
|
|
38782
38792
|
onClick: (f) => l.handleFastPick({ dateRange: h })
|
|
38783
38793
|
}, {
|
|
38784
|
-
default:
|
|
38794
|
+
default: v(() => [
|
|
38785
38795
|
N(y(t.$t("time." + h)), 1)
|
|
38786
38796
|
]),
|
|
38787
38797
|
_: 2
|
|
@@ -38794,7 +38804,7 @@ function Py(t, e, o, i, a, l) {
|
|
|
38794
38804
|
class: "text-none text-body-1 px-4",
|
|
38795
38805
|
onClick: l.handleCancelDate
|
|
38796
38806
|
}, {
|
|
38797
|
-
default:
|
|
38807
|
+
default: v(() => [
|
|
38798
38808
|
N(y(t.$t("actions.cancel")), 1)
|
|
38799
38809
|
]),
|
|
38800
38810
|
_: 1
|
|
@@ -38806,7 +38816,7 @@ function Py(t, e, o, i, a, l) {
|
|
|
38806
38816
|
class: "text-none text-body-1 px-4",
|
|
38807
38817
|
onClick: l.handleConfirmDate
|
|
38808
38818
|
}, {
|
|
38809
|
-
default:
|
|
38819
|
+
default: v(() => [
|
|
38810
38820
|
N(y(t.$t("actions.confirm")), 1)
|
|
38811
38821
|
]),
|
|
38812
38822
|
_: 1
|