@idmwx/idmui-gl3 3.5.4 → 3.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -140,7 +140,7 @@ const T = (a, e) => {
140
140
  this.source = a, this.handleConfirm();
141
141
  }
142
142
  }
143
- }, Z = (a) => (U("data-v-4df358dd"), a = a(), G(), a), dt = { class: "idm-gl-layer" }, pt = { class: "bar-item layer-bars" }, mt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ut = [
143
+ }, Z = (a) => (U("data-v-66a5718f"), a = a(), G(), a), dt = { class: "idm-gl-layer" }, pt = { class: "bar-item layer-bars" }, mt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ut = [
144
144
  mt
145
145
  ], yt = { class: "bar-item tool-bars" }, ft = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), gt = [
146
146
  ft
@@ -275,7 +275,7 @@ function Ft(a, e, t, r, i, o) {
275
275
  ], 4)
276
276
  ]);
277
277
  }
278
- const Vt = /* @__PURE__ */ T(ht, [["render", Ft], ["__scopeId", "data-v-4df358dd"]]);
278
+ const Vt = /* @__PURE__ */ T(ht, [["render", Ft], ["__scopeId", "data-v-66a5718f"]]);
279
279
  const Ut = {
280
280
  name: "IdmWindBarb",
281
281
  props: {
@@ -483,7 +483,7 @@ function qt(a, e, t, r, i, o) {
483
483
  ], 4)
484
484
  ])) : N("", !0);
485
485
  }
486
- const Yt = /* @__PURE__ */ T(Ut, [["render", qt], ["__scopeId", "data-v-fc7a24ef"]]);
486
+ const Yt = /* @__PURE__ */ T(Ut, [["render", qt], ["__scopeId", "data-v-f285f28f"]]);
487
487
  class Ue {
488
488
  constructor(e) {
489
489
  R(this, "map");
@@ -706,9 +706,9 @@ class le {
706
706
  const p = t.getUniformLocation(r, "u_range_u_v"), v = t.getUniformLocation(r, "u_range_s");
707
707
  t.uniform2f(p, s.uvRange[0], s.uvRange[1]), t.uniform2f(v, s.sRange[0], s.sRange[1]);
708
708
  }
709
- const u = e.getBoundPixel(), b = e.map.getZoom() + 1, f = e.getWorldCopy(u, b);
709
+ const u = e.getBoundPixel(), g = e.map.getZoom() + 1, f = e.getWorldCopy(u, g);
710
710
  for (const p of f) {
711
- const v = (p[0] - u[0]) * e.ratio, g = (p[1] - u[3]) * e.ratio, w = p[2] * e.ratio, [k, _, E, D] = [v, w + v, g, w + g], $ = new Float32Array([k, E, _, E, k, D, k, D, _, E, _, D]);
711
+ const v = (p[0] - u[0]) * e.ratio, b = (p[1] - u[3]) * e.ratio, w = p[2] * e.ratio, [k, _, E, D] = [v, w + v, b, w + b], $ = new Float32Array([k, E, _, E, k, D, k, D, _, E, _, D]);
712
712
  t.bindBuffer(t.ARRAY_BUFFER, n), t.bufferData(t.ARRAY_BUFFER, $, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
713
713
  }
714
714
  } catch (y) {
@@ -1020,7 +1020,7 @@ class Qt {
1020
1020
  visibility: "visible"
1021
1021
  },
1022
1022
  paint: {
1023
- "fill-color": "#ebeaea"
1023
+ "fill-color": "#d9d8d8"
1024
1024
  }
1025
1025
  },
1026
1026
  countryAdmin0BoundaryBg: {
@@ -2681,8 +2681,8 @@ const Kt = {
2681
2681
  if (!this.particleContext) {
2682
2682
  this.particleContext = this.viewport.particleCanvas.getContext("webgl");
2683
2683
  const a = [
2684
- [0, "rgb(205,255,255)"],
2685
- [1, "rgb(235,255,255)"]
2684
+ [0, "rgb(183,224,224)"],
2685
+ [1, "rgb(217,220,220)"]
2686
2686
  ];
2687
2687
  this.wrapper = this.webgl.bindParticle(
2688
2688
  this.particleContext,
@@ -2720,7 +2720,7 @@ const Kt = {
2720
2720
  });
2721
2721
  }
2722
2722
  }
2723
- }, re = (a) => (U("data-v-a083279c"), a = a(), G(), a), ea = { key: 0 }, ta = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "kts", -1)), aa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "0", -1)), ia = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "5", -1)), ra = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "10", -1)), oa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "20", -1)), sa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "30", -1)), na = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "40", -1)), la = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "60", -1)), ca = [
2723
+ }, re = (a) => (U("data-v-6e0050df"), a = a(), G(), a), ea = { key: 0 }, ta = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "kts", -1)), aa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "0", -1)), ia = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "5", -1)), ra = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "10", -1)), oa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "20", -1)), sa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "30", -1)), na = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "40", -1)), la = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "60", -1)), ca = [
2724
2724
  ta,
2725
2725
  aa,
2726
2726
  ia,
@@ -2739,7 +2739,7 @@ function ha(a, e, t, r, i, o) {
2739
2739
  }, ca, 4)
2740
2740
  ])) : N("", !0);
2741
2741
  }
2742
- const da = /* @__PURE__ */ T(Kt, [["render", ha], ["__scopeId", "data-v-a083279c"]]);
2742
+ const da = /* @__PURE__ */ T(Kt, [["render", ha], ["__scopeId", "data-v-6e0050df"]]);
2743
2743
  const pa = {
2744
2744
  name: "IdmCurrent",
2745
2745
  props: {
@@ -2948,7 +2948,7 @@ function ba(a, e, t, r, i, o) {
2948
2948
  ], 4)
2949
2949
  ])) : N("", !0);
2950
2950
  }
2951
- const va = /* @__PURE__ */ T(pa, [["render", ba], ["__scopeId", "data-v-ce5e09b8"]]);
2951
+ const va = /* @__PURE__ */ T(pa, [["render", ba], ["__scopeId", "data-v-dbab881d"]]);
2952
2952
  const _a = {
2953
2953
  name: "IdmCurrentParticle",
2954
2954
  props: {
@@ -3067,8 +3067,8 @@ const _a = {
3067
3067
  if (!this.particleContext) {
3068
3068
  this.particleContext = this.viewport.particleCanvas.getContext("webgl");
3069
3069
  const a = [
3070
- [0, "rgb(205,255,255)"],
3071
- [1, "rgb(235,255,255)"]
3070
+ [0, "rgb(183,224,224)"],
3071
+ [1, "rgb(199,202,202)"]
3072
3072
  ];
3073
3073
  this.wrapper = this.webgl.bindParticle(
3074
3074
  this.particleContext,
@@ -3110,7 +3110,7 @@ const _a = {
3110
3110
  });
3111
3111
  }
3112
3112
  }
3113
- }, ce = (a) => (U("data-v-f196de0e"), a = a(), G(), a), wa = { key: 0 }, La = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "kts", -1)), xa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ca = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.4", -1)), Sa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.8", -1)), ka = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.6", -1)), za = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), Pa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ta = [
3113
+ }, ce = (a) => (U("data-v-3bf73a1b"), a = a(), G(), a), wa = { key: 0 }, La = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "kts", -1)), xa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ca = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.4", -1)), Sa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.8", -1)), ka = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.6", -1)), za = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), Pa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ta = [
3114
3114
  La,
3115
3115
  xa,
3116
3116
  Ca,
@@ -3128,7 +3128,7 @@ function Ia(a, e, t, r, i, o) {
3128
3128
  }, Ta, 4)
3129
3129
  ])) : N("", !0);
3130
3130
  }
3131
- const Ea = /* @__PURE__ */ T(_a, [["render", Ia], ["__scopeId", "data-v-f196de0e"]]), Ra = {
3131
+ const Ea = /* @__PURE__ */ T(_a, [["render", Ia], ["__scopeId", "data-v-3bf73a1b"]]), Ra = {
3132
3132
  name: "IdmSigWave",
3133
3133
  props: {
3134
3134
  map: {
@@ -3452,7 +3452,9 @@ const Ba = /* @__PURE__ */ T($a, [["render", Ma]]), Na = {
3452
3452
  },
3453
3453
  paint: {
3454
3454
  "text-color": "black",
3455
- "text-opacity": 0.7
3455
+ "text-opacity": 0.9,
3456
+ "text-halo-color": "rgba(255,255,255,1)",
3457
+ "text-halo-width": 1
3456
3458
  }
3457
3459
  },
3458
3460
  this.beforeLayer
@@ -3633,18 +3635,18 @@ const Ua = {
3633
3635
  var d;
3634
3636
  let n = 0, s, c = "", h = "";
3635
3637
  const y = a.filter((m) => {
3636
- var u, b;
3637
- return ((b = (u = m.properties) == null ? void 0 : u.category) == null ? void 0 : b.split("-")[0]) === o;
3638
+ var u, g;
3639
+ return ((g = (u = m.properties) == null ? void 0 : u.category) == null ? void 0 : g.split("-")[0]) === o;
3638
3640
  });
3639
3641
  c = (d = y.filter((m) => {
3640
- var u, b;
3641
- return ((u = m.geometry) == null ? void 0 : u.type) === "LineString" && ((b = m.properties) == null ? void 0 : b.type) === "forecast";
3642
+ var u, g;
3643
+ return ((u = m.geometry) == null ? void 0 : u.type) === "LineString" && ((g = m.properties) == null ? void 0 : g.type) === "forecast";
3642
3644
  })[0]) == null ? void 0 : d.properties.model, y.forEach((m, u) => {
3643
- var b, f, p, v, g, w;
3644
- ((b = m.geometry) == null ? void 0 : b.type) === "Point" && ((f = m.properties) == null ? void 0 : f.type) === "history" && (n = u, s = s === void 0 ? u : s), ((p = m.geometry) == null ? void 0 : p.type) === "Point" && ((v = m.properties) == null ? void 0 : v.type) === "forecast" && s === void 0 && (s = u), ((g = m.geometry) == null ? void 0 : g.type) === "LineString" && ((w = m.properties) == null ? void 0 : w.type) === "forecast" && (h = `${o}-${c}`);
3645
+ var g, f, p, v, b, w;
3646
+ ((g = m.geometry) == null ? void 0 : g.type) === "Point" && ((f = m.properties) == null ? void 0 : f.type) === "history" && (n = u, s = s === void 0 ? u : s), ((p = m.geometry) == null ? void 0 : p.type) === "Point" && ((v = m.properties) == null ? void 0 : v.type) === "forecast" && s === void 0 && (s = u), ((b = m.geometry) == null ? void 0 : b.type) === "LineString" && ((w = m.properties) == null ? void 0 : w.type) === "forecast" && (h = `${o}-${c}`);
3645
3647
  }), y.map((m, u) => {
3646
- var b, f, p, v, g, w, k, _, E, D;
3647
- if (((b = m.geometry) == null ? void 0 : b.type) === "LineString" && ((f = m.properties) == null ? void 0 : f.type) === "forecast" && (m.properties.disabled = ((p = m.properties) == null ? void 0 : p.model) !== c), ((v = m.geometry) == null ? void 0 : v.type) === "Point" && ((g = m.properties) == null ? void 0 : g.type) === "forecast" && (m.properties.disabled = ((w = m.properties) == null ? void 0 : w.category) !== h, m.properties.name = o), ((k = m.geometry) == null ? void 0 : k.type) === "Point" && ((_ = m.properties) == null ? void 0 : _.type) === "history") {
3648
+ var g, f, p, v, b, w, k, _, E, D;
3649
+ if (((g = m.geometry) == null ? void 0 : g.type) === "LineString" && ((f = m.properties) == null ? void 0 : f.type) === "forecast" && (m.properties.disabled = ((p = m.properties) == null ? void 0 : p.model) !== c), ((v = m.geometry) == null ? void 0 : v.type) === "Point" && ((b = m.properties) == null ? void 0 : b.type) === "forecast" && (m.properties.disabled = ((w = m.properties) == null ? void 0 : w.category) !== h, m.properties.name = o), ((k = m.geometry) == null ? void 0 : k.type) === "Point" && ((_ = m.properties) == null ? void 0 : _.type) === "history") {
3648
3650
  const $ = ((D = (E = m.properties) == null ? void 0 : E.format) == null ? void 0 : D.slice(7, 12)) === Q().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm") + "Z";
3649
3651
  m.properties.showHistoryLabel = $ || u === n, m.properties.showNameLabel = u === n, m.properties.name = o;
3650
3652
  }
@@ -3911,18 +3913,18 @@ const Ua = {
3911
3913
  }
3912
3914
  if (!((y = this.tropicals) != null && y.cached)) {
3913
3915
  const d = et.interpolate(this.tropicals, 1), m = JSON.parse(JSON.stringify(d)), u = [];
3914
- m.forEach((b) => {
3916
+ m.forEach((g) => {
3915
3917
  var f, p, v;
3916
- (f = b.properties) != null && f.name && !u.includes((p = b.properties) == null ? void 0 : p.name) && u.push((v = b.properties) == null ? void 0 : v.name);
3917
- }), u.forEach((b) => {
3918
+ (f = g.properties) != null && f.name && !u.includes((p = g.properties) == null ? void 0 : p.name) && u.push((v = g.properties) == null ? void 0 : v.name);
3919
+ }), u.forEach((g) => {
3918
3920
  var v;
3919
- const p = (v = m.filter((g) => {
3921
+ const p = (v = m.filter((b) => {
3920
3922
  var w;
3921
- return ((w = g.properties) == null ? void 0 : w.name) === b;
3923
+ return ((w = b.properties) == null ? void 0 : w.name) === g;
3922
3924
  })[0]) == null ? void 0 : v.properties.model;
3923
- m.map((g, w) => {
3925
+ m.map((b, w) => {
3924
3926
  var k, _;
3925
- return ((k = g.properties) == null ? void 0 : k.name) === b && (g.properties.disabled = ((_ = g.properties) == null ? void 0 : _.model) !== p), g;
3927
+ return ((k = b.properties) == null ? void 0 : k.name) === g && (b.properties.disabled = ((_ = b.properties) == null ? void 0 : _.model) !== p), b;
3926
3928
  });
3927
3929
  }), this.interpolateData = JSON.parse(JSON.stringify(m));
3928
3930
  }
@@ -3934,7 +3936,7 @@ const Ua = {
3934
3936
  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), (a = this.interpolateMarkers) == null || a.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));
3935
3937
  },
3936
3938
  handleDateChange() {
3937
- var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, W, O, H;
3939
+ var a, e, t, r, i, o, n, s, c, h, y, d, m, u, g, f, p, v, b, w, k, _, E, D, $, W, O, H;
3938
3940
  if ((a = this.interpolateMarkers) == null || a.forEach((X) => X == null ? void 0 : X.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
3939
3941
  const X = Q(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ee = this.interpolateData.filter((A) => A.properties.date === X.format() && !A.properties.disabled), he = this.handleComputePolygons(ee), te = C.featureCollection([...ee]);
3940
3942
  he.forEach((A) => {
@@ -3956,7 +3958,7 @@ const Ua = {
3956
3958
  for (const A of ee)
3957
3959
  if (!A.properties.disabled) {
3958
3960
  let V = "#f44336";
3959
- ((s = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 ? V = "#03f869" : ((h = (c = A.properties) == null ? void 0 : c.wind) == null ? void 0 : h.spd) >= 17.2 && ((d = (y = A.properties) == null ? void 0 : y.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 && ((f = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : f.spd) < 32.7 ? V = "#ff9100" : ((v = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : v.spd) >= 32.7 && ((w = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) < 41.5 ? V = "#f44336" : ((_ = (k = A.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) >= 41.5 && ((D = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : D.spd) < 51 ? V = "#c604a4" : ((W = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : W.spd) >= 51 ? V = "#6b05bb" : V = "#f44336";
3961
+ ((s = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 ? V = "#03f869" : ((h = (c = A.properties) == null ? void 0 : c.wind) == null ? void 0 : h.spd) >= 17.2 && ((d = (y = A.properties) == null ? void 0 : y.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 && ((f = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : f.spd) < 32.7 ? V = "#ff9100" : ((v = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : v.spd) >= 32.7 && ((w = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : w.spd) < 41.5 ? V = "#f44336" : ((_ = (k = A.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) >= 41.5 && ((D = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : D.spd) < 51 ? V = "#c604a4" : ((W = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : W.spd) >= 51 ? V = "#6b05bb" : V = "#f44336";
3960
3962
  const de = `<svg t="1719918955501"
3961
3963
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
3962
3964
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -3988,8 +3990,8 @@ const Ua = {
3988
3990
  }
3989
3991
  );
3990
3992
  t.sort((d, m) => {
3991
- var u, b, f, p;
3992
- return ((u = d.properties) == null ? void 0 : u.model) === "cma" ? -1 : ((b = d.properties) == null ? void 0 : b.model) === "jma" ? ((f = m.properties) == null ? void 0 : f.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((p = m.properties) == null ? void 0 : p.model) ? 1 : -1 : 0;
3993
+ var u, g, f, p;
3994
+ return ((u = d.properties) == null ? void 0 : u.model) === "cma" ? -1 : ((g = d.properties) == null ? void 0 : g.model) === "jma" ? ((f = m.properties) == null ? void 0 : f.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((p = m.properties) == null ? void 0 : p.model) ? 1 : -1 : 0;
3993
3995
  });
3994
3996
  const r = (c = (s = this.tropicals) == null ? void 0 : s.data) == null ? void 0 : c.features.filter(
3995
3997
  (d) => {
@@ -4064,7 +4066,7 @@ const Ua = {
4064
4066
  return C.lineToPolygon(i, { properties: t });
4065
4067
  }
4066
4068
  }
4067
- }, Ge = (a) => (U("data-v-bb8414b4"), a = a(), G(), a), Ga = {
4069
+ }, Ge = (a) => (U("data-v-cc6ebaba"), a = a(), G(), a), Ga = {
4068
4070
  id: "active-tropical",
4069
4071
  class: "active-tropical"
4070
4072
  }, Ha = { class: "header-box" }, Za = { class: "main" }, Xa = { key: 0 }, Ja = { class: "sub" }, qa = {
@@ -4079,9 +4081,9 @@ const Ua = {
4079
4081
  }, ai = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), ii = { class: "row" }, ri = {
4080
4082
  class: "col col-24",
4081
4083
  style: { "justify-content": "flex-start" }
4082
- }, oi = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), si = { class: "forecast-models" }, ni = ["onClick"], li = /* @__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), ci = { class: "more" };
4084
+ }, oi = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), si = { class: "forecast-models" }, ni = ["onClick"], li = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-cc6ebaba></div><div class="row" style="padding:2px 10px;" data-v-cc6ebaba><div class="legend" data-v-cc6ebaba><div class="icon td" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TD</div></div><div class="legend" data-v-cc6ebaba><div class="icon ts" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TS</div></div><div class="legend" data-v-cc6ebaba><div class="icon sts" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>STS</div></div><div class="legend" data-v-cc6ebaba><div class="icon ty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TY</div></div><div class="legend" data-v-cc6ebaba><div class="icon sty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>STY</div></div><div class="legend" data-v-cc6ebaba><div class="icon supper-ty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-cc6ebaba><div class="legend" data-v-cc6ebaba><div class="icon history" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>History</div></div><div class="legend" data-v-cc6ebaba><div class="icon r7" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>35kts Radii</div></div><div class="legend" data-v-cc6ebaba><div class="icon r10" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>50kts Radii</div></div></div>', 3), ci = { class: "more" };
4083
4085
  function hi(a, e, t, r, i, o) {
4084
- var n, s, c, h, y, d, m, u, b, f, p, v, g, w, k;
4086
+ var n, s, c, h, y, d, m, u, g, f, p, v, b, w, k;
4085
4087
  return $e((L(), x("div", Ga, [
4086
4088
  l("div", Ha, [
4087
4089
  l("div", {
@@ -4092,7 +4094,7 @@ function hi(a, e, t, r, i, o) {
4092
4094
  (s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span", Xa, S((h = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : h.level) + " , ", 1)) : N("", !0),
4093
4095
  Ke(S((y = i.activeTropicals) == null ? void 0 : y.name), 1)
4094
4096
  ]),
4095
- l("div", Ja, " Last update: " + S(o.computeTime(((m = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : m.updated) || ((f = (b = (u = i.activeTropicals) == null ? void 0 : u.forecasts) == null ? void 0 : b.filter((_) => !_.disabled)[0]) == null ? void 0 : f.date))), 1)
4097
+ l("div", Ja, " Last update: " + S(o.computeTime(((m = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : m.updated) || ((f = (g = (u = i.activeTropicals) == null ? void 0 : u.forecasts) == null ? void 0 : g.filter((_) => !_.disabled)[0]) == null ? void 0 : f.date))), 1)
4096
4098
  ]),
4097
4099
  l("div", qa, [
4098
4100
  l("div", Ya, [
@@ -4103,7 +4105,7 @@ function hi(a, e, t, r, i, o) {
4103
4105
  ]),
4104
4106
  l("div", ti, [
4105
4107
  ai,
4106
- l("span", null, S(((w = (g = i.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : w.pressure) || "-") + "[hPa]", 1)
4108
+ l("span", null, S(((w = (b = i.activeTropicals) == null ? void 0 : b.history) == null ? void 0 : w.pressure) || "-") + "[hPa]", 1)
4107
4109
  ])
4108
4110
  ]),
4109
4111
  l("div", ii, [
@@ -4142,7 +4144,7 @@ function hi(a, e, t, r, i, o) {
4142
4144
  [Me, i.showTropicals]
4143
4145
  ]);
4144
4146
  }
4145
- const tt = /* @__PURE__ */ T(Ua, [["render", hi], ["__scopeId", "data-v-bb8414b4"]]);
4147
+ const tt = /* @__PURE__ */ T(Ua, [["render", hi], ["__scopeId", "data-v-cc6ebaba"]]);
4146
4148
  const di = {
4147
4149
  name: "IdmPrecip3h",
4148
4150
  props: {
@@ -4244,7 +4246,7 @@ const di = {
4244
4246
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4245
4247
  }
4246
4248
  }
4247
- }, oe = (a) => (U("data-v-42b977ed"), a = a(), G(), a), pi = { key: 0 }, mi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "mm", -1)), ui = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), yi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "2", -1)), fi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "3", -1)), gi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "7", -1)), bi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "10", -1)), vi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "20", -1)), _i = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "30", -1)), wi = [
4249
+ }, oe = (a) => (U("data-v-dec867b8"), a = a(), G(), a), pi = { key: 0 }, mi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "mm", -1)), ui = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), yi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "2", -1)), fi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "3", -1)), gi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "7", -1)), bi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "10", -1)), vi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "20", -1)), _i = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "30", -1)), wi = [
4248
4250
  mi,
4249
4251
  ui,
4250
4252
  yi,
@@ -4263,7 +4265,7 @@ function Li(a, e, t, r, i, o) {
4263
4265
  }, wi, 4)
4264
4266
  ])) : N("", !0);
4265
4267
  }
4266
- const xi = /* @__PURE__ */ T(di, [["render", Li], ["__scopeId", "data-v-42b977ed"]]);
4268
+ const xi = /* @__PURE__ */ T(di, [["render", Li], ["__scopeId", "data-v-dec867b8"]]);
4267
4269
  const Ci = {
4268
4270
  name: "IdmVisibility",
4269
4271
  props: {
@@ -4358,7 +4360,7 @@ const Ci = {
4358
4360
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4359
4361
  }
4360
4362
  }
4361
- }, me = (a) => (U("data-v-2a5fbadd"), a = a(), G(), a), Si = { key: 0 }, ki = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "nm", -1)), zi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0", -1)), Pi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ti = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Ii = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "3", -1)), Ei = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "9", -1)), Ri = [
4363
+ }, me = (a) => (U("data-v-952dee5c"), a = a(), G(), a), Si = { key: 0 }, ki = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "nm", -1)), zi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0", -1)), Pi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ti = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Ii = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "3", -1)), Ei = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "9", -1)), Ri = [
4362
4364
  ki,
4363
4365
  zi,
4364
4366
  Pi,
@@ -4375,7 +4377,7 @@ function Ai(a, e, t, r, i, o) {
4375
4377
  }, Ri, 4)
4376
4378
  ])) : N("", !0);
4377
4379
  }
4378
- const Di = /* @__PURE__ */ T(Ci, [["render", Ai], ["__scopeId", "data-v-2a5fbadd"]]);
4380
+ const Di = /* @__PURE__ */ T(Ci, [["render", Ai], ["__scopeId", "data-v-952dee5c"]]);
4379
4381
  const $i = {
4380
4382
  name: "IdmWaterTemp",
4381
4383
  props: {
@@ -4478,7 +4480,7 @@ const $i = {
4478
4480
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4479
4481
  }
4480
4482
  }
4481
- }, ue = (a) => (U("data-v-5b28deaf"), a = a(), G(), a), Mi = { key: 0 }, Bi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ni = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "0", -1)), Wi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "10", -1)), Oi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "20", -1)), ji = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "30", -1)), Fi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "40", -1)), Vi = [
4483
+ }, ue = (a) => (U("data-v-67e5094b"), a = a(), G(), a), Mi = { key: 0 }, Bi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ni = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "0", -1)), Wi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "10", -1)), Oi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "20", -1)), ji = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "30", -1)), Fi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "40", -1)), Vi = [
4482
4484
  Bi,
4483
4485
  Ni,
4484
4486
  Wi,
@@ -4495,7 +4497,7 @@ function Ui(a, e, t, r, i, o) {
4495
4497
  }, Vi, 4)
4496
4498
  ])) : N("", !0);
4497
4499
  }
4498
- const Gi = /* @__PURE__ */ T($i, [["render", Ui], ["__scopeId", "data-v-5b28deaf"]]);
4500
+ const Gi = /* @__PURE__ */ T($i, [["render", Ui], ["__scopeId", "data-v-67e5094b"]]);
4499
4501
  const Hi = {
4500
4502
  name: "IdmTemp",
4501
4503
  props: {
@@ -4601,7 +4603,7 @@ const Hi = {
4601
4603
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4602
4604
  }
4603
4605
  }
4604
- }, se = (a) => (U("data-v-72cd9cf1"), a = a(), G(), a), Zi = { key: 0 }, Xi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ji = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-20", -1)), qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-10", -1)), Yi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "0", -1)), Qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)), Ki = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "20", -1)), er = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "30", -1)), tr = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "40", -1)), ar = [
4606
+ }, se = (a) => (U("data-v-389ea886"), a = a(), G(), a), Zi = { key: 0 }, Xi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ji = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-20", -1)), qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-10", -1)), Yi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "0", -1)), Qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)), Ki = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "20", -1)), er = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "30", -1)), tr = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "40", -1)), ar = [
4605
4607
  Xi,
4606
4608
  Ji,
4607
4609
  qi,
@@ -4620,7 +4622,7 @@ function ir(a, e, t, r, i, o) {
4620
4622
  }, ar, 4)
4621
4623
  ])) : N("", !0);
4622
4624
  }
4623
- const rr = /* @__PURE__ */ T(Hi, [["render", ir], ["__scopeId", "data-v-72cd9cf1"]]);
4625
+ const rr = /* @__PURE__ */ T(Hi, [["render", ir], ["__scopeId", "data-v-389ea886"]]);
4624
4626
  const or = {
4625
4627
  name: "IdmArctic",
4626
4628
  props: {
@@ -4717,7 +4719,7 @@ const or = {
4717
4719
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4718
4720
  }
4719
4721
  }
4720
- }, ye = (a) => (U("data-v-2092df03"), a = a(), G(), a), sr = { key: 0 }, nr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "m", -1)), lr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0", -1)), cr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0.5", -1)), hr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1", -1)), dr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1.5", -1)), pr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "2", -1)), mr = [
4722
+ }, ye = (a) => (U("data-v-db805141"), a = a(), G(), a), sr = { key: 0 }, nr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "m", -1)), lr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0", -1)), cr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0.5", -1)), hr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1", -1)), dr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1.5", -1)), pr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "2", -1)), mr = [
4721
4723
  nr,
4722
4724
  lr,
4723
4725
  cr,
@@ -4734,7 +4736,7 @@ function ur(a, e, t, r, i, o) {
4734
4736
  }, mr, 4)
4735
4737
  ])) : N("", !0);
4736
4738
  }
4737
- const yr = /* @__PURE__ */ T(or, [["render", ur], ["__scopeId", "data-v-2092df03"]]);
4739
+ const yr = /* @__PURE__ */ T(or, [["render", ur], ["__scopeId", "data-v-db805141"]]);
4738
4740
  const fr = {
4739
4741
  name: "IdmPoint",
4740
4742
  emits: ["point", "more"],
@@ -4814,7 +4816,7 @@ const fr = {
4814
4816
  }
4815
4817
  }
4816
4818
  }
4817
- }, J = (a) => (U("data-v-a7923724"), a = a(), G(), a), gr = {
4819
+ }, J = (a) => (U("data-v-fb5b12d6"), a = a(), G(), a), gr = {
4818
4820
  id: "point-meteo",
4819
4821
  class: "point-meteo"
4820
4822
  }, br = { class: "meteo-box" }, vr = { class: "header-box" }, _r = { class: "main" }, wr = { class: "sub" }, Lr = { class: "main-box" }, xr = { class: "flex-space" }, Cr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Current", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Precip", -1)), $r = { class: "flex-space" }, Mr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Br = { class: "flex-space" }, Nr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Wr = { class: "flex-space" }, Or = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), jr = {
@@ -4825,7 +4827,7 @@ const fr = {
4825
4827
  Fr
4826
4828
  ];
4827
4829
  function Ur(a, e, t, r, i, o) {
4828
- var n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, W, O, H, X, ee, he, te, A, V, de, q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee;
4830
+ var n, s, c, h, y, d, m, u, g, f, p, v, b, w, k, _, E, D, $, W, O, H, X, ee, he, te, A, V, de, q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee;
4829
4831
  return $e((L(), x("div", gr, [
4830
4832
  l("div", br, [
4831
4833
  l("div", vr, [
@@ -4839,11 +4841,11 @@ function Ur(a, e, t, r, i, o) {
4839
4841
  l("div", Lr, [
4840
4842
  l("div", xr, [
4841
4843
  Cr,
4842
- l("span", null, S(((y = (h = t.meteo) == null ? void 0 : h.wind) == null ? void 0 : y.direction) || "-") + "/" + S(o.roundPrecision((m = (d = t.meteo) == null ? void 0 : d.wind) == null ? void 0 : m.kts, 1)) + "[kts]/" + S((b = (u = t.meteo) == null ? void 0 : u.wind) == null ? void 0 : b.scale) + "[BF]/" + S(o.roundPrecision((p = (f = t.meteo) == null ? void 0 : f.gusts) == null ? void 0 : p.kts, 1)) + "[kts]", 1)
4844
+ l("span", null, S(((y = (h = t.meteo) == null ? void 0 : h.wind) == null ? void 0 : y.direction) || "-") + "/" + S(o.roundPrecision((m = (d = t.meteo) == null ? void 0 : d.wind) == null ? void 0 : m.kts, 1)) + "[kts]/" + S((g = (u = t.meteo) == null ? void 0 : u.wind) == null ? void 0 : g.scale) + "[BF]/" + S(o.roundPrecision((p = (f = t.meteo) == null ? void 0 : f.gusts) == null ? void 0 : p.kts, 1)) + "[kts]", 1)
4843
4845
  ]),
4844
4846
  l("div", Sr, [
4845
4847
  kr,
4846
- l("span", null, S(((w = (g = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((E = (_ = (k = t.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((W = ($ = (D = t.meteo) == null ? void 0 : D.wave) == null ? void 0 : $.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
4848
+ l("span", null, S(((w = (b = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : b.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((E = (_ = (k = t.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((W = ($ = (D = t.meteo) == null ? void 0 : D.wave) == null ? void 0 : $.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
4847
4849
  ]),
4848
4850
  l("div", zr, [
4849
4851
  Pr,
@@ -4880,7 +4882,7 @@ function Ur(a, e, t, r, i, o) {
4880
4882
  [Me, i.showMeteo]
4881
4883
  ]);
4882
4884
  }
4883
- const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-a7923724"]]), Hr = {
4885
+ const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-fb5b12d6"]]), Hr = {
4884
4886
  name: "IdmWarZone",
4885
4887
  props: {
4886
4888
  map: {
@@ -5330,7 +5332,7 @@ function ro(a, e, t, r, i, o) {
5330
5332
  [Me, i.showZone]
5331
5333
  ]);
5332
5334
  }
5333
- const oo = /* @__PURE__ */ T(to, [["render", ro], ["__scopeId", "data-v-d1cb4e6e"]]);
5335
+ const oo = /* @__PURE__ */ T(to, [["render", ro], ["__scopeId", "data-v-c0864afc"]]);
5334
5336
  const so = {
5335
5337
  name: "IdmPort",
5336
5338
  props: {
@@ -5423,7 +5425,7 @@ const so = {
5423
5425
  this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
5424
5426
  }
5425
5427
  }
5426
- }, Be = (a) => (U("data-v-6fdfee96"), a = a(), G(), a), no = { id: "port-info" }, lo = { class: "port-box" }, co = { class: "flex-start" }, ho = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), po = { class: "flex-start" }, mo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), uo = { class: "flex-start" }, yo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), fo = {
5428
+ }, Be = (a) => (U("data-v-30e545a2"), a = a(), G(), a), no = { id: "port-info" }, lo = { class: "port-box" }, co = { class: "flex-start" }, ho = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), po = { class: "flex-start" }, mo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), uo = { class: "flex-start" }, yo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), fo = {
5427
5429
  class: "flex-start",
5428
5430
  style: { "align-items": "flex-start" }
5429
5431
  }, go = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
@@ -5457,7 +5459,7 @@ function bo(a, e, t, r, i, o) {
5457
5459
  [Me, i.showPort]
5458
5460
  ]);
5459
5461
  }
5460
- const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-6fdfee96"]]), _o = {
5462
+ const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-30e545a2"]]), _o = {
5461
5463
  name: "IdmLoadLine",
5462
5464
  props: {
5463
5465
  map: {
@@ -6090,7 +6092,7 @@ const $o = {
6090
6092
  (a = this.map) != null && a.getLayer(this.layer) && ((e = this.map) == null || e.removeLayer(this.layer)), (t = this.map) != null && t.getLayer(this.labelLayer) && ((r = this.map) == null || r.removeLayer(this.labelLayer)), (i = this.map) != null && i.getSource(this.source) && ((o = this.map) == null || o.removeSource(this.source));
6091
6093
  }
6092
6094
  }
6093
- }, Mo = (a) => (U("data-v-9f51b3f9"), a = a(), G(), a), Bo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ l("span", null, ", ", -1));
6095
+ }, Mo = (a) => (U("data-v-51cc4052"), a = a(), G(), a), Bo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ l("span", null, ", ", -1));
6094
6096
  function No(a, e, t, r, i, o) {
6095
6097
  return i.lngLat ? (L(), x("div", {
6096
6098
  key: 0,
@@ -6102,7 +6104,7 @@ function No(a, e, t, r, i, o) {
6102
6104
  l("span", null, S(i.lngLat.lng.pretty), 1)
6103
6105
  ], 4)) : N("", !0);
6104
6106
  }
6105
- const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9"]]), Wo = {
6107
+ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-51cc4052"]]), Wo = {
6106
6108
  name: "IdmMeasure",
6107
6109
  props: {
6108
6110
  map: {
@@ -6169,19 +6171,19 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6169
6171
  var v;
6170
6172
  return ((v = p._element) == null ? void 0 : v.id) === e;
6171
6173
  })[0].setLngLat([(o = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : o.lng, (s = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : s.lat]);
6172
- let b;
6174
+ let g;
6173
6175
  m.features.forEach((p, v) => {
6174
6176
  if (p.geometry.type === "Point" && p.properties.id == e.split("-")[1]) {
6175
- b = v;
6177
+ g = v;
6176
6178
  return;
6177
6179
  }
6178
6180
  });
6179
6181
  const f = m.features.filter((p) => p.geometry.type === "Point");
6180
6182
  this.handleTmpPointUpdate(
6181
6183
  m,
6182
- f[b - 1],
6183
- { lng: (h = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : h.lng, lat: (d = (y = a.target) == null ? void 0 : y._lngLat) == null ? void 0 : d.lat, properties: f[b].properties },
6184
- b === f.length - 1 ? void 0 : f[b + 1]
6184
+ f[g - 1],
6185
+ { lng: (h = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : h.lng, lat: (d = (y = a.target) == null ? void 0 : y._lngLat) == null ? void 0 : d.lat, properties: f[g].properties },
6186
+ g === f.length - 1 ? void 0 : f[g + 1]
6185
6187
  );
6186
6188
  }
6187
6189
  },
@@ -6194,8 +6196,8 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6194
6196
  var p;
6195
6197
  return ((p = f._element) == null ? void 0 : p.id) === e;
6196
6198
  })[0].setLngLat([(o = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : o.lng, (s = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : s.lat]);
6197
- const b = m.features.filter((f) => f.geometry.type === "Point" && f.properties.id == e.split("-")[1])[0];
6198
- b.geometry.coordinates = [(h = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : h.lng, (d = (y = a.target) == null ? void 0 : y._lngLat) == null ? void 0 : d.lat], m.features = m.features.filter((f) => f.geometry.type === "Point"), this.handlePointUpdate(m);
6199
+ const g = m.features.filter((f) => f.geometry.type === "Point" && f.properties.id == e.split("-")[1])[0];
6200
+ g.geometry.coordinates = [(h = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : h.lng, (d = (y = a.target) == null ? void 0 : y._lngLat) == null ? void 0 : d.lat], m.features = m.features.filter((f) => f.geometry.type === "Point"), this.handlePointUpdate(m);
6199
6201
  }
6200
6202
  },
6201
6203
  handleContextmenu(a) {
@@ -6246,7 +6248,7 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6246
6248
  t = K.roundPrecision(t + y, 2);
6247
6249
  let m;
6248
6250
  s.mode === "RL" ? m = pe([c, h]) : m = pe(je(c, h, 200));
6249
- const u = C.lineString(m.map((b) => [b.lng, b.lat]));
6251
+ const u = C.lineString(m.map((g) => [g.lng, g.lat]));
6250
6252
  u.properties.dist = y, u.properties.bearing = d, u.properties.total = t, r.push(u);
6251
6253
  }
6252
6254
  e.push(...r), a.total = t;
@@ -6384,8 +6386,8 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6384
6386
  handleClear(a, e = !0) {
6385
6387
  var o, n, s, c, h, y, d, m, u;
6386
6388
  const t = `${a.id}-${this.source}`, r = `${a.id}-${this.layer}`, i = `${a.id}-${this.labelLayer}`;
6387
- (o = this.map) != null && o.getLayer(r) && this.map.removeLayer(r), (n = this.map) != null && n.getLayer(i) && this.map.removeLayer(i), (s = this.map) != null && s.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (c = this.map) != null && c.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (h = this.closeMarkers[a.id]) == null || h.remove(), this.closeMarkers[a.id] = void 0, (y = this.pointMarkers[a.id]) == null || y.forEach((b) => {
6388
- b == null || b.remove();
6389
+ (o = this.map) != null && o.getLayer(r) && this.map.removeLayer(r), (n = this.map) != null && n.getLayer(i) && this.map.removeLayer(i), (s = this.map) != null && s.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (c = this.map) != null && c.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (h = this.closeMarkers[a.id]) == null || h.remove(), this.closeMarkers[a.id] = void 0, (y = this.pointMarkers[a.id]) == null || y.forEach((g) => {
6390
+ g == null || g.remove();
6389
6391
  }), this.pointMarkers[a.id] = [], (d = this.tipMarker) == null || d.remove(), this.tipMarker = void 0, e && ((m = this.map) != null && m.getSource(t)) && this.map.removeSource(t), e && ((u = this.map) != null && u.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
6390
6392
  }
6391
6393
  }
@@ -6446,7 +6448,7 @@ const Fo = {
6446
6448
  }
6447
6449
  },
6448
6450
  methods: {}
6449
- }, it = (a) => (U("data-v-2d85e33b"), a = a(), G(), a), Vo = { key: 0 }, Uo = { class: "bar-item" }, Go = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Ho = [
6451
+ }, it = (a) => (U("data-v-ab627b83"), a = a(), G(), a), Vo = { key: 0 }, Uo = { class: "bar-item" }, Go = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Ho = [
6450
6452
  Go
6451
6453
  ], Zo = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Xo = [
6452
6454
  Zo
@@ -6470,7 +6472,7 @@ function Jo(a, e, t, r, i, o) {
6470
6472
  ], 4)
6471
6473
  ])) : N("", !0);
6472
6474
  }
6473
- const qo = /* @__PURE__ */ T(Fo, [["render", Jo], ["__scopeId", "data-v-2d85e33b"]]);
6475
+ const qo = /* @__PURE__ */ T(Fo, [["render", Jo], ["__scopeId", "data-v-ab627b83"]]);
6474
6476
  const Yo = {
6475
6477
  name: "IdmGLV2",
6476
6478
  components: {
@@ -6543,6 +6545,7 @@ const Yo = {
6543
6545
  showCurrentParticle: !1,
6544
6546
  toggleVersion: 0,
6545
6547
  enc: "",
6548
+ // enc: 'i4',
6546
6549
  defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg",
6547
6550
  helper: new Qt()
6548
6551
  };
@@ -6558,23 +6561,23 @@ const Yo = {
6558
6561
  },
6559
6562
  map: {
6560
6563
  handler() {
6561
- var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v;
6562
- this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ue(this.map), this.handleRampColorInitial(), this.activeWeatherLayers.some((g) => ["wind", "current"].includes(g.key)) && ((a = this.particleFactor) != null && a.particle) || this.activeWeatherLayers.some((g) => ["temp", "water-temp"].includes(g.key)) ? (console.log(3333), (t = (e = this.map) == null ? void 0 : e.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (i = (r = this.map) == null ? void 0 : r.getLayer("hi")) == null || i.setLayoutProperty("visibility", "none"), (n = (o = this.map) == null ? void 0 : o.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || n.setLayoutProperty("visibility", "visible"), (s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((h = this.map) == null || h.moveLayer((c = this.viewport) == null ? void 0 : c.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (d = this.map) != null && d.getLayer((y = this.viewport) == null ? void 0 : y.particleLayer) && ((u = this.map) == null || u.moveLayer((m = this.viewport) == null ? void 0 : m.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (console.log(44444), (f = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (p = this.map) == null ? void 0 : p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none")));
6564
+ var a, e, t, r, i, o, n, s, c, h, y, d, m, u, g, f, p, v;
6565
+ this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ue(this.map), this.handleRampColorInitial(), this.activeWeatherLayers.some((b) => ["wind", "current"].includes(b.key)) && ((a = this.particleFactor) != null && a.particle) || this.activeWeatherLayers.some((b) => ["temp", "water-temp"].includes(b.key)) ? ((t = (e = this.map) == null ? void 0 : e.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (i = (r = this.map) == null ? void 0 : r.getLayer("hi")) == null || i.setLayoutProperty("visibility", "none"), (n = (o = this.map) == null ? void 0 : o.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || n.setLayoutProperty("visibility", "visible"), (s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((h = this.map) == null || h.moveLayer((c = this.viewport) == null ? void 0 : c.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (d = this.map) != null && d.getLayer((y = this.viewport) == null ? void 0 : y.particleLayer) && ((u = this.map) == null || u.moveLayer((m = this.viewport) == null ? void 0 : m.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((f = (g = this.map) == null ? void 0 : g.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (p = this.map) == null ? void 0 : p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none")));
6563
6566
  },
6564
6567
  immediate: !0
6565
6568
  },
6566
6569
  enc: {
6567
6570
  handler(a, e) {
6568
6571
  var t, r, i, o, n, s, c, h;
6569
- a ? (console.log(11111), (r = (t = this.map) == null ? void 0 : t.getLayer(a)) == null || r.setLayoutProperty("visibility", "visible"), (o = (i = this.map) == null ? void 0 : i.getLayer(e)) == null || o.setLayoutProperty("visibility", "none")) : (console.log(2222), (s = (n = this.map) == null ? void 0 : n.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (h = (c = this.map) == null ? void 0 : c.getLayer("hi")) == null || h.setLayoutProperty("visibility", "none"));
6572
+ a ? ((r = (t = this.map) == null ? void 0 : t.getLayer(a)) == null || r.setLayoutProperty("visibility", "visible"), (o = (i = this.map) == null ? void 0 : i.getLayer(e)) == null || o.setLayoutProperty("visibility", "none")) : ((s = (n = this.map) == null ? void 0 : n.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (h = (c = this.map) == null ? void 0 : c.getLayer("hi")) == null || h.setLayoutProperty("visibility", "none"));
6570
6573
  }
6571
6574
  },
6572
6575
  activeWeatherLayers: {
6573
6576
  handler() {
6574
- var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v;
6577
+ var a, e, t, r, i, o, n, s, c, h, y, d, m, u, g, f;
6575
6578
  if (!this.map)
6576
6579
  return !1;
6577
- this.activeWeatherLayers.some((g) => ["wind", "current"].includes(g.key)) && ((a = this.particleFactor) != null && a.particle) || this.activeWeatherLayers.some((g) => ["temp", "water-temp"].includes(g.key)) ? (console.log(3333), (t = (e = this.map) == null ? void 0 : e.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (i = (r = this.map) == null ? void 0 : r.getLayer("hi")) == null || i.setLayoutProperty("visibility", "none"), (n = (o = this.map) == null ? void 0 : o.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || n.setLayoutProperty("visibility", "visible"), (s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((h = this.map) == null || h.moveLayer((c = this.viewport) == null ? void 0 : c.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (d = this.map) != null && d.getLayer((y = this.viewport) == null ? void 0 : y.particleLayer) && ((u = this.map) == null || u.moveLayer((m = this.viewport) == null ? void 0 : m.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (console.log(44444), (f = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (p = this.map) == null ? void 0 : p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none"));
6580
+ this.activeWeatherLayers.some((p) => ["wind", "current"].includes(p.key)) && ((a = this.particleFactor) != null && a.particle) || this.activeWeatherLayers.some((p) => ["temp", "water-temp"].includes(p.key)) ? ((t = (e = this.map) == null ? void 0 : e.getLayer(this.enc)) == null || t.setLayoutProperty("visibility", "none"), (i = (r = this.map) == null ? void 0 : r.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || i.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((s = this.map) == null || s.moveLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (h = this.map) != null && h.getLayer((c = this.viewport) == null ? void 0 : c.particleLayer) && ((d = this.map) == null || d.moveLayer((y = this.viewport) == null ? void 0 : y.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((u = (m = this.map) == null ? void 0 : m.getLayer(this.enc)) == null || u.setLayoutProperty("visibility", "visible"), (f = (g = this.map) == null ? void 0 : g.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || f.setLayoutProperty("visibility", "none"));
6578
6581
  },
6579
6582
  immediate: !0
6580
6583
  },
@@ -6587,7 +6590,6 @@ const Yo = {
6587
6590
  /** for offline map**/
6588
6591
  // activeWeatherLayers: {
6589
6592
  // handler() {
6590
- //
6591
6593
  // if (!this.map) {
6592
6594
  // return false
6593
6595
  // }
@@ -6595,19 +6597,18 @@ const Yo = {
6595
6597
  // (this.activeWeatherLayers.some((item) => ['wind', 'current'].includes(item.key)) && this.particleFactor?.particle) ||
6596
6598
  // this.activeWeatherLayers.some((item) => ['temp', 'water-temp'].includes(item.key))
6597
6599
  // ) {
6598
- // this.map?.setLayoutProperty(this.helper.windy.grayland.layer.id, 'visibility', 'visible')
6599
- // this.map?.setLayoutProperty(this.helper.windy.darkmap.layer.id, 'visibility', 'visible')
6600
- // this.map?.setLayoutProperty(this.helper.countryBoundary.layer.id, 'visibility', 'visible')
6601
- // this.map?.setLayoutProperty(this.helper.i4.layer.id, 'visibility', 'none')
6602
- // this.map?.setLayoutProperty(this.helper.hi.layer.id, 'visibility', 'none')
6600
+ // this.map?.getLayer(this.helper.windy.grayland.layer.id)?.setLayoutProperty('visibility', 'visible')
6601
+ // this.map?.getLayer(this.helper.windy.darkmap.layer.id)?.setLayoutProperty('visibility', 'visible')
6602
+ // this.map?.setLayoutProperty(this.helper.mapboxCustomer.layers.countryLabel.id, 'visibility', 'visible')
6603
+ // this.map?.getLayer(this.enc)?.setLayoutProperty('visibility', 'none')
6603
6604
  // this.map?.getLayer(this.helper.windy.grayland.layer.id) && this.map?.moveLayer(this.viewport?.rampColorLayer, this.helper.windy.grayland.layer.id)
6604
6605
  // this.map?.getLayer(this.helper.windy.grayland.layer.id) && this.map?.moveLayer(this.viewport?.particleLayer, this.helper.windy.grayland.layer.id)
6605
6606
  // } else {
6606
6607
  // this.map?.moveLayer(this.viewport?.rampColorLayer, null)
6607
- // this.map?.setLayoutProperty(this.helper.i4.layer.id, 'visibility', 'visible')
6608
- // this.map?.setLayoutProperty(this.helper.countryBoundary.layer.id, 'visibility', 'none')
6609
- // this.map?.setLayoutProperty(this.helper.windy.grayland.layer.id, 'visibility', 'none')
6610
- // this.map?.setLayoutProperty(this.helper.windy.darkmap.layer.id, 'visibility', 'none')
6608
+ // this.map?.getLayer(this.enc)?.setLayoutProperty('visibility', 'visible')
6609
+ // this.map?.setLayoutProperty(this.helper.mapboxCustomer.layers.countryLabel.id, 'visibility', 'none')
6610
+ // this.map?.getLayer(this.helper.windy.grayland.layer.id)?.setLayoutProperty('visibility', 'none')
6611
+ // this.map?.getLayer(this.helper.windy.darkmap.layer.id)?.setLayoutProperty('visibility', 'none')
6611
6612
  // }
6612
6613
  // },
6613
6614
  // immediate: true,
@@ -6620,16 +6621,9 @@ const Yo = {
6620
6621
  // !this.activeWeatherLayers.some((item) => ['temp', 'water-temp'].includes(item.key))
6621
6622
  // ) {
6622
6623
  // this.map?.moveLayer(this.viewport?.rampColorLayer, null)
6623
- // this.map?.getLayer('grayland')?.setLayoutProperty('visibility', 'none')
6624
- // this.map?.getLayer('darkmap')?.setLayoutProperty('visibility', 'none')
6625
- // }
6626
- // },
6627
- // },
6628
- // enc: {
6629
- // handler(newV, oldV) {
6630
- // if (!this.activeWeatherLayers.some((item) => ['wind', 'temp', 'current'].includes(item.key))) {
6631
- // this.map?.getLayer(newV)?.setLayoutProperty('visibility', 'visible')
6632
- // this.map?.getLayer(oldV)?.setLayoutProperty('visibility', 'none')
6624
+ // this.map?.getLayer(this.helper.windy.grayland.layer.id)?.setLayoutProperty('visibility', 'none')
6625
+ // this.map?.getLayer(this.helper.windy.darkmap.layer.id)?.setLayoutProperty('visibility', 'none')
6626
+ // this.map?.getLayer(this.enc)?.setLayoutProperty('visibility', 'visible')
6633
6627
  // }
6634
6628
  // },
6635
6629
  // },
@@ -6640,7 +6634,7 @@ const Yo = {
6640
6634
  const e = (/* @__PURE__ */ new Date()).valueOf();
6641
6635
  let t = 0, r = 0;
6642
6636
  if (this.map) {
6643
- const m = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, u = (o = this.map) == null ? void 0 : o.getBounds(), b = `${u._sw.lng},${u._sw.lat},${u._ne.lng},${u._ne.lat}`;
6637
+ const m = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, u = (o = this.map) == null ? void 0 : o.getBounds(), g = `${u._sw.lng},${u._sw.lat},${u._ne.lng},${u._ne.lat}`;
6644
6638
  if (this.handleRampColorState(), this.particleFactor) {
6645
6639
  const f = Fe.WEATHER_LAYERS.find((p) => {
6646
6640
  var v;
@@ -6651,21 +6645,21 @@ const Yo = {
6651
6645
  if (this.weatherWeight > 0) {
6652
6646
  let f = this.weatherWeight, p;
6653
6647
  if (a.tropicals || this.weatherWeight & 256 && (p = this.weatherLayers.tropicals, p && (f -= 256, p.version = Math.random() + 1)), f > 0) {
6654
- const v = await ae.get(`${this.gateway}/api/arc/weather/layers/links?l=${f}&v=${this.source}&z=${m}&bbox=${b}&t=${this.ts}`, {
6648
+ const v = await ae.get(`${this.gateway}/api/arc/weather/layers/links?l=${f}&v=${this.source}&z=${m}&bbox=${g}&t=${this.ts}`, {
6655
6649
  headers: {
6656
6650
  Authorization: this.token || this.defaultMeteoToken
6657
6651
  }
6658
6652
  });
6659
6653
  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) {
6660
- const g = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, w = [];
6661
- for (const _ in g)
6662
- _ === "ice-edge" && (g[_] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), _ !== "tropicals" && w.push(
6663
- ae.get(g[_], {
6654
+ const b = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, w = [];
6655
+ for (const _ in b)
6656
+ _ === "ice-edge" && (b[_] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), _ !== "tropicals" && w.push(
6657
+ ae.get(b[_], {
6664
6658
  headers: {
6665
6659
  Authorization: this.token || this.defaultMeteoToken,
6666
6660
  key: _
6667
6661
  },
6668
- responseType: /\.(jpg|png)$/.test(g[_]) ? "blob" : "json"
6662
+ responseType: /\.(jpg|png)$/.test(b[_]) ? "blob" : "json"
6669
6663
  }).catch((E) => {
6670
6664
  console.log(`[${_}] fetch layer error: ${E}`);
6671
6665
  })
@@ -6679,7 +6673,7 @@ const Yo = {
6679
6673
  type: ((H = _ == null ? void 0 : _.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
6680
6674
  etime: this.ts
6681
6675
  });
6682
- }), g.tropicals && ae.get(g.tropicals, {
6676
+ }), b.tropicals && ae.get(b.tropicals, {
6683
6677
  headers: {
6684
6678
  Authorization: this.token || this.defaultMeteoToken,
6685
6679
  key: "tropicals"
@@ -6698,19 +6692,19 @@ const Yo = {
6698
6692
  });
6699
6693
  }
6700
6694
  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"]) {
6701
- const g = (c = this.weatherLayers["swell-direction"]) == null ? void 0 : c.raw, w = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
6695
+ const b = (c = this.weatherLayers["swell-direction"]) == null ? void 0 : c.raw, w = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
6702
6696
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
6703
6697
  type: "json",
6704
- direction: g,
6698
+ direction: b,
6705
6699
  height: { raw: w },
6706
6700
  etime: this.ts
6707
6701
  };
6708
6702
  }
6709
6703
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
6710
- const g = (y = this.weatherLayers["current-direction"]) == null ? void 0 : y.raw, w = (d = this.weatherLayers["current-speed"]) == null ? void 0 : d.raw;
6704
+ const b = (y = this.weatherLayers["current-direction"]) == null ? void 0 : y.raw, w = (d = this.weatherLayers["current-speed"]) == null ? void 0 : d.raw;
6711
6705
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
6712
6706
  type: "json",
6713
- direction: g,
6707
+ direction: b,
6714
6708
  speed: { raw: w },
6715
6709
  etime: this.ts
6716
6710
  };
@@ -6748,8 +6742,8 @@ const Yo = {
6748
6742
  );
6749
6743
  const y = await Promise.all(h);
6750
6744
  this.otherLayers = { enc: n }, y.map((d) => {
6751
- var b, f, p;
6752
- const m = ((b = d == null ? void 0 : d.data) == null ? void 0 : b.data) || (d == null ? void 0 : d.data), u = (p = (f = d == null ? void 0 : d.config) == null ? void 0 : f.headers) == null ? void 0 : p.key;
6745
+ var g, f, p;
6746
+ const m = ((g = d == null ? void 0 : d.data) == null ? void 0 : g.data) || (d == null ? void 0 : d.data), u = (p = (f = d == null ? void 0 : d.config) == null ? void 0 : f.headers) == null ? void 0 : p.key;
6753
6747
  this.otherLayers[u] = m;
6754
6748
  });
6755
6749
  }
@@ -6771,8 +6765,8 @@ const Yo = {
6771
6765
  })
6772
6766
  );
6773
6767
  (await Promise.all(h)).map((d) => {
6774
- var b, f, p;
6775
- const m = ((b = d == null ? void 0 : d.data) == null ? void 0 : b.data) || (d == null ? void 0 : d.data), u = (p = (f = d == null ? void 0 : d.config) == null ? void 0 : f.headers) == null ? void 0 : p.key;
6768
+ var g, f, p;
6769
+ const m = ((g = d == null ? void 0 : d.data) == null ? void 0 : g.data) || (d == null ? void 0 : d.data), u = (p = (f = d == null ? void 0 : d.config) == null ? void 0 : f.headers) == null ? void 0 : p.key;
6776
6770
  this.otherLayers[u] = m;
6777
6771
  });
6778
6772
  }
@@ -6835,29 +6829,29 @@ const Yo = {
6835
6829
  for (const u in this.weatherLayers)
6836
6830
  if (this.weatherLayers[u].active && this.weatherLayers[u].type === "json") {
6837
6831
  this.weatherLayers[u].active = !1, this.weatherLayers[u].version = Math.random() + 1;
6838
- let b = [];
6832
+ let g = [];
6839
6833
  if (["swell", "current"].includes(u)) {
6840
6834
  const f = ((y = this.weatherLayers[u]) == null ? void 0 : y.direction) || {};
6841
6835
  for (const p in f)
6842
6836
  if (p > s && p < c && (!(i <= this.zoom) || p % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6843
6837
  const v = f[p].lng;
6844
- o > n ? v.forEach((g, w) => {
6838
+ o > n ? v.forEach((b, w) => {
6845
6839
  var k;
6846
- if ((g >= o && g <= 180 || g >= -180 && g <= n) && (!(i <= this.zoom) || g % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6847
- const _ = C.point([g, p], {
6840
+ if ((b >= o && b <= 180 || b >= -180 && b <= n) && (!(i <= this.zoom) || b % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6841
+ const _ = C.point([b, p], {
6848
6842
  val: f[p].val[w],
6849
6843
  spd: (k = f[p].spd) == null ? void 0 : k[w]
6850
6844
  });
6851
- b.push(_);
6845
+ g.push(_);
6852
6846
  }
6853
- }) : v.forEach((g, w) => {
6847
+ }) : v.forEach((b, w) => {
6854
6848
  var k;
6855
- if (g >= o && g <= n && (!(i <= this.zoom) || g % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6856
- const _ = C.point([g, p], {
6849
+ if (b >= o && b <= n && (!(i <= this.zoom) || b % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6850
+ const _ = C.point([b, p], {
6857
6851
  val: f[p].val[w],
6858
6852
  spd: (k = f[p].spd) == null ? void 0 : k[w]
6859
6853
  });
6860
- b.push(_);
6854
+ g.push(_);
6861
6855
  }
6862
6856
  });
6863
6857
  }
@@ -6866,12 +6860,12 @@ const Yo = {
6866
6860
  if (p) {
6867
6861
  if (!p.data) {
6868
6862
  const v = [];
6869
- for (const g in (d = p.raw) == null ? void 0 : d.LineString) {
6870
- const w = p.raw.LineString[g];
6863
+ for (const b in (d = p.raw) == null ? void 0 : d.LineString) {
6864
+ const w = p.raw.LineString[b];
6871
6865
  for (const k of w)
6872
6866
  v.push(
6873
6867
  C.lineString(k, {
6874
- val: Number(g)
6868
+ val: Number(b)
6875
6869
  })
6876
6870
  );
6877
6871
  p.data = C.featureCollection(v);
@@ -6879,7 +6873,7 @@ const Yo = {
6879
6873
  }
6880
6874
  if (p.data) {
6881
6875
  const v = this.handleBboxClip(p.data, r);
6882
- b = b.concat(v);
6876
+ g = g.concat(v);
6883
6877
  }
6884
6878
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("height elapsed: ", t, ", total: ", e += t);
6885
6879
  }
@@ -6888,20 +6882,20 @@ const Yo = {
6888
6882
  const p = this.weatherLayers[u].speed;
6889
6883
  if (p) {
6890
6884
  if (!p.data) {
6891
- const g = [];
6885
+ const b = [];
6892
6886
  for (const w in (m = p.raw) == null ? void 0 : m.Polygon) {
6893
6887
  const k = p.raw.Polygon[w];
6894
6888
  for (const _ of k)
6895
- g.push(
6889
+ b.push(
6896
6890
  C.polygon(_, {
6897
6891
  val: Number(w)
6898
6892
  })
6899
6893
  );
6900
6894
  }
6901
- p.data = C.featureCollection(g);
6895
+ p.data = C.featureCollection(b);
6902
6896
  }
6903
- const v = i < this.zoom ? p.data.features.filter((g) => g.properties.val > 0.5) : p.data.features;
6904
- b = b.concat(v), t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("speed elapsed: ", t, ", total: ", e += t);
6897
+ const v = i < this.zoom ? p.data.features.filter((b) => b.properties.val > 0.5) : p.data.features;
6898
+ g = g.concat(v), t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("speed elapsed: ", t, ", total: ", e += t);
6905
6899
  }
6906
6900
  }
6907
6901
  } else if (u === "wind") {
@@ -6909,55 +6903,55 @@ const Yo = {
6909
6903
  for (const p in f)
6910
6904
  if (p > s && p < c && (!(i <= this.zoom) || p % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6911
6905
  const v = f[p].lng;
6912
- o > n ? v.forEach((g, w) => {
6913
- if ((g >= o && g <= 180 || g >= -180 && g <= n) && (!(i <= this.zoom) || g % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6914
- const k = C.point([g, p], {
6906
+ o > n ? v.forEach((b, w) => {
6907
+ if ((b >= o && b <= 180 || b >= -180 && b <= n) && (!(i <= this.zoom) || b % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6908
+ const k = C.point([b, p], {
6915
6909
  val: f[p].val[w],
6916
6910
  spd: f[p].spd[w]
6917
6911
  });
6918
- b.push(k);
6912
+ g.push(k);
6919
6913
  }
6920
- }) : v.forEach((g, w) => {
6921
- if (g >= o && g <= n && (!(i <= this.zoom) || g % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6922
- const k = C.point([g, p], {
6914
+ }) : v.forEach((b, w) => {
6915
+ if (b >= o && b <= n && (!(i <= this.zoom) || b % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6916
+ const k = C.point([b, p], {
6923
6917
  val: f[p].val[w],
6924
6918
  spd: f[p].spd[w]
6925
6919
  });
6926
- b.push(k);
6920
+ g.push(k);
6927
6921
  }
6928
6922
  });
6929
6923
  }
6930
6924
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("wind barb elapsed: ", t, ", total: ", e += t);
6931
6925
  } else if (u === "sig-wave-height") {
6932
6926
  if (this.weatherLayers[u].data)
6933
- b = this.weatherLayers[u].data;
6927
+ g = this.weatherLayers[u].data;
6934
6928
  else {
6935
6929
  const f = this.weatherLayers[u].raw;
6936
6930
  if (f) {
6937
6931
  const p = [];
6938
6932
  for (const v in f.Polygon) {
6939
- const g = f.Polygon[v];
6940
- for (const w of g)
6933
+ const b = f.Polygon[v];
6934
+ for (const w of b)
6941
6935
  p.push(
6942
6936
  C.polygon(w, {
6943
6937
  val: Number(v)
6944
6938
  })
6945
6939
  );
6946
6940
  }
6947
- b = b.concat(p);
6941
+ g = g.concat(p);
6948
6942
  }
6949
6943
  }
6950
6944
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("sigWave elapsed: ", t, ", total: ", e += t);
6951
6945
  } else if (u === "prmsl") {
6952
6946
  if (this.weatherLayers[u].data)
6953
- b = this.weatherLayers[u].data;
6947
+ g = this.weatherLayers[u].data;
6954
6948
  else {
6955
6949
  const f = this.weatherLayers[u].raw;
6956
6950
  if (f) {
6957
6951
  const p = [];
6958
6952
  for (const v in f.LineString) {
6959
- const g = f.LineString[v];
6960
- for (const w of g)
6953
+ const b = f.LineString[v];
6954
+ for (const w of b)
6961
6955
  p.push(
6962
6956
  C.lineString(w, {
6963
6957
  val: Number(v)
@@ -6965,40 +6959,40 @@ const Yo = {
6965
6959
  );
6966
6960
  }
6967
6961
  for (const v in f.Point)
6968
- f.Point[v].lng.forEach((g, w) => {
6969
- g = Re(g), p.push(
6970
- C.point([g, v], {
6962
+ f.Point[v].lng.forEach((b, w) => {
6963
+ b = Re(b), p.push(
6964
+ C.point([b, v], {
6971
6965
  val: f.Point[v].val[w],
6972
6966
  type: f.Point[v].type[w]
6973
6967
  })
6974
6968
  );
6975
6969
  });
6976
- b = b.concat(p);
6970
+ g = g.concat(p);
6977
6971
  }
6978
6972
  }
6979
6973
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
6980
6974
  } else if (u === "arctic" || u === "iceberg") {
6981
6975
  if (this.weatherLayers[u].data)
6982
- b = this.weatherLayers[u].data;
6976
+ g = this.weatherLayers[u].data;
6983
6977
  else {
6984
6978
  const f = this.weatherLayers[u].raw;
6985
6979
  if (f) {
6986
6980
  const p = [];
6987
6981
  for (const v in f.LineString) {
6988
- const g = f.LineString[v];
6989
- for (const w of g)
6982
+ const b = f.LineString[v];
6983
+ for (const w of b)
6990
6984
  p.push(
6991
6985
  C.lineString(w, {
6992
6986
  val: Number(v)
6993
6987
  })
6994
6988
  );
6995
6989
  }
6996
- b = b.concat(p);
6990
+ g = g.concat(p);
6997
6991
  }
6998
6992
  }
6999
6993
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e);
7000
6994
  }
7001
- console.log(u, " elapsed: ", t, ", total: ", e += t), b.length && (this.weatherLayers[u].data = C.featureCollection(b)), this.weatherLayers[u].active = !0, this.weatherLayers[u].version = Math.random() + 1;
6995
+ console.log(u, " elapsed: ", t, ", total: ", e += t), g.length && (this.weatherLayers[u].data = C.featureCollection(g)), this.weatherLayers[u].active = !0, this.weatherLayers[u].version = Math.random() + 1;
7002
6996
  }
7003
6997
  },
7004
6998
  handleDragEndWithZoom4Image() {
@@ -7091,7 +7085,7 @@ const Yo = {
7091
7085
  };
7092
7086
  function Ko(a, e, t, r, i, o) {
7093
7087
  var q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee, Ne, He, Ze, Xe, Je, qe, Ye, Qe;
7094
- const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), y = z("IdmPrmsl"), d = z("IdmIceberg"), m = z("IdmTropicals"), u = z("IdmCurrents"), b = z("IdmCurrentParticle"), f = z("IdmWindBarb"), p = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), E = z("IdmWarZone"), D = z("IdmGmdssArea"), $ = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), H = z("IdmLoadLine"), X = z("IdmTimezone"), ee = z("IdmVRA"), he = z("IdmSpecialArea"), te = z("IdmTerminator"), A = z("IdmLatLng"), V = z("IdmMeasure"), de = z("IdmPoint");
7088
+ const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), y = z("IdmPrmsl"), d = z("IdmIceberg"), m = z("IdmTropicals"), u = z("IdmCurrents"), g = z("IdmCurrentParticle"), f = z("IdmWindBarb"), p = z("IdmWindParticle"), v = z("IdmPrecip3h"), b = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), E = z("IdmWarZone"), D = z("IdmGmdssArea"), $ = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), H = z("IdmLoadLine"), X = z("IdmTimezone"), ee = z("IdmVRA"), he = z("IdmSpecialArea"), te = z("IdmTerminator"), A = z("IdmLatLng"), V = z("IdmMeasure"), de = z("IdmPoint");
7095
7089
  return t.map ? (L(), x("div", Qo, [
7096
7090
  P(n, I({
7097
7091
  ref: "layer",
@@ -7149,7 +7143,7 @@ function Ko(a, e, t, r, i, o) {
7149
7143
  "toggle-version": i.toggleVersion,
7150
7144
  "weather-layers": i.weatherLayers
7151
7145
  }, a.$attrs, { onParticle: o.handleParticle }), null, 16, ["map", "current", "before-layer", "show-particle", "margin-bottom", "toggle-version", "weather-layers", "onParticle"]),
7152
- P(b, I({
7146
+ P(g, I({
7153
7147
  viewport: i.viewport,
7154
7148
  factor: (we = i.weatherLayers) == null ? void 0 : we["current-particle"],
7155
7149
  "before-layer": t.beforeLayer,
@@ -7180,7 +7174,7 @@ function Ko(a, e, t, r, i, o) {
7180
7174
  "before-layer": t.beforeLayer,
7181
7175
  "toggle-version": i.toggleVersion
7182
7176
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7183
- P(g, I({
7177
+ P(b, I({
7184
7178
  viewport: i.viewport,
7185
7179
  factor: (ke = i.weatherLayers) == null ? void 0 : ke.visibility,
7186
7180
  "before-layer": t.beforeLayer,