@idmwx/idmui-gl3 6.1.2 → 6.1.4

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
@@ -5,8 +5,8 @@ import { LayerHelper as Ve, CompanyHelper as Ze } from "@idm-plugin/tag";
5
5
  import ee from "moment";
6
6
  import Qe from "axios";
7
7
  import Ye from "moment-timezone";
8
- import { resolveComponent as R, openBlock as m, createElementBlock as u, createElementVNode as o, normalizeStyle as oe, createVNode as H, withCtx as Ie, normalizeClass as Z, Fragment as V, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as le, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as qe, mergeProps as X } from "vue";
9
- import * as S from "@turf/turf";
8
+ import { resolveComponent as R, openBlock as u, createElementBlock as g, createElementVNode as o, normalizeStyle as le, createVNode as H, withCtx as Ie, normalizeClass as V, Fragment as Z, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as ne, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as qe, mergeProps as X } from "vue";
9
+ import * as M from "@turf/turf";
10
10
  import At from "@mapbox/sphericalmercator";
11
11
  import je from "mapbox-gl";
12
12
  import { TropicalHelper as ct, LngLatHelper as se, LaneHelper as Re } from "@idm-plugin/geo";
@@ -266,10 +266,10 @@ const U = (a, e) => {
266
266
  }, Bt = ["onClick"], It = ["onClick"], Et = {
267
267
  key: 0,
268
268
  class: "flex-start"
269
- }, Dt = {
269
+ }, kt = {
270
270
  key: 1,
271
271
  class: "flex-start"
272
- }, kt = { class: "header-box flex-between" }, zt = { class: "weather-layers card-bg" }, Pt = { class: "layers-title flex-between" }, Mt = {
272
+ }, Dt = { class: "header-box flex-between" }, zt = { class: "weather-layers card-bg" }, Pt = { class: "layers-title flex-between" }, Mt = {
273
273
  key: 0,
274
274
  class: "iconfont active"
275
275
  }, St = {
@@ -302,10 +302,10 @@ const U = (a, e) => {
302
302
  };
303
303
  function aa(a, e, t, r, i, s) {
304
304
  const n = R("ElTooltip"), l = R("ElRadio"), c = R("ElRadioGroup"), p = R("ElScrollbar");
305
- return m(), u("div", vt, [
305
+ return u(), g("div", vt, [
306
306
  o("div", {
307
307
  class: "menu-bar-box",
308
- style: oe({ top: t.top + 10 + "px", right: i.right + "px" })
308
+ style: le({ top: t.top + 10 + "px", right: i.right + "px" })
309
309
  }, [
310
310
  o("div", bt, [
311
311
  H(n, {
@@ -316,7 +316,7 @@ function aa(a, e, t, r, i, s) {
316
316
  }, {
317
317
  default: Ie(() => [
318
318
  o("div", {
319
- class: Z(t.layerToggle ? "menu-icon active" : "menu-icon"),
319
+ class: V(t.layerToggle ? "menu-icon active" : "menu-icon"),
320
320
  onClick: e[0] || (e[0] = (...h) => s.handleMenuToggle && s.handleMenuToggle(...h))
321
321
  }, e[17] || (e[17] = [
322
322
  o("span", { class: "iconfont" }, "", -1)
@@ -328,7 +328,7 @@ function aa(a, e, t, r, i, s) {
328
328
  ], 4),
329
329
  o("div", {
330
330
  class: "menu-bar-box",
331
- style: oe({ top: t.top + 160 + "px", right: i.right + "px" })
331
+ style: le({ top: t.top + 160 + "px", right: i.right + "px" })
332
332
  }, [
333
333
  o("div", Lt, [
334
334
  H(n, {
@@ -339,7 +339,7 @@ function aa(a, e, t, r, i, s) {
339
339
  }, {
340
340
  default: Ie(() => [
341
341
  o("div", {
342
- class: Z(i.showMeasure ? "menu-icon active" : "menu-icon"),
342
+ class: V(i.showMeasure ? "menu-icon active" : "menu-icon"),
343
343
  onClick: e[1] || (e[1] = (...h) => s.handleMeasureToggle && s.handleMeasureToggle(...h))
344
344
  }, e[18] || (e[18] = [
345
345
  o("span", { class: "iconfont" }, "", -1)
@@ -355,7 +355,7 @@ function aa(a, e, t, r, i, s) {
355
355
  }, {
356
356
  default: Ie(() => [
357
357
  o("div", {
358
- class: Z(i.showPoint ? "menu-icon active" : "menu-icon"),
358
+ class: V(i.showPoint ? "menu-icon active" : "menu-icon"),
359
359
  onClick: e[2] || (e[2] = (...h) => s.handlePointToggle && s.handlePointToggle(...h))
360
360
  }, e[19] || (e[19] = [
361
361
  o("span", { class: "iconfont" }, "", -1)
@@ -371,7 +371,7 @@ function aa(a, e, t, r, i, s) {
371
371
  }, {
372
372
  default: Ie(() => [
373
373
  o("div", {
374
- class: Z(i.showCoord ? "menu-icon active" : "menu-icon"),
374
+ class: V(i.showCoord ? "menu-icon active" : "menu-icon"),
375
375
  onClick: e[3] || (e[3] = (...h) => s.handleCoordToggle && s.handleCoordToggle(...h))
376
376
  }, e[20] || (e[20] = [
377
377
  o("span", { class: "iconfont" }, "", -1)
@@ -387,7 +387,7 @@ function aa(a, e, t, r, i, s) {
387
387
  }, {
388
388
  default: Ie(() => [
389
389
  o("div", {
390
- class: Z(i.show3d ? "menu-icon active" : "menu-icon"),
390
+ class: V(i.show3d ? "menu-icon active" : "menu-icon"),
391
391
  onClick: e[4] || (e[4] = (...h) => s.handle3DToggle && s.handle3DToggle(...h))
392
392
  }, e[21] || (e[21] = [
393
393
  o("span", { class: "iconfont" }, "", -1)
@@ -397,10 +397,10 @@ function aa(a, e, t, r, i, s) {
397
397
  })
398
398
  ])
399
399
  ], 4),
400
- s.hasCollectedLayers ? (m(), u("div", {
400
+ s.hasCollectedLayers ? (u(), g("div", {
401
401
  key: 0,
402
402
  class: "active-layers",
403
- style: oe({ right: i.right + "px", bottom: "100px" })
403
+ style: le({ right: i.right + "px", bottom: "100px" })
404
404
  }, [
405
405
  o("div", Ct, [
406
406
  e[22] || (e[22] = o("div", { style: { margin: "2px 5px" } }, "Weather Layers", -1)),
@@ -409,12 +409,12 @@ function aa(a, e, t, r, i, s) {
409
409
  style: { "font-size": "28px", "margin-right": "0" },
410
410
  onClick: e[5] || (e[5] = (...h) => s.toggleAutoActive && s.toggleAutoActive(...h))
411
411
  }, [
412
- i.autoActive ? (m(), u("i", xt, "")) : (m(), u("i", _t, ""))
412
+ i.autoActive ? (u(), g("i", xt, "")) : (u(), g("i", _t, ""))
413
413
  ])
414
414
  ]),
415
- (m(!0), u(V, null, $(i.layers.weather.filter((h) => h.collected), (h) => (m(), u("div", {
415
+ (u(!0), g(Z, null, $(i.layers.weather.filter((h) => h.collected), (h) => (u(), g("div", {
416
416
  key: h.key,
417
- class: Z(s.computeLayerClass(h, i.activeWeatherLayersCollected))
417
+ class: V(s.computeLayerClass(h, i.activeWeatherLayersCollected))
418
418
  }, [
419
419
  o("div", {
420
420
  class: "checkbox",
@@ -424,23 +424,23 @@ function aa(a, e, t, r, i, s) {
424
424
  class: "name",
425
425
  onClick: (d) => s.handleWeatherLayerPick(h)
426
426
  }, I(h.name), 9, It),
427
- h.key === "wind" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", Et, [
427
+ h.key === "wind" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (u(), g("div", Et, [
428
428
  o("i", {
429
- class: Z(["iconfont sub-layer-icon", i.showWindParticleCollected ? "active" : ""]),
429
+ class: V(["iconfont sub-layer-icon", i.showWindParticleCollected ? "active" : ""]),
430
430
  onClick: e[6] || (e[6] = (d) => s.handleToggleWindParticle())
431
431
  }, "", 2),
432
432
  o("i", {
433
- class: Z(["iconfont sub-layer-icon", i.showWindFeatherCollected ? "active" : ""]),
433
+ class: V(["iconfont sub-layer-icon", i.showWindFeatherCollected ? "active" : ""]),
434
434
  onClick: e[7] || (e[7] = (d) => s.handleToggleWindFeather())
435
435
  }, "", 2)
436
436
  ])) : J("", !0),
437
- h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", Dt, [
437
+ h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (u(), g("div", kt, [
438
438
  o("i", {
439
- class: Z(["iconfont sub-layer-icon", i.showCurrentParticleCollected ? "active" : ""]),
439
+ class: V(["iconfont sub-layer-icon", i.showCurrentParticleCollected ? "active" : ""]),
440
440
  onClick: e[8] || (e[8] = (d) => s.handleToggleCurrentParticle())
441
441
  }, "", 2),
442
442
  o("i", {
443
- class: Z(["iconfont sub-layer-icon", i.showCurrentIsobandCollected ? "active" : ""]),
443
+ class: V(["iconfont sub-layer-icon", i.showCurrentIsobandCollected ? "active" : ""]),
444
444
  onClick: e[9] || (e[9] = (d) => s.handleToggleCurrentIsoband())
445
445
  }, "", 2)
446
446
  ])) : J("", !0)
@@ -448,12 +448,12 @@ function aa(a, e, t, r, i, s) {
448
448
  ], 4)) : J("", !0),
449
449
  o("div", {
450
450
  class: "available-layers flex-center",
451
- style: oe({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
451
+ style: le({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
452
452
  }, [
453
453
  o("div", {
454
- class: Z(["list-box", t.layerToggle ? "right-bar" : ""])
454
+ class: V(["list-box", t.layerToggle ? "right-bar" : ""])
455
455
  }, [
456
- o("div", kt, [
456
+ o("div", Dt, [
457
457
  e[23] || (e[23] = o("div", null, "Layers", -1)),
458
458
  o("div", {
459
459
  class: "iconfont close-btn",
@@ -470,16 +470,16 @@ function aa(a, e, t, r, i, s) {
470
470
  style: { "margin-right": "0" },
471
471
  onClick: e[11] || (e[11] = (...h) => s.toggleAutoActive && s.toggleAutoActive(...h))
472
472
  }, [
473
- i.autoActive ? (m(), u("i", Mt, "")) : (m(), u("i", St, ""))
473
+ i.autoActive ? (u(), g("i", Mt, "")) : (u(), g("i", St, ""))
474
474
  ])
475
475
  ]),
476
476
  o("div", Tt, [
477
- (m(!0), u(V, null, $(i.layers.weather, (h) => (m(), u(V, {
477
+ (u(!0), g(Z, null, $(i.layers.weather, (h) => (u(), g(Z, {
478
478
  key: h.key
479
479
  }, [
480
- h.hide ? J("", !0) : (m(), u("div", {
480
+ h.hide ? J("", !0) : (u(), g("div", {
481
481
  key: 0,
482
- class: Z(s.computeLayerClass(h, i.activeWeatherLayersCollected))
482
+ class: V(s.computeLayerClass(h, i.activeWeatherLayersCollected))
483
483
  }, [
484
484
  o("div", Qt, [
485
485
  o("div", {
@@ -490,23 +490,23 @@ function aa(a, e, t, r, i, s) {
490
490
  class: "name",
491
491
  onClick: (d) => s.handleWeatherLayerPick(h)
492
492
  }, I(h.name), 9, Nt),
493
- h.key === "wind" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", Ft, [
493
+ h.key === "wind" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (u(), g("div", Ft, [
494
494
  o("i", {
495
- class: Z(["iconfont sub-layer-icon", i.showWindParticleCollected ? "active" : ""]),
495
+ class: V(["iconfont sub-layer-icon", i.showWindParticleCollected ? "active" : ""]),
496
496
  onClick: e[12] || (e[12] = (d) => s.handleToggleWindParticle())
497
497
  }, "", 2),
498
498
  o("i", {
499
- class: Z(["iconfont sub-layer-icon", i.showWindFeatherCollected ? "active" : ""]),
499
+ class: V(["iconfont sub-layer-icon", i.showWindFeatherCollected ? "active" : ""]),
500
500
  onClick: e[13] || (e[13] = (d) => s.handleToggleWindFeather())
501
501
  }, "", 2)
502
502
  ])) : J("", !0),
503
- h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (m(), u("div", Ot, [
503
+ h.key === "current" && i.activeWeatherLayersCollected.some((d) => d.key === h.key) ? (u(), g("div", Ot, [
504
504
  o("i", {
505
- class: Z(["iconfont sub-layer-icon", i.showCurrentParticleCollected ? "active" : ""]),
505
+ class: V(["iconfont sub-layer-icon", i.showCurrentParticleCollected ? "active" : ""]),
506
506
  onClick: e[14] || (e[14] = (d) => s.handleToggleCurrentParticle())
507
507
  }, "", 2),
508
508
  o("i", {
509
- class: Z(["iconfont sub-layer-icon", i.showCurrentIsobandCollected ? "active" : ""]),
509
+ class: V(["iconfont sub-layer-icon", i.showCurrentIsobandCollected ? "active" : ""]),
510
510
  onClick: e[15] || (e[15] = (d) => s.handleToggleCurrentIsoband())
511
511
  }, "", 2)
512
512
  ])) : J("", !0)
@@ -514,7 +514,7 @@ function aa(a, e, t, r, i, s) {
514
514
  o("div", {
515
515
  onClick: (d) => s.handleWeatherLayerCollect(h)
516
516
  }, [
517
- h.collected ? (m(), u("i", jt, "")) : (m(), u("i", Wt, ""))
517
+ h.collected ? (u(), g("i", jt, "")) : (u(), g("i", Wt, ""))
518
518
  ], 8, Rt)
519
519
  ], 2))
520
520
  ], 64))), 128)),
@@ -530,16 +530,16 @@ function aa(a, e, t, r, i, s) {
530
530
  o("div", Gt, [
531
531
  e[26] || (e[26] = o("div", { class: "layers-title" }, "Other Layers", -1)),
532
532
  o("div", Ut, [
533
- (m(!0), u(V, null, $(i.layers.other, (h) => {
533
+ (u(!0), g(Z, null, $(i.layers.other, (h) => {
534
534
  var d;
535
- return m(), u("div", {
535
+ return u(), g("div", {
536
536
  key: h.key,
537
- class: Z(["layer flex-between", s.computeLayerClass(h, i.activeOtherLayers)]),
537
+ class: V(["layer flex-between", s.computeLayerClass(h, i.activeOtherLayers)]),
538
538
  onClick: (A) => s.handleOtherLayerPick(h)
539
539
  }, [
540
540
  o("div", Kt, [
541
541
  o("div", Xt, [
542
- (d = s.computeLayerClass(h, i.activeOtherLayers)) != null && d.includes("active") ? (m(), u("i", Jt, "")) : (m(), u("i", qt, ""))
542
+ (d = s.computeLayerClass(h, i.activeOtherLayers)) != null && d.includes("active") ? (u(), g("i", Jt, "")) : (u(), g("i", qt, ""))
543
543
  ]),
544
544
  o("span", null, I(h.name), 1)
545
545
  ])
@@ -557,16 +557,16 @@ function aa(a, e, t, r, i, s) {
557
557
  style: { width: "180px", "align-items": "flex-start" }
558
558
  }, {
559
559
  default: Ie(() => [
560
- (m(!0), u(V, null, $(i.sourceList, (h, d) => (m(), gt(l, {
560
+ (u(!0), g(Z, null, $(i.sourceList, (h, d) => (u(), gt(l, {
561
561
  key: `source${h.name}`,
562
562
  value: h.name
563
563
  }, {
564
564
  default: Ie(() => {
565
- var A, v, E, w, D, _;
565
+ var A, v, E, w, k, _;
566
566
  return [
567
- le(I(h.name) + " ", 1),
568
- d !== 0 ? (m(), u("span", $t, I(h.resolution) + "km " + I(h.length) + "days", 1)) : J("", !0),
569
- d === 0 ? (m(), u("div", ea, "Provides the best forecast")) : (E = (v = (A = h == null ? void 0 : h.update) == null ? void 0 : A.default) == null ? void 0 : v.meta) != null && E.initialisationTime ? (m(), u("div", ta, "Update: " + I(s.computeDateZ((_ = (D = (w = h == null ? void 0 : h.update) == null ? void 0 : w.default) == null ? void 0 : D.meta) == null ? void 0 : _.initialisationTime)), 1)) : J("", !0)
567
+ ne(I(h.name) + " ", 1),
568
+ d !== 0 ? (u(), g("span", $t, I(h.resolution) + "km " + I(h.length) + "days", 1)) : J("", !0),
569
+ d === 0 ? (u(), g("div", ea, "Provides the best forecast")) : (E = (v = (A = h == null ? void 0 : h.update) == null ? void 0 : A.default) == null ? void 0 : v.meta) != null && E.initialisationTime ? (u(), g("div", ta, "Update: " + I(s.computeDateZ((_ = (k = (w = h == null ? void 0 : h.update) == null ? void 0 : w.default) == null ? void 0 : k.meta) == null ? void 0 : _.initialisationTime)), 1)) : J("", !0)
570
570
  ];
571
571
  }),
572
572
  _: 2
@@ -622,7 +622,7 @@ const ra = {
622
622
  return {
623
623
  source: "wind-barb-source",
624
624
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
625
- empty: S.featureCollection([]),
625
+ empty: M.featureCollection([]),
626
626
  right: 10,
627
627
  bottom: 125,
628
628
  windBarbLoaded: !1
@@ -959,7 +959,7 @@ class We {
959
959
  h.resolution && t.uniform2f(h.resolution, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, i), h.image && t.uniform1i(h.image, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, s), h.color && t.uniform1i(h.color, 1), l != null && l.uvRange && (l != null && l.sRange) && (h.uvRange && t.uniform2f(h.uvRange, l.uvRange[0], l.uvRange[1]), h.sRange && t.uniform2f(h.sRange, l.sRange[0], l.sRange[1])), h.scale && t.uniform1f(h.scale, (l == null ? void 0 : l.scale) || 1);
960
960
  const d = e.getBoundPixel(), A = e.map.getZoom() + 1, v = e.getWorldCopy(d, A);
961
961
  for (const E of v) {
962
- const w = (E[0] - d[0]) * e.ratio, D = (E[1] - d[3]) * e.ratio, _ = E[2] * e.ratio, [f, b, g, C] = [w, _ + w, D, _ + D], y = new Float32Array([f, g, b, g, f, C, f, C, b, g, b, C]);
962
+ const w = (E[0] - d[0]) * e.ratio, k = (E[1] - d[3]) * e.ratio, _ = E[2] * e.ratio, [f, b, m, C] = [w, _ + w, k, _ + k], y = new Float32Array([f, m, b, m, f, C, f, C, b, m, b, C]);
963
963
  t.bindBuffer(t.ARRAY_BUFFER, n), t.bufferData(t.ARRAY_BUFFER, y, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
964
964
  }
965
965
  } catch (h) {
@@ -1008,10 +1008,10 @@ class We {
1008
1008
  });
1009
1009
  }
1010
1010
  }
1011
- class ne {
1011
+ class oe {
1012
1012
  }
1013
1013
  // 顶点渲染
1014
- te(ne, "vertexSchema", `
1014
+ te(oe, "vertexSchema", `
1015
1015
  //canvas 坐标系上的坐标 (x, y)
1016
1016
  attribute vec2 a_position; //像素坐标
1017
1017
  attribute vec2 a_texCoord; //纹理坐标
@@ -1026,7 +1026,7 @@ te(ne, "vertexSchema", `
1026
1026
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
1027
1027
  v_texCoord = a_texCoord;
1028
1028
  }`), // 类如风、流等u v双变量片元渲染
1029
- te(ne, "uvFragmentSchema", `
1029
+ te(oe, "uvFragmentSchema", `
1030
1030
  precision mediump float;
1031
1031
  uniform sampler2D u_image;
1032
1032
  uniform vec2 u_range_u_v;
@@ -1046,7 +1046,7 @@ te(ne, "uvFragmentSchema", `
1046
1046
 
1047
1047
  gl_FragColor = color;
1048
1048
  }`), // 类如浪、气压等单变量片元渲染
1049
- te(ne, "fragmentSchema", `
1049
+ te(oe, "fragmentSchema", `
1050
1050
  precision mediump float;
1051
1051
  uniform sampler2D u_image; // 灰度
1052
1052
  uniform sampler2D u_color; // 色值映射
@@ -3209,7 +3209,7 @@ const la = {
3209
3209
  [1, "rgb(91, 136, 161)"]
3210
3210
  ];
3211
3211
  this.rampColor = this.webgl.setup(this.context, a);
3212
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
3212
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.uvFragmentSchema);
3213
3213
  this.program = e, this.aPositionBuffer = t;
3214
3214
  }
3215
3215
  this.handleParticleSetup();
@@ -3260,10 +3260,10 @@ const la = {
3260
3260
  }, ha = { key: 0 };
3261
3261
  function ca(a, e, t, r, i, s) {
3262
3262
  var n;
3263
- return (n = t.factor) != null && n.active ? (m(), u("div", ha, [
3263
+ return (n = t.factor) != null && n.active ? (u(), g("div", ha, [
3264
3264
  o("div", {
3265
3265
  class: "legend-bars flex-center",
3266
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3266
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3267
3267
  }, e[0] || (e[0] = [
3268
3268
  o("span", null, "kts", -1),
3269
3269
  o("span", null, "0", -1),
@@ -3318,7 +3318,7 @@ const pa = {
3318
3318
  directionLayer: "current-direction-layer",
3319
3319
  speedLayer: "current-speed-layer",
3320
3320
  speedLabelLayer: "current-speed-label-layer",
3321
- empty: S.featureCollection([]),
3321
+ empty: M.featureCollection([]),
3322
3322
  right: 10,
3323
3323
  bottom: 95
3324
3324
  };
@@ -3537,7 +3537,7 @@ const ga = {
3537
3537
  [1, "rgb(195,194,194)"]
3538
3538
  ];
3539
3539
  this.rampColor = this.webgl.setup(this.context, a);
3540
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
3540
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.uvFragmentSchema);
3541
3541
  this.program = e, this.aPositionBuffer = t;
3542
3542
  }
3543
3543
  this.handleParticleSetup();
@@ -3593,10 +3593,10 @@ const ga = {
3593
3593
  }, ya = { key: 0 };
3594
3594
  function fa(a, e, t, r, i, s) {
3595
3595
  var n;
3596
- return (n = t.factor) != null && n.active ? (m(), u("div", ya, [
3596
+ return (n = t.factor) != null && n.active ? (u(), g("div", ya, [
3597
3597
  o("div", {
3598
3598
  class: "legend-bars flex-center",
3599
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3599
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3600
3600
  }, e[0] || (e[0] = [
3601
3601
  o("span", null, "kts", -1),
3602
3602
  o("span", null, "0", -1),
@@ -3629,7 +3629,7 @@ const Aa = /* @__PURE__ */ U(ga, [["render", fa], ["__scopeId", "data-v-02a8206f
3629
3629
  source: "sig-wave-source",
3630
3630
  heightLayer: "sig-wave-height-layer",
3631
3631
  heightLabelLayer: "sig-wave-height-label-layer",
3632
- empty: S.featureCollection([])
3632
+ empty: M.featureCollection([])
3633
3633
  };
3634
3634
  },
3635
3635
  watch: {
@@ -3737,7 +3737,7 @@ const Aa = /* @__PURE__ */ U(ga, [["render", fa], ["__scopeId", "data-v-02a8206f
3737
3737
  }
3738
3738
  };
3739
3739
  function va(a, e, t, r, i, s) {
3740
- return m(), u("div");
3740
+ return u(), g("div");
3741
3741
  }
3742
3742
  const ba = /* @__PURE__ */ U(wa, [["render", va]]), La = {
3743
3743
  name: "IdmSwell",
@@ -3761,7 +3761,7 @@ const ba = /* @__PURE__ */ U(wa, [["render", va]]), La = {
3761
3761
  directionLayer: "swell-direction-layer",
3762
3762
  heightLayer: "swell-height-layer",
3763
3763
  heightLabelLayer: "swell-height-label-layer",
3764
- empty: S.featureCollection([])
3764
+ empty: M.featureCollection([])
3765
3765
  };
3766
3766
  },
3767
3767
  watch: {
@@ -3895,7 +3895,7 @@ const ba = /* @__PURE__ */ U(wa, [["render", va]]), La = {
3895
3895
  }
3896
3896
  };
3897
3897
  function Ca(a, e, t, r, i, s) {
3898
- return m(), u("div");
3898
+ return u(), g("div");
3899
3899
  }
3900
3900
  const xa = /* @__PURE__ */ U(La, [["render", Ca]]), _a = {
3901
3901
  name: "IdmPrmsl",
@@ -3922,7 +3922,7 @@ const xa = /* @__PURE__ */ U(La, [["render", Ca]]), _a = {
3922
3922
  layer: "prmsl-layer",
3923
3923
  labelLayer: "prmsl-label-layer",
3924
3924
  pointLabelLayer: "prmsl-point-label-layer",
3925
- empty: S.featureCollection([])
3925
+ empty: M.featureCollection([])
3926
3926
  };
3927
3927
  },
3928
3928
  watch: {
@@ -4033,7 +4033,7 @@ const xa = /* @__PURE__ */ U(La, [["render", Ca]]), _a = {
4033
4033
  }
4034
4034
  };
4035
4035
  function Ba(a, e, t, r, i, s) {
4036
- return m(), u("div");
4036
+ return u(), g("div");
4037
4037
  }
4038
4038
  const Ia = /* @__PURE__ */ U(_a, [["render", Ba]]);
4039
4039
  const Ea = {
@@ -4124,7 +4124,7 @@ const Ea = {
4124
4124
  // 100%
4125
4125
  ];
4126
4126
  this.rampColor = this.webgl.setup(this.context, a);
4127
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4127
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4128
4128
  this.program = e, this.aPositionBuffer = t;
4129
4129
  }
4130
4130
  },
@@ -4137,13 +4137,13 @@ const Ea = {
4137
4137
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4138
4138
  }
4139
4139
  }
4140
- }, Da = { key: 0 };
4141
- function ka(a, e, t, r, i, s) {
4140
+ }, ka = { key: 0 };
4141
+ function Da(a, e, t, r, i, s) {
4142
4142
  var n;
4143
- return (n = t.factor) != null && n.active ? (m(), u("div", Da, [
4143
+ return (n = t.factor) != null && n.active ? (u(), g("div", ka, [
4144
4144
  o("div", {
4145
4145
  class: "legend-bars flex-center",
4146
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4146
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4147
4147
  }, e[0] || (e[0] = [
4148
4148
  o("span", null, null, -1),
4149
4149
  o("span", { style: { display: "inline-block", position: "relative", left: "-10px" } }, "%", -1),
@@ -4160,7 +4160,7 @@ function ka(a, e, t, r, i, s) {
4160
4160
  ]), 4)
4161
4161
  ])) : J("", !0);
4162
4162
  }
4163
- const za = /* @__PURE__ */ U(Ea, [["render", ka], ["__scopeId", "data-v-ae31802c"]]);
4163
+ const za = /* @__PURE__ */ U(Ea, [["render", Da], ["__scopeId", "data-v-ae31802c"]]);
4164
4164
  const Pa = {
4165
4165
  name: "IdmCover",
4166
4166
  props: {
@@ -4240,7 +4240,7 @@ const Pa = {
4240
4240
  // 100%
4241
4241
  ];
4242
4242
  this.rampColor = this.webgl.setup(this.context, a);
4243
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4243
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4244
4244
  this.program = e, this.aPositionBuffer = t;
4245
4245
  }
4246
4246
  },
@@ -4256,10 +4256,10 @@ const Pa = {
4256
4256
  }, Ma = { key: 0 };
4257
4257
  function Sa(a, e, t, r, i, s) {
4258
4258
  var n;
4259
- return (n = t.factor) != null && n.active ? (m(), u("div", Ma, [
4259
+ return (n = t.factor) != null && n.active ? (u(), g("div", Ma, [
4260
4260
  o("div", {
4261
4261
  class: "legend-bars flex-center",
4262
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4262
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4263
4263
  }, e[0] || (e[0] = [
4264
4264
  o("span", null, "%", -1),
4265
4265
  o("span", null, "20", -1),
@@ -4358,7 +4358,7 @@ const Qa = {
4358
4358
  // 4m
4359
4359
  ];
4360
4360
  this.rampColor = this.webgl.setup(this.context, a);
4361
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
4361
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
4362
4362
  this.program = e, this.aPositionBuffer = t;
4363
4363
  }
4364
4364
  },
@@ -4374,10 +4374,10 @@ const Qa = {
4374
4374
  }, Ha = { key: 0 };
4375
4375
  function Na(a, e, t, r, i, s) {
4376
4376
  var n;
4377
- return (n = t.factor) != null && n.active ? (m(), u("div", Ha, [
4377
+ return (n = t.factor) != null && n.active ? (u(), g("div", Ha, [
4378
4378
  o("div", {
4379
4379
  class: "legend-bars flex-center",
4380
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4380
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4381
4381
  }, e[0] || (e[0] = [
4382
4382
  o("span", null, "m", -1),
4383
4383
  o("span", null, "0", -1),
@@ -4735,11 +4735,11 @@ class ht {
4735
4735
  }), i;
4736
4736
  }
4737
4737
  static pickHourly(e, t) {
4738
- var r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De;
4738
+ var r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke;
4739
4739
  const re = typeof t == "string" ? ee(t) : t, ce = e == null ? void 0 : e.weather, Q = e == null ? void 0 : e.marine, Be = ee((i = (r = ce == null ? void 0 : ce[0]) == null ? void 0 : r.hourly) == null ? void 0 : i.date).utc(), K = Be.clone().add((l = (n = (s = ce == null ? void 0 : ce[0]) == null ? void 0 : s.hourly) == null ? void 0 : n.time) == null ? void 0 : l.at(0), "h"), q = Be.clone().add((h = (p = (c = ce == null ? void 0 : ce[0]) == null ? void 0 : c.hourly) == null ? void 0 : p.time) == null ? void 0 : h.at(-1), "h"), Me = [];
4740
4740
  if (re.isBetween(K, q, "millisecond", "[]")) {
4741
4741
  const P = re.utc().diff(K, "h", !1);
4742
- let de, ke;
4742
+ let de, De;
4743
4743
  if (ce) {
4744
4744
  let Se = 0, Te = 0;
4745
4745
  for (const z of ce) {
@@ -4752,7 +4752,7 @@ class ht {
4752
4752
  temp: (v = O == null ? void 0 : O.temperature_2m) == null ? void 0 : v.at(P),
4753
4753
  apparentTemp: (E = O == null ? void 0 : O.apparent_temperature) == null ? void 0 : E.at(P),
4754
4754
  rh: (w = O == null ? void 0 : O.relative_humidity_2m) == null ? void 0 : w.at(P),
4755
- dp: (D = O == null ? void 0 : O.dew_point_2m) == null ? void 0 : D.at(P),
4755
+ dp: (k = O == null ? void 0 : O.dew_point_2m) == null ? void 0 : k.at(P),
4756
4756
  precip: {
4757
4757
  probability: (_ = O == null ? void 0 : O.precipitation_probability) == null ? void 0 : _.at(P),
4758
4758
  sum: (f = O == null ? void 0 : O.precipitation) == null ? void 0 : f.at(P),
@@ -4760,13 +4760,13 @@ class ht {
4760
4760
  sum6Hours: Math.round(Te * 100) / 100
4761
4761
  },
4762
4762
  pmsl: (b = O == null ? void 0 : O.pressure_msl) == null ? void 0 : b.at(P),
4763
- psurf: (g = O == null ? void 0 : O.surface_pressure) == null ? void 0 : g.at(P),
4763
+ psurf: (m = O == null ? void 0 : O.surface_pressure) == null ? void 0 : m.at(P),
4764
4764
  code: (C = O == null ? void 0 : O.weather_code) == null ? void 0 : C.at(P),
4765
4765
  visibility: this.m2nm((y = O == null ? void 0 : O.visibility) == null ? void 0 : y.at(P)),
4766
4766
  wind: {
4767
4767
  speed: (L = O == null ? void 0 : O.wind_speed_10m) == null ? void 0 : L.at(P),
4768
- kts: (T = O == null ? void 0 : O.wind_speed_10m) == null ? void 0 : T.at(P),
4769
- degree: (k = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : k.at(P),
4768
+ kts: (S = O == null ? void 0 : O.wind_speed_10m) == null ? void 0 : S.at(P),
4769
+ degree: (D = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : D.at(P),
4770
4770
  bearing: ((F = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : F.at(P)) !== null ? (((N = O == null ? void 0 : O.wind_direction_10m) == null ? void 0 : N.at(P)) + 180) % 360 : null,
4771
4771
  gusts: (j = O == null ? void 0 : O.wind_gusts_10m) == null ? void 0 : j.at(P)
4772
4772
  },
@@ -4784,7 +4784,7 @@ class ht {
4784
4784
  let Se = 0;
4785
4785
  for (const Te of Q) {
4786
4786
  const z = Te == null ? void 0 : Te.hourly;
4787
- ke = {
4787
+ De = {
4788
4788
  wave: {
4789
4789
  sig: {
4790
4790
  height: (W = z == null ? void 0 : z.wave_height) == null ? void 0 : W.at(P),
@@ -4814,8 +4814,8 @@ class ht {
4814
4814
  bearing: ((Ee = z == null ? void 0 : z.ocean_current_direction) == null ? void 0 : Ee.at(P)) ?? null
4815
4815
  },
4816
4816
  sst: (He = z == null ? void 0 : z.sea_surface_temperature) == null ? void 0 : He.at(P),
4817
- height: (De = z == null ? void 0 : z.sea_level_height_msl) == null ? void 0 : De.at(P)
4818
- }, ke.wave = this.parseWave(ke.wave, de == null ? void 0 : de.wind), ke.current.direction = this.degree2Direction(ke.current.degree), Object.assign(Me[Se], ke), Se++;
4817
+ height: (ke = z == null ? void 0 : z.sea_level_height_msl) == null ? void 0 : ke.at(P)
4818
+ }, De.wave = this.parseWave(De.wave, de == null ? void 0 : de.wind), De.current.direction = this.degree2Direction(De.current.degree), Object.assign(Me[Se], De), Se++;
4819
4819
  }
4820
4820
  }
4821
4821
  }
@@ -4844,8 +4844,8 @@ class ht {
4844
4844
  };
4845
4845
  }
4846
4846
  static pickDaily(e, t) {
4847
- var r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B;
4848
- const ze = typeof t == "string" ? ee(t) : t, ve = e == null ? void 0 : e.weather, Pe = e == null ? void 0 : e.marine, Ee = ee((s = (i = (r = ve == null ? void 0 : ve[0]) == null ? void 0 : r.daily) == null ? void 0 : i.time) == null ? void 0 : s.at(0)), He = ee((c = (l = (n = ve == null ? void 0 : ve[0]) == null ? void 0 : n.daily) == null ? void 0 : l.time) == null ? void 0 : c.at(-1)), De = [];
4847
+ var r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B;
4848
+ const ze = typeof t == "string" ? ee(t) : t, ve = e == null ? void 0 : e.weather, Pe = e == null ? void 0 : e.marine, Ee = ee((s = (i = (r = ve == null ? void 0 : ve[0]) == null ? void 0 : r.daily) == null ? void 0 : i.time) == null ? void 0 : s.at(0)), He = ee((c = (l = (n = ve == null ? void 0 : ve[0]) == null ? void 0 : n.daily) == null ? void 0 : l.time) == null ? void 0 : c.at(-1)), ke = [];
4849
4849
  if (ze.isBetween(Ee, He, "millisecond", "[]")) {
4850
4850
  let re, ce;
4851
4851
  const Q = ze.diff(Ee, "d", !1);
@@ -4865,11 +4865,11 @@ class ht {
4865
4865
  },
4866
4866
  precip: {
4867
4867
  sum: (w = K.precipitation_sum) == null ? void 0 : w.at(Q),
4868
- rainSum: (D = K.rain_sum) == null ? void 0 : D.at(Q),
4868
+ rainSum: (k = K.rain_sum) == null ? void 0 : k.at(Q),
4869
4869
  snowfallSum: (_ = K.snowfall_sum) == null ? void 0 : _.at(Q),
4870
4870
  showersSum: (f = K.showers_sum) == null ? void 0 : f.at(Q),
4871
4871
  hours: (b = K.precipitation_hours) == null ? void 0 : b.at(Q),
4872
- probability: (g = K.precipitation_probability_max) == null ? void 0 : g.at(Q)
4872
+ probability: (m = K.precipitation_probability_max) == null ? void 0 : m.at(Q)
4873
4873
  },
4874
4874
  rh: {
4875
4875
  max: (C = K.relative_humidity_2m_max) == null ? void 0 : C.at(Q),
@@ -4877,15 +4877,15 @@ class ht {
4877
4877
  mean: (L = K.relative_humidity_2m_mean) == null ? void 0 : L.at(Q)
4878
4878
  },
4879
4879
  wind: {
4880
- speed: (T = K.wind_speed_10m_max) == null ? void 0 : T.at(Q),
4881
- kts: (k = K.wind_speed_10m_max) == null ? void 0 : k.at(Q),
4880
+ speed: (S = K.wind_speed_10m_max) == null ? void 0 : S.at(Q),
4881
+ kts: (D = K.wind_speed_10m_max) == null ? void 0 : D.at(Q),
4882
4882
  degree: (F = K.wind_direction_10m_dominant) == null ? void 0 : F.at(Q),
4883
4883
  gusts: (N = K.wind_gusts_10m_max) == null ? void 0 : N.at(Q),
4884
4884
  bearing: ((j = K.wind_direction_10m_dominant) == null ? void 0 : j.at(Q)) !== null ? (((G = K.wind_direction_10m_dominant) == null ? void 0 : G.at(Q)) + 180) % 360 : null
4885
4885
  }
4886
4886
  };
4887
4887
  const { name: q, url: Me, bg: P } = this.parseWeatherCode(re.code, !0);
4888
- re.name = q, re.url = Me, re.bg = P, re.wind.scale = this.beaufort(this.kts2ms(re.wind.kts)), re.wind.direction = this.degree2Direction(re.wind.degree), De.push({
4888
+ re.name = q, re.url = Me, re.bg = P, re.wind.scale = this.beaufort(this.kts2ms(re.wind.kts)), re.wind.direction = this.degree2Direction(re.wind.degree), ke.push({
4889
4889
  utc: Ee.add(Q, "d").utc().format(),
4890
4890
  model: Be.model,
4891
4891
  weather: { ...re }
@@ -4918,11 +4918,11 @@ class ht {
4918
4918
  bearing: ((_e = q.wind_wave_direction_dominant) == null ? void 0 : _e.at(Q)) !== null ? (((B = q.wind_wave_direction_dominant) == null ? void 0 : B.at(Q)) + 180) % 360 : null
4919
4919
  }
4920
4920
  }
4921
- }, ce.wave = this.parseWave(ce.wave, re == null ? void 0 : re.wind), Object.assign(De[Be], ce), Be++;
4921
+ }, ce.wave = this.parseWave(ce.wave, re == null ? void 0 : re.wind), Object.assign(ke[Be], ce), Be++;
4922
4922
  }
4923
4923
  }
4924
4924
  }
4925
- return De;
4925
+ return ke;
4926
4926
  }
4927
4927
  static parseWave(e, t) {
4928
4928
  if (e.sig.direction = this.degree2Direction(e.sig.degree), e.swell.direction = this.degree2Direction(e.swell.degree), e.wd.direction = this.degree2Direction(e.wd.degree), e.sig.scale = this.douglas(e.sig.height), e.swell.scale = this.douglas(e.swell.height), e.wd.scale = this.douglas(e.wd.height), e.sig.height === 0) {
@@ -5353,9 +5353,9 @@ const Oa = {
5353
5353
  showTropicals: !1,
5354
5354
  activeTropicals: void 0,
5355
5355
  activeTropicalsMarker: void 0,
5356
- empty: S.featureCollection([]),
5356
+ empty: M.featureCollection([]),
5357
5357
  circleSource: "circle-source",
5358
- circleSourceData: S.featureCollection([]),
5358
+ circleSourceData: M.featureCollection([]),
5359
5359
  circleLayer: "tropical-circle-layer"
5360
5360
  };
5361
5361
  },
@@ -5683,9 +5683,9 @@ const Oa = {
5683
5683
  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), (a = this.interpolateMarkers) == null || a.forEach((e) => e == null ? void 0 : e.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
5684
5684
  },
5685
5685
  handleDateChange() {
5686
- var a, e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me;
5686
+ var a, e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S, D, F, N, j, G, W, me;
5687
5687
  if ((a = this.interpolateMarkers) == null || a.forEach((he) => he == null ? void 0 : he.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
5688
- const he = ee(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ue = this.interpolateData.filter((Y) => Y.properties.date === he.format() && !Y.properties.disabled), fe = this.handleComputePolygons(ue), ge = S.featureCollection([...ue]);
5688
+ const he = ee(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ue = this.interpolateData.filter((Y) => Y.properties.date === he.format() && !Y.properties.disabled), fe = this.handleComputePolygons(ue), ge = M.featureCollection([...ue]);
5689
5689
  fe.forEach((Y) => {
5690
5690
  ge.features.push(Y);
5691
5691
  }), (t = this.map) != null && t.getSource(this.interpolateSource) ? (r = this.map) == null || r.getSource(this.interpolateSource).setData(ge) : ((i = this.map) == null || i.addSource(this.interpolateSource, {
@@ -5705,7 +5705,7 @@ const Oa = {
5705
5705
  for (const Y of ue)
5706
5706
  if (!Y.properties.disabled) {
5707
5707
  let ae = "#f44336";
5708
- ((l = (n = Y.properties) == null ? void 0 : n.wind) == null ? void 0 : l.kts) < 32 || !((p = (c = Y.properties) == null ? void 0 : c.wind) != null && p.kts) ? ae = "#03f869" : ((d = (h = Y.properties) == null ? void 0 : h.wind) == null ? void 0 : d.kts) >= 32 && ((v = (A = Y.properties) == null ? void 0 : A.wind) == null ? void 0 : v.kts) < 47 ? ae = "#f2f202" : ((w = (E = Y.properties) == null ? void 0 : E.wind) == null ? void 0 : w.kts) >= 47 && ((_ = (D = Y.properties) == null ? void 0 : D.wind) == null ? void 0 : _.kts) < 63 ? ae = "#ff9100" : ((b = (f = Y.properties) == null ? void 0 : f.wind) == null ? void 0 : b.kts) >= 63 && ((C = (g = Y.properties) == null ? void 0 : g.wind) == null ? void 0 : C.kts) < 79 ? ae = "#f44336" : ((L = (y = Y.properties) == null ? void 0 : y.wind) == null ? void 0 : L.kts) >= 79 && ((k = (T = Y.properties) == null ? void 0 : T.wind) == null ? void 0 : k.kts) < 94 ? ae = "#f903d0" : ((N = (F = Y.properties) == null ? void 0 : F.wind) == null ? void 0 : N.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
5708
+ ((l = (n = Y.properties) == null ? void 0 : n.wind) == null ? void 0 : l.kts) < 32 || !((p = (c = Y.properties) == null ? void 0 : c.wind) != null && p.kts) ? ae = "#03f869" : ((d = (h = Y.properties) == null ? void 0 : h.wind) == null ? void 0 : d.kts) >= 32 && ((v = (A = Y.properties) == null ? void 0 : A.wind) == null ? void 0 : v.kts) < 47 ? ae = "#f2f202" : ((w = (E = Y.properties) == null ? void 0 : E.wind) == null ? void 0 : w.kts) >= 47 && ((_ = (k = Y.properties) == null ? void 0 : k.wind) == null ? void 0 : _.kts) < 63 ? ae = "#ff9100" : ((b = (f = Y.properties) == null ? void 0 : f.wind) == null ? void 0 : b.kts) >= 63 && ((C = (m = Y.properties) == null ? void 0 : m.wind) == null ? void 0 : C.kts) < 79 ? ae = "#f44336" : ((L = (y = Y.properties) == null ? void 0 : y.wind) == null ? void 0 : L.kts) >= 79 && ((D = (S = Y.properties) == null ? void 0 : S.wind) == null ? void 0 : D.kts) < 94 ? ae = "#f903d0" : ((N = (F = Y.properties) == null ? void 0 : F.wind) == null ? void 0 : N.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
5709
5709
  const Ae = `<svg t="1719918955501"
5710
5710
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
5711
5711
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -5758,7 +5758,7 @@ const Oa = {
5758
5758
  p.properties.category === e && (p.properties.disabled = a.disabled);
5759
5759
  }), this.interpolateData.forEach((p) => {
5760
5760
  p.properties.category === e && (p.properties.disabled = a.disabled);
5761
- }), (n = (s = this.map) == null ? void 0 : s.getSource(this.source)) == null || n.setData(S.featureCollection(t)), (c = (l = this.map) == null ? void 0 : l.getSource(this.clusterSource)) == null || c.setData(S.featureCollection(t)), this.handleDateChange();
5761
+ }), (n = (s = this.map) == null ? void 0 : s.getSource(this.source)) == null || n.setData(M.featureCollection(t)), (c = (l = this.map) == null ? void 0 : l.getSource(this.clusterSource)) == null || c.setData(M.featureCollection(t)), this.handleDateChange();
5762
5762
  },
5763
5763
  handleStrikeProbability(a) {
5764
5764
  this.$emit("tropicalProbability", a);
@@ -5815,22 +5815,22 @@ const Oa = {
5815
5815
  let c;
5816
5816
  switch (n) {
5817
5817
  case "ne":
5818
- c = S.lineArc(a, l, 0, 90, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5818
+ c = M.lineArc(a, l, 0, 90, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5819
5819
  break;
5820
5820
  case "se":
5821
- c = S.lineArc(a, l, 90, 180, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5821
+ c = M.lineArc(a, l, 90, 180, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5822
5822
  break;
5823
5823
  case "sw":
5824
- c = S.lineArc(a, l, 180, 270, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5824
+ c = M.lineArc(a, l, 180, 270, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5825
5825
  break;
5826
5826
  case "nw":
5827
- c = S.lineArc(a, l, 270, 360, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5827
+ c = M.lineArc(a, l, 270, 360, { steps: l > 0 ? 32 : 1, units: "nauticalmiles" });
5828
5828
  break;
5829
5829
  }
5830
5830
  r.push(...(s = c == null ? void 0 : c.geometry) == null ? void 0 : s.coordinates);
5831
5831
  }
5832
- const i = S.lineString(r);
5833
- return S.lineToPolygon(i, { properties: t });
5832
+ const i = M.lineString(r);
5833
+ return M.lineToPolygon(i, { properties: t });
5834
5834
  }
5835
5835
  }
5836
5836
  }, Ra = {
@@ -5856,30 +5856,30 @@ const Oa = {
5856
5856
  style: { "justify-content": "flex-start" }
5857
5857
  }, ai = { class: "forecast-models" }, ii = ["onClick"], ri = { class: "more" };
5858
5858
  function si(a, e, t, r, i, s) {
5859
- var n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T;
5860
- return Fe((m(), u("div", Ra, [
5859
+ var n, l, c, p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S;
5860
+ return Fe((u(), g("div", Ra, [
5861
5861
  o("div", ja, [
5862
5862
  o("div", {
5863
5863
  class: "iconfont close-btn",
5864
- onClick: e[0] || (e[0] = (k) => i.showTropicals = !1)
5864
+ onClick: e[0] || (e[0] = (D) => i.showTropicals = !1)
5865
5865
  }, ""),
5866
5866
  o("div", Wa, [
5867
- (l = (n = i.activeTropicals) == null ? void 0 : n.history) != null && l.level ? (m(), u("span", Ga, I((p = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : p.level) + " , ", 1)) : J("", !0),
5868
- le(I((h = i.activeTropicals) == null ? void 0 : h.name), 1)
5867
+ (l = (n = i.activeTropicals) == null ? void 0 : n.history) != null && l.level ? (u(), g("span", Ga, I((p = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : p.level) + " , ", 1)) : J("", !0),
5868
+ ne(I((h = i.activeTropicals) == null ? void 0 : h.name), 1)
5869
5869
  ]),
5870
- o("div", Ua, " Last update: " + I(s.computeTime(((A = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : A.updated) || ((w = (E = (v = i.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : E.filter((k) => !k.disabled)[0]) == null ? void 0 : w.date))), 1)
5870
+ o("div", Ua, " Last update: " + I(s.computeTime(((A = (d = i.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : A.updated) || ((w = (E = (v = i.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : E.filter((D) => !D.disabled)[0]) == null ? void 0 : w.date))), 1)
5871
5871
  ]),
5872
5872
  o("div", Ya, [
5873
5873
  o("div", Ka, [
5874
5874
  o("div", Xa, [
5875
5875
  o("div", Ja, [
5876
5876
  e[2] || (e[2] = o("label", null, "Wind speed : ", -1)),
5877
- o("span", null, I(((_ = (D = i.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : _.kts) || "-") + " [kts]", 1),
5877
+ o("span", null, I(((_ = (k = i.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : _.kts) || "-") + " [kts]", 1),
5878
5878
  o("span", null, ", BF " + I(s.computeBF(((b = (f = i.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : b.kts) || 0)), 1)
5879
5879
  ]),
5880
5880
  o("div", qa, [
5881
5881
  e[3] || (e[3] = o("label", null, "Pressure : ", -1)),
5882
- o("span", null, I(((C = (g = i.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : C.pressure) || "-") + " [hPa]", 1)
5882
+ o("span", null, I(((C = (m = i.activeTropicals) == null ? void 0 : m.history) == null ? void 0 : C.pressure) || "-") + " [hPa]", 1)
5883
5883
  ])
5884
5884
  ]),
5885
5885
  o("div", Va, [
@@ -5896,20 +5896,20 @@ function si(a, e, t, r, i, s) {
5896
5896
  o("div", ti, [
5897
5897
  e[6] || (e[6] = o("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
5898
5898
  o("div", ai, [
5899
- (m(!0), u(V, null, $((T = i.activeTropicals) == null ? void 0 : T.forecasts, (k, F) => {
5899
+ (u(!0), g(Z, null, $((S = i.activeTropicals) == null ? void 0 : S.forecasts, (D, F) => {
5900
5900
  var N, j, G, W;
5901
- return m(), u("div", {
5901
+ return u(), g("div", {
5902
5902
  key: F,
5903
- class: Z([
5903
+ class: V([
5904
5904
  "model",
5905
- k.disabled ? "" : "active",
5905
+ D.disabled ? "" : "active",
5906
5906
  F > 0 && F < ((j = (N = i.activeTropicals) == null ? void 0 : N.forecasts) == null ? void 0 : j.length) - 1 && ((W = (G = i.activeTropicals) == null ? void 0 : G.forecasts) == null ? void 0 : W.length) > 2 ? "center-child" : ""
5907
5907
  ]),
5908
- onClick: (me) => s.handleForecastToggle(k)
5908
+ onClick: (me) => s.handleForecastToggle(D)
5909
5909
  }, [
5910
5910
  o("span", {
5911
- class: Z(k.model)
5912
- }, I(k.model), 3)
5911
+ class: V(D.model)
5912
+ }, I(D.model), 3)
5913
5913
  ], 10, ii);
5914
5914
  }), 128))
5915
5915
  ])
@@ -5920,7 +5920,7 @@ function si(a, e, t, r, i, s) {
5920
5920
  o("div", ri, [
5921
5921
  o("div", {
5922
5922
  class: "button",
5923
- onClick: e[1] || (e[1] = (k) => s.handleStrikeProbability(i.activeTropicals))
5923
+ onClick: e[1] || (e[1] = (D) => s.handleStrikeProbability(i.activeTropicals))
5924
5924
  }, "Strike Probability >>")
5925
5925
  ])
5926
5926
  ])
@@ -6017,7 +6017,7 @@ const oi = {
6017
6017
  [1, "rgba(197,5,58,0.8)"]
6018
6018
  ];
6019
6019
  this.rampColor = this.webgl.setup(this.context, a);
6020
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6020
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6021
6021
  this.program = e, this.aPositionBuffer = t;
6022
6022
  }
6023
6023
  },
@@ -6033,10 +6033,10 @@ const oi = {
6033
6033
  }, ni = { key: 0 };
6034
6034
  function li(a, e, t, r, i, s) {
6035
6035
  var n;
6036
- return (n = t.factor) != null && n.active ? (m(), u("div", ni, [
6036
+ return (n = t.factor) != null && n.active ? (u(), g("div", ni, [
6037
6037
  o("div", {
6038
6038
  class: "legend-bars flex-center",
6039
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6039
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6040
6040
  }, e[0] || (e[0] = [
6041
6041
  o("span", null, "mm", -1),
6042
6042
  o("span", null, "1.5", -1),
@@ -6131,7 +6131,7 @@ const ci = {
6131
6131
  [1, "rgba(144,144,144,0)"]
6132
6132
  ];
6133
6133
  this.rampColor = this.webgl.setup(this.context, a);
6134
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6134
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6135
6135
  this.program = e, this.aPositionBuffer = t;
6136
6136
  }
6137
6137
  },
@@ -6147,10 +6147,10 @@ const ci = {
6147
6147
  }, di = { key: 0 };
6148
6148
  function pi(a, e, t, r, i, s) {
6149
6149
  var n;
6150
- return (n = t.factor) != null && n.active ? (m(), u("div", di, [
6150
+ return (n = t.factor) != null && n.active ? (u(), g("div", di, [
6151
6151
  o("div", {
6152
6152
  class: "legend-bars flex-center",
6153
- style: oe([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
6153
+ style: le([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
6154
6154
  }, e[0] || (e[0] = [
6155
6155
  o("span", null, "nm", -1),
6156
6156
  o("span", null, "0", -1),
@@ -6251,7 +6251,7 @@ const ui = {
6251
6251
  //
6252
6252
  ];
6253
6253
  this.rampColor = this.webgl.setup(this.context, a);
6254
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6254
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6255
6255
  this.program = e, this.aPositionBuffer = t;
6256
6256
  }
6257
6257
  },
@@ -6267,10 +6267,10 @@ const ui = {
6267
6267
  }, gi = { key: 0 };
6268
6268
  function yi(a, e, t, r, i, s) {
6269
6269
  var n;
6270
- return (n = t.factor) != null && n.active ? (m(), u("div", gi, [
6270
+ return (n = t.factor) != null && n.active ? (u(), g("div", gi, [
6271
6271
  o("div", {
6272
6272
  class: "legend-bars flex-center",
6273
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6273
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6274
6274
  }, e[0] || (e[0] = [
6275
6275
  o("span", null, "°C", -1),
6276
6276
  o("span", null, "0", -1),
@@ -6374,7 +6374,7 @@ const Ai = {
6374
6374
  [1, "rgb(138, 43, 10)"]
6375
6375
  ];
6376
6376
  this.rampColor = this.webgl.setup(this.context, a);
6377
- const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
6377
+ const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, oe.vertexSchema, oe.fragmentSchema);
6378
6378
  this.program = e, this.aPositionBuffer = t;
6379
6379
  }
6380
6380
  },
@@ -6390,10 +6390,10 @@ const Ai = {
6390
6390
  }, wi = { key: 0 };
6391
6391
  function vi(a, e, t, r, i, s) {
6392
6392
  var n;
6393
- return (n = t.factor) != null && n.active ? (m(), u("div", wi, [
6393
+ return (n = t.factor) != null && n.active ? (u(), g("div", wi, [
6394
6394
  o("div", {
6395
6395
  class: "legend-bars flex-center",
6396
- style: oe([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6396
+ style: le([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
6397
6397
  }, e[0] || (e[0] = [
6398
6398
  o("span", null, "°C", -1),
6399
6399
  o("span", null, "-20", -1),
@@ -6412,7 +6412,7 @@ var Li = /* @__PURE__ */ ft({
6412
6412
  name: "LocationFilled",
6413
6413
  __name: "location-filled",
6414
6414
  setup(a) {
6415
- return (e, t) => (m(), u("svg", {
6415
+ return (e, t) => (u(), g("svg", {
6416
6416
  xmlns: "http://www.w3.org/2000/svg",
6417
6417
  viewBox: "0 0 1024 1024"
6418
6418
  }, [
@@ -6618,7 +6618,7 @@ const _i = {
6618
6618
  initTableData(a) {
6619
6619
  var e, t, r, i, s, n, l, c, p;
6620
6620
  this.clearTable(), this.positionGmt = (t = (e = a == null ? void 0 : a.weather) == null ? void 0 : e[0]) == null ? void 0 : t.timezone, this.positionOffset = (i = (r = a == null ? void 0 : a.weather) == null ? void 0 : r[0]) == null ? void 0 : i.offset, this.localDate = (n = (s = Ye(this.ts)) == null ? void 0 : s.tz(this.positionGmt)) == null ? void 0 : n.format("MMM-DD/HHmm[LT]"), this.currentHourData = (l = Ke.pickHourly(a, ee(this.ts))) == null ? void 0 : l[0], ((p = (c = this.currentHourData) == null ? void 0 : c.weather) == null ? void 0 : p.isDay) === 0 ? this.isDay = !1 : this.isDay = !0, this.$nextTick(() => {
6621
- var d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe;
6621
+ var d, A, v, E, w, k, _, f, b, m, C, y, L, S, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe;
6622
6622
  if (!document.getElementById("meteoMainBox"))
6623
6623
  return !1;
6624
6624
  if (!this.currentHourData)
@@ -6627,7 +6627,7 @@ const _i = {
6627
6627
  const _e = Ye(this.ts).tz(this.positionGmt).add(3 * we, "h").format();
6628
6628
  this.tableData.hours.push(_e);
6629
6629
  const B = ((d = Ke.pickHourly(a, _e)) == null ? void 0 : d[0]) || {};
6630
- this.tableData.temp.push(this.roundPrecision((A = B == null ? void 0 : B.weather) == null ? void 0 : A.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((E = (v = B == null ? void 0 : B.weather) == null ? void 0 : v.precip) == null ? void 0 : E.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((D = (w = B == null ? void 0 : B.weather) == null ? void 0 : w.precip) == null ? void 0 : D.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((_ = B == null ? void 0 : B.weather) == null ? void 0 : _.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((b = (f = B == null ? void 0 : B.weather) == null ? void 0 : f.wind) == null ? void 0 : b.kts, 1) ?? "-"), this.tableData.windDir.push((C = (g = B == null ? void 0 : B.weather) == null ? void 0 : g.wind) == null ? void 0 : C.bearing), this.tableData.windGust.push(this.roundPrecision((L = (y = B == null ? void 0 : B.weather) == null ? void 0 : y.wind) == null ? void 0 : L.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((k = (T = B == null ? void 0 : B.wave) == null ? void 0 : T.sig) == null ? void 0 : k.height, 1) ?? "-"), this.tableData.sigwaveDir.push((N = (F = B == null ? void 0 : B.wave) == null ? void 0 : F.sig) == null ? void 0 : N.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((G = (j = B == null ? void 0 : B.wave) == null ? void 0 : j.wd) == null ? void 0 : G.height, 1) ?? "-"), this.tableData.windwaveDir.push((me = (W = B == null ? void 0 : B.wave) == null ? void 0 : W.wd) == null ? void 0 : me.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((ue = (he = B == null ? void 0 : B.wave) == null ? void 0 : he.wd) == null ? void 0 : ue.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((ge = (fe = B == null ? void 0 : B.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.height, 1) ?? "-"), this.tableData.swellDir.push((ae = (Y = B == null ? void 0 : B.wave) == null ? void 0 : Y.swell) == null ? void 0 : ae.bearing), this.tableData.swellPeriod.push(this.roundPrecision((pe = (Ae = B == null ? void 0 : B.wave) == null ? void 0 : Ae.swell) == null ? void 0 : pe.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((ye = B == null ? void 0 : B.current) == null ? void 0 : ye.speed, 1) ?? "-"), this.tableData.currentDir.push((Le = B == null ? void 0 : B.current) == null ? void 0 : Le.bearing), this.tableData.seaLevel.push(this.roundPrecision(B == null ? void 0 : B.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(B == null ? void 0 : B.sst, 0) ?? "-"), this.tableData.weatherUrls.push((Ce = B == null ? void 0 : B.weather) == null ? void 0 : Ce.url), this.tableData.weatherNames.push(((xe = B == null ? void 0 : B.weather) == null ? void 0 : xe.name) ?? "-");
6630
+ this.tableData.temp.push(this.roundPrecision((A = B == null ? void 0 : B.weather) == null ? void 0 : A.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((E = (v = B == null ? void 0 : B.weather) == null ? void 0 : v.precip) == null ? void 0 : E.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((k = (w = B == null ? void 0 : B.weather) == null ? void 0 : w.precip) == null ? void 0 : k.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((_ = B == null ? void 0 : B.weather) == null ? void 0 : _.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((b = (f = B == null ? void 0 : B.weather) == null ? void 0 : f.wind) == null ? void 0 : b.kts, 1) ?? "-"), this.tableData.windDir.push((C = (m = B == null ? void 0 : B.weather) == null ? void 0 : m.wind) == null ? void 0 : C.bearing), this.tableData.windGust.push(this.roundPrecision((L = (y = B == null ? void 0 : B.weather) == null ? void 0 : y.wind) == null ? void 0 : L.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((D = (S = B == null ? void 0 : B.wave) == null ? void 0 : S.sig) == null ? void 0 : D.height, 1) ?? "-"), this.tableData.sigwaveDir.push((N = (F = B == null ? void 0 : B.wave) == null ? void 0 : F.sig) == null ? void 0 : N.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((G = (j = B == null ? void 0 : B.wave) == null ? void 0 : j.wd) == null ? void 0 : G.height, 1) ?? "-"), this.tableData.windwaveDir.push((me = (W = B == null ? void 0 : B.wave) == null ? void 0 : W.wd) == null ? void 0 : me.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((ue = (he = B == null ? void 0 : B.wave) == null ? void 0 : he.wd) == null ? void 0 : ue.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((ge = (fe = B == null ? void 0 : B.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.height, 1) ?? "-"), this.tableData.swellDir.push((ae = (Y = B == null ? void 0 : B.wave) == null ? void 0 : Y.swell) == null ? void 0 : ae.bearing), this.tableData.swellPeriod.push(this.roundPrecision((pe = (Ae = B == null ? void 0 : B.wave) == null ? void 0 : Ae.swell) == null ? void 0 : pe.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((ye = B == null ? void 0 : B.current) == null ? void 0 : ye.speed, 1) ?? "-"), this.tableData.currentDir.push((Le = B == null ? void 0 : B.current) == null ? void 0 : Le.bearing), this.tableData.seaLevel.push(this.roundPrecision(B == null ? void 0 : B.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(B == null ? void 0 : B.sst, 0) ?? "-"), this.tableData.weatherUrls.push((Ce = B == null ? void 0 : B.weather) == null ? void 0 : Ce.url), this.tableData.weatherNames.push(((xe = B == null ? void 0 : B.weather) == null ? void 0 : xe.name) ?? "-");
6631
6631
  }
6632
6632
  });
6633
6633
  },
@@ -6708,68 +6708,68 @@ const _i = {
6708
6708
  }, Bi = {
6709
6709
  id: "point-meteo",
6710
6710
  class: "point-meteo"
6711
- }, Ii = { class: "meteo-box" }, Ei = { class: "header-box flex-between" }, Di = { class: "flex-center" }, ki = { class: "lnglat" }, zi = { class: "flex-center" }, Pi = { class: "summary-row flex-between" }, Mi = { class: "summary flex-center" }, Si = ["src"], Ti = {
6711
+ }, Ii = { class: "meteo-box" }, Ei = { class: "header-box flex-between" }, ki = { class: "flex-center" }, Di = { class: "lnglat" }, zi = { class: "flex-center" }, Pi = { class: "summary-row flex-between" }, Mi = { class: "summary flex-center" }, Si = ["src"], Ti = {
6712
6712
  key: 1,
6713
6713
  class: "icon flex-center",
6714
6714
  style: { "margin-right": "5px" }
6715
- }, Qi = { class: "temp" }, Hi = { class: "des info" }, Ni = { class: "flex-start" }, Fi = { class: "flex-start" }, Oi = { class: "flex-start" }, Ri = { class: "date flex-col-center-end" }, ji = { class: "" }, Wi = { class: "" }, Gi = { class: "detail-box" }, Ui = { class: "menu-header flex-start" }, Yi = { class: "basic-table" }, Ki = { class: "hour" }, Xi = { class: "hour" }, Ji = { class: "icon" }, qi = ["src"], Vi = { class: "text" }, Zi = { class: "text" }, $i = { class: "text" }, er = { class: "text" }, tr = { class: "wave-current-table" }, ar = { class: "hour" }, ir = { class: "hour" }, rr = { class: "text" }, sr = { class: "text" }, or = { class: "text" }, nr = { class: "text" }, lr = { class: "text" }, hr = {
6715
+ }, Qi = { class: "temp" }, Hi = { class: "des info" }, Ni = { class: "flex-start" }, Fi = { class: "flex-start" }, Oi = { class: "flex-start" }, Ri = { class: "date flex-col-center-end" }, ji = { class: "" }, Wi = { class: "" }, Gi = { class: "detail-box" }, Ui = { class: "menu-header flex-start" }, Yi = { class: "basic-table" }, Ki = { class: "hour" }, Xi = { class: "hour" }, Ji = { class: "icon" }, qi = ["src"], Vi = { class: "text" }, Zi = { class: "text" }, $i = { class: "text" }, er = { class: "wave-current-table" }, tr = { class: "hour" }, ar = { class: "hour" }, ir = { class: "text" }, rr = { class: "text" }, sr = { class: "text" }, or = { class: "text" }, nr = { class: "text" }, lr = {
6716
6716
  class: "sea-table",
6717
6717
  style: { height: "92px" }
6718
- }, cr = { class: "hour" }, dr = { class: "hour" }, pr = { class: "text" }, mr = { class: "text" }, ur = { key: 0 }, gr = { class: "tide-table flex-col-start-center" }, yr = { class: "tr-tide flex-space" }, fr = { class: "tr-tide flex-space" }, Ar = { class: "tr-tide flex-space" }, wr = { style: { padding: "17px 10px 18px 10px" } }, vr = { class: "flex-between" }, br = {
6718
+ }, hr = { class: "hour" }, cr = { class: "hour" }, dr = { class: "text" }, pr = { class: "text" }, mr = { key: 0 }, ur = { class: "tide-table flex-col-start-center" }, gr = { class: "tr-tide flex-space" }, yr = { class: "tr-tide flex-space" }, fr = { class: "tr-tide flex-space" }, Ar = { style: { padding: "17px 10px 18px 10px" } }, wr = { class: "flex-between" }, vr = {
6719
6719
  class: "flex-space",
6720
6720
  style: { flex: "1", "line-height": "30px" }
6721
- }, Lr = {
6721
+ }, br = {
6722
6722
  class: "flex-space",
6723
6723
  style: { flex: "1", "padding-left": "30px" }
6724
- }, Cr = { class: "flex-between" }, xr = {
6724
+ }, Lr = { class: "flex-between" }, Cr = {
6725
6725
  class: "flex-space",
6726
6726
  style: { flex: "1", "line-height": "30px" }
6727
- }, _r = {
6727
+ }, xr = {
6728
6728
  class: "flex-space",
6729
6729
  style: { flex: "1", "padding-left": "30px" }
6730
- }, Br = { class: "flex-between" }, Ir = {
6730
+ }, _r = { class: "flex-between" }, Br = {
6731
6731
  class: "flex-space",
6732
6732
  style: { flex: "1", "line-height": "30px" }
6733
- }, Er = {
6733
+ }, Ir = {
6734
6734
  class: "flex-space",
6735
6735
  style: { flex: "1", "padding-left": "30px" }
6736
- }, Dr = { class: "flex-between" }, kr = {
6736
+ }, Er = { class: "flex-between" }, kr = {
6737
6737
  class: "flex-space",
6738
6738
  style: { flex: "1", "line-height": "30px" }
6739
- }, zr = {
6739
+ }, Dr = {
6740
6740
  class: "flex-space",
6741
6741
  style: { flex: "1", "padding-left": "30px" }
6742
- }, Pr = { class: "flex-between" }, Mr = {
6742
+ }, zr = { class: "flex-between" }, Pr = {
6743
6743
  class: "flex-space",
6744
6744
  style: { flex: "1", "line-height": "30px" }
6745
- }, Sr = {
6745
+ }, Mr = {
6746
6746
  class: "flex-space",
6747
6747
  style: { flex: "1", "padding-left": "30px" }
6748
- }, Tr = {
6748
+ }, Sr = {
6749
6749
  key: 1,
6750
6750
  class: "main-box flex-center"
6751
6751
  };
6752
- function Qr(a, e, t, r, i, s) {
6753
- var p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T, k, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De, re, ce, Q, Be, K, q, Me, P, de, ke, Se, Te, z, O, Ge, Ue, ie, Ne, tt, at, it, rt, st, ot;
6752
+ function Tr(a, e, t, r, i, s) {
6753
+ var p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S, D, F, N, j, G, W, me, he, ue, fe, ge, Y, ae, Ae, pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke, re, ce, Q, Be, K, q, Me, P, de, De, Se, Te, z, O, Ge, Ue, ie, Ne, tt, at, it, rt, st, ot;
6754
6754
  const n = R("LocationFilled"), l = R("ElIcon"), c = R("ElTooltip");
6755
- return Fe((m(), u("div", Bi, [
6755
+ return Fe((u(), g("div", Bi, [
6756
6756
  o("div", Ii, [
6757
6757
  o("div", Ei, [
6758
- o("div", Di, [
6758
+ o("div", ki, [
6759
6759
  H(l, { size: "22" }, {
6760
6760
  default: Ie(() => [
6761
6761
  H(n)
6762
6762
  ]),
6763
6763
  _: 1
6764
6764
  }),
6765
- o("div", ki, I(s.computeLat((p = i.point) == null ? void 0 : p.lat)) + "," + I(s.computeLng((h = i.point) == null ? void 0 : h.lng)), 1)
6765
+ o("div", Di, I(s.computeLat((p = i.point) == null ? void 0 : p.lat)) + "," + I(s.computeLng((h = i.point) == null ? void 0 : h.lng)), 1)
6766
6766
  ]),
6767
6767
  o("div", zi, [
6768
- i.showTables ? (m(), u("div", {
6768
+ i.showTables ? (u(), g("div", {
6769
6769
  key: 0,
6770
6770
  class: "iconfont toggle",
6771
6771
  onClick: e[0] || (e[0] = (x) => i.showTables = !i.showTables)
6772
- }, "")) : (m(), u("div", {
6772
+ }, "")) : (u(), g("div", {
6773
6773
  key: 1,
6774
6774
  class: "iconfont toggle",
6775
6775
  onClick: e[1] || (e[1] = (x) => i.showTables = !i.showTables)
@@ -6780,11 +6780,11 @@ function Qr(a, e, t, r, i, s) {
6780
6780
  }, "")
6781
6781
  ])
6782
6782
  ]),
6783
- i.loading ? (m(), u("div", Tr, e[42] || (e[42] = [
6783
+ i.loading ? (u(), g("div", Sr, e[42] || (e[42] = [
6784
6784
  o("img", { src: xi }, null, -1)
6785
- ]))) : (m(), u("div", {
6785
+ ]))) : (u(), g("div", {
6786
6786
  key: 0,
6787
- class: Z(["main-box", i.isDay ? "day-bg" : "night-bg"]),
6787
+ class: V(["main-box", i.isDay ? "day-bg" : "night-bg"]),
6788
6788
  id: "meteoMainBox"
6789
6789
  }, [
6790
6790
  o("div", Pi, [
@@ -6796,28 +6796,28 @@ function Qr(a, e, t, r, i, s) {
6796
6796
  "show-after": 1e3
6797
6797
  }, {
6798
6798
  default: Ie(() => {
6799
- var x, M, nt, lt;
6799
+ var x, T, nt, lt;
6800
6800
  return [
6801
- (M = (x = i.currentHourData) == null ? void 0 : x.weather) != null && M.url ? (m(), u("img", {
6801
+ (T = (x = i.currentHourData) == null ? void 0 : x.weather) != null && T.url ? (u(), g("img", {
6802
6802
  key: 0,
6803
6803
  class: "iconfont icon",
6804
6804
  style: { "margin-right": "5px" },
6805
6805
  src: (lt = (nt = i.currentHourData) == null ? void 0 : nt.weather) == null ? void 0 : lt.url
6806
- }, null, 8, Si)) : (m(), u("span", Ti))
6806
+ }, null, 8, Si)) : (u(), g("span", Ti))
6807
6807
  ];
6808
6808
  }),
6809
6809
  _: 1
6810
6810
  }, 8, ["content"]),
6811
6811
  o("div", Qi, [
6812
6812
  o("div", null, [
6813
- le(I(s.roundPrecision((E = (v = i.currentHourData) == null ? void 0 : v.weather) == null ? void 0 : E.temp, 0)), 1),
6813
+ ne(I(s.roundPrecision((E = (v = i.currentHourData) == null ? void 0 : v.weather) == null ? void 0 : E.temp, 0)), 1),
6814
6814
  e[8] || (e[8] = o("span", { style: { "font-size": "14px" } }, "°C", -1))
6815
6815
  ])
6816
6816
  ]),
6817
6817
  o("div", Hi, [
6818
6818
  o("div", Ni, [
6819
6819
  e[9] || (e[9] = o("label", null, "Precip : ", -1)),
6820
- o("span", null, I(s.roundPrecision((_ = (D = (w = i.currentHourData) == null ? void 0 : w.weather) == null ? void 0 : D.precip) == null ? void 0 : _.sum, 0)) + " mm", 1)
6820
+ o("span", null, I(s.roundPrecision((_ = (k = (w = i.currentHourData) == null ? void 0 : w.weather) == null ? void 0 : k.precip) == null ? void 0 : _.sum, 0)) + " mm", 1)
6821
6821
  ]),
6822
6822
  o("div", Fi, [
6823
6823
  e[10] || (e[10] = o("label", null, "Visibility : ", -1)),
@@ -6825,7 +6825,7 @@ function Qr(a, e, t, r, i, s) {
6825
6825
  ]),
6826
6826
  o("div", Oi, [
6827
6827
  e[11] || (e[11] = o("label", null, "Wind : ", -1)),
6828
- o("span", null, I(s.roundPrecision((y = (C = (g = i.currentHourData) == null ? void 0 : g.weather) == null ? void 0 : C.wind) == null ? void 0 : y.kts, 1)) + " kts", 1)
6828
+ o("span", null, I(s.roundPrecision((y = (C = (m = i.currentHourData) == null ? void 0 : m.weather) == null ? void 0 : C.wind) == null ? void 0 : y.kts, 1)) + " kts", 1)
6829
6829
  ])
6830
6830
  ])
6831
6831
  ]),
@@ -6837,19 +6837,19 @@ function Qr(a, e, t, r, i, s) {
6837
6837
  Fe(o("div", Gi, [
6838
6838
  o("div", Ui, [
6839
6839
  o("div", {
6840
- class: Z(["menu-item", i.activeIndex === 1 ? "active" : ""]),
6840
+ class: V(["menu-item", i.activeIndex === 1 ? "active" : ""]),
6841
6841
  onClick: e[3] || (e[3] = qe((x) => s.handleSelectTab(1), ["prevent"]))
6842
6842
  }, "Basis", 2),
6843
6843
  o("div", {
6844
- class: Z(["menu-item", i.activeIndex === 2 ? "active" : ""]),
6844
+ class: V(["menu-item", i.activeIndex === 2 ? "active" : ""]),
6845
6845
  onClick: e[4] || (e[4] = qe((x) => s.handleSelectTab(2), ["prevent"]))
6846
6846
  }, "Wave & Current", 2),
6847
6847
  o("div", {
6848
- class: Z(["menu-item", i.activeIndex === 3 ? "active" : ""]),
6848
+ class: V(["menu-item", i.activeIndex === 3 ? "active" : ""]),
6849
6849
  onClick: e[5] || (e[5] = qe((x) => s.handleSelectTab(3), ["prevent"]))
6850
6850
  }, "Sea Surface", 2),
6851
6851
  o("div", {
6852
- class: Z(["menu-item", i.activeIndex === 4 ? "active" : ""]),
6852
+ class: V(["menu-item", i.activeIndex === 4 ? "active" : ""]),
6853
6853
  onClick: e[6] || (e[6] = qe((x) => s.handleSelectTab(4), ["prevent"]))
6854
6854
  }, "Tides", 2)
6855
6855
  ]),
@@ -6860,10 +6860,10 @@ function Qr(a, e, t, r, i, s) {
6860
6860
  colspan: "1",
6861
6861
  class: "tr-title"
6862
6862
  }, [
6863
- le("Hours"),
6863
+ ne("Hours"),
6864
6864
  o("span", { class: "unit" }, "(LT)")
6865
6865
  ], -1)),
6866
- (m(!0), u(V, null, $(i.tableData.hours, (x) => (m(), u("th", {
6866
+ (u(!0), g(Z, null, $(i.tableData.hours, (x) => (u(), g("th", {
6867
6867
  rowspan: "1",
6868
6868
  colspan: "1",
6869
6869
  key: `HourL${x}`
@@ -6875,10 +6875,10 @@ function Qr(a, e, t, r, i, s) {
6875
6875
  colspan: "1",
6876
6876
  class: "tr-title"
6877
6877
  }, [
6878
- le("UTC"),
6878
+ ne("UTC"),
6879
6879
  o("span", { class: "unit" })
6880
6880
  ], -1)),
6881
- (m(!0), u(V, null, $(i.tableData.hours, (x) => (m(), u("th", {
6881
+ (u(!0), g(Z, null, $(i.tableData.hours, (x) => (u(), g("th", {
6882
6882
  rowspan: "1",
6883
6883
  colspan: "1",
6884
6884
  key: `HourZ${x}`
@@ -6890,19 +6890,19 @@ function Qr(a, e, t, r, i, s) {
6890
6890
  colspan: "1",
6891
6891
  class: "tr-title"
6892
6892
  }, null, -1)),
6893
- (m(!0), u(V, null, $(i.tableData.weatherUrls, (x, M) => (m(), u("th", {
6893
+ (u(!0), g(Z, null, $(i.tableData.weatherUrls, (x, T) => (u(), g("th", {
6894
6894
  rowspan: "1",
6895
6895
  colspan: "1",
6896
- key: `weatherUrls${M}${x}`
6896
+ key: `weatherUrls${T}${x}`
6897
6897
  }, [
6898
6898
  H(c, {
6899
6899
  placement: "top",
6900
6900
  effect: "light",
6901
- content: i.tableData.weatherNames[M],
6901
+ content: i.tableData.weatherNames[T],
6902
6902
  "show-after": 500
6903
6903
  }, {
6904
6904
  default: Ie(() => [
6905
- x ? (m(), u("img", {
6905
+ x ? (u(), g("img", {
6906
6906
  key: 0,
6907
6907
  class: "iconfont weather-icon",
6908
6908
  src: x
@@ -6918,13 +6918,13 @@ function Qr(a, e, t, r, i, s) {
6918
6918
  colspan: "1",
6919
6919
  class: "tr-title"
6920
6920
  }, [
6921
- le("Temp"),
6921
+ ne("Temp"),
6922
6922
  o("span", { class: "unit" }, "°C")
6923
6923
  ], -1)),
6924
- (m(!0), u(V, null, $(i.tableData.temp, (x, M) => (m(), u("td", {
6924
+ (u(!0), g(Z, null, $(i.tableData.temp, (x, T) => (u(), g("td", {
6925
6925
  rowspan: "1",
6926
6926
  colspan: "1",
6927
- key: `weatherUrls${M}${x}`
6927
+ key: `weatherUrls${T}${x}`
6928
6928
  }, I(x), 1))), 128))
6929
6929
  ]),
6930
6930
  o("tr", Zi, [
@@ -6933,13 +6933,13 @@ function Qr(a, e, t, r, i, s) {
6933
6933
  colspan: "1",
6934
6934
  class: "tr-title"
6935
6935
  }, [
6936
- le("Precip"),
6936
+ ne("Precip"),
6937
6937
  o("span", { class: "unit" }, "mm")
6938
6938
  ], -1)),
6939
- (m(!0), u(V, null, $(i.tableData.precip1h, (x, M) => (m(), u("td", {
6939
+ (u(!0), g(Z, null, $(i.tableData.precip1h, (x, T) => (u(), g("td", {
6940
6940
  rowspan: "1",
6941
6941
  colspan: "1",
6942
- key: `precip1h${M}${x}`
6942
+ key: `precip1h${T}${x}`
6943
6943
  }, I(x), 1))), 128))
6944
6944
  ]),
6945
6945
  o("tr", $i, [
@@ -6948,178 +6948,166 @@ function Qr(a, e, t, r, i, s) {
6948
6948
  colspan: "1",
6949
6949
  class: "tr-title"
6950
6950
  }, [
6951
- le("Visibility"),
6951
+ ne("Visibility"),
6952
6952
  o("span", { class: "unit" }, "nm")
6953
6953
  ], -1)),
6954
- (m(!0), u(V, null, $(i.tableData.visibility, (x, M) => (m(), u("td", {
6954
+ (u(!0), g(Z, null, $(i.tableData.visibility, (x, T) => (u(), g("td", {
6955
6955
  rowspan: "1",
6956
6956
  colspan: "1",
6957
- key: `visibility${M}${x}`
6957
+ key: `visibility${T}${x}`
6958
6958
  }, I(x), 1))), 128))
6959
6959
  ]),
6960
- o("tr", er, [
6961
- e[18] || (e[18] = o("td", {
6960
+ e[18] || (e[18] = o("tr", { class: "text" }, [
6961
+ o("td", {
6962
6962
  rowspan: "1",
6963
6963
  colspan: "1",
6964
6964
  class: "tr-title"
6965
6965
  }, [
6966
- le("Wind gust"),
6966
+ ne("Wind gust"),
6967
6967
  o("span", { class: "unit" }, "kts")
6968
- ], -1)),
6969
- (m(!0), u(V, null, $(i.tableData.windGust, (x, M) => (m(), u("td", {
6970
- rowspan: "1",
6971
- colspan: "1",
6972
- key: `windGust${M}${x}`
6973
- }, [
6974
- isNaN(i.tableData.windDir[M]) ? J("", !0) : (m(), u("span", {
6975
- key: 0,
6976
- class: "iconfont icon blue",
6977
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windDir[M]}deg)` })
6978
- }, "", 4)),
6979
- o("span", null, I(x), 1)
6980
- ]))), 128))
6981
- ])
6968
+ ])
6969
+ ], -1))
6982
6970
  ], 512), [
6983
6971
  [Oe, i.activeIndex === 1]
6984
6972
  ]),
6985
- Fe(o("table", tr, [
6986
- o("tr", ar, [
6973
+ Fe(o("table", er, [
6974
+ o("tr", tr, [
6987
6975
  e[19] || (e[19] = o("th", {
6988
6976
  rowspan: "1",
6989
6977
  colspan: "1",
6990
6978
  class: "tr-title"
6991
6979
  }, [
6992
- le("Hours"),
6980
+ ne("Hours"),
6993
6981
  o("span", { class: "unit" }, "(LT)")
6994
6982
  ], -1)),
6995
- (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
6983
+ (u(!0), g(Z, null, $(i.tableData.hours, (x, T) => (u(), g("th", {
6996
6984
  rowspan: "1",
6997
6985
  colspan: "1",
6998
- key: `currenthoursL${M}${x}`
6986
+ key: `currenthoursL${T}${x}`
6999
6987
  }, I(s.computeHourL(x)), 1))), 128))
7000
6988
  ]),
7001
- o("tr", ir, [
6989
+ o("tr", ar, [
7002
6990
  e[20] || (e[20] = o("th", {
7003
6991
  rowspan: "1",
7004
6992
  colspan: "1",
7005
6993
  class: "tr-title"
7006
6994
  }, [
7007
- le("UTC"),
6995
+ ne("UTC"),
7008
6996
  o("span", { class: "unit" })
7009
6997
  ], -1)),
7010
- (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
6998
+ (u(!0), g(Z, null, $(i.tableData.hours, (x, T) => (u(), g("th", {
7011
6999
  rowspan: "1",
7012
7000
  colspan: "1",
7013
- key: `currenthoursZ${M}${x}`
7001
+ key: `currenthoursZ${T}${x}`
7014
7002
  }, I(s.computeHourZ(x)), 1))), 128))
7015
7003
  ]),
7016
- o("tr", rr, [
7004
+ o("tr", ir, [
7017
7005
  e[21] || (e[21] = o("td", {
7018
7006
  rowspan: "1",
7019
7007
  colspan: "1",
7020
7008
  class: "tr-title"
7021
7009
  }, [
7022
- le("Wind"),
7010
+ ne("Wind"),
7023
7011
  o("span", { class: "unit" }, "kts")
7024
7012
  ], -1)),
7025
- (m(!0), u(V, null, $(i.tableData.windSpeed, (x, M) => (m(), u("td", {
7013
+ (u(!0), g(Z, null, $(i.tableData.windSpeed, (x, T) => (u(), g("td", {
7026
7014
  rowspan: "1",
7027
7015
  colspan: "1",
7028
- key: `windSpeed${M}${x}`
7016
+ key: `windSpeed${T}${x}`
7029
7017
  }, [
7030
- isNaN(i.tableData.windDir[M]) ? J("", !0) : (m(), u("span", {
7018
+ isNaN(i.tableData.windDir[T]) ? J("", !0) : (u(), g("span", {
7031
7019
  key: 0,
7032
7020
  class: "iconfont icon wind",
7033
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windDir[M]}deg)` })
7021
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.windDir[T]}deg)` })
7034
7022
  }, "", 4)),
7035
7023
  o("span", null, I(x), 1)
7036
7024
  ]))), 128))
7037
7025
  ]),
7038
- o("tr", sr, [
7026
+ o("tr", rr, [
7039
7027
  e[22] || (e[22] = o("td", {
7040
7028
  rowspan: "1",
7041
7029
  colspan: "1",
7042
7030
  class: "tr-title"
7043
7031
  }, [
7044
- le("Sig Wave"),
7032
+ ne("Sig Wave"),
7045
7033
  o("span", { class: "unit" }, "m")
7046
7034
  ], -1)),
7047
- (m(!0), u(V, null, $(i.tableData.sigwaveHeight, (x, M) => (m(), u("td", {
7035
+ (u(!0), g(Z, null, $(i.tableData.sigwaveHeight, (x, T) => (u(), g("td", {
7048
7036
  rowspan: "1",
7049
7037
  colspan: "1",
7050
- key: `sigwaveHeight${M}${x}`
7038
+ key: `sigwaveHeight${T}${x}`
7051
7039
  }, [
7052
- isNaN(i.tableData.sigwaveDir[M]) ? J("", !0) : (m(), u("span", {
7040
+ isNaN(i.tableData.sigwaveDir[T]) ? J("", !0) : (u(), g("span", {
7053
7041
  key: 0,
7054
7042
  class: "iconfont icon sigwave",
7055
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.sigwaveDir[M]}deg)` })
7043
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.sigwaveDir[T]}deg)` })
7056
7044
  }, "", 4)),
7057
7045
  o("span", null, I(x), 1)
7058
7046
  ]))), 128))
7059
7047
  ]),
7060
- o("tr", or, [
7048
+ o("tr", sr, [
7061
7049
  e[23] || (e[23] = o("td", {
7062
7050
  rowspan: "1",
7063
7051
  colspan: "1",
7064
7052
  class: "tr-title"
7065
7053
  }, [
7066
- le("Wind Wave"),
7054
+ ne("Wind Wave"),
7067
7055
  o("span", { class: "unit" }, "m")
7068
7056
  ], -1)),
7069
- (m(!0), u(V, null, $(i.tableData.windwaveHeight, (x, M) => (m(), u("td", {
7057
+ (u(!0), g(Z, null, $(i.tableData.windwaveHeight, (x, T) => (u(), g("td", {
7070
7058
  rowspan: "1",
7071
7059
  colspan: "1",
7072
- key: `windwaveHeight${M}${x}`
7060
+ key: `windwaveHeight${T}${x}`
7073
7061
  }, [
7074
- isNaN(i.tableData.sigwaveDir[M]) ? J("", !0) : (m(), u("span", {
7062
+ isNaN(i.tableData.sigwaveDir[T]) ? J("", !0) : (u(), g("span", {
7075
7063
  key: 0,
7076
7064
  class: "iconfont icon windwave",
7077
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.windwaveDir[M]}deg)` })
7065
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.windwaveDir[T]}deg)` })
7078
7066
  }, "", 4)),
7079
7067
  o("span", null, I(x), 1)
7080
7068
  ]))), 128))
7081
7069
  ]),
7082
- o("tr", nr, [
7070
+ o("tr", or, [
7083
7071
  e[24] || (e[24] = o("td", {
7084
7072
  rowspan: "1",
7085
7073
  colspan: "1",
7086
7074
  class: "tr-title"
7087
7075
  }, [
7088
- le("Swell"),
7076
+ ne("Swell"),
7089
7077
  o("span", { class: "unit" }, "m")
7090
7078
  ], -1)),
7091
- (m(!0), u(V, null, $(i.tableData.swellHeight, (x, M) => (m(), u("td", {
7079
+ (u(!0), g(Z, null, $(i.tableData.swellHeight, (x, T) => (u(), g("td", {
7092
7080
  rowspan: "1",
7093
7081
  colspan: "1",
7094
- key: `swellHeight${M}${x}`
7082
+ key: `swellHeight${T}${x}`
7095
7083
  }, [
7096
- isNaN(i.tableData.swellDir[M]) ? J("", !0) : (m(), u("span", {
7084
+ isNaN(i.tableData.swellDir[T]) ? J("", !0) : (u(), g("span", {
7097
7085
  key: 0,
7098
7086
  class: "iconfont icon swell",
7099
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.swellDir[M]}deg)` })
7087
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.swellDir[T]}deg)` })
7100
7088
  }, "", 4)),
7101
7089
  o("span", null, I(x), 1)
7102
7090
  ]))), 128))
7103
7091
  ]),
7104
- o("tr", lr, [
7092
+ o("tr", nr, [
7105
7093
  e[25] || (e[25] = o("td", {
7106
7094
  rowspan: "1",
7107
7095
  colspan: "1",
7108
7096
  class: "tr-title"
7109
7097
  }, [
7110
- le("Current"),
7098
+ ne("Current"),
7111
7099
  o("span", { class: "unit" }, "kts")
7112
7100
  ], -1)),
7113
- (m(!0), u(V, null, $(i.tableData.currentSpeed, (x, M) => (m(), u("td", {
7101
+ (u(!0), g(Z, null, $(i.tableData.currentSpeed, (x, T) => (u(), g("td", {
7114
7102
  rowspan: "1",
7115
7103
  colspan: "1",
7116
- key: `currentSpeed${M}${x}`
7104
+ key: `currentSpeed${T}${x}`
7117
7105
  }, [
7118
- isNaN(i.tableData.currentDir[M]) ? J("", !0) : (m(), u("span", {
7106
+ isNaN(i.tableData.currentDir[T]) ? J("", !0) : (u(), g("span", {
7119
7107
  key: 0,
7120
7108
  class: "iconfont icon current",
7121
7109
  id: "meteoGrayIcon",
7122
- style: oe({ display: "inline-block", transform: `rotate(${i.tableData.currentDir[M]}deg)` })
7110
+ style: le({ display: "inline-block", transform: `rotate(${i.tableData.currentDir[T]}deg)` })
7123
7111
  }, "", 4)),
7124
7112
  o("span", null, I(x), 1)
7125
7113
  ]))), 128))
@@ -7127,93 +7115,93 @@ function Qr(a, e, t, r, i, s) {
7127
7115
  ], 512), [
7128
7116
  [Oe, i.activeIndex === 2]
7129
7117
  ]),
7130
- Fe(o("table", hr, [
7131
- o("tr", cr, [
7118
+ Fe(o("table", lr, [
7119
+ o("tr", hr, [
7132
7120
  e[26] || (e[26] = o("th", {
7133
7121
  rowspan: "1",
7134
7122
  colspan: "1",
7135
7123
  class: "tr-title"
7136
7124
  }, [
7137
- le("Hours"),
7125
+ ne("Hours"),
7138
7126
  o("span", { class: "unit" }, "(LT)")
7139
7127
  ], -1)),
7140
- (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
7128
+ (u(!0), g(Z, null, $(i.tableData.hours, (x, T) => (u(), g("th", {
7141
7129
  rowspan: "1",
7142
7130
  colspan: "1",
7143
- key: `seahoursL${M}${x}`
7131
+ key: `seahoursL${T}${x}`
7144
7132
  }, I(s.computeHourL(x)), 1))), 128))
7145
7133
  ]),
7146
- o("tr", dr, [
7134
+ o("tr", cr, [
7147
7135
  e[27] || (e[27] = o("th", {
7148
7136
  rowspan: "1",
7149
7137
  colspan: "1",
7150
7138
  class: "tr-title"
7151
7139
  }, [
7152
- le("UTC"),
7140
+ ne("UTC"),
7153
7141
  o("span", { class: "unit" })
7154
7142
  ], -1)),
7155
- (m(!0), u(V, null, $(i.tableData.hours, (x, M) => (m(), u("th", {
7143
+ (u(!0), g(Z, null, $(i.tableData.hours, (x, T) => (u(), g("th", {
7156
7144
  rowspan: "1",
7157
7145
  colspan: "1",
7158
- key: `seahoursZ${M}${x}`
7146
+ key: `seahoursZ${T}${x}`
7159
7147
  }, I(s.computeHourZ(x)), 1))), 128))
7160
7148
  ]),
7161
- o("tr", pr, [
7149
+ o("tr", dr, [
7162
7150
  e[28] || (e[28] = o("td", {
7163
7151
  rowspan: "1",
7164
7152
  colspan: "1",
7165
7153
  class: "tr-title"
7166
7154
  }, [
7167
- le("SeaLevel"),
7155
+ ne("SeaLevel"),
7168
7156
  o("span", { class: "unit" }, "m")
7169
7157
  ], -1)),
7170
- (m(!0), u(V, null, $(i.tableData.seaLevel, (x, M) => (m(), u("td", {
7158
+ (u(!0), g(Z, null, $(i.tableData.seaLevel, (x, T) => (u(), g("td", {
7171
7159
  rowspan: "1",
7172
7160
  colspan: "1",
7173
- key: `SeaLevel${M}${x}`
7161
+ key: `SeaLevel${T}${x}`
7174
7162
  }, I(x), 1))), 128))
7175
7163
  ]),
7176
- o("tr", mr, [
7164
+ o("tr", pr, [
7177
7165
  e[29] || (e[29] = o("td", {
7178
7166
  rowspan: "1",
7179
7167
  colspan: "1",
7180
7168
  class: "tr-title"
7181
7169
  }, [
7182
- le("SeaTemp"),
7170
+ ne("SeaTemp"),
7183
7171
  o("span", { class: "unit" }, "°C")
7184
7172
  ], -1)),
7185
- (m(!0), u(V, null, $(i.tableData.seaTemp, (x, M) => (m(), u("td", {
7173
+ (u(!0), g(Z, null, $(i.tableData.seaTemp, (x, T) => (u(), g("td", {
7186
7174
  rowspan: "1",
7187
7175
  colspan: "1",
7188
- key: `SeaTemp${M}${x}`
7176
+ key: `SeaTemp${T}${x}`
7189
7177
  }, I(x), 1))), 128))
7190
7178
  ])
7191
7179
  ], 512), [
7192
7180
  [Oe, i.activeIndex === 3]
7193
7181
  ]),
7194
- i.activeIndex === 3 ? (m(), u("div", ur, e[30] || (e[30] = [
7182
+ i.activeIndex === 3 ? (u(), g("div", mr, e[30] || (e[30] = [
7195
7183
  o("p", { style: { "font-size": "12px", padding: "12px 20px 0 20px", "line-height": "16px" } }, "*Sea level height accounts for tides, barometer effects, and global variations. Based on mean sea level, accuracy is limited in coastal areas. For coastal navigation, use data from Tides Tab.", -1)
7196
7184
  ]))) : J("", !0),
7197
- Fe(o("table", gr, [
7198
- o("tr", yr, [
7199
- (m(!0), u(V, null, $(i.tideTableData, (x, M) => (m(), u("th", {
7185
+ Fe(o("table", ur, [
7186
+ o("tr", gr, [
7187
+ (u(!0), g(Z, null, $(i.tideTableData, (x, T) => (u(), g("th", {
7200
7188
  rowspan: "1",
7201
7189
  colspan: "1",
7202
- key: `Tide-tr-${M}${x}`
7190
+ key: `Tide-tr-${T}${x}`
7203
7191
  }, I(x.type) + " Tide", 1))), 128))
7204
7192
  ]),
7205
- o("tr", fr, [
7206
- (m(!0), u(V, null, $(i.tideTableData, (x, M) => (m(), u("td", {
7193
+ o("tr", yr, [
7194
+ (u(!0), g(Z, null, $(i.tideTableData, (x, T) => (u(), g("td", {
7207
7195
  rowspan: "1",
7208
7196
  colspan: "1",
7209
- key: `Tide-date-${M}${x}`
7197
+ key: `Tide-date-${T}${x}`
7210
7198
  }, I(s.computeHourHmmLT(x == null ? void 0 : x.date)), 1))), 128))
7211
7199
  ]),
7212
- o("tr", Ar, [
7213
- (m(!0), u(V, null, $(i.tideTableData, (x, M) => (m(), u("td", {
7200
+ o("tr", fr, [
7201
+ (u(!0), g(Z, null, $(i.tideTableData, (x, T) => (u(), g("td", {
7214
7202
  rowspan: "1",
7215
7203
  colspan: "1",
7216
- key: `Tide-height-${M}${x}`
7204
+ key: `Tide-height-${T}${x}`
7217
7205
  }, I(s.roundPrecision(x == null ? void 0 : x.height, 2)) + " m", 1))), 128))
7218
7206
  ]),
7219
7207
  e[31] || (e[31] = o("tr", { class: "tr-tide flex-center info" }, [
@@ -7223,55 +7211,55 @@ function Qr(a, e, t, r, i, s) {
7223
7211
  [Oe, i.activeIndex === 4]
7224
7212
  ])
7225
7213
  ], 512), [
7226
- [Oe, ((T = (L = i.tableData) == null ? void 0 : L.hours) == null ? void 0 : T.length) > 0 && i.showTables]
7214
+ [Oe, ((S = (L = i.tableData) == null ? void 0 : L.hours) == null ? void 0 : S.length) > 0 && i.showTables]
7227
7215
  ]),
7228
- Fe(o("div", wr, [
7229
- o("div", vr, [
7230
- o("div", br, [
7216
+ Fe(o("div", Ar, [
7217
+ o("div", wr, [
7218
+ o("div", vr, [
7231
7219
  e[32] || (e[32] = o("div", null, "Wind", -1)),
7232
- o("div", null, I((N = (F = (k = i.currentHourData) == null ? void 0 : k.weather) == null ? void 0 : F.wind) == null ? void 0 : N.direction) + "/" + I(s.roundPrecision((W = (G = (j = i.currentHourData) == null ? void 0 : j.weather) == null ? void 0 : G.wind) == null ? void 0 : W.kts, 1)) + "kts/BF" + I((ue = (he = (me = i.currentHourData) == null ? void 0 : me.weather) == null ? void 0 : he.wind) == null ? void 0 : ue.scale) + "/" + I(s.roundPrecision((Y = (ge = (fe = i.currentHourData) == null ? void 0 : fe.weather) == null ? void 0 : ge.wind) == null ? void 0 : Y.gusts, 1)) + " kts", 1)
7220
+ o("div", null, I((N = (F = (D = i.currentHourData) == null ? void 0 : D.weather) == null ? void 0 : F.wind) == null ? void 0 : N.direction) + "/" + I(s.roundPrecision((W = (G = (j = i.currentHourData) == null ? void 0 : j.weather) == null ? void 0 : G.wind) == null ? void 0 : W.kts, 1)) + "kts/BF" + I((ue = (he = (me = i.currentHourData) == null ? void 0 : me.weather) == null ? void 0 : he.wind) == null ? void 0 : ue.scale) + "/" + I(s.roundPrecision((Y = (ge = (fe = i.currentHourData) == null ? void 0 : fe.weather) == null ? void 0 : ge.wind) == null ? void 0 : Y.gusts, 1)) + " kts", 1)
7233
7221
  ]),
7234
- o("div", Lr, [
7222
+ o("div", br, [
7235
7223
  e[33] || (e[33] = o("div", null, "Sig wave", -1)),
7236
7224
  o("div", null, I((pe = (Ae = (ae = i.currentHourData) == null ? void 0 : ae.wave) == null ? void 0 : Ae.sig) == null ? void 0 : pe.direction) + "/" + I(s.roundPrecision((Ce = (Le = (ye = i.currentHourData) == null ? void 0 : ye.wave) == null ? void 0 : Le.sig) == null ? void 0 : Ce.height, 1)) + "m/" + I(s.roundPrecision((_e = (we = (xe = i.currentHourData) == null ? void 0 : xe.wave) == null ? void 0 : we.sig) == null ? void 0 : _e.period, 1)) + "s", 1)
7237
7225
  ])
7238
7226
  ]),
7239
- o("div", Cr, [
7240
- o("div", xr, [
7227
+ o("div", Lr, [
7228
+ o("div", Cr, [
7241
7229
  e[34] || (e[34] = o("div", null, "Wind wave", -1)),
7242
- o("div", null, I((ve = (ze = (B = i.currentHourData) == null ? void 0 : B.wave) == null ? void 0 : ze.wd) == null ? void 0 : ve.direction) + "/" + I(s.roundPrecision((He = (Ee = (Pe = i.currentHourData) == null ? void 0 : Pe.wave) == null ? void 0 : Ee.wd) == null ? void 0 : He.height, 1)) + "m/" + I(s.roundPrecision((ce = (re = (De = i.currentHourData) == null ? void 0 : De.wave) == null ? void 0 : re.wd) == null ? void 0 : ce.period, 1)) + "s", 1)
7230
+ o("div", null, I((ve = (ze = (B = i.currentHourData) == null ? void 0 : B.wave) == null ? void 0 : ze.wd) == null ? void 0 : ve.direction) + "/" + I(s.roundPrecision((He = (Ee = (Pe = i.currentHourData) == null ? void 0 : Pe.wave) == null ? void 0 : Ee.wd) == null ? void 0 : He.height, 1)) + "m/" + I(s.roundPrecision((ce = (re = (ke = i.currentHourData) == null ? void 0 : ke.wave) == null ? void 0 : re.wd) == null ? void 0 : ce.period, 1)) + "s", 1)
7243
7231
  ]),
7244
- o("div", _r, [
7232
+ o("div", xr, [
7245
7233
  e[35] || (e[35] = o("div", null, "Swell", -1)),
7246
- o("div", null, I((K = (Be = (Q = i.currentHourData) == null ? void 0 : Q.wave) == null ? void 0 : Be.swell) == null ? void 0 : K.direction) + "/" + I(s.roundPrecision((P = (Me = (q = i.currentHourData) == null ? void 0 : q.wave) == null ? void 0 : Me.swell) == null ? void 0 : P.height, 1)) + "m/" + I(s.roundPrecision((Se = (ke = (de = i.currentHourData) == null ? void 0 : de.wave) == null ? void 0 : ke.swell) == null ? void 0 : Se.period, 1)) + "s", 1)
7234
+ o("div", null, I((K = (Be = (Q = i.currentHourData) == null ? void 0 : Q.wave) == null ? void 0 : Be.swell) == null ? void 0 : K.direction) + "/" + I(s.roundPrecision((P = (Me = (q = i.currentHourData) == null ? void 0 : q.wave) == null ? void 0 : Me.swell) == null ? void 0 : P.height, 1)) + "m/" + I(s.roundPrecision((Se = (De = (de = i.currentHourData) == null ? void 0 : de.wave) == null ? void 0 : De.swell) == null ? void 0 : Se.period, 1)) + "s", 1)
7247
7235
  ])
7248
7236
  ]),
7249
- o("div", Br, [
7250
- o("div", Ir, [
7237
+ o("div", _r, [
7238
+ o("div", Br, [
7251
7239
  e[36] || (e[36] = o("div", null, "Current", -1)),
7252
7240
  o("div", null, I((z = (Te = i.currentHourData) == null ? void 0 : Te.current) == null ? void 0 : z.direction) + "/" + I(s.roundPrecision((Ge = (O = i.currentHourData) == null ? void 0 : O.current) == null ? void 0 : Ge.kts, 2)) + "kts", 1)
7253
7241
  ]),
7254
- o("div", Er, [
7242
+ o("div", Ir, [
7255
7243
  e[37] || (e[37] = o("div", null, "Sea level", -1)),
7256
7244
  o("div", null, I(s.roundPrecision((Ue = i.currentHourData) == null ? void 0 : Ue.height, 1)) + "m", 1)
7257
7245
  ])
7258
7246
  ]),
7259
- o("div", Dr, [
7247
+ o("div", Er, [
7260
7248
  o("div", kr, [
7261
7249
  e[38] || (e[38] = o("div", null, "Sea Temp", -1)),
7262
7250
  o("div", null, I(s.roundPrecision((ie = i.currentHourData) == null ? void 0 : ie.sst, 1)) + "°C", 1)
7263
7251
  ]),
7264
- o("div", zr, [
7252
+ o("div", Dr, [
7265
7253
  e[39] || (e[39] = o("div", null, "Visibility", -1)),
7266
7254
  o("div", null, I(s.roundPrecision((tt = (Ne = i.currentHourData) == null ? void 0 : Ne.weather) == null ? void 0 : tt.visibility, 1)) + "nm", 1)
7267
7255
  ])
7268
7256
  ]),
7269
- o("div", Pr, [
7270
- o("div", Mr, [
7257
+ o("div", zr, [
7258
+ o("div", Pr, [
7271
7259
  e[40] || (e[40] = o("div", null, "Temp", -1)),
7272
7260
  o("div", null, I(s.roundPrecision((it = (at = i.currentHourData) == null ? void 0 : at.weather) == null ? void 0 : it.temp, 1)) + "°C", 1)
7273
7261
  ]),
7274
- o("div", Sr, [
7262
+ o("div", Mr, [
7275
7263
  e[41] || (e[41] = o("div", null, "Precip", -1)),
7276
7264
  o("div", null, I(s.roundPrecision((ot = (st = (rt = i.currentHourData) == null ? void 0 : rt.weather) == null ? void 0 : st.precip) == null ? void 0 : ot.sum3Hours, 1)) + "mm", 1)
7277
7265
  ])
@@ -7280,7 +7268,7 @@ function Qr(a, e, t, r, i, s) {
7280
7268
  [Oe, !i.showTables]
7281
7269
  ]),
7282
7270
  o("div", {
7283
- class: Z(["more", i.isDay ? "day" : "night"]),
7271
+ class: V(["more", i.isDay ? "day" : "night"]),
7284
7272
  onClick: e[7] || (e[7] = (...x) => s.handleMeteoMore && s.handleMeteoMore(...x))
7285
7273
  }, "More >>", 2)
7286
7274
  ], 2))
@@ -7289,7 +7277,7 @@ function Qr(a, e, t, r, i, s) {
7289
7277
  [Oe, i.showMeteo]
7290
7278
  ]);
7291
7279
  }
7292
- const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-cdc6da70"]]), Nr = {
7280
+ const Qr = /* @__PURE__ */ U(_i, [["render", Tr], ["__scopeId", "data-v-d103556a"]]), Hr = {
7293
7281
  name: "IdmWarZone",
7294
7282
  props: {
7295
7283
  map: {
@@ -7382,10 +7370,10 @@ const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-cdc6da70
7382
7370
  }
7383
7371
  }
7384
7372
  };
7385
- function Fr(a, e, t, r, i, s) {
7386
- return m(), u("div");
7373
+ function Nr(a, e, t, r, i, s) {
7374
+ return u(), g("div");
7387
7375
  }
7388
- const Or = /* @__PURE__ */ U(Nr, [["render", Fr]]), Rr = {
7376
+ const Fr = /* @__PURE__ */ U(Hr, [["render", Nr]]), Or = {
7389
7377
  name: "IdmGmdssArea",
7390
7378
  props: {
7391
7379
  map: {
@@ -7508,10 +7496,10 @@ const Or = /* @__PURE__ */ U(Nr, [["render", Fr]]), Rr = {
7508
7496
  }
7509
7497
  }
7510
7498
  };
7511
- function jr(a, e, t, r, i, s) {
7512
- return m(), u("div");
7499
+ function Rr(a, e, t, r, i, s) {
7500
+ return u(), g("div");
7513
7501
  }
7514
- const Wr = /* @__PURE__ */ U(Rr, [["render", jr]]), Gr = {
7502
+ const jr = /* @__PURE__ */ U(Or, [["render", Rr]]), Wr = {
7515
7503
  name: "IdmEcaZone",
7516
7504
  props: {
7517
7505
  map: {
@@ -7605,11 +7593,11 @@ const Wr = /* @__PURE__ */ U(Rr, [["render", jr]]), Gr = {
7605
7593
  }
7606
7594
  }
7607
7595
  };
7608
- function Ur(a, e, t, r, i, s) {
7609
- return m(), u("div");
7596
+ function Gr(a, e, t, r, i, s) {
7597
+ return u(), g("div");
7610
7598
  }
7611
- const Yr = /* @__PURE__ */ U(Gr, [["render", Ur]]);
7612
- const Kr = {
7599
+ const Ur = /* @__PURE__ */ U(Wr, [["render", Gr]]);
7600
+ const Yr = {
7613
7601
  name: "IdmAlertZone",
7614
7602
  props: {
7615
7603
  map: {
@@ -7742,10 +7730,10 @@ const Kr = {
7742
7730
  this.map.getLayer(this.polygonLayer) && this.map.removeLayer(this.polygonLayer), this.map.getLayer(this.polygonLayer + "-border") && this.map.removeLayer(this.polygonLayer + "-border"), this.map.getLayer(this.polygonLabelLayer) && this.map.removeLayer(this.polygonLabelLayer), this.map.getLayer(this.lineLayer) && this.map.removeLayer(this.lineLayer), this.map.getLayer(this.lineLabelLayer) && this.map.removeLayer(this.lineLabelLayer), this.map.getLayer(this.pointLayer) && this.map.removeLayer(this.pointLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
7743
7731
  }
7744
7732
  }
7745
- }, Xr = { id: "idm-gl3-zone-info" }, Jr = ["innerHTML"];
7746
- function qr(a, e, t, r, i, s) {
7733
+ }, Kr = { id: "idm-gl3-zone-info" }, Xr = ["innerHTML"];
7734
+ function Jr(a, e, t, r, i, s) {
7747
7735
  var n;
7748
- return Fe((m(), u("div", Xr, [
7736
+ return Fe((u(), g("div", Kr, [
7749
7737
  o("div", {
7750
7738
  class: "iconfont close",
7751
7739
  onClick: e[0] || (e[0] = (l) => i.showZone = !1)
@@ -7753,13 +7741,13 @@ function qr(a, e, t, r, i, s) {
7753
7741
  o("div", {
7754
7742
  class: "rich-context",
7755
7743
  innerHTML: (n = i.form) == null ? void 0 : n.name
7756
- }, null, 8, Jr)
7744
+ }, null, 8, Xr)
7757
7745
  ], 512)), [
7758
7746
  [Oe, i.showZone]
7759
7747
  ]);
7760
7748
  }
7761
- const Vr = /* @__PURE__ */ U(Kr, [["render", qr]]);
7762
- const Zr = {
7749
+ const qr = /* @__PURE__ */ U(Yr, [["render", Jr]]);
7750
+ const Vr = {
7763
7751
  name: "IdmPort",
7764
7752
  props: {
7765
7753
  map: {
@@ -7854,37 +7842,37 @@ const Zr = {
7854
7842
  a.forecastModel = this.forecastModel, this.$emit("meteoMore", a);
7855
7843
  }
7856
7844
  }
7857
- }, $r = {
7845
+ }, Zr = {
7858
7846
  ref: "idmPortInfo",
7859
7847
  id: "port-info"
7860
- }, es = { class: "port-box" }, ts = { class: "flex-start" }, as = { class: "flex-start" }, is = { class: "flex-start" }, rs = {
7848
+ }, $r = { class: "port-box" }, es = { class: "flex-start" }, ts = { class: "flex-start" }, as = { class: "flex-start" }, is = {
7861
7849
  class: "flex-start",
7862
7850
  style: { "align-items": "flex-start" }
7863
- }, ss = { class: "meteo-forecast flex-end" };
7864
- function os(a, e, t, r, i, s) {
7865
- return Fe((m(), u("div", $r, [
7851
+ }, rs = { class: "meteo-forecast flex-end" };
7852
+ function ss(a, e, t, r, i, s) {
7853
+ return Fe((u(), g("div", Zr, [
7866
7854
  o("div", {
7867
7855
  class: "close iconfont",
7868
7856
  onClick: e[0] || (e[0] = (n) => i.showPort = !1)
7869
7857
  }, ""),
7870
- o("div", es, [
7871
- o("div", ts, [
7858
+ o("div", $r, [
7859
+ o("div", es, [
7872
7860
  e[2] || (e[2] = o("label", null, "Name : ", -1)),
7873
7861
  o("span", null, I(i.form.name), 1)
7874
7862
  ]),
7875
- o("div", as, [
7863
+ o("div", ts, [
7876
7864
  e[3] || (e[3] = o("label", null, "Position : ", -1)),
7877
7865
  o("span", null, I(s.computeLat(i.form.lat)) + ", " + I(s.computeLng(i.form.lng)), 1)
7878
7866
  ]),
7879
- o("div", is, [
7867
+ o("div", as, [
7880
7868
  e[4] || (e[4] = o("label", null, "LoCode : ", -1)),
7881
7869
  o("span", null, I(i.form.loCode || "-"), 1)
7882
7870
  ]),
7883
- o("div", rs, [
7871
+ o("div", is, [
7884
7872
  e[5] || (e[5] = o("label", null, "Region : ", -1)),
7885
7873
  o("span", null, I(i.form.zoneName || "-"), 1)
7886
7874
  ]),
7887
- o("div", ss, [
7875
+ o("div", rs, [
7888
7876
  o("span", {
7889
7877
  onClick: e[1] || (e[1] = (n) => s.handleClickMeteo(i.form))
7890
7878
  }, "Meteo Forecast")
@@ -7894,7 +7882,7 @@ function os(a, e, t, r, i, s) {
7894
7882
  [Oe, i.showPort]
7895
7883
  ]);
7896
7884
  }
7897
- const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-2fc5fc5e"]]), ls = {
7885
+ const os = /* @__PURE__ */ U(Vr, [["render", ss], ["__scopeId", "data-v-2fc5fc5e"]]), ns = {
7898
7886
  name: "IdmLoadLine",
7899
7887
  props: {
7900
7888
  map: {
@@ -7967,10 +7955,10 @@ const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-2fc5fc5e
7967
7955
  }
7968
7956
  }
7969
7957
  };
7970
- function hs(a, e, t, r, i, s) {
7971
- return m(), u("div");
7958
+ function ls(a, e, t, r, i, s) {
7959
+ return u(), g("div");
7972
7960
  }
7973
- const cs = /* @__PURE__ */ U(ls, [["render", hs]]), ds = {
7961
+ const hs = /* @__PURE__ */ U(ns, [["render", ls]]), cs = {
7974
7962
  name: "IdmTimezone",
7975
7963
  props: {
7976
7964
  map: {
@@ -8138,10 +8126,10 @@ const cs = /* @__PURE__ */ U(ls, [["render", hs]]), ds = {
8138
8126
  }
8139
8127
  }
8140
8128
  };
8141
- function ps(a, e, t, r, i, s) {
8142
- return m(), u("div");
8129
+ function ds(a, e, t, r, i, s) {
8130
+ return u(), g("div");
8143
8131
  }
8144
- const ms = /* @__PURE__ */ U(ds, [["render", ps]]), us = {
8132
+ const ps = /* @__PURE__ */ U(cs, [["render", ds]]), ms = {
8145
8133
  name: "IdmVoluntaryReportingArea",
8146
8134
  props: {
8147
8135
  map: {
@@ -8232,10 +8220,10 @@ const ms = /* @__PURE__ */ U(ds, [["render", ps]]), us = {
8232
8220
  }
8233
8221
  }
8234
8222
  };
8235
- function gs(a, e, t, r, i, s) {
8236
- return m(), u("div");
8223
+ function us(a, e, t, r, i, s) {
8224
+ return u(), g("div");
8237
8225
  }
8238
- const ys = /* @__PURE__ */ U(us, [["render", gs]]), fs = {
8226
+ const gs = /* @__PURE__ */ U(ms, [["render", us]]), ys = {
8239
8227
  name: "IdmSpecialArea",
8240
8228
  props: {
8241
8229
  map: {
@@ -8328,10 +8316,10 @@ const ys = /* @__PURE__ */ U(us, [["render", gs]]), fs = {
8328
8316
  }
8329
8317
  }
8330
8318
  };
8331
- function As(a, e, t, r, i, s) {
8332
- return m(), u("div");
8319
+ function fs(a, e, t, r, i, s) {
8320
+ return u(), g("div");
8333
8321
  }
8334
- const ws = /* @__PURE__ */ U(fs, [["render", As]]), vs = {
8322
+ const As = /* @__PURE__ */ U(ys, [["render", fs]]), ws = {
8335
8323
  name: "IdmTerminator",
8336
8324
  props: {
8337
8325
  map: {
@@ -8383,11 +8371,11 @@ const ws = /* @__PURE__ */ U(fs, [["render", As]]), vs = {
8383
8371
  }
8384
8372
  }
8385
8373
  };
8386
- function bs(a, e, t, r, i, s) {
8387
- return m(), u("div");
8374
+ function vs(a, e, t, r, i, s) {
8375
+ return u(), g("div");
8388
8376
  }
8389
- const Ls = /* @__PURE__ */ U(vs, [["render", bs]]);
8390
- const Cs = {
8377
+ const bs = /* @__PURE__ */ U(ws, [["render", vs]]);
8378
+ const Ls = {
8391
8379
  name: "IdmLatLng",
8392
8380
  props: {
8393
8381
  map: {
@@ -8494,7 +8482,7 @@ const Cs = {
8494
8482
  handleZoomEnd() {
8495
8483
  var e;
8496
8484
  const a = this.handleComputeLatLngs();
8497
- (e = this.map) == null || e.getSource(this.source).setData(S.featureCollection(a));
8485
+ (e = this.map) == null || e.getSource(this.source).setData(M.featureCollection(a));
8498
8486
  },
8499
8487
  handleRender() {
8500
8488
  if (this.map) {
@@ -8543,18 +8531,18 @@ const Cs = {
8543
8531
  }
8544
8532
  }
8545
8533
  };
8546
- function xs(a, e, t, r, i, s) {
8547
- return i.lngLat ? (m(), u("div", {
8534
+ function Cs(a, e, t, r, i, s) {
8535
+ return i.lngLat ? (u(), g("div", {
8548
8536
  key: 0,
8549
8537
  class: "lat-lng-tip",
8550
- style: oe({ right: i.right + "px", bottom: t.bottom })
8538
+ style: le({ right: i.right + "px", bottom: t.bottom })
8551
8539
  }, [
8552
8540
  o("span", null, I(i.lngLat.lat.pretty), 1),
8553
8541
  e[0] || (e[0] = o("span", null, ", ", -1)),
8554
8542
  o("span", null, I(i.lngLat.lng.pretty), 1)
8555
8543
  ], 4)) : J("", !0);
8556
8544
  }
8557
- const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c"]]), _s = {
8545
+ const pt = /* @__PURE__ */ U(Ls, [["render", Cs], ["__scopeId", "data-v-ad66a24c"]]), xs = {
8558
8546
  name: "IdmMeasure",
8559
8547
  props: {
8560
8548
  map: {
@@ -8589,7 +8577,7 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8589
8577
  else {
8590
8578
  (a = this.map) == null || a.getCanvas().removeEventListener("keydown", this.handleKeydown), (e = this.map) == null || e.off("mousemove", this.handleMove), (t = this.map) == null || t.off("dblclick", this.handleDblClick), this.map && (this.map.getCanvas().style.cursor = "grab");
8591
8579
  let r = this.geojson.find((i) => !i.closed);
8592
- r && this.handleClear(r, !0), this.geojson = this.geojson.filter((i) => !!i.closed), r = S.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(r);
8580
+ r && this.handleClear(r, !0), this.geojson = this.geojson.filter((i) => !!i.closed), r = M.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(r);
8593
8581
  }
8594
8582
  },
8595
8583
  immediate: !0
@@ -8623,19 +8611,19 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8623
8611
  var t, r, i, s, n, l, c, p, h, d;
8624
8612
  const e = (r = (t = a.target) == null ? void 0 : t._element) == null ? void 0 : r.id;
8625
8613
  if ((e == null ? void 0 : e.split("-").length) === 2) {
8626
- const A = this.geojson.filter((D) => D.id === e.split("-")[0])[0];
8627
- this.pointMarkers[A.id].filter((D) => {
8614
+ const A = this.geojson.filter((k) => k.id === e.split("-")[0])[0];
8615
+ this.pointMarkers[A.id].filter((k) => {
8628
8616
  var _;
8629
- return ((_ = D._element) == null ? void 0 : _.id) === e;
8617
+ return ((_ = k._element) == null ? void 0 : _.id) === e;
8630
8618
  })[0].setLngLat([(s = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : s.lng, (l = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : l.lat]);
8631
8619
  let E;
8632
- A.features.forEach((D, _) => {
8633
- if (D.geometry.type === "Point" && D.properties.id == e.split("-")[1]) {
8620
+ A.features.forEach((k, _) => {
8621
+ if (k.geometry.type === "Point" && k.properties.id == e.split("-")[1]) {
8634
8622
  E = _;
8635
8623
  return;
8636
8624
  }
8637
8625
  });
8638
- const w = A.features.filter((D) => D.geometry.type === "Point");
8626
+ const w = A.features.filter((k) => k.geometry.type === "Point");
8639
8627
  this.handleTmpPointUpdate(
8640
8628
  A,
8641
8629
  w[E - 1],
@@ -8650,8 +8638,8 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8650
8638
  if ((e == null ? void 0 : e.split("-").length) === 2) {
8651
8639
  const A = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
8652
8640
  this.pointMarkers[A.id].filter((w) => {
8653
- var D;
8654
- return ((D = w._element) == null ? void 0 : D.id) === e;
8641
+ var k;
8642
+ return ((k = w._element) == null ? void 0 : k.id) === e;
8655
8643
  })[0].setLngLat([(s = (i = a.target) == null ? void 0 : i._lngLat) == null ? void 0 : s.lng, (l = (n = a.target) == null ? void 0 : n._lngLat) == null ? void 0 : l.lat]);
8656
8644
  const E = A.features.filter((w) => w.geometry.type === "Point" && w.properties.id == e.split("-")[1])[0];
8657
8645
  E.geometry.coordinates = [(p = (c = a.target) == null ? void 0 : c._lngLat) == null ? void 0 : p.lng, (d = (h = a.target) == null ? void 0 : h._lngLat) == null ? void 0 : d.lat], A.features = A.features.filter((w) => w.geometry.type === "Point"), this.handlePointUpdate(A);
@@ -8681,8 +8669,8 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8681
8669
  p.features = p.features.filter((h) => h.geometry.type === "Point" && h.properties.id !== c[1]), this.handlePointUpdate(p);
8682
8670
  } else if (e !== "marker-label" && this.show) {
8683
8671
  let c = this.geojson.at(-1);
8684
- c || (c = S.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(c)), c.features = c.features.filter((h) => h.geometry.type === "Point");
8685
- const p = S.feature(
8672
+ c || (c = M.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(c)), c.features = c.features.filter((h) => h.geometry.type === "Point");
8673
+ const p = M.feature(
8686
8674
  {
8687
8675
  type: "Point",
8688
8676
  coordinates: [a.lngLat.lng, a.lngLat.lat]
@@ -8705,7 +8693,7 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8705
8693
  t = se.roundPrecision(t + h, 2);
8706
8694
  let A;
8707
8695
  l.mode === "RL" ? A = se.convertToMonotonicLng([c, p]) : A = se.convertToMonotonicLng(Re.interpolateCoordinates(c, p, 200));
8708
- const v = S.lineString(A.map((E) => [E.lng, E.lat]));
8696
+ const v = M.lineString(A.map((E) => [E.lng, E.lat]));
8709
8697
  v.properties.dist = h, v.properties.bearing = d, v.properties.total = t, r.push(v);
8710
8698
  }
8711
8699
  e.push(...r), a.total = t;
@@ -8713,14 +8701,14 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8713
8701
  return this.handleRender(a), a;
8714
8702
  },
8715
8703
  handleTmpPointUpdate(a, e, t, r) {
8716
- const i = S.featureCollection([]);
8704
+ const i = M.featureCollection([]);
8717
8705
  let s, n;
8718
8706
  if (e) {
8719
8707
  const c = e.properties, p = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, h = { lng: t.lng, lat: t.lat };
8720
8708
  s = Re.calculateDistance(p, h, c.mode === "RL", 1), n = Re.calculateBearing(p, h, c.mode === "RL", 2);
8721
8709
  let d;
8722
8710
  c.mode === "RL" ? d = se.convertToMonotonicLng([p, h]) : d = se.convertToMonotonicLng(Re.interpolateCoordinates(p, h, 200));
8723
- const A = S.lineString(d.map((v) => [v.lng, v.lat]));
8711
+ const A = M.lineString(d.map((v) => [v.lng, v.lat]));
8724
8712
  A.properties.dist = s, A.properties.bearing = n, i.features.push(A);
8725
8713
  }
8726
8714
  if (r) {
@@ -8728,7 +8716,7 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8728
8716
  s = Re.calculateDistance(p, h, c.mode === "RL", 1), n = Re.calculateBearing(p, h, c.mode === "RL", 2);
8729
8717
  let d;
8730
8718
  c.mode === "RL" ? d = se.convertToMonotonicLng([p, h]) : d = se.convertToMonotonicLng(Re.interpolateCoordinates(p, h, 200));
8731
- const A = S.lineString(d.map((v) => [v.lng, v.lat]));
8719
+ const A = M.lineString(d.map((v) => [v.lng, v.lat]));
8732
8720
  A.properties.dist = s, A.properties.bearing = n, i.features.push(A);
8733
8721
  }
8734
8722
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(i) : this.map.addSource(this.tmpSource, {
@@ -8779,14 +8767,14 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8779
8767
  handleMove(a) {
8780
8768
  this.map.getCanvas().style.cursor = "crosshair";
8781
8769
  let e = this.geojson.at(-1);
8782
- e || (e = S.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
8770
+ e || (e = M.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
8783
8771
  const t = e.features.filter((r) => r.geometry.type === "Point");
8784
8772
  t != null && t.length && this.handleTmpPointUpdate(e, t.at(-1), { lng: a.lngLat.lng, lat: a.lngLat.lat });
8785
8773
  },
8786
8774
  handleDblClick(a) {
8787
8775
  a.preventDefault();
8788
8776
  let e = this.geojson.at(-1);
8789
- e.closed = !0, this.handleRender(e), e = S.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e);
8777
+ e.closed = !0, this.handleRender(e), e = M.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e);
8790
8778
  },
8791
8779
  handleRender(a) {
8792
8780
  var e;
@@ -8849,11 +8837,11 @@ const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c
8849
8837
  }
8850
8838
  }
8851
8839
  };
8852
- function Bs(a, e, t, r, i, s) {
8853
- return m(), u("div");
8840
+ function _s(a, e, t, r, i, s) {
8841
+ return u(), g("div");
8854
8842
  }
8855
- const Is = /* @__PURE__ */ U(_s, [["render", Bs]]);
8856
- const Es = {
8843
+ const Bs = /* @__PURE__ */ U(xs, [["render", _s]]);
8844
+ const Is = {
8857
8845
  name: "IdmENC",
8858
8846
  props: {
8859
8847
  map: {
@@ -8908,13 +8896,13 @@ const Es = {
8908
8896
  this.vendor = this.permission & Ze.LEVEL.Supper ? "hi" : "i4";
8909
8897
  },
8910
8898
  methods: {}
8911
- }, Ds = { key: 0 }, ks = { class: "bar-item" };
8912
- function zs(a, e, t, r, i, s) {
8899
+ }, Es = { key: 0 }, ks = { class: "bar-item" };
8900
+ function Ds(a, e, t, r, i, s) {
8913
8901
  const n = R("ElTooltip");
8914
- return t.enabled && t.permission & i.helper.LEVEL.Supper ? (m(), u("div", Ds, [
8902
+ return t.enabled && t.permission & i.helper.LEVEL.Supper ? (u(), g("div", Es, [
8915
8903
  o("div", {
8916
8904
  class: "menu-bar-box",
8917
- style: oe({ position: "absolute", right: i.right + "px", bottom: t.bottom })
8905
+ style: le({ position: "absolute", right: i.right + "px", bottom: t.bottom })
8918
8906
  }, [
8919
8907
  o("div", ks, [
8920
8908
  H(n, {
@@ -8925,7 +8913,7 @@ function zs(a, e, t, r, i, s) {
8925
8913
  }, {
8926
8914
  default: Ie(() => [
8927
8915
  o("div", {
8928
- class: Z(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8916
+ class: V(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8929
8917
  onClick: e[0] || (e[0] = (l) => i.vendor = "hi")
8930
8918
  }, e[2] || (e[2] = [
8931
8919
  o("span", { class: "iconfont" }, "HI", -1)
@@ -8941,7 +8929,7 @@ function zs(a, e, t, r, i, s) {
8941
8929
  }, {
8942
8930
  default: Ie(() => [
8943
8931
  o("div", {
8944
- class: Z(i.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8932
+ class: V(i.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8945
8933
  onClick: e[1] || (e[1] = (l) => i.vendor = "i4")
8946
8934
  }, e[3] || (e[3] = [
8947
8935
  o("span", { class: "iconfont" }, "I4", -1)
@@ -8953,7 +8941,7 @@ function zs(a, e, t, r, i, s) {
8953
8941
  ], 4)
8954
8942
  ])) : J("", !0);
8955
8943
  }
8956
- const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-8ff97b39"]]), Ms = {
8944
+ const zs = /* @__PURE__ */ U(Is, [["render", Ds], ["__scopeId", "data-v-8ff97b39"]]), Ps = {
8957
8945
  name: "IdmWorld12nm",
8958
8946
  props: {
8959
8947
  map: {
@@ -9012,11 +9000,11 @@ const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-8ff97b39
9012
9000
  }
9013
9001
  }
9014
9002
  };
9015
- function Ss(a, e, t, r, i, s) {
9003
+ function Ms(a, e, t, r, i, s) {
9016
9004
  return null;
9017
9005
  }
9018
- const Ts = /* @__PURE__ */ U(Ms, [["render", Ss]]);
9019
- const Qs = {
9006
+ const Ss = /* @__PURE__ */ U(Ps, [["render", Ms]]);
9007
+ const Ts = {
9020
9008
  name: "IdmWorldMarine",
9021
9009
  props: {
9022
9010
  map: {
@@ -9056,10 +9044,10 @@ const Qs = {
9056
9044
  }
9057
9045
  }
9058
9046
  };
9059
- function Hs(a, e, t, r, i, s) {
9047
+ function Qs(a, e, t, r, i, s) {
9060
9048
  return null;
9061
9049
  }
9062
- const Ns = /* @__PURE__ */ U(Qs, [["render", Hs]]), Fs = {
9050
+ const Hs = /* @__PURE__ */ U(Ts, [["render", Qs]]), Ns = {
9063
9051
  name: "IdmChinaRoute",
9064
9052
  props: {
9065
9053
  map: {
@@ -9097,11 +9085,11 @@ const Ns = /* @__PURE__ */ U(Qs, [["render", Hs]]), Fs = {
9097
9085
  }
9098
9086
  }
9099
9087
  };
9100
- function Os(a, e, t, r, i, s) {
9088
+ function Fs(a, e, t, r, i, s) {
9101
9089
  return null;
9102
9090
  }
9103
- const Rs = /* @__PURE__ */ U(Fs, [["render", Os]]);
9104
- const js = {
9091
+ const Os = /* @__PURE__ */ U(Ns, [["render", Fs]]);
9092
+ const Rs = {
9105
9093
  name: "IdmGLV2",
9106
9094
  components: {
9107
9095
  IdmGlLayer: ia,
@@ -9120,23 +9108,23 @@ const js = {
9120
9108
  IdmVisibility: mi,
9121
9109
  IdmWaterTemp: fi,
9122
9110
  IdmTemp: bi,
9123
- IdmWarZone: Or,
9124
- IdmGmdssArea: Wr,
9125
- IdmEcaZone: Yr,
9126
- IdmAlertZone: Vr,
9127
- IdmPort: ns,
9128
- IdmLoadLine: cs,
9129
- IdmTimezone: ms,
9130
- IdmVRA: ys,
9131
- IdmSpecialArea: ws,
9132
- IdmTerminator: Ls,
9111
+ IdmWarZone: Fr,
9112
+ IdmGmdssArea: jr,
9113
+ IdmEcaZone: Ur,
9114
+ IdmAlertZone: qr,
9115
+ IdmPort: os,
9116
+ IdmLoadLine: hs,
9117
+ IdmTimezone: ps,
9118
+ IdmVRA: gs,
9119
+ IdmSpecialArea: As,
9120
+ IdmTerminator: bs,
9133
9121
  IdmLatLng: pt,
9134
- IdmMeasure: Is,
9135
- IdmPoint: Hr,
9136
- IdmENC: Ps,
9137
- IdmWorld12nm: Ts,
9138
- IdmWorldMarine: Ns,
9139
- IdmChinaRoute: Rs
9122
+ IdmMeasure: Bs,
9123
+ IdmPoint: Qr,
9124
+ IdmENC: zs,
9125
+ IdmWorld12nm: Ss,
9126
+ IdmWorldMarine: Hs,
9127
+ IdmChinaRoute: Os
9140
9128
  },
9141
9129
  props: {
9142
9130
  map: {
@@ -9216,11 +9204,11 @@ const js = {
9216
9204
  },
9217
9205
  activeWeatherLayers: {
9218
9206
  handler() {
9219
- var t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g, C, y, L, T;
9207
+ var t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, m, C, y, L, S;
9220
9208
  if (!this.map)
9221
9209
  return !1;
9222
- const a = this.activeWeatherLayers.some((k) => k.key === "wind" && k.particle === !0 || k.key === "current" && k.particle === !0 || k.key === "ice-edge" || k.key === "ice-thickness" || k.key === "ice-cover" || k.key === "temp" || k.key === "water-temp"), e = this.activeWeatherLayers.some((k) => k.key === "visibility" || k.key === "precip3h");
9223
- this.activeWeatherLayers.length > 0 ? (!a && this.map.getZoom() > 3 && this.enc ? (r = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || r.setLayoutProperty("visibility", "visible") : ((s = (i = this.map) == null ? void 0 : i.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (l = (n = this.map) == null ? void 0 : n.getLayer("hi")) == null || l.setLayoutProperty("visibility", "none")), (p = (c = this.map) == null ? void 0 : c.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || p.setLayoutProperty("visibility", "visible"), (d = this.map) != null && d.getLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((E = this.map) == null || E.moveLayer((v = this.viewport) == null ? void 0 : v.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), e && ((D = this.map) == null || D.moveLayer(this.helper.mapboxCustomer.layers.countryBoundary.id, (w = this.viewport) == null ? void 0 : w.rampColorLayer))) : ((f = (_ = this.map) == null ? void 0 : _.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || f.setLayoutProperty("visibility", "none"), this.enc && this.map.getZoom() > 3 ? (g = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || g.setLayoutProperty("visibility", "visible") : ((y = (C = this.map) == null ? void 0 : C.getLayer("i4")) == null || y.setLayoutProperty("visibility", "none"), (T = (L = this.map) == null ? void 0 : L.getLayer("hi")) == null || T.setLayoutProperty("visibility", "none"))), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
9210
+ const a = this.activeWeatherLayers.some((D) => D.key === "wind" && D.particle === !0 || D.key === "current" && D.particle === !0 || D.key === "ice-edge" || D.key === "ice-thickness" || D.key === "ice-cover" || D.key === "temp" || D.key === "water-temp"), e = this.activeWeatherLayers.some((D) => D.key === "visibility" || D.key === "precip3h");
9211
+ this.activeWeatherLayers.length > 0 ? (!a && this.map.getZoom() > 3 && this.enc ? (r = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || r.setLayoutProperty("visibility", "visible") : ((s = (i = this.map) == null ? void 0 : i.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (l = (n = this.map) == null ? void 0 : n.getLayer("hi")) == null || l.setLayoutProperty("visibility", "none")), (p = (c = this.map) == null ? void 0 : c.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || p.setLayoutProperty("visibility", "visible"), (d = this.map) != null && d.getLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer) && ((A = this.map) != null && A.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((E = this.map) == null || E.moveLayer((v = this.viewport) == null ? void 0 : v.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), e && ((k = this.map) == null || k.moveLayer(this.helper.mapboxCustomer.layers.countryBoundary.id, (w = this.viewport) == null ? void 0 : w.rampColorLayer))) : ((f = (_ = this.map) == null ? void 0 : _.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || f.setLayoutProperty("visibility", "none"), this.enc && this.map.getZoom() > 3 ? (m = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || m.setLayoutProperty("visibility", "visible") : ((y = (C = this.map) == null ? void 0 : C.getLayer("i4")) == null || y.setLayoutProperty("visibility", "none"), (S = (L = this.map) == null ? void 0 : L.getLayer("hi")) == null || S.setLayoutProperty("visibility", "none"))), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
9224
9212
  },
9225
9213
  immediate: !0
9226
9214
  },
@@ -9278,53 +9266,53 @@ const js = {
9278
9266
  if (this.map) {
9279
9267
  const v = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, E = (s = this.map) == null ? void 0 : s.getBounds(), w = `${E._sw.lng},${E._sw.lat},${E._ne.lng},${E._ne.lat}`;
9280
9268
  if (this.particleFactor && ((n = this.$refs.layer) != null && n.autoActive)) {
9281
- const D = Ve.WEATHER_LAYERS.find((_) => {
9269
+ const k = Ve.WEATHER_LAYERS.find((_) => {
9282
9270
  var f;
9283
9271
  return ((f = _.peer) == null ? void 0 : f.weight) === this.particleFactor.weight;
9284
9272
  });
9285
- this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & D.weight ? this.weatherWeight : this.weatherWeight + D.weight : this.weatherWeight = this.weatherWeight & D.weight ? this.weatherWeight - D.weight : this.weatherWeight;
9273
+ this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & k.weight ? this.weatherWeight : this.weatherWeight + k.weight : this.weatherWeight = this.weatherWeight & k.weight ? this.weatherWeight - k.weight : this.weatherWeight;
9286
9274
  }
9287
9275
  if (this.weatherWeight > 0) {
9288
- let D = this.weatherWeight, _;
9289
- if (a.tropicals || this.weatherWeight & 256 && (_ = this.weatherLayers.tropicals, _ && (D -= 256, _.version = Math.random() + 1)), D > 0) {
9290
- const f = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], b = await Qe.get(`${f}/api/arc/weather/layers2/links?l=${D}&v=${this.source}&z=${v}&bbox=${w}&t=${this.ts}`, {
9276
+ let k = this.weatherWeight, _;
9277
+ if (a.tropicals || this.weatherWeight & 256 && (_ = this.weatherLayers.tropicals, _ && (k -= 256, _.version = Math.random() + 1)), k > 0) {
9278
+ const f = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], b = await Qe.get(`${f}/api/arc/weather/layers2/links?l=${k}&v=${this.source}&z=${v}&bbox=${w}&t=${this.ts}`, {
9291
9279
  headers: {
9292
9280
  Authorization: this.token || this.defaultMeteoToken
9293
9281
  }
9294
9282
  });
9295
9283
  if (r = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", r, ", total: ", t += r), ((l = b == null ? void 0 : b.data) == null ? void 0 : l.code) === 0) {
9296
- const g = (c = b == null ? void 0 : b.data) == null ? void 0 : c.data, C = [];
9297
- for (const L in g)
9284
+ const m = (c = b == null ? void 0 : b.data) == null ? void 0 : c.data, C = [];
9285
+ for (const L in m)
9298
9286
  L !== "tropicals" && C.push(
9299
- Qe.get(g[L], {
9287
+ Qe.get(m[L], {
9300
9288
  headers: {
9301
9289
  Authorization: this.token || this.defaultMeteoToken,
9302
9290
  key: L
9303
9291
  },
9304
- responseType: /\.(jpg|png)$/.test(g[L]) ? "blob" : "json"
9305
- }).catch((T) => {
9306
- console.log(`[${L}] fetch layer error: ${T}`);
9292
+ responseType: /\.(jpg|png)$/.test(m[L]) ? "blob" : "json"
9293
+ }).catch((S) => {
9294
+ console.log(`[${L}] fetch layer error: ${S}`);
9307
9295
  })
9308
9296
  );
9309
9297
  const y = await Promise.all(C);
9310
9298
  this.weatherLayers = {}, y.map((L) => {
9311
9299
  var F, N, j, G;
9312
- const T = ((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data), k = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9313
- k && T && (this.weatherLayers[k] = {
9314
- raw: T,
9300
+ const S = ((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data), D = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9301
+ D && S && (this.weatherLayers[D] = {
9302
+ raw: S,
9315
9303
  type: ((G = L == null ? void 0 : L.config) == null ? void 0 : G.responseType) === "blob" ? "image" : "json",
9316
9304
  etime: b.data.etime
9317
9305
  });
9318
- }), g.tropicals && Qe.get(g.tropicals, {
9306
+ }), m.tropicals && Qe.get(m.tropicals, {
9319
9307
  headers: {
9320
9308
  Authorization: this.token || this.defaultMeteoToken,
9321
9309
  key: "tropicals"
9322
9310
  }
9323
9311
  }).then((L) => {
9324
9312
  var F, N, j;
9325
- const T = ct.convert2Geojson(((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data)), k = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9326
- this.weatherLayers[k] = {
9327
- data: T,
9313
+ const S = ct.convert2Geojson(((F = L == null ? void 0 : L.data) == null ? void 0 : F.data) || (L == null ? void 0 : L.data)), D = (j = (N = L == null ? void 0 : L.config) == null ? void 0 : N.headers) == null ? void 0 : j.key;
9314
+ this.weatherLayers[D] = {
9315
+ data: S,
9328
9316
  active: !0,
9329
9317
  cached: !1,
9330
9318
  type: "json",
@@ -9334,19 +9322,19 @@ const js = {
9334
9322
  });
9335
9323
  }
9336
9324
  if (r = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather layers elapsed: ", r, ", total: ", t += r), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
9337
- const g = (p = this.weatherLayers["swell-direction"]) == null ? void 0 : p.raw, C = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
9325
+ const m = (p = this.weatherLayers["swell-direction"]) == null ? void 0 : p.raw, C = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
9338
9326
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
9339
9327
  type: "json",
9340
- direction: g,
9328
+ direction: m,
9341
9329
  height: { raw: C },
9342
9330
  etime: b.data.etime
9343
9331
  };
9344
9332
  }
9345
9333
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
9346
- const g = (d = this.weatherLayers["current-direction"]) == null ? void 0 : d.raw, C = (A = this.weatherLayers["current-speed"]) == null ? void 0 : A.raw;
9334
+ const m = (d = this.weatherLayers["current-direction"]) == null ? void 0 : d.raw, C = (A = this.weatherLayers["current-speed"]) == null ? void 0 : A.raw;
9347
9335
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
9348
9336
  type: "json",
9349
- direction: g,
9337
+ direction: m,
9350
9338
  speed: { raw: C },
9351
9339
  etime: b.data.etime
9352
9340
  };
@@ -9384,9 +9372,9 @@ const js = {
9384
9372
  );
9385
9373
  const E = await Promise.all(v);
9386
9374
  this.otherLayers = { enc: n, world12nm: l, worldMarine: c, chinaRoute: p }, E.map((w) => {
9387
- var f, b, g;
9388
- const D = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9389
- this.otherLayers[_] = D;
9375
+ var f, b, m;
9376
+ const k = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (m = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : m.key;
9377
+ this.otherLayers[_] = k;
9390
9378
  });
9391
9379
  }
9392
9380
  } else if (a.dayNight && s & 1024) {
@@ -9407,9 +9395,9 @@ const js = {
9407
9395
  })
9408
9396
  );
9409
9397
  (await Promise.all(v)).map((w) => {
9410
- var f, b, g;
9411
- const D = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (g = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : g.key;
9412
- this.otherLayers[_] = D;
9398
+ var f, b, m;
9399
+ const k = ((f = w == null ? void 0 : w.data) == null ? void 0 : f.data) || (w == null ? void 0 : w.data), _ = (m = (b = w == null ? void 0 : w.config) == null ? void 0 : b.headers) == null ? void 0 : m.key;
9400
+ this.otherLayers[_] = k;
9413
9401
  });
9414
9402
  }
9415
9403
  }
@@ -9469,46 +9457,46 @@ const js = {
9469
9457
  let e = 0, t = 0;
9470
9458
  const r = (p = this.map) == null ? void 0 : p.getBounds(), i = this.map.getZoom(), s = se.convertToStdLng(r._sw.lng), n = se.convertToStdLng(r._ne.lng), l = Math.floor(r._sw.lat), c = Math.ceil(r._ne.lat);
9471
9459
  for (const w in this.weatherLayers) {
9472
- let D = !1;
9460
+ let k = !1;
9473
9461
  if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
9474
9462
  let _ = [];
9475
9463
  if (w === "swell") {
9476
- D = !0;
9464
+ k = !0;
9477
9465
  const f = ((h = this.weatherLayers[w]) == null ? void 0 : h.direction) || {};
9478
- for (const g in f)
9479
- if (g > l && g < c && (!(i <= this.zoom) || g % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9480
- const C = f[g].lng;
9466
+ for (const m in f)
9467
+ if (m > l && m < c && (!(i <= this.zoom) || m % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9468
+ const C = f[m].lng;
9481
9469
  s > n ? C.forEach((y, L) => {
9482
- var T, k, F, N, j, G;
9470
+ var S, D, F, N, j, G;
9483
9471
  if (i < 2) {
9484
9472
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9485
- const W = S.point([y, g], {
9486
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9487
- spd: (F = f[g].spd) == null ? void 0 : F[L]
9473
+ const W = M.point([y, m], {
9474
+ val: ((S = f[m].val) == null ? void 0 : S[L]) || ((D = f[m].dir) == null ? void 0 : D[L]),
9475
+ spd: (F = f[m].spd) == null ? void 0 : F[L]
9488
9476
  });
9489
9477
  _.push(W);
9490
9478
  }
9491
9479
  } else if ((y >= s && y <= 180 || y >= -180 && y <= n) && (!(i <= this.zoom) || y % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9492
- const W = S.point([y, g], {
9493
- val: ((N = f[g].val) == null ? void 0 : N[L]) || ((j = f[g].dir) == null ? void 0 : j[L]),
9494
- spd: (G = f[g].spd) == null ? void 0 : G[L]
9480
+ const W = M.point([y, m], {
9481
+ val: ((N = f[m].val) == null ? void 0 : N[L]) || ((j = f[m].dir) == null ? void 0 : j[L]),
9482
+ spd: (G = f[m].spd) == null ? void 0 : G[L]
9495
9483
  });
9496
9484
  _.push(W);
9497
9485
  }
9498
9486
  }) : C.forEach((y, L) => {
9499
- var T, k, F, N, j, G;
9487
+ var S, D, F, N, j, G;
9500
9488
  if (s < 2) {
9501
9489
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9502
- const W = S.point([y, g], {
9503
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9504
- spd: (F = f[g].spd) == null ? void 0 : F[L]
9490
+ const W = M.point([y, m], {
9491
+ val: ((S = f[m].val) == null ? void 0 : S[L]) || ((D = f[m].dir) == null ? void 0 : D[L]),
9492
+ spd: (F = f[m].spd) == null ? void 0 : F[L]
9505
9493
  });
9506
9494
  _.push(W);
9507
9495
  }
9508
9496
  } else if (y >= s && y <= n && (!(i <= this.zoom) || y % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9509
- const W = S.point([y, g], {
9510
- val: ((N = f[g].val) == null ? void 0 : N[L]) || ((j = f[g].dir) == null ? void 0 : j[L]),
9511
- spd: (G = f[g].spd) == null ? void 0 : G[L]
9497
+ const W = M.point([y, m], {
9498
+ val: ((N = f[m].val) == null ? void 0 : N[L]) || ((j = f[m].dir) == null ? void 0 : j[L]),
9499
+ spd: (G = f[m].spd) == null ? void 0 : G[L]
9512
9500
  });
9513
9501
  _.push(W);
9514
9502
  }
@@ -9518,61 +9506,61 @@ const js = {
9518
9506
  const b = this.weatherLayers[w].height;
9519
9507
  if (b) {
9520
9508
  if (!b.data) {
9521
- const g = [];
9509
+ const m = [];
9522
9510
  for (const C in (d = b.raw) == null ? void 0 : d.LineString) {
9523
9511
  const y = b.raw.LineString[C];
9524
9512
  for (const L of y)
9525
- g.push(
9526
- S.lineString(L, {
9513
+ m.push(
9514
+ M.lineString(L, {
9527
9515
  val: Number(C)
9528
9516
  })
9529
9517
  );
9530
- b.data = S.featureCollection(g);
9518
+ b.data = M.featureCollection(m);
9531
9519
  }
9532
9520
  }
9533
9521
  if (b.data) {
9534
- const g = this.handleBboxClip(b.data, r);
9535
- _ = _.concat(g);
9522
+ const m = this.handleBboxClip(b.data, r);
9523
+ _ = _.concat(m);
9536
9524
  }
9537
9525
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("swell height elapsed: ", t, ", total: ", e += t);
9538
9526
  }
9539
9527
  } else if (w === "current" && this.showCurrentIsoband) {
9540
- D = !0;
9528
+ k = !0;
9541
9529
  const f = ((A = this.weatherLayers[w]) == null ? void 0 : A.direction) || {};
9542
- for (const g in f)
9543
- if (g > l && g < c && (!(i <= this.zoom) || g % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9544
- const C = f[g].lng;
9530
+ for (const m in f)
9531
+ if (m > l && m < c && (!(i <= this.zoom) || m % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9532
+ const C = f[m].lng;
9545
9533
  s > n ? C.forEach((y, L) => {
9546
- var T, k, F, N, j, G;
9534
+ var S, D, F, N, j, G;
9547
9535
  if (i < 2) {
9548
9536
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9549
- const W = S.point([y, g], {
9550
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9551
- spd: (F = f[g].spd) == null ? void 0 : F[L]
9537
+ const W = M.point([y, m], {
9538
+ val: ((S = f[m].val) == null ? void 0 : S[L]) || ((D = f[m].dir) == null ? void 0 : D[L]),
9539
+ spd: (F = f[m].spd) == null ? void 0 : F[L]
9552
9540
  });
9553
9541
  _.push(W);
9554
9542
  }
9555
9543
  } else if ((y >= s && y <= 180 || y >= -180 && y <= n) && (!(i <= this.zoom) || y % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9556
- const W = S.point([y, g], {
9557
- val: ((N = f[g].val) == null ? void 0 : N[L]) || ((j = f[g].dir) == null ? void 0 : j[L]),
9558
- spd: (G = f[g].spd) == null ? void 0 : G[L]
9544
+ const W = M.point([y, m], {
9545
+ val: ((N = f[m].val) == null ? void 0 : N[L]) || ((j = f[m].dir) == null ? void 0 : j[L]),
9546
+ spd: (G = f[m].spd) == null ? void 0 : G[L]
9559
9547
  });
9560
9548
  _.push(W);
9561
9549
  }
9562
9550
  }) : C.forEach((y, L) => {
9563
- var T, k, F, N, j, G;
9551
+ var S, D, F, N, j, G;
9564
9552
  if (s < 2) {
9565
9553
  if ((y >= 0 && y <= 360 || y >= -360 && y <= 0) && y % 10 === 0) {
9566
- const W = S.point([y, g], {
9567
- val: ((T = f[g].val) == null ? void 0 : T[L]) || ((k = f[g].dir) == null ? void 0 : k[L]),
9568
- spd: (F = f[g].spd) == null ? void 0 : F[L]
9554
+ const W = M.point([y, m], {
9555
+ val: ((S = f[m].val) == null ? void 0 : S[L]) || ((D = f[m].dir) == null ? void 0 : D[L]),
9556
+ spd: (F = f[m].spd) == null ? void 0 : F[L]
9569
9557
  });
9570
9558
  _.push(W);
9571
9559
  }
9572
9560
  } else if (y >= s && y <= n && (!(i <= this.zoom) || y % (i < this.zoom / 2 ? 5 : 3) === 0)) {
9573
- const W = S.point([y, g], {
9574
- val: ((N = f[g].val) == null ? void 0 : N[L]) || ((j = f[g].dir) == null ? void 0 : j[L]),
9575
- spd: (G = f[g].spd) == null ? void 0 : G[L]
9561
+ const W = M.point([y, m], {
9562
+ val: ((N = f[m].val) == null ? void 0 : N[L]) || ((j = f[m].dir) == null ? void 0 : j[L]),
9563
+ spd: (G = f[m].spd) == null ? void 0 : G[L]
9576
9564
  });
9577
9565
  _.push(W);
9578
9566
  }
@@ -9585,54 +9573,54 @@ const js = {
9585
9573
  const C = [];
9586
9574
  for (const y in (v = b.raw) == null ? void 0 : v.Polygon) {
9587
9575
  const L = b.raw.Polygon[y];
9588
- for (const T of L)
9576
+ for (const S of L)
9589
9577
  C.push(
9590
- S.polygon(T, {
9578
+ M.polygon(S, {
9591
9579
  val: Number(y)
9592
9580
  })
9593
9581
  );
9594
9582
  }
9595
- b.data = S.featureCollection(C);
9583
+ b.data = M.featureCollection(C);
9596
9584
  }
9597
- const g = i < this.zoom ? b.data.features.filter((C) => C.properties.val > 0.5) : b.data.features;
9598
- _ = _.concat(g), t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
9585
+ const m = i < this.zoom ? b.data.features.filter((C) => C.properties.val > 0.5) : b.data.features;
9586
+ _ = _.concat(m), t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
9599
9587
  }
9600
9588
  } else if (w === "wind" && this.showWindFeather) {
9601
- D = !0;
9589
+ k = !0;
9602
9590
  const f = this.weatherLayers.wind.raw;
9603
9591
  for (const b in f)
9604
9592
  if (b > l && b < c && (!(i <= this.zoom) || b % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9605
- const g = f[b].lng;
9606
- s > n ? g.forEach((C, y) => {
9607
- var L, T, k, F;
9593
+ const m = f[b].lng;
9594
+ s > n ? m.forEach((C, y) => {
9595
+ var L, S, D, F;
9608
9596
  if (i < 2) {
9609
9597
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9610
- const N = S.point([C, b], {
9611
- dir: ((L = f[b].val) == null ? void 0 : L[y]) || ((T = f[b].dir) == null ? void 0 : T[y]),
9598
+ const N = M.point([C, b], {
9599
+ dir: ((L = f[b].val) == null ? void 0 : L[y]) || ((S = f[b].dir) == null ? void 0 : S[y]),
9612
9600
  spd: f[b].spd[y]
9613
9601
  });
9614
9602
  _.push(N);
9615
9603
  }
9616
9604
  } else if ((C >= s && C <= 180 || C >= -180 && C <= n) && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9617
- const N = S.point([C, b], {
9618
- dir: ((k = f[b].val) == null ? void 0 : k[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9605
+ const N = M.point([C, b], {
9606
+ dir: ((D = f[b].val) == null ? void 0 : D[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9619
9607
  spd: f[b].spd[y]
9620
9608
  });
9621
9609
  _.push(N);
9622
9610
  }
9623
- }) : g.forEach((C, y) => {
9624
- var L, T, k, F;
9611
+ }) : m.forEach((C, y) => {
9612
+ var L, S, D, F;
9625
9613
  if (i < 2) {
9626
9614
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9627
- const N = S.point([C, b], {
9628
- dir: ((L = f[b].val) == null ? void 0 : L[y]) || ((T = f[b].dir) == null ? void 0 : T[y]),
9615
+ const N = M.point([C, b], {
9616
+ dir: ((L = f[b].val) == null ? void 0 : L[y]) || ((S = f[b].dir) == null ? void 0 : S[y]),
9629
9617
  spd: f[b].spd[y]
9630
9618
  });
9631
9619
  _.push(N);
9632
9620
  }
9633
9621
  } else if (C >= s && C <= n && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
9634
- const N = S.point([C, b], {
9635
- dir: ((k = f[b].val) == null ? void 0 : k[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9622
+ const N = M.point([C, b], {
9623
+ dir: ((D = f[b].val) == null ? void 0 : D[y]) || ((F = f[b].dir) == null ? void 0 : F[y]),
9636
9624
  spd: f[b].spd[y]
9637
9625
  });
9638
9626
  _.push(N);
@@ -9644,24 +9632,24 @@ const js = {
9644
9632
  if (this.weatherLayers[w].data)
9645
9633
  _ = this.weatherLayers[w].data;
9646
9634
  else {
9647
- D = !0;
9635
+ k = !0;
9648
9636
  const f = this.weatherLayers[w].raw;
9649
9637
  if (f) {
9650
9638
  const b = [];
9651
- for (const g in f.Polygon) {
9652
- const C = f.Polygon[g];
9639
+ for (const m in f.Polygon) {
9640
+ const C = f.Polygon[m];
9653
9641
  for (const y of C)
9654
9642
  b.push(
9655
- S.polygon(y, {
9656
- val: Number(g)
9643
+ M.polygon(y, {
9644
+ val: Number(m)
9657
9645
  })
9658
9646
  );
9659
9647
  }
9660
- for (const g in f.Point) {
9661
- const C = f.Point[g];
9648
+ for (const m in f.Point) {
9649
+ const C = f.Point[m];
9662
9650
  for (let y = 0; y < ((E = C.lng) == null ? void 0 : E.length); y++)
9663
9651
  b.push(
9664
- S.point([C.lng[y], g], {
9652
+ M.point([C.lng[y], m], {
9665
9653
  val: Number(C.val[y])
9666
9654
  })
9667
9655
  );
@@ -9674,25 +9662,25 @@ const js = {
9674
9662
  if (this.weatherLayers[w].data)
9675
9663
  _ = this.weatherLayers[w].data;
9676
9664
  else {
9677
- D = !0;
9665
+ k = !0;
9678
9666
  const f = this.weatherLayers[w].raw;
9679
9667
  if (f) {
9680
9668
  const b = [];
9681
- for (const g in f.LineString) {
9682
- const C = f.LineString[g];
9669
+ for (const m in f.LineString) {
9670
+ const C = f.LineString[m];
9683
9671
  for (const y of C)
9684
9672
  b.push(
9685
- S.lineString(y, {
9686
- val: Number(g)
9673
+ M.lineString(y, {
9674
+ val: Number(m)
9687
9675
  })
9688
9676
  );
9689
9677
  }
9690
- for (const g in f.Point)
9691
- f.Point[g].lng.forEach((C, y) => {
9678
+ for (const m in f.Point)
9679
+ f.Point[m].lng.forEach((C, y) => {
9692
9680
  C = se.convertToStdLng(C), b.push(
9693
- S.point([C, g], {
9694
- val: f.Point[g].val[y],
9695
- type: f.Point[g].type[y]
9681
+ M.point([C, m], {
9682
+ val: f.Point[m].val[y],
9683
+ type: f.Point[m].type[y]
9696
9684
  })
9697
9685
  );
9698
9686
  });
@@ -9701,7 +9689,7 @@ const js = {
9701
9689
  }
9702
9690
  t = (/* @__PURE__ */ new Date()).valueOf() - (a + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
9703
9691
  }
9704
- _.length && (this.weatherLayers[w].data = S.featureCollection(_)), D && (this.weatherLayers[w].version = Math.random() + 1);
9692
+ _.length && (this.weatherLayers[w].data = M.featureCollection(_)), k && (this.weatherLayers[w].version = Math.random() + 1);
9705
9693
  }
9706
9694
  }
9707
9695
  },
@@ -9716,10 +9704,10 @@ const js = {
9716
9704
  return a.features.forEach((s) => {
9717
9705
  if (s.geometry.type !== "Point")
9718
9706
  if (r > i) {
9719
- let n = [r, e._sw.lat, 180, e._ne.lat], l = S.bboxClip(s, n);
9720
- l.geometry.coordinates.length && t.push(l), n = [-180, e._sw.lat, i, e._ne.lat], l = S.bboxClip(s, n), l.geometry.coordinates.length && t.push(l);
9707
+ let n = [r, e._sw.lat, 180, e._ne.lat], l = M.bboxClip(s, n);
9708
+ l.geometry.coordinates.length && t.push(l), n = [-180, e._sw.lat, i, e._ne.lat], l = M.bboxClip(s, n), l.geometry.coordinates.length && t.push(l);
9721
9709
  } else {
9722
- const n = [r, e._sw.lat, i, e._ne.lat], l = S.bboxClip(s, n);
9710
+ const n = [r, e._sw.lat, i, e._ne.lat], l = M.bboxClip(s, n);
9723
9711
  l.geometry.coordinates.length && t.push(l);
9724
9712
  }
9725
9713
  else
@@ -9772,8 +9760,8 @@ const js = {
9772
9760
  }
9773
9761
  },
9774
9762
  handle3dToggle(a) {
9775
- var e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, D, _, f, b, g;
9776
- a ? (this.map.setProjection("globe"), this.mapProjection = "globe", (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.rampColorLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((s = this.map) == null || s.moveLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (l = this.map) != null && l.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) && ((c = this.map) != null && c.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((h = this.map) == null || h.moveLayer((p = this.viewport) == null ? void 0 : p.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("move", this.handleDraWeather4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("move", this.handleDraWeather4Image), this.handleDraWeather4Image(), (A = this.map) != null && A.getLayer((d = this.viewport) == null ? void 0 : d.rampColorLayer) && ((v = this.map) != null && v.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((w = this.map) == null || w.moveLayer((E = this.viewport) == null ? void 0 : E.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (_ = this.map) != null && _.getLayer((D = this.viewport) == null ? void 0 : D.particleLayer) && ((f = this.map) != null && f.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((g = this.map) == null || g.moveLayer((b = this.viewport) == null ? void 0 : b.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9763
+ var e, t, r, i, s, n, l, c, p, h, d, A, v, E, w, k, _, f, b, m;
9764
+ a ? (this.map.setProjection("globe"), this.mapProjection = "globe", (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.rampColorLayer) && ((r = this.map) != null && r.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((s = this.map) == null || s.moveLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (l = this.map) != null && l.getLayer((n = this.viewport) == null ? void 0 : n.particleLayer) && ((c = this.map) != null && c.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((h = this.map) == null || h.moveLayer((p = this.viewport) == null ? void 0 : p.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("move", this.handleDraWeather4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("move", this.handleDraWeather4Image), this.handleDraWeather4Image(), (A = this.map) != null && A.getLayer((d = this.viewport) == null ? void 0 : d.rampColorLayer) && ((v = this.map) != null && v.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((w = this.map) == null || w.moveLayer((E = this.viewport) == null ? void 0 : E.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (_ = this.map) != null && _.getLayer((k = this.viewport) == null ? void 0 : k.particleLayer) && ((f = this.map) != null && f.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((m = this.map) == null || m.moveLayer((b = this.viewport) == null ? void 0 : b.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9777
9765
  },
9778
9766
  handleParticle(a) {
9779
9767
  this.particleFactor = a, this.weatherLayers[a.key] && (this.weatherLayers[a.key].particle = a.particle), this.activeWeatherLayers.map((r) => {
@@ -9791,15 +9779,15 @@ const js = {
9791
9779
  this.$emit("toggleVersion", Math.random());
9792
9780
  }
9793
9781
  }
9794
- }, Ws = {
9782
+ }, js = {
9795
9783
  key: 0,
9796
9784
  ref: "mapGlHome",
9797
9785
  className: "map-gl-home"
9798
9786
  };
9799
- function Gs(a, e, t, r, i, s) {
9800
- var pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, De, re, ce, Q, Be, K, q, Me, P, de, ke, Se, Te, z, O, Ge, Ue;
9801
- const n = R("IdmGlLayer"), l = R("IdmENC"), c = R("IdmWorld12nm"), p = R("IdmWorldMarine"), h = R("IdmChinaRoute"), d = R("IdmSigWave"), A = R("IdmSwell"), v = R("IdmPrmsl"), E = R("IdmIceEdge"), w = R("IdmIceCover"), D = R("IdmIceThickness"), _ = R("IdmTropicals"), f = R("IdmCurrents"), b = R("IdmCurrentParticle"), g = R("IdmWindBarb"), C = R("IdmWindParticle"), y = R("IdmPrecip3h"), L = R("IdmVisibility"), T = R("IdmWaterTemp"), k = R("IdmTemp"), F = R("IdmWarZone"), N = R("IdmGmdssArea"), j = R("IdmEcaZone"), G = R("IdmAlertZone"), W = R("IdmPort"), me = R("IdmLoadLine"), he = R("IdmTimezone"), ue = R("IdmVRA"), fe = R("IdmSpecialArea"), ge = R("IdmTerminator"), Y = R("IdmLatLng"), ae = R("IdmMeasure"), Ae = R("IdmPoint");
9802
- return t.map ? (m(), u("div", Ws, [
9787
+ function Ws(a, e, t, r, i, s) {
9788
+ var pe, ye, Le, Ce, xe, we, _e, B, ze, ve, Pe, Ee, He, ke, re, ce, Q, Be, K, q, Me, P, de, De, Se, Te, z, O, Ge, Ue;
9789
+ const n = R("IdmGlLayer"), l = R("IdmENC"), c = R("IdmWorld12nm"), p = R("IdmWorldMarine"), h = R("IdmChinaRoute"), d = R("IdmSigWave"), A = R("IdmSwell"), v = R("IdmPrmsl"), E = R("IdmIceEdge"), w = R("IdmIceCover"), k = R("IdmIceThickness"), _ = R("IdmTropicals"), f = R("IdmCurrents"), b = R("IdmCurrentParticle"), m = R("IdmWindBarb"), C = R("IdmWindParticle"), y = R("IdmPrecip3h"), L = R("IdmVisibility"), S = R("IdmWaterTemp"), D = R("IdmTemp"), F = R("IdmWarZone"), N = R("IdmGmdssArea"), j = R("IdmEcaZone"), G = R("IdmAlertZone"), W = R("IdmPort"), me = R("IdmLoadLine"), he = R("IdmTimezone"), ue = R("IdmVRA"), fe = R("IdmSpecialArea"), ge = R("IdmTerminator"), Y = R("IdmLatLng"), ae = R("IdmMeasure"), Ae = R("IdmPoint");
9790
+ return t.map ? (u(), g("div", js, [
9803
9791
  H(n, X({
9804
9792
  ref: "layer",
9805
9793
  map: t.map,
@@ -9887,7 +9875,7 @@ function Gs(a, e, t, r, i, s) {
9887
9875
  "toggle-version": t.toggleVersion,
9888
9876
  "before-layer": t.beforeLayer
9889
9877
  }, a.$attrs), null, 16, ["viewport", "factor", "toggle-version", "before-layer"]),
9890
- H(D, X({
9878
+ H(k, X({
9891
9879
  viewport: i.viewport,
9892
9880
  factor: (ve = i.weatherLayers) == null ? void 0 : ve["ice-thickness"],
9893
9881
  "toggle-version": t.toggleVersion,
@@ -9920,11 +9908,11 @@ function Gs(a, e, t, r, i, s) {
9920
9908
  "before-layer": t.beforeLayer,
9921
9909
  "toggle-version": t.toggleVersion
9922
9910
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9923
- H(g, X({
9911
+ H(m, X({
9924
9912
  ref: "windBarb",
9925
9913
  map: t.map,
9926
9914
  "map-projection": i.mapProjection,
9927
- wind: (De = i.weatherLayers) == null ? void 0 : De.wind,
9915
+ wind: (ke = i.weatherLayers) == null ? void 0 : ke.wind,
9928
9916
  current: (re = i.weatherLayers) == null ? void 0 : re.current,
9929
9917
  "before-layer": t.beforeLayer,
9930
9918
  "margin-bottom": i.showRampColor ? "56px" : "30px",
@@ -9954,13 +9942,13 @@ function Gs(a, e, t, r, i, s) {
9954
9942
  "before-layer": t.beforeLayer,
9955
9943
  "toggle-version": t.toggleVersion
9956
9944
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9957
- H(T, X({
9945
+ H(S, X({
9958
9946
  viewport: i.viewport,
9959
9947
  factor: (K = i.weatherLayers) == null ? void 0 : K["water-temp"],
9960
9948
  "before-layer": t.beforeLayer,
9961
9949
  "toggle-version": t.toggleVersion
9962
9950
  }, a.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9963
- H(k, X({
9951
+ H(D, X({
9964
9952
  viewport: i.viewport,
9965
9953
  factor: (q = i.weatherLayers) == null ? void 0 : q.temp,
9966
9954
  "before-layer": t.beforeLayer,
@@ -9983,7 +9971,7 @@ function Gs(a, e, t, r, i, s) {
9983
9971
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
9984
9972
  H(G, X({
9985
9973
  map: t.map,
9986
- zone: (ke = i.otherLayers) == null ? void 0 : ke["alert-zones"],
9974
+ zone: (De = i.otherLayers) == null ? void 0 : De["alert-zones"],
9987
9975
  "before-layer": t.beforeLayer
9988
9976
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
9989
9977
  H(W, X({
@@ -10037,19 +10025,19 @@ function Gs(a, e, t, r, i, s) {
10037
10025
  }, a.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway", "forecast-model"])
10038
10026
  ], 512)) : J("", !0);
10039
10027
  }
10040
- const Us = /* @__PURE__ */ U(js, [["render", Gs]]), ao = {
10028
+ const Gs = /* @__PURE__ */ U(Rs, [["render", Ws]]), to = {
10041
10029
  install(a) {
10042
- a.component("MapboxGL", Us), a.component("TropicalGL", dt), a.component("LatLngGL", pt);
10030
+ a.component("MapboxGL", Gs), a.component("TropicalGL", dt), a.component("LatLngGL", pt);
10043
10031
  }
10044
10032
  };
10045
10033
  export {
10046
10034
  pt as LatLngGL,
10047
- Us as MapboxGL,
10048
- ao as MapboxGLPlugin,
10035
+ Gs as MapboxGL,
10036
+ to as MapboxGLPlugin,
10049
10037
  na as MapboxHelper,
10050
10038
  be as ParticleSchema,
10051
10039
  dt as TropicalGL,
10052
10040
  et as Viewport,
10053
10041
  We as WebGL,
10054
- ne as WebGLSchema
10042
+ oe as WebGLSchema
10055
10043
  };