@idmwx/idmui-gl3 5.1.1 → 5.1.2

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
@@ -1,7 +1,7 @@
1
1
  var J0 = Object.defineProperty;
2
2
  var Y0 = (b, M, z) => M in b ? J0(b, M, { enumerable: !0, configurable: !0, writable: !0, value: z }) : b[M] = z;
3
3
  var Y = (b, M, z) => (Y0(b, typeof M != "symbol" ? M + "" : M, z), z);
4
- import { LayerHelper as D0, CompanyHelper as S0 } from "@idm-plugin/tag";
4
+ import { LayerHelper as D0, CompanyHelper as P0 } from "@idm-plugin/tag";
5
5
  import K from "moment";
6
6
  import f0 from "axios";
7
7
  import { resolveComponent as x, openBlock as s, createElementBlock as W, createElementVNode as c, normalizeStyle as O0, createVNode as T, withCtx as a0, normalizeClass as U, Fragment as H, renderList as _, toDisplayString as C, createCommentVNode as j, createBlock as V0, createTextVNode as z0, withDirectives as y0, createStaticVNode as Z0, vShow as X0, defineComponent as $0, withModifiers as E0, mergeProps as Q } from "vue";
@@ -26,19 +26,19 @@ var F0 = { exports: {} }, G0 = { exports: {} };
26
26
  })(b1, function(M) {
27
27
  M.version === void 0 && M.default && (M = M.default);
28
28
  var z = "0.5.47", O = {}, p = {}, o = {}, A = {}, a = {}, q;
29
- (!M || typeof M.version != "string") && e0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
29
+ (!M || typeof M.version != "string") && t0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
30
30
  var r = M.version.split("."), t = +r[0], n = +r[1];
31
- (t < 2 || t === 2 && n < 6) && e0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
31
+ (t < 2 || t === 2 && n < 6) && t0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
32
32
  function l(e) {
33
33
  return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
34
34
  }
35
35
  function d(e) {
36
- var i = 0, L = e.split("."), N = L[0], w = L[1] || "", D = 1, Z, P = 0, G = 1;
36
+ var i = 0, L = e.split("."), N = L[0], w = L[1] || "", D = 1, Z, S = 0, G = 1;
37
37
  for (e.charCodeAt(0) === 45 && (i = 1, G = -1), i; i < N.length; i++)
38
- Z = l(N.charCodeAt(i)), P = 60 * P + Z;
38
+ Z = l(N.charCodeAt(i)), S = 60 * S + Z;
39
39
  for (i = 0; i < w.length; i++)
40
- D = D / 60, Z = l(w.charCodeAt(i)), P += Z * D;
41
- return P * G;
40
+ D = D / 60, Z = l(w.charCodeAt(i)), S += Z * D;
41
+ return S * G;
42
42
  }
43
43
  function B(e) {
44
44
  for (var i = 0; i < e.length; i++)
@@ -96,9 +96,9 @@ var F0 = { exports: {} }, G0 = { exports: {} };
96
96
  });
97
97
  },
98
98
  parse: function(e) {
99
- var i = +e, L = this.offsets, N = this.untils, w = N.length - 1, D, Z, P, G;
99
+ var i = +e, L = this.offsets, N = this.untils, w = N.length - 1, D, Z, S, G;
100
100
  for (G = 0; G < w; G++)
101
- if (D = L[G], Z = L[G + 1], P = L[G && G - 1], D < Z && I.moveAmbiguousForward ? D = Z : D > P && I.moveInvalidForward && (D = P), i < N[G] - D * 6e4)
101
+ if (D = L[G], Z = L[G + 1], S = L[G && G - 1], D < Z && I.moveAmbiguousForward ? D = Z : D > S && I.moveInvalidForward && (D = S), i < N[G] - D * 6e4)
102
102
  return L[G];
103
103
  return L[w];
104
104
  },
@@ -106,7 +106,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
106
106
  return this.abbrs[this._index(e)];
107
107
  },
108
108
  offset: function(e) {
109
- return e0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
109
+ return t0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
110
110
  },
111
111
  utcOffset: function(e) {
112
112
  return this.offsets[this._index(e)];
@@ -131,11 +131,11 @@ var F0 = { exports: {} }, G0 = { exports: {} };
131
131
  return e;
132
132
  }
133
133
  function V() {
134
- var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), L = i.offset, N = [i], w, D, Z, P;
135
- for (P = 1; P < 48; P++)
136
- Z = new Date(e, P, 1).getTimezoneOffset(), Z !== L && (D = new y(new Date(e, P, 1)), w = J(i, D), N.push(w), N.push(new y(new Date(w.at + 6e4))), i = D, L = Z);
137
- for (P = 0; P < 4; P++)
138
- N.push(new y(new Date(e + P, 0, 1))), N.push(new y(new Date(e + P, 6, 1)));
134
+ var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), L = i.offset, N = [i], w, D, Z, S;
135
+ for (S = 1; S < 48; S++)
136
+ Z = new Date(e, S, 1).getTimezoneOffset(), Z !== L && (D = new y(new Date(e, S, 1)), w = J(i, D), N.push(w), N.push(new y(new Date(w.at + 6e4))), i = D, L = Z);
137
+ for (S = 0; S < 4; S++)
138
+ N.push(new y(new Date(e + S, 0, 1))), N.push(new y(new Date(e + S, 6, 1)));
139
139
  return N;
140
140
  }
141
141
  function u(e, i) {
@@ -146,14 +146,14 @@ var F0 = { exports: {} }, G0 = { exports: {} };
146
146
  for (B(i), L = 0; L < i.length; L++)
147
147
  N = i[L], a[N] = a[N] || {}, a[N][e] = !0;
148
148
  }
149
- function A0(e) {
150
- var i = e.length, L = {}, N = [], w = {}, D, Z, P, G;
149
+ function e0(e) {
150
+ var i = e.length, L = {}, N = [], w = {}, D, Z, S, G;
151
151
  for (D = 0; D < i; D++)
152
- if (P = e[D].offset, !w.hasOwnProperty(P)) {
153
- G = a[P] || {};
152
+ if (S = e[D].offset, !w.hasOwnProperty(S)) {
153
+ G = a[S] || {};
154
154
  for (Z in G)
155
155
  G.hasOwnProperty(Z) && (L[Z] = !0);
156
- w[P] = !0;
156
+ w[S] = !0;
157
157
  }
158
158
  for (D in L)
159
159
  L.hasOwnProperty(D) && N.push(A[D]);
@@ -166,13 +166,13 @@ var F0 = { exports: {} }, G0 = { exports: {} };
166
166
  var i = A[i0(e)];
167
167
  if (i)
168
168
  return i;
169
- e0("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
169
+ t0("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
170
170
  }
171
171
  } catch {
172
172
  }
173
- var L = V(), N = L.length, w = A0(L), D = [], Z, P, G;
174
- for (P = 0; P < w.length; P++) {
175
- for (Z = new F(p0(w[P])), G = 0; G < N; G++)
173
+ var L = V(), N = L.length, w = e0(L), D = [], Z, S, G;
174
+ for (S = 0; S < w.length; S++) {
175
+ for (Z = new F(p0(w[S])), G = 0; G < N; G++)
176
176
  Z.scoreOffsetAt(L[G]);
177
177
  D.push(Z);
178
178
  }
@@ -235,21 +235,21 @@ var F0 = { exports: {} }, G0 = { exports: {} };
235
235
  function s0(e) {
236
236
  u0(e.zones), L0(e.links), r0(e.countries), I.dataVersion = e.version;
237
237
  }
238
- function S(e) {
239
- return S.didShowError || (S.didShowError = !0, e0("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!p0(e);
238
+ function P(e) {
239
+ return P.didShowError || (P.didShowError = !0, t0("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!p0(e);
240
240
  }
241
241
  function M0(e) {
242
242
  var i = e._f === "X" || e._f === "x";
243
243
  return !!(e._a && e._tzm === void 0 && !i);
244
244
  }
245
- function e0(e) {
245
+ function t0(e) {
246
246
  typeof console < "u" && typeof console.error == "function" && console.error(e);
247
247
  }
248
248
  function I(e) {
249
249
  var i = Array.prototype.slice.call(arguments, 0, -1), L = arguments[arguments.length - 1], N = M.utc.apply(null, i), w;
250
250
  return !M.isMoment(e) && M0(N) && (w = p0(L)) && N.add(w.parse(N), "minutes"), N.tz(L), N;
251
251
  }
252
- I.version = z, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = u0, I.link = L0, I.load = s0, I.zone = p0, I.zoneExists = S, I.guess = h0, I.names = m0, I.Zone = m, I.unpack = h, I.unpackBase60 = d, I.needsOffset = M0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = B0, I.zonesForCountry = g0;
252
+ I.version = z, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = u0, I.link = L0, I.load = s0, I.zone = p0, I.zoneExists = P, I.guess = h0, I.names = m0, I.Zone = m, I.unpack = h, I.unpackBase60 = d, I.needsOffset = M0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = B0, I.zonesForCountry = g0;
253
253
  var b0 = M.fn;
254
254
  M.tz = I, M.defaultZone = null, M.updateOffset = function(e, i) {
255
255
  var L = M.defaultZone, N;
@@ -263,7 +263,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
263
263
  if (e) {
264
264
  if (typeof e != "string")
265
265
  throw new Error("Time zone name must be a string, got " + e + " [" + typeof e + "]");
266
- return this._z = p0(e), this._z ? M.updateOffset(this, i) : e0("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
266
+ return this._z = p0(e), this._z ? M.updateOffset(this, i) : t0("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
267
267
  }
268
268
  if (this._z)
269
269
  return this._z.name;
@@ -284,7 +284,7 @@ var F0 = { exports: {} }, G0 = { exports: {} };
284
284
  };
285
285
  }
286
286
  b0.zoneName = W0(b0.zoneName), b0.zoneAbbr = W0(b0.zoneAbbr), b0.utc = l0(b0.utc), b0.local = l0(b0.local), b0.utcOffset = R0(b0.utcOffset), M.tz.setDefault = function(e) {
287
- return (t < 2 || t === 2 && n < 9) && e0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? p0(e) : null, M;
287
+ return (t < 2 || t === 2 && n < 9) && t0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? p0(e) : null, M;
288
288
  };
289
289
  var o0 = M.momentProperties;
290
290
  return Object.prototype.toString.call(o0) === "[object Array]" ? (o0.push("_z"), o0.push("_a")) : o0 && (o0._z = null), M;
@@ -1199,7 +1199,7 @@ const k = (b, M) => {
1199
1199
  default: void 0
1200
1200
  }
1201
1201
  },
1202
- emits: ["weather", "other", "toggleWindParticle", "toggleWindFeather", "toggleCurrentParticle", "toggleCurrentIsoband", "coordinate", "measure", "point", "3d", "layerToggle", "handleToggleVersion", "login"],
1202
+ emits: ["weather", "other", "toggleWindParticle", "toggleWindFeather", "toggleCurrentParticle", "toggleCurrentIsoband", "coordinate", "measure", "point", "3d", "layerToggle", "handleToggleVersion", "login", "forecastModel"],
1203
1203
  data() {
1204
1204
  return {
1205
1205
  autoActive: !0,
@@ -1266,7 +1266,7 @@ const k = (b, M) => {
1266
1266
  },
1267
1267
  source: {
1268
1268
  handler(b, M) {
1269
- b && M && b !== M && this.handleConfirm();
1269
+ b && b !== M && this.$emit("forecastModel", this.source), b && M && b !== M && this.handleConfirm();
1270
1270
  }
1271
1271
  }
1272
1272
  },
@@ -1391,7 +1391,7 @@ const k = (b, M) => {
1391
1391
  }, x1 = {
1392
1392
  key: 1,
1393
1393
  class: "iconfont bookmark-icon inactive"
1394
- }, I1 = { class: "other-layers card-bg" }, D1 = { class: "layers-body" }, S1 = ["onClick"], P1 = { class: "flex-start" }, k1 = { class: "switch flex-center" }, Q1 = {
1394
+ }, I1 = { class: "other-layers card-bg" }, D1 = { class: "layers-body" }, P1 = ["onClick"], S1 = { class: "flex-start" }, k1 = { class: "switch flex-center" }, Q1 = {
1395
1395
  key: 0,
1396
1396
  class: "iconfont active"
1397
1397
  }, H1 = {
@@ -1641,13 +1641,13 @@ function K1(b, M, z, O, p, o) {
1641
1641
  class: U(["layer flex-between", o.computeLayerClass(t, p.activeOtherLayers)]),
1642
1642
  onClick: (l) => o.handleOtherLayerPick(t)
1643
1643
  }, [
1644
- c("div", P1, [
1644
+ c("div", S1, [
1645
1645
  c("div", k1, [
1646
1646
  (n = o.computeLayerClass(t, p.activeOtherLayers)) != null && n.includes("active") ? (s(), W("i", Q1, "")) : (s(), W("i", H1, ""))
1647
1647
  ]),
1648
1648
  c("span", null, C(t.name), 1)
1649
1649
  ])
1650
- ], 10, S1);
1650
+ ], 10, P1);
1651
1651
  }), 128))
1652
1652
  ])
1653
1653
  ]),
@@ -1841,7 +1841,7 @@ function Z1(b, M, z, O, p, o) {
1841
1841
  return (A = z.wind) != null && A.active ? (s(), W("div", V1)) : j("", !0);
1842
1842
  }
1843
1843
  const $1 = /* @__PURE__ */ k(Y1, [["render", Z1]]);
1844
- class P0 {
1844
+ class S0 {
1845
1845
  constructor(M) {
1846
1846
  Y(this, "map");
1847
1847
  Y(this, "mercator");
@@ -2114,10 +2114,10 @@ class C0 {
2114
2114
  });
2115
2115
  }
2116
2116
  }
2117
- class c0 {
2117
+ class A0 {
2118
2118
  }
2119
2119
  // 顶点渲染
2120
- Y(c0, "vertexSchema", `
2120
+ Y(A0, "vertexSchema", `
2121
2121
  //canvas 坐标系上的坐标 (x, y)
2122
2122
  attribute vec2 a_position; //像素坐标
2123
2123
  attribute vec2 a_texCoord; //纹理坐标
@@ -2132,7 +2132,7 @@ Y(c0, "vertexSchema", `
2132
2132
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
2133
2133
  v_texCoord = a_texCoord;
2134
2134
  }`), // 类如风、流等u v双变量片元渲染
2135
- Y(c0, "uvFragmentSchema", `
2135
+ Y(A0, "uvFragmentSchema", `
2136
2136
  precision mediump float;
2137
2137
  uniform sampler2D u_image;
2138
2138
  uniform vec2 u_range_u_v;
@@ -2151,7 +2151,7 @@ Y(c0, "uvFragmentSchema", `
2151
2151
 
2152
2152
  gl_FragColor = color;
2153
2153
  }`), // 类如浪、气压等单变量片元渲染
2154
- Y(c0, "fragmentSchema", `
2154
+ Y(A0, "fragmentSchema", `
2155
2155
  precision mediump float;
2156
2156
  uniform sampler2D u_image; // 灰度
2157
2157
  uniform sampler2D u_color; // 色值映射
@@ -4023,7 +4023,7 @@ const b2 = {
4023
4023
  type: Object
4024
4024
  },
4025
4025
  viewport: {
4026
- type: P0
4026
+ type: S0
4027
4027
  },
4028
4028
  bottom: {
4029
4029
  type: String,
@@ -4130,7 +4130,7 @@ const b2 = {
4130
4130
  [1, "rgb(91, 136, 161)"]
4131
4131
  ];
4132
4132
  this.rampColor = this.webgl.setup(this.context, b);
4133
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.uvFragmentSchema);
4133
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
4134
4134
  this.program = M, this.aPositionBuffer = z;
4135
4135
  }
4136
4136
  this.handleParticleSetup();
@@ -4364,7 +4364,7 @@ const t2 = {
4364
4364
  type: Object
4365
4365
  },
4366
4366
  viewport: {
4367
- type: P0
4367
+ type: S0
4368
4368
  },
4369
4369
  bottom: {
4370
4370
  type: String,
@@ -4462,7 +4462,7 @@ const t2 = {
4462
4462
  [1, "rgb(195,194,194)"]
4463
4463
  ];
4464
4464
  this.rampColor = this.webgl.setup(this.context, b);
4465
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.uvFragmentSchema);
4465
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
4466
4466
  this.program = M, this.aPositionBuffer = z;
4467
4467
  }
4468
4468
  this.handleParticleSetup();
@@ -5033,7 +5033,7 @@ const B2 = {
5033
5033
  emits: ["tropical", "tropicalProbability"],
5034
5034
  data() {
5035
5035
  return {
5036
- helper: S0,
5036
+ helper: P0,
5037
5037
  source: "tropicals-source",
5038
5038
  clusterSource: "tropicals-cluster-source",
5039
5039
  historyLayer: "tropicals-history-layer",
@@ -5392,11 +5392,11 @@ const B2 = {
5392
5392
  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), (b = this.interpolateMarkers) == null || b.forEach((M) => M == null ? void 0 : M.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));
5393
5393
  },
5394
5394
  handleDateChange() {
5395
- var b, M, z, O, p, o, A, a, q, r, t, n, l, d, B, R, f, h, m, X, E, y, F, J, V, u, g, A0, n0, h0, i0, u0, p0, m0, B0, L0;
5395
+ var b, M, z, O, p, o, A, a, q, r, t, n, l, d, B, R, f, h, m, X, E, y, F, J, V, u, g, e0, n0, h0, i0, u0, p0, m0, B0, L0;
5396
5396
  if ((b = this.interpolateMarkers) == null || b.forEach((r0) => r0 == null ? void 0 : r0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
5397
- const r0 = K(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), d0 = this.interpolateData.filter((S) => S.properties.date === r0.format() && !S.properties.disabled), g0 = this.handleComputePolygons(d0), s0 = v.featureCollection([...d0]);
5398
- g0.forEach((S) => {
5399
- s0.features.push(S);
5397
+ const r0 = K(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), d0 = this.interpolateData.filter((P) => P.properties.date === r0.format() && !P.properties.disabled), g0 = this.handleComputePolygons(d0), s0 = v.featureCollection([...d0]);
5398
+ g0.forEach((P) => {
5399
+ s0.features.push(P);
5400
5400
  }), (z = this.map) != null && z.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(s0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
5401
5401
  type: "geojson",
5402
5402
  data: s0
@@ -5411,11 +5411,11 @@ const B2 = {
5411
5411
  "line-width": 1
5412
5412
  }
5413
5413
  })), this.interpolateMarkers = [];
5414
- for (const S of d0)
5415
- if (!S.properties.disabled) {
5414
+ for (const P of d0)
5415
+ if (!P.properties.disabled) {
5416
5416
  let M0 = "#f44336";
5417
- ((a = (A = S.properties) == null ? void 0 : A.wind) == null ? void 0 : a.spd) < 17.2 || !((r = (q = S.properties) == null ? void 0 : q.wind) != null && r.spd) ? M0 = "#03f869" : ((n = (t = S.properties) == null ? void 0 : t.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (l = S.properties) == null ? void 0 : l.wind) == null ? void 0 : d.spd) < 24.5 ? M0 = "#f2f202" : ((R = (B = S.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((h = (f = S.properties) == null ? void 0 : f.wind) == null ? void 0 : h.spd) < 32.7 ? M0 = "#ff9100" : ((X = (m = S.properties) == null ? void 0 : m.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = S.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? M0 = "#f44336" : ((J = (F = S.properties) == null ? void 0 : F.wind) == null ? void 0 : J.spd) >= 41.5 && ((u = (V = S.properties) == null ? void 0 : V.wind) == null ? void 0 : u.spd) < 51 ? M0 = "#f903d0" : ((A0 = (g = S.properties) == null ? void 0 : g.wind) == null ? void 0 : A0.spd) >= 51 ? M0 = "#8702f9" : M0 = "#f44336";
5418
- const e0 = `<svg t="1719918955501"
5417
+ ((a = (A = P.properties) == null ? void 0 : A.wind) == null ? void 0 : a.spd) < 17.2 || !((r = (q = P.properties) == null ? void 0 : q.wind) != null && r.spd) ? M0 = "#03f869" : ((n = (t = P.properties) == null ? void 0 : t.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (l = P.properties) == null ? void 0 : l.wind) == null ? void 0 : d.spd) < 24.5 ? M0 = "#f2f202" : ((R = (B = P.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((h = (f = P.properties) == null ? void 0 : f.wind) == null ? void 0 : h.spd) < 32.7 ? M0 = "#ff9100" : ((X = (m = P.properties) == null ? void 0 : m.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = P.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? M0 = "#f44336" : ((J = (F = P.properties) == null ? void 0 : F.wind) == null ? void 0 : J.spd) >= 41.5 && ((u = (V = P.properties) == null ? void 0 : V.wind) == null ? void 0 : u.spd) < 51 ? M0 = "#f903d0" : ((e0 = (g = P.properties) == null ? void 0 : g.wind) == null ? void 0 : e0.spd) >= 51 ? M0 = "#8702f9" : M0 = "#f44336";
5418
+ const t0 = `<svg t="1719918955501"
5419
5419
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
5420
5420
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
5421
5421
  <path
@@ -5430,10 +5430,10 @@ const B2 = {
5430
5430
  d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
5431
5431
  fill="#ffffff" p-id="18386"></path>
5432
5432
  </svg>`, I = document.createElement("div");
5433
- I.className = "hurricane-hourly-marker", I.innerHTML = `<div class="${S.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${e0}</div>`;
5434
- const b0 = new w0.Marker(I).setLngLat(S.geometry.coordinates).addTo(this.map);
5435
- if (this.interpolateMarkers.push(b0), (n0 = S.properties) != null && n0.showCircle) {
5436
- const W0 = { radius: 100, coordinates: S.geometry.coordinates }, l0 = { radius: 200, coordinates: S.geometry.coordinates }, R0 = { radius: 500, coordinates: S.geometry.coordinates };
5433
+ I.className = "hurricane-hourly-marker", I.innerHTML = `<div class="${P.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${t0}</div>`;
5434
+ const b0 = new w0.Marker(I).setLngLat(P.geometry.coordinates).addTo(this.map);
5435
+ if (this.interpolateMarkers.push(b0), (n0 = P.properties) != null && n0.showCircle) {
5436
+ const W0 = { radius: 100, coordinates: P.geometry.coordinates }, l0 = { radius: 200, coordinates: P.geometry.coordinates }, R0 = { radius: 500, coordinates: P.geometry.coordinates };
5437
5437
  (h0 = this.circleSourceData) == null || h0.features.push(
5438
5438
  v.circle(W0.coordinates, W0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
5439
5439
  ), (i0 = this.circleSourceData) == null || i0.features.push(
@@ -5572,7 +5572,7 @@ const B2 = {
5572
5572
  }, I2 = { class: "row" }, D2 = {
5573
5573
  class: "col col-24",
5574
5574
  style: { "justify-content": "flex-start" }
5575
- }, S2 = { class: "forecast-models" }, P2 = ["onClick"], k2 = { class: "more" };
5575
+ }, P2 = { class: "forecast-models" }, S2 = ["onClick"], k2 = { class: "more" };
5576
5576
  function Q2(b, M, z, O, p, o) {
5577
5577
  var A, a, q, r, t, n, l, d, B, R, f, h, m, X, E;
5578
5578
  return y0((s(), W("div", g2, [
@@ -5602,7 +5602,7 @@ function Q2(b, M, z, O, p, o) {
5602
5602
  c("div", I2, [
5603
5603
  c("div", D2, [
5604
5604
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
5605
- c("div", S2, [
5605
+ c("div", P2, [
5606
5606
  (s(!0), W(H, null, _((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, F) => {
5607
5607
  var J, V, u, g;
5608
5608
  return s(), W("div", {
@@ -5612,12 +5612,12 @@ function Q2(b, M, z, O, p, o) {
5612
5612
  y.disabled ? "" : "active",
5613
5613
  F > 0 && F < ((V = (J = p.activeTropicals) == null ? void 0 : J.forecasts) == null ? void 0 : V.length) - 1 && ((g = (u = p.activeTropicals) == null ? void 0 : u.forecasts) == null ? void 0 : g.length) > 2 ? "center-child" : ""
5614
5614
  ]),
5615
- onClick: (A0) => o.handleForecastToggle(y)
5615
+ onClick: (e0) => o.handleForecastToggle(y)
5616
5616
  }, [
5617
5617
  c("span", {
5618
5618
  class: U(y.model)
5619
5619
  }, C(y.model), 3)
5620
- ], 10, P2);
5620
+ ], 10, S2);
5621
5621
  }), 128))
5622
5622
  ])
5623
5623
  ])
@@ -5724,7 +5724,7 @@ const H2 = {
5724
5724
  [1, "rgba(197,5,58,0.8)"]
5725
5725
  ];
5726
5726
  this.rampColor = this.webgl.setup(this.context, b);
5727
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.fragmentSchema);
5727
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
5728
5728
  this.program = M, this.aPositionBuffer = z;
5729
5729
  }
5730
5730
  },
@@ -5838,7 +5838,7 @@ const G2 = {
5838
5838
  [1, "rgba(144,144,144,0)"]
5839
5839
  ];
5840
5840
  this.rampColor = this.webgl.setup(this.context, b);
5841
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.fragmentSchema);
5841
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
5842
5842
  this.program = M, this.aPositionBuffer = z;
5843
5843
  }
5844
5844
  },
@@ -5958,7 +5958,7 @@ const Y2 = {
5958
5958
  //
5959
5959
  ];
5960
5960
  this.rampColor = this.webgl.setup(this.context, b);
5961
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.fragmentSchema);
5961
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
5962
5962
  this.program = M, this.aPositionBuffer = z;
5963
5963
  }
5964
5964
  },
@@ -6081,7 +6081,7 @@ const MM = {
6081
6081
  [1, "rgb(138, 43, 10)"]
6082
6082
  ];
6083
6083
  this.rampColor = this.webgl.setup(this.context, b);
6084
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.fragmentSchema);
6084
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
6085
6085
  this.program = M, this.aPositionBuffer = z;
6086
6086
  }
6087
6087
  },
@@ -6197,7 +6197,7 @@ const OM = {
6197
6197
  // 2m
6198
6198
  ];
6199
6199
  this.rampColor = this.webgl.setup(this.context, b);
6200
- const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, c0.vertexSchema, c0.fragmentSchema);
6200
+ const { program: M, aPositionBuffer: z } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
6201
6201
  this.program = M, this.aPositionBuffer = z;
6202
6202
  }
6203
6203
  },
@@ -6267,7 +6267,7 @@ const qM = {
6267
6267
  startTs: {
6268
6268
  type: String
6269
6269
  },
6270
- meteoSource: {
6270
+ forecastModel: {
6271
6271
  type: String
6272
6272
  }
6273
6273
  },
@@ -6326,7 +6326,7 @@ const qM = {
6326
6326
  this.map && this.show && this.handleBind();
6327
6327
  }
6328
6328
  },
6329
- meteoSource: {
6329
+ forecastModel: {
6330
6330
  async handler() {
6331
6331
  var b;
6332
6332
  if (this.showMeteo && this.ts) {
@@ -6402,7 +6402,7 @@ const qM = {
6402
6402
  async fetchMeteoData(b, M, z) {
6403
6403
  this.loading = !0, this.meteoData = [];
6404
6404
  let O = M ? K(M).utc().format() : K().utc().format();
6405
- const { weatherModels: p, marineModels: o } = v0.autoPickMeteoModel(this.meteoSource);
6405
+ const { weatherModels: p, marineModels: o } = v0.autoPickMeteoModel(this.forecastModel);
6406
6406
  let A = {
6407
6407
  lat: b.lat,
6408
6408
  lng: b.lng,
@@ -6419,7 +6419,7 @@ const qM = {
6419
6419
  },
6420
6420
  async fetchHistoryData(b, M) {
6421
6421
  this.loading = !0, this.meteoData = [];
6422
- const z = M ? K(M).utc().format() : K().utc().format(), { weatherModels: O, marineModels: p } = v0.autoPickMeteoModel(this.meteoSource), o = {
6422
+ const z = M ? K(M).utc().format() : K().utc().format(), { weatherModels: O, marineModels: p } = v0.autoPickMeteoModel(this.forecastModel), o = {
6423
6423
  lat: b.lat,
6424
6424
  lng: b.lng,
6425
6425
  datetime: z,
@@ -6437,7 +6437,7 @@ const qM = {
6437
6437
  initTableData(b) {
6438
6438
  var M, z, O, p, o, A, a;
6439
6439
  this.clearTable(), this.positionGmt = (z = (M = b == null ? void 0 : b.weather) == null ? void 0 : M[0]) == null ? void 0 : z.timezone, this.positionOffset = (p = (O = b == null ? void 0 : b.weather) == null ? void 0 : O[0]) == null ? void 0 : p.offset, this.localDate = (A = (o = T0(this.ts)) == null ? void 0 : o.tz(this.positionGmt)) == null ? void 0 : A.format("MMM-DD/HHmm[LT]"), this.currentHourData = (a = v0.pickHourly(b, K(this.ts))) == null ? void 0 : a[0], this.$nextTick(() => {
6440
- var r, t, n, l, d, B, R, f, h, m, X, E, y, F, J, V, u, g, A0, n0, h0, i0, u0, p0, m0, B0, L0, r0, d0, g0, s0, S, M0, e0, I, b0, W0, l0, R0;
6440
+ var r, t, n, l, d, B, R, f, h, m, X, E, y, F, J, V, u, g, e0, n0, h0, i0, u0, p0, m0, B0, L0, r0, d0, g0, s0, P, M0, t0, I, b0, W0, l0, R0;
6441
6441
  const q = document.getElementById("meteoMainBox");
6442
6442
  if (!q)
6443
6443
  return !1;
@@ -6453,7 +6453,7 @@ const qM = {
6453
6453
  const e = T0(this.ts).tz(this.positionGmt).add(3 * o0, "h").format();
6454
6454
  this.tableData.hours.push(e);
6455
6455
  const i = ((R = v0.pickHourly(b, e)) == null ? void 0 : R[0]) || {};
6456
- this.tableData.temp.push(this.roundPrecision((f = i == null ? void 0 : i.weather) == null ? void 0 : f.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((m = (h = i == null ? void 0 : i.weather) == null ? void 0 : h.precip) == null ? void 0 : m.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((J = (F = i == null ? void 0 : i.weather) == null ? void 0 : F.wind) == null ? void 0 : J.kts, 1) ?? "-"), this.tableData.windDir.push((u = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : u.bearing), this.tableData.windGust.push(this.roundPrecision((A0 = (g = i == null ? void 0 : i.weather) == null ? void 0 : g.wind) == null ? void 0 : A0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((h0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((u0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : u0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((m0 = (p0 = i == null ? void 0 : i.wave) == null ? void 0 : p0.wd) == null ? void 0 : m0.height, 1) ?? "-"), this.tableData.windwaveDir.push((L0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.wd) == null ? void 0 : L0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((d0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : d0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((s0 = (g0 = i == null ? void 0 : i.wave) == null ? void 0 : g0.swell) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.swellDir.push((M0 = (S = i == null ? void 0 : i.wave) == null ? void 0 : S.swell) == null ? void 0 : M0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((I = (e0 = i == null ? void 0 : i.wave) == null ? void 0 : e0.swell) == null ? void 0 : I.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((b0 = i == null ? void 0 : i.current) == null ? void 0 : b0.speed, 1) ?? "-"), this.tableData.currentDir.push((W0 = i == null ? void 0 : i.current) == null ? void 0 : W0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((l0 = i == null ? void 0 : i.weather) == null ? void 0 : l0.url), this.tableData.weatherNames.push(((R0 = i == null ? void 0 : i.weather) == null ? void 0 : R0.name) ?? "-");
6456
+ this.tableData.temp.push(this.roundPrecision((f = i == null ? void 0 : i.weather) == null ? void 0 : f.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((m = (h = i == null ? void 0 : i.weather) == null ? void 0 : h.precip) == null ? void 0 : m.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((J = (F = i == null ? void 0 : i.weather) == null ? void 0 : F.wind) == null ? void 0 : J.kts, 1) ?? "-"), this.tableData.windDir.push((u = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : u.bearing), this.tableData.windGust.push(this.roundPrecision((e0 = (g = i == null ? void 0 : i.weather) == null ? void 0 : g.wind) == null ? void 0 : e0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((h0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((u0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : u0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((m0 = (p0 = i == null ? void 0 : i.wave) == null ? void 0 : p0.wd) == null ? void 0 : m0.height, 1) ?? "-"), this.tableData.windwaveDir.push((L0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.wd) == null ? void 0 : L0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((d0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : d0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((s0 = (g0 = i == null ? void 0 : i.wave) == null ? void 0 : g0.swell) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.swellDir.push((M0 = (P = i == null ? void 0 : i.wave) == null ? void 0 : P.swell) == null ? void 0 : M0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((I = (t0 = i == null ? void 0 : i.wave) == null ? void 0 : t0.swell) == null ? void 0 : I.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((b0 = i == null ? void 0 : i.current) == null ? void 0 : b0.speed, 1) ?? "-"), this.tableData.currentDir.push((W0 = i == null ? void 0 : i.current) == null ? void 0 : W0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((l0 = i == null ? void 0 : i.weather) == null ? void 0 : l0.url), this.tableData.weatherNames.push(((R0 = i == null ? void 0 : i.weather) == null ? void 0 : R0.name) ?? "-");
6457
6457
  }
6458
6458
  });
6459
6459
  },
@@ -6518,7 +6518,7 @@ const qM = {
6518
6518
  return !1;
6519
6519
  },
6520
6520
  handleMeteoMore() {
6521
- this.point.forecastModel = this.meteoSource, this.$emit("meteoMore", this.point);
6521
+ this.point.forecastModel = this.forecastModel, this.$emit("meteoMore", this.point);
6522
6522
  },
6523
6523
  handleCloseMeteo() {
6524
6524
  this.showMeteo = !1;
@@ -6542,7 +6542,7 @@ const qM = {
6542
6542
  key: 1,
6543
6543
  class: "icon flex-center",
6544
6544
  style: { "margin-right": "5px" }
6545
- }, RM = { class: "temp" }, hM = { class: "des info" }, mM = { class: "flex-start" }, BM = { class: "flex-start" }, gM = { class: "flex-start" }, NM = { class: "date flex-col-center-end" }, yM = { class: "" }, XM = { class: "" }, wM = { class: "detail-box" }, CM = { class: "menu-header flex-start" }, vM = { class: "basic-table" }, TM = { class: "hour" }, EM = { class: "hour" }, xM = { class: "icon" }, IM = ["src"], DM = { class: "text" }, SM = { class: "text" }, PM = { class: "text" }, kM = { class: "text" }, QM = { class: "wave-current-table" }, HM = { class: "hour" }, _M = { class: "hour" }, jM = { class: "icon" }, FM = ["src"], GM = { class: "text" }, UM = { class: "text" }, KM = { class: "text" }, JM = { class: "text" }, YM = { class: "sea-table" }, VM = { class: "hour" }, ZM = { class: "hour" }, $M = { class: "icon" }, Mb = ["src"], bb = { class: "text" }, zb = { class: "text" }, pb = { class: "text" }, Ob = { class: "text" }, ob = { class: "tide-table flex-col-start-center" }, cb = { class: "tr-tide flex-space" }, Ab = { class: "tr-tide flex-space" }, eb = { class: "tr-tide flex-space" }, tb = {
6545
+ }, RM = { class: "temp" }, hM = { class: "des info" }, mM = { class: "flex-start" }, BM = { class: "flex-start" }, gM = { class: "flex-start" }, NM = { class: "date flex-col-center-end" }, yM = { class: "" }, XM = { class: "" }, wM = { class: "detail-box" }, CM = { class: "menu-header flex-start" }, vM = { class: "basic-table" }, TM = { class: "hour" }, EM = { class: "hour" }, xM = { class: "icon" }, IM = ["src"], DM = { class: "text" }, PM = { class: "text" }, SM = { class: "text" }, kM = { class: "text" }, QM = { class: "wave-current-table" }, HM = { class: "hour" }, _M = { class: "hour" }, jM = { class: "icon" }, FM = ["src"], GM = { class: "text" }, UM = { class: "text" }, KM = { class: "text" }, JM = { class: "text" }, YM = { class: "sea-table" }, VM = { class: "hour" }, ZM = { class: "hour" }, $M = { class: "icon" }, Mb = ["src"], bb = { class: "text" }, zb = { class: "text" }, pb = { class: "text" }, Ob = { class: "text" }, ob = { class: "tide-table flex-col-start-center" }, cb = { class: "tr-tide flex-space" }, Ab = { class: "tr-tide flex-space" }, eb = { class: "tr-tide flex-space" }, tb = {
6546
6546
  key: 1,
6547
6547
  class: "main-box flex-center"
6548
6548
  };
@@ -6578,13 +6578,13 @@ function ab(b, M, z, O, p, o) {
6578
6578
  "show-after": 1e3
6579
6579
  }, {
6580
6580
  default: a0(() => {
6581
- var u, g, A0, n0;
6581
+ var u, g, e0, n0;
6582
6582
  return [
6583
6583
  (g = (u = p.currentHourData) == null ? void 0 : u.weather) != null && g.url ? (s(), W("img", {
6584
6584
  key: 0,
6585
6585
  class: "iconfont icon",
6586
6586
  style: { "margin-right": "5px" },
6587
- src: (n0 = (A0 = p.currentHourData) == null ? void 0 : A0.weather) == null ? void 0 : n0.url
6587
+ src: (n0 = (e0 = p.currentHourData) == null ? void 0 : e0.weather) == null ? void 0 : n0.url
6588
6588
  }, null, 8, uM)) : (s(), W("span", LM))
6589
6589
  ];
6590
6590
  }),
@@ -6709,7 +6709,7 @@ function ab(b, M, z, O, p, o) {
6709
6709
  key: `weatherUrls${g}${u}`
6710
6710
  }, C(u), 1))), 128))
6711
6711
  ]),
6712
- c("tr", SM, [
6712
+ c("tr", PM, [
6713
6713
  M[14] || (M[14] = c("td", {
6714
6714
  rowspan: "1",
6715
6715
  colspan: "1",
@@ -6724,7 +6724,7 @@ function ab(b, M, z, O, p, o) {
6724
6724
  key: `precip1h${g}${u}`
6725
6725
  }, C(u), 1))), 128))
6726
6726
  ]),
6727
- c("tr", PM, [
6727
+ c("tr", SM, [
6728
6728
  M[15] || (M[15] = c("td", {
6729
6729
  rowspan: "1",
6730
6730
  colspan: "1",
@@ -7075,7 +7075,7 @@ function ab(b, M, z, O, p, o) {
7075
7075
  [X0, p.showMeteo]
7076
7076
  ]);
7077
7077
  }
7078
- const qb = /* @__PURE__ */ k(qM, [["render", ab], ["__scopeId", "data-v-74576e3a"]]), ib = {
7078
+ const qb = /* @__PURE__ */ k(qM, [["render", ab], ["__scopeId", "data-v-51cb6990"]]), ib = {
7079
7079
  name: "IdmWarZone",
7080
7080
  props: {
7081
7081
  map: {
@@ -7542,7 +7542,7 @@ const gb = {
7542
7542
  beforeLayer: {
7543
7543
  type: String
7544
7544
  },
7545
- meteoSource: {
7545
+ forecastModel: {
7546
7546
  type: String
7547
7547
  }
7548
7548
  },
@@ -7622,7 +7622,7 @@ const gb = {
7622
7622
  this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
7623
7623
  },
7624
7624
  handleClickMeteo(b) {
7625
- b.forecastModel = this.meteoSource, this.$emit("meteoMore", b);
7625
+ b.forecastModel = this.forecastModel, this.$emit("meteoMore", b);
7626
7626
  }
7627
7627
  }
7628
7628
  }, Nb = {
@@ -7665,7 +7665,7 @@ function Eb(b, M, z, O, p, o) {
7665
7665
  [X0, p.showPort]
7666
7666
  ]);
7667
7667
  }
7668
- const xb = /* @__PURE__ */ k(gb, [["render", Eb], ["__scopeId", "data-v-78859648"]]), Ib = {
7668
+ const xb = /* @__PURE__ */ k(gb, [["render", Eb], ["__scopeId", "data-v-39da1804"]]), Ib = {
7669
7669
  name: "IdmLoadLine",
7670
7670
  props: {
7671
7671
  map: {
@@ -7738,7 +7738,7 @@ const xb = /* @__PURE__ */ k(gb, [["render", Eb], ["__scopeId", "data-v-78859648
7738
7738
  function Db(b, M, z, O, p, o) {
7739
7739
  return s(), W("div");
7740
7740
  }
7741
- const Sb = /* @__PURE__ */ k(Ib, [["render", Db]]), Pb = {
7741
+ const Pb = /* @__PURE__ */ k(Ib, [["render", Db]]), Sb = {
7742
7742
  name: "IdmTimezone",
7743
7743
  props: {
7744
7744
  map: {
@@ -7906,7 +7906,7 @@ const Sb = /* @__PURE__ */ k(Ib, [["render", Db]]), Pb = {
7906
7906
  function kb(b, M, z, O, p, o) {
7907
7907
  return s(), W("div");
7908
7908
  }
7909
- const Qb = /* @__PURE__ */ k(Pb, [["render", kb]]), Hb = {
7909
+ const Qb = /* @__PURE__ */ k(Sb, [["render", kb]]), Hb = {
7910
7910
  name: "IdmVoluntaryReportingArea",
7911
7911
  props: {
7912
7912
  map: {
@@ -8633,8 +8633,8 @@ const zz = {
8633
8633
  emits: ["enc"],
8634
8634
  data() {
8635
8635
  return {
8636
- helper: S0,
8637
- vendor: this.$attrs.permission & S0.LEVEL.Supper ? "hi" : "i4",
8636
+ helper: P0,
8637
+ vendor: this.$attrs.permission & P0.LEVEL.Supper ? "hi" : "i4",
8638
8638
  right: 10
8639
8639
  };
8640
8640
  },
@@ -8784,7 +8784,7 @@ const az = {
8784
8784
  IdmEcaZone: ub,
8785
8785
  IdmAlertZone: Bb,
8786
8786
  IdmPort: xb,
8787
- IdmLoadLine: Sb,
8787
+ IdmLoadLine: Pb,
8788
8788
  IdmTimezone: Qb,
8789
8789
  IdmVRA: jb,
8790
8790
  IdmSpecialArea: Ub,
@@ -8828,6 +8828,7 @@ const az = {
8828
8828
  show3d: !1,
8829
8829
  meteo: void 0,
8830
8830
  source: "",
8831
+ forecastModel: "",
8831
8832
  gateway: "https://cbe.idmwx.com",
8832
8833
  mapProjection: "mercator",
8833
8834
  zoom: 6,
@@ -8855,7 +8856,7 @@ const az = {
8855
8856
  },
8856
8857
  map: {
8857
8858
  handler() {
8858
- this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new P0(this.map), this.handleRampColorInitial());
8859
+ this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new S0(this.map), this.handleRampColorInitial());
8859
8860
  },
8860
8861
  immediate: !0
8861
8862
  },
@@ -8958,11 +8959,11 @@ const az = {
8958
8959
  );
8959
8960
  const E = await Promise.all(X);
8960
8961
  this.weatherLayers = {}, E.map((y) => {
8961
- var V, u, g, A0;
8962
+ var V, u, g, e0;
8962
8963
  const F = ((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data), J = (g = (u = y == null ? void 0 : y.config) == null ? void 0 : u.headers) == null ? void 0 : g.key;
8963
8964
  J && F && (this.weatherLayers[J] = {
8964
8965
  raw: F,
8965
- type: ((A0 = y == null ? void 0 : y.config) == null ? void 0 : A0.responseType) === "blob" ? "image" : "json",
8966
+ type: ((e0 = y == null ? void 0 : y.config) == null ? void 0 : e0.responseType) === "blob" ? "image" : "json",
8966
8967
  etime: this.ts
8967
8968
  });
8968
8969
  }), m.tropicals && f0.get(m.tropicals, {
@@ -9386,8 +9387,8 @@ const az = {
9386
9387
  className: "map-gl-home"
9387
9388
  };
9388
9389
  function iz(b, M, z, O, p, o) {
9389
- var r0, d0, g0, s0, S, M0, e0, I, b0, W0, l0, R0, o0, e, i, L, N, w, D, Z, P, G, x0, k0, Q0, H0, _0;
9390
- const A = x("IdmGlLayer"), a = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), t = x("IdmSwell"), n = x("IdmPrmsl"), l = x("IdmIceberg"), d = x("IdmTropicals"), B = x("IdmCurrents"), R = x("IdmCurrentParticle"), f = x("IdmWindBarb"), h = x("IdmWindParticle"), m = x("IdmPrecip3h"), X = x("IdmVisibility"), E = x("IdmWaterTemp"), y = x("IdmTemp"), F = x("IdmArctic"), J = x("IdmWarZone"), V = x("IdmGmdssArea"), u = x("IdmEcaZone"), g = x("IdmAlertZone"), A0 = x("IdmPort"), n0 = x("IdmLoadLine"), h0 = x("IdmTimezone"), i0 = x("IdmVRA"), u0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), m0 = x("IdmLatLng"), B0 = x("IdmMeasure"), L0 = x("IdmPoint");
9390
+ var r0, d0, g0, s0, P, M0, t0, I, b0, W0, l0, R0, o0, e, i, L, N, w, D, Z, S, G, x0, k0, Q0, H0, _0;
9391
+ const A = x("IdmGlLayer"), a = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), t = x("IdmSwell"), n = x("IdmPrmsl"), l = x("IdmIceberg"), d = x("IdmTropicals"), B = x("IdmCurrents"), R = x("IdmCurrentParticle"), f = x("IdmWindBarb"), h = x("IdmWindParticle"), m = x("IdmPrecip3h"), X = x("IdmVisibility"), E = x("IdmWaterTemp"), y = x("IdmTemp"), F = x("IdmArctic"), J = x("IdmWarZone"), V = x("IdmGmdssArea"), u = x("IdmEcaZone"), g = x("IdmAlertZone"), e0 = x("IdmPort"), n0 = x("IdmLoadLine"), h0 = x("IdmTimezone"), i0 = x("IdmVRA"), u0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), m0 = x("IdmLatLng"), B0 = x("IdmMeasure"), L0 = x("IdmPoint");
9391
9392
  return z.map ? (s(), W("div", qz, [
9392
9393
  T(A, Q({
9393
9394
  ref: "layer",
@@ -9401,15 +9402,16 @@ function iz(b, M, z, O, p, o) {
9401
9402
  token: z.token,
9402
9403
  gateway: p.gateway
9403
9404
  }, b.$attrs, {
9405
+ onForecastModel: M[0] || (M[0] = (c0) => p.forecastModel = c0),
9404
9406
  onWeather: o.handleWeatherLayerChange,
9405
9407
  onOther: o.handleOtherLayerChange,
9406
- onToggleWindParticle: M[0] || (M[0] = (t0) => p.showWindParticle = t0),
9407
- onToggleWindFeather: M[1] || (M[1] = (t0) => p.showWindFeather = t0),
9408
- onToggleCurrentParticle: M[2] || (M[2] = (t0) => p.showCurrentParticle = t0),
9409
- onToggleCurrentIsoband: M[3] || (M[3] = (t0) => p.showCurrentIsoband = t0),
9410
- onCoordinate: M[4] || (M[4] = (t0) => p.showCoord = t0),
9411
- onMeasure: M[5] || (M[5] = (t0) => p.showMeasure = t0),
9412
- onPoint: M[6] || (M[6] = (t0) => p.showPoint = t0),
9408
+ onToggleWindParticle: M[1] || (M[1] = (c0) => p.showWindParticle = c0),
9409
+ onToggleWindFeather: M[2] || (M[2] = (c0) => p.showWindFeather = c0),
9410
+ onToggleCurrentParticle: M[3] || (M[3] = (c0) => p.showCurrentParticle = c0),
9411
+ onToggleCurrentIsoband: M[4] || (M[4] = (c0) => p.showCurrentIsoband = c0),
9412
+ onCoordinate: M[5] || (M[5] = (c0) => p.showCoord = c0),
9413
+ onMeasure: M[6] || (M[6] = (c0) => p.showMeasure = c0),
9414
+ onPoint: M[7] || (M[7] = (c0) => p.showPoint = c0),
9413
9415
  on3d: o.handle3dToggle,
9414
9416
  onHandleToggleVersion: o.handleToggleVersion
9415
9417
  }), null, 16, ["map", "toggle-version", "map-projection", "showWindFeather", "showWindParticle", "showCurrentIsoband", "showCurrentParticle", "token", "gateway", "onWeather", "onOther", "on3d", "onHandleToggleVersion"]),
@@ -9419,7 +9421,7 @@ function iz(b, M, z, O, p, o) {
9419
9421
  enabled: (r0 = p.otherLayers) == null ? void 0 : r0.enc,
9420
9422
  "toggle-version": z.toggleVersion
9421
9423
  }, b.$attrs, {
9422
- onEnc: M[7] || (M[7] = (t0) => p.enc = t0)
9424
+ onEnc: M[8] || (M[8] = (c0) => p.enc = c0)
9423
9425
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
9424
9426
  T(q, Q({
9425
9427
  map: z.map,
@@ -9441,7 +9443,7 @@ function iz(b, M, z, O, p, o) {
9441
9443
  }, b.$attrs), null, 16, ["map", "swell", "before-layer", "activeWeatherLayers"]),
9442
9444
  T(n, Q({
9443
9445
  map: z.map,
9444
- prmsl: (S = p.weatherLayers) == null ? void 0 : S.prmsl,
9446
+ prmsl: (P = p.weatherLayers) == null ? void 0 : P.prmsl,
9445
9447
  "before-layer": z.beforeLayer,
9446
9448
  "active-weather-layers": p.activeWeatherLayers
9447
9449
  }, b.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
@@ -9453,7 +9455,7 @@ function iz(b, M, z, O, p, o) {
9453
9455
  T(d, Q({
9454
9456
  map: z.map,
9455
9457
  date: z.ts,
9456
- tropicals: (e0 = p.weatherLayers) == null ? void 0 : e0.tropicals,
9458
+ tropicals: (t0 = p.weatherLayers) == null ? void 0 : t0.tropicals,
9457
9459
  "before-layer": z.beforeLayer
9458
9460
  }, b.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
9459
9461
  T(B, Q({
@@ -9544,15 +9546,15 @@ function iz(b, M, z, O, p, o) {
9544
9546
  }, b.$attrs), null, 16, ["map", "zone", "before-layer"]),
9545
9547
  T(g, Q({
9546
9548
  map: z.map,
9547
- zone: (P = p.otherLayers) == null ? void 0 : P["alert-zones"],
9549
+ zone: (S = p.otherLayers) == null ? void 0 : S["alert-zones"],
9548
9550
  "before-layer": z.beforeLayer
9549
9551
  }, b.$attrs), null, 16, ["map", "zone", "before-layer"]),
9550
- T(A0, Q({
9552
+ T(e0, Q({
9551
9553
  map: z.map,
9552
9554
  port: (G = p.otherLayers) == null ? void 0 : G.ports,
9553
9555
  "before-layer": z.beforeLayer,
9554
- meteoSource: p.source
9555
- }, b.$attrs), null, 16, ["map", "port", "before-layer", "meteoSource"]),
9556
+ forecastModel: p.forecastModel
9557
+ }, b.$attrs), null, 16, ["map", "port", "before-layer", "forecastModel"]),
9556
9558
  T(n0, Q({
9557
9559
  map: z.map,
9558
9560
  line: (x0 = p.otherLayers) == null ? void 0 : x0["load-lines"],
@@ -9594,8 +9596,8 @@ function iz(b, M, z, O, p, o) {
9594
9596
  ts: z.ts,
9595
9597
  token: z.token,
9596
9598
  gateway: p.gateway,
9597
- meteoSource: p.source
9598
- }, b.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway", "meteoSource"])
9599
+ forecastModel: p.forecastModel
9600
+ }, b.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway", "forecastModel"])
9599
9601
  ], 512)) : j("", !0);
9600
9602
  }
9601
9603
  const rz = /* @__PURE__ */ k(az, [["render", iz]]), hz = {
@@ -9610,7 +9612,7 @@ export {
9610
9612
  M2 as MapboxHelper,
9611
9613
  q0 as ParticleSchema,
9612
9614
  U0 as TropicalGL,
9613
- P0 as Viewport,
9615
+ S0 as Viewport,
9614
9616
  C0 as WebGL,
9615
- c0 as WebGLSchema
9617
+ A0 as WebGLSchema
9616
9618
  };