@idmwx/idmui-gl3 5.0.9 → 5.1.0

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
@@ -2,14 +2,14 @@ var J0 = Object.defineProperty;
2
2
  var Y0 = (z, M, b) => M in z ? J0(z, M, { enumerable: !0, configurable: !0, writable: !0, value: b }) : z[M] = b;
3
3
  var J = (z, M, b) => (Y0(z, typeof M != "symbol" ? M + "" : M, b), b);
4
4
  import { LayerHelper as D0, CompanyHelper as S0 } from "@idm-plugin/tag";
5
- import { resolveComponent as I, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as o0, createVNode as C, withCtx as A0, normalizeClass as U, Fragment as j, renderList as G, toDisplayString as w, createCommentVNode as _, createTextVNode as p0, withDirectives as y0, createStaticVNode as V0, vShow as X0, defineComponent as Z0, withModifiers as E0, mergeProps as Q } from "vue";
6
- import * as T from "@turf/turf";
5
+ import { resolveComponent as x, openBlock as s, createElementBlock as W, createElementVNode as c, normalizeStyle as O0, createVNode as w, withCtx as c0, normalizeClass as U, Fragment as H, renderList as j, toDisplayString as T, createCommentVNode as F, createTextVNode as $, withDirectives as y0, createStaticVNode as V0, vShow as X0, defineComponent as Z0, withModifiers as E0, mergeProps as Q } from "vue";
6
+ import * as v from "@turf/turf";
7
7
  import $0 from "@mapbox/sphericalmercator";
8
8
  import Y from "moment";
9
9
  import w0 from "mapbox-gl";
10
- import { TropicalHelper as j0, LngLatHelper as O0, LaneHelper as N0 } from "@idm-plugin/geo";
10
+ import { TropicalHelper as j0, LngLatHelper as M0, LaneHelper as N0 } from "@idm-plugin/geo";
11
11
  import { TidesAssist as I0, Meteo2Assist as v0 } from "@idm-plugin/meteo";
12
- import g0 from "axios";
12
+ import R0 from "axios";
13
13
  const k = (z, M) => {
14
14
  const b = z.__vccOpts || z;
15
15
  for (const [O, p] of M)
@@ -232,20 +232,20 @@ const k = (z, M) => {
232
232
  class: "iconfont"
233
233
  }, v1 = { class: "source-layers card-bg" }, T1 = { class: "layers-body" };
234
234
  function E1(z, M, b, O, p, o) {
235
- const A = I("ElTooltip"), t = I("ElRadio"), q = I("ElRadioGroup"), r = I("ElScrollbar");
236
- return l(), f("div", b1, [
235
+ const A = x("ElTooltip"), t = x("ElRadio"), q = x("ElRadioGroup"), r = x("ElScrollbar");
236
+ return s(), W("div", b1, [
237
237
  c("div", {
238
238
  class: "menu-bar-box",
239
- style: o0({ top: b.top + 10 + "px", right: p.right + "px" })
239
+ style: O0({ top: b.top + 10 + "px", right: p.right + "px" })
240
240
  }, [
241
241
  c("div", z1, [
242
- C(A, {
242
+ w(A, {
243
243
  placement: "left",
244
244
  effect: "light",
245
245
  content: "Menu",
246
246
  "show-after": 1e3
247
247
  }, {
248
- default: A0(() => [
248
+ default: c0(() => [
249
249
  c("div", {
250
250
  class: U(b.layerToggle ? "menu-icon active" : "menu-icon"),
251
251
  onClick: M[0] || (M[0] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
@@ -259,16 +259,16 @@ function E1(z, M, b, O, p, o) {
259
259
  ], 4),
260
260
  c("div", {
261
261
  class: "menu-bar-box",
262
- style: o0({ top: b.top + 160 + "px", right: p.right + "px" })
262
+ style: O0({ top: b.top + 160 + "px", right: p.right + "px" })
263
263
  }, [
264
264
  c("div", p1, [
265
- C(A, {
265
+ w(A, {
266
266
  placement: "left",
267
267
  effect: "light",
268
268
  content: "Measure",
269
269
  "show-after": 1e3
270
270
  }, {
271
- default: A0(() => [
271
+ default: c0(() => [
272
272
  c("div", {
273
273
  class: U(p.showMeasure ? "menu-icon active" : "menu-icon"),
274
274
  onClick: M[1] || (M[1] = (...a) => o.handleMeasureToggle && o.handleMeasureToggle(...a))
@@ -278,13 +278,13 @@ function E1(z, M, b, O, p, o) {
278
278
  ]),
279
279
  _: 1
280
280
  }),
281
- C(A, {
281
+ w(A, {
282
282
  placement: "left",
283
283
  effect: "light",
284
284
  content: "Point Meteo",
285
285
  "show-after": 1e3
286
286
  }, {
287
- default: A0(() => [
287
+ default: c0(() => [
288
288
  c("div", {
289
289
  class: U(p.showPoint ? "menu-icon active" : "menu-icon"),
290
290
  onClick: M[2] || (M[2] = (...a) => o.handlePointToggle && o.handlePointToggle(...a))
@@ -294,13 +294,13 @@ function E1(z, M, b, O, p, o) {
294
294
  ]),
295
295
  _: 1
296
296
  }),
297
- C(A, {
297
+ w(A, {
298
298
  placement: "left",
299
299
  effect: "light",
300
300
  content: "Grid",
301
301
  "show-after": 1e3
302
302
  }, {
303
- default: A0(() => [
303
+ default: c0(() => [
304
304
  c("div", {
305
305
  class: U(p.showCoord ? "menu-icon active" : "menu-icon"),
306
306
  onClick: M[3] || (M[3] = (...a) => o.handleCoordToggle && o.handleCoordToggle(...a))
@@ -310,13 +310,13 @@ function E1(z, M, b, O, p, o) {
310
310
  ]),
311
311
  _: 1
312
312
  }),
313
- C(A, {
313
+ w(A, {
314
314
  placement: "left",
315
315
  effect: "light",
316
316
  content: "3D",
317
317
  "show-after": 1e3
318
318
  }, {
319
- default: A0(() => [
319
+ default: c0(() => [
320
320
  c("div", {
321
321
  class: U(p.show3d ? "menu-icon active" : "menu-icon"),
322
322
  onClick: M[4] || (M[4] = (...a) => o.handle3DToggle && o.handle3DToggle(...a))
@@ -328,10 +328,10 @@ function E1(z, M, b, O, p, o) {
328
328
  })
329
329
  ])
330
330
  ], 4),
331
- o.hasCollectedLayers ? (l(), f("div", {
331
+ o.hasCollectedLayers ? (s(), W("div", {
332
332
  key: 0,
333
333
  class: "active-layers",
334
- style: o0({ right: p.right + "px", bottom: "100px" })
334
+ style: O0({ right: p.right + "px", bottom: "100px" })
335
335
  }, [
336
336
  c("div", O1, [
337
337
  M[22] || (M[22] = c("div", { style: { margin: "2px 5px" } }, "Weather Layers", -1)),
@@ -340,10 +340,10 @@ function E1(z, M, b, O, p, o) {
340
340
  style: { "font-size": "28px", "margin-right": "0" },
341
341
  onClick: M[5] || (M[5] = (...a) => o.toggleAutoActive && o.toggleAutoActive(...a))
342
342
  }, [
343
- p.autoActive ? (l(), f("i", o1, "")) : (l(), f("i", c1, ""))
343
+ p.autoActive ? (s(), W("i", o1, "")) : (s(), W("i", c1, ""))
344
344
  ])
345
345
  ]),
346
- (l(!0), f(j, null, G(p.layers.weather.filter((a) => a.collected), (a) => (l(), f("div", {
346
+ (s(!0), W(H, null, j(p.layers.weather.filter((a) => a.collected), (a) => (s(), W("div", {
347
347
  key: a.key,
348
348
  class: U(o.computeLayerClass(a, p.activeWeatherLayers))
349
349
  }, [
@@ -354,8 +354,8 @@ function E1(z, M, b, O, p, o) {
354
354
  c("span", {
355
355
  class: "name",
356
356
  onClick: (n) => o.handleWeatherLayerPick(a)
357
- }, w(a.name), 9, e1),
358
- a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", t1, [
357
+ }, T(a.name), 9, e1),
358
+ a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (s(), W("div", t1, [
359
359
  c("i", {
360
360
  class: U(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
361
361
  onClick: M[6] || (M[6] = (n) => o.handleToggleWindParticle())
@@ -364,8 +364,8 @@ function E1(z, M, b, O, p, o) {
364
364
  class: U(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
365
365
  onClick: M[7] || (M[7] = (n) => o.handleToggleWindFeather())
366
366
  }, "", 2)
367
- ])) : _("", !0),
368
- a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", a1, [
367
+ ])) : F("", !0),
368
+ a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (s(), W("div", a1, [
369
369
  c("i", {
370
370
  class: U(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
371
371
  onClick: M[8] || (M[8] = (n) => o.handleToggleCurrentParticle())
@@ -374,12 +374,12 @@ function E1(z, M, b, O, p, o) {
374
374
  class: U(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
375
375
  onClick: M[9] || (M[9] = (n) => o.handleToggleCurrentIsoband())
376
376
  }, "", 2)
377
- ])) : _("", !0)
377
+ ])) : F("", !0)
378
378
  ], 2))), 128))
379
- ], 4)) : _("", !0),
379
+ ], 4)) : F("", !0),
380
380
  c("div", {
381
381
  class: "available-layers flex-center",
382
- style: o0({ top: b.top + "px", right: b.layerToggle ? "0px" : "-240px" })
382
+ style: O0({ top: b.top + "px", right: b.layerToggle ? "0px" : "-240px" })
383
383
  }, [
384
384
  c("div", {
385
385
  class: U(["list-box", b.layerToggle ? "right-bar" : ""])
@@ -391,8 +391,8 @@ function E1(z, M, b, O, p, o) {
391
391
  onClick: M[10] || (M[10] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
392
392
  }, "")
393
393
  ]),
394
- C(r, { style: { flex: "1" } }, {
395
- default: A0(() => [
394
+ w(r, { style: { flex: "1" } }, {
395
+ default: c0(() => [
396
396
  c("div", i1, [
397
397
  c("div", r1, [
398
398
  M[24] || (M[24] = c("div", null, "Weather Layers", -1)),
@@ -401,14 +401,14 @@ function E1(z, M, b, O, p, o) {
401
401
  style: { "margin-right": "0" },
402
402
  onClick: M[11] || (M[11] = (...a) => o.toggleAutoActive && o.toggleAutoActive(...a))
403
403
  }, [
404
- p.autoActive ? (l(), f("i", n1, "")) : (l(), f("i", d1, ""))
404
+ p.autoActive ? (s(), W("i", n1, "")) : (s(), W("i", d1, ""))
405
405
  ])
406
406
  ]),
407
407
  c("div", s1, [
408
- (l(!0), f(j, null, G(p.layers.weather, (a) => (l(), f(j, {
408
+ (s(!0), W(H, null, j(p.layers.weather, (a) => (s(), W(H, {
409
409
  key: a.key
410
410
  }, [
411
- a.hide ? _("", !0) : (l(), f("div", {
411
+ a.hide ? F("", !0) : (s(), W("div", {
412
412
  key: 0,
413
413
  class: U(o.computeLayerClass(a, p.activeWeatherLayers))
414
414
  }, [
@@ -420,8 +420,8 @@ function E1(z, M, b, O, p, o) {
420
420
  c("span", {
421
421
  class: "name",
422
422
  onClick: (n) => o.handleWeatherLayerPick(a)
423
- }, w(a.name), 9, f1),
424
- a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", u1, [
423
+ }, T(a.name), 9, f1),
424
+ a.key === "wind" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (s(), W("div", u1, [
425
425
  c("i", {
426
426
  class: U(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
427
427
  onClick: M[12] || (M[12] = (n) => o.handleToggleWindParticle())
@@ -430,8 +430,8 @@ function E1(z, M, b, O, p, o) {
430
430
  class: U(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
431
431
  onClick: M[13] || (M[13] = (n) => o.handleToggleWindFeather())
432
432
  }, "", 2)
433
- ])) : _("", !0),
434
- a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (l(), f("div", L1, [
433
+ ])) : F("", !0),
434
+ a.key === "current" && p.activeWeatherLayers.some((n) => n.key === a.key) ? (s(), W("div", L1, [
435
435
  c("i", {
436
436
  class: U(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
437
437
  onClick: M[14] || (M[14] = (n) => o.handleToggleCurrentParticle())
@@ -440,12 +440,12 @@ function E1(z, M, b, O, p, o) {
440
440
  class: U(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
441
441
  onClick: M[15] || (M[15] = (n) => o.handleToggleCurrentIsoband())
442
442
  }, "", 2)
443
- ])) : _("", !0)
443
+ ])) : F("", !0)
444
444
  ]),
445
445
  c("div", {
446
446
  onClick: (n) => o.handleWeatherLayerCollect(a)
447
447
  }, [
448
- a.collected ? (l(), f("i", h1, "")) : (l(), f("i", m1, ""))
448
+ a.collected ? (s(), W("i", h1, "")) : (s(), W("i", m1, ""))
449
449
  ], 8, R1)
450
450
  ], 2))
451
451
  ], 64))), 128)),
@@ -461,18 +461,18 @@ function E1(z, M, b, O, p, o) {
461
461
  c("div", B1, [
462
462
  M[26] || (M[26] = c("div", { class: "layers-title" }, "Other Layers", -1)),
463
463
  c("div", g1, [
464
- (l(!0), f(j, null, G(p.layers.other, (a) => {
464
+ (s(!0), W(H, null, j(p.layers.other, (a) => {
465
465
  var n;
466
- return l(), f("div", {
466
+ return s(), W("div", {
467
467
  key: a.key,
468
468
  class: U(["layer flex-between", o.computeLayerClass(a, p.activeOtherLayers)]),
469
- onClick: (s) => o.handleOtherLayerPick(a)
469
+ onClick: (l) => o.handleOtherLayerPick(a)
470
470
  }, [
471
471
  c("div", y1, [
472
472
  c("div", X1, [
473
- (n = o.computeLayerClass(a, p.activeOtherLayers)) != null && n.includes("active") ? (l(), f("i", w1, "")) : (l(), f("i", C1, ""))
473
+ (n = o.computeLayerClass(a, p.activeOtherLayers)) != null && n.includes("active") ? (s(), W("i", w1, "")) : (s(), W("i", C1, ""))
474
474
  ]),
475
- c("span", null, w(a.name), 1)
475
+ c("span", null, T(a.name), 1)
476
476
  ])
477
477
  ], 10, N1);
478
478
  }), 128))
@@ -481,30 +481,30 @@ function E1(z, M, b, O, p, o) {
481
481
  c("div", v1, [
482
482
  M[30] || (M[30] = c("span", { class: "layers-title" }, "Forecast Model", -1)),
483
483
  c("div", T1, [
484
- C(q, {
484
+ w(q, {
485
485
  modelValue: p.source,
486
486
  "onUpdate:modelValue": M[16] || (M[16] = (a) => p.source = a),
487
487
  class: "layer-radio flex-col-start-start",
488
488
  style: { "align-items": "flex-start" }
489
489
  }, {
490
- default: A0(() => [
491
- C(t, { value: "BestMatch" }, {
492
- default: A0(() => M[27] || (M[27] = [
493
- p0("Best Match"),
490
+ default: c0(() => [
491
+ w(t, { value: "BestMatch" }, {
492
+ default: c0(() => M[27] || (M[27] = [
493
+ $("Best Match"),
494
494
  c("div", { class: "radio-tip" }, "Provides the best forecast", -1)
495
495
  ])),
496
496
  _: 1
497
497
  }),
498
- C(t, { value: "GFS" }, {
499
- default: A0(() => M[28] || (M[28] = [
500
- p0("GFS 25km 16days"),
498
+ w(t, { value: "GFS" }, {
499
+ default: c0(() => M[28] || (M[28] = [
500
+ $("GFS 25km 16days"),
501
501
  c("div", { class: "radio-tip" }, "Update: 2025-03-31 18Z", -1)
502
502
  ])),
503
503
  _: 1
504
504
  }),
505
- C(t, { value: "CMEMS" }, {
506
- default: A0(() => M[29] || (M[29] = [
507
- p0("ECMWF 25km 10 days"),
505
+ w(t, { value: "CMEMS" }, {
506
+ default: c0(() => M[29] || (M[29] = [
507
+ $("ECMWF 25km 10 days"),
508
508
  c("div", { class: "radio-tip" }, "Update: 2025-03-31 18Z", -1)
509
509
  ])),
510
510
  _: 1
@@ -557,7 +557,7 @@ const I1 = {
557
557
  return {
558
558
  source: "wind-barb-source",
559
559
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
560
- empty: T.featureCollection([]),
560
+ empty: v.featureCollection([]),
561
561
  right: 10,
562
562
  bottom: 125,
563
563
  windBarbLoaded: !1
@@ -672,7 +672,7 @@ const I1 = {
672
672
  }, D1 = { key: 0 };
673
673
  function S1(z, M, b, O, p, o) {
674
674
  var A;
675
- return (A = b.wind) != null && A.active ? (l(), f("div", D1)) : _("", !0);
675
+ return (A = b.wind) != null && A.active ? (s(), W("div", D1)) : F("", !0);
676
676
  }
677
677
  const P1 = /* @__PURE__ */ k(I1, [["render", S1]]);
678
678
  class P0 {
@@ -720,8 +720,8 @@ class P0 {
720
720
  * @param [lb.x, lb.y, rt.x, rt.y]
721
721
  */
722
722
  getBoundPixel() {
723
- const M = this.map.getBounds(), b = this.map.getZoom() + 1, O = [M._ne.lng, M._ne.lat], p = [M._sw.lng, M._sw.lat], [o, A] = this.convertNLng(O[0]), [t, q] = this.convertNLng(p[0]), [r, a] = this.mercator.px([o, O[1]], b), [n, s] = this.mercator.px([t, p[1]], b), d = Math.round(this.mercator.size * Math.pow(2, b) * (A + q));
724
- return [n, s, r + d, a];
723
+ const M = this.map.getBounds(), b = this.map.getZoom() + 1, O = [M._ne.lng, M._ne.lat], p = [M._sw.lng, M._sw.lat], [o, A] = this.convertNLng(O[0]), [t, q] = this.convertNLng(p[0]), [r, a] = this.mercator.px([o, O[1]], b), [n, l] = this.mercator.px([t, p[1]], b), d = Math.round(this.mercator.size * Math.pow(2, b) * (A + q));
724
+ return [n, l, r + d, a];
725
725
  }
726
726
  /**
727
727
  * [视窗边界像素宽度]
@@ -892,14 +892,14 @@ class C0 {
892
892
  if (b && O) {
893
893
  M.resize(), b == null || b.viewport(0, 0, (q = b == null ? void 0 : b.canvas) == null ? void 0 : q.width, (r = b == null ? void 0 : b.canvas) == null ? void 0 : r.height), b.clearColor(0, 0, 0, 0), b.clear(b.COLOR_BUFFER_BIT | b.DEPTH_BUFFER_BIT);
894
894
  try {
895
- const a = b.getUniformLocation(O, "u_resolution"), n = b.getUniformLocation(O, "u_image"), s = b.getUniformLocation(O, "u_color");
896
- if (b.useProgram(O), b.uniform2f(a, b.canvas.width * M.ratio, b.canvas.height * M.ratio), b.activeTexture(b.TEXTURE0), b.bindTexture(b.TEXTURE_2D, p), b.uniform1i(n, 0), b.activeTexture(b.TEXTURE1), b.bindTexture(b.TEXTURE_2D, o), b.uniform1i(s, 1), t != null && t.uvRange && (t != null && t.sRange)) {
897
- const W = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
898
- b.uniform2f(W, t.uvRange[0], t.uvRange[1]), b.uniform2f(m, t.sRange[0], t.sRange[1]);
895
+ const a = b.getUniformLocation(O, "u_resolution"), n = b.getUniformLocation(O, "u_image"), l = b.getUniformLocation(O, "u_color");
896
+ if (b.useProgram(O), b.uniform2f(a, b.canvas.width * M.ratio, b.canvas.height * M.ratio), b.activeTexture(b.TEXTURE0), b.bindTexture(b.TEXTURE_2D, p), b.uniform1i(n, 0), b.activeTexture(b.TEXTURE1), b.bindTexture(b.TEXTURE_2D, o), b.uniform1i(l, 1), t != null && t.uvRange && (t != null && t.sRange)) {
897
+ const f = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
898
+ b.uniform2f(f, t.uvRange[0], t.uvRange[1]), b.uniform2f(m, t.sRange[0], t.sRange[1]);
899
899
  }
900
900
  const d = M.getBoundPixel(), B = M.map.getZoom() + 1, R = M.getWorldCopy(d, B);
901
- for (const W of R) {
902
- const m = (W[0] - d[0]) * M.ratio, h = (W[1] - d[3]) * M.ratio, X = W[2] * M.ratio, [E, y, H, K] = [m, X + m, h, X + h], V = new Float32Array([E, H, y, H, E, K, E, K, y, H, y, K]);
901
+ for (const f of R) {
902
+ const m = (f[0] - d[0]) * M.ratio, h = (f[1] - d[3]) * M.ratio, X = f[2] * M.ratio, [E, y, _, K] = [m, X + m, h, X + h], V = new Float32Array([E, _, y, _, E, K, E, K, y, _, y, K]);
903
903
  b.bindBuffer(b.ARRAY_BUFFER, A), b.bufferData(b.ARRAY_BUFFER, V, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
904
904
  }
905
905
  } catch (a) {
@@ -948,10 +948,10 @@ class C0 {
948
948
  });
949
949
  }
950
950
  }
951
- class e0 {
951
+ class A0 {
952
952
  }
953
953
  // 顶点渲染
954
- J(e0, "vertexSchema", `
954
+ J(A0, "vertexSchema", `
955
955
  //canvas 坐标系上的坐标 (x, y)
956
956
  attribute vec2 a_position; //像素坐标
957
957
  attribute vec2 a_texCoord; //纹理坐标
@@ -966,7 +966,7 @@ J(e0, "vertexSchema", `
966
966
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
967
967
  v_texCoord = a_texCoord;
968
968
  }`), // 类如风、流等u v双变量片元渲染
969
- J(e0, "uvFragmentSchema", `
969
+ J(A0, "uvFragmentSchema", `
970
970
  precision mediump float;
971
971
  uniform sampler2D u_image;
972
972
  uniform vec2 u_range_u_v;
@@ -985,7 +985,7 @@ J(e0, "uvFragmentSchema", `
985
985
 
986
986
  gl_FragColor = color;
987
987
  }`), // 类如浪、气压等单变量片元渲染
988
- J(e0, "fragmentSchema", `
988
+ J(A0, "fragmentSchema", `
989
989
  precision mediump float;
990
990
  uniform sampler2D u_image; // 灰度
991
991
  uniform sampler2D u_color; // 色值映射
@@ -996,9 +996,9 @@ J(e0, "fragmentSchema", `
996
996
  vec4 color = texture2D(u_color, vec2(rgba.r, 0));
997
997
  gl_FragColor = color;
998
998
  }`);
999
- class r0 {
999
+ class q0 {
1000
1000
  }
1001
- J(r0, "vertexSchema", `
1001
+ J(q0, "vertexSchema", `
1002
1002
  precision mediump float;
1003
1003
 
1004
1004
  attribute float a_index; // 索引
@@ -1022,7 +1022,7 @@ J(r0, "vertexSchema", `
1022
1022
  gl_PointSize = 1.0;
1023
1023
  // gl_PointSize = u_point;
1024
1024
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
1025
- }`), J(r0, "fragmentSchema", `
1025
+ }`), J(q0, "fragmentSchema", `
1026
1026
  precision mediump float;
1027
1027
 
1028
1028
  uniform sampler2D u_factor;
@@ -1044,7 +1044,7 @@ J(r0, "vertexSchema", `
1044
1044
 
1045
1045
  float f = 1.0 - uv.b;
1046
1046
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
1047
- }`), J(r0, "quadVertSchema", `
1047
+ }`), J(q0, "quadVertSchema", `
1048
1048
  precision mediump float;
1049
1049
 
1050
1050
  attribute vec2 a_pos;
@@ -1054,7 +1054,7 @@ J(r0, "vertexSchema", `
1054
1054
  void main() {
1055
1055
  v_tex_pos = a_pos;
1056
1056
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
1057
- }`), J(r0, "screenFragmentSchema", `
1057
+ }`), J(q0, "screenFragmentSchema", `
1058
1058
  precision mediump float;
1059
1059
 
1060
1060
  uniform sampler2D u_screen;
@@ -1066,7 +1066,7 @@ J(r0, "vertexSchema", `
1066
1066
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
1067
1067
  // a hack to guarantee opacity fade out even with a value close to 1.0
1068
1068
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
1069
- }`), J(r0, "updateFragmentSchema", `
1069
+ }`), J(q0, "updateFragmentSchema", `
1070
1070
  precision mediump float;
1071
1071
 
1072
1072
  uniform sampler2D u_particles;
@@ -2964,7 +2964,7 @@ const Q1 = {
2964
2964
  [1, "rgb(91, 136, 161)"]
2965
2965
  ];
2966
2966
  this.rampColor = this.webgl.setup(this.context, z);
2967
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.uvFragmentSchema);
2967
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
2968
2968
  this.program = M, this.aPositionBuffer = b;
2969
2969
  }
2970
2970
  this.handleParticleSetup();
@@ -2978,11 +2978,11 @@ const Q1 = {
2978
2978
  ];
2979
2979
  this.wrapper = this.webgl.bindParticle(
2980
2980
  this.particleContext,
2981
- r0.vertexSchema,
2982
- r0.fragmentSchema,
2983
- r0.quadVertSchema,
2984
- r0.screenFragmentSchema,
2985
- r0.updateFragmentSchema
2981
+ q0.vertexSchema,
2982
+ q0.fragmentSchema,
2983
+ q0.quadVertSchema,
2984
+ q0.screenFragmentSchema,
2985
+ q0.updateFragmentSchema
2986
2986
  ), this.wrapper.color = this.webgl.setup(this.particleContext, z, !0, 16, 16), this.wrapper = { ...this.wrapper, ...this.webgl.setupParticle(this.particleContext, 9e3), ...this.webgl.resize(this.viewport, this.particleContext) }, this.viewport.map.on("resize", this.handleResize), this.viewport.map.on("movestart", this.handlePause), this.viewport.map.on("moveend", this.handlePlay);
2987
2987
  }
2988
2988
  },
@@ -3015,10 +3015,10 @@ const Q1 = {
3015
3015
  }, H1 = { key: 0 };
3016
3016
  function _1(z, M, b, O, p, o) {
3017
3017
  var A;
3018
- return (A = b.factor) != null && A.active ? (l(), f("div", H1, [
3018
+ return (A = b.factor) != null && A.active ? (s(), W("div", H1, [
3019
3019
  c("div", {
3020
3020
  class: "legend-bars flex-center",
3021
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3021
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3022
3022
  }, M[0] || (M[0] = [
3023
3023
  c("span", null, "kts", -1),
3024
3024
  c("span", null, "0", -1),
@@ -3029,7 +3029,7 @@ function _1(z, M, b, O, p, o) {
3029
3029
  c("span", null, "40", -1),
3030
3030
  c("span", null, "60", -1)
3031
3031
  ]), 4)
3032
- ])) : _("", !0);
3032
+ ])) : F("", !0);
3033
3033
  }
3034
3034
  const j1 = /* @__PURE__ */ k(Q1, [["render", _1], ["__scopeId", "data-v-14070127"]]);
3035
3035
  const F1 = {
@@ -3070,7 +3070,7 @@ const F1 = {
3070
3070
  directionLayer: "current-direction-layer",
3071
3071
  speedLayer: "current-speed-layer",
3072
3072
  speedLabelLayer: "current-speed-label-layer",
3073
- empty: T.featureCollection([]),
3073
+ empty: v.featureCollection([]),
3074
3074
  right: 10,
3075
3075
  bottom: 95
3076
3076
  };
@@ -3188,7 +3188,7 @@ const F1 = {
3188
3188
  }, G1 = { key: 0 };
3189
3189
  function U1(z, M, b, O, p, o) {
3190
3190
  var A;
3191
- return (A = b.current) != null && A.active ? (l(), f("div", G1)) : _("", !0);
3191
+ return (A = b.current) != null && A.active ? (s(), W("div", G1)) : F("", !0);
3192
3192
  }
3193
3193
  const K1 = /* @__PURE__ */ k(F1, [["render", U1]]);
3194
3194
  const J1 = {
@@ -3296,7 +3296,7 @@ const J1 = {
3296
3296
  [1, "rgb(195,194,194)"]
3297
3297
  ];
3298
3298
  this.rampColor = this.webgl.setup(this.context, z);
3299
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.uvFragmentSchema);
3299
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
3300
3300
  this.program = M, this.aPositionBuffer = b;
3301
3301
  }
3302
3302
  this.handleParticleSetup();
@@ -3310,11 +3310,11 @@ const J1 = {
3310
3310
  ];
3311
3311
  this.wrapper = this.webgl.bindParticle(
3312
3312
  this.particleContext,
3313
- r0.vertexSchema,
3314
- r0.fragmentSchema,
3315
- r0.quadVertSchema,
3316
- r0.screenFragmentSchema,
3317
- r0.updateFragmentSchema
3313
+ q0.vertexSchema,
3314
+ q0.fragmentSchema,
3315
+ q0.quadVertSchema,
3316
+ q0.screenFragmentSchema,
3317
+ q0.updateFragmentSchema
3318
3318
  ), this.wrapper.color = this.webgl.setup(this.particleContext, z, !0, 16, 16), this.wrapper = {
3319
3319
  ...this.wrapper,
3320
3320
  ...this.webgl.setupParticle(this.particleContext, 12e3),
@@ -3351,10 +3351,10 @@ const J1 = {
3351
3351
  }, Y1 = { key: 0 };
3352
3352
  function V1(z, M, b, O, p, o) {
3353
3353
  var A;
3354
- return (A = b.factor) != null && A.active ? (l(), f("div", Y1, [
3354
+ return (A = b.factor) != null && A.active ? (s(), W("div", Y1, [
3355
3355
  c("div", {
3356
3356
  class: "legend-bars flex-center",
3357
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3357
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3358
3358
  }, M[0] || (M[0] = [
3359
3359
  c("span", null, "kts", -1),
3360
3360
  c("span", null, "0", -1),
@@ -3364,7 +3364,7 @@ function V1(z, M, b, O, p, o) {
3364
3364
  c("span", null, "2", -1),
3365
3365
  c("span", null, "3.2", -1)
3366
3366
  ]), 4)
3367
- ])) : _("", !0);
3367
+ ])) : F("", !0);
3368
3368
  }
3369
3369
  const Z1 = /* @__PURE__ */ k(J1, [["render", V1], ["__scopeId", "data-v-163d1f9a"]]), $1 = {
3370
3370
  name: "IdmSigWave",
@@ -3387,7 +3387,7 @@ const Z1 = /* @__PURE__ */ k(J1, [["render", V1], ["__scopeId", "data-v-163d1f9a
3387
3387
  source: "sig-wave-source",
3388
3388
  heightLayer: "sig-wave-height-layer",
3389
3389
  heightLabelLayer: "sig-wave-height-label-layer",
3390
- empty: T.featureCollection([])
3390
+ empty: v.featureCollection([])
3391
3391
  };
3392
3392
  },
3393
3393
  watch: {
@@ -3486,7 +3486,7 @@ const Z1 = /* @__PURE__ */ k(J1, [["render", V1], ["__scopeId", "data-v-163d1f9a
3486
3486
  }
3487
3487
  };
3488
3488
  function M2(z, M, b, O, p, o) {
3489
- return l(), f("div");
3489
+ return s(), W("div");
3490
3490
  }
3491
3491
  const b2 = /* @__PURE__ */ k($1, [["render", M2]]), z2 = {
3492
3492
  name: "IdmSwell",
@@ -3510,7 +3510,7 @@ const b2 = /* @__PURE__ */ k($1, [["render", M2]]), z2 = {
3510
3510
  directionLayer: "swell-direction-layer",
3511
3511
  heightLayer: "swell-height-layer",
3512
3512
  heightLabelLayer: "swell-height-label-layer",
3513
- empty: T.featureCollection([])
3513
+ empty: v.featureCollection([])
3514
3514
  };
3515
3515
  },
3516
3516
  watch: {
@@ -3644,7 +3644,7 @@ const b2 = /* @__PURE__ */ k($1, [["render", M2]]), z2 = {
3644
3644
  }
3645
3645
  };
3646
3646
  function p2(z, M, b, O, p, o) {
3647
- return l(), f("div");
3647
+ return s(), W("div");
3648
3648
  }
3649
3649
  const O2 = /* @__PURE__ */ k(z2, [["render", p2]]), o2 = {
3650
3650
  name: "IdmPrmsl",
@@ -3671,7 +3671,7 @@ const O2 = /* @__PURE__ */ k(z2, [["render", p2]]), o2 = {
3671
3671
  layer: "prmsl-layer",
3672
3672
  labelLayer: "prmsl-label-layer",
3673
3673
  pointLabelLayer: "prmsl-point-label-layer",
3674
- empty: T.featureCollection([])
3674
+ empty: v.featureCollection([])
3675
3675
  };
3676
3676
  },
3677
3677
  watch: {
@@ -3784,7 +3784,7 @@ const O2 = /* @__PURE__ */ k(z2, [["render", p2]]), o2 = {
3784
3784
  }
3785
3785
  };
3786
3786
  function c2(z, M, b, O, p, o) {
3787
- return l(), f("div");
3787
+ return s(), W("div");
3788
3788
  }
3789
3789
  const A2 = /* @__PURE__ */ k(o2, [["render", c2]]), e2 = {
3790
3790
  name: "IdmIceberg",
@@ -3803,7 +3803,7 @@ const A2 = /* @__PURE__ */ k(o2, [["render", c2]]), e2 = {
3803
3803
  return {
3804
3804
  source: "iceberg-source",
3805
3805
  layer: "iceberg-layer",
3806
- empty: T.featureCollection([])
3806
+ empty: v.featureCollection([])
3807
3807
  };
3808
3808
  },
3809
3809
  watch: {
@@ -3844,7 +3844,7 @@ const A2 = /* @__PURE__ */ k(o2, [["render", c2]]), e2 = {
3844
3844
  }
3845
3845
  };
3846
3846
  function t2(z, M, b, O, p, o) {
3847
- return l(), f("div");
3847
+ return s(), W("div");
3848
3848
  }
3849
3849
  const a2 = /* @__PURE__ */ k(e2, [["render", t2]]);
3850
3850
  const q2 = {
@@ -3885,9 +3885,9 @@ const q2 = {
3885
3885
  showTropicals: !1,
3886
3886
  activeTropicals: void 0,
3887
3887
  activeTropicalsMarker: void 0,
3888
- empty: T.featureCollection([]),
3888
+ empty: v.featureCollection([]),
3889
3889
  circleSource: "circle-source",
3890
- circleSourceData: T.featureCollection([]),
3890
+ circleSourceData: v.featureCollection([]),
3891
3891
  circleLayer: "tropical-circle-layer"
3892
3892
  };
3893
3893
  },
@@ -3940,18 +3940,18 @@ const q2 = {
3940
3940
  var r;
3941
3941
  let A = 0, t;
3942
3942
  const q = z.filter((a) => {
3943
- var n, s;
3944
- return ((s = (n = a.properties) == null ? void 0 : n.category) == null ? void 0 : s.split("-")[0]) === o;
3943
+ var n, l;
3944
+ return ((l = (n = a.properties) == null ? void 0 : n.category) == null ? void 0 : l.split("-")[0]) === o;
3945
3945
  });
3946
3946
  (r = q.filter((a) => {
3947
- var n, s;
3948
- return ((n = a.geometry) == null ? void 0 : n.type) === "LineString" && ((s = a.properties) == null ? void 0 : s.type) === "forecast";
3947
+ var n, l;
3948
+ return ((n = a.geometry) == null ? void 0 : n.type) === "LineString" && ((l = a.properties) == null ? void 0 : l.type) === "forecast";
3949
3949
  })[0]) == null || r.properties.model, q.forEach((a, n) => {
3950
- var s, d, B, R, W, m;
3951
- ((s = a.geometry) == null ? void 0 : s.type) === "Point" && ((d = a.properties) == null ? void 0 : d.type) === "history" && (A = n, t = t === void 0 ? n : t), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && t === void 0 && (t = n), ((W = a.geometry) == null ? void 0 : W.type) === "LineString" && ((m = a.properties) == null || m.type);
3950
+ var l, d, B, R, f, m;
3951
+ ((l = a.geometry) == null ? void 0 : l.type) === "Point" && ((d = a.properties) == null ? void 0 : d.type) === "history" && (A = n, t = t === void 0 ? n : t), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && t === void 0 && (t = n), ((f = a.geometry) == null ? void 0 : f.type) === "LineString" && ((m = a.properties) == null || m.type);
3952
3952
  }), q.map((a, n) => {
3953
- var s, d, B, R, W, m, h;
3954
- if (((s = a.geometry) == null ? void 0 : s.type) === "LineString" && ((d = a.properties) == null || d.type), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && (a.properties.name = o, a.properties.format = Y(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((W = a.geometry) == null ? void 0 : W.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3953
+ var l, d, B, R, f, m, h;
3954
+ if (((l = a.geometry) == null ? void 0 : l.type) === "LineString" && ((d = a.properties) == null || d.type), ((B = a.geometry) == null ? void 0 : B.type) === "Point" && ((R = a.properties) == null ? void 0 : R.type) === "forecast" && (a.properties.name = o, a.properties.format = Y(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((f = a.geometry) == null ? void 0 : f.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3955
3955
  a.properties.format = Y(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3956
3956
  const X = Y((h = a.properties) == null ? void 0 : h.date).utc().format("HHmm") === Y().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3957
3957
  a.properties.showHistoryLabel = X || n === A, a.properties.showNameLabel = n === A, a.properties.name = o;
@@ -3999,8 +3999,8 @@ const q2 = {
3999
3999
  else {
4000
4000
  if (this.tropicals) {
4001
4001
  const n = (/* @__PURE__ */ new Date()).valueOf();
4002
- let s = 0, d = 0;
4003
- (z = this.map) != null && z.getSource(this.source) ? ((b = this.map) == null || b.getSource(this.source).setData((M = this.tropicals) != null && M.active ? this.tropicals.data : this.empty), d = (/* @__PURE__ */ new Date()).valueOf() - (n + s), console.log("[tropicals] update elapsed: ", d, ", total: ", s += d)) : (this.map.addSource(this.source, {
4002
+ let l = 0, d = 0;
4003
+ (z = this.map) != null && z.getSource(this.source) ? ((b = this.map) == null || b.getSource(this.source).setData((M = this.tropicals) != null && M.active ? this.tropicals.data : this.empty), d = (/* @__PURE__ */ new Date()).valueOf() - (n + l), console.log("[tropicals] update elapsed: ", d, ", total: ", l += d)) : (this.map.addSource(this.source, {
4004
4004
  type: "geojson",
4005
4005
  data: (O = this.tropicals) != null && O.active ? (p = this.tropicals) == null ? void 0 : p.data : this.empty
4006
4006
  }), this.map.addLayer({
@@ -4097,7 +4097,7 @@ const q2 = {
4097
4097
  ],
4098
4098
  "text-halo-width": 4
4099
4099
  }
4100
- }), d = (/* @__PURE__ */ new Date()).valueOf() - (n + s), console.log("[tropical] add elapsed: ", d, ", total: ", s += d)), (o = this.map) != null && o.getSource(this.clusterSource) ? ((t = this.map) == null || t.getSource(this.clusterSource).setData((A = this.tropicals) != null && A.active ? this.tropicals.data : this.empty), d = (/* @__PURE__ */ new Date()).valueOf() - (n + s), console.log("[tropical] update elapsed: ", d, ", total: ", s += d)) : (this.map.addSource(this.clusterSource, {
4100
+ }), d = (/* @__PURE__ */ new Date()).valueOf() - (n + l), console.log("[tropical] add elapsed: ", d, ", total: ", l += d)), (o = this.map) != null && o.getSource(this.clusterSource) ? ((t = this.map) == null || t.getSource(this.clusterSource).setData((A = this.tropicals) != null && A.active ? this.tropicals.data : this.empty), d = (/* @__PURE__ */ new Date()).valueOf() - (n + l), console.log("[tropical] update elapsed: ", d, ", total: ", l += d)) : (this.map.addSource(this.clusterSource, {
4101
4101
  type: "geojson",
4102
4102
  data: (q = this.tropicals) != null && q.active ? (r = this.tropicals) == null ? void 0 : r.data : this.empty
4103
4103
  // cluster: true,
@@ -4214,7 +4214,7 @@ const q2 = {
4214
4214
  "text-halo-color": "#0033ff",
4215
4215
  "text-halo-width": 4
4216
4216
  }
4217
- }), d = (/* @__PURE__ */ new Date()).valueOf() - (n + s), console.log("[tropical] add elapsed: ", d, ", total: ", s += d));
4217
+ }), d = (/* @__PURE__ */ new Date()).valueOf() - (n + l), console.log("[tropical] add elapsed: ", d, ", total: ", l += d));
4218
4218
  }
4219
4219
  this.handleDrawCircle();
4220
4220
  const a = j0.interpolate(this.tropicals, 1);
@@ -4226,14 +4226,14 @@ const q2 = {
4226
4226
  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), (z = this.interpolateMarkers) == null || z.forEach((M) => M == null ? void 0 : M.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
4227
4227
  },
4228
4228
  handleDateChange() {
4229
- var z, M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0;
4230
- if ((z = this.interpolateMarkers) == null || z.forEach((q0) => q0 == null ? void 0 : q0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4231
- const q0 = Y(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), n0 = this.interpolateData.filter((D) => D.properties.date === q0.format() && !D.properties.disabled), R0 = this.handleComputePolygons(n0), d0 = T.featureCollection([...n0]);
4232
- R0.forEach((D) => {
4233
- d0.features.push(D);
4234
- }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(d0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4229
+ var z, M, b, O, p, o, A, t, q, r, a, n, l, d, B, R, f, m, h, X, E, y, _, K, V, u, g, e0, n0, h0, i0, f0, p0, m0, B0, u0;
4230
+ if ((z = this.interpolateMarkers) == null || z.forEach((r0) => r0 == null ? void 0 : r0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4231
+ const r0 = Y(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), d0 = this.interpolateData.filter((S) => S.properties.date === r0.format() && !S.properties.disabled), g0 = this.handleComputePolygons(d0), s0 = v.featureCollection([...d0]);
4232
+ g0.forEach((S) => {
4233
+ s0.features.push(S);
4234
+ }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(s0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4235
4235
  type: "geojson",
4236
- data: d0
4236
+ data: s0
4237
4237
  }), (o = this.map) == null || o.addLayer({
4238
4238
  id: this.interpolateLineLayer,
4239
4239
  type: "line",
@@ -4245,17 +4245,17 @@ const q2 = {
4245
4245
  "line-width": 1
4246
4246
  }
4247
4247
  })), this.interpolateMarkers = [];
4248
- for (const D of n0)
4249
- if (!D.properties.disabled) {
4250
- let L = "#f44336";
4251
- ((t = (A = D.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = D.properties) == null ? void 0 : q.wind) != null && r.spd) ? L = "#03f869" : ((n = (a = D.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (s = D.properties) == null ? void 0 : s.wind) == null ? void 0 : d.spd) < 24.5 ? L = "#f2f202" : ((R = (B = D.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((m = (W = D.properties) == null ? void 0 : W.wind) == null ? void 0 : m.spd) < 32.7 ? L = "#ff9100" : ((X = (h = D.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = D.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? L = "#f44336" : ((K = (H = D.properties) == null ? void 0 : H.wind) == null ? void 0 : K.spd) >= 41.5 && ((M0 = (V = D.properties) == null ? void 0 : V.wind) == null ? void 0 : M0.spd) < 51 ? L = "#f903d0" : ((t0 = (b0 = D.properties) == null ? void 0 : b0.wind) == null ? void 0 : t0.spd) >= 51 ? L = "#8702f9" : L = "#f44336";
4252
- const N = `<svg t="1719918955501"
4248
+ for (const S of d0)
4249
+ if (!S.properties.disabled) {
4250
+ let b0 = "#f44336";
4251
+ ((t = (A = S.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = S.properties) == null ? void 0 : q.wind) != null && r.spd) ? b0 = "#03f869" : ((n = (a = S.properties) == null ? void 0 : a.wind) == null ? void 0 : n.spd) >= 17.2 && ((d = (l = S.properties) == null ? void 0 : l.wind) == null ? void 0 : d.spd) < 24.5 ? b0 = "#f2f202" : ((R = (B = S.properties) == null ? void 0 : B.wind) == null ? void 0 : R.spd) >= 24.5 && ((m = (f = S.properties) == null ? void 0 : f.wind) == null ? void 0 : m.spd) < 32.7 ? b0 = "#ff9100" : ((X = (h = S.properties) == null ? void 0 : h.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = S.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? b0 = "#f44336" : ((K = (_ = S.properties) == null ? void 0 : _.wind) == null ? void 0 : K.spd) >= 41.5 && ((u = (V = S.properties) == null ? void 0 : V.wind) == null ? void 0 : u.spd) < 51 ? b0 = "#f903d0" : ((e0 = (g = S.properties) == null ? void 0 : g.wind) == null ? void 0 : e0.spd) >= 51 ? b0 = "#8702f9" : b0 = "#f44336";
4252
+ const t0 = `<svg t="1719918955501"
4253
4253
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
4254
4254
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
4255
4255
  <path
4256
4256
  d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
4257
- fill="${L}" p-id="18383"></path>
4258
- <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${L}"
4257
+ fill="${b0}" p-id="18383"></path>
4258
+ <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${b0}"
4259
4259
  p-id="18384"></path>
4260
4260
  <path
4261
4261
  d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
@@ -4263,26 +4263,26 @@ const q2 = {
4263
4263
  <path
4264
4264
  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"
4265
4265
  fill="#ffffff" p-id="18386"></path>
4266
- </svg>`, x = document.createElement("div");
4267
- x.className = "hurricane-hourly-marker", x.innerHTML = `<div class="${D.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${N}</div>`;
4268
- const $ = new w0.Marker(x).setLngLat(D.geometry.coordinates).addTo(this.map);
4269
- if (this.interpolateMarkers.push($), (l0 = D.properties) != null && l0.showCircle) {
4270
- const h0 = { radius: 100, coordinates: D.geometry.coordinates }, m0 = { radius: 200, coordinates: D.geometry.coordinates }, B0 = { radius: 500, coordinates: D.geometry.coordinates };
4271
- (f0 = this.circleSourceData) == null || f0.features.push(
4272
- T.circle(h0.coordinates, h0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4273
- ), (a0 = this.circleSourceData) == null || a0.features.push(
4274
- T.circle(m0.coordinates, m0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4275
- ), (s0 = this.circleSourceData) == null || s0.features.push(
4276
- T.circle(B0.coordinates, B0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4266
+ </svg>`, I = document.createElement("div");
4267
+ I.className = "hurricane-hourly-marker", I.innerHTML = `<div class="${S.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${t0}</div>`;
4268
+ const z0 = new w0.Marker(I).setLngLat(S.geometry.coordinates).addTo(this.map);
4269
+ if (this.interpolateMarkers.push(z0), (n0 = S.properties) != null && n0.showCircle) {
4270
+ const W0 = { radius: 100, coordinates: S.geometry.coordinates }, l0 = { radius: 200, coordinates: S.geometry.coordinates }, L0 = { radius: 500, coordinates: S.geometry.coordinates };
4271
+ (h0 = this.circleSourceData) == null || h0.features.push(
4272
+ v.circle(W0.coordinates, W0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4273
+ ), (i0 = this.circleSourceData) == null || i0.features.push(
4274
+ v.circle(l0.coordinates, l0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4275
+ ), (f0 = this.circleSourceData) == null || f0.features.push(
4276
+ v.circle(L0.coordinates, L0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4277
4277
  );
4278
4278
  }
4279
- (u0 = (z0 = this.map) == null ? void 0 : z0.getSource(this.circleSource)) == null || u0.setData(this.circleSourceData);
4279
+ (m0 = (p0 = this.map) == null ? void 0 : p0.getSource(this.circleSource)) == null || m0.setData(this.circleSourceData);
4280
4280
  }
4281
4281
  } else
4282
- (L0 = this.map) != null && L0.getSource(this.interpolateSource) && ((W0 = this.map) == null || W0.getSource(this.interpolateSource).setData(this.empty));
4282
+ (B0 = this.map) != null && B0.getSource(this.interpolateSource) && ((u0 = this.map) == null || u0.getSource(this.interpolateSource).setData(this.empty));
4283
4283
  },
4284
4284
  handleClick(z) {
4285
- var o, A, t, q, r, a, n, s;
4285
+ var o, A, t, q, r, a, n, l;
4286
4286
  const M = z.features[0], b = (A = (o = this.tropicals) == null ? void 0 : o.data) == null ? void 0 : A.features.filter(
4287
4287
  (d) => {
4288
4288
  var B;
@@ -4290,8 +4290,8 @@ const q2 = {
4290
4290
  }
4291
4291
  );
4292
4292
  b.sort((d, B) => {
4293
- var R, W, m, h;
4294
- return ((R = d.properties) == null ? void 0 : R.model) === "cma" ? -1 : ((W = d.properties) == null ? void 0 : W.model) === "jma" ? ((m = B.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((h = B.properties) == null ? void 0 : h.model) ? 1 : -1 : 0;
4293
+ var R, f, m, h;
4294
+ return ((R = d.properties) == null ? void 0 : R.model) === "cma" ? -1 : ((f = d.properties) == null ? void 0 : f.model) === "jma" ? ((m = B.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((h = B.properties) == null ? void 0 : h.model) ? 1 : -1 : 0;
4295
4295
  });
4296
4296
  const O = (q = (t = this.tropicals) == null ? void 0 : t.data) == null ? void 0 : q.features.filter(
4297
4297
  (d) => {
@@ -4303,7 +4303,7 @@ const q2 = {
4303
4303
  name: (r = M == null ? void 0 : M.properties) == null ? void 0 : r.name,
4304
4304
  forecasts: b.map((d) => d.properties),
4305
4305
  history: (a = O[0]) == null ? void 0 : a.properties,
4306
- showCircle: (s = (n = b[0]) == null ? void 0 : n.properties) == null ? void 0 : s.showCircle
4306
+ showCircle: (l = (n = b[0]) == null ? void 0 : n.properties) == null ? void 0 : l.showCircle
4307
4307
  }, this.showTropicals = !0;
4308
4308
  const p = document.getElementById("active-tropical");
4309
4309
  this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([z.lngLat.lng, z.lngLat.lat]) : this.activeTropicalsMarker = new w0.Marker(p).setLngLat([z.lngLat.lng, z.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
@@ -4316,7 +4316,7 @@ const q2 = {
4316
4316
  r.properties.category === M && (r.properties.disabled = z.disabled);
4317
4317
  }), this.interpolateData.forEach((r) => {
4318
4318
  r.properties.category === M && (r.properties.disabled = z.disabled);
4319
- }), (A = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || A.setData(T.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(T.featureCollection(b)), this.handleDateChange();
4319
+ }), (A = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || A.setData(v.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(v.featureCollection(b)), this.handleDateChange();
4320
4320
  },
4321
4321
  handleStrikeProbability(z) {
4322
4322
  this.$emit("tropicalProbability", z);
@@ -4373,22 +4373,22 @@ const q2 = {
4373
4373
  let q;
4374
4374
  switch (A) {
4375
4375
  case "ne":
4376
- q = T.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4376
+ q = v.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4377
4377
  break;
4378
4378
  case "se":
4379
- q = T.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4379
+ q = v.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4380
4380
  break;
4381
4381
  case "sw":
4382
- q = T.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4382
+ q = v.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4383
4383
  break;
4384
4384
  case "nw":
4385
- q = T.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4385
+ q = v.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4386
4386
  break;
4387
4387
  }
4388
4388
  O.push(...(o = q == null ? void 0 : q.geometry) == null ? void 0 : o.coordinates);
4389
4389
  }
4390
- const p = T.lineString(O);
4391
- return T.lineToPolygon(p, { properties: b });
4390
+ const p = v.lineString(O);
4391
+ return v.lineToPolygon(p, { properties: b });
4392
4392
  }
4393
4393
  }
4394
4394
  }, i2 = {
@@ -4408,49 +4408,49 @@ const q2 = {
4408
4408
  style: { "justify-content": "flex-start" }
4409
4409
  }, m2 = { class: "forecast-models" }, B2 = ["onClick"], g2 = { class: "more" };
4410
4410
  function N2(z, M, b, O, p, o) {
4411
- var A, t, q, r, a, n, s, d, B, R, W, m, h, X, E;
4412
- return y0((l(), f("div", i2, [
4411
+ var A, t, q, r, a, n, l, d, B, R, f, m, h, X, E;
4412
+ return y0((s(), W("div", i2, [
4413
4413
  c("div", r2, [
4414
4414
  c("div", {
4415
4415
  class: "iconfont close-btn",
4416
4416
  onClick: M[0] || (M[0] = (y) => p.showTropicals = !1)
4417
4417
  }, ""),
4418
4418
  c("div", n2, [
4419
- (t = (A = p.activeTropicals) == null ? void 0 : A.history) != null && t.level ? (l(), f("span", d2, w((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : _("", !0),
4420
- p0(w((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4419
+ (t = (A = p.activeTropicals) == null ? void 0 : A.history) != null && t.level ? (s(), W("span", d2, T((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : F("", !0),
4420
+ $(T((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4421
4421
  ]),
4422
- c("div", s2, " Last update: " + w(o.computeTime(((s = (n = p.activeTropicals) == null ? void 0 : n.history) == null ? void 0 : s.updated) || ((R = (B = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : B.filter((y) => !y.disabled)[0]) == null ? void 0 : R.date))), 1)
4422
+ c("div", s2, " Last update: " + T(o.computeTime(((l = (n = p.activeTropicals) == null ? void 0 : n.history) == null ? void 0 : l.updated) || ((R = (B = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : B.filter((y) => !y.disabled)[0]) == null ? void 0 : R.date))), 1)
4423
4423
  ]),
4424
4424
  c("div", W2, [
4425
4425
  c("div", l2, [
4426
4426
  c("div", f2, [
4427
4427
  c("div", u2, [
4428
4428
  M[2] || (M[2] = c("label", null, "Wind speed : ", -1)),
4429
- c("span", null, w(((m = (W = p.activeTropicals) == null ? void 0 : W.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4429
+ c("span", null, T(((m = (f = p.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4430
4430
  ]),
4431
4431
  c("div", L2, [
4432
4432
  M[3] || (M[3] = c("label", null, "Pressure : ", -1)),
4433
- c("span", null, w(((X = (h = p.activeTropicals) == null ? void 0 : h.history) == null ? void 0 : X.pressure) || "-") + "[hPa]", 1)
4433
+ c("span", null, T(((X = (h = p.activeTropicals) == null ? void 0 : h.history) == null ? void 0 : X.pressure) || "-") + "[hPa]", 1)
4434
4434
  ])
4435
4435
  ]),
4436
4436
  c("div", R2, [
4437
4437
  c("div", h2, [
4438
4438
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4439
4439
  c("div", m2, [
4440
- (l(!0), f(j, null, G((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, H) => {
4441
- var K, V, M0, b0;
4442
- return l(), f("div", {
4443
- key: H,
4440
+ (s(!0), W(H, null, j((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, _) => {
4441
+ var K, V, u, g;
4442
+ return s(), W("div", {
4443
+ key: _,
4444
4444
  class: U([
4445
4445
  "model",
4446
4446
  y.disabled ? "" : "active",
4447
- H > 0 && H < ((V = (K = p.activeTropicals) == null ? void 0 : K.forecasts) == null ? void 0 : V.length) - 1 && ((b0 = (M0 = p.activeTropicals) == null ? void 0 : M0.forecasts) == null ? void 0 : b0.length) > 2 ? "center-child" : ""
4447
+ _ > 0 && _ < ((V = (K = p.activeTropicals) == null ? void 0 : K.forecasts) == null ? void 0 : V.length) - 1 && ((g = (u = p.activeTropicals) == null ? void 0 : u.forecasts) == null ? void 0 : g.length) > 2 ? "center-child" : ""
4448
4448
  ]),
4449
- onClick: (t0) => o.handleForecastToggle(y)
4449
+ onClick: (e0) => o.handleForecastToggle(y)
4450
4450
  }, [
4451
4451
  c("span", {
4452
4452
  class: U(y.model)
4453
- }, w(y.model), 3)
4453
+ }, T(y.model), 3)
4454
4454
  ], 10, B2);
4455
4455
  }), 128))
4456
4456
  ])
@@ -4558,7 +4558,7 @@ const y2 = {
4558
4558
  [1, "rgba(197,5,58,0.8)"]
4559
4559
  ];
4560
4560
  this.rampColor = this.webgl.setup(this.context, z);
4561
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4561
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4562
4562
  this.program = M, this.aPositionBuffer = b;
4563
4563
  }
4564
4564
  },
@@ -4574,10 +4574,10 @@ const y2 = {
4574
4574
  }, X2 = { key: 0 };
4575
4575
  function w2(z, M, b, O, p, o) {
4576
4576
  var A;
4577
- return (A = b.factor) != null && A.active ? (l(), f("div", X2, [
4577
+ return (A = b.factor) != null && A.active ? (s(), W("div", X2, [
4578
4578
  c("div", {
4579
4579
  class: "legend-bars flex-center",
4580
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4580
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4581
4581
  }, M[0] || (M[0] = [
4582
4582
  c("span", null, "mm", -1),
4583
4583
  c("span", null, "1.5", -1),
@@ -4588,7 +4588,7 @@ function w2(z, M, b, O, p, o) {
4588
4588
  c("span", null, "20", -1),
4589
4589
  c("span", null, "30", -1)
4590
4590
  ]), 4)
4591
- ])) : _("", !0);
4591
+ ])) : F("", !0);
4592
4592
  }
4593
4593
  const C2 = /* @__PURE__ */ k(y2, [["render", w2], ["__scopeId", "data-v-e83717bd"]]);
4594
4594
  const v2 = {
@@ -4672,7 +4672,7 @@ const v2 = {
4672
4672
  [1, "rgba(144,144,144,0)"]
4673
4673
  ];
4674
4674
  this.rampColor = this.webgl.setup(this.context, z);
4675
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4675
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4676
4676
  this.program = M, this.aPositionBuffer = b;
4677
4677
  }
4678
4678
  },
@@ -4688,10 +4688,10 @@ const v2 = {
4688
4688
  }, T2 = { key: 0 };
4689
4689
  function E2(z, M, b, O, p, o) {
4690
4690
  var A;
4691
- return (A = b.factor) != null && A.active ? (l(), f("div", T2, [
4691
+ return (A = b.factor) != null && A.active ? (s(), W("div", T2, [
4692
4692
  c("div", {
4693
4693
  class: "legend-bars flex-center",
4694
- style: o0([{ position: "absolute" }, { right: z.right + "px", bottom: b.bottom }])
4694
+ style: O0([{ position: "absolute" }, { right: z.right + "px", bottom: b.bottom }])
4695
4695
  }, M[0] || (M[0] = [
4696
4696
  c("span", null, "nm", -1),
4697
4697
  c("span", null, "0", -1),
@@ -4700,7 +4700,7 @@ function E2(z, M, b, O, p, o) {
4700
4700
  c("span", null, "3", -1),
4701
4701
  c("span", null, "9", -1)
4702
4702
  ]), 4)
4703
- ])) : _("", !0);
4703
+ ])) : F("", !0);
4704
4704
  }
4705
4705
  const x2 = /* @__PURE__ */ k(v2, [["render", E2], ["__scopeId", "data-v-1c8a9237"]]);
4706
4706
  const I2 = {
@@ -4792,7 +4792,7 @@ const I2 = {
4792
4792
  //
4793
4793
  ];
4794
4794
  this.rampColor = this.webgl.setup(this.context, z);
4795
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4795
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4796
4796
  this.program = M, this.aPositionBuffer = b;
4797
4797
  }
4798
4798
  },
@@ -4808,10 +4808,10 @@ const I2 = {
4808
4808
  }, D2 = { key: 0 };
4809
4809
  function S2(z, M, b, O, p, o) {
4810
4810
  var A;
4811
- return (A = b.factor) != null && A.active ? (l(), f("div", D2, [
4811
+ return (A = b.factor) != null && A.active ? (s(), W("div", D2, [
4812
4812
  c("div", {
4813
4813
  class: "legend-bars flex-center",
4814
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4814
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4815
4815
  }, M[0] || (M[0] = [
4816
4816
  c("span", null, "°C", -1),
4817
4817
  c("span", null, "0", -1),
@@ -4820,7 +4820,7 @@ function S2(z, M, b, O, p, o) {
4820
4820
  c("span", null, "30", -1),
4821
4821
  c("span", null, "40", -1)
4822
4822
  ]), 4)
4823
- ])) : _("", !0);
4823
+ ])) : F("", !0);
4824
4824
  }
4825
4825
  const P2 = /* @__PURE__ */ k(I2, [["render", S2], ["__scopeId", "data-v-8974924d"]]);
4826
4826
  const k2 = {
@@ -4915,7 +4915,7 @@ const k2 = {
4915
4915
  [1, "rgb(138, 43, 10)"]
4916
4916
  ];
4917
4917
  this.rampColor = this.webgl.setup(this.context, z);
4918
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4918
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4919
4919
  this.program = M, this.aPositionBuffer = b;
4920
4920
  }
4921
4921
  },
@@ -4931,10 +4931,10 @@ const k2 = {
4931
4931
  }, Q2 = { key: 0 };
4932
4932
  function H2(z, M, b, O, p, o) {
4933
4933
  var A;
4934
- return (A = b.factor) != null && A.active ? (l(), f("div", Q2, [
4934
+ return (A = b.factor) != null && A.active ? (s(), W("div", Q2, [
4935
4935
  c("div", {
4936
4936
  class: "legend-bars flex-center",
4937
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4937
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4938
4938
  }, M[0] || (M[0] = [
4939
4939
  c("span", null, "°C", -1),
4940
4940
  c("span", null, "-20", -1),
@@ -4945,7 +4945,7 @@ function H2(z, M, b, O, p, o) {
4945
4945
  c("span", null, "30", -1),
4946
4946
  c("span", null, "40", -1)
4947
4947
  ]), 4)
4948
- ])) : _("", !0);
4948
+ ])) : F("", !0);
4949
4949
  }
4950
4950
  const _2 = /* @__PURE__ */ k(k2, [["render", H2], ["__scopeId", "data-v-d709ba86"]]);
4951
4951
  const j2 = {
@@ -5031,7 +5031,7 @@ const j2 = {
5031
5031
  // 2m
5032
5032
  ];
5033
5033
  this.rampColor = this.webgl.setup(this.context, z);
5034
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
5034
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
5035
5035
  this.program = M, this.aPositionBuffer = b;
5036
5036
  }
5037
5037
  },
@@ -5047,10 +5047,10 @@ const j2 = {
5047
5047
  }, F2 = { key: 0 };
5048
5048
  function G2(z, M, b, O, p, o) {
5049
5049
  var A;
5050
- return (A = b.factor) != null && A.active ? (l(), f("div", F2, [
5050
+ return (A = b.factor) != null && A.active ? (s(), W("div", F2, [
5051
5051
  c("div", {
5052
5052
  class: "legend-bars flex-center",
5053
- style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
5053
+ style: O0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
5054
5054
  }, M[0] || (M[0] = [
5055
5055
  c("span", null, "m", -1),
5056
5056
  c("span", null, "0", -1),
@@ -5059,7 +5059,7 @@ function G2(z, M, b, O, p, o) {
5059
5059
  c("span", null, "1.5", -1),
5060
5060
  c("span", null, "2", -1)
5061
5061
  ]), 4)
5062
- ])) : _("", !0);
5062
+ ])) : F("", !0);
5063
5063
  }
5064
5064
  const U2 = /* @__PURE__ */ k(j2, [["render", G2], ["__scopeId", "data-v-5bb73794"]]);
5065
5065
  /*! Element Plus Icons Vue v2.3.1 */
@@ -5067,7 +5067,7 @@ var K2 = /* @__PURE__ */ Z0({
5067
5067
  name: "LocationFilled",
5068
5068
  __name: "location-filled",
5069
5069
  setup(z) {
5070
- return (M, b) => (l(), f("svg", {
5070
+ return (M, b) => (s(), W("svg", {
5071
5071
  xmlns: "http://www.w3.org/2000/svg",
5072
5072
  viewBox: "0 0 1024 1024"
5073
5073
  }, [
@@ -5093,42 +5093,42 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5093
5093
  })(Y2, function(M) {
5094
5094
  M.version === void 0 && M.default && (M = M.default);
5095
5095
  var b = "0.5.47", O = {}, p = {}, o = {}, A = {}, t = {}, q;
5096
- (!M || typeof M.version != "string") && N("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
5096
+ (!M || typeof M.version != "string") && t0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
5097
5097
  var r = M.version.split("."), a = +r[0], n = +r[1];
5098
- (a < 2 || a === 2 && n < 6) && N("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
5099
- function s(e) {
5098
+ (a < 2 || a === 2 && n < 6) && t0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
5099
+ function l(e) {
5100
5100
  return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
5101
5101
  }
5102
5102
  function d(e) {
5103
- var i = 0, u = e.split("."), g = u[0], v = u[1] || "", S = 1, Z, P = 0, F = 1;
5104
- for (e.charCodeAt(0) === 45 && (i = 1, F = -1), i; i < g.length; i++)
5105
- Z = s(g.charCodeAt(i)), P = 60 * P + Z;
5106
- for (i = 0; i < v.length; i++)
5107
- S = S / 60, Z = s(v.charCodeAt(i)), P += Z * S;
5108
- return P * F;
5103
+ var i = 0, L = e.split("."), N = L[0], C = L[1] || "", D = 1, Z, P = 0, G = 1;
5104
+ for (e.charCodeAt(0) === 45 && (i = 1, G = -1), i; i < N.length; i++)
5105
+ Z = l(N.charCodeAt(i)), P = 60 * P + Z;
5106
+ for (i = 0; i < C.length; i++)
5107
+ D = D / 60, Z = l(C.charCodeAt(i)), P += Z * D;
5108
+ return P * G;
5109
5109
  }
5110
5110
  function B(e) {
5111
5111
  for (var i = 0; i < e.length; i++)
5112
5112
  e[i] = d(e[i]);
5113
5113
  }
5114
5114
  function R(e, i) {
5115
- for (var u = 0; u < i; u++)
5116
- e[u] = Math.round((e[u - 1] || 0) + e[u] * 6e4);
5115
+ for (var L = 0; L < i; L++)
5116
+ e[L] = Math.round((e[L - 1] || 0) + e[L] * 6e4);
5117
5117
  e[i - 1] = 1 / 0;
5118
5118
  }
5119
- function W(e, i) {
5120
- var u = [], g;
5121
- for (g = 0; g < i.length; g++)
5122
- u[g] = e[i[g]];
5123
- return u;
5119
+ function f(e, i) {
5120
+ var L = [], N;
5121
+ for (N = 0; N < i.length; N++)
5122
+ L[N] = e[i[N]];
5123
+ return L;
5124
5124
  }
5125
5125
  function m(e) {
5126
- var i = e.split("|"), u = i[2].split(" "), g = i[3].split(""), v = i[4].split(" ");
5127
- return B(u), B(g), B(v), R(v, g.length), {
5126
+ var i = e.split("|"), L = i[2].split(" "), N = i[3].split(""), C = i[4].split(" ");
5127
+ return B(L), B(N), B(C), R(C, N.length), {
5128
5128
  name: i[0],
5129
- abbrs: W(i[1].split(" "), g),
5130
- offsets: W(u, g),
5131
- untils: v,
5129
+ abbrs: f(i[1].split(" "), N),
5130
+ offsets: f(L, N),
5131
+ untils: C,
5132
5132
  population: i[5] | 0
5133
5133
  };
5134
5134
  }
@@ -5136,25 +5136,25 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5136
5136
  e && this._set(m(e));
5137
5137
  }
5138
5138
  function X(e, i) {
5139
- var u = i.length;
5139
+ var L = i.length;
5140
5140
  if (e < i[0])
5141
5141
  return 0;
5142
- if (u > 1 && i[u - 1] === 1 / 0 && e >= i[u - 2])
5143
- return u - 1;
5144
- if (e >= i[u - 1])
5142
+ if (L > 1 && i[L - 1] === 1 / 0 && e >= i[L - 2])
5143
+ return L - 1;
5144
+ if (e >= i[L - 1])
5145
5145
  return -1;
5146
- for (var g, v = 0, S = u - 1; S - v > 1; )
5147
- g = Math.floor((v + S) / 2), i[g] <= e ? v = g : S = g;
5148
- return S;
5146
+ for (var N, C = 0, D = L - 1; D - C > 1; )
5147
+ N = Math.floor((C + D) / 2), i[N] <= e ? C = N : D = N;
5148
+ return D;
5149
5149
  }
5150
5150
  h.prototype = {
5151
5151
  _set: function(e) {
5152
5152
  this.name = e.name, this.abbrs = e.abbrs, this.untils = e.untils, this.offsets = e.offsets, this.population = e.population;
5153
5153
  },
5154
5154
  _index: function(e) {
5155
- var i = +e, u = this.untils, g;
5156
- if (g = X(i, u), g >= 0)
5157
- return g;
5155
+ var i = +e, L = this.untils, N;
5156
+ if (N = X(i, L), N >= 0)
5157
+ return N;
5158
5158
  },
5159
5159
  countries: function() {
5160
5160
  var e = this.name;
@@ -5163,17 +5163,17 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5163
5163
  });
5164
5164
  },
5165
5165
  parse: function(e) {
5166
- var i = +e, u = this.offsets, g = this.untils, v = g.length - 1, S, Z, P, F;
5167
- for (F = 0; F < v; F++)
5168
- if (S = u[F], Z = u[F + 1], P = u[F && F - 1], S < Z && x.moveAmbiguousForward ? S = Z : S > P && x.moveInvalidForward && (S = P), i < g[F] - S * 6e4)
5169
- return u[F];
5170
- return u[v];
5166
+ var i = +e, L = this.offsets, N = this.untils, C = N.length - 1, D, Z, P, G;
5167
+ for (G = 0; G < C; G++)
5168
+ if (D = L[G], Z = L[G + 1], P = L[G && G - 1], D < Z && I.moveAmbiguousForward ? D = Z : D > P && I.moveInvalidForward && (D = P), i < N[G] - D * 6e4)
5169
+ return L[G];
5170
+ return L[C];
5171
5171
  },
5172
5172
  abbr: function(e) {
5173
5173
  return this.abbrs[this._index(e)];
5174
5174
  },
5175
5175
  offset: function(e) {
5176
- return N("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
5176
+ return t0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
5177
5177
  },
5178
5178
  utcOffset: function(e) {
5179
5179
  return this.offsets[this._index(e)];
@@ -5183,178 +5183,178 @@ var G0 = { exports: {} }, U0 = { exports: {} };
5183
5183
  this.name = e, this.zones = i;
5184
5184
  }
5185
5185
  function y(e) {
5186
- var i = e.toTimeString(), u = i.match(/\([a-z ]+\)/i);
5187
- u && u[0] ? (u = u[0].match(/[A-Z]/g), u = u ? u.join("") : void 0) : (u = i.match(/[A-Z]{3,5}/g), u = u ? u[0] : void 0), u === "GMT" && (u = void 0), this.at = +e, this.abbr = u, this.offset = e.getTimezoneOffset();
5186
+ var i = e.toTimeString(), L = i.match(/\([a-z ]+\)/i);
5187
+ L && L[0] ? (L = L[0].match(/[A-Z]/g), L = L ? L.join("") : void 0) : (L = i.match(/[A-Z]{3,5}/g), L = L ? L[0] : void 0), L === "GMT" && (L = void 0), this.at = +e, this.abbr = L, this.offset = e.getTimezoneOffset();
5188
5188
  }
5189
- function H(e) {
5189
+ function _(e) {
5190
5190
  this.zone = e, this.offsetScore = 0, this.abbrScore = 0;
5191
5191
  }
5192
- H.prototype.scoreOffsetAt = function(e) {
5192
+ _.prototype.scoreOffsetAt = function(e) {
5193
5193
  this.offsetScore += Math.abs(this.zone.utcOffset(e.at) - e.offset), this.zone.abbr(e.at).replace(/[^A-Z]/g, "") !== e.abbr && this.abbrScore++;
5194
5194
  };
5195
5195
  function K(e, i) {
5196
- for (var u, g; g = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5197
- u = new y(new Date(e.at + g)), u.offset === e.offset ? e = u : i = u;
5196
+ for (var L, N; N = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5197
+ L = new y(new Date(e.at + N)), L.offset === e.offset ? e = L : i = L;
5198
5198
  return e;
5199
5199
  }
5200
5200
  function V() {
5201
- var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), u = i.offset, g = [i], v, S, Z, P;
5201
+ var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new y(new Date(e, 0, 1)), L = i.offset, N = [i], C, D, Z, P;
5202
5202
  for (P = 1; P < 48; P++)
5203
- Z = new Date(e, P, 1).getTimezoneOffset(), Z !== u && (S = new y(new Date(e, P, 1)), v = K(i, S), g.push(v), g.push(new y(new Date(v.at + 6e4))), i = S, u = Z);
5203
+ Z = new Date(e, P, 1).getTimezoneOffset(), Z !== L && (D = new y(new Date(e, P, 1)), C = K(i, D), N.push(C), N.push(new y(new Date(C.at + 6e4))), i = D, L = Z);
5204
5204
  for (P = 0; P < 4; P++)
5205
- g.push(new y(new Date(e + P, 0, 1))), g.push(new y(new Date(e + P, 6, 1)));
5206
- return g;
5205
+ N.push(new y(new Date(e + P, 0, 1))), N.push(new y(new Date(e + P, 6, 1)));
5206
+ return N;
5207
5207
  }
5208
- function M0(e, i) {
5208
+ function u(e, i) {
5209
5209
  return e.offsetScore !== i.offsetScore ? e.offsetScore - i.offsetScore : e.abbrScore !== i.abbrScore ? e.abbrScore - i.abbrScore : e.zone.population !== i.zone.population ? i.zone.population - e.zone.population : i.zone.name.localeCompare(e.zone.name);
5210
5210
  }
5211
- function b0(e, i) {
5212
- var u, g;
5213
- for (B(i), u = 0; u < i.length; u++)
5214
- g = i[u], t[g] = t[g] || {}, t[g][e] = !0;
5215
- }
5216
- function t0(e) {
5217
- var i = e.length, u = {}, g = [], v = {}, S, Z, P, F;
5218
- for (S = 0; S < i; S++)
5219
- if (P = e[S].offset, !v.hasOwnProperty(P)) {
5220
- F = t[P] || {};
5221
- for (Z in F)
5222
- F.hasOwnProperty(Z) && (u[Z] = !0);
5223
- v[P] = !0;
5211
+ function g(e, i) {
5212
+ var L, N;
5213
+ for (B(i), L = 0; L < i.length; L++)
5214
+ N = i[L], t[N] = t[N] || {}, t[N][e] = !0;
5215
+ }
5216
+ function e0(e) {
5217
+ var i = e.length, L = {}, N = [], C = {}, D, Z, P, G;
5218
+ for (D = 0; D < i; D++)
5219
+ if (P = e[D].offset, !C.hasOwnProperty(P)) {
5220
+ G = t[P] || {};
5221
+ for (Z in G)
5222
+ G.hasOwnProperty(Z) && (L[Z] = !0);
5223
+ C[P] = !0;
5224
5224
  }
5225
- for (S in u)
5226
- u.hasOwnProperty(S) && g.push(A[S]);
5227
- return g;
5225
+ for (D in L)
5226
+ L.hasOwnProperty(D) && N.push(A[D]);
5227
+ return N;
5228
5228
  }
5229
- function l0() {
5229
+ function n0() {
5230
5230
  try {
5231
5231
  var e = Intl.DateTimeFormat().resolvedOptions().timeZone;
5232
5232
  if (e && e.length > 3) {
5233
- var i = A[a0(e)];
5233
+ var i = A[i0(e)];
5234
5234
  if (i)
5235
5235
  return i;
5236
- N("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
5236
+ t0("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
5237
5237
  }
5238
5238
  } catch {
5239
5239
  }
5240
- var u = V(), g = u.length, v = t0(u), S = [], Z, P, F;
5241
- for (P = 0; P < v.length; P++) {
5242
- for (Z = new H(z0(v[P])), F = 0; F < g; F++)
5243
- Z.scoreOffsetAt(u[F]);
5244
- S.push(Z);
5240
+ var L = V(), N = L.length, C = e0(L), D = [], Z, P, G;
5241
+ for (P = 0; P < C.length; P++) {
5242
+ for (Z = new _(p0(C[P])), G = 0; G < N; G++)
5243
+ Z.scoreOffsetAt(L[G]);
5244
+ D.push(Z);
5245
5245
  }
5246
- return S.sort(M0), S.length > 0 ? S[0].zone.name : void 0;
5246
+ return D.sort(u), D.length > 0 ? D[0].zone.name : void 0;
5247
5247
  }
5248
- function f0(e) {
5249
- return (!q || e) && (q = l0()), q;
5248
+ function h0(e) {
5249
+ return (!q || e) && (q = n0()), q;
5250
5250
  }
5251
- function a0(e) {
5251
+ function i0(e) {
5252
5252
  return (e || "").toLowerCase().replace(/\//g, "_");
5253
5253
  }
5254
- function s0(e) {
5255
- var i, u, g, v;
5254
+ function f0(e) {
5255
+ var i, L, N, C;
5256
5256
  for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5257
- g = e[i].split("|"), u = g[0], v = a0(u), O[v] = e[i], A[v] = u, b0(v, g[2].split(" "));
5257
+ N = e[i].split("|"), L = N[0], C = i0(L), O[C] = e[i], A[C] = L, g(C, N[2].split(" "));
5258
5258
  }
5259
- function z0(e, i) {
5260
- e = a0(e);
5261
- var u = O[e], g;
5262
- return u instanceof h ? u : typeof u == "string" ? (u = new h(u), O[e] = u, u) : p[e] && i !== z0 && (g = z0(p[e], z0)) ? (u = O[e] = new h(), u._set(g), u.name = A[e], u) : null;
5259
+ function p0(e, i) {
5260
+ e = i0(e);
5261
+ var L = O[e], N;
5262
+ return L instanceof h ? L : typeof L == "string" ? (L = new h(L), O[e] = L, L) : p[e] && i !== p0 && (N = p0(p[e], p0)) ? (L = O[e] = new h(), L._set(N), L.name = A[e], L) : null;
5263
5263
  }
5264
- function u0() {
5264
+ function m0() {
5265
5265
  var e, i = [];
5266
5266
  for (e in A)
5267
5267
  A.hasOwnProperty(e) && (O[e] || O[p[e]]) && A[e] && i.push(A[e]);
5268
5268
  return i.sort();
5269
5269
  }
5270
- function L0() {
5270
+ function B0() {
5271
5271
  return Object.keys(o);
5272
5272
  }
5273
- function W0(e) {
5274
- var i, u, g, v;
5273
+ function u0(e) {
5274
+ var i, L, N, C;
5275
5275
  for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5276
- u = e[i].split("|"), g = a0(u[0]), v = a0(u[1]), p[g] = v, A[g] = u[0], p[v] = g, A[v] = u[1];
5276
+ L = e[i].split("|"), N = i0(L[0]), C = i0(L[1]), p[N] = C, A[N] = L[0], p[C] = N, A[C] = L[1];
5277
5277
  }
5278
- function q0(e) {
5279
- var i, u, g, v;
5278
+ function r0(e) {
5279
+ var i, L, N, C;
5280
5280
  if (!(!e || !e.length))
5281
5281
  for (i = 0; i < e.length; i++)
5282
- v = e[i].split("|"), u = v[0].toUpperCase(), g = v[1].split(" "), o[u] = new E(
5283
- u,
5284
- g
5282
+ C = e[i].split("|"), L = C[0].toUpperCase(), N = C[1].split(" "), o[L] = new E(
5283
+ L,
5284
+ N
5285
5285
  );
5286
5286
  }
5287
- function n0(e) {
5287
+ function d0(e) {
5288
5288
  return e = e.toUpperCase(), o[e] || null;
5289
5289
  }
5290
- function R0(e, i) {
5291
- if (e = n0(e), !e)
5290
+ function g0(e, i) {
5291
+ if (e = d0(e), !e)
5292
5292
  return null;
5293
- var u = e.zones.sort();
5294
- return i ? u.map(function(g) {
5295
- var v = z0(g);
5293
+ var L = e.zones.sort();
5294
+ return i ? L.map(function(N) {
5295
+ var C = p0(N);
5296
5296
  return {
5297
- name: g,
5298
- offset: v.utcOffset(/* @__PURE__ */ new Date())
5297
+ name: N,
5298
+ offset: C.utcOffset(/* @__PURE__ */ new Date())
5299
5299
  };
5300
- }) : u;
5300
+ }) : L;
5301
5301
  }
5302
- function d0(e) {
5303
- s0(e.zones), W0(e.links), q0(e.countries), x.dataVersion = e.version;
5302
+ function s0(e) {
5303
+ f0(e.zones), u0(e.links), r0(e.countries), I.dataVersion = e.version;
5304
5304
  }
5305
- function D(e) {
5306
- return D.didShowError || (D.didShowError = !0, N("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!z0(e);
5305
+ function S(e) {
5306
+ return S.didShowError || (S.didShowError = !0, t0("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!p0(e);
5307
5307
  }
5308
- function L(e) {
5308
+ function b0(e) {
5309
5309
  var i = e._f === "X" || e._f === "x";
5310
5310
  return !!(e._a && e._tzm === void 0 && !i);
5311
5311
  }
5312
- function N(e) {
5312
+ function t0(e) {
5313
5313
  typeof console < "u" && typeof console.error == "function" && console.error(e);
5314
5314
  }
5315
- function x(e) {
5316
- var i = Array.prototype.slice.call(arguments, 0, -1), u = arguments[arguments.length - 1], g = M.utc.apply(null, i), v;
5317
- return !M.isMoment(e) && L(g) && (v = z0(u)) && g.add(v.parse(g), "minutes"), g.tz(u), g;
5318
- }
5319
- x.version = b, x.dataVersion = "", x._zones = O, x._links = p, x._names = A, x._countries = o, x.add = s0, x.link = W0, x.load = d0, x.zone = z0, x.zoneExists = D, x.guess = f0, x.names = u0, x.Zone = h, x.unpack = m, x.unpackBase60 = d, x.needsOffset = L, x.moveInvalidForward = !0, x.moveAmbiguousForward = !1, x.countries = L0, x.zonesForCountry = R0;
5320
- var $ = M.fn;
5321
- M.tz = x, M.defaultZone = null, M.updateOffset = function(e, i) {
5322
- var u = M.defaultZone, g;
5323
- if (e._z === void 0 && (u && L(e) && !e._isUTC && e.isValid() && (e._d = M.utc(e._a)._d, e.utc().add(u.parse(e), "minutes")), e._z = u), e._z)
5324
- if (g = e._z.utcOffset(e), Math.abs(g) < 16 && (g = g / 60), e.utcOffset !== void 0) {
5325
- var v = e._z;
5326
- e.utcOffset(-g, i), e._z = v;
5315
+ function I(e) {
5316
+ var i = Array.prototype.slice.call(arguments, 0, -1), L = arguments[arguments.length - 1], N = M.utc.apply(null, i), C;
5317
+ return !M.isMoment(e) && b0(N) && (C = p0(L)) && N.add(C.parse(N), "minutes"), N.tz(L), N;
5318
+ }
5319
+ I.version = b, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = f0, I.link = u0, I.load = s0, I.zone = p0, I.zoneExists = S, I.guess = h0, I.names = m0, I.Zone = h, I.unpack = m, I.unpackBase60 = d, I.needsOffset = b0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = B0, I.zonesForCountry = g0;
5320
+ var z0 = M.fn;
5321
+ M.tz = I, M.defaultZone = null, M.updateOffset = function(e, i) {
5322
+ var L = M.defaultZone, N;
5323
+ if (e._z === void 0 && (L && b0(e) && !e._isUTC && e.isValid() && (e._d = M.utc(e._a)._d, e.utc().add(L.parse(e), "minutes")), e._z = L), e._z)
5324
+ if (N = e._z.utcOffset(e), Math.abs(N) < 16 && (N = N / 60), e.utcOffset !== void 0) {
5325
+ var C = e._z;
5326
+ e.utcOffset(-N, i), e._z = C;
5327
5327
  } else
5328
- e.zone(g, i);
5329
- }, $.tz = function(e, i) {
5328
+ e.zone(N, i);
5329
+ }, z0.tz = function(e, i) {
5330
5330
  if (e) {
5331
5331
  if (typeof e != "string")
5332
5332
  throw new Error("Time zone name must be a string, got " + e + " [" + typeof e + "]");
5333
- return this._z = z0(e), this._z ? M.updateOffset(this, i) : N("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5333
+ return this._z = p0(e), this._z ? M.updateOffset(this, i) : t0("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5334
5334
  }
5335
5335
  if (this._z)
5336
5336
  return this._z.name;
5337
5337
  };
5338
- function h0(e) {
5338
+ function W0(e) {
5339
5339
  return function() {
5340
5340
  return this._z ? this._z.abbr(this) : e.call(this);
5341
5341
  };
5342
5342
  }
5343
- function m0(e) {
5343
+ function l0(e) {
5344
5344
  return function() {
5345
5345
  return this._z = null, e.apply(this, arguments);
5346
5346
  };
5347
5347
  }
5348
- function B0(e) {
5348
+ function L0(e) {
5349
5349
  return function() {
5350
5350
  return arguments.length > 0 && (this._z = null), e.apply(this, arguments);
5351
5351
  };
5352
5352
  }
5353
- $.zoneName = h0($.zoneName), $.zoneAbbr = h0($.zoneAbbr), $.utc = m0($.utc), $.local = m0($.local), $.utcOffset = B0($.utcOffset), M.tz.setDefault = function(e) {
5354
- return (a < 2 || a === 2 && n < 9) && N("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? z0(e) : null, M;
5353
+ z0.zoneName = W0(z0.zoneName), z0.zoneAbbr = W0(z0.zoneAbbr), z0.utc = l0(z0.utc), z0.local = l0(z0.local), z0.utcOffset = L0(z0.utcOffset), M.tz.setDefault = function(e) {
5354
+ return (a < 2 || a === 2 && n < 9) && t0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? p0(e) : null, M;
5355
5355
  };
5356
- var c0 = M.momentProperties;
5357
- return Object.prototype.toString.call(c0) === "[object Array]" ? (c0.push("_z"), c0.push("_a")) : c0 && (c0._z = null), M;
5356
+ var o0 = M.momentProperties;
5357
+ return Object.prototype.toString.call(o0) === "[object Array]" ? (o0.push("_z"), o0.push("_a")) : o0 && (o0._z = null), M;
5358
5358
  });
5359
5359
  })(U0);
5360
5360
  var Z2 = U0.exports;
@@ -6353,17 +6353,17 @@ const AM = {
6353
6353
  },
6354
6354
  computeLat() {
6355
6355
  return function(z, M = 4) {
6356
- return O0.lat2pretty(z, M).pretty;
6356
+ return M0.lat2pretty(z, M).pretty;
6357
6357
  };
6358
6358
  },
6359
6359
  computeLng() {
6360
6360
  return function(z, M = 4) {
6361
- return O0.lng2pretty(z, M).pretty;
6361
+ return M0.lng2pretty(z, M).pretty;
6362
6362
  };
6363
6363
  },
6364
6364
  roundPrecision() {
6365
6365
  return function(z, M = 4) {
6366
- return isNaN(z) ? "-" : O0.roundPrecision(z, M);
6366
+ return isNaN(z) ? "-" : M0.roundPrecision(z, M);
6367
6367
  };
6368
6368
  }
6369
6369
  },
@@ -6379,7 +6379,7 @@ const AM = {
6379
6379
  forecastDays: b ?? 7,
6380
6380
  weatherModels: p,
6381
6381
  marineModels: o
6382
- }, t = await g0.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, A, {
6382
+ }, t = await R0.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, A, {
6383
6383
  headers: {
6384
6384
  Authorization: this.token || this.defaultMeteoToken
6385
6385
  }
@@ -6396,7 +6396,7 @@ const AM = {
6396
6396
  pastDays: 1,
6397
6397
  weatherModels: O,
6398
6398
  marineModels: p
6399
- }, A = await g0.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, o, {
6399
+ }, A = await R0.post(`${this.gateway}/api/arc/meteo2/spot/forecast`, o, {
6400
6400
  headers: {
6401
6401
  Authorization: this.token || this.defaultMeteoToken
6402
6402
  }
@@ -6406,23 +6406,23 @@ const AM = {
6406
6406
  initTableData(z) {
6407
6407
  var M, b, O, p, o, A, t;
6408
6408
  this.clearTable(), this.positionGmt = (b = (M = z == null ? void 0 : z.weather) == null ? void 0 : M[0]) == null ? void 0 : b.timezone, this.positionOffset = (p = (O = z == null ? void 0 : z.weather) == null ? void 0 : O[0]) == null ? void 0 : p.offset, this.localDate = (A = (o = T0(this.ts)) == null ? void 0 : o.tz(this.positionGmt)) == null ? void 0 : A.format("MMM-DD/HHmm[LT]"), this.currentHourData = (t = v0.pickHourly(z, Y(this.ts))) == null ? void 0 : t[0], this.$nextTick(() => {
6409
- var r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0;
6409
+ var r, a, n, l, d, B, R, f, m, h, X, E, y, _, K, V, u, g, e0, n0, h0, i0, f0, p0, m0, B0, u0, r0, d0, g0, s0, S, b0, t0, I, z0, W0, l0, L0;
6410
6410
  const q = document.getElementById("meteoMainBox");
6411
6411
  if (!q)
6412
6412
  return !1;
6413
- if (q.className = "main-box", q.style.backgroundImage = null, q.style.backgroundPosition = "top left", ((a = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : a.code) === 0 && ((s = (n = this.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : s.isDay) === 0)
6413
+ if (q.className = "main-box", q.style.backgroundImage = null, q.style.backgroundPosition = "top left", ((a = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : a.code) === 0 && ((l = (n = this.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : l.isDay) === 0)
6414
6414
  q.className = "main-box night-bg";
6415
6415
  else {
6416
- const c0 = (B = (d = this.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.bg;
6417
- c0 ? (q.className = "main-box font-color-white", q.style.backgroundImage = `url(${c0})`, (c0 === "https://osshz.idmwx.com/asset/weather/bg2.png" || c0 === "https://osshz.idmwx.com/asset/weather/bg5.png") && (q.style.backgroundPosition = "right bottom")) : q.className = "main-box day-bg";
6416
+ const o0 = (B = (d = this.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.bg;
6417
+ o0 ? (q.className = "main-box font-color-white", q.style.backgroundImage = `url(${o0})`, (o0 === "https://osshz.idmwx.com/asset/weather/bg2.png" || o0 === "https://osshz.idmwx.com/asset/weather/bg5.png") && (q.style.backgroundPosition = "right bottom")) : q.className = "main-box day-bg";
6418
6418
  }
6419
6419
  if (!this.currentHourData)
6420
6420
  return this.loading = !1, this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender(), !1;
6421
- for (let c0 = 0; c0 < 8; c0++) {
6422
- const e = T0(this.ts).tz(this.positionGmt).add(3 * c0, "h").format();
6421
+ for (let o0 = 0; o0 < 8; o0++) {
6422
+ const e = T0(this.ts).tz(this.positionGmt).add(3 * o0, "h").format();
6423
6423
  this.tableData.hours.push(e);
6424
6424
  const i = ((R = v0.pickHourly(z, e)) == null ? void 0 : R[0]) || {};
6425
- this.tableData.temp.push(this.roundPrecision((W = i == null ? void 0 : i.weather) == null ? void 0 : W.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((h = (m = i == null ? void 0 : i.weather) == null ? void 0 : m.precip) == null ? void 0 : h.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((K = (H = i == null ? void 0 : i.weather) == null ? void 0 : H.wind) == null ? void 0 : K.kts, 1) ?? "-"), this.tableData.windDir.push((M0 = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : M0.bearing), this.tableData.windGust.push(this.roundPrecision((t0 = (b0 = i == null ? void 0 : i.weather) == null ? void 0 : b0.wind) == null ? void 0 : t0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((f0 = (l0 = i == null ? void 0 : i.wave) == null ? void 0 : l0.sig) == null ? void 0 : f0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((s0 = (a0 = i == null ? void 0 : i.wave) == null ? void 0 : a0.sig) == null ? void 0 : s0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((u0 = (z0 = i == null ? void 0 : i.wave) == null ? void 0 : z0.wd) == null ? void 0 : u0.height, 1) ?? "-"), this.tableData.windwaveDir.push((W0 = (L0 = i == null ? void 0 : i.wave) == null ? void 0 : L0.wd) == null ? void 0 : W0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((n0 = (q0 = i == null ? void 0 : i.wave) == null ? void 0 : q0.wd) == null ? void 0 : n0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((d0 = (R0 = i == null ? void 0 : i.wave) == null ? void 0 : R0.swell) == null ? void 0 : d0.height, 1) ?? "-"), this.tableData.swellDir.push((L = (D = i == null ? void 0 : i.wave) == null ? void 0 : D.swell) == null ? void 0 : L.bearing), this.tableData.swellPeriod.push(this.roundPrecision((x = (N = i == null ? void 0 : i.wave) == null ? void 0 : N.swell) == null ? void 0 : x.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision(($ = i == null ? void 0 : i.current) == null ? void 0 : $.speed, 1) ?? "-"), this.tableData.currentDir.push((h0 = i == null ? void 0 : i.current) == null ? void 0 : h0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((m0 = i == null ? void 0 : i.weather) == null ? void 0 : m0.url), this.tableData.weatherNames.push(((B0 = i == null ? void 0 : i.weather) == null ? void 0 : B0.name) ?? "-");
6425
+ this.tableData.temp.push(this.roundPrecision((f = i == null ? void 0 : i.weather) == null ? void 0 : f.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((h = (m = i == null ? void 0 : i.weather) == null ? void 0 : m.precip) == null ? void 0 : h.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((E = (X = i == null ? void 0 : i.weather) == null ? void 0 : X.precip) == null ? void 0 : E.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((y = i == null ? void 0 : i.weather) == null ? void 0 : y.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((K = (_ = i == null ? void 0 : i.weather) == null ? void 0 : _.wind) == null ? void 0 : K.kts, 1) ?? "-"), this.tableData.windDir.push((u = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : u.bearing), this.tableData.windGust.push(this.roundPrecision((e0 = (g = i == null ? void 0 : i.weather) == null ? void 0 : g.wind) == null ? void 0 : e0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((h0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((f0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : f0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((m0 = (p0 = i == null ? void 0 : i.wave) == null ? void 0 : p0.wd) == null ? void 0 : m0.height, 1) ?? "-"), this.tableData.windwaveDir.push((u0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.wd) == null ? void 0 : u0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((d0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : d0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((s0 = (g0 = i == null ? void 0 : i.wave) == null ? void 0 : g0.swell) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.swellDir.push((b0 = (S = i == null ? void 0 : i.wave) == null ? void 0 : S.swell) == null ? void 0 : b0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((I = (t0 = i == null ? void 0 : i.wave) == null ? void 0 : t0.swell) == null ? void 0 : I.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((z0 = i == null ? void 0 : i.current) == null ? void 0 : z0.speed, 1) ?? "-"), this.tableData.currentDir.push((W0 = i == null ? void 0 : i.current) == null ? void 0 : W0.bearing), this.tableData.seaLevel.push(this.roundPrecision(i == null ? void 0 : i.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(i == null ? void 0 : i.sst, 0) ?? "-"), this.tableData.weatherUrls.push((l0 = i == null ? void 0 : i.weather) == null ? void 0 : l0.url), this.tableData.weatherNames.push(((L0 = i == null ? void 0 : i.weather) == null ? void 0 : L0.name) ?? "-");
6426
6426
  }
6427
6427
  });
6428
6428
  },
@@ -6465,7 +6465,7 @@ const AM = {
6465
6465
  forecastDays: b ?? 7,
6466
6466
  extremes: !0,
6467
6467
  heights: !1
6468
- }, o = await g0.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, p, {
6468
+ }, o = await R0.post(`${this.gateway}/api/arc/meteo2/spot/tides/forecast`, p, {
6469
6469
  headers: {
6470
6470
  Authorization: this.token || this.defaultMeteoToken
6471
6471
  }
@@ -6511,129 +6511,97 @@ const AM = {
6511
6511
  key: 1,
6512
6512
  class: "icon flex-center",
6513
6513
  style: { "margin-right": "5px" }
6514
- }, lM = { class: "temp" }, fM = { class: "des info" }, uM = { class: "flex-start" }, LM = { class: "flex-start" }, RM = { class: "flex-start" }, hM = { class: "date flex-col-center-end" }, mM = { class: "" }, BM = { class: "" }, gM = { class: "detail-box" }, NM = { class: "menu-header flex-start" }, yM = { class: "basic-table" }, XM = { class: "hour" }, wM = { class: "hour" }, CM = { class: "icon" }, vM = ["src"], TM = { class: "text" }, EM = { class: "text" }, xM = { class: "text" }, IM = { class: "text" }, DM = { class: "wave-current-table" }, SM = { class: "hour" }, PM = { class: "hour" }, kM = { class: "icon" }, QM = ["src"], HM = { class: "text" }, _M = { class: "text" }, jM = { class: "text" }, FM = { class: "text" }, GM = { class: "sea-table" }, UM = { class: "hour" }, KM = { class: "hour" }, JM = { class: "icon" }, YM = ["src"], VM = { class: "text" }, ZM = { class: "text" }, $M = { class: "text" }, Mb = { class: "text" }, bb = { class: "tide-table flex-col-start-center" }, zb = { class: "tr-tide flex-space" }, pb = {
6515
- rowspan: "1",
6516
- colspan: "1",
6517
- class: ""
6518
- }, Ob = {
6519
- rowspan: "1",
6520
- colspan: "1",
6521
- class: ""
6522
- }, ob = {
6523
- rowspan: "1",
6524
- colspan: "1",
6525
- class: ""
6526
- }, cb = {
6527
- rowspan: "1",
6528
- colspan: "1",
6529
- class: ""
6530
- }, Ab = { class: "tr-tide flex-space" }, eb = {
6531
- rowspan: "1",
6532
- colspan: "1",
6533
- class: ""
6534
- }, tb = {
6535
- rowspan: "1",
6536
- colspan: "1",
6537
- class: ""
6538
- }, ab = {
6539
- rowspan: "1",
6540
- colspan: "1",
6541
- class: ""
6542
- }, qb = {
6543
- rowspan: "1",
6544
- colspan: "1",
6545
- class: ""
6546
- }, ib = {
6514
+ }, lM = { class: "temp" }, fM = { class: "des info" }, uM = { class: "flex-start" }, LM = { class: "flex-start" }, RM = { class: "flex-start" }, hM = { class: "date flex-col-center-end" }, mM = { class: "" }, BM = { class: "" }, gM = { class: "detail-box" }, NM = { class: "menu-header flex-start" }, yM = { class: "basic-table" }, XM = { class: "hour" }, wM = { class: "hour" }, CM = { class: "icon" }, vM = ["src"], TM = { class: "text" }, EM = { class: "text" }, xM = { class: "text" }, IM = { class: "text" }, DM = { class: "wave-current-table" }, SM = { class: "hour" }, PM = { class: "hour" }, kM = { class: "icon" }, QM = ["src"], HM = { class: "text" }, _M = { class: "text" }, jM = { class: "text" }, FM = { class: "text" }, GM = { class: "sea-table" }, UM = { class: "hour" }, KM = { class: "hour" }, JM = { class: "icon" }, YM = ["src"], VM = { class: "text" }, ZM = { class: "text" }, $M = { class: "text" }, Mb = { class: "text" }, bb = { class: "tide-table flex-col-start-center" }, zb = { class: "tr-tide flex-space" }, pb = { class: "tr-tide flex-space" }, Ob = { class: "tr-tide flex-space" }, ob = {
6547
6515
  key: 1,
6548
6516
  class: "main-box flex-center"
6549
6517
  };
6550
- function rb(z, M, b, O, p, o) {
6551
- var r, a, n, s, d, B, R, W, m, h, X, E, y, H, K, V, M0, b0, t0, l0, f0, a0, s0, z0, u0, L0, W0, q0, n0, R0, d0, D;
6552
- const A = I("LocationFilled"), t = I("ElIcon"), q = I("ElTooltip");
6553
- return y0((l(), f("div", eM, [
6518
+ function cb(z, M, b, O, p, o) {
6519
+ var r, a, n, l, d, B, R, f, m, h, X, E, y, _, K, V;
6520
+ const A = x("LocationFilled"), t = x("ElIcon"), q = x("ElTooltip");
6521
+ return y0((s(), W("div", eM, [
6554
6522
  c("div", tM, [
6555
6523
  c("div", aM, [
6556
6524
  c("div", qM, [
6557
- C(t, { size: "22" }, {
6558
- default: A0(() => [
6559
- C(A)
6525
+ w(t, { size: "22" }, {
6526
+ default: c0(() => [
6527
+ w(A)
6560
6528
  ]),
6561
6529
  _: 1
6562
6530
  }),
6563
- c("div", iM, w(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + w(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6531
+ c("div", iM, T(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + T(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6564
6532
  ]),
6565
6533
  c("div", {
6566
6534
  class: "iconfont close",
6567
- onClick: M[0] || (M[0] = (...L) => o.handleCloseMeteo && o.handleCloseMeteo(...L))
6535
+ onClick: M[0] || (M[0] = (...u) => o.handleCloseMeteo && o.handleCloseMeteo(...u))
6568
6536
  }, "")
6569
6537
  ]),
6570
- p.loading ? (l(), f("div", ib, M[33] || (M[33] = [
6538
+ p.loading ? (s(), W("div", ob, M[32] || (M[32] = [
6571
6539
  c("img", { src: cM }, null, -1)
6572
- ]))) : (l(), f("div", rM, [
6540
+ ]))) : (s(), W("div", rM, [
6573
6541
  c("div", nM, [
6574
6542
  c("div", dM, [
6575
- C(q, {
6543
+ w(q, {
6576
6544
  placement: "top",
6577
6545
  effect: "light",
6578
- content: (s = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : s.name,
6546
+ content: (l = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : l.name,
6579
6547
  "show-after": 1e3
6580
6548
  }, {
6581
- default: A0(() => {
6582
- var L, N, x, $;
6549
+ default: c0(() => {
6550
+ var u, g, e0, n0;
6583
6551
  return [
6584
- (N = (L = p.currentHourData) == null ? void 0 : L.weather) != null && N.url ? (l(), f("img", {
6552
+ (g = (u = p.currentHourData) == null ? void 0 : u.weather) != null && g.url ? (s(), W("img", {
6585
6553
  key: 0,
6586
6554
  class: "iconfont icon",
6587
6555
  style: { "margin-right": "5px" },
6588
- src: ($ = (x = p.currentHourData) == null ? void 0 : x.weather) == null ? void 0 : $.url
6589
- }, null, 8, sM)) : (l(), f("span", WM))
6556
+ src: (n0 = (e0 = p.currentHourData) == null ? void 0 : e0.weather) == null ? void 0 : n0.url
6557
+ }, null, 8, sM)) : (s(), W("span", WM))
6590
6558
  ];
6591
6559
  }),
6592
6560
  _: 1
6593
6561
  }, 8, ["content"]),
6594
6562
  c("div", lM, [
6595
6563
  c("div", null, [
6596
- p0(w(o.roundPrecision((B = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.temp, 0)), 1),
6564
+ $(T(o.roundPrecision((B = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : B.temp, 0)), 1),
6597
6565
  M[6] || (M[6] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6598
6566
  ])
6599
6567
  ]),
6600
6568
  c("div", fM, [
6601
6569
  c("div", uM, [
6602
6570
  M[7] || (M[7] = c("label", null, "Precip : ", -1)),
6603
- c("span", null, w(o.roundPrecision((m = (W = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : W.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6571
+ c("span", null, T(o.roundPrecision((m = (f = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : f.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6604
6572
  ]),
6605
6573
  c("div", LM, [
6606
6574
  M[8] || (M[8] = c("label", null, "Visibility : ", -1)),
6607
- c("span", null, w(o.roundPrecision((X = (h = p.currentHourData) == null ? void 0 : h.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6575
+ c("span", null, T(o.roundPrecision((X = (h = p.currentHourData) == null ? void 0 : h.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6608
6576
  ]),
6609
6577
  c("div", RM, [
6610
6578
  M[9] || (M[9] = c("label", null, "Wind : ", -1)),
6611
- c("span", null, w(o.roundPrecision((H = (y = (E = p.currentHourData) == null ? void 0 : E.weather) == null ? void 0 : y.wind) == null ? void 0 : H.kts, 1)) + " kts", 1)
6579
+ c("span", null, T(o.roundPrecision((_ = (y = (E = p.currentHourData) == null ? void 0 : E.weather) == null ? void 0 : y.wind) == null ? void 0 : _.kts, 1)) + " kts", 1)
6612
6580
  ])
6613
6581
  ])
6614
6582
  ]),
6615
6583
  c("div", hM, [
6616
- c("div", mM, w(p.localDate), 1),
6617
- c("div", BM, "( UTC " + w(p.positionOffset) + " )", 1)
6584
+ c("div", mM, T(p.localDate), 1),
6585
+ c("div", BM, "( UTC " + T(p.positionOffset) + " )", 1)
6618
6586
  ])
6619
6587
  ]),
6620
6588
  y0(c("div", gM, [
6621
6589
  c("div", NM, [
6622
6590
  c("div", {
6623
6591
  class: U(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6624
- onClick: M[1] || (M[1] = E0((L) => o.handleSelectTab(1), ["prevent"]))
6592
+ onClick: M[1] || (M[1] = E0((u) => o.handleSelectTab(1), ["prevent"]))
6625
6593
  }, "Basis", 2),
6626
6594
  c("div", {
6627
6595
  class: U(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6628
- onClick: M[2] || (M[2] = E0((L) => o.handleSelectTab(2), ["prevent"]))
6596
+ onClick: M[2] || (M[2] = E0((u) => o.handleSelectTab(2), ["prevent"]))
6629
6597
  }, "Wave & Current", 2),
6630
6598
  c("div", {
6631
6599
  class: U(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6632
- onClick: M[3] || (M[3] = E0((L) => o.handleSelectTab(3), ["prevent"]))
6600
+ onClick: M[3] || (M[3] = E0((u) => o.handleSelectTab(3), ["prevent"]))
6633
6601
  }, "Sea Surface", 2),
6634
6602
  c("div", {
6635
6603
  class: U(["menu-item", p.activeIndex === 4 ? "active" : ""]),
6636
- onClick: M[4] || (M[4] = E0((L) => o.handleSelectTab(4), ["prevent"]))
6604
+ onClick: M[4] || (M[4] = E0((u) => o.handleSelectTab(4), ["prevent"]))
6637
6605
  }, "Tides", 2)
6638
6606
  ]),
6639
6607
  y0(c("table", yM, [
@@ -6643,14 +6611,14 @@ function rb(z, M, b, O, p, o) {
6643
6611
  colspan: "1",
6644
6612
  class: "tr-title"
6645
6613
  }, [
6646
- p0("Hours"),
6614
+ $("Hours"),
6647
6615
  c("span", { class: "unit" }, "(LT)")
6648
6616
  ], -1)),
6649
- (l(!0), f(j, null, G(p.tableData.hours, (L) => (l(), f("th", {
6617
+ (s(!0), W(H, null, j(p.tableData.hours, (u) => (s(), W("th", {
6650
6618
  rowspan: "1",
6651
6619
  colspan: "1",
6652
- key: `HourL${L}`
6653
- }, w(o.computeHourL(L)), 1))), 128))
6620
+ key: `HourL${u}`
6621
+ }, T(o.computeHourL(u)), 1))), 128))
6654
6622
  ]),
6655
6623
  c("tr", wM, [
6656
6624
  M[11] || (M[11] = c("th", {
@@ -6658,14 +6626,14 @@ function rb(z, M, b, O, p, o) {
6658
6626
  colspan: "1",
6659
6627
  class: "tr-title"
6660
6628
  }, [
6661
- p0("UTC"),
6629
+ $("UTC"),
6662
6630
  c("span", { class: "unit" })
6663
6631
  ], -1)),
6664
- (l(!0), f(j, null, G(p.tableData.hours, (L) => (l(), f("th", {
6632
+ (s(!0), W(H, null, j(p.tableData.hours, (u) => (s(), W("th", {
6665
6633
  rowspan: "1",
6666
6634
  colspan: "1",
6667
- key: `HourZ${L}`
6668
- }, w(o.computeHourZ(L)), 1))), 128))
6635
+ key: `HourZ${u}`
6636
+ }, T(o.computeHourZ(u)), 1))), 128))
6669
6637
  ]),
6670
6638
  c("tr", CM, [
6671
6639
  M[12] || (M[12] = c("th", {
@@ -6673,23 +6641,23 @@ function rb(z, M, b, O, p, o) {
6673
6641
  colspan: "1",
6674
6642
  class: "tr-title"
6675
6643
  }, null, -1)),
6676
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6644
+ (s(!0), W(H, null, j(p.tableData.weatherUrls, (u, g) => (s(), W("th", {
6677
6645
  rowspan: "1",
6678
6646
  colspan: "1",
6679
- key: `weatherUrls${N}${L}`
6647
+ key: `weatherUrls${g}${u}`
6680
6648
  }, [
6681
- C(q, {
6649
+ w(q, {
6682
6650
  placement: "top",
6683
6651
  effect: "light",
6684
- content: p.tableData.weatherNames[N],
6652
+ content: p.tableData.weatherNames[g],
6685
6653
  "show-after": 500
6686
6654
  }, {
6687
- default: A0(() => [
6688
- L ? (l(), f("img", {
6655
+ default: c0(() => [
6656
+ u ? (s(), W("img", {
6689
6657
  key: 0,
6690
6658
  class: "iconfont weather-icon",
6691
- src: L
6692
- }, null, 8, vM)) : _("", !0)
6659
+ src: u
6660
+ }, null, 8, vM)) : F("", !0)
6693
6661
  ]),
6694
6662
  _: 2
6695
6663
  }, 1032, ["content"])
@@ -6701,14 +6669,14 @@ function rb(z, M, b, O, p, o) {
6701
6669
  colspan: "1",
6702
6670
  class: "tr-title"
6703
6671
  }, [
6704
- p0("Temp"),
6672
+ $("Temp"),
6705
6673
  c("span", { class: "unit" }, "°C")
6706
6674
  ], -1)),
6707
- (l(!0), f(j, null, G(p.tableData.temp, (L, N) => (l(), f("td", {
6675
+ (s(!0), W(H, null, j(p.tableData.temp, (u, g) => (s(), W("td", {
6708
6676
  rowspan: "1",
6709
6677
  colspan: "1",
6710
- key: `weatherUrls${N}${L}`
6711
- }, w(L), 1))), 128))
6678
+ key: `weatherUrls${g}${u}`
6679
+ }, T(u), 1))), 128))
6712
6680
  ]),
6713
6681
  c("tr", EM, [
6714
6682
  M[14] || (M[14] = c("td", {
@@ -6716,14 +6684,14 @@ function rb(z, M, b, O, p, o) {
6716
6684
  colspan: "1",
6717
6685
  class: "tr-title"
6718
6686
  }, [
6719
- p0("Precip"),
6687
+ $("Precip"),
6720
6688
  c("span", { class: "unit" }, "mm")
6721
6689
  ], -1)),
6722
- (l(!0), f(j, null, G(p.tableData.precip1h, (L, N) => (l(), f("td", {
6690
+ (s(!0), W(H, null, j(p.tableData.precip1h, (u, g) => (s(), W("td", {
6723
6691
  rowspan: "1",
6724
6692
  colspan: "1",
6725
- key: `precip1h${N}${L}`
6726
- }, w(L), 1))), 128))
6693
+ key: `precip1h${g}${u}`
6694
+ }, T(u), 1))), 128))
6727
6695
  ]),
6728
6696
  c("tr", xM, [
6729
6697
  M[15] || (M[15] = c("td", {
@@ -6731,14 +6699,14 @@ function rb(z, M, b, O, p, o) {
6731
6699
  colspan: "1",
6732
6700
  class: "tr-title"
6733
6701
  }, [
6734
- p0("Visibility"),
6702
+ $("Visibility"),
6735
6703
  c("span", { class: "unit" }, "nm")
6736
6704
  ], -1)),
6737
- (l(!0), f(j, null, G(p.tableData.visibility, (L, N) => (l(), f("td", {
6705
+ (s(!0), W(H, null, j(p.tableData.visibility, (u, g) => (s(), W("td", {
6738
6706
  rowspan: "1",
6739
6707
  colspan: "1",
6740
- key: `visibility${N}${L}`
6741
- }, w(L), 1))), 128))
6708
+ key: `visibility${g}${u}`
6709
+ }, T(u), 1))), 128))
6742
6710
  ]),
6743
6711
  c("tr", IM, [
6744
6712
  M[16] || (M[16] = c("td", {
@@ -6746,20 +6714,20 @@ function rb(z, M, b, O, p, o) {
6746
6714
  colspan: "1",
6747
6715
  class: "tr-title"
6748
6716
  }, [
6749
- p0("Wind"),
6717
+ $("Wind"),
6750
6718
  c("span", { class: "unit" }, "kts")
6751
6719
  ], -1)),
6752
- (l(!0), f(j, null, G(p.tableData.windSpeed, (L, N) => (l(), f("td", {
6720
+ (s(!0), W(H, null, j(p.tableData.windSpeed, (u, g) => (s(), W("td", {
6753
6721
  rowspan: "1",
6754
6722
  colspan: "1",
6755
- key: `windSpeed${N}${L}`
6723
+ key: `windSpeed${g}${u}`
6756
6724
  }, [
6757
- isNaN(p.tableData.windDir[N]) ? _("", !0) : (l(), f("span", {
6725
+ isNaN(p.tableData.windDir[g]) ? F("", !0) : (s(), W("span", {
6758
6726
  key: 0,
6759
6727
  class: "iconfont icon blue",
6760
- style: o0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[N]}deg)` })
6728
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[g]}deg)` })
6761
6729
  }, "", 4)),
6762
- c("span", null, w(L), 1)
6730
+ c("span", null, T(u), 1)
6763
6731
  ]))), 128))
6764
6732
  ])
6765
6733
  ], 512), [
@@ -6772,14 +6740,14 @@ function rb(z, M, b, O, p, o) {
6772
6740
  colspan: "1",
6773
6741
  class: "tr-title"
6774
6742
  }, [
6775
- p0("Hours"),
6743
+ $("Hours"),
6776
6744
  c("span", { class: "unit" }, "(LT)")
6777
6745
  ], -1)),
6778
- (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6746
+ (s(!0), W(H, null, j(p.tableData.hours, (u, g) => (s(), W("th", {
6779
6747
  rowspan: "1",
6780
6748
  colspan: "1",
6781
- key: `currenthoursL${N}${L}`
6782
- }, w(o.computeHourL(L)), 1))), 128))
6749
+ key: `currenthoursL${g}${u}`
6750
+ }, T(o.computeHourL(u)), 1))), 128))
6783
6751
  ]),
6784
6752
  c("tr", PM, [
6785
6753
  M[18] || (M[18] = c("th", {
@@ -6787,37 +6755,37 @@ function rb(z, M, b, O, p, o) {
6787
6755
  colspan: "1",
6788
6756
  class: "tr-title"
6789
6757
  }, [
6790
- p0("UTC"),
6758
+ $("UTC"),
6791
6759
  c("span", { class: "unit" })
6792
6760
  ], -1)),
6793
- (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6761
+ (s(!0), W(H, null, j(p.tableData.hours, (u, g) => (s(), W("th", {
6794
6762
  rowspan: "1",
6795
6763
  colspan: "1",
6796
- key: `currenthoursZ${N}${L}`
6797
- }, w(o.computeHourZ(L)), 1))), 128))
6764
+ key: `currenthoursZ${g}${u}`
6765
+ }, T(o.computeHourZ(u)), 1))), 128))
6798
6766
  ]),
6799
6767
  c("tr", kM, [
6800
6768
  M[19] || (M[19] = c("th", {
6801
6769
  rowspan: "1",
6802
6770
  colspan: "1"
6803
6771
  }, null, -1)),
6804
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6772
+ (s(!0), W(H, null, j(p.tableData.weatherUrls, (u, g) => (s(), W("th", {
6805
6773
  rowspan: "1",
6806
6774
  colspan: "1",
6807
- key: `currentweatherUrls${N}${L}`
6775
+ key: `currentweatherUrls${g}${u}`
6808
6776
  }, [
6809
- C(q, {
6777
+ w(q, {
6810
6778
  placement: "top",
6811
6779
  effect: "light",
6812
- content: p.tableData.weatherNames[N],
6780
+ content: p.tableData.weatherNames[g],
6813
6781
  "show-after": 500
6814
6782
  }, {
6815
- default: A0(() => [
6816
- L ? (l(), f("img", {
6783
+ default: c0(() => [
6784
+ u ? (s(), W("img", {
6817
6785
  key: 0,
6818
6786
  class: "iconfont weather-icon",
6819
- src: L
6820
- }, null, 8, QM)) : _("", !0)
6787
+ src: u
6788
+ }, null, 8, QM)) : F("", !0)
6821
6789
  ]),
6822
6790
  _: 2
6823
6791
  }, 1032, ["content"])
@@ -6829,20 +6797,20 @@ function rb(z, M, b, O, p, o) {
6829
6797
  colspan: "1",
6830
6798
  class: "tr-title"
6831
6799
  }, [
6832
- p0("Sig Wave"),
6800
+ $("Sig Wave"),
6833
6801
  c("span", { class: "unit" }, "m")
6834
6802
  ], -1)),
6835
- (l(!0), f(j, null, G(p.tableData.sigwaveHeight, (L, N) => (l(), f("td", {
6803
+ (s(!0), W(H, null, j(p.tableData.sigwaveHeight, (u, g) => (s(), W("td", {
6836
6804
  rowspan: "1",
6837
6805
  colspan: "1",
6838
- key: `sigwaveHeight${N}${L}`
6806
+ key: `sigwaveHeight${g}${u}`
6839
6807
  }, [
6840
- isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6808
+ isNaN(p.tableData.sigwaveDir[g]) ? F("", !0) : (s(), W("span", {
6841
6809
  key: 0,
6842
6810
  class: "iconfont icon blue",
6843
- style: o0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6811
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[g]}deg)` })
6844
6812
  }, "", 4)),
6845
- c("span", null, w(L), 1)
6813
+ c("span", null, T(u), 1)
6846
6814
  ]))), 128))
6847
6815
  ]),
6848
6816
  c("tr", _M, [
@@ -6851,20 +6819,20 @@ function rb(z, M, b, O, p, o) {
6851
6819
  colspan: "1",
6852
6820
  class: "tr-title"
6853
6821
  }, [
6854
- p0("Wind Wave"),
6822
+ $("Wind Wave"),
6855
6823
  c("span", { class: "unit" }, "m")
6856
6824
  ], -1)),
6857
- (l(!0), f(j, null, G(p.tableData.windwaveHeight, (L, N) => (l(), f("td", {
6825
+ (s(!0), W(H, null, j(p.tableData.windwaveHeight, (u, g) => (s(), W("td", {
6858
6826
  rowspan: "1",
6859
6827
  colspan: "1",
6860
- key: `windwaveHeight${N}${L}`
6828
+ key: `windwaveHeight${g}${u}`
6861
6829
  }, [
6862
- isNaN(p.tableData.sigwaveDir[N]) ? _("", !0) : (l(), f("span", {
6830
+ isNaN(p.tableData.sigwaveDir[g]) ? F("", !0) : (s(), W("span", {
6863
6831
  key: 0,
6864
6832
  class: "iconfont icon orange",
6865
- style: o0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[N]}deg)` })
6833
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[g]}deg)` })
6866
6834
  }, "", 4)),
6867
- c("span", null, w(L), 1)
6835
+ c("span", null, T(u), 1)
6868
6836
  ]))), 128))
6869
6837
  ]),
6870
6838
  c("tr", jM, [
@@ -6873,20 +6841,20 @@ function rb(z, M, b, O, p, o) {
6873
6841
  colspan: "1",
6874
6842
  class: "tr-title"
6875
6843
  }, [
6876
- p0("Swell"),
6844
+ $("Swell"),
6877
6845
  c("span", { class: "unit" }, "m")
6878
6846
  ], -1)),
6879
- (l(!0), f(j, null, G(p.tableData.swellHeight, (L, N) => (l(), f("td", {
6847
+ (s(!0), W(H, null, j(p.tableData.swellHeight, (u, g) => (s(), W("td", {
6880
6848
  rowspan: "1",
6881
6849
  colspan: "1",
6882
- key: `swellHeight${N}${L}`
6850
+ key: `swellHeight${g}${u}`
6883
6851
  }, [
6884
- isNaN(p.tableData.swellDir[N]) ? _("", !0) : (l(), f("span", {
6852
+ isNaN(p.tableData.swellDir[g]) ? F("", !0) : (s(), W("span", {
6885
6853
  key: 0,
6886
6854
  class: "iconfont icon orange",
6887
- style: o0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[N]}deg)` })
6855
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[g]}deg)` })
6888
6856
  }, "", 4)),
6889
- c("span", null, w(L), 1)
6857
+ c("span", null, T(u), 1)
6890
6858
  ]))), 128))
6891
6859
  ]),
6892
6860
  c("tr", FM, [
@@ -6895,21 +6863,21 @@ function rb(z, M, b, O, p, o) {
6895
6863
  colspan: "1",
6896
6864
  class: "tr-title"
6897
6865
  }, [
6898
- p0("Current"),
6866
+ $("Current"),
6899
6867
  c("span", { class: "unit" }, "kts")
6900
6868
  ], -1)),
6901
- (l(!0), f(j, null, G(p.tableData.currentSpeed, (L, N) => (l(), f("td", {
6869
+ (s(!0), W(H, null, j(p.tableData.currentSpeed, (u, g) => (s(), W("td", {
6902
6870
  rowspan: "1",
6903
6871
  colspan: "1",
6904
- key: `currentSpeed${N}${L}`
6872
+ key: `currentSpeed${g}${u}`
6905
6873
  }, [
6906
- isNaN(p.tableData.currentDir[N]) ? _("", !0) : (l(), f("span", {
6874
+ isNaN(p.tableData.currentDir[g]) ? F("", !0) : (s(), W("span", {
6907
6875
  key: 0,
6908
6876
  class: "iconfont icon gray",
6909
6877
  id: "meteoGrayIcon",
6910
- style: o0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[N]}deg)` })
6878
+ style: O0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[g]}deg)` })
6911
6879
  }, "", 4)),
6912
- c("span", null, w(L), 1)
6880
+ c("span", null, T(u), 1)
6913
6881
  ]))), 128))
6914
6882
  ])
6915
6883
  ], 512), [
@@ -6922,14 +6890,14 @@ function rb(z, M, b, O, p, o) {
6922
6890
  colspan: "1",
6923
6891
  class: "tr-title"
6924
6892
  }, [
6925
- p0("Hours"),
6893
+ $("Hours"),
6926
6894
  c("span", { class: "unit" }, "(LT)")
6927
6895
  ], -1)),
6928
- (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6896
+ (s(!0), W(H, null, j(p.tableData.hours, (u, g) => (s(), W("th", {
6929
6897
  rowspan: "1",
6930
6898
  colspan: "1",
6931
- key: `seahoursL${N}${L}`
6932
- }, w(o.computeHourL(L)), 1))), 128))
6899
+ key: `seahoursL${g}${u}`
6900
+ }, T(o.computeHourL(u)), 1))), 128))
6933
6901
  ]),
6934
6902
  c("tr", KM, [
6935
6903
  M[25] || (M[25] = c("th", {
@@ -6937,14 +6905,14 @@ function rb(z, M, b, O, p, o) {
6937
6905
  colspan: "1",
6938
6906
  class: "tr-title"
6939
6907
  }, [
6940
- p0("UTC"),
6908
+ $("UTC"),
6941
6909
  c("span", { class: "unit" })
6942
6910
  ], -1)),
6943
- (l(!0), f(j, null, G(p.tableData.hours, (L, N) => (l(), f("th", {
6911
+ (s(!0), W(H, null, j(p.tableData.hours, (u, g) => (s(), W("th", {
6944
6912
  rowspan: "1",
6945
6913
  colspan: "1",
6946
- key: `seahoursZ${N}${L}`
6947
- }, w(o.computeHourZ(L)), 1))), 128))
6914
+ key: `seahoursZ${g}${u}`
6915
+ }, T(o.computeHourZ(u)), 1))), 128))
6948
6916
  ]),
6949
6917
  c("tr", JM, [
6950
6918
  M[26] || (M[26] = c("th", {
@@ -6952,23 +6920,23 @@ function rb(z, M, b, O, p, o) {
6952
6920
  colspan: "1",
6953
6921
  class: "tr-title"
6954
6922
  }, null, -1)),
6955
- (l(!0), f(j, null, G(p.tableData.weatherUrls, (L, N) => (l(), f("th", {
6923
+ (s(!0), W(H, null, j(p.tableData.weatherUrls, (u, g) => (s(), W("th", {
6956
6924
  rowspan: "1",
6957
6925
  colspan: "1",
6958
- key: `seaweatherUrls${N}${L}`
6926
+ key: `seaweatherUrls${g}${u}`
6959
6927
  }, [
6960
- C(q, {
6928
+ w(q, {
6961
6929
  placement: "top",
6962
6930
  effect: "light",
6963
- content: p.tableData.weatherNames[N],
6931
+ content: p.tableData.weatherNames[g],
6964
6932
  "show-after": 500
6965
6933
  }, {
6966
- default: A0(() => [
6967
- L ? (l(), f("img", {
6934
+ default: c0(() => [
6935
+ u ? (s(), W("img", {
6968
6936
  key: 0,
6969
6937
  class: "iconfont weather-icon",
6970
- src: L
6971
- }, null, 8, YM)) : _("", !0)
6938
+ src: u
6939
+ }, null, 8, YM)) : F("", !0)
6972
6940
  ]),
6973
6941
  _: 2
6974
6942
  }, 1032, ["content"])
@@ -6980,14 +6948,14 @@ function rb(z, M, b, O, p, o) {
6980
6948
  colspan: "1",
6981
6949
  class: "tr-title"
6982
6950
  }, [
6983
- p0("SeaLevel"),
6951
+ $("SeaLevel"),
6984
6952
  c("span", { class: "unit" }, "m")
6985
6953
  ], -1)),
6986
- (l(!0), f(j, null, G(p.tableData.seaLevel, (L, N) => (l(), f("td", {
6954
+ (s(!0), W(H, null, j(p.tableData.seaLevel, (u, g) => (s(), W("td", {
6987
6955
  rowspan: "1",
6988
6956
  colspan: "1",
6989
- key: `SeaLevel${N}${L}`
6990
- }, w(L), 1))), 128))
6957
+ key: `SeaLevel${g}${u}`
6958
+ }, T(u), 1))), 128))
6991
6959
  ]),
6992
6960
  c("tr", ZM, [
6993
6961
  M[28] || (M[28] = c("td", {
@@ -6995,14 +6963,14 @@ function rb(z, M, b, O, p, o) {
6995
6963
  colspan: "1",
6996
6964
  class: "tr-title"
6997
6965
  }, [
6998
- p0("SeaTemp"),
6966
+ $("SeaTemp"),
6999
6967
  c("span", { class: "unit" }, "°C")
7000
6968
  ], -1)),
7001
- (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6969
+ (s(!0), W(H, null, j(p.tableData.seaTemp, (u, g) => (s(), W("td", {
7002
6970
  rowspan: "1",
7003
6971
  colspan: "1",
7004
- key: `SeaTemp${N}${L}`
7005
- }, w(L), 1))), 128))
6972
+ key: `SeaTemp${g}${u}`
6973
+ }, T(u), 1))), 128))
7006
6974
  ]),
7007
6975
  c("tr", $M, [
7008
6976
  M[29] || (M[29] = c("td", {
@@ -7012,10 +6980,10 @@ function rb(z, M, b, O, p, o) {
7012
6980
  }, [
7013
6981
  c("span", { class: "unit" })
7014
6982
  ], -1)),
7015
- (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6983
+ (s(!0), W(H, null, j(p.tableData.seaTemp, (u, g) => (s(), W("td", {
7016
6984
  rowspan: "1",
7017
6985
  colspan: "1",
7018
- key: `seaTemp-${N}${L}`
6986
+ key: `seaTemp-${g}${u}`
7019
6987
  }))), 128))
7020
6988
  ]),
7021
6989
  c("tr", Mb, [
@@ -7026,62 +6994,49 @@ function rb(z, M, b, O, p, o) {
7026
6994
  }, [
7027
6995
  c("span", { class: "unit" })
7028
6996
  ], -1)),
7029
- (l(!0), f(j, null, G(p.tableData.seaTemp, (L, N) => (l(), f("td", {
6997
+ (s(!0), W(H, null, j(p.tableData.seaTemp, (u, g) => (s(), W("td", {
7030
6998
  rowspan: "1",
7031
6999
  colspan: "1",
7032
- key: `seaTemp--${N}${L}`
7000
+ key: `seaTemp--${g}${u}`
7033
7001
  }))), 128))
7034
7002
  ])
7035
7003
  ], 512), [
7036
7004
  [X0, p.activeIndex === 3]
7037
7005
  ]),
7038
7006
  y0(c("table", bb, [
7039
- M[31] || (M[31] = c("tr", { class: "tr-tide flex-space" }, [
7040
- c("th", {
7041
- rowspan: "1",
7042
- colspan: "1",
7043
- class: ""
7044
- }, "High Tide"),
7045
- c("th", {
7007
+ c("tr", zb, [
7008
+ (s(!0), W(H, null, j(p.tideTableData, (u, g) => (s(), W("th", {
7046
7009
  rowspan: "1",
7047
7010
  colspan: "1",
7048
- class: ""
7049
- }, "Low Tide"),
7050
- c("th", {
7011
+ key: `Tide-tr-${g}${u}`
7012
+ }, T(u.type) + " Tide", 1))), 128))
7013
+ ]),
7014
+ c("tr", pb, [
7015
+ (s(!0), W(H, null, j(p.tideTableData, (u, g) => (s(), W("td", {
7051
7016
  rowspan: "1",
7052
7017
  colspan: "1",
7053
- class: ""
7054
- }, "High Tide"),
7055
- c("th", {
7018
+ key: `Tide-date-${g}${u}`
7019
+ }, T(o.computeHourHmmLT(u == null ? void 0 : u.date)), 1))), 128))
7020
+ ]),
7021
+ c("tr", Ob, [
7022
+ (s(!0), W(H, null, j(p.tideTableData, (u, g) => (s(), W("td", {
7056
7023
  rowspan: "1",
7057
7024
  colspan: "1",
7058
- class: ""
7059
- }, "Low Tide")
7060
- ], -1)),
7061
- c("tr", zb, [
7062
- c("td", pb, w(o.computeHourHmmLT((V = (K = p.tideTableData) == null ? void 0 : K[0]) == null ? void 0 : V.date)), 1),
7063
- c("td", Ob, w(o.computeHourHmmLT((b0 = (M0 = p.tideTableData) == null ? void 0 : M0[1]) == null ? void 0 : b0.date)), 1),
7064
- c("td", ob, w(o.computeHourHmmLT((l0 = (t0 = p.tideTableData) == null ? void 0 : t0[2]) == null ? void 0 : l0.date)), 1),
7065
- c("td", cb, w(o.computeHourHmmLT((a0 = (f0 = p.tideTableData) == null ? void 0 : f0[3]) == null ? void 0 : a0.date)), 1)
7066
- ]),
7067
- c("tr", Ab, [
7068
- c("td", eb, w((z0 = (s0 = p.tideTableData) == null ? void 0 : s0[0]) == null ? void 0 : z0.height) + " m", 1),
7069
- c("td", tb, w((L0 = (u0 = p.tideTableData) == null ? void 0 : u0[1]) == null ? void 0 : L0.height) + " m", 1),
7070
- c("td", ab, w((q0 = (W0 = p.tideTableData) == null ? void 0 : W0[2]) == null ? void 0 : q0.height) + " m", 1),
7071
- c("td", qb, w((R0 = (n0 = p.tideTableData) == null ? void 0 : n0[3]) == null ? void 0 : R0.height) + " m", 1)
7025
+ key: `Tide-height-${g}${u}`
7026
+ }, T(o.roundPrecision(u == null ? void 0 : u.height, 2)) + " m", 1))), 128))
7072
7027
  ]),
7073
- M[32] || (M[32] = c("tr", { class: "tr-tide flex-center info" }, [
7028
+ M[31] || (M[31] = c("tr", { class: "tr-tide flex-center info" }, [
7074
7029
  c("span", null, "Tide Datum: Chart Datum")
7075
7030
  ], -1))
7076
7031
  ], 512), [
7077
7032
  [X0, p.activeIndex === 4]
7078
7033
  ])
7079
7034
  ], 512), [
7080
- [X0, ((D = (d0 = p.tableData) == null ? void 0 : d0.hours) == null ? void 0 : D.length) > 0]
7035
+ [X0, ((V = (K = p.tableData) == null ? void 0 : K.hours) == null ? void 0 : V.length) > 0]
7081
7036
  ]),
7082
7037
  c("div", {
7083
7038
  class: "more",
7084
- onClick: M[5] || (M[5] = (...L) => o.handleMeteoMore && o.handleMeteoMore(...L))
7039
+ onClick: M[5] || (M[5] = (...u) => o.handleMeteoMore && o.handleMeteoMore(...u))
7085
7040
  }, "More >>")
7086
7041
  ]))
7087
7042
  ])
@@ -7089,7 +7044,7 @@ function rb(z, M, b, O, p, o) {
7089
7044
  [X0, p.showMeteo]
7090
7045
  ]);
7091
7046
  }
7092
- const nb = /* @__PURE__ */ k(AM, [["render", rb], ["__scopeId", "data-v-8d989ad0"]]), db = {
7047
+ const Ab = /* @__PURE__ */ k(AM, [["render", cb], ["__scopeId", "data-v-74576e3a"]]), eb = {
7093
7048
  name: "IdmWarZone",
7094
7049
  props: {
7095
7050
  map: {
@@ -7179,10 +7134,10 @@ const nb = /* @__PURE__ */ k(AM, [["render", rb], ["__scopeId", "data-v-8d989ad0
7179
7134
  }
7180
7135
  }
7181
7136
  };
7182
- function sb(z, M, b, O, p, o) {
7183
- return l(), f("div");
7137
+ function tb(z, M, b, O, p, o) {
7138
+ return s(), W("div");
7184
7139
  }
7185
- const Wb = /* @__PURE__ */ k(db, [["render", sb]]), lb = {
7140
+ const ab = /* @__PURE__ */ k(eb, [["render", tb]]), qb = {
7186
7141
  name: "IdmGmdssArea",
7187
7142
  props: {
7188
7143
  map: {
@@ -7302,10 +7257,10 @@ const Wb = /* @__PURE__ */ k(db, [["render", sb]]), lb = {
7302
7257
  }
7303
7258
  }
7304
7259
  };
7305
- function fb(z, M, b, O, p, o) {
7306
- return l(), f("div");
7260
+ function ib(z, M, b, O, p, o) {
7261
+ return s(), W("div");
7307
7262
  }
7308
- const ub = /* @__PURE__ */ k(lb, [["render", fb]]), Lb = {
7263
+ const rb = /* @__PURE__ */ k(qb, [["render", ib]]), nb = {
7309
7264
  name: "IdmEcaZone",
7310
7265
  props: {
7311
7266
  map: {
@@ -7393,11 +7348,11 @@ const ub = /* @__PURE__ */ k(lb, [["render", fb]]), Lb = {
7393
7348
  }
7394
7349
  }
7395
7350
  };
7396
- function Rb(z, M, b, O, p, o) {
7397
- return l(), f("div");
7351
+ function db(z, M, b, O, p, o) {
7352
+ return s(), W("div");
7398
7353
  }
7399
- const hb = /* @__PURE__ */ k(Lb, [["render", Rb]]);
7400
- const mb = {
7354
+ const sb = /* @__PURE__ */ k(nb, [["render", db]]);
7355
+ const Wb = {
7401
7356
  name: "IdmAlertZone",
7402
7357
  props: {
7403
7358
  map: {
@@ -7527,10 +7482,10 @@ const mb = {
7527
7482
  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);
7528
7483
  }
7529
7484
  }
7530
- }, Bb = { id: "idm-gl3-zone-info" }, gb = ["innerHTML"];
7531
- function Nb(z, M, b, O, p, o) {
7485
+ }, lb = { id: "idm-gl3-zone-info" }, fb = ["innerHTML"];
7486
+ function ub(z, M, b, O, p, o) {
7532
7487
  var A;
7533
- return y0((l(), f("div", Bb, [
7488
+ return y0((s(), W("div", lb, [
7534
7489
  c("div", {
7535
7490
  class: "iconfont close",
7536
7491
  onClick: M[0] || (M[0] = (t) => p.showZone = !1)
@@ -7538,13 +7493,13 @@ function Nb(z, M, b, O, p, o) {
7538
7493
  c("div", {
7539
7494
  class: "rich-context",
7540
7495
  innerHTML: (A = p.form) == null ? void 0 : A.name
7541
- }, null, 8, gb)
7496
+ }, null, 8, fb)
7542
7497
  ], 512)), [
7543
7498
  [X0, p.showZone]
7544
7499
  ]);
7545
7500
  }
7546
- const yb = /* @__PURE__ */ k(mb, [["render", Nb]]);
7547
- const Xb = {
7501
+ const Lb = /* @__PURE__ */ k(Wb, [["render", ub]]);
7502
+ const Rb = {
7548
7503
  name: "IdmPort",
7549
7504
  props: {
7550
7505
  map: {
@@ -7573,12 +7528,12 @@ const Xb = {
7573
7528
  computed: {
7574
7529
  computeLat() {
7575
7530
  return function(z) {
7576
- return O0.lat2pretty(z, 4).pretty;
7531
+ return M0.lat2pretty(z, 4).pretty;
7577
7532
  };
7578
7533
  },
7579
7534
  computeLng() {
7580
7535
  return function(z) {
7581
- return O0.lng2pretty(z, 4).pretty;
7536
+ return M0.lng2pretty(z, 4).pretty;
7582
7537
  };
7583
7538
  }
7584
7539
  },
@@ -7639,37 +7594,37 @@ const Xb = {
7639
7594
  z.forecastModel = this.meteoSource, this.$emit("meteoMore", z);
7640
7595
  }
7641
7596
  }
7642
- }, wb = {
7597
+ }, hb = {
7643
7598
  ref: "idmPortInfo",
7644
7599
  id: "port-info"
7645
- }, Cb = { class: "port-box" }, vb = { class: "flex-start" }, Tb = { class: "flex-start" }, Eb = { class: "flex-start" }, xb = {
7600
+ }, mb = { class: "port-box" }, Bb = { class: "flex-start" }, gb = { class: "flex-start" }, Nb = { class: "flex-start" }, yb = {
7646
7601
  class: "flex-start",
7647
7602
  style: { "align-items": "flex-start" }
7648
- }, Ib = { class: "meteo-forecast flex-end" };
7649
- function Db(z, M, b, O, p, o) {
7650
- return y0((l(), f("div", wb, [
7603
+ }, Xb = { class: "meteo-forecast flex-end" };
7604
+ function wb(z, M, b, O, p, o) {
7605
+ return y0((s(), W("div", hb, [
7651
7606
  c("div", {
7652
7607
  class: "close iconfont",
7653
7608
  onClick: M[0] || (M[0] = (A) => p.showPort = !1)
7654
7609
  }, ""),
7655
- c("div", Cb, [
7656
- c("div", vb, [
7610
+ c("div", mb, [
7611
+ c("div", Bb, [
7657
7612
  M[2] || (M[2] = c("label", null, "Name : ", -1)),
7658
- c("span", null, w(p.form.name), 1)
7613
+ c("span", null, T(p.form.name), 1)
7659
7614
  ]),
7660
- c("div", Tb, [
7615
+ c("div", gb, [
7661
7616
  M[3] || (M[3] = c("label", null, "Position : ", -1)),
7662
- c("span", null, w(o.computeLat(p.form.lat)) + ", " + w(o.computeLng(p.form.lng)), 1)
7617
+ c("span", null, T(o.computeLat(p.form.lat)) + ", " + T(o.computeLng(p.form.lng)), 1)
7663
7618
  ]),
7664
- c("div", Eb, [
7619
+ c("div", Nb, [
7665
7620
  M[4] || (M[4] = c("label", null, "LoCode : ", -1)),
7666
- c("span", null, w(p.form.loCode || "-"), 1)
7621
+ c("span", null, T(p.form.loCode || "-"), 1)
7667
7622
  ]),
7668
- c("div", xb, [
7623
+ c("div", yb, [
7669
7624
  M[5] || (M[5] = c("label", null, "Region : ", -1)),
7670
- c("span", null, w(p.form.zoneName || "-"), 1)
7625
+ c("span", null, T(p.form.zoneName || "-"), 1)
7671
7626
  ]),
7672
- c("div", Ib, [
7627
+ c("div", Xb, [
7673
7628
  c("span", {
7674
7629
  onClick: M[1] || (M[1] = (A) => o.handleClickMeteo(p.form))
7675
7630
  }, "Meteo Forecast")
@@ -7679,7 +7634,7 @@ function Db(z, M, b, O, p, o) {
7679
7634
  [X0, p.showPort]
7680
7635
  ]);
7681
7636
  }
7682
- const Sb = /* @__PURE__ */ k(Xb, [["render", Db], ["__scopeId", "data-v-78859648"]]), Pb = {
7637
+ const Cb = /* @__PURE__ */ k(Rb, [["render", wb], ["__scopeId", "data-v-78859648"]]), vb = {
7683
7638
  name: "IdmLoadLine",
7684
7639
  props: {
7685
7640
  map: {
@@ -7749,10 +7704,10 @@ const Sb = /* @__PURE__ */ k(Xb, [["render", Db], ["__scopeId", "data-v-78859648
7749
7704
  }
7750
7705
  }
7751
7706
  };
7752
- function kb(z, M, b, O, p, o) {
7753
- return l(), f("div");
7707
+ function Tb(z, M, b, O, p, o) {
7708
+ return s(), W("div");
7754
7709
  }
7755
- const Qb = /* @__PURE__ */ k(Pb, [["render", kb]]), Hb = {
7710
+ const Eb = /* @__PURE__ */ k(vb, [["render", Tb]]), xb = {
7756
7711
  name: "IdmTimezone",
7757
7712
  props: {
7758
7713
  map: {
@@ -7917,10 +7872,10 @@ const Qb = /* @__PURE__ */ k(Pb, [["render", kb]]), Hb = {
7917
7872
  }
7918
7873
  }
7919
7874
  };
7920
- function _b(z, M, b, O, p, o) {
7921
- return l(), f("div");
7875
+ function Ib(z, M, b, O, p, o) {
7876
+ return s(), W("div");
7922
7877
  }
7923
- const jb = /* @__PURE__ */ k(Hb, [["render", _b]]), Fb = {
7878
+ const Db = /* @__PURE__ */ k(xb, [["render", Ib]]), Sb = {
7924
7879
  name: "IdmVoluntaryReportingArea",
7925
7880
  props: {
7926
7881
  map: {
@@ -8008,10 +7963,10 @@ const jb = /* @__PURE__ */ k(Hb, [["render", _b]]), Fb = {
8008
7963
  }
8009
7964
  }
8010
7965
  };
8011
- function Gb(z, M, b, O, p, o) {
8012
- return l(), f("div");
7966
+ function Pb(z, M, b, O, p, o) {
7967
+ return s(), W("div");
8013
7968
  }
8014
- const Ub = /* @__PURE__ */ k(Fb, [["render", Gb]]), Kb = {
7969
+ const kb = /* @__PURE__ */ k(Sb, [["render", Pb]]), Qb = {
8015
7970
  name: "IdmSpecialArea",
8016
7971
  props: {
8017
7972
  map: {
@@ -8041,7 +7996,7 @@ const Ub = /* @__PURE__ */ k(Fb, [["render", Gb]]), Kb = {
8041
7996
  methods: {
8042
7997
  handleRender() {
8043
7998
  this.map ? (this.handleClear(), this.area && (this.area.features.forEach((z) => {
8044
- z.geometry.type === "Polygon" && z.geometry.coordinates.forEach((M) => O0.convertToMonotonicLng2(M));
7999
+ z.geometry.type === "Polygon" && z.geometry.coordinates.forEach((M) => M0.convertToMonotonicLng2(M));
8045
8000
  }), this.map.addSource(this.source, {
8046
8001
  type: "geojson",
8047
8002
  data: this.area
@@ -8101,10 +8056,10 @@ const Ub = /* @__PURE__ */ k(Fb, [["render", Gb]]), Kb = {
8101
8056
  }
8102
8057
  }
8103
8058
  };
8104
- function Jb(z, M, b, O, p, o) {
8105
- return l(), f("div");
8059
+ function Hb(z, M, b, O, p, o) {
8060
+ return s(), W("div");
8106
8061
  }
8107
- const Yb = /* @__PURE__ */ k(Kb, [["render", Jb]]), Vb = {
8062
+ const _b = /* @__PURE__ */ k(Qb, [["render", Hb]]), jb = {
8108
8063
  name: "IdmTerminator",
8109
8064
  props: {
8110
8065
  map: {
@@ -8153,11 +8108,11 @@ const Yb = /* @__PURE__ */ k(Kb, [["render", Jb]]), Vb = {
8153
8108
  }
8154
8109
  }
8155
8110
  };
8156
- function Zb(z, M, b, O, p, o) {
8157
- return l(), f("div");
8111
+ function Fb(z, M, b, O, p, o) {
8112
+ return s(), W("div");
8158
8113
  }
8159
- const $b = /* @__PURE__ */ k(Vb, [["render", Zb]]);
8160
- const Mz = {
8114
+ const Gb = /* @__PURE__ */ k(jb, [["render", Fb]]);
8115
+ const Ub = {
8161
8116
  name: "IdmLatLng",
8162
8117
  props: {
8163
8118
  map: {
@@ -8215,7 +8170,7 @@ const Mz = {
8215
8170
  this.show ? ((z = this.map) == null || z.on("zoomend", this.handleZoomEnd), this.handleRender()) : (this.handleClear(), (M = this.map) == null || M.off("zoomend", this.handleZoomEnd));
8216
8171
  },
8217
8172
  handleMouseMove(z) {
8218
- const M = z.lngLat, b = O0.lng2pretty(M.lng, 2), O = O0.lat2pretty(M.lat, 2);
8173
+ const M = z.lngLat, b = M0.lng2pretty(M.lng, 2), O = M0.lat2pretty(M.lat, 2);
8219
8174
  this.lngLat = { lng: b, lat: O };
8220
8175
  },
8221
8176
  handleComputeLatLngs() {
@@ -8264,7 +8219,7 @@ const Mz = {
8264
8219
  handleZoomEnd() {
8265
8220
  var M;
8266
8221
  const z = this.handleComputeLatLngs();
8267
- (M = this.map) == null || M.getSource(this.source).setData(T.featureCollection(z));
8222
+ (M = this.map) == null || M.getSource(this.source).setData(v.featureCollection(z));
8268
8223
  },
8269
8224
  handleRender() {
8270
8225
  if (this.map) {
@@ -8313,18 +8268,18 @@ const Mz = {
8313
8268
  }
8314
8269
  }
8315
8270
  };
8316
- function bz(z, M, b, O, p, o) {
8317
- return p.lngLat ? (l(), f("div", {
8271
+ function Kb(z, M, b, O, p, o) {
8272
+ return p.lngLat ? (s(), W("div", {
8318
8273
  key: 0,
8319
8274
  class: "lat-lng-tip",
8320
- style: o0({ right: p.right + "px", bottom: b.bottom })
8275
+ style: O0({ right: p.right + "px", bottom: b.bottom })
8321
8276
  }, [
8322
- c("span", null, w(p.lngLat.lat.pretty), 1),
8277
+ c("span", null, T(p.lngLat.lat.pretty), 1),
8323
8278
  M[0] || (M[0] = c("span", null, ", ", -1)),
8324
- c("span", null, w(p.lngLat.lng.pretty), 1)
8325
- ], 4)) : _("", !0);
8279
+ c("span", null, T(p.lngLat.lng.pretty), 1)
8280
+ ], 4)) : F("", !0);
8326
8281
  }
8327
- const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c"]]), zz = {
8282
+ const K0 = /* @__PURE__ */ k(Ub, [["render", Kb], ["__scopeId", "data-v-ad66a24c"]]), Jb = {
8328
8283
  name: "IdmMeasure",
8329
8284
  props: {
8330
8285
  map: {
@@ -8386,21 +8341,21 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8386
8341
  var b, O, p, o, A, t, q, r, a, n;
8387
8342
  const M = (O = (b = z.target) == null ? void 0 : b._element) == null ? void 0 : O.id;
8388
8343
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8389
- const s = this.geojson.filter((W) => W.id === M.split("-")[0])[0];
8390
- this.pointMarkers[s.id].filter((W) => {
8344
+ const l = this.geojson.filter((f) => f.id === M.split("-")[0])[0];
8345
+ this.pointMarkers[l.id].filter((f) => {
8391
8346
  var m;
8392
- return ((m = W._element) == null ? void 0 : m.id) === M;
8347
+ return ((m = f._element) == null ? void 0 : m.id) === M;
8393
8348
  })[0].setLngLat([(o = (p = z.target) == null ? void 0 : p._lngLat) == null ? void 0 : o.lng, (t = (A = z.target) == null ? void 0 : A._lngLat) == null ? void 0 : t.lat]);
8394
8349
  let B;
8395
- s.features.forEach((W, m) => {
8396
- if (W.geometry.type === "Point" && W.properties.id == M.split("-")[1]) {
8350
+ l.features.forEach((f, m) => {
8351
+ if (f.geometry.type === "Point" && f.properties.id == M.split("-")[1]) {
8397
8352
  B = m;
8398
8353
  return;
8399
8354
  }
8400
8355
  });
8401
- const R = s.features.filter((W) => W.geometry.type === "Point");
8356
+ const R = l.features.filter((f) => f.geometry.type === "Point");
8402
8357
  this.handleTmpPointUpdate(
8403
- s,
8358
+ l,
8404
8359
  R[B - 1],
8405
8360
  { lng: (r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, lat: (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat, properties: R[B].properties },
8406
8361
  B === R.length - 1 ? void 0 : R[B + 1]
@@ -8411,13 +8366,13 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8411
8366
  var b, O, p, o, A, t, q, r, a, n;
8412
8367
  const M = (O = (b = z.target) == null ? void 0 : b._element) == null ? void 0 : O.id;
8413
8368
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8414
- const s = this.geojson.filter((R) => R.id === M.split("-")[0])[0];
8415
- this.pointMarkers[s.id].filter((R) => {
8416
- var W;
8417
- return ((W = R._element) == null ? void 0 : W.id) === M;
8369
+ const l = this.geojson.filter((R) => R.id === M.split("-")[0])[0];
8370
+ this.pointMarkers[l.id].filter((R) => {
8371
+ var f;
8372
+ return ((f = R._element) == null ? void 0 : f.id) === M;
8418
8373
  })[0].setLngLat([(o = (p = z.target) == null ? void 0 : p._lngLat) == null ? void 0 : o.lng, (t = (A = z.target) == null ? void 0 : A._lngLat) == null ? void 0 : t.lat]);
8419
- const B = s.features.filter((R) => R.geometry.type === "Point" && R.properties.id == M.split("-")[1])[0];
8420
- B.geometry.coordinates = [(r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat], s.features = s.features.filter((R) => R.geometry.type === "Point"), this.handlePointUpdate(s);
8374
+ const B = l.features.filter((R) => R.geometry.type === "Point" && R.properties.id == M.split("-")[1])[0];
8375
+ B.geometry.coordinates = [(r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, (n = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : n.lat], l.features = l.features.filter((R) => R.geometry.type === "Point"), this.handlePointUpdate(l);
8421
8376
  }
8422
8377
  },
8423
8378
  handleContextmenu(z) {
@@ -8444,8 +8399,8 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8444
8399
  q.features = q.features.filter((r) => r.geometry.type === "Point" && r.properties.id !== t[1]), this.handlePointUpdate(q);
8445
8400
  } else if (M !== "marker-label") {
8446
8401
  let t = this.geojson.at(-1);
8447
- t || (t = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8448
- const q = T.feature(
8402
+ t || (t = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8403
+ const q = v.feature(
8449
8404
  {
8450
8405
  type: "Point",
8451
8406
  coordinates: [z.lngLat.lng, z.lngLat.lat]
@@ -8465,10 +8420,10 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8465
8420
  const O = [];
8466
8421
  for (let p = 1; p < M.length; p++) {
8467
8422
  const o = M[p - 1], A = M[p], t = o.properties, q = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, r = { lng: A.geometry.coordinates[0], lat: A.geometry.coordinates[1] }, a = N0.calculateDistance(q, r, t.mode === "RL", 2), n = N0.calculateBearing(q, r, t.mode === "RL", 2);
8468
- b = O0.roundPrecision(b + a, 2);
8469
- let s;
8470
- t.mode === "RL" ? s = O0.convertToMonotonicLng([q, r]) : s = O0.convertToMonotonicLng(N0.interpolateCoordinates(q, r, 200));
8471
- const d = T.lineString(s.map((B) => [B.lng, B.lat]));
8423
+ b = M0.roundPrecision(b + a, 2);
8424
+ let l;
8425
+ t.mode === "RL" ? l = M0.convertToMonotonicLng([q, r]) : l = M0.convertToMonotonicLng(N0.interpolateCoordinates(q, r, 200));
8426
+ const d = v.lineString(l.map((B) => [B.lng, B.lat]));
8472
8427
  d.properties.dist = a, d.properties.bearing = n, d.properties.total = b, O.push(d);
8473
8428
  }
8474
8429
  M.push(...O), z.total = b;
@@ -8476,23 +8431,23 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8476
8431
  return this.handleRender(z), z;
8477
8432
  },
8478
8433
  handleTmpPointUpdate(z, M, b, O) {
8479
- const p = T.featureCollection([]);
8434
+ const p = v.featureCollection([]);
8480
8435
  let o, A;
8481
8436
  if (M) {
8482
8437
  const q = M.properties, r = { lng: M.geometry.coordinates[0], lat: M.geometry.coordinates[1] }, a = { lng: b.lng, lat: b.lat };
8483
8438
  o = N0.calculateDistance(r, a, q.mode === "RL", 2), A = N0.calculateBearing(r, a, q.mode === "RL", 2);
8484
8439
  let n;
8485
- q.mode === "RL" ? n = O0.convertToMonotonicLng([r, a]) : n = O0.convertToMonotonicLng(N0.interpolateCoordinates(r, a, 200));
8486
- const s = T.lineString(n.map((d) => [d.lng, d.lat]));
8487
- s.properties.dist = o, s.properties.bearing = A, p.features.push(s);
8440
+ q.mode === "RL" ? n = M0.convertToMonotonicLng([r, a]) : n = M0.convertToMonotonicLng(N0.interpolateCoordinates(r, a, 200));
8441
+ const l = v.lineString(n.map((d) => [d.lng, d.lat]));
8442
+ l.properties.dist = o, l.properties.bearing = A, p.features.push(l);
8488
8443
  }
8489
8444
  if (O) {
8490
8445
  const q = b.properties, r = b, a = { lng: O.geometry.coordinates[0], lat: O.geometry.coordinates[1] };
8491
8446
  o = N0.calculateDistance(r, a, q.mode === "RL", 2), A = N0.calculateBearing(r, a, q.mode === "RL", 2);
8492
8447
  let n;
8493
- q.mode === "RL" ? n = O0.convertToMonotonicLng([r, a]) : n = O0.convertToMonotonicLng(N0.interpolateCoordinates(r, a, 200));
8494
- const s = T.lineString(n.map((d) => [d.lng, d.lat]));
8495
- s.properties.dist = o, s.properties.bearing = A, p.features.push(s);
8448
+ q.mode === "RL" ? n = M0.convertToMonotonicLng([r, a]) : n = M0.convertToMonotonicLng(N0.interpolateCoordinates(r, a, 200));
8449
+ const l = v.lineString(n.map((d) => [d.lng, d.lat]));
8450
+ l.properties.dist = o, l.properties.bearing = A, p.features.push(l);
8496
8451
  }
8497
8452
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(p) : this.map.addSource(this.tmpSource, {
8498
8453
  type: "geojson",
@@ -8532,7 +8487,7 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8532
8487
  }
8533
8488
  });
8534
8489
  let t;
8535
- if (O ? t = '<div class="marker-label">Drag and drop</div>' : t = `<div class="marker-label">Tol distance: <b>${O0.roundPrecision((z.total ?? 0) + o, 2)}</b>nm, bearing: <b>${A}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
8490
+ if (O ? t = '<div class="marker-label">Drag and drop</div>' : t = `<div class="marker-label">Tol distance: <b>${M0.roundPrecision((z.total ?? 0) + o, 2)}</b>nm, bearing: <b>${A}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
8536
8491
  this.tipMarker._element.innerHTML = t, this.tipMarker.setLngLat([b.lng, b.lat]);
8537
8492
  else {
8538
8493
  const q = document.createElement("div");
@@ -8542,14 +8497,14 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8542
8497
  handleMove(z) {
8543
8498
  this.map.getCanvas().style.cursor = "crosshair";
8544
8499
  let M = this.geojson.at(-1);
8545
- M || (M = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8500
+ M || (M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8546
8501
  const b = M.features.filter((O) => O.geometry.type === "Point");
8547
8502
  b != null && b.length && this.handleTmpPointUpdate(M, b.at(-1), { lng: z.lngLat.lng, lat: z.lngLat.lat });
8548
8503
  },
8549
8504
  handleDblClick(z) {
8550
8505
  z.preventDefault();
8551
8506
  let M = this.geojson.at(-1);
8552
- M.closed = !0, this.handleRender(M), M = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8507
+ M.closed = !0, this.handleRender(M), M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8553
8508
  },
8554
8509
  handleRender(z) {
8555
8510
  var M;
@@ -8604,19 +8559,19 @@ const K0 = /* @__PURE__ */ k(Mz, [["render", bz], ["__scopeId", "data-v-ad66a24c
8604
8559
  }
8605
8560
  },
8606
8561
  handleClear(z, M = !0) {
8607
- var o, A, t, q, r, a, n, s, d;
8562
+ var o, A, t, q, r, a, n, l, d;
8608
8563
  const b = `${z.id}-${this.source}`, O = `${z.id}-${this.layer}`, p = `${z.id}-${this.labelLayer}`;
8609
8564
  (o = this.map) != null && o.getLayer(O) && this.map.removeLayer(O), (A = this.map) != null && A.getLayer(p) && this.map.removeLayer(p), (t = this.map) != null && t.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (q = this.map) != null && q.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (r = this.closeMarkers[z.id]) == null || r.remove(), this.closeMarkers[z.id] = void 0, (a = this.pointMarkers[z.id]) == null || a.forEach((B) => {
8610
8565
  B == null || B.remove();
8611
- }), this.pointMarkers[z.id] = [], (n = this.tipMarker) == null || n.remove(), this.tipMarker = void 0, M && ((s = this.map) != null && s.getSource(b)) && this.map.removeSource(b), M && ((d = this.map) != null && d.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8566
+ }), this.pointMarkers[z.id] = [], (n = this.tipMarker) == null || n.remove(), this.tipMarker = void 0, M && ((l = this.map) != null && l.getSource(b)) && this.map.removeSource(b), M && ((d = this.map) != null && d.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8612
8567
  }
8613
8568
  }
8614
8569
  };
8615
- function pz(z, M, b, O, p, o) {
8616
- return l(), f("div");
8570
+ function Yb(z, M, b, O, p, o) {
8571
+ return s(), W("div");
8617
8572
  }
8618
- const Oz = /* @__PURE__ */ k(zz, [["render", pz]]);
8619
- const oz = {
8573
+ const Vb = /* @__PURE__ */ k(Jb, [["render", Yb]]);
8574
+ const Zb = {
8620
8575
  name: "IdmENC",
8621
8576
  props: {
8622
8577
  map: {
@@ -8668,22 +8623,22 @@ const oz = {
8668
8623
  }
8669
8624
  },
8670
8625
  methods: {}
8671
- }, cz = { key: 0 }, Az = { class: "bar-item" };
8672
- function ez(z, M, b, O, p, o) {
8673
- const A = I("ElTooltip");
8674
- return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div", cz, [
8626
+ }, $b = { key: 0 }, Mz = { class: "bar-item" };
8627
+ function bz(z, M, b, O, p, o) {
8628
+ const A = x("ElTooltip");
8629
+ return b.enabled && b.permission & p.helper.LEVEL.Supper ? (s(), W("div", $b, [
8675
8630
  c("div", {
8676
8631
  class: "menu-bar-box",
8677
- style: o0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8632
+ style: O0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8678
8633
  }, [
8679
- c("div", Az, [
8680
- C(A, {
8634
+ c("div", Mz, [
8635
+ w(A, {
8681
8636
  placement: "left",
8682
8637
  effect: "light",
8683
8638
  content: "Hifleet",
8684
8639
  "show-after": 1e3
8685
8640
  }, {
8686
- default: A0(() => [
8641
+ default: c0(() => [
8687
8642
  c("div", {
8688
8643
  class: U(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8689
8644
  onClick: M[0] || (M[0] = (t) => p.vendor = "hi")
@@ -8693,13 +8648,13 @@ function ez(z, M, b, O, p, o) {
8693
8648
  ]),
8694
8649
  _: 1
8695
8650
  }),
8696
- C(A, {
8651
+ w(A, {
8697
8652
  placement: "left",
8698
8653
  effect: "light",
8699
8654
  content: "I4insight",
8700
8655
  "show-after": 1e3
8701
8656
  }, {
8702
- default: A0(() => [
8657
+ default: c0(() => [
8703
8658
  c("div", {
8704
8659
  class: U(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8705
8660
  onClick: M[1] || (M[1] = (t) => p.vendor = "i4")
@@ -8711,10 +8666,10 @@ function ez(z, M, b, O, p, o) {
8711
8666
  })
8712
8667
  ])
8713
8668
  ], 4)
8714
- ])) : _("", !0);
8669
+ ])) : F("", !0);
8715
8670
  }
8716
- const tz = /* @__PURE__ */ k(oz, [["render", ez], ["__scopeId", "data-v-7301123d"]]);
8717
- const az = {
8671
+ const zz = /* @__PURE__ */ k(Zb, [["render", bz], ["__scopeId", "data-v-7301123d"]]);
8672
+ const pz = {
8718
8673
  name: "IdmENC",
8719
8674
  props: {
8720
8675
  map: {
@@ -8770,11 +8725,11 @@ const az = {
8770
8725
  }
8771
8726
  }
8772
8727
  };
8773
- function qz(z, M, b, O, p, o) {
8728
+ function Oz(z, M, b, O, p, o) {
8774
8729
  return null;
8775
8730
  }
8776
- const iz = /* @__PURE__ */ k(az, [["render", qz]]);
8777
- const rz = {
8731
+ const oz = /* @__PURE__ */ k(pz, [["render", Oz]]);
8732
+ const cz = {
8778
8733
  name: "IdmGLV2",
8779
8734
  components: {
8780
8735
  IdmGlLayer: x1,
@@ -8793,21 +8748,21 @@ const rz = {
8793
8748
  IdmWaterTemp: P2,
8794
8749
  IdmTemp: _2,
8795
8750
  IdmArctic: U2,
8796
- IdmWarZone: Wb,
8797
- IdmGmdssArea: ub,
8798
- IdmEcaZone: hb,
8799
- IdmAlertZone: yb,
8800
- IdmPort: Sb,
8801
- IdmLoadLine: Qb,
8802
- IdmTimezone: jb,
8803
- IdmVRA: Ub,
8804
- IdmSpecialArea: Yb,
8805
- IdmTerminator: $b,
8751
+ IdmWarZone: ab,
8752
+ IdmGmdssArea: rb,
8753
+ IdmEcaZone: sb,
8754
+ IdmAlertZone: Lb,
8755
+ IdmPort: Cb,
8756
+ IdmLoadLine: Eb,
8757
+ IdmTimezone: Db,
8758
+ IdmVRA: kb,
8759
+ IdmSpecialArea: _b,
8760
+ IdmTerminator: Gb,
8806
8761
  IdmLatLng: K0,
8807
- IdmMeasure: Oz,
8808
- IdmPoint: nb,
8809
- IdmENC: tz,
8810
- IdmWorld12nm: iz
8762
+ IdmMeasure: Vb,
8763
+ IdmPoint: Ab,
8764
+ IdmENC: zz,
8765
+ IdmWorld12nm: oz
8811
8766
  },
8812
8767
  props: {
8813
8768
  map: {
@@ -8881,10 +8836,10 @@ const rz = {
8881
8836
  },
8882
8837
  activeWeatherLayers: {
8883
8838
  handler() {
8884
- var z, M, b, O, p, o, A, t, q, r, a, n, s, d;
8839
+ var z, M, b, O, p, o, A, t, q, r, a, n, l, d;
8885
8840
  if (!this.map)
8886
8841
  return !1;
8887
- this.activeWeatherLayers.length > 0 ? ((M = (z = this.map) == null ? void 0 : z.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || M.setLayoutProperty("visibility", "visible"), (O = this.map) != null && O.getLayer((b = this.viewport) == null ? void 0 : b.rampColorLayer) && ((p = this.map) != null && p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((A = this.map) == null || A.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (q = this.map) != null && q.getLayer((t = this.viewport) == null ? void 0 : t.particleLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((n = this.map) == null || n.moveLayer((a = this.viewport) == null ? void 0 : a.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (d = (s = this.map) == null ? void 0 : s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || d.setLayoutProperty("visibility", "none"), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
8842
+ this.activeWeatherLayers.length > 0 ? ((M = (z = this.map) == null ? void 0 : z.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || M.setLayoutProperty("visibility", "visible"), (O = this.map) != null && O.getLayer((b = this.viewport) == null ? void 0 : b.rampColorLayer) && ((p = this.map) != null && p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((A = this.map) == null || A.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (q = this.map) != null && q.getLayer((t = this.viewport) == null ? void 0 : t.particleLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((n = this.map) == null || n.moveLayer((a = this.viewport) == null ? void 0 : a.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (d = (l = this.map) == null ? void 0 : l.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || d.setLayoutProperty("visibility", "none"), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
8888
8843
  },
8889
8844
  immediate: !0
8890
8845
  },
@@ -8940,18 +8895,18 @@ const rz = {
8940
8895
  const M = (/* @__PURE__ */ new Date()).valueOf();
8941
8896
  let b = 0, O = 0;
8942
8897
  if (this.map) {
8943
- const s = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, d = (o = this.map) == null ? void 0 : o.getBounds(), B = `${d._sw.lng},${d._sw.lat},${d._ne.lng},${d._ne.lat}`;
8898
+ const l = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, d = (o = this.map) == null ? void 0 : o.getBounds(), B = `${d._sw.lng},${d._sw.lat},${d._ne.lng},${d._ne.lat}`;
8944
8899
  if (this.particleFactor) {
8945
- const R = D0.WEATHER_LAYERS.find((W) => {
8900
+ const R = D0.WEATHER_LAYERS.find((f) => {
8946
8901
  var m;
8947
- return ((m = W.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8902
+ return ((m = f.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8948
8903
  });
8949
8904
  this.particleFactor.particle ? this.weatherWeight = this.weatherWeight & R.weight ? this.weatherWeight : this.weatherWeight + R.weight : this.weatherWeight = this.weatherWeight & R.weight ? this.weatherWeight - R.weight : this.weatherWeight;
8950
8905
  }
8951
8906
  if (this.weatherWeight > 0) {
8952
- let R = this.weatherWeight, W;
8953
- if (z.tropicals || this.weatherWeight & 256 && (W = this.weatherLayers.tropicals, W && (R -= 256, W.version = Math.random() + 1)), R > 0) {
8954
- const m = await g0.get(`${this.gateway}/api/arc/weather/layers/links?l=${R}&v=${this.source}&z=${s}&bbox=${B}&t=${this.ts}`, {
8907
+ let R = this.weatherWeight, f;
8908
+ if (z.tropicals || this.weatherWeight & 256 && (f = this.weatherLayers.tropicals, f && (R -= 256, f.version = Math.random() + 1)), R > 0) {
8909
+ const m = await R0.get(`${this.gateway}/api/arc/weather/layers/links?l=${R}&v=${this.source}&z=${l}&bbox=${B}&t=${this.ts}`, {
8955
8910
  headers: {
8956
8911
  Authorization: this.token || this.defaultMeteoToken
8957
8912
  }
@@ -8960,35 +8915,35 @@ const rz = {
8960
8915
  const h = (t = m == null ? void 0 : m.data) == null ? void 0 : t.data, X = [];
8961
8916
  for (const y in h)
8962
8917
  y === "ice-edge" && (h[y] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), y !== "tropicals" && X.push(
8963
- g0.get(h[y], {
8918
+ R0.get(h[y], {
8964
8919
  headers: {
8965
8920
  Authorization: this.token || this.defaultMeteoToken,
8966
8921
  key: y
8967
8922
  },
8968
8923
  responseType: /\.(jpg|png)$/.test(h[y]) ? "blob" : "json"
8969
- }).catch((H) => {
8970
- console.log(`[${y}] fetch layer error: ${H}`);
8924
+ }).catch((_) => {
8925
+ console.log(`[${y}] fetch layer error: ${_}`);
8971
8926
  })
8972
8927
  );
8973
8928
  const E = await Promise.all(X);
8974
8929
  this.weatherLayers = {}, E.map((y) => {
8975
- var V, M0, b0, t0;
8976
- const H = ((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data), K = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8977
- K && H && (this.weatherLayers[K] = {
8978
- raw: H,
8979
- type: ((t0 = y == null ? void 0 : y.config) == null ? void 0 : t0.responseType) === "blob" ? "image" : "json",
8930
+ var V, u, g, e0;
8931
+ const _ = ((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data), K = (g = (u = y == null ? void 0 : y.config) == null ? void 0 : u.headers) == null ? void 0 : g.key;
8932
+ K && _ && (this.weatherLayers[K] = {
8933
+ raw: _,
8934
+ type: ((e0 = y == null ? void 0 : y.config) == null ? void 0 : e0.responseType) === "blob" ? "image" : "json",
8980
8935
  etime: this.ts
8981
8936
  });
8982
- }), h.tropicals && g0.get(h.tropicals, {
8937
+ }), h.tropicals && R0.get(h.tropicals, {
8983
8938
  headers: {
8984
8939
  Authorization: this.token || this.defaultMeteoToken,
8985
8940
  key: "tropicals"
8986
8941
  }
8987
8942
  }).then((y) => {
8988
- var V, M0, b0;
8989
- const H = j0.convert2Geojson(((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data)), K = (b0 = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : b0.key;
8943
+ var V, u, g;
8944
+ const _ = j0.convert2Geojson(((V = y == null ? void 0 : y.data) == null ? void 0 : V.data) || (y == null ? void 0 : y.data)), K = (g = (u = y == null ? void 0 : y.config) == null ? void 0 : u.headers) == null ? void 0 : g.key;
8990
8945
  this.weatherLayers[K] = {
8991
- data: H,
8946
+ data: _,
8992
8947
  active: !0,
8993
8948
  cached: !1,
8994
8949
  type: "json",
@@ -9016,7 +8971,7 @@ const rz = {
9016
8971
  };
9017
8972
  }
9018
8973
  }
9019
- W && (W.etime = this.ts, W.cached = !0, this.weatherLayers.tropicals = W);
8974
+ f && (f.etime = this.ts, f.cached = !0, this.weatherLayers.tropicals = f);
9020
8975
  }
9021
8976
  this.handleWeatherLayerToggle(), this.handleDragEndWithZoom4Json();
9022
8977
  }
@@ -9030,49 +8985,49 @@ const rz = {
9030
8985
  let A = !1, t = !1;
9031
8986
  if (this.otherWeight & 2048 && (o = this.otherWeight - 2048, A = !0), this.otherWeight & 8192 && (o = o - 8192, t = !0), o) {
9032
8987
  if (z.all) {
9033
- const q = await g0.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
8988
+ const q = await R0.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
9034
8989
  headers: {
9035
8990
  Authorization: this.token || this.defaultMeteoToken
9036
8991
  }
9037
8992
  });
9038
8993
  if (((M = q == null ? void 0 : q.data) == null ? void 0 : M.code) === 0) {
9039
8994
  const r = (b = q == null ? void 0 : q.data) == null ? void 0 : b.data, a = [];
9040
- for (const s in r)
8995
+ for (const l in r)
9041
8996
  a.push(
9042
- g0.get(r[s], {
8997
+ R0.get(r[l], {
9043
8998
  headers: {
9044
8999
  Authorization: this.token || this.defaultMeteoToken,
9045
- key: s
9000
+ key: l
9046
9001
  }
9047
9002
  })
9048
9003
  );
9049
9004
  const n = await Promise.all(a);
9050
- this.otherLayers = { enc: A, world12nm: t }, n.map((s) => {
9051
- var R, W, m;
9052
- const d = ((R = s == null ? void 0 : s.data) == null ? void 0 : R.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
9005
+ this.otherLayers = { enc: A, world12nm: t }, n.map((l) => {
9006
+ var R, f, m;
9007
+ const d = ((R = l == null ? void 0 : l.data) == null ? void 0 : R.data) || (l == null ? void 0 : l.data), B = (m = (f = l == null ? void 0 : l.config) == null ? void 0 : f.headers) == null ? void 0 : m.key;
9053
9008
  this.otherLayers[B] = d;
9054
9009
  });
9055
9010
  }
9056
9011
  } else if (z.dayNight && o & 1024) {
9057
- const q = await g0.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
9012
+ const q = await R0.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
9058
9013
  headers: {
9059
9014
  Authorization: this.token || this.defaultMeteoToken
9060
9015
  }
9061
9016
  });
9062
9017
  if (((O = q == null ? void 0 : q.data) == null ? void 0 : O.code) === 0) {
9063
9018
  const r = (p = q == null ? void 0 : q.data) == null ? void 0 : p.data, a = [];
9064
- for (const s in r)
9019
+ for (const l in r)
9065
9020
  a.push(
9066
- g0.get(r[s], {
9021
+ R0.get(r[l], {
9067
9022
  headers: {
9068
9023
  Authorization: this.token || this.defaultMeteoToken,
9069
- key: s
9024
+ key: l
9070
9025
  }
9071
9026
  })
9072
9027
  );
9073
- (await Promise.all(a)).map((s) => {
9074
- var R, W, m;
9075
- const d = ((R = s == null ? void 0 : s.data) == null ? void 0 : R.data) || (s == null ? void 0 : s.data), B = (m = (W = s == null ? void 0 : s.config) == null ? void 0 : W.headers) == null ? void 0 : m.key;
9028
+ (await Promise.all(a)).map((l) => {
9029
+ var R, f, m;
9030
+ const d = ((R = l == null ? void 0 : l.data) == null ? void 0 : R.data) || (l == null ? void 0 : l.data), B = (m = (f = l == null ? void 0 : l.config) == null ? void 0 : f.headers) == null ? void 0 : m.key;
9076
9031
  this.otherLayers[B] = d;
9077
9032
  });
9078
9033
  }
@@ -9128,100 +9083,100 @@ const rz = {
9128
9083
  );
9129
9084
  },
9130
9085
  handleDragEndWithZoom4Json() {
9131
- var r, a, n, s;
9086
+ var r, a, n, l;
9132
9087
  const z = (/* @__PURE__ */ new Date()).valueOf();
9133
9088
  let M = 0, b = 0;
9134
- const O = (r = this.map) == null ? void 0 : r.getBounds(), p = this.map.getZoom(), o = O0.convertToStdLng(O._sw.lng), A = O0.convertToStdLng(O._ne.lng), t = Math.floor(O._sw.lat), q = Math.ceil(O._ne.lat);
9089
+ const O = (r = this.map) == null ? void 0 : r.getBounds(), p = this.map.getZoom(), o = M0.convertToStdLng(O._sw.lng), A = M0.convertToStdLng(O._ne.lng), t = Math.floor(O._sw.lat), q = Math.ceil(O._ne.lat);
9135
9090
  for (const d in this.weatherLayers)
9136
9091
  if (this.weatherLayers[d].active && this.weatherLayers[d].type === "json") {
9137
9092
  this.weatherLayers[d].active = !1, this.weatherLayers[d].version = Math.random() + 1;
9138
9093
  let B = [];
9139
9094
  if (["swell", "current"].includes(d)) {
9140
9095
  const R = ((a = this.weatherLayers[d]) == null ? void 0 : a.direction) || {};
9141
- for (const W in R)
9142
- if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9143
- const m = R[W].lng;
9096
+ for (const f in R)
9097
+ if (f > t && f < q && (!(p <= this.zoom) || f % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9098
+ const m = R[f].lng;
9144
9099
  o > A ? m.forEach((h, X) => {
9145
9100
  var E;
9146
9101
  if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9147
- const y = T.point([h, W], {
9148
- val: R[W].val[X],
9149
- spd: (E = R[W].spd) == null ? void 0 : E[X]
9102
+ const y = v.point([h, f], {
9103
+ val: R[f].val[X],
9104
+ spd: (E = R[f].spd) == null ? void 0 : E[X]
9150
9105
  });
9151
9106
  B.push(y);
9152
9107
  }
9153
9108
  }) : m.forEach((h, X) => {
9154
9109
  var E;
9155
9110
  if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9156
- const y = T.point([h, W], {
9157
- val: R[W].val[X],
9158
- spd: (E = R[W].spd) == null ? void 0 : E[X]
9111
+ const y = v.point([h, f], {
9112
+ val: R[f].val[X],
9113
+ spd: (E = R[f].spd) == null ? void 0 : E[X]
9159
9114
  });
9160
9115
  B.push(y);
9161
9116
  }
9162
9117
  });
9163
9118
  }
9164
9119
  if (b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("direction elapsed: ", b, ", total: ", M += b), d === "swell") {
9165
- const W = this.weatherLayers[d].height;
9166
- if (W) {
9167
- if (!W.data) {
9120
+ const f = this.weatherLayers[d].height;
9121
+ if (f) {
9122
+ if (!f.data) {
9168
9123
  const m = [];
9169
- for (const h in (n = W.raw) == null ? void 0 : n.LineString) {
9170
- const X = W.raw.LineString[h];
9124
+ for (const h in (n = f.raw) == null ? void 0 : n.LineString) {
9125
+ const X = f.raw.LineString[h];
9171
9126
  for (const E of X)
9172
9127
  m.push(
9173
- T.lineString(E, {
9128
+ v.lineString(E, {
9174
9129
  val: Number(h)
9175
9130
  })
9176
9131
  );
9177
- W.data = T.featureCollection(m);
9132
+ f.data = v.featureCollection(m);
9178
9133
  }
9179
9134
  }
9180
- if (W.data) {
9181
- const m = this.handleBboxClip(W.data, O);
9135
+ if (f.data) {
9136
+ const m = this.handleBboxClip(f.data, O);
9182
9137
  B = B.concat(m);
9183
9138
  }
9184
9139
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("height elapsed: ", b, ", total: ", M += b);
9185
9140
  }
9186
9141
  }
9187
9142
  if (d === "current") {
9188
- const W = this.weatherLayers[d].speed;
9189
- if (W) {
9190
- if (!W.data) {
9143
+ const f = this.weatherLayers[d].speed;
9144
+ if (f) {
9145
+ if (!f.data) {
9191
9146
  const h = [];
9192
- for (const X in (s = W.raw) == null ? void 0 : s.Polygon) {
9193
- const E = W.raw.Polygon[X];
9147
+ for (const X in (l = f.raw) == null ? void 0 : l.Polygon) {
9148
+ const E = f.raw.Polygon[X];
9194
9149
  for (const y of E)
9195
9150
  h.push(
9196
- T.polygon(y, {
9151
+ v.polygon(y, {
9197
9152
  val: Number(X)
9198
9153
  })
9199
9154
  );
9200
9155
  }
9201
- W.data = T.featureCollection(h);
9156
+ f.data = v.featureCollection(h);
9202
9157
  }
9203
- const m = p < this.zoom ? W.data.features.filter((h) => h.properties.val > 0.5) : W.data.features;
9158
+ const m = p < this.zoom ? f.data.features.filter((h) => h.properties.val > 0.5) : f.data.features;
9204
9159
  B = B.concat(m), b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("speed elapsed: ", b, ", total: ", M += b);
9205
9160
  }
9206
9161
  }
9207
9162
  } else if (d === "wind") {
9208
9163
  const R = this.weatherLayers.wind.raw;
9209
- for (const W in R)
9210
- if (W > t && W < q && (!(p <= this.zoom) || W % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9211
- const m = R[W].lng;
9164
+ for (const f in R)
9165
+ if (f > t && f < q && (!(p <= this.zoom) || f % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9166
+ const m = R[f].lng;
9212
9167
  o > A ? m.forEach((h, X) => {
9213
9168
  if ((h >= o && h <= 180 || h >= -180 && h <= A) && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9214
- const E = T.point([h, W], {
9215
- val: R[W].val[X],
9216
- spd: R[W].spd[X]
9169
+ const E = v.point([h, f], {
9170
+ val: R[f].val[X],
9171
+ spd: R[f].spd[X]
9217
9172
  });
9218
9173
  B.push(E);
9219
9174
  }
9220
9175
  }) : m.forEach((h, X) => {
9221
9176
  if (h >= o && h <= A && (!(p <= this.zoom) || h % (p < this.zoom / 2 ? 5 : 3) === 0)) {
9222
- const E = T.point([h, W], {
9223
- val: R[W].val[X],
9224
- spd: R[W].spd[X]
9177
+ const E = v.point([h, f], {
9178
+ val: R[f].val[X],
9179
+ spd: R[f].spd[X]
9225
9180
  });
9226
9181
  B.push(E);
9227
9182
  }
@@ -9234,12 +9189,12 @@ const rz = {
9234
9189
  else {
9235
9190
  const R = this.weatherLayers[d].raw;
9236
9191
  if (R) {
9237
- const W = [];
9192
+ const f = [];
9238
9193
  for (const m in R.Polygon) {
9239
9194
  const h = R.Polygon[m];
9240
9195
  for (const X of h)
9241
- W.push(
9242
- T.polygon(X, {
9196
+ f.push(
9197
+ v.polygon(X, {
9243
9198
  val: Number(m)
9244
9199
  })
9245
9200
  );
@@ -9247,13 +9202,13 @@ const rz = {
9247
9202
  for (const m in R.Point) {
9248
9203
  const h = R.Point[m];
9249
9204
  for (const X of h)
9250
- W.push(
9251
- ...T.points(X, {
9205
+ f.push(
9206
+ ...v.points(X, {
9252
9207
  val: Number(m)
9253
9208
  }).features
9254
9209
  );
9255
9210
  }
9256
- B = B.concat(W);
9211
+ B = B.concat(f);
9257
9212
  }
9258
9213
  }
9259
9214
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("sigWave elapsed: ", b, ", total: ", M += b);
@@ -9263,26 +9218,26 @@ const rz = {
9263
9218
  else {
9264
9219
  const R = this.weatherLayers[d].raw;
9265
9220
  if (R) {
9266
- const W = [];
9221
+ const f = [];
9267
9222
  for (const m in R.LineString) {
9268
9223
  const h = R.LineString[m];
9269
9224
  for (const X of h)
9270
- W.push(
9271
- T.lineString(X, {
9225
+ f.push(
9226
+ v.lineString(X, {
9272
9227
  val: Number(m)
9273
9228
  })
9274
9229
  );
9275
9230
  }
9276
9231
  for (const m in R.Point)
9277
9232
  R.Point[m].lng.forEach((h, X) => {
9278
- h = O0.convertToStdLng(h), W.push(
9279
- T.point([h, m], {
9233
+ h = M0.convertToStdLng(h), f.push(
9234
+ v.point([h, m], {
9280
9235
  val: R.Point[m].val[X],
9281
9236
  type: R.Point[m].type[X]
9282
9237
  })
9283
9238
  );
9284
9239
  });
9285
- B = B.concat(W);
9240
+ B = B.concat(f);
9286
9241
  }
9287
9242
  }
9288
9243
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("prmsl elapsed: ", b, ", total: ", M += b);
@@ -9292,22 +9247,22 @@ const rz = {
9292
9247
  else {
9293
9248
  const R = this.weatherLayers[d].raw;
9294
9249
  if (R) {
9295
- const W = [];
9250
+ const f = [];
9296
9251
  for (const m in R.LineString) {
9297
9252
  const h = R.LineString[m];
9298
9253
  for (const X of h)
9299
- W.push(
9300
- T.lineString(X, {
9254
+ f.push(
9255
+ v.lineString(X, {
9301
9256
  val: Number(m)
9302
9257
  })
9303
9258
  );
9304
9259
  }
9305
- B = B.concat(W);
9260
+ B = B.concat(f);
9306
9261
  }
9307
9262
  }
9308
9263
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M);
9309
9264
  }
9310
- console.log(d, " elapsed: ", b, ", total: ", M += b), B.length && (this.weatherLayers[d].data = T.featureCollection(B)), this.weatherLayers[d].active = !0, this.weatherLayers[d].version = Math.random() + 1;
9265
+ console.log(d, " elapsed: ", b, ", total: ", M += b), B.length && (this.weatherLayers[d].data = v.featureCollection(B)), this.weatherLayers[d].active = !0, this.weatherLayers[d].version = Math.random() + 1;
9311
9266
  }
9312
9267
  },
9313
9268
  handleDragEndWithZoom4Image() {
@@ -9315,14 +9270,14 @@ const rz = {
9315
9270
  this.weatherLayers[z].active && this.weatherLayers[z].type === "image" && (this.weatherLayers[z].active = !0, this.weatherLayers[z].version = Math.random() + 1);
9316
9271
  },
9317
9272
  handleBboxClip(z, M) {
9318
- const b = [], O = O0.convertToStdLng(M._sw.lng), p = O0.convertToStdLng(M._ne.lng);
9273
+ const b = [], O = M0.convertToStdLng(M._sw.lng), p = M0.convertToStdLng(M._ne.lng);
9319
9274
  return z.features.forEach((o) => {
9320
9275
  if (o.geometry.type !== "Point")
9321
9276
  if (O > p) {
9322
- let A = [O, M._sw.lat, 180, M._ne.lat], t = T.bboxClip(o, A);
9323
- t.geometry.coordinates.length && b.push(t), A = [-180, M._sw.lat, p, M._ne.lat], t = T.bboxClip(o, A), t.geometry.coordinates.length && b.push(t);
9277
+ let A = [O, M._sw.lat, 180, M._ne.lat], t = v.bboxClip(o, A);
9278
+ t.geometry.coordinates.length && b.push(t), A = [-180, M._sw.lat, p, M._ne.lat], t = v.bboxClip(o, A), t.geometry.coordinates.length && b.push(t);
9324
9279
  } else {
9325
- const A = [O, M._sw.lat, p, M._ne.lat], t = T.bboxClip(o, A);
9280
+ const A = [O, M._sw.lat, p, M._ne.lat], t = v.bboxClip(o, A);
9326
9281
  t.geometry.coordinates.length && b.push(t);
9327
9282
  }
9328
9283
  else
@@ -9340,8 +9295,8 @@ const rz = {
9340
9295
  this.handleBeforeLayerToggle();
9341
9296
  },
9342
9297
  handleBeforeLayerToggle() {
9343
- var z, M, b, O, p, o, A, t, q, r, a, n, s, d;
9344
- (z = this.map) != null && z.getLayer(this.beforeLayer) && ((M = this.activeWeatherLayers) != null && M.length || (b = this.otherLayers) != null && b["war-zones"] || (O = this.otherLayers) != null && O["gmdss-areas"] || (p = this.otherLayers) != null && p["load-lines"] || (o = this.otherLayers) != null && o["high-risk-area"] || (A = this.otherLayers) != null && A["time-zones"] || (t = this.otherLayers) != null && t.pirates || (q = this.otherLayers) != null && q.ports || (r = this.otherLayers) != null && r.enc || (a = this.otherLayers) != null && a.world12nm || (n = this.otherLayers) != null && n["voluntary-reporting-area"] || (s = this.otherLayers) != null && s["eca-zones"] || (d = this.otherLayers) != null && d["special-area"]) && this.map.setLayoutProperty(this.beforeLayer, "visibility", "visible");
9298
+ var z, M, b, O, p, o, A, t, q, r, a, n, l, d;
9299
+ (z = this.map) != null && z.getLayer(this.beforeLayer) && ((M = this.activeWeatherLayers) != null && M.length || (b = this.otherLayers) != null && b["war-zones"] || (O = this.otherLayers) != null && O["gmdss-areas"] || (p = this.otherLayers) != null && p["load-lines"] || (o = this.otherLayers) != null && o["high-risk-area"] || (A = this.otherLayers) != null && A["time-zones"] || (t = this.otherLayers) != null && t.pirates || (q = this.otherLayers) != null && q.ports || (r = this.otherLayers) != null && r.enc || (a = this.otherLayers) != null && a.world12nm || (n = this.otherLayers) != null && n["voluntary-reporting-area"] || (l = this.otherLayers) != null && l["eca-zones"] || (d = this.otherLayers) != null && d["special-area"]) && this.map.setLayoutProperty(this.beforeLayer, "visibility", "visible");
9345
9300
  },
9346
9301
  handleDateChange(z = { tropicals: !1 }) {
9347
9302
  this.fetchWeatherLayers(z), this.fetchOtherLayers({ dayNight: !0 });
@@ -9375,8 +9330,8 @@ const rz = {
9375
9330
  }
9376
9331
  },
9377
9332
  handle3dToggle(z) {
9378
- var M, b, O, p, o, A, t, q, r, a, n, s, d, B, R, W, m, h, X, E;
9379
- z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((A = this.viewport) == null ? void 0 : A.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (s = this.map) != null && s.getLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((R = this.map) == null || R.moveLayer((B = this.viewport) == null ? void 0 : B.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((W = this.viewport) == null ? void 0 : W.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((E = this.map) == null || E.moveLayer((X = this.viewport) == null ? void 0 : X.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9333
+ var M, b, O, p, o, A, t, q, r, a, n, l, d, B, R, f, m, h, X, E;
9334
+ z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((A = this.viewport) == null ? void 0 : A.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (l = this.map) != null && l.getLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((R = this.map) == null || R.moveLayer((B = this.viewport) == null ? void 0 : B.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((f = this.viewport) == null ? void 0 : f.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((E = this.map) == null || E.moveLayer((X = this.viewport) == null ? void 0 : X.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9380
9335
  },
9381
9336
  handleParticle(z) {
9382
9337
  this.particleFactor = z, this.weatherLayers[z.key] && (this.weatherLayers[z.key].particle = z.particle), this.activeWeatherLayers.map((O) => {
@@ -9394,16 +9349,16 @@ const rz = {
9394
9349
  this.$emit("toggleVersion", Math.random());
9395
9350
  }
9396
9351
  }
9397
- }, nz = {
9352
+ }, Az = {
9398
9353
  key: 0,
9399
9354
  ref: "mapGlHome",
9400
9355
  className: "map-gl-home"
9401
9356
  };
9402
- function dz(z, M, b, O, p, o) {
9403
- var q0, n0, R0, d0, D, L, N, x, $, h0, m0, B0, c0, e, i, u, g, v, S, Z, P, F, x0, k0, Q0, H0, _0;
9404
- const A = I("IdmGlLayer"), t = I("IdmENC"), q = I("IdmWorld12nm"), r = I("IdmSigWave"), a = I("IdmSwell"), n = I("IdmPrmsl"), s = I("IdmIceberg"), d = I("IdmTropicals"), B = I("IdmCurrents"), R = I("IdmCurrentParticle"), W = I("IdmWindBarb"), m = I("IdmWindParticle"), h = I("IdmPrecip3h"), X = I("IdmVisibility"), E = I("IdmWaterTemp"), y = I("IdmTemp"), H = I("IdmArctic"), K = I("IdmWarZone"), V = I("IdmGmdssArea"), M0 = I("IdmEcaZone"), b0 = I("IdmAlertZone"), t0 = I("IdmPort"), l0 = I("IdmLoadLine"), f0 = I("IdmTimezone"), a0 = I("IdmVRA"), s0 = I("IdmSpecialArea"), z0 = I("IdmTerminator"), u0 = I("IdmLatLng"), L0 = I("IdmMeasure"), W0 = I("IdmPoint");
9405
- return b.map ? (l(), f("div", nz, [
9406
- C(A, Q({
9357
+ function ez(z, M, b, O, p, o) {
9358
+ var r0, d0, g0, s0, S, b0, t0, I, z0, W0, l0, L0, o0, e, i, L, N, C, D, Z, P, G, x0, k0, Q0, H0, _0;
9359
+ const A = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), a = x("IdmSwell"), n = x("IdmPrmsl"), l = x("IdmIceberg"), d = x("IdmTropicals"), B = x("IdmCurrents"), R = x("IdmCurrentParticle"), f = x("IdmWindBarb"), m = x("IdmWindParticle"), h = x("IdmPrecip3h"), X = x("IdmVisibility"), E = x("IdmWaterTemp"), y = x("IdmTemp"), _ = x("IdmArctic"), K = x("IdmWarZone"), V = x("IdmGmdssArea"), u = x("IdmEcaZone"), g = x("IdmAlertZone"), e0 = x("IdmPort"), n0 = x("IdmLoadLine"), h0 = x("IdmTimezone"), i0 = x("IdmVRA"), f0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), m0 = x("IdmLatLng"), B0 = x("IdmMeasure"), u0 = x("IdmPoint");
9360
+ return b.map ? (s(), W("div", Az, [
9361
+ w(A, Q({
9407
9362
  ref: "layer",
9408
9363
  map: b.map,
9409
9364
  "toggle-version": b.toggleVersion,
@@ -9415,63 +9370,63 @@ function dz(z, M, b, O, p, o) {
9415
9370
  }, z.$attrs, {
9416
9371
  onWeather: o.handleWeatherLayerChange,
9417
9372
  onOther: o.handleOtherLayerChange,
9418
- onToggleWindParticle: M[0] || (M[0] = (i0) => p.showWindParticle = i0),
9419
- onToggleWindFeather: M[1] || (M[1] = (i0) => p.showWindFeather = i0),
9420
- onToggleCurrentParticle: M[2] || (M[2] = (i0) => p.showCurrentParticle = i0),
9421
- onToggleCurrentIsoband: M[3] || (M[3] = (i0) => p.showCurrentIsoband = i0),
9422
- onCoordinate: M[4] || (M[4] = (i0) => p.showCoord = i0),
9423
- onMeasure: M[5] || (M[5] = (i0) => p.showMeasure = i0),
9424
- onPoint: M[6] || (M[6] = (i0) => p.showPoint = i0),
9373
+ onToggleWindParticle: M[0] || (M[0] = (a0) => p.showWindParticle = a0),
9374
+ onToggleWindFeather: M[1] || (M[1] = (a0) => p.showWindFeather = a0),
9375
+ onToggleCurrentParticle: M[2] || (M[2] = (a0) => p.showCurrentParticle = a0),
9376
+ onToggleCurrentIsoband: M[3] || (M[3] = (a0) => p.showCurrentIsoband = a0),
9377
+ onCoordinate: M[4] || (M[4] = (a0) => p.showCoord = a0),
9378
+ onMeasure: M[5] || (M[5] = (a0) => p.showMeasure = a0),
9379
+ onPoint: M[6] || (M[6] = (a0) => p.showPoint = a0),
9425
9380
  on3d: o.handle3dToggle,
9426
9381
  onHandleToggleVersion: o.handleToggleVersion
9427
9382
  }), null, 16, ["map", "toggle-version", "map-projection", "showWindFeather", "showWindParticle", "showCurrentIsoband", "showCurrentParticle", "onWeather", "onOther", "on3d", "onHandleToggleVersion"]),
9428
- C(t, Q({
9383
+ w(t, Q({
9429
9384
  map: b.map,
9430
9385
  token: b.token,
9431
- enabled: (q0 = p.otherLayers) == null ? void 0 : q0.enc,
9386
+ enabled: (r0 = p.otherLayers) == null ? void 0 : r0.enc,
9432
9387
  "toggle-version": b.toggleVersion
9433
9388
  }, z.$attrs, {
9434
- onEnc: M[7] || (M[7] = (i0) => p.enc = i0)
9389
+ onEnc: M[7] || (M[7] = (a0) => p.enc = a0)
9435
9390
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
9436
- C(q, Q({
9391
+ w(q, Q({
9437
9392
  map: b.map,
9438
9393
  token: b.token,
9439
9394
  "weather-layers": p.weatherLayers,
9440
- enabled: (n0 = p.otherLayers) == null ? void 0 : n0.world12nm
9395
+ enabled: (d0 = p.otherLayers) == null ? void 0 : d0.world12nm
9441
9396
  }, z.$attrs), null, 16, ["map", "token", "weather-layers", "enabled"]),
9442
- C(r, Q({
9397
+ w(r, Q({
9443
9398
  map: b.map,
9444
- "sig-wave": (R0 = p.weatherLayers) == null ? void 0 : R0["sig-wave-height"],
9399
+ "sig-wave": (g0 = p.weatherLayers) == null ? void 0 : g0["sig-wave-height"],
9445
9400
  "before-layer": b.beforeLayer,
9446
9401
  activeWeatherLayers: p.activeWeatherLayers
9447
9402
  }, z.$attrs), null, 16, ["map", "sig-wave", "before-layer", "activeWeatherLayers"]),
9448
- C(a, Q({
9403
+ w(a, Q({
9449
9404
  map: b.map,
9450
- swell: (d0 = p.weatherLayers) == null ? void 0 : d0.swell,
9405
+ swell: (s0 = p.weatherLayers) == null ? void 0 : s0.swell,
9451
9406
  "before-layer": b.beforeLayer,
9452
9407
  activeWeatherLayers: p.activeWeatherLayers
9453
9408
  }, z.$attrs), null, 16, ["map", "swell", "before-layer", "activeWeatherLayers"]),
9454
- C(n, Q({
9409
+ w(n, Q({
9455
9410
  map: b.map,
9456
- prmsl: (D = p.weatherLayers) == null ? void 0 : D.prmsl,
9411
+ prmsl: (S = p.weatherLayers) == null ? void 0 : S.prmsl,
9457
9412
  "before-layer": b.beforeLayer,
9458
9413
  "active-weather-layers": p.activeWeatherLayers
9459
9414
  }, z.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
9460
- C(s, Q({
9415
+ w(l, Q({
9461
9416
  map: b.map,
9462
- iceberg: (L = p.weatherLayers) == null ? void 0 : L.iceberg,
9417
+ iceberg: (b0 = p.weatherLayers) == null ? void 0 : b0.iceberg,
9463
9418
  "before-layer": b.beforeLayer
9464
9419
  }, z.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
9465
- C(d, Q({
9420
+ w(d, Q({
9466
9421
  map: b.map,
9467
9422
  date: b.ts,
9468
- tropicals: (N = p.weatherLayers) == null ? void 0 : N.tropicals,
9423
+ tropicals: (t0 = p.weatherLayers) == null ? void 0 : t0.tropicals,
9469
9424
  "before-layer": b.beforeLayer
9470
9425
  }, z.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
9471
- C(B, Q({
9426
+ w(B, Q({
9472
9427
  map: b.map,
9473
9428
  "map-projection": p.mapProjection,
9474
- current: (x = p.weatherLayers) == null ? void 0 : x.current,
9429
+ current: (I = p.weatherLayers) == null ? void 0 : I.current,
9475
9430
  "before-layer": b.beforeLayer,
9476
9431
  showCurrentIsoband: p.showCurrentIsoband,
9477
9432
  showCurrentParticle: p.showCurrentParticle,
@@ -9482,18 +9437,18 @@ function dz(z, M, b, O, p, o) {
9482
9437
  onParticle: o.handleParticle,
9483
9438
  onHandleToggleVersion: o.handleToggleVersion
9484
9439
  }), null, 16, ["map", "map-projection", "current", "before-layer", "showCurrentIsoband", "showCurrentParticle", "margin-bottom", "toggle-version", "weather-layers", "onParticle", "onHandleToggleVersion"]),
9485
- C(R, Q({
9440
+ w(R, Q({
9486
9441
  viewport: p.viewport,
9487
- factor: ($ = p.weatherLayers) == null ? void 0 : $["current-particle"],
9442
+ factor: (z0 = p.weatherLayers) == null ? void 0 : z0["current-particle"],
9488
9443
  "before-layer": b.beforeLayer,
9489
9444
  "toggle-version": b.toggleVersion
9490
9445
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9491
- C(W, Q({
9446
+ w(f, Q({
9492
9447
  ref: "windBarb",
9493
9448
  map: b.map,
9494
9449
  "map-projection": p.mapProjection,
9495
- wind: (h0 = p.weatherLayers) == null ? void 0 : h0.wind,
9496
- current: (m0 = p.weatherLayers) == null ? void 0 : m0.current,
9450
+ wind: (W0 = p.weatherLayers) == null ? void 0 : W0.wind,
9451
+ current: (l0 = p.weatherLayers) == null ? void 0 : l0.current,
9497
9452
  "before-layer": b.beforeLayer,
9498
9453
  "margin-bottom": p.showRampColor ? "56px" : "30px",
9499
9454
  showWindFeather: p.showWindFeather,
@@ -9503,102 +9458,102 @@ function dz(z, M, b, O, p, o) {
9503
9458
  "weather-layers": p.weatherLayers,
9504
9459
  onParticle: o.handleParticle
9505
9460
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "showWindFeather", "showWindParticle", "toggle-version", "weather-layers", "onParticle"]),
9506
- C(m, Q({
9461
+ w(m, Q({
9507
9462
  viewport: p.viewport,
9508
- factor: (B0 = p.weatherLayers) == null ? void 0 : B0["wind-particle"],
9463
+ factor: (L0 = p.weatherLayers) == null ? void 0 : L0["wind-particle"],
9509
9464
  "before-layer": b.beforeLayer,
9510
9465
  "toggle-version": b.toggleVersion
9511
9466
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9512
- C(h, Q({
9467
+ w(h, Q({
9513
9468
  viewport: p.viewport,
9514
- factor: (c0 = p.weatherLayers) == null ? void 0 : c0.precip3h,
9469
+ factor: (o0 = p.weatherLayers) == null ? void 0 : o0.precip3h,
9515
9470
  "before-layer": b.beforeLayer,
9516
9471
  "toggle-version": b.toggleVersion
9517
9472
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9518
- C(X, Q({
9473
+ w(X, Q({
9519
9474
  viewport: p.viewport,
9520
9475
  factor: (e = p.weatherLayers) == null ? void 0 : e.visibility,
9521
9476
  "before-layer": b.beforeLayer,
9522
9477
  "toggle-version": b.toggleVersion
9523
9478
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9524
- C(E, Q({
9479
+ w(E, Q({
9525
9480
  viewport: p.viewport,
9526
9481
  factor: (i = p.weatherLayers) == null ? void 0 : i["water-temp"],
9527
9482
  "before-layer": b.beforeLayer,
9528
9483
  "toggle-version": b.toggleVersion
9529
9484
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9530
- C(y, Q({
9485
+ w(y, Q({
9531
9486
  viewport: p.viewport,
9532
- factor: (u = p.weatherLayers) == null ? void 0 : u.temp,
9487
+ factor: (L = p.weatherLayers) == null ? void 0 : L.temp,
9533
9488
  "before-layer": b.beforeLayer,
9534
9489
  "toggle-version": b.toggleVersion
9535
9490
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9536
- C(H, Q({
9491
+ w(_, Q({
9537
9492
  viewport: p.viewport,
9538
- factor: (g = p.weatherLayers) == null ? void 0 : g.arctic,
9493
+ factor: (N = p.weatherLayers) == null ? void 0 : N.arctic,
9539
9494
  "before-layer": b.beforeLayer,
9540
9495
  "toggle-version": b.toggleVersion
9541
9496
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9542
- C(K, Q({
9497
+ w(K, Q({
9543
9498
  map: b.map,
9544
- zone: (v = p.otherLayers) == null ? void 0 : v["war-zones"],
9499
+ zone: (C = p.otherLayers) == null ? void 0 : C["war-zones"],
9545
9500
  "before-layer": b.beforeLayer
9546
9501
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9547
- C(V, Q({
9502
+ w(V, Q({
9548
9503
  map: b.map,
9549
- area: (S = p.otherLayers) == null ? void 0 : S["gmdss-areas"],
9504
+ area: (D = p.otherLayers) == null ? void 0 : D["gmdss-areas"],
9550
9505
  "before-layer": b.beforeLayer
9551
9506
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9552
- C(M0, Q({
9507
+ w(u, Q({
9553
9508
  map: b.map,
9554
9509
  zone: (Z = p.otherLayers) == null ? void 0 : Z["eca-zones"],
9555
9510
  "before-layer": b.beforeLayer
9556
9511
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9557
- C(b0, Q({
9512
+ w(g, Q({
9558
9513
  map: b.map,
9559
9514
  zone: (P = p.otherLayers) == null ? void 0 : P["alert-zones"],
9560
9515
  "before-layer": b.beforeLayer
9561
9516
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9562
- C(t0, Q({
9517
+ w(e0, Q({
9563
9518
  map: b.map,
9564
- port: (F = p.otherLayers) == null ? void 0 : F.ports,
9519
+ port: (G = p.otherLayers) == null ? void 0 : G.ports,
9565
9520
  "before-layer": b.beforeLayer,
9566
9521
  meteoSource: p.source
9567
9522
  }, z.$attrs), null, 16, ["map", "port", "before-layer", "meteoSource"]),
9568
- C(l0, Q({
9523
+ w(n0, Q({
9569
9524
  map: b.map,
9570
9525
  line: (x0 = p.otherLayers) == null ? void 0 : x0["load-lines"],
9571
9526
  "before-layer": b.beforeLayer
9572
9527
  }, z.$attrs), null, 16, ["map", "line", "before-layer"]),
9573
- C(f0, Q({
9528
+ w(h0, Q({
9574
9529
  map: b.map,
9575
9530
  zone: (k0 = p.otherLayers) == null ? void 0 : k0["time-zones"],
9576
9531
  "before-layer": b.beforeLayer
9577
9532
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9578
- C(a0, Q({
9533
+ w(i0, Q({
9579
9534
  map: b.map,
9580
9535
  area: (Q0 = p.otherLayers) == null ? void 0 : Q0["voluntary-reporting-area"],
9581
9536
  "before-layer": b.beforeLayer
9582
9537
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9583
- C(s0, Q({
9538
+ w(f0, Q({
9584
9539
  map: b.map,
9585
9540
  area: (H0 = p.otherLayers) == null ? void 0 : H0["special-area"],
9586
9541
  "before-layer": b.beforeLayer
9587
9542
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9588
- C(z0, Q({
9543
+ w(p0, Q({
9589
9544
  map: b.map,
9590
9545
  area: (_0 = p.otherLayers) == null ? void 0 : _0["day-night"]
9591
9546
  }, z.$attrs), null, 16, ["map", "area"]),
9592
- C(u0, Q({
9547
+ w(m0, Q({
9593
9548
  map: b.map,
9594
9549
  show: p.showCoord,
9595
9550
  "toggle-version": b.toggleVersion
9596
9551
  }, z.$attrs), null, 16, ["map", "show", "toggle-version"]),
9597
- C(L0, Q({
9552
+ w(B0, Q({
9598
9553
  map: b.map,
9599
9554
  show: p.showMeasure
9600
9555
  }, z.$attrs), null, 16, ["map", "show"]),
9601
- C(W0, Q({
9556
+ w(u0, Q({
9602
9557
  ref: "idmPoint",
9603
9558
  map: b.map,
9604
9559
  show: p.showPoint,
@@ -9608,21 +9563,21 @@ function dz(z, M, b, O, p, o) {
9608
9563
  gateway: p.gateway,
9609
9564
  meteoSource: p.source
9610
9565
  }, z.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway", "meteoSource"])
9611
- ], 512)) : _("", !0);
9566
+ ], 512)) : F("", !0);
9612
9567
  }
9613
- const sz = /* @__PURE__ */ k(rz, [["render", dz]]), gz = {
9568
+ const tz = /* @__PURE__ */ k(cz, [["render", ez]]), fz = {
9614
9569
  install(z) {
9615
- z.component("MapboxGL", sz), z.component("TropicalGL", F0), z.component("LatLngGL", K0);
9570
+ z.component("MapboxGL", tz), z.component("TropicalGL", F0), z.component("LatLngGL", K0);
9616
9571
  }
9617
9572
  };
9618
9573
  export {
9619
9574
  K0 as LatLngGL,
9620
- sz as MapboxGL,
9621
- gz as MapboxGLPlugin,
9575
+ tz as MapboxGL,
9576
+ fz as MapboxGLPlugin,
9622
9577
  k1 as MapboxHelper,
9623
- r0 as ParticleSchema,
9578
+ q0 as ParticleSchema,
9624
9579
  F0 as TropicalGL,
9625
9580
  P0 as Viewport,
9626
9581
  C0 as WebGL,
9627
- e0 as WebGLSchema
9582
+ A0 as WebGLSchema
9628
9583
  };