@idmwx/idmui-gl3 3.9.9 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
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";
1
+ var et = Object.defineProperty;
2
+ var tt = (t, e, a) => e in t ? et(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
+ var R = (t, e, a) => (tt(t, typeof e != "symbol" ? e + "" : e, a), a);
4
+ import { LayerHelper as We, CompanyHelper as Ae, convertToStandardLng as Ie } 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 Re, renderList as De, toDisplayString as S, createVNode as P, withCtx as at, createTextVNode as Xe, createCommentVNode as $, pushScopeId as G, popScopeId as H, withDirectives as Me, vShow as $e, createStaticVNode as it, mergeProps as I } from "vue";
6
6
  import * as C from "@turf/turf";
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";
7
+ import rt from "@mapbox/sphericalmercator";
8
+ import te from "moment";
9
+ import ne from "mapbox-gl";
10
+ import { TropicalHelper as qe, LngLatHelper as j, LaneHelper as ee } from "@idm-plugin/geo";
11
+ import se 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
- }, st = {
17
+ }, ot = {
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: [...Oe.WEATHER_LAYERS],
53
- other: [...Oe.OTHER_LAYERS]
52
+ weather: [...We.WEATHER_LAYERS],
53
+ other: [...We.OTHER_LAYERS]
54
54
  },
55
55
  weatherLayersCache: "weatherLayersCache",
56
56
  autoActiveCache: "autoActiveCache",
@@ -150,71 +150,71 @@ const T = (t, e) => {
150
150
  this.source = t, this.handleConfirm();
151
151
  }
152
152
  }
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 = [
160
- ft
161
- ], bt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), vt = [
162
- bt
163
- ], _t = ["onClick"], wt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Lt = /* @__PURE__ */ X(() => /* @__PURE__ */ l("i", { class: "iconfont" }, "", -1)), xt = [
164
- Lt
165
- ], Ct = { class: "weather-layers" }, St = {
153
+ }, st = { class: "idm-gl3-layer" }, nt = { class: "bar-item layer-bars" }, lt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ct = [
154
+ lt
155
+ ], ht = { class: "bar-item tool-bars" }, dt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), pt = [
156
+ dt
157
+ ], mt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ut = [
158
+ mt
159
+ ], yt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ft = [
160
+ yt
161
+ ], gt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), bt = [
162
+ gt
163
+ ], vt = ["onClick"], _t = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), wt = /* @__PURE__ */ l("i", { class: "iconfont" }, "", -1), Lt = [
164
+ wt
165
+ ], xt = { class: "weather-layers" }, Ct = {
166
166
  class: "layers-title",
167
167
  style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
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) {
168
+ }, St = { style: { "font-size": "12px" } }, kt = { class: "layers-body" }, zt = ["onClick"], Pt = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), Tt = { class: "other-layers" }, Et = /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1), It = { class: "layers-body" }, Rt = ["onClick"], Dt = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), At = { class: "source-layers" }, Mt = /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1), $t = { class: "layers-body model-box" };
169
+ function Bt(t, e, a, r, i, o) {
170
170
  const n = z("ElScrollbar");
171
- return L(), x("div", nt, [
171
+ return L(), x("div", st, [
172
172
  l("div", {
173
173
  class: "menu-bar-box",
174
174
  style: F({ top: a.top + 10 + "px", right: i.right + "px" })
175
175
  }, [
176
- l("div", lt, [
176
+ l("div", nt, [
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
- }, ht, 2)
180
+ }, ct, 2)
181
181
  ])
182
182
  ], 4),
183
183
  l("div", {
184
184
  class: "menu-bar-box",
185
185
  style: F({ top: a.top + 160 + "px", right: i.right + "px" })
186
186
  }, [
187
- l("div", dt, [
187
+ l("div", ht, [
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
- }, mt, 2),
191
+ }, pt, 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
- }, yt, 2),
195
+ }, ut, 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
- }, gt, 2),
199
+ }, ft, 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
- }, vt, 2)
203
+ }, bt, 2)
204
204
  ])
205
205
  ], 4),
206
206
  l("div", {
207
207
  class: "active-layers",
208
208
  style: F({ right: i.right + "px", bottom: "100px" })
209
209
  }, [
210
- (L(!0), x(De, null, Ae(i.weatherLayers, (s) => (L(), x("div", {
210
+ (L(!0), x(Re, null, De(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
- wt,
215
+ _t,
216
216
  l("span", null, S(s.name), 1)
217
- ], 10, _t))), 128))
217
+ ], 10, vt))), 128))
218
218
  ], 4),
219
219
  l("div", {
220
220
  class: "available-layers flex-center",
@@ -224,21 +224,21 @@ function Nt(t, e, a, r, i, o) {
224
224
  class: "side-bar",
225
225
  style: F({ right: i.showLayers ? "0px" : "-240px" }),
226
226
  onClick: e[5] || (e[5] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
227
- }, xt, 4),
227
+ }, Lt, 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: it(() => [
233
- l("div", Ct, [
234
- l("div", St, [
232
+ default: at(() => [
233
+ l("div", xt, [
234
+ l("div", Ct, [
235
235
  l("div", null, [
236
- qe(" Weather Layers "),
237
- l("span", kt, "(" + S(i.weatherLayers.length) + "/12)", 1)
236
+ Xe(" Weather Layers "),
237
+ l("span", St, "(" + S(i.weatherLayers.length) + "/12)", 1)
238
238
  ])
239
239
  ]),
240
- l("div", zt, [
241
- (L(!0), x(De, null, Ae(i.layers.weather, (s) => (L(), x(De, {
240
+ l("div", kt, [
241
+ (L(!0), x(Re, null, De(i.layers.weather, (s) => (L(), x(Re, {
242
242
  key: s.key
243
243
  }, [
244
244
  s.hide ? $("", !0) : (L(), x("div", {
@@ -246,28 +246,28 @@ function Nt(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
- Tt,
249
+ Pt,
250
250
  l("span", null, S(s.name), 1)
251
- ], 10, Pt))
251
+ ], 10, zt))
252
252
  ], 64))), 128))
253
253
  ])
254
254
  ]),
255
- l("div", Et, [
256
- It,
257
- l("div", Rt, [
258
- (L(!0), x(De, null, Ae(i.layers.other, (s) => (L(), x("div", {
255
+ l("div", Tt, [
256
+ Et,
257
+ l("div", It, [
258
+ (L(!0), x(Re, null, De(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
- At,
263
+ Dt,
264
264
  l("span", null, S(s.name), 1)
265
- ], 10, Dt))), 128))
265
+ ], 10, Rt))), 128))
266
266
  ])
267
267
  ]),
268
- l("div", Mt, [
269
- $t,
270
- l("div", Bt, [
268
+ l("div", At, [
269
+ Mt,
270
+ l("div", $t, [
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 Nt(t, e, a, r, i, o) {
285
285
  ], 4)
286
286
  ]);
287
287
  }
288
- const Wt = /* @__PURE__ */ T(st, [["render", Nt], ["__scopeId", "data-v-63871fba"]]);
289
- const Ot = {
288
+ const Nt = /* @__PURE__ */ T(ot, [["render", Bt]]);
289
+ const Wt = {
290
290
  name: "IdmWindBarb",
291
291
  props: {
292
292
  map: {
@@ -445,22 +445,22 @@ const Ot = {
445
445
  this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
446
446
  }
447
447
  }
448
- }, jt = { key: 0 }, Ft = {
448
+ }, Ot = { key: 0 }, jt = {
449
449
  key: 0,
450
450
  class: "iconfont active"
451
- }, Vt = {
451
+ }, Ft = {
452
452
  key: 1,
453
453
  class: "iconfont"
454
- }, Ut = {
454
+ }, Vt = {
455
455
  key: 0,
456
456
  class: "iconfont active"
457
- }, Gt = {
457
+ }, Ut = {
458
458
  key: 1,
459
459
  class: "iconfont"
460
460
  };
461
- function Ht(t, e, a, r, i, o) {
461
+ function Gt(t, e, a, r, i, o) {
462
462
  var n;
463
- return (n = a.wind) != null && n.active ? (L(), x("div", jt, [
463
+ return (n = a.wind) != null && n.active ? (L(), x("div", Ot, [
464
464
  l("div", {
465
465
  class: "flex-center tool-bars",
466
466
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
@@ -470,7 +470,7 @@ function Ht(t, e, a, r, i, o) {
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", Ft, "")) : (L(), x("i", Vt, "")),
473
+ a.showParticle ? (L(), x("i", jt, "")) : (L(), x("i", Ft, "")),
474
474
  l("span", {
475
475
  class: M(a.showParticle ? "active" : "")
476
476
  }, "Wind Particles", 2)
@@ -481,7 +481,7 @@ function Ht(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", Ut, "")) : (L(), x("i", Gt, "")),
484
+ i.showFeather ? (L(), x("i", Vt, "")) : (L(), x("i", Ut, "")),
485
485
  l("span", {
486
486
  class: M(i.showFeather ? "active" : "")
487
487
  }, "Wind Feather", 2)
@@ -489,8 +489,8 @@ function Ht(t, e, a, r, i, o) {
489
489
  ], 4)
490
490
  ])) : $("", !0);
491
491
  }
492
- const Zt = /* @__PURE__ */ T(Ot, [["render", Ht], ["__scopeId", "data-v-b6fb74d9"]]);
493
- class je {
492
+ const Ht = /* @__PURE__ */ T(Wt, [["render", Gt], ["__scopeId", "data-v-b6fb74d9"]]);
493
+ class Oe {
494
494
  constructor(e) {
495
495
  R(this, "map");
496
496
  R(this, "mercator");
@@ -501,7 +501,7 @@ class je {
501
501
  R(this, "rampColorCanvas");
502
502
  R(this, "particleCanvas");
503
503
  R(this, "ratio");
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;
504
+ this.map = e, this.mercator = new rt(), 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 je {
573
573
  a !== r && this.map.setLayoutProperty(this.particleLayer, "visibility", r);
574
574
  }
575
575
  }
576
- class Le {
576
+ class we {
577
577
  /**
578
578
  * 创建着色器
579
579
  * @see https://webglfundamentals.org/webgl/lessons/zh_cn/webgl-shaders-and-glsl.html
@@ -960,7 +960,7 @@ R(U, "vertexSchema", `
960
960
  fract(pos * 255.0),
961
961
  floor(pos * 255.0) / 255.0);
962
962
  }`);
963
- class Jt {
963
+ class Zt {
964
964
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
965
965
  R(this, "token");
966
966
  R(this, "mapboxCustomer");
@@ -2564,14 +2564,14 @@ class Jt {
2564
2564
  };
2565
2565
  }
2566
2566
  }
2567
- const Xt = {
2567
+ const Jt = {
2568
2568
  name: "IdmWindParticle",
2569
2569
  props: {
2570
2570
  factor: {
2571
2571
  type: Object
2572
2572
  },
2573
2573
  viewport: {
2574
- type: je
2574
+ type: Oe
2575
2575
  },
2576
2576
  bottom: {
2577
2577
  type: String,
@@ -2588,7 +2588,7 @@ const Xt = {
2588
2588
  texture: void 0,
2589
2589
  rampColor: void 0,
2590
2590
  aPositionBuffer: void 0,
2591
- webgl: new Le(),
2591
+ webgl: new we(),
2592
2592
  etime: void 0,
2593
2593
  wrapper: void 0,
2594
2594
  animation: void 0,
@@ -2726,27 +2726,27 @@ const Xt = {
2726
2726
  });
2727
2727
  }
2728
2728
  }
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 = [
2729
+ }, le = (t) => (G("data-v-41a686d0"), t = t(), H(), t), Xt = { key: 0 }, qt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "kts", -1)), Yt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "0", -1)), Qt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "5", -1)), Kt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "10", -1)), ea = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "20", -1)), ta = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "30", -1)), aa = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "40", -1)), ia = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "60", -1)), ra = [
2730
+ qt,
2730
2731
  Yt,
2731
2732
  Qt,
2732
2733
  Kt,
2733
2734
  ea,
2734
2735
  ta,
2735
2736
  aa,
2736
- ia,
2737
- ra
2737
+ ia
2738
2738
  ];
2739
- function sa(t, e, a, r, i, o) {
2739
+ function oa(t, e, a, r, i, o) {
2740
2740
  var n;
2741
- return (n = a.factor) != null && n.active ? (L(), x("div", qt, [
2741
+ return (n = a.factor) != null && n.active ? (L(), x("div", Xt, [
2742
2742
  l("div", {
2743
2743
  class: "legend-bars flex-center",
2744
2744
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
2745
- }, oa, 4)
2745
+ }, ra, 4)
2746
2746
  ])) : $("", !0);
2747
2747
  }
2748
- const na = /* @__PURE__ */ T(Xt, [["render", sa], ["__scopeId", "data-v-41a686d0"]]);
2749
- const la = {
2748
+ const sa = /* @__PURE__ */ T(Jt, [["render", oa], ["__scopeId", "data-v-41a686d0"]]);
2749
+ const na = {
2750
2750
  name: "IdmCurrent",
2751
2751
  props: {
2752
2752
  map: {
@@ -2906,22 +2906,22 @@ const la = {
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
- }, ca = { key: 0 }, ha = {
2909
+ }, la = { key: 0 }, ca = {
2910
2910
  key: 0,
2911
2911
  class: "iconfont active"
2912
- }, da = {
2912
+ }, ha = {
2913
2913
  key: 1,
2914
2914
  class: "iconfont"
2915
- }, pa = {
2915
+ }, da = {
2916
2916
  key: 0,
2917
2917
  class: "iconfont active"
2918
- }, ma = {
2918
+ }, pa = {
2919
2919
  key: 1,
2920
2920
  class: "iconfont"
2921
2921
  };
2922
- function ua(t, e, a, r, i, o) {
2922
+ function ma(t, e, a, r, i, o) {
2923
2923
  var n;
2924
- return (n = a.current) != null && n.active ? (L(), x("div", ca, [
2924
+ return (n = a.current) != null && n.active ? (L(), x("div", la, [
2925
2925
  l("div", {
2926
2926
  class: "flex-center tool-bars",
2927
2927
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
@@ -2931,7 +2931,7 @@ function ua(t, e, a, r, i, o) {
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", ha, "")) : (L(), x("i", da, "")),
2934
+ a.showParticle ? (L(), x("i", ca, "")) : (L(), x("i", ha, "")),
2935
2935
  l("span", {
2936
2936
  class: M(a.showParticle ? "active" : "")
2937
2937
  }, "Current Particles", 2)
@@ -2942,7 +2942,7 @@ function ua(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", pa, "")) : (L(), x("i", ma, "")),
2945
+ i.showJson ? (L(), x("i", da, "")) : (L(), x("i", pa, "")),
2946
2946
  l("span", {
2947
2947
  class: M(i.showJson ? "active" : "")
2948
2948
  }, "Current", 2)
@@ -2950,15 +2950,15 @@ function ua(t, e, a, r, i, o) {
2950
2950
  ], 4)
2951
2951
  ])) : $("", !0);
2952
2952
  }
2953
- const ya = /* @__PURE__ */ T(la, [["render", ua], ["__scopeId", "data-v-ae630f43"]]);
2954
- const fa = {
2953
+ const ua = /* @__PURE__ */ T(na, [["render", ma], ["__scopeId", "data-v-ae630f43"]]);
2954
+ const ya = {
2955
2955
  name: "IdmCurrentParticle",
2956
2956
  props: {
2957
2957
  factor: {
2958
2958
  type: Object
2959
2959
  },
2960
2960
  viewport: {
2961
- type: je
2961
+ type: Oe
2962
2962
  },
2963
2963
  bottom: {
2964
2964
  type: String,
@@ -2975,7 +2975,7 @@ const fa = {
2975
2975
  texture: void 0,
2976
2976
  rampColor: void 0,
2977
2977
  aPositionBuffer: void 0,
2978
- webgl: new Le(),
2978
+ webgl: new we(),
2979
2979
  etime: void 0,
2980
2980
  wrapper: void 0,
2981
2981
  animation: void 0,
@@ -3108,25 +3108,25 @@ const fa = {
3108
3108
  });
3109
3109
  }
3110
3110
  }
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 = [
3111
+ }, Le = (t) => (G("data-v-9115889b"), t = t(), H(), t), fa = { key: 0 }, ga = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "kts", -1)), ba = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0", -1)), va = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.4", -1)), _a = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.8", -1)), wa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "1.6", -1)), La = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "2", -1)), xa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ca = [
3112
+ ga,
3112
3113
  ba,
3113
3114
  va,
3114
3115
  _a,
3115
3116
  wa,
3116
3117
  La,
3117
- xa,
3118
- Ca
3118
+ xa
3119
3119
  ];
3120
- function ka(t, e, a, r, i, o) {
3120
+ function Sa(t, e, a, r, i, o) {
3121
3121
  var n;
3122
- return (n = a.factor) != null && n.active ? (L(), x("div", ga, [
3122
+ return (n = a.factor) != null && n.active ? (L(), x("div", fa, [
3123
3123
  l("div", {
3124
3124
  class: "legend-bars flex-center",
3125
3125
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
3126
- }, Sa, 4)
3126
+ }, Ca, 4)
3127
3127
  ])) : $("", !0);
3128
3128
  }
3129
- const za = /* @__PURE__ */ T(fa, [["render", ka], ["__scopeId", "data-v-9115889b"]]), Pa = {
3129
+ const ka = /* @__PURE__ */ T(ya, [["render", Sa], ["__scopeId", "data-v-9115889b"]]), za = {
3130
3130
  name: "IdmSigWave",
3131
3131
  props: {
3132
3132
  map: {
@@ -3235,10 +3235,10 @@ const za = /* @__PURE__ */ T(fa, [["render", ka], ["__scopeId", "data-v-9115889b
3235
3235
  }
3236
3236
  }
3237
3237
  };
3238
- function Ta(t, e, a, r, i, o) {
3238
+ function Pa(t, e, a, r, i, o) {
3239
3239
  return L(), x("div");
3240
3240
  }
3241
- const Ea = /* @__PURE__ */ T(Pa, [["render", Ta]]), Ia = {
3241
+ const Ta = /* @__PURE__ */ T(za, [["render", Pa]]), Ea = {
3242
3242
  name: "IdmSwell",
3243
3243
  props: {
3244
3244
  map: {
@@ -3376,10 +3376,10 @@ const Ea = /* @__PURE__ */ T(Pa, [["render", Ta]]), Ia = {
3376
3376
  }
3377
3377
  }
3378
3378
  };
3379
- function Ra(t, e, a, r, i, o) {
3379
+ function Ia(t, e, a, r, i, o) {
3380
3380
  return L(), x("div");
3381
3381
  }
3382
- const Da = /* @__PURE__ */ T(Ia, [["render", Ra]]), Aa = {
3382
+ const Ra = /* @__PURE__ */ T(Ea, [["render", Ia]]), Da = {
3383
3383
  name: "IdmPrmsl",
3384
3384
  props: {
3385
3385
  map: {
@@ -3507,10 +3507,10 @@ const Da = /* @__PURE__ */ T(Ia, [["render", Ra]]), Aa = {
3507
3507
  }
3508
3508
  }
3509
3509
  };
3510
- function Ma(t, e, a, r, i, o) {
3510
+ function Aa(t, e, a, r, i, o) {
3511
3511
  return L(), x("div");
3512
3512
  }
3513
- const $a = /* @__PURE__ */ T(Aa, [["render", Ma]]), Ba = {
3513
+ const Ma = /* @__PURE__ */ T(Da, [["render", Aa]]), $a = {
3514
3514
  name: "IdmIceberg",
3515
3515
  props: {
3516
3516
  map: {
@@ -3567,11 +3567,11 @@ const $a = /* @__PURE__ */ T(Aa, [["render", Ma]]), Ba = {
3567
3567
  }
3568
3568
  }
3569
3569
  };
3570
- function Na(t, e, a, r, i, o) {
3570
+ function Ba(t, e, a, r, i, o) {
3571
3571
  return L(), x("div");
3572
3572
  }
3573
- const Wa = /* @__PURE__ */ T(Ba, [["render", Na]]);
3574
- const Oa = {
3573
+ const Na = /* @__PURE__ */ T($a, [["render", Ba]]);
3574
+ const Wa = {
3575
3575
  name: "IdmTropicals",
3576
3576
  props: {
3577
3577
  map: {
@@ -3587,7 +3587,7 @@ const Oa = {
3587
3587
  emits: ["tropical", "tropicalProbability"],
3588
3588
  data() {
3589
3589
  return {
3590
- helper: Me,
3590
+ helper: Ae,
3591
3591
  source: "tropicals-source",
3592
3592
  clusterSource: "tropicals-cluster-source",
3593
3593
  historyLayer: "tropicals-history-layer",
@@ -3615,7 +3615,7 @@ const Oa = {
3615
3615
  computeTime() {
3616
3616
  return function(t) {
3617
3617
  if (t) {
3618
- const e = ae(t).utc();
3618
+ const e = te(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 Oa = {
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 = ae().utc().hour(), a = [];
3641
+ const t = ((i = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : i.features) || [], e = te().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 Oa = {
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)) === ae().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)) === te().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 Oa = {
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 = Ye.interpolate(this.tropicals, 1);
3928
+ const d = qe.interpolate(this.tropicals, 1);
3929
3929
  this.interpolateData = JSON.parse(JSON.stringify(d)), this.handleDateChange();
3930
3930
  }
3931
3931
  },
@@ -3934,14 +3934,14 @@ const Oa = {
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, Z, pe, me, ue, ye, fe, ge, be, ie;
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, de, pe, me, ue, ye, fe, ge, ae;
3938
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, {
3939
+ const J = te(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), q = this.interpolateData.filter((E) => E.properties.date === J.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, {
3943
3943
  type: "geojson",
3944
- data: Q
3944
+ data: Y
3945
3945
  }), (o = this.map) == null || o.addLayer({
3946
3946
  id: this.interpolateLineLayer,
3947
3947
  type: "line",
@@ -3953,11 +3953,11 @@ const Oa = {
3953
3953
  "line-width": 1
3954
3954
  }
3955
3955
  })), this.interpolateMarkers = [];
3956
- for (const E of Y)
3956
+ for (const E of q)
3957
3957
  if (!E.properties.disabled) {
3958
3958
  let V = "#f44336";
3959
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"
3960
+ const ve = `<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
@@ -3971,23 +3971,23 @@ const Oa = {
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>`, 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(
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(
3980
3982
  C.circle(re.coordinates, re.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
3981
3983
  ), (ue = this.circleSourceData) == null || ue.features.push(
3982
3984
  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
- (ge = (fe = this.map) == null ? void 0 : fe.getSource(this.circleSource)) == null || ge.setData(this.circleSourceData);
3987
+ (fe = (ye = this.map) == null ? void 0 : ye.getSource(this.circleSource)) == null || fe.setData(this.circleSourceData);
3988
3988
  }
3989
3989
  } else
3990
- (be = this.map) != null && be.getSource(this.interpolateSource) && ((ie = this.map) == null || ie.getSource(this.interpolateSource).setData(this.empty));
3990
+ (ge = this.map) != null && ge.getSource(this.interpolateSource) && ((ae = this.map) == null || ae.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 Oa = {
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 le.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 ne.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,53 +4099,53 @@ const Oa = {
4099
4099
  return C.lineToPolygon(i, { properties: a });
4100
4100
  }
4101
4101
  }
4102
- }, Fe = (t) => (G("data-v-b5b42393"), t = t(), H(), t), ja = {
4102
+ }, je = (t) => (G("data-v-b5b42393"), t = t(), H(), t), Oa = {
4103
4103
  id: "active-tropical",
4104
4104
  class: "active-tropical"
4105
- }, Fa = { class: "header-box" }, Va = { class: "main" }, Ua = { key: 0 }, Ga = { class: "sub" }, Ha = {
4105
+ }, ja = { class: "header-box" }, Fa = { class: "main" }, Va = { key: 0 }, Ua = { class: "sub" }, Ga = {
4106
4106
  id: "meteoBox",
4107
4107
  class: "main-box"
4108
- }, Za = { class: "content" }, Ja = { class: "row" }, Xa = {
4108
+ }, Ha = { class: "content" }, Za = { class: "row" }, Ja = {
4109
4109
  class: "col col-left",
4110
4110
  style: { "justify-content": "flex-start" }
4111
- }, qa = /* @__PURE__ */ Fe(() => /* @__PURE__ */ l("label", null, "Wind speed : ", -1)), Ya = {
4111
+ }, Xa = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", null, "Wind speed : ", -1)), qa = {
4112
4112
  class: "col col-right",
4113
4113
  style: { "justify-content": "flex-start" }
4114
- }, Qa = /* @__PURE__ */ Fe(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), Ka = { class: "row" }, ei = {
4114
+ }, Ya = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), Qa = { class: "row" }, Ka = {
4115
4115
  class: "col col-24",
4116
4116
  style: { "justify-content": "flex-start" }
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) {
4117
+ }, ei = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), ti = { class: "forecast-models" }, ai = ["onClick"], ii = /* @__PURE__ */ it('<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), ri = { class: "more" };
4118
+ function oi(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", ja, [
4121
- l("div", Fa, [
4120
+ return Me((L(), x("div", Oa, [
4121
+ l("div", ja, [
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", 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)
4126
+ l("div", Fa, [
4127
+ (s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span", Va, S((h = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : h.level) + " , ", 1)) : $("", !0),
4128
+ Xe(S((d = i.activeTropicals) == null ? void 0 : d.name), 1)
4129
4129
  ]),
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)
4130
+ l("div", Ua, " 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", Ha, [
4133
- l("div", Za, [
4134
- l("div", Ja, [
4135
- l("div", Xa, [
4136
- qa,
4132
+ l("div", Ga, [
4133
+ l("div", Ha, [
4134
+ l("div", Za, [
4135
+ l("div", Ja, [
4136
+ Xa,
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", Ya, [
4140
- Qa,
4139
+ l("div", qa, [
4140
+ Ya,
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", Ka, [
4145
- l("div", ei, [
4146
- ti,
4147
- l("div", ai, [
4148
- (L(!0), x(De, null, Ae((k = i.activeTropicals) == null ? void 0 : k.forecasts, (_, D) => {
4144
+ l("div", Qa, [
4145
+ l("div", Ka, [
4146
+ ei,
4147
+ l("div", ti, [
4148
+ (L(!0), x(Re, null, De((k = i.activeTropicals) == null ? void 0 : k.forecasts, (_, D) => {
4149
4149
  var A, B, W, O;
4150
4150
  return L(), x("div", {
4151
4151
  key: D,
@@ -4159,14 +4159,14 @@ function si(t, e, a, r, i, o) {
4159
4159
  l("span", {
4160
4160
  class: M(_.model)
4161
4161
  }, S(_.model), 3)
4162
- ], 10, ii);
4162
+ ], 10, ai);
4163
4163
  }), 128))
4164
4164
  ])
4165
4165
  ])
4166
4166
  ]),
4167
- ri
4167
+ ii
4168
4168
  ]),
4169
- l("div", oi, [
4169
+ l("div", ri, [
4170
4170
  l("div", {
4171
4171
  class: "button",
4172
4172
  onClick: e[1] || (e[1] = (_) => o.handleStrikeProbability(i.activeTropicals))
@@ -4174,11 +4174,11 @@ function si(t, e, a, r, i, o) {
4174
4174
  ])
4175
4175
  ])
4176
4176
  ], 512)), [
4177
- [Be, i.showTropicals && !t.$attrs.hideTropicalsLegend]
4177
+ [$e, i.showTropicals && !t.$attrs.hideTropicalsLegend]
4178
4178
  ]);
4179
4179
  }
4180
- const Qe = /* @__PURE__ */ T(Oa, [["render", si], ["__scopeId", "data-v-b5b42393"]]);
4181
- const ni = {
4180
+ const Ye = /* @__PURE__ */ T(Wa, [["render", oi], ["__scopeId", "data-v-b5b42393"]]);
4181
+ const si = {
4182
4182
  name: "IdmPrecip3h",
4183
4183
  props: {
4184
4184
  factor: {
@@ -4206,7 +4206,7 @@ const ni = {
4206
4206
  texture: void 0,
4207
4207
  rampColor: void 0,
4208
4208
  aPositionBuffer: void 0,
4209
- webgl: new Le(),
4209
+ webgl: new we(),
4210
4210
  etime: void 0,
4211
4211
  right: 10
4212
4212
  };
@@ -4279,27 +4279,27 @@ const ni = {
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
- }, 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 = [
4282
+ }, ce = (t) => (G("data-v-dec867b8"), t = t(), H(), t), ni = { key: 0 }, li = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "mm", -1)), ci = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.5", -1)), hi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), di = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3", -1)), pi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "7", -1)), mi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "10", -1)), ui = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "20", -1)), yi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "30", -1)), fi = [
4283
+ li,
4283
4284
  ci,
4284
4285
  hi,
4285
4286
  di,
4286
4287
  pi,
4287
4288
  mi,
4288
4289
  ui,
4289
- yi,
4290
- fi
4290
+ yi
4291
4291
  ];
4292
- function bi(t, e, a, r, i, o) {
4292
+ function gi(t, e, a, r, i, o) {
4293
4293
  var n;
4294
- return (n = a.factor) != null && n.active ? (L(), x("div", li, [
4294
+ return (n = a.factor) != null && n.active ? (L(), x("div", ni, [
4295
4295
  l("div", {
4296
4296
  class: "legend-bars flex-center",
4297
4297
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4298
- }, gi, 4)
4298
+ }, fi, 4)
4299
4299
  ])) : $("", !0);
4300
4300
  }
4301
- const vi = /* @__PURE__ */ T(ni, [["render", bi], ["__scopeId", "data-v-dec867b8"]]);
4302
- const _i = {
4301
+ const bi = /* @__PURE__ */ T(si, [["render", gi], ["__scopeId", "data-v-dec867b8"]]);
4302
+ const vi = {
4303
4303
  name: "IdmVisibility",
4304
4304
  props: {
4305
4305
  factor: {
@@ -4327,7 +4327,7 @@ const _i = {
4327
4327
  texture: void 0,
4328
4328
  rampColor: void 0,
4329
4329
  aPositionBuffer: void 0,
4330
- webgl: new Le(),
4330
+ webgl: new we(),
4331
4331
  etime: void 0
4332
4332
  };
4333
4333
  },
@@ -4393,25 +4393,25 @@ const _i = {
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) => (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 = [
4396
+ }, xe = (t) => (G("data-v-952dee5c"), t = t(), H(), t), _i = { key: 0 }, wi = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "nm", -1)), Li = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0", -1)), xi = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ci = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Si = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "3", -1)), ki = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "9", -1)), zi = [
4397
+ wi,
4397
4398
  Li,
4398
4399
  xi,
4399
4400
  Ci,
4400
4401
  Si,
4401
- ki,
4402
- zi
4402
+ ki
4403
4403
  ];
4404
- function Ti(t, e, a, r, i, o) {
4404
+ function Pi(t, e, a, r, i, o) {
4405
4405
  var n;
4406
- return (n = a.factor) != null && n.active ? (L(), x("div", wi, [
4406
+ return (n = a.factor) != null && n.active ? (L(), x("div", _i, [
4407
4407
  l("div", {
4408
4408
  class: "legend-bars flex-center",
4409
4409
  style: F([{ position: "absolute" }, { right: t.right + "px", bottom: a.bottom }])
4410
- }, Pi, 4)
4410
+ }, zi, 4)
4411
4411
  ])) : $("", !0);
4412
4412
  }
4413
- const Ei = /* @__PURE__ */ T(_i, [["render", Ti], ["__scopeId", "data-v-952dee5c"]]);
4414
- const Ii = {
4413
+ const Ti = /* @__PURE__ */ T(vi, [["render", Pi], ["__scopeId", "data-v-952dee5c"]]);
4414
+ const Ei = {
4415
4415
  name: "IdmWaterTemp",
4416
4416
  props: {
4417
4417
  factor: {
@@ -4439,7 +4439,7 @@ const Ii = {
4439
4439
  texture: void 0,
4440
4440
  rampColor: void 0,
4441
4441
  aPositionBuffer: void 0,
4442
- webgl: new Le(),
4442
+ webgl: new we(),
4443
4443
  etime: void 0,
4444
4444
  right: 10
4445
4445
  };
@@ -4513,25 +4513,25 @@ const Ii = {
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) => (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 = [
4516
+ }, Ce = (t) => (G("data-v-67e5094b"), t = t(), H(), t), Ii = { key: 0 }, Ri = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "°C", -1)), Di = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ai = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "10", -1)), Mi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "20", -1)), $i = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "30", -1)), Bi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "40", -1)), Ni = [
4517
+ Ri,
4517
4518
  Di,
4518
4519
  Ai,
4519
4520
  Mi,
4520
4521
  $i,
4521
- Bi,
4522
- Ni
4522
+ Bi
4523
4523
  ];
4524
- function Oi(t, e, a, r, i, o) {
4524
+ function Wi(t, e, a, r, i, o) {
4525
4525
  var n;
4526
- return (n = a.factor) != null && n.active ? (L(), x("div", Ri, [
4526
+ return (n = a.factor) != null && n.active ? (L(), x("div", Ii, [
4527
4527
  l("div", {
4528
4528
  class: "legend-bars flex-center",
4529
4529
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4530
- }, Wi, 4)
4530
+ }, Ni, 4)
4531
4531
  ])) : $("", !0);
4532
4532
  }
4533
- const ji = /* @__PURE__ */ T(Ii, [["render", Oi], ["__scopeId", "data-v-67e5094b"]]);
4534
- const Fi = {
4533
+ const Oi = /* @__PURE__ */ T(Ei, [["render", Wi], ["__scopeId", "data-v-67e5094b"]]);
4534
+ const ji = {
4535
4535
  name: "IdmTemp",
4536
4536
  props: {
4537
4537
  factor: {
@@ -4559,7 +4559,7 @@ const Fi = {
4559
4559
  texture: void 0,
4560
4560
  rampColor: void 0,
4561
4561
  aPositionBuffer: void 0,
4562
- webgl: new Le(),
4562
+ webgl: new we(),
4563
4563
  etime: void 0,
4564
4564
  right: 10
4565
4565
  };
@@ -4636,27 +4636,27 @@ const Fi = {
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
- }, 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 = [
4639
+ }, he = (t) => (G("data-v-389ea886"), t = t(), H(), t), Fi = { key: 0 }, Vi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ui = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-20", -1)), Gi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-10", -1)), Hi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "0", -1)), Zi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "10", -1)), Ji = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "20", -1)), Xi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "30", -1)), qi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "40", -1)), Yi = [
4640
+ Vi,
4640
4641
  Ui,
4641
4642
  Gi,
4642
4643
  Hi,
4643
4644
  Zi,
4644
4645
  Ji,
4645
4646
  Xi,
4646
- qi,
4647
- Yi
4647
+ qi
4648
4648
  ];
4649
- function Ki(t, e, a, r, i, o) {
4649
+ function Qi(t, e, a, r, i, o) {
4650
4650
  var n;
4651
- return (n = a.factor) != null && n.active ? (L(), x("div", Vi, [
4651
+ return (n = a.factor) != null && n.active ? (L(), x("div", Fi, [
4652
4652
  l("div", {
4653
4653
  class: "legend-bars flex-center",
4654
4654
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4655
- }, Qi, 4)
4655
+ }, Yi, 4)
4656
4656
  ])) : $("", !0);
4657
4657
  }
4658
- const er = /* @__PURE__ */ T(Fi, [["render", Ki], ["__scopeId", "data-v-389ea886"]]);
4659
- const tr = {
4658
+ const Ki = /* @__PURE__ */ T(ji, [["render", Qi], ["__scopeId", "data-v-389ea886"]]);
4659
+ const er = {
4660
4660
  name: "IdmArctic",
4661
4661
  props: {
4662
4662
  factor: {
@@ -4684,7 +4684,7 @@ const tr = {
4684
4684
  texture: void 0,
4685
4685
  rampColor: void 0,
4686
4686
  aPositionBuffer: void 0,
4687
- webgl: new Le(),
4687
+ webgl: new we(),
4688
4688
  etime: void 0,
4689
4689
  right: 10
4690
4690
  };
@@ -4752,25 +4752,25 @@ const tr = {
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) => (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 = [
4755
+ }, Se = (t) => (G("data-v-db805141"), t = t(), H(), t), tr = { key: 0 }, ar = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "m", -1)), ir = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0", -1)), rr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0.5", -1)), or = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "1", -1)), sr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "1.5", -1)), nr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "2", -1)), lr = [
4756
+ ar,
4756
4757
  ir,
4757
4758
  rr,
4758
4759
  or,
4759
4760
  sr,
4760
- nr,
4761
- lr
4761
+ nr
4762
4762
  ];
4763
- function hr(t, e, a, r, i, o) {
4763
+ function cr(t, e, a, r, i, o) {
4764
4764
  var n;
4765
- return (n = a.factor) != null && n.active ? (L(), x("div", ar, [
4765
+ return (n = a.factor) != null && n.active ? (L(), x("div", tr, [
4766
4766
  l("div", {
4767
4767
  class: "legend-bars flex-center",
4768
4768
  style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
4769
- }, cr, 4)
4769
+ }, lr, 4)
4770
4770
  ])) : $("", !0);
4771
4771
  }
4772
- const dr = /* @__PURE__ */ T(tr, [["render", hr], ["__scopeId", "data-v-db805141"]]);
4773
- const pr = {
4772
+ const hr = /* @__PURE__ */ T(er, [["render", cr], ["__scopeId", "data-v-db805141"]]);
4773
+ const dr = {
4774
4774
  name: "IdmPoint",
4775
4775
  emits: ["point", "more"],
4776
4776
  props: {
@@ -4788,7 +4788,7 @@ const pr = {
4788
4788
  return {
4789
4789
  showMeteo: !1,
4790
4790
  meteoMarker: void 0,
4791
- helper: Me
4791
+ helper: Ae
4792
4792
  };
4793
4793
  },
4794
4794
  watch: {
@@ -4812,7 +4812,7 @@ const pr = {
4812
4812
  computed: {
4813
4813
  computeTime() {
4814
4814
  return function(t) {
4815
- return t ? `${ae(t).utc().format("MMM-DD,HHmm[Z]")}` : "-";
4815
+ return t ? `${te(t).utc().format("MMM-DD,HHmm[Z]")}` : "-";
4816
4816
  };
4817
4817
  },
4818
4818
  computeLat() {
@@ -4845,77 +4845,77 @@ const pr = {
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 le.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 ne.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
4849
4849
  }
4850
4850
  }
4851
4851
  }
4852
- }, q = (t) => (G("data-v-ef7fa87d"), t = t(), H(), t), mr = {
4852
+ }, X = (t) => (G("data-v-ef7fa87d"), t = t(), H(), t), pr = {
4853
4853
  id: "point-meteo",
4854
4854
  class: "point-meteo"
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 = {
4855
+ }, mr = { class: "meteo-box" }, ur = { class: "header-box" }, yr = { class: "main" }, fr = { class: "sub" }, gr = { class: "main-box" }, br = { class: "flex-space" }, vr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind", -1)), _r = { class: "flex-space" }, wr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), Lr = { class: "flex-space" }, xr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Cr = { class: "flex-space" }, Sr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), kr = { class: "flex-space" }, zr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Current", -1)), Pr = { class: "flex-space" }, Tr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Er = { class: "flex-space" }, Ir = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Rr = { class: "flex-space" }, Dr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Ar = { class: "flex-space" }, Mr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), $r = {
4856
4856
  key: 0,
4857
4857
  class: "flex-space",
4858
4858
  style: { "justify-content": "flex-end" }
4859
- }, Nr = /* @__PURE__ */ q(() => /* @__PURE__ */ l("span", { class: "more" }, "More >>", -1)), Wr = [
4860
- Nr
4859
+ }, Br = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "more" }, "More >>", -1)), Nr = [
4860
+ Br
4861
4861
  ];
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, [
4862
+ function Wr(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, de, pe, me, ue, ye, fe, ge, ae, J, q, be, Y, E, V, ve, Q, _e, ie, re, oe, ke, ze, Pe, Te, Ee;
4864
+ return Me((L(), x("div", pr, [
4865
+ l("div", mr, [
4866
+ l("div", ur, [
4867
4867
  l("div", {
4868
4868
  class: "iconfont close",
4869
- onClick: e[0] || (e[0] = (We) => i.showMeteo = !1)
4869
+ onClick: e[0] || (e[0] = (Ne) => i.showMeteo = !1)
4870
4870
  }, ""),
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)
4871
+ l("div", yr, 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", fr, S(o.computeTime((c = a.meteo) == null ? void 0 : c.utc)), 1)
4873
4873
  ]),
4874
- l("div", br, [
4875
- l("div", vr, [
4876
- _r,
4874
+ l("div", gr, [
4875
+ l("div", br, [
4876
+ vr,
4877
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
4878
  ]),
4879
- l("div", wr, [
4880
- Lr,
4879
+ l("div", _r, [
4880
+ wr,
4881
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
4882
  ]),
4883
- l("div", xr, [
4884
- Cr,
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)
4883
+ l("div", Lr, [
4884
+ xr,
4885
+ l("span", null, S(((de = (Z = (O = a.meteo) == null ? void 0 : O.wave) == null ? void 0 : Z.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)
4886
4886
  ]),
4887
- l("div", Sr, [
4888
- kr,
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)
4887
+ l("div", Cr, [
4888
+ Sr,
4889
+ l("span", null, S(((q = (J = (ae = a.meteo) == null ? void 0 : ae.wave) == null ? void 0 : J.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 = (V = a.meteo) == null ? void 0 : V.wave) == null ? void 0 : ve.sig) == null ? void 0 : Q.period, 1)) + "[s]", 1)
4890
4890
  ]),
4891
- l("div", zr, [
4892
- Pr,
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)
4891
+ l("div", kr, [
4892
+ zr,
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)
4894
4894
  ]),
4895
- l("div", Tr, [
4896
- Er,
4897
- l("span", null, S(o.roundPrecision((Pe = (ze = a.meteo) == null ? void 0 : ze.precip) == null ? void 0 : Pe.inter6h, 2)) + "[mm]", 1)
4895
+ l("div", Pr, [
4896
+ Tr,
4897
+ l("span", null, S(o.roundPrecision((ze = (ke = a.meteo) == null ? void 0 : ke.precip) == null ? void 0 : ze.inter6h, 2)) + "[mm]", 1)
4898
4898
  ]),
4899
- l("div", Ir, [
4900
- Rr,
4901
- l("span", null, S(o.roundPrecision(((Te = a.meteo) == null ? void 0 : Te.visibility) / 1852, 0)) + "[nm]", 1)
4899
+ l("div", Er, [
4900
+ Ir,
4901
+ l("span", null, S(o.roundPrecision(((Pe = a.meteo) == null ? void 0 : Pe.visibility) / 1852, 0)) + "[nm]", 1)
4902
4902
  ]),
4903
- l("div", Dr, [
4904
- Ar,
4905
- l("span", null, S(o.roundPrecision((Ee = a.meteo) == null ? void 0 : Ee.temp, 0)) + "[°C]", 1)
4903
+ l("div", Rr, [
4904
+ Dr,
4905
+ l("span", null, S(o.roundPrecision((Te = a.meteo) == null ? void 0 : Te.temp, 0)) + "[°C]", 1)
4906
4906
  ]),
4907
- l("div", Mr, [
4908
- $r,
4909
- l("span", null, S(o.roundPrecision((Ie = a.meteo) == null ? void 0 : Ie.waterTemp, 2)) + "[°C]", 1)
4907
+ l("div", Ar, [
4908
+ Mr,
4909
+ l("span", null, S(o.roundPrecision((Ee = a.meteo) == null ? void 0 : Ee.waterTemp, 2)) + "[°C]", 1)
4910
4910
  ])
4911
4911
  ]),
4912
- t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div", Br, Wr)) : $("", !0)
4912
+ t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div", $r, Nr)) : $("", !0)
4913
4913
  ])
4914
4914
  ], 512)), [
4915
- [Be, i.showMeteo]
4915
+ [$e, i.showMeteo]
4916
4916
  ]);
4917
4917
  }
4918
- const jr = /* @__PURE__ */ T(pr, [["render", Or], ["__scopeId", "data-v-ef7fa87d"]]), Fr = {
4918
+ const Or = /* @__PURE__ */ T(dr, [["render", Wr], ["__scopeId", "data-v-ef7fa87d"]]), jr = {
4919
4919
  name: "IdmWarZone",
4920
4920
  props: {
4921
4921
  map: {
@@ -5005,10 +5005,10 @@ const jr = /* @__PURE__ */ T(pr, [["render", Or], ["__scopeId", "data-v-ef7fa87d
5005
5005
  }
5006
5006
  }
5007
5007
  };
5008
- function Vr(t, e, a, r, i, o) {
5008
+ function Fr(t, e, a, r, i, o) {
5009
5009
  return L(), x("div");
5010
5010
  }
5011
- const Ur = /* @__PURE__ */ T(Fr, [["render", Vr]]), Gr = {
5011
+ const Vr = /* @__PURE__ */ T(jr, [["render", Fr]]), Ur = {
5012
5012
  name: "IdmGmdssArea",
5013
5013
  props: {
5014
5014
  map: {
@@ -5128,10 +5128,10 @@ const Ur = /* @__PURE__ */ T(Fr, [["render", Vr]]), Gr = {
5128
5128
  }
5129
5129
  }
5130
5130
  };
5131
- function Hr(t, e, a, r, i, o) {
5131
+ function Gr(t, e, a, r, i, o) {
5132
5132
  return L(), x("div");
5133
5133
  }
5134
- const Zr = /* @__PURE__ */ T(Gr, [["render", Hr]]), Jr = {
5134
+ const Hr = /* @__PURE__ */ T(Ur, [["render", Gr]]), Zr = {
5135
5135
  name: "IdmEcaZone",
5136
5136
  props: {
5137
5137
  map: {
@@ -5219,11 +5219,11 @@ const Zr = /* @__PURE__ */ T(Gr, [["render", Hr]]), Jr = {
5219
5219
  }
5220
5220
  }
5221
5221
  };
5222
- function Xr(t, e, a, r, i, o) {
5222
+ function Jr(t, e, a, r, i, o) {
5223
5223
  return L(), x("div");
5224
5224
  }
5225
- const qr = /* @__PURE__ */ T(Jr, [["render", Xr]]);
5226
- const Yr = {
5225
+ const Xr = /* @__PURE__ */ T(Zr, [["render", Jr]]);
5226
+ const qr = {
5227
5227
  name: "IdmAlertZone",
5228
5228
  props: {
5229
5229
  map: {
@@ -5349,10 +5349,10 @@ const Yr = {
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
- }, Qr = { id: "zone-info" }, Kr = ["innerHTML"];
5353
- function eo(t, e, a, r, i, o) {
5352
+ }, Yr = { id: "zone-info" }, Qr = ["innerHTML"];
5353
+ function Kr(t, e, a, r, i, o) {
5354
5354
  var n;
5355
- return $e((L(), x("div", Qr, [
5355
+ return Me((L(), x("div", Yr, [
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 eo(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, Kr)
5363
+ }, null, 8, Qr)
5364
5364
  ], 512)), [
5365
- [Be, i.showZone]
5365
+ [$e, i.showZone]
5366
5366
  ]);
5367
5367
  }
5368
- const to = /* @__PURE__ */ T(Yr, [["render", eo], ["__scopeId", "data-v-c0864afc"]]);
5369
- const ao = {
5368
+ const eo = /* @__PURE__ */ T(qr, [["render", Kr], ["__scopeId", "data-v-c0864afc"]]);
5369
+ const to = {
5370
5370
  name: "IdmPort",
5371
5371
  props: {
5372
5372
  map: {
@@ -5419,7 +5419,7 @@ const ao = {
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 le.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 ne.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
5423
5423
  }
5424
5424
  },
5425
5425
  handleEmit() {
@@ -5458,41 +5458,41 @@ const ao = {
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) => (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 = {
5461
+ }, Be = (t) => (G("data-v-4ab013cc"), t = t(), H(), t), ao = { id: "port-info" }, io = { class: "port-box" }, ro = { class: "flex-start" }, oo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), so = { class: "flex-start" }, no = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), lo = { class: "flex-start" }, co = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), ho = {
5462
5462
  class: "flex-start",
5463
5463
  style: { "align-items": "flex-start" }
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, [
5464
+ }, po = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
5465
+ function mo(t, e, a, r, i, o) {
5466
+ return Me((L(), x("div", ao, [
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", ro, [
5472
- l("div", oo, [
5473
- so,
5471
+ l("div", io, [
5472
+ l("div", ro, [
5473
+ oo,
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", no, [
5479
- lo,
5478
+ l("div", so, [
5479
+ no,
5480
5480
  l("span", null, S(o.computeLat(i.form.lat)) + ", " + S(o.computeLng(i.form.lng)), 1)
5481
5481
  ]),
5482
- l("div", co, [
5483
- ho,
5482
+ l("div", lo, [
5483
+ co,
5484
5484
  l("span", null, S(i.form.loCode || "-"), 1)
5485
5485
  ]),
5486
- l("div", po, [
5487
- mo,
5486
+ l("div", ho, [
5487
+ po,
5488
5488
  l("span", null, S(i.form.city || "-") + ", " + S(i.form.country || "-"), 1)
5489
5489
  ])
5490
5490
  ])
5491
5491
  ], 512)), [
5492
- [Be, i.showPort]
5492
+ [$e, i.showPort]
5493
5493
  ]);
5494
5494
  }
5495
- const yo = /* @__PURE__ */ T(ao, [["render", uo], ["__scopeId", "data-v-4ab013cc"]]), fo = {
5495
+ const uo = /* @__PURE__ */ T(to, [["render", mo], ["__scopeId", "data-v-4ab013cc"]]), yo = {
5496
5496
  name: "IdmLoadLine",
5497
5497
  props: {
5498
5498
  map: {
@@ -5562,10 +5562,10 @@ const yo = /* @__PURE__ */ T(ao, [["render", uo], ["__scopeId", "data-v-4ab013cc
5562
5562
  }
5563
5563
  }
5564
5564
  };
5565
- function go(t, e, a, r, i, o) {
5565
+ function fo(t, e, a, r, i, o) {
5566
5566
  return L(), x("div");
5567
5567
  }
5568
- const bo = /* @__PURE__ */ T(fo, [["render", go]]), vo = {
5568
+ const go = /* @__PURE__ */ T(yo, [["render", fo]]), bo = {
5569
5569
  name: "IdmTimezone",
5570
5570
  props: {
5571
5571
  map: {
@@ -5730,10 +5730,10 @@ const bo = /* @__PURE__ */ T(fo, [["render", go]]), vo = {
5730
5730
  }
5731
5731
  }
5732
5732
  };
5733
- function _o(t, e, a, r, i, o) {
5733
+ function vo(t, e, a, r, i, o) {
5734
5734
  return L(), x("div");
5735
5735
  }
5736
- const wo = /* @__PURE__ */ T(vo, [["render", _o]]), Lo = {
5736
+ const _o = /* @__PURE__ */ T(bo, [["render", vo]]), wo = {
5737
5737
  name: "IdmVoluntaryReportingArea",
5738
5738
  props: {
5739
5739
  map: {
@@ -5821,10 +5821,10 @@ const wo = /* @__PURE__ */ T(vo, [["render", _o]]), Lo = {
5821
5821
  }
5822
5822
  }
5823
5823
  };
5824
- function xo(t, e, a, r, i, o) {
5824
+ function Lo(t, e, a, r, i, o) {
5825
5825
  return L(), x("div");
5826
5826
  }
5827
- const Co = /* @__PURE__ */ T(Lo, [["render", xo]]), So = {
5827
+ const xo = /* @__PURE__ */ T(wo, [["render", Lo]]), Co = {
5828
5828
  name: "IdmSpecialArea",
5829
5829
  props: {
5830
5830
  map: {
@@ -5914,10 +5914,10 @@ const Co = /* @__PURE__ */ T(Lo, [["render", xo]]), So = {
5914
5914
  }
5915
5915
  }
5916
5916
  };
5917
- function ko(t, e, a, r, i, o) {
5917
+ function So(t, e, a, r, i, o) {
5918
5918
  return L(), x("div");
5919
5919
  }
5920
- const zo = /* @__PURE__ */ T(So, [["render", ko]]), Po = {
5920
+ const ko = /* @__PURE__ */ T(Co, [["render", So]]), zo = {
5921
5921
  name: "IdmTerminator",
5922
5922
  props: {
5923
5923
  map: {
@@ -5966,11 +5966,11 @@ const zo = /* @__PURE__ */ T(So, [["render", ko]]), Po = {
5966
5966
  }
5967
5967
  }
5968
5968
  };
5969
- function To(t, e, a, r, i, o) {
5969
+ function Po(t, e, a, r, i, o) {
5970
5970
  return L(), x("div");
5971
5971
  }
5972
- const Eo = /* @__PURE__ */ T(Po, [["render", To]]);
5973
- const Io = {
5972
+ const To = /* @__PURE__ */ T(zo, [["render", Po]]);
5973
+ const Eo = {
5974
5974
  name: "IdmLatLng",
5975
5975
  props: {
5976
5976
  map: {
@@ -6125,19 +6125,19 @@ const Io = {
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
- }, 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) {
6128
+ }, Io = (t) => (G("data-v-7367f59b"), t = t(), H(), t), Ro = /* @__PURE__ */ Io(() => /* @__PURE__ */ l("span", null, ", ", -1));
6129
+ function Do(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
6133
  style: F({ right: i.right + "px", bottom: a.bottom })
6134
6134
  }, [
6135
6135
  l("span", null, S(i.lngLat.lat.pretty), 1),
6136
- Do,
6136
+ Ro,
6137
6137
  l("span", null, S(i.lngLat.lng.pretty), 1)
6138
6138
  ], 4)) : $("", !0);
6139
6139
  }
6140
- const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b"]]), Mo = {
6140
+ const Qe = /* @__PURE__ */ T(Eo, [["render", Do], ["__scopeId", "data-v-7367f59b"]]), Ao = {
6141
6141
  name: "IdmMeasure",
6142
6142
  props: {
6143
6143
  map: {
@@ -6241,7 +6241,7 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
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 le.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 ne.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 Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
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 = te.calculateDistance(c, h, s.mode === "RL", 2), p = te.calculateBearing(c, h, s.mode === "RL", 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 = ee.calculateDistance(c, h, s.mode === "RL", 2), p = ee.calculateBearing(c, h, s.mode === "RL", 2);
6281
6281
  a = j.roundPrecision(a + d, 2);
6282
6282
  let f;
6283
- s.mode === "RL" ? f = j.convertToMonotonicLng([c, h]) : f = j.convertToMonotonicLng(te.interpolateCoordinates(c, h, 200));
6283
+ s.mode === "RL" ? f = j.convertToMonotonicLng([c, h]) : f = j.convertToMonotonicLng(ee.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 Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
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 = te.calculateDistance(h, d, c.mode === "RL", 2), n = te.calculateBearing(h, d, c.mode === "RL", 2);
6296
+ o = ee.calculateDistance(h, d, c.mode === "RL", 2), n = ee.calculateBearing(h, d, c.mode === "RL", 2);
6297
6297
  let p;
6298
- c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(te.interpolateCoordinates(h, d, 200));
6298
+ c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(ee.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 = te.calculateDistance(h, d, c.mode === "RL", 2), n = te.calculateBearing(h, d, c.mode === "RL", 2);
6304
+ o = ee.calculateDistance(h, d, c.mode === "RL", 2), n = ee.calculateBearing(h, d, c.mode === "RL", 2);
6305
6305
  let p;
6306
- c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(te.interpolateCoordinates(h, d, 200));
6306
+ c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(ee.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
  }
@@ -6349,7 +6349,7 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
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 le.Marker(c).setOffset([140, 0]).setLngLat([a.lng, a.lat]).addTo(this.map);
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);
6353
6353
  }
6354
6354
  },
6355
6355
  handleMove(t) {
@@ -6407,12 +6407,12 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
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 le.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
6410
+ const c = new ne.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 le.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 ne.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
6416
6416
  }
6417
6417
  }
6418
6418
  },
@@ -6425,11 +6425,11 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
6425
6425
  }
6426
6426
  }
6427
6427
  };
6428
- function $o(t, e, a, r, i, o) {
6428
+ function Mo(t, e, a, r, i, o) {
6429
6429
  return L(), x("div");
6430
6430
  }
6431
- const Bo = /* @__PURE__ */ T(Mo, [["render", $o]]);
6432
- const No = {
6431
+ const $o = /* @__PURE__ */ T(Ao, [["render", Mo]]);
6432
+ const Bo = {
6433
6433
  name: "IdmENC",
6434
6434
  props: {
6435
6435
  map: {
@@ -6460,8 +6460,8 @@ const No = {
6460
6460
  emits: ["enc"],
6461
6461
  data() {
6462
6462
  return {
6463
- helper: Me,
6464
- vendor: this.$attrs.permission & Me.LEVEL.Supper ? "hi" : "i4",
6463
+ helper: Ae,
6464
+ vendor: this.$attrs.permission & Ae.LEVEL.Supper ? "hi" : "i4",
6465
6465
  right: 10
6466
6466
  };
6467
6467
  },
@@ -6481,64 +6481,64 @@ const No = {
6481
6481
  }
6482
6482
  },
6483
6483
  methods: {}
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
6484
+ }, Ke = (t) => (G("data-v-ab627b83"), t = t(), H(), t), No = { key: 0 }, Wo = { class: "bar-item" }, Oo = /* @__PURE__ */ Ke(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), jo = [
6485
+ Oo
6486
+ ], Fo = /* @__PURE__ */ Ke(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Vo = [
6487
+ Fo
6488
6488
  ];
6489
- function Go(t, e, a, r, i, o) {
6490
- return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div", Wo, [
6489
+ function Uo(t, e, a, r, i, o) {
6490
+ return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div", No, [
6491
6491
  l("div", {
6492
6492
  class: "menu-bar-box",
6493
6493
  style: F({ position: "absolute", right: i.right + "px", bottom: a.bottom })
6494
6494
  }, [
6495
- l("div", Oo, [
6495
+ l("div", Wo, [
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
- }, Fo, 2),
6499
+ }, jo, 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
- }, Uo, 2)
6503
+ }, Vo, 2)
6504
6504
  ])
6505
6505
  ], 4)
6506
6506
  ])) : $("", !0);
6507
6507
  }
6508
- const Ho = /* @__PURE__ */ T(No, [["render", Go], ["__scopeId", "data-v-ab627b83"]]);
6509
- const Zo = {
6508
+ const Go = /* @__PURE__ */ T(Bo, [["render", Uo], ["__scopeId", "data-v-ab627b83"]]);
6509
+ const Ho = {
6510
6510
  name: "IdmGLV2",
6511
6511
  components: {
6512
- IdmGlLayer: Wt,
6513
- IdmWindBarb: Zt,
6514
- IdmWindParticle: na,
6515
- IdmCurrents: ya,
6516
- IdmCurrentParticle: za,
6517
- IdmSigWave: Ea,
6518
- IdmSwell: Da,
6519
- IdmPrmsl: $a,
6512
+ IdmGlLayer: Nt,
6513
+ IdmWindBarb: Ht,
6514
+ IdmWindParticle: sa,
6515
+ IdmCurrents: ua,
6516
+ IdmCurrentParticle: ka,
6517
+ IdmSigWave: Ta,
6518
+ IdmSwell: Ra,
6519
+ IdmPrmsl: Ma,
6520
6520
  // IdmIceEdge,
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
6521
+ IdmIceberg: Na,
6522
+ IdmTropicals: Ye,
6523
+ IdmPrecip3h: bi,
6524
+ IdmVisibility: Ti,
6525
+ IdmWaterTemp: Oi,
6526
+ IdmTemp: Ki,
6527
+ IdmArctic: hr,
6528
+ IdmWarZone: Vr,
6529
+ IdmGmdssArea: Hr,
6530
+ IdmEcaZone: Xr,
6531
+ IdmAlertZone: eo,
6532
+ IdmPort: uo,
6533
+ IdmLoadLine: go,
6534
+ IdmTimezone: _o,
6535
+ IdmVRA: xo,
6536
+ IdmSpecialArea: ko,
6537
+ IdmTerminator: To,
6538
+ IdmLatLng: Qe,
6539
+ IdmMeasure: $o,
6540
+ IdmPoint: Or,
6541
+ IdmENC: Go
6542
6542
  },
6543
6543
  props: {
6544
6544
  map: {
@@ -6582,13 +6582,13 @@ const Zo = {
6582
6582
  enc: "",
6583
6583
  // enc: 'i4',
6584
6584
  defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg",
6585
- helper: new Jt()
6585
+ helper: new Zt()
6586
6586
  };
6587
6587
  },
6588
6588
  watch: {
6589
6589
  ts: {
6590
6590
  handler(t, e) {
6591
- t && e && ae(t).utc().format("yyyy-MM-DD HH") !== ae(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
6591
+ t && e && te(t).utc().format("yyyy-MM-DD HH") !== te(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
6592
6592
  this.handleDateChange({ tropicals: !1 });
6593
6593
  });
6594
6594
  },
@@ -6596,7 +6596,7 @@ const Zo = {
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 je(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 Oe(this.map), this.handleRampColorInitial());
6600
6600
  },
6601
6601
  immediate: !0
6602
6602
  },
@@ -6664,7 +6664,7 @@ const Zo = {
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 = Oe.WEATHER_LAYERS.find((u) => {
6667
+ const y = We.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 Zo = {
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 ne.get(`${this.gateway}/api/arc/weather/layers/links?l=${y}&v=${this.source}&z=${f}&bbox=${b}&t=${this.ts}`, {
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}`, {
6677
6677
  headers: {
6678
6678
  Authorization: this.token || this.defaultMeteoToken
6679
6679
  }
@@ -6682,7 +6682,7 @@ const Zo = {
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
- ne.get(g[_], {
6685
+ se.get(g[_], {
6686
6686
  headers: {
6687
6687
  Authorization: this.token || this.defaultMeteoToken,
6688
6688
  key: _
@@ -6701,14 +6701,14 @@ const Zo = {
6701
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 && ne.get(g.tropicals, {
6704
+ }), g.tropicals && se.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 = 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;
6711
+ const D = qe.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 Zo = {
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 ne.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
6755
+ const s = await se.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 Zo = {
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
- ne.get(c[p], {
6764
+ se.get(c[p], {
6765
6765
  headers: {
6766
6766
  Authorization: this.token || this.defaultMeteoToken,
6767
6767
  key: p
@@ -6776,7 +6776,7 @@ const Zo = {
6776
6776
  });
6777
6777
  }
6778
6778
  } else if (t.dayNight && o & 1024) {
6779
- const s = await ne.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
6779
+ const s = await se.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 Zo = {
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
- ne.get(c[p], {
6788
+ se.get(c[p], {
6789
6789
  headers: {
6790
6790
  Authorization: this.token || this.defaultMeteoToken,
6791
6791
  key: p
@@ -6853,7 +6853,7 @@ const Zo = {
6853
6853
  var h, d, p, f;
6854
6854
  const t = (/* @__PURE__ */ new Date()).valueOf();
6855
6855
  let e = 0, a = 0;
6856
- const r = (h = this.map) == null ? void 0 : h.getBounds(), i = this.map.getZoom(), o = Re(r._sw.lng), n = Re(r._ne.lng), s = Math.floor(r._sw.lat), c = Math.ceil(r._ne.lat);
6856
+ const r = (h = this.map) == null ? void 0 : h.getBounds(), i = this.map.getZoom(), o = Ie(r._sw.lng), n = Ie(r._ne.lng), s = Math.floor(r._sw.lat), c = Math.ceil(r._ne.lat);
6857
6857
  for (const m in this.weatherLayers)
6858
6858
  if (this.weatherLayers[m].active && this.weatherLayers[m].type === "json") {
6859
6859
  this.weatherLayers[m].active = !1, this.weatherLayers[m].version = Math.random() + 1;
@@ -6997,7 +6997,7 @@ const Zo = {
6997
6997
  }
6998
6998
  for (const v in y.Point)
6999
6999
  y.Point[v].lng.forEach((g, w) => {
7000
- g = Re(g), u.push(
7000
+ g = Ie(g), u.push(
7001
7001
  C.point([g, v], {
7002
7002
  val: y.Point[v].val[w],
7003
7003
  type: y.Point[v].type[w]
@@ -7037,7 +7037,7 @@ const Zo = {
7037
7037
  this.weatherLayers[t].active && this.weatherLayers[t].type === "image" && (this.weatherLayers[t].active = !0, this.weatherLayers[t].version = Math.random() + 1);
7038
7038
  },
7039
7039
  handleBboxClip(t, e) {
7040
- const a = [], r = Re(e._sw.lng), i = Re(e._ne.lng);
7040
+ const a = [], r = Ie(e._sw.lng), i = Ie(e._ne.lng);
7041
7041
  return t.features.forEach((o) => {
7042
7042
  if (o.geometry.type !== "Point")
7043
7043
  if (r > i) {
@@ -7092,13 +7092,13 @@ const Zo = {
7092
7092
  }
7093
7093
  },
7094
7094
  async handlePointChange(t) {
7095
- const e = this.ts ? ae(this.ts) : ae(), a = {
7095
+ const e = this.ts ? te(this.ts) : te(), 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 ne.get(`${this.gateway}/api/arc/meteo/query`, {
7101
+ }, r = await se.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 Zo = {
7117
7117
  this.particleFactor = t, this.fetchWeatherLayers({ tropicals: !1 });
7118
7118
  }
7119
7119
  }
7120
- }, Jo = {
7120
+ }, Zo = {
7121
7121
  key: 0,
7122
7122
  className: "map-gl-home"
7123
7123
  };
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, [
7124
+ function Jo(t, e, a, r, i, o) {
7125
+ var ae, J, q, be, Y, E, V, ve, Q, _e, ie, re, oe, ke, ze, Pe, Te, Ee, Ne, Fe, Ve, Ue, Ge, He, Ze, Je;
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"), 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", Zo, [
7128
7128
  P(n, I({
7129
7129
  ref: "layer",
7130
7130
  map: a.map,
@@ -7133,19 +7133,19 @@ function Xo(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] = (ee) => i.showCoord = ee),
7137
- onMeasure: e[1] || (e[1] = (ee) => i.showMeasure = ee),
7138
- onPoint: e[2] || (e[2] = (ee) => i.showPoint = ee),
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),
7139
7139
  on3d: o.handle3dToggle,
7140
- onToggleVersion: e[3] || (e[3] = (ee) => i.toggleVersion = ee)
7140
+ onToggleVersion: e[3] || (e[3] = (K) => i.toggleVersion = K)
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: (ie = i.otherLayers) == null ? void 0 : ie.enc,
7145
+ enabled: (ae = i.otherLayers) == null ? void 0 : ae.enc,
7146
7146
  "toggle-version": i.toggleVersion
7147
7147
  }, t.$attrs, {
7148
- onEnc: e[4] || (e[4] = (ee) => i.enc = ee)
7148
+ onEnc: e[4] || (e[4] = (K) => i.enc = K)
7149
7149
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
7150
7150
  P(c, I({
7151
7151
  map: a.map,
@@ -7154,18 +7154,18 @@ function Xo(t, e, a, r, i, o) {
7154
7154
  }, t.$attrs), null, 16, ["map", "sig-wave", "before-layer"]),
7155
7155
  P(h, I({
7156
7156
  map: a.map,
7157
- swell: (Y = i.weatherLayers) == null ? void 0 : Y.swell,
7157
+ swell: (q = i.weatherLayers) == null ? void 0 : q.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: (ve = i.weatherLayers) == null ? void 0 : ve.prmsl,
7162
+ prmsl: (be = i.weatherLayers) == null ? void 0 : be.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: (Q = i.weatherLayers) == null ? void 0 : Q.iceberg,
7168
+ iceberg: (Y = i.weatherLayers) == null ? void 0 : Y.iceberg,
7169
7169
  "before-layer": a.beforeLayer
7170
7170
  }, t.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
7171
7171
  P(f, I({
@@ -7186,7 +7186,7 @@ function Xo(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: (_e = i.weatherLayers) == null ? void 0 : _e["current-particle"],
7189
+ factor: (ve = i.weatherLayers) == null ? void 0 : ve["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 Xo(t, e, a, r, i, o) {
7194
7194
  ref: "windBarb",
7195
7195
  map: a.map,
7196
7196
  "map-projection": i.mapProjection,
7197
- wind: (K = i.weatherLayers) == null ? void 0 : K.wind,
7198
- current: (we = i.weatherLayers) == null ? void 0 : we.current,
7197
+ wind: (Q = i.weatherLayers) == null ? void 0 : Q.wind,
7198
+ current: (_e = i.weatherLayers) == null ? void 0 : _e.current,
7199
7199
  "before-layer": a.beforeLayer,
7200
7200
  "margin-bottom": i.showRampColor ? "56px" : "30px",
7201
7201
  "show-particle": i.showWindParticle
@@ -7206,118 +7206,118 @@ function Xo(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: (re = i.weatherLayers) == null ? void 0 : re["wind-particle"],
7209
+ factor: (ie = i.weatherLayers) == null ? void 0 : ie["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: (oe = i.weatherLayers) == null ? void 0 : oe.precip3h,
7215
+ factor: (re = i.weatherLayers) == null ? void 0 : re.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: (se = i.weatherLayers) == null ? void 0 : se.visibility,
7221
+ factor: (oe = i.weatherLayers) == null ? void 0 : oe.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"]),
7225
7225
  P(w, I({
7226
7226
  viewport: i.viewport,
7227
- factor: (ze = i.weatherLayers) == null ? void 0 : ze["water-temp"],
7227
+ factor: (ke = i.weatherLayers) == null ? void 0 : ke["water-temp"],
7228
7228
  "before-layer": a.beforeLayer,
7229
7229
  "toggle-version": i.toggleVersion
7230
7230
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7231
7231
  P(k, I({
7232
7232
  viewport: i.viewport,
7233
- factor: (Pe = i.weatherLayers) == null ? void 0 : Pe.temp,
7233
+ factor: (ze = i.weatherLayers) == null ? void 0 : ze.temp,
7234
7234
  "before-layer": a.beforeLayer,
7235
7235
  "toggle-version": i.toggleVersion
7236
7236
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7237
7237
  P(_, I({
7238
7238
  viewport: i.viewport,
7239
- factor: (Te = i.weatherLayers) == null ? void 0 : Te.arctic,
7239
+ factor: (Pe = i.weatherLayers) == null ? void 0 : Pe.arctic,
7240
7240
  "before-layer": a.beforeLayer,
7241
7241
  "toggle-version": i.toggleVersion
7242
7242
  }, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
7243
7243
  P(D, I({
7244
7244
  map: a.map,
7245
- zone: (Ee = i.otherLayers) == null ? void 0 : Ee["war-zones"],
7245
+ zone: (Te = i.otherLayers) == null ? void 0 : Te["war-zones"],
7246
7246
  "before-layer": a.beforeLayer
7247
7247
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7248
7248
  P(A, I({
7249
7249
  map: a.map,
7250
- area: (Ie = i.otherLayers) == null ? void 0 : Ie["gmdss-areas"],
7250
+ area: (Ee = i.otherLayers) == null ? void 0 : Ee["gmdss-areas"],
7251
7251
  "before-layer": a.beforeLayer
7252
7252
  }, t.$attrs), null, 16, ["map", "area", "before-layer"]),
7253
7253
  P(B, I({
7254
7254
  map: a.map,
7255
- zone: (We = i.otherLayers) == null ? void 0 : We["eca-zones"],
7255
+ zone: (Ne = i.otherLayers) == null ? void 0 : Ne["eca-zones"],
7256
7256
  "before-layer": a.beforeLayer
7257
7257
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7258
7258
  P(W, I({
7259
7259
  map: a.map,
7260
- zone: (Ve = i.otherLayers) == null ? void 0 : Ve["alert-zones"],
7260
+ zone: (Fe = i.otherLayers) == null ? void 0 : Fe["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: (Ue = i.otherLayers) == null ? void 0 : Ue.ports,
7265
+ port: (Ve = i.otherLayers) == null ? void 0 : Ve.ports,
7266
7266
  "before-layer": a.beforeLayer
7267
7267
  }, t.$attrs), null, 16, ["map", "port", "before-layer"]),
7268
7268
  P(Z, I({
7269
7269
  map: a.map,
7270
- line: (Ge = i.otherLayers) == null ? void 0 : Ge["load-lines"],
7270
+ line: (Ue = i.otherLayers) == null ? void 0 : Ue["load-lines"],
7271
7271
  "before-layer": a.beforeLayer
7272
7272
  }, t.$attrs), null, 16, ["map", "line", "before-layer"]),
7273
- P(pe, I({
7273
+ P(de, I({
7274
7274
  map: a.map,
7275
- zone: (He = i.otherLayers) == null ? void 0 : He["time-zones"],
7275
+ zone: (Ge = i.otherLayers) == null ? void 0 : Ge["time-zones"],
7276
7276
  "before-layer": a.beforeLayer
7277
7277
  }, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
7278
- P(me, I({
7278
+ P(pe, I({
7279
7279
  map: a.map,
7280
- area: (Ze = i.otherLayers) == null ? void 0 : Ze["voluntary-reporting-area"],
7280
+ area: (He = i.otherLayers) == null ? void 0 : He["voluntary-reporting-area"],
7281
7281
  "before-layer": a.beforeLayer
7282
7282
  }, t.$attrs), null, 16, ["map", "area", "before-layer"]),
7283
- P(ue, I({
7283
+ P(me, I({
7284
7284
  map: a.map,
7285
- area: (Je = i.otherLayers) == null ? void 0 : Je["special-area"],
7285
+ area: (Ze = i.otherLayers) == null ? void 0 : Ze["special-area"],
7286
7286
  "before-layer": a.beforeLayer
7287
7287
  }, t.$attrs), null, 16, ["map", "area", "before-layer"]),
7288
- P(ye, I({
7288
+ P(ue, I({
7289
7289
  map: a.map,
7290
- area: (Xe = i.otherLayers) == null ? void 0 : Xe["day-night"]
7290
+ area: (Je = i.otherLayers) == null ? void 0 : Je["day-night"]
7291
7291
  }, t.$attrs), null, 16, ["map", "area"]),
7292
- P(fe, I({
7292
+ P(ye, 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(ge, I({
7297
+ P(fe, I({
7298
7298
  map: a.map,
7299
7299
  show: i.showMeasure
7300
7300
  }, t.$attrs), null, 16, ["map", "show"]),
7301
- P(be, I({
7301
+ P(ge, 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 qo = /* @__PURE__ */ T(Zo, [["render", Xo]]), os = {
7308
+ const Xo = /* @__PURE__ */ T(Ho, [["render", Jo]]), rs = {
7309
7309
  install(t) {
7310
- t.component("MapboxGL", qo), t.component("TropicalGL", Qe), t.component("LatLngGL", Ke);
7310
+ t.component("MapboxGL", Xo), t.component("TropicalGL", Ye), t.component("LatLngGL", Qe);
7311
7311
  }
7312
7312
  };
7313
7313
  export {
7314
- Ke as LatLngGL,
7315
- qo as MapboxGL,
7316
- os as MapboxGLPlugin,
7317
- Jt as MapboxHelper,
7314
+ Qe as LatLngGL,
7315
+ Xo as MapboxGL,
7316
+ rs as MapboxGLPlugin,
7317
+ Zt as MapboxHelper,
7318
7318
  U as ParticleSchema,
7319
- Qe as TropicalGL,
7320
- je as Viewport,
7321
- Le as WebGL,
7319
+ Ye as TropicalGL,
7320
+ Oe as Viewport,
7321
+ we as WebGL,
7322
7322
  N as WebGLSchema
7323
7323
  };