@idmwx/idmui-gl3 3.9.3 → 3.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
- var rt = Object.defineProperty;
2
- var ot = (t, e, a) => e in t ? rt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
- var R = (t, e, a) => (ot(t, typeof e != "symbol" ? e + "" : e, a), a);
4
- import { LayerHelper as Ve, CompanyHelper as Me, LngLatHelper as te, convertToMonotonicLng2 as st, calculateDistance as Oe, calculateBearing as je, convertToMonotonicLng as xe, interpolateCoordinates as Fe, convertToStandardLng as Re } from "@idmwx/idmwx-base";
5
- import { resolveComponent as z, openBlock as L, createElementBlock as x, createElementVNode as l, normalizeStyle as j, normalizeClass as M, Fragment as De, renderList as Ae, toDisplayString as S, createVNode as P, withCtx as nt, createTextVNode as Ke, createCommentVNode as $, pushScopeId as U, popScopeId as G, withDirectives as $e, vShow as Be, createStaticVNode as lt, mergeProps as I } from "vue";
1
+ var tt = Object.defineProperty;
2
+ var at = (t, e, a) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
+ var R = (t, e, a) => (at(t, typeof e != "symbol" ? e + "" : e, a), a);
4
+ import { LayerHelper as Oe, CompanyHelper as Me, convertToStandardLng as Re } from "@idmwx/idmwx-base";
5
+ import { resolveComponent as z, openBlock as L, createElementBlock as x, createElementVNode as l, normalizeStyle as F, normalizeClass as M, Fragment as De, renderList as Ae, toDisplayString as S, createVNode as P, withCtx as it, createTextVNode as qe, createCommentVNode as $, pushScopeId as G, popScopeId as H, withDirectives as $e, vShow as Be, createStaticVNode as rt, mergeProps as I } from "vue";
6
6
  import * as C from "@turf/turf";
7
- import ct from "@mapbox/sphericalmercator";
8
- import ee from "moment";
9
- import ne from "mapbox-gl";
10
- import { TropicalHelper as et } from "@idm-plugin/geo";
11
- import se from "axios";
7
+ import ot from "@mapbox/sphericalmercator";
8
+ import ae from "moment";
9
+ import le from "mapbox-gl";
10
+ import { TropicalHelper as Ye, LngLatHelper as j, LaneHelper as te } from "@idm-plugin/geo";
11
+ import ne from "axios";
12
12
  const T = (t, e) => {
13
13
  const a = t.__vccOpts || t;
14
14
  for (const [r, i] of e)
15
15
  a[r] = i;
16
16
  return a;
17
- }, ht = {
17
+ }, st = {
18
18
  name: "IdmGlLayer",
19
19
  props: {
20
20
  map: {
@@ -49,8 +49,8 @@ const T = (t, e) => {
49
49
  autoActive: !0,
50
50
  otherLayers: [],
51
51
  layers: {
52
- weather: [...Ve.WEATHER_LAYERS],
53
- other: [...Ve.OTHER_LAYERS]
52
+ weather: [...Oe.WEATHER_LAYERS],
53
+ other: [...Oe.OTHER_LAYERS]
54
54
  },
55
55
  weatherLayersCache: "weatherLayersCache",
56
56
  autoActiveCache: "autoActiveCache",
@@ -150,94 +150,94 @@ const T = (t, e) => {
150
150
  this.source = t, this.handleConfirm();
151
151
  }
152
152
  }
153
- }, J = (t) => (U("data-v-29d43760"), t = t(), G(), t), dt = { class: "idm-gl-layer" }, pt = { class: "bar-item layer-bars" }, mt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ut = [
154
- mt
155
- ], yt = { class: "bar-item tool-bars" }, ft = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), gt = [
153
+ }, X = (t) => (G("data-v-63871fba"), t = t(), H(), t), nt = { class: "idm-gl-layer" }, lt = { class: "bar-item layer-bars" }, ct = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ht = [
154
+ ct
155
+ ], dt = { class: "bar-item tool-bars" }, pt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), mt = [
156
+ pt
157
+ ], ut = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), yt = [
158
+ ut
159
+ ], ft = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), gt = [
156
160
  ft
157
- ], bt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), vt = [
161
+ ], bt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), vt = [
158
162
  bt
159
- ], _t = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), wt = [
160
- _t
161
- ], Lt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), xt = [
163
+ ], _t = ["onClick"], wt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Lt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("i", { class: "iconfont" }, "", -1)), xt = [
162
164
  Lt
163
- ], Ct = ["onClick"], St = /* @__PURE__ */ J(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), kt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("i", { class: "iconfont" }, "", -1)), zt = [
164
- kt
165
- ], Pt = { class: "weather-layers" }, Tt = {
165
+ ], Ct = { class: "weather-layers" }, St = {
166
166
  class: "layers-title",
167
167
  style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
168
- }, Et = { style: { "font-size": "12px" } }, It = { class: "layers-body" }, Rt = ["onClick"], Dt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), At = { class: "other-layers" }, Mt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1)), $t = { class: "layers-body" }, Bt = ["onClick"], Nt = /* @__PURE__ */ J(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Wt = { class: "source-layers" }, Ot = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1)), jt = { class: "layers-body model-box" };
169
- function Ft(t, e, a, r, i, o) {
168
+ }, kt = { style: { "font-size": "12px" } }, zt = { class: "layers-body" }, Pt = ["onClick"], Tt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Et = { class: "other-layers" }, It = /* @__PURE__ */ X(() => /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1)), Rt = { class: "layers-body" }, Dt = ["onClick"], At = /* @__PURE__ */ X(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Mt = { class: "source-layers" }, $t = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1)), Bt = { class: "layers-body model-box" };
169
+ function Nt(t, e, a, r, i, o) {
170
170
  const n = z("ElScrollbar");
171
- return L(), x("div", dt, [
171
+ return L(), x("div", nt, [
172
172
  l("div", {
173
173
  class: "menu-bar-box",
174
- style: j({ top: a.top + 10 + "px", right: i.right + "px" })
174
+ style: F({ top: a.top + 10 + "px", right: i.right + "px" })
175
175
  }, [
176
- l("div", pt, [
176
+ l("div", lt, [
177
177
  l("div", {
178
178
  class: M(i.showLayers ? "menu-icon active" : "menu-icon"),
179
179
  onClick: e[0] || (e[0] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
180
- }, ut, 2)
180
+ }, ht, 2)
181
181
  ])
182
182
  ], 4),
183
183
  l("div", {
184
184
  class: "menu-bar-box",
185
- style: j({ top: a.top + 160 + "px", right: i.right + "px" })
185
+ style: F({ top: a.top + 160 + "px", right: i.right + "px" })
186
186
  }, [
187
- l("div", yt, [
187
+ l("div", dt, [
188
188
  l("div", {
189
189
  class: M(i.showMeasure ? "menu-icon active" : "menu-icon"),
190
190
  onClick: e[1] || (e[1] = (...s) => o.handleMeasureToggle && o.handleMeasureToggle(...s))
191
- }, gt, 2),
191
+ }, mt, 2),
192
192
  l("div", {
193
193
  class: M(i.showPoint ? "menu-icon active" : "menu-icon"),
194
194
  onClick: e[2] || (e[2] = (...s) => o.handlePointToggle && o.handlePointToggle(...s))
195
- }, vt, 2),
195
+ }, yt, 2),
196
196
  l("div", {
197
197
  class: M(i.showCoord ? "menu-icon active" : "menu-icon"),
198
198
  onClick: e[3] || (e[3] = (...s) => o.handleCoordToggle && o.handleCoordToggle(...s))
199
- }, wt, 2),
199
+ }, gt, 2),
200
200
  l("div", {
201
201
  class: M(i.show3d ? "menu-icon active" : "menu-icon"),
202
202
  onClick: e[4] || (e[4] = (...s) => o.handle3DToggle && o.handle3DToggle(...s))
203
- }, xt, 2)
203
+ }, vt, 2)
204
204
  ])
205
205
  ], 4),
206
206
  l("div", {
207
207
  class: "active-layers",
208
- style: j({ right: i.right + "px", bottom: "100px" })
208
+ style: F({ right: i.right + "px", bottom: "100px" })
209
209
  }, [
210
210
  (L(!0), x(De, null, Ae(i.weatherLayers, (s) => (L(), x("div", {
211
211
  key: s.key,
212
212
  class: M(o.computeLayerClass(s, i.activeWeatherLayers)),
213
213
  onClick: (c) => o.handleActiveWeatherLayerPick(s)
214
214
  }, [
215
- St,
215
+ wt,
216
216
  l("span", null, S(s.name), 1)
217
- ], 10, Ct))), 128))
217
+ ], 10, _t))), 128))
218
218
  ], 4),
219
219
  l("div", {
220
220
  class: "available-layers flex-center",
221
- style: j({ top: a.top + "px", right: i.showLayers ? "0px" : "-240px" })
221
+ style: F({ top: a.top + "px", right: i.showLayers ? "0px" : "-240px" })
222
222
  }, [
223
223
  l("div", {
224
224
  class: "side-bar",
225
- style: j({ right: i.showLayers ? "0px" : "-240px" }),
225
+ style: F({ right: i.showLayers ? "0px" : "-240px" }),
226
226
  onClick: e[5] || (e[5] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
227
- }, zt, 4),
227
+ }, xt, 4),
228
228
  l("div", {
229
229
  class: M(["list-box", i.showLayers ? "available-layers-show" : ""])
230
230
  }, [
231
231
  P(n, { style: { flex: "1" } }, {
232
- default: nt(() => [
233
- l("div", Pt, [
234
- l("div", Tt, [
232
+ default: it(() => [
233
+ l("div", Ct, [
234
+ l("div", St, [
235
235
  l("div", null, [
236
- Ke(" Weather Layers "),
237
- l("span", Et, "(" + S(i.weatherLayers.length) + "/12)", 1)
236
+ qe(" Weather Layers "),
237
+ l("span", kt, "(" + S(i.weatherLayers.length) + "/12)", 1)
238
238
  ])
239
239
  ]),
240
- l("div", It, [
240
+ l("div", zt, [
241
241
  (L(!0), x(De, null, Ae(i.layers.weather, (s) => (L(), x(De, {
242
242
  key: s.key
243
243
  }, [
@@ -246,28 +246,28 @@ function Ft(t, e, a, r, i, o) {
246
246
  class: M(o.computeLayerClass(s, i.weatherLayers)),
247
247
  onClick: (c) => o.handleWeatherLayerPick(s)
248
248
  }, [
249
- Dt,
249
+ Tt,
250
250
  l("span", null, S(s.name), 1)
251
- ], 10, Rt))
251
+ ], 10, Pt))
252
252
  ], 64))), 128))
253
253
  ])
254
254
  ]),
255
- l("div", At, [
256
- Mt,
257
- l("div", $t, [
255
+ l("div", Et, [
256
+ It,
257
+ l("div", Rt, [
258
258
  (L(!0), x(De, null, Ae(i.layers.other, (s) => (L(), x("div", {
259
259
  key: s.key,
260
260
  class: M(o.computeLayerClass(s, i.otherLayers)),
261
261
  onClick: (c) => o.handleOtherLayerPick(s)
262
262
  }, [
263
- Nt,
263
+ At,
264
264
  l("span", null, S(s.name), 1)
265
- ], 10, Bt))), 128))
265
+ ], 10, Dt))), 128))
266
266
  ])
267
267
  ]),
268
- l("div", Wt, [
269
- Ot,
270
- l("div", jt, [
268
+ l("div", Mt, [
269
+ $t,
270
+ l("div", Bt, [
271
271
  l("span", {
272
272
  class: M(i.source === "GFS" ? "text active" : "text"),
273
273
  onClick: e[6] || (e[6] = (s) => o.handleSourceToggle("GFS"))
@@ -285,8 +285,8 @@ function Ft(t, e, a, r, i, o) {
285
285
  ], 4)
286
286
  ]);
287
287
  }
288
- const Vt = /* @__PURE__ */ T(ht, [["render", Ft], ["__scopeId", "data-v-29d43760"]]);
289
- const Ut = {
288
+ const Wt = /* @__PURE__ */ T(st, [["render", Nt], ["__scopeId", "data-v-63871fba"]]);
289
+ const Ot = {
290
290
  name: "IdmWindBarb",
291
291
  props: {
292
292
  map: {
@@ -445,32 +445,32 @@ const Ut = {
445
445
  this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
446
446
  }
447
447
  }
448
- }, Gt = { key: 0 }, Ht = {
448
+ }, jt = { key: 0 }, Ft = {
449
449
  key: 0,
450
450
  class: "iconfont active"
451
- }, Zt = {
451
+ }, Vt = {
452
452
  key: 1,
453
453
  class: "iconfont"
454
- }, Jt = {
454
+ }, Ut = {
455
455
  key: 0,
456
456
  class: "iconfont active"
457
- }, Xt = {
457
+ }, Gt = {
458
458
  key: 1,
459
459
  class: "iconfont"
460
460
  };
461
- function qt(t, e, a, r, i, o) {
461
+ function Ht(t, e, a, r, i, o) {
462
462
  var n;
463
- return (n = a.wind) != null && n.active ? (L(), x("div", Gt, [
463
+ return (n = a.wind) != null && n.active ? (L(), x("div", jt, [
464
464
  l("div", {
465
465
  class: "flex-center tool-bars",
466
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
466
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
467
467
  }, [
468
468
  a.mapProjection === "mercator" ? (L(), x("div", {
469
469
  key: 0,
470
470
  class: "flex-start",
471
471
  onClick: e[0] || (e[0] = (...s) => o.handleParticle && o.handleParticle(...s))
472
472
  }, [
473
- a.showParticle ? (L(), x("i", Ht, "")) : (L(), x("i", Zt, "")),
473
+ a.showParticle ? (L(), x("i", Ft, "")) : (L(), x("i", Vt, "")),
474
474
  l("span", {
475
475
  class: M(a.showParticle ? "active" : "")
476
476
  }, "Wind Particles", 2)
@@ -481,7 +481,7 @@ function qt(t, e, a, r, i, o) {
481
481
  style: { "margin-left": "16px" },
482
482
  onClick: e[1] || (e[1] = (s) => i.showFeather = !i.showFeather)
483
483
  }, [
484
- i.showFeather ? (L(), x("i", Jt, "")) : (L(), x("i", Xt, "")),
484
+ i.showFeather ? (L(), x("i", Ut, "")) : (L(), x("i", Gt, "")),
485
485
  l("span", {
486
486
  class: M(i.showFeather ? "active" : "")
487
487
  }, "Wind Feather", 2)
@@ -489,8 +489,8 @@ function qt(t, e, a, r, i, o) {
489
489
  ], 4)
490
490
  ])) : $("", !0);
491
491
  }
492
- const Yt = /* @__PURE__ */ T(Ut, [["render", qt], ["__scopeId", "data-v-f409772c"]]);
493
- class Ue {
492
+ const Zt = /* @__PURE__ */ T(Ot, [["render", Ht], ["__scopeId", "data-v-b6fb74d9"]]);
493
+ class je {
494
494
  constructor(e) {
495
495
  R(this, "map");
496
496
  R(this, "mercator");
@@ -501,7 +501,7 @@ class Ue {
501
501
  R(this, "rampColorCanvas");
502
502
  R(this, "particleCanvas");
503
503
  R(this, "ratio");
504
- this.map = e, this.mercator = new ct(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
504
+ this.map = e, this.mercator = new ot(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
505
505
  }
506
506
  /**
507
507
  * 转换为[-180, 180]的经度,且包含转换次数
@@ -573,7 +573,7 @@ class Ue {
573
573
  a !== r && this.map.setLayoutProperty(this.particleLayer, "visibility", r);
574
574
  }
575
575
  }
576
- class we {
576
+ class Le {
577
577
  /**
578
578
  * 创建着色器
579
579
  * @see https://webglfundamentals.org/webgl/lessons/zh_cn/webgl-shaders-and-glsl.html
@@ -811,9 +811,9 @@ R(N, "fragmentSchema", `
811
811
  vec4 color = texture2D(u_color, vec2(rgba.r, 0));
812
812
  gl_FragColor = color;
813
813
  }`);
814
- class V {
814
+ class U {
815
815
  }
816
- R(V, "vertexSchema", `
816
+ R(U, "vertexSchema", `
817
817
  precision mediump float;
818
818
 
819
819
  attribute float a_index; // 索引
@@ -837,7 +837,7 @@ R(V, "vertexSchema", `
837
837
  gl_PointSize = 1.0;
838
838
  // gl_PointSize = u_point;
839
839
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
840
- }`), R(V, "fragmentSchema", `
840
+ }`), R(U, "fragmentSchema", `
841
841
  precision mediump float;
842
842
 
843
843
  uniform sampler2D u_factor;
@@ -859,7 +859,7 @@ R(V, "vertexSchema", `
859
859
 
860
860
  float f = 1.0 - uv.b;
861
861
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
862
- }`), R(V, "quadVertSchema", `
862
+ }`), R(U, "quadVertSchema", `
863
863
  precision mediump float;
864
864
 
865
865
  attribute vec2 a_pos;
@@ -869,7 +869,7 @@ R(V, "vertexSchema", `
869
869
  void main() {
870
870
  v_tex_pos = a_pos;
871
871
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
872
- }`), R(V, "screenFragmentSchema", `
872
+ }`), R(U, "screenFragmentSchema", `
873
873
  precision mediump float;
874
874
 
875
875
  uniform sampler2D u_screen;
@@ -881,7 +881,7 @@ R(V, "vertexSchema", `
881
881
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
882
882
  // a hack to guarantee opacity fade out even with a value close to 1.0
883
883
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
884
- }`), R(V, "updateFragmentSchema", `
884
+ }`), R(U, "updateFragmentSchema", `
885
885
  precision mediump float;
886
886
 
887
887
  uniform sampler2D u_particles;
@@ -960,7 +960,7 @@ R(V, "vertexSchema", `
960
960
  fract(pos * 255.0),
961
961
  floor(pos * 255.0) / 255.0);
962
962
  }`);
963
- class Qt {
963
+ class Jt {
964
964
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
965
965
  R(this, "token");
966
966
  R(this, "mapboxCustomer");
@@ -2564,14 +2564,14 @@ class Qt {
2564
2564
  };
2565
2565
  }
2566
2566
  }
2567
- const Kt = {
2567
+ const Xt = {
2568
2568
  name: "IdmWindParticle",
2569
2569
  props: {
2570
2570
  factor: {
2571
2571
  type: Object
2572
2572
  },
2573
2573
  viewport: {
2574
- type: Ue
2574
+ type: je
2575
2575
  },
2576
2576
  bottom: {
2577
2577
  type: String,
@@ -2588,7 +2588,7 @@ const Kt = {
2588
2588
  texture: void 0,
2589
2589
  rampColor: void 0,
2590
2590
  aPositionBuffer: void 0,
2591
- webgl: new we(),
2591
+ webgl: new Le(),
2592
2592
  etime: void 0,
2593
2593
  wrapper: void 0,
2594
2594
  animation: void 0,
@@ -2692,11 +2692,11 @@ const Kt = {
2692
2692
  ];
2693
2693
  this.wrapper = this.webgl.bindParticle(
2694
2694
  this.particleContext,
2695
- V.vertexSchema,
2696
- V.fragmentSchema,
2697
- V.quadVertSchema,
2698
- V.screenFragmentSchema,
2699
- V.updateFragmentSchema
2695
+ U.vertexSchema,
2696
+ U.fragmentSchema,
2697
+ U.quadVertSchema,
2698
+ U.screenFragmentSchema,
2699
+ U.updateFragmentSchema
2700
2700
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = { ...this.wrapper, ...this.webgl.setupParticle(this.particleContext, 9e3), ...this.webgl.resize(this.viewport, this.particleContext) }, this.viewport.map.on("resize", this.handleResize), this.viewport.map.on("movestart", this.handlePause), this.viewport.map.on("moveend", this.handlePlay);
2701
2701
  }
2702
2702
  },
@@ -2726,27 +2726,27 @@ const Kt = {
2726
2726
  });
2727
2727
  }
2728
2728
  }
2729
- }, le = (t) => (U("data-v-6e0050df"), t = t(), G(), t), ea = { key: 0 }, ta = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "kts", -1)), aa = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "0", -1)), ia = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "5", -1)), ra = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "10", -1)), oa = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "20", -1)), sa = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "30", -1)), na = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "40", -1)), la = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "60", -1)), ca = [
2729
+ }, ce = (t) => (G("data-v-41a686d0"), t = t(), H(), t), qt = { key: 0 }, Yt = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "kts", -1)), Qt = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Kt = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "5", -1)), ea = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "10", -1)), ta = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "20", -1)), aa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "30", -1)), ia = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "40", -1)), ra = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "60", -1)), oa = [
2730
+ Yt,
2731
+ Qt,
2732
+ Kt,
2733
+ ea,
2730
2734
  ta,
2731
2735
  aa,
2732
2736
  ia,
2733
- ra,
2734
- oa,
2735
- sa,
2736
- na,
2737
- la
2737
+ ra
2738
2738
  ];
2739
- function ha(t, e, a, r, i, o) {
2739
+ function sa(t, e, a, r, i, o) {
2740
2740
  var n;
2741
- return (n = a.factor) != null && n.active ? (L(), x("div", ea, [
2741
+ return (n = a.factor) != null && n.active ? (L(), x("div", qt, [
2742
2742
  l("div", {
2743
2743
  class: "legend-bars flex-center",
2744
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
2745
- }, ca, 4)
2744
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
2745
+ }, oa, 4)
2746
2746
  ])) : $("", !0);
2747
2747
  }
2748
- const da = /* @__PURE__ */ T(Kt, [["render", ha], ["__scopeId", "data-v-6e0050df"]]);
2749
- const pa = {
2748
+ const na = /* @__PURE__ */ T(Xt, [["render", sa], ["__scopeId", "data-v-41a686d0"]]);
2749
+ const la = {
2750
2750
  name: "IdmCurrent",
2751
2751
  props: {
2752
2752
  map: {
@@ -2906,32 +2906,32 @@ const pa = {
2906
2906
  this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
2907
2907
  }
2908
2908
  }
2909
- }, ma = { key: 0 }, ua = {
2909
+ }, ca = { key: 0 }, ha = {
2910
2910
  key: 0,
2911
2911
  class: "iconfont active"
2912
- }, ya = {
2912
+ }, da = {
2913
2913
  key: 1,
2914
2914
  class: "iconfont"
2915
- }, fa = {
2915
+ }, pa = {
2916
2916
  key: 0,
2917
2917
  class: "iconfont active"
2918
- }, ga = {
2918
+ }, ma = {
2919
2919
  key: 1,
2920
2920
  class: "iconfont"
2921
2921
  };
2922
- function ba(t, e, a, r, i, o) {
2922
+ function ua(t, e, a, r, i, o) {
2923
2923
  var n;
2924
- return (n = a.current) != null && n.active ? (L(), x("div", ma, [
2924
+ return (n = a.current) != null && n.active ? (L(), x("div", ca, [
2925
2925
  l("div", {
2926
2926
  class: "flex-center tool-bars",
2927
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
2927
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
2928
2928
  }, [
2929
2929
  a.mapProjection === "mercator" ? (L(), x("div", {
2930
2930
  key: 0,
2931
2931
  class: "flex-start",
2932
2932
  onClick: e[0] || (e[0] = (...s) => o.handleParticle && o.handleParticle(...s))
2933
2933
  }, [
2934
- a.showParticle ? (L(), x("i", ua, "")) : (L(), x("i", ya, "")),
2934
+ a.showParticle ? (L(), x("i", ha, "")) : (L(), x("i", da, "")),
2935
2935
  l("span", {
2936
2936
  class: M(a.showParticle ? "active" : "")
2937
2937
  }, "Current Particles", 2)
@@ -2942,7 +2942,7 @@ function ba(t, e, a, r, i, o) {
2942
2942
  style: { "margin-left": "16px" },
2943
2943
  onClick: e[1] || (e[1] = (s) => i.showJson = !i.showJson)
2944
2944
  }, [
2945
- i.showJson ? (L(), x("i", fa, "")) : (L(), x("i", ga, "")),
2945
+ i.showJson ? (L(), x("i", pa, "")) : (L(), x("i", ma, "")),
2946
2946
  l("span", {
2947
2947
  class: M(i.showJson ? "active" : "")
2948
2948
  }, "Current", 2)
@@ -2950,15 +2950,15 @@ function ba(t, e, a, r, i, o) {
2950
2950
  ], 4)
2951
2951
  ])) : $("", !0);
2952
2952
  }
2953
- const va = /* @__PURE__ */ T(pa, [["render", ba], ["__scopeId", "data-v-4f257fc7"]]);
2954
- const _a = {
2953
+ const ya = /* @__PURE__ */ T(la, [["render", ua], ["__scopeId", "data-v-ae630f43"]]);
2954
+ const fa = {
2955
2955
  name: "IdmCurrentParticle",
2956
2956
  props: {
2957
2957
  factor: {
2958
2958
  type: Object
2959
2959
  },
2960
2960
  viewport: {
2961
- type: Ue
2961
+ type: je
2962
2962
  },
2963
2963
  bottom: {
2964
2964
  type: String,
@@ -2975,7 +2975,7 @@ const _a = {
2975
2975
  texture: void 0,
2976
2976
  rampColor: void 0,
2977
2977
  aPositionBuffer: void 0,
2978
- webgl: new we(),
2978
+ webgl: new Le(),
2979
2979
  etime: void 0,
2980
2980
  wrapper: void 0,
2981
2981
  animation: void 0,
@@ -3070,11 +3070,11 @@ const _a = {
3070
3070
  ];
3071
3071
  this.wrapper = this.webgl.bindParticle(
3072
3072
  this.particleContext,
3073
- V.vertexSchema,
3074
- V.fragmentSchema,
3075
- V.quadVertSchema,
3076
- V.screenFragmentSchema,
3077
- V.updateFragmentSchema
3073
+ U.vertexSchema,
3074
+ U.fragmentSchema,
3075
+ U.quadVertSchema,
3076
+ U.screenFragmentSchema,
3077
+ U.updateFragmentSchema
3078
3078
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = {
3079
3079
  ...this.wrapper,
3080
3080
  ...this.webgl.setupParticle(this.particleContext, 12e3),
@@ -3108,25 +3108,25 @@ const _a = {
3108
3108
  });
3109
3109
  }
3110
3110
  }
3111
- }, Le = (t) => (U("data-v-ec0ae348"), t = t(), G(), t), wa = { key: 0 }, La = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "kts", -1)), xa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0", -1)), Ca = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.4", -1)), Sa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.8", -1)), ka = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "1.6", -1)), za = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "2", -1)), Pa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ta = [
3111
+ }, xe = (t) => (G("data-v-9115889b"), t = t(), H(), t), ga = { key: 0 }, ba = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "kts", -1)), va = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0", -1)), _a = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0.4", -1)), wa = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0.8", -1)), La = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "1.6", -1)), xa = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "2", -1)), Ca = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Sa = [
3112
+ ba,
3113
+ va,
3114
+ _a,
3115
+ wa,
3112
3116
  La,
3113
3117
  xa,
3114
- Ca,
3115
- Sa,
3116
- ka,
3117
- za,
3118
- Pa
3118
+ Ca
3119
3119
  ];
3120
- function Ea(t, e, a, r, i, o) {
3120
+ function ka(t, e, a, r, i, o) {
3121
3121
  var n;
3122
- return (n = a.factor) != null && n.active ? (L(), x("div", wa, [
3122
+ return (n = a.factor) != null && n.active ? (L(), x("div", ga, [
3123
3123
  l("div", {
3124
3124
  class: "legend-bars flex-center",
3125
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
3126
- }, Ta, 4)
3125
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
3126
+ }, Sa, 4)
3127
3127
  ])) : $("", !0);
3128
3128
  }
3129
- const Ia = /* @__PURE__ */ T(_a, [["render", Ea], ["__scopeId", "data-v-ec0ae348"]]), Ra = {
3129
+ const za = /* @__PURE__ */ T(fa, [["render", ka], ["__scopeId", "data-v-9115889b"]]), Pa = {
3130
3130
  name: "IdmSigWave",
3131
3131
  props: {
3132
3132
  map: {
@@ -3235,10 +3235,10 @@ const Ia = /* @__PURE__ */ T(_a, [["render", Ea], ["__scopeId", "data-v-ec0ae348
3235
3235
  }
3236
3236
  }
3237
3237
  };
3238
- function Da(t, e, a, r, i, o) {
3238
+ function Ta(t, e, a, r, i, o) {
3239
3239
  return L(), x("div");
3240
3240
  }
3241
- const Aa = /* @__PURE__ */ T(Ra, [["render", Da]]), Ma = {
3241
+ const Ea = /* @__PURE__ */ T(Pa, [["render", Ta]]), Ia = {
3242
3242
  name: "IdmSwell",
3243
3243
  props: {
3244
3244
  map: {
@@ -3376,10 +3376,10 @@ const Aa = /* @__PURE__ */ T(Ra, [["render", Da]]), Ma = {
3376
3376
  }
3377
3377
  }
3378
3378
  };
3379
- function $a(t, e, a, r, i, o) {
3379
+ function Ra(t, e, a, r, i, o) {
3380
3380
  return L(), x("div");
3381
3381
  }
3382
- const Ba = /* @__PURE__ */ T(Ma, [["render", $a]]), Na = {
3382
+ const Da = /* @__PURE__ */ T(Ia, [["render", Ra]]), Aa = {
3383
3383
  name: "IdmPrmsl",
3384
3384
  props: {
3385
3385
  map: {
@@ -3507,10 +3507,10 @@ const Ba = /* @__PURE__ */ T(Ma, [["render", $a]]), Na = {
3507
3507
  }
3508
3508
  }
3509
3509
  };
3510
- function Wa(t, e, a, r, i, o) {
3510
+ function Ma(t, e, a, r, i, o) {
3511
3511
  return L(), x("div");
3512
3512
  }
3513
- const Oa = /* @__PURE__ */ T(Na, [["render", Wa]]), ja = {
3513
+ const $a = /* @__PURE__ */ T(Aa, [["render", Ma]]), Ba = {
3514
3514
  name: "IdmIceberg",
3515
3515
  props: {
3516
3516
  map: {
@@ -3567,11 +3567,11 @@ const Oa = /* @__PURE__ */ T(Na, [["render", Wa]]), ja = {
3567
3567
  }
3568
3568
  }
3569
3569
  };
3570
- function Fa(t, e, a, r, i, o) {
3570
+ function Na(t, e, a, r, i, o) {
3571
3571
  return L(), x("div");
3572
3572
  }
3573
- const Va = /* @__PURE__ */ T(ja, [["render", Fa]]);
3574
- const Ua = {
3573
+ const Wa = /* @__PURE__ */ T(Ba, [["render", Na]]);
3574
+ const Oa = {
3575
3575
  name: "IdmTropicals",
3576
3576
  props: {
3577
3577
  map: {
@@ -3615,7 +3615,7 @@ const Ua = {
3615
3615
  computeTime() {
3616
3616
  return function(t) {
3617
3617
  if (t) {
3618
- const e = ee(t).utc();
3618
+ const e = ae(t).utc();
3619
3619
  return `${e.format("MMM-DD,HHmm[Z]")} (${e == null ? void 0 : e.fromNow()})`;
3620
3620
  }
3621
3621
  return "-";
@@ -3638,7 +3638,7 @@ const Ua = {
3638
3638
  "tropicals.version": {
3639
3639
  handler() {
3640
3640
  var r, i;
3641
- const t = ((i = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : i.features) || [], e = ee().utc().hour(), a = [];
3641
+ const t = ((i = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : i.features) || [], e = ae().utc().hour(), a = [];
3642
3642
  t.forEach((o) => {
3643
3643
  var n, s, c;
3644
3644
  (n = o.properties) != null && n.name && !a.includes((s = o.properties) == null ? void 0 : s.name) && a.push((c = o.properties) == null ? void 0 : c.name);
@@ -3658,7 +3658,7 @@ const Ua = {
3658
3658
  }), c.map((d, p) => {
3659
3659
  var f, m, b, y, u, v, g, w;
3660
3660
  if (((f = d.geometry) == null ? void 0 : f.type) === "LineString" && ((m = d.properties) == null || m.type), ((b = d.geometry) == null ? void 0 : b.type) === "Point" && ((y = d.properties) == null ? void 0 : y.type) === "forecast" && (d.properties.name = o), ((u = d.geometry) == null ? void 0 : u.type) === "Point" && ((v = d.properties) == null ? void 0 : v.type) === "history") {
3661
- const k = ((w = (g = d.properties) == null ? void 0 : g.format) == null ? void 0 : w.slice(7, 12)) === ee().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm") + "Z";
3661
+ const k = ((w = (g = d.properties) == null ? void 0 : g.format) == null ? void 0 : w.slice(7, 12)) === ae().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm") + "Z";
3662
3662
  d.properties.showHistoryLabel = k || p === n, d.properties.showNameLabel = p === n, d.properties.name = o;
3663
3663
  }
3664
3664
  return d;
@@ -3925,7 +3925,7 @@ const Ua = {
3925
3925
  }), m = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", m, ", total: ", f += m));
3926
3926
  }
3927
3927
  this.handleDrawCircle();
3928
- const d = et.interpolate(this.tropicals, 1);
3928
+ const d = Ye.interpolate(this.tropicals, 1);
3929
3929
  this.interpolateData = JSON.parse(JSON.stringify(d)), this.handleDateChange();
3930
3930
  }
3931
3931
  },
@@ -3934,14 +3934,14 @@ const Ua = {
3934
3934
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((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));
3935
3935
  },
3936
3936
  handleDateChange() {
3937
- var t, e, a, r, i, o, n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, H, de, pe, me, ue, ye, fe, ge, ae;
3938
- if ((t = this.interpolateMarkers) == null || t.forEach((Z) => Z == null ? void 0 : Z.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
3939
- const Z = ee(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), q = this.interpolateData.filter((E) => E.properties.date === Z.format() && !E.properties.disabled), be = this.handleComputePolygons(q), Y = C.featureCollection([...q]);
3940
- be.forEach((E) => {
3941
- Y.features.push(E);
3942
- }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (r = this.map) == null || r.getSource(this.interpolateSource).setData(Y) : ((i = this.map) == null || i.addSource(this.interpolateSource, {
3937
+ var t, e, a, r, i, o, n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, pe, me, ue, ye, fe, ge, be, ie;
3938
+ if ((t = this.interpolateMarkers) == null || t.forEach((J) => J == null ? void 0 : J.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
3939
+ const J = ae(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), Y = this.interpolateData.filter((E) => E.properties.date === J.format() && !E.properties.disabled), ve = this.handleComputePolygons(Y), Q = C.featureCollection([...Y]);
3940
+ ve.forEach((E) => {
3941
+ Q.features.push(E);
3942
+ }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (r = this.map) == null || r.getSource(this.interpolateSource).setData(Q) : ((i = this.map) == null || i.addSource(this.interpolateSource, {
3943
3943
  type: "geojson",
3944
- data: Y
3944
+ data: Q
3945
3945
  }), (o = this.map) == null || o.addLayer({
3946
3946
  id: this.interpolateLineLayer,
3947
3947
  type: "line",
@@ -3953,17 +3953,17 @@ const Ua = {
3953
3953
  "line-width": 1
3954
3954
  }
3955
3955
  })), this.interpolateMarkers = [];
3956
- for (const E of q)
3956
+ for (const E of Y)
3957
3957
  if (!E.properties.disabled) {
3958
- let F = "#f44336";
3959
- ((s = (n = E.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 || !((h = (c = E.properties) == null ? void 0 : c.wind) != null && h.spd) ? F = "#03f869" : ((p = (d = E.properties) == null ? void 0 : d.wind) == null ? void 0 : p.spd) >= 17.2 && ((m = (f = E.properties) == null ? void 0 : f.wind) == null ? void 0 : m.spd) < 24.5 ? F = "#f2f202" : ((y = (b = E.properties) == null ? void 0 : b.wind) == null ? void 0 : y.spd) >= 24.5 && ((v = (u = E.properties) == null ? void 0 : u.wind) == null ? void 0 : v.spd) < 32.7 ? F = "#ff9100" : ((w = (g = E.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) >= 32.7 && ((_ = (k = E.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) < 41.5 ? F = "#f44336" : ((A = (D = E.properties) == null ? void 0 : D.wind) == null ? void 0 : A.spd) >= 41.5 && ((W = (B = E.properties) == null ? void 0 : B.wind) == null ? void 0 : W.spd) < 51 ? F = "#f903d0" : ((H = (O = E.properties) == null ? void 0 : O.wind) == null ? void 0 : H.spd) >= 51 ? F = "#8702f9" : F = "#f44336";
3960
- const ve = `<svg t="1719918955501"
3958
+ let V = "#f44336";
3959
+ ((s = (n = E.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 || !((h = (c = E.properties) == null ? void 0 : c.wind) != null && h.spd) ? V = "#03f869" : ((p = (d = E.properties) == null ? void 0 : d.wind) == null ? void 0 : p.spd) >= 17.2 && ((m = (f = E.properties) == null ? void 0 : f.wind) == null ? void 0 : m.spd) < 24.5 ? V = "#f2f202" : ((y = (b = E.properties) == null ? void 0 : b.wind) == null ? void 0 : y.spd) >= 24.5 && ((v = (u = E.properties) == null ? void 0 : u.wind) == null ? void 0 : v.spd) < 32.7 ? V = "#ff9100" : ((w = (g = E.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) >= 32.7 && ((_ = (k = E.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) < 41.5 ? V = "#f44336" : ((A = (D = E.properties) == null ? void 0 : D.wind) == null ? void 0 : A.spd) >= 41.5 && ((W = (B = E.properties) == null ? void 0 : B.wind) == null ? void 0 : W.spd) < 51 ? V = "#f903d0" : ((Z = (O = E.properties) == null ? void 0 : O.wind) == null ? void 0 : Z.spd) >= 51 ? V = "#8702f9" : V = "#f44336";
3960
+ const _e = `<svg t="1719918955501"
3961
3961
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
3962
3962
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
3963
3963
  <path
3964
3964
  d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
3965
- fill="${F}" p-id="18383"></path>
3966
- <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${F}"
3965
+ fill="${V}" p-id="18383"></path>
3966
+ <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${V}"
3967
3967
  p-id="18384"></path>
3968
3968
  <path
3969
3969
  d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
@@ -3971,23 +3971,23 @@ const Ua = {
3971
3971
  <path
3972
3972
  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"
3973
3973
  fill="#ffffff" p-id="18386"></path>
3974
- </svg>`, Q = document.createElement("div");
3975
- Q.className = "hurricane-hourly-marker", Q.innerHTML = `<div class="${E.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ve}</div>`;
3976
- const _e = new ne.Marker(Q).setLngLat(E.geometry.coordinates).addTo(this.map);
3977
- if (this.interpolateMarkers.push(_e), (de = E.properties) != null && de.showCircle) {
3978
- const ie = { radius: 100, coordinates: E.geometry.coordinates }, re = { radius: 200, coordinates: E.geometry.coordinates }, oe = { radius: 500, coordinates: E.geometry.coordinates };
3979
- (pe = this.circleSourceData) == null || pe.features.push(
3980
- C.circle(ie.coordinates, ie.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3981
- ), (me = this.circleSourceData) == null || me.features.push(
3974
+ </svg>`, K = document.createElement("div");
3975
+ K.className = "hurricane-hourly-marker", K.innerHTML = `<div class="${E.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${_e}</div>`;
3976
+ const we = new le.Marker(K).setLngLat(E.geometry.coordinates).addTo(this.map);
3977
+ if (this.interpolateMarkers.push(we), (pe = E.properties) != null && pe.showCircle) {
3978
+ const re = { radius: 100, coordinates: E.geometry.coordinates }, oe = { radius: 200, coordinates: E.geometry.coordinates }, se = { radius: 500, coordinates: E.geometry.coordinates };
3979
+ (me = this.circleSourceData) == null || me.features.push(
3982
3980
  C.circle(re.coordinates, re.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3983
3981
  ), (ue = this.circleSourceData) == null || ue.features.push(
3984
3982
  C.circle(oe.coordinates, oe.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3983
+ ), (ye = this.circleSourceData) == null || ye.features.push(
3984
+ C.circle(se.coordinates, se.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3985
3985
  );
3986
3986
  }
3987
- (fe = (ye = this.map) == null ? void 0 : ye.getSource(this.circleSource)) == null || fe.setData(this.circleSourceData);
3987
+ (ge = (fe = this.map) == null ? void 0 : fe.getSource(this.circleSource)) == null || ge.setData(this.circleSourceData);
3988
3988
  }
3989
3989
  } else
3990
- (ge = this.map) != null && ge.getSource(this.interpolateSource) && ((ae = this.map) == null || ae.getSource(this.interpolateSource).setData(this.empty));
3990
+ (be = this.map) != null && be.getSource(this.interpolateSource) && ((ie = this.map) == null || ie.getSource(this.interpolateSource).setData(this.empty));
3991
3991
  },
3992
3992
  handleClick(t) {
3993
3993
  var o, n, s, c, h, d, p, f;
@@ -4014,7 +4014,7 @@ const Ua = {
4014
4014
  showCircle: (f = (p = a[0]) == null ? void 0 : p.properties) == null ? void 0 : f.showCircle
4015
4015
  }, this.showTropicals = !0;
4016
4016
  const i = document.getElementById("active-tropical");
4017
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new ne.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
4017
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new le.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
4018
4018
  },
4019
4019
  handleForecastToggle(t) {
4020
4020
  var r, i, o, n, s, c;
@@ -4099,52 +4099,52 @@ const Ua = {
4099
4099
  return C.lineToPolygon(i, { properties: a });
4100
4100
  }
4101
4101
  }
4102
- }, Ge = (t) => (U("data-v-62a2f148"), t = t(), G(), t), Ga = {
4102
+ }, Fe = (t) => (G("data-v-b5b42393"), t = t(), H(), t), ja = {
4103
4103
  id: "active-tropical",
4104
4104
  class: "active-tropical"
4105
- }, Ha = { class: "header-box" }, Za = { class: "main" }, Ja = { key: 0 }, Xa = { class: "sub" }, qa = {
4105
+ }, Fa = { class: "header-box" }, Va = { class: "main" }, Ua = { key: 0 }, Ga = { class: "sub" }, Ha = {
4106
4106
  id: "meteoBox",
4107
4107
  class: "main-box"
4108
- }, Ya = { class: "content" }, Qa = { class: "row" }, Ka = {
4108
+ }, Za = { class: "content" }, Ja = { class: "row" }, Xa = {
4109
4109
  class: "col col-left",
4110
4110
  style: { "justify-content": "flex-start" }
4111
- }, ei = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", null, "Wind speed : ", -1)), ti = {
4111
+ }, qa = /* @__PURE__ */ Fe(() => /* @__PURE__ */ l("label", null, "Wind speed : ", -1)), Ya = {
4112
4112
  class: "col col-right",
4113
4113
  style: { "justify-content": "flex-start" }
4114
- }, ai = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), ii = { class: "row" }, ri = {
4114
+ }, Qa = /* @__PURE__ */ Fe(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), Ka = { class: "row" }, ei = {
4115
4115
  class: "col col-24",
4116
4116
  style: { "justify-content": "flex-start" }
4117
- }, 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-62a2f148></div><div class="row" style="padding:2px 10px;" data-v-62a2f148><div class="legend" data-v-62a2f148><div class="icon td" data-v-62a2f148></div><div class="label" data-v-62a2f148>TD</div></div><div class="legend" data-v-62a2f148><div class="icon ts" data-v-62a2f148></div><div class="label" data-v-62a2f148>TS</div></div><div class="legend" data-v-62a2f148><div class="icon sts" data-v-62a2f148></div><div class="label" data-v-62a2f148>STS</div></div><div class="legend" data-v-62a2f148><div class="icon ty" data-v-62a2f148></div><div class="label" data-v-62a2f148>TY</div></div><div class="legend" data-v-62a2f148><div class="icon sty" data-v-62a2f148></div><div class="label" data-v-62a2f148>STY</div></div><div class="legend" data-v-62a2f148><div class="icon supper-ty" data-v-62a2f148></div><div class="label" data-v-62a2f148>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-62a2f148><div class="legend" data-v-62a2f148><div class="icon history" data-v-62a2f148></div><div class="label" data-v-62a2f148>History</div></div><div class="legend" data-v-62a2f148><div class="icon r7" data-v-62a2f148></div><div class="label" data-v-62a2f148>35kts Radii</div></div><div class="legend" data-v-62a2f148><div class="icon r10" data-v-62a2f148></div><div class="label" data-v-62a2f148>50kts Radii</div></div></div>', 3), ci = { class: "more" };
4118
- function hi(t, e, a, r, i, o) {
4117
+ }, ti = /* @__PURE__ */ Fe(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), ai = { class: "forecast-models" }, ii = ["onClick"], ri = /* @__PURE__ */ rt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-b5b42393></div><div class="row" style="padding:2px 10px;" data-v-b5b42393><div class="legend" data-v-b5b42393><div class="icon td" data-v-b5b42393></div><div class="label" data-v-b5b42393>TD</div></div><div class="legend" data-v-b5b42393><div class="icon ts" data-v-b5b42393></div><div class="label" data-v-b5b42393>TS</div></div><div class="legend" data-v-b5b42393><div class="icon sts" data-v-b5b42393></div><div class="label" data-v-b5b42393>STS</div></div><div class="legend" data-v-b5b42393><div class="icon ty" data-v-b5b42393></div><div class="label" data-v-b5b42393>TY</div></div><div class="legend" data-v-b5b42393><div class="icon sty" data-v-b5b42393></div><div class="label" data-v-b5b42393>STY</div></div><div class="legend" data-v-b5b42393><div class="icon supper-ty" data-v-b5b42393></div><div class="label" data-v-b5b42393>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-b5b42393><div class="legend" data-v-b5b42393><div class="icon history" data-v-b5b42393></div><div class="label" data-v-b5b42393>History</div></div><div class="legend" data-v-b5b42393><div class="icon r7" data-v-b5b42393></div><div class="label" data-v-b5b42393>35kts Radii</div></div><div class="legend" data-v-b5b42393><div class="icon r10" data-v-b5b42393></div><div class="label" data-v-b5b42393>50kts Radii</div></div></div>', 3), oi = { class: "more" };
4118
+ function si(t, e, a, r, i, o) {
4119
4119
  var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k;
4120
- return $e((L(), x("div", Ga, [
4121
- l("div", Ha, [
4120
+ return $e((L(), x("div", ja, [
4121
+ l("div", Fa, [
4122
4122
  l("div", {
4123
4123
  class: "iconfont close-btn",
4124
4124
  onClick: e[0] || (e[0] = (_) => i.showTropicals = !1)
4125
4125
  }, ""),
4126
- l("div", Za, [
4127
- (s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span", Ja, S((h = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : h.level) + " , ", 1)) : $("", !0),
4128
- Ke(S((d = i.activeTropicals) == null ? void 0 : d.name), 1)
4126
+ l("div", Va, [
4127
+ (s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span", Ua, S((h = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : h.level) + " , ", 1)) : $("", !0),
4128
+ qe(S((d = i.activeTropicals) == null ? void 0 : d.name), 1)
4129
4129
  ]),
4130
- l("div", Xa, " Last update: " + S(o.computeTime(((f = (p = i.activeTropicals) == null ? void 0 : p.history) == null ? void 0 : f.updated) || ((y = (b = (m = i.activeTropicals) == null ? void 0 : m.forecasts) == null ? void 0 : b.filter((_) => !_.disabled)[0]) == null ? void 0 : y.date))), 1)
4130
+ l("div", Ga, " Last update: " + S(o.computeTime(((f = (p = i.activeTropicals) == null ? void 0 : p.history) == null ? void 0 : f.updated) || ((y = (b = (m = i.activeTropicals) == null ? void 0 : m.forecasts) == null ? void 0 : b.filter((_) => !_.disabled)[0]) == null ? void 0 : y.date))), 1)
4131
4131
  ]),
4132
- l("div", qa, [
4133
- l("div", Ya, [
4134
- l("div", Qa, [
4135
- l("div", Ka, [
4136
- ei,
4132
+ l("div", Ha, [
4133
+ l("div", Za, [
4134
+ l("div", Ja, [
4135
+ l("div", Xa, [
4136
+ qa,
4137
4137
  l("span", null, S(((v = (u = i.activeTropicals) == null ? void 0 : u.history) == null ? void 0 : v.kts) || "-") + "[kts]", 1)
4138
4138
  ]),
4139
- l("div", ti, [
4140
- ai,
4139
+ l("div", Ya, [
4140
+ Qa,
4141
4141
  l("span", null, S(((w = (g = i.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : w.pressure) || "-") + "[hPa]", 1)
4142
4142
  ])
4143
4143
  ]),
4144
- l("div", ii, [
4145
- l("div", ri, [
4146
- oi,
4147
- l("div", si, [
4144
+ l("div", Ka, [
4145
+ l("div", ei, [
4146
+ ti,
4147
+ l("div", ai, [
4148
4148
  (L(!0), x(De, null, Ae((k = i.activeTropicals) == null ? void 0 : k.forecasts, (_, D) => {
4149
4149
  var A, B, W, O;
4150
4150
  return L(), x("div", {
@@ -4154,19 +4154,19 @@ function hi(t, e, a, r, i, o) {
4154
4154
  _.disabled ? "" : "active",
4155
4155
  D > 0 && D < ((B = (A = i.activeTropicals) == null ? void 0 : A.forecasts) == null ? void 0 : B.length) - 1 && ((O = (W = i.activeTropicals) == null ? void 0 : W.forecasts) == null ? void 0 : O.length) > 2 ? "center-child" : ""
4156
4156
  ]),
4157
- onClick: (H) => o.handleForecastToggle(_)
4157
+ onClick: (Z) => o.handleForecastToggle(_)
4158
4158
  }, [
4159
4159
  l("span", {
4160
4160
  class: M(_.model)
4161
4161
  }, S(_.model), 3)
4162
- ], 10, ni);
4162
+ ], 10, ii);
4163
4163
  }), 128))
4164
4164
  ])
4165
4165
  ])
4166
4166
  ]),
4167
- li
4167
+ ri
4168
4168
  ]),
4169
- l("div", ci, [
4169
+ l("div", oi, [
4170
4170
  l("div", {
4171
4171
  class: "button",
4172
4172
  onClick: e[1] || (e[1] = (_) => o.handleStrikeProbability(i.activeTropicals))
@@ -4177,8 +4177,8 @@ function hi(t, e, a, r, i, o) {
4177
4177
  [Be, i.showTropicals && !t.$attrs.hideTropicalsLegend]
4178
4178
  ]);
4179
4179
  }
4180
- const tt = /* @__PURE__ */ T(Ua, [["render", hi], ["__scopeId", "data-v-62a2f148"]]);
4181
- const di = {
4180
+ const Qe = /* @__PURE__ */ T(Oa, [["render", si], ["__scopeId", "data-v-b5b42393"]]);
4181
+ const ni = {
4182
4182
  name: "IdmPrecip3h",
4183
4183
  props: {
4184
4184
  factor: {
@@ -4206,7 +4206,7 @@ const di = {
4206
4206
  texture: void 0,
4207
4207
  rampColor: void 0,
4208
4208
  aPositionBuffer: void 0,
4209
- webgl: new we(),
4209
+ webgl: new Le(),
4210
4210
  etime: void 0,
4211
4211
  right: 10
4212
4212
  };
@@ -4279,27 +4279,27 @@ const di = {
4279
4279
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4280
4280
  }
4281
4281
  }
4282
- }, ce = (t) => (U("data-v-42b977ed"), t = t(), G(), t), pi = { key: 0 }, mi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "mm", -1)), ui = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.5", -1)), yi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), fi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3", -1)), gi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "7", -1)), bi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "10", -1)), vi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "20", -1)), _i = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "30", -1)), wi = [
4282
+ }, he = (t) => (G("data-v-dec867b8"), t = t(), H(), t), li = { key: 0 }, ci = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "mm", -1)), hi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "1.5", -1)), di = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "2", -1)), pi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "3", -1)), mi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "7", -1)), ui = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "10", -1)), yi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "20", -1)), fi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "30", -1)), gi = [
4283
+ ci,
4284
+ hi,
4285
+ di,
4286
+ pi,
4283
4287
  mi,
4284
4288
  ui,
4285
4289
  yi,
4286
- fi,
4287
- gi,
4288
- bi,
4289
- vi,
4290
- _i
4290
+ fi
4291
4291
  ];
4292
- function Li(t, e, a, r, i, o) {
4292
+ function bi(t, e, a, r, i, o) {
4293
4293
  var n;
4294
- return (n = a.factor) != null && n.active ? (L(), x("div", pi, [
4294
+ return (n = a.factor) != null && n.active ? (L(), x("div", li, [
4295
4295
  l("div", {
4296
4296
  class: "legend-bars flex-center",
4297
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4298
- }, wi, 4)
4297
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4298
+ }, gi, 4)
4299
4299
  ])) : $("", !0);
4300
4300
  }
4301
- const xi = /* @__PURE__ */ T(di, [["render", Li], ["__scopeId", "data-v-42b977ed"]]);
4302
- const Ci = {
4301
+ const vi = /* @__PURE__ */ T(ni, [["render", bi], ["__scopeId", "data-v-dec867b8"]]);
4302
+ const _i = {
4303
4303
  name: "IdmVisibility",
4304
4304
  props: {
4305
4305
  factor: {
@@ -4327,7 +4327,7 @@ const Ci = {
4327
4327
  texture: void 0,
4328
4328
  rampColor: void 0,
4329
4329
  aPositionBuffer: void 0,
4330
- webgl: new we(),
4330
+ webgl: new Le(),
4331
4331
  etime: void 0
4332
4332
  };
4333
4333
  },
@@ -4393,25 +4393,25 @@ const Ci = {
4393
4393
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4394
4394
  }
4395
4395
  }
4396
- }, Ce = (t) => (U("data-v-2a5fbadd"), t = t(), G(), t), Si = { key: 0 }, ki = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "nm", -1)), zi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Pi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ti = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Ei = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "3", -1)), Ii = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "9", -1)), Ri = [
4396
+ }, Ce = (t) => (G("data-v-952dee5c"), t = t(), H(), t), wi = { key: 0 }, Li = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "nm", -1)), xi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ci = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Si = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "1.5", -1)), ki = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "3", -1)), zi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "9", -1)), Pi = [
4397
+ Li,
4398
+ xi,
4399
+ Ci,
4400
+ Si,
4397
4401
  ki,
4398
- zi,
4399
- Pi,
4400
- Ti,
4401
- Ei,
4402
- Ii
4402
+ zi
4403
4403
  ];
4404
- function Di(t, e, a, r, i, o) {
4404
+ function Ti(t, e, a, r, i, o) {
4405
4405
  var n;
4406
- return (n = a.factor) != null && n.active ? (L(), x("div", Si, [
4406
+ return (n = a.factor) != null && n.active ? (L(), x("div", wi, [
4407
4407
  l("div", {
4408
4408
  class: "legend-bars flex-center",
4409
- style: j([{ position: "absolute" }, { right: t.right + "px", bottom: a.bottom }])
4410
- }, Ri, 4)
4409
+ style: F([{ position: "absolute" }, { right: t.right + "px", bottom: a.bottom }])
4410
+ }, Pi, 4)
4411
4411
  ])) : $("", !0);
4412
4412
  }
4413
- const Ai = /* @__PURE__ */ T(Ci, [["render", Di], ["__scopeId", "data-v-2a5fbadd"]]);
4414
- const Mi = {
4413
+ const Ei = /* @__PURE__ */ T(_i, [["render", Ti], ["__scopeId", "data-v-952dee5c"]]);
4414
+ const Ii = {
4415
4415
  name: "IdmWaterTemp",
4416
4416
  props: {
4417
4417
  factor: {
@@ -4439,7 +4439,7 @@ const Mi = {
4439
4439
  texture: void 0,
4440
4440
  rampColor: void 0,
4441
4441
  aPositionBuffer: void 0,
4442
- webgl: new we(),
4442
+ webgl: new Le(),
4443
4443
  etime: void 0,
4444
4444
  right: 10
4445
4445
  };
@@ -4513,25 +4513,25 @@ const Mi = {
4513
4513
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4514
4514
  }
4515
4515
  }
4516
- }, Se = (t) => (U("data-v-5b28deaf"), t = t(), G(), t), $i = { key: 0 }, Bi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ni = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0", -1)), Wi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "10", -1)), Oi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "20", -1)), ji = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "30", -1)), Fi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "40", -1)), Vi = [
4516
+ }, Se = (t) => (G("data-v-67e5094b"), t = t(), H(), t), Ri = { key: 0 }, Di = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ai = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0", -1)), Mi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "10", -1)), $i = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "20", -1)), Bi = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "30", -1)), Ni = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "40", -1)), Wi = [
4517
+ Di,
4518
+ Ai,
4519
+ Mi,
4520
+ $i,
4517
4521
  Bi,
4518
- Ni,
4519
- Wi,
4520
- Oi,
4521
- ji,
4522
- Fi
4522
+ Ni
4523
4523
  ];
4524
- function Ui(t, e, a, r, i, o) {
4524
+ function Oi(t, e, a, r, i, o) {
4525
4525
  var n;
4526
- return (n = a.factor) != null && n.active ? (L(), x("div", $i, [
4526
+ return (n = a.factor) != null && n.active ? (L(), x("div", Ri, [
4527
4527
  l("div", {
4528
4528
  class: "legend-bars flex-center",
4529
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4530
- }, Vi, 4)
4529
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4530
+ }, Wi, 4)
4531
4531
  ])) : $("", !0);
4532
4532
  }
4533
- const Gi = /* @__PURE__ */ T(Mi, [["render", Ui], ["__scopeId", "data-v-5b28deaf"]]);
4534
- const Hi = {
4533
+ const ji = /* @__PURE__ */ T(Ii, [["render", Oi], ["__scopeId", "data-v-67e5094b"]]);
4534
+ const Fi = {
4535
4535
  name: "IdmTemp",
4536
4536
  props: {
4537
4537
  factor: {
@@ -4559,7 +4559,7 @@ const Hi = {
4559
4559
  texture: void 0,
4560
4560
  rampColor: void 0,
4561
4561
  aPositionBuffer: void 0,
4562
- webgl: new we(),
4562
+ webgl: new Le(),
4563
4563
  etime: void 0,
4564
4564
  right: 10
4565
4565
  };
@@ -4636,27 +4636,27 @@ const Hi = {
4636
4636
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4637
4637
  }
4638
4638
  }
4639
- }, he = (t) => (U("data-v-72cd9cf1"), t = t(), G(), t), Zi = { key: 0 }, Ji = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "°C", -1)), Xi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-20", -1)), qi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-10", -1)), Yi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "0", -1)), Qi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "10", -1)), Ki = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "20", -1)), er = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "30", -1)), tr = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "40", -1)), ar = [
4639
+ }, de = (t) => (G("data-v-389ea886"), t = t(), H(), t), Vi = { key: 0 }, Ui = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "°C", -1)), Gi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "-20", -1)), Hi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "-10", -1)), Zi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "0", -1)), Ji = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "10", -1)), Xi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "20", -1)), qi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "30", -1)), Yi = /* @__PURE__ */ de(() => /* @__PURE__ */ l("span", null, "40", -1)), Qi = [
4640
+ Ui,
4641
+ Gi,
4642
+ Hi,
4643
+ Zi,
4640
4644
  Ji,
4641
4645
  Xi,
4642
4646
  qi,
4643
- Yi,
4644
- Qi,
4645
- Ki,
4646
- er,
4647
- tr
4647
+ Yi
4648
4648
  ];
4649
- function ir(t, e, a, r, i, o) {
4649
+ function Ki(t, e, a, r, i, o) {
4650
4650
  var n;
4651
- return (n = a.factor) != null && n.active ? (L(), x("div", Zi, [
4651
+ return (n = a.factor) != null && n.active ? (L(), x("div", Vi, [
4652
4652
  l("div", {
4653
4653
  class: "legend-bars flex-center",
4654
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4655
- }, ar, 4)
4654
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4655
+ }, Qi, 4)
4656
4656
  ])) : $("", !0);
4657
4657
  }
4658
- const rr = /* @__PURE__ */ T(Hi, [["render", ir], ["__scopeId", "data-v-72cd9cf1"]]);
4659
- const or = {
4658
+ const er = /* @__PURE__ */ T(Fi, [["render", Ki], ["__scopeId", "data-v-389ea886"]]);
4659
+ const tr = {
4660
4660
  name: "IdmArctic",
4661
4661
  props: {
4662
4662
  factor: {
@@ -4684,7 +4684,7 @@ const or = {
4684
4684
  texture: void 0,
4685
4685
  rampColor: void 0,
4686
4686
  aPositionBuffer: void 0,
4687
- webgl: new we(),
4687
+ webgl: new Le(),
4688
4688
  etime: void 0,
4689
4689
  right: 10
4690
4690
  };
@@ -4752,25 +4752,25 @@ const or = {
4752
4752
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4753
4753
  }
4754
4754
  }
4755
- }, ke = (t) => (U("data-v-2092df03"), t = t(), G(), t), sr = { key: 0 }, nr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "m", -1)), lr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0", -1)), cr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0.5", -1)), hr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1", -1)), dr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1.5", -1)), pr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "2", -1)), mr = [
4755
+ }, ke = (t) => (G("data-v-db805141"), t = t(), H(), t), ar = { key: 0 }, ir = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "m", -1)), rr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0", -1)), or = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0.5", -1)), sr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1", -1)), nr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1.5", -1)), lr = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "2", -1)), cr = [
4756
+ ir,
4757
+ rr,
4758
+ or,
4759
+ sr,
4756
4760
  nr,
4757
- lr,
4758
- cr,
4759
- hr,
4760
- dr,
4761
- pr
4761
+ lr
4762
4762
  ];
4763
- function ur(t, e, a, r, i, o) {
4763
+ function hr(t, e, a, r, i, o) {
4764
4764
  var n;
4765
- return (n = a.factor) != null && n.active ? (L(), x("div", sr, [
4765
+ return (n = a.factor) != null && n.active ? (L(), x("div", ar, [
4766
4766
  l("div", {
4767
4767
  class: "legend-bars flex-center",
4768
- style: j([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4769
- }, mr, 4)
4768
+ style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4769
+ }, cr, 4)
4770
4770
  ])) : $("", !0);
4771
4771
  }
4772
- const yr = /* @__PURE__ */ T(or, [["render", ur], ["__scopeId", "data-v-2092df03"]]);
4773
- const fr = {
4772
+ const dr = /* @__PURE__ */ T(tr, [["render", hr], ["__scopeId", "data-v-db805141"]]);
4773
+ const pr = {
4774
4774
  name: "IdmPoint",
4775
4775
  emits: ["point", "more"],
4776
4776
  props: {
@@ -4812,22 +4812,22 @@ const fr = {
4812
4812
  computed: {
4813
4813
  computeTime() {
4814
4814
  return function(t) {
4815
- return t ? `${ee(t).utc().format("MMM-DD,HHmm[Z]")}` : "-";
4815
+ return t ? `${ae(t).utc().format("MMM-DD,HHmm[Z]")}` : "-";
4816
4816
  };
4817
4817
  },
4818
4818
  computeLat() {
4819
4819
  return function(t, e = 4) {
4820
- return te.lat2pretty(t, e).pretty;
4820
+ return j.lat2pretty(t, e).pretty;
4821
4821
  };
4822
4822
  },
4823
4823
  computeLng() {
4824
4824
  return function(t, e = 4) {
4825
- return te.lng2pretty(t, e).pretty;
4825
+ return j.lng2pretty(t, e).pretty;
4826
4826
  };
4827
4827
  },
4828
4828
  roundPrecision() {
4829
4829
  return function(t, e = 4) {
4830
- return isNaN(t) ? "-" : te.roundPrecision(t, e);
4830
+ return isNaN(t) ? "-" : j.roundPrecision(t, e);
4831
4831
  };
4832
4832
  }
4833
4833
  },
@@ -4845,77 +4845,77 @@ const fr = {
4845
4845
  var t;
4846
4846
  if (this.meteo) {
4847
4847
  const e = document.getElementById("point-meteo");
4848
- this.meteoMarker ? (t = this.meteoMarker) == null || t.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new ne.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
4848
+ this.meteoMarker ? (t = this.meteoMarker) == null || t.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new le.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
4849
4849
  }
4850
4850
  }
4851
4851
  }
4852
- }, X = (t) => (U("data-v-22faa80f"), t = t(), G(), t), gr = {
4852
+ }, q = (t) => (G("data-v-ef7fa87d"), t = t(), H(), t), mr = {
4853
4853
  id: "point-meteo",
4854
4854
  class: "point-meteo"
4855
- }, br = { class: "meteo-box" }, vr = { class: "header-box" }, _r = { class: "main" }, wr = { class: "sub" }, Lr = { class: "main-box" }, xr = { class: "flex-space" }, Cr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Tr = { class: "flex-space" }, Er = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Ir = { class: "flex-space" }, Rr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Current", -1)), Dr = { class: "flex-space" }, Ar = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Mr = { class: "flex-space" }, $r = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Br = { class: "flex-space" }, Nr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Wr = { class: "flex-space" }, Or = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), jr = {
4855
+ }, ur = { class: "meteo-box" }, yr = { class: "header-box" }, fr = { class: "main" }, gr = { class: "sub" }, br = { class: "main-box" }, vr = { class: "flex-space" }, _r = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Wind", -1)), wr = { class: "flex-space" }, Lr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), xr = { class: "flex-space" }, Cr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Current", -1)), Tr = { class: "flex-space" }, Er = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Ir = { class: "flex-space" }, Rr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Dr = { class: "flex-space" }, Ar = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Mr = { class: "flex-space" }, $r = /* @__PURE__ */ q(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), Br = {
4856
4856
  key: 0,
4857
4857
  class: "flex-space",
4858
4858
  style: { "justify-content": "flex-end" }
4859
- }, Fr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "more" }, "More >>", -1)), Vr = [
4860
- Fr
4859
+ }, Nr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("span", { class: "more" }, "More >>", -1)), Wr = [
4860
+ Nr
4861
4861
  ];
4862
- function Ur(t, e, a, r, i, o) {
4863
- var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, H, de, pe, me, ue, ye, fe, ge, ae, Z, q, be, Y, E, F, ve, Q, _e, ie, re, oe, ze, Pe, Te, Ee, Ie;
4864
- return $e((L(), x("div", gr, [
4865
- l("div", br, [
4866
- l("div", vr, [
4862
+ function Or(t, e, a, r, i, o) {
4863
+ var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, pe, me, ue, ye, fe, ge, be, ie, J, Y, ve, Q, E, V, _e, K, we, re, oe, se, ze, Pe, Te, Ee, Ie;
4864
+ return $e((L(), x("div", mr, [
4865
+ l("div", ur, [
4866
+ l("div", yr, [
4867
4867
  l("div", {
4868
4868
  class: "iconfont close",
4869
4869
  onClick: e[0] || (e[0] = (We) => i.showMeteo = !1)
4870
4870
  }, ""),
4871
- l("div", _r, S(o.computeLat((n = a.meteo) == null ? void 0 : n.lat)) + "," + S(o.computeLng((s = a.meteo) == null ? void 0 : s.lng)), 1),
4872
- l("div", wr, S(o.computeTime((c = a.meteo) == null ? void 0 : c.utc)), 1)
4871
+ l("div", fr, S(o.computeLat((n = a.meteo) == null ? void 0 : n.lat)) + "," + S(o.computeLng((s = a.meteo) == null ? void 0 : s.lng)), 1),
4872
+ l("div", gr, S(o.computeTime((c = a.meteo) == null ? void 0 : c.utc)), 1)
4873
4873
  ]),
4874
- l("div", Lr, [
4874
+ l("div", br, [
4875
+ l("div", vr, [
4876
+ _r,
4877
+ l("span", null, S(((d = (h = a.meteo) == null ? void 0 : h.wind) == null ? void 0 : d.direction) || "-") + "/" + S(o.roundPrecision((f = (p = a.meteo) == null ? void 0 : p.wind) == null ? void 0 : f.kts, 1)) + "[kts]/" + S((b = (m = a.meteo) == null ? void 0 : m.wind) == null ? void 0 : b.scale) + "[BF]/" + S(o.roundPrecision((u = (y = a.meteo) == null ? void 0 : y.gusts) == null ? void 0 : u.kts, 1)) + "[kts]", 1)
4878
+ ]),
4879
+ l("div", wr, [
4880
+ Lr,
4881
+ l("span", null, S(((w = (g = (v = a.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((D = (_ = (k = a.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : D.height, 1)) + "[m]/" + S(o.roundPrecision((W = (B = (A = a.meteo) == null ? void 0 : A.wave) == null ? void 0 : B.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
4882
+ ]),
4875
4883
  l("div", xr, [
4876
4884
  Cr,
4877
- l("span", null, S(((d = (h = a.meteo) == null ? void 0 : h.wind) == null ? void 0 : d.direction) || "-") + "/" + S(o.roundPrecision((f = (p = a.meteo) == null ? void 0 : p.wind) == null ? void 0 : f.kts, 1)) + "[kts]/" + S((b = (m = a.meteo) == null ? void 0 : m.wind) == null ? void 0 : b.scale) + "[BF]/" + S(o.roundPrecision((u = (y = a.meteo) == null ? void 0 : y.gusts) == null ? void 0 : u.kts, 1)) + "[kts]", 1)
4885
+ l("span", null, S(((pe = (Z = (O = a.meteo) == null ? void 0 : O.wave) == null ? void 0 : Z.swell) == null ? void 0 : pe.direction) || "-") + "/" + S(o.roundPrecision((ye = (ue = (me = a.meteo) == null ? void 0 : me.wave) == null ? void 0 : ue.swell) == null ? void 0 : ye.height, 1)) + "[m]/" + S(o.roundPrecision((be = (ge = (fe = a.meteo) == null ? void 0 : fe.wave) == null ? void 0 : ge.swell) == null ? void 0 : be.period, 1)) + "[s]", 1)
4878
4886
  ]),
4879
4887
  l("div", Sr, [
4880
4888
  kr,
4881
- l("span", null, S(((w = (g = (v = a.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((D = (_ = (k = a.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : D.height, 1)) + "[m]/" + S(o.roundPrecision((W = (B = (A = a.meteo) == null ? void 0 : A.wave) == null ? void 0 : B.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
4889
+ l("span", null, S(((Y = (J = (ie = a.meteo) == null ? void 0 : ie.wave) == null ? void 0 : J.sig) == null ? void 0 : Y.direction) || "-") + "/" + S(o.roundPrecision((E = (Q = (ve = a.meteo) == null ? void 0 : ve.wave) == null ? void 0 : Q.sig) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((K = (_e = (V = a.meteo) == null ? void 0 : V.wave) == null ? void 0 : _e.sig) == null ? void 0 : K.period, 1)) + "[s]", 1)
4882
4890
  ]),
4883
4891
  l("div", zr, [
4884
4892
  Pr,
4885
- l("span", null, S(((de = (H = (O = a.meteo) == null ? void 0 : O.wave) == null ? void 0 : H.swell) == null ? void 0 : de.direction) || "-") + "/" + S(o.roundPrecision((ue = (me = (pe = a.meteo) == null ? void 0 : pe.wave) == null ? void 0 : me.swell) == null ? void 0 : ue.height, 1)) + "[m]/" + S(o.roundPrecision((ge = (fe = (ye = a.meteo) == null ? void 0 : ye.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.period, 1)) + "[s]", 1)
4893
+ l("span", null, S(((re = (we = a.meteo) == null ? void 0 : we.current) == null ? void 0 : re.direction) || "-") + "/" + S(o.roundPrecision((se = (oe = a.meteo) == null ? void 0 : oe.current) == null ? void 0 : se.kts, 2)) + "[kts]", 1)
4886
4894
  ]),
4887
4895
  l("div", Tr, [
4888
4896
  Er,
4889
- l("span", null, S(((q = (Z = (ae = a.meteo) == null ? void 0 : ae.wave) == null ? void 0 : Z.sig) == null ? void 0 : q.direction) || "-") + "/" + S(o.roundPrecision((E = (Y = (be = a.meteo) == null ? void 0 : be.wave) == null ? void 0 : Y.sig) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((Q = (ve = (F = a.meteo) == null ? void 0 : F.wave) == null ? void 0 : ve.sig) == null ? void 0 : Q.period, 1)) + "[s]", 1)
4897
+ l("span", null, S(o.roundPrecision((Pe = (ze = a.meteo) == null ? void 0 : ze.precip) == null ? void 0 : Pe.inter6h, 2)) + "[mm]", 1)
4890
4898
  ]),
4891
4899
  l("div", Ir, [
4892
4900
  Rr,
4893
- l("span", null, S(((ie = (_e = a.meteo) == null ? void 0 : _e.current) == null ? void 0 : ie.direction) || "-") + "/" + S(o.roundPrecision((oe = (re = a.meteo) == null ? void 0 : re.current) == null ? void 0 : oe.kts, 2)) + "[kts]", 1)
4901
+ l("span", null, S(o.roundPrecision(((Te = a.meteo) == null ? void 0 : Te.visibility) / 1852, 0)) + "[nm]", 1)
4894
4902
  ]),
4895
4903
  l("div", Dr, [
4896
4904
  Ar,
4897
- l("span", null, S(o.roundPrecision((Pe = (ze = a.meteo) == null ? void 0 : ze.precip) == null ? void 0 : Pe.inter6h, 2)) + "[mm]", 1)
4905
+ l("span", null, S(o.roundPrecision((Ee = a.meteo) == null ? void 0 : Ee.temp, 0)) + "[°C]", 1)
4898
4906
  ]),
4899
4907
  l("div", Mr, [
4900
4908
  $r,
4901
- l("span", null, S(o.roundPrecision(((Te = a.meteo) == null ? void 0 : Te.visibility) / 1852, 0)) + "[nm]", 1)
4902
- ]),
4903
- l("div", Br, [
4904
- Nr,
4905
- l("span", null, S(o.roundPrecision((Ee = a.meteo) == null ? void 0 : Ee.temp, 0)) + "[°C]", 1)
4906
- ]),
4907
- l("div", Wr, [
4908
- Or,
4909
4909
  l("span", null, S(o.roundPrecision((Ie = a.meteo) == null ? void 0 : Ie.waterTemp, 2)) + "[°C]", 1)
4910
4910
  ])
4911
4911
  ]),
4912
- t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div", jr, Vr)) : $("", !0)
4912
+ t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div", Br, Wr)) : $("", !0)
4913
4913
  ])
4914
4914
  ], 512)), [
4915
4915
  [Be, i.showMeteo]
4916
4916
  ]);
4917
4917
  }
4918
- const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-22faa80f"]]), Hr = {
4918
+ const jr = /* @__PURE__ */ T(pr, [["render", Or], ["__scopeId", "data-v-ef7fa87d"]]), Fr = {
4919
4919
  name: "IdmWarZone",
4920
4920
  props: {
4921
4921
  map: {
@@ -5005,10 +5005,10 @@ const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-22faa80f
5005
5005
  }
5006
5006
  }
5007
5007
  };
5008
- function Zr(t, e, a, r, i, o) {
5008
+ function Vr(t, e, a, r, i, o) {
5009
5009
  return L(), x("div");
5010
5010
  }
5011
- const Jr = /* @__PURE__ */ T(Hr, [["render", Zr]]), Xr = {
5011
+ const Ur = /* @__PURE__ */ T(Fr, [["render", Vr]]), Gr = {
5012
5012
  name: "IdmGmdssArea",
5013
5013
  props: {
5014
5014
  map: {
@@ -5128,10 +5128,10 @@ const Jr = /* @__PURE__ */ T(Hr, [["render", Zr]]), Xr = {
5128
5128
  }
5129
5129
  }
5130
5130
  };
5131
- function qr(t, e, a, r, i, o) {
5131
+ function Hr(t, e, a, r, i, o) {
5132
5132
  return L(), x("div");
5133
5133
  }
5134
- const Yr = /* @__PURE__ */ T(Xr, [["render", qr]]), Qr = {
5134
+ const Zr = /* @__PURE__ */ T(Gr, [["render", Hr]]), Jr = {
5135
5135
  name: "IdmEcaZone",
5136
5136
  props: {
5137
5137
  map: {
@@ -5219,11 +5219,11 @@ const Yr = /* @__PURE__ */ T(Xr, [["render", qr]]), Qr = {
5219
5219
  }
5220
5220
  }
5221
5221
  };
5222
- function Kr(t, e, a, r, i, o) {
5222
+ function Xr(t, e, a, r, i, o) {
5223
5223
  return L(), x("div");
5224
5224
  }
5225
- const eo = /* @__PURE__ */ T(Qr, [["render", Kr]]);
5226
- const to = {
5225
+ const qr = /* @__PURE__ */ T(Jr, [["render", Xr]]);
5226
+ const Yr = {
5227
5227
  name: "IdmAlertZone",
5228
5228
  props: {
5229
5229
  map: {
@@ -5349,10 +5349,10 @@ const to = {
5349
5349
  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);
5350
5350
  }
5351
5351
  }
5352
- }, ao = { id: "zone-info" }, io = ["innerHTML"];
5353
- function ro(t, e, a, r, i, o) {
5352
+ }, Qr = { id: "zone-info" }, Kr = ["innerHTML"];
5353
+ function eo(t, e, a, r, i, o) {
5354
5354
  var n;
5355
- return $e((L(), x("div", ao, [
5355
+ return $e((L(), x("div", Qr, [
5356
5356
  l("div", {
5357
5357
  class: "iconfont close",
5358
5358
  onClick: e[0] || (e[0] = (s) => i.showZone = !1)
@@ -5360,13 +5360,13 @@ function ro(t, e, a, r, i, o) {
5360
5360
  l("div", {
5361
5361
  class: "rich-context",
5362
5362
  innerHTML: (n = i.form) == null ? void 0 : n.name
5363
- }, null, 8, io)
5363
+ }, null, 8, Kr)
5364
5364
  ], 512)), [
5365
5365
  [Be, i.showZone]
5366
5366
  ]);
5367
5367
  }
5368
- const oo = /* @__PURE__ */ T(to, [["render", ro], ["__scopeId", "data-v-d1cb4e6e"]]);
5369
- const so = {
5368
+ const to = /* @__PURE__ */ T(Yr, [["render", eo], ["__scopeId", "data-v-c0864afc"]]);
5369
+ const ao = {
5370
5370
  name: "IdmPort",
5371
5371
  props: {
5372
5372
  map: {
@@ -5392,12 +5392,12 @@ const so = {
5392
5392
  computed: {
5393
5393
  computeLat() {
5394
5394
  return function(t) {
5395
- return te.lat2pretty(t, 4).pretty;
5395
+ return j.lat2pretty(t, 4).pretty;
5396
5396
  };
5397
5397
  },
5398
5398
  computeLng() {
5399
5399
  return function(t) {
5400
- return te.lng2pretty(t, 4).pretty;
5400
+ return j.lng2pretty(t, 4).pretty;
5401
5401
  };
5402
5402
  }
5403
5403
  },
@@ -5419,7 +5419,7 @@ const so = {
5419
5419
  if (a) {
5420
5420
  this.showPort = !0, this.form = { ...a.properties }, this.form.lng = a.geometry.coordinates[0], this.form.lat = a.geometry.coordinates[1];
5421
5421
  const i = document.getElementById("port-info");
5422
- this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new ne.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
5422
+ this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new le.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
5423
5423
  }
5424
5424
  },
5425
5425
  handleEmit() {
@@ -5458,33 +5458,33 @@ const so = {
5458
5458
  this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
5459
5459
  }
5460
5460
  }
5461
- }, Ne = (t) => (U("data-v-6fdfee96"), t = t(), G(), t), no = { id: "port-info" }, lo = { class: "port-box" }, co = { class: "flex-start" }, ho = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), po = { class: "flex-start" }, mo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), uo = { class: "flex-start" }, yo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), fo = {
5461
+ }, Ne = (t) => (G("data-v-4ab013cc"), t = t(), H(), t), io = { id: "port-info" }, ro = { class: "port-box" }, oo = { class: "flex-start" }, so = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), no = { class: "flex-start" }, lo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), co = { class: "flex-start" }, ho = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), po = {
5462
5462
  class: "flex-start",
5463
5463
  style: { "align-items": "flex-start" }
5464
- }, go = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
5465
- function bo(t, e, a, r, i, o) {
5466
- return $e((L(), x("div", no, [
5464
+ }, mo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
5465
+ function uo(t, e, a, r, i, o) {
5466
+ return $e((L(), x("div", io, [
5467
5467
  l("div", {
5468
5468
  class: "close iconfont",
5469
5469
  onClick: e[0] || (e[0] = (n) => i.showPort = !1)
5470
5470
  }, ""),
5471
- l("div", lo, [
5472
- l("div", co, [
5473
- ho,
5471
+ l("div", ro, [
5472
+ l("div", oo, [
5473
+ so,
5474
5474
  l("span", {
5475
5475
  onClick: e[1] || (e[1] = (...n) => o.handleEmit && o.handleEmit(...n))
5476
5476
  }, S(i.form.name), 1)
5477
5477
  ]),
5478
- l("div", po, [
5479
- mo,
5478
+ l("div", no, [
5479
+ lo,
5480
5480
  l("span", null, S(o.computeLat(i.form.lat)) + ", " + S(o.computeLng(i.form.lng)), 1)
5481
5481
  ]),
5482
- l("div", uo, [
5483
- yo,
5482
+ l("div", co, [
5483
+ ho,
5484
5484
  l("span", null, S(i.form.loCode || "-"), 1)
5485
5485
  ]),
5486
- l("div", fo, [
5487
- go,
5486
+ l("div", po, [
5487
+ mo,
5488
5488
  l("span", null, S(i.form.city || "-") + ", " + S(i.form.country || "-"), 1)
5489
5489
  ])
5490
5490
  ])
@@ -5492,7 +5492,7 @@ function bo(t, e, a, r, i, o) {
5492
5492
  [Be, i.showPort]
5493
5493
  ]);
5494
5494
  }
5495
- const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-6fdfee96"]]), _o = {
5495
+ const yo = /* @__PURE__ */ T(ao, [["render", uo], ["__scopeId", "data-v-4ab013cc"]]), fo = {
5496
5496
  name: "IdmLoadLine",
5497
5497
  props: {
5498
5498
  map: {
@@ -5562,10 +5562,10 @@ const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-6fdfee96
5562
5562
  }
5563
5563
  }
5564
5564
  };
5565
- function wo(t, e, a, r, i, o) {
5565
+ function go(t, e, a, r, i, o) {
5566
5566
  return L(), x("div");
5567
5567
  }
5568
- const Lo = /* @__PURE__ */ T(_o, [["render", wo]]), xo = {
5568
+ const bo = /* @__PURE__ */ T(fo, [["render", go]]), vo = {
5569
5569
  name: "IdmTimezone",
5570
5570
  props: {
5571
5571
  map: {
@@ -5730,10 +5730,10 @@ const Lo = /* @__PURE__ */ T(_o, [["render", wo]]), xo = {
5730
5730
  }
5731
5731
  }
5732
5732
  };
5733
- function Co(t, e, a, r, i, o) {
5733
+ function _o(t, e, a, r, i, o) {
5734
5734
  return L(), x("div");
5735
5735
  }
5736
- const So = /* @__PURE__ */ T(xo, [["render", Co]]), ko = {
5736
+ const wo = /* @__PURE__ */ T(vo, [["render", _o]]), Lo = {
5737
5737
  name: "IdmVoluntaryReportingArea",
5738
5738
  props: {
5739
5739
  map: {
@@ -5821,10 +5821,10 @@ const So = /* @__PURE__ */ T(xo, [["render", Co]]), ko = {
5821
5821
  }
5822
5822
  }
5823
5823
  };
5824
- function zo(t, e, a, r, i, o) {
5824
+ function xo(t, e, a, r, i, o) {
5825
5825
  return L(), x("div");
5826
5826
  }
5827
- const Po = /* @__PURE__ */ T(ko, [["render", zo]]), To = {
5827
+ const Co = /* @__PURE__ */ T(Lo, [["render", xo]]), So = {
5828
5828
  name: "IdmSpecialArea",
5829
5829
  props: {
5830
5830
  map: {
@@ -5854,7 +5854,7 @@ const Po = /* @__PURE__ */ T(ko, [["render", zo]]), To = {
5854
5854
  methods: {
5855
5855
  handleRender() {
5856
5856
  this.map ? (this.handleClear(), this.area && (this.area.features.forEach((t) => {
5857
- t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => st(e));
5857
+ t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => j.convertToMonotonicLng2(e));
5858
5858
  }), this.map.addSource(this.source, {
5859
5859
  type: "geojson",
5860
5860
  data: this.area
@@ -5914,10 +5914,10 @@ const Po = /* @__PURE__ */ T(ko, [["render", zo]]), To = {
5914
5914
  }
5915
5915
  }
5916
5916
  };
5917
- function Eo(t, e, a, r, i, o) {
5917
+ function ko(t, e, a, r, i, o) {
5918
5918
  return L(), x("div");
5919
5919
  }
5920
- const Io = /* @__PURE__ */ T(To, [["render", Eo]]), Ro = {
5920
+ const zo = /* @__PURE__ */ T(So, [["render", ko]]), Po = {
5921
5921
  name: "IdmTerminator",
5922
5922
  props: {
5923
5923
  map: {
@@ -5966,11 +5966,11 @@ const Io = /* @__PURE__ */ T(To, [["render", Eo]]), Ro = {
5966
5966
  }
5967
5967
  }
5968
5968
  };
5969
- function Do(t, e, a, r, i, o) {
5969
+ function To(t, e, a, r, i, o) {
5970
5970
  return L(), x("div");
5971
5971
  }
5972
- const Ao = /* @__PURE__ */ T(Ro, [["render", Do]]);
5973
- const Mo = {
5972
+ const Eo = /* @__PURE__ */ T(Po, [["render", To]]);
5973
+ const Io = {
5974
5974
  name: "IdmLatLng",
5975
5975
  props: {
5976
5976
  map: {
@@ -6028,7 +6028,7 @@ const Mo = {
6028
6028
  this.show ? ((t = this.map) == null || t.on("zoomend", this.handleZoomEnd), this.handleRender()) : (this.handleClear(), (e = this.map) == null || e.off("zoomend", this.handleZoomEnd));
6029
6029
  },
6030
6030
  handleMouseMove(t) {
6031
- const e = t.lngLat, a = te.lng2pretty(e.lng, 2), r = te.lat2pretty(e.lat, 2);
6031
+ const e = t.lngLat, a = j.lng2pretty(e.lng, 2), r = j.lat2pretty(e.lat, 2);
6032
6032
  this.lngLat = { lng: a, lat: r };
6033
6033
  },
6034
6034
  handleComputeLatLngs() {
@@ -6125,19 +6125,19 @@ const Mo = {
6125
6125
  (t = this.map) != null && t.getLayer(this.layer) && ((e = this.map) == null || e.removeLayer(this.layer)), (a = this.map) != null && a.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));
6126
6126
  }
6127
6127
  }
6128
- }, $o = (t) => (U("data-v-9f51b3f9"), t = t(), G(), t), Bo = /* @__PURE__ */ $o(() => /* @__PURE__ */ l("span", null, ", ", -1));
6129
- function No(t, e, a, r, i, o) {
6128
+ }, Ro = (t) => (G("data-v-7367f59b"), t = t(), H(), t), Do = /* @__PURE__ */ Ro(() => /* @__PURE__ */ l("span", null, ", ", -1));
6129
+ function Ao(t, e, a, r, i, o) {
6130
6130
  return i.lngLat ? (L(), x("div", {
6131
6131
  key: 0,
6132
6132
  class: "lat-lng-tip",
6133
- style: j({ right: i.right + "px", bottom: a.bottom })
6133
+ style: F({ right: i.right + "px", bottom: a.bottom })
6134
6134
  }, [
6135
6135
  l("span", null, S(i.lngLat.lat.pretty), 1),
6136
- Bo,
6136
+ Do,
6137
6137
  l("span", null, S(i.lngLat.lng.pretty), 1)
6138
6138
  ], 4)) : $("", !0);
6139
6139
  }
6140
- const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9"]]), Wo = {
6140
+ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b"]]), Mo = {
6141
6141
  name: "IdmMeasure",
6142
6142
  props: {
6143
6143
  map: {
@@ -6241,7 +6241,7 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6241
6241
  const s = this.geojson.filter((c) => c.id === e.split("-")[0])[0].features.filter((c) => c.geometry.type === "Point");
6242
6242
  if (s.length > 2 && s.filter((h) => h.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
6243
6243
  const h = document.createElement("div");
6244
- h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new ne.Marker(h).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
6244
+ h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new le.Marker(h).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
6245
6245
  }
6246
6246
  }
6247
6247
  },
@@ -6277,10 +6277,10 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6277
6277
  let a = 0;
6278
6278
  const r = [];
6279
6279
  for (let i = 1; i < e.length; i++) {
6280
- const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, d = Oe(c, h, s.mode === "RL", 2), p = je(c, h, s.mode === "RL", 2);
6281
- a = te.roundPrecision(a + d, 2);
6280
+ const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, d = te.calculateDistance(c, h, s.mode === "RL", 2), p = te.calculateBearing(c, h, s.mode === "RL", 2);
6281
+ a = j.roundPrecision(a + d, 2);
6282
6282
  let f;
6283
- s.mode === "RL" ? f = xe([c, h]) : f = xe(Fe(c, h, 200));
6283
+ s.mode === "RL" ? f = j.convertToMonotonicLng([c, h]) : f = j.convertToMonotonicLng(te.interpolateCoordinates(c, h, 200));
6284
6284
  const m = C.lineString(f.map((b) => [b.lng, b.lat]));
6285
6285
  m.properties.dist = d, m.properties.bearing = p, m.properties.total = a, r.push(m);
6286
6286
  }
@@ -6293,17 +6293,17 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6293
6293
  let o, n;
6294
6294
  if (e) {
6295
6295
  const c = e.properties, h = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, d = { lng: a.lng, lat: a.lat };
6296
- o = Oe(h, d, c.mode === "RL", 2), n = je(h, d, c.mode === "RL", 2);
6296
+ o = te.calculateDistance(h, d, c.mode === "RL", 2), n = te.calculateBearing(h, d, c.mode === "RL", 2);
6297
6297
  let p;
6298
- c.mode === "RL" ? p = xe([h, d]) : p = xe(Fe(h, d, 200));
6298
+ c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(te.interpolateCoordinates(h, d, 200));
6299
6299
  const f = C.lineString(p.map((m) => [m.lng, m.lat]));
6300
6300
  f.properties.dist = o, f.properties.bearing = n, i.features.push(f);
6301
6301
  }
6302
6302
  if (r) {
6303
6303
  const c = a.properties, h = a, d = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] };
6304
- o = Oe(h, d, c.mode === "RL", 2), n = je(h, d, c.mode === "RL", 2);
6304
+ o = te.calculateDistance(h, d, c.mode === "RL", 2), n = te.calculateBearing(h, d, c.mode === "RL", 2);
6305
6305
  let p;
6306
- c.mode === "RL" ? p = xe([h, d]) : p = xe(Fe(h, d, 200));
6306
+ c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(te.interpolateCoordinates(h, d, 200));
6307
6307
  const f = C.lineString(p.map((m) => [m.lng, m.lat]));
6308
6308
  f.properties.dist = o, f.properties.bearing = n, i.features.push(f);
6309
6309
  }
@@ -6345,11 +6345,11 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6345
6345
  }
6346
6346
  });
6347
6347
  let s;
6348
- if (r ? s = '<div class="marker-label">Drag and drop</div>' : s = `<div class="marker-label">Tol distance: <b>${te.roundPrecision((t.total ?? 0) + o, 2)}</b>nm, bearing: <b>${n}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
6348
+ if (r ? s = '<div class="marker-label">Drag and drop</div>' : s = `<div class="marker-label">Tol distance: <b>${j.roundPrecision((t.total ?? 0) + o, 2)}</b>nm, bearing: <b>${n}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
6349
6349
  this.tipMarker._element.innerHTML = s, this.tipMarker.setLngLat([a.lng, a.lat]);
6350
6350
  else {
6351
6351
  const c = document.createElement("div");
6352
- c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new ne.Marker(c).setOffset([140, 0]).setLngLat([a.lng, a.lat]).addTo(this.map);
6352
+ c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new le.Marker(c).setOffset([140, 0]).setLngLat([a.lng, a.lat]).addTo(this.map);
6353
6353
  }
6354
6354
  },
6355
6355
  handleMove(t) {
@@ -6407,12 +6407,12 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6407
6407
  for (const n of o) {
6408
6408
  const s = document.createElement("div");
6409
6409
  s.id = `${t.id}-${n.properties.id}`, s.className = `${t.closed ? "point-marker closed" : "point-marker"}`, s.innerHTML = '<div class="marker-circle"></div>';
6410
- const c = new ne.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
6410
+ const c = new le.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
6411
6411
  c.on("drag", this.handleDrag), c.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(c) : this.pointMarkers[t.id] = [c];
6412
6412
  }
6413
6413
  if (t.closed) {
6414
6414
  const n = o.at(-1), c = t.features.filter((d) => d.geometry.type === "LineString").at(-1), h = document.createElement("div");
6415
- h.className = "point-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[t.id] = new ne.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
6415
+ h.className = "point-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[t.id] = new le.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
6416
6416
  }
6417
6417
  }
6418
6418
  },
@@ -6425,11 +6425,11 @@ const at = /* @__PURE__ */ T(Mo, [["render", No], ["__scopeId", "data-v-9f51b3f9
6425
6425
  }
6426
6426
  }
6427
6427
  };
6428
- function Oo(t, e, a, r, i, o) {
6428
+ function $o(t, e, a, r, i, o) {
6429
6429
  return L(), x("div");
6430
6430
  }
6431
- const jo = /* @__PURE__ */ T(Wo, [["render", Oo]]);
6432
- const Fo = {
6431
+ const Bo = /* @__PURE__ */ T(Mo, [["render", $o]]);
6432
+ const No = {
6433
6433
  name: "IdmENC",
6434
6434
  props: {
6435
6435
  map: {
@@ -6481,64 +6481,64 @@ const Fo = {
6481
6481
  }
6482
6482
  },
6483
6483
  methods: {}
6484
- }, it = (t) => (U("data-v-2d85e33b"), t = t(), G(), t), Vo = { key: 0 }, Uo = { class: "bar-item" }, Go = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Ho = [
6485
- Go
6486
- ], Zo = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Jo = [
6487
- Zo
6484
+ }, et = (t) => (G("data-v-ab627b83"), t = t(), H(), t), Wo = { key: 0 }, Oo = { class: "bar-item" }, jo = /* @__PURE__ */ et(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Fo = [
6485
+ jo
6486
+ ], Vo = /* @__PURE__ */ et(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Uo = [
6487
+ Vo
6488
6488
  ];
6489
- function Xo(t, e, a, r, i, o) {
6490
- return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div", Vo, [
6489
+ function Go(t, e, a, r, i, o) {
6490
+ return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div", Wo, [
6491
6491
  l("div", {
6492
6492
  class: "menu-bar-box",
6493
- style: j({ position: "absolute", right: i.right + "px", bottom: a.bottom })
6493
+ style: F({ position: "absolute", right: i.right + "px", bottom: a.bottom })
6494
6494
  }, [
6495
- l("div", Uo, [
6495
+ l("div", Oo, [
6496
6496
  l("div", {
6497
6497
  class: M(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
6498
6498
  onClick: e[0] || (e[0] = (n) => i.vendor = "hi")
6499
- }, Ho, 2),
6499
+ }, Fo, 2),
6500
6500
  l("div", {
6501
6501
  class: M(i.vendor === "i4" ? "menu-icon active" : "menu-icon"),
6502
6502
  onClick: e[1] || (e[1] = (n) => i.vendor = "i4")
6503
- }, Jo, 2)
6503
+ }, Uo, 2)
6504
6504
  ])
6505
6505
  ], 4)
6506
6506
  ])) : $("", !0);
6507
6507
  }
6508
- const qo = /* @__PURE__ */ T(Fo, [["render", Xo], ["__scopeId", "data-v-2d85e33b"]]);
6509
- const Yo = {
6508
+ const Ho = /* @__PURE__ */ T(No, [["render", Go], ["__scopeId", "data-v-ab627b83"]]);
6509
+ const Zo = {
6510
6510
  name: "IdmGLV2",
6511
6511
  components: {
6512
- IdmGlLayer: Vt,
6513
- IdmWindBarb: Yt,
6514
- IdmWindParticle: da,
6515
- IdmCurrents: va,
6516
- IdmCurrentParticle: Ia,
6517
- IdmSigWave: Aa,
6518
- IdmSwell: Ba,
6519
- IdmPrmsl: Oa,
6512
+ IdmGlLayer: Wt,
6513
+ IdmWindBarb: Zt,
6514
+ IdmWindParticle: na,
6515
+ IdmCurrents: ya,
6516
+ IdmCurrentParticle: za,
6517
+ IdmSigWave: Ea,
6518
+ IdmSwell: Da,
6519
+ IdmPrmsl: $a,
6520
6520
  // IdmIceEdge,
6521
- IdmIceberg: Va,
6522
- IdmTropicals: tt,
6523
- IdmPrecip3h: xi,
6524
- IdmVisibility: Ai,
6525
- IdmWaterTemp: Gi,
6526
- IdmTemp: rr,
6527
- IdmArctic: yr,
6528
- IdmWarZone: Jr,
6529
- IdmGmdssArea: Yr,
6530
- IdmEcaZone: eo,
6531
- IdmAlertZone: oo,
6532
- IdmPort: vo,
6533
- IdmLoadLine: Lo,
6534
- IdmTimezone: So,
6535
- IdmVRA: Po,
6536
- IdmSpecialArea: Io,
6537
- IdmTerminator: Ao,
6538
- IdmLatLng: at,
6539
- IdmMeasure: jo,
6540
- IdmPoint: Gr,
6541
- IdmENC: qo
6521
+ IdmIceberg: Wa,
6522
+ IdmTropicals: Qe,
6523
+ IdmPrecip3h: vi,
6524
+ IdmVisibility: Ei,
6525
+ IdmWaterTemp: ji,
6526
+ IdmTemp: er,
6527
+ IdmArctic: dr,
6528
+ IdmWarZone: Ur,
6529
+ IdmGmdssArea: Zr,
6530
+ IdmEcaZone: qr,
6531
+ IdmAlertZone: to,
6532
+ IdmPort: yo,
6533
+ IdmLoadLine: bo,
6534
+ IdmTimezone: wo,
6535
+ IdmVRA: Co,
6536
+ IdmSpecialArea: zo,
6537
+ IdmTerminator: Eo,
6538
+ IdmLatLng: Ke,
6539
+ IdmMeasure: Bo,
6540
+ IdmPoint: jr,
6541
+ IdmENC: Ho
6542
6542
  },
6543
6543
  props: {
6544
6544
  map: {
@@ -6582,13 +6582,13 @@ const Yo = {
6582
6582
  enc: "",
6583
6583
  // enc: 'i4',
6584
6584
  defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg",
6585
- helper: new Qt()
6585
+ helper: new Jt()
6586
6586
  };
6587
6587
  },
6588
6588
  watch: {
6589
6589
  ts: {
6590
6590
  handler(t, e) {
6591
- t && e && ee(t).utc().format("yyyy-MM-DD HH") !== ee(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
6591
+ t && e && ae(t).utc().format("yyyy-MM-DD HH") !== ae(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
6592
6592
  this.handleDateChange({ tropicals: !1 });
6593
6593
  });
6594
6594
  },
@@ -6596,7 +6596,7 @@ const Yo = {
6596
6596
  },
6597
6597
  map: {
6598
6598
  handler() {
6599
- 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());
6599
+ this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new je(this.map), this.handleRampColorInitial());
6600
6600
  },
6601
6601
  immediate: !0
6602
6602
  },
@@ -6664,7 +6664,7 @@ const Yo = {
6664
6664
  if (this.map) {
6665
6665
  const f = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, m = (o = this.map) == null ? void 0 : o.getBounds(), b = `${m._sw.lng},${m._sw.lat},${m._ne.lng},${m._ne.lat}`;
6666
6666
  if (this.handleRampColorState(), this.particleFactor) {
6667
- const y = Ve.WEATHER_LAYERS.find((u) => {
6667
+ const y = Oe.WEATHER_LAYERS.find((u) => {
6668
6668
  var v;
6669
6669
  return ((v = u.peer) == null ? void 0 : v.weight) === this.particleFactor.weight;
6670
6670
  });
@@ -6673,7 +6673,7 @@ const Yo = {
6673
6673
  if (this.weatherWeight > 0) {
6674
6674
  let y = this.weatherWeight, u;
6675
6675
  if (t.tropicals || this.weatherWeight & 256 && (u = this.weatherLayers.tropicals, u && (y -= 256, u.version = Math.random() + 1)), y > 0) {
6676
- const v = await se.get(`${this.gateway}/api/arc/weather/layers/links?l=${y}&v=${this.source}&z=${f}&bbox=${b}&t=${this.ts}`, {
6676
+ const v = await ne.get(`${this.gateway}/api/arc/weather/layers/links?l=${y}&v=${this.source}&z=${f}&bbox=${b}&t=${this.ts}`, {
6677
6677
  headers: {
6678
6678
  Authorization: this.token || this.defaultMeteoToken
6679
6679
  }
@@ -6682,7 +6682,7 @@ const Yo = {
6682
6682
  const g = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, w = [];
6683
6683
  for (const _ in g)
6684
6684
  _ === "ice-edge" && (g[_] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), _ !== "tropicals" && w.push(
6685
- se.get(g[_], {
6685
+ ne.get(g[_], {
6686
6686
  headers: {
6687
6687
  Authorization: this.token || this.defaultMeteoToken,
6688
6688
  key: _
@@ -6694,21 +6694,21 @@ const Yo = {
6694
6694
  );
6695
6695
  const k = await Promise.all(w);
6696
6696
  this.weatherLayers = {}, k.map((_) => {
6697
- var B, W, O, H;
6697
+ var B, W, O, Z;
6698
6698
  const D = ((B = _ == null ? void 0 : _.data) == null ? void 0 : B.data) || (_ == null ? void 0 : _.data), A = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
6699
6699
  A && D && (this.weatherLayers[A] = {
6700
6700
  raw: D,
6701
- type: ((H = _ == null ? void 0 : _.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
6701
+ type: ((Z = _ == null ? void 0 : _.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
6702
6702
  etime: this.ts
6703
6703
  });
6704
- }), g.tropicals && se.get(g.tropicals, {
6704
+ }), g.tropicals && ne.get(g.tropicals, {
6705
6705
  headers: {
6706
6706
  Authorization: this.token || this.defaultMeteoToken,
6707
6707
  key: "tropicals"
6708
6708
  }
6709
6709
  }).then((_) => {
6710
6710
  var B, W, O;
6711
- const D = et.convert2Geojson(((B = _ == null ? void 0 : _.data) == null ? void 0 : B.data) || (_ == null ? void 0 : _.data)), A = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
6711
+ const D = Ye.convert2Geojson(((B = _ == null ? void 0 : _.data) == null ? void 0 : B.data) || (_ == null ? void 0 : _.data)), A = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
6712
6712
  this.weatherLayers[A] = {
6713
6713
  data: D,
6714
6714
  active: !0,
@@ -6752,7 +6752,7 @@ const Yo = {
6752
6752
  let n = !1;
6753
6753
  if (this.otherWeight & 2048 && (o = this.otherWeight - 2048, n = !0), o) {
6754
6754
  if (t.all) {
6755
- const s = await se.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
6755
+ const s = await ne.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
6756
6756
  headers: {
6757
6757
  Authorization: this.token || this.defaultMeteoToken
6758
6758
  }
@@ -6761,7 +6761,7 @@ const Yo = {
6761
6761
  const c = (a = s == null ? void 0 : s.data) == null ? void 0 : a.data, h = [];
6762
6762
  for (const p in c)
6763
6763
  h.push(
6764
- se.get(c[p], {
6764
+ ne.get(c[p], {
6765
6765
  headers: {
6766
6766
  Authorization: this.token || this.defaultMeteoToken,
6767
6767
  key: p
@@ -6776,7 +6776,7 @@ const Yo = {
6776
6776
  });
6777
6777
  }
6778
6778
  } else if (t.dayNight && o & 1024) {
6779
- const s = await se.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
6779
+ const s = await ne.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
6780
6780
  headers: {
6781
6781
  Authorization: this.token || this.defaultMeteoToken
6782
6782
  }
@@ -6785,7 +6785,7 @@ const Yo = {
6785
6785
  const c = (i = s == null ? void 0 : s.data) == null ? void 0 : i.data, h = [];
6786
6786
  for (const p in c)
6787
6787
  h.push(
6788
- se.get(c[p], {
6788
+ ne.get(c[p], {
6789
6789
  headers: {
6790
6790
  Authorization: this.token || this.defaultMeteoToken,
6791
6791
  key: p
@@ -7092,13 +7092,13 @@ const Yo = {
7092
7092
  }
7093
7093
  },
7094
7094
  async handlePointChange(t) {
7095
- const e = this.ts ? ee(this.ts) : ee(), a = {
7095
+ const e = this.ts ? ae(this.ts) : ae(), a = {
7096
7096
  lat: t.lat,
7097
7097
  lng: t.lng,
7098
7098
  ts: e.utc().format(),
7099
7099
  wt: !0,
7100
7100
  src: this.source
7101
- }, r = await se.get(`${this.gateway}/api/arc/meteo/query`, {
7101
+ }, r = await ne.get(`${this.gateway}/api/arc/meteo/query`, {
7102
7102
  params: a,
7103
7103
  headers: {
7104
7104
  Authorization: this.token || this.defaultMeteoToken
@@ -7117,14 +7117,14 @@ const Yo = {
7117
7117
  this.particleFactor = t, this.fetchWeatherLayers({ tropicals: !1 });
7118
7118
  }
7119
7119
  }
7120
- }, Qo = {
7120
+ }, Jo = {
7121
7121
  key: 0,
7122
7122
  className: "map-gl-home"
7123
7123
  };
7124
- function Ko(t, e, a, r, i, o) {
7125
- var ae, Z, q, be, Y, E, F, ve, Q, _e, ie, re, oe, ze, Pe, Te, Ee, Ie, We, He, Ze, Je, Xe, qe, Ye, Qe;
7126
- const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), f = z("IdmTropicals"), m = z("IdmCurrents"), b = z("IdmCurrentParticle"), y = z("IdmWindBarb"), u = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), B = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), H = z("IdmLoadLine"), de = z("IdmTimezone"), pe = z("IdmVRA"), me = z("IdmSpecialArea"), ue = z("IdmTerminator"), ye = z("IdmLatLng"), fe = z("IdmMeasure"), ge = z("IdmPoint");
7127
- return a.map ? (L(), x("div", Qo, [
7124
+ function Xo(t, e, a, r, i, o) {
7125
+ var ie, J, Y, ve, Q, E, V, _e, K, we, re, oe, se, ze, Pe, Te, Ee, Ie, We, Ve, Ue, Ge, He, Ze, Je, Xe;
7126
+ const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), f = z("IdmTropicals"), m = z("IdmCurrents"), b = z("IdmCurrentParticle"), y = z("IdmWindBarb"), u = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), B = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), Z = z("IdmLoadLine"), pe = z("IdmTimezone"), me = z("IdmVRA"), ue = z("IdmSpecialArea"), ye = z("IdmTerminator"), fe = z("IdmLatLng"), ge = z("IdmMeasure"), be = z("IdmPoint");
7127
+ return a.map ? (L(), x("div", Jo, [
7128
7128
  P(n, I({
7129
7129
  ref: "layer",
7130
7130
  map: a.map,
@@ -7133,39 +7133,39 @@ function Ko(t, e, a, r, i, o) {
7133
7133
  }, t.$attrs, {
7134
7134
  onWeather: o.handleWeatherLayerChange,
7135
7135
  onOther: o.handleOtherLayerChange,
7136
- onCoordinate: e[0] || (e[0] = (K) => i.showCoord = K),
7137
- onMeasure: e[1] || (e[1] = (K) => i.showMeasure = K),
7138
- onPoint: e[2] || (e[2] = (K) => i.showPoint = K),
7136
+ onCoordinate: e[0] || (e[0] = (ee) => i.showCoord = ee),
7137
+ onMeasure: e[1] || (e[1] = (ee) => i.showMeasure = ee),
7138
+ onPoint: e[2] || (e[2] = (ee) => i.showPoint = ee),
7139
7139
  on3d: o.handle3dToggle,
7140
- onToggleVersion: e[3] || (e[3] = (K) => i.toggleVersion = K)
7140
+ onToggleVersion: e[3] || (e[3] = (ee) => i.toggleVersion = ee)
7141
7141
  }), null, 16, ["map", "toggle-version", "map-projection", "onWeather", "onOther", "on3d"]),
7142
7142
  P(s, I({
7143
7143
  map: a.map,
7144
7144
  token: a.token,
7145
- enabled: (ae = i.otherLayers) == null ? void 0 : ae.enc,
7145
+ enabled: (ie = i.otherLayers) == null ? void 0 : ie.enc,
7146
7146
  "toggle-version": i.toggleVersion
7147
7147
  }, t.$attrs, {
7148
- onEnc: e[4] || (e[4] = (K) => i.enc = K)
7148
+ onEnc: e[4] || (e[4] = (ee) => i.enc = ee)
7149
7149
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
7150
7150
  P(c, I({
7151
7151
  map: a.map,
7152
- "sig-wave": (Z = i.weatherLayers) == null ? void 0 : Z["sig-wave-height"],
7152
+ "sig-wave": (J = i.weatherLayers) == null ? void 0 : J["sig-wave-height"],
7153
7153
  "before-layer": a.beforeLayer
7154
7154
  }, t.$attrs), null, 16, ["map", "sig-wave", "before-layer"]),
7155
7155
  P(h, I({
7156
7156
  map: a.map,
7157
- swell: (q = i.weatherLayers) == null ? void 0 : q.swell,
7157
+ swell: (Y = i.weatherLayers) == null ? void 0 : Y.swell,
7158
7158
  "before-layer": a.beforeLayer
7159
7159
  }, t.$attrs), null, 16, ["map", "swell", "before-layer"]),
7160
7160
  P(d, I({
7161
7161
  map: a.map,
7162
- prmsl: (be = i.weatherLayers) == null ? void 0 : be.prmsl,
7162
+ prmsl: (ve = i.weatherLayers) == null ? void 0 : ve.prmsl,
7163
7163
  "before-layer": a.beforeLayer,
7164
7164
  "active-weather-layers": i.activeWeatherLayers
7165
7165
  }, t.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
7166
7166
  P(p, I({
7167
7167
  map: a.map,
7168
- iceberg: (Y = i.weatherLayers) == null ? void 0 : Y.iceberg,
7168
+ iceberg: (Q = i.weatherLayers) == null ? void 0 : Q.iceberg,
7169
7169
  "before-layer": a.beforeLayer
7170
7170
  }, t.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
7171
7171
  P(f, I({
@@ -7177,7 +7177,7 @@ function Ko(t, e, a, r, i, o) {
7177
7177
  P(m, I({
7178
7178
  map: a.map,
7179
7179
  "map-projection": i.mapProjection,
7180
- current: (F = i.weatherLayers) == null ? void 0 : F.current,
7180
+ current: (V = i.weatherLayers) == null ? void 0 : V.current,
7181
7181
  "before-layer": a.beforeLayer,
7182
7182
  "show-particle": i.showCurrentParticle,
7183
7183
  "margin-bottom": i.activeWindLayer ? i.showRampColor ? "84px" : "56px" : i.showRampColor ? "56px" : "30px",
@@ -7186,7 +7186,7 @@ function Ko(t, e, a, r, i, o) {
7186
7186
  }, t.$attrs, { onParticle: o.handleParticle }), null, 16, ["map", "map-projection", "current", "before-layer", "show-particle", "margin-bottom", "toggle-version", "weather-layers", "onParticle"]),
7187
7187
  P(b, I({
7188
7188
  viewport: i.viewport,
7189
- factor: (ve = i.weatherLayers) == null ? void 0 : ve["current-particle"],
7189
+ factor: (_e = i.weatherLayers) == null ? void 0 : _e["current-particle"],
7190
7190
  "before-layer": a.beforeLayer,
7191
7191
  "toggle-version": i.toggleVersion
7192
7192
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
@@ -7194,8 +7194,8 @@ function Ko(t, e, a, r, i, o) {
7194
7194
  ref: "windBarb",
7195
7195
  map: a.map,
7196
7196
  "map-projection": i.mapProjection,
7197
- wind: (Q = i.weatherLayers) == null ? void 0 : Q.wind,
7198
- current: (_e = i.weatherLayers) == null ? void 0 : _e.current,
7197
+ wind: (K = i.weatherLayers) == null ? void 0 : K.wind,
7198
+ current: (we = i.weatherLayers) == null ? void 0 : we.current,
7199
7199
  "before-layer": a.beforeLayer,
7200
7200
  "margin-bottom": i.showRampColor ? "56px" : "30px",
7201
7201
  "show-particle": i.showWindParticle
@@ -7206,19 +7206,19 @@ function Ko(t, e, a, r, i, o) {
7206
7206
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "show-particle", "toggle-version", "weather-layers", "onParticle"]),
7207
7207
  P(u, I({
7208
7208
  viewport: i.viewport,
7209
- factor: (ie = i.weatherLayers) == null ? void 0 : ie["wind-particle"],
7209
+ factor: (re = i.weatherLayers) == null ? void 0 : re["wind-particle"],
7210
7210
  "before-layer": a.beforeLayer,
7211
7211
  "toggle-version": i.toggleVersion
7212
7212
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7213
7213
  P(v, I({
7214
7214
  viewport: i.viewport,
7215
- factor: (re = i.weatherLayers) == null ? void 0 : re.precip3h,
7215
+ factor: (oe = i.weatherLayers) == null ? void 0 : oe.precip3h,
7216
7216
  "before-layer": a.beforeLayer,
7217
7217
  "toggle-version": i.toggleVersion
7218
7218
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7219
7219
  P(g, I({
7220
7220
  viewport: i.viewport,
7221
- factor: (oe = i.weatherLayers) == null ? void 0 : oe.visibility,
7221
+ factor: (se = i.weatherLayers) == null ? void 0 : se.visibility,
7222
7222
  "before-layer": a.beforeLayer,
7223
7223
  "toggle-version": i.toggleVersion
7224
7224
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
@@ -7257,67 +7257,67 @@ function Ko(t, e, a, r, i, o) {
7257
7257
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7258
7258
  P(W, I({
7259
7259
  map: a.map,
7260
- zone: (He = i.otherLayers) == null ? void 0 : He["alert-zones"],
7260
+ zone: (Ve = i.otherLayers) == null ? void 0 : Ve["alert-zones"],
7261
7261
  "before-layer": a.beforeLayer
7262
7262
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7263
7263
  P(O, I({
7264
7264
  map: a.map,
7265
- port: (Ze = i.otherLayers) == null ? void 0 : Ze.ports,
7265
+ port: (Ue = i.otherLayers) == null ? void 0 : Ue.ports,
7266
7266
  "before-layer": a.beforeLayer
7267
7267
  }, t.$attrs), null, 16, ["map", "port", "before-layer"]),
7268
- P(H, I({
7268
+ P(Z, I({
7269
7269
  map: a.map,
7270
- line: (Je = i.otherLayers) == null ? void 0 : Je["load-lines"],
7270
+ line: (Ge = i.otherLayers) == null ? void 0 : Ge["load-lines"],
7271
7271
  "before-layer": a.beforeLayer
7272
7272
  }, t.$attrs), null, 16, ["map", "line", "before-layer"]),
7273
- P(de, I({
7273
+ P(pe, I({
7274
7274
  map: a.map,
7275
- zone: (Xe = i.otherLayers) == null ? void 0 : Xe["time-zones"],
7275
+ zone: (He = i.otherLayers) == null ? void 0 : He["time-zones"],
7276
7276
  "before-layer": a.beforeLayer
7277
7277
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7278
- P(pe, I({
7278
+ P(me, I({
7279
7279
  map: a.map,
7280
- area: (qe = i.otherLayers) == null ? void 0 : qe["voluntary-reporting-area"],
7280
+ area: (Ze = i.otherLayers) == null ? void 0 : Ze["voluntary-reporting-area"],
7281
7281
  "before-layer": a.beforeLayer
7282
7282
  }, t.$attrs), null, 16, ["map", "area", "before-layer"]),
7283
- P(me, I({
7283
+ P(ue, I({
7284
7284
  map: a.map,
7285
- area: (Ye = i.otherLayers) == null ? void 0 : Ye["special-area"],
7285
+ area: (Je = i.otherLayers) == null ? void 0 : Je["special-area"],
7286
7286
  "before-layer": a.beforeLayer
7287
7287
  }, t.$attrs), null, 16, ["map", "area", "before-layer"]),
7288
- P(ue, I({
7288
+ P(ye, I({
7289
7289
  map: a.map,
7290
- area: (Qe = i.otherLayers) == null ? void 0 : Qe["day-night"]
7290
+ area: (Xe = i.otherLayers) == null ? void 0 : Xe["day-night"]
7291
7291
  }, t.$attrs), null, 16, ["map", "area"]),
7292
- P(ye, I({
7292
+ P(fe, I({
7293
7293
  map: a.map,
7294
7294
  show: i.showCoord,
7295
7295
  "toggle-version": i.toggleVersion
7296
7296
  }, t.$attrs), null, 16, ["map", "show", "toggle-version"]),
7297
- P(fe, I({
7297
+ P(ge, I({
7298
7298
  map: a.map,
7299
7299
  show: i.showMeasure
7300
7300
  }, t.$attrs), null, 16, ["map", "show"]),
7301
- P(ge, I({
7301
+ P(be, I({
7302
7302
  map: a.map,
7303
7303
  show: i.showPoint,
7304
7304
  meteo: i.meteo
7305
7305
  }, t.$attrs, { onPoint: o.handlePointChange }), null, 16, ["map", "show", "meteo", "onPoint"])
7306
7306
  ])) : $("", !0);
7307
7307
  }
7308
- const es = /* @__PURE__ */ T(Yo, [["render", Ko]]), cs = {
7308
+ const qo = /* @__PURE__ */ T(Zo, [["render", Xo]]), os = {
7309
7309
  install(t) {
7310
- t.component("MapboxGL", es), t.component("TropicalGL", tt), t.component("LatLngGL", at);
7310
+ t.component("MapboxGL", qo), t.component("TropicalGL", Qe), t.component("LatLngGL", Ke);
7311
7311
  }
7312
7312
  };
7313
7313
  export {
7314
- at as LatLngGL,
7315
- es as MapboxGL,
7316
- cs as MapboxGLPlugin,
7317
- Qt as MapboxHelper,
7318
- V as ParticleSchema,
7319
- tt as TropicalGL,
7320
- Ue as Viewport,
7321
- we as WebGL,
7314
+ Ke as LatLngGL,
7315
+ qo as MapboxGL,
7316
+ os as MapboxGLPlugin,
7317
+ Jt as MapboxHelper,
7318
+ U as ParticleSchema,
7319
+ Qe as TropicalGL,
7320
+ je as Viewport,
7321
+ Le as WebGL,
7322
7322
  N as WebGLSchema
7323
7323
  };