@idmwx/idmui-gl3 4.1.5 → 4.1.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
@@ -6,9 +6,9 @@ import { resolveComponent as z, openBlock as x, createElementBlock as _, createE
6
6
  import * as C from "@turf/turf";
7
7
  import Ze from "@mapbox/sphericalmercator";
8
8
  import Z from "moment";
9
- import re from "mapbox-gl";
9
+ import K from "mapbox-gl";
10
10
  import { TropicalHelper as We, LngLatHelper as F, LaneHelper as Q } from "@idm-plugin/geo";
11
- import ie from "axios";
11
+ import re from "axios";
12
12
  const T = (a, e) => {
13
13
  const t = a.__vccOpts || a;
14
14
  for (const [r, i] of e)
@@ -3951,7 +3951,7 @@ const Ht = {
3951
3951
  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), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
3952
3952
  },
3953
3953
  handleDateChange() {
3954
- var a, e, t, r, i, o, n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, N, O, j, H, oe, se, ne, le, ce, he, de, K;
3954
+ var a, e, t, r, i, o, n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, N, O, j, H, oe, se, ne, le, ce, he, de, ee;
3955
3955
  if ((a = this.interpolateMarkers) == null || a.forEach((G) => G == null ? void 0 : G.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
3956
3956
  const G = Z(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), J = this.interpolateData.filter((E) => E.properties.date === G.format() && !E.properties.disabled), pe = this.handleComputePolygons(J), X = C.featureCollection([...J]);
3957
3957
  pe.forEach((E) => {
@@ -3990,21 +3990,21 @@ const Ht = {
3990
3990
  fill="#ffffff" p-id="18386"></path>
3991
3991
  </svg>`, q = document.createElement("div");
3992
3992
  q.className = "hurricane-hourly-marker", q.innerHTML = `<div class="${E.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${me}</div>`;
3993
- const ue = new re.Marker(q).setLngLat(E.geometry.coordinates).addTo(this.map);
3993
+ const ue = new K.Marker(q).setLngLat(E.geometry.coordinates).addTo(this.map);
3994
3994
  if (this.interpolateMarkers.push(ue), (oe = E.properties) != null && oe.showCircle) {
3995
- const ee = { radius: 100, coordinates: E.geometry.coordinates }, te = { radius: 200, coordinates: E.geometry.coordinates }, ae = { radius: 500, coordinates: E.geometry.coordinates };
3995
+ const te = { radius: 100, coordinates: E.geometry.coordinates }, ae = { radius: 200, coordinates: E.geometry.coordinates }, ie = { radius: 500, coordinates: E.geometry.coordinates };
3996
3996
  (se = this.circleSourceData) == null || se.features.push(
3997
- C.circle(ee.coordinates, ee.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3998
- ), (ne = this.circleSourceData) == null || ne.features.push(
3999
3997
  C.circle(te.coordinates, te.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4000
- ), (le = this.circleSourceData) == null || le.features.push(
3998
+ ), (ne = this.circleSourceData) == null || ne.features.push(
4001
3999
  C.circle(ae.coordinates, ae.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4000
+ ), (le = this.circleSourceData) == null || le.features.push(
4001
+ C.circle(ie.coordinates, ie.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4002
4002
  );
4003
4003
  }
4004
4004
  (he = (ce = this.map) == null ? void 0 : ce.getSource(this.circleSource)) == null || he.setData(this.circleSourceData);
4005
4005
  }
4006
4006
  } else
4007
- (de = this.map) != null && de.getSource(this.interpolateSource) && ((K = this.map) == null || K.getSource(this.interpolateSource).setData(this.empty));
4007
+ (de = this.map) != null && de.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
4008
4008
  },
4009
4009
  handleClick(a) {
4010
4010
  var o, n, s, c, h, d, p, g;
@@ -4031,7 +4031,7 @@ const Ht = {
4031
4031
  showCircle: (g = (p = t[0]) == null ? void 0 : p.properties) == null ? void 0 : g.showCircle
4032
4032
  }, this.showTropicals = !0;
4033
4033
  const i = document.getElementById("active-tropical");
4034
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([a.lngLat.lng, a.lngLat.lat]) : this.activeTropicalsMarker = new re.Marker(i).setLngLat([a.lngLat.lng, a.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
4034
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([a.lngLat.lng, a.lngLat.lat]) : this.activeTropicalsMarker = new K.Marker(i).setLngLat([a.lngLat.lng, a.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
4035
4035
  },
4036
4036
  handleForecastToggle(a) {
4037
4037
  var r, i, o, n, s, c;
@@ -4870,7 +4870,7 @@ const Ta = {
4870
4870
  var a;
4871
4871
  if (this.meteo) {
4872
4872
  const e = document.getElementById("point-meteo");
4873
- this.meteoMarker ? (a = this.meteoMarker) == null || a.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new re.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
4873
+ this.meteoMarker ? (a = this.meteoMarker) == null || a.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new K.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
4874
4874
  }
4875
4875
  }
4876
4876
  }
@@ -4883,7 +4883,7 @@ const Ta = {
4883
4883
  style: { "justify-content": "flex-end" }
4884
4884
  };
4885
4885
  function Ha(a, e, t, r, i, o) {
4886
- var n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, N, O, j, H, oe, se, ne, le, ce, he, de, K, G, J, pe, X, E, U, me, q, ue, ee, te, ae, fe, ge, be, ve, Le;
4886
+ var n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, N, O, j, H, oe, se, ne, le, ce, he, de, ee, G, J, pe, X, E, U, me, q, ue, te, ae, ie, fe, ge, be, ve, Le;
4887
4887
  return Se((x(), _("div", Ea, [
4888
4888
  l("div", Ra, [
4889
4889
  l("div", Ia, [
@@ -4909,11 +4909,11 @@ function Ha(a, e, t, r, i, o) {
4909
4909
  ]),
4910
4910
  l("div", Oa, [
4911
4911
  e[4] || (e[4] = l("label", null, "Sig.Wave", -1)),
4912
- l("span", null, S(((J = (G = (K = t.meteo) == null ? void 0 : K.wave) == null ? void 0 : G.sig) == null ? void 0 : J.direction) || "-") + "/" + S(o.roundPrecision((E = (X = (pe = t.meteo) == null ? void 0 : pe.wave) == null ? void 0 : X.sig) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((q = (me = (U = t.meteo) == null ? void 0 : U.wave) == null ? void 0 : me.sig) == null ? void 0 : q.period, 1)) + "[s]", 1)
4912
+ l("span", null, S(((J = (G = (ee = t.meteo) == null ? void 0 : ee.wave) == null ? void 0 : G.sig) == null ? void 0 : J.direction) || "-") + "/" + S(o.roundPrecision((E = (X = (pe = t.meteo) == null ? void 0 : pe.wave) == null ? void 0 : X.sig) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((q = (me = (U = t.meteo) == null ? void 0 : U.wave) == null ? void 0 : me.sig) == null ? void 0 : q.period, 1)) + "[s]", 1)
4913
4913
  ]),
4914
4914
  l("div", ja, [
4915
4915
  e[5] || (e[5] = l("label", null, "Current", -1)),
4916
- l("span", null, S(((ee = (ue = t.meteo) == null ? void 0 : ue.current) == null ? void 0 : ee.direction) || "-") + "/" + S(o.roundPrecision((ae = (te = t.meteo) == null ? void 0 : te.current) == null ? void 0 : ae.kts, 2)) + "[kts]", 1)
4916
+ l("span", null, S(((te = (ue = t.meteo) == null ? void 0 : ue.current) == null ? void 0 : te.direction) || "-") + "/" + S(o.roundPrecision((ie = (ae = t.meteo) == null ? void 0 : ae.current) == null ? void 0 : ie.kts, 2)) + "[kts]", 1)
4917
4917
  ]),
4918
4918
  l("div", Fa, [
4919
4919
  e[6] || (e[6] = l("label", null, "Precip", -1)),
@@ -5288,7 +5288,11 @@ const ii = {
5288
5288
  var o;
5289
5289
  return i.properties.id === ((o = e == null ? void 0 : e.properties) == null ? void 0 : o.id);
5290
5290
  })[0];
5291
- t && (this.showZone = !0, this.form = { ...t.properties });
5291
+ if (t) {
5292
+ this.showZone = !0, this.form = { ...t.properties };
5293
+ const i = document.getElementById("idm-gl3-zone-info");
5294
+ this.marker ? this.marker.setLngLat([a.lngLat.lng, a.lngLat.lat]) : this.marker = new K.Marker(i).setLngLat([a.lngLat.lng, a.lngLat.lat]).setOffset([0, 0]).addTo(this.map);
5295
+ }
5292
5296
  },
5293
5297
  handleRender() {
5294
5298
  var a;
@@ -5374,7 +5378,7 @@ const ii = {
5374
5378
  this.map.getLayer(this.polygonLayer) && this.map.removeLayer(this.polygonLayer), this.map.getLayer(this.polygonLayer + "-border") && this.map.removeLayer(this.polygonLayer + "-border"), this.map.getLayer(this.polygonLabelLayer) && this.map.removeLayer(this.polygonLabelLayer), this.map.getLayer(this.lineLayer) && this.map.removeLayer(this.lineLayer), this.map.getLayer(this.lineLabelLayer) && this.map.removeLayer(this.lineLabelLayer), this.map.getLayer(this.pointLayer) && this.map.removeLayer(this.pointLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
5375
5379
  }
5376
5380
  }
5377
- }, ri = { id: "zone-info" }, oi = ["innerHTML"];
5381
+ }, ri = { id: "idm-gl3-zone-info" }, oi = ["innerHTML"];
5378
5382
  function si(a, e, t, r, i, o) {
5379
5383
  var n;
5380
5384
  return Se((x(), _("div", ri, [
@@ -5390,7 +5394,7 @@ function si(a, e, t, r, i, o) {
5390
5394
  [ke, i.showZone]
5391
5395
  ]);
5392
5396
  }
5393
- const ni = /* @__PURE__ */ T(ii, [["render", si], ["__scopeId", "data-v-c0864afc"]]);
5397
+ const ni = /* @__PURE__ */ T(ii, [["render", si]]);
5394
5398
  const li = {
5395
5399
  name: "IdmPort",
5396
5400
  props: {
@@ -5444,7 +5448,7 @@ const li = {
5444
5448
  if (t) {
5445
5449
  this.showPort = !0, this.form = { ...t.properties }, this.form.lng = t.geometry.coordinates[0], this.form.lat = t.geometry.coordinates[1];
5446
5450
  const i = document.getElementById("port-info");
5447
- this.marker ? this.marker.setLngLat([a.lngLat.lng, a.lngLat.lat]) : this.marker = new re.Marker(i).setLngLat([a.lngLat.lng, a.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
5451
+ this.marker ? this.marker.setLngLat([a.lngLat.lng, a.lngLat.lat]) : this.marker = new K.Marker(i).setLngLat([a.lngLat.lng, a.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
5448
5452
  }
5449
5453
  },
5450
5454
  handleEmit() {
@@ -6266,7 +6270,7 @@ const je = /* @__PURE__ */ T(Ii, [["render", Di], ["__scopeId", "data-v-7367f59b
6266
6270
  const s = this.geojson.filter((c) => c.id === e.split("-")[0])[0].features.filter((c) => c.geometry.type === "Point");
6267
6271
  if (s.length > 2 && s.filter((h) => h.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
6268
6272
  const h = document.createElement("div");
6269
- h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new re.Marker(h).setOffset([24, 0]).setLngLat([a.lngLat.lng, a.lngLat.lat]).addTo(this.map);
6273
+ h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new K.Marker(h).setOffset([24, 0]).setLngLat([a.lngLat.lng, a.lngLat.lat]).addTo(this.map);
6270
6274
  }
6271
6275
  }
6272
6276
  },
@@ -6374,7 +6378,7 @@ const je = /* @__PURE__ */ T(Ii, [["render", Di], ["__scopeId", "data-v-7367f59b
6374
6378
  this.tipMarker._element.innerHTML = s, this.tipMarker.setLngLat([t.lng, t.lat]);
6375
6379
  else {
6376
6380
  const c = document.createElement("div");
6377
- c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new re.Marker(c).setOffset([140, 0]).setLngLat([t.lng, t.lat]).addTo(this.map);
6381
+ c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new K.Marker(c).setOffset([140, 0]).setLngLat([t.lng, t.lat]).addTo(this.map);
6378
6382
  }
6379
6383
  },
6380
6384
  handleMove(a) {
@@ -6432,12 +6436,12 @@ const je = /* @__PURE__ */ T(Ii, [["render", Di], ["__scopeId", "data-v-7367f59b
6432
6436
  for (const n of o) {
6433
6437
  const s = document.createElement("div");
6434
6438
  s.id = `${a.id}-${n.properties.id}`, s.className = `${a.closed ? "point-marker closed" : "point-marker"}`, s.innerHTML = '<div class="marker-circle"></div>';
6435
- const c = new re.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
6439
+ const c = new K.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
6436
6440
  c.on("drag", this.handleDrag), c.on("dragend", this.handleDragEnd), this.pointMarkers[a.id] ? this.pointMarkers[a.id].push(c) : this.pointMarkers[a.id] = [c];
6437
6441
  }
6438
6442
  if (a.closed) {
6439
6443
  const n = o.at(-1), c = a.features.filter((d) => d.geometry.type === "LineString").at(-1), h = document.createElement("div");
6440
- h.className = "point-summary-marker", h.innerHTML = `<div id="${a.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[a.id] = new re.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
6444
+ h.className = "point-summary-marker", h.innerHTML = `<div id="${a.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[a.id] = new K.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
6441
6445
  }
6442
6446
  }
6443
6447
  },
@@ -6698,7 +6702,7 @@ const $i = {
6698
6702
  if (this.weatherWeight > 0) {
6699
6703
  let f = this.weatherWeight, m;
6700
6704
  if (a.tropicals || this.weatherWeight & 256 && (m = this.weatherLayers.tropicals, m && (f -= 256, m.version = Math.random() + 1)), f > 0) {
6701
- const v = await ie.get(`${this.gateway}/api/arc/weather/layers/links?l=${f}&v=${this.source}&z=${g}&bbox=${y}&t=${this.ts}`, {
6705
+ const v = await re.get(`${this.gateway}/api/arc/weather/layers/links?l=${f}&v=${this.source}&z=${g}&bbox=${y}&t=${this.ts}`, {
6702
6706
  headers: {
6703
6707
  Authorization: this.token || this.defaultMeteoToken
6704
6708
  }
@@ -6707,7 +6711,7 @@ const $i = {
6707
6711
  const b = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, w = [];
6708
6712
  for (const L in b)
6709
6713
  L === "ice-edge" && (b[L] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), L !== "tropicals" && w.push(
6710
- ie.get(b[L], {
6714
+ re.get(b[L], {
6711
6715
  headers: {
6712
6716
  Authorization: this.token || this.defaultMeteoToken,
6713
6717
  key: L
@@ -6726,7 +6730,7 @@ const $i = {
6726
6730
  type: ((H = L == null ? void 0 : L.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
6727
6731
  etime: this.ts
6728
6732
  });
6729
- }), b.tropicals && ie.get(b.tropicals, {
6733
+ }), b.tropicals && re.get(b.tropicals, {
6730
6734
  headers: {
6731
6735
  Authorization: this.token || this.defaultMeteoToken,
6732
6736
  key: "tropicals"
@@ -6777,7 +6781,7 @@ const $i = {
6777
6781
  let n = !1;
6778
6782
  if (this.otherWeight & 2048 && (o = this.otherWeight - 2048, n = !0), o) {
6779
6783
  if (a.all) {
6780
- const s = await ie.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
6784
+ const s = await re.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
6781
6785
  headers: {
6782
6786
  Authorization: this.token || this.defaultMeteoToken
6783
6787
  }
@@ -6786,7 +6790,7 @@ const $i = {
6786
6790
  const c = (t = s == null ? void 0 : s.data) == null ? void 0 : t.data, h = [];
6787
6791
  for (const p in c)
6788
6792
  h.push(
6789
- ie.get(c[p], {
6793
+ re.get(c[p], {
6790
6794
  headers: {
6791
6795
  Authorization: this.token || this.defaultMeteoToken,
6792
6796
  key: p
@@ -6801,7 +6805,7 @@ const $i = {
6801
6805
  });
6802
6806
  }
6803
6807
  } else if (a.dayNight && o & 1024) {
6804
- const s = await ie.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
6808
+ const s = await re.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
6805
6809
  headers: {
6806
6810
  Authorization: this.token || this.defaultMeteoToken
6807
6811
  }
@@ -6810,7 +6814,7 @@ const $i = {
6810
6814
  const c = (i = s == null ? void 0 : s.data) == null ? void 0 : i.data, h = [];
6811
6815
  for (const p in c)
6812
6816
  h.push(
6813
- ie.get(c[p], {
6817
+ re.get(c[p], {
6814
6818
  headers: {
6815
6819
  Authorization: this.token || this.defaultMeteoToken,
6816
6820
  key: p
@@ -7123,7 +7127,7 @@ const $i = {
7123
7127
  ts: e.utc().format(),
7124
7128
  wt: !0,
7125
7129
  src: this.source
7126
- }, r = await ie.get(`${this.gateway}/api/arc/meteo/query`, {
7130
+ }, r = await re.get(`${this.gateway}/api/arc/meteo/query`, {
7127
7131
  params: t,
7128
7132
  headers: {
7129
7133
  Authorization: this.token || this.defaultMeteoToken
@@ -7147,7 +7151,7 @@ const $i = {
7147
7151
  className: "map-gl-home"
7148
7152
  };
7149
7153
  function Vi(a, e, t, r, i, o) {
7150
- var K, G, J, pe, X, E, U, me, q, ue, ee, te, ae, fe, ge, be, ve, Le, ze, Ee, Re, Ie, De, Ae, Me, Be;
7154
+ var ee, G, J, pe, X, E, U, me, q, ue, te, ae, ie, fe, ge, be, ve, Le, ze, Ee, Re, Ie, De, Ae, Me, Be;
7151
7155
  const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), g = z("IdmTropicals"), u = z("IdmCurrents"), y = z("IdmCurrentParticle"), f = z("IdmWindBarb"), m = z("IdmWindParticle"), v = z("IdmPrecip3h"), b = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), L = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), N = z("IdmEcaZone"), O = z("IdmAlertZone"), j = z("IdmPort"), H = z("IdmLoadLine"), oe = z("IdmTimezone"), se = z("IdmVRA"), ne = z("IdmSpecialArea"), le = z("IdmTerminator"), ce = z("IdmLatLng"), he = z("IdmMeasure"), de = z("IdmPoint");
7152
7156
  return t.map ? (x(), _("div", Ui, [
7153
7157
  P(n, R({
@@ -7167,7 +7171,7 @@ function Vi(a, e, t, r, i, o) {
7167
7171
  P(s, R({
7168
7172
  map: t.map,
7169
7173
  token: t.token,
7170
- enabled: (K = i.otherLayers) == null ? void 0 : K.enc,
7174
+ enabled: (ee = i.otherLayers) == null ? void 0 : ee.enc,
7171
7175
  "toggle-version": i.toggleVersion
7172
7176
  }, a.$attrs, {
7173
7177
  onEnc: e[4] || (e[4] = (Y) => i.enc = Y)
@@ -7231,19 +7235,19 @@ function Vi(a, e, t, r, i, o) {
7231
7235
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "show-particle", "toggle-version", "weather-layers", "onParticle"]),
7232
7236
  P(m, R({
7233
7237
  viewport: i.viewport,
7234
- factor: (ee = i.weatherLayers) == null ? void 0 : ee["wind-particle"],
7238
+ factor: (te = i.weatherLayers) == null ? void 0 : te["wind-particle"],
7235
7239
  "before-layer": t.beforeLayer,
7236
7240
  "toggle-version": i.toggleVersion
7237
7241
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7238
7242
  P(v, R({
7239
7243
  viewport: i.viewport,
7240
- factor: (te = i.weatherLayers) == null ? void 0 : te.precip3h,
7244
+ factor: (ae = i.weatherLayers) == null ? void 0 : ae.precip3h,
7241
7245
  "before-layer": t.beforeLayer,
7242
7246
  "toggle-version": i.toggleVersion
7243
7247
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7244
7248
  P(b, R({
7245
7249
  viewport: i.viewport,
7246
- factor: (ae = i.weatherLayers) == null ? void 0 : ae.visibility,
7250
+ factor: (ie = i.weatherLayers) == null ? void 0 : ie.visibility,
7247
7251
  "before-layer": t.beforeLayer,
7248
7252
  "toggle-version": i.toggleVersion
7249
7253
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),