@idmwx/idmui-gl3 3.4.4 → 3.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +113 -113
- package/dist/index.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +70 -70
package/dist/index.js
CHANGED
|
@@ -144,8 +144,8 @@ const k = (i, e) => {
|
|
|
144
144
|
mt
|
|
145
145
|
], ft = { class: "bar-item tool-bars" }, yt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), gt = [
|
|
146
146
|
yt
|
|
147
|
-
],
|
|
148
|
-
|
|
147
|
+
], bt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), vt = [
|
|
148
|
+
bt
|
|
149
149
|
], _t = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), Lt = [
|
|
150
150
|
_t
|
|
151
151
|
], wt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), xt = [
|
|
@@ -182,7 +182,7 @@ function Ft(i, e, t, r, a, s) {
|
|
|
182
182
|
l("div", {
|
|
183
183
|
class: z(a.showPoint ? "menu-icon active" : "menu-icon"),
|
|
184
184
|
onClick: e[2] || (e[2] = (...o) => s.handlePointToggle && s.handlePointToggle(...o))
|
|
185
|
-
},
|
|
185
|
+
}, vt, 2),
|
|
186
186
|
l("div", {
|
|
187
187
|
class: z(a.showCoord ? "menu-icon active" : "menu-icon"),
|
|
188
188
|
onClick: e[3] || (e[3] = (...o) => s.handleCoordToggle && s.handleCoordToggle(...o))
|
|
@@ -703,12 +703,12 @@ class le {
|
|
|
703
703
|
try {
|
|
704
704
|
const f = t.getUniformLocation(r, "u_resolution"), d = t.getUniformLocation(r, "u_image"), m = t.getUniformLocation(r, "u_color");
|
|
705
705
|
if (t.useProgram(r), t.uniform2f(f, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, a), t.uniform1i(d, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, s), t.uniform1i(m, 1), o != null && o.uvRange && (o != null && o.sRange)) {
|
|
706
|
-
const p = t.getUniformLocation(r, "u_range_u_v"),
|
|
707
|
-
t.uniform2f(p, o.uvRange[0], o.uvRange[1]), t.uniform2f(
|
|
706
|
+
const p = t.getUniformLocation(r, "u_range_u_v"), v = t.getUniformLocation(r, "u_range_s");
|
|
707
|
+
t.uniform2f(p, o.uvRange[0], o.uvRange[1]), t.uniform2f(v, o.sRange[0], o.sRange[1]);
|
|
708
708
|
}
|
|
709
709
|
const u = e.getBoundPixel(), g = e.map.getZoom() + 1, y = e.getWorldCopy(u, g);
|
|
710
710
|
for (const p of y) {
|
|
711
|
-
const
|
|
711
|
+
const v = (p[0] - u[0]) * e.ratio, b = (p[1] - u[3]) * e.ratio, L = p[2] * e.ratio, [P, _, I, $] = [v, L + v, b, L + b], D = new Float32Array([P, I, _, I, P, $, P, $, _, I, _, $]);
|
|
712
712
|
t.bindBuffer(t.ARRAY_BUFFER, n), t.bufferData(t.ARRAY_BUFFER, D, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
|
|
713
713
|
}
|
|
714
714
|
} catch (f) {
|
|
@@ -1344,8 +1344,8 @@ function gi(i, e, t, r, a, s) {
|
|
|
1344
1344
|
], 4)
|
|
1345
1345
|
])) : j("", !0);
|
|
1346
1346
|
}
|
|
1347
|
-
const
|
|
1348
|
-
const
|
|
1347
|
+
const bi = /* @__PURE__ */ k(di, [["render", gi], ["__scopeId", "data-v-ce5e09b8"]]);
|
|
1348
|
+
const vi = {
|
|
1349
1349
|
name: "IdmCurrentParticle",
|
|
1350
1350
|
props: {
|
|
1351
1351
|
factor: {
|
|
@@ -1524,7 +1524,7 @@ function ki(i, e, t, r, a, s) {
|
|
|
1524
1524
|
}, Ei, 4)
|
|
1525
1525
|
])) : j("", !0);
|
|
1526
1526
|
}
|
|
1527
|
-
const Ri = /* @__PURE__ */ k(
|
|
1527
|
+
const Ri = /* @__PURE__ */ k(vi, [["render", ki], ["__scopeId", "data-v-5f45c14c"]]), Ii = {
|
|
1528
1528
|
name: "IdmSigWave",
|
|
1529
1529
|
props: {
|
|
1530
1530
|
map: {
|
|
@@ -1971,7 +1971,7 @@ const Vi = {
|
|
|
1971
1971
|
type: String
|
|
1972
1972
|
}
|
|
1973
1973
|
},
|
|
1974
|
-
emits: ["tropical"],
|
|
1974
|
+
emits: ["tropical", "tropicalProbability"],
|
|
1975
1975
|
data() {
|
|
1976
1976
|
return {
|
|
1977
1977
|
source: "tropicals-source",
|
|
@@ -2036,11 +2036,11 @@ const Vi = {
|
|
|
2036
2036
|
var u, g;
|
|
2037
2037
|
return ((u = m.geometry) == null ? void 0 : u.type) === "LineString" && ((g = m.properties) == null ? void 0 : g.type) === "forecast";
|
|
2038
2038
|
})[0]) == null ? void 0 : d.properties.model, f.forEach((m, u) => {
|
|
2039
|
-
var g, y, p,
|
|
2040
|
-
((g = m.geometry) == null ? void 0 : g.type) === "Point" && ((y = m.properties) == null ? void 0 : y.type) === "history" && (n = u, o = o === void 0 ? u : o), ((p = m.geometry) == null ? void 0 : p.type) === "Point" && ((
|
|
2039
|
+
var g, y, p, v, b, L;
|
|
2040
|
+
((g = m.geometry) == null ? void 0 : g.type) === "Point" && ((y = m.properties) == null ? void 0 : y.type) === "history" && (n = u, o = o === void 0 ? u : o), ((p = m.geometry) == null ? void 0 : p.type) === "Point" && ((v = m.properties) == null ? void 0 : v.type) === "forecast" && o === void 0 && (o = u), ((b = m.geometry) == null ? void 0 : b.type) === "LineString" && ((L = m.properties) == null ? void 0 : L.type) === "forecast" && (c = `${s}-${h}`);
|
|
2041
2041
|
}), f.map((m, u) => {
|
|
2042
|
-
var g, y, p,
|
|
2043
|
-
if (((g = m.geometry) == null ? void 0 : g.type) === "LineString" && ((y = m.properties) == null ? void 0 : y.type) === "forecast" && (m.properties.disabled = ((p = m.properties) == null ? void 0 : p.model) !== h), ((
|
|
2042
|
+
var g, y, p, v, b, L, P, _, I, $;
|
|
2043
|
+
if (((g = m.geometry) == null ? void 0 : g.type) === "LineString" && ((y = m.properties) == null ? void 0 : y.type) === "forecast" && (m.properties.disabled = ((p = m.properties) == null ? void 0 : p.model) !== h), ((v = m.geometry) == null ? void 0 : v.type) === "Point" && ((b = m.properties) == null ? void 0 : b.type) === "forecast" && (m.properties.disabled = ((L = m.properties) == null ? void 0 : L.category) !== c, m.properties.name = s), ((P = m.geometry) == null ? void 0 : P.type) === "Point" && ((_ = m.properties) == null ? void 0 : _.type) === "history") {
|
|
2044
2044
|
const D = (($ = (I = m.properties) == null ? void 0 : I.format) == null ? void 0 : $.slice(7, 12)) === q().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm") + "Z";
|
|
2045
2045
|
m.properties.showHistoryLabel = D || u === n, m.properties.showNameLabel = u === n, m.properties.name = s;
|
|
2046
2046
|
}
|
|
@@ -2308,17 +2308,17 @@ const Vi = {
|
|
|
2308
2308
|
if (!((f = this.tropicals) != null && f.cached)) {
|
|
2309
2309
|
const d = et.interpolate(this.tropicals, 1), m = JSON.parse(JSON.stringify(d)), u = [];
|
|
2310
2310
|
m.forEach((g) => {
|
|
2311
|
-
var y, p,
|
|
2312
|
-
(y = g.properties) != null && y.name && !u.includes((p = g.properties) == null ? void 0 : p.name) && u.push((
|
|
2311
|
+
var y, p, v;
|
|
2312
|
+
(y = g.properties) != null && y.name && !u.includes((p = g.properties) == null ? void 0 : p.name) && u.push((v = g.properties) == null ? void 0 : v.name);
|
|
2313
2313
|
}), u.forEach((g) => {
|
|
2314
|
-
var
|
|
2315
|
-
const p = (
|
|
2314
|
+
var v;
|
|
2315
|
+
const p = (v = m.filter((b) => {
|
|
2316
2316
|
var L;
|
|
2317
|
-
return ((L =
|
|
2318
|
-
})[0]) == null ? void 0 :
|
|
2319
|
-
m.map((
|
|
2317
|
+
return ((L = b.properties) == null ? void 0 : L.name) === g;
|
|
2318
|
+
})[0]) == null ? void 0 : v.properties.model;
|
|
2319
|
+
m.map((b, L) => {
|
|
2320
2320
|
var P, _;
|
|
2321
|
-
return ((P =
|
|
2321
|
+
return ((P = b.properties) == null ? void 0 : P.name) === g && (b.properties.disabled = ((_ = b.properties) == null ? void 0 : _.model) !== p), b;
|
|
2322
2322
|
});
|
|
2323
2323
|
}), this.interpolateData = JSON.parse(JSON.stringify(m));
|
|
2324
2324
|
}
|
|
@@ -2330,7 +2330,7 @@ const Vi = {
|
|
|
2330
2330
|
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), (i = this.interpolateMarkers) == null || i.forEach((e) => e == null ? void 0 : e.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));
|
|
2331
2331
|
},
|
|
2332
2332
|
handleDateChange() {
|
|
2333
|
-
var i, e, t, r, a, s, n, o, h, c, f, d, m, u, g, y, p,
|
|
2333
|
+
var i, e, t, r, a, s, n, o, h, c, f, d, m, u, g, y, p, v, b, L, P, _, I, $, D, O, W, H;
|
|
2334
2334
|
if ((i = this.interpolateMarkers) == null || i.forEach((Z) => Z == null ? void 0 : Z.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
2335
2335
|
const Z = q(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ee = this.interpolateData.filter((A) => A.properties.date === Z.format() && !A.properties.disabled), ce = this.handleComputePolygons(ee), te = C.featureCollection([...ee]);
|
|
2336
2336
|
ce.forEach((A) => {
|
|
@@ -2352,7 +2352,7 @@ const Vi = {
|
|
|
2352
2352
|
for (const A of ee)
|
|
2353
2353
|
if (!A.properties.disabled) {
|
|
2354
2354
|
let V = "#f44336";
|
|
2355
|
-
((o = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : o.spd) < 17.2 ? V = "#03f869" : ((c = (h = A.properties) == null ? void 0 : h.wind) == null ? void 0 : c.spd) >= 17.2 && ((d = (f = A.properties) == null ? void 0 : f.wind) == null ? void 0 : d.spd) < 24.5 ? V = "#f2f202" : ((u = (m = A.properties) == null ? void 0 : m.wind) == null ? void 0 : u.spd) >= 24.5 && ((y = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : y.spd) < 32.7 ? V = "#ff9100" : ((
|
|
2355
|
+
((o = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : o.spd) < 17.2 ? V = "#03f869" : ((c = (h = A.properties) == null ? void 0 : h.wind) == null ? void 0 : c.spd) >= 17.2 && ((d = (f = A.properties) == null ? void 0 : f.wind) == null ? void 0 : d.spd) < 24.5 ? V = "#f2f202" : ((u = (m = A.properties) == null ? void 0 : m.wind) == null ? void 0 : u.spd) >= 24.5 && ((y = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : y.spd) < 32.7 ? V = "#ff9100" : ((v = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : v.spd) >= 32.7 && ((L = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : L.spd) < 41.5 ? V = "#f44336" : ((_ = (P = A.properties) == null ? void 0 : P.wind) == null ? void 0 : _.spd) >= 41.5 && (($ = (I = A.properties) == null ? void 0 : I.wind) == null ? void 0 : $.spd) < 51 ? V = "#c604a4" : ((O = (D = A.properties) == null ? void 0 : D.wind) == null ? void 0 : O.spd) >= 51 ? V = "#6b05bb" : V = "#f44336";
|
|
2356
2356
|
const de = `<svg t="1719918955501"
|
|
2357
2357
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
2358
2358
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -2460,7 +2460,7 @@ const Vi = {
|
|
|
2460
2460
|
return C.lineToPolygon(a, { properties: t });
|
|
2461
2461
|
}
|
|
2462
2462
|
}
|
|
2463
|
-
}, Ge = (i) => (U("data-v-
|
|
2463
|
+
}, Ge = (i) => (U("data-v-bb8414b4"), i = i(), G(), i), Ui = {
|
|
2464
2464
|
id: "active-tropical",
|
|
2465
2465
|
class: "active-tropical"
|
|
2466
2466
|
}, Gi = { class: "header-box" }, Hi = { class: "main" }, Xi = { key: 0 }, Zi = { class: "sub" }, Ji = {
|
|
@@ -2475,9 +2475,9 @@ const Vi = {
|
|
|
2475
2475
|
}, ta = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), ia = { class: "row" }, aa = {
|
|
2476
2476
|
class: "col col-24",
|
|
2477
2477
|
style: { "justify-content": "flex-start" }
|
|
2478
|
-
}, ra = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), sa = { class: "forecast-models" }, oa = ["onClick"], na = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-
|
|
2478
|
+
}, ra = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), sa = { class: "forecast-models" }, oa = ["onClick"], na = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-bb8414b4></div><div class="row" style="padding:2px 10px;" data-v-bb8414b4><div class="legend" data-v-bb8414b4><div class="icon td" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TD</div></div><div class="legend" data-v-bb8414b4><div class="icon ts" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TS</div></div><div class="legend" data-v-bb8414b4><div class="icon sts" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>STS</div></div><div class="legend" data-v-bb8414b4><div class="icon ty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TY</div></div><div class="legend" data-v-bb8414b4><div class="icon sty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>STY</div></div><div class="legend" data-v-bb8414b4><div class="icon supper-ty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-bb8414b4><div class="legend" data-v-bb8414b4><div class="icon history" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>History</div></div><div class="legend" data-v-bb8414b4><div class="icon r7" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>35kts Radii</div></div><div class="legend" data-v-bb8414b4><div class="icon r10" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>50kts Radii</div></div></div>', 3), la = { class: "more" };
|
|
2479
2479
|
function ha(i, e, t, r, a, s) {
|
|
2480
|
-
var n, o, h, c, f, d, m, u, g, y, p,
|
|
2480
|
+
var n, o, h, c, f, d, m, u, g, y, p, v, b, L, P;
|
|
2481
2481
|
return ze((w(), x("div", Ui, [
|
|
2482
2482
|
l("div", Gi, [
|
|
2483
2483
|
l("div", {
|
|
@@ -2495,11 +2495,11 @@ function ha(i, e, t, r, a, s) {
|
|
|
2495
2495
|
l("div", qi, [
|
|
2496
2496
|
l("div", Ki, [
|
|
2497
2497
|
Qi,
|
|
2498
|
-
l("span", null, S(((
|
|
2498
|
+
l("span", null, S(((v = (p = a.activeTropicals) == null ? void 0 : p.history) == null ? void 0 : v.kts) || "-") + "[kts]", 1)
|
|
2499
2499
|
]),
|
|
2500
2500
|
l("div", ea, [
|
|
2501
2501
|
ta,
|
|
2502
|
-
l("span", null, S(((L = (
|
|
2502
|
+
l("span", null, S(((L = (b = a.activeTropicals) == null ? void 0 : b.history) == null ? void 0 : L.pressure) || "-") + "[hPa]", 1)
|
|
2503
2503
|
])
|
|
2504
2504
|
]),
|
|
2505
2505
|
l("div", ia, [
|
|
@@ -2538,7 +2538,7 @@ function ha(i, e, t, r, a, s) {
|
|
|
2538
2538
|
[Me, a.showTropicals]
|
|
2539
2539
|
]);
|
|
2540
2540
|
}
|
|
2541
|
-
const tt = /* @__PURE__ */ k(Vi, [["render", ha], ["__scopeId", "data-v-
|
|
2541
|
+
const tt = /* @__PURE__ */ k(Vi, [["render", ha], ["__scopeId", "data-v-bb8414b4"]]);
|
|
2542
2542
|
const ca = {
|
|
2543
2543
|
name: "IdmPrecip3h",
|
|
2544
2544
|
props: {
|
|
@@ -2640,15 +2640,15 @@ const ca = {
|
|
|
2640
2640
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
|
-
}, se = (i) => (U("data-v-42b977ed"), i = i(), G(), i), da = { key: 0 }, pa = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "mm", -1)), ma = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "1.5", -1)), ua = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "2", -1)), fa = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "3", -1)), ya = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "7", -1)), ga = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)),
|
|
2643
|
+
}, se = (i) => (U("data-v-42b977ed"), i = i(), G(), i), da = { key: 0 }, pa = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "mm", -1)), ma = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "1.5", -1)), ua = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "2", -1)), fa = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "3", -1)), ya = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "7", -1)), ga = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)), ba = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "20", -1)), va = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "30", -1)), _a = [
|
|
2644
2644
|
pa,
|
|
2645
2645
|
ma,
|
|
2646
2646
|
ua,
|
|
2647
2647
|
fa,
|
|
2648
2648
|
ya,
|
|
2649
2649
|
ga,
|
|
2650
|
-
|
|
2651
|
-
|
|
2650
|
+
ba,
|
|
2651
|
+
va
|
|
2652
2652
|
];
|
|
2653
2653
|
function La(i, e, t, r, a, s) {
|
|
2654
2654
|
var n;
|
|
@@ -3213,17 +3213,17 @@ const fr = {
|
|
|
3213
3213
|
}, Q = (i) => (U("data-v-8b51d938"), i = i(), G(), i), yr = {
|
|
3214
3214
|
id: "point-meteo",
|
|
3215
3215
|
class: "point-meteo"
|
|
3216
|
-
}, gr = { class: "meteo-box" },
|
|
3216
|
+
}, gr = { class: "meteo-box" }, br = { class: "header-box" }, vr = { class: "main" }, _r = { class: "sub" }, Lr = { class: "main-box" }, wr = { class: "flex-space" }, xr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Cr = { class: "flex-space" }, Sr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), Pr = { class: "flex-space" }, Tr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Er = { class: "flex-space" }, kr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Rr = { class: "flex-space" }, Ir = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Current", -1)), Ar = { class: "flex-space" }, $r = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Dr = { class: "flex-space" }, zr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Mr = { class: "flex-space" }, Br = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Or = { class: "flex-space" }, Wr = /* @__PURE__ */ Q(() => /* @__PURE__ */ l("label", null, "Water Temp", -1));
|
|
3217
3217
|
function Nr(i, e, t, r, a, s) {
|
|
3218
|
-
var n, o, h, c, f, d, m, u, g, y, p,
|
|
3218
|
+
var n, o, h, c, f, d, m, u, g, y, p, v, b, L, P, _, I, $, D, O, W, H, Z, ee, ce, te, A, V, de, J, ne, ye, ge, be, ve, _e, Le, we, xe, Ce, Se, Pe, Te, Ee, ke, Re, Ie;
|
|
3219
3219
|
return ze((w(), x("div", yr, [
|
|
3220
3220
|
l("div", gr, [
|
|
3221
|
-
l("div",
|
|
3221
|
+
l("div", br, [
|
|
3222
3222
|
l("div", {
|
|
3223
3223
|
class: "iconfont close",
|
|
3224
3224
|
onClick: e[0] || (e[0] = (Oe) => a.showMeteo = !1)
|
|
3225
3225
|
}, ""),
|
|
3226
|
-
l("div",
|
|
3226
|
+
l("div", vr, S(s.computeLat((n = t.meteo) == null ? void 0 : n.lat)) + "," + S(s.computeLng((o = t.meteo) == null ? void 0 : o.lng)), 1),
|
|
3227
3227
|
l("div", _r, S(s.computeTime((h = t.meteo) == null ? void 0 : h.utc)), 1)
|
|
3228
3228
|
]),
|
|
3229
3229
|
l("div", Lr, [
|
|
@@ -3233,7 +3233,7 @@ function Nr(i, e, t, r, a, s) {
|
|
|
3233
3233
|
]),
|
|
3234
3234
|
l("div", Cr, [
|
|
3235
3235
|
Sr,
|
|
3236
|
-
l("span", null, S(((L = (
|
|
3236
|
+
l("span", null, S(((L = (b = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : b.wd) == null ? void 0 : L.direction) || "-") + "/" + S(s.roundPrecision((I = (_ = (P = t.meteo) == null ? void 0 : P.wave) == null ? void 0 : _.wd) == null ? void 0 : I.height, 1)) + "[m]/" + S(s.roundPrecision((O = (D = ($ = t.meteo) == null ? void 0 : $.wave) == null ? void 0 : D.wd) == null ? void 0 : O.period, 1)) + "[s]", 1)
|
|
3237
3237
|
]),
|
|
3238
3238
|
l("div", Pr, [
|
|
3239
3239
|
Tr,
|
|
@@ -3241,7 +3241,7 @@ function Nr(i, e, t, r, a, s) {
|
|
|
3241
3241
|
]),
|
|
3242
3242
|
l("div", Er, [
|
|
3243
3243
|
kr,
|
|
3244
|
-
l("span", null, S(((ye = (ne = (J = t.meteo) == null ? void 0 : J.wave) == null ? void 0 : ne.sig) == null ? void 0 : ye.direction) || "-") + "/" + S(s.roundPrecision((
|
|
3244
|
+
l("span", null, S(((ye = (ne = (J = t.meteo) == null ? void 0 : J.wave) == null ? void 0 : ne.sig) == null ? void 0 : ye.direction) || "-") + "/" + S(s.roundPrecision((ve = (be = (ge = t.meteo) == null ? void 0 : ge.wave) == null ? void 0 : be.sig) == null ? void 0 : ve.height, 1)) + "[m]/" + S(s.roundPrecision((we = (Le = (_e = t.meteo) == null ? void 0 : _e.wave) == null ? void 0 : Le.sig) == null ? void 0 : we.period, 1)) + "[s]", 1)
|
|
3245
3245
|
]),
|
|
3246
3246
|
l("div", Rr, [
|
|
3247
3247
|
Ir,
|
|
@@ -3919,7 +3919,7 @@ const us = /* @__PURE__ */ k(is, [["render", ms], ["__scopeId", "data-v-6fdfee96
|
|
|
3919
3919
|
function ys(i, e, t, r, a, s) {
|
|
3920
3920
|
return w(), x("div");
|
|
3921
3921
|
}
|
|
3922
|
-
const gs = /* @__PURE__ */ k(fs, [["render", ys]]),
|
|
3922
|
+
const gs = /* @__PURE__ */ k(fs, [["render", ys]]), bs = {
|
|
3923
3923
|
name: "IdmTimezone",
|
|
3924
3924
|
props: {
|
|
3925
3925
|
map: {
|
|
@@ -4084,10 +4084,10 @@ const gs = /* @__PURE__ */ k(fs, [["render", ys]]), vs = {
|
|
|
4084
4084
|
}
|
|
4085
4085
|
}
|
|
4086
4086
|
};
|
|
4087
|
-
function
|
|
4087
|
+
function vs(i, e, t, r, a, s) {
|
|
4088
4088
|
return w(), x("div");
|
|
4089
4089
|
}
|
|
4090
|
-
const _s = /* @__PURE__ */ k(
|
|
4090
|
+
const _s = /* @__PURE__ */ k(bs, [["render", vs]]), Ls = {
|
|
4091
4091
|
name: "IdmVoluntaryReportingArea",
|
|
4092
4092
|
props: {
|
|
4093
4093
|
map: {
|
|
@@ -4555,13 +4555,13 @@ const it = /* @__PURE__ */ k(Rs, [["render", $s], ["__scopeId", "data-v-9f51b3f9
|
|
|
4555
4555
|
if ((e == null ? void 0 : e.split("-").length) === 2) {
|
|
4556
4556
|
const m = this.geojson.filter((p) => p.id === e.split("-")[0])[0];
|
|
4557
4557
|
this.pointMarkers[m.id].filter((p) => {
|
|
4558
|
-
var
|
|
4559
|
-
return ((
|
|
4558
|
+
var v;
|
|
4559
|
+
return ((v = p._element) == null ? void 0 : v.id) === e;
|
|
4560
4560
|
})[0].setLngLat([(s = (a = i.target) == null ? void 0 : a._lngLat) == null ? void 0 : s.lng, (o = (n = i.target) == null ? void 0 : n._lngLat) == null ? void 0 : o.lat]);
|
|
4561
4561
|
let g;
|
|
4562
|
-
m.features.forEach((p,
|
|
4562
|
+
m.features.forEach((p, v) => {
|
|
4563
4563
|
if (p.geometry.type === "Point" && p.properties.id == e.split("-")[1]) {
|
|
4564
|
-
g =
|
|
4564
|
+
g = v;
|
|
4565
4565
|
return;
|
|
4566
4566
|
}
|
|
4567
4567
|
});
|
|
@@ -4866,7 +4866,7 @@ const Hs = {
|
|
|
4866
4866
|
IdmGlLayer: Vt,
|
|
4867
4867
|
IdmWindBarb: qt,
|
|
4868
4868
|
IdmWindParticle: ci,
|
|
4869
|
-
IdmCurrents:
|
|
4869
|
+
IdmCurrents: bi,
|
|
4870
4870
|
IdmCurrentParticle: Ri,
|
|
4871
4871
|
IdmSigWave: $i,
|
|
4872
4872
|
IdmSwell: Mi,
|
|
@@ -4955,7 +4955,7 @@ const Hs = {
|
|
|
4955
4955
|
var i, e, t, r, a, s, n, o, h, c, f, d, m, u, g, y, p;
|
|
4956
4956
|
if (!this.map)
|
|
4957
4957
|
return !1;
|
|
4958
|
-
this.activeWeatherLayers.some((
|
|
4958
|
+
this.activeWeatherLayers.some((v) => ["wind", "current"].includes(v.key)) && ((i = this.particleFactor) != null && i.particle) || this.activeWeatherLayers.some((v) => ["temp", "water-temp"].includes(v.key)) ? ((t = (e = this.map) == null ? void 0 : e.getLayer("grayland")) == null || t.setLayoutProperty("visibility", "visible"), (a = (r = this.map) == null ? void 0 : r.getLayer("darkmap")) == null || a.setLayoutProperty("visibility", "visible"), (s = this.map) != null && s.getLayer("grayland") && ((o = this.map) == null || o.moveLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer, "grayland")), (h = this.map) != null && h.getLayer("grayland") && ((f = this.map) == null || f.moveLayer((c = this.viewport) == null ? void 0 : c.particleLayer, "grayland"))) : ((m = this.map) == null || m.moveLayer((d = this.viewport) == null ? void 0 : d.rampColorLayer, null), (g = (u = this.map) == null ? void 0 : u.getLayer("grayland")) == null || g.setLayoutProperty("visibility", "none"), (p = (y = this.map) == null ? void 0 : y.getLayer("darkmap")) == null || p.setLayoutProperty("visibility", "none"));
|
|
4959
4959
|
},
|
|
4960
4960
|
immediate: !0
|
|
4961
4961
|
},
|
|
@@ -4983,29 +4983,29 @@ const Hs = {
|
|
|
4983
4983
|
const m = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, u = (s = this.map) == null ? void 0 : s.getBounds(), g = `${u._sw.lng},${u._sw.lat},${u._ne.lng},${u._ne.lat}`;
|
|
4984
4984
|
if (this.handleRampColorState(), this.particleFactor) {
|
|
4985
4985
|
const y = Fe.WEATHER_LAYERS.find((p) => {
|
|
4986
|
-
var
|
|
4987
|
-
return ((
|
|
4986
|
+
var v;
|
|
4987
|
+
return ((v = p.peer) == null ? void 0 : v.weight) === this.particleFactor.weight;
|
|
4988
4988
|
});
|
|
4989
4989
|
this.particleFactor.particle ? this.weatherWeight = this.weatherWeight & y.weight ? this.weatherWeight : this.weatherWeight + y.weight : this.weatherWeight = this.weatherWeight & y.weight ? this.weatherWeight - y.weight : this.weatherWeight;
|
|
4990
4990
|
}
|
|
4991
4991
|
if (this.weatherWeight > 0) {
|
|
4992
4992
|
let y = this.weatherWeight, p;
|
|
4993
4993
|
if (i.tropicals || this.weatherWeight & 256 && (p = this.weatherLayers.tropicals, p && (y -= 256, p.version = Math.random() + 1)), y > 0) {
|
|
4994
|
-
const
|
|
4994
|
+
const v = await ie.get(`${this.gateway}/api/arc/weather/layers/links?l=${y}&v=${this.source}&z=${m}&bbox=${g}&t=${this.ts}`, {
|
|
4995
4995
|
headers: {
|
|
4996
4996
|
Authorization: this.token || this.defaultMeteoToken
|
|
4997
4997
|
}
|
|
4998
4998
|
});
|
|
4999
|
-
if (r = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", r, ", total: ", t += r), ((n =
|
|
5000
|
-
const
|
|
5001
|
-
for (const _ in
|
|
5002
|
-
_ === "ice-edge" && (
|
|
5003
|
-
ie.get(
|
|
4999
|
+
if (r = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", r, ", total: ", t += r), ((n = v == null ? void 0 : v.data) == null ? void 0 : n.code) === 0) {
|
|
5000
|
+
const b = (o = v == null ? void 0 : v.data) == null ? void 0 : o.data, L = [];
|
|
5001
|
+
for (const _ in b)
|
|
5002
|
+
_ === "ice-edge" && (b[_] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), _ !== "tropicals" && L.push(
|
|
5003
|
+
ie.get(b[_], {
|
|
5004
5004
|
headers: {
|
|
5005
5005
|
Authorization: this.token || this.defaultMeteoToken,
|
|
5006
5006
|
key: _
|
|
5007
5007
|
},
|
|
5008
|
-
responseType: /\.(jpg|png)$/.test(
|
|
5008
|
+
responseType: /\.(jpg|png)$/.test(b[_]) ? "blob" : "json"
|
|
5009
5009
|
}).catch((I) => {
|
|
5010
5010
|
console.log(`[${_}] fetch layer error: ${I}`);
|
|
5011
5011
|
})
|
|
@@ -5019,7 +5019,7 @@ const Hs = {
|
|
|
5019
5019
|
type: ((H = _ == null ? void 0 : _.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
|
|
5020
5020
|
etime: this.ts
|
|
5021
5021
|
});
|
|
5022
|
-
}),
|
|
5022
|
+
}), b.tropicals && ie.get(b.tropicals, {
|
|
5023
5023
|
headers: {
|
|
5024
5024
|
Authorization: this.token || this.defaultMeteoToken,
|
|
5025
5025
|
key: "tropicals"
|
|
@@ -5038,19 +5038,19 @@ const Hs = {
|
|
|
5038
5038
|
});
|
|
5039
5039
|
}
|
|
5040
5040
|
if (r = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather layers elapsed: ", r, ", total: ", t += r), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
|
|
5041
|
-
const
|
|
5041
|
+
const b = (h = this.weatherLayers["swell-direction"]) == null ? void 0 : h.raw, L = (c = this.weatherLayers["swell-height"]) == null ? void 0 : c.raw;
|
|
5042
5042
|
delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
|
|
5043
5043
|
type: "json",
|
|
5044
|
-
direction:
|
|
5044
|
+
direction: b,
|
|
5045
5045
|
height: { raw: L },
|
|
5046
5046
|
etime: this.ts
|
|
5047
5047
|
};
|
|
5048
5048
|
}
|
|
5049
5049
|
if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
|
|
5050
|
-
const
|
|
5050
|
+
const b = (f = this.weatherLayers["current-direction"]) == null ? void 0 : f.raw, L = (d = this.weatherLayers["current-speed"]) == null ? void 0 : d.raw;
|
|
5051
5051
|
delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
|
|
5052
5052
|
type: "json",
|
|
5053
|
-
direction:
|
|
5053
|
+
direction: b,
|
|
5054
5054
|
speed: { raw: L },
|
|
5055
5055
|
etime: this.ts
|
|
5056
5056
|
};
|
|
@@ -5180,20 +5180,20 @@ const Hs = {
|
|
|
5180
5180
|
const y = ((f = this.weatherLayers[u]) == null ? void 0 : f.direction) || {};
|
|
5181
5181
|
for (const p in y)
|
|
5182
5182
|
if (p > o && p < h && (!(a <= this.zoom) || p % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5183
|
-
const
|
|
5184
|
-
s > n ?
|
|
5183
|
+
const v = y[p].lng;
|
|
5184
|
+
s > n ? v.forEach((b, L) => {
|
|
5185
5185
|
var P;
|
|
5186
|
-
if ((
|
|
5187
|
-
const _ = C.point([
|
|
5186
|
+
if ((b >= s && b <= 180 || b >= -180 && b <= n) && (!(a <= this.zoom) || b % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5187
|
+
const _ = C.point([b, p], {
|
|
5188
5188
|
val: y[p].val[L],
|
|
5189
5189
|
spd: (P = y[p].spd) == null ? void 0 : P[L]
|
|
5190
5190
|
});
|
|
5191
5191
|
g.push(_);
|
|
5192
5192
|
}
|
|
5193
|
-
}) :
|
|
5193
|
+
}) : v.forEach((b, L) => {
|
|
5194
5194
|
var P;
|
|
5195
|
-
if (
|
|
5196
|
-
const _ = C.point([
|
|
5195
|
+
if (b >= s && b <= n && (!(a <= this.zoom) || b % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5196
|
+
const _ = C.point([b, p], {
|
|
5197
5197
|
val: y[p].val[L],
|
|
5198
5198
|
spd: (P = y[p].spd) == null ? void 0 : P[L]
|
|
5199
5199
|
});
|
|
@@ -5205,21 +5205,21 @@ const Hs = {
|
|
|
5205
5205
|
const p = this.weatherLayers[u].height;
|
|
5206
5206
|
if (p) {
|
|
5207
5207
|
if (!p.data) {
|
|
5208
|
-
const
|
|
5209
|
-
for (const
|
|
5210
|
-
const L = p.raw.LineString[
|
|
5208
|
+
const v = [];
|
|
5209
|
+
for (const b in (d = p.raw) == null ? void 0 : d.LineString) {
|
|
5210
|
+
const L = p.raw.LineString[b];
|
|
5211
5211
|
for (const P of L)
|
|
5212
|
-
|
|
5212
|
+
v.push(
|
|
5213
5213
|
C.lineString(P, {
|
|
5214
|
-
val: Number(
|
|
5214
|
+
val: Number(b)
|
|
5215
5215
|
})
|
|
5216
5216
|
);
|
|
5217
|
-
p.data = C.featureCollection(
|
|
5217
|
+
p.data = C.featureCollection(v);
|
|
5218
5218
|
}
|
|
5219
5219
|
}
|
|
5220
5220
|
if (p.data) {
|
|
5221
|
-
const
|
|
5222
|
-
g = g.concat(
|
|
5221
|
+
const v = this.handleBboxClip(p.data, r);
|
|
5222
|
+
g = g.concat(v);
|
|
5223
5223
|
}
|
|
5224
5224
|
t = (/* @__PURE__ */ new Date()).valueOf() - (i + e), console.log("height elapsed: ", t, ", total: ", e += t);
|
|
5225
5225
|
}
|
|
@@ -5228,38 +5228,38 @@ const Hs = {
|
|
|
5228
5228
|
const p = this.weatherLayers[u].speed;
|
|
5229
5229
|
if (p) {
|
|
5230
5230
|
if (!p.data) {
|
|
5231
|
-
const
|
|
5231
|
+
const b = [];
|
|
5232
5232
|
for (const L in (m = p.raw) == null ? void 0 : m.Polygon) {
|
|
5233
5233
|
const P = p.raw.Polygon[L];
|
|
5234
5234
|
for (const _ of P)
|
|
5235
|
-
|
|
5235
|
+
b.push(
|
|
5236
5236
|
C.polygon(_, {
|
|
5237
5237
|
val: Number(L)
|
|
5238
5238
|
})
|
|
5239
5239
|
);
|
|
5240
5240
|
}
|
|
5241
|
-
p.data = C.featureCollection(
|
|
5241
|
+
p.data = C.featureCollection(b);
|
|
5242
5242
|
}
|
|
5243
|
-
const
|
|
5244
|
-
g = g.concat(
|
|
5243
|
+
const v = a < this.zoom ? p.data.features.filter((b) => b.properties.val > 0.5) : p.data.features;
|
|
5244
|
+
g = g.concat(v), t = (/* @__PURE__ */ new Date()).valueOf() - (i + e), console.log("speed elapsed: ", t, ", total: ", e += t);
|
|
5245
5245
|
}
|
|
5246
5246
|
}
|
|
5247
5247
|
} else if (u === "wind") {
|
|
5248
5248
|
const y = this.weatherLayers.wind.raw;
|
|
5249
5249
|
for (const p in y)
|
|
5250
5250
|
if (p > o && p < h && (!(a <= this.zoom) || p % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5251
|
-
const
|
|
5252
|
-
s > n ?
|
|
5253
|
-
if ((
|
|
5254
|
-
const P = C.point([
|
|
5251
|
+
const v = y[p].lng;
|
|
5252
|
+
s > n ? v.forEach((b, L) => {
|
|
5253
|
+
if ((b >= s && b <= 180 || b >= -180 && b <= n) && (!(a <= this.zoom) || b % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5254
|
+
const P = C.point([b, p], {
|
|
5255
5255
|
val: y[p].val[L],
|
|
5256
5256
|
spd: y[p].spd[L]
|
|
5257
5257
|
});
|
|
5258
5258
|
g.push(P);
|
|
5259
5259
|
}
|
|
5260
|
-
}) :
|
|
5261
|
-
if (
|
|
5262
|
-
const P = C.point([
|
|
5260
|
+
}) : v.forEach((b, L) => {
|
|
5261
|
+
if (b >= s && b <= n && (!(a <= this.zoom) || b % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5262
|
+
const P = C.point([b, p], {
|
|
5263
5263
|
val: y[p].val[L],
|
|
5264
5264
|
spd: y[p].spd[L]
|
|
5265
5265
|
});
|
|
@@ -5275,12 +5275,12 @@ const Hs = {
|
|
|
5275
5275
|
const y = this.weatherLayers[u].raw;
|
|
5276
5276
|
if (y) {
|
|
5277
5277
|
const p = [];
|
|
5278
|
-
for (const
|
|
5279
|
-
const
|
|
5280
|
-
for (const L of
|
|
5278
|
+
for (const v in y.Polygon) {
|
|
5279
|
+
const b = y.Polygon[v];
|
|
5280
|
+
for (const L of b)
|
|
5281
5281
|
p.push(
|
|
5282
5282
|
C.polygon(L, {
|
|
5283
|
-
val: Number(
|
|
5283
|
+
val: Number(v)
|
|
5284
5284
|
})
|
|
5285
5285
|
);
|
|
5286
5286
|
}
|
|
@@ -5295,21 +5295,21 @@ const Hs = {
|
|
|
5295
5295
|
const y = this.weatherLayers[u].raw;
|
|
5296
5296
|
if (y) {
|
|
5297
5297
|
const p = [];
|
|
5298
|
-
for (const
|
|
5299
|
-
const
|
|
5300
|
-
for (const L of
|
|
5298
|
+
for (const v in y.LineString) {
|
|
5299
|
+
const b = y.LineString[v];
|
|
5300
|
+
for (const L of b)
|
|
5301
5301
|
p.push(
|
|
5302
5302
|
C.lineString(L, {
|
|
5303
|
-
val: Number(
|
|
5303
|
+
val: Number(v)
|
|
5304
5304
|
})
|
|
5305
5305
|
);
|
|
5306
5306
|
}
|
|
5307
|
-
for (const
|
|
5308
|
-
y.Point[
|
|
5309
|
-
|
|
5310
|
-
C.point([
|
|
5311
|
-
val: y.Point[
|
|
5312
|
-
type: y.Point[
|
|
5307
|
+
for (const v in y.Point)
|
|
5308
|
+
y.Point[v].lng.forEach((b, L) => {
|
|
5309
|
+
b = Ae(b), p.push(
|
|
5310
|
+
C.point([b, v], {
|
|
5311
|
+
val: y.Point[v].val[L],
|
|
5312
|
+
type: y.Point[v].type[L]
|
|
5313
5313
|
})
|
|
5314
5314
|
);
|
|
5315
5315
|
});
|
|
@@ -5324,12 +5324,12 @@ const Hs = {
|
|
|
5324
5324
|
const y = this.weatherLayers[u].raw;
|
|
5325
5325
|
if (y) {
|
|
5326
5326
|
const p = [];
|
|
5327
|
-
for (const
|
|
5328
|
-
const
|
|
5329
|
-
for (const L of
|
|
5327
|
+
for (const v in y.LineString) {
|
|
5328
|
+
const b = y.LineString[v];
|
|
5329
|
+
for (const L of b)
|
|
5330
5330
|
p.push(
|
|
5331
5331
|
C.lineString(L, {
|
|
5332
|
-
val: Number(
|
|
5332
|
+
val: Number(v)
|
|
5333
5333
|
})
|
|
5334
5334
|
);
|
|
5335
5335
|
}
|
|
@@ -5430,8 +5430,8 @@ const Hs = {
|
|
|
5430
5430
|
class: "map-gl-home"
|
|
5431
5431
|
};
|
|
5432
5432
|
function Zs(i, e, t, r, a, s) {
|
|
5433
|
-
var J, ne, ye, ge,
|
|
5434
|
-
const n = T("IdmGlLayer"), o = T("IdmENC"), h = T("IdmSigWave"), c = T("IdmSwell"), f = T("IdmPrmsl"), d = T("IdmIceberg"), m = T("IdmTropicals"), u = T("IdmCurrents"), g = T("IdmCurrentParticle"), y = T("IdmWindBarb"), p = T("IdmWindParticle"),
|
|
5433
|
+
var J, ne, ye, ge, be, ve, _e, Le, we, xe, Ce, Se, Pe, Te, Ee, ke, Re, Ie, Oe, He, Xe, Ze, Je, Ye, qe, Ke;
|
|
5434
|
+
const n = T("IdmGlLayer"), o = T("IdmENC"), h = T("IdmSigWave"), c = T("IdmSwell"), f = T("IdmPrmsl"), d = T("IdmIceberg"), m = T("IdmTropicals"), u = T("IdmCurrents"), g = T("IdmCurrentParticle"), y = T("IdmWindBarb"), p = T("IdmWindParticle"), v = T("IdmPrecip3h"), b = T("IdmVisibility"), L = T("IdmWaterTemp"), P = T("IdmTemp"), _ = T("IdmArctic"), I = T("IdmWarZone"), $ = T("IdmGmdssArea"), D = T("IdmEcaZone"), O = T("IdmAlertZone"), W = T("IdmPort"), H = T("IdmLoadLine"), Z = T("IdmTimezone"), ee = T("IdmVRA"), ce = T("IdmSpecialArea"), te = T("IdmTerminator"), A = T("IdmLatLng"), V = T("IdmMeasure"), de = T("IdmPoint");
|
|
5435
5435
|
return t.map ? (w(), x("div", Xs, [
|
|
5436
5436
|
E(n, R({
|
|
5437
5437
|
ref: "layer",
|
|
@@ -5471,13 +5471,13 @@ function Zs(i, e, t, r, a, s) {
|
|
|
5471
5471
|
}, i.$attrs), null, 16, ["map", "prmsl", "before-layer"]),
|
|
5472
5472
|
E(d, R({
|
|
5473
5473
|
map: t.map,
|
|
5474
|
-
iceberg: (
|
|
5474
|
+
iceberg: (be = a.weatherLayers) == null ? void 0 : be.iceberg,
|
|
5475
5475
|
"before-layer": t.beforeLayer
|
|
5476
5476
|
}, i.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
|
|
5477
5477
|
E(m, R({
|
|
5478
5478
|
map: t.map,
|
|
5479
5479
|
date: t.ts,
|
|
5480
|
-
tropicals: (
|
|
5480
|
+
tropicals: (ve = a.weatherLayers) == null ? void 0 : ve.tropicals,
|
|
5481
5481
|
"before-layer": t.beforeLayer
|
|
5482
5482
|
}, i.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
|
|
5483
5483
|
E(u, R({
|
|
@@ -5514,13 +5514,13 @@ function Zs(i, e, t, r, a, s) {
|
|
|
5514
5514
|
"before-layer": t.beforeLayer,
|
|
5515
5515
|
"toggle-version": a.toggleVersion
|
|
5516
5516
|
}, i.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
5517
|
-
E(
|
|
5517
|
+
E(v, R({
|
|
5518
5518
|
viewport: a.viewport,
|
|
5519
5519
|
factor: (Se = a.weatherLayers) == null ? void 0 : Se.precip3h,
|
|
5520
5520
|
"before-layer": t.beforeLayer,
|
|
5521
5521
|
"toggle-version": a.toggleVersion
|
|
5522
5522
|
}, i.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
5523
|
-
E(
|
|
5523
|
+
E(b, R({
|
|
5524
5524
|
viewport: a.viewport,
|
|
5525
5525
|
factor: (Pe = a.weatherLayers) == null ? void 0 : Pe.visibility,
|
|
5526
5526
|
"before-layer": t.beforeLayer,
|