@idmwx/idmui-gl4 3.5.9 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ var ar = (t, e, o) => e in t ? or(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var ke = (t, e, o) => (ar(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Ie from "axios";
5
5
  import { useTheme as Ze } from "vuetify";
6
- import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as F, normalizeClass as ue, withCtx as x, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as y, createTextVNode as N, Fragment as Ce, renderList as Me, withDirectives as uo, vShow as po, mergeProps as V, normalizeStyle as ge } from "vue";
7
- import ve from "mapbox-gl";
6
+ import { openBlock as A, createElementBlock as R, resolveComponent as M, createBlock as F, normalizeClass as ue, withCtx as v, createVNode as w, withModifiers as _e, createElementVNode as n, createCommentVNode as I, toDisplayString as y, createTextVNode as N, Fragment as Ce, renderList as Me, withDirectives as uo, vShow as po, mergeProps as V, normalizeStyle as ge } from "vue";
7
+ import xe from "mapbox-gl";
8
8
  import S from "moment";
9
9
  import { LngLatHelper as H, TropicalHelper as hl, LaneHelper as pt, GeoJsonHelper as ut } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as Zo, TidesAssist as Il } from "@idm-plugin/meteo";
@@ -508,7 +508,7 @@ const br = {
508
508
  const o = (a = document.getElementById("idm-gl4-zone-info")) == null ? void 0 : a.cloneNode(!0), i = (l = o == null ? void 0 : o.children[1]) == null ? void 0 : l.children[0];
509
509
  i && (i.onclick = () => {
510
510
  this.handleRemoveMarker();
511
- }), this.marker = new ve.Marker(o).setLngLat(t).setOffset([230, 0]).addTo(this.map);
511
+ }), this.marker = new xe.Marker(o).setLngLat(t).setOffset([230, 0]).addTo(this.map);
512
512
  });
513
513
  },
514
514
  handleRemoveMarker() {
@@ -517,16 +517,16 @@ const br = {
517
517
  }
518
518
  }
519
519
  }, wr = ["innerHTML"];
520
- function xr(t, e, o, i, a, l) {
520
+ function vr(t, e, o, i, a, l) {
521
521
  const r = M("VBtn"), c = M("VCardText"), s = M("VCard");
522
522
  return a.showMakerInfo ? (A(), F(s, {
523
523
  key: 0,
524
524
  id: "idm-gl4-zone-info",
525
525
  class: ue(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"])
526
526
  }, {
527
- default: x(() => [
527
+ default: v(() => [
528
528
  w(c, null, {
529
- default: x(() => {
529
+ default: v(() => {
530
530
  var d;
531
531
  return [
532
532
  w(r, {
@@ -536,7 +536,7 @@ function xr(t, e, o, i, a, l) {
536
536
  class: "close",
537
537
  onClick: _e(l.handleRemoveMarker, ["stop"])
538
538
  }, {
539
- default: x(() => e[0] || (e[0] = [
539
+ default: v(() => e[0] || (e[0] = [
540
540
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
541
541
  ])),
542
542
  _: 1,
@@ -554,7 +554,7 @@ function xr(t, e, o, i, a, l) {
554
554
  _: 1
555
555
  }, 8, ["class"])) : I("", !0);
556
556
  }
557
- const vr = /* @__PURE__ */ ne(br, [["render", xr]]);
557
+ const xr = /* @__PURE__ */ ne(br, [["render", vr]]);
558
558
  const Ar = {
559
559
  name: "PortDetail",
560
560
  props: {
@@ -751,10 +751,10 @@ const Ar = {
751
751
  { label: "Swell", key: "weather.swell", unit: "m" },
752
752
  { label: "Current", key: "weather.current", unit: "kts" }
753
753
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
754
- var c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
754
+ var c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
755
755
  let l = {};
756
756
  const r = ((c = Zo.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
757
- l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (v = (L = r == null ? void 0 : r.weather) == null ? void 0 : L.wind) == null ? void 0 : v.direction, l.windLevel = this.computeRoundPrecision((z = (C = r == null ? void 0 : r.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((_ = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (B = r == null ? void 0 : r.wave) == null ? void 0 : B.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((Q = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : Q.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ie = r == null ? void 0 : r.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (xe = r == null ? void 0 : r.wave) == null ? void 0 : xe.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision(($ = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (te = r == null ? void 0 : r.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (q = r == null ? void 0 : r.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
757
+ l.utc = r.utc, l.lat = t.lat, l.lng = t.lng, l.weatherUrl = (s = r.weather) == null ? void 0 : s.url, l.temp = this.computeRoundPrecision((d = r == null ? void 0 : r.weather) == null ? void 0 : d.temp, 0) ?? "-", l.precipProbability = this.computeRoundPrecision((p = (m = r == null ? void 0 : r.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", l.precip1h = this.computeRoundPrecision((b = (g = r == null ? void 0 : r.weather) == null ? void 0 : g.precip) == null ? void 0 : b.sum, 1) ?? "-", l.visibility = this.computeRoundPrecision((u = r == null ? void 0 : r.weather) == null ? void 0 : u.visibility, 0) ?? "-", l.windSpeed = this.computeRoundPrecision((f = (h = r == null ? void 0 : r.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", l.windDir = (x = (L = r == null ? void 0 : r.weather) == null ? void 0 : L.wind) == null ? void 0 : x.direction, l.windLevel = this.computeRoundPrecision((z = (C = r == null ? void 0 : r.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", l.windGust = this.computeRoundPrecision((_ = (P = r == null ? void 0 : r.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", l.sigwaveHeight = this.computeRoundPrecision((T = (D = r == null ? void 0 : r.wave) == null ? void 0 : D.sig) == null ? void 0 : T.height, 1) ?? "-", l.sigwaveDir = (j = (B = r == null ? void 0 : r.wave) == null ? void 0 : B.sig) == null ? void 0 : j.direction, l.sigwavePeriod = this.computeRoundPrecision((Q = (G = r == null ? void 0 : r.wave) == null ? void 0 : G.sig) == null ? void 0 : Q.period, 1) ?? "-", l.windwaveHeight = this.computeRoundPrecision((re = (ie = r == null ? void 0 : r.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.height, 1) ?? "-", l.windwaveDir = (be = (ve = r == null ? void 0 : r.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.direction, l.windwavePeriod = this.computeRoundPrecision(($ = (E = r == null ? void 0 : r.wave) == null ? void 0 : E.wd) == null ? void 0 : $.period, 1) ?? "-", l.swellHeight = this.computeRoundPrecision((se = (te = r == null ? void 0 : r.wave) == null ? void 0 : te.swell) == null ? void 0 : se.height, 1) ?? "-", l.swellDir = (Y = (q = r == null ? void 0 : r.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.direction, l.swellPeriod = this.computeRoundPrecision((Z = (le = r == null ? void 0 : r.wave) == null ? void 0 : le.swell) == null ? void 0 : Z.period, 1) ?? "-", l.currentSpeed = this.computeRoundPrecision((U = r == null ? void 0 : r.current) == null ? void 0 : U.speed, 1) ?? "-", l.currentDir = (fe = r == null ? void 0 : r.current) == null ? void 0 : fe.direction, l.currentSpeed = this.computeRoundPrecision((Le = r == null ? void 0 : r.current) == null ? void 0 : Le.speed, 1) ?? "-", l.seaLevel = this.computeRoundPrecision(r == null ? void 0 : r.height, 1) ?? "-", l.seaTemp = this.computeRoundPrecision(r == null ? void 0 : r.sst, 0) ?? "-", l.weatherUrls = (ze = r == null ? void 0 : r.weather) == null ? void 0 : ze.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = l.weatherUrl, this.tableData[2][`value${a}`] = l.temp, this.tableData[3][`value${a}`] = l.precip1h, this.tableData[4][`value${a}`] = l.visibility, this.tableData[5][`value${a}`] = l.windSpeed, this.tableData[6][`value${a}`] = l.sigwaveHeight, this.tableData[7][`value${a}`] = l.swellHeight, this.tableData[8][`value${a}`] = l.currentSpeed;
758
758
  });
759
759
  },
760
760
  handleTide() {
@@ -950,10 +950,10 @@ const Ar = {
950
950
  }, wn = {
951
951
  class: "px-1 text-center text-label font-weight-400",
952
952
  width: "120"
953
- }, xn = {
953
+ }, vn = {
954
954
  class: "px-1 text-center text-label font-weight-400",
955
955
  width: "120"
956
- }, vn = {
956
+ }, xn = {
957
957
  class: "px-1 text-center text-label font-weight-400",
958
958
  width: "120"
959
959
  }, An = { class: "px-1 text-center" }, kn = { class: "px-1 text-center" }, Ln = { class: "px-1 text-center" };
@@ -962,12 +962,12 @@ function zn(t, e, o, i, a, l) {
962
962
  return A(), F(m, {
963
963
  class: ue(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
964
964
  }, {
965
- default: x(() => {
965
+ default: v(() => {
966
966
  var p, g, b;
967
967
  return [
968
968
  w(c, { class: "w-100" }, {
969
- default: x(() => {
970
- var u, h, f, L, v, C;
969
+ default: v(() => {
970
+ var u, h, f, L, x, C;
971
971
  return [
972
972
  n("div", kr, [
973
973
  n("div", Lr, [
@@ -978,7 +978,7 @@ function zn(t, e, o, i, a, l) {
978
978
  n("div", null, y((L = o.port) == null ? void 0 : L.name), 1)
979
979
  ]),
980
980
  o.simple ? (A(), R("div", zr, [
981
- (v = o.followList) != null && v.some((z) => {
981
+ (x = o.followList) != null && x.some((z) => {
982
982
  var P;
983
983
  return ((P = z.port) == null ? void 0 : P.id) === o.portId;
984
984
  }) ? (A(), F(r, {
@@ -991,7 +991,7 @@ function zn(t, e, o, i, a, l) {
991
991
  "min-width": "28",
992
992
  onClick: l.handleCancelFollow
993
993
  }, {
994
- default: x(() => e[2] || (e[2] = [
994
+ default: v(() => e[2] || (e[2] = [
995
995
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
996
996
  ])),
997
997
  _: 1,
@@ -1006,7 +1006,7 @@ function zn(t, e, o, i, a, l) {
1006
1006
  "min-width": "28",
1007
1007
  onClick: l.handleFollow
1008
1008
  }, {
1009
- default: x(() => e[3] || (e[3] = [
1009
+ default: v(() => e[3] || (e[3] = [
1010
1010
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
1011
1011
  ])),
1012
1012
  _: 1,
@@ -1019,7 +1019,7 @@ function zn(t, e, o, i, a, l) {
1019
1019
  class: "",
1020
1020
  onClick: l.handleClose
1021
1021
  }, {
1022
- default: x(() => e[4] || (e[4] = [
1022
+ default: v(() => e[4] || (e[4] = [
1023
1023
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
1024
1024
  ])),
1025
1025
  _: 1,
@@ -1033,7 +1033,7 @@ function zn(t, e, o, i, a, l) {
1033
1033
  class: "",
1034
1034
  onClick: l.handleClose
1035
1035
  }, {
1036
- default: x(() => e[5] || (e[5] = [
1036
+ default: v(() => e[5] || (e[5] = [
1037
1037
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
1038
1038
  ])),
1039
1039
  _: 1,
@@ -1065,10 +1065,10 @@ function zn(t, e, o, i, a, l) {
1065
1065
  height: "32",
1066
1066
  onClick: l.handleCancelFollow
1067
1067
  }, {
1068
- prepend: x(() => e[7] || (e[7] = [
1068
+ prepend: v(() => e[7] || (e[7] = [
1069
1069
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
1070
1070
  ])),
1071
- default: x(() => [
1071
+ default: v(() => [
1072
1072
  N(" " + y(t.$t("actions.unfollow")), 1)
1073
1073
  ]),
1074
1074
  _: 1
@@ -1080,10 +1080,10 @@ function zn(t, e, o, i, a, l) {
1080
1080
  height: "32",
1081
1081
  onClick: l.handleFollow
1082
1082
  }, {
1083
- prepend: x(() => e[8] || (e[8] = [
1083
+ prepend: v(() => e[8] || (e[8] = [
1084
1084
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
1085
1085
  ])),
1086
- default: x(() => [
1086
+ default: v(() => [
1087
1087
  N(y(t.$t("actions.follow")) + " ", 1)
1088
1088
  ]),
1089
1089
  _: 1
@@ -1095,7 +1095,7 @@ function zn(t, e, o, i, a, l) {
1095
1095
  height: "32",
1096
1096
  onClick: l.handleMeteoMore
1097
1097
  }, {
1098
- default: x(() => [
1098
+ default: v(() => [
1099
1099
  N(y(t.$t("actions.7dayForcast")), 1)
1100
1100
  ]),
1101
1101
  _: 1
@@ -1158,7 +1158,7 @@ function zn(t, e, o, i, a, l) {
1158
1158
  rounded: "1",
1159
1159
  mandatory: ""
1160
1160
  }, {
1161
- default: x(() => [
1161
+ default: v(() => [
1162
1162
  (A(!0), R(Ce, null, Me(l.dateList, (u) => (A(), F(r, {
1163
1163
  key: u.index,
1164
1164
  class: ue(["text-none text-body-1 flex-1-1-0", `bg-${u.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
@@ -1167,7 +1167,7 @@ function zn(t, e, o, i, a, l) {
1167
1167
  height: "26",
1168
1168
  value: u.index
1169
1169
  }, {
1170
- default: x(() => [
1170
+ default: v(() => [
1171
1171
  N(y(u.label), 1)
1172
1172
  ]),
1173
1173
  _: 2
@@ -1254,8 +1254,8 @@ function zn(t, e, o, i, a, l) {
1254
1254
  n("tbody", null, [
1255
1255
  n("tr", null, [
1256
1256
  n("th", wn, y(t.$t("tide.tide")), 1),
1257
- n("th", xn, y(t.$t("time.time")) + " ( LT ) ", 1),
1258
- n("th", vn, y(t.$t("tide.height")) + " ( m )", 1)
1257
+ n("th", vn, y(t.$t("time.time")) + " ( LT ) ", 1),
1258
+ n("th", xn, y(t.$t("tide.height")) + " ( m )", 1)
1259
1259
  ]),
1260
1260
  (A(!0), R(Ce, null, Me(a.tideTableData, (u, h) => {
1261
1261
  var f;
@@ -1371,7 +1371,7 @@ const _n = {
1371
1371
  if (e.properties.id) {
1372
1372
  this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
1373
1373
  const l = (a = document.getElementById("idmPortInfo")) == null ? void 0 : a.cloneNode(!0);
1374
- this.marker = new ve.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
1374
+ this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
1375
1375
  }
1376
1376
  },
1377
1377
  handleLeave() {
@@ -1390,9 +1390,9 @@ function Sn(t, e, o, i, a, l) {
1390
1390
  id: "idmPortInfo",
1391
1391
  ref: "idmPortInfo"
1392
1392
  }, {
1393
- default: x(() => [
1393
+ default: v(() => [
1394
1394
  w(r, { class: "text-body-1 pr-8" }, {
1395
- default: x(() => [
1395
+ default: v(() => [
1396
1396
  n("div", Cn, [
1397
1397
  n("div", null, y(t.$t("port.port")), 1),
1398
1398
  n("div", Mn, [
@@ -1662,7 +1662,7 @@ const In = /* @__PURE__ */ ne(Rn, [["render", Dn]]), En = {
1662
1662
  }), (i = this.map.getSource(this.source)) == null || i.setData(a);
1663
1663
  const l = document.createElement("div");
1664
1664
  l.className = "v-card--variant-elevated rounded px-2 py-1 text-body-1", l.innerHTML = `<div>UTC ${t.features[0].properties.offSet}:00</div>
1665
- <div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new ve.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
1665
+ <div>${S.tz(S().format(), this.timeZoneName(t.features[0].properties.offSet)).format("MM-DD HH:mm")}`, this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -30]).addTo(this.map);
1666
1666
  }
1667
1667
  },
1668
1668
  handleLeave() {
@@ -2368,7 +2368,7 @@ const ls = {
2368
2368
  }, rs = { class: "d-flex justify-space-between align-center" }, ns = { class: "d-flex justify-start text-h5 my-2" }, ss = { class: "d-flex justify-start align-center text-h6 text-label ga-3" }, cs = { class: "summary-box w-100" }, ms = { class: "d-flex justify-space-between align-center py-2" }, ds = { class: "d-flex justify-center align-center text-h6 ga-2" }, hs = {
2369
2369
  class: "multi-color-icon",
2370
2370
  "aria-hidden": "true"
2371
- }, us = ["xlink:href"], ps = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, gs = { class: "w-100 d-flex justify-start align-center" }, fs = { class: "w-30 text-label font-weight-400" }, ys = { class: "flex-1-1-0" }, bs = { class: "w-100 d-flex justify-start align-center" }, ws = { class: "w-30 text-label font-weight-400" }, xs = { class: "flex-1-1-0" }, vs = { class: "w-100 d-flex justify-start align-center" }, As = { class: "w-30 text-label font-weight-400" }, ks = { class: "flex-1-1-0" }, Ls = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, zs = { class: "w-100 d-flex justify-space-between align-center py-2" }, _s = { class: "d-flex justify-center align-center text-h6 ga-2" }, Cs = {
2371
+ }, us = ["xlink:href"], ps = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, gs = { class: "w-100 d-flex justify-start align-center" }, fs = { class: "w-30 text-label font-weight-400" }, ys = { class: "flex-1-1-0" }, bs = { class: "w-100 d-flex justify-start align-center" }, ws = { class: "w-30 text-label font-weight-400" }, vs = { class: "flex-1-1-0" }, xs = { class: "w-100 d-flex justify-start align-center" }, As = { class: "w-30 text-label font-weight-400" }, ks = { class: "flex-1-1-0" }, Ls = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, zs = { class: "w-100 d-flex justify-space-between align-center py-2" }, _s = { class: "d-flex justify-center align-center text-h6 ga-2" }, Cs = {
2372
2372
  class: "multi-color-icon",
2373
2373
  "aria-hidden": "true"
2374
2374
  }, Ms = ["xlink:href"], Ps = {
@@ -2394,11 +2394,11 @@ function Fs(t, e, o, i, a, l) {
2394
2394
  return A(), F(m, {
2395
2395
  class: ue(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
2396
2396
  }, {
2397
- default: x(() => {
2397
+ default: v(() => {
2398
2398
  var p, g;
2399
2399
  return [
2400
2400
  w(c, { class: "w-100" }, {
2401
- default: x(() => {
2401
+ default: v(() => {
2402
2402
  var b;
2403
2403
  return [
2404
2404
  n("div", rs, [
@@ -2412,7 +2412,7 @@ function Fs(t, e, o, i, a, l) {
2412
2412
  class: "",
2413
2413
  onClick: l.handleClose
2414
2414
  }, {
2415
- default: x(() => e[1] || (e[1] = [
2415
+ default: v(() => e[1] || (e[1] = [
2416
2416
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
2417
2417
  ])),
2418
2418
  _: 1,
@@ -2448,9 +2448,9 @@ function Fs(t, e, o, i, a, l) {
2448
2448
  ]),
2449
2449
  n("div", bs, [
2450
2450
  n("div", ws, y(t.$t("tide.position")), 1),
2451
- n("div", xs, y(l.computePosition(o.station)), 1)
2451
+ n("div", vs, y(l.computePosition(o.station)), 1)
2452
2452
  ]),
2453
- n("div", vs, [
2453
+ n("div", xs, [
2454
2454
  n("div", As, y(t.$t("time.localTime")), 1),
2455
2455
  n("div", ks, y(l.computeLocalTime(o.realTime, o.station)) + " " + y(l.computeTimeOffset(o.station)), 1)
2456
2456
  ])
@@ -2482,7 +2482,7 @@ function Fs(t, e, o, i, a, l) {
2482
2482
  rounded: "1",
2483
2483
  mandatory: ""
2484
2484
  }, {
2485
- default: x(() => [
2485
+ default: v(() => [
2486
2486
  (A(!0), R(Ce, null, Me(l.dateList, (b) => (A(), F(r, {
2487
2487
  key: b.label,
2488
2488
  class: ue(["text-none text-body-1 flex-1-1-0", `bg-${b.index === a.currentIndex ? "bg-primary" : "gray-bg-2"}`]),
@@ -2491,7 +2491,7 @@ function Fs(t, e, o, i, a, l) {
2491
2491
  height: "26",
2492
2492
  value: b.index
2493
2493
  }, {
2494
- default: x(() => [
2494
+ default: v(() => [
2495
2495
  N(y(b.label), 1)
2496
2496
  ]),
2497
2497
  _: 2
@@ -2590,7 +2590,7 @@ const js = {
2590
2590
  if (e.properties) {
2591
2591
  this.showInfo = !0, this.hoverStation = e.properties, this.hoverStation.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.hoverStation.lng = e.geometry.coordinates[0], this.hoverStation.lat = e.geometry.coordinates[1], (o = this.marker) == null || o.remove();
2592
2592
  const a = (i = document.getElementById("idmTidalInfo")) == null ? void 0 : i.cloneNode(!0);
2593
- this.marker = new ve.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
2593
+ this.marker = new xe.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
2594
2594
  }
2595
2595
  },
2596
2596
  handleLeave() {
@@ -2606,9 +2606,9 @@ function Xs(t, e, o, i, a, l) {
2606
2606
  const r = M("VCardText"), c = M("VCard"), s = M("TideDetail");
2607
2607
  return A(), R("div", null, [
2608
2608
  uo(w(c, { id: "idmTidalInfo" }, {
2609
- default: x(() => [
2609
+ default: v(() => [
2610
2610
  w(r, { class: "pr-8 text-body-1" }, {
2611
- default: x(() => {
2611
+ default: v(() => {
2612
2612
  var d, m;
2613
2613
  return [
2614
2614
  n("div", Ns, [
@@ -2977,7 +2977,7 @@ const Qs = {
2977
2977
  if (e.properties.id) {
2978
2978
  this.showInfo = !0, this.hoverPort = e.properties, (i = this.marker) == null || i.remove();
2979
2979
  const l = (a = document.getElementById("idmFollowPortInfo")) == null ? void 0 : a.cloneNode(!0);
2980
- this.marker = new ve.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
2980
+ this.marker = new xe.Marker(l).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
2981
2981
  }
2982
2982
  },
2983
2983
  handleLeave() {
@@ -2996,9 +2996,9 @@ function tc(t, e, o, i, a, l) {
2996
2996
  id: "idmFollowPortInfo",
2997
2997
  ref: "idmFollowPortInfo"
2998
2998
  }, {
2999
- default: x(() => [
2999
+ default: v(() => [
3000
3000
  w(r, { class: "text-body-1 pr-8" }, {
3001
- default: x(() => [
3001
+ default: v(() => [
3002
3002
  n("div", qs, [
3003
3003
  n("div", null, y(t.$t("port.port")), 1),
3004
3004
  n("div", $s, [
@@ -3155,7 +3155,7 @@ const ac = {
3155
3155
  if (e.properties.id) {
3156
3156
  this.showInfo = !0, this.position = e.properties, (o = this.marker) == null || o.remove();
3157
3157
  const i = document.getElementById("idmFollowPositionInfo").cloneNode(!0);
3158
- this.marker = new ve.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
3158
+ this.marker = new xe.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
3159
3159
  }
3160
3160
  },
3161
3161
  handleLeave() {
@@ -3173,9 +3173,9 @@ function nc(t, e, o, i, a, l) {
3173
3173
  id: "idmFollowPositionInfo",
3174
3174
  ref: "idmFollowPositionInfo"
3175
3175
  }, {
3176
- default: x(() => [
3176
+ default: v(() => [
3177
3177
  w(r, { class: "text-body-1 pr-8" }, {
3178
- default: x(() => [
3178
+ default: v(() => [
3179
3179
  n("div", ic, [
3180
3180
  e[0] || (e[0] = n("div", null, "Location", -1)),
3181
3181
  n("div", lc, [
@@ -3201,7 +3201,7 @@ const cc = {
3201
3201
  IdmWarZone: dr,
3202
3202
  IdmGmdssArea: pr,
3203
3203
  IdmEcaZone: yr,
3204
- IdmAlertZone: vr,
3204
+ IdmAlertZone: xr,
3205
3205
  IdmPort: Tn,
3206
3206
  IdmLoadLine: In,
3207
3207
  IdmTimezone: Fn,
@@ -3421,9 +3421,9 @@ const cc = {
3421
3421
  src: "https://ossimg.ormwx.com/asset/light-map.png",
3422
3422
  class: "border rounded-sm"
3423
3423
  }, wc = { class: "text-body-2 text-center pt-2" };
3424
- function xc(t, e, o, i, a, l) {
3424
+ function vc(t, e, o, i, a, l) {
3425
3425
  var be, E, $, te, se, q, Y, le, Z;
3426
- const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), v = M("IdmAlertZone"), C = M("IdmEcaZone"), z = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), B = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), Q = M("IdmIceAreas"), ie = M("IdmNsrAreas"), re = M("IdmFollowPort"), xe = M("IdmFollowPosition");
3426
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VCardItem"), m = M("VCheckbox"), p = M("VCardText"), g = M("VCard"), b = M("IdmPort"), u = M("IdmTideStations"), h = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), x = M("IdmAlertZone"), C = M("IdmEcaZone"), z = M("IdmWarZone"), P = M("IdmGmdssArea"), _ = M("IdmLoadLine"), D = M("IdmWorldMarine"), T = M("IdmVRA"), B = M("IdmSpecialArea"), j = M("IdmWorld12nm"), G = M("IdmChinaRoute"), Q = M("IdmIceAreas"), ie = M("IdmNsrAreas"), re = M("IdmFollowPort"), ve = M("IdmFollowPosition");
3427
3427
  return A(), R("div", mc, [
3428
3428
  n("div", {
3429
3429
  class: ue(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
@@ -3437,7 +3437,7 @@ function xc(t, e, o, i, a, l) {
3437
3437
  "open-on-focus": !o.simple,
3438
3438
  "open-on-hover": !o.simple
3439
3439
  }, {
3440
- activator: x(({ props: U }) => [
3440
+ activator: v(({ props: U }) => [
3441
3441
  w(r, V(U, {
3442
3442
  "min-width": "32",
3443
3443
  width: "32",
@@ -3445,7 +3445,7 @@ function xc(t, e, o, i, a, l) {
3445
3445
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
3446
3446
  onClick: l.handleMenuToggle
3447
3447
  }), {
3448
- default: x(() => e[5] || (e[5] = [
3448
+ default: v(() => e[5] || (e[5] = [
3449
3449
  n("i", { class: "iconfont icon-Layer text-h4" }, null, -1)
3450
3450
  ])),
3451
3451
  _: 2,
@@ -3468,7 +3468,7 @@ function xc(t, e, o, i, a, l) {
3468
3468
  class: "mr-n2",
3469
3469
  onClick: l.handleMenuToggle
3470
3470
  }, {
3471
- default: x(() => e[6] || (e[6] = [
3471
+ default: v(() => e[6] || (e[6] = [
3472
3472
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
3473
3473
  ])),
3474
3474
  _: 1,
@@ -3482,11 +3482,11 @@ function xc(t, e, o, i, a, l) {
3482
3482
  class: "block-bg mx-auto mb-2",
3483
3483
  elevation: "0"
3484
3484
  }, {
3485
- default: x(() => [
3485
+ default: v(() => [
3486
3486
  w(d, { class: "border-b-thin" }, {
3487
- default: x(() => [
3487
+ default: v(() => [
3488
3488
  w(s, { class: "text-h6" }, {
3489
- default: x(() => [
3489
+ default: v(() => [
3490
3490
  N(y(t.$t("layer.mapFeathers")), 1)
3491
3491
  ]),
3492
3492
  _: 1
@@ -3495,7 +3495,7 @@ function xc(t, e, o, i, a, l) {
3495
3495
  _: 1
3496
3496
  }),
3497
3497
  w(p, { class: "pb-2" }, {
3498
- default: x(() => [
3498
+ default: v(() => [
3499
3499
  n("div", uc, [
3500
3500
  (A(!0), R(Ce, null, Me(a.mapFeathers, (U) => (A(), R("div", {
3501
3501
  key: U.value,
@@ -3532,11 +3532,11 @@ function xc(t, e, o, i, a, l) {
3532
3532
  class: "block-bg mx-auto mb-2",
3533
3533
  elevation: "0"
3534
3534
  }, {
3535
- default: x(() => [
3535
+ default: v(() => [
3536
3536
  w(d, { class: "border-b-thin" }, {
3537
- default: x(() => [
3537
+ default: v(() => [
3538
3538
  w(s, { class: "text-h6" }, {
3539
- default: x(() => [
3539
+ default: v(() => [
3540
3540
  N(y(t.$t("layer.pointsOfInteresting")), 1)
3541
3541
  ]),
3542
3542
  _: 1
@@ -3545,7 +3545,7 @@ function xc(t, e, o, i, a, l) {
3545
3545
  _: 1
3546
3546
  }),
3547
3547
  w(p, { class: "py-2 mx-n1" }, {
3548
- default: x(() => [
3548
+ default: v(() => [
3549
3549
  (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => ["ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
3550
3550
  key: U.key,
3551
3551
  modelValue: a.checkList,
@@ -3568,11 +3568,11 @@ function xc(t, e, o, i, a, l) {
3568
3568
  class: "block-bg mx-auto mb-2",
3569
3569
  elevation: "0"
3570
3570
  }, {
3571
- default: x(() => [
3571
+ default: v(() => [
3572
3572
  w(d, { class: "border-b-thin" }, {
3573
- default: x(() => [
3573
+ default: v(() => [
3574
3574
  w(s, { class: "text-h6" }, {
3575
- default: x(() => [
3575
+ default: v(() => [
3576
3576
  N(y(t.$t("layer.otherLayers")), 1)
3577
3577
  ]),
3578
3578
  _: 1
@@ -3581,7 +3581,7 @@ function xc(t, e, o, i, a, l) {
3581
3581
  _: 1
3582
3582
  }),
3583
3583
  w(p, { class: "py-2 mx-n1" }, {
3584
- default: x(() => [
3584
+ default: v(() => [
3585
3585
  (A(!0), R(Ce, null, Me(a.tagLayers.filter((U) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(U.key)), (U) => (A(), F(m, {
3586
3586
  key: U.key,
3587
3587
  modelValue: a.checkList,
@@ -3604,11 +3604,11 @@ function xc(t, e, o, i, a, l) {
3604
3604
  class: "block-bg mx-auto mb-3",
3605
3605
  elevation: "0"
3606
3606
  }, {
3607
- default: x(() => [
3607
+ default: v(() => [
3608
3608
  w(d, { class: "border-b-thin" }, {
3609
- default: x(() => [
3609
+ default: v(() => [
3610
3610
  w(s, { class: "text-h6" }, {
3611
- default: x(() => [
3611
+ default: v(() => [
3612
3612
  N(y(t.$t("layer.myFollows")), 1)
3613
3613
  ]),
3614
3614
  _: 1
@@ -3617,7 +3617,7 @@ function xc(t, e, o, i, a, l) {
3617
3617
  _: 1
3618
3618
  }),
3619
3619
  w(p, { class: "py-2 mx-n1" }, {
3620
- default: x(() => [
3620
+ default: v(() => [
3621
3621
  w(m, {
3622
3622
  modelValue: a.checkList,
3623
3623
  "onUpdate:modelValue": e[3] || (e[3] = (U) => a.checkList = U),
@@ -3692,7 +3692,7 @@ function xc(t, e, o, i, a, l) {
3692
3692
  zone: ($ = a.otherLayers) == null ? void 0 : $["time-zones"],
3693
3693
  "real-time": o.realTime
3694
3694
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : I("", !0),
3695
- o.map ? (A(), F(v, V({
3695
+ o.map ? (A(), F(x, V({
3696
3696
  key: 5,
3697
3697
  map: o.map,
3698
3698
  simple: o.simple,
@@ -3770,7 +3770,7 @@ function xc(t, e, o, i, a, l) {
3770
3770
  "forecast-model": o.forecastModel,
3771
3771
  "real-time": o.realTime
3772
3772
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : I("", !0),
3773
- o.map ? (A(), F(xe, V({
3773
+ o.map ? (A(), F(ve, V({
3774
3774
  key: 18,
3775
3775
  ref: "idmFollowPosition",
3776
3776
  simple: o.simple,
@@ -3781,7 +3781,7 @@ function xc(t, e, o, i, a, l) {
3781
3781
  }, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "real-time"])) : I("", !0)
3782
3782
  ]);
3783
3783
  }
3784
- const vc = /* @__PURE__ */ ne(cc, [["render", xc]]);
3784
+ const xc = /* @__PURE__ */ ne(cc, [["render", vc]]);
3785
3785
  class ua {
3786
3786
  constructor(e) {
3787
3787
  ke(this, "map");
@@ -4022,7 +4022,7 @@ class ro {
4022
4022
  m.resolution && o.uniform2f(m.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), m.image && o.uniform1i(m.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, l), m.color && o.uniform1i(m.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (m.uvRange && o.uniform2f(m.uvRange, c.uvRange[0], c.uvRange[1]), m.sRange && o.uniform2f(m.sRange, c.sRange[0], c.sRange[1])), m.scale && o.uniform1f(m.scale, (c == null ? void 0 : c.scale) || 1);
4023
4023
  const p = e.getBoundPixel(), g = e.map.getZoom() + 1, b = e.getWorldCopy(p, g);
4024
4024
  for (const u of b) {
4025
- const h = (u[0] - p[0]) * e.ratio, f = (u[1] - p[3]) * e.ratio, L = u[2] * e.ratio, [v, C, z, P] = [h, L + h, f, L + f], _ = new Float32Array([v, z, C, z, v, P, v, P, C, z, C, P]);
4025
+ const h = (u[0] - p[0]) * e.ratio, f = (u[1] - p[3]) * e.ratio, L = u[2] * e.ratio, [x, C, z, P] = [h, L + h, f, L + f], _ = new Float32Array([x, z, C, z, x, P, x, P, C, z, C, P]);
4026
4026
  o.bindBuffer(o.ARRAY_BUFFER, r), o.bufferData(o.ARRAY_BUFFER, _, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
4027
4027
  }
4028
4028
  } catch (m) {
@@ -6178,8 +6178,8 @@ function wm(t, e, o, i, a, l) {
6178
6178
  ]), 4)
6179
6179
  ])) : I("", !0);
6180
6180
  }
6181
- const xm = /* @__PURE__ */ ne(ym, [["render", wm]]);
6182
- const vm = {
6181
+ const vm = /* @__PURE__ */ ne(ym, [["render", wm]]);
6182
+ const xm = {
6183
6183
  name: "IdmTemp",
6184
6184
  props: {
6185
6185
  simple: {
@@ -6303,7 +6303,7 @@ function km(t, e, o, i, a, l) {
6303
6303
  ]), 4)
6304
6304
  ])) : I("", !0);
6305
6305
  }
6306
- const Lm = /* @__PURE__ */ ne(vm, [["render", km]]);
6306
+ const Lm = /* @__PURE__ */ ne(xm, [["render", km]]);
6307
6307
  const zm = {
6308
6308
  name: "IdmGlLayer",
6309
6309
  components: {
@@ -6320,7 +6320,7 @@ const zm = {
6320
6320
  IdmIceThickness: sm,
6321
6321
  IdmPrecip3h: hm,
6322
6322
  IdmVisibility: fm,
6323
- IdmWaterTemp: xm,
6323
+ IdmWaterTemp: vm,
6324
6324
  IdmTemp: Lm
6325
6325
  },
6326
6326
  props: {
@@ -6353,12 +6353,16 @@ const zm = {
6353
6353
  },
6354
6354
  top: {
6355
6355
  type: Number,
6356
- default: 60
6356
+ default: 0
6357
6357
  },
6358
6358
  paddingTop: {
6359
6359
  type: Number,
6360
6360
  default: 48
6361
6361
  },
6362
+ menuHeight: {
6363
+ type: Number,
6364
+ default: 248
6365
+ },
6362
6366
  menuToggle: {
6363
6367
  type: Object,
6364
6368
  default: {}
@@ -6371,6 +6375,9 @@ const zm = {
6371
6375
  },
6372
6376
  beforeLayer: {
6373
6377
  type: String
6378
+ },
6379
+ platform: {
6380
+ type: String
6374
6381
  }
6375
6382
  },
6376
6383
  emits: ["forecastModel", "menuToggle", "weatherCheckList", "autoActive", "weatherRendered"],
@@ -6464,6 +6471,9 @@ const zm = {
6464
6471
  t.push("icon-a-" + r);
6465
6472
  }
6466
6473
  return t;
6474
+ },
6475
+ lengendTipTop() {
6476
+ return this.platform === "ops" ? this.top + this.menuHeight + 232 : this.top + this.menuHeight + 142;
6467
6477
  }
6468
6478
  },
6469
6479
  watch: {
@@ -6636,15 +6646,15 @@ const zm = {
6636
6646
  }
6637
6647
  );
6638
6648
  if ((/* @__PURE__ */ new Date()).valueOf() - (e + o), ((r = L == null ? void 0 : L.data) == null ? void 0 : r.code) === 0) {
6639
- const v = (c = L == null ? void 0 : L.data) == null ? void 0 : c.data, C = [];
6640
- for (const P in v)
6649
+ const x = (c = L == null ? void 0 : L.data) == null ? void 0 : c.data, C = [];
6650
+ for (const P in x)
6641
6651
  C.push(
6642
- Ie.get(v[P], {
6652
+ Ie.get(x[P], {
6643
6653
  headers: {
6644
6654
  Authorization: this.defaultMeteoToken,
6645
6655
  key: P
6646
6656
  },
6647
- responseType: /\.(jpg|png)$/.test(v[P]) ? "blob" : "json"
6657
+ responseType: /\.(jpg|png)$/.test(x[P]) ? "blob" : "json"
6648
6658
  }).catch((_) => {
6649
6659
  console.log(`[${P}] fetch layer error: ${_}`);
6650
6660
  })
@@ -6662,19 +6672,19 @@ const zm = {
6662
6672
  });
6663
6673
  }
6664
6674
  if ((/* @__PURE__ */ new Date()).valueOf() - (e + o), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
6665
- const v = (s = this.weatherLayers["swell-direction"]) == null ? void 0 : s.raw, C = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
6675
+ const x = (s = this.weatherLayers["swell-direction"]) == null ? void 0 : s.raw, C = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
6666
6676
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
6667
6677
  type: "json",
6668
- direction: v,
6678
+ direction: x,
6669
6679
  height: { raw: C },
6670
6680
  etime: L.data.etime
6671
6681
  };
6672
6682
  }
6673
6683
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
6674
- const v = (m = this.weatherLayers["current-direction"]) == null ? void 0 : m.raw, C = (p = this.weatherLayers["current-speed"]) == null ? void 0 : p.raw;
6684
+ const x = (m = this.weatherLayers["current-direction"]) == null ? void 0 : m.raw, C = (p = this.weatherLayers["current-speed"]) == null ? void 0 : p.raw;
6675
6685
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
6676
6686
  type: "json",
6677
- direction: v,
6687
+ direction: x,
6678
6688
  speed: { raw: C },
6679
6689
  etime: L.data.etime
6680
6690
  };
@@ -6682,8 +6692,8 @@ const zm = {
6682
6692
  }
6683
6693
  }
6684
6694
  this.handleWeatherLayerToggle(), this.handleDrawWeather4Json(), this.$nextTick(() => {
6685
- var h, f, L, v, C;
6686
- (C = (v = (L = (f = (h = this.$parent) == null ? void 0 : h.$refs) == null ? void 0 : f.idmBottomBar) == null ? void 0 : L.$refs) == null ? void 0 : v.capture) == null || C.captureCurrentFrame();
6695
+ var h, f, L, x, C;
6696
+ (C = (x = (L = (f = (h = this.$parent) == null ? void 0 : h.$refs) == null ? void 0 : f.idmBottomBar) == null ? void 0 : L.$refs) == null ? void 0 : x.capture) == null || C.captureCurrentFrame();
6687
6697
  });
6688
6698
  }
6689
6699
  },
@@ -6755,24 +6765,24 @@ const zm = {
6755
6765
  let L = [];
6756
6766
  if (h === "swell") {
6757
6767
  f = !0;
6758
- const v = ((r = this.weatherLayers[h]) == null ? void 0 : r.direction) || {};
6759
- for (const z in v)
6768
+ const x = ((r = this.weatherLayers[h]) == null ? void 0 : r.direction) || {};
6769
+ for (const z in x)
6760
6770
  if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6761
- const P = v[z].lng;
6771
+ const P = x[z].lng;
6762
6772
  p > g ? P.forEach((_, D) => {
6763
6773
  var T, B, j, G, Q, ie;
6764
6774
  if (i < 2) {
6765
6775
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6766
6776
  const re = W.point([_, z], {
6767
- val: ((T = v[z].val) == null ? void 0 : T[D]) || ((B = v[z].dir) == null ? void 0 : B[D]),
6768
- spd: (j = v[z].spd) == null ? void 0 : j[D]
6777
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6778
+ spd: (j = x[z].spd) == null ? void 0 : j[D]
6769
6779
  });
6770
6780
  L.push(re);
6771
6781
  }
6772
6782
  } else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6773
6783
  const re = W.point([_, z], {
6774
- val: ((G = v[z].val) == null ? void 0 : G[D]) || ((Q = v[z].dir) == null ? void 0 : Q[D]),
6775
- spd: (ie = v[z].spd) == null ? void 0 : ie[D]
6784
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6785
+ spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6776
6786
  });
6777
6787
  L.push(re);
6778
6788
  }
@@ -6781,15 +6791,15 @@ const zm = {
6781
6791
  if (p < 2) {
6782
6792
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6783
6793
  const re = W.point([_, z], {
6784
- val: ((T = v[z].val) == null ? void 0 : T[D]) || ((B = v[z].dir) == null ? void 0 : B[D]),
6785
- spd: (j = v[z].spd) == null ? void 0 : j[D]
6794
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6795
+ spd: (j = x[z].spd) == null ? void 0 : j[D]
6786
6796
  });
6787
6797
  L.push(re);
6788
6798
  }
6789
6799
  } else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6790
6800
  const re = W.point([_, z], {
6791
- val: ((G = v[z].val) == null ? void 0 : G[D]) || ((Q = v[z].dir) == null ? void 0 : Q[D]),
6792
- spd: (ie = v[z].spd) == null ? void 0 : ie[D]
6801
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6802
+ spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6793
6803
  });
6794
6804
  L.push(re);
6795
6805
  }
@@ -6819,24 +6829,24 @@ const zm = {
6819
6829
  }
6820
6830
  } else if (h === "current") {
6821
6831
  f = !0;
6822
- const v = ((s = this.weatherLayers[h]) == null ? void 0 : s.direction) || {};
6823
- for (const z in v)
6832
+ const x = ((s = this.weatherLayers[h]) == null ? void 0 : s.direction) || {};
6833
+ for (const z in x)
6824
6834
  if (z > b && z < u && (!(i <= this.zoom) || z % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6825
- const P = v[z].lng;
6835
+ const P = x[z].lng;
6826
6836
  p > g ? P.forEach((_, D) => {
6827
6837
  var T, B, j, G, Q, ie;
6828
6838
  if (i < 2) {
6829
6839
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6830
6840
  const re = W.point([_, z], {
6831
- val: ((T = v[z].val) == null ? void 0 : T[D]) || ((B = v[z].dir) == null ? void 0 : B[D]),
6832
- spd: (j = v[z].spd) == null ? void 0 : j[D]
6841
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6842
+ spd: (j = x[z].spd) == null ? void 0 : j[D]
6833
6843
  });
6834
6844
  L.push(re);
6835
6845
  }
6836
6846
  } else if ((_ >= p && _ <= 180 || _ >= -180 && _ <= g) && (!(i <= this.zoom) || _ % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6837
6847
  const re = W.point([_, z], {
6838
- val: ((G = v[z].val) == null ? void 0 : G[D]) || ((Q = v[z].dir) == null ? void 0 : Q[D]),
6839
- spd: (ie = v[z].spd) == null ? void 0 : ie[D]
6848
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6849
+ spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6840
6850
  });
6841
6851
  L.push(re);
6842
6852
  }
@@ -6845,15 +6855,15 @@ const zm = {
6845
6855
  if (p < 2) {
6846
6856
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
6847
6857
  const re = W.point([_, z], {
6848
- val: ((T = v[z].val) == null ? void 0 : T[D]) || ((B = v[z].dir) == null ? void 0 : B[D]),
6849
- spd: (j = v[z].spd) == null ? void 0 : j[D]
6858
+ val: ((T = x[z].val) == null ? void 0 : T[D]) || ((B = x[z].dir) == null ? void 0 : B[D]),
6859
+ spd: (j = x[z].spd) == null ? void 0 : j[D]
6850
6860
  });
6851
6861
  L.push(re);
6852
6862
  }
6853
6863
  } else if (_ >= p && _ <= g && (!(i <= this.zoom) || _ % (i < this.zoom / 2 ? 5 : 3) === 0)) {
6854
6864
  const re = W.point([_, z], {
6855
- val: ((G = v[z].val) == null ? void 0 : G[D]) || ((Q = v[z].dir) == null ? void 0 : Q[D]),
6856
- spd: (ie = v[z].spd) == null ? void 0 : ie[D]
6865
+ val: ((G = x[z].val) == null ? void 0 : G[D]) || ((Q = x[z].dir) == null ? void 0 : Q[D]),
6866
+ spd: (ie = x[z].spd) == null ? void 0 : ie[D]
6857
6867
  });
6858
6868
  L.push(re);
6859
6869
  }
@@ -6880,24 +6890,24 @@ const zm = {
6880
6890
  }
6881
6891
  } else if (h === "wind") {
6882
6892
  f = !0;
6883
- const v = this.weatherLayers.wind.raw;
6884
- for (const C in v)
6893
+ const x = this.weatherLayers.wind.raw;
6894
+ for (const C in x)
6885
6895
  if (C > b && C < u && (!(i <= this.zoom) || C % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6886
- const z = v[C].lng;
6896
+ const z = x[C].lng;
6887
6897
  p > g ? z.forEach((P, _) => {
6888
6898
  var D, T, B, j;
6889
6899
  if (i < 2) {
6890
6900
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
6891
6901
  const G = W.point([P, C], {
6892
- dir: ((D = v[C].val) == null ? void 0 : D[_]) || ((T = v[C].dir) == null ? void 0 : T[_]),
6893
- spd: v[C].spd[_]
6902
+ dir: ((D = x[C].val) == null ? void 0 : D[_]) || ((T = x[C].dir) == null ? void 0 : T[_]),
6903
+ spd: x[C].spd[_]
6894
6904
  });
6895
6905
  L.push(G);
6896
6906
  }
6897
6907
  } else if ((P >= p && P <= 180 || P >= -180 && P <= g) && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6898
6908
  const G = W.point([P, C], {
6899
- dir: ((B = v[C].val) == null ? void 0 : B[_]) || ((j = v[C].dir) == null ? void 0 : j[_]),
6900
- spd: v[C].spd[_]
6909
+ dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6910
+ spd: x[C].spd[_]
6901
6911
  });
6902
6912
  L.push(G);
6903
6913
  }
@@ -6906,15 +6916,15 @@ const zm = {
6906
6916
  if (i < 2) {
6907
6917
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
6908
6918
  const G = W.point([P, C], {
6909
- dir: ((D = v[C].val) == null ? void 0 : D[_]) || ((T = v[C].dir) == null ? void 0 : T[_]),
6910
- spd: v[C].spd[_]
6919
+ dir: ((D = x[C].val) == null ? void 0 : D[_]) || ((T = x[C].dir) == null ? void 0 : T[_]),
6920
+ spd: x[C].spd[_]
6911
6921
  });
6912
6922
  L.push(G);
6913
6923
  }
6914
6924
  } else if (P >= p && P <= g && (!(i <= this.zoom) || P % (i < 2 ? 10 : i < 4 ? 5 : 3) === 0)) {
6915
6925
  const G = W.point([P, C], {
6916
- dir: ((B = v[C].val) == null ? void 0 : B[_]) || ((j = v[C].dir) == null ? void 0 : j[_]),
6917
- spd: v[C].spd[_]
6926
+ dir: ((B = x[C].val) == null ? void 0 : B[_]) || ((j = x[C].dir) == null ? void 0 : j[_]),
6927
+ spd: x[C].spd[_]
6918
6928
  });
6919
6929
  L.push(G);
6920
6930
  }
@@ -6926,11 +6936,11 @@ const zm = {
6926
6936
  L = this.weatherLayers[h].data;
6927
6937
  else {
6928
6938
  f = !0;
6929
- const v = this.weatherLayers[h].raw;
6930
- if (v) {
6939
+ const x = this.weatherLayers[h].raw;
6940
+ if (x) {
6931
6941
  const C = [];
6932
- for (const z in v.Polygon) {
6933
- const P = v.Polygon[z];
6942
+ for (const z in x.Polygon) {
6943
+ const P = x.Polygon[z];
6934
6944
  for (const _ of P)
6935
6945
  C.push(
6936
6946
  W.polygon(_, {
@@ -6938,8 +6948,8 @@ const zm = {
6938
6948
  })
6939
6949
  );
6940
6950
  }
6941
- for (const z in v.MultiPolygon) {
6942
- const P = v.MultiPolygon[z];
6951
+ for (const z in x.MultiPolygon) {
6952
+ const P = x.MultiPolygon[z];
6943
6953
  for (const _ of P)
6944
6954
  C.push(
6945
6955
  W.multiPolygon(_, {
@@ -6947,8 +6957,8 @@ const zm = {
6947
6957
  })
6948
6958
  );
6949
6959
  }
6950
- for (const z in v.Point) {
6951
- const P = v.Point[z];
6960
+ for (const z in x.Point) {
6961
+ const P = x.Point[z];
6952
6962
  for (let _ = 0; _ < ((m = P.lng) == null ? void 0 : m.length); _++)
6953
6963
  C.push(
6954
6964
  W.point([P.lng[_], z], {
@@ -6965,11 +6975,11 @@ const zm = {
6965
6975
  L = this.weatherLayers[h].data;
6966
6976
  else {
6967
6977
  f = !0;
6968
- const v = this.weatherLayers[h].raw;
6969
- if (v) {
6978
+ const x = this.weatherLayers[h].raw;
6979
+ if (x) {
6970
6980
  const C = [];
6971
- for (const z in v.LineString) {
6972
- const P = v.LineString[z];
6981
+ for (const z in x.LineString) {
6982
+ const P = x.LineString[z];
6973
6983
  for (const _ of P)
6974
6984
  C.push(
6975
6985
  W.lineString(_, {
@@ -6977,12 +6987,12 @@ const zm = {
6977
6987
  })
6978
6988
  );
6979
6989
  }
6980
- for (const z in v.Point)
6981
- v.Point[z].lng.forEach((P, _) => {
6990
+ for (const z in x.Point)
6991
+ x.Point[z].lng.forEach((P, _) => {
6982
6992
  P = H.convertToStdLng(P), C.push(
6983
6993
  W.point([P, z], {
6984
- val: v.Point[z].val[_],
6985
- type: v.Point[z].type[_]
6994
+ val: x.Point[z].val[_],
6995
+ type: x.Point[z].type[_]
6986
6996
  })
6987
6997
  );
6988
6998
  });
@@ -7038,7 +7048,7 @@ const zm = {
7038
7048
  }, Xm = { class: "text-body-1 py-2" }, Om = { class: "text-body-1 font-weight-medium" }, Hm = { class: "text-body-2 text-label" }, Ym = { class: "text-body-2 text-label" }, Um = { class: "text-body-2 text-label mb-3" }, Jm = { class: "text-body-1 font-weight-medium" }, Km = { class: "text-body-2 text-label" }, Qm = { class: "text-body-2 text-label" }, qm = { class: "text-body-2 text-label mb-3" }, $m = { class: "text-body-1 py-2" }, ed = { class: "text-body-1 font-weight-medium" }, td = { class: "text-body-2 text-label" }, od = { class: "text-body-2 text-label" }, ad = { class: "text-body-2 text-label mb-3" }, id = { class: "text-body-1 font-weight-medium" }, ld = { class: "text-body-2 text-label" }, rd = { class: "text-body-2 text-label" }, nd = { class: "text-body-2 text-label mb-3" }, sd = { class: "text-body-1 py-2" }, cd = { class: "text-body-1 font-weight-medium" }, md = { class: "text-body-2 text-label" }, dd = { class: "text-body-2 text-label" }, hd = { class: "text-body-2 text-label mb-3" };
7039
7049
  function ud(t, e, o, i, a, l) {
7040
7050
  var be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae;
7041
- const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), z = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), B = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), Q = M("IdmPrecip3h"), ie = M("IdmVisibility"), re = M("IdmWaterTemp"), xe = M("IdmTemp");
7051
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VCardText"), d = M("VDivider"), m = M("VCard"), p = M("VSwitch"), g = M("VBtnToggle"), b = M("VCardTitle"), u = M("VCardItem"), h = M("VCheckbox"), f = M("VRadio"), L = M("IdmWindBarb"), x = M("IdmSigWaveHeight"), C = M("IdmCurrentDirection"), z = M("IdmPrmsl"), P = M("IdmWindParticle"), _ = M("IdmCurrentParticle"), D = M("IdmWave"), T = M("IdmSwell"), B = M("IdmIceEdge"), j = M("IdmIceCover"), G = M("IdmIceThickness"), Q = M("IdmPrecip3h"), ie = M("IdmVisibility"), re = M("IdmWaterTemp"), ve = M("IdmTemp");
7042
7052
  return A(), R("div", _m, [
7043
7053
  n("div", {
7044
7054
  class: "menu-bar-box transition pa-1",
@@ -7052,7 +7062,7 @@ function ud(t, e, o, i, a, l) {
7052
7062
  "open-on-focus": !o.simple,
7053
7063
  "open-on-hover": !o.simple
7054
7064
  }, {
7055
- activator: x(({ props: ee }) => [
7065
+ activator: v(({ props: ee }) => [
7056
7066
  w(r, V(ee, {
7057
7067
  "min-width": "32",
7058
7068
  width: "32",
@@ -7060,7 +7070,7 @@ function ud(t, e, o, i, a, l) {
7060
7070
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
7061
7071
  onClick: l.handleMenuToggle
7062
7072
  }), {
7063
- default: x(() => e[9] || (e[9] = [
7073
+ default: v(() => e[9] || (e[9] = [
7064
7074
  n("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
7065
7075
  ])),
7066
7076
  _: 2,
@@ -7073,7 +7083,7 @@ function ud(t, e, o, i, a, l) {
7073
7083
  l.showTipMenu ? (A(), R("div", Cm, [
7074
7084
  n("div", {
7075
7085
  class: ue(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
7076
- style: ge({ right: a.right + "px", top: o.simple ? "394px" : "580px" })
7086
+ style: ge({ right: a.right + "px", top: o.simple ? "394px" : l.lengendTipTop + "px" })
7077
7087
  }, [
7078
7088
  w(c, {
7079
7089
  text: t.$t("weather.legend"),
@@ -7083,7 +7093,7 @@ function ud(t, e, o, i, a, l) {
7083
7093
  "open-on-focus": !o.simple,
7084
7094
  "open-on-hover": !o.simple
7085
7095
  }, {
7086
- activator: x(({ props: ee }) => [
7096
+ activator: v(({ props: ee }) => [
7087
7097
  w(r, V(ee, {
7088
7098
  "min-width": "32",
7089
7099
  width: "32",
@@ -7091,7 +7101,7 @@ function ud(t, e, o, i, a, l) {
7091
7101
  class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
7092
7102
  onClick: e[0] || (e[0] = (we) => a.legendToggle = !a.legendToggle)
7093
7103
  }), {
7094
- default: x(() => e[10] || (e[10] = [
7104
+ default: v(() => e[10] || (e[10] = [
7095
7105
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
7096
7106
  ])),
7097
7107
  _: 2,
@@ -7107,12 +7117,12 @@ function ud(t, e, o, i, a, l) {
7107
7117
  class: "card-info d-flex justify-center align-start",
7108
7118
  style: ge({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
7109
7119
  }, {
7110
- default: x(() => [
7120
+ default: v(() => [
7111
7121
  w(s, {
7112
7122
  class: "d-flex flex-column justify-center align-start text-label px-1",
7113
7123
  style: { width: "120px" }
7114
7124
  }, {
7115
- default: x(() => [
7125
+ default: v(() => [
7116
7126
  e[11] || (e[11] = n("div", { class: "text-body-2 font-weight-600 mb-2 mx-1" }, "Wind Level", -1)),
7117
7127
  n("div", Mm, [
7118
7128
  (A(!0), R(Ce, null, Me(a.legend.barbs, (ee, we) => (A(), R("div", {
@@ -7137,7 +7147,7 @@ function ud(t, e, o, i, a, l) {
7137
7147
  class: "d-flex flex-column justify-center align-start text-label px-2",
7138
7148
  style: { width: "100px" }
7139
7149
  }, {
7140
- default: x(() => [
7150
+ default: v(() => [
7141
7151
  e[12] || (e[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
7142
7152
  n("div", Tm, [
7143
7153
  (A(!0), R(Ce, null, Me(a.legend.sigWaveHeight, (ee, we) => (A(), R("div", {
@@ -7162,7 +7172,7 @@ function ud(t, e, o, i, a, l) {
7162
7172
  class: "d-flex flex-column justify-center align-start text-label pl-0 pr-2",
7163
7173
  style: { width: "100px" }
7164
7174
  }, {
7165
- default: x(() => [
7175
+ default: v(() => [
7166
7176
  e[13] || (e[13] = n("div", { class: "text-body-2 font-weight-600 mb-2 mx-2" }, "Current", -1)),
7167
7177
  n("div", Em, [
7168
7178
  (A(!0), R(Ce, null, Me(a.legend.current, (ee, we) => (A(), R("div", {
@@ -7214,7 +7224,7 @@ function ud(t, e, o, i, a, l) {
7214
7224
  class: "mr-n2",
7215
7225
  onClick: l.handleMenuToggle
7216
7226
  }, {
7217
- default: x(() => e[14] || (e[14] = [
7227
+ default: v(() => e[14] || (e[14] = [
7218
7228
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
7219
7229
  ])),
7220
7230
  _: 1,
@@ -7232,7 +7242,7 @@ function ud(t, e, o, i, a, l) {
7232
7242
  mandatory: "",
7233
7243
  group: ""
7234
7244
  }, {
7235
- default: x(() => [
7245
+ default: v(() => [
7236
7246
  w(r, {
7237
7247
  density: "compact",
7238
7248
  height: "28",
@@ -7241,7 +7251,7 @@ function ud(t, e, o, i, a, l) {
7241
7251
  color: a.currentModel === "GFS" ? "primary" : "",
7242
7252
  "base-color": ""
7243
7253
  }, {
7244
- default: x(() => e[15] || (e[15] = [
7254
+ default: v(() => e[15] || (e[15] = [
7245
7255
  N(" NOAA ", -1)
7246
7256
  ])),
7247
7257
  _: 1,
@@ -7255,7 +7265,7 @@ function ud(t, e, o, i, a, l) {
7255
7265
  "base-color": "",
7256
7266
  value: "ECMWF"
7257
7267
  }, {
7258
- default: x(() => e[16] || (e[16] = [
7268
+ default: v(() => e[16] || (e[16] = [
7259
7269
  N(" ECMWF ", -1)
7260
7270
  ])),
7261
7271
  _: 1,
@@ -7272,11 +7282,11 @@ function ud(t, e, o, i, a, l) {
7272
7282
  class: "block-bg mx-auto mb-2",
7273
7283
  elevation: "0"
7274
7284
  }, {
7275
- default: x(() => [
7285
+ default: v(() => [
7276
7286
  w(u, { class: "border-b-thin" }, {
7277
- default: x(() => [
7287
+ default: v(() => [
7278
7288
  w(b, { class: "text-h6" }, {
7279
- default: x(() => [
7289
+ default: v(() => [
7280
7290
  N(y(t.$t("weather.overlays")), 1)
7281
7291
  ]),
7282
7292
  _: 1
@@ -7285,7 +7295,7 @@ function ud(t, e, o, i, a, l) {
7285
7295
  _: 1
7286
7296
  }),
7287
7297
  w(s, { class: "py-2 mx-n1" }, {
7288
- default: x(() => [
7298
+ default: v(() => [
7289
7299
  (A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => ee.overlays), (ee) => (A(), F(h, {
7290
7300
  key: ee.key,
7291
7301
  modelValue: a.checkList,
@@ -7309,11 +7319,11 @@ function ud(t, e, o, i, a, l) {
7309
7319
  class: "block-bg mx-auto mb-2",
7310
7320
  elevation: "0"
7311
7321
  }, {
7312
- default: x(() => [
7322
+ default: v(() => [
7313
7323
  w(u, { class: "border-b-thin" }, {
7314
- default: x(() => [
7324
+ default: v(() => [
7315
7325
  w(b, { class: "text-h6" }, {
7316
- default: x(() => [
7326
+ default: v(() => [
7317
7327
  N(y(t.$t("weather.renders")), 1)
7318
7328
  ]),
7319
7329
  _: 1
@@ -7322,7 +7332,7 @@ function ud(t, e, o, i, a, l) {
7322
7332
  _: 1
7323
7333
  }),
7324
7334
  w(s, { class: "py-2 mx-n1" }, {
7325
- default: x(() => [
7335
+ default: v(() => [
7326
7336
  (A(!0), R(Ce, null, Me(a.tagLayers.filter((ee) => !ee.overlays), (ee) => (A(), R(Ce, {
7327
7337
  key: ee.key
7328
7338
  }, [
@@ -7381,7 +7391,7 @@ function ud(t, e, o, i, a, l) {
7381
7391
  mandatory: "",
7382
7392
  disabled: !a.autoActive
7383
7393
  }, {
7384
- default: x(() => [
7394
+ default: v(() => [
7385
7395
  w(r, {
7386
7396
  density: "compact",
7387
7397
  height: "30",
@@ -7391,7 +7401,7 @@ function ud(t, e, o, i, a, l) {
7391
7401
  "base-color": "grey-lighten-1",
7392
7402
  disabled: !a.autoActive
7393
7403
  }, {
7394
- default: x(() => [
7404
+ default: v(() => [
7395
7405
  N(y(t.$t("weather.significant")), 1)
7396
7406
  ]),
7397
7407
  _: 1
@@ -7405,7 +7415,7 @@ function ud(t, e, o, i, a, l) {
7405
7415
  disabled: !a.autoActive,
7406
7416
  value: "swell"
7407
7417
  }, {
7408
- default: x(() => [
7418
+ default: v(() => [
7409
7419
  N(y(t.$t("weather.swell")), 1)
7410
7420
  ]),
7411
7421
  _: 1
@@ -7425,7 +7435,7 @@ function ud(t, e, o, i, a, l) {
7425
7435
  mandatory: "",
7426
7436
  disabled: !a.autoActive
7427
7437
  }, {
7428
- default: x(() => [
7438
+ default: v(() => [
7429
7439
  w(r, {
7430
7440
  density: "compact",
7431
7441
  height: "30",
@@ -7435,7 +7445,7 @@ function ud(t, e, o, i, a, l) {
7435
7445
  "base-color": "grey-lighten-1",
7436
7446
  disabled: !a.autoActive
7437
7447
  }, {
7438
- default: x(() => [
7448
+ default: v(() => [
7439
7449
  N(y(t.$t("weather.coverage")), 1)
7440
7450
  ]),
7441
7451
  _: 1
@@ -7449,7 +7459,7 @@ function ud(t, e, o, i, a, l) {
7449
7459
  disabled: !a.autoActive,
7450
7460
  value: "ice-thickness"
7451
7461
  }, {
7452
- default: x(() => [
7462
+ default: v(() => [
7453
7463
  N(y(t.$t("weather.thickness")), 1)
7454
7464
  ]),
7455
7465
  _: 1
@@ -7468,11 +7478,11 @@ function ud(t, e, o, i, a, l) {
7468
7478
  class: "block-bg mx-auto mb-2",
7469
7479
  elevation: "0"
7470
7480
  }, {
7471
- default: x(() => [
7481
+ default: v(() => [
7472
7482
  w(u, { class: "border-b-thin" }, {
7473
- default: x(() => [
7483
+ default: v(() => [
7474
7484
  w(b, { class: "text-h6" }, {
7475
- default: x(() => [
7485
+ default: v(() => [
7476
7486
  N(y(t.$t("weather.forecastModel")), 1)
7477
7487
  ]),
7478
7488
  _: 1
@@ -7481,15 +7491,15 @@ function ud(t, e, o, i, a, l) {
7481
7491
  _: 1
7482
7492
  }),
7483
7493
  w(s, { class: "" }, {
7484
- default: x(() => {
7485
- var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
7494
+ default: v(() => {
7495
+ var ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io;
7486
7496
  return [
7487
7497
  n("div", Xm, y(t.$t("weather.atmospheric")), 1),
7488
7498
  n("div", Om, y((Ee = (we = (ee = a.models) == null ? void 0 : ee.weather) == null ? void 0 : we.NOAA) == null ? void 0 : Ee.source) + " " + y((et = ($e = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : $e.NOAA) == null ? void 0 : et.spatialResolution) + y(t.$t("units.km")) + " " + y((Oe = (tt = (je = (Je = a.models) == null ? void 0 : Je.weather) == null ? void 0 : je.NOAA) == null ? void 0 : tt.meta) == null ? void 0 : Oe.days) + y(t.$t("units.days")), 1),
7489
7499
  n("div", Hm, y(t.$t("weather.source")) + ": NOAA", 1),
7490
7500
  n("div", Ym, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((at = (ot = (Ke = (He = a.models) == null ? void 0 : He.weather) == null ? void 0 : Ke.NOAA) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
7491
7501
  n("div", Um, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Ne = (Re = (Te = (Qe = a.models) == null ? void 0 : Qe.weather) == null ? void 0 : Te.NOAA) == null ? void 0 : Re.meta) == null ? void 0 : Ne.initialisationTime)), 1),
7492
- n("div", Jm, y((rt = (lt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : lt.ECMWF) == null ? void 0 : rt.source) + " " + y((wt = (bt = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : bt.ECMWF) == null ? void 0 : wt.spatialResolution) + y(t.$t("units.km")) + " " + y((kt = (At = (vt = (xt = a.models) == null ? void 0 : xt.weather) == null ? void 0 : vt.ECMWF) == null ? void 0 : At.meta) == null ? void 0 : kt.days) + y(t.$t("units.days")), 1),
7502
+ n("div", Jm, y((rt = (lt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : lt.ECMWF) == null ? void 0 : rt.source) + " " + y((wt = (bt = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : bt.ECMWF) == null ? void 0 : wt.spatialResolution) + y(t.$t("units.km")) + " " + y((kt = (At = (xt = (vt = a.models) == null ? void 0 : vt.weather) == null ? void 0 : xt.ECMWF) == null ? void 0 : At.meta) == null ? void 0 : kt.days) + y(t.$t("units.days")), 1),
7493
7503
  n("div", Km, y(t.$t("weather.source")) + ": ECMWF", 1),
7494
7504
  n("div", Qm, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Ct = (_t = (zt = (Lt = a.models) == null ? void 0 : Lt.weather) == null ? void 0 : zt.ECMWF) == null ? void 0 : _t.meta) == null ? void 0 : Ct.availabilityTime)), 1),
7495
7505
  n("div", qm, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Tt = (St = (Pt = (Mt = a.models) == null ? void 0 : Mt.weather) == null ? void 0 : Pt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.initialisationTime)), 1),
@@ -7505,7 +7515,7 @@ function ud(t, e, o, i, a, l) {
7505
7515
  n("div", nd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((ft = (mt = (Be = (ce = (lo = a.models) == null ? void 0 : lo.marine) == null ? void 0 : ce.wave) == null ? void 0 : Be.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : ft.initialisationTime)), 1),
7506
7516
  w(d),
7507
7517
  n("div", sd, y(t.$t("weather.currents")), 1),
7508
- n("div", cd, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (vo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : vo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
7518
+ n("div", cd, y((K = (dt = (X = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : X.current) == null ? void 0 : dt.ECMWF) == null ? void 0 : K.source) + " " + y((go = (pe = (no = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : no.current) == null ? void 0 : pe.ECMWF) == null ? void 0 : go.spatialResolution) + y(t.$t("units.km")) + " " + y((Lo = (ko = (Ao = (xo = (ye = a.models) == null ? void 0 : ye.marine) == null ? void 0 : xo.current) == null ? void 0 : Ao.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : Lo.days) + y(t.$t("units.days")), 1),
7509
7519
  n("div", md, y(t.$t("weather.source")) + ": ECMWF", 1),
7510
7520
  n("div", dd, y(t.$t("weather.lastUpdate")) + ": " + y(l.computeDateUpdate((Po = (Mo = (Co = (_o = (zo = a.models) == null ? void 0 : zo.marine) == null ? void 0 : _o.current) == null ? void 0 : Co.ECMWF) == null ? void 0 : Mo.meta) == null ? void 0 : Po.availabilityTime)), 1),
7511
7521
  n("div", hd, y(t.$t("weather.referenceTime")) + ": " + y(l.computeDateZ((Io = (Do = (Ro = (To = (So = a.models) == null ? void 0 : So.marine) == null ? void 0 : To.current) == null ? void 0 : Ro.ECMWF) == null ? void 0 : Do.meta) == null ? void 0 : Io.initialisationTime)), 1)
@@ -7527,7 +7537,7 @@ function ud(t, e, o, i, a, l) {
7527
7537
  wind: (be = a.weatherLayers) == null ? void 0 : be.wind,
7528
7538
  "menu-toggle": o.menuToggle
7529
7539
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
7530
- o.map ? (A(), F(v, V({
7540
+ o.map ? (A(), F(x, V({
7531
7541
  key: 2,
7532
7542
  map: o.map,
7533
7543
  "before-layer": "empty-layer-2",
@@ -7623,7 +7633,7 @@ function ud(t, e, o, i, a, l) {
7623
7633
  "menu-toggle": o.menuToggle,
7624
7634
  simple: o.simple
7625
7635
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : I("", !0),
7626
- o.map ? (A(), F(xe, V({
7636
+ o.map ? (A(), F(ve, V({
7627
7637
  key: 15,
7628
7638
  viewport: a.viewport,
7629
7639
  factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.temp,
@@ -7983,10 +7993,10 @@ let ul = class {
7983
7993
  }), a;
7984
7994
  }
7985
7995
  static pickHourly(e, o) {
7986
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
7996
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st;
7987
7997
  const de = typeof o == "string" ? S(o) : o;
7988
7998
  let Fe = de.clone();
7989
- const ae = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ae == null ? void 0 : ae[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ae == null ? void 0 : ae[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ae == null ? void 0 : ae[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((v = (L = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : L.time) == null ? void 0 : v.at(-1)), "h"), lo = [];
7999
+ const ae = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, ct = ((a = (i = ae == null ? void 0 : ae[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date) || ((r = (l = oe == null ? void 0 : oe[0]) == null ? void 0 : l.hourly) == null ? void 0 : r.date), qe = S.utc(ct), We = qe.clone().add(((d = (s = (c = ae == null ? void 0 : ae[0]) == null ? void 0 : c.hourly) == null ? void 0 : s.time) == null ? void 0 : d.at(0)) || ((g = (p = (m = oe == null ? void 0 : oe[0]) == null ? void 0 : m.hourly) == null ? void 0 : p.time) == null ? void 0 : g.at(0)), "h"), J = qe.clone().add(((h = (u = (b = ae == null ? void 0 : ae[0]) == null ? void 0 : b.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1)) || ((x = (L = (f = oe == null ? void 0 : oe[0]) == null ? void 0 : f.hourly) == null ? void 0 : L.time) == null ? void 0 : x.at(-1)), "h"), lo = [];
7990
8000
  Fe = Fe.isBefore(We) ? We.clone() : Fe, Fe = Fe.isAfter(J) ? J.clone() : Fe;
7991
8001
  const ce = Fe.utc().diff(We, "h", !1);
7992
8002
  let Be, mt;
@@ -8004,7 +8014,7 @@ let ul = class {
8004
8014
  Be = {
8005
8015
  temp: ((B = K == null ? void 0 : K.temperature_2m) == null ? void 0 : B.at(ce)) ?? ((G = (j = K == null ? void 0 : K.temperature_2m) == null ? void 0 : j.filter((ye) => ye !== null)) == null ? void 0 : G.at(-1)),
8006
8016
  apparentTemp: ((Q = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : Q.at(ce)) ?? ((re = (ie = K == null ? void 0 : K.apparent_temperature) == null ? void 0 : ie.filter((ye) => ye !== null)) == null ? void 0 : re.at(-1)),
8007
- rh: ((xe = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : xe.at(ce)) ?? ((E = (be = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
8017
+ rh: ((ve = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : ve.at(ce)) ?? ((E = (be = K == null ? void 0 : K.relative_humidity_2m) == null ? void 0 : be.filter((ye) => ye !== null)) == null ? void 0 : E.at(-1)),
8008
8018
  dp: (($ = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : $.at(ce)) ?? ((se = (te = K == null ? void 0 : K.dew_point_2m) == null ? void 0 : te.filter((ye) => ye !== null)) == null ? void 0 : se.at(-1)),
8009
8019
  precip: {
8010
8020
  probability: ((q = K == null ? void 0 : K.precipitation_probability) == null ? void 0 : q.at(ce)) ?? 0,
@@ -8039,7 +8049,7 @@ let ul = class {
8039
8049
  if (oe != null && oe.length) {
8040
8050
  let ft = 0;
8041
8051
  for (const yt of oe) {
8042
- const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.at(ce)) ?? ((At = (vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.filter((pe) => pe !== null)) == null ? void 0 : At.at(-1));
8052
+ const X = yt == null ? void 0 : yt.hourly, dt = ((Te = X == null ? void 0 : X.wave_direction) == null ? void 0 : Te.at(ce)) ?? ((Ne = (Re = X == null ? void 0 : X.wave_direction) == null ? void 0 : Re.filter((pe) => pe !== null)) == null ? void 0 : Ne.at(-1)), K = ((it = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : it.at(ce)) ?? ((rt = (lt = X == null ? void 0 : X.swell_wave_direction) == null ? void 0 : lt.filter((pe) => pe !== null)) == null ? void 0 : rt.at(-1)), ht = ((Ve = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : Ve.at(ce)) ?? ((wt = (bt = X == null ? void 0 : X.wind_wave_direction) == null ? void 0 : bt.filter((pe) => pe !== null)) == null ? void 0 : wt.at(-1)), no = ((vt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : vt.at(ce)) ?? ((At = (xt = X == null ? void 0 : X.ocean_current_direction) == null ? void 0 : xt.filter((pe) => pe !== null)) == null ? void 0 : At.at(-1));
8043
8053
  mt = {
8044
8054
  wave: {
8045
8055
  sig: {
@@ -8109,7 +8119,7 @@ let ul = class {
8109
8119
  };
8110
8120
  }
8111
8121
  static pickDaily(e, o) {
8112
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
8122
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to;
8113
8123
  const oo = typeof o == "string" ? S(o) : o;
8114
8124
  let Xe = oo.clone();
8115
8125
  const Ye = e == null ? void 0 : e.weather, ao = e == null ? void 0 : e.marine, nt = S((l = (a = (i = Ye == null ? void 0 : Ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : l.at(0)), io = S((s = (c = (r = Ye == null ? void 0 : Ye[0]) == null ? void 0 : r.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), gt = [];
@@ -8123,7 +8133,7 @@ let ul = class {
8123
8133
  code: ((g = ae.weather_code) == null ? void 0 : g.at(de)) ?? ((u = (b = ae.weather_code) == null ? void 0 : b.filter((J) => J !== null)) == null ? void 0 : u.at(-1)),
8124
8134
  temp: {
8125
8135
  max: ((h = ae.temperature_2m_max) == null ? void 0 : h.at(de)) ?? ((L = (f = ae.temperature_2m_max) == null ? void 0 : f.filter((J) => J !== null)) == null ? void 0 : L.at(-1)),
8126
- min: ((v = ae.temperature_2m_min) == null ? void 0 : v.at(de)) ?? ((z = (C = ae.temperature_2m_min) == null ? void 0 : C.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
8136
+ min: ((x = ae.temperature_2m_min) == null ? void 0 : x.at(de)) ?? ((z = (C = ae.temperature_2m_min) == null ? void 0 : C.filter((J) => J !== null)) == null ? void 0 : z.at(-1)),
8127
8137
  mean: ((P = ae.temperature_2m_mean) == null ? void 0 : P.at(de)) ?? ((D = (_ = ae.temperature_2m_mean) == null ? void 0 : _.filter((J) => J !== null)) == null ? void 0 : D.at(-1))
8128
8138
  },
8129
8139
  apparentTemp: {
@@ -8131,7 +8141,7 @@ let ul = class {
8131
8141
  min: ((G = ae.apparent_temperature_min) == null ? void 0 : G.at(de)) ?? ((ie = (Q = ae.apparent_temperature_min) == null ? void 0 : Q.filter((J) => J !== null)) == null ? void 0 : ie.at(-1))
8132
8142
  },
8133
8143
  precip: {
8134
- sum: ((re = ae.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (xe = ae.precipitation_sum) == null ? void 0 : xe.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
8144
+ sum: ((re = ae.precipitation_sum) == null ? void 0 : re.at(de)) ?? ((be = (ve = ae.precipitation_sum) == null ? void 0 : ve.filter((J) => J !== null)) == null ? void 0 : be.at(-1)),
8135
8145
  rainSum: ((E = ae.rain_sum) == null ? void 0 : E.at(de)) ?? ((te = ($ = ae.rain_sum) == null ? void 0 : $.filter((J) => J !== null)) == null ? void 0 : te.at(-1)),
8136
8146
  snowfallSum: ((se = ae.snowfall_sum) == null ? void 0 : se.at(de)) ?? ((Y = (q = ae.snowfall_sum) == null ? void 0 : q.filter((J) => J !== null)) == null ? void 0 : Y.at(-1)),
8137
8147
  showersSum: ((le = ae.showers_sum) == null ? void 0 : le.at(de)) ?? ((U = (Z = ae.showers_sum) == null ? void 0 : Z.filter((J) => J !== null)) == null ? void 0 : U.at(-1)),
@@ -8154,7 +8164,7 @@ let ul = class {
8154
8164
  visibility: {
8155
8165
  max: this.m2nm(((it = ae.visibility_max) == null ? void 0 : it.at(de)) ?? ((rt = (lt = ae.visibility_max) == null ? void 0 : lt.filter((J) => J !== null)) == null ? void 0 : rt.at(-1))),
8156
8166
  min: this.m2nm(((Ve = ae.visibility_min) == null ? void 0 : Ve.at(de)) ?? ((wt = (bt = ae.visibility_min) == null ? void 0 : bt.filter((J) => J !== null)) == null ? void 0 : wt.at(-1))),
8157
- mean: this.m2nm(((xt = ae.visibility_mean) == null ? void 0 : xt.at(de)) ?? ((At = (vt = ae.visibility_mean) == null ? void 0 : vt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
8167
+ mean: this.m2nm(((vt = ae.visibility_mean) == null ? void 0 : vt.at(de)) ?? ((At = (xt = ae.visibility_mean) == null ? void 0 : xt.filter((J) => J !== null)) == null ? void 0 : At.at(-1)))
8158
8168
  }
8159
8169
  };
8160
8170
  const { name: ct, url: qe, bg: We } = this.parseWeatherCode(De.code, !0);
@@ -8843,7 +8853,7 @@ const gd = {
8843
8853
  handleRefresh() {
8844
8854
  var e, o;
8845
8855
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
8846
- var l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D;
8856
+ var l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D;
8847
8857
  let a = "";
8848
8858
  switch (!0) {
8849
8859
  case (((l = i.properties.wind) == null ? void 0 : l.kts) < 32 || ((r = i.properties) == null ? void 0 : r.kts) < 32):
@@ -8868,7 +8878,7 @@ const gd = {
8868
8878
  a = "superTy";
8869
8879
  break;
8870
8880
  }
8871
- i.properties.levelI18n = a, ((L = i.geometry) == null ? void 0 : L.type) === "Point" && ((v = i.properties) != null && v.important) && (i.properties.format = (z = (C = S(i.properties.date)) == null ? void 0 : C.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((D = (_ = i.properties.name) == null ? void 0 : _.trim()) == null ? void 0 : D.replace(/^./, (T) => T.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
8881
+ i.properties.levelI18n = a, ((L = i.geometry) == null ? void 0 : L.type) === "Point" && ((x = i.properties) != null && x.important) && (i.properties.format = (z = (C = S(i.properties.date)) == null ? void 0 : C.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((D = (_ = i.properties.name) == null ? void 0 : _.trim()) == null ? void 0 : D.replace(/^./, (T) => T.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
8872
8882
  }), this.handleInit();
8873
8883
  },
8874
8884
  handleInit() {
@@ -9120,7 +9130,7 @@ const gd = {
9120
9130
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.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)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
9121
9131
  },
9122
9132
  handleDateChange() {
9123
- var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $;
9133
+ var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $;
9124
9134
  if ((t = this.interpolateMarkers) == null || t.forEach((te) => te == null ? void 0 : te.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
9125
9135
  const te = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), se = this.interpolateData.filter((Z) => Z.properties.date === (te == null ? void 0 : te.format()) && !Z.properties.disabled), q = this.handleComputePolygons(se), Y = W.featureCollection([...se]);
9126
9136
  q.forEach((Z) => {
@@ -9164,7 +9174,7 @@ const gd = {
9164
9174
  Z.properties.nameCn = he, Z.properties.Name = ((m = (d = Z.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (Ae) => Ae.toUpperCase())) || Z.properties.nameCn, le.push(Z);
9165
9175
  }
9166
9176
  let U = this.Theme.current.value.colors["tropicals-ty"];
9167
- ((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((v = (L = Z.properties) == null ? void 0 : L.wind) == null ? void 0 : v.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((Q = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : Q.kts) >= 79 && ((re = (ie = Z.properties) == null ? void 0 : ie.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (xe = Z.properties) == null ? void 0 : xe.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
9177
+ ((g = (p = Z.properties) == null ? void 0 : p.wind) == null ? void 0 : g.kts) < 32 || !((u = (b = Z.properties) == null ? void 0 : b.wind) != null && u.kts) ? U = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = Z.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((x = (L = Z.properties) == null ? void 0 : L.wind) == null ? void 0 : x.kts) < 47 ? U = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = Z.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((_ = (P = Z.properties) == null ? void 0 : P.wind) == null ? void 0 : _.kts) < 63 ? U = this.Theme.current.value.colors["tropicals-sts"] : ((T = (D = Z.properties) == null ? void 0 : D.wind) == null ? void 0 : T.kts) >= 63 && ((j = (B = Z.properties) == null ? void 0 : B.wind) == null ? void 0 : j.kts) < 79 ? U = this.Theme.current.value.colors["tropicals-ty"] : ((Q = (G = Z.properties) == null ? void 0 : G.wind) == null ? void 0 : Q.kts) >= 79 && ((re = (ie = Z.properties) == null ? void 0 : ie.wind) == null ? void 0 : re.kts) < 94 ? U = this.Theme.current.value.colors["tropicals-sty"] : ((be = (ve = Z.properties) == null ? void 0 : ve.wind) == null ? void 0 : be.kts) >= 94 ? U = this.Theme.current.value.colors["tropicals-super-ty"] : U = this.Theme.current.value.colors["tropicals-ty"];
9168
9178
  const fe = `<svg t="1719918955501"
9169
9179
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
9170
9180
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -9181,7 +9191,7 @@ const gd = {
9181
9191
  fill="#ffffff" p-id="18386"></path>
9182
9192
  </svg>`, Le = document.createElement("div");
9183
9193
  Le.className = "idm-tropical-gl4-hourly-marker", Le.innerHTML = `<div class="${Z.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${fe}</div>`;
9184
- const ze = new ve.Marker(Le).setLngLat(Z.geometry.coordinates).addTo(this.map);
9194
+ const ze = new xe.Marker(Le).setLngLat(Z.geometry.coordinates).addTo(this.map);
9185
9195
  this.interpolateMarkers.push(ze);
9186
9196
  }
9187
9197
  this.$emit("tropicalCenterPoints", le);
@@ -9213,7 +9223,7 @@ const gd = {
9213
9223
  drawTropicalsInfoMaker(t) {
9214
9224
  this.$nextTick(() => {
9215
9225
  const e = document.getElementById("idm-tropical-gl4-info");
9216
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat(t).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(e).setLngLat(t).setOffset([220, 0]).addTo(this.map);
9226
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat(t).setOffset([220, 0]) : this.activeTropicalsMarker = new xe.Marker(e).setLngLat(t).setOffset([220, 0]).addTo(this.map);
9217
9227
  });
9218
9228
  },
9219
9229
  handleCloseInfoMarker() {
@@ -9310,7 +9320,7 @@ const gd = {
9310
9320
  );
9311
9321
  this.hoverPoint && (this.hoverPoint.lng = o.geometry.coordinates[0], this.hoverPoint.lat = o.geometry.coordinates[1], this.hoverPoint.update = (c = (r = i == null ? void 0 : i[0]) == null ? void 0 : r.properties) == null ? void 0 : c.date, (s = this.hoverMarker) == null || s.remove(), this.showHoverPoint = !0, this.$nextTick(() => {
9312
9322
  const d = document.getElementById("tropicalHoverMarkerInfo").cloneNode(!0);
9313
- this.hoverMarker = new ve.Marker(d).setLngLat(o.geometry.coordinates).setOffset([160, 0]).addTo(this.map);
9323
+ this.hoverMarker = new xe.Marker(d).setLngLat(o.geometry.coordinates).setOffset([160, 0]).addTo(this.map);
9314
9324
  }));
9315
9325
  },
9316
9326
  handleLeave() {
@@ -9321,7 +9331,7 @@ const gd = {
9321
9331
  }, fd = { class: "idm-tropical-gl4" }, yd = { class: "pb-1" }, bd = { class: "text-h5 font-weight-600" }, wd = {
9322
9332
  key: 0,
9323
9333
  class: "text-h5 font-weight-600"
9324
- }, xd = { class: "text-body-1" }, vd = { class: "text-label" }, Ad = { class: "d-flex justify-space-between align-center" }, kd = { class: "w-60" }, Ld = { class: "text-label pr-1" }, zd = { class: "flex-1-1-0" }, _d = { class: "text-label pr-1" }, Cd = { class: "py-2 d-flex justify-space-between align-center" }, Md = { class: "w-60" }, Pd = { class: "text-label pr-1" }, Sd = { class: "flex-1-1-0" }, Td = { class: "text-label pr-1" }, Rd = { class: "d-flex align-center flex-1-1-100 justify-start mt-n1" }, Dd = {
9334
+ }, vd = { class: "text-body-1" }, xd = { class: "text-label" }, Ad = { class: "d-flex justify-space-between align-center" }, kd = { class: "w-60" }, Ld = { class: "text-label pr-1" }, zd = { class: "flex-1-1-0" }, _d = { class: "text-label pr-1" }, Cd = { class: "py-2 d-flex justify-space-between align-center" }, Md = { class: "w-60" }, Pd = { class: "text-label pr-1" }, Sd = { class: "flex-1-1-0" }, Td = { class: "text-label pr-1" }, Rd = { class: "d-flex align-center flex-1-1-100 justify-start mt-n1" }, Dd = {
9325
9335
  class: "text-label pr-1",
9326
9336
  style: { width: "70px" }
9327
9337
  }, Id = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Ed = { class: "more" }, Gd = {
@@ -9331,7 +9341,7 @@ const gd = {
9331
9341
  key: 1,
9332
9342
  class: "my-3 w-100",
9333
9343
  style: { height: "80px" }
9334
- }, rh = { class: "legend d-flex justify-start align-center" }, nh = { class: "label" }, sh = { class: "legend d-flex justify-start align-center" }, ch = { class: "label" }, mh = { class: "legend d-flex justify-start align-center" }, dh = { class: "label" }, hh = { class: "legend d-flex justify-start align-center" }, uh = { class: "label" }, ph = { class: "legend d-flex justify-start align-center" }, gh = { class: "label" }, fh = { class: "legend d-flex justify-start align-center" }, yh = { class: "label" }, bh = { class: "legend d-flex justify-start align-center" }, wh = { class: "label" }, xh = { class: "legend d-flex justify-start align-center" }, vh = { class: "label" }, Ah = { class: "legend d-flex justify-start align-center" }, kh = { class: "label" }, Lh = { class: "legend d-flex justify-start align-center" }, zh = { class: "label" }, _h = { class: "d-flex justify-star align-center" }, Ch = { class: "font-weight-600 mr-1" }, Mh = { class: "" }, Ph = { class: "d-flex flex-column justify-center align-start ga-2" }, Sh = {
9344
+ }, rh = { class: "legend d-flex justify-start align-center" }, nh = { class: "label" }, sh = { class: "legend d-flex justify-start align-center" }, ch = { class: "label" }, mh = { class: "legend d-flex justify-start align-center" }, dh = { class: "label" }, hh = { class: "legend d-flex justify-start align-center" }, uh = { class: "label" }, ph = { class: "legend d-flex justify-start align-center" }, gh = { class: "label" }, fh = { class: "legend d-flex justify-start align-center" }, yh = { class: "label" }, bh = { class: "legend d-flex justify-start align-center" }, wh = { class: "label" }, vh = { class: "legend d-flex justify-start align-center" }, xh = { class: "label" }, Ah = { class: "legend d-flex justify-start align-center" }, kh = { class: "label" }, Lh = { class: "legend d-flex justify-start align-center" }, zh = { class: "label" }, _h = { class: "d-flex justify-star align-center" }, Ch = { class: "font-weight-600 mr-1" }, Mh = { class: "" }, Ph = { class: "d-flex flex-column justify-center align-start ga-2" }, Sh = {
9335
9345
  key: 0,
9336
9346
  class: "d-flex justify-start align-center"
9337
9347
  }, Th = { class: "text-label pr-1" }, Rh = {
@@ -9371,7 +9381,7 @@ function Kh(t, e, o, i, a, l) {
9371
9381
  "open-on-focus": !o.simple,
9372
9382
  "open-on-hover": !o.simple
9373
9383
  }, {
9374
- activator: x(({ props: b }) => [
9384
+ activator: v(({ props: b }) => [
9375
9385
  w(r, V(b, {
9376
9386
  "min-width": "32",
9377
9387
  width: "32",
@@ -9379,7 +9389,7 @@ function Kh(t, e, o, i, a, l) {
9379
9389
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
9380
9390
  onClick: l.handleMenuToggle
9381
9391
  }), {
9382
- default: x(() => e[2] || (e[2] = [
9392
+ default: v(() => e[2] || (e[2] = [
9383
9393
  n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
9384
9394
  ])),
9385
9395
  _: 2,
@@ -9399,14 +9409,14 @@ function Kh(t, e, o, i, a, l) {
9399
9409
  class: ue(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
9400
9410
  elevation: o.simple ? 0 : 16
9401
9411
  }, {
9402
- default: x(() => [
9412
+ default: v(() => [
9403
9413
  w(s, null, {
9404
- default: x(() => {
9405
- var b, u, h, f, L, v, C, z, P, _, D, T;
9414
+ default: v(() => {
9415
+ var b, u, h, f, L, x, C, z, P, _, D, T;
9406
9416
  return [
9407
9417
  n("div", yd, [
9408
9418
  n("span", bd, y(o.locale === "en" ? (b = a.activeTropicals) == null ? void 0 : b.Name : ((u = a.activeTropicals) == null ? void 0 : u.nameCn) || ((h = a.activeTropicals) == null ? void 0 : h.Name) || "-"), 1),
9409
- (L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.levelI18n ? (A(), R("span", wd, " , " + y(t.$t("tropical." + ((C = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : C.levelI18n))), 1)) : I("", !0)
9419
+ (L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.levelI18n ? (A(), R("span", wd, " , " + y(t.$t("tropical." + ((C = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : C.levelI18n))), 1)) : I("", !0)
9410
9420
  ]),
9411
9421
  w(r, {
9412
9422
  icon: "",
@@ -9415,14 +9425,14 @@ function Kh(t, e, o, i, a, l) {
9415
9425
  class: "close",
9416
9426
  onClick: _e(l.handleCloseInfoMarker, ["stop"])
9417
9427
  }, {
9418
- default: x(() => e[3] || (e[3] = [
9428
+ default: v(() => e[3] || (e[3] = [
9419
9429
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
9420
9430
  ])),
9421
9431
  _: 1,
9422
9432
  __: [3]
9423
9433
  }, 8, ["onClick"]),
9424
- n("div", xd, [
9425
- n("span", vd, y(t.$t("actions.lastUpdate")) + ": ", 1),
9434
+ n("div", vd, [
9435
+ n("span", xd, y(t.$t("actions.lastUpdate")) + ": ", 1),
9426
9436
  n("span", null, y(l.computeTime(((P = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : P.updated) || ((T = (D = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : D.filter((B) => !B.disabled)[0]) == null ? void 0 : T.date), o.timeZone)), 1)
9427
9437
  ])
9428
9438
  ];
@@ -9431,8 +9441,8 @@ function Kh(t, e, o, i, a, l) {
9431
9441
  }),
9432
9442
  w(d),
9433
9443
  w(s, { class: "text-body-1 py-3" }, {
9434
- default: x(() => {
9435
- var b, u, h, f, L, v, C, z, P;
9444
+ default: v(() => {
9445
+ var b, u, h, f, L, x, C, z, P;
9436
9446
  return [
9437
9447
  n("div", Ad, [
9438
9448
  n("div", kd, [
@@ -9442,7 +9452,7 @@ function Kh(t, e, o, i, a, l) {
9442
9452
  ]),
9443
9453
  n("div", zd, [
9444
9454
  n("label", _d, y(t.$t("weather.pressure")) + " : ", 1),
9445
- n("span", null, y(((v = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : v.pressure) || "-") + " hPa", 1)
9455
+ n("span", null, y(((x = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : x.pressure) || "-") + " hPa", 1)
9446
9456
  ])
9447
9457
  ]),
9448
9458
  n("div", Cd, [
@@ -9467,7 +9477,7 @@ function Kh(t, e, o, i, a, l) {
9467
9477
  class: ue(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
9468
9478
  onClick: _e((T) => l.handleForecastToggle(_), ["stop"])
9469
9479
  }, {
9470
- default: x(() => [
9480
+ default: v(() => [
9471
9481
  N(y(_.model), 1)
9472
9482
  ]),
9473
9483
  _: 2
@@ -9483,7 +9493,7 @@ function Kh(t, e, o, i, a, l) {
9483
9493
  key: 0,
9484
9494
  class: "d-flex justify-space-between"
9485
9495
  }, {
9486
- default: x(() => [
9496
+ default: v(() => [
9487
9497
  w(r, {
9488
9498
  density: "compact",
9489
9499
  "prepend-icon": "",
@@ -9492,10 +9502,10 @@ function Kh(t, e, o, i, a, l) {
9492
9502
  class: "text-none text-body-1",
9493
9503
  onClick: e[0] || (e[0] = _e((b) => a.showLegend = !a.showLegend, ["stop"]))
9494
9504
  }, {
9495
- prepend: x(() => e[4] || (e[4] = [
9505
+ prepend: v(() => e[4] || (e[4] = [
9496
9506
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9497
9507
  ])),
9498
- default: x(() => [
9508
+ default: v(() => [
9499
9509
  N(" " + y(t.$t("weather.legend")), 1)
9500
9510
  ]),
9501
9511
  _: 1
@@ -9508,7 +9518,7 @@ function Kh(t, e, o, i, a, l) {
9508
9518
  class: "text-none text-body-1",
9509
9519
  onClick: e[1] || (e[1] = _e((b) => l.handleStrikeProbability(a.activeTropicals), ["stop"]))
9510
9520
  }, {
9511
- default: x(() => [
9521
+ default: v(() => [
9512
9522
  N(y(t.$t("actions.viewReport")), 1)
9513
9523
  ]),
9514
9524
  _: 1
@@ -9567,9 +9577,9 @@ function Kh(t, e, o, i, a, l) {
9567
9577
  ])
9568
9578
  ])) : (A(), R("div", lh, [
9569
9579
  uo(w(p, { elevation: "16" }, {
9570
- default: x(() => [
9580
+ default: v(() => [
9571
9581
  w(s, null, {
9572
- default: x(() => [
9582
+ default: v(() => [
9573
9583
  uo(n("div", {
9574
9584
  class: ue(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
9575
9585
  }, [
@@ -9601,9 +9611,9 @@ function Kh(t, e, o, i, a, l) {
9601
9611
  e[21] || (e[21] = n("div", { class: "icon history" }, null, -1)),
9602
9612
  n("div", wh, y(t.$t("tropical.history")), 1)
9603
9613
  ]),
9604
- n("div", xh, [
9614
+ n("div", vh, [
9605
9615
  e[22] || (e[22] = n("div", { class: "icon forecast" }, null, -1)),
9606
- n("div", vh, y(t.$t("tropical.forecast")), 1)
9616
+ n("div", xh, y(t.$t("tropical.forecast")), 1)
9607
9617
  ]),
9608
9618
  n("div", Ah, [
9609
9619
  e[23] || (e[23] = n("div", { class: "icon r7" }, null, -1)),
@@ -9631,9 +9641,9 @@ function Kh(t, e, o, i, a, l) {
9631
9641
  elevation: "16",
9632
9642
  "max-width": "290"
9633
9643
  }, {
9634
- default: x(() => [
9644
+ default: v(() => [
9635
9645
  w(g, null, {
9636
- default: x(() => {
9646
+ default: v(() => {
9637
9647
  var b, u, h, f;
9638
9648
  return [
9639
9649
  n("div", _h, [
@@ -9646,8 +9656,8 @@ function Kh(t, e, o, i, a, l) {
9646
9656
  }),
9647
9657
  w(d),
9648
9658
  w(s, { class: "text-body-1" }, {
9649
- default: x(() => {
9650
- var b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be;
9659
+ default: v(() => {
9660
+ var b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
9651
9661
  return [
9652
9662
  n("div", Ph, [
9653
9663
  ((b = a.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (A(), R("div", Sh, [
@@ -9660,7 +9670,7 @@ function Kh(t, e, o, i, a, l) {
9660
9670
  ])) : I("", !0),
9661
9671
  ((L = a.hoverPoint) == null ? void 0 : L.type) === "history" ? (A(), R("div", Ih, [
9662
9672
  n("label", Eh, y(t.$t("tropical.forecast")) + " : ", 1),
9663
- n("span", null, y(l.computeTzTime((v = a.hoverPoint) == null ? void 0 : v.date, o.timeZone)), 1)
9673
+ n("span", null, y(l.computeTzTime((x = a.hoverPoint) == null ? void 0 : x.date, o.timeZone)), 1)
9664
9674
  ])) : I("", !0),
9665
9675
  ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (A(), R("div", Gh, [
9666
9676
  n("label", Fh, y(t.$t("tropical.model")) + " : ", 1),
@@ -9684,7 +9694,7 @@ function Kh(t, e, o, i, a, l) {
9684
9694
  ])) : I("", !0),
9685
9695
  ((re = a.hoverPoint) == null ? void 0 : re.type) === "history" ? (A(), R("div", Hh, [
9686
9696
  n("label", Yh, y(t.$t("tropical.moveDir")) + " : ", 1),
9687
- n("span", null, y(((be = JSON.parse(((xe = a.hoverPoint) == null ? void 0 : xe.movement) || "{}")) == null ? void 0 : be.deg) ?? "-") + " °", 1)
9697
+ n("span", null, y(((be = JSON.parse(((ve = a.hoverPoint) == null ? void 0 : ve.movement) || "{}")) == null ? void 0 : be.deg) ?? "-") + " °", 1)
9688
9698
  ])) : I("", !0),
9689
9699
  n("div", Uh, [
9690
9700
  n("label", Jh, y(t.$t("tropical.position")) + " : ", 1),
@@ -9907,9 +9917,9 @@ function ou(t, e, o, i, a, l) {
9907
9917
  class: "card-box d-flex flex-column border elevation-12",
9908
9918
  style: ge(l.getStyle)
9909
9919
  }, {
9910
- default: x(() => [
9920
+ default: v(() => [
9911
9921
  w(p, { class: "w-100 flex-1-1-0 d-flex pa-0 text-body-1" }, {
9912
- default: x(() => [
9922
+ default: v(() => [
9913
9923
  n("div", $h, [
9914
9924
  w(r, {
9915
9925
  modelValue: a.currentDate,
@@ -9930,7 +9940,7 @@ function ou(t, e, o, i, a, l) {
9930
9940
  n("div", eu, [
9931
9941
  n("div", tu, y(t.$t("time.time")), 1),
9932
9942
  w(m, { class: "pa-0 flex-1-1-0 scroll" }, {
9933
- default: x(() => [
9943
+ default: v(() => [
9934
9944
  (A(!0), R(Ce, null, Me(l.hourOptions, (h, f) => (A(), F(d, {
9935
9945
  key: f,
9936
9946
  value: h,
@@ -9942,12 +9952,12 @@ function ou(t, e, o, i, a, l) {
9942
9952
  class: "rounded-xl",
9943
9953
  variant: a.currentTime === h ? "flat" : "text"
9944
9954
  }, {
9945
- default: x(() => [
9955
+ default: v(() => [
9946
9956
  w(s, {
9947
9957
  class: "text-body-2 font-weight-600 text-center",
9948
9958
  onClick: (L) => a.currentTime = h
9949
9959
  }, {
9950
- default: x(() => [
9960
+ default: v(() => [
9951
9961
  N(y(h), 1)
9952
9962
  ]),
9953
9963
  _: 2
@@ -9967,14 +9977,14 @@ function ou(t, e, o, i, a, l) {
9967
9977
  class: "w-100 d-flex justify-end align-center px-4 ga-4",
9968
9978
  style: { height: "50px" }
9969
9979
  }, {
9970
- default: x(() => [
9980
+ default: v(() => [
9971
9981
  w(g, {
9972
9982
  size: "small",
9973
9983
  variant: "tonal",
9974
9984
  class: "text-none text-body-1 px-4",
9975
9985
  onClick: l.handleCancelDate
9976
9986
  }, {
9977
- default: x(() => [
9987
+ default: v(() => [
9978
9988
  N(y(t.$t("actions.cancel")), 1)
9979
9989
  ]),
9980
9990
  _: 1
@@ -9986,7 +9996,7 @@ function ou(t, e, o, i, a, l) {
9986
9996
  class: "text-none text-body-1 px-4",
9987
9997
  onClick: l.handleConfirmDate
9988
9998
  }, {
9989
- default: x(() => [
9999
+ default: v(() => [
9990
10000
  N(y(t.$t("actions.confirm")), 1)
9991
10001
  ]),
9992
10002
  _: 1
@@ -10264,10 +10274,10 @@ const au = {
10264
10274
  }), this.loading = !1;
10265
10275
  },
10266
10276
  initTableData(t) {
10267
- var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
10277
+ var o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze;
10268
10278
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (l = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset;
10269
10279
  const e = ((r = Zo.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : r[0]) || {};
10270
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((j = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Q = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (xe = e == null ? void 0 : e.wave) == null ? void 0 : xe.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
10280
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = e == null ? void 0 : e.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((x = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : x.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (D = e == null ? void 0 : e.wave) == null ? void 0 : D.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((j = (B = e == null ? void 0 : e.wave) == null ? void 0 : B.sig) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Q = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.windwaveDir = (re = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.wd) == null ? void 0 : re.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((be = (ve = e == null ? void 0 : e.wave) == null ? void 0 : ve.wd) == null ? void 0 : be.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision(($ = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.swell) == null ? void 0 : $.height, 1) ?? "-", this.currentHourData.swellDir = (se = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.swell) == null ? void 0 : se.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.swell) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (Z = e == null ? void 0 : e.current) == null ? void 0 : Z.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((U = e == null ? void 0 : e.current) == null ? void 0 : U.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url, this.currentHourData.sit = (Le = e == null ? void 0 : e.ice) == null ? void 0 : Le.sit, this.currentHourData.sic = this.computeRoundPrecision(((ze = e == null ? void 0 : e.ice) == null ? void 0 : ze.sic) * 100, 0) ?? "-", this.currentHourData.showIce = t.lat >= 65 || t.lat <= -65;
10271
10281
  },
10272
10282
  handleBind() {
10273
10283
  var t, e;
@@ -10297,14 +10307,14 @@ const au = {
10297
10307
  var o, i;
10298
10308
  (o = this.positionMarker) == null || o.remove();
10299
10309
  const e = (i = document.getElementById("idm-position-icon")) == null ? void 0 : i.cloneNode(!0);
10300
- this.positionMarker = new ve.Marker(e).setLngLat(t).setOffset([0, -15]).addTo(this.map);
10310
+ this.positionMarker = new xe.Marker(e).setLngLat(t).setOffset([0, -15]).addTo(this.map);
10301
10311
  }));
10302
10312
  },
10303
10313
  drawMeteoInfoMarker(t) {
10304
10314
  this.$nextTick(() => {
10305
10315
  var o;
10306
10316
  const e = document.getElementById("idm-gl4-spot-meteo");
10307
- this.meteoInfoMarker ? (o = this.meteoInfoMarker) == null || o.setLngLat(t) : this.meteoInfoMarker = new ve.Marker(e).setLngLat(t).setOffset([0, -190]).addTo(this.map);
10317
+ this.meteoInfoMarker ? (o = this.meteoInfoMarker) == null || o.setLngLat(t) : this.meteoInfoMarker = new xe.Marker(e).setLngLat(t).setOffset([0, -190]).addTo(this.map);
10308
10318
  });
10309
10319
  },
10310
10320
  handleMeteoMore() {
@@ -10330,7 +10340,7 @@ const au = {
10330
10340
  this.$emit("cancelFollow", t);
10331
10341
  }
10332
10342
  }
10333
- }, iu = { class: "idm-gl4-spot" }, lu = { class: "d-flex justify-start align-center" }, ru = { class: "text-h6 font-weight-600" }, nu = { class: "d-flex justify-start align-center ga-1 mb-2" }, su = { class: "text-label" }, cu = { class: "w-100 d-flex ma-0" }, mu = { class: "w-30 pa-0 d-flex" }, du = { class: "flex-1-1-0 pa-0 d-flex" }, hu = { class: "pa-0" }, uu = { class: "d-flex justify-start align-center ga-1 mb-2" }, pu = { class: "text-label" }, gu = { class: "w-100 d-flex ma-0" }, fu = { class: "w-30 pa-0 d-flex" }, yu = { class: "flex-1-1-0 pa-0 d-flex" }, bu = { class: "pa-0" }, wu = { class: "d-flex justify-start align-center ga-1 mb-2" }, xu = { class: "text-label" }, vu = { class: "d-flex justify-start align-center ga-1 mb-2" }, Au = { class: "text-label" }, ku = { class: "d-flex justify-start align-center" }, Lu = { class: "mx-2" }, zu = { class: "mx-0 py-2 d-flex align-center justify-start" }, _u = {
10343
+ }, iu = { class: "idm-gl4-spot" }, lu = { class: "d-flex justify-start align-center" }, ru = { class: "text-h6 font-weight-600" }, nu = { class: "d-flex justify-start align-center ga-1 mb-2" }, su = { class: "text-label" }, cu = { class: "w-100 d-flex ma-0" }, mu = { class: "w-30 pa-0 d-flex" }, du = { class: "flex-1-1-0 pa-0 d-flex" }, hu = { class: "pa-0" }, uu = { class: "d-flex justify-start align-center ga-1 mb-2" }, pu = { class: "text-label" }, gu = { class: "w-100 d-flex ma-0" }, fu = { class: "w-30 pa-0 d-flex" }, yu = { class: "flex-1-1-0 pa-0 d-flex" }, bu = { class: "pa-0" }, wu = { class: "d-flex justify-start align-center ga-1 mb-2" }, vu = { class: "text-label" }, xu = { class: "d-flex justify-start align-center ga-1 mb-2" }, Au = { class: "text-label" }, ku = { class: "d-flex justify-start align-center" }, Lu = { class: "mx-2" }, zu = { class: "mx-0 py-2 d-flex align-center justify-start" }, _u = {
10334
10344
  style: { width: "100px" },
10335
10345
  class: "pa-0 pr-2 text-right opacity-50"
10336
10346
  }, Cu = { class: "pa-0 px-0" }, Mu = { class: "mx-0 py-2 d-flex align-center justify-start" }, Pu = {
@@ -10388,9 +10398,9 @@ const au = {
10388
10398
  class: "multi-color-icon",
10389
10399
  style: { height: "30px", width: "30px" },
10390
10400
  "aria-hidden": "true"
10391
- }, xp = ["xlink:href"];
10392
- function vp(t, e, o, i, a, l) {
10393
- const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VDivider"), m = M("VTextField"), p = M("DateTimePicker"), g = M("VCol"), b = M("VRow"), u = M("VBtnToggle"), h = M("VCardText"), f = M("VCardActions"), L = M("VForm"), v = M("VCard");
10401
+ }, vp = ["xlink:href"];
10402
+ function xp(t, e, o, i, a, l) {
10403
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), d = M("VDivider"), m = M("VTextField"), p = M("DateTimePicker"), g = M("VCol"), b = M("VRow"), u = M("VBtnToggle"), h = M("VCardText"), f = M("VCardActions"), L = M("VForm"), x = M("VCard");
10394
10404
  return A(), R("div", iu, [
10395
10405
  n("div", {
10396
10406
  class: "menu-bar-box transition pa-1",
@@ -10404,7 +10414,7 @@ function vp(t, e, o, i, a, l) {
10404
10414
  "open-on-focus": !o.simple,
10405
10415
  "open-on-hover": !o.simple
10406
10416
  }, {
10407
- activator: x(({ props: C }) => [
10417
+ activator: v(({ props: C }) => [
10408
10418
  w(r, V(C, {
10409
10419
  "min-width": "32",
10410
10420
  width: "32",
@@ -10412,7 +10422,7 @@ function vp(t, e, o, i, a, l) {
10412
10422
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
10413
10423
  onClick: l.handleMenuToggle
10414
10424
  }), {
10415
- default: x(() => e[8] || (e[8] = [
10425
+ default: v(() => e[8] || (e[8] = [
10416
10426
  n("i", { class: "iconfont icon-a-Spotweather text-h4" }, null, -1)
10417
10427
  ])),
10418
10428
  _: 2,
@@ -10422,14 +10432,14 @@ function vp(t, e, o, i, a, l) {
10422
10432
  _: 1
10423
10433
  }, 8, ["text", "open-on-focus", "open-on-hover"])
10424
10434
  ], 4),
10425
- a.showForm && !o.simple ? (A(), F(v, {
10435
+ a.showForm && !o.simple ? (A(), F(x, {
10426
10436
  key: 0,
10427
10437
  class: "spot-form-card",
10428
10438
  style: ge({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
10429
10439
  }, {
10430
- default: x(() => [
10440
+ default: v(() => [
10431
10441
  w(s, { class: "d-flex justify-space-between align-center" }, {
10432
- default: x(() => [
10442
+ default: v(() => [
10433
10443
  n("div", lu, [
10434
10444
  n("div", ru, y(t.$t("spot.spotWeather")), 1)
10435
10445
  ]),
@@ -10440,7 +10450,7 @@ function vp(t, e, o, i, a, l) {
10440
10450
  class: "mr-n2",
10441
10451
  onClick: l.handleCloseForm
10442
10452
  }, {
10443
- default: x(() => e[9] || (e[9] = [
10453
+ default: v(() => e[9] || (e[9] = [
10444
10454
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
10445
10455
  ])),
10446
10456
  _: 1,
@@ -10456,9 +10466,9 @@ function vp(t, e, o, i, a, l) {
10456
10466
  class: "form-box",
10457
10467
  onSubmit: _e(l.submitForm, ["prevent"])
10458
10468
  }, {
10459
- default: x(() => [
10469
+ default: v(() => [
10460
10470
  w(h, { class: "text-body-1 pa-4 py-2" }, {
10461
- default: x(() => [
10471
+ default: v(() => [
10462
10472
  n("div", nu, [
10463
10473
  n("div", su, [
10464
10474
  N(y(t.$t("spot.lat")), 1),
@@ -10507,7 +10517,7 @@ function vp(t, e, o, i, a, l) {
10507
10517
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
10508
10518
  onClick: e[2] || (e[2] = (C) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
10509
10519
  }, {
10510
- default: x(() => [
10520
+ default: v(() => [
10511
10521
  N(y(a.form.latDirection), 1)
10512
10522
  ]),
10513
10523
  _: 1
@@ -10559,7 +10569,7 @@ function vp(t, e, o, i, a, l) {
10559
10569
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
10560
10570
  onClick: e[5] || (e[5] = (C) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
10561
10571
  }, {
10562
- default: x(() => [
10572
+ default: v(() => [
10563
10573
  N(y(a.form.lngDirection), 1)
10564
10574
  ]),
10565
10575
  _: 1
@@ -10567,18 +10577,18 @@ function vp(t, e, o, i, a, l) {
10567
10577
  ])
10568
10578
  ]),
10569
10579
  n("div", wu, [
10570
- n("div", xu, [
10580
+ n("div", vu, [
10571
10581
  N(y(t.$t("spot.dateTime")), 1),
10572
10582
  e[16] || (e[16] = n("span", { class: "text-danger" }, "*", -1))
10573
10583
  ])
10574
10584
  ]),
10575
10585
  w(b, { class: "ma-0 mb-4" }, {
10576
- default: x(() => [
10586
+ default: v(() => [
10577
10587
  w(g, {
10578
10588
  cols: "12",
10579
10589
  class: "pa-0"
10580
10590
  }, {
10581
- default: x(() => [
10591
+ default: v(() => [
10582
10592
  w(p, V({
10583
10593
  "date-time": a.form.dateTime,
10584
10594
  "time-zone": o.timeZone
@@ -10591,19 +10601,19 @@ function vp(t, e, o, i, a, l) {
10591
10601
  ]),
10592
10602
  _: 1
10593
10603
  }),
10594
- n("div", vu, [
10604
+ n("div", xu, [
10595
10605
  n("div", Au, [
10596
10606
  N(y(t.$t("weather.forecastModel")), 1),
10597
10607
  e[17] || (e[17] = n("span", { class: "text-danger" }, "*", -1))
10598
10608
  ])
10599
10609
  ]),
10600
10610
  w(b, { class: "ma-0" }, {
10601
- default: x(() => [
10611
+ default: v(() => [
10602
10612
  w(g, {
10603
10613
  cols: "12",
10604
10614
  class: "pa-0"
10605
10615
  }, {
10606
- default: x(() => [
10616
+ default: v(() => [
10607
10617
  w(u, {
10608
10618
  modelValue: a.form.forecastModel,
10609
10619
  "onUpdate:modelValue": e[7] || (e[7] = (C) => a.form.forecastModel = C),
@@ -10614,7 +10624,7 @@ function vp(t, e, o, i, a, l) {
10614
10624
  group: "",
10615
10625
  mandatory: ""
10616
10626
  }, {
10617
- default: x(() => [
10627
+ default: v(() => [
10618
10628
  w(r, {
10619
10629
  density: "compact",
10620
10630
  height: "30",
@@ -10623,7 +10633,7 @@ function vp(t, e, o, i, a, l) {
10623
10633
  color: a.form.forecastModel === "GFS" ? "primary" : "",
10624
10634
  "base-color": ""
10625
10635
  }, {
10626
- default: x(() => e[18] || (e[18] = [
10636
+ default: v(() => e[18] || (e[18] = [
10627
10637
  N(" NOAA ", -1)
10628
10638
  ])),
10629
10639
  _: 1,
@@ -10637,7 +10647,7 @@ function vp(t, e, o, i, a, l) {
10637
10647
  "base-color": "",
10638
10648
  value: "ECMWF"
10639
10649
  }, {
10640
- default: x(() => e[19] || (e[19] = [
10650
+ default: v(() => e[19] || (e[19] = [
10641
10651
  N(" ECMWF ", -1)
10642
10652
  ])),
10643
10653
  _: 1,
@@ -10657,14 +10667,14 @@ function vp(t, e, o, i, a, l) {
10657
10667
  }),
10658
10668
  w(d),
10659
10669
  w(f, { class: "d-flex justify-end align-center ga-4 pa-4 py-2" }, {
10660
- default: x(() => [
10670
+ default: v(() => [
10661
10671
  w(r, {
10662
10672
  size: "small",
10663
10673
  variant: "tonal",
10664
10674
  class: "text-none text-body-1 btn-bg-1",
10665
10675
  onClick: l.cancelForm
10666
10676
  }, {
10667
- default: x(() => [
10677
+ default: v(() => [
10668
10678
  N(y(t.$t("actions.clear")), 1)
10669
10679
  ]),
10670
10680
  _: 1
@@ -10678,7 +10688,7 @@ function vp(t, e, o, i, a, l) {
10678
10688
  type: "submit",
10679
10689
  class: "text-none text-body-1"
10680
10690
  }, {
10681
- default: x(() => [
10691
+ default: v(() => [
10682
10692
  N(y(t.$t("actions.confirm")), 1)
10683
10693
  ]),
10684
10694
  _: 1
@@ -10692,15 +10702,15 @@ function vp(t, e, o, i, a, l) {
10692
10702
  ]),
10693
10703
  _: 1
10694
10704
  }, 8, ["style"])) : I("", !0),
10695
- a.showMeteo && !o.simple ? (A(), F(v, {
10705
+ a.showMeteo && !o.simple ? (A(), F(x, {
10696
10706
  key: 1,
10697
10707
  id: "idm-gl4-spot-meteo",
10698
10708
  class: "spot-meteo",
10699
10709
  style: { width: "490px", "z-index": "9" }
10700
10710
  }, {
10701
- default: x(() => [
10711
+ default: v(() => [
10702
10712
  w(s, { class: "d-flex justify-space-between align-center" }, {
10703
- default: x(() => [
10713
+ default: v(() => [
10704
10714
  n("div", ku, [
10705
10715
  e[20] || (e[20] = n("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
10706
10716
  n("div", Lu, y(l.computePosition(a.form || a.currentHourData)), 1)
@@ -10712,7 +10722,7 @@ function vp(t, e, o, i, a, l) {
10712
10722
  variant: "plain",
10713
10723
  onClick: _e(l.handleCloseMeteo, ["stop"])
10714
10724
  }, {
10715
- default: x(() => e[21] || (e[21] = [
10725
+ default: v(() => e[21] || (e[21] = [
10716
10726
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
10717
10727
  ])),
10718
10728
  _: 1,
@@ -10723,7 +10733,7 @@ function vp(t, e, o, i, a, l) {
10723
10733
  }),
10724
10734
  w(d),
10725
10735
  w(h, { class: "text-body-1 px-0 py-1" }, {
10726
- default: x(() => {
10736
+ default: v(() => {
10727
10737
  var C, z;
10728
10738
  return [
10729
10739
  n("div", zu, [
@@ -10767,7 +10777,7 @@ function vp(t, e, o, i, a, l) {
10767
10777
  }),
10768
10778
  w(d),
10769
10779
  w(f, { class: "d-flex justify-space-between align-center" }, {
10770
- default: x(() => {
10780
+ default: v(() => {
10771
10781
  var C;
10772
10782
  return [
10773
10783
  (C = o.followList) != null && C.some((z) => {
@@ -10782,10 +10792,10 @@ function vp(t, e, o, i, a, l) {
10782
10792
  height: "32",
10783
10793
  onClick: _e(l.handleCancelFollow, ["stop"])
10784
10794
  }, {
10785
- prepend: x(() => e[23] || (e[23] = [
10795
+ prepend: v(() => e[23] || (e[23] = [
10786
10796
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
10787
10797
  ])),
10788
- default: x(() => [
10798
+ default: v(() => [
10789
10799
  N(" " + y(t.$t("actions.unfollow")), 1)
10790
10800
  ]),
10791
10801
  _: 1
@@ -10798,10 +10808,10 @@ function vp(t, e, o, i, a, l) {
10798
10808
  height: "32",
10799
10809
  onClick: _e(l.handleFollow, ["stop"])
10800
10810
  }, {
10801
- prepend: x(() => e[24] || (e[24] = [
10811
+ prepend: v(() => e[24] || (e[24] = [
10802
10812
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
10803
10813
  ])),
10804
- default: x(() => [
10814
+ default: v(() => [
10805
10815
  N(y(t.$t("actions.follow")) + " ", 1)
10806
10816
  ]),
10807
10817
  _: 1
@@ -10814,7 +10824,7 @@ function vp(t, e, o, i, a, l) {
10814
10824
  class: "text-none text-body-1",
10815
10825
  onClick: _e(l.handleMeteoMore, ["stop"])
10816
10826
  }, {
10817
- default: x(() => [
10827
+ default: v(() => [
10818
10828
  N(y(t.$t("spot.forecast")), 1)
10819
10829
  ]),
10820
10830
  _: 1
@@ -10826,15 +10836,15 @@ function vp(t, e, o, i, a, l) {
10826
10836
  ]),
10827
10837
  _: 1
10828
10838
  })) : I("", !0),
10829
- a.showMeteo && o.simple ? (A(), F(v, {
10839
+ a.showMeteo && o.simple ? (A(), F(x, {
10830
10840
  key: 2,
10831
10841
  ref: "spotMeteo",
10832
10842
  class: "position-absolute bottom-0 rounded-t-4",
10833
10843
  style: { width: "100vw", "z-index": "1001" }
10834
10844
  }, {
10835
- default: x(() => [
10845
+ default: v(() => [
10836
10846
  w(s, null, {
10837
- default: x(() => {
10847
+ default: v(() => {
10838
10848
  var C;
10839
10849
  return [
10840
10850
  n("div", Ku, [
@@ -10856,7 +10866,7 @@ function vp(t, e, o, i, a, l) {
10856
10866
  "min-width": "28",
10857
10867
  onClick: _e(l.handleCancelFollow, ["stop"])
10858
10868
  }, {
10859
- default: x(() => e[26] || (e[26] = [
10869
+ default: v(() => e[26] || (e[26] = [
10860
10870
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
10861
10871
  ])),
10862
10872
  _: 1,
@@ -10871,7 +10881,7 @@ function vp(t, e, o, i, a, l) {
10871
10881
  "min-width": "28",
10872
10882
  onClick: _e(l.handleFollow, ["stop"])
10873
10883
  }, {
10874
- default: x(() => e[27] || (e[27] = [
10884
+ default: v(() => e[27] || (e[27] = [
10875
10885
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
10876
10886
  ])),
10877
10887
  _: 1,
@@ -10884,7 +10894,7 @@ function vp(t, e, o, i, a, l) {
10884
10894
  variant: "plain",
10885
10895
  onClick: _e(l.handleCloseMeteo, ["stop"])
10886
10896
  }, {
10887
- default: x(() => e[28] || (e[28] = [
10897
+ default: v(() => e[28] || (e[28] = [
10888
10898
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
10889
10899
  ])),
10890
10900
  _: 1,
@@ -10900,7 +10910,7 @@ function vp(t, e, o, i, a, l) {
10900
10910
  }),
10901
10911
  w(d),
10902
10912
  w(h, { class: "text-body-1 px-0 py-2" }, {
10903
- default: x(() => {
10913
+ default: v(() => {
10904
10914
  var C, z;
10905
10915
  return [
10906
10916
  n("div", ep, [
@@ -10963,14 +10973,14 @@ function vp(t, e, o, i, a, l) {
10963
10973
  (A(), R("svg", wp, [
10964
10974
  n("use", {
10965
10975
  "xlink:href": `#icon-spot-${o.theme}`
10966
- }, null, 8, xp)
10976
+ }, null, 8, vp)
10967
10977
  ]))
10968
10978
  ], 512), [
10969
10979
  [po, a.showMeteo]
10970
10980
  ])
10971
10981
  ]);
10972
10982
  }
10973
- const Ap = /* @__PURE__ */ ne(au, [["render", vp]]);
10983
+ const Ap = /* @__PURE__ */ ne(au, [["render", xp]]);
10974
10984
  const kp = {
10975
10985
  name: "IdmMeasure",
10976
10986
  props: {
@@ -11114,7 +11124,7 @@ const kp = {
11114
11124
  const c = this.geojson.filter((s) => s.id === e.split("-")[0])[0].features.filter((s) => s.geometry.type === "Point");
11115
11125
  if (c.length > 2 && c.filter((d) => d.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
11116
11126
  const d = document.createElement("div");
11117
- d.className = "idm-gl4-measure-contextmenu-marker", d.innerHTML = `<span id="del-${e}" class="del-point">${this.$t("actions.detele")}</span>`, this.contextmenu = new ve.Marker(d).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
11127
+ d.className = "idm-gl4-measure-contextmenu-marker", d.innerHTML = `<span id="del-${e}" class="del-point">${this.$t("actions.detele")}</span>`, this.contextmenu = new xe.Marker(d).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
11118
11128
  }
11119
11129
  }
11120
11130
  },
@@ -11236,7 +11246,7 @@ const kp = {
11236
11246
  this.tipMarker._element.innerHTML = c, this.tipMarker.setLngLat([o.lng, o.lat]);
11237
11247
  else {
11238
11248
  const s = document.createElement("div");
11239
- s.className = "idm-gl4-measure-tip-marker", s.innerHTML = c, this.tipMarker = new ve.Marker(s).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
11249
+ s.className = "idm-gl4-measure-tip-marker", s.innerHTML = c, this.tipMarker = new xe.Marker(s).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
11240
11250
  }
11241
11251
  },
11242
11252
  handleMove(t) {
@@ -11312,12 +11322,12 @@ const kp = {
11312
11322
  for (const c of r) {
11313
11323
  const s = document.createElement("div");
11314
11324
  s.id = `${t.id}-${c.properties.id}`, s.className = `${t.closed ? "idm-gl4-measure-marker closed" : "idm-gl4-measure-marker"}`, s.innerHTML = '<div class="marker-circle"></div>';
11315
- const d = new ve.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(c.geometry.coordinates).addTo(this.map);
11325
+ const d = new xe.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(c.geometry.coordinates).addTo(this.map);
11316
11326
  d.on("drag", this.handleDrag), d.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(d) : this.pointMarkers[t.id] = [d];
11317
11327
  }
11318
11328
  if (t.closed) {
11319
11329
  const c = r.at(-1), d = t.features.filter((p) => p.geometry.type === "LineString").at(-1), m = document.createElement("div");
11320
- m.className = "idm-gl4-measure-summary-marker", m.innerHTML = `<div class="marker-label">${d.properties.name}</div><div id="${t.id}" class="marker-close">X</div>`, this.closeMarkers[t.id] = new ve.Marker(m).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
11330
+ m.className = "idm-gl4-measure-summary-marker", m.innerHTML = `<div class="marker-label">${d.properties.name}</div><div id="${t.id}" class="marker-close">X</div>`, this.closeMarkers[t.id] = new xe.Marker(m).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
11321
11331
  }
11322
11332
  }
11323
11333
  },
@@ -11345,7 +11355,7 @@ function zp(t, e, o, i, a, l) {
11345
11355
  "open-on-focus": !o.simple,
11346
11356
  "open-on-hover": !o.simple
11347
11357
  }, {
11348
- activator: x(({ props: s }) => [
11358
+ activator: v(({ props: s }) => [
11349
11359
  w(r, V(s, {
11350
11360
  "min-width": "32",
11351
11361
  width: "32",
@@ -11353,7 +11363,7 @@ function zp(t, e, o, i, a, l) {
11353
11363
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
11354
11364
  onClick: l.handleMenuToggle
11355
11365
  }), {
11356
- default: x(() => e[0] || (e[0] = [
11366
+ default: v(() => e[0] || (e[0] = [
11357
11367
  n("i", { class: "iconfont icon-a-Measuredistance text-h4" }, null, -1)
11358
11368
  ])),
11359
11369
  _: 2,
@@ -11544,7 +11554,7 @@ const Cp = {
11544
11554
  const t = document.createElement("div");
11545
11555
  t.className = "idm-gl4-point-center-ring";
11546
11556
  const e = this.pointMarker.getLngLat();
11547
- this.pointHighlightMarker = new ve.Marker({ element: t, anchor: "center", offset: [0, 0] }).setLngLat(e).addTo(this.map), this.pointMarker.on("drag", () => {
11557
+ this.pointHighlightMarker = new xe.Marker({ element: t, anchor: "center", offset: [0, 0] }).setLngLat(e).addTo(this.map), this.pointMarker.on("drag", () => {
11548
11558
  var i;
11549
11559
  (i = this.pointHighlightMarker) == null || i.setLngLat(this.pointMarker.getLngLat());
11550
11560
  });
@@ -11577,7 +11587,7 @@ const Cp = {
11577
11587
  this.clearEditMarkers(), this.drawCoords.forEach((e, o) => {
11578
11588
  const i = document.createElement("div");
11579
11589
  i.className = "idm-gl4-edit-vertex", i.style.backgroundColor = this.form.color;
11580
- const a = new ve.Marker({ element: i, draggable: !0 }).setLngLat(e).addTo(this.map);
11590
+ const a = new xe.Marker({ element: i, draggable: !0 }).setLngLat(e).addTo(this.map);
11581
11591
  a.on("dragstart", () => {
11582
11592
  this.map.getCanvas().style.cursor = "pointer";
11583
11593
  const { lng: l, lat: r } = a.getLngLat();
@@ -11668,7 +11678,7 @@ const Cp = {
11668
11678
  this.drawCoords = e.map((i) => [...i]), this.drawCoords.forEach((i, a) => {
11669
11679
  const l = document.createElement("div");
11670
11680
  l.className = "idm-gl4-edit-vertex", l.style.backgroundColor = this.form.color;
11671
- const r = new ve.Marker({ element: l, draggable: !0 }).setLngLat(i).addTo(this.map);
11681
+ const r = new xe.Marker({ element: l, draggable: !0 }).setLngLat(i).addTo(this.map);
11672
11682
  r.on("dragstart", () => {
11673
11683
  this.map.getCanvas().style.cursor = "pointer";
11674
11684
  const { lng: c, lat: s } = r.getLngLat();
@@ -11729,7 +11739,7 @@ const Cp = {
11729
11739
  if ((a = this.pointMarker) == null || a.remove(), !t || !t.length)
11730
11740
  return;
11731
11741
  const [o, i] = t[0];
11732
- this.pointMarker = new ve.Marker({ color: e }).setLngLat([o, i]).addTo(this.map);
11742
+ this.pointMarker = new xe.Marker({ color: e }).setLngLat([o, i]).addTo(this.map);
11733
11743
  },
11734
11744
  // -------- Line drawing --------
11735
11745
  handleMapClickLine(t) {
@@ -11804,7 +11814,7 @@ const Cp = {
11804
11814
  this.tipMarker._element.innerHTML = d, this.tipMarker.setLngLat([e[0], e[1]]);
11805
11815
  else {
11806
11816
  const m = document.createElement("div");
11807
- m.className = "idm-gl4-draw-tip-marker", m.innerHTML = d, this.tipMarker = new ve.Marker(m).setOffset([140, 0]).setLngLat([e[0], e[1]]).addTo(this.map);
11817
+ m.className = "idm-gl4-draw-tip-marker", m.innerHTML = d, this.tipMarker = new xe.Marker(m).setOffset([140, 0]).setLngLat([e[0], e[1]]).addTo(this.map);
11808
11818
  }
11809
11819
  },
11810
11820
  handleRefreshLine() {
@@ -11873,7 +11883,7 @@ const Cp = {
11873
11883
  this.handleClearVertexLabels();
11874
11884
  const o = H.lat2pretty(t[1], 4).pretty, i = H.lng2pretty(t[0], 4).pretty, a = document.createElement("div");
11875
11885
  a.className = "idm-gl4-draw-corner-label center", a.innerHTML = `<span class="corner-text">${o} <br/> ${i}</span>`;
11876
- const l = new ve.Marker(a, { anchor: "bottom", offset: [0, e] }).setLngLat(t).addTo(this.map);
11886
+ const l = new xe.Marker(a, { anchor: "bottom", offset: [0, e] }).setLngLat(t).addTo(this.map);
11877
11887
  this.polygonVertexMarkers.push(l);
11878
11888
  },
11879
11889
  handleRenderAllVertexLabels(t) {
@@ -11885,7 +11895,7 @@ const Cp = {
11885
11895
  a >= 0 && i >= 0 ? l = "bottom-left" : a >= 0 && i < 0 ? l = "bottom-right" : a < 0 && i >= 0 ? l = "top-left" : l = "top-right";
11886
11896
  const r = H.lat2pretty(o[1], 4).pretty, c = H.lng2pretty(o[0], 4).pretty, s = document.createElement("div");
11887
11897
  s.className = "idm-gl4-draw-corner-label " + l, s.innerHTML = `<span class="corner-text">${r} <br/> ${c}</span>`;
11888
- const d = new ve.Marker(s, { anchor: l }).setLngLat(o).addTo(this.map);
11898
+ const d = new xe.Marker(s, { anchor: l }).setLngLat(o).addTo(this.map);
11889
11899
  this.polygonVertexMarkers.push(d);
11890
11900
  });
11891
11901
  },
@@ -11932,7 +11942,7 @@ const Cp = {
11932
11942
  handleRenderCircleCenterLabel(t) {
11933
11943
  const e = H.lat2pretty(t[1], 4).pretty, o = H.lng2pretty(t[0], 4).pretty, i = document.createElement("div");
11934
11944
  i.className = "idm-gl4-draw-corner-label bottom-right", i.innerHTML = `<span class="corner-text">${e} <br/> ${o}</span>`;
11935
- const a = new ve.Marker(i, { anchor: "bottom-right" }).setLngLat(t).addTo(this.map);
11945
+ const a = new xe.Marker(i, { anchor: "bottom-right" }).setLngLat(t).addTo(this.map);
11936
11946
  this.circleMarkers.push(a);
11937
11947
  },
11938
11948
  handleRenderRadiusLine(t, e, o) {
@@ -11955,7 +11965,7 @@ const Cp = {
11955
11965
  this.circleMarkers.length > 1 && (this.circleMarkers[1].remove(), this.circleMarkers.splice(1, 1));
11956
11966
  const h = document.createElement("div"), f = document.createElement("span");
11957
11967
  f.className = "idm-gl4-draw-radius-label", f.style.transform = `rotate(${m}deg)`, f.style.transformOrigin = "center", f.style.display = "inline-block", f.textContent = `${i} nm`, h.appendChild(f);
11958
- const L = new ve.Marker(h, { anchor: "center", offset: [b, u] }).setLngLat(l).addTo(this.map);
11968
+ const L = new xe.Marker(h, { anchor: "center", offset: [b, u] }).setLngLat(l).addTo(this.map);
11959
11969
  this.circleMarkers.push(L);
11960
11970
  },
11961
11971
  handleClearCircleLabels() {
@@ -12034,7 +12044,7 @@ const Cp = {
12034
12044
  this.handleClearRectCorners(), r.forEach(({ coord: c, anchor: s }) => {
12035
12045
  const d = H.lat2pretty(c[1], 4).pretty, m = H.lng2pretty(c[0], 4).pretty, p = document.createElement("div");
12036
12046
  p.className = "idm-gl4-draw-corner-label " + s, p.innerHTML = `<span class="corner-text">${d} <br/> ${m}</span>`;
12037
- const g = new ve.Marker(p, { anchor: s }).setLngLat(c).addTo(this.map);
12047
+ const g = new xe.Marker(p, { anchor: s }).setLngLat(c).addTo(this.map);
12038
12048
  this.rectCornerMarkers.push(g);
12039
12049
  });
12040
12050
  },
@@ -12177,14 +12187,14 @@ function tg(t, e, o, i, a, l) {
12177
12187
  class: "idm-gl4-draw-dialog-card",
12178
12188
  elevation: "4"
12179
12189
  }, {
12180
- default: x(() => {
12190
+ default: v(() => {
12181
12191
  var L;
12182
12192
  return [
12183
12193
  w(c, { class: "d-flex justify-space-between align-center" }, {
12184
- default: x(() => {
12185
- var v;
12194
+ default: v(() => {
12195
+ var x;
12186
12196
  return [
12187
- n("span", Mp, y((v = o.editLayer) != null && v.id ? t.$t("actions.edit") : t.$t("actions.addMarker")), 1),
12197
+ n("span", Mp, y((x = o.editLayer) != null && x.id ? t.$t("actions.edit") : t.$t("actions.addMarker")), 1),
12188
12198
  w(r, {
12189
12199
  icon: "",
12190
12200
  density: "compact",
@@ -12192,7 +12202,7 @@ function tg(t, e, o, i, a, l) {
12192
12202
  class: "mr-n2",
12193
12203
  onClick: l.handleClose
12194
12204
  }, {
12195
- default: x(() => e[21] || (e[21] = [
12205
+ default: v(() => e[21] || (e[21] = [
12196
12206
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
12197
12207
  ])),
12198
12208
  _: 1,
@@ -12204,12 +12214,12 @@ function tg(t, e, o, i, a, l) {
12204
12214
  }),
12205
12215
  w(s),
12206
12216
  w(m, { class: "text-body-1 px-4 pb-0" }, {
12207
- default: x(() => {
12208
- var v;
12217
+ default: v(() => {
12218
+ var x;
12209
12219
  return [
12210
12220
  n("div", Pp, y(t.$t("marker.group")), 1),
12211
12221
  w(d, {
12212
- "model-value": (v = o.group) == null ? void 0 : v.name,
12222
+ "model-value": (x = o.group) == null ? void 0 : x.name,
12213
12223
  density: "compact",
12214
12224
  variant: "outlined",
12215
12225
  "hide-details": "",
@@ -12224,8 +12234,8 @@ function tg(t, e, o, i, a, l) {
12224
12234
  key: 0,
12225
12235
  class: "text-body-1 px-4 pb-0"
12226
12236
  }, {
12227
- default: x(() => {
12228
- var v;
12237
+ default: v(() => {
12238
+ var x;
12229
12239
  return [
12230
12240
  n("div", Sp, [
12231
12241
  N(y(t.$t("marker.markerType")), 1),
@@ -12239,9 +12249,9 @@ function tg(t, e, o, i, a, l) {
12239
12249
  density: "compact",
12240
12250
  variant: "flat",
12241
12251
  class: "w-100",
12242
- disabled: !!((v = o.editLayer) != null && v.id)
12252
+ disabled: !!((x = o.editLayer) != null && x.id)
12243
12253
  }, {
12244
- default: x(() => [
12254
+ default: v(() => [
12245
12255
  w(r, {
12246
12256
  value: "Point",
12247
12257
  class: ue(["flex-1-1-0 text-none text-body-1", a.markerType === "Point" ? "" : "btn-border-1 btn-bg-1"]),
@@ -12250,7 +12260,7 @@ function tg(t, e, o, i, a, l) {
12250
12260
  height: "32px",
12251
12261
  "min-height": "32px"
12252
12262
  }, {
12253
- default: x(() => [
12263
+ default: v(() => [
12254
12264
  N(y(t.$t("marker.point")), 1)
12255
12265
  ]),
12256
12266
  _: 1
@@ -12263,7 +12273,7 @@ function tg(t, e, o, i, a, l) {
12263
12273
  height: "32px",
12264
12274
  "min-height": "32px"
12265
12275
  }, {
12266
- default: x(() => [
12276
+ default: v(() => [
12267
12277
  N(y(t.$t("marker.line")), 1)
12268
12278
  ]),
12269
12279
  _: 1
@@ -12275,7 +12285,7 @@ function tg(t, e, o, i, a, l) {
12275
12285
  height: "32px",
12276
12286
  "min-height": "32px"
12277
12287
  }, {
12278
- default: x(() => [
12288
+ default: v(() => [
12279
12289
  N(y(t.$t("marker.area")), 1)
12280
12290
  ]),
12281
12291
  _: 1
@@ -12294,26 +12304,26 @@ function tg(t, e, o, i, a, l) {
12294
12304
  class: "form-box",
12295
12305
  onSubmit: _e(l.handleSave, ["prevent"])
12296
12306
  }, {
12297
- default: x(() => [
12307
+ default: v(() => [
12298
12308
  w(m, { class: "px-4 text-body-1" }, {
12299
- default: x(() => [
12309
+ default: v(() => [
12300
12310
  n("div", Tp, [
12301
12311
  n("div", Rp, [
12302
12312
  N(y(t.$t("marker.lat")), 1),
12303
12313
  e[23] || (e[23] = n("span", { class: "text-danger" }, "*", -1))
12304
12314
  ]),
12305
12315
  w(b, { class: "ma-0" }, {
12306
- default: x(() => [
12316
+ default: v(() => [
12307
12317
  w(g, {
12308
12318
  cols: "4",
12309
12319
  class: "pa-0 d-flex"
12310
12320
  }, {
12311
- default: x(() => [
12321
+ default: v(() => [
12312
12322
  w(d, {
12313
12323
  modelValue: a.form.latDegree,
12314
12324
  "onUpdate:modelValue": [
12315
- e[1] || (e[1] = (v) => a.form.latDegree = v),
12316
- e[2] || (e[2] = (v) => l.handleChangePoint())
12325
+ e[1] || (e[1] = (x) => a.form.latDegree = x),
12326
+ e[2] || (e[2] = (x) => l.handleChangePoint())
12317
12327
  ],
12318
12328
  rules: a.formRules.latDegree,
12319
12329
  label: "",
@@ -12335,12 +12345,12 @@ function tg(t, e, o, i, a, l) {
12335
12345
  cols: "6",
12336
12346
  class: "pa-0 d-flex"
12337
12347
  }, {
12338
- default: x(() => [
12348
+ default: v(() => [
12339
12349
  w(d, {
12340
12350
  modelValue: a.form.latMinute,
12341
12351
  "onUpdate:modelValue": [
12342
- e[3] || (e[3] = (v) => a.form.latMinute = v),
12343
- e[4] || (e[4] = (v) => l.handleChangePoint())
12352
+ e[3] || (e[3] = (x) => a.form.latMinute = x),
12353
+ e[4] || (e[4] = (x) => l.handleChangePoint())
12344
12354
  ],
12345
12355
  rules: a.formRules.latMinute,
12346
12356
  label: "",
@@ -12362,7 +12372,7 @@ function tg(t, e, o, i, a, l) {
12362
12372
  cols: "2",
12363
12373
  class: "pa-0"
12364
12374
  }, {
12365
- default: x(() => [
12375
+ default: v(() => [
12366
12376
  w(r, {
12367
12377
  variant: "outlined",
12368
12378
  density: "compact",
@@ -12371,11 +12381,11 @@ function tg(t, e, o, i, a, l) {
12371
12381
  height: "32",
12372
12382
  class: "text-body-1 bg-primary",
12373
12383
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12374
- onClick: e[5] || (e[5] = (v) => {
12384
+ onClick: e[5] || (e[5] = (x) => {
12375
12385
  a.form.latDir = a.form.latDir === "N" ? "S" : "N", l.handleChangePoint();
12376
12386
  })
12377
12387
  }, {
12378
- default: x(() => [
12388
+ default: v(() => [
12379
12389
  N(y(a.form.latDir), 1)
12380
12390
  ]),
12381
12391
  _: 1
@@ -12393,17 +12403,17 @@ function tg(t, e, o, i, a, l) {
12393
12403
  e[26] || (e[26] = n("span", { class: "text-danger" }, "*", -1))
12394
12404
  ]),
12395
12405
  w(b, { class: "ma-0" }, {
12396
- default: x(() => [
12406
+ default: v(() => [
12397
12407
  w(g, {
12398
12408
  cols: "4",
12399
12409
  class: "pa-0 d-flex"
12400
12410
  }, {
12401
- default: x(() => [
12411
+ default: v(() => [
12402
12412
  w(d, {
12403
12413
  modelValue: a.form.lngDegree,
12404
12414
  "onUpdate:modelValue": [
12405
- e[6] || (e[6] = (v) => a.form.lngDegree = v),
12406
- e[7] || (e[7] = (v) => l.handleChangePoint())
12415
+ e[6] || (e[6] = (x) => a.form.lngDegree = x),
12416
+ e[7] || (e[7] = (x) => l.handleChangePoint())
12407
12417
  ],
12408
12418
  rules: a.formRules.lngDegree,
12409
12419
  density: "compact",
@@ -12420,12 +12430,12 @@ function tg(t, e, o, i, a, l) {
12420
12430
  cols: "6",
12421
12431
  class: "pa-0 d-flex"
12422
12432
  }, {
12423
- default: x(() => [
12433
+ default: v(() => [
12424
12434
  w(d, {
12425
12435
  modelValue: a.form.lngMinute,
12426
12436
  "onUpdate:modelValue": [
12427
- e[8] || (e[8] = (v) => a.form.lngMinute = v),
12428
- e[9] || (e[9] = (v) => l.handleChangePoint())
12437
+ e[8] || (e[8] = (x) => a.form.lngMinute = x),
12438
+ e[9] || (e[9] = (x) => l.handleChangePoint())
12429
12439
  ],
12430
12440
  rules: a.formRules.lngMinute,
12431
12441
  density: "compact",
@@ -12442,7 +12452,7 @@ function tg(t, e, o, i, a, l) {
12442
12452
  cols: "2",
12443
12453
  class: "pa-0"
12444
12454
  }, {
12445
- default: x(() => [
12455
+ default: v(() => [
12446
12456
  w(r, {
12447
12457
  variant: "outlined",
12448
12458
  density: "compact",
@@ -12451,11 +12461,11 @@ function tg(t, e, o, i, a, l) {
12451
12461
  height: "32",
12452
12462
  class: "text-body-1 bg-primary",
12453
12463
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12454
- onClick: e[10] || (e[10] = (v) => {
12464
+ onClick: e[10] || (e[10] = (x) => {
12455
12465
  a.form.lngDir = a.form.lngDir === "E" ? "W" : "E", l.handleChangePoint();
12456
12466
  })
12457
12467
  }, {
12458
- default: x(() => [
12468
+ default: v(() => [
12459
12469
  N(y(a.form.lngDir), 1)
12460
12470
  ]),
12461
12471
  _: 1
@@ -12477,11 +12487,11 @@ function tg(t, e, o, i, a, l) {
12477
12487
  type: "color",
12478
12488
  value: a.form.color,
12479
12489
  class: "native-color-picker cursor-pointer",
12480
- onInput: e[11] || (e[11] = (v) => a.form.color = v.target.value)
12490
+ onInput: e[11] || (e[11] = (x) => a.form.color = x.target.value)
12481
12491
  }, null, 40, Bp),
12482
12492
  w(d, {
12483
12493
  modelValue: a.form.color,
12484
- "onUpdate:modelValue": e[12] || (e[12] = (v) => a.form.color = v),
12494
+ "onUpdate:modelValue": e[12] || (e[12] = (x) => a.form.color = x),
12485
12495
  rules: a.formRules.color,
12486
12496
  density: "compact",
12487
12497
  variant: "outlined",
@@ -12496,7 +12506,7 @@ function tg(t, e, o, i, a, l) {
12496
12506
  ]),
12497
12507
  w(d, {
12498
12508
  modelValue: a.form.name,
12499
- "onUpdate:modelValue": e[13] || (e[13] = (v) => a.form.name = v),
12509
+ "onUpdate:modelValue": e[13] || (e[13] = (x) => a.form.name = x),
12500
12510
  density: "compact",
12501
12511
  variant: "outlined",
12502
12512
  rules: a.formRules.name,
@@ -12509,14 +12519,14 @@ function tg(t, e, o, i, a, l) {
12509
12519
  }),
12510
12520
  w(s),
12511
12521
  w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12512
- default: x(() => [
12522
+ default: v(() => [
12513
12523
  w(r, {
12514
12524
  class: "text-none text-body-1",
12515
12525
  variant: "tonal",
12516
12526
  density: "comfortable",
12517
12527
  onClick: l.handleClearDraw
12518
12528
  }, {
12519
- default: x(() => [
12529
+ default: v(() => [
12520
12530
  N(y(t.$t("actions.clear")), 1)
12521
12531
  ]),
12522
12532
  _: 1
@@ -12529,7 +12539,7 @@ function tg(t, e, o, i, a, l) {
12529
12539
  type: "submit",
12530
12540
  loading: a.saving
12531
12541
  }, {
12532
- default: x(() => [
12542
+ default: v(() => [
12533
12543
  N(y(t.$t("actions.save")), 1)
12534
12544
  ]),
12535
12545
  _: 1
@@ -12547,9 +12557,9 @@ function tg(t, e, o, i, a, l) {
12547
12557
  class: "form-box",
12548
12558
  onSubmit: _e(l.handleSave, ["prevent"])
12549
12559
  }, {
12550
- default: x(() => [
12560
+ default: v(() => [
12551
12561
  w(m, { class: "px-4 text-body-1" }, {
12552
- default: x(() => [
12562
+ default: v(() => [
12553
12563
  n("div", Zp, [
12554
12564
  n("div", Wp, [
12555
12565
  N(y(t.$t("marker.color")), 1),
@@ -12560,11 +12570,11 @@ function tg(t, e, o, i, a, l) {
12560
12570
  type: "color",
12561
12571
  value: a.form.color,
12562
12572
  class: "native-color-picker cursor-pointer",
12563
- onInput: e[14] || (e[14] = (v) => a.form.color = v.target.value)
12573
+ onInput: e[14] || (e[14] = (x) => a.form.color = x.target.value)
12564
12574
  }, null, 40, Xp),
12565
12575
  w(d, {
12566
12576
  modelValue: a.form.color,
12567
- "onUpdate:modelValue": e[15] || (e[15] = (v) => a.form.color = v),
12577
+ "onUpdate:modelValue": e[15] || (e[15] = (x) => a.form.color = x),
12568
12578
  rules: a.formRules.color,
12569
12579
  density: "compact",
12570
12580
  variant: "outlined",
@@ -12579,7 +12589,7 @@ function tg(t, e, o, i, a, l) {
12579
12589
  ]),
12580
12590
  w(d, {
12581
12591
  modelValue: a.form.name,
12582
- "onUpdate:modelValue": e[16] || (e[16] = (v) => a.form.name = v),
12592
+ "onUpdate:modelValue": e[16] || (e[16] = (x) => a.form.name = x),
12583
12593
  density: "compact",
12584
12594
  variant: "outlined",
12585
12595
  rules: a.formRules.name,
@@ -12592,14 +12602,14 @@ function tg(t, e, o, i, a, l) {
12592
12602
  }),
12593
12603
  w(s),
12594
12604
  w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12595
- default: x(() => [
12605
+ default: v(() => [
12596
12606
  w(r, {
12597
12607
  class: "text-none text-body-1",
12598
12608
  variant: "tonal",
12599
12609
  density: "comfortable",
12600
12610
  onClick: l.handleClearDraw
12601
12611
  }, {
12602
- default: x(() => [
12612
+ default: v(() => [
12603
12613
  N(y(t.$t("actions.clear")), 1)
12604
12614
  ]),
12605
12615
  _: 1
@@ -12612,7 +12622,7 @@ function tg(t, e, o, i, a, l) {
12612
12622
  type: "submit",
12613
12623
  loading: a.saving
12614
12624
  }, {
12615
- default: x(() => [
12625
+ default: v(() => [
12616
12626
  N(y(t.$t("actions.save")), 1)
12617
12627
  ]),
12618
12628
  _: 1
@@ -12630,12 +12640,12 @@ function tg(t, e, o, i, a, l) {
12630
12640
  class: "form-box",
12631
12641
  onSubmit: _e(l.handleSave, ["prevent"])
12632
12642
  }, {
12633
- default: x(() => [
12643
+ default: v(() => [
12634
12644
  w(m, { class: "px-4 text-body-1" }, {
12635
- default: x(() => {
12636
- var v, C;
12645
+ default: v(() => {
12646
+ var x, C;
12637
12647
  return [
12638
- (v = o.editLayer) != null && v.id ? I("", !0) : (A(), R("div", Yp, [
12648
+ (x = o.editLayer) != null && x.id ? I("", !0) : (A(), R("div", Yp, [
12639
12649
  n("div", Up, [
12640
12650
  N(y(t.$t("marker.areaType")), 1),
12641
12651
  e[33] || (e[33] = n("span", { class: "text-danger" }, "*", -1))
@@ -12651,7 +12661,7 @@ function tg(t, e, o, i, a, l) {
12651
12661
  class: "w-100",
12652
12662
  disabled: !!((C = o.editLayer) != null && C.id)
12653
12663
  }, {
12654
- default: x(() => [
12664
+ default: v(() => [
12655
12665
  w(r, {
12656
12666
  value: "Polygon",
12657
12667
  class: ue(["flex-1-1-0 text-none text-body-1", a.form.areaType === "Polygon" ? "" : "btn-border-1 btn-bg-1"]),
@@ -12660,7 +12670,7 @@ function tg(t, e, o, i, a, l) {
12660
12670
  height: "32px",
12661
12671
  "min-height": "32px"
12662
12672
  }, {
12663
- default: x(() => [
12673
+ default: v(() => [
12664
12674
  N(y(t.$t("marker.polygon")), 1)
12665
12675
  ]),
12666
12676
  _: 1
@@ -12674,7 +12684,7 @@ function tg(t, e, o, i, a, l) {
12674
12684
  height: "32px",
12675
12685
  "min-height": "32px"
12676
12686
  }, {
12677
- default: x(() => [
12687
+ default: v(() => [
12678
12688
  N(y(t.$t("marker.circle")), 1)
12679
12689
  ]),
12680
12690
  _: 1
@@ -12687,7 +12697,7 @@ function tg(t, e, o, i, a, l) {
12687
12697
  height: "32px",
12688
12698
  "min-height": "32px"
12689
12699
  }, {
12690
- default: x(() => [
12700
+ default: v(() => [
12691
12701
  N(y(t.$t("marker.rect")), 1)
12692
12702
  ]),
12693
12703
  _: 1
@@ -12739,17 +12749,17 @@ function tg(t, e, o, i, a, l) {
12739
12749
  }),
12740
12750
  w(s),
12741
12751
  w(u, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12742
- default: x(() => {
12743
- var v;
12752
+ default: v(() => {
12753
+ var x;
12744
12754
  return [
12745
- (v = o.editLayer) != null && v.id ? I("", !0) : (A(), F(r, {
12755
+ (x = o.editLayer) != null && x.id ? I("", !0) : (A(), F(r, {
12746
12756
  key: 0,
12747
12757
  class: "text-none text-body-1",
12748
12758
  variant: "tonal",
12749
12759
  density: "comfortable",
12750
12760
  onClick: l.handleClearDraw
12751
12761
  }, {
12752
- default: x(() => [
12762
+ default: v(() => [
12753
12763
  N(y(t.$t("actions.clear")), 1)
12754
12764
  ]),
12755
12765
  _: 1
@@ -12762,7 +12772,7 @@ function tg(t, e, o, i, a, l) {
12762
12772
  type: "submit",
12763
12773
  loading: a.saving
12764
12774
  }, {
12765
- default: x(() => [
12775
+ default: v(() => [
12766
12776
  N(y(t.$t("actions.save")), 1)
12767
12777
  ]),
12768
12778
  _: 1
@@ -12956,7 +12966,7 @@ const ag = {
12956
12966
  const l = ((r = a == null ? void 0 : a.properties) == null ? void 0 : r.color) || ((c = this.Theme.current.value.colors) == null ? void 0 : c["map-green"]);
12957
12967
  if (((s = a.geometry) == null ? void 0 : s.type) === "Point") {
12958
12968
  const [d, m] = a.geometry.coordinates;
12959
- this.previewMarkers.push(new ve.Marker({ color: l }).setLngLat([d, m]).addTo(this.map));
12969
+ this.previewMarkers.push(new xe.Marker({ color: l }).setLngLat([d, m]).addTo(this.map));
12960
12970
  }
12961
12971
  a.properties.color || (a.properties.color = l);
12962
12972
  }), this.map.getSource(e) ? this.map.getSource(e).setData(t) : this.map.addSource(e, { type: "geojson", data: t });
@@ -13021,9 +13031,9 @@ function yg(t, e, o, i, a, l) {
13021
13031
  class: "idm-gl4-import-dialog-card",
13022
13032
  elevation: "4"
13023
13033
  }, {
13024
- default: x(() => [
13034
+ default: v(() => [
13025
13035
  w(c, { class: "d-flex justify-space-between align-center" }, {
13026
- default: x(() => [
13036
+ default: v(() => [
13027
13037
  n("span", ig, y(t.$t("marker.importLayer")), 1),
13028
13038
  w(r, {
13029
13039
  icon: "",
@@ -13032,7 +13042,7 @@ function yg(t, e, o, i, a, l) {
13032
13042
  class: "mr-n2",
13033
13043
  onClick: l.handleClose
13034
13044
  }, {
13035
- default: x(() => e[9] || (e[9] = [
13045
+ default: v(() => e[9] || (e[9] = [
13036
13046
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
13037
13047
  ])),
13038
13048
  _: 1,
@@ -13048,9 +13058,9 @@ function yg(t, e, o, i, a, l) {
13048
13058
  class: "form-box",
13049
13059
  onSubmit: _e(l.handleConfirm, ["prevent"])
13050
13060
  }, {
13051
- default: x(() => [
13061
+ default: v(() => [
13052
13062
  w(p, { class: "px-4 text-body-1" }, {
13053
- default: x(() => [
13063
+ default: v(() => [
13054
13064
  n("div", lg, [
13055
13065
  n("div", rg, [
13056
13066
  N(y(t.$t("marker.group")), 1),
@@ -13101,7 +13111,7 @@ function yg(t, e, o, i, a, l) {
13101
13111
  color: "grey",
13102
13112
  class: "mb-2"
13103
13113
  }, {
13104
- default: x(() => e[12] || (e[12] = [
13114
+ default: v(() => e[12] || (e[12] = [
13105
13115
  N("mdi-cloud-upload-outline", -1)
13106
13116
  ])),
13107
13117
  _: 1,
@@ -13126,7 +13136,7 @@ function yg(t, e, o, i, a, l) {
13126
13136
  color: "success",
13127
13137
  class: "mr-1"
13128
13138
  }, {
13129
- default: x(() => e[13] || (e[13] = [
13139
+ default: v(() => e[13] || (e[13] = [
13130
13140
  N("mdi-check-circle", -1)
13131
13141
  ])),
13132
13142
  _: 1,
@@ -13142,9 +13152,9 @@ function yg(t, e, o, i, a, l) {
13142
13152
  class: "file-remove-btn",
13143
13153
  onClick: l.handleRemoveFile
13144
13154
  }, {
13145
- default: x(() => [
13155
+ default: v(() => [
13146
13156
  w(m, { size: "16" }, {
13147
- default: x(() => e[14] || (e[14] = [
13157
+ default: v(() => e[14] || (e[14] = [
13148
13158
  N("mdi-close", -1)
13149
13159
  ])),
13150
13160
  _: 1,
@@ -13159,14 +13169,14 @@ function yg(t, e, o, i, a, l) {
13159
13169
  }),
13160
13170
  w(s),
13161
13171
  w(g, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
13162
- default: x(() => [
13172
+ default: v(() => [
13163
13173
  w(r, {
13164
13174
  class: "text-none text-body-1",
13165
13175
  variant: "tonal",
13166
13176
  density: "comfortable",
13167
13177
  onClick: l.handleReset
13168
13178
  }, {
13169
- default: x(() => [
13179
+ default: v(() => [
13170
13180
  N(y(t.$t("actions.reset")), 1)
13171
13181
  ]),
13172
13182
  _: 1
@@ -13179,7 +13189,7 @@ function yg(t, e, o, i, a, l) {
13179
13189
  type: "submit",
13180
13190
  loading: a.uploading
13181
13191
  }, {
13182
- default: x(() => [
13192
+ default: v(() => [
13183
13193
  N(y(t.$t("actions.confirm")), 1)
13184
13194
  ]),
13185
13195
  _: 1
@@ -13254,7 +13264,7 @@ const wg = {
13254
13264
  }));
13255
13265
  }
13256
13266
  }
13257
- }, xg = { class: "text-h6 font-weight-600" }, vg = { class: "text-label mb-2" };
13267
+ }, vg = { class: "text-h6 font-weight-600" }, xg = { class: "text-label mb-2" };
13258
13268
  function Ag(t, e, o, i, a, l) {
13259
13269
  const r = M("VBtn"), c = M("VCardTitle"), s = M("VDivider"), d = M("VTextField"), m = M("VCardText"), p = M("VCardActions"), g = M("VCard"), b = M("VDialog");
13260
13270
  return A(), F(b, {
@@ -13263,15 +13273,15 @@ function Ag(t, e, o, i, a, l) {
13263
13273
  persistent: "",
13264
13274
  "onUpdate:modelValue": e[1] || (e[1] = (u) => t.$emit("update:modelValue", u))
13265
13275
  }, {
13266
- default: x(() => [
13276
+ default: v(() => [
13267
13277
  w(g, {
13268
13278
  class: "",
13269
13279
  elevation: "4"
13270
13280
  }, {
13271
- default: x(() => [
13281
+ default: v(() => [
13272
13282
  w(c, { class: "d-flex justify-space-between align-center" }, {
13273
- default: x(() => [
13274
- n("span", xg, y(t.$t("actions.editGroup")), 1),
13283
+ default: v(() => [
13284
+ n("span", vg, y(t.$t("actions.editGroup")), 1),
13275
13285
  w(r, {
13276
13286
  icon: "",
13277
13287
  density: "compact",
@@ -13279,7 +13289,7 @@ function Ag(t, e, o, i, a, l) {
13279
13289
  class: "mr-n2",
13280
13290
  onClick: l.handleClose
13281
13291
  }, {
13282
- default: x(() => e[2] || (e[2] = [
13292
+ default: v(() => e[2] || (e[2] = [
13283
13293
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
13284
13294
  ])),
13285
13295
  _: 1,
@@ -13290,8 +13300,8 @@ function Ag(t, e, o, i, a, l) {
13290
13300
  }),
13291
13301
  w(s),
13292
13302
  w(m, { class: "px-4 text-body-1" }, {
13293
- default: x(() => [
13294
- n("div", vg, [
13303
+ default: v(() => [
13304
+ n("div", xg, [
13295
13305
  N(y(t.$t("marker.groupName")), 1),
13296
13306
  e[3] || (e[3] = n("span", { class: "text-danger" }, "*", -1))
13297
13307
  ]),
@@ -13311,14 +13321,14 @@ function Ag(t, e, o, i, a, l) {
13311
13321
  }),
13312
13322
  w(s),
13313
13323
  w(p, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
13314
- default: x(() => [
13324
+ default: v(() => [
13315
13325
  w(r, {
13316
13326
  class: "text-none text-body-1",
13317
13327
  variant: "tonal",
13318
13328
  density: "comfortable",
13319
13329
  onClick: l.handleClose
13320
13330
  }, {
13321
- default: x(() => [
13331
+ default: v(() => [
13322
13332
  N(y(t.$t("actions.cancel")), 1)
13323
13333
  ]),
13324
13334
  _: 1
@@ -13331,7 +13341,7 @@ function Ag(t, e, o, i, a, l) {
13331
13341
  loading: a.saving,
13332
13342
  onClick: l.handleConfirm
13333
13343
  }, {
13334
- default: x(() => [
13344
+ default: v(() => [
13335
13345
  N(y(t.$t("actions.confirm")), 1)
13336
13346
  ]),
13337
13347
  _: 1
@@ -13387,11 +13397,11 @@ function Cg(t, e, o, i, a, l) {
13387
13397
  "min-width": "500",
13388
13398
  "max-width": "500"
13389
13399
  }, {
13390
- default: x(() => [
13400
+ default: v(() => [
13391
13401
  w(p, { class: "" }, {
13392
- default: x(() => [
13402
+ default: v(() => [
13393
13403
  w(s, { class: "text-h6 font-weight-600 d-flex justify-center align-center py-4" }, {
13394
- default: x(() => [
13404
+ default: v(() => [
13395
13405
  w(r, {
13396
13406
  color: "warning",
13397
13407
  icon: "mdi-alert-circle",
@@ -13406,7 +13416,7 @@ function Cg(t, e, o, i, a, l) {
13406
13416
  class: "position-absolute top-0 right-0 mt-2 mr-2",
13407
13417
  onClick: l.handleClose
13408
13418
  }, {
13409
- default: x(() => e[1] || (e[1] = [
13419
+ default: v(() => e[1] || (e[1] = [
13410
13420
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
13411
13421
  ])),
13412
13422
  _: 1,
@@ -13416,21 +13426,21 @@ function Cg(t, e, o, i, a, l) {
13416
13426
  _: 1
13417
13427
  }),
13418
13428
  w(d, { class: "py-4 text-center" }, {
13419
- default: x(() => [
13429
+ default: v(() => [
13420
13430
  n("p", zg, y(o.tips), 1),
13421
13431
  n("p", _g, y(t.$t("tips.doYouWantToContinue")), 1)
13422
13432
  ]),
13423
13433
  _: 1
13424
13434
  }),
13425
13435
  w(m, { class: "w-100 d-flex justify-center align-center ga-8 py-6" }, {
13426
- default: x(() => [
13436
+ default: v(() => [
13427
13437
  w(c, {
13428
13438
  variant: "tonal",
13429
13439
  class: "text-none text-body-1",
13430
13440
  height: "32",
13431
13441
  onClick: l.handleClose
13432
13442
  }, {
13433
- default: x(() => [
13443
+ default: v(() => [
13434
13444
  N(y(t.$t("actions.cancel")), 1)
13435
13445
  ]),
13436
13446
  _: 1
@@ -13443,7 +13453,7 @@ function Cg(t, e, o, i, a, l) {
13443
13453
  height: "32",
13444
13454
  onClick: l.handleDelete
13445
13455
  }, {
13446
- default: x(() => [
13456
+ default: v(() => [
13447
13457
  N(y(t.$t("actions.delete")), 1)
13448
13458
  ]),
13449
13459
  _: 1
@@ -13667,29 +13677,29 @@ const Pg = {
13667
13677
  var g, b, u, h;
13668
13678
  const d = (g = s.geometry) == null ? void 0 : g.type, m = ((b = s.properties) == null ? void 0 : b.name) || "", p = ((u = s.properties) == null ? void 0 : u.color) || t.color || ((h = this.Theme.current.value.colors) == null ? void 0 : h["map-green"]);
13669
13679
  if (d === "Point") {
13670
- const [f, L] = s.geometry.coordinates, v = `<div style="font-size:12px;line-height:1.5;">
13680
+ const [f, L] = s.geometry.coordinates, x = `<div style="font-size:12px;line-height:1.5;">
13671
13681
  <div style="font-weight:600;">${m}</div>
13672
13682
  <div>${H.lat2pretty(L, 4).pretty}, ${H.lng2pretty(f, 4).pretty}</div>
13673
- </div>`, C = new ve.Popup({
13683
+ </div>`, C = new xe.Popup({
13674
13684
  offset: 40,
13675
13685
  closeButton: !1,
13676
13686
  closeOnClick: !1,
13677
13687
  anchor: "bottom",
13678
13688
  className: "marker-popup-dark"
13679
- }).setHTML(v), z = new ve.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
13689
+ }).setHTML(x), z = new xe.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
13680
13690
  P.addEventListener("mouseenter", () => C.setLngLat([f, L]).addTo(this.map)), P.addEventListener("mouseleave", () => C.remove()), c.push(z);
13681
13691
  } else
13682
13692
  d === "MultiPoint" && s.geometry.coordinates.forEach(([f, L]) => {
13683
- const v = `<div style="font-size:12px;line-height:1.5;">
13693
+ const x = `<div style="font-size:12px;line-height:1.5;">
13684
13694
  <div style="font-weight:600;">${m}</div>
13685
13695
  <div>${H.lat2pretty(L, 4).pretty}, ${H.lng2pretty(f, 4).pretty}</div>
13686
- </div>`, C = new ve.Popup({
13696
+ </div>`, C = new xe.Popup({
13687
13697
  offset: 40,
13688
13698
  closeButton: !1,
13689
13699
  closeOnClick: !1,
13690
13700
  anchor: "bottom",
13691
13701
  className: "marker-popup-dark"
13692
- }).setHTML(v), z = new ve.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
13702
+ }).setHTML(x), z = new xe.Marker({ color: p }).setLngLat([f, L]).addTo(this.map), P = z.getElement();
13693
13703
  P.addEventListener("mouseenter", () => C.setLngLat([f, L]).addTo(this.map)), P.addEventListener("mouseleave", () => C.remove()), c.push(z);
13694
13704
  });
13695
13705
  }), this.layerMarkers[t.id] = c;
@@ -13843,7 +13853,7 @@ const Pg = {
13843
13853
  };
13844
13854
  function Kg(t, e, o, i, a, l) {
13845
13855
  var D;
13846
- const r = M("VBtn"), c = M("VTooltip"), s = M("VSwitch"), d = M("VIcon"), m = M("VTextField"), p = M("VProgressCircular"), g = M("VChip"), b = M("VListItemTitle"), u = M("VListItem"), h = M("VList"), f = M("VCard"), L = M("VMenu"), v = M("VDivider"), C = M("IdmDrawMarker"), z = M("IdmImportMarker"), P = M("IdmGroupDialog"), _ = M("DeleteDialog");
13856
+ const r = M("VBtn"), c = M("VTooltip"), s = M("VSwitch"), d = M("VIcon"), m = M("VTextField"), p = M("VProgressCircular"), g = M("VChip"), b = M("VListItemTitle"), u = M("VListItem"), h = M("VList"), f = M("VCard"), L = M("VMenu"), x = M("VDivider"), C = M("IdmDrawMarker"), z = M("IdmImportMarker"), P = M("IdmGroupDialog"), _ = M("DeleteDialog");
13847
13857
  return A(), R("div", Sg, [
13848
13858
  n("div", {
13849
13859
  class: "menu-bar-box transition pa-1",
@@ -13857,7 +13867,7 @@ function Kg(t, e, o, i, a, l) {
13857
13867
  "open-on-focus": !o.simple,
13858
13868
  "open-on-hover": !o.simple
13859
13869
  }, {
13860
- activator: x(({ props: T }) => [
13870
+ activator: v(({ props: T }) => [
13861
13871
  w(r, V(T, {
13862
13872
  "min-width": "32",
13863
13873
  width: "32",
@@ -13865,7 +13875,7 @@ function Kg(t, e, o, i, a, l) {
13865
13875
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
13866
13876
  onClick: l.handleMenuToggle
13867
13877
  }), {
13868
- default: x(() => e[7] || (e[7] = [
13878
+ default: v(() => e[7] || (e[7] = [
13869
13879
  n("i", { class: "iconfont icon-compass text-h4" }, null, -1)
13870
13880
  ])),
13871
13881
  _: 2,
@@ -13899,7 +13909,7 @@ function Kg(t, e, o, i, a, l) {
13899
13909
  variant: "text",
13900
13910
  onClick: l.fetchAllLayers
13901
13911
  }, {
13902
- default: x(() => [
13912
+ default: v(() => [
13903
13913
  w(d, { icon: "mdi-refresh" })
13904
13914
  ]),
13905
13915
  _: 1
@@ -13912,7 +13922,7 @@ function Kg(t, e, o, i, a, l) {
13912
13922
  variant: "plain",
13913
13923
  onClick: l.handleMenuToggle
13914
13924
  }, {
13915
- default: x(() => e[8] || (e[8] = [
13925
+ default: v(() => e[8] || (e[8] = [
13916
13926
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
13917
13927
  ])),
13918
13928
  _: 1,
@@ -13931,7 +13941,7 @@ function Kg(t, e, o, i, a, l) {
13931
13941
  autocomplete: "off",
13932
13942
  class: "input-btn-bg-1"
13933
13943
  }, {
13934
- "prepend-inner": x(() => [
13944
+ "prepend-inner": v(() => [
13935
13945
  (A(), R("svg", Gg, e[9] || (e[9] = [
13936
13946
  n("use", { "xlink:href": "#icon-search" }, null, -1)
13937
13947
  ])))
@@ -13950,7 +13960,7 @@ function Kg(t, e, o, i, a, l) {
13950
13960
  "prepend-icon": "mdi-plus",
13951
13961
  onClick: e[2] || (e[2] = (T) => l.handleOpenDrawMarkers())
13952
13962
  }, {
13953
- default: x(() => [
13963
+ default: v(() => [
13954
13964
  N(y(t.$t("actions.add")), 1)
13955
13965
  ]),
13956
13966
  _: 1
@@ -13965,7 +13975,7 @@ function Kg(t, e, o, i, a, l) {
13965
13975
  "prepend-icon": "mdi-import",
13966
13976
  onClick: l.handleOpenImportDialog
13967
13977
  }, {
13968
- default: x(() => [
13978
+ default: v(() => [
13969
13979
  N(y(t.$t("actions.import")), 1)
13970
13980
  ]),
13971
13981
  _: 1
@@ -14014,7 +14024,7 @@ function Kg(t, e, o, i, a, l) {
14014
14024
  color: "primary",
14015
14025
  onClick: (G) => T.show = !T.show
14016
14026
  }, {
14017
- default: x(() => {
14027
+ default: v(() => {
14018
14028
  var G;
14019
14029
  return [
14020
14030
  N(y((G = T.layers) == null ? void 0 : G.length), 1)
@@ -14034,18 +14044,18 @@ function Kg(t, e, o, i, a, l) {
14034
14044
  variant: "plain",
14035
14045
  class: "mx-1"
14036
14046
  }, {
14037
- default: x(() => [
14047
+ default: v(() => [
14038
14048
  e[10] || (e[10] = n("i", { class: "iconfont icon-dots-vertical text-h4 cursor-pointer" }, null, -1)),
14039
14049
  w(L, {
14040
14050
  activator: "parent",
14041
14051
  "min-width": "240",
14042
14052
  class: "drop-menu"
14043
14053
  }, {
14044
- default: x(() => [
14054
+ default: v(() => [
14045
14055
  w(f, { class: "pa-2 px-0" }, {
14046
- default: x(() => [
14056
+ default: v(() => [
14047
14057
  w(h, { class: "" }, {
14048
- default: x(() => [
14058
+ default: v(() => [
14049
14059
  w(u, {
14050
14060
  value: "account",
14051
14061
  variant: "flat",
@@ -14053,12 +14063,12 @@ function Kg(t, e, o, i, a, l) {
14053
14063
  height: "38",
14054
14064
  "min-height": "38"
14055
14065
  }, {
14056
- default: x(() => [
14066
+ default: v(() => [
14057
14067
  w(b, {
14058
14068
  class: "text-body-1 d-flex jusity-center align-center",
14059
14069
  onClick: (G) => l.handleOpenDrawMarkers(T)
14060
14070
  }, {
14061
- default: x(() => [
14071
+ default: v(() => [
14062
14072
  w(d, {
14063
14073
  icon: "mdi-plus-circle-outline mr-4",
14064
14074
  size: "16"
@@ -14077,12 +14087,12 @@ function Kg(t, e, o, i, a, l) {
14077
14087
  height: "38",
14078
14088
  "min-height": "38"
14079
14089
  }, {
14080
- default: x(() => [
14090
+ default: v(() => [
14081
14091
  w(b, {
14082
14092
  class: "text-body-1 d-flex jusity-center align-center",
14083
14093
  onClick: (G) => l.handleEditGroup(T)
14084
14094
  }, {
14085
- default: x(() => [
14095
+ default: v(() => [
14086
14096
  w(d, {
14087
14097
  icon: "mdi-pencil mr-4",
14088
14098
  size: "16"
@@ -14101,12 +14111,12 @@ function Kg(t, e, o, i, a, l) {
14101
14111
  height: "38",
14102
14112
  "min-height": "38"
14103
14113
  }, {
14104
- default: x(() => [
14114
+ default: v(() => [
14105
14115
  w(b, {
14106
14116
  class: "text-body-1 d-flex jusity-center align-center",
14107
14117
  onClick: (G) => l.handleOpenDelete("group", T)
14108
14118
  }, {
14109
- default: x(() => [
14119
+ default: v(() => [
14110
14120
  w(d, {
14111
14121
  icon: "mdi-trash-can-outline mr-4",
14112
14122
  size: "16"
@@ -14154,7 +14164,7 @@ function Kg(t, e, o, i, a, l) {
14154
14164
  variant: "text",
14155
14165
  onClick: (ie) => l.handleEditLayer(T, G)
14156
14166
  }, {
14157
- default: x(() => [
14167
+ default: v(() => [
14158
14168
  w(d, {
14159
14169
  icon: "mdi-pencil",
14160
14170
  size: "16"
@@ -14169,7 +14179,7 @@ function Kg(t, e, o, i, a, l) {
14169
14179
  variant: "text",
14170
14180
  onClick: (ie) => l.handleOpenDelete("layer", G)
14171
14181
  }, {
14172
- default: x(() => [
14182
+ default: v(() => [
14173
14183
  w(d, {
14174
14184
  icon: "mdi-trash-can-outline",
14175
14185
  size: "16"
@@ -14181,7 +14191,7 @@ function Kg(t, e, o, i, a, l) {
14181
14191
  ], 2);
14182
14192
  }), 128))
14183
14193
  ])) : I("", !0),
14184
- B < a.layerGroup.length - 1 ? (A(), F(v, {
14194
+ B < a.layerGroup.length - 1 ? (A(), F(x, {
14185
14195
  key: 1,
14186
14196
  class: "w-100",
14187
14197
  thickness: "1"
@@ -14362,7 +14372,7 @@ async function so(t, e = {}) {
14362
14372
  return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1 };
14363
14373
  if (o === "dataURL")
14364
14374
  return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1, mime: String(t).slice(5).split(";")[0] || "" };
14365
- let [, f = "", L = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [], v = /;base64/i.test(f) ? atob(L) : decodeURIComponent(L), C = new Uint8Array([...v].map((P) => P.charCodeAt(0))), z = new Blob([C], { type: (f || "").split(";")[0] || "" });
14375
+ let [, f = "", L = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [], x = /;base64/i.test(f) ? atob(L) : decodeURIComponent(L), C = new Uint8Array([...x].map((P) => P.charCodeAt(0))), z = new Blob([C], { type: (f || "").split(";")[0] || "" });
14366
14376
  return { ok: !0, data: z, status: 200, url: t, fromCache: !1, mime: z.type || "" };
14367
14377
  } catch {
14368
14378
  return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "special_url_error" };
@@ -14372,8 +14382,8 @@ async function so(t, e = {}) {
14372
14382
  let f = await fetch(t);
14373
14383
  if (!f.ok)
14374
14384
  return { ok: !1, data: null, status: f.status, url: t, fromCache: !1, reason: "http_error" };
14375
- let L = await f.blob(), v = L.type || f.headers.get("content-type") || "";
14376
- return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: t, fromCache: !1, mime: v } : o === "text" ? { ok: !0, data: await L.text(), status: f.status, url: t, fromCache: !1, mime: v } : { ok: !0, data: L, status: f.status, url: t, fromCache: !1, mime: v };
14385
+ let L = await f.blob(), x = L.type || f.headers.get("content-type") || "";
14386
+ return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: t, fromCache: !1, mime: x } : o === "text" ? { ok: !0, data: await L.text(), status: f.status, url: t, fromCache: !1, mime: x } : { ok: !0, data: L, status: f.status, url: t, fromCache: !1, mime: x };
14377
14387
  } catch {
14378
14388
  return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "network" };
14379
14389
  }
@@ -14407,15 +14417,15 @@ async function so(t, e = {}) {
14407
14417
  }
14408
14418
  if (o === "text")
14409
14419
  return { ok: !0, data: await f.text(), status: f.status, url: p, fromCache: !1 };
14410
- let L = await f.blob(), v = L.type || f.headers.get("content-type") || "";
14411
- return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: p, fromCache: !1, mime: v } : { ok: !0, data: L, status: f.status, url: p, fromCache: !1, mime: v };
14420
+ let L = await f.blob(), x = L.type || f.headers.get("content-type") || "";
14421
+ return o === "dataURL" ? { ok: !0, data: await gl(L), status: f.status, url: p, fromCache: !1, mime: x } : { ok: !0, data: L, status: f.status, url: p, fromCache: !1, mime: x };
14412
14422
  } catch (f) {
14413
- let L = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network", v = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: L };
14414
- if (!/^blob:/i.test(t) && l > 0 && Oo.set(s, { until: Date.now() + l, result: v }), !c) {
14423
+ let L = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network", x = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: L };
14424
+ if (!/^blob:/i.test(t) && l > 0 && Oo.set(s, { until: Date.now() + l, result: x }), !c) {
14415
14425
  let C = `${L}:${o}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, z = L === "timeout" ? `Timeout after ${i}ms. Consider increasing timeout or using a proxy for ${t}` : L === "abort" ? `Request aborted while fetching ${o} ${t}` : `Network/CORS issue while fetching ${o} ${t}. A proxy may be required`;
14416
14426
  pl.errorOnce(C, z);
14417
14427
  }
14418
- return e.onError && e.onError(v), v;
14428
+ return e.onError && e.onError(x), x;
14419
14429
  } finally {
14420
14430
  clearTimeout(u), ea.delete(s);
14421
14431
  }
@@ -14578,7 +14588,7 @@ async function w0(t = "Material Icons", e = 24) {
14578
14588
  } catch {
14579
14589
  }
14580
14590
  }
14581
- function x0(t) {
14591
+ function v0(t) {
14582
14592
  var a, l;
14583
14593
  let e = ((a = t.getPropertyValue("-webkit-text-fill-color")) == null ? void 0 : a.trim()) || "", o = /^transparent$/i.test(e) || /rgba?\(\s*0\s*,\s*0\s*,\s*0\s*,\s*0\s*\)/i.test(e);
14584
14594
  if (e && !o && e.toLowerCase() !== "currentcolor")
@@ -14586,7 +14596,7 @@ function x0(t) {
14586
14596
  let i = (l = t.color) == null ? void 0 : l.trim();
14587
14597
  return i && i !== "inherit" ? i : "#000";
14588
14598
  }
14589
- async function v0(t, { family: e = "Material Icons", weight: o = "normal", fontSize: i = 32, color: a = "#000", variation: l = "", className: r = "" } = {}) {
14599
+ async function x0(t, { family: e = "Material Icons", weight: o = "normal", fontSize: i = 32, color: a = "#000", variation: l = "", className: r = "" } = {}) {
14590
14600
  let c = String(e || "").replace(/^['"]+|['"]+$/g, ""), s = window.devicePixelRatio || 1, d = y0(l), { familyForMeasure: m, familyForCanvas: p } = await b0(c, r, d);
14591
14601
  await w0(p.replace(/^["']+|["']+$/g, ""), i);
14592
14602
  let g = document.createElement("span");
@@ -14619,10 +14629,10 @@ async function A0(t, e) {
14619
14629
  let p = (s || c).textContent.trim();
14620
14630
  if (!p)
14621
14631
  continue;
14622
- let g = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", u = x0(d), h = d.fontVariationSettings && d.fontVariationSettings !== "normal" ? d.fontVariationSettings : "", f = (s || c).className || "", { dataUrl: L, width: v, height: C } = await v0(p, { family: m, weight: b, fontSize: g, color: u, variation: h, className: f });
14632
+ let g = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", u = v0(d), h = d.fontVariationSettings && d.fontVariationSettings !== "normal" ? d.fontVariationSettings : "", f = (s || c).className || "", { dataUrl: L, width: x, height: C } = await x0(p, { family: m, weight: b, fontSize: g, color: u, variation: h, className: f });
14623
14633
  c.textContent = "";
14624
14634
  let z = c.ownerDocument.createElement("img");
14625
- z.src = L, z.alt = p, z.style.height = `${g}px`, z.style.width = `${Math.max(1, Math.round(v / C * g))}px`, z.style.objectFit = "contain", z.style.verticalAlign = getComputedStyle(c).verticalAlign || "baseline", c.appendChild(z), l++;
14635
+ z.src = L, z.alt = p, z.style.height = `${g}px`, z.style.width = `${Math.max(1, Math.round(x / C * g))}px`, z.style.objectFit = "contain", z.style.verticalAlign = getComputedStyle(c).verticalAlign || "baseline", c.appendChild(z), l++;
14626
14636
  } catch {
14627
14637
  }
14628
14638
  }
@@ -14894,7 +14904,7 @@ function I0(t) {
14894
14904
  return t;
14895
14905
  let e = /@font-face[^{}]*\{[^}]*\}/gi, o = /* @__PURE__ */ new Set(), i = [];
14896
14906
  for (let p of t.match(e) || []) {
14897
- let g = ((l = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "", b = $o(g), u = (((r = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), f = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), L = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(), v = (((m = p.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : m[1]) || "").trim(), C = fa(v, location.href), z = C.length ? C.map((_) => String(_).toLowerCase()).sort().join("|") : v.toLowerCase(), P = [String(b || "").toLowerCase(), u, h, f, L.toLowerCase(), z].join("|");
14907
+ let g = ((l = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "", b = $o(g), u = (((r = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), f = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), L = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(), x = (((m = p.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : m[1]) || "").trim(), C = fa(x, location.href), z = C.length ? C.map((_) => String(_).toLowerCase()).sort().join("|") : x.toLowerCase(), P = [String(b || "").toLowerCase(), u, h, f, L.toLowerCase(), z].join("|");
14898
14908
  o.has(P) || (o.add(P), i.push(p));
14899
14909
  }
14900
14910
  if (i.length === 0)
@@ -14958,7 +14968,7 @@ async function Ol(t, e, o, i) {
14958
14968
  }
14959
14969
  }
14960
14970
  async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFonts: i = [], useProxy: a = "" } = {}) {
14961
- var h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be;
14971
+ var h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be;
14962
14972
  t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
14963
14973
  let l = /* @__PURE__ */ new Map();
14964
14974
  for (let E of t) {
@@ -15041,7 +15051,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
15041
15051
  let Y = (((f = q.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), le = $o(Y);
15042
15052
  if (!le || co(le))
15043
15053
  continue;
15044
- let Z = (((L = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), U = (((v = q.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), fe = (((C = q.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : C[1]) || "100%").trim(), Le = (((z = q.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : z[1]) || "").trim(), ze = (((P = q.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : P[1]) || "").trim(), he = fa(ze, E.href);
15054
+ let Z = (((L = q.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), U = (((x = q.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "normal").trim(), fe = (((C = q.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : C[1]) || "100%").trim(), Le = (((z = q.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : z[1]) || "").trim(), ze = (((P = q.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : P[1]) || "").trim(), he = fa(ze, E.href);
15045
15055
  if (!r(le, U, Z, fe))
15046
15056
  continue;
15047
15057
  let Ae = Wl(Le);
@@ -15108,7 +15118,7 @@ async function G0({ required: t, usedCodepoints: e, exclude: o = void 0, localFo
15108
15118
  try {
15109
15119
  let Z = await so(Y, { as: "dataURL", useProxy: a, silent: !0 });
15110
15120
  if (Z.ok && typeof Z.data == "string")
15111
- le = Z.data, (re = O.resource) == null || re.set(Y, le), (xe = O.font) == null || xe.add(Y);
15121
+ le = Z.data, (re = O.resource) == null || re.set(Y, le), (ve = O.font) == null || ve.add(Y);
15112
15122
  else
15113
15123
  continue;
15114
15124
  } catch {
@@ -15214,8 +15224,8 @@ async function N0(t, e, o, i = {}) {
15214
15224
  let f = p.getPropertyValue(h);
15215
15225
  if (!f || f === "none")
15216
15226
  continue;
15217
- let L = Nl(f), v = await Promise.all(L.map((C) => Fl(C, i)));
15218
- v.some((C) => C && C !== "none" && !/^url\(undefined/.test(C)) && m.style.setProperty(h, v.join(", "));
15227
+ let L = Nl(f), x = await Promise.all(L.map((C) => Fl(C, i)));
15228
+ x.some((C) => C && C !== "none" && !/^url\(undefined/.test(C)) && m.style.setProperty(h, x.join(", "));
15219
15229
  }
15220
15230
  for (let h of r) {
15221
15231
  let f = p.getPropertyValue(h);
@@ -15305,15 +15315,15 @@ function V0(t) {
15305
15315
  function X0(t, e, o = !1) {
15306
15316
  return !t || t.plugins && !o || (t.plugins = V0(e)), t;
15307
15317
  }
15308
- var xl = /* @__PURE__ */ new WeakMap(), ra = /* @__PURE__ */ new Map(), na = 0;
15318
+ var vl = /* @__PURE__ */ new WeakMap(), ra = /* @__PURE__ */ new Map(), na = 0;
15309
15319
  function jo() {
15310
15320
  na++;
15311
15321
  }
15312
- var vl = !1;
15322
+ var xl = !1;
15313
15323
  function O0(t = document.documentElement) {
15314
15324
  var e, o;
15315
- if (!vl) {
15316
- vl = !0;
15325
+ if (!xl) {
15326
+ xl = !0;
15317
15327
  try {
15318
15328
  new MutationObserver(() => jo()).observe(t, { subtree: !0, childList: !0, characterData: !0, attributes: !0 });
15319
15329
  } catch {
@@ -15362,11 +15372,11 @@ function Y0(t) {
15362
15372
  return e || (e = Object.entries(t).sort((o, i) => o[0] < i[0] ? -1 : o[0] > i[0] ? 1 : 0).map(([o, i]) => `${o}:${i}`).join(";"), Al.set(t, e), e);
15363
15373
  }
15364
15374
  function U0(t, e = null, o = {}) {
15365
- let i = xl.get(t);
15375
+ let i = vl.get(t);
15366
15376
  if (i && i.epoch === na)
15367
15377
  return i.snapshot;
15368
15378
  let a = e || getComputedStyle(t), l = H0(a, o);
15369
- return ef(t, a, l), xl.set(t, { epoch: na, snapshot: l }), l;
15379
+ return ef(t, a, l), vl.set(t, { epoch: na, snapshot: l }), l;
15370
15380
  }
15371
15381
  function J0(t, e) {
15372
15382
  return t && t.session && t.persist ? t : t && (t.styleMap || t.styleCache || t.nodeMap) ? { session: t, persist: { snapshotKeyCache: ra, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: e || {} } : { session: O.session, persist: { snapshotKeyCache: ra, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: t || e || {} };
@@ -15705,13 +15715,13 @@ async function Ll(t) {
15705
15715
  function Ho(t) {
15706
15716
  return typeof t == "string" && t.startsWith("blob:");
15707
15717
  }
15708
- function xf(t) {
15718
+ function vf(t) {
15709
15719
  return (t || "").split(",").map((e) => e.trim()).filter(Boolean).map((e) => {
15710
15720
  let o = e.match(/^(\S+)(\s+.+)?$/);
15711
15721
  return o ? { url: o[1], desc: o[2] || "" } : null;
15712
15722
  }).filter(Boolean);
15713
15723
  }
15714
- function vf(t) {
15724
+ function xf(t) {
15715
15725
  return t.map((e) => e.desc ? `${e.url} ${e.desc.trim()}` : e.url).join(", ");
15716
15726
  }
15717
15727
  async function Af(t) {
@@ -15728,14 +15738,14 @@ async function Af(t) {
15728
15738
  }
15729
15739
  let m = s.getAttribute("srcset");
15730
15740
  if (m && m.includes("blob:")) {
15731
- let p = xf(m), g = !1;
15741
+ let p = vf(m), g = !1;
15732
15742
  for (let b of p)
15733
15743
  if (Ho(b.url))
15734
15744
  try {
15735
15745
  b.url = await No(b.url), g = !0;
15736
15746
  } catch {
15737
15747
  }
15738
- g && s.setAttribute("srcset", vf(p));
15748
+ g && s.setAttribute("srcset", xf(p));
15739
15749
  }
15740
15750
  } catch {
15741
15751
  }
@@ -15856,16 +15866,16 @@ async function Jo(t, e, o) {
15856
15866
  L && L.getImageData(0, 0, 1, 1);
15857
15867
  } catch {
15858
15868
  }
15859
- if (await new Promise((v) => requestAnimationFrame(v)), h = t.toDataURL("image/png"), !h || h === "data:,") {
15869
+ if (await new Promise((x) => requestAnimationFrame(x)), h = t.toDataURL("image/png"), !h || h === "data:,") {
15860
15870
  try {
15861
15871
  L && L.getImageData(0, 0, 1, 1);
15862
15872
  } catch {
15863
15873
  }
15864
- if (await new Promise((v) => requestAnimationFrame(v)), h = t.toDataURL("image/png"), !h || h === "data:,") {
15865
- let v = document.createElement("canvas");
15866
- v.width = t.width, v.height = t.height;
15867
- let C = v.getContext("2d");
15868
- C && (C.drawImage(t, 0, 0), h = v.toDataURL("image/png"));
15874
+ if (await new Promise((x) => requestAnimationFrame(x)), h = t.toDataURL("image/png"), !h || h === "data:,") {
15875
+ let x = document.createElement("canvas");
15876
+ x.width = t.width, x.height = t.height;
15877
+ let C = x.getContext("2d");
15878
+ C && (C.drawImage(t, 0, 0), h = x.toDataURL("image/png"));
15869
15879
  }
15870
15880
  }
15871
15881
  } catch {
@@ -15890,7 +15900,7 @@ async function Jo(t, e, o) {
15890
15900
  try {
15891
15901
  let h = t.getBoundingClientRect(), f = Math.round(h.width || 0), L = Math.round(h.height || 0);
15892
15902
  if (!f || !L) {
15893
- let v = window.getComputedStyle(t), C = parseFloat(v.width) || 0, z = parseFloat(v.height) || 0, P = parseInt(t.getAttribute("width") || "", 10) || 0, _ = parseInt(t.getAttribute("height") || "", 10) || 0, D = t.width || t.naturalWidth || 0, T = t.height || t.naturalHeight || 0;
15903
+ let x = window.getComputedStyle(t), C = parseFloat(x.width) || 0, z = parseFloat(x.height) || 0, P = parseInt(t.getAttribute("width") || "", 10) || 0, _ = parseInt(t.getAttribute("height") || "", 10) || 0, D = t.width || t.naturalWidth || 0, T = t.height || t.naturalHeight || 0;
15894
15904
  f = Math.round(f || C || P || D || 0), L = Math.round(L || z || _ || T || 0);
15895
15905
  }
15896
15906
  f && (r.dataset.snapdomWidth = String(f)), L && (r.dataset.snapdomHeight = String(L));
@@ -15900,8 +15910,8 @@ async function Jo(t, e, o) {
15900
15910
  let h = t.getAttribute("style") || "", f = window.getComputedStyle(t), L = (_) => {
15901
15911
  let D = h.match(new RegExp(`${_}\\s*:\\s*([^;]+)`, "i")), T = D ? D[1].trim() : f.getPropertyValue(_);
15902
15912
  return /%|auto/i.test(String(T || ""));
15903
- }, v = parseInt(r.dataset.snapdomWidth || "0", 10), C = parseInt(r.dataset.snapdomHeight || "0", 10), z = L("width") || !v, P = L("height") || !C;
15904
- z && v && (r.style.width = `${v}px`), P && C && (r.style.height = `${C}px`), v && (r.style.minWidth = `${v}px`), C && (r.style.minHeight = `${C}px`);
15913
+ }, x = parseInt(r.dataset.snapdomWidth || "0", 10), C = parseInt(r.dataset.snapdomHeight || "0", 10), z = L("width") || !x, P = L("height") || !C;
15914
+ z && x && (r.style.width = `${x}px`), P && C && (r.style.height = `${C}px`), x && (r.style.minWidth = `${x}px`), C && (r.style.minHeight = `${C}px`);
15905
15915
  } catch {
15906
15916
  }
15907
15917
  }
@@ -15941,7 +15951,7 @@ async function Jo(t, e, o) {
15941
15951
  r.setAttribute("data-sd", f);
15942
15952
  } catch {
15943
15953
  }
15944
- let v = sf(t.shadowRoot), C = rf(v, L), z = df(v), P = uf(t, z, L);
15954
+ let x = sf(t.shadowRoot), C = rf(x, L), z = df(x), P = uf(t, z, L);
15945
15955
  cf(r, P + C, f);
15946
15956
  let _ = document.createDocumentFragment(), D = await ta(Array.from(t.shadowRoot.childNodes), h, o.fast);
15947
15957
  _.append(...D.filter((T) => !!T)), r.appendChild(_);
@@ -15953,8 +15963,8 @@ async function Jo(t, e, o) {
15953
15963
  }).catch(() => {
15954
15964
  P(null);
15955
15965
  });
15956
- }, f = ((u = t.assignedNodes) == null ? void 0 : u.call(t, { flatten: !0 })) || [], L = f.length > 0 ? f : Array.from(t.childNodes), v = document.createDocumentFragment(), C = await ta(Array.from(L), h, o.fast);
15957
- return v.append(...C.filter((z) => !!z)), v;
15966
+ }, f = ((u = t.assignedNodes) == null ? void 0 : u.call(t, { flatten: !0 })) || [], L = f.length > 0 ? f : Array.from(t.childNodes), x = document.createDocumentFragment(), C = await ta(Array.from(L), h, o.fast);
15967
+ return x.append(...C.filter((z) => !!z)), x;
15958
15968
  }
15959
15969
  function c(h, f) {
15960
15970
  if (i.has(h))
@@ -16030,10 +16040,10 @@ function zf(t) {
16030
16040
  b.set(u, h.slice());
16031
16041
  return b;
16032
16042
  }, s = (g, b, u) => {
16033
- var v, C;
16043
+ var x, C;
16034
16044
  let h = c(g), f;
16035
16045
  try {
16036
- f = ((v = u.style) == null ? void 0 : v.counterReset) || getComputedStyle(u).counterReset;
16046
+ f = ((x = u.style) == null ? void 0 : x.counterReset) || getComputedStyle(u).counterReset;
16037
16047
  } catch {
16038
16048
  }
16039
16049
  if (f && f !== "none")
@@ -16211,7 +16221,7 @@ function Sl(t = document) {
16211
16221
  }
16212
16222
  return t.querySelector('[style*="counter("], [style*="counters("]') ? (yo.set(t, { fingerprint: e, result: !0 }), !0) : (yo.set(t, { fingerprint: e, result: !1 }), !1);
16213
16223
  }
16214
- var xo = /* @__PURE__ */ new WeakMap(), Tl = -1;
16224
+ var vo = /* @__PURE__ */ new WeakMap(), Tl = -1;
16215
16225
  function Mf(t) {
16216
16226
  return (t || "").replace(/"([^"]*)"/g, "$1");
16217
16227
  }
@@ -16224,7 +16234,7 @@ function Pf(t) {
16224
16234
  return e.length ? e.join("") : Mf(t);
16225
16235
  }
16226
16236
  function ca(t, e) {
16227
- let o = t.parentElement, i = o ? xo.get(o) : null;
16237
+ let o = t.parentElement, i = o ? vo.get(o) : null;
16228
16238
  return i ? { get(a, l) {
16229
16239
  let r = e.get(a, l), c = i.get(l);
16230
16240
  return typeof c == "number" ? Math.max(r, c) : r;
@@ -16297,7 +16307,7 @@ async function Kl(t, e, o, i) {
16297
16307
  if (!Cf(a, o))
16298
16308
  return;
16299
16309
  let l = ((d = O == null ? void 0 : O.session) == null ? void 0 : d.__counterEpoch) ?? 0;
16300
- if (Tl !== l && (xo = /* @__PURE__ */ new WeakMap(), o && (o.__counterCtx = null), Tl = l), !o.__counterCtx)
16310
+ if (Tl !== l && (vo = /* @__PURE__ */ new WeakMap(), o && (o.__counterCtx = null), Tl = l), !o.__counterCtx)
16301
16311
  try {
16302
16312
  o.__counterCtx = zf(t.ownerDocument || document);
16303
16313
  } catch {
@@ -16329,17 +16339,17 @@ async function Kl(t, e, o, i) {
16329
16339
  e.replaceChild(he, Y), e.insertBefore(fe, he);
16330
16340
  continue;
16331
16341
  }
16332
- let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r), v = b.backgroundImage, C = b.backgroundColor, z = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, B = parseFloat(b.borderWidth), j = b.transform, G = co(z), Q = !h && f !== "", ie = v && v !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", xe = T && T !== "none" && B > 0, be = j && j !== "none";
16333
- if (!(Q || ie || re || xe || be)) {
16342
+ let u = b.content ?? "", h = u === "" || u === "none" || u === "normal", { text: f, incs: L } = Sf(t, g, r), x = b.backgroundImage, C = b.backgroundColor, z = b.fontFamily, P = parseInt(b.fontSize) || 32, _ = parseInt(b.fontWeight) || !1, D = b.color || "#000", T = b.borderStyle, B = parseFloat(b.borderWidth), j = b.transform, G = co(z), Q = !h && f !== "", ie = x && x !== "none", re = C && C !== "transparent" && C !== "rgba(0, 0, 0, 0)", ve = T && T !== "none" && B > 0, be = j && j !== "none";
16343
+ if (!(Q || ie || re || ve || be)) {
16334
16344
  if (L && L.length && t.parentElement) {
16335
- let q = xo.get(t.parentElement) || /* @__PURE__ */ new Map();
16345
+ let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map();
16336
16346
  for (let { name: Y } of L) {
16337
16347
  if (!Y)
16338
16348
  continue;
16339
16349
  let le = ca(t, r), Z = ma(t, getComputedStyle(t, g), le).get(t, Y);
16340
16350
  q.set(Y, Z);
16341
16351
  }
16342
- xo.set(t.parentElement, q);
16352
+ vo.set(t.parentElement, q);
16343
16353
  }
16344
16354
  continue;
16345
16355
  }
@@ -16367,22 +16377,22 @@ async function Kl(t, e, o, i) {
16367
16377
  }
16368
16378
  if (ie)
16369
16379
  try {
16370
- let q = Nl(v), Y = await Promise.all(q.map(Fl));
16380
+ let q = Nl(x), Y = await Promise.all(q.map(Fl));
16371
16381
  E.style.backgroundImage = Y.join(", ");
16372
16382
  } catch (q) {
16373
16383
  console.warn(`[snapdom] Failed to inline background-image for ${g}`, q);
16374
16384
  }
16375
16385
  re && (E.style.backgroundColor = C);
16376
- let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ie || re || xe || be;
16386
+ let se = E.childNodes.length > 0 || ((p = E.textContent) == null ? void 0 : p.trim()) !== "" || ie || re || ve || be;
16377
16387
  if (L && L.length && t.parentElement) {
16378
- let q = xo.get(t.parentElement) || /* @__PURE__ */ new Map(), Y = ca(t, r), le = ma(t, getComputedStyle(t, g), Y);
16388
+ let q = vo.get(t.parentElement) || /* @__PURE__ */ new Map(), Y = ca(t, r), le = ma(t, getComputedStyle(t, g), Y);
16379
16389
  for (let { name: Z } of L) {
16380
16390
  if (!Z)
16381
16391
  continue;
16382
16392
  let U = le.get(t, Z);
16383
16393
  q.set(Z, U);
16384
16394
  }
16385
- xo.set(t.parentElement, q);
16395
+ vo.set(t.parentElement, q);
16386
16396
  }
16387
16397
  if (!se)
16388
16398
  continue;
@@ -16465,10 +16475,10 @@ function Tf(t, e) {
16465
16475
  };
16466
16476
  if (!p.size)
16467
16477
  return;
16468
- let v = new Set(p), C = /* @__PURE__ */ new Set();
16469
- for (; v.size; ) {
16470
- let _ = v.values().next().value;
16471
- if (v.delete(_), !_ || m.has(_) || C.has(_))
16478
+ let x = new Set(p), C = /* @__PURE__ */ new Set();
16479
+ for (; x.size; ) {
16480
+ let _ = x.values().next().value;
16481
+ if (x.delete(_), !_ || m.has(_) || C.has(_))
16472
16482
  continue;
16473
16483
  let D = L(_);
16474
16484
  if (!D) {
@@ -16483,13 +16493,13 @@ function Tf(t, e) {
16483
16493
  let G = d(j);
16484
16494
  if (G && G.startsWith("#")) {
16485
16495
  let ie = G.slice(1).trim();
16486
- ie && !m.has(ie) && !C.has(ie) && v.add(ie);
16496
+ ie && !m.has(ie) && !C.has(ie) && x.add(ie);
16487
16497
  }
16488
16498
  let Q = ((z = j.getAttribute) == null ? void 0 : z.call(j, "style")) || "";
16489
- Q && b(Q, v);
16499
+ Q && b(Q, x);
16490
16500
  for (let ie of r) {
16491
16501
  let re = (P = j.getAttribute) == null ? void 0 : P.call(j, ie);
16492
- re && b(re, v);
16502
+ re && b(re, x);
16493
16503
  }
16494
16504
  }
16495
16505
  }
@@ -16513,14 +16523,14 @@ function Rf(t, e) {
16513
16523
  let b = Df(s, t), u = If(e, b, l);
16514
16524
  if (!u)
16515
16525
  continue;
16516
- let h = s.getBoundingClientRect(), f = h.width, L = h.height, v = h.left - i.left;
16517
- if (!(f > 0 && L > 0) || !Number.isFinite(v))
16526
+ let h = s.getBoundingClientRect(), f = h.width, L = h.height, x = h.left - i.left;
16527
+ if (!(f > 0 && L > 0) || !Number.isFinite(x))
16518
16528
  continue;
16519
16529
  let C = p != null ? p + o : o + (a - L - g);
16520
16530
  if (!Number.isFinite(C))
16521
16531
  continue;
16522
16532
  let z = Number.parseInt(d.zIndex, 10), P = Number.isFinite(z), _ = P ? Math.max(z, 1) + 1 : 2, D = P ? z - 1 : 0, T = u.cloneNode(!1);
16523
- T.setAttribute(l, "1"), T.style.position = "sticky", T.style.left = `${v}px`, T.style.top = `${C}px`, T.style.width = `${f}px`, T.style.height = `${L}px`, T.style.visibility = "hidden", T.style.zIndex = String(D), T.style.overflow = "hidden", T.style.background = "transparent", T.style.boxShadow = "none", T.style.filter = "none", (c = u.parentElement) == null || c.insertBefore(T, u), u.style.position = "absolute", u.style.left = `${v}px`, u.style.top = `${C}px`, u.style.bottom = "auto", u.style.zIndex = String(_), u.style.pointerEvents = "none";
16533
+ T.setAttribute(l, "1"), T.style.position = "sticky", T.style.left = `${x}px`, T.style.top = `${C}px`, T.style.width = `${f}px`, T.style.height = `${L}px`, T.style.visibility = "hidden", T.style.zIndex = String(D), T.style.overflow = "hidden", T.style.background = "transparent", T.style.boxShadow = "none", T.style.filter = "none", (c = u.parentElement) == null || c.insertBefore(T, u), u.style.position = "absolute", u.style.left = `${x}px`, u.style.top = `${C}px`, u.style.bottom = "auto", u.style.zIndex = String(_), u.style.pointerEvents = "none";
16524
16534
  }
16525
16535
  }
16526
16536
  function Rl(t) {
@@ -16890,12 +16900,12 @@ function r1(t, e) {
16890
16900
  if (l.length === 6 && l.every(Number.isFinite)) {
16891
16901
  let [r, c, s, d] = l, m = Math.sqrt(r * r + c * c) || 0, p = 0, g = 0, b = 0, u = 0, h = 0, f = 0;
16892
16902
  m > 0 && (p = r / m, g = c / m, b = p * s + g * d, u = s - p * b, h = d - g * b, f = Math.sqrt(u * u + h * h) || 0, f > 0 ? b = b / f : b = 0);
16893
- let L = m, v = 0, C = b * f, z = f;
16903
+ let L = m, x = 0, C = b * f, z = f;
16894
16904
  try {
16895
- e.style.transform = `matrix(${L}, ${v}, ${C}, ${z}, 0, 0)`;
16905
+ e.style.transform = `matrix(${L}, ${x}, ${C}, ${z}, 0, 0)`;
16896
16906
  } catch {
16897
16907
  }
16898
- return { a: L, b: v, c: C, d: z };
16908
+ return { a: L, b: x, c: C, d: z };
16899
16909
  }
16900
16910
  }
16901
16911
  try {
@@ -16907,13 +16917,13 @@ function r1(t, e) {
16907
16917
  }
16908
16918
  function Dl(t, e, o, i, a) {
16909
16919
  let l = o.a, r = o.b, c = o.c, s = o.d, d = o.e || 0, m = o.f || 0;
16910
- function p(L, v) {
16911
- let C = L - i, z = v - a, P = l * C + c * z, _ = r * C + s * z;
16920
+ function p(L, x) {
16921
+ let C = L - i, z = x - a, P = l * C + c * z, _ = r * C + s * z;
16912
16922
  return P += i + d, _ += a + m, [P, _];
16913
16923
  }
16914
16924
  let g = [p(0, 0), p(t, 0), p(0, e), p(t, e)], b = 1 / 0, u = 1 / 0, h = -1 / 0, f = -1 / 0;
16915
- for (let [L, v] of g)
16916
- L < b && (b = L), v < u && (u = v), L > h && (h = L), v > f && (f = v);
16925
+ for (let [L, x] of g)
16926
+ L < b && (b = L), x < u && (u = x), L > h && (h = L), x > f && (f = x);
16917
16927
  return { minX: b, minY: u, maxX: h, maxY: f, width: h - b, height: f - u };
16918
16928
  }
16919
16929
  function n1(t, e, o) {
@@ -16954,8 +16964,8 @@ function s1(t) {
16954
16964
  }
16955
16965
  let h = g("translate");
16956
16966
  if (h) {
16957
- let f = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, L = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0, v = "x" in h && ((m = h.x) != null && m.unit) ? h.x.unit : "px", C = "y" in h && ((p = h.y) != null && p.unit) ? h.y.unit : "px";
16958
- e.translate = `${f}${v} ${L}${C}`;
16967
+ let f = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, L = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0, x = "x" in h && ((m = h.x) != null && m.unit) ? h.x.unit : "px", C = "y" in h && ((p = h.y) != null && p.unit) ? h.y.unit : "px";
16968
+ e.translate = `${f}${x} ${L}${C}`;
16959
16969
  } else {
16960
16970
  let f = getComputedStyle(t);
16961
16971
  e.translate = f.translate && f.translate !== "none" ? f.translate : null;
@@ -16996,7 +17006,7 @@ function Ql(t) {
16996
17006
  }
16997
17007
  }
16998
17008
  async function ql(t, e) {
16999
- var v;
17009
+ var x;
17000
17010
  if (!t)
17001
17011
  throw new Error("Element cannot be null or undefined");
17002
17012
  qg(e.cache);
@@ -17008,7 +17018,7 @@ async function ql(t, e) {
17008
17018
  } finally {
17009
17019
  u();
17010
17020
  }
17011
- if (l = { clone: r, classCSS: c, styleCache: s, ...l }, await ho("afterClone", l), Uf(l.clone), ((v = l.options) == null ? void 0 : v.excludeMode) === "remove")
17021
+ if (l = { clone: r, classCSS: c, styleCache: s, ...l }, await ho("afterClone", l), Uf(l.clone), ((x = l.options) == null ? void 0 : x.excludeMode) === "remove")
17012
17022
  try {
17013
17023
  qf(l.element, l.clone, l.styleCache);
17014
17024
  } catch (C) {
@@ -17052,8 +17062,8 @@ async function ql(t, e) {
17052
17062
  let T = (Te, Re = NaN) => {
17053
17063
  let Ne = typeof Te == "string" ? parseFloat(Te) : Te;
17054
17064
  return Number.isFinite(Ne) ? Ne : Re;
17055
- }, B = T(l.options.width), j = T(l.options.height), G = _, Q = D, ie = Number.isFinite(B), re = Number.isFinite(j), xe = D > 0 ? _ / D : 1;
17056
- ie && re ? (G = Math.max(1, me(B)), Q = Math.max(1, me(j))) : ie ? (G = Math.max(1, me(B)), Q = Math.max(1, me(G / (xe || 1)))) : re ? (Q = Math.max(1, me(j)), G = Math.max(1, me(Q * (xe || 1)))) : (G = _, Q = D);
17065
+ }, B = T(l.options.width), j = T(l.options.height), G = _, Q = D, ie = Number.isFinite(B), re = Number.isFinite(j), ve = D > 0 ? _ / D : 1;
17066
+ ie && re ? (G = Math.max(1, me(B)), Q = Math.max(1, me(j))) : ie ? (G = Math.max(1, me(B)), Q = Math.max(1, me(G / (ve || 1)))) : re ? (Q = Math.max(1, me(j)), G = Math.max(1, me(Q * (ve || 1)))) : (G = _, Q = D);
17057
17067
  let be = 0, E = 0, $ = _, te = D;
17058
17068
  if (!i && b && Number.isFinite(b.a)) {
17059
17069
  let Te = { a: b.a, b: b.b || 0, c: b.c || 0, d: b.d || 1, e: 0, f: 0 }, Re = Dl(_, D, Te, 0, 0);
@@ -17116,52 +17126,52 @@ Se.capture = async (t, e, o) => {
17116
17126
  if (o !== $l)
17117
17127
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17118
17128
  let i = await ql(t, e), a = { img: async (u, h) => {
17119
- let { toImg: f } = await import("./toImg-0ca56397.js");
17129
+ let { toImg: f } = await import("./toImg-e5f57246.js");
17120
17130
  return f(i, { ...u, ...h || {} });
17121
17131
  }, svg: async (u, h) => {
17122
- let { toSvg: f } = await import("./toImg-0ca56397.js");
17132
+ let { toSvg: f } = await import("./toImg-e5f57246.js");
17123
17133
  return f(i, { ...u, ...h || {} });
17124
17134
  }, canvas: async (u, h) => {
17125
- let { toCanvas: f } = await import("./toCanvas-98141454.js");
17135
+ let { toCanvas: f } = await import("./toCanvas-46a8ad3a.js");
17126
17136
  return f(i, { ...u, ...h || {} });
17127
17137
  }, blob: async (u, h) => {
17128
- let { toBlob: f } = await import("./toBlob-ad6cc35a.js");
17138
+ let { toBlob: f } = await import("./toBlob-881b3d23.js");
17129
17139
  return f(i, { ...u, ...h || {} });
17130
17140
  }, png: async (u, h) => {
17131
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-6880f738.js");
17141
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17132
17142
  return f(i, { ...u, ...h || {}, format: "png" });
17133
17143
  }, jpeg: async (u, h) => {
17134
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-6880f738.js");
17144
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17135
17145
  return f(i, { ...u, ...h || {}, format: "jpeg" });
17136
17146
  }, webp: async (u, h) => {
17137
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-6880f738.js");
17147
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17138
17148
  return f(i, { ...u, ...h || {}, format: "webp" });
17139
17149
  }, download: async (u, h) => {
17140
- let { download: f } = await import("./download-4477d123.js");
17150
+ let { download: f } = await import("./download-1e14a88f.js");
17141
17151
  return f(i, { ...u, ...h || {} });
17142
17152
  } }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
17143
- let { toSvg: h } = await import("./toImg-0ca56397.js");
17153
+ let { toSvg: h } = await import("./toImg-e5f57246.js");
17144
17154
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17145
17155
  }, canvas: async (u) => {
17146
- let { toCanvas: h } = await import("./toCanvas-98141454.js");
17156
+ let { toCanvas: h } = await import("./toCanvas-46a8ad3a.js");
17147
17157
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17148
17158
  }, png: async (u) => {
17149
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-6880f738.js");
17159
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17150
17160
  return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
17151
17161
  }, jpeg: async (u) => {
17152
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-6880f738.js");
17162
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17153
17163
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17154
17164
  }, jpg: async (u) => {
17155
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-6880f738.js");
17165
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17156
17166
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17157
17167
  }, webp: async (u) => {
17158
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-6880f738.js");
17168
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17159
17169
  return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
17160
17170
  }, blob: async (u) => {
17161
- let { toBlob: h } = await import("./toBlob-ad6cc35a.js");
17171
+ let { toBlob: h } = await import("./toBlob-881b3d23.js");
17162
17172
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17163
17173
  }, img: async (u) => {
17164
- let { toImg: h } = await import("./toImg-0ca56397.js");
17174
+ let { toImg: h } = await import("./toImg-e5f57246.js");
17165
17175
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17166
17176
  } } }, r = await W0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
17167
17177
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -17175,9 +17185,9 @@ Se.capture = async (t, e, o) => {
17175
17185
  let L = s[u];
17176
17186
  if (!L)
17177
17187
  throw new Error(`[snapdom] Unknown export type: ${u}`);
17178
- let v = d(u, h), C = { ...e, export: { type: u, options: v, url: i } };
17188
+ let x = d(u, h), C = { ...e, export: { type: u, options: x, url: i } };
17179
17189
  await ho("beforeExport", C);
17180
- let z = await L(C, v);
17190
+ let z = await L(C, x);
17181
17191
  return await ho("afterExport", C, z), m || (m = !0, await ho("afterSnap", e)), z;
17182
17192
  };
17183
17193
  return p = p.then(f);
@@ -17352,8 +17362,8 @@ class w1 {
17352
17362
  );
17353
17363
  const s = o, d = Math.max(this.captureRect.width / 48, this.captureRect.height / 48), m = 8, p = 12;
17354
17364
  this.ctx.font = `bold ${d}px Arial, sans-serif`, this.ctx.textAlign = "center", this.ctx.textBaseline = "top";
17355
- const b = this.ctx.measureText(s).width, u = d, h = (this.captureRect.width - b) / 2 - m * 2, f = p, L = b + m * 4, v = u + m * 2;
17356
- if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, L, v, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m), this.logoImage && this.logoLoaded) {
17365
+ const b = this.ctx.measureText(s).width, u = d, h = (this.captureRect.width - b) / 2 - m * 2, f = p, L = b + m * 4, x = u + m * 2;
17366
+ if (this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, L, x, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m), this.logoImage && this.logoLoaded) {
17357
17367
  const P = Math.max(this.captureRect.height / 8, 40), _ = this.logoImage.naturalWidth / this.logoImage.naturalHeight;
17358
17368
  let D = P, T = D * _;
17359
17369
  const B = this.captureRect.width / 4;
@@ -17488,7 +17498,7 @@ class w1 {
17488
17498
  return this._frameDelay;
17489
17499
  }
17490
17500
  }
17491
- const x1 = {
17501
+ const v1 = {
17492
17502
  name: "IdmCapture",
17493
17503
  props: {
17494
17504
  isPlaying: {
@@ -17661,7 +17671,7 @@ const x1 = {
17661
17671
  this.recorder.downloadMp4(this.mp4Blob, e);
17662
17672
  }
17663
17673
  }
17664
- }, v1 = {
17674
+ }, x1 = {
17665
17675
  key: 0,
17666
17676
  class: "drag-tips text-h4"
17667
17677
  }, A1 = { class: "size-hint mt-2 ml-2 text-body-2 px-2 py-1 rounded font-weight-bold bg-background" }, k1 = { class: "size-hint mt-2 ml-2 text-body-2 px-2 py-1 rounded font-weight-bold bg-background" }, L1 = { class: "text-body-2" }, z1 = {
@@ -17684,7 +17694,7 @@ function P1(t, e, o, i, a, l) {
17684
17694
  onMousemove: e[3] || (e[3] = (...c) => l.handleMouseMove && l.handleMouseMove(...c)),
17685
17695
  onMouseup: e[4] || (e[4] = (...c) => l.handleMouseUp && l.handleMouseUp(...c))
17686
17696
  }, [
17687
- a.actionStatus === 1 ? (A(), R("div", v1, y(t.$t("tips.crossHairText")), 1)) : I("", !0),
17697
+ a.actionStatus === 1 ? (A(), R("div", x1, y(t.$t("tips.crossHairText")), 1)) : I("", !0),
17688
17698
  a.actionStatus >= 2 ? (A(), R("div", {
17689
17699
  key: 1,
17690
17700
  class: "selection-box",
@@ -17743,7 +17753,7 @@ function P1(t, e, o, i, a, l) {
17743
17753
  ], 6)) : I("", !0)
17744
17754
  ], 32);
17745
17755
  }
17746
- const er = /* @__PURE__ */ ne(x1, [["render", P1], ["__scopeId", "data-v-0eb7ef02"]]);
17756
+ const er = /* @__PURE__ */ ne(v1, [["render", P1], ["__scopeId", "data-v-0eb7ef02"]]);
17747
17757
  const S1 = {
17748
17758
  name: "IdmBottomBar",
17749
17759
  components: { DateTimePicker: Xo, IdmCapture: er },
@@ -17924,12 +17934,12 @@ function N1(t, e, o, i, a, l) {
17924
17934
  class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
17925
17935
  "min-width": "30"
17926
17936
  }, {
17927
- default: x(() => [
17937
+ default: v(() => [
17928
17938
  N(y(a.intervalHour) + " h ", 1),
17929
17939
  w(p, { activator: "parent" }, {
17930
- default: x(() => [
17940
+ default: v(() => [
17931
17941
  w(m, { class: "pa-1" }, {
17932
- default: x(() => [
17942
+ default: v(() => [
17933
17943
  (A(!0), R(Ce, null, Me(a.intervalOptions, (h, f) => (A(), F(d, {
17934
17944
  key: f,
17935
17945
  value: h,
@@ -17942,11 +17952,11 @@ function N1(t, e, o, i, a, l) {
17942
17952
  "min-width": "30",
17943
17953
  class: "pa-0 text-center text-body-1"
17944
17954
  }, {
17945
- default: x(() => [
17955
+ default: v(() => [
17946
17956
  w(s, {
17947
17957
  onClick: (L) => a.intervalHour = h
17948
17958
  }, {
17949
- default: x(() => [
17959
+ default: v(() => [
17950
17960
  N(y(h) + "h", 1)
17951
17961
  ]),
17952
17962
  _: 2
@@ -17976,7 +17986,7 @@ function N1(t, e, o, i, a, l) {
17976
17986
  interactive: !0,
17977
17987
  "open-on-click": !1
17978
17988
  }, {
17979
- activator: x(({ props: h }) => [
17989
+ activator: v(({ props: h }) => [
17980
17990
  a.gifEnabled ? (A(), F(g, V({
17981
17991
  key: 1,
17982
17992
  disabled: a.frameCount < 1
@@ -17987,7 +17997,7 @@ function N1(t, e, o, i, a, l) {
17987
17997
  variant: "text",
17988
17998
  onClick: e[7] || (e[7] = (f) => a.gifEnabled = !a.gifEnabled)
17989
17999
  }), {
17990
- default: x(() => e[15] || (e[15] = [
18000
+ default: v(() => e[15] || (e[15] = [
17991
18001
  n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
17992
18002
  ])),
17993
18003
  _: 2,
@@ -17999,7 +18009,7 @@ function N1(t, e, o, i, a, l) {
17999
18009
  variant: "text",
18000
18010
  onClick: e[6] || (e[6] = (f) => a.gifEnabled = !a.gifEnabled)
18001
18011
  }), {
18002
- default: x(() => e[14] || (e[14] = [
18012
+ default: v(() => e[14] || (e[14] = [
18003
18013
  n("i", { class: "iconfont icon-record" }, null, -1)
18004
18014
  ])),
18005
18015
  _: 2,
@@ -18014,7 +18024,7 @@ function N1(t, e, o, i, a, l) {
18014
18024
  interactive: !0,
18015
18025
  "open-on-click": !1
18016
18026
  }, {
18017
- activator: x(({ props: h }) => [
18027
+ activator: v(({ props: h }) => [
18018
18028
  w(g, V(h, {
18019
18029
  icon: "",
18020
18030
  size: "small",
@@ -18022,7 +18032,7 @@ function N1(t, e, o, i, a, l) {
18022
18032
  variant: "text",
18023
18033
  onClick: l.handleReset
18024
18034
  }), {
18025
- default: x(() => e[16] || (e[16] = [
18035
+ default: v(() => e[16] || (e[16] = [
18026
18036
  n("i", { class: "iconfont icon-Reset" }, null, -1)
18027
18037
  ])),
18028
18038
  _: 2,
@@ -18037,7 +18047,7 @@ function N1(t, e, o, i, a, l) {
18037
18047
  interactive: !0,
18038
18048
  "open-on-click": !1
18039
18049
  }, {
18040
- activator: x(({ props: h }) => [
18050
+ activator: v(({ props: h }) => [
18041
18051
  w(g, V(h, {
18042
18052
  icon: "",
18043
18053
  size: "small",
@@ -18045,7 +18055,7 @@ function N1(t, e, o, i, a, l) {
18045
18055
  variant: "text",
18046
18056
  onClick: l.handleBackward
18047
18057
  }), {
18048
- default: x(() => e[17] || (e[17] = [
18058
+ default: v(() => e[17] || (e[17] = [
18049
18059
  n("i", { class: "iconfont icon-Backward" }, null, -1)
18050
18060
  ])),
18051
18061
  _: 2,
@@ -18060,7 +18070,7 @@ function N1(t, e, o, i, a, l) {
18060
18070
  interactive: !0,
18061
18071
  "open-on-click": !1
18062
18072
  }, {
18063
- activator: x(({ props: h }) => [
18073
+ activator: v(({ props: h }) => [
18064
18074
  a.paused ? (A(), F(g, V({ key: 0 }, h, {
18065
18075
  icon: "",
18066
18076
  size: "small",
@@ -18068,7 +18078,7 @@ function N1(t, e, o, i, a, l) {
18068
18078
  variant: "text",
18069
18079
  onClick: l.handlePlay
18070
18080
  }), {
18071
- default: x(() => e[18] || (e[18] = [
18081
+ default: v(() => e[18] || (e[18] = [
18072
18082
  n("i", { class: "iconfont icon-Play" }, null, -1)
18073
18083
  ])),
18074
18084
  _: 2,
@@ -18083,7 +18093,7 @@ function N1(t, e, o, i, a, l) {
18083
18093
  interactive: !0,
18084
18094
  "open-on-click": !1
18085
18095
  }, {
18086
- activator: x(({ props: h }) => [
18096
+ activator: v(({ props: h }) => [
18087
18097
  a.paused ? I("", !0) : (A(), F(g, V({ key: 0 }, h, {
18088
18098
  icon: "",
18089
18099
  size: "small",
@@ -18091,7 +18101,7 @@ function N1(t, e, o, i, a, l) {
18091
18101
  variant: "text",
18092
18102
  onClick: l.handlePause
18093
18103
  }), {
18094
- default: x(() => e[19] || (e[19] = [
18104
+ default: v(() => e[19] || (e[19] = [
18095
18105
  n("i", { class: "iconfont icon-Pause" }, null, -1)
18096
18106
  ])),
18097
18107
  _: 2,
@@ -18106,7 +18116,7 @@ function N1(t, e, o, i, a, l) {
18106
18116
  interactive: !0,
18107
18117
  "open-on-click": !1
18108
18118
  }, {
18109
- activator: x(({ props: h }) => [
18119
+ activator: v(({ props: h }) => [
18110
18120
  w(g, V(h, {
18111
18121
  icon: "",
18112
18122
  size: "small",
@@ -18114,7 +18124,7 @@ function N1(t, e, o, i, a, l) {
18114
18124
  variant: "text",
18115
18125
  onClick: l.handleForward
18116
18126
  }), {
18117
- default: x(() => e[20] || (e[20] = [
18127
+ default: v(() => e[20] || (e[20] = [
18118
18128
  n("i", { class: "iconfont icon-Forward" }, null, -1)
18119
18129
  ])),
18120
18130
  _: 2,
@@ -18134,7 +18144,7 @@ function N1(t, e, o, i, a, l) {
18134
18144
  text: t.$t("weather.windBarbs"),
18135
18145
  location: "top"
18136
18146
  }, {
18137
- activator: x(({ props: h }) => {
18147
+ activator: v(({ props: h }) => {
18138
18148
  var f, L;
18139
18149
  return [
18140
18150
  w(g, V(h, {
@@ -18144,9 +18154,9 @@ function N1(t, e, o, i, a, l) {
18144
18154
  height: "24",
18145
18155
  width: "24",
18146
18156
  "min-width": "24",
18147
- onClick: e[8] || (e[8] = (v) => l.handleClickFastWeather("wind"))
18157
+ onClick: e[8] || (e[8] = (x) => l.handleClickFastWeather("wind"))
18148
18158
  }), {
18149
- default: x(() => e[21] || (e[21] = [
18159
+ default: v(() => e[21] || (e[21] = [
18150
18160
  n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
18151
18161
  ])),
18152
18162
  _: 2,
@@ -18160,7 +18170,7 @@ function N1(t, e, o, i, a, l) {
18160
18170
  text: t.$t("weather.sigWaveHeight"),
18161
18171
  location: "top"
18162
18172
  }, {
18163
- activator: x(({ props: h }) => {
18173
+ activator: v(({ props: h }) => {
18164
18174
  var f, L;
18165
18175
  return [
18166
18176
  w(g, V(h, {
@@ -18170,9 +18180,9 @@ function N1(t, e, o, i, a, l) {
18170
18180
  height: "24",
18171
18181
  width: "24",
18172
18182
  "min-width": "24",
18173
- onClick: e[9] || (e[9] = (v) => l.handleClickFastWeather("sig-wave-height"))
18183
+ onClick: e[9] || (e[9] = (x) => l.handleClickFastWeather("sig-wave-height"))
18174
18184
  }), {
18175
- default: x(() => [
18185
+ default: v(() => [
18176
18186
  n("i", V(h, { class: "iconfont icon-a-WaveHeight" }), null, 16)
18177
18187
  ]),
18178
18188
  _: 2
@@ -18185,7 +18195,7 @@ function N1(t, e, o, i, a, l) {
18185
18195
  text: t.$t("weather.currentDirection"),
18186
18196
  location: "top"
18187
18197
  }, {
18188
- activator: x(({ props: h }) => {
18198
+ activator: v(({ props: h }) => {
18189
18199
  var f, L;
18190
18200
  return [
18191
18201
  w(g, V(h, {
@@ -18195,9 +18205,9 @@ function N1(t, e, o, i, a, l) {
18195
18205
  height: "24",
18196
18206
  width: "24",
18197
18207
  "min-width": "24",
18198
- onClick: e[10] || (e[10] = (v) => l.handleClickFastWeather("current-direction"))
18208
+ onClick: e[10] || (e[10] = (x) => l.handleClickFastWeather("current-direction"))
18199
18209
  }), {
18200
- default: x(() => [
18210
+ default: v(() => [
18201
18211
  n("i", V(h, { class: "iconfont icon-Current" }), null, 16)
18202
18212
  ]),
18203
18213
  _: 2
@@ -18210,7 +18220,7 @@ function N1(t, e, o, i, a, l) {
18210
18220
  text: t.$t("weather.weatherLayers"),
18211
18221
  location: "top"
18212
18222
  }, {
18213
- activator: x(({ props: h }) => [
18223
+ activator: v(({ props: h }) => [
18214
18224
  w(g, V(h, {
18215
18225
  class: "pa-1 d-flex",
18216
18226
  variant: "text",
@@ -18219,7 +18229,7 @@ function N1(t, e, o, i, a, l) {
18219
18229
  "min-width": "24",
18220
18230
  onClick: l.handleClickFastMore
18221
18231
  }), {
18222
- default: x(() => [
18232
+ default: v(() => [
18223
18233
  n("i", V(h, { class: "iconfont icon-dots-align" }), null, 16)
18224
18234
  ]),
18225
18235
  _: 2
@@ -18241,7 +18251,7 @@ function N1(t, e, o, i, a, l) {
18241
18251
  color: a.source === "GFS" ? "primary" : "",
18242
18252
  onClick: e[11] || (e[11] = (h) => a.source = "GFS")
18243
18253
  }, {
18244
- default: x(() => e[22] || (e[22] = [
18254
+ default: v(() => e[22] || (e[22] = [
18245
18255
  N(" NOAA ", -1)
18246
18256
  ])),
18247
18257
  _: 1,
@@ -18254,7 +18264,7 @@ function N1(t, e, o, i, a, l) {
18254
18264
  color: a.source === "ECMWF" ? "primary" : "",
18255
18265
  onClick: e[12] || (e[12] = (h) => a.source = "ECMWF")
18256
18266
  }, {
18257
- default: x(() => e[23] || (e[23] = [
18267
+ default: v(() => e[23] || (e[23] = [
18258
18268
  N(" ECMWF ", -1)
18259
18269
  ])),
18260
18270
  _: 1,
@@ -18282,7 +18292,7 @@ function N1(t, e, o, i, a, l) {
18282
18292
  color: "primary",
18283
18293
  onClick: e[13] || (e[13] = (h) => a.showTimezone = !a.showTimezone)
18284
18294
  }, {
18285
- default: x(() => [
18295
+ default: v(() => [
18286
18296
  N(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18287
18297
  ]),
18288
18298
  _: 1
@@ -18418,7 +18428,7 @@ function X1(t, e, o, i, a, l) {
18418
18428
  height: "30",
18419
18429
  onClick: l.handleReset
18420
18430
  }, {
18421
- default: x(() => e[4] || (e[4] = [
18431
+ default: v(() => e[4] || (e[4] = [
18422
18432
  n("i", { class: "iconfont icon-Reset" }, null, -1)
18423
18433
  ])),
18424
18434
  _: 1,
@@ -18433,7 +18443,7 @@ function X1(t, e, o, i, a, l) {
18433
18443
  height: "30",
18434
18444
  onClick: l.handleBackward
18435
18445
  }, {
18436
- default: x(() => e[5] || (e[5] = [
18446
+ default: v(() => e[5] || (e[5] = [
18437
18447
  n("i", { class: "iconfont icon-Backward" }, null, -1)
18438
18448
  ])),
18439
18449
  _: 1,
@@ -18461,7 +18471,7 @@ function X1(t, e, o, i, a, l) {
18461
18471
  height: "30",
18462
18472
  onClick: l.handleForward
18463
18473
  }, {
18464
- default: x(() => e[6] || (e[6] = [
18474
+ default: v(() => e[6] || (e[6] = [
18465
18475
  n("i", { class: "iconfont icon-Forward" }, null, -1)
18466
18476
  ])),
18467
18477
  _: 1,
@@ -18477,7 +18487,7 @@ function X1(t, e, o, i, a, l) {
18477
18487
  height: "30",
18478
18488
  onClick: l.handlePlay
18479
18489
  }, {
18480
- default: x(() => e[7] || (e[7] = [
18490
+ default: v(() => e[7] || (e[7] = [
18481
18491
  n("i", { class: "iconfont icon-Play" }, null, -1)
18482
18492
  ])),
18483
18493
  _: 1,
@@ -18492,7 +18502,7 @@ function X1(t, e, o, i, a, l) {
18492
18502
  height: "30",
18493
18503
  onClick: l.handlePause
18494
18504
  }, {
18495
- default: x(() => e[8] || (e[8] = [
18505
+ default: v(() => e[8] || (e[8] = [
18496
18506
  n("i", { class: "iconfont icon-Pause" }, null, -1)
18497
18507
  ])),
18498
18508
  _: 1,
@@ -18785,7 +18795,7 @@ function cy(t, e, o, i, a, l) {
18785
18795
  interactive: !0,
18786
18796
  "open-on-click": !1
18787
18797
  }, {
18788
- activator: x(({ props: u }) => [
18798
+ activator: v(({ props: u }) => [
18789
18799
  a.gifEnabled ? (A(), F(c, V({
18790
18800
  key: 1,
18791
18801
  disabled: a.frameCount < 1
@@ -18796,7 +18806,7 @@ function cy(t, e, o, i, a, l) {
18796
18806
  variant: "text",
18797
18807
  onClick: e[3] || (e[3] = (h) => a.gifEnabled = !a.gifEnabled)
18798
18808
  }), {
18799
- default: x(() => e[15] || (e[15] = [
18809
+ default: v(() => e[15] || (e[15] = [
18800
18810
  n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
18801
18811
  ])),
18802
18812
  _: 2,
@@ -18808,7 +18818,7 @@ function cy(t, e, o, i, a, l) {
18808
18818
  variant: "text",
18809
18819
  onClick: e[2] || (e[2] = (h) => a.gifEnabled = !a.gifEnabled)
18810
18820
  }), {
18811
- default: x(() => e[14] || (e[14] = [
18821
+ default: v(() => e[14] || (e[14] = [
18812
18822
  n("i", { class: "iconfont icon-record" }, null, -1)
18813
18823
  ])),
18814
18824
  _: 2,
@@ -18823,7 +18833,7 @@ function cy(t, e, o, i, a, l) {
18823
18833
  interactive: !0,
18824
18834
  "open-on-click": !1
18825
18835
  }, {
18826
- activator: x(({ props: u }) => [
18836
+ activator: v(({ props: u }) => [
18827
18837
  w(c, V(u, {
18828
18838
  icon: "",
18829
18839
  size: "small",
@@ -18831,7 +18841,7 @@ function cy(t, e, o, i, a, l) {
18831
18841
  variant: "text",
18832
18842
  onClick: l.handleReset
18833
18843
  }), {
18834
- default: x(() => e[16] || (e[16] = [
18844
+ default: v(() => e[16] || (e[16] = [
18835
18845
  n("i", { class: "iconfont icon-Reset" }, null, -1)
18836
18846
  ])),
18837
18847
  _: 2,
@@ -18846,7 +18856,7 @@ function cy(t, e, o, i, a, l) {
18846
18856
  interactive: !0,
18847
18857
  "open-on-click": !1
18848
18858
  }, {
18849
- activator: x(({ props: u }) => [
18859
+ activator: v(({ props: u }) => [
18850
18860
  w(c, V(u, {
18851
18861
  icon: "",
18852
18862
  size: "small",
@@ -18854,7 +18864,7 @@ function cy(t, e, o, i, a, l) {
18854
18864
  variant: "text",
18855
18865
  onClick: l.handleBackward
18856
18866
  }), {
18857
- default: x(() => e[17] || (e[17] = [
18867
+ default: v(() => e[17] || (e[17] = [
18858
18868
  n("i", { class: "iconfont icon-Backward" }, null, -1)
18859
18869
  ])),
18860
18870
  _: 2,
@@ -18869,7 +18879,7 @@ function cy(t, e, o, i, a, l) {
18869
18879
  interactive: !0,
18870
18880
  "open-on-click": !1
18871
18881
  }, {
18872
- activator: x(({ props: u }) => [
18882
+ activator: v(({ props: u }) => [
18873
18883
  a.paused ? (A(), F(c, V({ key: 0 }, u, {
18874
18884
  icon: "",
18875
18885
  size: "small",
@@ -18877,7 +18887,7 @@ function cy(t, e, o, i, a, l) {
18877
18887
  variant: "text",
18878
18888
  onClick: l.handlePlay
18879
18889
  }), {
18880
- default: x(() => e[18] || (e[18] = [
18890
+ default: v(() => e[18] || (e[18] = [
18881
18891
  n("i", { class: "iconfont icon-Play" }, null, -1)
18882
18892
  ])),
18883
18893
  _: 2,
@@ -18892,7 +18902,7 @@ function cy(t, e, o, i, a, l) {
18892
18902
  interactive: !0,
18893
18903
  "open-on-click": !1
18894
18904
  }, {
18895
- activator: x(({ props: u }) => [
18905
+ activator: v(({ props: u }) => [
18896
18906
  a.paused ? I("", !0) : (A(), F(c, V({ key: 0 }, u, {
18897
18907
  icon: "",
18898
18908
  size: "small",
@@ -18900,7 +18910,7 @@ function cy(t, e, o, i, a, l) {
18900
18910
  variant: "text",
18901
18911
  onClick: l.handlePause
18902
18912
  }), {
18903
- default: x(() => e[19] || (e[19] = [
18913
+ default: v(() => e[19] || (e[19] = [
18904
18914
  n("i", { class: "iconfont icon-Pause" }, null, -1)
18905
18915
  ])),
18906
18916
  _: 2,
@@ -18915,7 +18925,7 @@ function cy(t, e, o, i, a, l) {
18915
18925
  interactive: !0,
18916
18926
  "open-on-click": !1
18917
18927
  }, {
18918
- activator: x(({ props: u }) => [
18928
+ activator: v(({ props: u }) => [
18919
18929
  w(c, V(u, {
18920
18930
  icon: "",
18921
18931
  size: "small",
@@ -18923,7 +18933,7 @@ function cy(t, e, o, i, a, l) {
18923
18933
  variant: "text",
18924
18934
  onClick: l.handleForward
18925
18935
  }), {
18926
- default: x(() => e[20] || (e[20] = [
18936
+ default: v(() => e[20] || (e[20] = [
18927
18937
  n("i", { class: "iconfont icon-Forward" }, null, -1)
18928
18938
  ])),
18929
18939
  _: 2,
@@ -18944,12 +18954,12 @@ function cy(t, e, o, i, a, l) {
18944
18954
  class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
18945
18955
  "min-width": "30"
18946
18956
  }, {
18947
- default: x(() => [
18957
+ default: v(() => [
18948
18958
  N(y(a.intervalHour) + " h ", 1),
18949
18959
  w(b, { activator: "parent" }, {
18950
- default: x(() => [
18960
+ default: v(() => [
18951
18961
  w(g, { class: "pa-1" }, {
18952
- default: x(() => [
18962
+ default: v(() => [
18953
18963
  (A(!0), R(Ce, null, Me(a.intervalOptions, (u, h) => (A(), F(p, {
18954
18964
  key: h,
18955
18965
  value: u,
@@ -18962,11 +18972,11 @@ function cy(t, e, o, i, a, l) {
18962
18972
  "min-width": "30",
18963
18973
  class: "pa-0 text-center text-body-1"
18964
18974
  }, {
18965
- default: x(() => [
18975
+ default: v(() => [
18966
18976
  w(m, {
18967
18977
  onClick: (f) => a.intervalHour = u
18968
18978
  }, {
18969
- default: x(() => [
18979
+ default: v(() => [
18970
18980
  N(y(u) + "h", 1)
18971
18981
  ]),
18972
18982
  _: 2
@@ -19011,7 +19021,7 @@ function cy(t, e, o, i, a, l) {
19011
19021
  key: f.key,
19012
19022
  class: ue(["timeline-hour", { active: f.isActive }]),
19013
19023
  style: ge({ width: l.hourWidth + "px" }),
19014
- onClick: (v) => l.handleTimelineClick(h, L)
19024
+ onClick: (x) => l.handleTimelineClick(h, L)
19015
19025
  }, [
19016
19026
  f.isCurrent ? (A(), R("div", ey, [
19017
19027
  n("span", ty, y(l.playBubbleText), 1),
@@ -19033,7 +19043,7 @@ function cy(t, e, o, i, a, l) {
19033
19043
  text: t.$t("weather.windBarbs"),
19034
19044
  location: "top"
19035
19045
  }, {
19036
- activator: x(({ props: u }) => {
19046
+ activator: v(({ props: u }) => {
19037
19047
  var h, f;
19038
19048
  return [
19039
19049
  w(c, V(u, {
@@ -19045,7 +19055,7 @@ function cy(t, e, o, i, a, l) {
19045
19055
  "min-width": "24",
19046
19056
  onClick: e[8] || (e[8] = (L) => l.handleClickFastWeather("wind"))
19047
19057
  }), {
19048
- default: x(() => e[22] || (e[22] = [
19058
+ default: v(() => e[22] || (e[22] = [
19049
19059
  n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
19050
19060
  ])),
19051
19061
  _: 2,
@@ -19059,7 +19069,7 @@ function cy(t, e, o, i, a, l) {
19059
19069
  text: t.$t("weather.sigWaveHeight"),
19060
19070
  location: "top"
19061
19071
  }, {
19062
- activator: x(({ props: u }) => {
19072
+ activator: v(({ props: u }) => {
19063
19073
  var h, f;
19064
19074
  return [
19065
19075
  w(c, V(u, {
@@ -19071,7 +19081,7 @@ function cy(t, e, o, i, a, l) {
19071
19081
  "min-width": "24",
19072
19082
  onClick: e[9] || (e[9] = (L) => l.handleClickFastWeather("sig-wave-height"))
19073
19083
  }), {
19074
- default: x(() => [
19084
+ default: v(() => [
19075
19085
  n("i", V(u, { class: "iconfont icon-a-WaveHeight" }), null, 16)
19076
19086
  ]),
19077
19087
  _: 2
@@ -19084,7 +19094,7 @@ function cy(t, e, o, i, a, l) {
19084
19094
  text: t.$t("weather.currentDirection"),
19085
19095
  location: "top"
19086
19096
  }, {
19087
- activator: x(({ props: u }) => {
19097
+ activator: v(({ props: u }) => {
19088
19098
  var h, f;
19089
19099
  return [
19090
19100
  w(c, V(u, {
@@ -19096,7 +19106,7 @@ function cy(t, e, o, i, a, l) {
19096
19106
  "min-width": "24",
19097
19107
  onClick: e[10] || (e[10] = (L) => l.handleClickFastWeather("current-direction"))
19098
19108
  }), {
19099
- default: x(() => [
19109
+ default: v(() => [
19100
19110
  n("i", V(u, { class: "iconfont icon-Current" }), null, 16)
19101
19111
  ]),
19102
19112
  _: 2
@@ -19109,7 +19119,7 @@ function cy(t, e, o, i, a, l) {
19109
19119
  text: t.$t("weather.weatherLayers"),
19110
19120
  location: "top"
19111
19121
  }, {
19112
- activator: x(({ props: u }) => [
19122
+ activator: v(({ props: u }) => [
19113
19123
  w(c, V(u, {
19114
19124
  class: "pa-1 d-flex",
19115
19125
  variant: "text",
@@ -19118,7 +19128,7 @@ function cy(t, e, o, i, a, l) {
19118
19128
  "min-width": "24",
19119
19129
  onClick: l.handleClickFastMore
19120
19130
  }), {
19121
- default: x(() => [
19131
+ default: v(() => [
19122
19132
  n("i", V(u, { class: "iconfont icon-dots-align" }), null, 16)
19123
19133
  ]),
19124
19134
  _: 2
@@ -19139,7 +19149,7 @@ function cy(t, e, o, i, a, l) {
19139
19149
  color: a.source === "GFS" ? "primary" : "",
19140
19150
  onClick: e[11] || (e[11] = (u) => a.source = "GFS")
19141
19151
  }, {
19142
- default: x(() => e[23] || (e[23] = [
19152
+ default: v(() => e[23] || (e[23] = [
19143
19153
  N(" NOAA ", -1)
19144
19154
  ])),
19145
19155
  _: 1,
@@ -19152,7 +19162,7 @@ function cy(t, e, o, i, a, l) {
19152
19162
  color: a.source === "ECMWF" ? "primary" : "",
19153
19163
  onClick: e[12] || (e[12] = (u) => a.source = "ECMWF")
19154
19164
  }, {
19155
- default: x(() => e[24] || (e[24] = [
19165
+ default: v(() => e[24] || (e[24] = [
19156
19166
  N(" ECMWF ", -1)
19157
19167
  ])),
19158
19168
  _: 1,
@@ -19180,7 +19190,7 @@ function cy(t, e, o, i, a, l) {
19180
19190
  color: "primary",
19181
19191
  onClick: e[13] || (e[13] = (u) => a.showTimezone = !a.showTimezone)
19182
19192
  }, {
19183
- default: x(() => [
19193
+ default: v(() => [
19184
19194
  N(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
19185
19195
  ]),
19186
19196
  _: 1
@@ -19193,7 +19203,7 @@ function cy(t, e, o, i, a, l) {
19193
19203
  const my = /* @__PURE__ */ ne(O1, [["render", cy]]), dy = {
19194
19204
  name: "IdmGL4",
19195
19205
  components: {
19196
- IdmOtherLayer: vc,
19206
+ IdmOtherLayer: xc,
19197
19207
  IdmWeatherLayer: pd,
19198
19208
  IdmTropicals: Gl,
19199
19209
  IdmMeasure: _p,
@@ -19245,10 +19255,14 @@ const my = /* @__PURE__ */ ne(O1, [["render", cy]]), dy = {
19245
19255
  watch: {
19246
19256
  layerVersion: {
19247
19257
  handler() {
19248
- var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _;
19258
+ var t, e, o, i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _;
19249
19259
  if (this.map) {
19250
19260
  const D = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((Q) => Q === G)), T = this.autoActive && this.weatherCheckList.some((G) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((Q) => Q === G)), B = this.otherCheckList.some((G) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((Q) => Q === G)), j = T || B;
19251
- (this.mapFeather === "nautical" || this.mapFeather === "satellite") && (D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (l = this.map) != null && l.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (r = this.map) != null && r.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none"))), j ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (L = this.map) != null && L.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((v = this.map) != null && v.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((z = this.map) != null && z.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
19261
+ if (this.mapFeather === "nautical" || this.mapFeather === "satellite") {
19262
+ const G = localStorage.getItem("nauticalLayerCacheGL4") === "hi" ? "hi" : "i4";
19263
+ D ? ((t = this.map) != null && t.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), (e = this.map) != null && e.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), (o = this.map) != null && o.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), (i = this.map) != null && i.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), (a = this.map) != null && a.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), (l = this.map) != null && l.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), (r = this.map) != null && r.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible"), (c = this.map) != null && c.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible")) : ((s = this.map) != null && s.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", G === "hi" ? "visible" : "none"), (d = this.map) != null && d.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", G === "i4" ? "visible" : "none"), (m = this.map) != null && m.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), (p = this.map) != null && p.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), (g = this.map) != null && g.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), (b = this.map) != null && b.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), (u = this.map) != null && u.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none"), (h = this.map) != null && h.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none"));
19264
+ }
19265
+ j ? ((f = this.map) != null && f.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), (L = this.map) != null && L.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : ((x = this.map) != null && x.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), (C = this.map) != null && C.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), T ? ((z = this.map) != null && z.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), (P = this.map) != null && P.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
19252
19266
  var G, Q;
19253
19267
  (G = this.map) != null && G.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), (Q = this.map) != null && Q.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
19254
19268
  }, 1e3)) : (_ = this.map) != null && _.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2");
@@ -19375,14 +19389,14 @@ function uy(t, e, o, i, a, l) {
19375
19389
  }
19376
19390
  const py = /* @__PURE__ */ ne(dy, [["render", uy]]);
19377
19391
  class gy {
19378
- constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNsYmY5M3I0YTAwMDE4Ymx0NWJ4emFwNWMiLCJyb2xlIjoyMDQ3LCJpYXQiOjE2NzA1NTM0NzAsImV4cCI6Mzg3ODA3MzQ3MH0.MxTv0yLGarZCtOSCZfJHMqrXNMNN0-OL4gBGKGcYcc8", { nautical: o = "i4" }) {
19392
+ constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNsYmY5M3I0YTAwMDE4Ymx0NWJ4emFwNWMiLCJyb2xlIjoyMDQ3LCJpYXQiOjE2NzA1NTM0NzAsImV4cCI6Mzg3ODA3MzQ3MH0.MxTv0yLGarZCtOSCZfJHMqrXNMNN0-OL4gBGKGcYcc8", { hifleet: o = !1 } = {}) {
19379
19393
  ke(this, "originStyle");
19380
19394
  ke(this, "mapboxStyle");
19381
19395
  ke(this, "i4");
19382
19396
  ke(this, "hi");
19383
19397
  ke(this, "td");
19384
19398
  ke(this, "windy");
19385
- var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, v, C, z, P, _, D, T, B, j, G, Q, ie, re, xe, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, xt, vt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, vo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, xa, va, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Ga, Fa, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Gi, Fi, Bi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, el, tl, ol, al, il, ll, rl, nl, sl, cl, ml, dl;
19399
+ var i, a, l, r, c, s, d, m, p, g, b, u, h, f, L, x, C, z, P, _, D, T, B, j, G, Q, ie, re, ve, be, E, $, te, se, q, Y, le, Z, U, fe, Le, ze, he, Ae, ee, we, Ee, Ge, $e, et, Je, je, tt, Oe, He, Ke, ot, at, Qe, Te, Re, Ne, it, lt, rt, Ve, bt, wt, vt, xt, At, kt, Lt, zt, _t, Ct, Mt, Pt, St, Tt, Rt, Dt, It, Et, Gt, Ft, Bt, jt, Nt, Zt, Wt, Vt, Xt, Ot, Ht, Yt, Ut, Jt, Kt, Qt, qt, $t, eo, to, oo, Xe, Ye, ao, nt, io, gt, De, st, de, Fe, ae, oe, ct, qe, We, J, lo, ce, Be, mt, ft, yt, X, dt, K, ht, no, pe, go, ye, xo, Ao, ko, Lo, zo, _o, Co, Mo, Po, So, To, Ro, Do, Io, ya, ba, wa, va, xa, Aa, ka, La, za, _a, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Ea, Ga, Fa, Ba, ja, Na, Za, Wa, Va, Xa, Oa, Ha, Ya, Ua, Ja, Ka, Qa, qa, $a, ei, ti, oi, ai, ii, li, ri, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, vi, xi, Ai, ki, Li, zi, _i, Ci, Mi, Pi, Si, Ti, Ri, Di, Ii, Ei, Gi, Fi, Bi, ji, Ni, Zi, Wi, Vi, Xi, Oi, Hi, Yi, Ui, Ji, Ki, Qi, qi, $i, el, tl, ol, al, il, ll, rl, nl, sl, cl, ml, dl;
19386
19400
  this.i4 = {
19387
19401
  source: {
19388
19402
  type: "raster",
@@ -19396,7 +19410,7 @@ class gy {
19396
19410
  minzoom: 1,
19397
19411
  maxzoom: 18,
19398
19412
  layout: {
19399
- visibility: "visible"
19413
+ visibility: "none"
19400
19414
  }
19401
19415
  }
19402
19416
  }, this.hi = {
@@ -19415,7 +19429,7 @@ class gy {
19415
19429
  minzoom: 1,
19416
19430
  maxzoom: 18,
19417
19431
  layout: {
19418
- visibility: "visible"
19432
+ visibility: "none"
19419
19433
  }
19420
19434
  }
19421
19435
  }, this.originStyle = {
@@ -38019,14 +38033,14 @@ class gy {
38019
38033
  (g = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : g.find((k) => k.id === "ice-area-fill"),
38020
38034
  (u = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : u.find((k) => k.id === "ice-area-line"),
38021
38035
  (f = (h = this.originStyle) == null ? void 0 : h.light.layers) == null ? void 0 : f.find((k) => k.id === "empty-layer-0"),
38022
- (v = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : v.find((k) => k.id === "empty-layer-1"),
38036
+ (x = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : x.find((k) => k.id === "empty-layer-1"),
38023
38037
  (z = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : z.find((k) => k.id === "country-boundaries"),
38024
38038
  (_ = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : _.find((k) => k.id === "water-outline"),
38025
38039
  (T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((k) => k.id === "water-outline2"),
38026
38040
  (j = (B = this.originStyle) == null ? void 0 : B.light.layers) == null ? void 0 : j.find((k) => k.id === "empty-layer-2"),
38027
38041
  (Q = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : Q.find((k) => k.id === "water-line-label"),
38028
38042
  (re = (ie = this.originStyle) == null ? void 0 : ie.light.layers) == null ? void 0 : re.find((k) => k.id === "water-point-label"),
38029
- (be = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : be.find((k) => k.id === "world-12nm-v4-20231025"),
38043
+ (be = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : be.find((k) => k.id === "world-12nm-v4-20231025"),
38030
38044
  ($ = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : $.find((k) => k.id === "nsr-flll"),
38031
38045
  (se = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : se.find((k) => k.id === "nsr-line"),
38032
38046
  (Y = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : Y.find((k) => k.id === "nsr-label"),
@@ -38067,8 +38081,8 @@ class gy {
38067
38081
  protected: !1,
38068
38082
  draft: !1,
38069
38083
  layers: [
38070
- (xt = (wt = this.originStyle) == null ? void 0 : wt.dark.layers) == null ? void 0 : xt.find((k) => k.id === "land"),
38071
- (At = (vt = this.originStyle) == null ? void 0 : vt.dark.layers) == null ? void 0 : At.find((k) => k.id === "water"),
38084
+ (vt = (wt = this.originStyle) == null ? void 0 : wt.dark.layers) == null ? void 0 : vt.find((k) => k.id === "land"),
38085
+ (At = (xt = this.originStyle) == null ? void 0 : xt.dark.layers) == null ? void 0 : At.find((k) => k.id === "water"),
38072
38086
  (Lt = (kt = this.originStyle) == null ? void 0 : kt.dark.layers) == null ? void 0 : Lt.find((k) => k.id === "loadlines-label"),
38073
38087
  (_t = (zt = this.originStyle) == null ? void 0 : zt.dark.layers) == null ? void 0 : _t.find((k) => k.id === "loadlines-fill"),
38074
38088
  (Mt = (Ct = this.originStyle) == null ? void 0 : Ct.dark.layers) == null ? void 0 : Mt.find((k) => k.id === "ice-area-fill"),
@@ -38119,7 +38133,7 @@ class gy {
38119
38133
  protected: !1,
38120
38134
  draft: !1,
38121
38135
  layers: [
38122
- (vo = (ye = this.originStyle) == null ? void 0 : ye.satellite.layers) == null ? void 0 : vo.find((k) => k.id === "background"),
38136
+ (xo = (ye = this.originStyle) == null ? void 0 : ye.satellite.layers) == null ? void 0 : xo.find((k) => k.id === "background"),
38123
38137
  (ko = (Ao = this.originStyle) == null ? void 0 : Ao.satellite.layers) == null ? void 0 : ko.find((k) => k.id === "satellite"),
38124
38138
  (zo = (Lo = this.originStyle) == null ? void 0 : Lo.satellite.layers) == null ? void 0 : zo.find((k) => k.id === "loadlines-label"),
38125
38139
  (Co = (_o = this.originStyle) == null ? void 0 : _o.satellite.layers) == null ? void 0 : Co.find((k) => k.id === "loadlines-fill"),
@@ -38128,7 +38142,7 @@ class gy {
38128
38142
  (Do = (Ro = this.originStyle) == null ? void 0 : Ro.satellite.layers) == null ? void 0 : Do.find((k) => k.id === "empty-layer-0"),
38129
38143
  (ya = (Io = this.originStyle) == null ? void 0 : Io.satellite.layers) == null ? void 0 : ya.find((k) => k.id === "empty-layer-1"),
38130
38144
  (wa = (ba = this.originStyle) == null ? void 0 : ba.satellite.layers) == null ? void 0 : wa.find((k) => k.id === "country-boundaries"),
38131
- (va = (xa = this.originStyle) == null ? void 0 : xa.satellite.layers) == null ? void 0 : va.find((k) => k.id === "water-outline"),
38145
+ (xa = (va = this.originStyle) == null ? void 0 : va.satellite.layers) == null ? void 0 : xa.find((k) => k.id === "water-outline"),
38132
38146
  (ka = (Aa = this.originStyle) == null ? void 0 : Aa.satellite.layers) == null ? void 0 : ka.find((k) => k.id === "empty-layer-2"),
38133
38147
  (za = (La = this.originStyle) == null ? void 0 : La.satellite.layers) == null ? void 0 : za.find((k) => k.id === "world-12nm-v4-20231025"),
38134
38148
  (Ca = (_a = this.originStyle) == null ? void 0 : _a.satellite.layers) == null ? void 0 : Ca.find((k) => k.id === "nsr-flll"),
@@ -38163,14 +38177,16 @@ class gy {
38163
38177
  layers: [
38164
38178
  (li = (ii = this.originStyle) == null ? void 0 : ii.light.layers) == null ? void 0 : li.find((k) => k.id === "land"),
38165
38179
  (ni = (ri = this.originStyle) == null ? void 0 : ri.light.layers) == null ? void 0 : ni.find((k) => k.id === "water"),
38166
- o === "hi" ? this.hi.layer : this.i4.layer,
38180
+ // 样式的 layers 不允许出现 undefined,用展开的方式按需插入 hi 图层
38181
+ ...o ? [this.hi.layer] : [],
38182
+ this.i4.layer,
38167
38183
  (ci = (si = this.originStyle) == null ? void 0 : si.light.layers) == null ? void 0 : ci.find((k) => k.id === "loadlines-label"),
38168
38184
  (di = (mi = this.originStyle) == null ? void 0 : mi.light.layers) == null ? void 0 : di.find((k) => k.id === "loadlines-fill"),
38169
38185
  (ui = (hi = this.originStyle) == null ? void 0 : hi.light.layers) == null ? void 0 : ui.find((k) => k.id === "ice-area-fill"),
38170
38186
  (gi = (pi = this.originStyle) == null ? void 0 : pi.light.layers) == null ? void 0 : gi.find((k) => k.id === "ice-area-line"),
38171
38187
  (yi = (fi = this.originStyle) == null ? void 0 : fi.light.layers) == null ? void 0 : yi.find((k) => k.id === "empty-layer-0"),
38172
38188
  (wi = (bi = this.originStyle) == null ? void 0 : bi.light.layers) == null ? void 0 : wi.find((k) => k.id === "empty-layer-1"),
38173
- (vi = (xi = this.originStyle) == null ? void 0 : xi.light.layers) == null ? void 0 : vi.find((k) => k.id === "country-boundaries"),
38189
+ (xi = (vi = this.originStyle) == null ? void 0 : vi.light.layers) == null ? void 0 : xi.find((k) => k.id === "country-boundaries"),
38174
38190
  (ki = (Ai = this.originStyle) == null ? void 0 : Ai.light.layers) == null ? void 0 : ki.find((k) => k.id === "water-outline"),
38175
38191
  (zi = (Li = this.originStyle) == null ? void 0 : Li.light.layers) == null ? void 0 : zi.find((k) => k.id === "water-outline2"),
38176
38192
  (Ci = (_i = this.originStyle) == null ? void 0 : _i.light.layers) == null ? void 0 : Ci.find((k) => k.id === "empty-layer-2"),
@@ -38215,7 +38231,11 @@ const fy = {
38215
38231
  },
38216
38232
  top: {
38217
38233
  type: Number,
38218
- default: 60
38234
+ default: 0
38235
+ },
38236
+ menuHeight: {
38237
+ type: Number,
38238
+ default: 248
38219
38239
  },
38220
38240
  simple: {
38221
38241
  type: Boolean,
@@ -38274,8 +38294,8 @@ const fy = {
38274
38294
  immediate: !0
38275
38295
  },
38276
38296
  nautical: {
38277
- handler(t) {
38278
- localStorage.setItem("nauticalLayerCacheGL4", t), this.handleNauticalToggle();
38297
+ handler(t, e) {
38298
+ localStorage.setItem("nauticalLayerCacheGL4", t), this.handleNauticalToggle(t, e);
38279
38299
  }
38280
38300
  }
38281
38301
  },
@@ -38285,8 +38305,8 @@ const fy = {
38285
38305
  */
38286
38306
  async initOnlineMap(t) {
38287
38307
  const e = typeof (t == null ? void 0 : t.zoom) == "number" ? t.zoom : 2, o = Array.isArray(t == null ? void 0 : t.center) ? t.center : [120, 30];
38288
- this.helper = new gy(this.token, { nautical: this.nautical ?? "i4" }), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
38289
- const i = new ve.Map({
38308
+ this.helper = new gy(this.token, { hifleet: this.platform === "ops" }), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
38309
+ const i = new xe.Map({
38290
38310
  container: "map",
38291
38311
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
38292
38312
  // style: 'mapbox://styles/neatchenheng/cmdqwez32005b01re2w0k3zk4', // dark
@@ -38307,7 +38327,7 @@ const fy = {
38307
38327
  fadeDuration: 300
38308
38328
  });
38309
38329
  i.dragRotate.disable(), i.touchZoomRotate.disableRotation(), i.on("load", () => {
38310
- this.zoom = i.getZoom(), this.map = i, this.$emit("menuToggle"), this.addScaleControl();
38330
+ this.zoom = i.getZoom(), this.map = i, this.handleNauticalToggle(this.nautical), this.$emit("menuToggle"), this.addScaleControl();
38311
38331
  }), i.on("move", () => {
38312
38332
  var a;
38313
38333
  this.zoom = (a = this.map) == null ? void 0 : a.getZoom();
@@ -38315,7 +38335,7 @@ const fy = {
38315
38335
  },
38316
38336
  addScaleControl() {
38317
38337
  var e;
38318
- this.map.addControl(new ve.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
38338
+ this.map.addControl(new xe.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
38319
38339
  const t = (e = document.getElementsByClassName("mapboxgl-ctrl-scale")) == null ? void 0 : e[0];
38320
38340
  t && (t.className = "mapboxgl-ctrl-scale " + this.mapFeather);
38321
38341
  },
@@ -38328,20 +38348,24 @@ const fy = {
38328
38348
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
38329
38349
  },
38330
38350
  /**
38331
- * 海图底图 hi / i4 切换:销毁旧地图后按当前 center / zoom 重新加载
38351
+ * 海图底图 hi / i4 切换:两个图层都在样式里,只显示选中的那个,隐藏的不会请求瓦片
38352
+ * @param newV 选中的厂商
38353
+ * @param oldV 上一次选中的厂商;地图 load 时不传,强制显示选中项
38332
38354
  */
38333
- handleNauticalToggle() {
38334
- const t = this.map, e = t ? { zoom: t.getZoom(), center: t.getCenter().toArray() } : void 0;
38335
- this.map = void 0, this.$nextTick(() => {
38336
- t == null || t.remove(), this.initOnlineMap(e);
38337
- });
38355
+ handleNauticalToggle(t, e) {
38356
+ const o = this.map;
38357
+ if (!(o != null && o.getLayer(t)))
38358
+ return;
38359
+ const i = !!e && this.nauticalKeys.every((a) => o.getLayer(a) && o.getLayoutProperty(a, "visibility") === "none");
38360
+ for (const a of this.nauticalKeys)
38361
+ o.getLayer(a) && o.setLayoutProperty(a, "visibility", a === t && !i ? "visible" : "none");
38338
38362
  }
38339
38363
  }
38340
- }, yy = { class: "v-btn--variant-elevated rounded" }, by = { class: "v-btn--variant-elevated rounded" }, wy = { class: "zoom" }, xy = {
38364
+ }, yy = { class: "v-btn--variant-elevated rounded" }, by = { class: "v-btn--variant-elevated rounded" }, wy = { class: "zoom" }, vy = {
38341
38365
  key: 3,
38342
38366
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
38343
38367
  };
38344
- function vy(t, e, o, i, a, l) {
38368
+ function xy(t, e, o, i, a, l) {
38345
38369
  const r = M("VBtn"), c = M("VBtnToggle");
38346
38370
  return A(), R("div", {
38347
38371
  id: "mapbox-initial-gl4",
@@ -38362,7 +38386,7 @@ function vy(t, e, o, i, a, l) {
38362
38386
  class: "pa-0 elevation-0",
38363
38387
  onClick: l.initOnlineMap
38364
38388
  }, {
38365
- default: x(() => e[1] || (e[1] = [
38389
+ default: v(() => e[1] || (e[1] = [
38366
38390
  n("i", { class: "iconfont icon-shuaxin text-h4" }, null, -1)
38367
38391
  ])),
38368
38392
  _: 1,
@@ -38373,7 +38397,7 @@ function vy(t, e, o, i, a, l) {
38373
38397
  o.simple ? I("", !0) : (A(), R("div", {
38374
38398
  key: 1,
38375
38399
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
38376
- style: ge({ top: o.top + 308 + "px", right: a.right + "px", height: "112px" })
38400
+ style: ge({ top: o.top + o.menuHeight + 20 + "px", right: a.right + "px", height: "112px" })
38377
38401
  }, [
38378
38402
  n("div", by, [
38379
38403
  w(r, {
@@ -38383,7 +38407,7 @@ function vy(t, e, o, i, a, l) {
38383
38407
  class: "pa-0 elevation-0",
38384
38408
  onClick: l.handleZoomIn
38385
38409
  }, {
38386
- default: x(() => e[2] || (e[2] = [
38410
+ default: v(() => e[2] || (e[2] = [
38387
38411
  n("i", { class: "iconfont icon-a-Zoomin text-h4" }, null, -1)
38388
38412
  ])),
38389
38413
  _: 1,
@@ -38397,7 +38421,7 @@ function vy(t, e, o, i, a, l) {
38397
38421
  class: "elevation-0 pa-0",
38398
38422
  onClick: l.handleZoomOut
38399
38423
  }, {
38400
- default: x(() => e[3] || (e[3] = [
38424
+ default: v(() => e[3] || (e[3] = [
38401
38425
  n("i", { class: "iconfont icon-a-Zoomout text-h4" }, null, -1)
38402
38426
  ])),
38403
38427
  _: 1,
@@ -38408,7 +38432,7 @@ function vy(t, e, o, i, a, l) {
38408
38432
  !o.simple && o.mapFeather === "nautical" && o.platform === "ops" ? (A(), R("div", {
38409
38433
  key: 2,
38410
38434
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
38411
- style: ge({ top: o.top + 430 + "px", right: a.right + "px", height: "80px" })
38435
+ style: ge({ top: o.top + o.menuHeight + 142 + "px", right: a.right + "px", height: "80px" })
38412
38436
  }, [
38413
38437
  w(c, {
38414
38438
  modelValue: a.nautical,
@@ -38419,7 +38443,7 @@ function vy(t, e, o, i, a, l) {
38419
38443
  mandatory: "",
38420
38444
  group: ""
38421
38445
  }, {
38422
- default: x(() => [
38446
+ default: v(() => [
38423
38447
  (A(!0), R(Ce, null, Me(a.nauticalKeys, (s) => (A(), F(r, {
38424
38448
  key: s,
38425
38449
  value: s,
@@ -38429,7 +38453,7 @@ function vy(t, e, o, i, a, l) {
38429
38453
  class: "text-none pa-0 elevation-0 text-h6",
38430
38454
  color: a.nautical === s ? "primary" : ""
38431
38455
  }, {
38432
- default: x(() => [
38456
+ default: v(() => [
38433
38457
  N(y(s), 1)
38434
38458
  ]),
38435
38459
  _: 2
@@ -38438,7 +38462,7 @@ function vy(t, e, o, i, a, l) {
38438
38462
  _: 1
38439
38463
  }, 8, ["modelValue"])
38440
38464
  ], 4)) : I("", !0),
38441
- o.simple ? I("", !0) : (A(), R("div", xy, [
38465
+ o.simple ? I("", !0) : (A(), R("div", vy, [
38442
38466
  e[4] || (e[4] = n("span", null, "© 2023", -1)),
38443
38467
  n("span", null, "-" + y(l.computeYear), 1),
38444
38468
  e[5] || (e[5] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -38450,7 +38474,7 @@ function vy(t, e, o, i, a, l) {
38450
38474
  ]))
38451
38475
  ], 4);
38452
38476
  }
38453
- const Ay = /* @__PURE__ */ ne(fy, [["render", vy]]);
38477
+ const Ay = /* @__PURE__ */ ne(fy, [["render", xy]]);
38454
38478
  const ky = {
38455
38479
  name: "DateRangePicker",
38456
38480
  props: {
@@ -38722,9 +38746,9 @@ function Py(t, e, o, i, a, l) {
38722
38746
  class: "card-box d-flex flex-column border elevation-12",
38723
38747
  style: ge(l.getStyle)
38724
38748
  }, {
38725
- default: x(() => [
38749
+ default: v(() => [
38726
38750
  w(d, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
38727
- default: x(() => [
38751
+ default: v(() => [
38728
38752
  n("div", _y, [
38729
38753
  w(c, {
38730
38754
  modelValue: a.dateRange[0],
@@ -38769,7 +38793,7 @@ function Py(t, e, o, i, a, l) {
38769
38793
  class: "w-100 d-flex justify-space-between align-center pa-0 px-4",
38770
38794
  style: { height: "50px" }
38771
38795
  }, {
38772
- default: x(() => {
38796
+ default: v(() => {
38773
38797
  var b, u;
38774
38798
  return [
38775
38799
  (b = o.fastPick) != null && b.show ? (A(), R("div", Cy, [
@@ -38781,7 +38805,7 @@ function Py(t, e, o, i, a, l) {
38781
38805
  class: "text-none text-body-2 px-1",
38782
38806
  onClick: (f) => l.handleFastPick({ dateRange: h })
38783
38807
  }, {
38784
- default: x(() => [
38808
+ default: v(() => [
38785
38809
  N(y(t.$t("time." + h)), 1)
38786
38810
  ]),
38787
38811
  _: 2
@@ -38794,7 +38818,7 @@ function Py(t, e, o, i, a, l) {
38794
38818
  class: "text-none text-body-1 px-4",
38795
38819
  onClick: l.handleCancelDate
38796
38820
  }, {
38797
- default: x(() => [
38821
+ default: v(() => [
38798
38822
  N(y(t.$t("actions.cancel")), 1)
38799
38823
  ]),
38800
38824
  _: 1
@@ -38806,7 +38830,7 @@ function Py(t, e, o, i, a, l) {
38806
38830
  class: "text-none text-body-1 px-4",
38807
38831
  onClick: l.handleConfirmDate
38808
38832
  }, {
38809
- default: x(() => [
38833
+ default: v(() => [
38810
38834
  N(y(t.$t("actions.confirm")), 1)
38811
38835
  ]),
38812
38836
  _: 1