@idmwx/idmui-gl3 4.8.0 → 4.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  var G0 = Object.defineProperty;
2
2
  var U0 = (z, M, b) => M in z ? G0(z, M, { enumerable: !0, configurable: !0, writable: !0, value: b }) : z[M] = b;
3
- var Y = (z, M, b) => (U0(z, typeof M != "symbol" ? M + "" : M, b), b);
3
+ var J = (z, M, b) => (U0(z, typeof M != "symbol" ? M + "" : M, b), b);
4
4
  import { LayerHelper as x0, CompanyHelper as I0 } from "@idm-plugin/tag";
5
- import { resolveComponent as I, openBlock as s, createElementBlock as W, createElementVNode as c, normalizeStyle as c0, createVNode as C, withCtx as t0, normalizeClass as V, Fragment as F, renderList as K, toDisplayString as T, createCommentVNode as j, createTextVNode as z0, withDirectives as y0, createStaticVNode as K0, vShow as X0, defineComponent as J0, withModifiers as T0, mergeProps as H } from "vue";
6
- import * as v from "@turf/turf";
5
+ import { resolveComponent as x, openBlock as W, createElementBlock as l, createElementVNode as c, normalizeStyle as o0, createVNode as w, withCtx as e0, normalizeClass as Y, Fragment as j, renderList as U, toDisplayString as v, createCommentVNode as _, createTextVNode as b0, withDirectives as y0, createStaticVNode as K0, vShow as X0, defineComponent as J0, withModifiers as T0, mergeProps as Q } from "vue";
6
+ import * as C from "@turf/turf";
7
7
  import Y0 from "@mapbox/sphericalmercator";
8
- import G from "moment";
8
+ import F from "moment";
9
9
  import w0 from "mapbox-gl";
10
- import { TropicalHelper as Q0, LngLatHelper as b0, LaneHelper as g0 } from "@idm-plugin/geo";
10
+ import { TropicalHelper as Q0, LngLatHelper as M0, LaneHelper as g0 } from "@idm-plugin/geo";
11
11
  import { Meteo2Assist as k0 } from "@idm-plugin/meteo";
12
12
  import N0 from "axios";
13
- const Q = (z, M) => {
13
+ const k = (z, M) => {
14
14
  const b = z.__vccOpts || z;
15
15
  for (const [O, p] of M)
16
16
  b[O] = p;
@@ -222,22 +222,22 @@ const Q = (z, M) => {
222
222
  class: "iconfont"
223
223
  }, X1 = { class: "source-layers card-bg" }, w1 = { class: "layers-body" };
224
224
  function C1(z, M, b, O, p, o) {
225
- const A = I("ElTooltip"), t = I("ElRadio"), q = I("ElRadioGroup"), r = I("ElScrollbar");
226
- return s(), W("div", Z0, [
225
+ const A = x("ElTooltip"), t = x("ElRadio"), q = x("ElRadioGroup"), n = x("ElScrollbar");
226
+ return W(), l("div", Z0, [
227
227
  c("div", {
228
228
  class: "menu-bar-box",
229
- style: c0({ top: b.top + 10 + "px", right: p.right + "px" })
229
+ style: o0({ top: b.top + 10 + "px", right: p.right + "px" })
230
230
  }, [
231
231
  c("div", $0, [
232
- C(A, {
232
+ w(A, {
233
233
  placement: "left",
234
234
  effect: "light",
235
235
  content: "Menu",
236
236
  "show-after": 1e3
237
237
  }, {
238
- default: t0(() => [
238
+ default: e0(() => [
239
239
  c("div", {
240
- class: V(b.layerToggle ? "menu-icon active" : "menu-icon"),
240
+ class: Y(b.layerToggle ? "menu-icon active" : "menu-icon"),
241
241
  onClick: M[0] || (M[0] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
242
242
  }, M[17] || (M[17] = [
243
243
  c("span", { class: "iconfont" }, "", -1)
@@ -249,18 +249,18 @@ function C1(z, M, b, O, p, o) {
249
249
  ], 4),
250
250
  c("div", {
251
251
  class: "menu-bar-box",
252
- style: c0({ top: b.top + 160 + "px", right: p.right + "px" })
252
+ style: o0({ top: b.top + 160 + "px", right: p.right + "px" })
253
253
  }, [
254
254
  c("div", M1, [
255
- C(A, {
255
+ w(A, {
256
256
  placement: "left",
257
257
  effect: "light",
258
258
  content: "Measure",
259
259
  "show-after": 1e3
260
260
  }, {
261
- default: t0(() => [
261
+ default: e0(() => [
262
262
  c("div", {
263
- class: V(p.showMeasure ? "menu-icon active" : "menu-icon"),
263
+ class: Y(p.showMeasure ? "menu-icon active" : "menu-icon"),
264
264
  onClick: M[1] || (M[1] = (...a) => o.handleMeasureToggle && o.handleMeasureToggle(...a))
265
265
  }, M[18] || (M[18] = [
266
266
  c("span", { class: "iconfont" }, "", -1)
@@ -268,15 +268,15 @@ function C1(z, M, b, O, p, o) {
268
268
  ]),
269
269
  _: 1
270
270
  }),
271
- C(A, {
271
+ w(A, {
272
272
  placement: "left",
273
273
  effect: "light",
274
274
  content: "Point Meteo",
275
275
  "show-after": 1e3
276
276
  }, {
277
- default: t0(() => [
277
+ default: e0(() => [
278
278
  c("div", {
279
- class: V(p.showPoint ? "menu-icon active" : "menu-icon"),
279
+ class: Y(p.showPoint ? "menu-icon active" : "menu-icon"),
280
280
  onClick: M[2] || (M[2] = (...a) => o.handlePointToggle && o.handlePointToggle(...a))
281
281
  }, M[19] || (M[19] = [
282
282
  c("span", { class: "iconfont" }, "", -1)
@@ -284,15 +284,15 @@ function C1(z, M, b, O, p, o) {
284
284
  ]),
285
285
  _: 1
286
286
  }),
287
- C(A, {
287
+ w(A, {
288
288
  placement: "left",
289
289
  effect: "light",
290
290
  content: "Grid",
291
291
  "show-after": 1e3
292
292
  }, {
293
- default: t0(() => [
293
+ default: e0(() => [
294
294
  c("div", {
295
- class: V(p.showCoord ? "menu-icon active" : "menu-icon"),
295
+ class: Y(p.showCoord ? "menu-icon active" : "menu-icon"),
296
296
  onClick: M[3] || (M[3] = (...a) => o.handleCoordToggle && o.handleCoordToggle(...a))
297
297
  }, M[20] || (M[20] = [
298
298
  c("span", { class: "iconfont" }, "", -1)
@@ -300,15 +300,15 @@ function C1(z, M, b, O, p, o) {
300
300
  ]),
301
301
  _: 1
302
302
  }),
303
- C(A, {
303
+ w(A, {
304
304
  placement: "left",
305
305
  effect: "light",
306
306
  content: "3D",
307
307
  "show-after": 1e3
308
308
  }, {
309
- default: t0(() => [
309
+ default: e0(() => [
310
310
  c("div", {
311
- class: V(p.show3d ? "menu-icon active" : "menu-icon"),
311
+ class: Y(p.show3d ? "menu-icon active" : "menu-icon"),
312
312
  onClick: M[4] || (M[4] = (...a) => o.handle3DToggle && o.handle3DToggle(...a))
313
313
  }, M[21] || (M[21] = [
314
314
  c("span", { class: "iconfont" }, "", -1)
@@ -318,10 +318,10 @@ function C1(z, M, b, O, p, o) {
318
318
  })
319
319
  ])
320
320
  ], 4),
321
- o.hasCollectedLayers ? (s(), W("div", {
321
+ o.hasCollectedLayers ? (W(), l("div", {
322
322
  key: 0,
323
323
  class: "active-layers",
324
- style: c0({ right: p.right + "px", bottom: "100px" })
324
+ style: o0({ right: p.right + "px", bottom: "100px" })
325
325
  }, [
326
326
  c("div", b1, [
327
327
  M[22] || (M[22] = c("div", { style: { margin: "2px 5px" } }, "My Favorites", -1)),
@@ -330,49 +330,49 @@ function C1(z, M, b, O, p, o) {
330
330
  style: { "font-size": "28px", "margin-right": "0" },
331
331
  onClick: M[5] || (M[5] = (...a) => o.toggleAutoActive && o.toggleAutoActive(...a))
332
332
  }, [
333
- p.autoActive ? (s(), W("i", z1, "")) : (s(), W("i", p1, ""))
333
+ p.autoActive ? (W(), l("i", z1, "")) : (W(), l("i", p1, ""))
334
334
  ])
335
335
  ]),
336
- (s(!0), W(F, null, K(p.layers.weather.filter((a) => a.collected), (a) => (s(), W("div", {
336
+ (W(!0), l(j, null, U(p.layers.weather.filter((a) => a.collected), (a) => (W(), l("div", {
337
337
  key: a.key,
338
- class: V(o.computeLayerClass(a, p.activeWeatherLayers))
338
+ class: Y(o.computeLayerClass(a, p.activeWeatherLayers))
339
339
  }, [
340
340
  c("div", {
341
341
  class: "checkbox",
342
- onClick: (i) => o.handleWeatherLayerPick(a)
342
+ onClick: (r) => o.handleWeatherLayerPick(a)
343
343
  }, null, 8, O1),
344
344
  c("span", {
345
345
  class: "name",
346
- onClick: (i) => o.handleWeatherLayerPick(a)
347
- }, T(a.name), 9, o1),
348
- a.key === "wind" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (s(), W("div", c1, [
346
+ onClick: (r) => o.handleWeatherLayerPick(a)
347
+ }, v(a.name), 9, o1),
348
+ a.key === "wind" && p.activeWeatherLayers.some((r) => r.key === a.key) ? (W(), l("div", c1, [
349
349
  c("i", {
350
- class: V(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
351
- onClick: M[6] || (M[6] = (i) => o.handleToggleWindParticle())
350
+ class: Y(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
351
+ onClick: M[6] || (M[6] = (r) => o.handleToggleWindParticle())
352
352
  }, "", 2),
353
353
  c("i", {
354
- class: V(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
355
- onClick: M[7] || (M[7] = (i) => o.handleToggleWindFeather())
354
+ class: Y(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
355
+ onClick: M[7] || (M[7] = (r) => o.handleToggleWindFeather())
356
356
  }, "", 2)
357
- ])) : j("", !0),
358
- a.key === "current" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (s(), W("div", A1, [
357
+ ])) : _("", !0),
358
+ a.key === "current" && p.activeWeatherLayers.some((r) => r.key === a.key) ? (W(), l("div", A1, [
359
359
  c("i", {
360
- class: V(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
361
- onClick: M[8] || (M[8] = (i) => o.handleToggleCurrentParticle())
360
+ class: Y(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
361
+ onClick: M[8] || (M[8] = (r) => o.handleToggleCurrentParticle())
362
362
  }, "", 2),
363
363
  c("i", {
364
- class: V(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
365
- onClick: M[9] || (M[9] = (i) => o.handleToggleCurrentIsoband())
364
+ class: Y(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
365
+ onClick: M[9] || (M[9] = (r) => o.handleToggleCurrentIsoband())
366
366
  }, "", 2)
367
- ])) : j("", !0)
367
+ ])) : _("", !0)
368
368
  ], 2))), 128))
369
- ], 4)) : j("", !0),
369
+ ], 4)) : _("", !0),
370
370
  c("div", {
371
371
  class: "available-layers flex-center",
372
- style: c0({ top: b.top + "px", right: b.layerToggle ? "0px" : "-240px" })
372
+ style: o0({ top: b.top + "px", right: b.layerToggle ? "0px" : "-240px" })
373
373
  }, [
374
374
  c("div", {
375
- class: V(["list-box", b.layerToggle ? "right-bar" : ""])
375
+ class: Y(["list-box", b.layerToggle ? "right-bar" : ""])
376
376
  }, [
377
377
  c("div", e1, [
378
378
  M[23] || (M[23] = c("div", null, "Layers", -1)),
@@ -381,8 +381,8 @@ function C1(z, M, b, O, p, o) {
381
381
  onClick: M[10] || (M[10] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
382
382
  }, "")
383
383
  ]),
384
- C(r, { style: { flex: "1" } }, {
385
- default: t0(() => [
384
+ w(n, { style: { flex: "1" } }, {
385
+ default: e0(() => [
386
386
  c("div", t1, [
387
387
  c("div", a1, [
388
388
  M[24] || (M[24] = c("div", null, "Weather Layers", -1)),
@@ -391,51 +391,51 @@ function C1(z, M, b, O, p, o) {
391
391
  style: { "margin-right": "0" },
392
392
  onClick: M[11] || (M[11] = (...a) => o.toggleAutoActive && o.toggleAutoActive(...a))
393
393
  }, [
394
- p.autoActive ? (s(), W("i", q1, "")) : (s(), W("i", i1, ""))
394
+ p.autoActive ? (W(), l("i", q1, "")) : (W(), l("i", i1, ""))
395
395
  ])
396
396
  ]),
397
397
  c("div", r1, [
398
- (s(!0), W(F, null, K(p.layers.weather, (a) => (s(), W(F, {
398
+ (W(!0), l(j, null, U(p.layers.weather, (a) => (W(), l(j, {
399
399
  key: a.key
400
400
  }, [
401
- a.hide ? j("", !0) : (s(), W("div", {
401
+ a.hide ? _("", !0) : (W(), l("div", {
402
402
  key: 0,
403
- class: V(o.computeLayerClass(a, p.activeWeatherLayers))
403
+ class: Y(o.computeLayerClass(a, p.activeWeatherLayers))
404
404
  }, [
405
405
  c("div", n1, [
406
406
  c("div", {
407
407
  class: "checkbox",
408
- onClick: (i) => o.handleWeatherLayerPick(a)
408
+ onClick: (r) => o.handleWeatherLayerPick(a)
409
409
  }, null, 8, d1),
410
410
  c("span", {
411
411
  class: "name",
412
- onClick: (i) => o.handleWeatherLayerPick(a)
413
- }, T(a.name), 9, s1),
414
- a.key === "wind" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (s(), W("div", W1, [
412
+ onClick: (r) => o.handleWeatherLayerPick(a)
413
+ }, v(a.name), 9, s1),
414
+ a.key === "wind" && p.activeWeatherLayers.some((r) => r.key === a.key) ? (W(), l("div", W1, [
415
415
  c("i", {
416
- class: V(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
417
- onClick: M[12] || (M[12] = (i) => o.handleToggleWindParticle())
416
+ class: Y(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
417
+ onClick: M[12] || (M[12] = (r) => o.handleToggleWindParticle())
418
418
  }, "", 2),
419
419
  c("i", {
420
- class: V(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
421
- onClick: M[13] || (M[13] = (i) => o.handleToggleWindFeather())
420
+ class: Y(["iconfont sub-layer-icon", b.showWindFeather ? "active" : ""]),
421
+ onClick: M[13] || (M[13] = (r) => o.handleToggleWindFeather())
422
422
  }, "", 2)
423
- ])) : j("", !0),
424
- a.key === "current" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (s(), W("div", l1, [
423
+ ])) : _("", !0),
424
+ a.key === "current" && p.activeWeatherLayers.some((r) => r.key === a.key) ? (W(), l("div", l1, [
425
425
  c("i", {
426
- class: V(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
427
- onClick: M[14] || (M[14] = (i) => o.handleToggleCurrentParticle())
426
+ class: Y(["iconfont sub-layer-icon", b.showCurrentParticle ? "active" : ""]),
427
+ onClick: M[14] || (M[14] = (r) => o.handleToggleCurrentParticle())
428
428
  }, "", 2),
429
429
  c("i", {
430
- class: V(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
431
- onClick: M[15] || (M[15] = (i) => o.handleToggleCurrentIsoband())
430
+ class: Y(["iconfont sub-layer-icon", b.showCurrentIsoband ? "active" : ""]),
431
+ onClick: M[15] || (M[15] = (r) => o.handleToggleCurrentIsoband())
432
432
  }, "", 2)
433
- ])) : j("", !0)
433
+ ])) : _("", !0)
434
434
  ]),
435
435
  c("div", {
436
- onClick: (i) => o.handleWeatherLayerCollect(a)
436
+ onClick: (r) => o.handleWeatherLayerCollect(a)
437
437
  }, [
438
- a.collected ? (s(), W("i", u1, "")) : (s(), W("i", L1, ""))
438
+ a.collected ? (W(), l("i", u1, "")) : (W(), l("i", L1, ""))
439
439
  ], 8, f1)
440
440
  ], 2))
441
441
  ], 64))), 128)),
@@ -451,18 +451,18 @@ function C1(z, M, b, O, p, o) {
451
451
  c("div", R1, [
452
452
  M[26] || (M[26] = c("div", { class: "layers-title" }, "Other Layers", -1)),
453
453
  c("div", h1, [
454
- (s(!0), W(F, null, K(p.layers.other, (a) => {
455
- var i;
456
- return s(), W("div", {
454
+ (W(!0), l(j, null, U(p.layers.other, (a) => {
455
+ var r;
456
+ return W(), l("div", {
457
457
  key: a.key,
458
- class: V(["layer flex-between", o.computeLayerClass(a, p.activeOtherLayers)]),
458
+ class: Y(["layer flex-between", o.computeLayerClass(a, p.activeOtherLayers)]),
459
459
  onClick: (L) => o.handleOtherLayerPick(a)
460
460
  }, [
461
461
  c("div", B1, [
462
462
  c("div", g1, [
463
- (i = o.computeLayerClass(a, p.activeOtherLayers)) != null && i.includes("active") ? (s(), W("i", N1, "")) : (s(), W("i", y1, ""))
463
+ (r = o.computeLayerClass(a, p.activeOtherLayers)) != null && r.includes("active") ? (W(), l("i", N1, "")) : (W(), l("i", y1, ""))
464
464
  ]),
465
- c("span", null, T(a.name), 1)
465
+ c("span", null, v(a.name), 1)
466
466
  ])
467
467
  ], 10, m1);
468
468
  }), 128))
@@ -471,21 +471,21 @@ function C1(z, M, b, O, p, o) {
471
471
  c("div", X1, [
472
472
  M[29] || (M[29] = c("span", { class: "layers-title" }, "Forecast Model", -1)),
473
473
  c("div", w1, [
474
- C(q, {
474
+ w(q, {
475
475
  modelValue: p.source,
476
476
  "onUpdate:modelValue": M[16] || (M[16] = (a) => p.source = a),
477
477
  class: "layer-radio flex-col-center-start"
478
478
  }, {
479
- default: t0(() => [
480
- C(t, { value: "GFS" }, {
481
- default: t0(() => M[27] || (M[27] = [
482
- z0("GFS")
479
+ default: e0(() => [
480
+ w(t, { value: "GFS" }, {
481
+ default: e0(() => M[27] || (M[27] = [
482
+ b0("GFS")
483
483
  ])),
484
484
  _: 1
485
485
  }),
486
- C(t, { value: "CMEMS" }, {
487
- default: t0(() => M[28] || (M[28] = [
488
- z0("CMEMS")
486
+ w(t, { value: "CMEMS" }, {
487
+ default: e0(() => M[28] || (M[28] = [
488
+ b0("CMEMS")
489
489
  ])),
490
490
  _: 1
491
491
  })
@@ -501,7 +501,7 @@ function C1(z, M, b, O, p, o) {
501
501
  ], 4)
502
502
  ]);
503
503
  }
504
- const v1 = /* @__PURE__ */ Q(V0, [["render", C1]]);
504
+ const v1 = /* @__PURE__ */ k(V0, [["render", C1]]);
505
505
  const T1 = {
506
506
  name: "IdmWindBarb",
507
507
  props: {
@@ -537,7 +537,7 @@ const T1 = {
537
537
  return {
538
538
  source: "wind-barb-source",
539
539
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
540
- empty: v.featureCollection([]),
540
+ empty: C.featureCollection([]),
541
541
  right: 10,
542
542
  bottom: 125,
543
543
  windBarbLoaded: !1
@@ -591,22 +591,22 @@ const T1 = {
591
591
  else {
592
592
  this.map.addSource(this.source, { type: "geojson", data: t });
593
593
  for (let q = 0; q < (this.barbs ?? []).length - 1; q++) {
594
- const r = (this.barbs ?? [])[q] || 0, a = (this.barbs ?? [])[q + 1] || 0, i = r < 10 ? `00${r}kts` : r < 100 ? `0${r}kts` : `${r}kts`;
594
+ const n = (this.barbs ?? [])[q] || 0, a = (this.barbs ?? [])[q + 1] || 0, r = n < 10 ? `00${n}kts` : n < 100 ? `0${n}kts` : `${n}kts`;
595
595
  this.map.addLayer(
596
596
  {
597
- id: i,
597
+ id: r,
598
598
  type: "symbol",
599
599
  filter: [
600
600
  "all",
601
601
  // @ts-ignore
602
- [">=", "spd", r],
602
+ [">=", "spd", n],
603
603
  // @ts-ignore
604
604
  ["<", "spd", a]
605
605
  ],
606
606
  source: this.source,
607
607
  layout: {
608
608
  "symbol-placement": "point",
609
- "icon-image": i,
609
+ "icon-image": r,
610
610
  // mapbox sprite
611
611
  "icon-size": 0.14,
612
612
  "icon-offset": [0, -20],
@@ -652,20 +652,20 @@ const T1 = {
652
652
  }, E1 = { key: 0 };
653
653
  function x1(z, M, b, O, p, o) {
654
654
  var A;
655
- return (A = b.wind) != null && A.active ? (s(), W("div", E1)) : j("", !0);
655
+ return (A = b.wind) != null && A.active ? (W(), l("div", E1)) : _("", !0);
656
656
  }
657
- const I1 = /* @__PURE__ */ Q(T1, [["render", x1]]);
657
+ const I1 = /* @__PURE__ */ k(T1, [["render", x1]]);
658
658
  class D0 {
659
659
  constructor(M) {
660
- Y(this, "map");
661
- Y(this, "mercator");
662
- Y(this, "rampColorLayer");
663
- Y(this, "rampColorSource");
664
- Y(this, "particleLayer");
665
- Y(this, "particleSource");
666
- Y(this, "rampColorCanvas");
667
- Y(this, "particleCanvas");
668
- Y(this, "ratio");
660
+ J(this, "map");
661
+ J(this, "mercator");
662
+ J(this, "rampColorLayer");
663
+ J(this, "rampColorSource");
664
+ J(this, "particleLayer");
665
+ J(this, "particleSource");
666
+ J(this, "rampColorCanvas");
667
+ J(this, "particleCanvas");
668
+ J(this, "ratio");
669
669
  this.map = M, this.mercator = new Y0(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
670
670
  }
671
671
  /**
@@ -700,8 +700,8 @@ class D0 {
700
700
  * @param [lb.x, lb.y, rt.x, rt.y]
701
701
  */
702
702
  getBoundPixel() {
703
- 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), [i, L] = this.mercator.px([t, p[1]], b), n = Math.round(this.mercator.size * Math.pow(2, b) * (A + q));
704
- return [i, L, r + n, a];
703
+ 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]), [n, a] = this.mercator.px([o, O[1]], b), [r, L] = this.mercator.px([t, p[1]], b), d = Math.round(this.mercator.size * Math.pow(2, b) * (A + q));
704
+ return [r, L, n + d, a];
705
705
  }
706
706
  /**
707
707
  * [视窗边界像素宽度]
@@ -718,11 +718,11 @@ class D0 {
718
718
  getWorldCopy(M, b) {
719
719
  const O = 2 ** b, [p, o, A, t] = M.map((a) => ~~(a / (O * 256))), q = [];
720
720
  for (let a = t; a <= o; a++)
721
- for (let i = p; i <= A; i++)
722
- q.push([i, a]);
721
+ for (let r = p; r <= A; r++)
722
+ q.push([r, a]);
723
723
  return q.map((a) => {
724
- const i = 2 ** b * 256;
725
- return [a[0] * i, a[1] * i, i];
724
+ const r = 2 ** b * 256;
725
+ return [a[0] * r, a[1] * r, r];
726
726
  });
727
727
  }
728
728
  resize() {
@@ -804,13 +804,13 @@ class C0 {
804
804
  if (p) {
805
805
  const o = { program: p }, A = M.getProgramParameter(p, M.ACTIVE_ATTRIBUTES);
806
806
  for (let q = 0; q < A; q++) {
807
- const r = M.getActiveAttrib(p, q);
808
- o[r.name] = M.getAttribLocation(p, r.name);
807
+ const n = M.getActiveAttrib(p, q);
808
+ o[n.name] = M.getAttribLocation(p, n.name);
809
809
  }
810
810
  const t = M.getProgramParameter(p, M.ACTIVE_UNIFORMS);
811
811
  for (let q = 0; q < t; q++) {
812
- const r = M.getActiveUniform(p, q);
813
- o[r.name] = M.getUniformLocation(p, r.name);
812
+ const n = M.getActiveUniform(p, q);
813
+ o[n.name] = M.getUniformLocation(p, n.name);
814
814
  }
815
815
  return o;
816
816
  }
@@ -825,8 +825,8 @@ class C0 {
825
825
  const t = A.getContext("2d");
826
826
  if (t && M) {
827
827
  const q = t == null ? void 0 : t.createLinearGradient(0, 0, 256, 0);
828
- return b.forEach(([r, a]) => {
829
- q.addColorStop(r, a);
828
+ return b.forEach(([n, a]) => {
829
+ q.addColorStop(n, a);
830
830
  }), t.fillStyle = q, t.fillRect(0, 0, 256, 1), {
831
831
  canvas: A,
832
832
  texture: this.createTexture(
@@ -848,8 +848,8 @@ class C0 {
848
848
  const A = this.createTexture(M, M.NEAREST, M.NEAREST, M.CLAMP_TO_EDGE, o, O, O), t = this.createTexture(M, M.NEAREST, M.NEAREST, M.CLAMP_TO_EDGE, o, O, O), q = new Float32Array(p);
849
849
  for (let a = 0; a < p; a++)
850
850
  q[a] = a;
851
- const r = this.createDataBuffer(M, "array", q);
852
- return { resolution: O, total: p, texture0: A, texture1: t, indexBuffer: r };
851
+ const n = this.createDataBuffer(M, "array", q);
852
+ return { resolution: O, total: p, texture0: A, texture1: t, indexBuffer: n };
853
853
  }
854
854
  bind(M, b, O) {
855
855
  const p = this.createProgram(M, b, O);
@@ -864,23 +864,23 @@ class C0 {
864
864
  return {};
865
865
  }
866
866
  bindParticle(M, b, O, p, o, A) {
867
- const t = this.createProgramWrapper(M, b, O), q = this.createProgramWrapper(M, p, o), r = this.createProgramWrapper(M, p, A), a = this.createDataBuffer(M, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), i = M.createFramebuffer();
868
- return { particle: t, screen: q, update: r, quadBuffer: a, frameBuffer: i };
867
+ const t = this.createProgramWrapper(M, b, O), q = this.createProgramWrapper(M, p, o), n = this.createProgramWrapper(M, p, A), a = this.createDataBuffer(M, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), r = M.createFramebuffer();
868
+ return { particle: t, screen: q, update: n, quadBuffer: a, frameBuffer: r };
869
869
  }
870
870
  draw(M, b, O, p, o, A, t) {
871
- var q, r;
871
+ var q, n;
872
872
  if (b && O) {
873
- 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);
873
+ M.resize(), b == null || b.viewport(0, 0, (q = b == null ? void 0 : b.canvas) == null ? void 0 : q.width, (n = b == null ? void 0 : b.canvas) == null ? void 0 : n.height), b.clearColor(0, 0, 0, 0), b.clear(b.COLOR_BUFFER_BIT | b.DEPTH_BUFFER_BIT);
874
874
  try {
875
- const a = b.getUniformLocation(O, "u_resolution"), i = b.getUniformLocation(O, "u_image"), L = b.getUniformLocation(O, "u_color");
876
- 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(i, 0), b.activeTexture(b.TEXTURE1), b.bindTexture(b.TEXTURE_2D, o), b.uniform1i(L, 1), t != null && t.uvRange && (t != null && t.sRange)) {
877
- const d = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
878
- b.uniform2f(d, t.uvRange[0], t.uvRange[1]), b.uniform2f(m, t.sRange[0], t.sRange[1]);
875
+ const a = b.getUniformLocation(O, "u_resolution"), r = b.getUniformLocation(O, "u_image"), L = b.getUniformLocation(O, "u_color");
876
+ 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(r, 0), b.activeTexture(b.TEXTURE1), b.bindTexture(b.TEXTURE_2D, o), b.uniform1i(L, 1), t != null && t.uvRange && (t != null && t.sRange)) {
877
+ const s = b.getUniformLocation(O, "u_range_u_v"), m = b.getUniformLocation(O, "u_range_s");
878
+ b.uniform2f(s, t.uvRange[0], t.uvRange[1]), b.uniform2f(m, t.sRange[0], t.sRange[1]);
879
879
  }
880
- const n = M.getBoundPixel(), h = M.map.getZoom() + 1, u = M.getWorldCopy(n, h);
881
- for (const d of u) {
882
- const m = (d[0] - n[0]) * M.ratio, R = (d[1] - n[3]) * M.ratio, X = d[2] * M.ratio, [E, y, _, J] = [m, X + m, R, X + R], Z = new Float32Array([E, _, y, _, E, J, E, J, y, _, y, J]);
883
- b.bindBuffer(b.ARRAY_BUFFER, A), b.bufferData(b.ARRAY_BUFFER, Z, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
880
+ const d = M.getBoundPixel(), h = M.map.getZoom() + 1, u = M.getWorldCopy(d, h);
881
+ for (const s of u) {
882
+ const m = (s[0] - d[0]) * M.ratio, R = (s[1] - d[3]) * M.ratio, y = s[2] * M.ratio, [T, N, H, K] = [m, y + m, R, y + R], V = new Float32Array([T, H, N, H, T, K, T, K, N, H, N, K]);
883
+ b.bindBuffer(b.ARRAY_BUFFER, A), b.bufferData(b.ARRAY_BUFFER, V, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
884
884
  }
885
885
  } catch (a) {
886
886
  console.log(`render failed...${a}`);
@@ -928,10 +928,10 @@ class C0 {
928
928
  });
929
929
  }
930
930
  }
931
- class e0 {
931
+ class A0 {
932
932
  }
933
933
  // 顶点渲染
934
- Y(e0, "vertexSchema", `
934
+ J(A0, "vertexSchema", `
935
935
  //canvas 坐标系上的坐标 (x, y)
936
936
  attribute vec2 a_position; //像素坐标
937
937
  attribute vec2 a_texCoord; //纹理坐标
@@ -946,7 +946,7 @@ Y(e0, "vertexSchema", `
946
946
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
947
947
  v_texCoord = a_texCoord;
948
948
  }`), // 类如风、流等u v双变量片元渲染
949
- Y(e0, "uvFragmentSchema", `
949
+ J(A0, "uvFragmentSchema", `
950
950
  precision mediump float;
951
951
  uniform sampler2D u_image;
952
952
  uniform vec2 u_range_u_v;
@@ -965,7 +965,7 @@ Y(e0, "uvFragmentSchema", `
965
965
 
966
966
  gl_FragColor = color;
967
967
  }`), // 类如浪、气压等单变量片元渲染
968
- Y(e0, "fragmentSchema", `
968
+ J(A0, "fragmentSchema", `
969
969
  precision mediump float;
970
970
  uniform sampler2D u_image; // 灰度
971
971
  uniform sampler2D u_color; // 色值映射
@@ -976,9 +976,9 @@ Y(e0, "fragmentSchema", `
976
976
  vec4 color = texture2D(u_color, vec2(rgba.r, 0));
977
977
  gl_FragColor = color;
978
978
  }`);
979
- class i0 {
979
+ class q0 {
980
980
  }
981
- Y(i0, "vertexSchema", `
981
+ J(q0, "vertexSchema", `
982
982
  precision mediump float;
983
983
 
984
984
  attribute float a_index; // 索引
@@ -1002,7 +1002,7 @@ Y(i0, "vertexSchema", `
1002
1002
  gl_PointSize = 1.0;
1003
1003
  // gl_PointSize = u_point;
1004
1004
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
1005
- }`), Y(i0, "fragmentSchema", `
1005
+ }`), J(q0, "fragmentSchema", `
1006
1006
  precision mediump float;
1007
1007
 
1008
1008
  uniform sampler2D u_factor;
@@ -1024,7 +1024,7 @@ Y(i0, "vertexSchema", `
1024
1024
 
1025
1025
  float f = 1.0 - uv.b;
1026
1026
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
1027
- }`), Y(i0, "quadVertSchema", `
1027
+ }`), J(q0, "quadVertSchema", `
1028
1028
  precision mediump float;
1029
1029
 
1030
1030
  attribute vec2 a_pos;
@@ -1034,7 +1034,7 @@ Y(i0, "vertexSchema", `
1034
1034
  void main() {
1035
1035
  v_tex_pos = a_pos;
1036
1036
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
1037
- }`), Y(i0, "screenFragmentSchema", `
1037
+ }`), J(q0, "screenFragmentSchema", `
1038
1038
  precision mediump float;
1039
1039
 
1040
1040
  uniform sampler2D u_screen;
@@ -1046,7 +1046,7 @@ Y(i0, "vertexSchema", `
1046
1046
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
1047
1047
  // a hack to guarantee opacity fade out even with a value close to 1.0
1048
1048
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
1049
- }`), Y(i0, "updateFragmentSchema", `
1049
+ }`), J(q0, "updateFragmentSchema", `
1050
1050
  precision mediump float;
1051
1051
 
1052
1052
  uniform sampler2D u_particles;
@@ -1127,12 +1127,12 @@ Y(i0, "vertexSchema", `
1127
1127
  }`);
1128
1128
  class D1 {
1129
1129
  constructor(M = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
1130
- Y(this, "token");
1131
- Y(this, "mapboxCustomer");
1132
- Y(this, "i4");
1133
- Y(this, "hi");
1134
- Y(this, "td");
1135
- Y(this, "windy");
1130
+ J(this, "token");
1131
+ J(this, "mapboxCustomer");
1132
+ J(this, "i4");
1133
+ J(this, "hi");
1134
+ J(this, "td");
1135
+ J(this, "windy");
1136
1136
  this.token = M, this.mapboxCustomer = {
1137
1137
  source: this.initialOnlineStyle().sources.composite,
1138
1138
  layers: {
@@ -2843,7 +2843,7 @@ const P1 = {
2843
2843
  [1, "rgb(91, 136, 161)"]
2844
2844
  ];
2845
2845
  this.rampColor = this.webgl.setup(this.context, z);
2846
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.uvFragmentSchema);
2846
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
2847
2847
  this.program = M, this.aPositionBuffer = b;
2848
2848
  }
2849
2849
  this.handleParticleSetup();
@@ -2857,11 +2857,11 @@ const P1 = {
2857
2857
  ];
2858
2858
  this.wrapper = this.webgl.bindParticle(
2859
2859
  this.particleContext,
2860
- i0.vertexSchema,
2861
- i0.fragmentSchema,
2862
- i0.quadVertSchema,
2863
- i0.screenFragmentSchema,
2864
- i0.updateFragmentSchema
2860
+ q0.vertexSchema,
2861
+ q0.fragmentSchema,
2862
+ q0.quadVertSchema,
2863
+ q0.screenFragmentSchema,
2864
+ q0.updateFragmentSchema
2865
2865
  ), 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);
2866
2866
  }
2867
2867
  },
@@ -2894,10 +2894,10 @@ const P1 = {
2894
2894
  }, S1 = { key: 0 };
2895
2895
  function k1(z, M, b, O, p, o) {
2896
2896
  var A;
2897
- return (A = b.factor) != null && A.active ? (s(), W("div", S1, [
2897
+ return (A = b.factor) != null && A.active ? (W(), l("div", S1, [
2898
2898
  c("div", {
2899
2899
  class: "legend-bars flex-center",
2900
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
2900
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
2901
2901
  }, M[0] || (M[0] = [
2902
2902
  c("span", null, "kts", -1),
2903
2903
  c("span", null, "0", -1),
@@ -2908,9 +2908,9 @@ function k1(z, M, b, O, p, o) {
2908
2908
  c("span", null, "40", -1),
2909
2909
  c("span", null, "60", -1)
2910
2910
  ]), 4)
2911
- ])) : j("", !0);
2911
+ ])) : _("", !0);
2912
2912
  }
2913
- const Q1 = /* @__PURE__ */ Q(P1, [["render", k1], ["__scopeId", "data-v-14070127"]]);
2913
+ const Q1 = /* @__PURE__ */ k(P1, [["render", k1], ["__scopeId", "data-v-14070127"]]);
2914
2914
  const H1 = {
2915
2915
  name: "IdmCurrent",
2916
2916
  props: {
@@ -2949,7 +2949,7 @@ const H1 = {
2949
2949
  directionLayer: "current-direction-layer",
2950
2950
  speedLayer: "current-speed-layer",
2951
2951
  speedLabelLayer: "current-speed-label-layer",
2952
- empty: v.featureCollection([]),
2952
+ empty: C.featureCollection([]),
2953
2953
  right: 10,
2954
2954
  bottom: 95
2955
2955
  };
@@ -3067,9 +3067,9 @@ const H1 = {
3067
3067
  }, _1 = { key: 0 };
3068
3068
  function j1(z, M, b, O, p, o) {
3069
3069
  var A;
3070
- return (A = b.current) != null && A.active ? (s(), W("div", _1)) : j("", !0);
3070
+ return (A = b.current) != null && A.active ? (W(), l("div", _1)) : _("", !0);
3071
3071
  }
3072
- const F1 = /* @__PURE__ */ Q(H1, [["render", j1]]);
3072
+ const F1 = /* @__PURE__ */ k(H1, [["render", j1]]);
3073
3073
  const G1 = {
3074
3074
  name: "IdmCurrentParticle",
3075
3075
  props: {
@@ -3175,7 +3175,7 @@ const G1 = {
3175
3175
  [1, "rgb(195,194,194)"]
3176
3176
  ];
3177
3177
  this.rampColor = this.webgl.setup(this.context, z);
3178
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.uvFragmentSchema);
3178
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.uvFragmentSchema);
3179
3179
  this.program = M, this.aPositionBuffer = b;
3180
3180
  }
3181
3181
  this.handleParticleSetup();
@@ -3189,11 +3189,11 @@ const G1 = {
3189
3189
  ];
3190
3190
  this.wrapper = this.webgl.bindParticle(
3191
3191
  this.particleContext,
3192
- i0.vertexSchema,
3193
- i0.fragmentSchema,
3194
- i0.quadVertSchema,
3195
- i0.screenFragmentSchema,
3196
- i0.updateFragmentSchema
3192
+ q0.vertexSchema,
3193
+ q0.fragmentSchema,
3194
+ q0.quadVertSchema,
3195
+ q0.screenFragmentSchema,
3196
+ q0.updateFragmentSchema
3197
3197
  ), this.wrapper.color = this.webgl.setup(this.particleContext, z, !0, 16, 16), this.wrapper = {
3198
3198
  ...this.wrapper,
3199
3199
  ...this.webgl.setupParticle(this.particleContext, 12e3),
@@ -3230,10 +3230,10 @@ const G1 = {
3230
3230
  }, U1 = { key: 0 };
3231
3231
  function K1(z, M, b, O, p, o) {
3232
3232
  var A;
3233
- return (A = b.factor) != null && A.active ? (s(), W("div", U1, [
3233
+ return (A = b.factor) != null && A.active ? (W(), l("div", U1, [
3234
3234
  c("div", {
3235
3235
  class: "legend-bars flex-center",
3236
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3236
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
3237
3237
  }, M[0] || (M[0] = [
3238
3238
  c("span", null, "kts", -1),
3239
3239
  c("span", null, "0", -1),
@@ -3243,9 +3243,9 @@ function K1(z, M, b, O, p, o) {
3243
3243
  c("span", null, "2", -1),
3244
3244
  c("span", null, "3.2", -1)
3245
3245
  ]), 4)
3246
- ])) : j("", !0);
3246
+ ])) : _("", !0);
3247
3247
  }
3248
- const J1 = /* @__PURE__ */ Q(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a"]]), Y1 = {
3248
+ const J1 = /* @__PURE__ */ k(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a"]]), Y1 = {
3249
3249
  name: "IdmSigWave",
3250
3250
  props: {
3251
3251
  map: {
@@ -3266,7 +3266,7 @@ const J1 = /* @__PURE__ */ Q(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a
3266
3266
  source: "sig-wave-source",
3267
3267
  heightLayer: "sig-wave-height-layer",
3268
3268
  heightLabelLayer: "sig-wave-height-label-layer",
3269
- empty: v.featureCollection([])
3269
+ empty: C.featureCollection([])
3270
3270
  };
3271
3271
  },
3272
3272
  watch: {
@@ -3365,9 +3365,9 @@ const J1 = /* @__PURE__ */ Q(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a
3365
3365
  }
3366
3366
  };
3367
3367
  function V1(z, M, b, O, p, o) {
3368
- return s(), W("div");
3368
+ return W(), l("div");
3369
3369
  }
3370
- const Z1 = /* @__PURE__ */ Q(Y1, [["render", V1]]), $1 = {
3370
+ const Z1 = /* @__PURE__ */ k(Y1, [["render", V1]]), $1 = {
3371
3371
  name: "IdmSwell",
3372
3372
  props: {
3373
3373
  map: {
@@ -3389,7 +3389,7 @@ const Z1 = /* @__PURE__ */ Q(Y1, [["render", V1]]), $1 = {
3389
3389
  directionLayer: "swell-direction-layer",
3390
3390
  heightLayer: "swell-height-layer",
3391
3391
  heightLabelLayer: "swell-height-label-layer",
3392
- empty: v.featureCollection([])
3392
+ empty: C.featureCollection([])
3393
3393
  };
3394
3394
  },
3395
3395
  watch: {
@@ -3523,9 +3523,9 @@ const Z1 = /* @__PURE__ */ Q(Y1, [["render", V1]]), $1 = {
3523
3523
  }
3524
3524
  };
3525
3525
  function M2(z, M, b, O, p, o) {
3526
- return s(), W("div");
3526
+ return W(), l("div");
3527
3527
  }
3528
- const b2 = /* @__PURE__ */ Q($1, [["render", M2]]), z2 = {
3528
+ const b2 = /* @__PURE__ */ k($1, [["render", M2]]), z2 = {
3529
3529
  name: "IdmPrmsl",
3530
3530
  props: {
3531
3531
  map: {
@@ -3550,7 +3550,7 @@ const b2 = /* @__PURE__ */ Q($1, [["render", M2]]), z2 = {
3550
3550
  layer: "prmsl-layer",
3551
3551
  labelLayer: "prmsl-label-layer",
3552
3552
  pointLabelLayer: "prmsl-point-label-layer",
3553
- empty: v.featureCollection([])
3553
+ empty: C.featureCollection([])
3554
3554
  };
3555
3555
  },
3556
3556
  watch: {
@@ -3663,9 +3663,9 @@ const b2 = /* @__PURE__ */ Q($1, [["render", M2]]), z2 = {
3663
3663
  }
3664
3664
  };
3665
3665
  function p2(z, M, b, O, p, o) {
3666
- return s(), W("div");
3666
+ return W(), l("div");
3667
3667
  }
3668
- const O2 = /* @__PURE__ */ Q(z2, [["render", p2]]), o2 = {
3668
+ const O2 = /* @__PURE__ */ k(z2, [["render", p2]]), o2 = {
3669
3669
  name: "IdmIceberg",
3670
3670
  props: {
3671
3671
  map: {
@@ -3682,7 +3682,7 @@ const O2 = /* @__PURE__ */ Q(z2, [["render", p2]]), o2 = {
3682
3682
  return {
3683
3683
  source: "iceberg-source",
3684
3684
  layer: "iceberg-layer",
3685
- empty: v.featureCollection([])
3685
+ empty: C.featureCollection([])
3686
3686
  };
3687
3687
  },
3688
3688
  watch: {
@@ -3723,9 +3723,9 @@ const O2 = /* @__PURE__ */ Q(z2, [["render", p2]]), o2 = {
3723
3723
  }
3724
3724
  };
3725
3725
  function c2(z, M, b, O, p, o) {
3726
- return s(), W("div");
3726
+ return W(), l("div");
3727
3727
  }
3728
- const A2 = /* @__PURE__ */ Q(o2, [["render", c2]]);
3728
+ const A2 = /* @__PURE__ */ k(o2, [["render", c2]]);
3729
3729
  const e2 = {
3730
3730
  name: "IdmTropicals",
3731
3731
  props: {
@@ -3764,9 +3764,9 @@ const e2 = {
3764
3764
  showTropicals: !1,
3765
3765
  activeTropicals: void 0,
3766
3766
  activeTropicalsMarker: void 0,
3767
- empty: v.featureCollection([]),
3767
+ empty: C.featureCollection([]),
3768
3768
  circleSource: "circle-source",
3769
- circleSourceData: v.featureCollection([]),
3769
+ circleSourceData: C.featureCollection([]),
3770
3770
  circleLayer: "tropical-circle-layer"
3771
3771
  };
3772
3772
  },
@@ -3774,7 +3774,7 @@ const e2 = {
3774
3774
  computeTime() {
3775
3775
  return function(z) {
3776
3776
  if (z) {
3777
- const M = G(z).utc().utcOffset(this.timeZone), b = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
3777
+ const M = F(z).utc().utcOffset(this.timeZone), b = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
3778
3778
  return `${M.format("MMM-DD,HHmm")}[ UTC ${b} ] ( ${M == null ? void 0 : M.fromNow()} )`;
3779
3779
  }
3780
3780
  return "-";
@@ -3811,29 +3811,29 @@ const e2 = {
3811
3811
  methods: {
3812
3812
  handleRefresh() {
3813
3813
  var O, p;
3814
- const z = ((p = (O = this.tropicals) == null ? void 0 : O.data) == null ? void 0 : p.features) || [], M = G().utc().hour(), b = [];
3814
+ const z = ((p = (O = this.tropicals) == null ? void 0 : O.data) == null ? void 0 : p.features) || [], M = F().utc().hour(), b = [];
3815
3815
  z.forEach((o) => {
3816
3816
  var A, t, q;
3817
3817
  (A = o.properties) != null && A.name && !b.includes((t = o.properties) == null ? void 0 : t.name) && b.push((q = o.properties) == null ? void 0 : q.name);
3818
3818
  }), b.forEach((o) => {
3819
- var r;
3819
+ var n;
3820
3820
  let A = 0, t;
3821
3821
  const q = z.filter((a) => {
3822
- var i, L;
3823
- return ((L = (i = a.properties) == null ? void 0 : i.category) == null ? void 0 : L.split("-")[0]) === o;
3822
+ var r, L;
3823
+ return ((L = (r = a.properties) == null ? void 0 : r.category) == null ? void 0 : L.split("-")[0]) === o;
3824
3824
  });
3825
- (r = q.filter((a) => {
3826
- var i, L;
3827
- return ((i = a.geometry) == null ? void 0 : i.type) === "LineString" && ((L = a.properties) == null ? void 0 : L.type) === "forecast";
3828
- })[0]) == null || r.properties.model, q.forEach((a, i) => {
3829
- var L, n, h, u, d, m;
3830
- ((L = a.geometry) == null ? void 0 : L.type) === "Point" && ((n = a.properties) == null ? void 0 : n.type) === "history" && (A = i, t = t === void 0 ? i : t), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && t === void 0 && (t = i), ((d = a.geometry) == null ? void 0 : d.type) === "LineString" && ((m = a.properties) == null || m.type);
3831
- }), q.map((a, i) => {
3832
- var L, n, h, u, d, m, R;
3833
- if (((L = a.geometry) == null ? void 0 : L.type) === "LineString" && ((n = a.properties) == null || n.type), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && (a.properties.name = o, a.properties.format = G(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((d = a.geometry) == null ? void 0 : d.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3834
- a.properties.format = G(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3835
- const X = G((R = a.properties) == null ? void 0 : R.date).utc().format("HHmm") === G().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3836
- a.properties.showHistoryLabel = X || i === A, a.properties.showNameLabel = i === A, a.properties.name = o;
3825
+ (n = q.filter((a) => {
3826
+ var r, L;
3827
+ return ((r = a.geometry) == null ? void 0 : r.type) === "LineString" && ((L = a.properties) == null ? void 0 : L.type) === "forecast";
3828
+ })[0]) == null || n.properties.model, q.forEach((a, r) => {
3829
+ var L, d, h, u, s, m;
3830
+ ((L = a.geometry) == null ? void 0 : L.type) === "Point" && ((d = a.properties) == null ? void 0 : d.type) === "history" && (A = r, t = t === void 0 ? r : t), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && t === void 0 && (t = r), ((s = a.geometry) == null ? void 0 : s.type) === "LineString" && ((m = a.properties) == null || m.type);
3831
+ }), q.map((a, r) => {
3832
+ var L, d, h, u, s, m, R;
3833
+ if (((L = a.geometry) == null ? void 0 : L.type) === "LineString" && ((d = a.properties) == null || d.type), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && (a.properties.name = o, a.properties.format = F(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((s = a.geometry) == null ? void 0 : s.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3834
+ a.properties.format = F(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3835
+ const y = F((R = a.properties) == null ? void 0 : R.date).utc().format("HHmm") === F().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3836
+ a.properties.showHistoryLabel = y || r === A, a.properties.showNameLabel = r === A, a.properties.name = o;
3837
3837
  }
3838
3838
  return a;
3839
3839
  });
@@ -3870,16 +3870,16 @@ const e2 = {
3870
3870
  ));
3871
3871
  },
3872
3872
  handleRender() {
3873
- var z, M, b, O, p, o, A, t, q, r;
3873
+ var z, M, b, O, p, o, A, t, q, n;
3874
3874
  if (!this.map)
3875
3875
  setTimeout(() => {
3876
3876
  this.handleRender();
3877
3877
  }, 500);
3878
3878
  else {
3879
3879
  if (this.tropicals) {
3880
- const i = (/* @__PURE__ */ new Date()).valueOf();
3881
- let L = 0, n = 0;
3882
- (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), n = (/* @__PURE__ */ new Date()).valueOf() - (i + L), console.log("[tropicals] update elapsed: ", n, ", total: ", L += n)) : (this.map.addSource(this.source, {
3880
+ const r = (/* @__PURE__ */ new Date()).valueOf();
3881
+ let L = 0, d = 0;
3882
+ (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() - (r + L), console.log("[tropicals] update elapsed: ", d, ", total: ", L += d)) : (this.map.addSource(this.source, {
3883
3883
  type: "geojson",
3884
3884
  data: (O = this.tropicals) != null && O.active ? (p = this.tropicals) == null ? void 0 : p.data : this.empty
3885
3885
  }), this.map.addLayer({
@@ -3976,9 +3976,9 @@ const e2 = {
3976
3976
  ],
3977
3977
  "text-halo-width": 4
3978
3978
  }
3979
- }), n = (/* @__PURE__ */ new Date()).valueOf() - (i + L), console.log("[tropical] add elapsed: ", n, ", total: ", L += n)), (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), n = (/* @__PURE__ */ new Date()).valueOf() - (i + L), console.log("[tropical] update elapsed: ", n, ", total: ", L += n)) : (this.map.addSource(this.clusterSource, {
3979
+ }), d = (/* @__PURE__ */ new Date()).valueOf() - (r + 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() - (r + L), console.log("[tropical] update elapsed: ", d, ", total: ", L += d)) : (this.map.addSource(this.clusterSource, {
3980
3980
  type: "geojson",
3981
- data: (q = this.tropicals) != null && q.active ? (r = this.tropicals) == null ? void 0 : r.data : this.empty
3981
+ data: (q = this.tropicals) != null && q.active ? (n = this.tropicals) == null ? void 0 : n.data : this.empty
3982
3982
  // cluster: true,
3983
3983
  // clusterRadius: 10, // 聚合半径
3984
3984
  }), this.map.addLayer({
@@ -4093,11 +4093,11 @@ const e2 = {
4093
4093
  "text-halo-color": "#0033ff",
4094
4094
  "text-halo-width": 4
4095
4095
  }
4096
- }), n = (/* @__PURE__ */ new Date()).valueOf() - (i + L), console.log("[tropical] add elapsed: ", n, ", total: ", L += n));
4096
+ }), d = (/* @__PURE__ */ new Date()).valueOf() - (r + L), console.log("[tropical] add elapsed: ", d, ", total: ", L += d));
4097
4097
  }
4098
4098
  this.handleDrawCircle();
4099
4099
  const a = Q0.interpolate(this.tropicals, 1);
4100
- this.interpolateData = JSON.parse(JSON.stringify(a)), this.interpolateData.filter((i) => i.properties.name === "kristy" && i.properties.model === "ecmwf"), this.handleDateChange();
4100
+ this.interpolateData = JSON.parse(JSON.stringify(a)), this.interpolateData.filter((r) => r.properties.name === "kristy" && r.properties.model === "ecmwf"), this.handleDateChange();
4101
4101
  }
4102
4102
  },
4103
4103
  handleClear() {
@@ -4105,14 +4105,14 @@ const e2 = {
4105
4105
  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));
4106
4106
  },
4107
4107
  handleDateChange() {
4108
- var z, M, b, O, p, o, A, t, q, r, a, i, L, n, h, u, d, m, R, X, E, y, _, J, Z, M0, N, x, d0, s0, r0, L0, o0, h0, m0, W0;
4109
- if ((z = this.interpolateMarkers) == null || z.forEach((n0) => n0 == null ? void 0 : n0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4110
- const n0 = G(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), l0 = this.interpolateData.filter((S) => S.properties.date === n0.format() && !S.properties.disabled), B0 = this.handleComputePolygons(l0), f0 = v.featureCollection([...l0]);
4111
- B0.forEach((S) => {
4112
- f0.features.push(S);
4113
- }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(f0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4108
+ var z, M, b, O, p, o, A, t, q, n, a, r, L, d, h, u, s, m, R, y, T, N, H, K, V, $, g, E, n0, d0, i0, L0, O0, h0, m0, s0;
4109
+ 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) {
4110
+ const r0 = F(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), W0 = this.interpolateData.filter((P) => P.properties.date === r0.format() && !P.properties.disabled), B0 = this.handleComputePolygons(W0), l0 = C.featureCollection([...W0]);
4111
+ B0.forEach((P) => {
4112
+ l0.features.push(P);
4113
+ }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(l0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4114
4114
  type: "geojson",
4115
- data: f0
4115
+ data: l0
4116
4116
  }), (o = this.map) == null || o.addLayer({
4117
4117
  id: this.interpolateLineLayer,
4118
4118
  type: "line",
@@ -4124,17 +4124,17 @@ const e2 = {
4124
4124
  "line-width": 1
4125
4125
  }
4126
4126
  })), this.interpolateMarkers = [];
4127
- for (const S of l0)
4128
- if (!S.properties.disabled) {
4129
- let p0 = "#f44336";
4130
- ((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) ? p0 = "#03f869" : ((i = (a = S.properties) == null ? void 0 : a.wind) == null ? void 0 : i.spd) >= 17.2 && ((n = (L = S.properties) == null ? void 0 : L.wind) == null ? void 0 : n.spd) < 24.5 ? p0 = "#f2f202" : ((u = (h = S.properties) == null ? void 0 : h.wind) == null ? void 0 : u.spd) >= 24.5 && ((m = (d = S.properties) == null ? void 0 : d.wind) == null ? void 0 : m.spd) < 32.7 ? p0 = "#ff9100" : ((X = (R = S.properties) == null ? void 0 : R.wind) == null ? void 0 : X.spd) >= 32.7 && ((y = (E = S.properties) == null ? void 0 : E.wind) == null ? void 0 : y.spd) < 41.5 ? p0 = "#f44336" : ((J = (_ = S.properties) == null ? void 0 : _.wind) == null ? void 0 : J.spd) >= 41.5 && ((M0 = (Z = S.properties) == null ? void 0 : Z.wind) == null ? void 0 : M0.spd) < 51 ? p0 = "#f903d0" : ((x = (N = S.properties) == null ? void 0 : N.wind) == null ? void 0 : x.spd) >= 51 ? p0 = "#8702f9" : p0 = "#f44336";
4131
- const a0 = `<svg t="1719918955501"
4127
+ for (const P of W0)
4128
+ if (!P.properties.disabled) {
4129
+ let z0 = "#f44336";
4130
+ ((t = (A = P.properties) == null ? void 0 : A.wind) == null ? void 0 : t.spd) < 17.2 || !((n = (q = P.properties) == null ? void 0 : q.wind) != null && n.spd) ? z0 = "#03f869" : ((r = (a = P.properties) == null ? void 0 : a.wind) == null ? void 0 : r.spd) >= 17.2 && ((d = (L = P.properties) == null ? void 0 : L.wind) == null ? void 0 : d.spd) < 24.5 ? z0 = "#f2f202" : ((u = (h = P.properties) == null ? void 0 : h.wind) == null ? void 0 : u.spd) >= 24.5 && ((m = (s = P.properties) == null ? void 0 : s.wind) == null ? void 0 : m.spd) < 32.7 ? z0 = "#ff9100" : ((y = (R = P.properties) == null ? void 0 : R.wind) == null ? void 0 : y.spd) >= 32.7 && ((N = (T = P.properties) == null ? void 0 : T.wind) == null ? void 0 : N.spd) < 41.5 ? z0 = "#f44336" : ((K = (H = P.properties) == null ? void 0 : H.wind) == null ? void 0 : K.spd) >= 41.5 && (($ = (V = P.properties) == null ? void 0 : V.wind) == null ? void 0 : $.spd) < 51 ? z0 = "#f903d0" : ((E = (g = P.properties) == null ? void 0 : g.wind) == null ? void 0 : E.spd) >= 51 ? z0 = "#8702f9" : z0 = "#f44336";
4131
+ const t0 = `<svg t="1719918955501"
4132
4132
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
4133
4133
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
4134
4134
  <path
4135
4135
  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"
4136
- fill="${p0}" p-id="18383"></path>
4137
- <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="${p0}"
4136
+ fill="${z0}" p-id="18383"></path>
4137
+ <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="${z0}"
4138
4138
  p-id="18384"></path>
4139
4139
  <path
4140
4140
  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"
@@ -4142,47 +4142,47 @@ const e2 = {
4142
4142
  <path
4143
4143
  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"
4144
4144
  fill="#ffffff" p-id="18386"></path>
4145
- </svg>`, D = document.createElement("div");
4146
- D.className = "hurricane-hourly-marker", D.innerHTML = `<div class="${S.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${a0}</div>`;
4147
- const O0 = new w0.Marker(D).setLngLat(S.geometry.coordinates).addTo(this.map);
4148
- if (this.interpolateMarkers.push(O0), (d0 = S.properties) != null && d0.showCircle) {
4149
- const u0 = { radius: 100, coordinates: S.geometry.coordinates }, A0 = { radius: 200, coordinates: S.geometry.coordinates }, R0 = { radius: 500, coordinates: S.geometry.coordinates };
4150
- (s0 = this.circleSourceData) == null || s0.features.push(
4151
- v.circle(u0.coordinates, u0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4152
- ), (r0 = this.circleSourceData) == null || r0.features.push(
4153
- v.circle(A0.coordinates, A0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4145
+ </svg>`, I = document.createElement("div");
4146
+ I.className = "hurricane-hourly-marker", I.innerHTML = `<div class="${P.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${t0}</div>`;
4147
+ const p0 = new w0.Marker(I).setLngLat(P.geometry.coordinates).addTo(this.map);
4148
+ if (this.interpolateMarkers.push(p0), (n0 = P.properties) != null && n0.showCircle) {
4149
+ const f0 = { radius: 100, coordinates: P.geometry.coordinates }, u0 = { radius: 200, coordinates: P.geometry.coordinates }, R0 = { radius: 500, coordinates: P.geometry.coordinates };
4150
+ (d0 = this.circleSourceData) == null || d0.features.push(
4151
+ C.circle(f0.coordinates, f0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4152
+ ), (i0 = this.circleSourceData) == null || i0.features.push(
4153
+ C.circle(u0.coordinates, u0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4154
4154
  ), (L0 = this.circleSourceData) == null || L0.features.push(
4155
- v.circle(R0.coordinates, R0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4155
+ C.circle(R0.coordinates, R0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4156
4156
  );
4157
4157
  }
4158
- (h0 = (o0 = this.map) == null ? void 0 : o0.getSource(this.circleSource)) == null || h0.setData(this.circleSourceData);
4158
+ (h0 = (O0 = this.map) == null ? void 0 : O0.getSource(this.circleSource)) == null || h0.setData(this.circleSourceData);
4159
4159
  }
4160
4160
  } else
4161
- (m0 = this.map) != null && m0.getSource(this.interpolateSource) && ((W0 = this.map) == null || W0.getSource(this.interpolateSource).setData(this.empty));
4161
+ (m0 = this.map) != null && m0.getSource(this.interpolateSource) && ((s0 = this.map) == null || s0.getSource(this.interpolateSource).setData(this.empty));
4162
4162
  },
4163
4163
  handleClick(z) {
4164
- var o, A, t, q, r, a, i, L;
4164
+ var o, A, t, q, n, a, r, L;
4165
4165
  const M = z.features[0], b = (A = (o = this.tropicals) == null ? void 0 : o.data) == null ? void 0 : A.features.filter(
4166
- (n) => {
4166
+ (d) => {
4167
4167
  var h;
4168
- return n.geometry.type === "LineString" && n.properties.type === "forecast" && n.properties.name === ((h = M == null ? void 0 : M.properties) == null ? void 0 : h.name);
4168
+ return d.geometry.type === "LineString" && d.properties.type === "forecast" && d.properties.name === ((h = M == null ? void 0 : M.properties) == null ? void 0 : h.name);
4169
4169
  }
4170
4170
  );
4171
- b.sort((n, h) => {
4172
- var u, d, m, R;
4173
- return ((u = n.properties) == null ? void 0 : u.model) === "cma" ? -1 : ((d = n.properties) == null ? void 0 : d.model) === "jma" ? ((m = h.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : n.properties.model === "ecmwf" ? ["jma", "cma"].includes((R = h.properties) == null ? void 0 : R.model) ? 1 : -1 : 0;
4171
+ b.sort((d, h) => {
4172
+ var u, s, m, R;
4173
+ return ((u = d.properties) == null ? void 0 : u.model) === "cma" ? -1 : ((s = d.properties) == null ? void 0 : s.model) === "jma" ? ((m = h.properties) == null ? void 0 : m.model) === "cma" ? 1 : -1 : d.properties.model === "ecmwf" ? ["jma", "cma"].includes((R = h.properties) == null ? void 0 : R.model) ? 1 : -1 : 0;
4174
4174
  });
4175
4175
  const O = (q = (t = this.tropicals) == null ? void 0 : t.data) == null ? void 0 : q.features.filter(
4176
- (n) => {
4176
+ (d) => {
4177
4177
  var h;
4178
- return n.geometry.type === "LineString" && n.properties.type === "history" && n.properties.name === ((h = M == null ? void 0 : M.properties) == null ? void 0 : h.name);
4178
+ return d.geometry.type === "LineString" && d.properties.type === "history" && d.properties.name === ((h = M == null ? void 0 : M.properties) == null ? void 0 : h.name);
4179
4179
  }
4180
4180
  );
4181
4181
  this.activeTropicals = {
4182
- name: (r = M == null ? void 0 : M.properties) == null ? void 0 : r.name,
4183
- forecasts: b.map((n) => n.properties),
4182
+ name: (n = M == null ? void 0 : M.properties) == null ? void 0 : n.name,
4183
+ forecasts: b.map((d) => d.properties),
4184
4184
  history: (a = O[0]) == null ? void 0 : a.properties,
4185
- showCircle: (L = (i = b[0]) == null ? void 0 : i.properties) == null ? void 0 : L.showCircle
4185
+ showCircle: (L = (r = b[0]) == null ? void 0 : r.properties) == null ? void 0 : L.showCircle
4186
4186
  }, this.showTropicals = !0;
4187
4187
  const p = document.getElementById("active-tropical");
4188
4188
  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);
@@ -4191,11 +4191,11 @@ const e2 = {
4191
4191
  var O, p, o, A, t, q;
4192
4192
  z.disabled = !z.disabled;
4193
4193
  const M = `${z.name}-${z.model}`, b = (p = (O = this.map) == null ? void 0 : O.getSource(this.source)._data) == null ? void 0 : p.features;
4194
- b.forEach((r) => {
4195
- r.properties.category === M && (r.properties.disabled = z.disabled);
4196
- }), this.interpolateData.forEach((r) => {
4197
- r.properties.category === M && (r.properties.disabled = z.disabled);
4198
- }), (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();
4194
+ b.forEach((n) => {
4195
+ n.properties.category === M && (n.properties.disabled = z.disabled);
4196
+ }), this.interpolateData.forEach((n) => {
4197
+ n.properties.category === M && (n.properties.disabled = z.disabled);
4198
+ }), (A = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || A.setData(C.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(C.featureCollection(b)), this.handleDateChange();
4199
4199
  },
4200
4200
  handleStrikeProbability(z) {
4201
4201
  this.$emit("tropicalProbability", z);
@@ -4252,22 +4252,22 @@ const e2 = {
4252
4252
  let q;
4253
4253
  switch (A) {
4254
4254
  case "ne":
4255
- q = v.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4255
+ q = C.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4256
4256
  break;
4257
4257
  case "se":
4258
- q = v.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4258
+ q = C.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4259
4259
  break;
4260
4260
  case "sw":
4261
- q = v.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4261
+ q = C.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4262
4262
  break;
4263
4263
  case "nw":
4264
- q = v.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4264
+ q = C.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4265
4265
  break;
4266
4266
  }
4267
4267
  O.push(...(o = q == null ? void 0 : q.geometry) == null ? void 0 : o.coordinates);
4268
4268
  }
4269
- const p = v.lineString(O);
4270
- return v.lineToPolygon(p, { properties: b });
4269
+ const p = C.lineString(O);
4270
+ return C.lineToPolygon(p, { properties: b });
4271
4271
  }
4272
4272
  }
4273
4273
  }, t2 = {
@@ -4287,49 +4287,49 @@ const e2 = {
4287
4287
  style: { "justify-content": "flex-start" }
4288
4288
  }, L2 = { class: "forecast-models" }, R2 = ["onClick"], h2 = { class: "more" };
4289
4289
  function m2(z, M, b, O, p, o) {
4290
- var A, t, q, r, a, i, L, n, h, u, d, m, R, X, E;
4291
- return y0((s(), W("div", t2, [
4290
+ var A, t, q, n, a, r, L, d, h, u, s, m, R, y, T;
4291
+ return y0((W(), l("div", t2, [
4292
4292
  c("div", a2, [
4293
4293
  c("div", {
4294
4294
  class: "iconfont close-btn",
4295
- onClick: M[0] || (M[0] = (y) => p.showTropicals = !1)
4295
+ onClick: M[0] || (M[0] = (N) => p.showTropicals = !1)
4296
4296
  }, ""),
4297
4297
  c("div", q2, [
4298
- (t = (A = p.activeTropicals) == null ? void 0 : A.history) != null && t.level ? (s(), W("span", i2, T((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : j("", !0),
4299
- z0(T((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4298
+ (t = (A = p.activeTropicals) == null ? void 0 : A.history) != null && t.level ? (W(), l("span", i2, v((n = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : n.level) + " , ", 1)) : _("", !0),
4299
+ b0(v((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4300
4300
  ]),
4301
- c("div", r2, " Last update: " + T(o.computeTime(((L = (i = p.activeTropicals) == null ? void 0 : i.history) == null ? void 0 : L.updated) || ((u = (h = (n = p.activeTropicals) == null ? void 0 : n.forecasts) == null ? void 0 : h.filter((y) => !y.disabled)[0]) == null ? void 0 : u.date))), 1)
4301
+ c("div", r2, " Last update: " + v(o.computeTime(((L = (r = p.activeTropicals) == null ? void 0 : r.history) == null ? void 0 : L.updated) || ((u = (h = (d = p.activeTropicals) == null ? void 0 : d.forecasts) == null ? void 0 : h.filter((N) => !N.disabled)[0]) == null ? void 0 : u.date))), 1)
4302
4302
  ]),
4303
4303
  c("div", n2, [
4304
4304
  c("div", d2, [
4305
4305
  c("div", s2, [
4306
4306
  c("div", W2, [
4307
4307
  M[2] || (M[2] = c("label", null, "Wind speed : ", -1)),
4308
- c("span", null, T(((m = (d = p.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4308
+ c("span", null, v(((m = (s = p.activeTropicals) == null ? void 0 : s.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4309
4309
  ]),
4310
4310
  c("div", l2, [
4311
4311
  M[3] || (M[3] = c("label", null, "Pressure : ", -1)),
4312
- c("span", null, T(((X = (R = p.activeTropicals) == null ? void 0 : R.history) == null ? void 0 : X.pressure) || "-") + "[hPa]", 1)
4312
+ c("span", null, v(((y = (R = p.activeTropicals) == null ? void 0 : R.history) == null ? void 0 : y.pressure) || "-") + "[hPa]", 1)
4313
4313
  ])
4314
4314
  ]),
4315
4315
  c("div", f2, [
4316
4316
  c("div", u2, [
4317
4317
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4318
4318
  c("div", L2, [
4319
- (s(!0), W(F, null, K((E = p.activeTropicals) == null ? void 0 : E.forecasts, (y, _) => {
4320
- var J, Z, M0, N;
4321
- return s(), W("div", {
4322
- key: _,
4323
- class: V([
4319
+ (W(!0), l(j, null, U((T = p.activeTropicals) == null ? void 0 : T.forecasts, (N, H) => {
4320
+ var K, V, $, g;
4321
+ return W(), l("div", {
4322
+ key: H,
4323
+ class: Y([
4324
4324
  "model",
4325
- y.disabled ? "" : "active",
4326
- _ > 0 && _ < ((Z = (J = p.activeTropicals) == null ? void 0 : J.forecasts) == null ? void 0 : Z.length) - 1 && ((N = (M0 = p.activeTropicals) == null ? void 0 : M0.forecasts) == null ? void 0 : N.length) > 2 ? "center-child" : ""
4325
+ N.disabled ? "" : "active",
4326
+ H > 0 && H < ((V = (K = p.activeTropicals) == null ? void 0 : K.forecasts) == null ? void 0 : V.length) - 1 && ((g = ($ = p.activeTropicals) == null ? void 0 : $.forecasts) == null ? void 0 : g.length) > 2 ? "center-child" : ""
4327
4327
  ]),
4328
- onClick: (x) => o.handleForecastToggle(y)
4328
+ onClick: (E) => o.handleForecastToggle(N)
4329
4329
  }, [
4330
4330
  c("span", {
4331
- class: V(y.model)
4332
- }, T(y.model), 3)
4331
+ class: Y(N.model)
4332
+ }, v(N.model), 3)
4333
4333
  ], 10, R2);
4334
4334
  }), 128))
4335
4335
  ])
@@ -4340,7 +4340,7 @@ function m2(z, M, b, O, p, o) {
4340
4340
  c("div", h2, [
4341
4341
  c("div", {
4342
4342
  class: "button",
4343
- onClick: M[1] || (M[1] = (y) => o.handleStrikeProbability(p.activeTropicals))
4343
+ onClick: M[1] || (M[1] = (N) => o.handleStrikeProbability(p.activeTropicals))
4344
4344
  }, "Strike Probability >>")
4345
4345
  ])
4346
4346
  ])
@@ -4348,7 +4348,7 @@ function m2(z, M, b, O, p, o) {
4348
4348
  [X0, p.showTropicals && !z.$attrs.hideTropicalsLegend]
4349
4349
  ]);
4350
4350
  }
4351
- const H0 = /* @__PURE__ */ Q(e2, [["render", m2], ["__scopeId", "data-v-44a4e671"]]);
4351
+ const H0 = /* @__PURE__ */ k(e2, [["render", m2], ["__scopeId", "data-v-44a4e671"]]);
4352
4352
  const B2 = {
4353
4353
  name: "IdmPrecip3h",
4354
4354
  props: {
@@ -4437,7 +4437,7 @@ const B2 = {
4437
4437
  [1, "rgba(197,5,58,0.8)"]
4438
4438
  ];
4439
4439
  this.rampColor = this.webgl.setup(this.context, z);
4440
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4440
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4441
4441
  this.program = M, this.aPositionBuffer = b;
4442
4442
  }
4443
4443
  },
@@ -4453,10 +4453,10 @@ const B2 = {
4453
4453
  }, g2 = { key: 0 };
4454
4454
  function N2(z, M, b, O, p, o) {
4455
4455
  var A;
4456
- return (A = b.factor) != null && A.active ? (s(), W("div", g2, [
4456
+ return (A = b.factor) != null && A.active ? (W(), l("div", g2, [
4457
4457
  c("div", {
4458
4458
  class: "legend-bars flex-center",
4459
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4459
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4460
4460
  }, M[0] || (M[0] = [
4461
4461
  c("span", null, "mm", -1),
4462
4462
  c("span", null, "1.5", -1),
@@ -4467,9 +4467,9 @@ function N2(z, M, b, O, p, o) {
4467
4467
  c("span", null, "20", -1),
4468
4468
  c("span", null, "30", -1)
4469
4469
  ]), 4)
4470
- ])) : j("", !0);
4470
+ ])) : _("", !0);
4471
4471
  }
4472
- const y2 = /* @__PURE__ */ Q(B2, [["render", N2], ["__scopeId", "data-v-e83717bd"]]);
4472
+ const y2 = /* @__PURE__ */ k(B2, [["render", N2], ["__scopeId", "data-v-e83717bd"]]);
4473
4473
  const X2 = {
4474
4474
  name: "IdmVisibility",
4475
4475
  props: {
@@ -4551,7 +4551,7 @@ const X2 = {
4551
4551
  [1, "rgba(144,144,144,0)"]
4552
4552
  ];
4553
4553
  this.rampColor = this.webgl.setup(this.context, z);
4554
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4554
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4555
4555
  this.program = M, this.aPositionBuffer = b;
4556
4556
  }
4557
4557
  },
@@ -4567,10 +4567,10 @@ const X2 = {
4567
4567
  }, w2 = { key: 0 };
4568
4568
  function C2(z, M, b, O, p, o) {
4569
4569
  var A;
4570
- return (A = b.factor) != null && A.active ? (s(), W("div", w2, [
4570
+ return (A = b.factor) != null && A.active ? (W(), l("div", w2, [
4571
4571
  c("div", {
4572
4572
  class: "legend-bars flex-center",
4573
- style: c0([{ position: "absolute" }, { right: z.right + "px", bottom: b.bottom }])
4573
+ style: o0([{ position: "absolute" }, { right: z.right + "px", bottom: b.bottom }])
4574
4574
  }, M[0] || (M[0] = [
4575
4575
  c("span", null, "nm", -1),
4576
4576
  c("span", null, "0", -1),
@@ -4579,9 +4579,9 @@ function C2(z, M, b, O, p, o) {
4579
4579
  c("span", null, "3", -1),
4580
4580
  c("span", null, "9", -1)
4581
4581
  ]), 4)
4582
- ])) : j("", !0);
4582
+ ])) : _("", !0);
4583
4583
  }
4584
- const v2 = /* @__PURE__ */ Q(X2, [["render", C2], ["__scopeId", "data-v-1c8a9237"]]);
4584
+ const v2 = /* @__PURE__ */ k(X2, [["render", C2], ["__scopeId", "data-v-1c8a9237"]]);
4585
4585
  const T2 = {
4586
4586
  name: "IdmWaterTemp",
4587
4587
  props: {
@@ -4671,7 +4671,7 @@ const T2 = {
4671
4671
  //
4672
4672
  ];
4673
4673
  this.rampColor = this.webgl.setup(this.context, z);
4674
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4674
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4675
4675
  this.program = M, this.aPositionBuffer = b;
4676
4676
  }
4677
4677
  },
@@ -4687,10 +4687,10 @@ const T2 = {
4687
4687
  }, E2 = { key: 0 };
4688
4688
  function x2(z, M, b, O, p, o) {
4689
4689
  var A;
4690
- return (A = b.factor) != null && A.active ? (s(), W("div", E2, [
4690
+ return (A = b.factor) != null && A.active ? (W(), l("div", E2, [
4691
4691
  c("div", {
4692
4692
  class: "legend-bars flex-center",
4693
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4693
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4694
4694
  }, M[0] || (M[0] = [
4695
4695
  c("span", null, "°C", -1),
4696
4696
  c("span", null, "0", -1),
@@ -4699,9 +4699,9 @@ function x2(z, M, b, O, p, o) {
4699
4699
  c("span", null, "30", -1),
4700
4700
  c("span", null, "40", -1)
4701
4701
  ]), 4)
4702
- ])) : j("", !0);
4702
+ ])) : _("", !0);
4703
4703
  }
4704
- const I2 = /* @__PURE__ */ Q(T2, [["render", x2], ["__scopeId", "data-v-8974924d"]]);
4704
+ const I2 = /* @__PURE__ */ k(T2, [["render", x2], ["__scopeId", "data-v-8974924d"]]);
4705
4705
  const D2 = {
4706
4706
  name: "IdmTemp",
4707
4707
  props: {
@@ -4794,7 +4794,7 @@ const D2 = {
4794
4794
  [1, "rgb(138, 43, 10)"]
4795
4795
  ];
4796
4796
  this.rampColor = this.webgl.setup(this.context, z);
4797
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4797
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4798
4798
  this.program = M, this.aPositionBuffer = b;
4799
4799
  }
4800
4800
  },
@@ -4810,10 +4810,10 @@ const D2 = {
4810
4810
  }, P2 = { key: 0 };
4811
4811
  function S2(z, M, b, O, p, o) {
4812
4812
  var A;
4813
- return (A = b.factor) != null && A.active ? (s(), W("div", P2, [
4813
+ return (A = b.factor) != null && A.active ? (W(), l("div", P2, [
4814
4814
  c("div", {
4815
4815
  class: "legend-bars flex-center",
4816
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4816
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4817
4817
  }, M[0] || (M[0] = [
4818
4818
  c("span", null, "°C", -1),
4819
4819
  c("span", null, "-20", -1),
@@ -4824,9 +4824,9 @@ function S2(z, M, b, O, p, o) {
4824
4824
  c("span", null, "30", -1),
4825
4825
  c("span", null, "40", -1)
4826
4826
  ]), 4)
4827
- ])) : j("", !0);
4827
+ ])) : _("", !0);
4828
4828
  }
4829
- const k2 = /* @__PURE__ */ Q(D2, [["render", S2], ["__scopeId", "data-v-d709ba86"]]);
4829
+ const k2 = /* @__PURE__ */ k(D2, [["render", S2], ["__scopeId", "data-v-d709ba86"]]);
4830
4830
  const Q2 = {
4831
4831
  name: "IdmArctic",
4832
4832
  props: {
@@ -4910,7 +4910,7 @@ const Q2 = {
4910
4910
  // 2m
4911
4911
  ];
4912
4912
  this.rampColor = this.webgl.setup(this.context, z);
4913
- const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, e0.vertexSchema, e0.fragmentSchema);
4913
+ const { program: M, aPositionBuffer: b } = this.webgl.bind(this.context, A0.vertexSchema, A0.fragmentSchema);
4914
4914
  this.program = M, this.aPositionBuffer = b;
4915
4915
  }
4916
4916
  },
@@ -4926,10 +4926,10 @@ const Q2 = {
4926
4926
  }, H2 = { key: 0 };
4927
4927
  function _2(z, M, b, O, p, o) {
4928
4928
  var A;
4929
- return (A = b.factor) != null && A.active ? (s(), W("div", H2, [
4929
+ return (A = b.factor) != null && A.active ? (W(), l("div", H2, [
4930
4930
  c("div", {
4931
4931
  class: "legend-bars flex-center",
4932
- style: c0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4932
+ style: o0([{ position: "absolute" }, { right: p.right + "px", bottom: b.bottom }])
4933
4933
  }, M[0] || (M[0] = [
4934
4934
  c("span", null, "m", -1),
4935
4935
  c("span", null, "0", -1),
@@ -4938,15 +4938,15 @@ function _2(z, M, b, O, p, o) {
4938
4938
  c("span", null, "1.5", -1),
4939
4939
  c("span", null, "2", -1)
4940
4940
  ]), 4)
4941
- ])) : j("", !0);
4941
+ ])) : _("", !0);
4942
4942
  }
4943
- const j2 = /* @__PURE__ */ Q(Q2, [["render", _2], ["__scopeId", "data-v-5bb73794"]]);
4943
+ const j2 = /* @__PURE__ */ k(Q2, [["render", _2], ["__scopeId", "data-v-5bb73794"]]);
4944
4944
  /*! Element Plus Icons Vue v2.3.1 */
4945
4945
  var F2 = /* @__PURE__ */ J0({
4946
4946
  name: "LocationFilled",
4947
4947
  __name: "location-filled",
4948
4948
  setup(z) {
4949
- return (M, b) => (s(), W("svg", {
4949
+ return (M, b) => (W(), l("svg", {
4950
4950
  xmlns: "http://www.w3.org/2000/svg",
4951
4951
  viewBox: "0 0 1024 1024"
4952
4952
  }, [
@@ -4968,258 +4968,258 @@ var _0 = { exports: {} }, j0 = { exports: {} };
4968
4968
  //! license : MIT
4969
4969
  //! github.com/moment/moment-timezone
4970
4970
  (function(M, b) {
4971
- z.exports ? z.exports = b(G) : b(M.moment);
4971
+ z.exports ? z.exports = b(F) : b(M.moment);
4972
4972
  })(U2, function(M) {
4973
4973
  M.version === void 0 && M.default && (M = M.default);
4974
4974
  var b = "0.5.47", O = {}, p = {}, o = {}, A = {}, t = {}, q;
4975
- (!M || typeof M.version != "string") && a0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
4976
- var r = M.version.split("."), a = +r[0], i = +r[1];
4977
- (a < 2 || a === 2 && i < 6) && a0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
4975
+ (!M || typeof M.version != "string") && t0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
4976
+ var n = M.version.split("."), a = +n[0], r = +n[1];
4977
+ (a < 2 || a === 2 && r < 6) && t0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
4978
4978
  function L(e) {
4979
4979
  return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
4980
4980
  }
4981
- function n(e) {
4982
- var l = 0, f = e.split("."), B = f[0], w = f[1] || "", P = 1, $, k = 0, U = 1;
4983
- for (e.charCodeAt(0) === 45 && (l = 1, U = -1), l; l < B.length; l++)
4984
- $ = L(B.charCodeAt(l)), k = 60 * k + $;
4985
- for (l = 0; l < w.length; l++)
4986
- P = P / 60, $ = L(w.charCodeAt(l)), k += $ * P;
4987
- return k * U;
4981
+ function d(e) {
4982
+ var i = 0, f = e.split("."), B = f[0], X = f[1] || "", D = 1, Z, S = 0, G = 1;
4983
+ for (e.charCodeAt(0) === 45 && (i = 1, G = -1), i; i < B.length; i++)
4984
+ Z = L(B.charCodeAt(i)), S = 60 * S + Z;
4985
+ for (i = 0; i < X.length; i++)
4986
+ D = D / 60, Z = L(X.charCodeAt(i)), S += Z * D;
4987
+ return S * G;
4988
4988
  }
4989
4989
  function h(e) {
4990
- for (var l = 0; l < e.length; l++)
4991
- e[l] = n(e[l]);
4990
+ for (var i = 0; i < e.length; i++)
4991
+ e[i] = d(e[i]);
4992
4992
  }
4993
- function u(e, l) {
4994
- for (var f = 0; f < l; f++)
4993
+ function u(e, i) {
4994
+ for (var f = 0; f < i; f++)
4995
4995
  e[f] = Math.round((e[f - 1] || 0) + e[f] * 6e4);
4996
- e[l - 1] = 1 / 0;
4996
+ e[i - 1] = 1 / 0;
4997
4997
  }
4998
- function d(e, l) {
4998
+ function s(e, i) {
4999
4999
  var f = [], B;
5000
- for (B = 0; B < l.length; B++)
5001
- f[B] = e[l[B]];
5000
+ for (B = 0; B < i.length; B++)
5001
+ f[B] = e[i[B]];
5002
5002
  return f;
5003
5003
  }
5004
5004
  function m(e) {
5005
- var l = e.split("|"), f = l[2].split(" "), B = l[3].split(""), w = l[4].split(" ");
5006
- return h(f), h(B), h(w), u(w, B.length), {
5007
- name: l[0],
5008
- abbrs: d(l[1].split(" "), B),
5009
- offsets: d(f, B),
5010
- untils: w,
5011
- population: l[5] | 0
5005
+ var i = e.split("|"), f = i[2].split(" "), B = i[3].split(""), X = i[4].split(" ");
5006
+ return h(f), h(B), h(X), u(X, B.length), {
5007
+ name: i[0],
5008
+ abbrs: s(i[1].split(" "), B),
5009
+ offsets: s(f, B),
5010
+ untils: X,
5011
+ population: i[5] | 0
5012
5012
  };
5013
5013
  }
5014
5014
  function R(e) {
5015
5015
  e && this._set(m(e));
5016
5016
  }
5017
- function X(e, l) {
5018
- var f = l.length;
5019
- if (e < l[0])
5017
+ function y(e, i) {
5018
+ var f = i.length;
5019
+ if (e < i[0])
5020
5020
  return 0;
5021
- if (f > 1 && l[f - 1] === 1 / 0 && e >= l[f - 2])
5021
+ if (f > 1 && i[f - 1] === 1 / 0 && e >= i[f - 2])
5022
5022
  return f - 1;
5023
- if (e >= l[f - 1])
5023
+ if (e >= i[f - 1])
5024
5024
  return -1;
5025
- for (var B, w = 0, P = f - 1; P - w > 1; )
5026
- B = Math.floor((w + P) / 2), l[B] <= e ? w = B : P = B;
5027
- return P;
5025
+ for (var B, X = 0, D = f - 1; D - X > 1; )
5026
+ B = Math.floor((X + D) / 2), i[B] <= e ? X = B : D = B;
5027
+ return D;
5028
5028
  }
5029
5029
  R.prototype = {
5030
5030
  _set: function(e) {
5031
5031
  this.name = e.name, this.abbrs = e.abbrs, this.untils = e.untils, this.offsets = e.offsets, this.population = e.population;
5032
5032
  },
5033
5033
  _index: function(e) {
5034
- var l = +e, f = this.untils, B;
5035
- if (B = X(l, f), B >= 0)
5034
+ var i = +e, f = this.untils, B;
5035
+ if (B = y(i, f), B >= 0)
5036
5036
  return B;
5037
5037
  },
5038
5038
  countries: function() {
5039
5039
  var e = this.name;
5040
- return Object.keys(o).filter(function(l) {
5041
- return o[l].zones.indexOf(e) !== -1;
5040
+ return Object.keys(o).filter(function(i) {
5041
+ return o[i].zones.indexOf(e) !== -1;
5042
5042
  });
5043
5043
  },
5044
5044
  parse: function(e) {
5045
- var l = +e, f = this.offsets, B = this.untils, w = B.length - 1, P, $, k, U;
5046
- for (U = 0; U < w; U++)
5047
- if (P = f[U], $ = f[U + 1], k = f[U && U - 1], P < $ && D.moveAmbiguousForward ? P = $ : P > k && D.moveInvalidForward && (P = k), l < B[U] - P * 6e4)
5048
- return f[U];
5049
- return f[w];
5045
+ var i = +e, f = this.offsets, B = this.untils, X = B.length - 1, D, Z, S, G;
5046
+ for (G = 0; G < X; G++)
5047
+ if (D = f[G], Z = f[G + 1], S = f[G && G - 1], D < Z && I.moveAmbiguousForward ? D = Z : D > S && I.moveInvalidForward && (D = S), i < B[G] - D * 6e4)
5048
+ return f[G];
5049
+ return f[X];
5050
5050
  },
5051
5051
  abbr: function(e) {
5052
5052
  return this.abbrs[this._index(e)];
5053
5053
  },
5054
5054
  offset: function(e) {
5055
- return a0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
5055
+ return t0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(e)];
5056
5056
  },
5057
5057
  utcOffset: function(e) {
5058
5058
  return this.offsets[this._index(e)];
5059
5059
  }
5060
5060
  };
5061
- function E(e, l) {
5062
- this.name = e, this.zones = l;
5061
+ function T(e, i) {
5062
+ this.name = e, this.zones = i;
5063
5063
  }
5064
- function y(e) {
5065
- var l = e.toTimeString(), f = l.match(/\([a-z ]+\)/i);
5066
- f && f[0] ? (f = f[0].match(/[A-Z]/g), f = f ? f.join("") : void 0) : (f = l.match(/[A-Z]{3,5}/g), f = f ? f[0] : void 0), f === "GMT" && (f = void 0), this.at = +e, this.abbr = f, this.offset = e.getTimezoneOffset();
5064
+ function N(e) {
5065
+ var i = e.toTimeString(), f = i.match(/\([a-z ]+\)/i);
5066
+ f && f[0] ? (f = f[0].match(/[A-Z]/g), f = f ? f.join("") : void 0) : (f = i.match(/[A-Z]{3,5}/g), f = f ? f[0] : void 0), f === "GMT" && (f = void 0), this.at = +e, this.abbr = f, this.offset = e.getTimezoneOffset();
5067
5067
  }
5068
- function _(e) {
5068
+ function H(e) {
5069
5069
  this.zone = e, this.offsetScore = 0, this.abbrScore = 0;
5070
5070
  }
5071
- _.prototype.scoreOffsetAt = function(e) {
5071
+ H.prototype.scoreOffsetAt = function(e) {
5072
5072
  this.offsetScore += Math.abs(this.zone.utcOffset(e.at) - e.offset), this.zone.abbr(e.at).replace(/[^A-Z]/g, "") !== e.abbr && this.abbrScore++;
5073
5073
  };
5074
- function J(e, l) {
5075
- for (var f, B; B = ((l.at - e.at) / 12e4 | 0) * 6e4; )
5076
- f = new y(new Date(e.at + B)), f.offset === e.offset ? e = f : l = f;
5074
+ function K(e, i) {
5075
+ for (var f, B; B = ((i.at - e.at) / 12e4 | 0) * 6e4; )
5076
+ f = new N(new Date(e.at + B)), f.offset === e.offset ? e = f : i = f;
5077
5077
  return e;
5078
5078
  }
5079
- function Z() {
5080
- var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, l = new y(new Date(e, 0, 1)), f = l.offset, B = [l], w, P, $, k;
5081
- for (k = 1; k < 48; k++)
5082
- $ = new Date(e, k, 1).getTimezoneOffset(), $ !== f && (P = new y(new Date(e, k, 1)), w = J(l, P), B.push(w), B.push(new y(new Date(w.at + 6e4))), l = P, f = $);
5083
- for (k = 0; k < 4; k++)
5084
- B.push(new y(new Date(e + k, 0, 1))), B.push(new y(new Date(e + k, 6, 1)));
5079
+ function V() {
5080
+ var e = (/* @__PURE__ */ new Date()).getFullYear() - 2, i = new N(new Date(e, 0, 1)), f = i.offset, B = [i], X, D, Z, S;
5081
+ for (S = 1; S < 48; S++)
5082
+ Z = new Date(e, S, 1).getTimezoneOffset(), Z !== f && (D = new N(new Date(e, S, 1)), X = K(i, D), B.push(X), B.push(new N(new Date(X.at + 6e4))), i = D, f = Z);
5083
+ for (S = 0; S < 4; S++)
5084
+ B.push(new N(new Date(e + S, 0, 1))), B.push(new N(new Date(e + S, 6, 1)));
5085
5085
  return B;
5086
5086
  }
5087
- function M0(e, l) {
5088
- return e.offsetScore !== l.offsetScore ? e.offsetScore - l.offsetScore : e.abbrScore !== l.abbrScore ? e.abbrScore - l.abbrScore : e.zone.population !== l.zone.population ? l.zone.population - e.zone.population : l.zone.name.localeCompare(e.zone.name);
5087
+ function $(e, i) {
5088
+ 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);
5089
5089
  }
5090
- function N(e, l) {
5090
+ function g(e, i) {
5091
5091
  var f, B;
5092
- for (h(l), f = 0; f < l.length; f++)
5093
- B = l[f], t[B] = t[B] || {}, t[B][e] = !0;
5094
- }
5095
- function x(e) {
5096
- var l = e.length, f = {}, B = [], w = {}, P, $, k, U;
5097
- for (P = 0; P < l; P++)
5098
- if (k = e[P].offset, !w.hasOwnProperty(k)) {
5099
- U = t[k] || {};
5100
- for ($ in U)
5101
- U.hasOwnProperty($) && (f[$] = !0);
5102
- w[k] = !0;
5092
+ for (h(i), f = 0; f < i.length; f++)
5093
+ B = i[f], t[B] = t[B] || {}, t[B][e] = !0;
5094
+ }
5095
+ function E(e) {
5096
+ var i = e.length, f = {}, B = [], X = {}, D, Z, S, G;
5097
+ for (D = 0; D < i; D++)
5098
+ if (S = e[D].offset, !X.hasOwnProperty(S)) {
5099
+ G = t[S] || {};
5100
+ for (Z in G)
5101
+ G.hasOwnProperty(Z) && (f[Z] = !0);
5102
+ X[S] = !0;
5103
5103
  }
5104
- for (P in f)
5105
- f.hasOwnProperty(P) && B.push(A[P]);
5104
+ for (D in f)
5105
+ f.hasOwnProperty(D) && B.push(A[D]);
5106
5106
  return B;
5107
5107
  }
5108
- function d0() {
5108
+ function n0() {
5109
5109
  try {
5110
5110
  var e = Intl.DateTimeFormat().resolvedOptions().timeZone;
5111
5111
  if (e && e.length > 3) {
5112
- var l = A[r0(e)];
5113
- if (l)
5114
- return l;
5115
- a0("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
5112
+ var i = A[i0(e)];
5113
+ if (i)
5114
+ return i;
5115
+ t0("Moment Timezone found " + e + " from the Intl api, but did not have that data loaded.");
5116
5116
  }
5117
5117
  } catch {
5118
5118
  }
5119
- var f = Z(), B = f.length, w = x(f), P = [], $, k, U;
5120
- for (k = 0; k < w.length; k++) {
5121
- for ($ = new _(o0(w[k])), U = 0; U < B; U++)
5122
- $.scoreOffsetAt(f[U]);
5123
- P.push($);
5119
+ var f = V(), B = f.length, X = E(f), D = [], Z, S, G;
5120
+ for (S = 0; S < X.length; S++) {
5121
+ for (Z = new H(O0(X[S])), G = 0; G < B; G++)
5122
+ Z.scoreOffsetAt(f[G]);
5123
+ D.push(Z);
5124
5124
  }
5125
- return P.sort(M0), P.length > 0 ? P[0].zone.name : void 0;
5125
+ return D.sort($), D.length > 0 ? D[0].zone.name : void 0;
5126
5126
  }
5127
- function s0(e) {
5128
- return (!q || e) && (q = d0()), q;
5127
+ function d0(e) {
5128
+ return (!q || e) && (q = n0()), q;
5129
5129
  }
5130
- function r0(e) {
5130
+ function i0(e) {
5131
5131
  return (e || "").toLowerCase().replace(/\//g, "_");
5132
5132
  }
5133
5133
  function L0(e) {
5134
- var l, f, B, w;
5135
- for (typeof e == "string" && (e = [e]), l = 0; l < e.length; l++)
5136
- B = e[l].split("|"), f = B[0], w = r0(f), O[w] = e[l], A[w] = f, N(w, B[2].split(" "));
5134
+ var i, f, B, X;
5135
+ for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5136
+ B = e[i].split("|"), f = B[0], X = i0(f), O[X] = e[i], A[X] = f, g(X, B[2].split(" "));
5137
5137
  }
5138
- function o0(e, l) {
5139
- e = r0(e);
5138
+ function O0(e, i) {
5139
+ e = i0(e);
5140
5140
  var f = O[e], B;
5141
- return f instanceof R ? f : typeof f == "string" ? (f = new R(f), O[e] = f, f) : p[e] && l !== o0 && (B = o0(p[e], o0)) ? (f = O[e] = new R(), f._set(B), f.name = A[e], f) : null;
5141
+ return f instanceof R ? f : typeof f == "string" ? (f = new R(f), O[e] = f, f) : p[e] && i !== O0 && (B = O0(p[e], O0)) ? (f = O[e] = new R(), f._set(B), f.name = A[e], f) : null;
5142
5142
  }
5143
5143
  function h0() {
5144
- var e, l = [];
5144
+ var e, i = [];
5145
5145
  for (e in A)
5146
- A.hasOwnProperty(e) && (O[e] || O[p[e]]) && A[e] && l.push(A[e]);
5147
- return l.sort();
5146
+ A.hasOwnProperty(e) && (O[e] || O[p[e]]) && A[e] && i.push(A[e]);
5147
+ return i.sort();
5148
5148
  }
5149
5149
  function m0() {
5150
5150
  return Object.keys(o);
5151
5151
  }
5152
- function W0(e) {
5153
- var l, f, B, w;
5154
- for (typeof e == "string" && (e = [e]), l = 0; l < e.length; l++)
5155
- f = e[l].split("|"), B = r0(f[0]), w = r0(f[1]), p[B] = w, A[B] = f[0], p[w] = B, A[w] = f[1];
5152
+ function s0(e) {
5153
+ var i, f, B, X;
5154
+ for (typeof e == "string" && (e = [e]), i = 0; i < e.length; i++)
5155
+ f = e[i].split("|"), B = i0(f[0]), X = i0(f[1]), p[B] = X, A[B] = f[0], p[X] = B, A[X] = f[1];
5156
5156
  }
5157
- function n0(e) {
5158
- var l, f, B, w;
5157
+ function r0(e) {
5158
+ var i, f, B, X;
5159
5159
  if (!(!e || !e.length))
5160
- for (l = 0; l < e.length; l++)
5161
- w = e[l].split("|"), f = w[0].toUpperCase(), B = w[1].split(" "), o[f] = new E(
5160
+ for (i = 0; i < e.length; i++)
5161
+ X = e[i].split("|"), f = X[0].toUpperCase(), B = X[1].split(" "), o[f] = new T(
5162
5162
  f,
5163
5163
  B
5164
5164
  );
5165
5165
  }
5166
- function l0(e) {
5166
+ function W0(e) {
5167
5167
  return e = e.toUpperCase(), o[e] || null;
5168
5168
  }
5169
- function B0(e, l) {
5170
- if (e = l0(e), !e)
5169
+ function B0(e, i) {
5170
+ if (e = W0(e), !e)
5171
5171
  return null;
5172
5172
  var f = e.zones.sort();
5173
- return l ? f.map(function(B) {
5174
- var w = o0(B);
5173
+ return i ? f.map(function(B) {
5174
+ var X = O0(B);
5175
5175
  return {
5176
5176
  name: B,
5177
- offset: w.utcOffset(/* @__PURE__ */ new Date())
5177
+ offset: X.utcOffset(/* @__PURE__ */ new Date())
5178
5178
  };
5179
5179
  }) : f;
5180
5180
  }
5181
- function f0(e) {
5182
- L0(e.zones), W0(e.links), n0(e.countries), D.dataVersion = e.version;
5181
+ function l0(e) {
5182
+ L0(e.zones), s0(e.links), r0(e.countries), I.dataVersion = e.version;
5183
5183
  }
5184
- function S(e) {
5185
- return S.didShowError || (S.didShowError = !0, a0("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!o0(e);
5184
+ function P(e) {
5185
+ return P.didShowError || (P.didShowError = !0, t0("moment.tz.zoneExists('" + e + "') has been deprecated in favor of !moment.tz.zone('" + e + "')")), !!O0(e);
5186
5186
  }
5187
- function p0(e) {
5188
- var l = e._f === "X" || e._f === "x";
5189
- return !!(e._a && e._tzm === void 0 && !l);
5187
+ function z0(e) {
5188
+ var i = e._f === "X" || e._f === "x";
5189
+ return !!(e._a && e._tzm === void 0 && !i);
5190
5190
  }
5191
- function a0(e) {
5191
+ function t0(e) {
5192
5192
  typeof console < "u" && typeof console.error == "function" && console.error(e);
5193
5193
  }
5194
- function D(e) {
5195
- var l = Array.prototype.slice.call(arguments, 0, -1), f = arguments[arguments.length - 1], B = M.utc.apply(null, l), w;
5196
- return !M.isMoment(e) && p0(B) && (w = o0(f)) && B.add(w.parse(B), "minutes"), B.tz(f), B;
5194
+ function I(e) {
5195
+ var i = Array.prototype.slice.call(arguments, 0, -1), f = arguments[arguments.length - 1], B = M.utc.apply(null, i), X;
5196
+ return !M.isMoment(e) && z0(B) && (X = O0(f)) && B.add(X.parse(B), "minutes"), B.tz(f), B;
5197
5197
  }
5198
- D.version = b, D.dataVersion = "", D._zones = O, D._links = p, D._names = A, D._countries = o, D.add = L0, D.link = W0, D.load = f0, D.zone = o0, D.zoneExists = S, D.guess = s0, D.names = h0, D.Zone = R, D.unpack = m, D.unpackBase60 = n, D.needsOffset = p0, D.moveInvalidForward = !0, D.moveAmbiguousForward = !1, D.countries = m0, D.zonesForCountry = B0;
5199
- var O0 = M.fn;
5200
- M.tz = D, M.defaultZone = null, M.updateOffset = function(e, l) {
5198
+ I.version = b, I.dataVersion = "", I._zones = O, I._links = p, I._names = A, I._countries = o, I.add = L0, I.link = s0, I.load = l0, I.zone = O0, I.zoneExists = P, I.guess = d0, I.names = h0, I.Zone = R, I.unpack = m, I.unpackBase60 = d, I.needsOffset = z0, I.moveInvalidForward = !0, I.moveAmbiguousForward = !1, I.countries = m0, I.zonesForCountry = B0;
5199
+ var p0 = M.fn;
5200
+ M.tz = I, M.defaultZone = null, M.updateOffset = function(e, i) {
5201
5201
  var f = M.defaultZone, B;
5202
- if (e._z === void 0 && (f && p0(e) && !e._isUTC && e.isValid() && (e._d = M.utc(e._a)._d, e.utc().add(f.parse(e), "minutes")), e._z = f), e._z)
5202
+ if (e._z === void 0 && (f && z0(e) && !e._isUTC && e.isValid() && (e._d = M.utc(e._a)._d, e.utc().add(f.parse(e), "minutes")), e._z = f), e._z)
5203
5203
  if (B = e._z.utcOffset(e), Math.abs(B) < 16 && (B = B / 60), e.utcOffset !== void 0) {
5204
- var w = e._z;
5205
- e.utcOffset(-B, l), e._z = w;
5204
+ var X = e._z;
5205
+ e.utcOffset(-B, i), e._z = X;
5206
5206
  } else
5207
- e.zone(B, l);
5208
- }, O0.tz = function(e, l) {
5207
+ e.zone(B, i);
5208
+ }, p0.tz = function(e, i) {
5209
5209
  if (e) {
5210
5210
  if (typeof e != "string")
5211
5211
  throw new Error("Time zone name must be a string, got " + e + " [" + typeof e + "]");
5212
- return this._z = o0(e), this._z ? M.updateOffset(this, l) : a0("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5212
+ return this._z = O0(e), this._z ? M.updateOffset(this, i) : t0("Moment Timezone has no data for " + e + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5213
5213
  }
5214
5214
  if (this._z)
5215
5215
  return this._z.name;
5216
5216
  };
5217
- function u0(e) {
5217
+ function f0(e) {
5218
5218
  return function() {
5219
5219
  return this._z ? this._z.abbr(this) : e.call(this);
5220
5220
  };
5221
5221
  }
5222
- function A0(e) {
5222
+ function u0(e) {
5223
5223
  return function() {
5224
5224
  return this._z = null, e.apply(this, arguments);
5225
5225
  };
@@ -5229,11 +5229,11 @@ var _0 = { exports: {} }, j0 = { exports: {} };
5229
5229
  return arguments.length > 0 && (this._z = null), e.apply(this, arguments);
5230
5230
  };
5231
5231
  }
5232
- O0.zoneName = u0(O0.zoneName), O0.zoneAbbr = u0(O0.zoneAbbr), O0.utc = A0(O0.utc), O0.local = A0(O0.local), O0.utcOffset = R0(O0.utcOffset), M.tz.setDefault = function(e) {
5233
- return (a < 2 || a === 2 && i < 9) && a0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? o0(e) : null, M;
5232
+ p0.zoneName = f0(p0.zoneName), p0.zoneAbbr = f0(p0.zoneAbbr), p0.utc = u0(p0.utc), p0.local = u0(p0.local), p0.utcOffset = R0(p0.utcOffset), M.tz.setDefault = function(e) {
5233
+ return (a < 2 || a === 2 && r < 9) && t0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = e ? O0(e) : null, M;
5234
5234
  };
5235
- var g = M.momentProperties;
5236
- return Object.prototype.toString.call(g) === "[object Array]" ? (g.push("_z"), g.push("_a")) : g && (g._z = null), M;
5235
+ var c0 = M.momentProperties;
5236
+ return Object.prototype.toString.call(c0) === "[object Array]" ? (c0.push("_z"), c0.push("_a")) : c0 && (c0._z = null), M;
5237
5237
  });
5238
5238
  })(j0);
5239
5239
  var J2 = j0.exports;
@@ -6122,7 +6122,7 @@ const OM = {
6122
6122
  showMeteo: !1,
6123
6123
  loading: !1,
6124
6124
  point: {},
6125
- meteoTime: G().utc().format(),
6125
+ meteoTime: F().utc().format(),
6126
6126
  meteoData: void 0,
6127
6127
  tableData: {
6128
6128
  hours: [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0],
@@ -6150,6 +6150,7 @@ const OM = {
6150
6150
  seaTemp: []
6151
6151
  },
6152
6152
  currentHourData: void 0,
6153
+ positionOffset: void 0,
6153
6154
  positionGmt: void 0,
6154
6155
  localDate: void 0,
6155
6156
  meteoMarker: void 0,
@@ -6172,7 +6173,7 @@ const OM = {
6172
6173
  handler() {
6173
6174
  var z;
6174
6175
  if (this.showMeteo = !0, this.showMeteo && this.ts && this.meteoTime) {
6175
- const M = Math.ceil((z = G(this.ts)) == null ? void 0 : z.diff(G(), "d", !0)), b = M > 0 ? 15 - M : 15;
6176
+ const M = Math.ceil((z = F(this.ts)) == null ? void 0 : z.diff(F(), "d", !0)), b = M > 0 ? 15 - M : 15;
6176
6177
  this.fetchMeteoData(this.point, this.ts, b);
6177
6178
  }
6178
6179
  }
@@ -6181,11 +6182,11 @@ const OM = {
6181
6182
  handler() {
6182
6183
  var z, M;
6183
6184
  if (this.showMeteo && this.ts && this.meteoTime) {
6184
- const b = (z = G(this.ts)) == null ? void 0 : z.diff(G(this.meteoTime), "d", !0);
6185
+ const b = (z = F(this.ts)) == null ? void 0 : z.diff(F(this.meteoTime), "d", !0);
6185
6186
  if (b >= 0 && b <= 14)
6186
6187
  this.meteoData && this.initTableData(this.meteoData);
6187
6188
  else if (b > 14) {
6188
- const O = Math.ceil((M = G(this.ts)) == null ? void 0 : M.diff(G(), "d", !0));
6189
+ const O = Math.ceil((M = F(this.ts)) == null ? void 0 : M.diff(F(), "d", !0));
6189
6190
  if (O <= 15) {
6190
6191
  const p = O > 0 ? 15 - O : 15;
6191
6192
  this.fetchMeteoData(this.point, this.ts, p);
@@ -6205,22 +6206,22 @@ const OM = {
6205
6206
  },
6206
6207
  computeHourZ() {
6207
6208
  return function(z) {
6208
- return z ? `${G(z).utc().format("HH")}Z` : "-";
6209
+ return z ? `${F(z).utc().format("HH")}Z` : "-";
6209
6210
  };
6210
6211
  },
6211
6212
  computeLat() {
6212
6213
  return function(z, M = 4) {
6213
- return b0.lat2pretty(z, M).pretty;
6214
+ return M0.lat2pretty(z, M).pretty;
6214
6215
  };
6215
6216
  },
6216
6217
  computeLng() {
6217
6218
  return function(z, M = 4) {
6218
- return b0.lng2pretty(z, M).pretty;
6219
+ return M0.lng2pretty(z, M).pretty;
6219
6220
  };
6220
6221
  },
6221
6222
  roundPrecision() {
6222
6223
  return function(z, M = 4) {
6223
- return isNaN(z) ? "-" : b0.roundPrecision(z, M);
6224
+ return isNaN(z) ? "-" : M0.roundPrecision(z, M);
6224
6225
  };
6225
6226
  }
6226
6227
  },
@@ -6229,7 +6230,7 @@ const OM = {
6229
6230
  methods: {
6230
6231
  async fetchMeteoData(z, M, b) {
6231
6232
  this.point = z, this.loading = !0, this.clearTable(), this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender();
6232
- let O = M ? G(M).utc().format() : G().utc().format(), p = {
6233
+ let O = M ? F(M).utc().format() : F().utc().format(), p = {
6233
6234
  lat: z.lat,
6234
6235
  lng: z.lng,
6235
6236
  datetime: O,
@@ -6240,7 +6241,7 @@ const OM = {
6240
6241
  Authorization: this.token || this.defaultMeteoToken
6241
6242
  }
6242
6243
  });
6243
- (o == null ? void 0 : o.data.code) === 0 ? (this.meteoData = o == null ? void 0 : o.data.data, this.meteoTime = O, this.loading = !1, this.initTableData(this.meteoData)) : (this.loading = !1, this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender()), G(this.startTs).diff(G(), "d", !0) < -1 && (O = M ? G(M).add(-14, "d").utc().format() : G().utc().format(), p = {
6244
+ (o == null ? void 0 : o.data.code) === 0 ? (this.meteoData = o == null ? void 0 : o.data.data, this.meteoTime = O, this.loading = !1, this.initTableData(this.meteoData)) : (this.loading = !1, this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender()), F(this.startTs).diff(F(), "d", !0) < -1 && (O = M ? F(M).add(-14, "d").utc().format() : F().utc().format(), p = {
6244
6245
  lat: z.lat,
6245
6246
  lng: z.lng,
6246
6247
  datetime: O,
@@ -6252,21 +6253,21 @@ const OM = {
6252
6253
  }), (o == null ? void 0 : o.data.code) === 0 && (this.historyMeteoData = o == null ? void 0 : o.data.data));
6253
6254
  },
6254
6255
  initTableData(z) {
6255
- var M, b, O, p, o;
6256
- this.clearTable(), this.currentHourData = ((M = k0.pickHourly(z, this.ts ? G(this.ts) : G())) == null ? void 0 : M[0]) || {}, this.positionGmt = (O = (b = z == null ? void 0 : z.weather) == null ? void 0 : b[0]) == null ? void 0 : O.timezone, this.localDate = (o = (p = E0(this.ts)) == null ? void 0 : p.tz(this.positionGmt)) == null ? void 0 : o.format("MMM-DD/HHmm[LT]"), this.$nextTick(() => {
6257
- var t, q, r, a, i, L, n, h, u, d, m, R, X, E, y, _, J, Z, M0, N, x, d0, s0, r0, L0, o0, h0, m0, W0, n0, l0, B0, f0, S, p0, a0, D, O0, u0;
6258
- const A = document.getElementById("meteoMainBox");
6259
- if (A.className = "main-box", A.style.backgroundImage = null, A.style.backgroundPosition = "top left", ((q = (t = this.currentHourData) == null ? void 0 : t.weather) == null ? void 0 : q.code) === 0 && ((a = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : a.isDay) === 0)
6260
- A.className = "main-box night-bg";
6256
+ var M, b, O, p, o, A, t;
6257
+ this.clearTable(), this.currentHourData = ((M = k0.pickHourly(z, this.ts ? F(this.ts) : F())) == null ? void 0 : M[0]) || {}, this.positionGmt = (O = (b = z == null ? void 0 : z.weather) == null ? void 0 : b[0]) == null ? void 0 : O.timezone, this.positionOffset = (o = (p = z == null ? void 0 : z.weather) == null ? void 0 : p[0]) == null ? void 0 : o.offset, this.localDate = (t = (A = E0(this.ts)) == null ? void 0 : A.tz(this.positionGmt)) == null ? void 0 : t.format("MMM-DD/HHmm[LT]"), this.$nextTick(() => {
6258
+ var n, a, r, L, d, h, u, s, m, R, y, T, N, H, K, V, $, g, E, n0, d0, i0, L0, O0, h0, m0, s0, r0, W0, B0, l0, P, z0, t0, I, p0, f0, u0, R0;
6259
+ const q = document.getElementById("meteoMainBox");
6260
+ if (q.className = "main-box", q.style.backgroundImage = null, q.style.backgroundPosition = "top left", ((a = (n = this.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : a.code) === 0 && ((L = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : L.isDay) === 0)
6261
+ q.className = "main-box night-bg";
6261
6262
  else {
6262
- const A0 = (L = (i = this.currentHourData) == null ? void 0 : i.weather) == null ? void 0 : L.bg;
6263
- A0 ? (A.className = "main-box font-color-white", A.style.backgroundImage = `url(${A0})`, (A0 === "https://osshz.idmwx.com/asset/weather/bg2.png" || A0 === "https://osshz.idmwx.com/asset/weather/bg5.png") && (A.style.backgroundPosition = "right bottom")) : A.className = "main-box day-bg";
6263
+ const c0 = (h = (d = this.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : h.bg;
6264
+ 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";
6264
6265
  }
6265
- for (let A0 = 0; A0 < 8; A0++) {
6266
- const R0 = E0(this.ts).tz(this.positionGmt).add(3 * A0, "h").format();
6267
- this.tableData.hours.push(R0);
6268
- const g = ((n = k0.pickHourly(z, R0)) == null ? void 0 : n[0]) || {};
6269
- this.tableData.temp.push(this.roundPrecision((h = g == null ? void 0 : g.weather) == null ? void 0 : h.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((d = (u = g == null ? void 0 : g.weather) == null ? void 0 : u.precip) == null ? void 0 : d.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((R = (m = g == null ? void 0 : g.weather) == null ? void 0 : m.precip) == null ? void 0 : R.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((X = g == null ? void 0 : g.weather) == null ? void 0 : X.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((y = (E = g == null ? void 0 : g.weather) == null ? void 0 : E.wind) == null ? void 0 : y.kts, 1) ?? "-"), this.tableData.windDir.push((J = (_ = g == null ? void 0 : g.weather) == null ? void 0 : _.wind) == null ? void 0 : J.bearing), this.tableData.windGust.push(this.roundPrecision((M0 = (Z = g == null ? void 0 : g.weather) == null ? void 0 : Z.wind) == null ? void 0 : M0.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((x = (N = g == null ? void 0 : g.wave) == null ? void 0 : N.sig) == null ? void 0 : x.height, 1) ?? "-"), this.tableData.sigwaveDir.push((s0 = (d0 = g == null ? void 0 : g.wave) == null ? void 0 : d0.sig) == null ? void 0 : s0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((L0 = (r0 = g == null ? void 0 : g.wave) == null ? void 0 : r0.wd) == null ? void 0 : L0.height, 1) ?? "-"), this.tableData.windwaveDir.push((h0 = (o0 = g == null ? void 0 : g.wave) == null ? void 0 : o0.wd) == null ? void 0 : h0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((W0 = (m0 = g == null ? void 0 : g.wave) == null ? void 0 : m0.wd) == null ? void 0 : W0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((l0 = (n0 = g == null ? void 0 : g.wave) == null ? void 0 : n0.swell) == null ? void 0 : l0.height, 1) ?? "-"), this.tableData.swellDir.push((f0 = (B0 = g == null ? void 0 : g.wave) == null ? void 0 : B0.swell) == null ? void 0 : f0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((p0 = (S = g == null ? void 0 : g.wave) == null ? void 0 : S.swell) == null ? void 0 : p0.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((a0 = g == null ? void 0 : g.current) == null ? void 0 : a0.speed, 1) ?? "-"), this.tableData.currentDir.push((D = g == null ? void 0 : g.current) == null ? void 0 : D.bearing), this.tableData.seaLevel.push(this.roundPrecision(g == null ? void 0 : g.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(g == null ? void 0 : g.sst, 0) ?? "-"), this.tableData.weatherUrls.push((O0 = g == null ? void 0 : g.weather) == null ? void 0 : O0.url), this.tableData.weatherNames.push(((u0 = g == null ? void 0 : g.weather) == null ? void 0 : u0.name) ?? "-");
6266
+ for (let c0 = 0; c0 < 8; c0++) {
6267
+ const e = E0(this.ts).tz(this.positionGmt).add(3 * c0, "h").format();
6268
+ this.tableData.hours.push(e);
6269
+ const i = ((u = k0.pickHourly(z, e)) == null ? void 0 : u[0]) || {};
6270
+ this.tableData.temp.push(this.roundPrecision((s = i == null ? void 0 : i.weather) == null ? void 0 : s.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((R = (m = i == null ? void 0 : i.weather) == null ? void 0 : m.precip) == null ? void 0 : R.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((T = (y = i == null ? void 0 : i.weather) == null ? void 0 : y.precip) == null ? void 0 : T.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((N = i == null ? void 0 : i.weather) == null ? void 0 : N.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(($ = (V = i == null ? void 0 : i.weather) == null ? void 0 : V.wind) == null ? void 0 : $.bearing), this.tableData.windGust.push(this.roundPrecision((E = (g = i == null ? void 0 : i.weather) == null ? void 0 : g.wind) == null ? void 0 : E.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((d0 = (n0 = i == null ? void 0 : i.wave) == null ? void 0 : n0.sig) == null ? void 0 : d0.height, 1) ?? "-"), this.tableData.sigwaveDir.push((L0 = (i0 = i == null ? void 0 : i.wave) == null ? void 0 : i0.sig) == null ? void 0 : L0.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((h0 = (O0 = i == null ? void 0 : i.wave) == null ? void 0 : O0.wd) == null ? void 0 : h0.height, 1) ?? "-"), this.tableData.windwaveDir.push((s0 = (m0 = i == null ? void 0 : i.wave) == null ? void 0 : m0.wd) == null ? void 0 : s0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((W0 = (r0 = i == null ? void 0 : i.wave) == null ? void 0 : r0.wd) == null ? void 0 : W0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((l0 = (B0 = i == null ? void 0 : i.wave) == null ? void 0 : B0.swell) == null ? void 0 : l0.height, 1) ?? "-"), this.tableData.swellDir.push((z0 = (P = i == null ? void 0 : i.wave) == null ? void 0 : P.swell) == null ? void 0 : z0.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((p0 = i == null ? void 0 : i.current) == null ? void 0 : p0.speed, 1) ?? "-"), this.tableData.currentDir.push((f0 = i == null ? void 0 : i.current) == null ? void 0 : f0.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((u0 = i == null ? void 0 : i.weather) == null ? void 0 : u0.url), this.tableData.weatherNames.push(((R0 = i == null ? void 0 : i.weather) == null ? void 0 : R0.name) ?? "-");
6270
6271
  }
6271
6272
  });
6272
6273
  },
@@ -6340,91 +6341,91 @@ const OM = {
6340
6341
  class: "main-box flex-center"
6341
6342
  };
6342
6343
  function $M(z, M, b, O, p, o) {
6343
- var r, a, i, L, n, h, u, d, m, R, X, E, y, _, J, Z, M0;
6344
- const A = I("LocationFilled"), t = I("ElIcon"), q = I("ElTooltip");
6345
- return s(), W("div", null, [
6344
+ var n, a, r, L, d, h, u, s, m, R, y, T, N, H, K, V, $;
6345
+ const A = x("LocationFilled"), t = x("ElIcon"), q = x("ElTooltip");
6346
+ return W(), l("div", null, [
6346
6347
  y0(c("div", oM, [
6347
6348
  c("div", cM, [
6348
6349
  c("div", AM, [
6349
6350
  c("div", eM, [
6350
- C(t, { size: "22" }, {
6351
- default: t0(() => [
6352
- C(A)
6351
+ w(t, { size: "22" }, {
6352
+ default: e0(() => [
6353
+ w(A)
6353
6354
  ]),
6354
6355
  _: 1
6355
6356
  }),
6356
- c("div", tM, T(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + T(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6357
+ c("div", tM, v(o.computeLat((n = p.point) == null ? void 0 : n.lat)) + "," + v(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6357
6358
  ]),
6358
6359
  c("div", {
6359
6360
  class: "iconfont close",
6360
- onClick: M[0] || (M[0] = (N) => p.showMeteo = !1)
6361
+ onClick: M[0] || (M[0] = (g) => p.showMeteo = !1)
6361
6362
  }, "")
6362
6363
  ]),
6363
- p.loading ? (s(), W("div", ZM, M[30] || (M[30] = [
6364
+ p.loading ? (W(), l("div", ZM, M[30] || (M[30] = [
6364
6365
  c("img", { src: pM }, null, -1)
6365
- ]))) : (s(), W("div", aM, [
6366
+ ]))) : (W(), l("div", aM, [
6366
6367
  y0(c("div", qM, [
6367
6368
  c("div", iM, [
6368
- C(q, {
6369
+ w(q, {
6369
6370
  placement: "top",
6370
6371
  effect: "light",
6371
- content: (L = (i = p.currentHourData) == null ? void 0 : i.weather) == null ? void 0 : L.name,
6372
+ content: (L = (r = p.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : L.name,
6372
6373
  "show-after": 1e3
6373
6374
  }, {
6374
- default: t0(() => {
6375
- var N, x, d0, s0;
6375
+ default: e0(() => {
6376
+ var g, E, n0, d0;
6376
6377
  return [
6377
- (x = (N = p.currentHourData) == null ? void 0 : N.weather) != null && x.url ? (s(), W("img", {
6378
+ (E = (g = p.currentHourData) == null ? void 0 : g.weather) != null && E.url ? (W(), l("img", {
6378
6379
  key: 0,
6379
6380
  class: "iconfont icon",
6380
6381
  style: { "margin-right": "5px" },
6381
- src: (s0 = (d0 = p.currentHourData) == null ? void 0 : d0.weather) == null ? void 0 : s0.url
6382
- }, null, 8, rM)) : (s(), W("span", nM))
6382
+ src: (d0 = (n0 = p.currentHourData) == null ? void 0 : n0.weather) == null ? void 0 : d0.url
6383
+ }, null, 8, rM)) : (W(), l("span", nM))
6383
6384
  ];
6384
6385
  }),
6385
6386
  _: 1
6386
6387
  }, 8, ["content"]),
6387
6388
  c("div", dM, [
6388
6389
  c("div", null, [
6389
- z0(T(o.roundPrecision((h = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : h.temp, 0)), 1),
6390
+ b0(v(o.roundPrecision((h = (d = p.currentHourData) == null ? void 0 : d.weather) == null ? void 0 : h.temp, 0)), 1),
6390
6391
  M[4] || (M[4] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6391
6392
  ])
6392
6393
  ]),
6393
6394
  c("div", sM, [
6394
6395
  c("div", WM, [
6395
6396
  M[5] || (M[5] = c("label", null, "Precip : ", -1)),
6396
- c("span", null, T(o.roundPrecision((m = (d = (u = p.currentHourData) == null ? void 0 : u.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6397
+ c("span", null, v(o.roundPrecision((m = (s = (u = p.currentHourData) == null ? void 0 : u.weather) == null ? void 0 : s.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6397
6398
  ]),
6398
6399
  c("div", lM, [
6399
6400
  M[6] || (M[6] = c("label", null, "Visibility : ", -1)),
6400
- c("span", null, T(o.roundPrecision((X = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : X.visibility, 0)) + " nm", 1)
6401
+ c("span", null, v(o.roundPrecision((y = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : y.visibility, 0)) + " nm", 1)
6401
6402
  ]),
6402
6403
  c("div", fM, [
6403
6404
  M[7] || (M[7] = c("label", null, "Wind : ", -1)),
6404
- 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)
6405
+ c("span", null, v(o.roundPrecision((H = (N = (T = p.currentHourData) == null ? void 0 : T.weather) == null ? void 0 : N.wind) == null ? void 0 : H.kts, 1)) + " kts", 1)
6405
6406
  ])
6406
6407
  ])
6407
6408
  ]),
6408
6409
  c("div", uM, [
6409
- c("div", LM, T(p.localDate), 1),
6410
- c("div", RM, T(p.positionGmt), 1)
6410
+ c("div", LM, v(p.localDate), 1),
6411
+ c("div", RM, "UTC " + v(p.positionOffset), 1)
6411
6412
  ])
6412
6413
  ], 512), [
6413
- [X0, (J = p.currentHourData) == null ? void 0 : J.weather]
6414
+ [X0, (K = p.currentHourData) == null ? void 0 : K.weather]
6414
6415
  ]),
6415
6416
  y0(c("div", hM, [
6416
6417
  c("div", mM, [
6417
6418
  c("div", {
6418
- class: V(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6419
- onClick: M[1] || (M[1] = T0((N) => o.handleSelectTab(1), ["prevent"]))
6419
+ class: Y(["menu-item", p.activeIndex === 1 ? "active" : ""]),
6420
+ onClick: M[1] || (M[1] = T0((g) => o.handleSelectTab(1), ["prevent"]))
6420
6421
  }, "Basis", 2),
6421
6422
  c("div", {
6422
- class: V(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6423
- onClick: M[2] || (M[2] = T0((N) => o.handleSelectTab(2), ["prevent"]))
6423
+ class: Y(["menu-item", p.activeIndex === 2 ? "active" : ""]),
6424
+ onClick: M[2] || (M[2] = T0((g) => o.handleSelectTab(2), ["prevent"]))
6424
6425
  }, "Wave & Current", 2),
6425
6426
  c("div", {
6426
- class: V(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6427
- onClick: M[3] || (M[3] = T0((N) => o.handleSelectTab(3), ["prevent"]))
6427
+ class: Y(["menu-item", p.activeIndex === 3 ? "active" : ""]),
6428
+ onClick: M[3] || (M[3] = T0((g) => o.handleSelectTab(3), ["prevent"]))
6428
6429
  }, "Sea Surface", 2)
6429
6430
  ]),
6430
6431
  y0(c("table", BM, [
@@ -6434,14 +6435,14 @@ function $M(z, M, b, O, p, o) {
6434
6435
  colspan: "1",
6435
6436
  class: "tr-title"
6436
6437
  }, [
6437
- z0("Hours"),
6438
+ b0("Hours"),
6438
6439
  c("span", { class: "unit" }, "(LT)")
6439
6440
  ], -1)),
6440
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6441
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6441
6442
  rowspan: "1",
6442
6443
  colspan: "1",
6443
6444
  key: Math.random()
6444
- }, T(o.computeHourL(N)), 1))), 128))
6445
+ }, v(o.computeHourL(g)), 1))), 128))
6445
6446
  ]),
6446
6447
  c("tr", NM, [
6447
6448
  M[9] || (M[9] = c("th", {
@@ -6449,14 +6450,14 @@ function $M(z, M, b, O, p, o) {
6449
6450
  colspan: "1",
6450
6451
  class: "tr-title"
6451
6452
  }, [
6452
- z0("UTC"),
6453
+ b0("UTC"),
6453
6454
  c("span", { class: "unit" })
6454
6455
  ], -1)),
6455
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6456
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6456
6457
  rowspan: "1",
6457
6458
  colspan: "1",
6458
6459
  key: Math.random()
6459
- }, T(o.computeHourZ(N)), 1))), 128))
6460
+ }, v(o.computeHourZ(g)), 1))), 128))
6460
6461
  ]),
6461
6462
  c("tr", yM, [
6462
6463
  M[10] || (M[10] = c("th", {
@@ -6464,23 +6465,23 @@ function $M(z, M, b, O, p, o) {
6464
6465
  colspan: "1",
6465
6466
  class: "tr-title"
6466
6467
  }, null, -1)),
6467
- (s(!0), W(F, null, K(p.tableData.weatherUrls, (N, x) => (s(), W("th", {
6468
+ (W(!0), l(j, null, U(p.tableData.weatherUrls, (g, E) => (W(), l("th", {
6468
6469
  rowspan: "1",
6469
6470
  colspan: "1",
6470
6471
  key: Math.random()
6471
6472
  }, [
6472
- C(q, {
6473
+ w(q, {
6473
6474
  placement: "top",
6474
6475
  effect: "light",
6475
- content: p.tableData.weatherNames[x],
6476
+ content: p.tableData.weatherNames[E],
6476
6477
  "show-after": 500
6477
6478
  }, {
6478
- default: t0(() => [
6479
- N ? (s(), W("img", {
6479
+ default: e0(() => [
6480
+ g ? (W(), l("img", {
6480
6481
  key: 0,
6481
6482
  class: "iconfont weather-icon",
6482
- src: N
6483
- }, null, 8, XM)) : j("", !0)
6483
+ src: g
6484
+ }, null, 8, XM)) : _("", !0)
6484
6485
  ]),
6485
6486
  _: 2
6486
6487
  }, 1032, ["content"])
@@ -6492,14 +6493,14 @@ function $M(z, M, b, O, p, o) {
6492
6493
  colspan: "1",
6493
6494
  class: "tr-title"
6494
6495
  }, [
6495
- z0("Temp"),
6496
+ b0("Temp"),
6496
6497
  c("span", { class: "unit" }, "°C")
6497
6498
  ], -1)),
6498
- (s(!0), W(F, null, K(p.tableData.temp, (N) => (s(), W("td", {
6499
+ (W(!0), l(j, null, U(p.tableData.temp, (g) => (W(), l("td", {
6499
6500
  rowspan: "1",
6500
6501
  colspan: "1",
6501
6502
  key: Math.random()
6502
- }, T(N), 1))), 128))
6503
+ }, v(g), 1))), 128))
6503
6504
  ]),
6504
6505
  c("tr", CM, [
6505
6506
  M[12] || (M[12] = c("td", {
@@ -6507,14 +6508,14 @@ function $M(z, M, b, O, p, o) {
6507
6508
  colspan: "1",
6508
6509
  class: "tr-title"
6509
6510
  }, [
6510
- z0("Precip"),
6511
+ b0("Precip"),
6511
6512
  c("span", { class: "unit" }, "mm")
6512
6513
  ], -1)),
6513
- (s(!0), W(F, null, K(p.tableData.precip1h, (N) => (s(), W("td", {
6514
+ (W(!0), l(j, null, U(p.tableData.precip1h, (g) => (W(), l("td", {
6514
6515
  rowspan: "1",
6515
6516
  colspan: "1",
6516
6517
  key: Math.random()
6517
- }, T(N), 1))), 128))
6518
+ }, v(g), 1))), 128))
6518
6519
  ]),
6519
6520
  c("tr", vM, [
6520
6521
  M[13] || (M[13] = c("td", {
@@ -6522,14 +6523,14 @@ function $M(z, M, b, O, p, o) {
6522
6523
  colspan: "1",
6523
6524
  class: "tr-title"
6524
6525
  }, [
6525
- z0("Visibility"),
6526
+ b0("Visibility"),
6526
6527
  c("span", { class: "unit" }, "nm")
6527
6528
  ], -1)),
6528
- (s(!0), W(F, null, K(p.tableData.visibility, (N) => (s(), W("td", {
6529
+ (W(!0), l(j, null, U(p.tableData.visibility, (g) => (W(), l("td", {
6529
6530
  rowspan: "1",
6530
6531
  colspan: "1",
6531
6532
  key: Math.random()
6532
- }, T(N), 1))), 128))
6533
+ }, v(g), 1))), 128))
6533
6534
  ]),
6534
6535
  c("tr", TM, [
6535
6536
  M[14] || (M[14] = c("td", {
@@ -6537,20 +6538,20 @@ function $M(z, M, b, O, p, o) {
6537
6538
  colspan: "1",
6538
6539
  class: "tr-title"
6539
6540
  }, [
6540
- z0("Wind"),
6541
+ b0("Wind"),
6541
6542
  c("span", { class: "unit" }, "kts")
6542
6543
  ], -1)),
6543
- (s(!0), W(F, null, K(p.tableData.windSpeed, (N, x) => (s(), W("td", {
6544
+ (W(!0), l(j, null, U(p.tableData.windSpeed, (g, E) => (W(), l("td", {
6544
6545
  rowspan: "1",
6545
6546
  colspan: "1",
6546
6547
  key: Math.random()
6547
6548
  }, [
6548
- isNaN(p.tableData.windDir[x]) ? j("", !0) : (s(), W("span", {
6549
+ isNaN(p.tableData.windDir[E]) ? _("", !0) : (W(), l("span", {
6549
6550
  key: 0,
6550
6551
  class: "iconfont icon blue",
6551
- style: c0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[x]}deg)` })
6552
+ style: o0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[E]}deg)` })
6552
6553
  }, "", 4)),
6553
- c("span", null, T(N), 1)
6554
+ c("span", null, v(g), 1)
6554
6555
  ]))), 128))
6555
6556
  ])
6556
6557
  ], 512), [
@@ -6563,14 +6564,14 @@ function $M(z, M, b, O, p, o) {
6563
6564
  colspan: "1",
6564
6565
  class: "tr-title"
6565
6566
  }, [
6566
- z0("Hours"),
6567
+ b0("Hours"),
6567
6568
  c("span", { class: "unit" }, "(LT)")
6568
6569
  ], -1)),
6569
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6570
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6570
6571
  rowspan: "1",
6571
6572
  colspan: "1",
6572
6573
  key: Math.random()
6573
- }, T(o.computeHourL(N)), 1))), 128))
6574
+ }, v(o.computeHourL(g)), 1))), 128))
6574
6575
  ]),
6575
6576
  c("tr", IM, [
6576
6577
  M[16] || (M[16] = c("th", {
@@ -6578,37 +6579,37 @@ function $M(z, M, b, O, p, o) {
6578
6579
  colspan: "1",
6579
6580
  class: "tr-title"
6580
6581
  }, [
6581
- z0("UTC"),
6582
+ b0("UTC"),
6582
6583
  c("span", { class: "unit" })
6583
6584
  ], -1)),
6584
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6585
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6585
6586
  rowspan: "1",
6586
6587
  colspan: "1",
6587
6588
  key: Math.random()
6588
- }, T(o.computeHourZ(N)), 1))), 128))
6589
+ }, v(o.computeHourZ(g)), 1))), 128))
6589
6590
  ]),
6590
6591
  c("tr", DM, [
6591
6592
  M[17] || (M[17] = c("th", {
6592
6593
  rowspan: "1",
6593
6594
  colspan: "1"
6594
6595
  }, null, -1)),
6595
- (s(!0), W(F, null, K(p.tableData.weatherUrls, (N, x) => (s(), W("th", {
6596
+ (W(!0), l(j, null, U(p.tableData.weatherUrls, (g, E) => (W(), l("th", {
6596
6597
  rowspan: "1",
6597
6598
  colspan: "1",
6598
6599
  key: Math.random()
6599
6600
  }, [
6600
- C(q, {
6601
+ w(q, {
6601
6602
  placement: "top",
6602
6603
  effect: "light",
6603
- content: p.tableData.weatherNames[x],
6604
+ content: p.tableData.weatherNames[E],
6604
6605
  "show-after": 500
6605
6606
  }, {
6606
- default: t0(() => [
6607
- N ? (s(), W("img", {
6607
+ default: e0(() => [
6608
+ g ? (W(), l("img", {
6608
6609
  key: 0,
6609
6610
  class: "iconfont weather-icon",
6610
- src: N
6611
- }, null, 8, PM)) : j("", !0)
6611
+ src: g
6612
+ }, null, 8, PM)) : _("", !0)
6612
6613
  ]),
6613
6614
  _: 2
6614
6615
  }, 1032, ["content"])
@@ -6620,20 +6621,20 @@ function $M(z, M, b, O, p, o) {
6620
6621
  colspan: "1",
6621
6622
  class: "tr-title"
6622
6623
  }, [
6623
- z0("Sig Wave"),
6624
+ b0("Sig Wave"),
6624
6625
  c("span", { class: "unit" }, "m")
6625
6626
  ], -1)),
6626
- (s(!0), W(F, null, K(p.tableData.sigwaveHeight, (N, x) => (s(), W("td", {
6627
+ (W(!0), l(j, null, U(p.tableData.sigwaveHeight, (g, E) => (W(), l("td", {
6627
6628
  rowspan: "1",
6628
6629
  colspan: "1",
6629
6630
  key: Math.random()
6630
6631
  }, [
6631
- isNaN(p.tableData.sigwaveDir[x]) ? j("", !0) : (s(), W("span", {
6632
+ isNaN(p.tableData.sigwaveDir[E]) ? _("", !0) : (W(), l("span", {
6632
6633
  key: 0,
6633
6634
  class: "iconfont icon blue",
6634
- style: c0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[x]}deg)` })
6635
+ style: o0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[E]}deg)` })
6635
6636
  }, "", 4)),
6636
- c("span", null, T(N), 1)
6637
+ c("span", null, v(g), 1)
6637
6638
  ]))), 128))
6638
6639
  ]),
6639
6640
  c("tr", kM, [
@@ -6642,20 +6643,20 @@ function $M(z, M, b, O, p, o) {
6642
6643
  colspan: "1",
6643
6644
  class: "tr-title"
6644
6645
  }, [
6645
- z0("Wind Wave"),
6646
+ b0("Wind Wave"),
6646
6647
  c("span", { class: "unit" }, "m")
6647
6648
  ], -1)),
6648
- (s(!0), W(F, null, K(p.tableData.windwaveHeight, (N, x) => (s(), W("td", {
6649
+ (W(!0), l(j, null, U(p.tableData.windwaveHeight, (g, E) => (W(), l("td", {
6649
6650
  rowspan: "1",
6650
6651
  colspan: "1",
6651
6652
  key: Math.random()
6652
6653
  }, [
6653
- isNaN(p.tableData.sigwaveDir[x]) ? j("", !0) : (s(), W("span", {
6654
+ isNaN(p.tableData.sigwaveDir[E]) ? _("", !0) : (W(), l("span", {
6654
6655
  key: 0,
6655
6656
  class: "iconfont icon orange",
6656
- style: c0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[x]}deg)` })
6657
+ style: o0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[E]}deg)` })
6657
6658
  }, "", 4)),
6658
- c("span", null, T(N), 1)
6659
+ c("span", null, v(g), 1)
6659
6660
  ]))), 128))
6660
6661
  ]),
6661
6662
  c("tr", QM, [
@@ -6664,20 +6665,20 @@ function $M(z, M, b, O, p, o) {
6664
6665
  colspan: "1",
6665
6666
  class: "tr-title"
6666
6667
  }, [
6667
- z0("Swell"),
6668
+ b0("Swell"),
6668
6669
  c("span", { class: "unit" }, "m")
6669
6670
  ], -1)),
6670
- (s(!0), W(F, null, K(p.tableData.swellHeight, (N, x) => (s(), W("td", {
6671
+ (W(!0), l(j, null, U(p.tableData.swellHeight, (g, E) => (W(), l("td", {
6671
6672
  rowspan: "1",
6672
6673
  colspan: "1",
6673
6674
  key: Math.random()
6674
6675
  }, [
6675
- isNaN(p.tableData.swellDir[x]) ? j("", !0) : (s(), W("span", {
6676
+ isNaN(p.tableData.swellDir[E]) ? _("", !0) : (W(), l("span", {
6676
6677
  key: 0,
6677
6678
  class: "iconfont icon orange",
6678
- style: c0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[x]}deg)` })
6679
+ style: o0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[E]}deg)` })
6679
6680
  }, "", 4)),
6680
- c("span", null, T(N), 1)
6681
+ c("span", null, v(g), 1)
6681
6682
  ]))), 128))
6682
6683
  ]),
6683
6684
  c("tr", HM, [
@@ -6686,21 +6687,21 @@ function $M(z, M, b, O, p, o) {
6686
6687
  colspan: "1",
6687
6688
  class: "tr-title"
6688
6689
  }, [
6689
- z0("Current"),
6690
+ b0("Current"),
6690
6691
  c("span", { class: "unit" }, "kts")
6691
6692
  ], -1)),
6692
- (s(!0), W(F, null, K(p.tableData.currentSpeed, (N, x) => (s(), W("td", {
6693
+ (W(!0), l(j, null, U(p.tableData.currentSpeed, (g, E) => (W(), l("td", {
6693
6694
  rowspan: "1",
6694
6695
  colspan: "1",
6695
6696
  key: Math.random()
6696
6697
  }, [
6697
- isNaN(p.tableData.currentDir[x]) ? j("", !0) : (s(), W("span", {
6698
+ isNaN(p.tableData.currentDir[E]) ? _("", !0) : (W(), l("span", {
6698
6699
  key: 0,
6699
6700
  class: "iconfont icon gray",
6700
6701
  id: "meteoGrayIcon",
6701
- style: c0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[x]}deg)` })
6702
+ style: o0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[E]}deg)` })
6702
6703
  }, "", 4)),
6703
- c("span", null, T(N), 1)
6704
+ c("span", null, v(g), 1)
6704
6705
  ]))), 128))
6705
6706
  ])
6706
6707
  ], 512), [
@@ -6713,14 +6714,14 @@ function $M(z, M, b, O, p, o) {
6713
6714
  colspan: "1",
6714
6715
  class: "tr-title"
6715
6716
  }, [
6716
- z0("Hours"),
6717
+ b0("Hours"),
6717
6718
  c("span", { class: "unit" }, "(LT)")
6718
6719
  ], -1)),
6719
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6720
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6720
6721
  rowspan: "1",
6721
6722
  colspan: "1",
6722
6723
  key: Math.random()
6723
- }, T(o.computeHourL(N)), 1))), 128))
6724
+ }, v(o.computeHourL(g)), 1))), 128))
6724
6725
  ]),
6725
6726
  c("tr", FM, [
6726
6727
  M[23] || (M[23] = c("th", {
@@ -6728,14 +6729,14 @@ function $M(z, M, b, O, p, o) {
6728
6729
  colspan: "1",
6729
6730
  class: "tr-title"
6730
6731
  }, [
6731
- z0("UTC"),
6732
+ b0("UTC"),
6732
6733
  c("span", { class: "unit" })
6733
6734
  ], -1)),
6734
- (s(!0), W(F, null, K(p.tableData.hours, (N) => (s(), W("th", {
6735
+ (W(!0), l(j, null, U(p.tableData.hours, (g) => (W(), l("th", {
6735
6736
  rowspan: "1",
6736
6737
  colspan: "1",
6737
6738
  key: Math.random()
6738
- }, T(o.computeHourZ(N)), 1))), 128))
6739
+ }, v(o.computeHourZ(g)), 1))), 128))
6739
6740
  ]),
6740
6741
  c("tr", GM, [
6741
6742
  M[24] || (M[24] = c("th", {
@@ -6743,23 +6744,23 @@ function $M(z, M, b, O, p, o) {
6743
6744
  colspan: "1",
6744
6745
  class: "tr-title"
6745
6746
  }, null, -1)),
6746
- (s(!0), W(F, null, K(p.tableData.weatherUrls, (N, x) => (s(), W("th", {
6747
+ (W(!0), l(j, null, U(p.tableData.weatherUrls, (g, E) => (W(), l("th", {
6747
6748
  rowspan: "1",
6748
6749
  colspan: "1",
6749
6750
  key: Math.random()
6750
6751
  }, [
6751
- C(q, {
6752
+ w(q, {
6752
6753
  placement: "top",
6753
6754
  effect: "light",
6754
- content: p.tableData.weatherNames[x],
6755
+ content: p.tableData.weatherNames[E],
6755
6756
  "show-after": 500
6756
6757
  }, {
6757
- default: t0(() => [
6758
- N ? (s(), W("img", {
6758
+ default: e0(() => [
6759
+ g ? (W(), l("img", {
6759
6760
  key: 0,
6760
6761
  class: "iconfont weather-icon",
6761
- src: N
6762
- }, null, 8, UM)) : j("", !0)
6762
+ src: g
6763
+ }, null, 8, UM)) : _("", !0)
6763
6764
  ]),
6764
6765
  _: 2
6765
6766
  }, 1032, ["content"])
@@ -6771,14 +6772,14 @@ function $M(z, M, b, O, p, o) {
6771
6772
  colspan: "1",
6772
6773
  class: "tr-title"
6773
6774
  }, [
6774
- z0("SeaLevel"),
6775
+ b0("SeaLevel"),
6775
6776
  c("span", { class: "unit" }, "m")
6776
6777
  ], -1)),
6777
- (s(!0), W(F, null, K(p.tableData.seaLevel, (N) => (s(), W("td", {
6778
+ (W(!0), l(j, null, U(p.tableData.seaLevel, (g) => (W(), l("td", {
6778
6779
  rowspan: "1",
6779
6780
  colspan: "1",
6780
6781
  key: Math.random()
6781
- }, T(N), 1))), 128))
6782
+ }, v(g), 1))), 128))
6782
6783
  ]),
6783
6784
  c("tr", JM, [
6784
6785
  M[26] || (M[26] = c("td", {
@@ -6786,14 +6787,14 @@ function $M(z, M, b, O, p, o) {
6786
6787
  colspan: "1",
6787
6788
  class: "tr-title"
6788
6789
  }, [
6789
- z0("SeaTemp"),
6790
+ b0("SeaTemp"),
6790
6791
  c("span", { class: "unit" }, "°C")
6791
6792
  ], -1)),
6792
- (s(!0), W(F, null, K(p.tableData.seaTemp, (N) => (s(), W("td", {
6793
+ (W(!0), l(j, null, U(p.tableData.seaTemp, (g) => (W(), l("td", {
6793
6794
  rowspan: "1",
6794
6795
  colspan: "1",
6795
6796
  key: Math.random()
6796
- }, T(N), 1))), 128))
6797
+ }, v(g), 1))), 128))
6797
6798
  ]),
6798
6799
  c("tr", YM, [
6799
6800
  M[27] || (M[27] = c("td", {
@@ -6803,7 +6804,7 @@ function $M(z, M, b, O, p, o) {
6803
6804
  }, [
6804
6805
  c("span", { class: "unit" })
6805
6806
  ], -1)),
6806
- (s(!0), W(F, null, K(p.tableData.seaTemp, (N) => (s(), W("td", {
6807
+ (W(!0), l(j, null, U(p.tableData.seaTemp, (g) => (W(), l("td", {
6807
6808
  rowspan: "1",
6808
6809
  colspan: "1",
6809
6810
  key: Math.random()
@@ -6817,7 +6818,7 @@ function $M(z, M, b, O, p, o) {
6817
6818
  }, [
6818
6819
  c("span", { class: "unit" })
6819
6820
  ], -1)),
6820
- (s(!0), W(F, null, K(p.tableData.seaTemp, (N) => (s(), W("td", {
6821
+ (W(!0), l(j, null, U(p.tableData.seaTemp, (g) => (W(), l("td", {
6821
6822
  rowspan: "1",
6822
6823
  colspan: "1",
6823
6824
  key: Math.random()
@@ -6827,7 +6828,7 @@ function $M(z, M, b, O, p, o) {
6827
6828
  [X0, p.activeIndex === 3]
6828
6829
  ])
6829
6830
  ], 512), [
6830
- [X0, ((M0 = (Z = p.tableData) == null ? void 0 : Z.hours) == null ? void 0 : M0.length) > 0]
6831
+ [X0, (($ = (V = p.tableData) == null ? void 0 : V.hours) == null ? void 0 : $.length) > 0]
6831
6832
  ]),
6832
6833
  M[29] || (M[29] = c("div", { class: "more" }, "More >>", -1))
6833
6834
  ]))
@@ -6837,7 +6838,7 @@ function $M(z, M, b, O, p, o) {
6837
6838
  ])
6838
6839
  ]);
6839
6840
  }
6840
- const Mb = /* @__PURE__ */ Q(OM, [["render", $M], ["__scopeId", "data-v-6224863f"]]), bb = {
6841
+ const Mb = /* @__PURE__ */ k(OM, [["render", $M], ["__scopeId", "data-v-afd8d681"]]), bb = {
6841
6842
  name: "IdmWarZone",
6842
6843
  props: {
6843
6844
  map: {
@@ -6928,9 +6929,9 @@ const Mb = /* @__PURE__ */ Q(OM, [["render", $M], ["__scopeId", "data-v-6224863f
6928
6929
  }
6929
6930
  };
6930
6931
  function zb(z, M, b, O, p, o) {
6931
- return s(), W("div");
6932
+ return W(), l("div");
6932
6933
  }
6933
- const pb = /* @__PURE__ */ Q(bb, [["render", zb]]), Ob = {
6934
+ const pb = /* @__PURE__ */ k(bb, [["render", zb]]), Ob = {
6934
6935
  name: "IdmGmdssArea",
6935
6936
  props: {
6936
6937
  map: {
@@ -7051,9 +7052,9 @@ const pb = /* @__PURE__ */ Q(bb, [["render", zb]]), Ob = {
7051
7052
  }
7052
7053
  };
7053
7054
  function ob(z, M, b, O, p, o) {
7054
- return s(), W("div");
7055
+ return W(), l("div");
7055
7056
  }
7056
- const cb = /* @__PURE__ */ Q(Ob, [["render", ob]]), Ab = {
7057
+ const cb = /* @__PURE__ */ k(Ob, [["render", ob]]), Ab = {
7057
7058
  name: "IdmEcaZone",
7058
7059
  props: {
7059
7060
  map: {
@@ -7142,9 +7143,9 @@ const cb = /* @__PURE__ */ Q(Ob, [["render", ob]]), Ab = {
7142
7143
  }
7143
7144
  };
7144
7145
  function eb(z, M, b, O, p, o) {
7145
- return s(), W("div");
7146
+ return W(), l("div");
7146
7147
  }
7147
- const tb = /* @__PURE__ */ Q(Ab, [["render", eb]]);
7148
+ const tb = /* @__PURE__ */ k(Ab, [["render", eb]]);
7148
7149
  const ab = {
7149
7150
  name: "IdmAlertZone",
7150
7151
  props: {
@@ -7278,7 +7279,7 @@ const ab = {
7278
7279
  }, qb = { id: "idm-gl3-zone-info" }, ib = ["innerHTML"];
7279
7280
  function rb(z, M, b, O, p, o) {
7280
7281
  var A;
7281
- return y0((s(), W("div", qb, [
7282
+ return y0((W(), l("div", qb, [
7282
7283
  c("div", {
7283
7284
  class: "iconfont close",
7284
7285
  onClick: M[0] || (M[0] = (t) => p.showZone = !1)
@@ -7291,7 +7292,7 @@ function rb(z, M, b, O, p, o) {
7291
7292
  [X0, p.showZone]
7292
7293
  ]);
7293
7294
  }
7294
- const nb = /* @__PURE__ */ Q(ab, [["render", rb]]);
7295
+ const nb = /* @__PURE__ */ k(ab, [["render", rb]]);
7295
7296
  const db = {
7296
7297
  name: "IdmPort",
7297
7298
  props: {
@@ -7318,12 +7319,12 @@ const db = {
7318
7319
  computed: {
7319
7320
  computeLat() {
7320
7321
  return function(z) {
7321
- return b0.lat2pretty(z, 4).pretty;
7322
+ return M0.lat2pretty(z, 4).pretty;
7322
7323
  };
7323
7324
  },
7324
7325
  computeLng() {
7325
7326
  return function(z) {
7326
- return b0.lng2pretty(z, 4).pretty;
7327
+ return M0.lng2pretty(z, 4).pretty;
7327
7328
  };
7328
7329
  }
7329
7330
  },
@@ -7389,7 +7390,7 @@ const db = {
7389
7390
  style: { "align-items": "flex-start" }
7390
7391
  };
7391
7392
  function Rb(z, M, b, O, p, o) {
7392
- return y0((s(), W("div", sb, [
7393
+ return y0((W(), l("div", sb, [
7393
7394
  c("div", {
7394
7395
  class: "close iconfont",
7395
7396
  onClick: M[0] || (M[0] = (A) => p.showPort = !1)
@@ -7399,26 +7400,26 @@ function Rb(z, M, b, O, p, o) {
7399
7400
  M[2] || (M[2] = c("label", null, "Name : ", -1)),
7400
7401
  c("span", {
7401
7402
  onClick: M[1] || (M[1] = (...A) => o.handleEmit && o.handleEmit(...A))
7402
- }, T(p.form.name), 1)
7403
+ }, v(p.form.name), 1)
7403
7404
  ]),
7404
7405
  c("div", fb, [
7405
7406
  M[3] || (M[3] = c("label", null, "Position : ", -1)),
7406
- c("span", null, T(o.computeLat(p.form.lat)) + ", " + T(o.computeLng(p.form.lng)), 1)
7407
+ c("span", null, v(o.computeLat(p.form.lat)) + ", " + v(o.computeLng(p.form.lng)), 1)
7407
7408
  ]),
7408
7409
  c("div", ub, [
7409
7410
  M[4] || (M[4] = c("label", null, "LoCode : ", -1)),
7410
- c("span", null, T(p.form.loCode || "-"), 1)
7411
+ c("span", null, v(p.form.loCode || "-"), 1)
7411
7412
  ]),
7412
7413
  c("div", Lb, [
7413
7414
  M[5] || (M[5] = c("label", null, "Region : ", -1)),
7414
- c("span", null, T(p.form.zoneName || "-"), 1)
7415
+ c("span", null, v(p.form.zoneName || "-"), 1)
7415
7416
  ])
7416
7417
  ])
7417
7418
  ], 512)), [
7418
7419
  [X0, p.showPort]
7419
7420
  ]);
7420
7421
  }
7421
- const hb = /* @__PURE__ */ Q(db, [["render", Rb], ["__scopeId", "data-v-c07e4c45"]]), mb = {
7422
+ const hb = /* @__PURE__ */ k(db, [["render", Rb], ["__scopeId", "data-v-c07e4c45"]]), mb = {
7422
7423
  name: "IdmLoadLine",
7423
7424
  props: {
7424
7425
  map: {
@@ -7489,9 +7490,9 @@ const hb = /* @__PURE__ */ Q(db, [["render", Rb], ["__scopeId", "data-v-c07e4c45
7489
7490
  }
7490
7491
  };
7491
7492
  function Bb(z, M, b, O, p, o) {
7492
- return s(), W("div");
7493
+ return W(), l("div");
7493
7494
  }
7494
- const gb = /* @__PURE__ */ Q(mb, [["render", Bb]]), Nb = {
7495
+ const gb = /* @__PURE__ */ k(mb, [["render", Bb]]), Nb = {
7495
7496
  name: "IdmTimezone",
7496
7497
  props: {
7497
7498
  map: {
@@ -7657,9 +7658,9 @@ const gb = /* @__PURE__ */ Q(mb, [["render", Bb]]), Nb = {
7657
7658
  }
7658
7659
  };
7659
7660
  function yb(z, M, b, O, p, o) {
7660
- return s(), W("div");
7661
+ return W(), l("div");
7661
7662
  }
7662
- const Xb = /* @__PURE__ */ Q(Nb, [["render", yb]]), wb = {
7663
+ const Xb = /* @__PURE__ */ k(Nb, [["render", yb]]), wb = {
7663
7664
  name: "IdmVoluntaryReportingArea",
7664
7665
  props: {
7665
7666
  map: {
@@ -7748,9 +7749,9 @@ const Xb = /* @__PURE__ */ Q(Nb, [["render", yb]]), wb = {
7748
7749
  }
7749
7750
  };
7750
7751
  function Cb(z, M, b, O, p, o) {
7751
- return s(), W("div");
7752
+ return W(), l("div");
7752
7753
  }
7753
- const vb = /* @__PURE__ */ Q(wb, [["render", Cb]]), Tb = {
7754
+ const vb = /* @__PURE__ */ k(wb, [["render", Cb]]), Tb = {
7754
7755
  name: "IdmSpecialArea",
7755
7756
  props: {
7756
7757
  map: {
@@ -7780,7 +7781,7 @@ const vb = /* @__PURE__ */ Q(wb, [["render", Cb]]), Tb = {
7780
7781
  methods: {
7781
7782
  handleRender() {
7782
7783
  this.map ? (this.handleClear(), this.area && (this.area.features.forEach((z) => {
7783
- z.geometry.type === "Polygon" && z.geometry.coordinates.forEach((M) => b0.convertToMonotonicLng2(M));
7784
+ z.geometry.type === "Polygon" && z.geometry.coordinates.forEach((M) => M0.convertToMonotonicLng2(M));
7784
7785
  }), this.map.addSource(this.source, {
7785
7786
  type: "geojson",
7786
7787
  data: this.area
@@ -7841,9 +7842,9 @@ const vb = /* @__PURE__ */ Q(wb, [["render", Cb]]), Tb = {
7841
7842
  }
7842
7843
  };
7843
7844
  function Eb(z, M, b, O, p, o) {
7844
- return s(), W("div");
7845
+ return W(), l("div");
7845
7846
  }
7846
- const xb = /* @__PURE__ */ Q(Tb, [["render", Eb]]), Ib = {
7847
+ const xb = /* @__PURE__ */ k(Tb, [["render", Eb]]), Ib = {
7847
7848
  name: "IdmTerminator",
7848
7849
  props: {
7849
7850
  map: {
@@ -7893,9 +7894,9 @@ const xb = /* @__PURE__ */ Q(Tb, [["render", Eb]]), Ib = {
7893
7894
  }
7894
7895
  };
7895
7896
  function Db(z, M, b, O, p, o) {
7896
- return s(), W("div");
7897
+ return W(), l("div");
7897
7898
  }
7898
- const Pb = /* @__PURE__ */ Q(Ib, [["render", Db]]);
7899
+ const Pb = /* @__PURE__ */ k(Ib, [["render", Db]]);
7899
7900
  const Sb = {
7900
7901
  name: "IdmLatLng",
7901
7902
  props: {
@@ -7954,7 +7955,7 @@ const Sb = {
7954
7955
  this.show ? ((z = this.map) == null || z.on("zoomend", this.handleZoomEnd), this.handleRender()) : (this.handleClear(), (M = this.map) == null || M.off("zoomend", this.handleZoomEnd));
7955
7956
  },
7956
7957
  handleMouseMove(z) {
7957
- const M = z.lngLat, b = b0.lng2pretty(M.lng, 2), O = b0.lat2pretty(M.lat, 2);
7958
+ const M = z.lngLat, b = M0.lng2pretty(M.lng, 2), O = M0.lat2pretty(M.lat, 2);
7958
7959
  this.lngLat = { lng: b, lat: O };
7959
7960
  },
7960
7961
  handleComputeLatLngs() {
@@ -8003,7 +8004,7 @@ const Sb = {
8003
8004
  handleZoomEnd() {
8004
8005
  var M;
8005
8006
  const z = this.handleComputeLatLngs();
8006
- (M = this.map) == null || M.getSource(this.source).setData(v.featureCollection(z));
8007
+ (M = this.map) == null || M.getSource(this.source).setData(C.featureCollection(z));
8007
8008
  },
8008
8009
  handleRender() {
8009
8010
  if (this.map) {
@@ -8053,17 +8054,17 @@ const Sb = {
8053
8054
  }
8054
8055
  };
8055
8056
  function kb(z, M, b, O, p, o) {
8056
- return p.lngLat ? (s(), W("div", {
8057
+ return p.lngLat ? (W(), l("div", {
8057
8058
  key: 0,
8058
8059
  class: "lat-lng-tip",
8059
- style: c0({ right: p.right + "px", bottom: b.bottom })
8060
+ style: o0({ right: p.right + "px", bottom: b.bottom })
8060
8061
  }, [
8061
- c("span", null, T(p.lngLat.lat.pretty), 1),
8062
+ c("span", null, v(p.lngLat.lat.pretty), 1),
8062
8063
  M[0] || (M[0] = c("span", null, ", ", -1)),
8063
- c("span", null, T(p.lngLat.lng.pretty), 1)
8064
- ], 4)) : j("", !0);
8064
+ c("span", null, v(p.lngLat.lng.pretty), 1)
8065
+ ], 4)) : _("", !0);
8065
8066
  }
8066
- const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c"]]), Qb = {
8067
+ const F0 = /* @__PURE__ */ k(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c"]]), Qb = {
8067
8068
  name: "IdmMeasure",
8068
8069
  props: {
8069
8070
  map: {
@@ -8104,11 +8105,11 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8104
8105
  },
8105
8106
  methods: {
8106
8107
  handleBind() {
8107
- var z, M, b, O, p, o, A, t, q, r;
8108
+ var z, M, b, O, p, o, A, t, q, n;
8108
8109
  if (this.show)
8109
8110
  (z = this.map) == null || z.getCanvas().addEventListener("keydown", this.handleKeydown), (M = this.map) == null || M.on("mousemove", this.handleMove), (b = this.map) == null || b.on("dblclick", this.handleDblClick), (O = this.map) == null || O.on("click", this.handleClick), (p = this.map) == null || p.on("contextmenu", this.handleContextmenu), this.map && (this.map.getCanvas().style.cursor = "crosshair");
8110
8111
  else {
8111
- (o = this.map) == null || o.getCanvas().removeEventListener("keydown", this.handleKeydown), (A = this.map) == null || A.off("mousemove", this.handleMove), (t = this.map) == null || t.off("dblclick", this.handleDblClick), (q = this.map) == null || q.off("click", this.handleClick), (r = this.map) == null || r.off("contextmenu", this.handleContextmenu);
8112
+ (o = this.map) == null || o.getCanvas().removeEventListener("keydown", this.handleKeydown), (A = this.map) == null || A.off("mousemove", this.handleMove), (t = this.map) == null || t.off("dblclick", this.handleDblClick), (q = this.map) == null || q.off("click", this.handleClick), (n = this.map) == null || n.off("contextmenu", this.handleContextmenu);
8112
8113
  for (const a of this.geojson)
8113
8114
  this.handleClear(a, !0);
8114
8115
  this.geojson = [], this.map && (this.map.getCanvas().style.cursor = "grab");
@@ -8122,41 +8123,41 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8122
8123
  }
8123
8124
  },
8124
8125
  handleDrag(z) {
8125
- var b, O, p, o, A, t, q, r, a, i;
8126
+ var b, O, p, o, A, t, q, n, a, r;
8126
8127
  const M = (O = (b = z.target) == null ? void 0 : b._element) == null ? void 0 : O.id;
8127
8128
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8128
- const L = this.geojson.filter((d) => d.id === M.split("-")[0])[0];
8129
- this.pointMarkers[L.id].filter((d) => {
8129
+ const L = this.geojson.filter((s) => s.id === M.split("-")[0])[0];
8130
+ this.pointMarkers[L.id].filter((s) => {
8130
8131
  var m;
8131
- return ((m = d._element) == null ? void 0 : m.id) === M;
8132
+ return ((m = s._element) == null ? void 0 : m.id) === M;
8132
8133
  })[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]);
8133
8134
  let h;
8134
- L.features.forEach((d, m) => {
8135
- if (d.geometry.type === "Point" && d.properties.id == M.split("-")[1]) {
8135
+ L.features.forEach((s, m) => {
8136
+ if (s.geometry.type === "Point" && s.properties.id == M.split("-")[1]) {
8136
8137
  h = m;
8137
8138
  return;
8138
8139
  }
8139
8140
  });
8140
- const u = L.features.filter((d) => d.geometry.type === "Point");
8141
+ const u = L.features.filter((s) => s.geometry.type === "Point");
8141
8142
  this.handleTmpPointUpdate(
8142
8143
  L,
8143
8144
  u[h - 1],
8144
- { lng: (r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, lat: (i = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : i.lat, properties: u[h].properties },
8145
+ { lng: (n = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : n.lng, lat: (r = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lat, properties: u[h].properties },
8145
8146
  h === u.length - 1 ? void 0 : u[h + 1]
8146
8147
  );
8147
8148
  }
8148
8149
  },
8149
8150
  handleDragEnd(z) {
8150
- var b, O, p, o, A, t, q, r, a, i;
8151
+ var b, O, p, o, A, t, q, n, a, r;
8151
8152
  const M = (O = (b = z.target) == null ? void 0 : b._element) == null ? void 0 : O.id;
8152
8153
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8153
8154
  const L = this.geojson.filter((u) => u.id === M.split("-")[0])[0];
8154
8155
  this.pointMarkers[L.id].filter((u) => {
8155
- var d;
8156
- return ((d = u._element) == null ? void 0 : d.id) === M;
8156
+ var s;
8157
+ return ((s = u._element) == null ? void 0 : s.id) === M;
8157
8158
  })[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]);
8158
8159
  const h = L.features.filter((u) => u.geometry.type === "Point" && u.properties.id == M.split("-")[1])[0];
8159
- h.geometry.coordinates = [(r = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : r.lng, (i = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : i.lat], L.features = L.features.filter((u) => u.geometry.type === "Point"), this.handlePointUpdate(L);
8160
+ h.geometry.coordinates = [(n = (q = z.target) == null ? void 0 : q._lngLat) == null ? void 0 : n.lng, (r = (a = z.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lat], L.features = L.features.filter((u) => u.geometry.type === "Point"), this.handlePointUpdate(L);
8160
8161
  }
8161
8162
  },
8162
8163
  handleContextmenu(z) {
@@ -8165,9 +8166,9 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8165
8166
  const M = (o = (p = (O = z.originalEvent) == null ? void 0 : O.target) == null ? void 0 : p.parentElement) == null ? void 0 : o.id;
8166
8167
  if ((M == null ? void 0 : M.split("-").length) === 2) {
8167
8168
  const t = this.geojson.filter((q) => q.id === M.split("-")[0])[0].features.filter((q) => q.geometry.type === "Point");
8168
- if (t.length > 2 && t.filter((r) => r.properties.id === (M == null ? void 0 : M.split("-")[1]))[0]) {
8169
- const r = document.createElement("div");
8170
- r.className = "point-contextmenu-marker", r.innerHTML = `<span id="del-${M}" class="del-point">Del</span>`, this.contextmenu = new w0.Marker(r).setOffset([24, 0]).setLngLat([z.lngLat.lng, z.lngLat.lat]).addTo(this.map);
8169
+ if (t.length > 2 && t.filter((n) => n.properties.id === (M == null ? void 0 : M.split("-")[1]))[0]) {
8170
+ const n = document.createElement("div");
8171
+ n.className = "point-contextmenu-marker", n.innerHTML = `<span id="del-${M}" class="del-point">Del</span>`, this.contextmenu = new w0.Marker(n).setOffset([24, 0]).setLngLat([z.lngLat.lng, z.lngLat.lat]).addTo(this.map);
8171
8172
  }
8172
8173
  }
8173
8174
  },
@@ -8176,15 +8177,15 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8176
8177
  (b = this.contextmenu) == null || b.remove();
8177
8178
  const M = z.originalEvent.target.className;
8178
8179
  if (M === "marker-close") {
8179
- const t = (p = (O = z.originalEvent) == null ? void 0 : O.srcElement) == null ? void 0 : p.id, q = this.geojson.filter((r) => r.id === t)[0];
8180
- q && this.handleClear(q, !0), this.geojson = this.geojson.filter((r) => r.id !== t);
8180
+ const t = (p = (O = z.originalEvent) == null ? void 0 : O.srcElement) == null ? void 0 : p.id, q = this.geojson.filter((n) => n.id === t)[0];
8181
+ q && this.handleClear(q, !0), this.geojson = this.geojson.filter((n) => n.id !== t);
8181
8182
  } else if (M === "del-point") {
8182
- const t = (A = (o = z.originalEvent.target.id) == null ? void 0 : o.replace("del-", "")) == null ? void 0 : A.split("-"), q = this.geojson.filter((r) => r.id === t[0])[0];
8183
- q.features = q.features.filter((r) => r.geometry.type === "Point" && r.properties.id !== t[1]), this.handlePointUpdate(q);
8183
+ const t = (A = (o = z.originalEvent.target.id) == null ? void 0 : o.replace("del-", "")) == null ? void 0 : A.split("-"), q = this.geojson.filter((n) => n.id === t[0])[0];
8184
+ q.features = q.features.filter((n) => n.geometry.type === "Point" && n.properties.id !== t[1]), this.handlePointUpdate(q);
8184
8185
  } else if (M !== "marker-label") {
8185
8186
  let t = this.geojson.at(-1);
8186
- t || (t = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8187
- const q = v.feature(
8187
+ t || (t = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((n) => n.geometry.type === "Point");
8188
+ const q = C.feature(
8188
8189
  {
8189
8190
  type: "Point",
8190
8191
  coordinates: [z.lngLat.lng, z.lngLat.lat]
@@ -8203,34 +8204,34 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8203
8204
  let b = 0;
8204
8205
  const O = [];
8205
8206
  for (let p = 1; p < M.length; p++) {
8206
- 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 = g0.calculateDistance(q, r, t.mode === "RL", 2), i = g0.calculateBearing(q, r, t.mode === "RL", 2);
8207
- b = b0.roundPrecision(b + a, 2);
8207
+ const o = M[p - 1], A = M[p], t = o.properties, q = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, n = { lng: A.geometry.coordinates[0], lat: A.geometry.coordinates[1] }, a = g0.calculateDistance(q, n, t.mode === "RL", 2), r = g0.calculateBearing(q, n, t.mode === "RL", 2);
8208
+ b = M0.roundPrecision(b + a, 2);
8208
8209
  let L;
8209
- t.mode === "RL" ? L = b0.convertToMonotonicLng([q, r]) : L = b0.convertToMonotonicLng(g0.interpolateCoordinates(q, r, 200));
8210
- const n = v.lineString(L.map((h) => [h.lng, h.lat]));
8211
- n.properties.dist = a, n.properties.bearing = i, n.properties.total = b, O.push(n);
8210
+ t.mode === "RL" ? L = M0.convertToMonotonicLng([q, n]) : L = M0.convertToMonotonicLng(g0.interpolateCoordinates(q, n, 200));
8211
+ const d = C.lineString(L.map((h) => [h.lng, h.lat]));
8212
+ d.properties.dist = a, d.properties.bearing = r, d.properties.total = b, O.push(d);
8212
8213
  }
8213
8214
  M.push(...O), z.total = b;
8214
8215
  }
8215
8216
  return this.handleRender(z), z;
8216
8217
  },
8217
8218
  handleTmpPointUpdate(z, M, b, O) {
8218
- const p = v.featureCollection([]);
8219
+ const p = C.featureCollection([]);
8219
8220
  let o, A;
8220
8221
  if (M) {
8221
- const q = M.properties, r = { lng: M.geometry.coordinates[0], lat: M.geometry.coordinates[1] }, a = { lng: b.lng, lat: b.lat };
8222
- o = g0.calculateDistance(r, a, q.mode === "RL", 2), A = g0.calculateBearing(r, a, q.mode === "RL", 2);
8223
- let i;
8224
- q.mode === "RL" ? i = b0.convertToMonotonicLng([r, a]) : i = b0.convertToMonotonicLng(g0.interpolateCoordinates(r, a, 200));
8225
- const L = v.lineString(i.map((n) => [n.lng, n.lat]));
8222
+ const q = M.properties, n = { lng: M.geometry.coordinates[0], lat: M.geometry.coordinates[1] }, a = { lng: b.lng, lat: b.lat };
8223
+ o = g0.calculateDistance(n, a, q.mode === "RL", 2), A = g0.calculateBearing(n, a, q.mode === "RL", 2);
8224
+ let r;
8225
+ q.mode === "RL" ? r = M0.convertToMonotonicLng([n, a]) : r = M0.convertToMonotonicLng(g0.interpolateCoordinates(n, a, 200));
8226
+ const L = C.lineString(r.map((d) => [d.lng, d.lat]));
8226
8227
  L.properties.dist = o, L.properties.bearing = A, p.features.push(L);
8227
8228
  }
8228
8229
  if (O) {
8229
- const q = b.properties, r = b, a = { lng: O.geometry.coordinates[0], lat: O.geometry.coordinates[1] };
8230
- o = g0.calculateDistance(r, a, q.mode === "RL", 2), A = g0.calculateBearing(r, a, q.mode === "RL", 2);
8231
- let i;
8232
- q.mode === "RL" ? i = b0.convertToMonotonicLng([r, a]) : i = b0.convertToMonotonicLng(g0.interpolateCoordinates(r, a, 200));
8233
- const L = v.lineString(i.map((n) => [n.lng, n.lat]));
8230
+ const q = b.properties, n = b, a = { lng: O.geometry.coordinates[0], lat: O.geometry.coordinates[1] };
8231
+ o = g0.calculateDistance(n, a, q.mode === "RL", 2), A = g0.calculateBearing(n, a, q.mode === "RL", 2);
8232
+ let r;
8233
+ q.mode === "RL" ? r = M0.convertToMonotonicLng([n, a]) : r = M0.convertToMonotonicLng(g0.interpolateCoordinates(n, a, 200));
8234
+ const L = C.lineString(r.map((d) => [d.lng, d.lat]));
8234
8235
  L.properties.dist = o, L.properties.bearing = A, p.features.push(L);
8235
8236
  }
8236
8237
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(p) : this.map.addSource(this.tmpSource, {
@@ -8271,7 +8272,7 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8271
8272
  }
8272
8273
  });
8273
8274
  let t;
8274
- if (O ? t = '<div class="marker-label">Drag and drop</div>' : t = `<div class="marker-label">Tol distance: <b>${b0.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)
8275
+ 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)
8275
8276
  this.tipMarker._element.innerHTML = t, this.tipMarker.setLngLat([b.lng, b.lat]);
8276
8277
  else {
8277
8278
  const q = document.createElement("div");
@@ -8281,14 +8282,14 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8281
8282
  handleMove(z) {
8282
8283
  this.map.getCanvas().style.cursor = "crosshair";
8283
8284
  let M = this.geojson.at(-1);
8284
- M || (M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8285
+ M || (M = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8285
8286
  const b = M.features.filter((O) => O.geometry.type === "Point");
8286
8287
  b != null && b.length && this.handleTmpPointUpdate(M, b.at(-1), { lng: z.lngLat.lng, lat: z.lngLat.lat });
8287
8288
  },
8288
8289
  handleDblClick(z) {
8289
8290
  z.preventDefault();
8290
8291
  let M = this.geojson.at(-1);
8291
- M.closed = !0, this.handleRender(M), M = v.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8292
+ M.closed = !0, this.handleRender(M), M = C.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8292
8293
  },
8293
8294
  handleRender(z) {
8294
8295
  var M;
@@ -8337,24 +8338,24 @@ const F0 = /* @__PURE__ */ Q(Sb, [["render", kb], ["__scopeId", "data-v-ad66a24c
8337
8338
  q.on("drag", this.handleDrag), q.on("dragend", this.handleDragEnd), this.pointMarkers[z.id] ? this.pointMarkers[z.id].push(q) : this.pointMarkers[z.id] = [q];
8338
8339
  }
8339
8340
  if (z.closed) {
8340
- const A = o.at(-1), q = z.features.filter((a) => a.geometry.type === "LineString").at(-1), r = document.createElement("div");
8341
- r.className = "point-summary-marker", r.innerHTML = `<div id="${z.id}" class="marker-close">×</div><div class="marker-label">Tol: ${q.properties.total}nm</div>`, this.closeMarkers[z.id] = new w0.Marker(r).setOffset([60, 0]).setLngLat(A.geometry.coordinates).addTo(this.map);
8341
+ const A = o.at(-1), q = z.features.filter((a) => a.geometry.type === "LineString").at(-1), n = document.createElement("div");
8342
+ n.className = "point-summary-marker", n.innerHTML = `<div id="${z.id}" class="marker-close">×</div><div class="marker-label">Tol: ${q.properties.total}nm</div>`, this.closeMarkers[z.id] = new w0.Marker(n).setOffset([60, 0]).setLngLat(A.geometry.coordinates).addTo(this.map);
8342
8343
  }
8343
8344
  }
8344
8345
  },
8345
8346
  handleClear(z, M = !0) {
8346
- var o, A, t, q, r, a, i, L, n;
8347
+ var o, A, t, q, n, a, r, L, d;
8347
8348
  const b = `${z.id}-${this.source}`, O = `${z.id}-${this.layer}`, p = `${z.id}-${this.labelLayer}`;
8348
- (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((h) => {
8349
+ (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), (n = this.closeMarkers[z.id]) == null || n.remove(), this.closeMarkers[z.id] = void 0, (a = this.pointMarkers[z.id]) == null || a.forEach((h) => {
8349
8350
  h == null || h.remove();
8350
- }), this.pointMarkers[z.id] = [], (i = this.tipMarker) == null || i.remove(), this.tipMarker = void 0, M && ((L = this.map) != null && L.getSource(b)) && this.map.removeSource(b), M && ((n = this.map) != null && n.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8351
+ }), this.pointMarkers[z.id] = [], (r = this.tipMarker) == null || r.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);
8351
8352
  }
8352
8353
  }
8353
8354
  };
8354
8355
  function Hb(z, M, b, O, p, o) {
8355
- return s(), W("div");
8356
+ return W(), l("div");
8356
8357
  }
8357
- const _b = /* @__PURE__ */ Q(Qb, [["render", Hb]]);
8358
+ const _b = /* @__PURE__ */ k(Qb, [["render", Hb]]);
8358
8359
  const jb = {
8359
8360
  name: "IdmENC",
8360
8361
  props: {
@@ -8409,22 +8410,22 @@ const jb = {
8409
8410
  methods: {}
8410
8411
  }, Fb = { key: 0 }, Gb = { class: "bar-item" };
8411
8412
  function Ub(z, M, b, O, p, o) {
8412
- const A = I("ElTooltip");
8413
- return b.enabled && b.permission & p.helper.LEVEL.Supper ? (s(), W("div", Fb, [
8413
+ const A = x("ElTooltip");
8414
+ return b.enabled && b.permission & p.helper.LEVEL.Supper ? (W(), l("div", Fb, [
8414
8415
  c("div", {
8415
8416
  class: "menu-bar-box",
8416
- style: c0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8417
+ style: o0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8417
8418
  }, [
8418
8419
  c("div", Gb, [
8419
- C(A, {
8420
+ w(A, {
8420
8421
  placement: "left",
8421
8422
  effect: "light",
8422
8423
  content: "Hifleet",
8423
8424
  "show-after": 1e3
8424
8425
  }, {
8425
- default: t0(() => [
8426
+ default: e0(() => [
8426
8427
  c("div", {
8427
- class: V(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8428
+ class: Y(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8428
8429
  onClick: M[0] || (M[0] = (t) => p.vendor = "hi")
8429
8430
  }, M[2] || (M[2] = [
8430
8431
  c("span", { class: "iconfont" }, "HI", -1)
@@ -8432,15 +8433,15 @@ function Ub(z, M, b, O, p, o) {
8432
8433
  ]),
8433
8434
  _: 1
8434
8435
  }),
8435
- C(A, {
8436
+ w(A, {
8436
8437
  placement: "left",
8437
8438
  effect: "light",
8438
8439
  content: "I4insight",
8439
8440
  "show-after": 1e3
8440
8441
  }, {
8441
- default: t0(() => [
8442
+ default: e0(() => [
8442
8443
  c("div", {
8443
- class: V(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8444
+ class: Y(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8444
8445
  onClick: M[1] || (M[1] = (t) => p.vendor = "i4")
8445
8446
  }, M[3] || (M[3] = [
8446
8447
  c("span", { class: "iconfont" }, "I4", -1)
@@ -8450,9 +8451,9 @@ function Ub(z, M, b, O, p, o) {
8450
8451
  })
8451
8452
  ])
8452
8453
  ], 4)
8453
- ])) : j("", !0);
8454
+ ])) : _("", !0);
8454
8455
  }
8455
- const Kb = /* @__PURE__ */ Q(jb, [["render", Ub], ["__scopeId", "data-v-7301123d"]]);
8456
+ const Kb = /* @__PURE__ */ k(jb, [["render", Ub], ["__scopeId", "data-v-7301123d"]]);
8456
8457
  const Jb = {
8457
8458
  name: "IdmGLV2",
8458
8459
  components: {
@@ -8539,7 +8540,7 @@ const Jb = {
8539
8540
  watch: {
8540
8541
  ts: {
8541
8542
  handler(z, M) {
8542
- z && M && G(z).utc().format("yyyy-MM-DD HH") !== G(M).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
8543
+ z && M && F(z).utc().format("yyyy-MM-DD HH") !== F(M).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
8543
8544
  this.handleDateChange({ tropicals: !1 });
8544
8545
  });
8545
8546
  },
@@ -8553,16 +8554,16 @@ const Jb = {
8553
8554
  },
8554
8555
  enc: {
8555
8556
  handler(z, M) {
8556
- var b, O, p, o, A, t, q, r;
8557
- z ? ((O = (b = this.map) == null ? void 0 : b.getLayer(z)) == null || O.setLayoutProperty("visibility", "visible"), (o = (p = this.map) == null ? void 0 : p.getLayer(M)) == null || o.setLayoutProperty("visibility", "none")) : ((t = (A = this.map) == null ? void 0 : A.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (r = (q = this.map) == null ? void 0 : q.getLayer("hi")) == null || r.setLayoutProperty("visibility", "none"));
8557
+ var b, O, p, o, A, t, q, n;
8558
+ z ? ((O = (b = this.map) == null ? void 0 : b.getLayer(z)) == null || O.setLayoutProperty("visibility", "visible"), (o = (p = this.map) == null ? void 0 : p.getLayer(M)) == null || o.setLayoutProperty("visibility", "none")) : ((t = (A = this.map) == null ? void 0 : A.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (n = (q = this.map) == null ? void 0 : q.getLayer("hi")) == null || n.setLayoutProperty("visibility", "none"));
8558
8559
  }
8559
8560
  },
8560
8561
  activeWeatherLayers: {
8561
8562
  handler() {
8562
- var z, M, b, O, p, o, A, t, q, r, a, i, L, n, h, u, d, m;
8563
+ var z, M, b, O, p, o, A, t, q, n, a, r, L, d, h, u, s, m;
8563
8564
  if (!this.map)
8564
8565
  return !1;
8565
- this.activeWeatherLayers.length > 0 ? ((M = (z = this.map) == null ? void 0 : z.getLayer(this.enc)) == null || M.setLayoutProperty("visibility", "none"), (O = (b = this.map) == null ? void 0 : b.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || O.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((q = this.map) == null || q.moveLayer((t = this.viewport) == null ? void 0 : t.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (a = this.map) != null && a.getLayer((r = this.viewport) == null ? void 0 : r.particleLayer) && ((i = this.map) != null && i.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((n = this.map) == null || n.moveLayer((L = this.viewport) == null ? void 0 : L.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((u = (h = this.map) == null ? void 0 : h.getLayer(this.enc)) == null || u.setLayoutProperty("visibility", "visible"), (m = (d = this.map) == null ? void 0 : d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || m.setLayoutProperty("visibility", "none")), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
8566
+ this.activeWeatherLayers.length > 0 ? ((M = (z = this.map) == null ? void 0 : z.getLayer(this.enc)) == null || M.setLayoutProperty("visibility", "none"), (O = (b = this.map) == null ? void 0 : b.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || O.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((q = this.map) == null || q.moveLayer((t = this.viewport) == null ? void 0 : t.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (a = this.map) != null && a.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((d = this.map) == null || d.moveLayer((L = this.viewport) == null ? void 0 : L.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((u = (h = this.map) == null ? void 0 : h.getLayer(this.enc)) == null || u.setLayoutProperty("visibility", "visible"), (m = (s = this.map) == null ? void 0 : s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || m.setLayoutProperty("visibility", "none")), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
8566
8567
  },
8567
8568
  immediate: !0
8568
8569
  },
@@ -8614,47 +8615,47 @@ const Jb = {
8614
8615
  },
8615
8616
  methods: {
8616
8617
  async fetchWeatherLayers(z = { tropicals: !1 }) {
8617
- var p, o, A, t, q, r, a, i;
8618
+ var p, o, A, t, q, n, a, r;
8618
8619
  const M = (/* @__PURE__ */ new Date()).valueOf();
8619
8620
  let b = 0, O = 0;
8620
8621
  if (this.map) {
8621
- const L = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, n = (o = this.map) == null ? void 0 : o.getBounds(), h = `${n._sw.lng},${n._sw.lat},${n._ne.lng},${n._ne.lat}`;
8622
+ const L = ((p = this.map) == null ? void 0 : p.getZoom()) + 1, d = (o = this.map) == null ? void 0 : o.getBounds(), h = `${d._sw.lng},${d._sw.lat},${d._ne.lng},${d._ne.lat}`;
8622
8623
  if (this.particleFactor) {
8623
- const u = x0.WEATHER_LAYERS.find((d) => {
8624
+ const u = x0.WEATHER_LAYERS.find((s) => {
8624
8625
  var m;
8625
- return ((m = d.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8626
+ return ((m = s.peer) == null ? void 0 : m.weight) === this.particleFactor.weight;
8626
8627
  });
8627
8628
  this.particleFactor.particle ? this.weatherWeight = this.weatherWeight & u.weight ? this.weatherWeight : this.weatherWeight + u.weight : this.weatherWeight = this.weatherWeight & u.weight ? this.weatherWeight - u.weight : this.weatherWeight;
8628
8629
  }
8629
8630
  if (this.weatherWeight > 0) {
8630
- let u = this.weatherWeight, d;
8631
- if (z.tropicals || this.weatherWeight & 256 && (d = this.weatherLayers.tropicals, d && (u -= 256, d.version = Math.random() + 1)), u > 0) {
8631
+ let u = this.weatherWeight, s;
8632
+ if (z.tropicals || this.weatherWeight & 256 && (s = this.weatherLayers.tropicals, s && (u -= 256, s.version = Math.random() + 1)), u > 0) {
8632
8633
  const m = await N0.get(`${this.gateway}/api/arc/weather/layers/links?l=${u}&v=${this.source}&z=${L}&bbox=${h}&t=${this.ts}`, {
8633
8634
  headers: {
8634
8635
  Authorization: this.token || this.defaultMeteoToken
8635
8636
  }
8636
8637
  });
8637
8638
  if (O = (/* @__PURE__ */ new Date()).valueOf() - (M + b), console.log("weather links elapsed: ", O, ", total: ", b += O), ((A = m == null ? void 0 : m.data) == null ? void 0 : A.code) === 0) {
8638
- const R = (t = m == null ? void 0 : m.data) == null ? void 0 : t.data, X = [];
8639
- for (const y in R)
8640
- y === "ice-edge" && (R[y] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), y !== "tropicals" && X.push(
8641
- N0.get(R[y], {
8639
+ const R = (t = m == null ? void 0 : m.data) == null ? void 0 : t.data, y = [];
8640
+ for (const N in R)
8641
+ N === "ice-edge" && (R[N] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), N !== "tropicals" && y.push(
8642
+ N0.get(R[N], {
8642
8643
  headers: {
8643
8644
  Authorization: this.token || this.defaultMeteoToken,
8644
- key: y
8645
+ key: N
8645
8646
  },
8646
- responseType: /\.(jpg|png)$/.test(R[y]) ? "blob" : "json"
8647
- }).catch((_) => {
8648
- console.log(`[${y}] fetch layer error: ${_}`);
8647
+ responseType: /\.(jpg|png)$/.test(R[N]) ? "blob" : "json"
8648
+ }).catch((H) => {
8649
+ console.log(`[${N}] fetch layer error: ${H}`);
8649
8650
  })
8650
8651
  );
8651
- const E = await Promise.all(X);
8652
- this.weatherLayers = {}, E.map((y) => {
8653
- var Z, M0, N, x;
8654
- const _ = ((Z = y == null ? void 0 : y.data) == null ? void 0 : Z.data) || (y == null ? void 0 : y.data), J = (N = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : N.key;
8655
- J && _ && (this.weatherLayers[J] = {
8656
- raw: _,
8657
- type: ((x = y == null ? void 0 : y.config) == null ? void 0 : x.responseType) === "blob" ? "image" : "json",
8652
+ const T = await Promise.all(y);
8653
+ this.weatherLayers = {}, T.map((N) => {
8654
+ var V, $, g, E;
8655
+ const H = ((V = N == null ? void 0 : N.data) == null ? void 0 : V.data) || (N == null ? void 0 : N.data), K = (g = ($ = N == null ? void 0 : N.config) == null ? void 0 : $.headers) == null ? void 0 : g.key;
8656
+ K && H && (this.weatherLayers[K] = {
8657
+ raw: H,
8658
+ type: ((E = N == null ? void 0 : N.config) == null ? void 0 : E.responseType) === "blob" ? "image" : "json",
8658
8659
  etime: this.ts
8659
8660
  });
8660
8661
  }), R.tropicals && N0.get(R.tropicals, {
@@ -8662,11 +8663,11 @@ const Jb = {
8662
8663
  Authorization: this.token || this.defaultMeteoToken,
8663
8664
  key: "tropicals"
8664
8665
  }
8665
- }).then((y) => {
8666
- var Z, M0, N;
8667
- const _ = Q0.convert2Geojson(((Z = y == null ? void 0 : y.data) == null ? void 0 : Z.data) || (y == null ? void 0 : y.data)), J = (N = (M0 = y == null ? void 0 : y.config) == null ? void 0 : M0.headers) == null ? void 0 : N.key;
8668
- this.weatherLayers[J] = {
8669
- data: _,
8666
+ }).then((N) => {
8667
+ var V, $, g;
8668
+ const H = Q0.convert2Geojson(((V = N == null ? void 0 : N.data) == null ? void 0 : V.data) || (N == null ? void 0 : N.data)), K = (g = ($ = N == null ? void 0 : N.config) == null ? void 0 : $.headers) == null ? void 0 : g.key;
8669
+ this.weatherLayers[K] = {
8670
+ data: H,
8670
8671
  active: !0,
8671
8672
  cached: !1,
8672
8673
  type: "json",
@@ -8676,25 +8677,25 @@ const Jb = {
8676
8677
  });
8677
8678
  }
8678
8679
  if (O = (/* @__PURE__ */ new Date()).valueOf() - (M + b), console.log("weather layers elapsed: ", O, ", total: ", b += O), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8679
- const R = (q = this.weatherLayers["swell-direction"]) == null ? void 0 : q.raw, X = (r = this.weatherLayers["swell-height"]) == null ? void 0 : r.raw;
8680
+ const R = (q = this.weatherLayers["swell-direction"]) == null ? void 0 : q.raw, y = (n = this.weatherLayers["swell-height"]) == null ? void 0 : n.raw;
8680
8681
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8681
8682
  type: "json",
8682
8683
  direction: R,
8683
- height: { raw: X },
8684
+ height: { raw: y },
8684
8685
  etime: this.ts
8685
8686
  };
8686
8687
  }
8687
8688
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8688
- const R = (a = this.weatherLayers["current-direction"]) == null ? void 0 : a.raw, X = (i = this.weatherLayers["current-speed"]) == null ? void 0 : i.raw;
8689
+ const R = (a = this.weatherLayers["current-direction"]) == null ? void 0 : a.raw, y = (r = this.weatherLayers["current-speed"]) == null ? void 0 : r.raw;
8689
8690
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8690
8691
  type: "json",
8691
8692
  direction: R,
8692
- speed: { raw: X },
8693
+ speed: { raw: y },
8693
8694
  etime: this.ts
8694
8695
  };
8695
8696
  }
8696
8697
  }
8697
- d && (d.etime = this.ts, d.cached = !0, this.weatherLayers.tropicals = d);
8698
+ s && (s.etime = this.ts, s.cached = !0, this.weatherLayers.tropicals = s);
8698
8699
  }
8699
8700
  this.handleWeatherLayerToggle(), this.handleDragEndWithZoom4Json();
8700
8701
  }
@@ -8714,21 +8715,21 @@ const Jb = {
8714
8715
  }
8715
8716
  });
8716
8717
  if (((M = t == null ? void 0 : t.data) == null ? void 0 : M.code) === 0) {
8717
- const q = (b = t == null ? void 0 : t.data) == null ? void 0 : b.data, r = [];
8718
- for (const i in q)
8719
- r.push(
8720
- N0.get(q[i], {
8718
+ const q = (b = t == null ? void 0 : t.data) == null ? void 0 : b.data, n = [];
8719
+ for (const r in q)
8720
+ n.push(
8721
+ N0.get(q[r], {
8721
8722
  headers: {
8722
8723
  Authorization: this.token || this.defaultMeteoToken,
8723
- key: i
8724
+ key: r
8724
8725
  }
8725
8726
  })
8726
8727
  );
8727
- const a = await Promise.all(r);
8728
- this.otherLayers = { enc: A }, a.map((i) => {
8729
- var h, u, d;
8730
- const L = ((h = i == null ? void 0 : i.data) == null ? void 0 : h.data) || (i == null ? void 0 : i.data), n = (d = (u = i == null ? void 0 : i.config) == null ? void 0 : u.headers) == null ? void 0 : d.key;
8731
- this.otherLayers[n] = L;
8728
+ const a = await Promise.all(n);
8729
+ this.otherLayers = { enc: A }, a.map((r) => {
8730
+ var h, u, s;
8731
+ const L = ((h = r == null ? void 0 : r.data) == null ? void 0 : h.data) || (r == null ? void 0 : r.data), d = (s = (u = r == null ? void 0 : r.config) == null ? void 0 : u.headers) == null ? void 0 : s.key;
8732
+ this.otherLayers[d] = L;
8732
8733
  });
8733
8734
  }
8734
8735
  } else if (z.dayNight && o & 1024) {
@@ -8738,20 +8739,20 @@ const Jb = {
8738
8739
  }
8739
8740
  });
8740
8741
  if (((O = t == null ? void 0 : t.data) == null ? void 0 : O.code) === 0) {
8741
- const q = (p = t == null ? void 0 : t.data) == null ? void 0 : p.data, r = [];
8742
- for (const i in q)
8743
- r.push(
8744
- N0.get(q[i], {
8742
+ const q = (p = t == null ? void 0 : t.data) == null ? void 0 : p.data, n = [];
8743
+ for (const r in q)
8744
+ n.push(
8745
+ N0.get(q[r], {
8745
8746
  headers: {
8746
8747
  Authorization: this.token || this.defaultMeteoToken,
8747
- key: i
8748
+ key: r
8748
8749
  }
8749
8750
  })
8750
8751
  );
8751
- (await Promise.all(r)).map((i) => {
8752
- var h, u, d;
8753
- const L = ((h = i == null ? void 0 : i.data) == null ? void 0 : h.data) || (i == null ? void 0 : i.data), n = (d = (u = i == null ? void 0 : i.config) == null ? void 0 : u.headers) == null ? void 0 : d.key;
8754
- this.otherLayers[n] = L;
8752
+ (await Promise.all(n)).map((r) => {
8753
+ var h, u, s;
8754
+ const L = ((h = r == null ? void 0 : r.data) == null ? void 0 : h.data) || (r == null ? void 0 : r.data), d = (s = (u = r == null ? void 0 : r.config) == null ? void 0 : u.headers) == null ? void 0 : s.key;
8755
+ this.otherLayers[d] = L;
8755
8756
  });
8756
8757
  }
8757
8758
  }
@@ -8772,7 +8773,7 @@ const Jb = {
8772
8773
  this.activeWindLayer = !!this.activeWeatherLayers.find((M) => M.key === "wind"), this.$refs.layer && (this.$refs.layer.activeWeatherLayers = this.activeWeatherLayers);
8773
8774
  },
8774
8775
  handleRampColorInitial() {
8775
- var z, M, b, O, p, o, A, t, q, r, a, i;
8776
+ var z, M, b, O, p, o, A, t, q, n, a, r;
8776
8777
  this.viewport.map.getSource((z = this.viewport) == null ? void 0 : z.rampColorSource) || this.viewport.map.addSource((M = this.viewport) == null ? void 0 : M.rampColorSource, {
8777
8778
  type: "canvas",
8778
8779
  canvas: (b = this.viewport) == null ? void 0 : b.rampColorCanvas,
@@ -8793,11 +8794,11 @@ const Jb = {
8793
8794
  canvas: (q = this.viewport) == null ? void 0 : q.particleCanvas,
8794
8795
  animate: !0,
8795
8796
  coordinates: this.viewport.getBoundLngLat()
8796
- }), this.viewport.map.getLayer((r = this.viewport) == null ? void 0 : r.particleLayer) || this.viewport.map.addLayer(
8797
+ }), this.viewport.map.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) || this.viewport.map.addLayer(
8797
8798
  {
8798
8799
  type: "raster",
8799
8800
  id: (a = this.viewport) == null ? void 0 : a.particleLayer,
8800
- source: (i = this.viewport) == null ? void 0 : i.particleSource,
8801
+ source: (r = this.viewport) == null ? void 0 : r.particleSource,
8801
8802
  layout: {
8802
8803
  visibility: "none"
8803
8804
  }
@@ -8806,186 +8807,186 @@ const Jb = {
8806
8807
  );
8807
8808
  },
8808
8809
  handleDragEndWithZoom4Json() {
8809
- var r, a, i, L;
8810
+ var n, a, r, L;
8810
8811
  const z = (/* @__PURE__ */ new Date()).valueOf();
8811
8812
  let M = 0, b = 0;
8812
- const O = (r = this.map) == null ? void 0 : r.getBounds(), p = this.map.getZoom(), o = b0.convertToStdLng(O._sw.lng), A = b0.convertToStdLng(O._ne.lng), t = Math.floor(O._sw.lat), q = Math.ceil(O._ne.lat);
8813
- for (const n in this.weatherLayers)
8814
- if (this.weatherLayers[n].active && this.weatherLayers[n].type === "json") {
8815
- this.weatherLayers[n].active = !1, this.weatherLayers[n].version = Math.random() + 1;
8813
+ const O = (n = this.map) == null ? void 0 : n.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);
8814
+ for (const d in this.weatherLayers)
8815
+ if (this.weatherLayers[d].active && this.weatherLayers[d].type === "json") {
8816
+ this.weatherLayers[d].active = !1, this.weatherLayers[d].version = Math.random() + 1;
8816
8817
  let h = [];
8817
- if (["swell", "current"].includes(n)) {
8818
- const u = ((a = this.weatherLayers[n]) == null ? void 0 : a.direction) || {};
8819
- for (const d in u)
8820
- if (d > t && d < q && (!(p <= this.zoom) || d % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8821
- const m = u[d].lng;
8822
- o > A ? m.forEach((R, X) => {
8823
- var E;
8818
+ if (["swell", "current"].includes(d)) {
8819
+ const u = ((a = this.weatherLayers[d]) == null ? void 0 : a.direction) || {};
8820
+ for (const s in u)
8821
+ if (s > t && s < q && (!(p <= this.zoom) || s % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8822
+ const m = u[s].lng;
8823
+ o > A ? m.forEach((R, y) => {
8824
+ var T;
8824
8825
  if ((R >= o && R <= 180 || R >= -180 && R <= A) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8825
- const y = v.point([R, d], {
8826
- val: u[d].val[X],
8827
- spd: (E = u[d].spd) == null ? void 0 : E[X]
8826
+ const N = C.point([R, s], {
8827
+ val: u[s].val[y],
8828
+ spd: (T = u[s].spd) == null ? void 0 : T[y]
8828
8829
  });
8829
- h.push(y);
8830
+ h.push(N);
8830
8831
  }
8831
- }) : m.forEach((R, X) => {
8832
- var E;
8832
+ }) : m.forEach((R, y) => {
8833
+ var T;
8833
8834
  if (R >= o && R <= A && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8834
- const y = v.point([R, d], {
8835
- val: u[d].val[X],
8836
- spd: (E = u[d].spd) == null ? void 0 : E[X]
8835
+ const N = C.point([R, s], {
8836
+ val: u[s].val[y],
8837
+ spd: (T = u[s].spd) == null ? void 0 : T[y]
8837
8838
  });
8838
- h.push(y);
8839
+ h.push(N);
8839
8840
  }
8840
8841
  });
8841
8842
  }
8842
- if (b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("direction elapsed: ", b, ", total: ", M += b), n === "swell") {
8843
- const d = this.weatherLayers[n].height;
8844
- if (d) {
8845
- if (!d.data) {
8843
+ if (b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("direction elapsed: ", b, ", total: ", M += b), d === "swell") {
8844
+ const s = this.weatherLayers[d].height;
8845
+ if (s) {
8846
+ if (!s.data) {
8846
8847
  const m = [];
8847
- for (const R in (i = d.raw) == null ? void 0 : i.LineString) {
8848
- const X = d.raw.LineString[R];
8849
- for (const E of X)
8848
+ for (const R in (r = s.raw) == null ? void 0 : r.LineString) {
8849
+ const y = s.raw.LineString[R];
8850
+ for (const T of y)
8850
8851
  m.push(
8851
- v.lineString(E, {
8852
+ C.lineString(T, {
8852
8853
  val: Number(R)
8853
8854
  })
8854
8855
  );
8855
- d.data = v.featureCollection(m);
8856
+ s.data = C.featureCollection(m);
8856
8857
  }
8857
8858
  }
8858
- if (d.data) {
8859
- const m = this.handleBboxClip(d.data, O);
8859
+ if (s.data) {
8860
+ const m = this.handleBboxClip(s.data, O);
8860
8861
  h = h.concat(m);
8861
8862
  }
8862
8863
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("height elapsed: ", b, ", total: ", M += b);
8863
8864
  }
8864
8865
  }
8865
- if (n === "current") {
8866
- const d = this.weatherLayers[n].speed;
8867
- if (d) {
8868
- if (!d.data) {
8866
+ if (d === "current") {
8867
+ const s = this.weatherLayers[d].speed;
8868
+ if (s) {
8869
+ if (!s.data) {
8869
8870
  const R = [];
8870
- for (const X in (L = d.raw) == null ? void 0 : L.Polygon) {
8871
- const E = d.raw.Polygon[X];
8872
- for (const y of E)
8871
+ for (const y in (L = s.raw) == null ? void 0 : L.Polygon) {
8872
+ const T = s.raw.Polygon[y];
8873
+ for (const N of T)
8873
8874
  R.push(
8874
- v.polygon(y, {
8875
- val: Number(X)
8875
+ C.polygon(N, {
8876
+ val: Number(y)
8876
8877
  })
8877
8878
  );
8878
8879
  }
8879
- d.data = v.featureCollection(R);
8880
+ s.data = C.featureCollection(R);
8880
8881
  }
8881
- const m = p < this.zoom ? d.data.features.filter((R) => R.properties.val > 0.5) : d.data.features;
8882
+ const m = p < this.zoom ? s.data.features.filter((R) => R.properties.val > 0.5) : s.data.features;
8882
8883
  h = h.concat(m), b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("speed elapsed: ", b, ", total: ", M += b);
8883
8884
  }
8884
8885
  }
8885
- } else if (n === "wind") {
8886
+ } else if (d === "wind") {
8886
8887
  const u = this.weatherLayers.wind.raw;
8887
- for (const d in u)
8888
- if (d > t && d < q && (!(p <= this.zoom) || d % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8889
- const m = u[d].lng;
8890
- o > A ? m.forEach((R, X) => {
8888
+ for (const s in u)
8889
+ if (s > t && s < q && (!(p <= this.zoom) || s % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8890
+ const m = u[s].lng;
8891
+ o > A ? m.forEach((R, y) => {
8891
8892
  if ((R >= o && R <= 180 || R >= -180 && R <= A) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8892
- const E = v.point([R, d], {
8893
- val: u[d].val[X],
8894
- spd: u[d].spd[X]
8893
+ const T = C.point([R, s], {
8894
+ val: u[s].val[y],
8895
+ spd: u[s].spd[y]
8895
8896
  });
8896
- h.push(E);
8897
+ h.push(T);
8897
8898
  }
8898
- }) : m.forEach((R, X) => {
8899
+ }) : m.forEach((R, y) => {
8899
8900
  if (R >= o && R <= A && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8900
- const E = v.point([R, d], {
8901
- val: u[d].val[X],
8902
- spd: u[d].spd[X]
8901
+ const T = C.point([R, s], {
8902
+ val: u[s].val[y],
8903
+ spd: u[s].spd[y]
8903
8904
  });
8904
- h.push(E);
8905
+ h.push(T);
8905
8906
  }
8906
8907
  });
8907
8908
  }
8908
8909
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("wind barb elapsed: ", b, ", total: ", M += b);
8909
- } else if (n === "sig-wave-height") {
8910
- if (this.weatherLayers[n].data)
8911
- h = this.weatherLayers[n].data;
8910
+ } else if (d === "sig-wave-height") {
8911
+ if (this.weatherLayers[d].data)
8912
+ h = this.weatherLayers[d].data;
8912
8913
  else {
8913
- const u = this.weatherLayers[n].raw;
8914
+ const u = this.weatherLayers[d].raw;
8914
8915
  if (u) {
8915
- const d = [];
8916
+ const s = [];
8916
8917
  for (const m in u.Polygon) {
8917
8918
  const R = u.Polygon[m];
8918
- for (const X of R)
8919
- d.push(
8920
- v.polygon(X, {
8919
+ for (const y of R)
8920
+ s.push(
8921
+ C.polygon(y, {
8921
8922
  val: Number(m)
8922
8923
  })
8923
8924
  );
8924
8925
  }
8925
8926
  for (const m in u.Point) {
8926
8927
  const R = u.Point[m];
8927
- for (const X of R)
8928
- d.push(
8929
- ...v.points(X, {
8928
+ for (const y of R)
8929
+ s.push(
8930
+ ...C.points(y, {
8930
8931
  val: Number(m)
8931
8932
  }).features
8932
8933
  );
8933
8934
  }
8934
- h = h.concat(d);
8935
+ h = h.concat(s);
8935
8936
  }
8936
8937
  }
8937
8938
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("sigWave elapsed: ", b, ", total: ", M += b);
8938
- } else if (n === "prmsl") {
8939
- if (this.weatherLayers[n].data)
8940
- h = this.weatherLayers[n].data;
8939
+ } else if (d === "prmsl") {
8940
+ if (this.weatherLayers[d].data)
8941
+ h = this.weatherLayers[d].data;
8941
8942
  else {
8942
- const u = this.weatherLayers[n].raw;
8943
+ const u = this.weatherLayers[d].raw;
8943
8944
  if (u) {
8944
- const d = [];
8945
+ const s = [];
8945
8946
  for (const m in u.LineString) {
8946
8947
  const R = u.LineString[m];
8947
- for (const X of R)
8948
- d.push(
8949
- v.lineString(X, {
8948
+ for (const y of R)
8949
+ s.push(
8950
+ C.lineString(y, {
8950
8951
  val: Number(m)
8951
8952
  })
8952
8953
  );
8953
8954
  }
8954
8955
  for (const m in u.Point)
8955
- u.Point[m].lng.forEach((R, X) => {
8956
- R = b0.convertToStdLng(R), d.push(
8957
- v.point([R, m], {
8958
- val: u.Point[m].val[X],
8959
- type: u.Point[m].type[X]
8956
+ u.Point[m].lng.forEach((R, y) => {
8957
+ R = M0.convertToStdLng(R), s.push(
8958
+ C.point([R, m], {
8959
+ val: u.Point[m].val[y],
8960
+ type: u.Point[m].type[y]
8960
8961
  })
8961
8962
  );
8962
8963
  });
8963
- h = h.concat(d);
8964
+ h = h.concat(s);
8964
8965
  }
8965
8966
  }
8966
8967
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("prmsl elapsed: ", b, ", total: ", M += b);
8967
- } else if (n === "arctic" || n === "iceberg") {
8968
- if (this.weatherLayers[n].data)
8969
- h = this.weatherLayers[n].data;
8968
+ } else if (d === "arctic" || d === "iceberg") {
8969
+ if (this.weatherLayers[d].data)
8970
+ h = this.weatherLayers[d].data;
8970
8971
  else {
8971
- const u = this.weatherLayers[n].raw;
8972
+ const u = this.weatherLayers[d].raw;
8972
8973
  if (u) {
8973
- const d = [];
8974
+ const s = [];
8974
8975
  for (const m in u.LineString) {
8975
8976
  const R = u.LineString[m];
8976
- for (const X of R)
8977
- d.push(
8978
- v.lineString(X, {
8977
+ for (const y of R)
8978
+ s.push(
8979
+ C.lineString(y, {
8979
8980
  val: Number(m)
8980
8981
  })
8981
8982
  );
8982
8983
  }
8983
- h = h.concat(d);
8984
+ h = h.concat(s);
8984
8985
  }
8985
8986
  }
8986
8987
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M);
8987
8988
  }
8988
- console.log(n, " elapsed: ", b, ", total: ", M += b), h.length && (this.weatherLayers[n].data = v.featureCollection(h)), this.weatherLayers[n].active = !0, this.weatherLayers[n].version = Math.random() + 1;
8989
+ console.log(d, " elapsed: ", b, ", total: ", M += b), h.length && (this.weatherLayers[d].data = C.featureCollection(h)), this.weatherLayers[d].active = !0, this.weatherLayers[d].version = Math.random() + 1;
8989
8990
  }
8990
8991
  },
8991
8992
  handleDragEndWithZoom4Image() {
@@ -8993,14 +8994,14 @@ const Jb = {
8993
8994
  this.weatherLayers[z].active && this.weatherLayers[z].type === "image" && (this.weatherLayers[z].active = !0, this.weatherLayers[z].version = Math.random() + 1);
8994
8995
  },
8995
8996
  handleBboxClip(z, M) {
8996
- const b = [], O = b0.convertToStdLng(M._sw.lng), p = b0.convertToStdLng(M._ne.lng);
8997
+ const b = [], O = M0.convertToStdLng(M._sw.lng), p = M0.convertToStdLng(M._ne.lng);
8997
8998
  return z.features.forEach((o) => {
8998
8999
  if (o.geometry.type !== "Point")
8999
9000
  if (O > p) {
9000
- let A = [O, M._sw.lat, 180, M._ne.lat], t = v.bboxClip(o, A);
9001
- 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);
9001
+ let A = [O, M._sw.lat, 180, M._ne.lat], t = C.bboxClip(o, A);
9002
+ t.geometry.coordinates.length && b.push(t), A = [-180, M._sw.lat, p, M._ne.lat], t = C.bboxClip(o, A), t.geometry.coordinates.length && b.push(t);
9002
9003
  } else {
9003
- const A = [O, M._sw.lat, p, M._ne.lat], t = v.bboxClip(o, A);
9004
+ const A = [O, M._sw.lat, p, M._ne.lat], t = C.bboxClip(o, A);
9004
9005
  t.geometry.coordinates.length && b.push(t);
9005
9006
  }
9006
9007
  else
@@ -9018,8 +9019,8 @@ const Jb = {
9018
9019
  this.handleBeforeLayerToggle();
9019
9020
  },
9020
9021
  handleBeforeLayerToggle() {
9021
- var z, M, b, O, p, o, A, t, q, r, a, i, L;
9022
- (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["voluntary-reporting-area"] || (i = this.otherLayers) != null && i["eca-zones"] || (L = this.otherLayers) != null && L["special-area"]) && this.map.setLayoutProperty(this.beforeLayer, "visibility", "visible");
9022
+ var z, M, b, O, p, o, A, t, q, n, a, r, L;
9023
+ (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 || (n = this.otherLayers) != null && n.enc || (a = this.otherLayers) != null && a["voluntary-reporting-area"] || (r = this.otherLayers) != null && r["eca-zones"] || (L = this.otherLayers) != null && L["special-area"]) && this.map.setLayoutProperty(this.beforeLayer, "visibility", "visible");
9023
9024
  },
9024
9025
  handleDateChange(z = { tropicals: !1 }) {
9025
9026
  this.fetchWeatherLayers(z), this.fetchOtherLayers({ dayNight: !0 });
@@ -9053,8 +9054,8 @@ const Jb = {
9053
9054
  }
9054
9055
  },
9055
9056
  handle3dToggle(z) {
9056
- var M, b, O, p, o, A, t, q, r, a, i, L, n, h, u, d, m, R, X, E;
9057
- 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((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((n = this.map) != null && n.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((u = this.map) == null || u.moveLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((d = this.viewport) == null ? void 0 : d.particleLayer) && ((R = this.map) != null && R.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)));
9057
+ var M, b, O, p, o, A, t, q, n, a, r, L, d, h, u, s, m, R, y, T;
9058
+ 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((n = this.viewport) == null ? void 0 : n.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((r = this.viewport) == null ? void 0 : r.rampColorLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((u = this.map) == null || u.moveLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((s = this.viewport) == null ? void 0 : s.particleLayer) && ((R = this.map) != null && R.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((T = this.map) == null || T.moveLayer((y = this.viewport) == null ? void 0 : y.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9058
9059
  },
9059
9060
  handleParticle(z) {
9060
9061
  this.particleFactor = z, this.weatherLayers[z.key] && (this.weatherLayers[z.key].particle = z.particle), this.activeWeatherLayers.map((O) => {
@@ -9077,10 +9078,10 @@ const Jb = {
9077
9078
  className: "map-gl-home"
9078
9079
  };
9079
9080
  function Vb(z, M, b, O, p, o) {
9080
- var W0, n0, l0, B0, f0, S, p0, a0, D, O0, u0, A0, R0, g, e, l, f, B, w, P, $, k, U, v0, P0, S0;
9081
- const A = I("IdmGlLayer"), t = I("IdmENC"), q = I("IdmSigWave"), r = I("IdmSwell"), a = I("IdmPrmsl"), i = I("IdmIceberg"), L = I("IdmTropicals"), n = I("IdmCurrents"), h = I("IdmCurrentParticle"), u = I("IdmWindBarb"), d = I("IdmWindParticle"), m = I("IdmPrecip3h"), R = I("IdmVisibility"), X = I("IdmWaterTemp"), E = I("IdmTemp"), y = I("IdmArctic"), _ = I("IdmWarZone"), J = I("IdmGmdssArea"), Z = I("IdmEcaZone"), M0 = I("IdmAlertZone"), N = I("IdmPort"), x = I("IdmLoadLine"), d0 = I("IdmTimezone"), s0 = I("IdmVRA"), r0 = I("IdmSpecialArea"), L0 = I("IdmTerminator"), o0 = I("IdmLatLng"), h0 = I("IdmMeasure"), m0 = I("IdmPoint");
9082
- return b.map ? (s(), W("div", Yb, [
9083
- C(A, H({
9081
+ var s0, r0, W0, B0, l0, P, z0, t0, I, p0, f0, u0, R0, c0, e, i, f, B, X, D, Z, S, G, v0, P0, S0;
9082
+ const A = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmSigWave"), n = x("IdmSwell"), a = x("IdmPrmsl"), r = x("IdmIceberg"), L = x("IdmTropicals"), d = x("IdmCurrents"), h = x("IdmCurrentParticle"), u = x("IdmWindBarb"), s = x("IdmWindParticle"), m = x("IdmPrecip3h"), R = x("IdmVisibility"), y = x("IdmWaterTemp"), T = x("IdmTemp"), N = x("IdmArctic"), H = x("IdmWarZone"), K = x("IdmGmdssArea"), V = x("IdmEcaZone"), $ = x("IdmAlertZone"), g = x("IdmPort"), E = x("IdmLoadLine"), n0 = x("IdmTimezone"), d0 = x("IdmVRA"), i0 = x("IdmSpecialArea"), L0 = x("IdmTerminator"), O0 = x("IdmLatLng"), h0 = x("IdmMeasure"), m0 = x("IdmPoint");
9083
+ return b.map ? (W(), l("div", Yb, [
9084
+ w(A, Q({
9084
9085
  ref: "layer",
9085
9086
  map: b.map,
9086
9087
  "toggle-version": b.toggleVersion,
@@ -9092,57 +9093,57 @@ function Vb(z, M, b, O, p, o) {
9092
9093
  }, z.$attrs, {
9093
9094
  onWeather: o.handleWeatherLayerChange,
9094
9095
  onOther: o.handleOtherLayerChange,
9095
- onToggleWindParticle: M[0] || (M[0] = (q0) => p.showWindParticle = q0),
9096
- onToggleWindFeather: M[1] || (M[1] = (q0) => p.showWindFeather = q0),
9097
- onToggleCurrentParticle: M[2] || (M[2] = (q0) => p.showCurrentParticle = q0),
9098
- onToggleCurrentIsoband: M[3] || (M[3] = (q0) => p.showCurrentIsoband = q0),
9099
- onCoordinate: M[4] || (M[4] = (q0) => p.showCoord = q0),
9100
- onMeasure: M[5] || (M[5] = (q0) => p.showMeasure = q0),
9101
- onPoint: M[6] || (M[6] = (q0) => p.showPoint = q0),
9096
+ onToggleWindParticle: M[0] || (M[0] = (a0) => p.showWindParticle = a0),
9097
+ onToggleWindFeather: M[1] || (M[1] = (a0) => p.showWindFeather = a0),
9098
+ onToggleCurrentParticle: M[2] || (M[2] = (a0) => p.showCurrentParticle = a0),
9099
+ onToggleCurrentIsoband: M[3] || (M[3] = (a0) => p.showCurrentIsoband = a0),
9100
+ onCoordinate: M[4] || (M[4] = (a0) => p.showCoord = a0),
9101
+ onMeasure: M[5] || (M[5] = (a0) => p.showMeasure = a0),
9102
+ onPoint: M[6] || (M[6] = (a0) => p.showPoint = a0),
9102
9103
  on3d: o.handle3dToggle,
9103
9104
  onHandleToggleVersion: o.handleToggleVersion
9104
9105
  }), null, 16, ["map", "toggle-version", "map-projection", "showWindFeather", "showWindParticle", "showCurrentIsoband", "showCurrentParticle", "onWeather", "onOther", "on3d", "onHandleToggleVersion"]),
9105
- C(t, H({
9106
+ w(t, Q({
9106
9107
  map: b.map,
9107
9108
  token: b.token,
9108
- enabled: (W0 = p.otherLayers) == null ? void 0 : W0.enc,
9109
+ enabled: (s0 = p.otherLayers) == null ? void 0 : s0.enc,
9109
9110
  "toggle-version": b.toggleVersion
9110
9111
  }, z.$attrs, {
9111
- onEnc: M[7] || (M[7] = (q0) => p.enc = q0)
9112
+ onEnc: M[7] || (M[7] = (a0) => p.enc = a0)
9112
9113
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
9113
- C(q, H({
9114
+ w(q, Q({
9114
9115
  map: b.map,
9115
- "sig-wave": (n0 = p.weatherLayers) == null ? void 0 : n0["sig-wave-height"],
9116
+ "sig-wave": (r0 = p.weatherLayers) == null ? void 0 : r0["sig-wave-height"],
9116
9117
  "before-layer": b.beforeLayer,
9117
9118
  activeWeatherLayers: p.activeWeatherLayers
9118
9119
  }, z.$attrs), null, 16, ["map", "sig-wave", "before-layer", "activeWeatherLayers"]),
9119
- C(r, H({
9120
+ w(n, Q({
9120
9121
  map: b.map,
9121
- swell: (l0 = p.weatherLayers) == null ? void 0 : l0.swell,
9122
+ swell: (W0 = p.weatherLayers) == null ? void 0 : W0.swell,
9122
9123
  "before-layer": b.beforeLayer,
9123
9124
  activeWeatherLayers: p.activeWeatherLayers
9124
9125
  }, z.$attrs), null, 16, ["map", "swell", "before-layer", "activeWeatherLayers"]),
9125
- C(a, H({
9126
+ w(a, Q({
9126
9127
  map: b.map,
9127
9128
  prmsl: (B0 = p.weatherLayers) == null ? void 0 : B0.prmsl,
9128
9129
  "before-layer": b.beforeLayer,
9129
9130
  "active-weather-layers": p.activeWeatherLayers
9130
9131
  }, z.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
9131
- C(i, H({
9132
+ w(r, Q({
9132
9133
  map: b.map,
9133
- iceberg: (f0 = p.weatherLayers) == null ? void 0 : f0.iceberg,
9134
+ iceberg: (l0 = p.weatherLayers) == null ? void 0 : l0.iceberg,
9134
9135
  "before-layer": b.beforeLayer
9135
9136
  }, z.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
9136
- C(L, H({
9137
+ w(L, Q({
9137
9138
  map: b.map,
9138
9139
  date: b.ts,
9139
- tropicals: (S = p.weatherLayers) == null ? void 0 : S.tropicals,
9140
+ tropicals: (P = p.weatherLayers) == null ? void 0 : P.tropicals,
9140
9141
  "before-layer": b.beforeLayer
9141
9142
  }, z.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
9142
- C(n, H({
9143
+ w(d, Q({
9143
9144
  map: b.map,
9144
9145
  "map-projection": p.mapProjection,
9145
- current: (p0 = p.weatherLayers) == null ? void 0 : p0.current,
9146
+ current: (z0 = p.weatherLayers) == null ? void 0 : z0.current,
9146
9147
  "before-layer": b.beforeLayer,
9147
9148
  showCurrentIsoband: p.showCurrentIsoband,
9148
9149
  showCurrentParticle: p.showCurrentParticle,
@@ -9153,18 +9154,18 @@ function Vb(z, M, b, O, p, o) {
9153
9154
  onParticle: o.handleParticle,
9154
9155
  onHandleToggleVersion: o.handleToggleVersion
9155
9156
  }), null, 16, ["map", "map-projection", "current", "before-layer", "showCurrentIsoband", "showCurrentParticle", "margin-bottom", "toggle-version", "weather-layers", "onParticle", "onHandleToggleVersion"]),
9156
- C(h, H({
9157
+ w(h, Q({
9157
9158
  viewport: p.viewport,
9158
- factor: (a0 = p.weatherLayers) == null ? void 0 : a0["current-particle"],
9159
+ factor: (t0 = p.weatherLayers) == null ? void 0 : t0["current-particle"],
9159
9160
  "before-layer": b.beforeLayer,
9160
9161
  "toggle-version": b.toggleVersion
9161
9162
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9162
- C(u, H({
9163
+ w(u, Q({
9163
9164
  ref: "windBarb",
9164
9165
  map: b.map,
9165
9166
  "map-projection": p.mapProjection,
9166
- wind: (D = p.weatherLayers) == null ? void 0 : D.wind,
9167
- current: (O0 = p.weatherLayers) == null ? void 0 : O0.current,
9167
+ wind: (I = p.weatherLayers) == null ? void 0 : I.wind,
9168
+ current: (p0 = p.weatherLayers) == null ? void 0 : p0.current,
9168
9169
  "before-layer": b.beforeLayer,
9169
9170
  "margin-bottom": p.showRampColor ? "56px" : "30px",
9170
9171
  showWindFeather: p.showWindFeather,
@@ -9174,101 +9175,101 @@ function Vb(z, M, b, O, p, o) {
9174
9175
  "weather-layers": p.weatherLayers,
9175
9176
  onParticle: o.handleParticle
9176
9177
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "showWindFeather", "showWindParticle", "toggle-version", "weather-layers", "onParticle"]),
9177
- C(d, H({
9178
+ w(s, Q({
9178
9179
  viewport: p.viewport,
9179
- factor: (u0 = p.weatherLayers) == null ? void 0 : u0["wind-particle"],
9180
+ factor: (f0 = p.weatherLayers) == null ? void 0 : f0["wind-particle"],
9180
9181
  "before-layer": b.beforeLayer,
9181
9182
  "toggle-version": b.toggleVersion
9182
9183
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9183
- C(m, H({
9184
+ w(m, Q({
9184
9185
  viewport: p.viewport,
9185
- factor: (A0 = p.weatherLayers) == null ? void 0 : A0.precip3h,
9186
+ factor: (u0 = p.weatherLayers) == null ? void 0 : u0.precip3h,
9186
9187
  "before-layer": b.beforeLayer,
9187
9188
  "toggle-version": b.toggleVersion
9188
9189
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9189
- C(R, H({
9190
+ w(R, Q({
9190
9191
  viewport: p.viewport,
9191
9192
  factor: (R0 = p.weatherLayers) == null ? void 0 : R0.visibility,
9192
9193
  "before-layer": b.beforeLayer,
9193
9194
  "toggle-version": b.toggleVersion
9194
9195
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9195
- C(X, H({
9196
+ w(y, Q({
9196
9197
  viewport: p.viewport,
9197
- factor: (g = p.weatherLayers) == null ? void 0 : g["water-temp"],
9198
+ factor: (c0 = p.weatherLayers) == null ? void 0 : c0["water-temp"],
9198
9199
  "before-layer": b.beforeLayer,
9199
9200
  "toggle-version": b.toggleVersion
9200
9201
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9201
- C(E, H({
9202
+ w(T, Q({
9202
9203
  viewport: p.viewport,
9203
9204
  factor: (e = p.weatherLayers) == null ? void 0 : e.temp,
9204
9205
  "before-layer": b.beforeLayer,
9205
9206
  "toggle-version": b.toggleVersion
9206
9207
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9207
- C(y, H({
9208
+ w(N, Q({
9208
9209
  viewport: p.viewport,
9209
- factor: (l = p.weatherLayers) == null ? void 0 : l.arctic,
9210
+ factor: (i = p.weatherLayers) == null ? void 0 : i.arctic,
9210
9211
  "before-layer": b.beforeLayer,
9211
9212
  "toggle-version": b.toggleVersion
9212
9213
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9213
- C(_, H({
9214
+ w(H, Q({
9214
9215
  map: b.map,
9215
9216
  zone: (f = p.otherLayers) == null ? void 0 : f["war-zones"],
9216
9217
  "before-layer": b.beforeLayer
9217
9218
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9218
- C(J, H({
9219
+ w(K, Q({
9219
9220
  map: b.map,
9220
9221
  area: (B = p.otherLayers) == null ? void 0 : B["gmdss-areas"],
9221
9222
  "before-layer": b.beforeLayer
9222
9223
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9223
- C(Z, H({
9224
+ w(V, Q({
9224
9225
  map: b.map,
9225
- zone: (w = p.otherLayers) == null ? void 0 : w["eca-zones"],
9226
+ zone: (X = p.otherLayers) == null ? void 0 : X["eca-zones"],
9226
9227
  "before-layer": b.beforeLayer
9227
9228
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9228
- C(M0, H({
9229
+ w($, Q({
9229
9230
  map: b.map,
9230
- zone: (P = p.otherLayers) == null ? void 0 : P["alert-zones"],
9231
+ zone: (D = p.otherLayers) == null ? void 0 : D["alert-zones"],
9231
9232
  "before-layer": b.beforeLayer
9232
9233
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9233
- C(N, H({
9234
+ w(g, Q({
9234
9235
  map: b.map,
9235
- port: ($ = p.otherLayers) == null ? void 0 : $.ports,
9236
+ port: (Z = p.otherLayers) == null ? void 0 : Z.ports,
9236
9237
  "before-layer": b.beforeLayer
9237
9238
  }, z.$attrs), null, 16, ["map", "port", "before-layer"]),
9238
- C(x, H({
9239
+ w(E, Q({
9239
9240
  map: b.map,
9240
- line: (k = p.otherLayers) == null ? void 0 : k["load-lines"],
9241
+ line: (S = p.otherLayers) == null ? void 0 : S["load-lines"],
9241
9242
  "before-layer": b.beforeLayer
9242
9243
  }, z.$attrs), null, 16, ["map", "line", "before-layer"]),
9243
- C(d0, H({
9244
+ w(n0, Q({
9244
9245
  map: b.map,
9245
- zone: (U = p.otherLayers) == null ? void 0 : U["time-zones"],
9246
+ zone: (G = p.otherLayers) == null ? void 0 : G["time-zones"],
9246
9247
  "before-layer": b.beforeLayer
9247
9248
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9248
- C(s0, H({
9249
+ w(d0, Q({
9249
9250
  map: b.map,
9250
9251
  area: (v0 = p.otherLayers) == null ? void 0 : v0["voluntary-reporting-area"],
9251
9252
  "before-layer": b.beforeLayer
9252
9253
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9253
- C(r0, H({
9254
+ w(i0, Q({
9254
9255
  map: b.map,
9255
9256
  area: (P0 = p.otherLayers) == null ? void 0 : P0["special-area"],
9256
9257
  "before-layer": b.beforeLayer
9257
9258
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9258
- C(L0, H({
9259
+ w(L0, Q({
9259
9260
  map: b.map,
9260
9261
  area: (S0 = p.otherLayers) == null ? void 0 : S0["day-night"]
9261
9262
  }, z.$attrs), null, 16, ["map", "area"]),
9262
- C(o0, H({
9263
+ w(O0, Q({
9263
9264
  map: b.map,
9264
9265
  show: p.showCoord,
9265
9266
  "toggle-version": b.toggleVersion
9266
9267
  }, z.$attrs), null, 16, ["map", "show", "toggle-version"]),
9267
- C(h0, H({
9268
+ w(h0, Q({
9268
9269
  map: b.map,
9269
9270
  show: p.showMeasure
9270
9271
  }, z.$attrs), null, 16, ["map", "show"]),
9271
- C(m0, H({
9272
+ w(m0, Q({
9272
9273
  ref: "idmPoint",
9273
9274
  map: b.map,
9274
9275
  show: p.showPoint,
@@ -9277,9 +9278,9 @@ function Vb(z, M, b, O, p, o) {
9277
9278
  token: b.token,
9278
9279
  gateway: p.gateway
9279
9280
  }, z.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway"])
9280
- ])) : j("", !0);
9281
+ ])) : _("", !0);
9281
9282
  }
9282
- const Zb = /* @__PURE__ */ Q(Jb, [["render", Vb]]), ez = {
9283
+ const Zb = /* @__PURE__ */ k(Jb, [["render", Vb]]), ez = {
9283
9284
  install(z) {
9284
9285
  z.component("MapboxGL", Zb), z.component("TropicalGL", H0), z.component("LatLngGL", F0);
9285
9286
  }
@@ -9289,9 +9290,9 @@ export {
9289
9290
  Zb as MapboxGL,
9290
9291
  ez as MapboxGLPlugin,
9291
9292
  D1 as MapboxHelper,
9292
- i0 as ParticleSchema,
9293
+ q0 as ParticleSchema,
9293
9294
  H0 as TropicalGL,
9294
9295
  D0 as Viewport,
9295
9296
  C0 as WebGL,
9296
- e0 as WebGLSchema
9297
+ A0 as WebGLSchema
9297
9298
  };