@idmwx/idmui-report 2.8.7 → 2.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +813 -813
- package/dist/index.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LngLatHelper as ee, convertToStandardLng as Xa, roundPrecision as Qe, EmailHelper as qa } from "@idmwx/idmwx-base";
|
|
2
|
-
import
|
|
3
|
-
import { openBlock as d, createElementBlock as c, createElementVNode as t, toDisplayString as e, createStaticVNode as ut, pushScopeId as he, popScopeId as ve, createCommentVNode as x, markRaw as Eo, resolveComponent as it, createVNode as L, Fragment as
|
|
2
|
+
import H from "moment";
|
|
3
|
+
import { openBlock as d, createElementBlock as c, createElementVNode as t, toDisplayString as e, createStaticVNode as ut, pushScopeId as he, popScopeId as ve, createCommentVNode as x, markRaw as Eo, resolveComponent as it, createVNode as L, Fragment as M, renderList as rt, createTextVNode as C, normalizeStyle as be, shallowRef as ja, withDirectives as Al, vShow as wl, createBlock as re, normalizeClass as A, mergeProps as $a, withCtx as ks } from "vue";
|
|
4
4
|
import * as Po from "echarts";
|
|
5
5
|
import { Editor as tn, Toolbar as en } from "@wangeditor/editor-for-vue";
|
|
6
6
|
import _l from "mapbox-gl";
|
|
@@ -27,7 +27,7 @@ const Gt = (s, a) => {
|
|
|
27
27
|
computed: {
|
|
28
28
|
computeUTCTime() {
|
|
29
29
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
30
|
-
return `${(s ?
|
|
30
|
+
return `${(s ? H(s) : H()).utc().format(a)}`;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -133,7 +133,7 @@ const gn = {
|
|
|
133
133
|
report: {
|
|
134
134
|
handler() {
|
|
135
135
|
var s, a, o, u;
|
|
136
|
-
(a = (s = this.report) == null ? void 0 : s.extend) != null && a.data && (this.loading = !1, this.localTZ = ee.guessTimeZoneOffset((o = this.report) == null ? void 0 : o.lng, (u = this.report) == null ? void 0 : u.lat), this
|
|
136
|
+
(a = (s = this.report) == null ? void 0 : s.extend) != null && a.data && (this.loading = !1, this.localTZ = ee.guessTimeZoneOffset((o = this.report) == null ? void 0 : o.lng, (u = this.report) == null ? void 0 : u.lat), this.$nextTick(() => {
|
|
137
137
|
this.initEchart();
|
|
138
138
|
}));
|
|
139
139
|
},
|
|
@@ -153,7 +153,7 @@ const gn = {
|
|
|
153
153
|
},
|
|
154
154
|
computeLTime() {
|
|
155
155
|
return function(s, a = 8, o = "MMM-DD/HHmm[LT]") {
|
|
156
|
-
return `${
|
|
156
|
+
return `${H(s).utcOffset(a).format(o)}`;
|
|
157
157
|
};
|
|
158
158
|
},
|
|
159
159
|
computeTZ() {
|
|
@@ -182,27 +182,27 @@ const gn = {
|
|
|
182
182
|
},
|
|
183
183
|
computeForm() {
|
|
184
184
|
return function(s) {
|
|
185
|
-
var u, i, l, f, r,
|
|
185
|
+
var u, i, l, f, r, y, O, P, m, D;
|
|
186
186
|
const a = {};
|
|
187
187
|
for (let S = 0; S < ((i = (u = s == null ? void 0 : s.extend) == null ? void 0 : u.data) == null ? void 0 : i.length); S++) {
|
|
188
188
|
const v = (l = s == null ? void 0 : s.extend) == null ? void 0 : l.data[S];
|
|
189
189
|
if (S === 0)
|
|
190
190
|
v.precip.pacc = 0;
|
|
191
191
|
else {
|
|
192
|
-
const E = (f = s == null ? void 0 : s.extend) == null ? void 0 : f.data[S - 1], F =
|
|
193
|
-
if (v.precip.pacc =
|
|
194
|
-
const T = a[F.format("MMM-DD")],
|
|
195
|
-
T ? (T.pacc = this.roundPrecision(T.pacc +
|
|
196
|
-
pacc:
|
|
192
|
+
const E = (f = s == null ? void 0 : s.extend) == null ? void 0 : f.data[S - 1], F = H(v.utc).utcOffset(this.localTZ), G = H(E.utc).utcOffset(this.localTZ), U = (r = E == null ? void 0 : E.precip) == null ? void 0 : r.prate, Y = F.diff(G, "h"), I = this.roundPrecision(U * Y, 1);
|
|
193
|
+
if (v.precip.pacc = I, I > 0) {
|
|
194
|
+
const T = a[F.format("MMM-DD")], N = Math.floor(F.get("hour") / 6);
|
|
195
|
+
T ? (T.pacc = this.roundPrecision(T.pacc + I, 1), T[`${N}`] ? T[`${N}`] += I : (T[`${N}`] = I, T.colspan += 1)) : (a[F.format("MMM-DD")] = {
|
|
196
|
+
pacc: I,
|
|
197
197
|
colspan: 1
|
|
198
|
-
}, a[F.format("MMM-DD")][`${
|
|
198
|
+
}, a[F.format("MMM-DD")][`${N}`] = I);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
s.paccInDays = a;
|
|
203
203
|
let o = 0;
|
|
204
204
|
for (const S of Object.keys(a))
|
|
205
|
-
o += (
|
|
205
|
+
o += (y = a[S]) == null ? void 0 : y.colspan, a[S].level = ((O = a[S]) == null ? void 0 : O.pacc) < 10 ? "Light" : ((P = a[S]) == null ? void 0 : P.pacc) < 24.9 ? "Moderate" : ((m = a[S]) == null ? void 0 : m.pacc) < 49.9 ? "Heavy" : ((D = a[S]) == null ? void 0 : D.pacc) < 99.9 ? "Rainstorm" : "HeavyRainstorm";
|
|
206
206
|
return s.span = o, s;
|
|
207
207
|
};
|
|
208
208
|
}
|
|
@@ -225,10 +225,10 @@ const gn = {
|
|
|
225
225
|
temp: 10
|
|
226
226
|
};
|
|
227
227
|
let u = 4;
|
|
228
|
-
(r = (f = (l = this.report) == null ? void 0 : l.extend) == null ? void 0 : f.data) == null || r.forEach((
|
|
229
|
-
var P,
|
|
230
|
-
const O =
|
|
231
|
-
s.push(O), u = ((
|
|
228
|
+
(r = (f = (l = this.report) == null ? void 0 : l.extend) == null ? void 0 : f.data) == null || r.forEach((y) => {
|
|
229
|
+
var P, m, D, S, v, E, F, G, U, Y, I, T, N;
|
|
230
|
+
const O = H(y.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");
|
|
231
|
+
s.push(O), u = ((m = (P = y.wave) == null ? void 0 : P.sig) == null ? void 0 : m.height) > u ? (S = (D = y.wave) == null ? void 0 : D.sig) == null ? void 0 : S.height : u, a.push([O, (v = y.wind) == null ? void 0 : v.kts, (E = y.gusts) == null ? void 0 : E.kts, (G = (F = y.wave) == null ? void 0 : F.sig) == null ? void 0 : G.height, (U = y.wind) == null ? void 0 : U.direction, (Y = y.wind) == null ? void 0 : Y.degree, (I = y.wind) == null ? void 0 : I.scale, (T = y.current) == null ? void 0 : T.kts, (N = y.precip) == null ? void 0 : N.acc, this.roundPrecision(y.visibility / 1852, 0), y.temp]);
|
|
232
232
|
});
|
|
233
233
|
const i = {
|
|
234
234
|
animation: !1,
|
|
@@ -459,7 +459,7 @@ const gn = {
|
|
|
459
459
|
this.echart.setOption(i);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
}, xe = (s) => (he("data-v-
|
|
462
|
+
}, xe = (s) => (he("data-v-f465d74a"), s = s(), ve(), s), Dn = { class: "point-report" }, An = { class: "section info-section" }, wn = { class: "flex-evenly" }, kn = {
|
|
463
463
|
class: "flex-space label-block",
|
|
464
464
|
style: { width: "100%" }
|
|
465
465
|
}, Sn = /* @__PURE__ */ xe(() => /* @__PURE__ */ t("label", {
|
|
@@ -504,7 +504,7 @@ const gn = {
|
|
|
504
504
|
class: "degree-box"
|
|
505
505
|
}, md = { key: 1 }, yd = { key: 0 }, bd = { key: 1 };
|
|
506
506
|
function xd(s, a, o, u, i, l) {
|
|
507
|
-
var
|
|
507
|
+
var y, O, P, m;
|
|
508
508
|
const f = it("IdmBrand"), r = it("IdmLoading");
|
|
509
509
|
return d(), c("div", Dn, [
|
|
510
510
|
L(f, { name: "Point Weather Forecast" }),
|
|
@@ -513,7 +513,7 @@ function xd(s, a, o, u, i, l) {
|
|
|
513
513
|
t("div", wn, [
|
|
514
514
|
t("div", kn, [
|
|
515
515
|
Sn,
|
|
516
|
-
t("span", null, e(l.computeLat((
|
|
516
|
+
t("span", null, e(l.computeLat((y = o.report) == null ? void 0 : y.lat).pretty) + " / " + e(l.computeLng((O = o.report) == null ? void 0 : O.lng).pretty), 1)
|
|
517
517
|
]),
|
|
518
518
|
t("div", Tn, [
|
|
519
519
|
On,
|
|
@@ -570,59 +570,59 @@ function xd(s, a, o, u, i, l) {
|
|
|
570
570
|
])
|
|
571
571
|
]),
|
|
572
572
|
t("tbody", null, [
|
|
573
|
-
(d(!0), c(
|
|
574
|
-
var v, E, F, G,
|
|
573
|
+
(d(!0), c(M, null, rt((m = (P = o.report) == null ? void 0 : P.extend) == null ? void 0 : m.data, (D, S) => {
|
|
574
|
+
var v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt;
|
|
575
575
|
return d(), c("tr", { key: S }, [
|
|
576
|
-
t("td", cd, e(l.computeLTime(
|
|
576
|
+
t("td", cd, e(l.computeLTime(D.utc, this.localTZ)), 1),
|
|
577
577
|
t("td", null, [
|
|
578
|
-
(v =
|
|
579
|
-
C(e((E =
|
|
578
|
+
(v = D.wind) != null && v.kts ? (d(), c("span", rd, [
|
|
579
|
+
C(e((E = D.wind) == null ? void 0 : E.direction), 1),
|
|
580
580
|
t("i", {
|
|
581
581
|
class: "iconfont",
|
|
582
|
-
style: be(l.computeDegree((F =
|
|
582
|
+
style: be(l.computeDegree((F = D.wind) == null ? void 0 : F.degree, !1))
|
|
583
583
|
}, "", 4)
|
|
584
584
|
])) : (d(), c("span", ud, "-"))
|
|
585
585
|
]),
|
|
586
|
-
t("td", null, e(l.roundPrecision((G =
|
|
587
|
-
t("td", null, e((
|
|
588
|
-
t("td", null, e(l.roundPrecision((
|
|
589
|
-
t("td", null, e(l.roundPrecision((T = (
|
|
586
|
+
t("td", null, e(l.roundPrecision((G = D.wind) == null ? void 0 : G.kts, 1)), 1),
|
|
587
|
+
t("td", null, e((U = D.wind) == null ? void 0 : U.scale), 1),
|
|
588
|
+
t("td", null, e(l.roundPrecision((Y = D.gusts) == null ? void 0 : Y.kts, 1)), 1),
|
|
589
|
+
t("td", null, e(l.roundPrecision((T = (I = D.wave) == null ? void 0 : I.wd) == null ? void 0 : T.height, 1)), 1),
|
|
590
590
|
t("td", null, [
|
|
591
|
-
(K = (
|
|
592
|
-
C(e((X = ($ =
|
|
591
|
+
(K = (N = D.wave) == null ? void 0 : N.swell) != null && K.height ? (d(), c("span", hd, [
|
|
592
|
+
C(e((X = ($ = D.wave) == null ? void 0 : $.swell) == null ? void 0 : X.direction), 1),
|
|
593
593
|
t("i", {
|
|
594
594
|
class: "iconfont",
|
|
595
|
-
style: be(l.computeDegree((w = (Z =
|
|
595
|
+
style: be(l.computeDegree((w = (Z = D.wave) == null ? void 0 : Z.swell) == null ? void 0 : w.degree, !1))
|
|
596
596
|
}, "", 4)
|
|
597
597
|
])) : (d(), c("span", vd, "-"))
|
|
598
598
|
]),
|
|
599
|
-
t("td", null, e(l.roundPrecision((Q = (j =
|
|
600
|
-
t("td", null, e(l.roundPrecision((st = (V =
|
|
599
|
+
t("td", null, e(l.roundPrecision((Q = (j = D.wave) == null ? void 0 : j.swell) == null ? void 0 : Q.height, 1)), 1),
|
|
600
|
+
t("td", null, e(l.roundPrecision((st = (V = D.wave) == null ? void 0 : V.swell) == null ? void 0 : st.period, 1)), 1),
|
|
601
601
|
t("td", null, [
|
|
602
|
-
(at = (ot =
|
|
603
|
-
C(e((
|
|
602
|
+
(at = (ot = D.wave) == null ? void 0 : ot.sig) != null && at.height ? (d(), c("span", _d, [
|
|
603
|
+
C(e((g = (lt = D.wave) == null ? void 0 : lt.sig) == null ? void 0 : g.direction), 1),
|
|
604
604
|
t("i", {
|
|
605
605
|
class: "iconfont",
|
|
606
|
-
style: be(l.computeDegree((et = (z =
|
|
606
|
+
style: be(l.computeDegree((et = (z = D.wave) == null ? void 0 : z.sig) == null ? void 0 : et.degree, !1))
|
|
607
607
|
}, "", 4)
|
|
608
608
|
])) : (d(), c("span", pd, "-"))
|
|
609
609
|
]),
|
|
610
|
-
t("td", null, e(l.roundPrecision((nt = (n =
|
|
611
|
-
t("td", null, e(l.roundPrecision((dt = (h =
|
|
610
|
+
t("td", null, e(l.roundPrecision((nt = (n = D.wave) == null ? void 0 : n.sig) == null ? void 0 : nt.height, 1)), 1),
|
|
611
|
+
t("td", null, e(l.roundPrecision((dt = (h = D.wave) == null ? void 0 : h.sig) == null ? void 0 : dt.period, 1)), 1),
|
|
612
612
|
t("td", null, [
|
|
613
|
-
(ht =
|
|
614
|
-
C(e((ct =
|
|
613
|
+
(ht = D.current) != null && ht.kts ? (d(), c("span", fd, [
|
|
614
|
+
C(e((ct = D.current) == null ? void 0 : ct.direction), 1),
|
|
615
615
|
t("i", {
|
|
616
616
|
class: "iconfont",
|
|
617
|
-
style: be(l.computeDegree((pt =
|
|
617
|
+
style: be(l.computeDegree((pt = D.current) == null ? void 0 : pt.degree, !0))
|
|
618
618
|
}, "", 4)
|
|
619
619
|
])) : (d(), c("span", md, "-"))
|
|
620
620
|
]),
|
|
621
|
-
t("td", null, e(l.roundPrecision((ft =
|
|
622
|
-
o.showPrate ? (d(), c("td", yd, e(l.roundPrecision((yt =
|
|
623
|
-
o.showAcc ? (d(), c("td", bd, e(l.roundPrecision((bt =
|
|
624
|
-
t("td", null, e(l.roundPrecision(
|
|
625
|
-
t("td", null, e(l.roundPrecision(
|
|
621
|
+
t("td", null, e(l.roundPrecision((ft = D.current) == null ? void 0 : ft.kts, 1)), 1),
|
|
622
|
+
o.showPrate ? (d(), c("td", yd, e(l.roundPrecision((yt = D.precip) == null ? void 0 : yt.prate, 2)), 1)) : x("", !0),
|
|
623
|
+
o.showAcc ? (d(), c("td", bd, e(l.roundPrecision((bt = D.precip) == null ? void 0 : bt.acc, 2)), 1)) : x("", !0),
|
|
624
|
+
t("td", null, e(l.roundPrecision(D.visibility / 1852, 0)), 1),
|
|
625
|
+
t("td", null, e(l.roundPrecision(D.temp, 1)), 1)
|
|
626
626
|
]);
|
|
627
627
|
}), 128))
|
|
628
628
|
])
|
|
@@ -630,7 +630,7 @@ function xd(s, a, o, u, i, l) {
|
|
|
630
630
|
])
|
|
631
631
|
]);
|
|
632
632
|
}
|
|
633
|
-
const Cd = /* @__PURE__ */ Gt(gn, [["render", xd], ["__scopeId", "data-v-
|
|
633
|
+
const Cd = /* @__PURE__ */ Gt(gn, [["render", xd], ["__scopeId", "data-v-f465d74a"]]);
|
|
634
634
|
const gd = {
|
|
635
635
|
props: {
|
|
636
636
|
name: {
|
|
@@ -682,7 +682,7 @@ const Od = {
|
|
|
682
682
|
},
|
|
683
683
|
computeUTCTime() {
|
|
684
684
|
return function(s, a = "MMM-DD/HHmm") {
|
|
685
|
-
return `${
|
|
685
|
+
return `${H(s).utc().format(a)}Z`;
|
|
686
686
|
};
|
|
687
687
|
},
|
|
688
688
|
roundPrecision() {
|
|
@@ -786,29 +786,29 @@ function Ac(s, a, o, u, i, l) {
|
|
|
786
786
|
])
|
|
787
787
|
]),
|
|
788
788
|
t("tbody", null, [
|
|
789
|
-
(d(!0), c(
|
|
790
|
-
var O, P,
|
|
791
|
-
return d(), c("tr", { key:
|
|
789
|
+
(d(!0), c(M, null, rt(o.data.meteo, (r, y) => {
|
|
790
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht;
|
|
791
|
+
return d(), c("tr", { key: y }, [
|
|
792
792
|
t("td", vc, e(l.computeUTCTime(r.utc)), 1),
|
|
793
793
|
t("td", null, [
|
|
794
794
|
(O = r.wind) != null && O.kts ? (d(), c("span", _c, [
|
|
795
795
|
C(e((P = r.wind) == null ? void 0 : P.direction), 1),
|
|
796
796
|
t("i", {
|
|
797
797
|
class: "iconfont",
|
|
798
|
-
style: be(l.computeDegree((
|
|
798
|
+
style: be(l.computeDegree((m = r.wind) == null ? void 0 : m.degree, !1))
|
|
799
799
|
}, "", 4)
|
|
800
800
|
])) : (d(), c("span", pc, "-"))
|
|
801
801
|
]),
|
|
802
|
-
t("td", null, e(l.roundPrecision((
|
|
802
|
+
t("td", null, e(l.roundPrecision((D = r.wind) == null ? void 0 : D.kts, 1)), 1),
|
|
803
803
|
t("td", null, e((S = r.wind) == null ? void 0 : S.scale), 1),
|
|
804
804
|
t("td", null, e(l.roundPrecision((v = r.gusts) == null ? void 0 : v.kts, 1)), 1),
|
|
805
805
|
t("td", null, e(l.roundPrecision((F = (E = r.wave) == null ? void 0 : E.wd) == null ? void 0 : F.height, 1)), 1),
|
|
806
806
|
t("td", null, [
|
|
807
|
-
(
|
|
808
|
-
C(e((
|
|
807
|
+
(U = (G = r.wave) == null ? void 0 : G.swell) != null && U.height ? (d(), c("span", fc, [
|
|
808
|
+
C(e((I = (Y = r.wave) == null ? void 0 : Y.swell) == null ? void 0 : I.direction), 1),
|
|
809
809
|
t("i", {
|
|
810
810
|
class: "iconfont",
|
|
811
|
-
style: be(l.computeDegree((
|
|
811
|
+
style: be(l.computeDegree((N = (T = r.wave) == null ? void 0 : T.swell) == null ? void 0 : N.degree, !1))
|
|
812
812
|
}, "", 4)
|
|
813
813
|
])) : (d(), c("span", mc, "-"))
|
|
814
814
|
]),
|
|
@@ -824,7 +824,7 @@ function Ac(s, a, o, u, i, l) {
|
|
|
824
824
|
])) : (d(), c("span", bc, "-"))
|
|
825
825
|
]),
|
|
826
826
|
t("td", null, e(l.roundPrecision((lt = (at = r.wave) == null ? void 0 : at.sig) == null ? void 0 : lt.height, 1)), 1),
|
|
827
|
-
t("td", null, e(l.roundPrecision((z = (
|
|
827
|
+
t("td", null, e(l.roundPrecision((z = (g = r.wave) == null ? void 0 : g.sig) == null ? void 0 : z.period, 1)), 1),
|
|
828
828
|
t("td", null, [
|
|
829
829
|
(et = r.current) != null && et.kts ? (d(), c("span", xc, [
|
|
830
830
|
C(e((n = r.current) == null ? void 0 : n.direction), 1),
|
|
@@ -1266,7 +1266,7 @@ function ir(s, a, o, u, i, l) {
|
|
|
1266
1266
|
]),
|
|
1267
1267
|
L(r, {
|
|
1268
1268
|
modelValue: i.valueHtml,
|
|
1269
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1269
|
+
"onUpdate:modelValue": a[0] || (a[0] = (y) => i.valueHtml = y),
|
|
1270
1270
|
"default-config": i.editorConfig,
|
|
1271
1271
|
mode: i.mode,
|
|
1272
1272
|
class: "editor",
|
|
@@ -1314,12 +1314,12 @@ const ar = {
|
|
|
1314
1314
|
computed: {
|
|
1315
1315
|
computeUTCTime() {
|
|
1316
1316
|
return function(s) {
|
|
1317
|
-
return `${
|
|
1317
|
+
return `${H(s).utc().format("MMM-DD/HHmm")}Z`;
|
|
1318
1318
|
};
|
|
1319
1319
|
},
|
|
1320
1320
|
computeLTime() {
|
|
1321
1321
|
return function(s, a) {
|
|
1322
|
-
const o =
|
|
1322
|
+
const o = H(s);
|
|
1323
1323
|
return o.utcOffset(a), `${o.format("MMM-DD/HHmm")}LT`;
|
|
1324
1324
|
};
|
|
1325
1325
|
},
|
|
@@ -1333,7 +1333,7 @@ const ar = {
|
|
|
1333
1333
|
if (a === 0)
|
|
1334
1334
|
return "-";
|
|
1335
1335
|
{
|
|
1336
|
-
const l =
|
|
1336
|
+
const l = H((u = (o = s == null ? void 0 : s.speeds[a]) == null ? void 0 : o.speed) == null ? void 0 : u.eta).diff(H((i = s == null ? void 0 : s.speeds[0]) == null ? void 0 : i.speed.eta), "h", !0);
|
|
1337
1337
|
return Math.round(l * 10) / 10;
|
|
1338
1338
|
}
|
|
1339
1339
|
};
|
|
@@ -1370,7 +1370,7 @@ const ar = {
|
|
|
1370
1370
|
return function(s) {
|
|
1371
1371
|
var i, l, f;
|
|
1372
1372
|
const a = (f = (l = (i = s == null ? void 0 : s.speeds[0]) == null ? void 0 : i.speed) == null ? void 0 : l.sample) == null ? void 0 : f.hours, o = a[0], u = a[a.length - 1];
|
|
1373
|
-
return
|
|
1373
|
+
return H(u.eta).diff(H(o.eta), "day");
|
|
1374
1374
|
};
|
|
1375
1375
|
},
|
|
1376
1376
|
computeMemo() {
|
|
@@ -1406,9 +1406,9 @@ const ar = {
|
|
|
1406
1406
|
},
|
|
1407
1407
|
methods: {
|
|
1408
1408
|
initEChart() {
|
|
1409
|
-
var s, a, o, u, i, l, f, r,
|
|
1409
|
+
var s, a, o, u, i, l, f, r, y, O;
|
|
1410
1410
|
if (this.sogChart || (this.sogChart = Eo(Po.init(this.$refs.sogChart))), this.windChart || (this.windChart = Eo(Po.init(this.$refs.windChart))), this.waveChart || (this.waveChart = Eo(Po.init(this.$refs.waveChart))), (a = (s = this.plan) == null ? void 0 : s.speeds) != null && a.length) {
|
|
1411
|
-
const P = [],
|
|
1411
|
+
const P = [], m = {
|
|
1412
1412
|
grid: {
|
|
1413
1413
|
right: "15%",
|
|
1414
1414
|
bottom: "15%",
|
|
@@ -1445,7 +1445,7 @@ const ar = {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
},
|
|
1447
1447
|
series: []
|
|
1448
|
-
},
|
|
1448
|
+
}, D = {
|
|
1449
1449
|
grid: {
|
|
1450
1450
|
right: "15%",
|
|
1451
1451
|
bottom: "15%",
|
|
@@ -1512,33 +1512,33 @@ const ar = {
|
|
|
1512
1512
|
};
|
|
1513
1513
|
let v, E;
|
|
1514
1514
|
for (let F = 0; F < ((u = (o = this.plan) == null ? void 0 : o.speeds) == null ? void 0 : u.length); F++) {
|
|
1515
|
-
const G = (i = this.plan) == null ? void 0 : i.speeds[F].speed,
|
|
1515
|
+
const G = (i = this.plan) == null ? void 0 : i.speeds[F].speed, U = [], Y = [], I = [], T = [];
|
|
1516
1516
|
for (let X = 0; X < G.sample.hours.length; X++) {
|
|
1517
1517
|
const Z = G.sample.hours[X];
|
|
1518
1518
|
if (F === 0) {
|
|
1519
|
-
v || (v =
|
|
1520
|
-
const st =
|
|
1519
|
+
v || (v = H(Z.eta).utc(), E = v.clone().add(this.computeDay(this.plan), "day"));
|
|
1520
|
+
const st = H(Z.eta).utc();
|
|
1521
1521
|
if (st.isAfter(E))
|
|
1522
1522
|
break;
|
|
1523
1523
|
P.push(`${st.format("MMM-DD/HHmm")}Z`);
|
|
1524
1524
|
}
|
|
1525
|
-
const w = this.roundPrecision(Z.speed || 10, 1), j = this.roundPrecision(Z.cFactor || 0, 1), Q = this.roundPrecision((f = (l = Z.meteo) == null ? void 0 : l.wind) == null ? void 0 : f.kts, 1), V = this.roundPrecision((O = (
|
|
1526
|
-
|
|
1525
|
+
const w = this.roundPrecision(Z.speed || 10, 1), j = this.roundPrecision(Z.cFactor || 0, 1), Q = this.roundPrecision((f = (l = Z.meteo) == null ? void 0 : l.wind) == null ? void 0 : f.kts, 1), V = this.roundPrecision((O = (y = (r = Z.meteo) == null ? void 0 : r.wave) == null ? void 0 : y.sig) == null ? void 0 : O.height, 1);
|
|
1526
|
+
U.push(w), I.push(Q), T.push(V), Y.push(j);
|
|
1527
1527
|
}
|
|
1528
|
-
const
|
|
1528
|
+
const N = {
|
|
1529
1529
|
name: `Route ${F + 1}`,
|
|
1530
1530
|
type: "line",
|
|
1531
1531
|
smooth: !0,
|
|
1532
1532
|
showSymbol: !0,
|
|
1533
1533
|
// stack: 'sog',
|
|
1534
|
-
data:
|
|
1534
|
+
data: U
|
|
1535
1535
|
}, K = {
|
|
1536
1536
|
name: `Route ${F + 1}`,
|
|
1537
1537
|
type: "line",
|
|
1538
1538
|
smooth: !0,
|
|
1539
1539
|
showSymbol: !0,
|
|
1540
1540
|
// stock: 'wind',
|
|
1541
|
-
data:
|
|
1541
|
+
data: I
|
|
1542
1542
|
}, $ = {
|
|
1543
1543
|
name: `Route ${F + 1}`,
|
|
1544
1544
|
type: "line",
|
|
@@ -1547,9 +1547,9 @@ const ar = {
|
|
|
1547
1547
|
// stock: 'sigWv',
|
|
1548
1548
|
data: T
|
|
1549
1549
|
};
|
|
1550
|
-
|
|
1550
|
+
m.series.push(N), D.series.push(K), S.series.push($);
|
|
1551
1551
|
}
|
|
1552
|
-
this.sogChart.setOption(
|
|
1552
|
+
this.sogChart.setOption(m), this.windChart.setOption(D), this.waveChart.setOption(S);
|
|
1553
1553
|
}
|
|
1554
1554
|
},
|
|
1555
1555
|
// handleCommit(content) {
|
|
@@ -1712,8 +1712,8 @@ const ar = {
|
|
|
1712
1712
|
class: "degree-box"
|
|
1713
1713
|
}, qu = { key: 1 };
|
|
1714
1714
|
function ju(s, a, o, u, i, l) {
|
|
1715
|
-
var P,
|
|
1716
|
-
const f = it("IdmBrand"), r = it("Lat"),
|
|
1715
|
+
var P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt;
|
|
1716
|
+
const f = it("IdmBrand"), r = it("Lat"), y = it("Lng"), O = it("Editor");
|
|
1717
1717
|
return d(), c("div", nr, [
|
|
1718
1718
|
L(f, { name: "Voyage Planning" }),
|
|
1719
1719
|
t("div", dr, [
|
|
@@ -1727,26 +1727,26 @@ function ju(s, a, o, u, i, l) {
|
|
|
1727
1727
|
t("div", vr, [
|
|
1728
1728
|
t("div", _r, [
|
|
1729
1729
|
t("div", pr, [
|
|
1730
|
-
((
|
|
1730
|
+
((m = o.plan) == null ? void 0 : m.type) === "Recommend" ? (d(), c("div", fr, "Recommended Route Report for " + e((v = (S = (D = o.plan) == null ? void 0 : D.voyage) == null ? void 0 : S.vessel) == null ? void 0 : v.name), 1)) : (d(), c("div", mr, "Route Report for " + e((G = (F = (E = o.plan) == null ? void 0 : E.voyage) == null ? void 0 : F.vessel) == null ? void 0 : G.name), 1)),
|
|
1731
1731
|
t("div", null, [
|
|
1732
|
-
((
|
|
1733
|
-
((
|
|
1732
|
+
((U = o.plan) == null ? void 0 : U.type) === "Recommend" ? (d(), c("span", yr, "Initial Route Report")) : x("", !0),
|
|
1733
|
+
((Y = o.plan) == null ? void 0 : Y.type) === "Drifting" ? (d(), c("span", br, "Drifting Route Report")) : x("", !0)
|
|
1734
1734
|
])
|
|
1735
1735
|
]),
|
|
1736
1736
|
t("div", xr, [
|
|
1737
1737
|
t("div", Cr, [
|
|
1738
1738
|
gr,
|
|
1739
|
-
t("span", null, e((T = (
|
|
1739
|
+
t("span", null, e((T = (I = o.plan) == null ? void 0 : I.voyage) == null ? void 0 : T.number), 1)
|
|
1740
1740
|
]),
|
|
1741
1741
|
t("div", Dr, [
|
|
1742
1742
|
Ar,
|
|
1743
|
-
($ = (K = (
|
|
1743
|
+
($ = (K = (N = o.plan) == null ? void 0 : N.leg) == null ? void 0 : K.departure) != null && $.name ? (d(), c("div", wr, e((Z = (X = o.plan) == null ? void 0 : X.leg) == null ? void 0 : Z.departure.name), 1)) : (d(), c("div", kr, [
|
|
1744
1744
|
L(r, {
|
|
1745
1745
|
lat: (Q = (j = (w = o.plan) == null ? void 0 : w.leg) == null ? void 0 : j.departure) == null ? void 0 : Q.lat,
|
|
1746
1746
|
label: ""
|
|
1747
1747
|
}, null, 8, ["lat"]),
|
|
1748
1748
|
Sr,
|
|
1749
|
-
L(
|
|
1749
|
+
L(y, {
|
|
1750
1750
|
lng: (ot = (st = (V = o.plan) == null ? void 0 : V.leg) == null ? void 0 : st.departure) == null ? void 0 : ot.lng,
|
|
1751
1751
|
label: ""
|
|
1752
1752
|
}, null, 8, ["lng"])
|
|
@@ -1754,13 +1754,13 @@ function ju(s, a, o, u, i, l) {
|
|
|
1754
1754
|
]),
|
|
1755
1755
|
t("div", Tr, [
|
|
1756
1756
|
Or,
|
|
1757
|
-
(
|
|
1757
|
+
(g = (lt = (at = o.plan) == null ? void 0 : at.leg) == null ? void 0 : lt.destination) != null && g.name ? (d(), c("div", Er, e((z = o.plan) == null ? void 0 : z.leg.destination.name), 1)) : (d(), c("div", Pr, [
|
|
1758
1758
|
L(r, {
|
|
1759
1759
|
lat: (nt = (n = (et = o.plan) == null ? void 0 : et.leg) == null ? void 0 : n.destination) == null ? void 0 : nt.lat,
|
|
1760
1760
|
label: ""
|
|
1761
1761
|
}, null, 8, ["lat"]),
|
|
1762
1762
|
Fr,
|
|
1763
|
-
L(
|
|
1763
|
+
L(y, {
|
|
1764
1764
|
lat: (ht = (dt = (h = o.plan) == null ? void 0 : h.leg) == null ? void 0 : dt.destination) == null ? void 0 : ht.lng,
|
|
1765
1765
|
label: ""
|
|
1766
1766
|
}, null, 8, ["lat"])
|
|
@@ -1784,7 +1784,7 @@ function ju(s, a, o, u, i, l) {
|
|
|
1784
1784
|
C("weather chart in cooking "),
|
|
1785
1785
|
t("span", {
|
|
1786
1786
|
class: "btn",
|
|
1787
|
-
onClick: a[0] || (a[0] = (...
|
|
1787
|
+
onClick: a[0] || (a[0] = (...R) => l.handleRefresh && l.handleRefresh(...R))
|
|
1788
1788
|
}, "Refresh"),
|
|
1789
1789
|
C(" later please")
|
|
1790
1790
|
])
|
|
@@ -1806,25 +1806,25 @@ function ju(s, a, o, u, i, l) {
|
|
|
1806
1806
|
])
|
|
1807
1807
|
]),
|
|
1808
1808
|
t("tbody", null, [
|
|
1809
|
-
(d(!0), c(
|
|
1810
|
-
var Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te,
|
|
1811
|
-
return d(), c(
|
|
1809
|
+
(d(!0), c(M, null, rt((Dt = o.plan) == null ? void 0 : Dt.speeds, (R, wt) => {
|
|
1810
|
+
var Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt;
|
|
1811
|
+
return d(), c(M, { key: wt }, [
|
|
1812
1812
|
t("tr", null, [
|
|
1813
1813
|
t("td", iu, e(wt + 1), 1),
|
|
1814
|
-
t("td", lu, e((Zt = (Yt =
|
|
1815
|
-
t("td", null, e(`${((Vt =
|
|
1816
|
-
t("td", au, e(l.roundPrecision((le =
|
|
1817
|
-
t("td", null, e(l.computeUTCTime((q =
|
|
1814
|
+
t("td", lu, e((Zt = (Yt = R.speed) == null ? void 0 : Yt.lane) == null ? void 0 : Zt.name), 1),
|
|
1815
|
+
t("td", null, e(`${((Vt = R.speed) == null ? void 0 : Vt.label) ?? "CP"} ${((Mt = R.speed) == null ? void 0 : Mt.v0) ?? ((ie = (zt = R.speed) == null ? void 0 : zt.cpCopy) == null ? void 0 : ie.speed)}`), 1),
|
|
1816
|
+
t("td", au, e(l.roundPrecision((le = R.speed) == null ? void 0 : le.distance, 0)), 1),
|
|
1817
|
+
t("td", null, e(l.computeUTCTime((q = R.speed) == null ? void 0 : q.eta)), 1),
|
|
1818
1818
|
t("td", nu, e(l.computeTimeDiff(o.plan, wt)), 1),
|
|
1819
|
-
t("td", du, e(l.roundPrecision((Rt =
|
|
1820
|
-
t("td", cu, e(l.roundPrecision((Kt =
|
|
1821
|
-
t("td", ru, e(l.roundPrecision(((Xt =
|
|
1822
|
-
t("td", uu, e(l.roundPrecision(((qt =
|
|
1823
|
-
t("td", hu, e(l.roundPrecision(((jt =
|
|
1819
|
+
t("td", du, e(l.roundPrecision((Rt = R.speed) == null ? void 0 : Rt.totalFoCons, 3)), 1),
|
|
1820
|
+
t("td", cu, e(l.roundPrecision((Kt = R.speed) == null ? void 0 : Kt.totalDgoCons, 3)), 1),
|
|
1821
|
+
t("td", ru, e(l.roundPrecision(((Xt = R.speed) == null ? void 0 : Xt.dangerous) / 24, 1)), 1),
|
|
1822
|
+
t("td", uu, e(l.roundPrecision(((qt = R.speed) == null ? void 0 : qt.severe) / 24, 1)), 1),
|
|
1823
|
+
t("td", hu, e(l.roundPrecision(((jt = R.speed) == null ? void 0 : jt.heavy) / 24, 1)), 1)
|
|
1824
1824
|
]),
|
|
1825
1825
|
t("tr", null, [
|
|
1826
|
-
t("td", null, e((te = ($t =
|
|
1827
|
-
t("td", null, e(l.roundPrecision((St =
|
|
1826
|
+
t("td", null, e((te = ($t = R.speed) == null ? void 0 : $t.cpCopy) == null ? void 0 : te.fo) + " FO / " + e((tt = (b = R.speed) == null ? void 0 : b.cpCopy) == null ? void 0 : tt.dgo) + " DO", 1),
|
|
1827
|
+
t("td", null, e(l.roundPrecision((St = R.speed) == null ? void 0 : St.avgSpeed, 2)) + " / " + e(l.roundPrecision((It = R.speed) == null ? void 0 : It.wxFactor, 2)) + " / " + e(l.roundPrecision((Qt = R.speed) == null ? void 0 : Qt.cFactor, 2)), 1)
|
|
1828
1828
|
])
|
|
1829
1829
|
], 64);
|
|
1830
1830
|
}), 128))
|
|
@@ -1840,7 +1840,7 @@ function ju(s, a, o, u, i, l) {
|
|
|
1840
1840
|
i.editable ? (d(), c("div", {
|
|
1841
1841
|
key: 0,
|
|
1842
1842
|
class: "print-hidden save-button",
|
|
1843
|
-
onClick: a[1] || (a[1] = (
|
|
1843
|
+
onClick: a[1] || (a[1] = (R) => l.handleSave())
|
|
1844
1844
|
}, "Save")) : x("", !0)
|
|
1845
1845
|
]),
|
|
1846
1846
|
t("div", null, [
|
|
@@ -1848,13 +1848,13 @@ function ju(s, a, o, u, i, l) {
|
|
|
1848
1848
|
key: 0,
|
|
1849
1849
|
ref: "editor",
|
|
1850
1850
|
modelValue: i.advisory,
|
|
1851
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
1851
|
+
"onUpdate:modelValue": a[2] || (a[2] = (R) => i.advisory = R),
|
|
1852
1852
|
class: "editor",
|
|
1853
1853
|
height: "320px"
|
|
1854
1854
|
}, null, 8, ["modelValue"])) : (d(), c("div", {
|
|
1855
1855
|
key: 1,
|
|
1856
1856
|
class: "txt",
|
|
1857
|
-
onDblclick: a[3] || (a[3] = (...
|
|
1857
|
+
onDblclick: a[3] || (a[3] = (...R) => l.decideDisable && l.decideDisable(...R)),
|
|
1858
1858
|
innerHTML: i.advisory
|
|
1859
1859
|
}, null, 40, yu))
|
|
1860
1860
|
])
|
|
@@ -1864,29 +1864,29 @@ function ju(s, a, o, u, i, l) {
|
|
|
1864
1864
|
t("div", Cu, [
|
|
1865
1865
|
gu,
|
|
1866
1866
|
t("div", Du, [
|
|
1867
|
-
(At = (mt = o.plan) == null ? void 0 : mt.speeds) != null && At.length ? (d(!0), c(
|
|
1867
|
+
(At = (mt = o.plan) == null ? void 0 : mt.speeds) != null && At.length ? (d(!0), c(M, { key: 0 }, rt(l.computeMajorPoints((Wt = (Ft = (Pt = (Et = o.plan) == null ? void 0 : Et.speeds[0]) == null ? void 0 : Pt.speed) == null ? void 0 : Ft.sample) == null ? void 0 : Wt.wps), (R, wt) => (d(), c("div", {
|
|
1868
1868
|
key: wt,
|
|
1869
1869
|
class: "cell-row"
|
|
1870
1870
|
}, [
|
|
1871
1871
|
t("div", Au, [
|
|
1872
|
-
|
|
1872
|
+
R.isResume ? (d(), c("div", wu, "Resume")) : (d(), c("div", ku, [
|
|
1873
1873
|
L(r, {
|
|
1874
|
-
lat:
|
|
1874
|
+
lat: R.lat,
|
|
1875
1875
|
label: ""
|
|
1876
1876
|
}, null, 8, ["lat"]),
|
|
1877
1877
|
Su,
|
|
1878
|
-
L(
|
|
1879
|
-
lng:
|
|
1878
|
+
L(y, {
|
|
1879
|
+
lng: R.lng,
|
|
1880
1880
|
label: ""
|
|
1881
1881
|
}, null, 8, ["lng"]),
|
|
1882
|
-
|
|
1882
|
+
R.pilot ? (d(), c("span", Tu, " [P]")) : x("", !0)
|
|
1883
1883
|
]))
|
|
1884
1884
|
]),
|
|
1885
|
-
t("div", Ou, e(l.computeUTCTime(
|
|
1886
|
-
wt ? (d(), c("div", Eu, e(l.computeNav(
|
|
1887
|
-
wt ? (d(), c("div", Pu, e(l.roundPrecision(
|
|
1888
|
-
wt ? (d(), c("div", Fu, e(l.roundPrecision(
|
|
1889
|
-
wt ? (d(), c("div", Wu, e(l.computeMemo(
|
|
1885
|
+
t("div", Ou, e(l.computeUTCTime(R.eta)), 1),
|
|
1886
|
+
wt ? (d(), c("div", Eu, e(l.computeNav(R)), 1)) : x("", !0),
|
|
1887
|
+
wt ? (d(), c("div", Pu, e(l.roundPrecision(R.distanceFromStart, 1)), 1)) : x("", !0),
|
|
1888
|
+
wt ? (d(), c("div", Fu, e(l.roundPrecision(R.avgSpd ?? R.speed, 1)), 1)) : x("", !0),
|
|
1889
|
+
wt ? (d(), c("div", Wu, e(l.computeMemo(R)), 1)) : x("", !0)
|
|
1890
1890
|
]))), 128)) : x("", !0)
|
|
1891
1891
|
])
|
|
1892
1892
|
])
|
|
@@ -1900,75 +1900,75 @@ function ju(s, a, o, u, i, l) {
|
|
|
1900
1900
|
t("div", Gu, null, 512)
|
|
1901
1901
|
]),
|
|
1902
1902
|
t("div", Iu, [
|
|
1903
|
-
(Lt = (Bt = o.plan) == null ? void 0 : Bt.speeds) != null && Lt.length ? (d(), c(
|
|
1903
|
+
(Lt = (Bt = o.plan) == null ? void 0 : Bt.speeds) != null && Lt.length ? (d(), c(M, { key: 0 }, [
|
|
1904
1904
|
t("div", Ru, "Weather Forecast for the Next " + e(l.computeDay(o.plan)) + " Days of Route 1", 1),
|
|
1905
1905
|
t("table", null, [
|
|
1906
1906
|
Nu,
|
|
1907
1907
|
t("tbody", null, [
|
|
1908
|
-
(d(!0), c(
|
|
1909
|
-
var Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te,
|
|
1908
|
+
(d(!0), c(M, null, rt((kt = (Ut = (Nt = (Ht = o.plan) == null ? void 0 : Ht.speeds[0]) == null ? void 0 : Nt.speed) == null ? void 0 : Ut.sample) == null ? void 0 : kt.hours, (R, wt) => {
|
|
1909
|
+
var Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je;
|
|
1910
1910
|
return d(), c("tr", {
|
|
1911
1911
|
key: wt,
|
|
1912
|
-
class: A(
|
|
1912
|
+
class: A(R.isDangerous ? "dangerous" : R.isSevere ? "severe" : R.isHeavy ? "heavy" : "")
|
|
1913
1913
|
}, [
|
|
1914
|
-
t("td", null, e(l.computeUTCTime(
|
|
1914
|
+
t("td", null, e(l.computeUTCTime(R.eta)), 1),
|
|
1915
1915
|
t("td", null, [
|
|
1916
1916
|
t("div", Uu, [
|
|
1917
1917
|
L(r, {
|
|
1918
|
-
lat:
|
|
1918
|
+
lat: R.lat,
|
|
1919
1919
|
label: ""
|
|
1920
1920
|
}, null, 8, ["lat"]),
|
|
1921
1921
|
Yu,
|
|
1922
|
-
L(
|
|
1923
|
-
lng:
|
|
1922
|
+
L(y, {
|
|
1923
|
+
lng: R.lng,
|
|
1924
1924
|
label: ""
|
|
1925
1925
|
}, null, 8, ["lng"])
|
|
1926
1926
|
])
|
|
1927
1927
|
]),
|
|
1928
1928
|
t("td", null, [
|
|
1929
|
-
(Zt = (Yt =
|
|
1930
|
-
C(e((Mt = (Vt =
|
|
1929
|
+
(Zt = (Yt = R.meteo) == null ? void 0 : Yt.wind) != null && Zt.kts ? (d(), c("span", Zu, [
|
|
1930
|
+
C(e((Mt = (Vt = R.meteo) == null ? void 0 : Vt.wind) == null ? void 0 : Mt.direction), 1),
|
|
1931
1931
|
t("i", {
|
|
1932
1932
|
class: "iconfont",
|
|
1933
|
-
style: be(l.computeDegree((ie = (zt =
|
|
1933
|
+
style: be(l.computeDegree((ie = (zt = R.meteo) == null ? void 0 : zt.wind) == null ? void 0 : ie.degree, !1))
|
|
1934
1934
|
}, "", 4)
|
|
1935
1935
|
])) : (d(), c("span", Vu, "-"))
|
|
1936
1936
|
]),
|
|
1937
|
-
t("td", null, e(l.roundPrecision((q = (le =
|
|
1938
|
-
t("td", null, e(l.roundPrecision((Xt = (Kt = (Rt =
|
|
1937
|
+
t("td", null, e(l.roundPrecision((q = (le = R.meteo) == null ? void 0 : le.wind) == null ? void 0 : q.kts, 1)), 1),
|
|
1938
|
+
t("td", null, e(l.roundPrecision((Xt = (Kt = (Rt = R.meteo) == null ? void 0 : Rt.wave) == null ? void 0 : Kt.wd) == null ? void 0 : Xt.height, 1)), 1),
|
|
1939
1939
|
t("td", null, [
|
|
1940
|
-
($t = (jt = (qt =
|
|
1941
|
-
C(e((tt = (
|
|
1940
|
+
($t = (jt = (qt = R.meteo) == null ? void 0 : qt.wave) == null ? void 0 : jt.swell) != null && $t.height ? (d(), c("span", zu, [
|
|
1941
|
+
C(e((tt = (b = (te = R.meteo) == null ? void 0 : te.wave) == null ? void 0 : b.swell) == null ? void 0 : tt.direction), 1),
|
|
1942
1942
|
t("i", {
|
|
1943
1943
|
class: "iconfont",
|
|
1944
|
-
style: be(l.computeDegree((Qt = (It = (St =
|
|
1944
|
+
style: be(l.computeDegree((Qt = (It = (St = R.meteo) == null ? void 0 : St.wave) == null ? void 0 : It.swell) == null ? void 0 : Qt.degree, !1))
|
|
1945
1945
|
}, "", 4)
|
|
1946
1946
|
])) : (d(), c("span", Qu, "-"))
|
|
1947
1947
|
]),
|
|
1948
|
-
t("td", null, e(l.roundPrecision((de = (ae = (xt =
|
|
1949
|
-
t("td", null, e(l.roundPrecision((fe = (pe = (ce =
|
|
1948
|
+
t("td", null, e(l.roundPrecision((de = (ae = (xt = R.meteo) == null ? void 0 : xt.wave) == null ? void 0 : ae.swell) == null ? void 0 : de.height, 1)), 1),
|
|
1949
|
+
t("td", null, e(l.roundPrecision((fe = (pe = (ce = R.meteo) == null ? void 0 : ce.wave) == null ? void 0 : pe.swell) == null ? void 0 : fe.period, 1)), 1),
|
|
1950
1950
|
t("td", null, [
|
|
1951
|
-
(we = (ye = (me =
|
|
1952
|
-
C(e((Te = (Se = (ke =
|
|
1951
|
+
(we = (ye = (me = R.meteo) == null ? void 0 : me.wave) == null ? void 0 : ye.sig) != null && we.height ? (d(), c("span", Ju, [
|
|
1952
|
+
C(e((Te = (Se = (ke = R.meteo) == null ? void 0 : ke.wave) == null ? void 0 : Se.sig) == null ? void 0 : Te.direction), 1),
|
|
1953
1953
|
t("i", {
|
|
1954
1954
|
class: "iconfont",
|
|
1955
|
-
style: be(l.computeDegree((Pe = (Ee = (Oe =
|
|
1955
|
+
style: be(l.computeDegree((Pe = (Ee = (Oe = R.meteo) == null ? void 0 : Oe.wave) == null ? void 0 : Ee.sig) == null ? void 0 : Pe.degree, !1))
|
|
1956
1956
|
}, "", 4)
|
|
1957
1957
|
])) : (d(), c("span", Ku, "-"))
|
|
1958
1958
|
]),
|
|
1959
|
-
t("td", null, e(l.roundPrecision((Be = (We = (Fe =
|
|
1960
|
-
t("td", null, e(l.roundPrecision((Me = (He = (Le =
|
|
1959
|
+
t("td", null, e(l.roundPrecision((Be = (We = (Fe = R.meteo) == null ? void 0 : Fe.wave) == null ? void 0 : We.sig) == null ? void 0 : Be.height, 1)), 1),
|
|
1960
|
+
t("td", null, e(l.roundPrecision((Me = (He = (Le = R.meteo) == null ? void 0 : Le.wave) == null ? void 0 : He.sig) == null ? void 0 : Me.period, 1)), 1),
|
|
1961
1961
|
t("td", null, [
|
|
1962
|
-
(Ie = (Ge =
|
|
1963
|
-
C(e((Ne = (Re =
|
|
1962
|
+
(Ie = (Ge = R.meteo) == null ? void 0 : Ge.current) != null && Ie.kts ? (d(), c("span", Xu, [
|
|
1963
|
+
C(e((Ne = (Re = R.meteo) == null ? void 0 : Re.current) == null ? void 0 : Ne.direction), 1),
|
|
1964
1964
|
t("i", {
|
|
1965
1965
|
class: "iconfont",
|
|
1966
|
-
style: be(l.computeDegree((Ye = (Ue =
|
|
1966
|
+
style: be(l.computeDegree((Ye = (Ue = R.meteo) == null ? void 0 : Ue.current) == null ? void 0 : Ye.degree, !0))
|
|
1967
1967
|
}, "", 4)
|
|
1968
1968
|
])) : (d(), c("span", qu, "-"))
|
|
1969
1969
|
]),
|
|
1970
|
-
t("td", null, e(l.roundPrecision((je = (Ze =
|
|
1971
|
-
t("td", null, e(l.roundPrecision(
|
|
1970
|
+
t("td", null, e(l.roundPrecision((je = (Ze = R.meteo) == null ? void 0 : Ze.current) == null ? void 0 : je.kts, 1)), 1),
|
|
1971
|
+
t("td", null, e(l.roundPrecision(R.cFactor, 1)), 1)
|
|
1972
1972
|
], 2);
|
|
1973
1973
|
}), 128))
|
|
1974
1974
|
])
|
|
@@ -2006,12 +2006,12 @@ const $u = {
|
|
|
2006
2006
|
computed: {
|
|
2007
2007
|
computeUTCTime() {
|
|
2008
2008
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
2009
|
-
return `${
|
|
2009
|
+
return `${H(s).utc().format(a)}`;
|
|
2010
2010
|
};
|
|
2011
2011
|
},
|
|
2012
2012
|
computeLTime() {
|
|
2013
2013
|
return function(s, a) {
|
|
2014
|
-
const o =
|
|
2014
|
+
const o = H(s);
|
|
2015
2015
|
return o.utcOffset(a), `${o.format("MMM-DD/HHmm")}LT`;
|
|
2016
2016
|
};
|
|
2017
2017
|
},
|
|
@@ -2025,7 +2025,7 @@ const $u = {
|
|
|
2025
2025
|
if (a === 0)
|
|
2026
2026
|
return "-";
|
|
2027
2027
|
{
|
|
2028
|
-
const l =
|
|
2028
|
+
const l = H((u = (o = s == null ? void 0 : s.speeds[a]) == null ? void 0 : o.speed) == null ? void 0 : u.eta).diff(H((i = s == null ? void 0 : s.speeds[0]) == null ? void 0 : i.speed.eta), "h", !0);
|
|
2029
2029
|
return Math.round(l * 10) / 10;
|
|
2030
2030
|
}
|
|
2031
2031
|
};
|
|
@@ -2062,7 +2062,7 @@ const $u = {
|
|
|
2062
2062
|
return function(s) {
|
|
2063
2063
|
var i, l, f;
|
|
2064
2064
|
const a = (f = (l = (i = s == null ? void 0 : s.speeds[0]) == null ? void 0 : i.speed) == null ? void 0 : l.sample) == null ? void 0 : f.hours, o = a[0], u = a[a.length - 1];
|
|
2065
|
-
return
|
|
2065
|
+
return H(u.eta).diff(H(o.eta), "day");
|
|
2066
2066
|
};
|
|
2067
2067
|
}
|
|
2068
2068
|
},
|
|
@@ -2234,8 +2234,8 @@ const $u = {
|
|
|
2234
2234
|
])
|
|
2235
2235
|
], -1));
|
|
2236
2236
|
function Y1(s, a, o, u, i, l) {
|
|
2237
|
-
var O, P,
|
|
2238
|
-
const f = it("Lat"), r = it("Lng"),
|
|
2237
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le;
|
|
2238
|
+
const f = it("Lat"), r = it("Lng"), y = it("Editor");
|
|
2239
2239
|
return d(), c("div", th, [
|
|
2240
2240
|
eh,
|
|
2241
2241
|
t("div", sh, [
|
|
@@ -2244,19 +2244,19 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2244
2244
|
t("div", lh, [
|
|
2245
2245
|
t("div", ah, [
|
|
2246
2246
|
nh,
|
|
2247
|
-
t("div", dh, e((
|
|
2247
|
+
t("div", dh, e((m = (P = (O = o.plan) == null ? void 0 : O.voyage) == null ? void 0 : P.company) == null ? void 0 : m.name), 1)
|
|
2248
2248
|
]),
|
|
2249
2249
|
t("div", ch, [
|
|
2250
2250
|
rh,
|
|
2251
2251
|
t("div", uh, [
|
|
2252
|
-
(v = (S = (
|
|
2252
|
+
(v = (S = (D = o.plan) == null ? void 0 : D.leg) == null ? void 0 : S.departure) != null && v.name ? (d(), c("div", hh, e((F = (E = o.plan) == null ? void 0 : E.leg) == null ? void 0 : F.departure.name), 1)) : (d(), c("div", vh, [
|
|
2253
2253
|
L(f, {
|
|
2254
|
-
lat: (
|
|
2254
|
+
lat: (Y = (U = (G = o.plan) == null ? void 0 : G.leg) == null ? void 0 : U.departure) == null ? void 0 : Y.lat,
|
|
2255
2255
|
label: ""
|
|
2256
2256
|
}, null, 8, ["lat"]),
|
|
2257
2257
|
_h,
|
|
2258
2258
|
L(r, {
|
|
2259
|
-
lng: (
|
|
2259
|
+
lng: (N = (T = (I = o.plan) == null ? void 0 : I.leg) == null ? void 0 : T.departure) == null ? void 0 : N.lng,
|
|
2260
2260
|
label: ""
|
|
2261
2261
|
}, null, 8, ["lng"])
|
|
2262
2262
|
])),
|
|
@@ -2272,7 +2272,7 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2272
2272
|
t("div", xh, [
|
|
2273
2273
|
Ch,
|
|
2274
2274
|
t("div", gh, [
|
|
2275
|
-
(lt = (at = (ot = o.plan) == null ? void 0 : ot.leg) == null ? void 0 : at.destination) != null && lt.name ? (d(), c("div", Dh, e((z = (
|
|
2275
|
+
(lt = (at = (ot = o.plan) == null ? void 0 : ot.leg) == null ? void 0 : at.destination) != null && lt.name ? (d(), c("div", Dh, e((z = (g = o.plan) == null ? void 0 : g.leg) == null ? void 0 : z.destination.name), 1)) : (d(), c("div", Ah, [
|
|
2276
2276
|
L(f, {
|
|
2277
2277
|
lat: (nt = (n = (et = o.plan) == null ? void 0 : et.leg) == null ? void 0 : n.destination) == null ? void 0 : nt.lat,
|
|
2278
2278
|
label: ""
|
|
@@ -2321,7 +2321,7 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2321
2321
|
t("div", null, [
|
|
2322
2322
|
Uh,
|
|
2323
2323
|
t("div", Yh, [
|
|
2324
|
-
i.editable ? (d(), re(
|
|
2324
|
+
i.editable ? (d(), re(y, {
|
|
2325
2325
|
key: 0,
|
|
2326
2326
|
modelValue: i.advisory,
|
|
2327
2327
|
"onUpdate:modelValue": a[1] || (a[1] = (q) => i.advisory = q),
|
|
@@ -2352,13 +2352,13 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2352
2352
|
(Lt = (Bt = o.plan) == null ? void 0 : Bt.speeds) != null && Lt.length ? (d(), c("table", l1, [
|
|
2353
2353
|
a1,
|
|
2354
2354
|
t("tbody", null, [
|
|
2355
|
-
(d(!0), c(
|
|
2356
|
-
var Kt, Xt, qt, jt, $t, te,
|
|
2355
|
+
(d(!0), c(M, null, rt((Ht = o.plan) == null ? void 0 : Ht.speeds, (q, Rt) => {
|
|
2356
|
+
var Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce;
|
|
2357
2357
|
return d(), c("tr", { key: Rt }, [
|
|
2358
2358
|
t("td", null, "Route " + e(Rt + 1), 1),
|
|
2359
2359
|
t("td", null, e(l.roundPrecision((Kt = q.speed) == null ? void 0 : Kt.distance, 0)), 1),
|
|
2360
2360
|
t("td", null, e(`${((Xt = q.speed) == null ? void 0 : Xt.label) ?? "CP"} ${((qt = q.speed) == null ? void 0 : qt.v0) ?? (($t = (jt = q.speed) == null ? void 0 : jt.cpCopy) == null ? void 0 : $t.speed)}`), 1),
|
|
2361
|
-
t("td", null, e((
|
|
2361
|
+
t("td", null, e((b = (te = q.speed) == null ? void 0 : te.cpCopy) == null ? void 0 : b.fo) + " FO / " + e((St = (tt = q.speed) == null ? void 0 : tt.cpCopy) == null ? void 0 : St.dgo) + " DO", 1),
|
|
2362
2362
|
t("td", null, e(l.computeUTCTime((It = q.speed) == null ? void 0 : It.eta)), 1),
|
|
2363
2363
|
t("td", null, e(l.roundPrecision((Qt = q.speed) == null ? void 0 : Qt.avgSpeed, 2)) + " / " + e(l.roundPrecision((xt = q.speed) == null ? void 0 : xt.wxFactor, 2)) + " / " + e(l.roundPrecision((ae = q.speed) == null ? void 0 : ae.cFactor, 2)), 1),
|
|
2364
2364
|
t("td", null, e(l.roundPrecision((de = q.speed) == null ? void 0 : de.totalFoCons, 3)) + " FO /" + e(l.roundPrecision((ce = q.speed) == null ? void 0 : ce.totalDgoCons, 3)) + " DO", 1)
|
|
@@ -2376,7 +2376,7 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2376
2376
|
t("div", u1, [
|
|
2377
2377
|
h1,
|
|
2378
2378
|
t("div", v1, [
|
|
2379
|
-
(Ut = (Nt = o.plan) == null ? void 0 : Nt.speeds) != null && Ut.length ? (d(!0), c(
|
|
2379
|
+
(Ut = (Nt = o.plan) == null ? void 0 : Nt.speeds) != null && Ut.length ? (d(!0), c(M, { key: 0 }, rt((Yt = (wt = (R = (kt = o.plan) == null ? void 0 : kt.speeds[0]) == null ? void 0 : R.speed) == null ? void 0 : wt.sample) == null ? void 0 : Yt.wps, (q, Rt) => (d(), c("div", {
|
|
2380
2380
|
key: Rt,
|
|
2381
2381
|
class: "cell-row"
|
|
2382
2382
|
}, [
|
|
@@ -2412,8 +2412,8 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2412
2412
|
(Vt = (Zt = o.plan) == null ? void 0 : Zt.speeds) != null && Vt.length ? (d(), c("table", E1, [
|
|
2413
2413
|
P1,
|
|
2414
2414
|
t("tbody", null, [
|
|
2415
|
-
(d(!0), c(
|
|
2416
|
-
var Kt, Xt, qt, jt, $t, te,
|
|
2415
|
+
(d(!0), c(M, null, rt((le = (ie = (zt = (Mt = o.plan) == null ? void 0 : Mt.speeds[0]) == null ? void 0 : zt.speed) == null ? void 0 : ie.sample) == null ? void 0 : le.hours, (q, Rt) => {
|
|
2416
|
+
var Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze;
|
|
2417
2417
|
return d(), c("tr", {
|
|
2418
2418
|
key: Rt,
|
|
2419
2419
|
class: A(q.isDangerous ? "dangerous" : q.isSevere ? "severe" : q.isHeavy ? "heavy" : "")
|
|
@@ -2436,7 +2436,7 @@ function Y1(s, a, o, u, i, l) {
|
|
|
2436
2436
|
(Xt = (Kt = q.meteo) == null ? void 0 : Kt.wind) != null && Xt.kts ? (d(), c("span", B1, e((jt = (qt = q.meteo) == null ? void 0 : qt.wind) == null ? void 0 : jt.direction), 1)) : (d(), c("span", L1, "-"))
|
|
2437
2437
|
]),
|
|
2438
2438
|
t("td", null, e(l.roundPrecision((te = ($t = q.meteo) == null ? void 0 : $t.wind) == null ? void 0 : te.kts, 1)), 1),
|
|
2439
|
-
t("td", null, e(l.roundPrecision((St = (tt = (
|
|
2439
|
+
t("td", null, e(l.roundPrecision((St = (tt = (b = q.meteo) == null ? void 0 : b.wave) == null ? void 0 : tt.wd) == null ? void 0 : St.height, 1)), 1),
|
|
2440
2440
|
t("td", null, [
|
|
2441
2441
|
(xt = (Qt = (It = q.meteo) == null ? void 0 : It.wave) == null ? void 0 : Qt.swell) != null && xt.height ? (d(), c("span", H1, e((ce = (de = (ae = q.meteo) == null ? void 0 : ae.wave) == null ? void 0 : de.swell) == null ? void 0 : ce.direction), 1)) : (d(), c("span", M1, "-"))
|
|
2442
2442
|
]),
|
|
@@ -2494,13 +2494,13 @@ const V1 = {
|
|
|
2494
2494
|
computed: {
|
|
2495
2495
|
computeUTCTime() {
|
|
2496
2496
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
2497
|
-
return `${
|
|
2497
|
+
return `${H(s).utc().format(a)}`;
|
|
2498
2498
|
};
|
|
2499
2499
|
},
|
|
2500
2500
|
computeLTime() {
|
|
2501
2501
|
return function(s, a, o) {
|
|
2502
2502
|
let u = 0;
|
|
2503
|
-
return o && a && (u = ee.guessTimeZoneOffset(a, o)), `${
|
|
2503
|
+
return o && a && (u = ee.guessTimeZoneOffset(a, o)), `${H(s).utcOffset(u).format("MMM-DD/HHmm")}LT`;
|
|
2504
2504
|
};
|
|
2505
2505
|
},
|
|
2506
2506
|
computeTimeDiff() {
|
|
@@ -2509,7 +2509,7 @@ const V1 = {
|
|
|
2509
2509
|
if (a === 0)
|
|
2510
2510
|
return "-";
|
|
2511
2511
|
{
|
|
2512
|
-
const r =
|
|
2512
|
+
const r = H((i = (u = (o = s == null ? void 0 : s.speeds) == null ? void 0 : o[a]) == null ? void 0 : u.speed) == null ? void 0 : i.eta).diff(H((f = (l = s == null ? void 0 : s.speeds) == null ? void 0 : l[0]) == null ? void 0 : f.speed.eta), "h", !0);
|
|
2513
2513
|
return Math.round(r * 10) / 10;
|
|
2514
2514
|
}
|
|
2515
2515
|
};
|
|
@@ -2559,9 +2559,9 @@ const V1 = {
|
|
|
2559
2559
|
},
|
|
2560
2560
|
computeDay() {
|
|
2561
2561
|
return function(s, a = 0) {
|
|
2562
|
-
var l, f, r,
|
|
2563
|
-
const o = (
|
|
2564
|
-
return Math.round(
|
|
2562
|
+
var l, f, r, y;
|
|
2563
|
+
const o = (y = (r = (f = (l = s == null ? void 0 : s.speeds) == null ? void 0 : l[a]) == null ? void 0 : f.speed) == null ? void 0 : r.sample) == null ? void 0 : y.hours, u = o[0], i = o[o.length - 1];
|
|
2564
|
+
return Math.round(H(i.eta).diff(H(u.eta), "day", !0) * 10) / 10;
|
|
2565
2565
|
};
|
|
2566
2566
|
}
|
|
2567
2567
|
},
|
|
@@ -2590,7 +2590,7 @@ const V1 = {
|
|
|
2590
2590
|
this.echart || (this.echart = Eo(Po.init(this.$refs.echart))), this.renderEchart();
|
|
2591
2591
|
},
|
|
2592
2592
|
renderEchart() {
|
|
2593
|
-
var
|
|
2593
|
+
var y, O, P, m, D, S, v;
|
|
2594
2594
|
const s = [], a = [], o = {
|
|
2595
2595
|
dateTime: 0,
|
|
2596
2596
|
windSpeed: 1,
|
|
@@ -2607,12 +2607,12 @@ const V1 = {
|
|
|
2607
2607
|
});
|
|
2608
2608
|
const l = 18;
|
|
2609
2609
|
let f = 4;
|
|
2610
|
-
(S = (
|
|
2611
|
-
var G,
|
|
2610
|
+
(S = (D = (m = (P = (O = (y = this.plan) == null ? void 0 : y.speeds) == null ? void 0 : O[this.speedIndex]) == null ? void 0 : P.speed) == null ? void 0 : m.sample) == null ? void 0 : D.hours) == null || S.forEach((E) => {
|
|
2611
|
+
var G, U, Y, I, T, N, K, $, X, Z;
|
|
2612
2612
|
const F = E.meteo;
|
|
2613
2613
|
if (F) {
|
|
2614
|
-
const w =
|
|
2615
|
-
s.push(w), f = Math.ceil(((
|
|
2614
|
+
const w = H(F.utc).utc().format("MMM-DD/HHmm[Z]");
|
|
2615
|
+
s.push(w), f = Math.ceil(((U = (G = F.wave) == null ? void 0 : G.sig) == null ? void 0 : U.height) > f ? (I = (Y = F.wave) == null ? void 0 : Y.sig) == null ? void 0 : I.height : f), a.push([w, (T = F.wind) == null ? void 0 : T.kts, (K = (N = F.wave) == null ? void 0 : N.sig) == null ? void 0 : K.height, ($ = F.wind) == null ? void 0 : $.direction, (X = F.wind) == null ? void 0 : X.degree, (Z = F.wind) == null ? void 0 : Z.scale, E.cFactor, E.wFactor, E.speed]);
|
|
2616
2616
|
}
|
|
2617
2617
|
});
|
|
2618
2618
|
const r = {
|
|
@@ -3068,35 +3068,35 @@ const V1 = {
|
|
|
3068
3068
|
/* @__PURE__ */ t("div", null, " The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")
|
|
3069
3069
|
], -1));
|
|
3070
3070
|
function Y_(s, a, o, u, i, l) {
|
|
3071
|
-
var
|
|
3072
|
-
const f = it("Brand"), r = it("Loading"),
|
|
3071
|
+
var m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je, Ss, Os, Es, Ps, Fs;
|
|
3072
|
+
const f = it("Brand"), r = it("Loading"), y = it("Lat"), O = it("Lng"), P = it("Editor");
|
|
3073
3073
|
return d(), c("div", z1, [
|
|
3074
3074
|
t("div", Q1, [
|
|
3075
3075
|
L(f, {
|
|
3076
3076
|
name: "Voyage Planning",
|
|
3077
|
-
issued: (
|
|
3077
|
+
issued: (m = o.plan) == null ? void 0 : m.updatedAt
|
|
3078
3078
|
}, null, 8, ["issued"]),
|
|
3079
3079
|
L(r, { loading: i.loading }, null, 8, ["loading"]),
|
|
3080
3080
|
t("div", J1, [
|
|
3081
3081
|
t("div", K1, [
|
|
3082
3082
|
t("div", X1, [
|
|
3083
3083
|
q1,
|
|
3084
|
-
t("span", j1, e((v = (S = (
|
|
3084
|
+
t("span", j1, e((v = (S = (D = o.plan) == null ? void 0 : D.voyage) == null ? void 0 : S.company) == null ? void 0 : v.name), 1)
|
|
3085
3085
|
]),
|
|
3086
3086
|
t("div", $1, [
|
|
3087
3087
|
tv,
|
|
3088
|
-
t("span", ev, e((G = (F = (E = o.plan) == null ? void 0 : E.voyage) == null ? void 0 : F.vessel) == null ? void 0 : G.name) + " (" + e((T = (
|
|
3088
|
+
t("span", ev, e((G = (F = (E = o.plan) == null ? void 0 : E.voyage) == null ? void 0 : F.vessel) == null ? void 0 : G.name) + " (" + e((T = (I = (Y = (U = o.plan) == null ? void 0 : U.voyage) == null ? void 0 : Y.vessel) == null ? void 0 : I.vesselType) == null ? void 0 : T.name) + ")", 1)
|
|
3089
3089
|
]),
|
|
3090
3090
|
t("div", sv, [
|
|
3091
3091
|
ov,
|
|
3092
|
-
t("span", iv, e((K = (
|
|
3092
|
+
t("span", iv, e((K = (N = o.plan) == null ? void 0 : N.voyage) == null ? void 0 : K.number), 1)
|
|
3093
3093
|
])
|
|
3094
3094
|
]),
|
|
3095
3095
|
t("div", lv, [
|
|
3096
3096
|
t("div", av, [
|
|
3097
3097
|
nv,
|
|
3098
3098
|
(Z = (X = ($ = o.plan) == null ? void 0 : $.leg) == null ? void 0 : X.departure) != null && Z.name ? (d(), c("span", dv, e((j = (w = o.plan) == null ? void 0 : w.leg) == null ? void 0 : j.departure.name), 1)) : (d(), c("div", cv, [
|
|
3099
|
-
L(
|
|
3099
|
+
L(y, {
|
|
3100
3100
|
lat: (st = (V = (Q = o.plan) == null ? void 0 : Q.leg) == null ? void 0 : V.departure) == null ? void 0 : st.lat,
|
|
3101
3101
|
label: ""
|
|
3102
3102
|
}, null, 8, ["lat"]),
|
|
@@ -3106,12 +3106,12 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3106
3106
|
label: ""
|
|
3107
3107
|
}, null, 8, ["lng"])
|
|
3108
3108
|
])),
|
|
3109
|
-
t("span", uv, e(l.computeUTCTime(((et = (z = (
|
|
3109
|
+
t("span", uv, e(l.computeUTCTime(((et = (z = (g = o.plan) == null ? void 0 : g.leg) == null ? void 0 : z.departure) == null ? void 0 : et.atd) || ((h = (nt = (n = o.plan) == null ? void 0 : n.leg) == null ? void 0 : nt.departure) == null ? void 0 : h.etd) || ((pt = (ct = (ht = (dt = o.plan) == null ? void 0 : dt.speeds) == null ? void 0 : ht[i.speedIndex]) == null ? void 0 : ct.speed) == null ? void 0 : pt.etd), "MMM-DD/HHmm[Z]")), 1)
|
|
3110
3110
|
]),
|
|
3111
3111
|
t("div", hv, [
|
|
3112
3112
|
vv,
|
|
3113
3113
|
(bt = (yt = (ft = o.plan) == null ? void 0 : ft.leg) == null ? void 0 : yt.destination) != null && bt.name ? (d(), c("span", _v, e((Dt = (gt = (Ct = o.plan) == null ? void 0 : Ct.leg) == null ? void 0 : gt.destination) == null ? void 0 : Dt.name), 1)) : (d(), c("div", pv, [
|
|
3114
|
-
L(
|
|
3114
|
+
L(y, {
|
|
3115
3115
|
lat: (Et = (At = (mt = o.plan) == null ? void 0 : mt.leg) == null ? void 0 : At.destination) == null ? void 0 : Et.lat,
|
|
3116
3116
|
label: ""
|
|
3117
3117
|
}, null, 8, ["lat"]),
|
|
@@ -3121,7 +3121,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3121
3121
|
label: ""
|
|
3122
3122
|
}, null, 8, ["lng"])
|
|
3123
3123
|
])),
|
|
3124
|
-
t("span", mv, e(l.computeUTCTime(((Nt = (Ht = (Lt = (Bt = o.plan) == null ? void 0 : Bt.speeds) == null ? void 0 : Lt[i.speedIndex]) == null ? void 0 : Ht.speed) == null ? void 0 : Nt.ata) || ((wt = (
|
|
3124
|
+
t("span", mv, e(l.computeUTCTime(((Nt = (Ht = (Lt = (Bt = o.plan) == null ? void 0 : Bt.speeds) == null ? void 0 : Lt[i.speedIndex]) == null ? void 0 : Ht.speed) == null ? void 0 : Nt.ata) || ((wt = (R = (kt = (Ut = o.plan) == null ? void 0 : Ut.speeds) == null ? void 0 : kt[i.speedIndex]) == null ? void 0 : R.speed) == null ? void 0 : wt.eta), "MMM-DD/HHmm[Z]")), 1)
|
|
3125
3125
|
]),
|
|
3126
3126
|
t("div", yv, [
|
|
3127
3127
|
bv,
|
|
@@ -3131,7 +3131,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3131
3131
|
]),
|
|
3132
3132
|
t("div", Cv, [
|
|
3133
3133
|
gv,
|
|
3134
|
-
(Vt = o.plan) != null && Vt.chartUrl ? (d(), c(
|
|
3134
|
+
(Vt = o.plan) != null && Vt.chartUrl ? (d(), c(M, { key: 0 }, [
|
|
3135
3135
|
t("div", Dv, [
|
|
3136
3136
|
t("img", {
|
|
3137
3137
|
src: o.plan.chartUrl
|
|
@@ -3153,7 +3153,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3153
3153
|
onClick: a[1] || (a[1] = (J) => (i.speedIndex = 1, l.renderEchart()))
|
|
3154
3154
|
}, e((te = ($t = (jt = (qt = (Xt = o.plan) == null ? void 0 : Xt.speeds) == null ? void 0 : qt[1]) == null ? void 0 : jt.speed) == null ? void 0 : $t.lane) == null ? void 0 : te.name), 1)
|
|
3155
3155
|
])) : x("", !0),
|
|
3156
|
-
((tt = (
|
|
3156
|
+
((tt = (b = o.plan) == null ? void 0 : b.speeds) == null ? void 0 : tt.length) > 2 ? (d(), c("div", Pv, [
|
|
3157
3157
|
Fv,
|
|
3158
3158
|
t("span", {
|
|
3159
3159
|
class: "btn",
|
|
@@ -3185,9 +3185,9 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3185
3185
|
])
|
|
3186
3186
|
]),
|
|
3187
3187
|
t("tbody", null, [
|
|
3188
|
-
(d(!0), c(
|
|
3188
|
+
(d(!0), c(M, null, rt((pe = o.plan) == null ? void 0 : pe.speeds, (J, ue) => {
|
|
3189
3189
|
var Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds;
|
|
3190
|
-
return d(), c(
|
|
3190
|
+
return d(), c(M, { key: ue }, [
|
|
3191
3191
|
t("tr", null, [
|
|
3192
3192
|
t("td", Uv, e(ue + 1), 1),
|
|
3193
3193
|
t("td", Yv, e((ze = (Ve = J.speed) == null ? void 0 : Ve.lane) == null ? void 0 : ze.name), 1),
|
|
@@ -3219,7 +3219,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3219
3219
|
t_,
|
|
3220
3220
|
t("div", e_, "Advisory & Major Waypoint of Route " + e((we = (ye = (me = (fe = o.plan.speeds) == null ? void 0 : fe[i.speedIndex]) == null ? void 0 : me.speed) == null ? void 0 : ye.lane) == null ? void 0 : we.name), 1),
|
|
3221
3221
|
((Se = (ke = o.plan) == null ? void 0 : ke.speeds) == null ? void 0 : Se.length) > 1 ? (d(), c("div", s_, [
|
|
3222
|
-
(d(!0), c(
|
|
3222
|
+
(d(!0), c(M, null, rt((Te = o.plan) == null ? void 0 : Te.speeds, (J, ue) => {
|
|
3223
3223
|
var Ve, ze;
|
|
3224
3224
|
return d(), c("div", {
|
|
3225
3225
|
class: "route-item",
|
|
@@ -3246,13 +3246,13 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3246
3246
|
t("div", a_, [
|
|
3247
3247
|
n_,
|
|
3248
3248
|
t("div", d_, [
|
|
3249
|
-
(Ee = (Oe = o.plan) == null ? void 0 : Oe.speeds) != null && Ee.length ? (d(!0), c(
|
|
3249
|
+
(Ee = (Oe = o.plan) == null ? void 0 : Oe.speeds) != null && Ee.length ? (d(!0), c(M, { key: 0 }, rt(l.computeMajorPoints((Le = (Be = (We = (Fe = (Pe = o.plan) == null ? void 0 : Pe.speeds) == null ? void 0 : Fe[i.speedIndex]) == null ? void 0 : We.speed) == null ? void 0 : Be.sample) == null ? void 0 : Le.wps), (J, ue) => (d(), c("div", {
|
|
3250
3250
|
key: ue,
|
|
3251
3251
|
class: "cell-row"
|
|
3252
3252
|
}, [
|
|
3253
3253
|
t("div", c_, [
|
|
3254
3254
|
J.isResume ? (d(), c("div", r_, "Resume")) : (d(), c("div", u_, [
|
|
3255
|
-
L(
|
|
3255
|
+
L(y, {
|
|
3256
3256
|
lat: J.lat,
|
|
3257
3257
|
label: ""
|
|
3258
3258
|
}, null, 8, ["lat"]),
|
|
@@ -3274,12 +3274,12 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3274
3274
|
])
|
|
3275
3275
|
]),
|
|
3276
3276
|
t("div", D_, [
|
|
3277
|
-
(Me = (He = o.plan) == null ? void 0 : He.speeds) != null && Me.length ? (d(), c(
|
|
3277
|
+
(Me = (He = o.plan) == null ? void 0 : He.speeds) != null && Me.length ? (d(), c(M, { key: 0 }, [
|
|
3278
3278
|
t("div", A_, [
|
|
3279
3279
|
w_,
|
|
3280
3280
|
t("div", k_, "Weather Forecast for the Next " + e(l.computeDay(o.plan, i.speedIndex)) + " Days of Route " + e((Ue = (Ne = (Re = (Ie = (Ge = o.plan) == null ? void 0 : Ge.speeds) == null ? void 0 : Ie[i.speedIndex]) == null ? void 0 : Re.speed) == null ? void 0 : Ne.lane) == null ? void 0 : Ue.name), 1),
|
|
3281
3281
|
((Ze = (Ye = o.plan) == null ? void 0 : Ye.speeds) == null ? void 0 : Ze.length) > 1 ? (d(), c("div", S_, [
|
|
3282
|
-
(d(!0), c(
|
|
3282
|
+
(d(!0), c(M, null, rt((je = o.plan) == null ? void 0 : je.speeds, (J, ue) => {
|
|
3283
3283
|
var Ve, ze;
|
|
3284
3284
|
return d(), c("div", {
|
|
3285
3285
|
class: "route-item",
|
|
@@ -3294,7 +3294,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3294
3294
|
t("table", null, [
|
|
3295
3295
|
P_,
|
|
3296
3296
|
t("tbody", null, [
|
|
3297
|
-
(d(!0), c(
|
|
3297
|
+
(d(!0), c(M, null, rt((Fs = (Ps = (Es = (Os = (Ss = o.plan) == null ? void 0 : Ss.speeds) == null ? void 0 : Os[i.speedIndex]) == null ? void 0 : Es.speed) == null ? void 0 : Ps.sample) == null ? void 0 : Fs.hours, (J, ue) => {
|
|
3298
3298
|
var Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds, Ws, Bs, Ls, Hs, Ms, Gs, Is, Rs, Ns, Us, Ys, Zs, Vs, zs, Qs, Js, Ks, Xs, qs, js, $s, to;
|
|
3299
3299
|
return d(), c("tr", {
|
|
3300
3300
|
key: ue,
|
|
@@ -3303,7 +3303,7 @@ function Y_(s, a, o, u, i, l) {
|
|
|
3303
3303
|
t("td", null, e(l.computeUTCTime(J.eta)), 1),
|
|
3304
3304
|
t("td", null, [
|
|
3305
3305
|
t("div", F_, [
|
|
3306
|
-
L(
|
|
3306
|
+
L(y, {
|
|
3307
3307
|
lat: J.lat,
|
|
3308
3308
|
label: ""
|
|
3309
3309
|
}, null, 8, ["lat"]),
|
|
@@ -3504,7 +3504,7 @@ const $_ = {
|
|
|
3504
3504
|
// 日期格式转换
|
|
3505
3505
|
computedTime() {
|
|
3506
3506
|
return function(s, a) {
|
|
3507
|
-
return a === "subtitle" ?
|
|
3507
|
+
return a === "subtitle" ? H(s).utc().format("MMMM-DD, YYYY/HHmm[Z]") : a === "table" ? H(s).utc().format("MMMM-DD/HHmm[Z]") : H(s).utc().format("dddd, MMMM D, YYYY");
|
|
3508
3508
|
};
|
|
3509
3509
|
},
|
|
3510
3510
|
// 经纬度转换
|
|
@@ -3606,7 +3606,7 @@ const $_ = {
|
|
|
3606
3606
|
let i = o.excluded;
|
|
3607
3607
|
i.sumDistance > 0 && i.detail.forEach((f) => {
|
|
3608
3608
|
let r = {
|
|
3609
|
-
time:
|
|
3609
|
+
time: H(f.begin).utc().format("DD/MM/YYYY HHmm[Z]") + " - " + H(f.end).utc().format("DD/MM/YYYY HHmm[Z]"),
|
|
3610
3610
|
duration: f.duration,
|
|
3611
3611
|
distance: f.distance,
|
|
3612
3612
|
fo: f.foCons,
|
|
@@ -3835,10 +3835,10 @@ const $_ = {
|
|
|
3835
3835
|
class: "fraction"
|
|
3836
3836
|
}, G0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("div", { class: "fractional-line" }, null, -1)), I0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("div", null, "24", -1)), R0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("div", { style: { width: "5%", "text-align": "center" } }, "=", -1)), N0 = { style: { width: "10%", "text-align": "center" } }, U0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("div", { style: { width: "10%", "text-align": "center" } }, "(f'')", -1)), Y0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("span", null, "=", -1)), Z0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("span", null, "=", -1)), V0 = /* @__PURE__ */ k(() => /* @__PURE__ */ t("span", null, "=", -1)), z0 = ["innerHTML"];
|
|
3837
3837
|
function Q0(s, a, o, u, i, l) {
|
|
3838
|
-
var
|
|
3838
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt;
|
|
3839
3839
|
const f = it("IdmBrand"), r = it("Editor");
|
|
3840
3840
|
return d(), c("div", {
|
|
3841
|
-
class: A((O = (
|
|
3841
|
+
class: A((O = (y = o.reportData) == null ? void 0 : y.weather) != null && O.referenceOnly || (m = (P = o.reportData) == null ? void 0 : P.weather) != null && m.overallAsGoodWx ? "watermark" : "")
|
|
3842
3842
|
}, [
|
|
3843
3843
|
L(f, { name: "Voyage Analysis Report" }),
|
|
3844
3844
|
t("img", {
|
|
@@ -3863,7 +3863,7 @@ function Q0(s, a, o, u, i, l) {
|
|
|
3863
3863
|
t("table", cp, [
|
|
3864
3864
|
t("tr", null, [
|
|
3865
3865
|
rp,
|
|
3866
|
-
t("td", up, " " + e((
|
|
3866
|
+
t("td", up, " " + e((D = o.reportData) == null ? void 0 : D.preparedFor), 1)
|
|
3867
3867
|
]),
|
|
3868
3868
|
t("tr", null, [
|
|
3869
3869
|
hp,
|
|
@@ -3879,16 +3879,16 @@ function Q0(s, a, o, u, i, l) {
|
|
|
3879
3879
|
]),
|
|
3880
3880
|
t("tr", null, [
|
|
3881
3881
|
yp,
|
|
3882
|
-
t("td", bp, e((
|
|
3882
|
+
t("td", bp, e((U = (G = o.reportData) == null ? void 0 : G.voyage) == null ? void 0 : U.loadCondition), 1)
|
|
3883
3883
|
]),
|
|
3884
3884
|
t("tr", null, [
|
|
3885
3885
|
xp,
|
|
3886
|
-
t("td", Cp, e((
|
|
3886
|
+
t("td", Cp, e((I = (Y = o.reportData) == null ? void 0 : Y.voyage) == null ? void 0 : I.number), 1)
|
|
3887
3887
|
]),
|
|
3888
3888
|
t("tr", null, [
|
|
3889
3889
|
gp,
|
|
3890
3890
|
t("td", Dp, [
|
|
3891
|
-
t("span", Ap, e(((
|
|
3891
|
+
t("span", Ap, e(((N = (T = o.reportData) == null ? void 0 : T.departure) == null ? void 0 : N.portName) || l.computedLngLat(($ = (K = o.reportData) == null ? void 0 : K.departure) == null ? void 0 : $.lat, (Z = (X = o.reportData) == null ? void 0 : X.departure) == null ? void 0 : Z.lng)), 1),
|
|
3892
3892
|
t("span", null, e(l.computedTime((j = (w = o.reportData) == null ? void 0 : w.departure) == null ? void 0 : j.utcTime, "table")), 1)
|
|
3893
3893
|
])
|
|
3894
3894
|
]),
|
|
@@ -3896,19 +3896,19 @@ function Q0(s, a, o, u, i, l) {
|
|
|
3896
3896
|
wp,
|
|
3897
3897
|
t("td", kp, [
|
|
3898
3898
|
t("span", Sp, e(((V = (Q = o.reportData) == null ? void 0 : Q.arrival) == null ? void 0 : V.portName) || l.computedLngLat((ot = (st = o.reportData) == null ? void 0 : st.arrival) == null ? void 0 : ot.lat, (lt = (at = o.reportData) == null ? void 0 : at.arrival) == null ? void 0 : lt.lng)), 1),
|
|
3899
|
-
t("span", null, e(l.computedTime((z = (
|
|
3899
|
+
t("span", null, e(l.computedTime((z = (g = o.reportData) == null ? void 0 : g.arrival) == null ? void 0 : z.utcTime, "table")), 1)
|
|
3900
3900
|
])
|
|
3901
3901
|
])
|
|
3902
3902
|
])
|
|
3903
3903
|
]),
|
|
3904
3904
|
Tp,
|
|
3905
|
-
(d(!0), c(
|
|
3905
|
+
(d(!0), c(M, null, rt((et = o.reportData) == null ? void 0 : et.segments, (h, dt) => (d(), c("div", {
|
|
3906
3906
|
key: "summary" + dt
|
|
3907
3907
|
}, [
|
|
3908
3908
|
t("div", Op, [
|
|
3909
3909
|
t("div", Ep, "Seg." + e(dt + 1) + " ", 1),
|
|
3910
3910
|
t("div", null, [
|
|
3911
|
-
(d(!0), c(
|
|
3911
|
+
(d(!0), c(M, null, rt(i.segDetail[dt], (ht, ct) => (d(), c("div", {
|
|
3912
3912
|
key: "seg" + ct,
|
|
3913
3913
|
class: "tips-seg"
|
|
3914
3914
|
}, e(ht), 1))), 128))
|
|
@@ -3969,7 +3969,7 @@ function Q0(s, a, o, u, i, l) {
|
|
|
3969
3969
|
t("table", Vp, [
|
|
3970
3970
|
zp,
|
|
3971
3971
|
t("tbody", null, [
|
|
3972
|
-
(d(!0), c(
|
|
3972
|
+
(d(!0), c(M, null, rt(i.excludedTableData, (h, dt) => (d(), c("tr", { key: dt }, [
|
|
3973
3973
|
t("td", null, e(dt + 1), 1),
|
|
3974
3974
|
t("td", null, e(h.time), 1),
|
|
3975
3975
|
t("td", null, e(h.duration), 1),
|
|
@@ -4000,8 +4000,8 @@ function Q0(s, a, o, u, i, l) {
|
|
|
4000
4000
|
}, null, 40, Qp))
|
|
4001
4001
|
], 2)
|
|
4002
4002
|
]),
|
|
4003
|
-
(d(!0), c(
|
|
4004
|
-
var ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt,
|
|
4003
|
+
(d(!0), c(M, null, rt((nt = o.reportData) == null ? void 0 : nt.segments, (h, dt) => {
|
|
4004
|
+
var ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze;
|
|
4005
4005
|
return d(), c("div", {
|
|
4006
4006
|
key: "seg" + dt,
|
|
4007
4007
|
class: "page-title"
|
|
@@ -4010,7 +4010,7 @@ function Q0(s, a, o, u, i, l) {
|
|
|
4010
4010
|
t("div", Kp, "Voyage Analysis - Seg. " + e(dt + 1), 1),
|
|
4011
4011
|
t("div", Xp, [
|
|
4012
4012
|
t("div", null, e((ct = (ht = o.reportData) == null ? void 0 : ht.vessel) == null ? void 0 : ct.name), 1),
|
|
4013
|
-
(d(!0), c(
|
|
4013
|
+
(d(!0), c(M, null, rt(i.segDetail[dt], (je, Ss) => (d(), c("div", {
|
|
4014
4014
|
key: "seg" + Ss,
|
|
4015
4015
|
class: "tips-seg"
|
|
4016
4016
|
}, e(je), 1))), 128))
|
|
@@ -4152,7 +4152,7 @@ function Q0(s, a, o, u, i, l) {
|
|
|
4152
4152
|
hm,
|
|
4153
4153
|
vm,
|
|
4154
4154
|
t("div", _m, [
|
|
4155
|
-
t("div", null, e((
|
|
4155
|
+
t("div", null, e((R = (kt = o.reportData) == null ? void 0 : kt.weather) != null && R.noExtrapolation ? "Total Distance At Good Weather" : "Total Distance"), 1),
|
|
4156
4156
|
pm,
|
|
4157
4157
|
fm
|
|
4158
4158
|
]),
|
|
@@ -4271,7 +4271,7 @@ function Q0(s, a, o, u, i, l) {
|
|
|
4271
4271
|
]),
|
|
4272
4272
|
t("div", Dy, [
|
|
4273
4273
|
Ay,
|
|
4274
|
-
((
|
|
4274
|
+
((b = (te = h.extend) == null ? void 0 : te.cp) == null ? void 0 : b.dgo) > 0 ? (d(), c("div", wy, "* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")) : x("", !0)
|
|
4275
4275
|
]),
|
|
4276
4276
|
t("div", ky, [
|
|
4277
4277
|
Sy,
|
|
@@ -4562,7 +4562,7 @@ const K0 = {
|
|
|
4562
4562
|
// 计算各类填写时间
|
|
4563
4563
|
computedTime() {
|
|
4564
4564
|
return function(s, a) {
|
|
4565
|
-
return a === "subtitle" ?
|
|
4565
|
+
return a === "subtitle" ? H(s).utc().format("MMMM-DD, YYYY/HHmm [Z]") : a === "table" ? H(s).utc().format("MMMM-DD/HHmm[Z]") : H(s).utc().format("dddd, MMMM D, YYYY");
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
4568
|
},
|
|
@@ -4583,10 +4583,10 @@ const K0 = {
|
|
|
4583
4583
|
return `${s.degree}°${Qe(s.minute, 1)}′${s.direction}`;
|
|
4584
4584
|
},
|
|
4585
4585
|
checkData() {
|
|
4586
|
-
var o, u, i, l, f, r,
|
|
4587
|
-
this.showCF = ((u = (o = this.reportData) == null ? void 0 : o.weather) == null ? void 0 : u.showCF) ?? !1, this.showAisDistance = ((l = (i = this.reportData) == null ? void 0 : i.weather) == null ? void 0 : l.showAisDistance) ?? !0, this.showSig = ((r = (f = this.reportData) == null ? void 0 : f.weather) == null ? void 0 : r.showSig) ?? !0, this.showSwell = ((O = (
|
|
4586
|
+
var o, u, i, l, f, r, y, O, P, m, D, S;
|
|
4587
|
+
this.showCF = ((u = (o = this.reportData) == null ? void 0 : o.weather) == null ? void 0 : u.showCF) ?? !1, this.showAisDistance = ((l = (i = this.reportData) == null ? void 0 : i.weather) == null ? void 0 : l.showAisDistance) ?? !0, this.showSig = ((r = (f = this.reportData) == null ? void 0 : f.weather) == null ? void 0 : r.showSig) ?? !0, this.showSwell = ((O = (y = this.reportData) == null ? void 0 : y.weather) == null ? void 0 : O.showSwell) ?? !0, this.showWave = ((m = (P = this.reportData) == null ? void 0 : P.weather) == null ? void 0 : m.showWave) ?? !0;
|
|
4588
4588
|
let s = [];
|
|
4589
|
-
(S = (
|
|
4589
|
+
(S = (D = this.reportData) == null ? void 0 : D.segments) == null || S.forEach((v) => {
|
|
4590
4590
|
let E = v.extend.cp;
|
|
4591
4591
|
v.inventory.sample.hours.forEach((F) => {
|
|
4592
4592
|
let G = JSON.parse(JSON.stringify(F));
|
|
@@ -4600,7 +4600,7 @@ const K0 = {
|
|
|
4600
4600
|
s.forEach((v) => {
|
|
4601
4601
|
v.seg !== a && (v.isFirstSeg = !0, a = v.seg);
|
|
4602
4602
|
let E = v.type.charAt(0);
|
|
4603
|
-
v.abbreviation = E, E === "M" ? E = "*" : E === "A" && (E = ""), v.dateTime = E + " " +
|
|
4603
|
+
v.abbreviation = E, E === "M" ? E = "*" : E === "A" && (E = ""), v.dateTime = E + " " + H(v.utc).utc().format("MM/DD HHmm[Z]"), v.lngPretty = this.getLonLat(ee.lng2pretty(v.lng)), v.latPretty = this.getLonLat(ee.lat2pretty(v.lat));
|
|
4604
4604
|
}), this.summaryTable = s;
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
@@ -4685,23 +4685,23 @@ const K0 = {
|
|
|
4685
4685
|
/* @__PURE__ */ C("(m)")
|
|
4686
4686
|
], -1)), Zb = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "FO", -1)), Vb = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "DO/GO", -1)), zb = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "Dir", -1)), Qb = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "BF", -1)), Jb = { key: 0 }, Kb = { key: 1 }, Xb = { key: 2 }, qb = { key: 3 }, jb = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "RPM", -1)), $b = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "Slip%", -1)), tx = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "FO", -1)), ex = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "DO/GO", -1)), sx = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "FO", -1)), ox = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "DO/GO", -1)), ix = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "Dir", -1)), lx = /* @__PURE__ */ Tt(() => /* @__PURE__ */ t("th", null, "BF", -1)), ax = { class: "summary-tbody" };
|
|
4687
4687
|
function nx(s, a, o, u, i, l) {
|
|
4688
|
-
var f, r,
|
|
4688
|
+
var f, r, y, O, P, m, D, S;
|
|
4689
4689
|
return d(), c("div", {
|
|
4690
|
-
class: A((r = (f = o.reportData) == null ? void 0 : f.weather) != null && r.referenceOnly || (O = (
|
|
4690
|
+
class: A((r = (f = o.reportData) == null ? void 0 : f.weather) != null && r.referenceOnly || (O = (y = o.reportData) == null ? void 0 : y.weather) != null && O.overallAsGoodWx ? "watermark voyage-main" : "voyage-main")
|
|
4691
4691
|
}, [
|
|
4692
4692
|
t("div", X0, [
|
|
4693
4693
|
q0,
|
|
4694
4694
|
t("div", j0, e(l.computedTime((P = o.reportData) == null ? void 0 : P.createdAt)), 1),
|
|
4695
4695
|
t("div", $0, [
|
|
4696
4696
|
t("div", tb, [
|
|
4697
|
-
t("span", null, e((
|
|
4697
|
+
t("span", null, e((D = (m = o.reportData) == null ? void 0 : m.vessel) == null ? void 0 : D.name), 1)
|
|
4698
4698
|
])
|
|
4699
4699
|
]),
|
|
4700
4700
|
t("div", eb, [
|
|
4701
4701
|
t("table", null, [
|
|
4702
4702
|
sb,
|
|
4703
4703
|
t("tbody", null, [
|
|
4704
|
-
(d(!0), c(
|
|
4704
|
+
(d(!0), c(M, null, rt((S = o.reportData) == null ? void 0 : S.segments, (v, E) => (d(), c(M, { key: E }, [
|
|
4705
4705
|
t("tr", null, [
|
|
4706
4706
|
t("td", ob, e(E + 1), 1),
|
|
4707
4707
|
ib,
|
|
@@ -4813,8 +4813,8 @@ function nx(s, a, o, u, i, l) {
|
|
|
4813
4813
|
])
|
|
4814
4814
|
]),
|
|
4815
4815
|
t("tbody", ax, [
|
|
4816
|
-
(d(!0), c(
|
|
4817
|
-
var F, G,
|
|
4816
|
+
(d(!0), c(M, null, rt(i.summaryTable, (v, E) => {
|
|
4817
|
+
var F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et;
|
|
4818
4818
|
return d(), c("tr", { key: E }, [
|
|
4819
4819
|
t("td", {
|
|
4820
4820
|
class: A(v.isFirstSeg ? "td-no-bottom td-top" : (F = i.summaryTable[E + 1]) != null && F.isFirstSeg ? "td-bottom" : "td-no-bottom")
|
|
@@ -4853,14 +4853,14 @@ function nx(s, a, o, u, i, l) {
|
|
|
4853
4853
|
}, e(l.computeRoundPrecision(v.distanceCalc)), 3)) : x("", !0),
|
|
4854
4854
|
t("td", {
|
|
4855
4855
|
class: A(l.computedClass(v))
|
|
4856
|
-
}, e(((
|
|
4856
|
+
}, e(((U = (G = v.meteo) == null ? void 0 : G.wind) == null ? void 0 : U.direction) ?? "--"), 3),
|
|
4857
4857
|
t("td", {
|
|
4858
4858
|
class: A(l.computedClass(v))
|
|
4859
|
-
}, e(((
|
|
4859
|
+
}, e(((I = (Y = v.meteo) == null ? void 0 : Y.wind) == null ? void 0 : I.scale) ?? "--"), 3),
|
|
4860
4860
|
i.showWave ? (d(), c("td", {
|
|
4861
4861
|
key: 5,
|
|
4862
4862
|
class: A(l.computedClass(v))
|
|
4863
|
-
}, e(l.computeRoundPrecision(((K = (
|
|
4863
|
+
}, e(l.computeRoundPrecision(((K = (N = (T = v.meteo) == null ? void 0 : T.wave) == null ? void 0 : N.wd) == null ? void 0 : K.height) ?? "--")), 3)) : x("", !0),
|
|
4864
4864
|
i.showSwell ? (d(), c("td", {
|
|
4865
4865
|
key: 6,
|
|
4866
4866
|
class: A(l.computedClass(v))
|
|
@@ -4880,7 +4880,7 @@ function nx(s, a, o, u, i, l) {
|
|
|
4880
4880
|
i.showCF ? (d(), c("td", {
|
|
4881
4881
|
key: 10,
|
|
4882
4882
|
class: A(l.computedClass(v))
|
|
4883
|
-
}, e(((
|
|
4883
|
+
}, e(((g = v.meteo) == null ? void 0 : g.cFactor) ?? "--"), 3)) : x("", !0),
|
|
4884
4884
|
t("td", {
|
|
4885
4885
|
class: A(l.computedClass(v, !0))
|
|
4886
4886
|
}, e(v.dailyAvgCf), 3),
|
|
@@ -5220,8 +5220,8 @@ const bx = {
|
|
|
5220
5220
|
let f = 0;
|
|
5221
5221
|
l == a.length - 1 ? f = s.length - i.id : f = a[l + 1].id - i.id + 1;
|
|
5222
5222
|
let r = [];
|
|
5223
|
-
for (let
|
|
5224
|
-
(
|
|
5223
|
+
for (let y = 0; y < s.length; y++)
|
|
5224
|
+
(y > i.id || y == i.id) && f > 0 ? (r.push(i.num), f = f - 1) : r.push("");
|
|
5225
5225
|
u.push(r);
|
|
5226
5226
|
}), u;
|
|
5227
5227
|
};
|
|
@@ -5234,15 +5234,15 @@ const bx = {
|
|
|
5234
5234
|
});
|
|
5235
5235
|
let l = [];
|
|
5236
5236
|
return o.forEach((f, r) => {
|
|
5237
|
-
let
|
|
5238
|
-
for (let O =
|
|
5237
|
+
let y = r ? o[r - 1].id : -1;
|
|
5238
|
+
for (let O = y; O < f.id; O++)
|
|
5239
5239
|
l.push(f.num);
|
|
5240
5240
|
}), l;
|
|
5241
5241
|
};
|
|
5242
5242
|
},
|
|
5243
5243
|
computedTime() {
|
|
5244
5244
|
return function(s, a) {
|
|
5245
|
-
return a == "subtitle" ?
|
|
5245
|
+
return a == "subtitle" ? H(s).utc().format("MMMM-DD, YYYY/HHmm [Z]") : a == "table" ? H(s).utc().format("MMMM-DD/HHmm[Z]") : H(s).utc().format("dddd, MMMM D, YYYY");
|
|
5246
5246
|
};
|
|
5247
5247
|
},
|
|
5248
5248
|
computedIsNull() {
|
|
@@ -5280,7 +5280,7 @@ const bx = {
|
|
|
5280
5280
|
},
|
|
5281
5281
|
computeUTCTime() {
|
|
5282
5282
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
5283
|
-
return s ? `${
|
|
5283
|
+
return s ? `${H(s).utc().format(a)}` : "-";
|
|
5284
5284
|
};
|
|
5285
5285
|
}
|
|
5286
5286
|
},
|
|
@@ -5313,46 +5313,46 @@ const bx = {
|
|
|
5313
5313
|
getTableData() {
|
|
5314
5314
|
var at, lt;
|
|
5315
5315
|
let s = [];
|
|
5316
|
-
(lt = (at = this.reportData) == null ? void 0 : at.segments) == null || lt.forEach((
|
|
5317
|
-
let et =
|
|
5318
|
-
|
|
5316
|
+
(lt = (at = this.reportData) == null ? void 0 : at.segments) == null || lt.forEach((g, z) => {
|
|
5317
|
+
let et = g.extend.cp;
|
|
5318
|
+
g.inventory.sample.hours.forEach((n, nt) => {
|
|
5319
5319
|
let h = JSON.parse(JSON.stringify(n));
|
|
5320
|
-
h.cp = et, h.fuelConclusion =
|
|
5320
|
+
h.cp = et, h.fuelConclusion = g.fuelConclusion, h.timeConclusion = g.timeConclusion, s.push(h);
|
|
5321
5321
|
});
|
|
5322
|
-
}), s.sort(function(
|
|
5323
|
-
let et =
|
|
5322
|
+
}), s.sort(function(g, z) {
|
|
5323
|
+
let et = g.date, n = z.date;
|
|
5324
5324
|
return et - n;
|
|
5325
5325
|
});
|
|
5326
|
-
let a = [], o = [], u = [], i = [], l = [], f = [], r = [],
|
|
5327
|
-
s.forEach((
|
|
5328
|
-
var n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt,
|
|
5329
|
-
if (a.push(
|
|
5330
|
-
xAxis:
|
|
5326
|
+
let a = [], o = [], u = [], i = [], l = [], f = [], r = [], y = [], O = [], P = [], m = [], D = [], S = [], v = [], E = [], F = [], G = [], U = [], Y = [], I = [], T = [], N = [], K = [], $ = [], X = [], Z = [!1, !1], w = [], j = [], Q = [!1, !1], V = [], st = [];
|
|
5327
|
+
s.forEach((g, z) => {
|
|
5328
|
+
var n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt;
|
|
5329
|
+
if (a.push(H(g.utc).utc().format("MM/DD HHmm[Z]")), g.goodWx === !0 && g.excluded !== !0 ? (Z.indexOf(!0) == -1 && (g.type === "BOSP" ? w.push({
|
|
5330
|
+
xAxis: H(g.utc).utc().format("MM/DD HHmm[Z]")
|
|
5331
5331
|
}) : w.push({
|
|
5332
|
-
xAxis:
|
|
5332
|
+
xAxis: H(s[z - 1].utc).utc().format("MM/DD HHmm[Z]")
|
|
5333
5333
|
}), Z[0] = !0), Z.indexOf(!0) != -1 && z == s.length - 1 && (w.push({
|
|
5334
|
-
xAxis:
|
|
5334
|
+
xAxis: H(g.utc).utc().format("MM/DD HHmm[Z]")
|
|
5335
5335
|
}), Z[0] = !1, j.push(w), w = [])) : Z.indexOf(!0) !== -1 && (w.push({
|
|
5336
|
-
xAxis:
|
|
5337
|
-
}), Z[0] = !1, j.push(w), w = []),
|
|
5338
|
-
xAxis:
|
|
5336
|
+
xAxis: H(s[z - 1].utc).utc().format("MM/DD HHmm[Z]")
|
|
5337
|
+
}), Z[0] = !1, j.push(w), w = []), g.excluded === !0 ? (Q.indexOf(!0) === -1 && (z === 0 ? V.push({
|
|
5338
|
+
xAxis: H(g.utc).utc().format("MM/DD HHmm[Z]")
|
|
5339
5339
|
}) : V.push({
|
|
5340
|
-
xAxis:
|
|
5340
|
+
xAxis: H(s[z - 1].utc).utc().format("MM/DD HHmm[Z]")
|
|
5341
5341
|
}), Q[0] = !0), Q.indexOf(!0) != -1 && z === s.length - 1 && (V.push({
|
|
5342
|
-
xAxis:
|
|
5342
|
+
xAxis: H(g.utc).utc().format("MM/DD HHmm[Z]")
|
|
5343
5343
|
}), Q[0] = !1, st.push(V), V = [])) : Q.indexOf(!0) !== -1 && (V.push({
|
|
5344
|
-
xAxis:
|
|
5345
|
-
}), Q[0] = !1, st.push(V), V = []), (
|
|
5344
|
+
xAxis: H(s[z - 1].utc).utc().format("MM/DD HHmm[Z]")
|
|
5345
|
+
}), Q[0] = !1, st.push(V), V = []), (g == null ? void 0 : g.type) === "EOSP" && ((n = s[z + 1]) == null ? void 0 : n.type) === "BOSP") {
|
|
5346
5346
|
let xt = [];
|
|
5347
5347
|
xt.push({
|
|
5348
|
-
xAxis:
|
|
5348
|
+
xAxis: H(g.utc).utc().format("MM/DD HHmm[Z]")
|
|
5349
5349
|
}), xt.push({
|
|
5350
|
-
xAxis:
|
|
5350
|
+
xAxis: H(s[z + 1].utc).utc().format("MM/DD HHmm[Z]")
|
|
5351
5351
|
}), st.push(xt);
|
|
5352
5352
|
}
|
|
5353
|
-
|
|
5353
|
+
g.type != "A" && (g.type === "BOSP" && z === 0 ? i.push([H(g == null ? void 0 : g.utc).utc().format("MM/DD HHmm[Z]"), (nt = g == null ? void 0 : g.noon) == null ? void 0 : nt.avgSpd, g == null ? void 0 : g.type]) : i.push([H(g == null ? void 0 : g.utc).utc().format("MM/DD HHmm[Z]"), ((h = g == null ? void 0 : g.noon) == null ? void 0 : h.avgSpd) || "-", g == null ? void 0 : g.type]), Y.push([H(g == null ? void 0 : g.utc).utc().format("MM/DD HHmm[Z]"), ((dt = g == null ? void 0 : g.noon) == null ? void 0 : dt.windBF) || "-"]), K.push([H(g == null ? void 0 : g.utc).utc().format("MM/DD HHmm[Z]"), ((ht = g == null ? void 0 : g.noon) == null ? void 0 : ht.seasHt) || "-"])), y.push((g == null ? void 0 : g.type) != "A" ? this.computedIsNull((ct = g == null ? void 0 : g.noon) == null ? void 0 : ct.foCons) : ""), S.push((g == null ? void 0 : g.type) != "A" ? this.computedIsNull((pt = g == null ? void 0 : g.noon) == null ? void 0 : pt.dgoCons) : ""), X.push((g == null ? void 0 : g.type) != "A" ? this.computedIsNull(g == null ? void 0 : g.dailyAvgCf) : ""), u.push((g == null ? void 0 : g.cpSpd) ?? ""), l.push(((ft = g == null ? void 0 : g.timeConclusion) == null ? void 0 : ft.minusAbtSpd) ?? ""), r.push(((yt = g == null ? void 0 : g.cp) == null ? void 0 : yt.fo) ?? ""), O.push(((Ct = (bt = g == null ? void 0 : g.fuelConclusion) == null ? void 0 : bt.fo) == null ? void 0 : Ct.underTolerance) ?? ""), P.push(((Dt = (gt = g == null ? void 0 : g.fuelConclusion) == null ? void 0 : gt.fo) == null ? void 0 : Dt.overTolerance) ?? ""), D.push(((mt = g == null ? void 0 : g.cp) == null ? void 0 : mt.dgo) ?? ""), v.push(((Et = (At = g == null ? void 0 : g.fuelConclusion) == null ? void 0 : At.dgo) == null ? void 0 : Et.underTolerance) ?? ""), E.push(((Ft = (Pt = g == null ? void 0 : g.fuelConclusion) == null ? void 0 : Pt.dgo) == null ? void 0 : Ft.overTolerance) ?? ""), G.push(((Bt = (Wt = g == null ? void 0 : g.meteo) == null ? void 0 : Wt.wind) == null ? void 0 : Bt.scale) ?? ""), U.push(((Ht = (Lt = this.reportData) == null ? void 0 : Lt.weather) == null ? void 0 : Ht.windScale) ?? "");
|
|
5354
5354
|
let et = "";
|
|
5355
|
-
(Ut = (Nt = this.reportData) == null ? void 0 : Nt.weather) != null && Ut.sigSwitch ? (et = (wt = (
|
|
5355
|
+
(Ut = (Nt = this.reportData) == null ? void 0 : Nt.weather) != null && Ut.sigSwitch ? (et = (wt = (R = (kt = g.meteo) == null ? void 0 : kt.wave) == null ? void 0 : R.sig) != null && wt.height ? (Vt = (Zt = (Yt = g.meteo) == null ? void 0 : Yt.wave) == null ? void 0 : Zt.sig) == null ? void 0 : Vt.height : "", this.waveDetail.ytitle = "Sig-wave Heigt(m)", N.push(this.reportData.weather.sigHeight)) : (zt = (Mt = this.reportData) == null ? void 0 : Mt.weather) != null && zt.waveSwitch ? (et = (q = (le = (ie = g.meteo) == null ? void 0 : ie.wave) == null ? void 0 : le.wd) != null && q.height ? (Xt = (Kt = (Rt = g.meteo) == null ? void 0 : Rt.wave) == null ? void 0 : Kt.wd) == null ? void 0 : Xt.height : "", this.waveDetail.ytitle = "Wind Wave Height(m)", N.push(this.reportData.weather.waveHeight)) : (jt = (qt = this.reportData) == null ? void 0 : qt.weather) != null && jt.swellSwitch && (et = (b = (te = ($t = g.meteo) == null ? void 0 : $t.wave) == null ? void 0 : te.swell) != null && b.height ? (It = (St = (tt = g.meteo) == null ? void 0 : tt.wave) == null ? void 0 : St.swell) == null ? void 0 : It.height : "", this.waveDetail.ytitle = "Swell Wave Height(m)", N.push(this.reportData.weather.swellHeight)), this.waveDetail.title = (Qt = this.waveDetail) == null ? void 0 : Qt.ytitle.replaceAll("(m)", ""), T.push(et);
|
|
5356
5356
|
}), this.params = {
|
|
5357
5357
|
xAxis: a,
|
|
5358
5358
|
markArea: [
|
|
@@ -5375,23 +5375,23 @@ const bx = {
|
|
|
5375
5375
|
}
|
|
5376
5376
|
}
|
|
5377
5377
|
]
|
|
5378
|
-
}, i.forEach((
|
|
5379
|
-
|
|
5380
|
-
}), u = this.computedArray(u), l = this.computedArray(l), r = this.computedArray(r), O = this.computedArray(O), P = this.computedArray(P),
|
|
5378
|
+
}, i.forEach((g, z) => {
|
|
5379
|
+
g.indexOf("-") !== -1 && z !== i.length - 1 && (g[1] = i[z + 1][1]);
|
|
5380
|
+
}), u = this.computedArray(u), l = this.computedArray(l), r = this.computedArray(r), O = this.computedArray(O), P = this.computedArray(P), D = this.computedArray(D), v = this.computedArray(v), E = this.computedArray(E), y = this.computedCurrent(y), S = this.computedCurrent(S, "dgotype"), X = this.computedCurrent(X), u.forEach((g, z) => {
|
|
5381
5381
|
let et = {
|
|
5382
5382
|
name: z == 0 ? "CP speed" : "",
|
|
5383
5383
|
type: "line",
|
|
5384
5384
|
showSymbol: !1,
|
|
5385
|
-
data:
|
|
5385
|
+
data: g,
|
|
5386
5386
|
color: "#ff8935"
|
|
5387
5387
|
};
|
|
5388
5388
|
o.push(et);
|
|
5389
|
-
}), l.forEach((
|
|
5389
|
+
}), l.forEach((g, z) => {
|
|
5390
5390
|
let et = {
|
|
5391
5391
|
name: z == 0 ? "CP Speed Min" : "",
|
|
5392
5392
|
type: "line",
|
|
5393
5393
|
showSymbol: !1,
|
|
5394
|
-
data:
|
|
5394
|
+
data: g,
|
|
5395
5395
|
color: "#06890b",
|
|
5396
5396
|
lineType: "dotted"
|
|
5397
5397
|
};
|
|
@@ -5403,31 +5403,31 @@ const bx = {
|
|
|
5403
5403
|
color: "rgba(123,145,211,0.62)",
|
|
5404
5404
|
showSymbol: !1,
|
|
5405
5405
|
smooth: !0
|
|
5406
|
-
}), r.forEach((
|
|
5406
|
+
}), r.forEach((g, z) => {
|
|
5407
5407
|
let et = {
|
|
5408
5408
|
name: z == 0 ? "CP FO" : "",
|
|
5409
5409
|
type: "line",
|
|
5410
5410
|
showSymbol: !1,
|
|
5411
|
-
data:
|
|
5411
|
+
data: g,
|
|
5412
5412
|
color: "#ff8935"
|
|
5413
5413
|
};
|
|
5414
5414
|
f.push(et);
|
|
5415
|
-
}), O.forEach((
|
|
5415
|
+
}), O.forEach((g, z) => {
|
|
5416
5416
|
let et = {
|
|
5417
5417
|
name: z == 0 ? "CP FO Min" : "",
|
|
5418
5418
|
type: "line",
|
|
5419
5419
|
showSymbol: !1,
|
|
5420
|
-
data:
|
|
5420
|
+
data: g,
|
|
5421
5421
|
color: "#06890b",
|
|
5422
5422
|
lineType: "dotted"
|
|
5423
5423
|
};
|
|
5424
5424
|
f.push(et);
|
|
5425
|
-
}), P.forEach((
|
|
5425
|
+
}), P.forEach((g, z) => {
|
|
5426
5426
|
let et = {
|
|
5427
5427
|
name: z == 0 ? "CP FO Max" : "",
|
|
5428
5428
|
type: "line",
|
|
5429
5429
|
showSymbol: !1,
|
|
5430
|
-
data:
|
|
5430
|
+
data: g,
|
|
5431
5431
|
color: "#ff3a3a",
|
|
5432
5432
|
lineType: "dotted"
|
|
5433
5433
|
};
|
|
@@ -5436,39 +5436,39 @@ const bx = {
|
|
|
5436
5436
|
name: "Daily FO",
|
|
5437
5437
|
type: "bar",
|
|
5438
5438
|
showSymbol: !1,
|
|
5439
|
-
data:
|
|
5439
|
+
data: y,
|
|
5440
5440
|
color: "rgba(123,145,211,0.62)",
|
|
5441
5441
|
barCategoryGap: "0"
|
|
5442
|
-
}),
|
|
5442
|
+
}), D.forEach((g, z) => {
|
|
5443
5443
|
let et = {
|
|
5444
5444
|
name: z == 0 ? "CP DO/GO" : "",
|
|
5445
5445
|
type: "line",
|
|
5446
5446
|
showSymbol: !1,
|
|
5447
|
-
data:
|
|
5447
|
+
data: g,
|
|
5448
5448
|
color: "#ff8935"
|
|
5449
5449
|
};
|
|
5450
|
-
|
|
5451
|
-
}), v.forEach((
|
|
5450
|
+
m.push(et);
|
|
5451
|
+
}), v.forEach((g, z) => {
|
|
5452
5452
|
let et = {
|
|
5453
5453
|
name: z == 0 ? "CP DO/GO Min" : "",
|
|
5454
5454
|
type: "line",
|
|
5455
5455
|
showSymbol: !1,
|
|
5456
|
-
data:
|
|
5456
|
+
data: g,
|
|
5457
5457
|
color: "#06890b",
|
|
5458
5458
|
lineType: "dotted"
|
|
5459
5459
|
};
|
|
5460
|
-
|
|
5461
|
-
}), E.forEach((
|
|
5460
|
+
m.push(et);
|
|
5461
|
+
}), E.forEach((g, z) => {
|
|
5462
5462
|
let et = {
|
|
5463
5463
|
name: z == 0 ? "CP DO/GO Max" : "",
|
|
5464
5464
|
type: "line",
|
|
5465
5465
|
showSymbol: !1,
|
|
5466
|
-
data:
|
|
5466
|
+
data: g,
|
|
5467
5467
|
color: "#ff3a3a",
|
|
5468
5468
|
lineType: "dotted"
|
|
5469
5469
|
};
|
|
5470
|
-
|
|
5471
|
-
}),
|
|
5470
|
+
m.push(et);
|
|
5471
|
+
}), m.push({
|
|
5472
5472
|
name: "Daily DO/GO",
|
|
5473
5473
|
type: "bar",
|
|
5474
5474
|
showSymbol: !1,
|
|
@@ -5478,7 +5478,7 @@ const bx = {
|
|
|
5478
5478
|
}), F.push({
|
|
5479
5479
|
name: "CP Good Weather",
|
|
5480
5480
|
type: "line",
|
|
5481
|
-
data:
|
|
5481
|
+
data: U,
|
|
5482
5482
|
color: "#ff8935",
|
|
5483
5483
|
showSymbol: !1,
|
|
5484
5484
|
smooth: !0
|
|
@@ -5492,30 +5492,30 @@ const bx = {
|
|
|
5492
5492
|
}), F.push({
|
|
5493
5493
|
name: "Ship Report",
|
|
5494
5494
|
type: "scatter",
|
|
5495
|
-
data:
|
|
5495
|
+
data: Y,
|
|
5496
5496
|
symbolSize: 15,
|
|
5497
5497
|
itemStyle: {
|
|
5498
5498
|
normal: {
|
|
5499
5499
|
color: "#C1B1E1"
|
|
5500
5500
|
}
|
|
5501
5501
|
}
|
|
5502
|
-
}),
|
|
5502
|
+
}), I.push({
|
|
5503
5503
|
name: "CP Good Weather",
|
|
5504
5504
|
type: "line",
|
|
5505
|
-
data:
|
|
5505
|
+
data: N,
|
|
5506
5506
|
color: "#ff8935",
|
|
5507
5507
|
showSymbol: !1,
|
|
5508
5508
|
smooth: !0
|
|
5509
5509
|
});
|
|
5510
5510
|
let ot = this.waveDetail.ytitle.replaceAll("(m)", "");
|
|
5511
|
-
|
|
5511
|
+
I.push({
|
|
5512
5512
|
name: ot,
|
|
5513
5513
|
type: "line",
|
|
5514
5514
|
data: T,
|
|
5515
5515
|
color: "#5eb3e0",
|
|
5516
5516
|
showSymbol: !1,
|
|
5517
5517
|
smooth: !0
|
|
5518
|
-
}),
|
|
5518
|
+
}), I.push({
|
|
5519
5519
|
name: "Ship Report",
|
|
5520
5520
|
type: "scatter",
|
|
5521
5521
|
data: K,
|
|
@@ -5532,7 +5532,7 @@ const bx = {
|
|
|
5532
5532
|
color: "#5eb3e0",
|
|
5533
5533
|
showSymbol: !1,
|
|
5534
5534
|
smooth: !1
|
|
5535
|
-
}), this.shipSpdChartData = o, this.FoChartData = f, this.DGOChartData =
|
|
5535
|
+
}), this.shipSpdChartData = o, this.FoChartData = f, this.DGOChartData = m, this.windSpdChartData = F, this.waveChartData = I, this.currentChartData = $;
|
|
5536
5536
|
}
|
|
5537
5537
|
}
|
|
5538
5538
|
}, Jt = (s) => (he("data-v-4fb04207"), s = s(), ve(), s), xx = { class: "charts" }, Cx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { class: "charts-title" }, "Speed and Consumptifon with Weather / Current Analysis Graph", -1)), gx = { class: "subtitle" }, Dx = /* @__PURE__ */ ut('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>', 1), Ax = { class: "weather-eChart" }, wx = { class: "charts page-title" }, kx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { class: "charts-title" }, "Speed and Consumption with Weather / Current Analysis Graph", -1)), Sx = { class: "subtitle" }, Tx = /* @__PURE__ */ ut('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>', 1), Ox = { class: "weather-eChart" }, Ex = { class: "charts page-title" }, Px = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { class: "charts-title" }, "Voyage Map", -1)), Fx = { class: "subtitle" }, Wx = { class: "message-table" }, Bx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("td", { class: "title" }, "Vessel Name", -1)), Lx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("td", { class: "title" }, "Prepared For", -1)), Hx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("td", { class: "title" }, "Departure Port and Date", -1)), Mx = { style: { display: "inline-block", width: "50%" } }, Gx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("td", { class: "title" }, "Arrival Port and Date", -1)), Ix = { style: { display: "inline-block", width: "50%" } }, Rx = { style: { margin: "15px auto", "padding-left": "20px" } }, Nx = ["src"], Ux = { class: "charts-imgLegend" }, Yx = { style: { position: "relative", left: "-20px" } }, Zx = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { style: { position: "relative", display: "inline-block", top: "-12px", left: "15px", transform: "scale(0.95)" } }, [
|
|
@@ -5582,14 +5582,14 @@ const bx = {
|
|
|
5582
5582
|
/* @__PURE__ */ C(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")
|
|
5583
5583
|
], -1)), L3 = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { class: "noun" }, "7. Further reference materials", -1)), H3 = /* @__PURE__ */ Jt(() => /* @__PURE__ */ t("div", { class: "explain" }, "Please send mail to op@oceanpitech.com", -1));
|
|
5584
5584
|
function M3(s, a, o, u, i, l) {
|
|
5585
|
-
var
|
|
5585
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut;
|
|
5586
5586
|
const f = it("ScCharts"), r = it("BrabImg");
|
|
5587
5587
|
return d(), c("div", {
|
|
5588
|
-
class: A((O = (
|
|
5588
|
+
class: A((O = (y = o.reportData) == null ? void 0 : y.weather) != null && O.referenceOnly || (m = (P = o.reportData) == null ? void 0 : P.weather) != null && m.overallAsGoodWx ? "watermark voyage-main" : "voyage-main")
|
|
5589
5589
|
}, [
|
|
5590
5590
|
t("div", xx, [
|
|
5591
5591
|
Cx,
|
|
5592
|
-
t("div", gx, e(l.computedTime((
|
|
5592
|
+
t("div", gx, e(l.computedTime((D = o.reportData) == null ? void 0 : D.createdAt)), 1),
|
|
5593
5593
|
Dx,
|
|
5594
5594
|
t("div", Ax, [
|
|
5595
5595
|
L(f, {
|
|
@@ -5659,7 +5659,7 @@ function M3(s, a, o, u, i, l) {
|
|
|
5659
5659
|
t("tr", null, [
|
|
5660
5660
|
Hx,
|
|
5661
5661
|
t("td", null, [
|
|
5662
|
-
t("span", Mx, e(((
|
|
5662
|
+
t("span", Mx, e(((Y = (U = o.reportData) == null ? void 0 : U.departure) == null ? void 0 : Y.portName) || l.computedLngLat((T = (I = o.reportData) == null ? void 0 : I.departure) == null ? void 0 : T.lat, (K = (N = o.reportData) == null ? void 0 : N.departure) == null ? void 0 : K.lng)), 1),
|
|
5663
5663
|
t("span", null, e(l.computedTime((X = ($ = o.reportData) == null ? void 0 : $.departure) == null ? void 0 : X.utcTime, "table")), 1)
|
|
5664
5664
|
])
|
|
5665
5665
|
]),
|
|
@@ -5691,7 +5691,7 @@ function M3(s, a, o, u, i, l) {
|
|
|
5691
5691
|
])
|
|
5692
5692
|
])
|
|
5693
5693
|
]),
|
|
5694
|
-
(z = (
|
|
5694
|
+
(z = (g = o.reportData) == null ? void 0 : g.weather) != null && z.showMails ? (d(), c("div", Qx, [
|
|
5695
5695
|
Jx,
|
|
5696
5696
|
t("div", Kx, e(l.computedTime(o.reportData.createdAt)), 1),
|
|
5697
5697
|
t("div", null, [
|
|
@@ -5721,9 +5721,9 @@ function M3(s, a, o, u, i, l) {
|
|
|
5721
5721
|
])
|
|
5722
5722
|
]),
|
|
5723
5723
|
t("div", o3, [
|
|
5724
|
-
(d(!0), c(
|
|
5724
|
+
(d(!0), c(M, null, rt(i.mailList, (kt, R) => (d(), c("div", {
|
|
5725
5725
|
key: kt.id,
|
|
5726
|
-
class: A(
|
|
5726
|
+
class: A(R % 2 === 0 ? "item" : "item bg")
|
|
5727
5727
|
}, [
|
|
5728
5728
|
t("div", i3, "FROM " + e(l.computeFrom(kt.from)) + " " + e(l.computeUTCTime(kt.createdAt, "DD/MM/YYYY hhmm")), 1),
|
|
5729
5729
|
t("div", {
|
|
@@ -5822,7 +5822,7 @@ const I3 = {
|
|
|
5822
5822
|
}
|
|
5823
5823
|
}, R3 = { class: "voyage-report" };
|
|
5824
5824
|
function N3(s, a, o, u, i, l) {
|
|
5825
|
-
const f = it("first-part"), r = it("second-part"),
|
|
5825
|
+
const f = it("first-part"), r = it("second-part"), y = it("third-part");
|
|
5826
5826
|
return d(), c("div", R3, [
|
|
5827
5827
|
L(f, {
|
|
5828
5828
|
reportData: i.reportData,
|
|
@@ -5835,7 +5835,7 @@ function N3(s, a, o, u, i, l) {
|
|
|
5835
5835
|
reportData: i.reportData,
|
|
5836
5836
|
class: "main"
|
|
5837
5837
|
}, null, 8, ["isAdmin", "reportData"]),
|
|
5838
|
-
L(
|
|
5838
|
+
L(y, $a({
|
|
5839
5839
|
reportData: i.reportData,
|
|
5840
5840
|
class: "main"
|
|
5841
5841
|
}, s.$attrs), null, 16, ["reportData"])
|
|
@@ -5888,7 +5888,7 @@ const Y3 = {
|
|
|
5888
5888
|
// 日期格式转换
|
|
5889
5889
|
computedTime() {
|
|
5890
5890
|
return function(s, a) {
|
|
5891
|
-
return a == "subtitle" ?
|
|
5891
|
+
return a == "subtitle" ? H(s).utc().format("MMMM-DD, YYYY/HHmm[Z]") : a == "table" ? H(s).utc().format("MMMM-DD/HHmm[Z]") : a == "summary" ? H(s).utc().format("MMMM D, HHmm[Z]") : a ? H(s).utc().format(a) : H(s).utc().format("MMMM D, YYYY");
|
|
5892
5892
|
};
|
|
5893
5893
|
},
|
|
5894
5894
|
// 经纬度转换
|
|
@@ -6004,16 +6004,16 @@ const Y3 = {
|
|
|
6004
6004
|
(o = (a = this.reportData) == null ? void 0 : a.segments) == null || o.forEach((u, i) => {
|
|
6005
6005
|
let l = u.excluded;
|
|
6006
6006
|
if (l.sumDistance > 0 && l.detail.forEach((r) => {
|
|
6007
|
-
let
|
|
6008
|
-
begin:
|
|
6009
|
-
end:
|
|
6010
|
-
time:
|
|
6007
|
+
let y = {
|
|
6008
|
+
begin: H(r.begin).utc().format("DD/MM/YYYY HHmm[Z]"),
|
|
6009
|
+
end: H(r.end).utc().format("DD/MM/YYYY HHmm[Z]"),
|
|
6010
|
+
time: H(r.begin).utc().format("DD/MM/YYYY HHmm[Z]") + " - " + H(r.end).utc().format("DD/MM/YYYY HHmm[Z]"),
|
|
6011
6011
|
duration: r.duration,
|
|
6012
6012
|
distance: r.distance,
|
|
6013
6013
|
fo: r.foCons,
|
|
6014
6014
|
dgo: r.dgoCons
|
|
6015
6015
|
};
|
|
6016
|
-
this.excludedTableData.push(
|
|
6016
|
+
this.excludedTableData.push(y);
|
|
6017
6017
|
}), !s.includes(u.seg)) {
|
|
6018
6018
|
s.push(u.seg);
|
|
6019
6019
|
let r = Object.assign({}, u.extend.cp);
|
|
@@ -6399,7 +6399,7 @@ const Y3 = {
|
|
|
6399
6399
|
/* @__PURE__ */ t("br")
|
|
6400
6400
|
], -1));
|
|
6401
6401
|
function u7(s, a, o, u, i, l) {
|
|
6402
|
-
var f, r,
|
|
6402
|
+
var f, r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te;
|
|
6403
6403
|
return d(), c("div", {
|
|
6404
6404
|
class: A((r = (f = o.reportData) == null ? void 0 : f.weather) != null && r.referenceOnly ? "watermark" : "")
|
|
6405
6405
|
}, [
|
|
@@ -6410,7 +6410,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6410
6410
|
t("div", J3, [
|
|
6411
6411
|
t("div", K3, [
|
|
6412
6412
|
X3,
|
|
6413
|
-
t("div", q3, e((
|
|
6413
|
+
t("div", q3, e((y = o.reportData) == null ? void 0 : y.preparedFor), 1)
|
|
6414
6414
|
]),
|
|
6415
6415
|
t("div", j3, [
|
|
6416
6416
|
$3,
|
|
@@ -6424,12 +6424,12 @@ function u7(s, a, o, u, i, l) {
|
|
|
6424
6424
|
t("div", iC, [
|
|
6425
6425
|
t("div", lC, [
|
|
6426
6426
|
aC,
|
|
6427
|
-
t("div", nC, e(((
|
|
6428
|
-
t("div", dC, e(l.computedTime((
|
|
6427
|
+
t("div", nC, e(((D = (m = o.reportData) == null ? void 0 : m.departure) == null ? void 0 : D.portName) || l.computedLngLat((v = (S = o.reportData) == null ? void 0 : S.departure) == null ? void 0 : v.lat, (F = (E = o.reportData) == null ? void 0 : E.departure) == null ? void 0 : F.lng)), 1),
|
|
6428
|
+
t("div", dC, e(l.computedTime((U = (G = o.reportData) == null ? void 0 : G.departure) == null ? void 0 : U.utcTime, "table")), 1)
|
|
6429
6429
|
]),
|
|
6430
6430
|
t("div", cC, [
|
|
6431
6431
|
rC,
|
|
6432
|
-
t("div", uC, e(((
|
|
6432
|
+
t("div", uC, e(((I = (Y = o.reportData) == null ? void 0 : Y.arrival) == null ? void 0 : I.portName) || l.computedLngLat((N = (T = o.reportData) == null ? void 0 : T.arrival) == null ? void 0 : N.lat, ($ = (K = o.reportData) == null ? void 0 : K.arrival) == null ? void 0 : $.lng)), 1),
|
|
6433
6433
|
t("div", hC, e(l.computedTime((Z = (X = o.reportData) == null ? void 0 : X.arrival) == null ? void 0 : Z.utcTime, "table")), 1)
|
|
6434
6434
|
]),
|
|
6435
6435
|
t("div", vC, [
|
|
@@ -6447,7 +6447,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6447
6447
|
]),
|
|
6448
6448
|
(lt = (at = o.reportData) == null ? void 0 : at.weather) != null && lt.waveSwitch ? (d(), c("div", DC, [
|
|
6449
6449
|
AC,
|
|
6450
|
-
t("div", wC, e(((z = (
|
|
6450
|
+
t("div", wC, e(((z = (g = o.reportData) == null ? void 0 : g.weather) == null ? void 0 : z.waveHeight) || "-") + " Meter", 1)
|
|
6451
6451
|
])) : (n = (et = o.reportData) == null ? void 0 : et.weather) != null && n.swellSwitch ? (d(), c("div", kC, [
|
|
6452
6452
|
SC,
|
|
6453
6453
|
t("div", TC, e(((h = (nt = o.reportData) == null ? void 0 : nt.weather) == null ? void 0 : h.swellHeight) || "-") + " Meter", 1)
|
|
@@ -6466,11 +6466,11 @@ function u7(s, a, o, u, i, l) {
|
|
|
6466
6466
|
t("table", ZC, [
|
|
6467
6467
|
VC,
|
|
6468
6468
|
t("tbody", null, [
|
|
6469
|
-
(d(!0), c(
|
|
6470
|
-
t("td", null, e(
|
|
6471
|
-
t("td", null, e(`${
|
|
6472
|
-
t("td", null, e(`${
|
|
6473
|
-
t("td", null, e(`${
|
|
6469
|
+
(d(!0), c(M, null, rt(i.cpDetail, (b, tt) => (d(), c("tr", { key: tt }, [
|
|
6470
|
+
t("td", null, e(b == null ? void 0 : b.type), 1),
|
|
6471
|
+
t("td", null, e(`${b == null ? void 0 : b.speed} | ${b == null ? void 0 : b.spdOfOver} , ${b.spdOfUnder}`), 1),
|
|
6472
|
+
t("td", null, e(`${b == null ? void 0 : b.fo} | ${b == null ? void 0 : b.over} , ${b.under}`), 1),
|
|
6473
|
+
t("td", null, e(`${b == null ? void 0 : b.dgo} | ${b == null ? void 0 : b.over} , ${b.under}`), 1)
|
|
6474
6474
|
]))), 128))
|
|
6475
6475
|
])
|
|
6476
6476
|
])
|
|
@@ -6490,7 +6490,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6490
6490
|
t("div", sg, [
|
|
6491
6491
|
og,
|
|
6492
6492
|
t("div", ig, [
|
|
6493
|
-
(wt = (
|
|
6493
|
+
(wt = (R = o.reportData) == null ? void 0 : R.goodWx) != null && wt.avgSpd ? (d(), c("div", lg, e((Zt = (Yt = o.reportData) == null ? void 0 : Yt.goodWx) == null ? void 0 : Zt.avgFoEcaCons) + " mt ", 1)) : (d(), c("div", ag, e(i.noGoodWxDay), 1))
|
|
6494
6494
|
])
|
|
6495
6495
|
]),
|
|
6496
6496
|
t("div", ng, [
|
|
@@ -6516,7 +6516,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6516
6516
|
]),
|
|
6517
6517
|
gg
|
|
6518
6518
|
])) : x("", !0),
|
|
6519
|
-
(d(!0), c(
|
|
6519
|
+
(d(!0), c(M, null, rt((jt = o.reportData) == null ? void 0 : jt.segments, (b, tt) => {
|
|
6520
6520
|
var St, It, Qt;
|
|
6521
6521
|
return d(), c("div", {
|
|
6522
6522
|
class: "summary-seg",
|
|
@@ -6527,7 +6527,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6527
6527
|
wg,
|
|
6528
6528
|
t("span", null, "Phase " + e(tt + 1), 1)
|
|
6529
6529
|
]),
|
|
6530
|
-
(d(!0), c(
|
|
6530
|
+
(d(!0), c(M, null, rt(i.segDetail[tt], (xt, ae) => (d(), c("div", {
|
|
6531
6531
|
key: "seg" + ae,
|
|
6532
6532
|
class: A(i.segDetail[tt].length > 1 ? "dashed" : "")
|
|
6533
6533
|
}, [
|
|
@@ -6543,59 +6543,59 @@ function u7(s, a, o, u, i, l) {
|
|
|
6543
6543
|
t("div", Tg, [
|
|
6544
6544
|
Og,
|
|
6545
6545
|
t("div", null, [
|
|
6546
|
-
t("span", Eg, e(
|
|
6547
|
-
t("span", null, e(
|
|
6548
|
-
t("span", null, e(
|
|
6549
|
-
t("span", null, e(
|
|
6546
|
+
t("span", Eg, e(b.extend.cp.type) + " : ", 1),
|
|
6547
|
+
t("span", null, e(b.extend.cp.speed) + "kts / ", 1),
|
|
6548
|
+
t("span", null, e(b.extend.cp.fo) + "mt / ", 1),
|
|
6549
|
+
t("span", null, e(b.extend.cp.dgo) + "mt", 1)
|
|
6550
6550
|
])
|
|
6551
6551
|
])
|
|
6552
6552
|
]),
|
|
6553
6553
|
t("div", Pg, [
|
|
6554
6554
|
Fg,
|
|
6555
|
-
(St =
|
|
6556
|
-
l.computedTimeConclusion(
|
|
6557
|
-
l.computedTimeConclusion(
|
|
6558
|
-
t("span", null, e(l.computedTimeConclusion(
|
|
6555
|
+
(St = b.goodWx) != null && St.distance ? (d(), c("div", Wg, [
|
|
6556
|
+
l.computedTimeConclusion(b.timeConclusion).className === "success" ? (d(), c("i", Bg, "")) : x("", !0),
|
|
6557
|
+
l.computedTimeConclusion(b.timeConclusion).className === "error" ? (d(), c("i", Lg, "")) : x("", !0),
|
|
6558
|
+
t("span", null, e(l.computedTimeConclusion(b.timeConclusion).timeCon), 1)
|
|
6559
6559
|
])) : (d(), c("div", Hg, [
|
|
6560
6560
|
t("span", null, e(i.noGoodWxDay), 1)
|
|
6561
6561
|
])),
|
|
6562
6562
|
t("div", Mg, [
|
|
6563
6563
|
t("i", {
|
|
6564
|
-
class: A(`iconfont ${l.computedTimeConclusion(
|
|
6564
|
+
class: A(`iconfont ${l.computedTimeConclusion(b.timeConclusion).className}`)
|
|
6565
6565
|
}, "", 2),
|
|
6566
|
-
t("span", null, e(l.computedTimeConclusion(
|
|
6566
|
+
t("span", null, e(l.computedTimeConclusion(b.timeConclusion).conclusion), 1)
|
|
6567
6567
|
])
|
|
6568
6568
|
]),
|
|
6569
6569
|
t("div", Gg, [
|
|
6570
6570
|
Ig,
|
|
6571
|
-
(It =
|
|
6572
|
-
l.computedFuleConclusion(
|
|
6573
|
-
l.computedFuleConclusion(
|
|
6574
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
6571
|
+
(It = b.goodWx) != null && It.distance ? (d(), c("div", Rg, [
|
|
6572
|
+
l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className === "success" ? (d(), c("i", Ng, "")) : x("", !0),
|
|
6573
|
+
l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className === "error" ? (d(), c("i", Ug, "")) : x("", !0),
|
|
6574
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.fo, "FO").cons), 1)
|
|
6575
6575
|
])) : (d(), c("div", Yg, [
|
|
6576
6576
|
t("span", null, e(i.noGoodWxDay), 1)
|
|
6577
6577
|
])),
|
|
6578
6578
|
t("div", Zg, [
|
|
6579
6579
|
t("i", {
|
|
6580
|
-
class: A(`iconfont ${l.computedFuleConclusion(
|
|
6580
|
+
class: A(`iconfont ${l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className}`)
|
|
6581
6581
|
}, "", 2),
|
|
6582
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
6582
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.fo, "FO").conclusion), 1)
|
|
6583
6583
|
])
|
|
6584
6584
|
]),
|
|
6585
6585
|
t("div", Vg, [
|
|
6586
6586
|
zg,
|
|
6587
|
-
(Qt =
|
|
6588
|
-
l.computedFuleConclusion(
|
|
6589
|
-
l.computedFuleConclusion(
|
|
6590
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
6587
|
+
(Qt = b.goodWx) != null && Qt.distance ? (d(), c("div", Qg, [
|
|
6588
|
+
l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className === "success" ? (d(), c("i", Jg, "")) : x("", !0),
|
|
6589
|
+
l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className === "error" ? (d(), c("i", Kg, "")) : x("", !0),
|
|
6590
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").cons), 1)
|
|
6591
6591
|
])) : (d(), c("div", Xg, [
|
|
6592
6592
|
t("span", null, e(i.noGoodWxDay), 1)
|
|
6593
6593
|
])),
|
|
6594
6594
|
t("div", qg, [
|
|
6595
6595
|
t("i", {
|
|
6596
|
-
class: A(`iconfont ${l.computedFuleConclusion(
|
|
6596
|
+
class: A(`iconfont ${l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className}`)
|
|
6597
6597
|
}, "", 2),
|
|
6598
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
6598
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").conclusion), 1)
|
|
6599
6599
|
])
|
|
6600
6600
|
])
|
|
6601
6601
|
]);
|
|
@@ -6606,20 +6606,20 @@ function u7(s, a, o, u, i, l) {
|
|
|
6606
6606
|
t("div", t4, [
|
|
6607
6607
|
t("div", e4, [
|
|
6608
6608
|
s4,
|
|
6609
|
-
(d(!0), c(
|
|
6609
|
+
(d(!0), c(M, null, rt(($t = o.reportData) == null ? void 0 : $t.segments, (b, tt) => (d(), c("div", {
|
|
6610
6610
|
class: "remark-speed",
|
|
6611
6611
|
key: tt
|
|
6612
6612
|
}, [
|
|
6613
6613
|
t("div", o4, [
|
|
6614
6614
|
t("div", null, [
|
|
6615
6615
|
C(e(`${tt + 1}. Phase ${tt + 1} Applied `) + " ", 1),
|
|
6616
|
-
t("span", i4, e(
|
|
6617
|
-
t("span", null, e(
|
|
6618
|
-
t("span", null, e(
|
|
6619
|
-
t("span", null, e(
|
|
6616
|
+
t("span", i4, e(b.extend.cp.type) + " Speed ( ", 1),
|
|
6617
|
+
t("span", null, e(b.extend.cp.speed) + "kts / ", 1),
|
|
6618
|
+
t("span", null, e(b.extend.cp.fo) + "mt / ", 1),
|
|
6619
|
+
t("span", null, e(b.extend.cp.dgo) + "mt ) ", 1)
|
|
6620
6620
|
]),
|
|
6621
6621
|
t("div", null, [
|
|
6622
|
-
(d(!0), c(
|
|
6622
|
+
(d(!0), c(M, null, rt(i.segDetail[tt], (St, It) => (d(), c("div", {
|
|
6623
6623
|
key: "seg" + It
|
|
6624
6624
|
}, e(`${St.port1} (${St.fullTime1}) to ${St.port2} (${St.fullTime2})`), 1))), 128))
|
|
6625
6625
|
])
|
|
@@ -6629,12 +6629,12 @@ function u7(s, a, o, u, i, l) {
|
|
|
6629
6629
|
t("div", l4, [
|
|
6630
6630
|
a4,
|
|
6631
6631
|
i.excludedTableData.length ? (d(), c("div", n4, [
|
|
6632
|
-
(d(!0), c(
|
|
6632
|
+
(d(!0), c(M, null, rt(i.excludedTableData, (b, tt) => (d(), c("div", { key: tt }, e(`From ${b.begin} to ${b.end}`), 1))), 128))
|
|
6633
6633
|
])) : (d(), c("div", d4, e(i.noSpecialRemarks), 1))
|
|
6634
6634
|
])
|
|
6635
6635
|
])
|
|
6636
6636
|
]),
|
|
6637
|
-
(d(!0), c(
|
|
6637
|
+
(d(!0), c(M, null, rt((te = o.reportData) == null ? void 0 : te.segments, (b, tt) => {
|
|
6638
6638
|
var St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je, Ss, Os, Es, Ps, Fs, J, ue, Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds, Ws, Bs, Ls, Hs, Ms, Gs, Is, Rs, Ns, Us, Ys, Zs, Vs, zs, Qs, Js, Ks, Xs, qs, js, $s, to, oo, io, lo, ao, no, co, ro, uo, ho, vo, _o, po, fo, mo, yo, bo, xo, Co, go, Do, Ao, wo, ko, So, To, Oo;
|
|
6639
6639
|
return d(), c("div", {
|
|
6640
6640
|
class: "phase",
|
|
@@ -6647,7 +6647,7 @@ function u7(s, a, o, u, i, l) {
|
|
|
6647
6647
|
v4,
|
|
6648
6648
|
t("span", null, "Phase " + e(tt + 1), 1)
|
|
6649
6649
|
]),
|
|
6650
|
-
(d(!0), c(
|
|
6650
|
+
(d(!0), c(M, null, rt(i.segDetail[tt], (Je, Fo) => (d(), c("div", {
|
|
6651
6651
|
key: "seg" + Fo,
|
|
6652
6652
|
class: A(i.segDetail[tt].length > 1 ? "dashed" : "")
|
|
6653
6653
|
}, [
|
|
@@ -6663,10 +6663,10 @@ function u7(s, a, o, u, i, l) {
|
|
|
6663
6663
|
t("div", f4, [
|
|
6664
6664
|
m4,
|
|
6665
6665
|
t("div", null, [
|
|
6666
|
-
t("span", y4, e(
|
|
6667
|
-
t("span", null, e(
|
|
6668
|
-
t("span", null, e(
|
|
6669
|
-
t("span", null, e(
|
|
6666
|
+
t("span", y4, e(b.extend.cp.type) + " : ", 1),
|
|
6667
|
+
t("span", null, e(b.extend.cp.speed) + "kts / ", 1),
|
|
6668
|
+
t("span", null, e(b.extend.cp.fo) + "mt / ", 1),
|
|
6669
|
+
t("span", null, e(b.extend.cp.dgo) + "mt", 1)
|
|
6670
6670
|
])
|
|
6671
6671
|
])
|
|
6672
6672
|
])
|
|
@@ -6676,37 +6676,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6676
6676
|
t("div", C4, [
|
|
6677
6677
|
g4,
|
|
6678
6678
|
t("div", D4, [
|
|
6679
|
-
t("span", null, e(((St =
|
|
6679
|
+
t("span", null, e(((St = b.goodWx) == null ? void 0 : St.avgFoEcaCons) || "-") + " mt", 1)
|
|
6680
6680
|
]),
|
|
6681
6681
|
A4,
|
|
6682
6682
|
t("div", w4, [
|
|
6683
|
-
t("span", null, e(((It =
|
|
6683
|
+
t("span", null, e(((It = b.allWx) == null ? void 0 : It.avgFoEcaCons) || "-") + " mt", 1)
|
|
6684
6684
|
]),
|
|
6685
6685
|
t("div", k4, [
|
|
6686
6686
|
S4,
|
|
6687
6687
|
t("b", null, [
|
|
6688
|
-
C(e(((Qt =
|
|
6688
|
+
C(e(((Qt = b.goodWx) == null ? void 0 : Qt.outEca.avgFoCons) || "-"), 1),
|
|
6689
6689
|
T4
|
|
6690
6690
|
])
|
|
6691
6691
|
]),
|
|
6692
6692
|
t("div", O4, [
|
|
6693
6693
|
E4,
|
|
6694
6694
|
t("b", null, [
|
|
6695
|
-
C(e(((xt =
|
|
6695
|
+
C(e(((xt = b.goodWx) == null ? void 0 : xt.inEca.avgFoEcaCons) || "-"), 1),
|
|
6696
6696
|
P4
|
|
6697
6697
|
])
|
|
6698
6698
|
]),
|
|
6699
6699
|
t("div", F4, [
|
|
6700
6700
|
W4,
|
|
6701
6701
|
t("b", null, [
|
|
6702
|
-
C(e(((ae =
|
|
6702
|
+
C(e(((ae = b.allWx) == null ? void 0 : ae.outEca.avgFoCons) || "-"), 1),
|
|
6703
6703
|
B4
|
|
6704
6704
|
])
|
|
6705
6705
|
]),
|
|
6706
6706
|
t("div", L4, [
|
|
6707
6707
|
H4,
|
|
6708
6708
|
t("b", null, [
|
|
6709
|
-
C(e(((de =
|
|
6709
|
+
C(e(((de = b.allWx) == null ? void 0 : de.inEca.avgFoEcaCons) || "-"), 1),
|
|
6710
6710
|
M4
|
|
6711
6711
|
])
|
|
6712
6712
|
]),
|
|
@@ -6715,37 +6715,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6715
6715
|
t("div", I4, [
|
|
6716
6716
|
R4,
|
|
6717
6717
|
t("div", N4, [
|
|
6718
|
-
t("span", null, e(((ce =
|
|
6718
|
+
t("span", null, e(((ce = b.goodWx) == null ? void 0 : ce.avgDgoEcaCons) || "-") + " mt", 1)
|
|
6719
6719
|
]),
|
|
6720
6720
|
U4,
|
|
6721
6721
|
t("div", Y4, [
|
|
6722
|
-
t("span", null, e(((pe =
|
|
6722
|
+
t("span", null, e(((pe = b.allWx) == null ? void 0 : pe.avgDgoEcaCons) || "-") + " mt", 1)
|
|
6723
6723
|
]),
|
|
6724
6724
|
t("div", Z4, [
|
|
6725
6725
|
V4,
|
|
6726
6726
|
t("b", null, [
|
|
6727
|
-
C(e(((fe =
|
|
6727
|
+
C(e(((fe = b.goodWx) == null ? void 0 : fe.outEca.avgDgoCons) || "-"), 1),
|
|
6728
6728
|
z4
|
|
6729
6729
|
])
|
|
6730
6730
|
]),
|
|
6731
6731
|
t("div", Q4, [
|
|
6732
6732
|
J4,
|
|
6733
6733
|
t("b", null, [
|
|
6734
|
-
C(e(((me =
|
|
6734
|
+
C(e(((me = b.goodWx) == null ? void 0 : me.inEca.avgDgoEcaCons) || "-"), 1),
|
|
6735
6735
|
K4
|
|
6736
6736
|
])
|
|
6737
6737
|
]),
|
|
6738
6738
|
t("div", X4, [
|
|
6739
6739
|
q4,
|
|
6740
6740
|
t("b", null, [
|
|
6741
|
-
C(e(((ye =
|
|
6741
|
+
C(e(((ye = b.allWx) == null ? void 0 : ye.outEca.avgDgoCons) || "-"), 1),
|
|
6742
6742
|
j4
|
|
6743
6743
|
])
|
|
6744
6744
|
]),
|
|
6745
6745
|
t("div", $4, [
|
|
6746
6746
|
tD,
|
|
6747
6747
|
t("b", null, [
|
|
6748
|
-
C(e(((we =
|
|
6748
|
+
C(e(((we = b.allWx) == null ? void 0 : we.inEca.avgDgoEcaCons) || "-"), 1),
|
|
6749
6749
|
eD
|
|
6750
6750
|
])
|
|
6751
6751
|
]),
|
|
@@ -6756,37 +6756,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6756
6756
|
t("div", iD, [
|
|
6757
6757
|
lD,
|
|
6758
6758
|
t("div", aD, [
|
|
6759
|
-
t("span", null, e(((ke =
|
|
6759
|
+
t("span", null, e(((ke = b.goodWx) == null ? void 0 : ke.distance) || "-") + " nm", 1)
|
|
6760
6760
|
]),
|
|
6761
6761
|
nD,
|
|
6762
6762
|
t("div", dD, [
|
|
6763
|
-
t("span", null, e(((Se =
|
|
6763
|
+
t("span", null, e(((Se = b.allWx) == null ? void 0 : Se.distance) || "-") + " nm", 1)
|
|
6764
6764
|
]),
|
|
6765
6765
|
t("div", cD, [
|
|
6766
6766
|
rD,
|
|
6767
6767
|
t("b", null, [
|
|
6768
|
-
C(e(((Te =
|
|
6768
|
+
C(e(((Te = b.goodWx) == null ? void 0 : Te.outEca.distance) || "-"), 1),
|
|
6769
6769
|
uD
|
|
6770
6770
|
])
|
|
6771
6771
|
]),
|
|
6772
6772
|
t("div", hD, [
|
|
6773
6773
|
vD,
|
|
6774
6774
|
t("b", null, [
|
|
6775
|
-
C(e(((Oe =
|
|
6775
|
+
C(e(((Oe = b.goodWx) == null ? void 0 : Oe.inEca.distance) || "-"), 1),
|
|
6776
6776
|
_D
|
|
6777
6777
|
])
|
|
6778
6778
|
]),
|
|
6779
6779
|
t("div", pD, [
|
|
6780
6780
|
fD,
|
|
6781
6781
|
t("b", null, [
|
|
6782
|
-
C(e(((Ee =
|
|
6782
|
+
C(e(((Ee = b.allWx) == null ? void 0 : Ee.outEca.distance) || "-"), 1),
|
|
6783
6783
|
mD
|
|
6784
6784
|
])
|
|
6785
6785
|
]),
|
|
6786
6786
|
t("div", yD, [
|
|
6787
6787
|
bD,
|
|
6788
6788
|
t("b", null, [
|
|
6789
|
-
C(e(((Pe =
|
|
6789
|
+
C(e(((Pe = b.allWx) == null ? void 0 : Pe.inEca.distance) || "-"), 1),
|
|
6790
6790
|
xD
|
|
6791
6791
|
])
|
|
6792
6792
|
])
|
|
@@ -6794,37 +6794,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6794
6794
|
t("div", CD, [
|
|
6795
6795
|
gD,
|
|
6796
6796
|
t("div", DD, [
|
|
6797
|
-
t("span", null, e(((Fe =
|
|
6797
|
+
t("span", null, e(((Fe = b.goodWx) == null ? void 0 : Fe.time) || "-") + " hrs", 1)
|
|
6798
6798
|
]),
|
|
6799
6799
|
AD,
|
|
6800
6800
|
t("div", wD, [
|
|
6801
|
-
t("span", null, e(((We =
|
|
6801
|
+
t("span", null, e(((We = b.allWx) == null ? void 0 : We.time) || "-") + " hrs", 1)
|
|
6802
6802
|
]),
|
|
6803
6803
|
t("div", kD, [
|
|
6804
6804
|
SD,
|
|
6805
6805
|
t("b", null, [
|
|
6806
|
-
C(e(((Be =
|
|
6806
|
+
C(e(((Be = b.goodWx) == null ? void 0 : Be.outEca.time) || "-"), 1),
|
|
6807
6807
|
TD
|
|
6808
6808
|
])
|
|
6809
6809
|
]),
|
|
6810
6810
|
t("div", OD, [
|
|
6811
6811
|
ED,
|
|
6812
6812
|
t("b", null, [
|
|
6813
|
-
C(e(((Le =
|
|
6813
|
+
C(e(((Le = b.goodWx) == null ? void 0 : Le.inEca.time) || "-"), 1),
|
|
6814
6814
|
PD
|
|
6815
6815
|
])
|
|
6816
6816
|
]),
|
|
6817
6817
|
t("div", FD, [
|
|
6818
6818
|
WD,
|
|
6819
6819
|
t("b", null, [
|
|
6820
|
-
C(e(((He =
|
|
6820
|
+
C(e(((He = b.allWx) == null ? void 0 : He.outEca.time) || "-"), 1),
|
|
6821
6821
|
BD
|
|
6822
6822
|
])
|
|
6823
6823
|
]),
|
|
6824
6824
|
t("div", LD, [
|
|
6825
6825
|
HD,
|
|
6826
6826
|
t("b", null, [
|
|
6827
|
-
C(e(((Me =
|
|
6827
|
+
C(e(((Me = b.allWx) == null ? void 0 : Me.inEca.time) || "-"), 1),
|
|
6828
6828
|
MD
|
|
6829
6829
|
])
|
|
6830
6830
|
])
|
|
@@ -6832,37 +6832,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6832
6832
|
t("div", GD, [
|
|
6833
6833
|
ID,
|
|
6834
6834
|
t("div", RD, [
|
|
6835
|
-
t("span", null, e(((Ge =
|
|
6835
|
+
t("span", null, e(((Ge = b.goodWx) == null ? void 0 : Ge.avgSpd) || "-") + " kts", 1)
|
|
6836
6836
|
]),
|
|
6837
6837
|
ND,
|
|
6838
6838
|
t("div", UD, [
|
|
6839
|
-
t("span", null, e(((Ie =
|
|
6839
|
+
t("span", null, e(((Ie = b.allWx) == null ? void 0 : Ie.avgSpd) || "-") + " kts", 1)
|
|
6840
6840
|
]),
|
|
6841
6841
|
t("div", YD, [
|
|
6842
6842
|
ZD,
|
|
6843
6843
|
t("b", null, [
|
|
6844
|
-
C(e(((Re =
|
|
6844
|
+
C(e(((Re = b.goodWx) == null ? void 0 : Re.outEca.avgSpd) || "-"), 1),
|
|
6845
6845
|
VD
|
|
6846
6846
|
])
|
|
6847
6847
|
]),
|
|
6848
6848
|
t("div", zD, [
|
|
6849
6849
|
QD,
|
|
6850
6850
|
t("b", null, [
|
|
6851
|
-
C(e(((Ne =
|
|
6851
|
+
C(e(((Ne = b.goodWx) == null ? void 0 : Ne.inEca.avgSpd) || "-"), 1),
|
|
6852
6852
|
JD
|
|
6853
6853
|
])
|
|
6854
6854
|
]),
|
|
6855
6855
|
t("div", KD, [
|
|
6856
6856
|
XD,
|
|
6857
6857
|
t("b", null, [
|
|
6858
|
-
C(e(((Ue =
|
|
6858
|
+
C(e(((Ue = b.allWx) == null ? void 0 : Ue.outEca.avgSpd) || "-"), 1),
|
|
6859
6859
|
qD
|
|
6860
6860
|
])
|
|
6861
6861
|
]),
|
|
6862
6862
|
t("div", jD, [
|
|
6863
6863
|
$D,
|
|
6864
6864
|
t("b", null, [
|
|
6865
|
-
C(e(((Ye =
|
|
6865
|
+
C(e(((Ye = b.allWx) == null ? void 0 : Ye.inEca.avgSpd) || "-"), 1),
|
|
6866
6866
|
tA
|
|
6867
6867
|
])
|
|
6868
6868
|
])
|
|
@@ -6872,37 +6872,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6872
6872
|
t("div", sA, [
|
|
6873
6873
|
oA,
|
|
6874
6874
|
t("div", iA, [
|
|
6875
|
-
t("span", null, e(((Ze =
|
|
6875
|
+
t("span", null, e(((Ze = b.goodWx) == null ? void 0 : Ze.sumFoCons) || "-") + " mt", 1)
|
|
6876
6876
|
]),
|
|
6877
6877
|
lA,
|
|
6878
6878
|
t("div", aA, [
|
|
6879
|
-
t("span", null, e(((je =
|
|
6879
|
+
t("span", null, e(((je = b.allWx) == null ? void 0 : je.sumFoCons) || "-") + " mt", 1)
|
|
6880
6880
|
]),
|
|
6881
6881
|
t("div", nA, [
|
|
6882
6882
|
dA,
|
|
6883
6883
|
t("b", null, [
|
|
6884
|
-
C(e(((Ss =
|
|
6884
|
+
C(e(((Ss = b.goodWx) == null ? void 0 : Ss.outEca.sumFoCons) || "-"), 1),
|
|
6885
6885
|
cA
|
|
6886
6886
|
])
|
|
6887
6887
|
]),
|
|
6888
6888
|
t("div", rA, [
|
|
6889
6889
|
uA,
|
|
6890
6890
|
t("b", null, [
|
|
6891
|
-
C(e(((Os =
|
|
6891
|
+
C(e(((Os = b.goodWx) == null ? void 0 : Os.inEca.sumFoCons) || "-"), 1),
|
|
6892
6892
|
hA
|
|
6893
6893
|
])
|
|
6894
6894
|
]),
|
|
6895
6895
|
t("div", vA, [
|
|
6896
6896
|
_A,
|
|
6897
6897
|
t("b", null, [
|
|
6898
|
-
C(e(((Es =
|
|
6898
|
+
C(e(((Es = b.allWx) == null ? void 0 : Es.outEca.sumFoCons) || "-"), 1),
|
|
6899
6899
|
pA
|
|
6900
6900
|
])
|
|
6901
6901
|
]),
|
|
6902
6902
|
t("div", fA, [
|
|
6903
6903
|
mA,
|
|
6904
6904
|
t("b", null, [
|
|
6905
|
-
C(e(((Ps =
|
|
6905
|
+
C(e(((Ps = b.allWx) == null ? void 0 : Ps.inEca.sumFoCons) || "-"), 1),
|
|
6906
6906
|
yA
|
|
6907
6907
|
])
|
|
6908
6908
|
])
|
|
@@ -6910,37 +6910,37 @@ function u7(s, a, o, u, i, l) {
|
|
|
6910
6910
|
t("div", bA, [
|
|
6911
6911
|
xA,
|
|
6912
6912
|
t("div", CA, [
|
|
6913
|
-
t("span", null, e(((Fs =
|
|
6913
|
+
t("span", null, e(((Fs = b.goodWx) == null ? void 0 : Fs.sumDgoCons) || "-") + " mt", 1)
|
|
6914
6914
|
]),
|
|
6915
6915
|
gA,
|
|
6916
6916
|
t("div", DA, [
|
|
6917
|
-
t("span", null, e(((J =
|
|
6917
|
+
t("span", null, e(((J = b.allWx) == null ? void 0 : J.sumDgoCons) || "-") + " mt", 1)
|
|
6918
6918
|
]),
|
|
6919
6919
|
t("div", AA, [
|
|
6920
6920
|
wA,
|
|
6921
6921
|
t("b", null, [
|
|
6922
|
-
C(e(((ue =
|
|
6922
|
+
C(e(((ue = b.goodWx) == null ? void 0 : ue.outEca.sumDgoCons) || "-"), 1),
|
|
6923
6923
|
kA
|
|
6924
6924
|
])
|
|
6925
6925
|
]),
|
|
6926
6926
|
t("div", SA, [
|
|
6927
6927
|
TA,
|
|
6928
6928
|
t("b", null, [
|
|
6929
|
-
C(e(((Ve =
|
|
6929
|
+
C(e(((Ve = b.goodWx) == null ? void 0 : Ve.inEca.sumDgoCons) || "-"), 1),
|
|
6930
6930
|
OA
|
|
6931
6931
|
])
|
|
6932
6932
|
]),
|
|
6933
6933
|
t("div", EA, [
|
|
6934
6934
|
PA,
|
|
6935
6935
|
t("b", null, [
|
|
6936
|
-
C(e(((ze =
|
|
6936
|
+
C(e(((ze = b.allWx) == null ? void 0 : ze.outEca.sumDgoCons) || "-"), 1),
|
|
6937
6937
|
FA
|
|
6938
6938
|
])
|
|
6939
6939
|
]),
|
|
6940
6940
|
t("div", WA, [
|
|
6941
6941
|
BA,
|
|
6942
6942
|
t("b", null, [
|
|
6943
|
-
C(e((($e =
|
|
6943
|
+
C(e((($e = b.allWx) == null ? void 0 : $e.inEca.sumDgoCons) || "-"), 1),
|
|
6944
6944
|
LA
|
|
6945
6945
|
])
|
|
6946
6946
|
])
|
|
@@ -6948,12 +6948,12 @@ function u7(s, a, o, u, i, l) {
|
|
|
6948
6948
|
t("div", HA, [
|
|
6949
6949
|
MA,
|
|
6950
6950
|
t("div", GA, [
|
|
6951
|
-
t("span", null, e(((ts =
|
|
6951
|
+
t("span", null, e(((ts = b.goodWx) == null ? void 0 : ts.pfmSpd) || "-") + " kts", 1)
|
|
6952
6952
|
]),
|
|
6953
6953
|
t("div", IA, [
|
|
6954
6954
|
RA,
|
|
6955
|
-
(es =
|
|
6956
|
-
C(e(l.computedPositive((ls =
|
|
6955
|
+
(es = b.goodWx) != null && es.distance && !((os = (ss = o.reportData) == null ? void 0 : ss.weather) != null && os.favorableCur && ((is = b.goodWx) == null ? void 0 : is.avgCf) > 0) ? (d(), c("b", NA, [
|
|
6956
|
+
C(e(l.computedPositive((ls = b.goodWx) == null ? void 0 : ls.avgCf)), 1),
|
|
6957
6957
|
UA
|
|
6958
6958
|
])) : (d(), c("b", YA, "Not Applied"))
|
|
6959
6959
|
])
|
|
@@ -6963,58 +6963,58 @@ function u7(s, a, o, u, i, l) {
|
|
|
6963
6963
|
t("div", ZA, [
|
|
6964
6964
|
t("div", VA, [
|
|
6965
6965
|
zA,
|
|
6966
|
-
(as =
|
|
6967
|
-
l.computedTimeConclusion(
|
|
6968
|
-
l.computedTimeConclusion(
|
|
6969
|
-
t("span", null, e(l.computedTimeConclusion(
|
|
6966
|
+
(as = b.goodWx) != null && as.distance ? (d(), c("div", QA, [
|
|
6967
|
+
l.computedTimeConclusion(b.timeConclusion).className === "success" ? (d(), c("i", JA, "")) : x("", !0),
|
|
6968
|
+
l.computedTimeConclusion(b.timeConclusion).className === "error" ? (d(), c("i", KA, "")) : x("", !0),
|
|
6969
|
+
t("span", null, e(l.computedTimeConclusion(b.timeConclusion).timeCon), 1)
|
|
6970
6970
|
])) : (d(), c("div", XA, [
|
|
6971
6971
|
t("span", qA, e(i.noGoodWxDay), 1)
|
|
6972
6972
|
])),
|
|
6973
6973
|
t("div", jA, [
|
|
6974
6974
|
t("i", {
|
|
6975
|
-
class: A(`iconfont ${l.computedTimeConclusion(
|
|
6975
|
+
class: A(`iconfont ${l.computedTimeConclusion(b.timeConclusion).className}`)
|
|
6976
6976
|
}, "", 2),
|
|
6977
|
-
t("span", null, e(l.computedTimeConclusion(
|
|
6977
|
+
t("span", null, e(l.computedTimeConclusion(b.timeConclusion).conclusion), 1)
|
|
6978
6978
|
])
|
|
6979
6979
|
]),
|
|
6980
6980
|
t("div", {
|
|
6981
|
-
class: A(`${(ns =
|
|
6981
|
+
class: A(`${(ns = b.goodWx) != null && ns.distance ? "" : "analysis-none"} card analysis-card`)
|
|
6982
6982
|
}, [
|
|
6983
|
-
(ds =
|
|
6983
|
+
(ds = b.goodWx) != null && ds.distance ? (d(), c("div", $A, [
|
|
6984
6984
|
t("div", t8, [
|
|
6985
6985
|
e8,
|
|
6986
6986
|
s8,
|
|
6987
6987
|
t("div", o8, [
|
|
6988
|
-
t("div", null, e((rs = (cs = o.reportData) == null ? void 0 : cs.weather) != null && rs.noExtrapolation ? (us =
|
|
6988
|
+
t("div", null, e((rs = (cs = o.reportData) == null ? void 0 : cs.weather) != null && rs.noExtrapolation ? (us = b.goodWx) == null ? void 0 : us.distance : (hs = b.allWx) == null ? void 0 : hs.distance), 1),
|
|
6989
6989
|
i8,
|
|
6990
|
-
t("div", null, e((vs =
|
|
6990
|
+
t("div", null, e((vs = b.goodWx) == null ? void 0 : vs.pfmSpd), 1)
|
|
6991
6991
|
]),
|
|
6992
6992
|
l8,
|
|
6993
|
-
t("div", a8, e(
|
|
6993
|
+
t("div", a8, e(b.timeConclusion.timeAtPfmSpd) + " Hrs", 1),
|
|
6994
6994
|
n8
|
|
6995
6995
|
]),
|
|
6996
6996
|
t("div", d8, [
|
|
6997
6997
|
c8,
|
|
6998
6998
|
r8,
|
|
6999
6999
|
t("div", u8, [
|
|
7000
|
-
t("div", null, e((ps = (_s = o.reportData) == null ? void 0 : _s.weather) != null && ps.noExtrapolation ? (fs =
|
|
7000
|
+
t("div", null, e((ps = (_s = o.reportData) == null ? void 0 : _s.weather) != null && ps.noExtrapolation ? (fs = b.goodWx) == null ? void 0 : fs.distance : (ms = b.allWx) == null ? void 0 : ms.distance), 1),
|
|
7001
7001
|
h8,
|
|
7002
|
-
t("div", null, e(
|
|
7002
|
+
t("div", null, e(b.timeConclusion.minusAbtSpd), 1)
|
|
7003
7003
|
]),
|
|
7004
7004
|
v8,
|
|
7005
|
-
t("div", _8, e(
|
|
7005
|
+
t("div", _8, e(b.timeConclusion.timeAtMinusAbtSpd) + " Hrs", 1),
|
|
7006
7006
|
p8
|
|
7007
7007
|
]),
|
|
7008
7008
|
t("div", f8, [
|
|
7009
7009
|
m8,
|
|
7010
7010
|
y8,
|
|
7011
7011
|
t("div", b8, [
|
|
7012
|
-
t("div", null, e((bs = (ys = o.reportData) == null ? void 0 : ys.weather) != null && bs.noExtrapolation ? (xs =
|
|
7012
|
+
t("div", null, e((bs = (ys = o.reportData) == null ? void 0 : ys.weather) != null && bs.noExtrapolation ? (xs = b.goodWx) == null ? void 0 : xs.distance : (Cs = b.allWx) == null ? void 0 : Cs.distance), 1),
|
|
7013
7013
|
x8,
|
|
7014
|
-
t("div", null, e(
|
|
7014
|
+
t("div", null, e(b.timeConclusion.plusAbtSpd), 1)
|
|
7015
7015
|
]),
|
|
7016
7016
|
C8,
|
|
7017
|
-
t("div", g8, e(
|
|
7017
|
+
t("div", g8, e(b.timeConclusion.timeAtPlusAbtSpd) + " Hrs", 1),
|
|
7018
7018
|
D8
|
|
7019
7019
|
])
|
|
7020
7020
|
])) : x("", !0)
|
|
@@ -7023,76 +7023,76 @@ function u7(s, a, o, u, i, l) {
|
|
|
7023
7023
|
t("div", A8, [
|
|
7024
7024
|
t("div", w8, [
|
|
7025
7025
|
k8,
|
|
7026
|
-
(gs =
|
|
7027
|
-
l.computedFuleConclusion(
|
|
7028
|
-
l.computedFuleConclusion(
|
|
7029
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
7026
|
+
(gs = b.goodWx) != null && gs.distance ? (d(), c("div", S8, [
|
|
7027
|
+
l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className === "success" ? (d(), c("i", T8, "")) : x("", !0),
|
|
7028
|
+
l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className === "error" ? (d(), c("i", O8, "")) : x("", !0),
|
|
7029
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.fo, "FO").cons), 1)
|
|
7030
7030
|
])) : (d(), c("div", E8, [
|
|
7031
7031
|
t("span", P8, e(i.noGoodWxDay), 1)
|
|
7032
7032
|
])),
|
|
7033
7033
|
t("div", F8, [
|
|
7034
7034
|
t("i", {
|
|
7035
|
-
class: A(`iconfont ${l.computedFuleConclusion(
|
|
7035
|
+
class: A(`iconfont ${l.computedFuleConclusion(b.fuelConclusion.fo, "FO").className}`)
|
|
7036
7036
|
}, "", 2),
|
|
7037
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
7037
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.fo, "FO").conclusion), 1)
|
|
7038
7038
|
])
|
|
7039
7039
|
]),
|
|
7040
7040
|
t("div", {
|
|
7041
|
-
class: A(`${(Ds =
|
|
7041
|
+
class: A(`${(Ds = b.goodWx) != null && Ds.distance ? "" : "analysis-none"} card analysis-card`)
|
|
7042
7042
|
}, [
|
|
7043
|
-
(Ws =
|
|
7043
|
+
(Ws = b.goodWx) != null && Ws.distance ? (d(), c("div", W8, [
|
|
7044
7044
|
t("div", B8, [
|
|
7045
7045
|
L8,
|
|
7046
7046
|
H8,
|
|
7047
7047
|
t("div", M8, [
|
|
7048
|
-
t("div", null, e((Ls = (Bs = o.reportData) == null ? void 0 : Bs.weather) != null && Ls.noExtrapolation ? (Hs =
|
|
7048
|
+
t("div", null, e((Ls = (Bs = o.reportData) == null ? void 0 : Bs.weather) != null && Ls.noExtrapolation ? (Hs = b.goodWx) == null ? void 0 : Hs.distance : (Ms = b.allWx) == null ? void 0 : Ms.distance), 1),
|
|
7049
7049
|
G8,
|
|
7050
|
-
t("div", null, e((Gs =
|
|
7050
|
+
t("div", null, e((Gs = b.goodWx) == null ? void 0 : Gs.pfmSpd), 1)
|
|
7051
7051
|
]),
|
|
7052
7052
|
I8,
|
|
7053
7053
|
t("div", R8, [
|
|
7054
|
-
t("div", null, e((Is =
|
|
7054
|
+
t("div", null, e((Is = b.goodWx) == null ? void 0 : Is.sumFoCons) + " " + e(((Rs = b.allWx) == null ? void 0 : Rs.inEca.distance) > 0 ? ` + ${b.fuelConclusion.fo.dgoAsFoCons}` : ""), 1),
|
|
7055
7055
|
N8,
|
|
7056
|
-
t("div", null, e((Ns =
|
|
7056
|
+
t("div", null, e((Ns = b.goodWx) == null ? void 0 : Ns.time), 1)
|
|
7057
7057
|
]),
|
|
7058
7058
|
U8,
|
|
7059
|
-
t("div", Y8, e(
|
|
7059
|
+
t("div", Y8, e(b.fuelConclusion.fo.entireCons) + " MT", 1),
|
|
7060
7060
|
Z8
|
|
7061
7061
|
]),
|
|
7062
7062
|
t("div", V8, [
|
|
7063
7063
|
z8,
|
|
7064
7064
|
Q8,
|
|
7065
7065
|
t("div", J8, [
|
|
7066
|
-
t("div", null, e((Ys = (Us = o.reportData) == null ? void 0 : Us.weather) != null && Ys.noExtrapolation ? (Zs =
|
|
7066
|
+
t("div", null, e((Ys = (Us = o.reportData) == null ? void 0 : Us.weather) != null && Ys.noExtrapolation ? (Zs = b.goodWx) == null ? void 0 : Zs.distance : (Vs = b.allWx) == null ? void 0 : Vs.distance), 1),
|
|
7067
7067
|
K8,
|
|
7068
|
-
t("div", null, e(
|
|
7068
|
+
t("div", null, e(b.timeConclusion.minusAbtSpd), 1)
|
|
7069
7069
|
]),
|
|
7070
7070
|
X8,
|
|
7071
7071
|
t("div", q8, [
|
|
7072
|
-
t("div", null, e(
|
|
7072
|
+
t("div", null, e(b.fuelConclusion.fo.overTolerance), 1),
|
|
7073
7073
|
j8,
|
|
7074
7074
|
$8
|
|
7075
7075
|
]),
|
|
7076
7076
|
tw,
|
|
7077
|
-
t("div", ew, e(
|
|
7077
|
+
t("div", ew, e(b.fuelConclusion.fo.maxCons) + " MT", 1),
|
|
7078
7078
|
sw
|
|
7079
7079
|
]),
|
|
7080
7080
|
t("div", ow, [
|
|
7081
7081
|
iw,
|
|
7082
7082
|
lw,
|
|
7083
7083
|
t("div", aw, [
|
|
7084
|
-
t("div", null, e((Qs = (zs = o.reportData) == null ? void 0 : zs.weather) != null && Qs.noExtrapolation ? (Js =
|
|
7084
|
+
t("div", null, e((Qs = (zs = o.reportData) == null ? void 0 : zs.weather) != null && Qs.noExtrapolation ? (Js = b.goodWx) == null ? void 0 : Js.distance : (Ks = b.allWx) == null ? void 0 : Ks.distance), 1),
|
|
7085
7085
|
nw,
|
|
7086
|
-
t("div", null, e(
|
|
7086
|
+
t("div", null, e(b.timeConclusion.minusAbtSpd), 1)
|
|
7087
7087
|
]),
|
|
7088
7088
|
dw,
|
|
7089
7089
|
t("div", cw, [
|
|
7090
|
-
t("div", null, e(
|
|
7090
|
+
t("div", null, e(b.fuelConclusion.fo.underTolerance), 1),
|
|
7091
7091
|
rw,
|
|
7092
7092
|
uw
|
|
7093
7093
|
]),
|
|
7094
7094
|
hw,
|
|
7095
|
-
t("div", vw, e(
|
|
7095
|
+
t("div", vw, e(b.fuelConclusion.fo.minCons) + " MT", 1),
|
|
7096
7096
|
_w
|
|
7097
7097
|
])
|
|
7098
7098
|
])) : x("", !0)
|
|
@@ -7101,76 +7101,76 @@ function u7(s, a, o, u, i, l) {
|
|
|
7101
7101
|
t("div", pw, [
|
|
7102
7102
|
t("div", fw, [
|
|
7103
7103
|
mw,
|
|
7104
|
-
(Xs =
|
|
7105
|
-
l.computedFuleConclusion(
|
|
7106
|
-
l.computedFuleConclusion(
|
|
7107
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
7104
|
+
(Xs = b.goodWx) != null && Xs.distance ? (d(), c("div", yw, [
|
|
7105
|
+
l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className === "success" ? (d(), c("i", bw, "")) : x("", !0),
|
|
7106
|
+
l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className === "error" ? (d(), c("i", xw, "")) : x("", !0),
|
|
7107
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").cons), 1)
|
|
7108
7108
|
])) : (d(), c("div", Cw, [
|
|
7109
7109
|
t("span", gw, e(i.noGoodWxDay), 1)
|
|
7110
7110
|
])),
|
|
7111
7111
|
t("div", Dw, [
|
|
7112
7112
|
t("i", {
|
|
7113
|
-
class: A(`iconfont ${l.computedFuleConclusion(
|
|
7113
|
+
class: A(`iconfont ${l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").className}`)
|
|
7114
7114
|
}, "", 2),
|
|
7115
|
-
t("span", null, e(l.computedFuleConclusion(
|
|
7115
|
+
t("span", null, e(l.computedFuleConclusion(b.fuelConclusion.dgo, "DGO").conclusion), 1)
|
|
7116
7116
|
])
|
|
7117
7117
|
]),
|
|
7118
7118
|
t("div", {
|
|
7119
|
-
class: A(`${(qs =
|
|
7119
|
+
class: A(`${(qs = b.goodWx) != null && qs.distance ? "" : "analysis-none"} card analysis-card`)
|
|
7120
7120
|
}, [
|
|
7121
|
-
(js =
|
|
7121
|
+
(js = b.goodWx) != null && js.distance ? (d(), c("div", Aw, [
|
|
7122
7122
|
t("div", ww, [
|
|
7123
7123
|
kw,
|
|
7124
7124
|
Sw,
|
|
7125
7125
|
t("div", Tw, [
|
|
7126
|
-
t("div", null, e((to = ($s = o.reportData) == null ? void 0 : $s.weather) != null && to.noExtrapolation ? (oo =
|
|
7126
|
+
t("div", null, e((to = ($s = o.reportData) == null ? void 0 : $s.weather) != null && to.noExtrapolation ? (oo = b.goodWx) == null ? void 0 : oo.distance : (io = b.allWx) == null ? void 0 : io.distance), 1),
|
|
7127
7127
|
Ow,
|
|
7128
|
-
t("div", null, e((lo =
|
|
7128
|
+
t("div", null, e((lo = b.goodWx) == null ? void 0 : lo.pfmSpd), 1)
|
|
7129
7129
|
]),
|
|
7130
7130
|
Ew,
|
|
7131
7131
|
t("div", Pw, [
|
|
7132
|
-
t("div", null, e((ao =
|
|
7132
|
+
t("div", null, e((ao = b.goodWx) == null ? void 0 : ao.sumDgoCons) + " " + e(((no = b.allWx) == null ? void 0 : no.inEca.distance) > 0 ? ` - ${b.fuelConclusion.fo.dgoAsFoCons}` : ""), 1),
|
|
7133
7133
|
Fw,
|
|
7134
|
-
t("div", null, e((co =
|
|
7134
|
+
t("div", null, e((co = b.goodWx) == null ? void 0 : co.time), 1)
|
|
7135
7135
|
]),
|
|
7136
7136
|
Ww,
|
|
7137
|
-
t("div", Bw, e(
|
|
7137
|
+
t("div", Bw, e(b.fuelConclusion.dgo.entireCons) + " MT", 1),
|
|
7138
7138
|
Lw
|
|
7139
7139
|
]),
|
|
7140
7140
|
t("div", Hw, [
|
|
7141
7141
|
Mw,
|
|
7142
7142
|
Gw,
|
|
7143
7143
|
t("div", Iw, [
|
|
7144
|
-
t("div", null, e((uo = (ro = o.reportData) == null ? void 0 : ro.weather) != null && uo.noExtrapolation ? (ho =
|
|
7144
|
+
t("div", null, e((uo = (ro = o.reportData) == null ? void 0 : ro.weather) != null && uo.noExtrapolation ? (ho = b.goodWx) == null ? void 0 : ho.distance : (vo = b.allWx) == null ? void 0 : vo.distance), 1),
|
|
7145
7145
|
Rw,
|
|
7146
|
-
t("div", null, e(
|
|
7146
|
+
t("div", null, e(b.timeConclusion.minusAbtSpd), 1)
|
|
7147
7147
|
]),
|
|
7148
7148
|
Nw,
|
|
7149
7149
|
t("div", Uw, [
|
|
7150
|
-
t("div", null, e(
|
|
7150
|
+
t("div", null, e(b.fuelConclusion.dgo.overTolerance), 1),
|
|
7151
7151
|
Yw,
|
|
7152
7152
|
Zw
|
|
7153
7153
|
]),
|
|
7154
7154
|
Vw,
|
|
7155
|
-
t("div", zw, e(
|
|
7155
|
+
t("div", zw, e(b.fuelConclusion.dgo.maxCons) + " MT", 1),
|
|
7156
7156
|
Qw
|
|
7157
7157
|
]),
|
|
7158
7158
|
t("div", Jw, [
|
|
7159
7159
|
Kw,
|
|
7160
7160
|
Xw,
|
|
7161
7161
|
t("div", qw, [
|
|
7162
|
-
t("div", null, e((po = (_o = o.reportData) == null ? void 0 : _o.weather) != null && po.noExtrapolation ? (fo =
|
|
7162
|
+
t("div", null, e((po = (_o = o.reportData) == null ? void 0 : _o.weather) != null && po.noExtrapolation ? (fo = b.goodWx) == null ? void 0 : fo.distance : (mo = b.allWx) == null ? void 0 : mo.distance), 1),
|
|
7163
7163
|
jw,
|
|
7164
|
-
t("div", null, e(
|
|
7164
|
+
t("div", null, e(b.timeConclusion.minusAbtSpd), 1)
|
|
7165
7165
|
]),
|
|
7166
7166
|
$w,
|
|
7167
7167
|
t("div", t5, [
|
|
7168
|
-
t("div", null, e(
|
|
7168
|
+
t("div", null, e(b.fuelConclusion.dgo.underTolerance), 1),
|
|
7169
7169
|
e5,
|
|
7170
7170
|
s5
|
|
7171
7171
|
]),
|
|
7172
7172
|
o5,
|
|
7173
|
-
t("div", i5, e(
|
|
7173
|
+
t("div", i5, e(b.fuelConclusion.dgo.minCons) + " MT", 1),
|
|
7174
7174
|
l5
|
|
7175
7175
|
])
|
|
7176
7176
|
])) : x("", !0)
|
|
@@ -7325,7 +7325,7 @@ const v7 = {
|
|
|
7325
7325
|
// 计算各类填写时间
|
|
7326
7326
|
computedTime() {
|
|
7327
7327
|
return function(s, a) {
|
|
7328
|
-
return a === "subtitle" ?
|
|
7328
|
+
return a === "subtitle" ? H(s).utc().format("MMMM-DD, YYYY/HHmm [Z]") : a === "table" ? H(s).utc().format("MMMM-DD/HHmm[Z]") : H(s).utc().format("dddd, MMMM D, YYYY");
|
|
7329
7329
|
};
|
|
7330
7330
|
}
|
|
7331
7331
|
},
|
|
@@ -7349,23 +7349,23 @@ const v7 = {
|
|
|
7349
7349
|
var u, i, l, f;
|
|
7350
7350
|
this.showCF = (i = (u = this.reportData) == null ? void 0 : u.weather) == null ? void 0 : i.showCF, this.showAisDistance = !0;
|
|
7351
7351
|
let s = [];
|
|
7352
|
-
(f = (l = this.reportData) == null ? void 0 : l.segments) == null || f.forEach((r,
|
|
7352
|
+
(f = (l = this.reportData) == null ? void 0 : l.segments) == null || f.forEach((r, y) => {
|
|
7353
7353
|
let O = r.extend.cp;
|
|
7354
|
-
r.inventory.sample.hours.forEach((P,
|
|
7355
|
-
let
|
|
7356
|
-
|
|
7354
|
+
r.inventory.sample.hours.forEach((P, m) => {
|
|
7355
|
+
let D = JSON.parse(JSON.stringify(P));
|
|
7356
|
+
D.cp = O, s.push(D);
|
|
7357
7357
|
});
|
|
7358
|
-
}), s.sort(function(r,
|
|
7359
|
-
let O = r.date, P =
|
|
7358
|
+
}), s.sort(function(r, y) {
|
|
7359
|
+
let O = r.date, P = y.date;
|
|
7360
7360
|
return O - P;
|
|
7361
7361
|
});
|
|
7362
7362
|
let a = "", o = "";
|
|
7363
|
-
s.forEach((r,
|
|
7363
|
+
s.forEach((r, y) => {
|
|
7364
7364
|
r.seg !== a && (r.isFirstSeg = !0, a = r.seg);
|
|
7365
7365
|
let O = r.type.charAt(0);
|
|
7366
7366
|
r.abbreviation = O;
|
|
7367
|
-
const P =
|
|
7368
|
-
P !== o && (r.lastdate = P, o = P), O === "A" ? r.type = "" : O === "M" && (r.type = "*"), r.time =
|
|
7367
|
+
const P = H(r.utc).utc().format("D-MMM");
|
|
7368
|
+
P !== o && (r.lastdate = P, o = P), O === "A" ? r.type = "" : O === "M" && (r.type = "*"), r.time = H(r.utc).utc().format("HH:mm[Z]"), r.lngPretty = this.getLonLat(ee.lng2pretty(r.lng)), r.latPretty = this.getLonLat(ee.lat2pretty(r.lat));
|
|
7369
7369
|
}), this.summaryTable = s;
|
|
7370
7370
|
}
|
|
7371
7371
|
}
|
|
@@ -7450,10 +7450,10 @@ const v7 = {
|
|
|
7450
7450
|
/* @__PURE__ */ t("div", { class: "content" }, "Voyage Map")
|
|
7451
7451
|
], -1)), g7 = ["src"], D7 = /* @__PURE__ */ ut('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>', 1);
|
|
7452
7452
|
function A7(s, a, o, u, i, l) {
|
|
7453
|
-
var f, r,
|
|
7453
|
+
var f, r, y, O, P;
|
|
7454
7454
|
return d(), c("div", {
|
|
7455
7455
|
style: { "page-break-before": "always" },
|
|
7456
|
-
class: A((r = (f = o.reportData) == null ? void 0 : f.weather) != null && r.referenceOnly || (O = (
|
|
7456
|
+
class: A((r = (f = o.reportData) == null ? void 0 : f.weather) != null && r.referenceOnly || (O = (y = o.reportData) == null ? void 0 : y.weather) != null && O.overallAsGoodWx ? "watermark fli-main" : "fli-main")
|
|
7457
7457
|
}, [
|
|
7458
7458
|
_7,
|
|
7459
7459
|
t("div", p7, [
|
|
@@ -7461,85 +7461,85 @@ function A7(s, a, o, u, i, l) {
|
|
|
7461
7461
|
t("table", f7, [
|
|
7462
7462
|
m7,
|
|
7463
7463
|
t("tbody", y7, [
|
|
7464
|
-
(d(!0), c(
|
|
7465
|
-
var S, v, E, F, G,
|
|
7466
|
-
return d(), c("tr", { key:
|
|
7464
|
+
(d(!0), c(M, null, rt(i.summaryTable, (m, D) => {
|
|
7465
|
+
var S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt;
|
|
7466
|
+
return d(), c("tr", { key: D }, [
|
|
7467
7467
|
t("td", {
|
|
7468
|
-
class: A(l.computedSegClass(
|
|
7469
|
-
}, e(
|
|
7468
|
+
class: A(l.computedSegClass(m, D))
|
|
7469
|
+
}, e(m.isFirstSeg ? m.seg : ""), 3),
|
|
7470
7470
|
t("td", {
|
|
7471
|
-
class: A(l.computedClass(
|
|
7472
|
-
}, e(
|
|
7471
|
+
class: A(l.computedClass(m, D))
|
|
7472
|
+
}, e(m.type), 3),
|
|
7473
7473
|
t("td", {
|
|
7474
|
-
class: A(l.computedClass(
|
|
7475
|
-
}, e(
|
|
7474
|
+
class: A(l.computedClass(m, D))
|
|
7475
|
+
}, e(m.lastdate), 3),
|
|
7476
7476
|
t("td", {
|
|
7477
|
-
class: A(l.computedClass(
|
|
7478
|
-
}, e(
|
|
7479
|
-
l.computedPort(
|
|
7477
|
+
class: A(l.computedClass(m, D))
|
|
7478
|
+
}, e(m.time), 3),
|
|
7479
|
+
l.computedPort(m) ? (d(), c("td", {
|
|
7480
7480
|
key: 0,
|
|
7481
|
-
class: A(l.computedClass(
|
|
7482
|
-
}, e(
|
|
7483
|
-
l.computedPort(
|
|
7481
|
+
class: A(l.computedClass(m, D))
|
|
7482
|
+
}, e(m.latPretty), 3)) : x("", !0),
|
|
7483
|
+
l.computedPort(m) ? (d(), c("td", {
|
|
7484
7484
|
key: 1,
|
|
7485
|
-
class: A(l.computedClass(
|
|
7486
|
-
}, e(
|
|
7485
|
+
class: A(l.computedClass(m, D))
|
|
7486
|
+
}, e(m.lngPretty), 3)) : (d(), c("td", {
|
|
7487
7487
|
key: 2,
|
|
7488
7488
|
colspan: "2",
|
|
7489
|
-
class: A(l.computedClass(
|
|
7490
|
-
}, e((S =
|
|
7489
|
+
class: A(l.computedClass(m, D))
|
|
7490
|
+
}, e((S = m.noon) == null ? void 0 : S.port), 3)),
|
|
7491
7491
|
t("td", {
|
|
7492
|
-
class: A(l.computedClass(
|
|
7493
|
-
}, e(
|
|
7492
|
+
class: A(l.computedClass(m, D, !0, !0))
|
|
7493
|
+
}, e(m.abbreviation === "A" || m.abbreviation === "B" ? "" : (v = m.cp) == null ? void 0 : v.speed), 3),
|
|
7494
7494
|
t("td", {
|
|
7495
|
-
class: A(l.computedClass(
|
|
7496
|
-
}, e(
|
|
7495
|
+
class: A(l.computedClass(m, D, !0))
|
|
7496
|
+
}, e(m.avgSpdCalc), 3),
|
|
7497
7497
|
t("td", {
|
|
7498
|
-
class: A(l.computedClass(
|
|
7499
|
-
}, e(
|
|
7498
|
+
class: A(l.computedClass(m, D, !0))
|
|
7499
|
+
}, e(m.distanceCalc), 3),
|
|
7500
7500
|
t("td", {
|
|
7501
|
-
class: A(l.computedClass(
|
|
7502
|
-
}, e(((F = (E =
|
|
7501
|
+
class: A(l.computedClass(m, D))
|
|
7502
|
+
}, e(((F = (E = m.meteo) == null ? void 0 : E.wind) == null ? void 0 : F.scale) ?? "--"), 3),
|
|
7503
7503
|
t("td", {
|
|
7504
|
-
class: A(l.computedClass(
|
|
7505
|
-
}, e(((
|
|
7504
|
+
class: A(l.computedClass(m, D))
|
|
7505
|
+
}, e(((Y = (U = (G = m.meteo) == null ? void 0 : G.wave) == null ? void 0 : U.swell) == null ? void 0 : Y.direction) ?? "--"), 3),
|
|
7506
7506
|
t("td", {
|
|
7507
|
-
class: A(l.computedClass(
|
|
7508
|
-
}, e(((
|
|
7507
|
+
class: A(l.computedClass(m, D))
|
|
7508
|
+
}, e(((N = (T = (I = m.meteo) == null ? void 0 : I.wave) == null ? void 0 : T.swell) == null ? void 0 : N.height) ?? "--"), 3),
|
|
7509
7509
|
t("td", {
|
|
7510
|
-
class: A(l.computedClass(
|
|
7511
|
-
}, e(((X = ($ = (K =
|
|
7510
|
+
class: A(l.computedClass(m, D))
|
|
7511
|
+
}, e(((X = ($ = (K = m.meteo) == null ? void 0 : K.wave) == null ? void 0 : $.sig) == null ? void 0 : X.height) ?? "--"), 3),
|
|
7512
7512
|
i.showCF ? (d(), c("td", {
|
|
7513
7513
|
key: 3,
|
|
7514
|
-
class: A(l.computedClass(
|
|
7515
|
-
}, e(((Z =
|
|
7514
|
+
class: A(l.computedClass(m, D))
|
|
7515
|
+
}, e(((Z = m.meteo) == null ? void 0 : Z.cFactor) ?? "0"), 3)) : (d(), c("td", {
|
|
7516
7516
|
key: 4,
|
|
7517
|
-
class: A(l.computedClass(
|
|
7518
|
-
}, e(
|
|
7517
|
+
class: A(l.computedClass(m, D))
|
|
7518
|
+
}, e(m.abbreviation === "A" ? "" : m.dailyAvgCf || "0"), 3)),
|
|
7519
7519
|
t("td", {
|
|
7520
|
-
class: A(l.computedClass(
|
|
7521
|
-
}, e(
|
|
7520
|
+
class: A(l.computedClass(m, D))
|
|
7521
|
+
}, e(m.abbreviation === "A" ? "" : ((w = m.noon) == null ? void 0 : w.avgSpd) || "0.00"), 3),
|
|
7522
7522
|
t("td", {
|
|
7523
|
-
class: A(l.computedClass(
|
|
7524
|
-
}, e(
|
|
7523
|
+
class: A(l.computedClass(m, D))
|
|
7524
|
+
}, e(m.abbreviation === "A" ? "" : ((j = m.noon) == null ? void 0 : j.distanceSlr) || "0.0"), 3),
|
|
7525
7525
|
t("td", {
|
|
7526
|
-
class: A(l.computedClass(
|
|
7527
|
-
}, e(
|
|
7526
|
+
class: A(l.computedClass(m, D, !0, !0))
|
|
7527
|
+
}, e(m.abbreviation === "A" || m.abbreviation === "B" ? "" : (Q = m.cp) == null ? void 0 : Q.fo), 3),
|
|
7528
7528
|
t("td", {
|
|
7529
|
-
class: A(l.computedClass(
|
|
7530
|
-
}, e(
|
|
7529
|
+
class: A(l.computedClass(m, D, !0, !0))
|
|
7530
|
+
}, e(m.abbreviation === "A" || m.abbreviation === "B" ? "" : (V = m.cp) == null ? void 0 : V.dgo), 3),
|
|
7531
7531
|
t("td", {
|
|
7532
|
-
class: A(l.computedClass(
|
|
7533
|
-
}, e(
|
|
7532
|
+
class: A(l.computedClass(m, D))
|
|
7533
|
+
}, e(m.abbreviation === "A" ? "" : ((st = m.noon) == null ? void 0 : st.foCons) || "0.00"), 3),
|
|
7534
7534
|
t("td", {
|
|
7535
|
-
class: A(l.computedClass(
|
|
7536
|
-
}, e(
|
|
7535
|
+
class: A(l.computedClass(m, D))
|
|
7536
|
+
}, e(m.abbreviation === "A" ? "" : ((ot = m.noon) == null ? void 0 : ot.dgoCons) || "0.00"), 3),
|
|
7537
7537
|
t("td", {
|
|
7538
|
-
class: A(l.computedClass(
|
|
7539
|
-
}, e(
|
|
7538
|
+
class: A(l.computedClass(m, D))
|
|
7539
|
+
}, e(m.abbreviation === "A" ? "" : (at = m.noon) == null ? void 0 : at.foBrob), 3),
|
|
7540
7540
|
t("td", {
|
|
7541
|
-
class: A(l.computedClass(
|
|
7542
|
-
}, e(
|
|
7541
|
+
class: A(l.computedClass(m, D))
|
|
7542
|
+
}, e(m.abbreviation === "A" ? "" : (lt = m.noon) == null ? void 0 : lt.dgoBrob), 3)
|
|
7543
7543
|
]);
|
|
7544
7544
|
}), 128))
|
|
7545
7545
|
])
|
|
@@ -7636,7 +7636,7 @@ const E7 = {
|
|
|
7636
7636
|
computed: {
|
|
7637
7637
|
computeUTCTime() {
|
|
7638
7638
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
7639
|
-
return `${
|
|
7639
|
+
return `${H(s).utc().format(a)}`;
|
|
7640
7640
|
};
|
|
7641
7641
|
},
|
|
7642
7642
|
computeWeatherDef() {
|
|
@@ -7690,7 +7690,7 @@ const E7 = {
|
|
|
7690
7690
|
const i = o.excluded;
|
|
7691
7691
|
i.sumDistance > 0 && i.detail.forEach((l) => {
|
|
7692
7692
|
const f = {
|
|
7693
|
-
time:
|
|
7693
|
+
time: H(l.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + H(l.end).utc().format("MMM-DD/HHmm[Z]"),
|
|
7694
7694
|
duration: l.duration,
|
|
7695
7695
|
distance: l.distance,
|
|
7696
7696
|
fo: l.foCons,
|
|
@@ -8128,8 +8128,8 @@ const E7 = {
|
|
|
8128
8128
|
class: "formula-conclusion"
|
|
8129
8129
|
};
|
|
8130
8130
|
function KP(s, a, o, u, i, l) {
|
|
8131
|
-
var O, P,
|
|
8132
|
-
const f = it("Lat"), r = it("Lng"),
|
|
8131
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et;
|
|
8132
|
+
const f = it("Lat"), r = it("Lng"), y = it("Editor");
|
|
8133
8133
|
return d(), c("div", P7, [
|
|
8134
8134
|
t("div", F7, [
|
|
8135
8135
|
t("div", W7, [
|
|
@@ -8139,7 +8139,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8139
8139
|
]),
|
|
8140
8140
|
t("div", M7, [
|
|
8141
8141
|
G7,
|
|
8142
|
-
t("span", I7, e((P = (O = o.report) == null ? void 0 : O.vessel) == null ? void 0 : P.name) + " (" + e((
|
|
8142
|
+
t("span", I7, e((P = (O = o.report) == null ? void 0 : O.vessel) == null ? void 0 : P.name) + " (" + e((D = (m = o.report) == null ? void 0 : m.vessel) == null ? void 0 : D.type) + ")", 1)
|
|
8143
8143
|
]),
|
|
8144
8144
|
t("div", R7, [
|
|
8145
8145
|
N7,
|
|
@@ -8149,9 +8149,9 @@ function KP(s, a, o, u, i, l) {
|
|
|
8149
8149
|
t("div", Y7, [
|
|
8150
8150
|
t("div", Z7, [
|
|
8151
8151
|
V7,
|
|
8152
|
-
(F = (E = o.report) == null ? void 0 : E.departure) != null && F.portName ? (d(), c("span", z7, e((
|
|
8152
|
+
(F = (E = o.report) == null ? void 0 : E.departure) != null && F.portName ? (d(), c("span", z7, e((U = (G = o.report) == null ? void 0 : G.departure) == null ? void 0 : U.portName), 1)) : (d(), c("div", Q7, [
|
|
8153
8153
|
L(f, {
|
|
8154
|
-
lat: (
|
|
8154
|
+
lat: (I = (Y = o.report) == null ? void 0 : Y.departure) == null ? void 0 : I.lat,
|
|
8155
8155
|
label: "",
|
|
8156
8156
|
style: { "font-size": "14px", "font-weight": "400" }
|
|
8157
8157
|
}, null, 8, ["lat"]),
|
|
@@ -8162,7 +8162,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8162
8162
|
style: { "font-size": "14px", "font-weight": "400" }
|
|
8163
8163
|
}, null, 8, ["lng"])
|
|
8164
8164
|
])),
|
|
8165
|
-
t("span", K7, e(l.computeUTCTime((
|
|
8165
|
+
t("span", K7, e(l.computeUTCTime((N = o.report.departure) == null ? void 0 : N.utcTime, "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
8166
8166
|
]),
|
|
8167
8167
|
t("div", X7, [
|
|
8168
8168
|
q7,
|
|
@@ -8195,15 +8195,15 @@ function KP(s, a, o, u, i, l) {
|
|
|
8195
8195
|
]),
|
|
8196
8196
|
t("div", c9, [
|
|
8197
8197
|
r9,
|
|
8198
|
-
(d(!0), c(
|
|
8199
|
-
var h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt,
|
|
8198
|
+
(d(!0), c(M, null, rt((g = o.report) == null ? void 0 : g.segments, (n, nt) => {
|
|
8199
|
+
var h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b;
|
|
8200
8200
|
return d(), c("div", {
|
|
8201
8201
|
class: "segment-box flex-space",
|
|
8202
8202
|
key: "summary" + nt
|
|
8203
8203
|
}, [
|
|
8204
8204
|
t("div", u9, [
|
|
8205
8205
|
t("div", h9, "Seg." + e(nt + 1), 1),
|
|
8206
|
-
(d(!0), c(
|
|
8206
|
+
(d(!0), c(M, null, rt((h = n == null ? void 0 : n.extend) == null ? void 0 : h.segTimes, (tt, St) => {
|
|
8207
8207
|
var It, Qt, xt, ae, de, ce, pe, fe, me, ye;
|
|
8208
8208
|
return d(), c("div", {
|
|
8209
8209
|
class: "phase-row flex-space",
|
|
@@ -8297,7 +8297,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8297
8297
|
n.goodWx.distance ? (d(), c("div", d6, [
|
|
8298
8298
|
((kt = (Ut = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Ut.fo) == null ? void 0 : kt.conclusionStatus) === "Saving" ? (d(), c("div", c6, [
|
|
8299
8299
|
r6,
|
|
8300
|
-
t("span", u6, e((wt = (
|
|
8300
|
+
t("span", u6, e((wt = (R = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : R.fo) == null ? void 0 : wt.saving), 1),
|
|
8301
8301
|
h6
|
|
8302
8302
|
])) : ((Zt = (Yt = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Yt.fo) == null ? void 0 : Zt.conclusionStatus) === "Over" ? (d(), c("div", v6, [
|
|
8303
8303
|
_6,
|
|
@@ -8322,7 +8322,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8322
8322
|
P6
|
|
8323
8323
|
])) : (($t = (jt = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : jt.dgo) == null ? void 0 : $t.conclusionStatus) === "Over" ? (d(), c("div", F6, [
|
|
8324
8324
|
W6,
|
|
8325
|
-
t("span", B6, e((
|
|
8325
|
+
t("span", B6, e((b = (te = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : te.dgo) == null ? void 0 : b.overCons), 1),
|
|
8326
8326
|
L6
|
|
8327
8327
|
])) : (d(), c("div", H6, "N/A"))
|
|
8328
8328
|
])) : x("", !0)
|
|
@@ -8344,7 +8344,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8344
8344
|
t("table", Y6, [
|
|
8345
8345
|
Z6,
|
|
8346
8346
|
t("tbody", null, [
|
|
8347
|
-
(d(!0), c(
|
|
8347
|
+
(d(!0), c(M, null, rt(i.exclusion, (n, nt) => (d(), c("tr", { key: nt }, [
|
|
8348
8348
|
t("td", null, e(nt + 1), 1),
|
|
8349
8349
|
t("td", null, e(n.time), 1),
|
|
8350
8350
|
t("td", null, e(n.duration), 1),
|
|
@@ -8359,7 +8359,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8359
8359
|
t("div", {
|
|
8360
8360
|
class: A(l.computeBlankHtml((et = o.report) == null ? void 0 : et.remarks) ? "remark-block print-hidden" : "remark-block page-avoid")
|
|
8361
8361
|
}, [
|
|
8362
|
-
i.editable ? (d(), re(
|
|
8362
|
+
i.editable ? (d(), re(y, {
|
|
8363
8363
|
key: 0,
|
|
8364
8364
|
modelValue: i.remarks,
|
|
8365
8365
|
"onUpdate:modelValue": a[0] || (a[0] = (n) => i.remarks = n),
|
|
@@ -8376,14 +8376,14 @@ function KP(s, a, o, u, i, l) {
|
|
|
8376
8376
|
], 2),
|
|
8377
8377
|
t("div", z6, [
|
|
8378
8378
|
Q6,
|
|
8379
|
-
(d(!0), c(
|
|
8380
|
-
var h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt,
|
|
8379
|
+
(d(!0), c(M, null, rt(o.report.segments, (n, nt) => {
|
|
8380
|
+
var h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je, Ss, Os, Es, Ps, Fs, J, ue, Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds, Ws, Bs, Ls, Hs, Ms, Gs, Is, Rs, Ns, Us, Ys, Zs, Vs, zs, Qs, Js, Ks, Xs, qs, js, $s, to, oo, io, lo, ao, no, co, ro, uo, ho, vo, _o, po, fo, mo, yo, bo, xo, Co, go, Do, Ao, wo, ko, So, To, Oo, Je, Fo, Ho, Mo, Go, Io, Ro, No, Uo, Yo, Zo, Vo, zo, Qo, Jo, Ko, Xo, qo, jo, $o, ti, ei, si, oi, ii, li, ai, ni, di, ci, ri, ui, hi, vi, _i, pi, fi, mi, yi, bi, xi, Ci, gi, Di, Ai, wi, ki, Si, Ti, Oi, Ei, Pi, Fi, Wi, Bi, Li, Hi, Mi, Gi, Ii, Ri, Ni, Ui, Yi, Zi, Vi, zi, Qi, Ji, Ki, Xi, qi, ji, $i, tl, el, sl, ol, il, ll, al, vt, As, nl, dl, cl, _t, ws, rl, ul, hl, Ce, bl, xl, Cl, gl, Ke, Sl, Tl, Ol, El, Pl, Fl, Wl, Bl, Ll, Hl, Ml, Gl, Il, Rl, Nl, Ul, Yl, Zl, Vl, zl, Ql, Jl, Kl, Xl, ql, jl, $l, ta, ea, sa, oa, ia, la, aa, na, da, ca, ra, ua, ha, va, _a, pa, fa, ma, ya, ba, xa, Ca, ga, Da, Aa, wa, ka, Sa, Ta, Oa;
|
|
8381
8381
|
return d(), c("div", {
|
|
8382
8382
|
key: nt,
|
|
8383
8383
|
class: "segment-block"
|
|
8384
8384
|
}, [
|
|
8385
8385
|
t("div", J6, "Voyage Analysis Seg. " + e(nt + 1), 1),
|
|
8386
|
-
(d(!0), c(
|
|
8386
|
+
(d(!0), c(M, null, rt((h = n == null ? void 0 : n.extend) == null ? void 0 : h.segTimes, (ne, Ka) => {
|
|
8387
8387
|
var Ea, Pa, Fa, Wa, Ba, La, Ha, Ma, Ga, Ia;
|
|
8388
8388
|
return d(), c("div", {
|
|
8389
8389
|
class: "segment-row flex-space",
|
|
@@ -8424,7 +8424,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8424
8424
|
t("td", vk, e(((Lt = (Bt = n == null ? void 0 : n.goodWx) == null ? void 0 : Bt.outEca) == null ? void 0 : Lt.avgSpd) || "--"), 1),
|
|
8425
8425
|
t("td", _k, e(((Nt = (Ht = n == null ? void 0 : n.goodWx) == null ? void 0 : Ht.inEca) == null ? void 0 : Nt.avgSpd) || "--"), 1),
|
|
8426
8426
|
t("td", null, e(((kt = (Ut = n == null ? void 0 : n.allWx) == null ? void 0 : Ut.outEca) == null ? void 0 : kt.avgSpd) || "--"), 1),
|
|
8427
|
-
t("td", null, e(((wt = (
|
|
8427
|
+
t("td", null, e(((wt = (R = n == null ? void 0 : n.allWx) == null ? void 0 : R.inEca) == null ? void 0 : wt.avgSpd) || "--"), 1)
|
|
8428
8428
|
]),
|
|
8429
8429
|
t("tr", null, [
|
|
8430
8430
|
pk,
|
|
@@ -8438,7 +8438,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8438
8438
|
t("td", bk, e(((Kt = (Rt = n == null ? void 0 : n.goodWx) == null ? void 0 : Rt.outEca) == null ? void 0 : Kt.avgFoCons) || "--"), 1),
|
|
8439
8439
|
t("td", xk, e(((qt = (Xt = n == null ? void 0 : n.goodWx) == null ? void 0 : Xt.inEca) == null ? void 0 : qt.avgFoCons) || "--"), 1),
|
|
8440
8440
|
t("td", null, e((($t = (jt = n == null ? void 0 : n.allWx) == null ? void 0 : jt.outEca) == null ? void 0 : $t.avgFoCons) || "--"), 1),
|
|
8441
|
-
t("td", null, e(((
|
|
8441
|
+
t("td", null, e(((b = (te = n == null ? void 0 : n.allWx) == null ? void 0 : te.inEca) == null ? void 0 : b.avgFoCons) || "--"), 1)
|
|
8442
8442
|
]),
|
|
8443
8443
|
t("tr", null, [
|
|
8444
8444
|
Ck,
|
|
@@ -8461,7 +8461,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8461
8461
|
t("div", Ok, [
|
|
8462
8462
|
Ek,
|
|
8463
8463
|
t("div", Pk, [
|
|
8464
|
-
(Fe = (Pe = o.report) == null ? void 0 : Pe.weather) != null && Fe.favorableCur && ((We = n == null ? void 0 : n.goodWx) == null ? void 0 : We.avgCf) > 0 ? (d(), c("span", Lk, e((Ie = n == null ? void 0 : n.goodWx) == null ? void 0 : Ie.pfmSpd) + " (kts)", 1)) : (d(), c(
|
|
8464
|
+
(Fe = (Pe = o.report) == null ? void 0 : Pe.weather) != null && Fe.favorableCur && ((We = n == null ? void 0 : n.goodWx) == null ? void 0 : We.avgCf) > 0 ? (d(), c("span", Lk, e((Ie = n == null ? void 0 : n.goodWx) == null ? void 0 : Ie.pfmSpd) + " (kts)", 1)) : (d(), c(M, { key: 0 }, [
|
|
8465
8465
|
t("span", null, e((Be = n == null ? void 0 : n.goodWx) == null ? void 0 : Be.avgSpd), 1),
|
|
8466
8466
|
Fk,
|
|
8467
8467
|
t("span", null, e(((Le = n == null ? void 0 : n.goodWx) == null ? void 0 : Le.avgCf) > 0 ? (He = n == null ? void 0 : n.goodWx) == null ? void 0 : He.avgCf : `(${(Me = n == null ? void 0 : n.goodWx) == null ? void 0 : Me.avgCf})`), 1),
|
|
@@ -8475,10 +8475,10 @@ function KP(s, a, o, u, i, l) {
|
|
|
8475
8475
|
t("div", Gk, [
|
|
8476
8476
|
Ik,
|
|
8477
8477
|
t("div", Rk, [
|
|
8478
|
-
(Ye = (Ue = o.report) == null ? void 0 : Ue.weather) != null && Ye.favorableCur && ((Ze = n == null ? void 0 : n.goodWx) == null ? void 0 : Ze.avgCf) > 0 ? (d(), c(
|
|
8478
|
+
(Ye = (Ue = o.report) == null ? void 0 : Ue.weather) != null && Ye.favorableCur && ((Ze = n == null ? void 0 : n.goodWx) == null ? void 0 : Ze.avgCf) > 0 ? (d(), c(M, { key: 1 }, [
|
|
8479
8479
|
Zk,
|
|
8480
8480
|
Vk
|
|
8481
|
-
], 64)) : (d(), c(
|
|
8481
|
+
], 64)) : (d(), c(M, { key: 0 }, [
|
|
8482
8482
|
Nk,
|
|
8483
8483
|
Uk,
|
|
8484
8484
|
Yk
|
|
@@ -8489,13 +8489,13 @@ function KP(s, a, o, u, i, l) {
|
|
|
8489
8489
|
t("div", Qk, [
|
|
8490
8490
|
Jk,
|
|
8491
8491
|
t("div", Kk, [
|
|
8492
|
-
(Ss = (je = o.report) == null ? void 0 : je.weather) != null && Ss.favorableCur && ((Os = n == null ? void 0 : n.allWx) == null ? void 0 : Os.avgCf) > 0 ? (d(), c(
|
|
8492
|
+
(Ss = (je = o.report) == null ? void 0 : je.weather) != null && Ss.favorableCur && ((Os = n == null ? void 0 : n.allWx) == null ? void 0 : Os.avgCf) > 0 ? (d(), c(M, { key: 1 }, [
|
|
8493
8493
|
t("span", null, e((ts = n == null ? void 0 : n.allWx) == null ? void 0 : ts.avgSpd), 1),
|
|
8494
8494
|
tS,
|
|
8495
8495
|
t("span", null, e(((es = n == null ? void 0 : n.allWx) == null ? void 0 : es.avgWf) > 0 ? (ss = n == null ? void 0 : n.allWx) == null ? void 0 : ss.avgWf : `(${(os = n == null ? void 0 : n.allWx) == null ? void 0 : os.avgWf})`), 1),
|
|
8496
8496
|
eS,
|
|
8497
8497
|
t("span", sS, e((is = n == null ? void 0 : n.allWx) == null ? void 0 : is.pfmSpd) + " (kts)", 1)
|
|
8498
|
-
], 64)) : (d(), c(
|
|
8498
|
+
], 64)) : (d(), c(M, { key: 0 }, [
|
|
8499
8499
|
t("span", null, e((Es = n == null ? void 0 : n.allWx) == null ? void 0 : Es.avgSpd), 1),
|
|
8500
8500
|
Xk,
|
|
8501
8501
|
t("span", null, e(((Ps = n == null ? void 0 : n.allWx) == null ? void 0 : Ps.avgCf) > 0 ? (Fs = n == null ? void 0 : n.allWx) == null ? void 0 : Fs.avgCf : `(${(J = n == null ? void 0 : n.allWx) == null ? void 0 : J.avgCf})`), 1),
|
|
@@ -8511,12 +8511,12 @@ function KP(s, a, o, u, i, l) {
|
|
|
8511
8511
|
t("div", lS, [
|
|
8512
8512
|
aS,
|
|
8513
8513
|
t("div", nS, [
|
|
8514
|
-
(ds = (ns = o.report) == null ? void 0 : ns.weather) != null && ds.favorableCur && ((cs = n == null ? void 0 : n.allWx) == null ? void 0 : cs.avgCf) > 0 ? (d(), c(
|
|
8514
|
+
(ds = (ns = o.report) == null ? void 0 : ns.weather) != null && ds.favorableCur && ((cs = n == null ? void 0 : n.allWx) == null ? void 0 : cs.avgCf) > 0 ? (d(), c(M, { key: 1 }, [
|
|
8515
8515
|
vS,
|
|
8516
8516
|
_S,
|
|
8517
8517
|
pS,
|
|
8518
8518
|
fS
|
|
8519
|
-
], 64)) : (d(), c(
|
|
8519
|
+
], 64)) : (d(), c(M, { key: 0 }, [
|
|
8520
8520
|
dS,
|
|
8521
8521
|
cS,
|
|
8522
8522
|
rS,
|
|
@@ -8722,7 +8722,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8722
8722
|
])
|
|
8723
8723
|
]),
|
|
8724
8724
|
CO,
|
|
8725
|
-
((Vo = (Zo = n.extend) == null ? void 0 : Zo.cp) == null ? void 0 : Vo.dgo) > 0 ? (d(), c(
|
|
8725
|
+
((Vo = (Zo = n.extend) == null ? void 0 : Zo.cp) == null ? void 0 : Vo.dgo) > 0 ? (d(), c(M, { key: 0 }, [
|
|
8726
8726
|
t("div", gO, [
|
|
8727
8727
|
DO,
|
|
8728
8728
|
t("div", AO, [
|
|
@@ -8815,7 +8815,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8815
8815
|
])
|
|
8816
8816
|
]),
|
|
8817
8817
|
t("div", bE, [
|
|
8818
|
-
((Oi = (Ti = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Ti.fo) == null ? void 0 : Oi.conclusionStatus) === "Over" ? (d(), c(
|
|
8818
|
+
((Oi = (Ti = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Ti.fo) == null ? void 0 : Oi.conclusionStatus) === "Over" ? (d(), c(M, { key: 0 }, [
|
|
8819
8819
|
t("div", xE, [
|
|
8820
8820
|
CE,
|
|
8821
8821
|
gE,
|
|
@@ -8838,7 +8838,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8838
8838
|
FE,
|
|
8839
8839
|
t("div", null, e((Qi = (zi = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : zi.fo) == null ? void 0 : Qi.foOverConsInEca) + " (mt)", 1)
|
|
8840
8840
|
])) : x("", !0)
|
|
8841
|
-
], 64)) : ((Ki = (Ji = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Ji.fo) == null ? void 0 : Ki.conclusionStatus) === "Saving" ? (d(), c(
|
|
8841
|
+
], 64)) : ((Ki = (Ji = n == null ? void 0 : n.fuelConclusion) == null ? void 0 : Ji.fo) == null ? void 0 : Ki.conclusionStatus) === "Saving" ? (d(), c(M, { key: 1 }, [
|
|
8842
8842
|
t("div", WE, [
|
|
8843
8843
|
BE,
|
|
8844
8844
|
LE,
|
|
@@ -8870,7 +8870,7 @@ function KP(s, a, o, u, i, l) {
|
|
|
8870
8870
|
], 2)
|
|
8871
8871
|
])
|
|
8872
8872
|
])) : (d(), c("div", QE, e(i.noGoodWxDay), 1)),
|
|
8873
|
-
((Ol = (Tl = n == null ? void 0 : n.extend) == null ? void 0 : Tl.cp) == null ? void 0 : Ol.dgo) > 0 ? (d(), c(
|
|
8873
|
+
((Ol = (Tl = n == null ? void 0 : n.extend) == null ? void 0 : Tl.cp) == null ? void 0 : Ol.dgo) > 0 ? (d(), c(M, { key: 2 }, [
|
|
8874
8874
|
t("div", JE, [
|
|
8875
8875
|
KE,
|
|
8876
8876
|
t("div", XE, "Seg. " + e(nt + 1) + " Diesel/Gas Oil ", 1)
|
|
@@ -9015,7 +9015,7 @@ const qP = {
|
|
|
9015
9015
|
},
|
|
9016
9016
|
computeUTCTime() {
|
|
9017
9017
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
9018
|
-
return `${
|
|
9018
|
+
return `${H(s).utc().format(a)}`;
|
|
9019
9019
|
};
|
|
9020
9020
|
},
|
|
9021
9021
|
computeLng() {
|
|
@@ -9046,8 +9046,8 @@ const qP = {
|
|
|
9046
9046
|
},
|
|
9047
9047
|
methods: {
|
|
9048
9048
|
prepare() {
|
|
9049
|
-
var s, a, o, u, i, l, f, r,
|
|
9050
|
-
this.showCF = ((a = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((u = (o = this.report) == null ? void 0 : o.weather) == null ? void 0 : u.showAisDistance) ?? !0, this.showSig = ((l = (i = this.report) == null ? void 0 : i.weather) == null ? void 0 : l.showSig) ?? !0, this.showSwell = ((r = (f = this.report) == null ? void 0 : f.weather) == null ? void 0 : r.showSwell) ?? !0, this.showWave = ((O = (
|
|
9049
|
+
var s, a, o, u, i, l, f, r, y, O;
|
|
9050
|
+
this.showCF = ((a = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((u = (o = this.report) == null ? void 0 : o.weather) == null ? void 0 : u.showAisDistance) ?? !0, this.showSig = ((l = (i = this.report) == null ? void 0 : i.weather) == null ? void 0 : l.showSig) ?? !0, this.showSwell = ((r = (f = this.report) == null ? void 0 : f.weather) == null ? void 0 : r.showSwell) ?? !0, this.showWave = ((O = (y = this.report) == null ? void 0 : y.weather) == null ? void 0 : O.showWave) ?? !0;
|
|
9051
9051
|
}
|
|
9052
9052
|
}
|
|
9053
9053
|
}, Ot = (s) => (he("data-v-ff8e42f6"), s = s(), ve(), s), jP = { class: "report-inventory" }, $P = { class: "section summary-section" }, tF = /* @__PURE__ */ Ot(() => /* @__PURE__ */ t("div", { class: "header-block flex-center" }, [
|
|
@@ -9238,16 +9238,16 @@ function cW(s, a, o, u, i, l) {
|
|
|
9238
9238
|
t("table", null, [
|
|
9239
9239
|
sF,
|
|
9240
9240
|
t("tbody", null, [
|
|
9241
|
-
(d(!0), c(
|
|
9242
|
-
var O, P,
|
|
9243
|
-
return d(), c(
|
|
9241
|
+
(d(!0), c(M, null, rt((f = o.report) == null ? void 0 : f.segments, (r, y) => {
|
|
9242
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j;
|
|
9243
|
+
return d(), c(M, { key: y }, [
|
|
9244
9244
|
t("tr", null, [
|
|
9245
|
-
t("td", oF, e(
|
|
9245
|
+
t("td", oF, e(y + 1), 1),
|
|
9246
9246
|
iF,
|
|
9247
9247
|
t("td", null, e(l.computePrecision((O = r == null ? void 0 : r.allWx) == null ? void 0 : O.distance, 1, "0.0")), 1),
|
|
9248
9248
|
t("td", null, e(l.computePrecision((P = r == null ? void 0 : r.allWx) == null ? void 0 : P.time, 1, "0.0")), 1),
|
|
9249
|
-
t("td", null, e(l.computePrecision((
|
|
9250
|
-
t("td", null, e(l.computePrecision((
|
|
9249
|
+
t("td", null, e(l.computePrecision((m = r == null ? void 0 : r.allWx) == null ? void 0 : m.avgSpd, 2, "0.0")), 1),
|
|
9250
|
+
t("td", null, e(l.computePrecision((D = r == null ? void 0 : r.allWx) == null ? void 0 : D.sumFoCons, 3, "0.000")), 1),
|
|
9251
9251
|
t("td", null, e(l.computePrecision((S = r == null ? void 0 : r.allWx) == null ? void 0 : S.sumDgoCons, 3, "0.000")), 1)
|
|
9252
9252
|
]),
|
|
9253
9253
|
t("tr", null, [
|
|
@@ -9256,14 +9256,14 @@ function cW(s, a, o, u, i, l) {
|
|
|
9256
9256
|
t("td", null, e(l.computePrecision((E = r == null ? void 0 : r.goodWx) == null ? void 0 : E.time, 1, "0.0")), 1),
|
|
9257
9257
|
t("td", null, e(l.computePrecision((F = r == null ? void 0 : r.goodWx) == null ? void 0 : F.avgSpd, 2, "0.0")), 1),
|
|
9258
9258
|
t("td", null, e(l.computePrecision((G = r == null ? void 0 : r.goodWx) == null ? void 0 : G.sumFoCons, 3, "0.000")), 1),
|
|
9259
|
-
t("td", null, e(l.computePrecision((
|
|
9259
|
+
t("td", null, e(l.computePrecision((U = r == null ? void 0 : r.goodWx) == null ? void 0 : U.sumDgoCons, 3, "0.000")), 1)
|
|
9260
9260
|
]),
|
|
9261
9261
|
t("tr", null, [
|
|
9262
9262
|
aF,
|
|
9263
|
-
t("td", null, e(l.computePrecision((
|
|
9264
|
-
t("td", null, e(l.computePrecision((
|
|
9263
|
+
t("td", null, e(l.computePrecision((Y = r == null ? void 0 : r.badWx) == null ? void 0 : Y.distance, 1, "0.0")), 1),
|
|
9264
|
+
t("td", null, e(l.computePrecision((I = r == null ? void 0 : r.badWx) == null ? void 0 : I.time, 1, "0.0")), 1),
|
|
9265
9265
|
t("td", null, e(l.computePrecision((T = r == null ? void 0 : r.badWx) == null ? void 0 : T.avgSpd, 2, "0.0")), 1),
|
|
9266
|
-
t("td", null, e(l.computePrecision((
|
|
9266
|
+
t("td", null, e(l.computePrecision((N = r == null ? void 0 : r.badWx) == null ? void 0 : N.sumFoCons, 3, "0.000")), 1),
|
|
9267
9267
|
t("td", null, e(l.computePrecision((K = r == null ? void 0 : r.badWx) == null ? void 0 : K.sumDgoCons, 3, "0.000")), 1)
|
|
9268
9268
|
]),
|
|
9269
9269
|
t("tr", null, [
|
|
@@ -9358,9 +9358,9 @@ function cW(s, a, o, u, i, l) {
|
|
|
9358
9358
|
])
|
|
9359
9359
|
]),
|
|
9360
9360
|
t("tbody", dW, [
|
|
9361
|
-
(d(!0), c(
|
|
9362
|
-
var O, P,
|
|
9363
|
-
return d(), c("tr", { key:
|
|
9361
|
+
(d(!0), c(M, null, rt(o.inventory, (r, y) => {
|
|
9362
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st;
|
|
9363
|
+
return d(), c("tr", { key: y }, [
|
|
9364
9364
|
t("td", {
|
|
9365
9365
|
class: A(r.segLength ? "no-border-bottom" : "no-border")
|
|
9366
9366
|
}, e(r.segLength ? r.seg : ""), 3),
|
|
@@ -9371,7 +9371,7 @@ function cW(s, a, o, u, i, l) {
|
|
|
9371
9371
|
key: 0,
|
|
9372
9372
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : ""),
|
|
9373
9373
|
colspan: "2"
|
|
9374
|
-
}, e((P = r.noon) == null ? void 0 : P.port), 3)) : (d(), c(
|
|
9374
|
+
}, e((P = r.noon) == null ? void 0 : P.port), 3)) : (d(), c(M, { key: 1 }, [
|
|
9375
9375
|
t("td", {
|
|
9376
9376
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
9377
9377
|
}, e(r._lat.pretty), 3),
|
|
@@ -9381,22 +9381,22 @@ function cW(s, a, o, u, i, l) {
|
|
|
9381
9381
|
], 64)),
|
|
9382
9382
|
t("td", {
|
|
9383
9383
|
class: A(l.computeTDClass(r))
|
|
9384
|
-
}, e(r.type !== "A" &&
|
|
9384
|
+
}, e(r.type !== "A" && y ? r.cp.speed : ""), 3),
|
|
9385
9385
|
t("td", {
|
|
9386
9386
|
class: A(l.computeTDClass(r))
|
|
9387
|
-
}, e(r.type !== "A" &&
|
|
9387
|
+
}, e(r.type !== "A" && y ? r.cp.fo : ""), 3),
|
|
9388
9388
|
t("td", {
|
|
9389
9389
|
class: A(l.computeTDClass(r))
|
|
9390
|
-
}, e(r.type !== "A" &&
|
|
9390
|
+
}, e(r.type !== "A" && y ? r.cp.dgo : ""), 3),
|
|
9391
9391
|
t("td", {
|
|
9392
9392
|
class: A(l.computeTDClass(r))
|
|
9393
|
-
}, e(r.type !== "A" &&
|
|
9393
|
+
}, e(r.type !== "A" && y ? r.avgSpdCalc : ""), 3),
|
|
9394
9394
|
t("td", {
|
|
9395
9395
|
class: A(l.computeTDClass(r))
|
|
9396
|
-
}, e(r.type !== "A" &&
|
|
9396
|
+
}, e(r.type !== "A" && y ? r.distanceCalc : ""), 3),
|
|
9397
9397
|
t("td", {
|
|
9398
9398
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
9399
|
-
}, e(((
|
|
9399
|
+
}, e(((D = (m = r.meteo) == null ? void 0 : m.wind) == null ? void 0 : D.direction) ?? "--"), 3),
|
|
9400
9400
|
t("td", {
|
|
9401
9401
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
9402
9402
|
}, e(((v = (S = r.meteo) == null ? void 0 : S.wind) == null ? void 0 : v.scale) ?? "--"), 3),
|
|
@@ -9407,11 +9407,11 @@ function cW(s, a, o, u, i, l) {
|
|
|
9407
9407
|
i.showSwell ? (d(), c("td", {
|
|
9408
9408
|
key: 3,
|
|
9409
9409
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
9410
|
-
}, e(((
|
|
9410
|
+
}, e(((I = (Y = (U = r.meteo) == null ? void 0 : U.wave) == null ? void 0 : Y.swell) == null ? void 0 : I.direction) ?? "--"), 3)) : x("", !0),
|
|
9411
9411
|
i.showSwell ? (d(), c("td", {
|
|
9412
9412
|
key: 4,
|
|
9413
9413
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
9414
|
-
}, e(((K = (
|
|
9414
|
+
}, e(((K = (N = (T = r.meteo) == null ? void 0 : T.wave) == null ? void 0 : N.swell) == null ? void 0 : K.height) ?? "--"), 3)) : x("", !0),
|
|
9415
9415
|
i.showSig ? (d(), c("td", {
|
|
9416
9416
|
key: 5,
|
|
9417
9417
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
@@ -9426,7 +9426,7 @@ function cW(s, a, o, u, i, l) {
|
|
|
9426
9426
|
}, e(((Q = r.meteo) == null ? void 0 : Q.cFactor) ?? "--"), 3)) : x("", !0),
|
|
9427
9427
|
t("td", {
|
|
9428
9428
|
class: A(l.computeTDClass(r))
|
|
9429
|
-
}, e(r.type !== "A" &&
|
|
9429
|
+
}, e(r.type !== "A" && y ? r.dailyAvgCf : ""), 3),
|
|
9430
9430
|
o.showFactor ? (d(), c("td", {
|
|
9431
9431
|
key: 8,
|
|
9432
9432
|
class: A(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
@@ -9437,43 +9437,43 @@ function cW(s, a, o, u, i, l) {
|
|
|
9437
9437
|
}, e(((st = r.meteo) == null ? void 0 : st.wxFactor) ?? "--"), 3)) : x("", !0),
|
|
9438
9438
|
t("td", {
|
|
9439
9439
|
class: A(l.computeTDClass(r))
|
|
9440
|
-
}, e(r.type !== "A" &&
|
|
9440
|
+
}, e(r.type !== "A" && y ? r.noon.avgSpd || "0.00" : ""), 3),
|
|
9441
9441
|
t("td", {
|
|
9442
9442
|
class: A(l.computeTDClass(r))
|
|
9443
|
-
}, e(r.type !== "A" &&
|
|
9443
|
+
}, e(r.type !== "A" && y ? r.noon.timeSlr || "0.0" : ""), 3),
|
|
9444
9444
|
t("td", {
|
|
9445
9445
|
class: A(l.computeTDClass(r))
|
|
9446
|
-
}, e(r.type !== "A" &&
|
|
9446
|
+
}, e(r.type !== "A" && y ? r.noon.distanceSlr || "0.0" : ""), 3),
|
|
9447
9447
|
t("td", {
|
|
9448
9448
|
class: A(l.computeTDClass(r))
|
|
9449
|
-
}, e(r.type !== "A" &&
|
|
9449
|
+
}, e(r.type !== "A" && y ? r.noon.rpm || "0" : ""), 3),
|
|
9450
9450
|
t("td", {
|
|
9451
9451
|
class: A(l.computeTDClass(r))
|
|
9452
|
-
}, e(r.type !== "A" &&
|
|
9452
|
+
}, e(r.type !== "A" && y ? r.noon.slip || "0" : ""), 3),
|
|
9453
9453
|
t("td", {
|
|
9454
9454
|
class: A(l.computeTDClass(r))
|
|
9455
|
-
}, e(r.type !== "A" &&
|
|
9455
|
+
}, e(r.type !== "A" && y ? r.noon.foBrob || "0.00" : ""), 3),
|
|
9456
9456
|
t("td", {
|
|
9457
9457
|
class: A(l.computeTDClass(r))
|
|
9458
|
-
}, e(r.type !== "A" &&
|
|
9458
|
+
}, e(r.type !== "A" && y ? r.noon.dgoBrob || "0.00" : ""), 3),
|
|
9459
9459
|
t("td", {
|
|
9460
9460
|
class: A(l.computeTDClass(r))
|
|
9461
|
-
}, e(r.type !== "A" &&
|
|
9461
|
+
}, e(r.type !== "A" && y ? r.noon.foCons || "0.00" : ""), 3),
|
|
9462
9462
|
t("td", {
|
|
9463
9463
|
class: A(l.computeTDClass(r))
|
|
9464
|
-
}, e(r.type !== "A" &&
|
|
9464
|
+
}, e(r.type !== "A" && y ? r.noon.dgoCons || "0.00" : ""), 3),
|
|
9465
9465
|
t("td", {
|
|
9466
9466
|
class: A(l.computeTDClass(r))
|
|
9467
|
-
}, e(r.type !== "A" &&
|
|
9467
|
+
}, e(r.type !== "A" && y ? r.noon.windDir || "--" : ""), 3),
|
|
9468
9468
|
t("td", {
|
|
9469
9469
|
class: A(l.computeTDClass(r))
|
|
9470
|
-
}, e(r.type !== "A" &&
|
|
9470
|
+
}, e(r.type !== "A" && y ? r.noon.windBF || "--" : ""), 3),
|
|
9471
9471
|
t("td", {
|
|
9472
9472
|
class: A(l.computeTDClass(r))
|
|
9473
|
-
}, e(r.type !== "A" &&
|
|
9473
|
+
}, e(r.type !== "A" && y ? r.noon.seasHt || "--" : ""), 3),
|
|
9474
9474
|
t("td", {
|
|
9475
9475
|
class: A(l.computeTDClass(r))
|
|
9476
|
-
}, e(r.type !== "A" &&
|
|
9476
|
+
}, e(r.type !== "A" && y ? r.inEca === !1 ? "" : "Inside ECA" : ""), 3)
|
|
9477
9477
|
]);
|
|
9478
9478
|
}), 128))
|
|
9479
9479
|
])
|
|
@@ -9506,7 +9506,7 @@ const uW = {
|
|
|
9506
9506
|
computed: {
|
|
9507
9507
|
computeUTCTime() {
|
|
9508
9508
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
9509
|
-
return `${
|
|
9509
|
+
return `${H(s).utc().format(a)}`;
|
|
9510
9510
|
};
|
|
9511
9511
|
}
|
|
9512
9512
|
},
|
|
@@ -9525,7 +9525,7 @@ const uW = {
|
|
|
9525
9525
|
this.spdFoConsChart || (this.spdFoConsChart = Eo(Po.init(this.$refs.spdFoConsChart))), this.spdDgoConsChart || (this.spdDgoConsChart = Eo(Po.init(this.$refs.spdDgoConsChart))), this.currChart || (this.currChart = Eo(Po.init(this.$refs.currChart))), this.renderSpdConsChart(), this.renderWxCurrChart();
|
|
9526
9526
|
},
|
|
9527
9527
|
renderSpdConsChart() {
|
|
9528
|
-
var r,
|
|
9528
|
+
var r, y, O, P, m, D;
|
|
9529
9529
|
const s = [], a = [], o = {
|
|
9530
9530
|
dateTime: 0,
|
|
9531
9531
|
noonAvgSpd: 1,
|
|
@@ -9540,10 +9540,10 @@ const uW = {
|
|
|
9540
9540
|
};
|
|
9541
9541
|
let u = 0, i = 0;
|
|
9542
9542
|
this.inventory.forEach((S) => {
|
|
9543
|
-
var v, E, F, G,
|
|
9543
|
+
var v, E, F, G, U, Y, I, T, N, K, $;
|
|
9544
9544
|
if (S.noonLength) {
|
|
9545
9545
|
const X = this.computeUTCTime(S.noonUtc, "MM-DD/HHmm[Z]");
|
|
9546
|
-
s.push(X), u = Math.ceil(((v = S.noon) == null ? void 0 : v.foCons) > u ? (E = S.noon) == null ? void 0 : E.foCons : u), u = Math.ceil(((F = S.cp) == null ? void 0 : F.fo) > u ? (G = S.cp) == null ? void 0 : G.fo : u), i = Math.ceil(((
|
|
9546
|
+
s.push(X), u = Math.ceil(((v = S.noon) == null ? void 0 : v.foCons) > u ? (E = S.noon) == null ? void 0 : E.foCons : u), u = Math.ceil(((F = S.cp) == null ? void 0 : F.fo) > u ? (G = S.cp) == null ? void 0 : G.fo : u), i = Math.ceil(((U = S.noon) == null ? void 0 : U.dgoCons) > i ? (Y = S.noon) == null ? void 0 : Y.dgoCons : i), i = Math.ceil(((I = S.cp) == null ? void 0 : I.dgo) > i ? (T = S.cp) == null ? void 0 : T.dgo : i), a.push([X, (N = S.noon) == null ? void 0 : N.avgSpd, (K = S.noon) == null ? void 0 : K.foCons, ($ = S.noon) == null ? void 0 : $.dgoCons, S.avgSpdCalc, S.cp.speed, S.goodWx && !S.excluded ? 100 : 0, S.cp.dgo, S.cp.fo, S.excluded ? 100 : 0]);
|
|
9547
9547
|
}
|
|
9548
9548
|
});
|
|
9549
9549
|
const l = {
|
|
@@ -9624,7 +9624,7 @@ const uW = {
|
|
|
9624
9624
|
showSymbol: !1,
|
|
9625
9625
|
encode: {
|
|
9626
9626
|
x: o.dateTime,
|
|
9627
|
-
y: (
|
|
9627
|
+
y: (y = (r = this.report) == null ? void 0 : r.weather) != null && y.believeRptDistance ? o.noonAvgSpd : o.anlyAvgSpd
|
|
9628
9628
|
},
|
|
9629
9629
|
lineStyle: {
|
|
9630
9630
|
color: "#f85c5c",
|
|
@@ -9795,7 +9795,7 @@ const uW = {
|
|
|
9795
9795
|
showSymbol: !1,
|
|
9796
9796
|
encode: {
|
|
9797
9797
|
x: o.dateTime,
|
|
9798
|
-
y: (
|
|
9798
|
+
y: (m = (P = this.report) == null ? void 0 : P.weather) != null && m.believeRptDistance ? o.noonAvgSpd : o.anlyAvgSpd
|
|
9799
9799
|
},
|
|
9800
9800
|
lineStyle: {
|
|
9801
9801
|
color: "#f85c5c",
|
|
@@ -9888,7 +9888,7 @@ const uW = {
|
|
|
9888
9888
|
}
|
|
9889
9889
|
]
|
|
9890
9890
|
};
|
|
9891
|
-
(
|
|
9891
|
+
(D = this.spdDgoConsChart) == null || D.setOption(f);
|
|
9892
9892
|
},
|
|
9893
9893
|
renderWxCurrChart() {
|
|
9894
9894
|
var f;
|
|
@@ -9905,11 +9905,11 @@ const uW = {
|
|
|
9905
9905
|
};
|
|
9906
9906
|
let u = 4, i = 0;
|
|
9907
9907
|
this.inventory.forEach((r) => {
|
|
9908
|
-
var
|
|
9908
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N;
|
|
9909
9909
|
if (r.noonLength) {
|
|
9910
9910
|
i = r.noonLength ? r.dailyAvgCf : i;
|
|
9911
9911
|
const K = this.computeUTCTime(r.noonUtc, "MM-DD/HHmm[Z]");
|
|
9912
|
-
s.push(K), u = Math.ceil(((P = (O = (
|
|
9912
|
+
s.push(K), u = Math.ceil(((P = (O = (y = r.meteo) == null ? void 0 : y.wave) == null ? void 0 : O.sig) == null ? void 0 : P.height) > u ? (S = (D = (m = r.meteo) == null ? void 0 : m.wave) == null ? void 0 : D.sig) == null ? void 0 : S.height : u), a.push([K, (v = r.noon) == null ? void 0 : v.windBF, (F = (E = r.meteo) == null ? void 0 : E.wind) == null ? void 0 : F.scale, (U = (G = r.meteo) == null ? void 0 : G.wind) == null ? void 0 : U.direction, (Y = r.noon) == null ? void 0 : Y.seasHt, (N = (T = (I = r.meteo) == null ? void 0 : I.wave) == null ? void 0 : T.sig) == null ? void 0 : N.height, i, r.goodWx && !r.excluded ? 20 : 0, r.excluded ? 20 : 0]);
|
|
9913
9913
|
}
|
|
9914
9914
|
});
|
|
9915
9915
|
const l = {
|
|
@@ -10113,7 +10113,7 @@ const uW = {
|
|
|
10113
10113
|
style: { flex: "1", "text-transform": "uppercase" }
|
|
10114
10114
|
}, KW = /* @__PURE__ */ ut('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>', 1), XW = ["src"], qW = /* @__PURE__ */ ut('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-dace21b5> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-dace21b5> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>', 1);
|
|
10115
10115
|
function jW(s, a, o, u, i, l) {
|
|
10116
|
-
var
|
|
10116
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt;
|
|
10117
10117
|
const f = it("Lat"), r = it("Lng");
|
|
10118
10118
|
return d(), c("div", hW, [
|
|
10119
10119
|
t("div", vW, [
|
|
@@ -10135,24 +10135,24 @@ function jW(s, a, o, u, i, l) {
|
|
|
10135
10135
|
]),
|
|
10136
10136
|
t("div", SW, [
|
|
10137
10137
|
TW,
|
|
10138
|
-
t("span", OW, e((O = (
|
|
10139
|
-
t("span", EW, "(" + e((
|
|
10138
|
+
t("span", OW, e((O = (y = o.report) == null ? void 0 : y.vessel) == null ? void 0 : O.name), 1),
|
|
10139
|
+
t("span", EW, "(" + e((m = (P = o.report) == null ? void 0 : P.vessel) == null ? void 0 : m.type) + ")", 1)
|
|
10140
10140
|
]),
|
|
10141
10141
|
t("div", PW, [
|
|
10142
10142
|
FW,
|
|
10143
|
-
t("span", WW, e((S = (
|
|
10143
|
+
t("span", WW, e((S = (D = o.report) == null ? void 0 : D.voyage) == null ? void 0 : S.number), 1)
|
|
10144
10144
|
]),
|
|
10145
10145
|
t("div", BW, [
|
|
10146
10146
|
LW,
|
|
10147
10147
|
(E = (v = o.report) == null ? void 0 : v.departure) != null && E.portName ? (d(), c("span", HW, e((G = (F = o.report) == null ? void 0 : F.departure) == null ? void 0 : G.portName), 1)) : (d(), c("div", MW, [
|
|
10148
10148
|
L(f, {
|
|
10149
|
-
lat: (
|
|
10149
|
+
lat: (Y = (U = o.report) == null ? void 0 : U.departure) == null ? void 0 : Y.lat,
|
|
10150
10150
|
label: "",
|
|
10151
10151
|
style: { "font-size": "14px", "font-weight": "400" }
|
|
10152
10152
|
}, null, 8, ["lat"]),
|
|
10153
10153
|
GW,
|
|
10154
10154
|
L(r, {
|
|
10155
|
-
lng: (
|
|
10155
|
+
lng: (I = o.report.departure) == null ? void 0 : I.lng,
|
|
10156
10156
|
label: "",
|
|
10157
10157
|
style: { "font-size": "14px", "font-weight": "400" }
|
|
10158
10158
|
}, null, 8, ["lng"])
|
|
@@ -10161,7 +10161,7 @@ function jW(s, a, o, u, i, l) {
|
|
|
10161
10161
|
]),
|
|
10162
10162
|
t("div", RW, [
|
|
10163
10163
|
NW,
|
|
10164
|
-
(K = (
|
|
10164
|
+
(K = (N = o.report) == null ? void 0 : N.arrival) != null && K.portName ? (d(), c("span", UW, e((X = ($ = o.report) == null ? void 0 : $.arrival) == null ? void 0 : X.portName), 1)) : (d(), c("div", YW, [
|
|
10165
10165
|
L(f, {
|
|
10166
10166
|
lat: (w = (Z = o.report) == null ? void 0 : Z.arrival) == null ? void 0 : w.lat,
|
|
10167
10167
|
label: "",
|
|
@@ -10210,7 +10210,7 @@ const tB = {
|
|
|
10210
10210
|
computed: {
|
|
10211
10211
|
computeUTCTime() {
|
|
10212
10212
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
10213
|
-
return `${
|
|
10213
|
+
return `${H(s).utc().format(a)}`;
|
|
10214
10214
|
};
|
|
10215
10215
|
}
|
|
10216
10216
|
},
|
|
@@ -10240,24 +10240,24 @@ const tB = {
|
|
|
10240
10240
|
(o = (a = this.report) == null ? void 0 : a.segments) == null || o.forEach((u) => {
|
|
10241
10241
|
const i = u.extend.cp;
|
|
10242
10242
|
let l, f, r = !1;
|
|
10243
|
-
u.inventory.sample.hours.forEach((
|
|
10244
|
-
l || (l =
|
|
10245
|
-
let P =
|
|
10246
|
-
["N", "E"].includes(P) && (r = !0, f.dailyAvgCf =
|
|
10243
|
+
u.inventory.sample.hours.forEach((y, O) => {
|
|
10244
|
+
l || (l = y), (!f || r) && (f = y, r = !1), l.segIndex === y.segIndex ? l.segLength = (l.segLength || 0) + 1 : (l = y, l.segLength = 1), f.noonLength = (f.noonLength || 0) + 1;
|
|
10245
|
+
let P = y.type.charAt(0);
|
|
10246
|
+
["N", "E"].includes(P) && (r = !0, f.dailyAvgCf = y.dailyAvgCf, f.avgSpdCalc = y.avgSpdCalc, f.distanceCalc = y.distanceCalc, f.noonUtc = y.utc, f.noon = y.noon), y.abbrev = P, P = P === "M" ? "*" : P === "A" ? "" : P, y.time = `${P} ${this.computeUTCTime(y.utc, "MMM-DD/HHmm[Z]")}`, y._lng = ee.lng2pretty(y.lng), y._lat = ee.lat2pretty(y.lat), y.cp = i, s.push(y);
|
|
10247
10247
|
});
|
|
10248
10248
|
}), s.sort((u, i) => u.date - i.date), this.inventory = s;
|
|
10249
10249
|
}
|
|
10250
10250
|
}
|
|
10251
10251
|
}, eB = { class: "report-section" };
|
|
10252
10252
|
function sB(s, a, o, u, i, l) {
|
|
10253
|
-
const f = it("Brand"), r = it("Loading"),
|
|
10253
|
+
const f = it("Brand"), r = it("Loading"), y = it("Summary"), O = it("Inventory"), P = it("Chart");
|
|
10254
10254
|
return d(), c("div", eB, [
|
|
10255
10255
|
L(f, {
|
|
10256
10256
|
name: "Voyage Analysis Report",
|
|
10257
10257
|
issued: o.report.createdAt
|
|
10258
10258
|
}, null, 8, ["issued"]),
|
|
10259
10259
|
L(r, { loading: i.loading }, null, 8, ["loading"]),
|
|
10260
|
-
L(
|
|
10260
|
+
L(y, {
|
|
10261
10261
|
report: o.report,
|
|
10262
10262
|
class: "main",
|
|
10263
10263
|
onCommit: l.commit
|
|
@@ -10578,8 +10578,8 @@ const cB = /* @__PURE__ */ Gt(iB, [["render", dB], ["__scopeId", "data-v-0230b63
|
|
|
10578
10578
|
let u = document.getElementById(this.id);
|
|
10579
10579
|
this.chart = Eo(Po.init(u));
|
|
10580
10580
|
}
|
|
10581
|
-
const s = Number(
|
|
10582
|
-
|
|
10581
|
+
const s = Number(H(this.xAxis[0]).utc().format("x")) - 8 * 60 * 60 * 1e3, a = Number(
|
|
10582
|
+
H(this.xAxis[this.xAxis.length - 1]).utc().format("x")
|
|
10583
10583
|
) - 8 * 60 * 60 * 1e3;
|
|
10584
10584
|
let o = {
|
|
10585
10585
|
title: {
|
|
@@ -10606,7 +10606,7 @@ const cB = /* @__PURE__ */ Gt(iB, [["render", dB], ["__scopeId", "data-v-0230b63
|
|
|
10606
10606
|
axisLabel: {
|
|
10607
10607
|
show: !0,
|
|
10608
10608
|
formatter: function(u, i) {
|
|
10609
|
-
var l =
|
|
10609
|
+
var l = H(u).format("MMMDD"), f = H(u).format("HH");
|
|
10610
10610
|
return f === "00" || i === 0 ? l : f;
|
|
10611
10611
|
}
|
|
10612
10612
|
}
|
|
@@ -10732,12 +10732,12 @@ const _B = {
|
|
|
10732
10732
|
},
|
|
10733
10733
|
computeUTCTime() {
|
|
10734
10734
|
return function(s, a = "MMM-DD/HHmm") {
|
|
10735
|
-
return s !== "-" ? `${
|
|
10735
|
+
return s !== "-" ? `${H(s).utc().format(a)}` : "-";
|
|
10736
10736
|
};
|
|
10737
10737
|
},
|
|
10738
10738
|
computeHours() {
|
|
10739
10739
|
return function(s, a) {
|
|
10740
|
-
return
|
|
10740
|
+
return H(a).add(s, "h").utc().format("MMMDD/HH[Z]");
|
|
10741
10741
|
};
|
|
10742
10742
|
},
|
|
10743
10743
|
// 经纬度转换
|
|
@@ -10797,32 +10797,32 @@ const _B = {
|
|
|
10797
10797
|
this.typhoonData = [];
|
|
10798
10798
|
let s = [];
|
|
10799
10799
|
if (this.data.hours.length < 8)
|
|
10800
|
-
for (let
|
|
10801
|
-
let
|
|
10802
|
-
|
|
10800
|
+
for (let m in this.data.hours) {
|
|
10801
|
+
let D = this.data.hours[m];
|
|
10802
|
+
D.hour = m, s.push(D);
|
|
10803
10803
|
}
|
|
10804
10804
|
else {
|
|
10805
|
-
let
|
|
10806
|
-
for (let
|
|
10807
|
-
if (
|
|
10808
|
-
let S = this.data.hours[
|
|
10809
|
-
S.hour =
|
|
10805
|
+
let m = 0;
|
|
10806
|
+
for (let D in this.data.hours)
|
|
10807
|
+
if (m < 8) {
|
|
10808
|
+
let S = this.data.hours[D];
|
|
10809
|
+
S.hour = D, s.push(S), m++;
|
|
10810
10810
|
}
|
|
10811
10811
|
}
|
|
10812
10812
|
this.typhoonData = s, this.records = await this.interpolatedRecord(this.data.date, this.data.hours, 1), this.records[0] = this.data.hours[0];
|
|
10813
|
-
const a = this.ts ?
|
|
10814
|
-
for (let
|
|
10815
|
-
|
|
10816
|
-
let o = this.computeHourSubscript(
|
|
10813
|
+
const a = this.ts ? H(Number(this.ts)).utc().format("YYYY-MM-DD HH") : H().utc().format("YYYY-MM-DD HH");
|
|
10814
|
+
for (let m in this.records)
|
|
10815
|
+
H(this.data.date).add(m, "h").utc().format("YYYY-MM-DD HH") === a && this.$emit("center", this.records[m]);
|
|
10816
|
+
let o = this.computeHourSubscript(H(this.data.date).utc().format("H"));
|
|
10817
10817
|
const u = [], i = [], l = [], f = [];
|
|
10818
|
-
let r = [],
|
|
10819
|
-
for (let
|
|
10820
|
-
const
|
|
10821
|
-
o === v ? (
|
|
10818
|
+
let r = [], y = [], O = [];
|
|
10819
|
+
for (let m in this.records) {
|
|
10820
|
+
const D = this.records[m], S = H(this.data.date).add(m, "h").utc(), v = this.computeHourSubscript(H(S).format("H")), E = `${H(S).format("YYYY-MM-DD")} ${this.hourSubscript[v]}:00:00`;
|
|
10821
|
+
o === v ? (y.push([E, D.wind.kts]), O.push([E, D.pressure]), r.push([E, D.wind.spd])) : (u.push(r), i.push(y), l.push(O), o = v, r = [], y = [], O = [], r.push([E, D.wind.spd]), y.push([E, D.wind.kts]), O.push([E, D.pressure]), this.xAxis.push(S));
|
|
10822
10822
|
}
|
|
10823
|
-
for (let
|
|
10824
|
-
const
|
|
10825
|
-
f.push([E, ((P =
|
|
10823
|
+
for (let m in this.data.hours) {
|
|
10824
|
+
const D = this.data.hours[m], S = H(this.data.date).add(m, "h").utc(), v = this.computeHourSubscript(H(S).format("H")), E = `${H(S).format("YYYY-MM-DD")} ${this.hourSubscript[v]}:00:00`;
|
|
10825
|
+
f.push([E, ((P = D.gusts) == null ? void 0 : P.kts) ?? "-"]);
|
|
10826
10826
|
}
|
|
10827
10827
|
this.fetchProbabilityData(u), this.fetchSpdData(i, f), this.fetchPressureData(l);
|
|
10828
10828
|
},
|
|
@@ -10837,13 +10837,13 @@ const _B = {
|
|
|
10837
10837
|
supty: []
|
|
10838
10838
|
};
|
|
10839
10839
|
s.forEach((o) => {
|
|
10840
|
-
let u = 0, i = 0, l = 0, f = 0, r = 0,
|
|
10840
|
+
let u = 0, i = 0, l = 0, f = 0, r = 0, y = 0;
|
|
10841
10841
|
o.forEach((P) => {
|
|
10842
|
-
const
|
|
10843
|
-
|
|
10842
|
+
const m = P[1];
|
|
10843
|
+
m <= 17.1 ? u++ : m <= 24.4 ? i++ : m <= 32.6 ? l++ : m <= 41.4 ? f++ : m <= 50.9 ? r++ : m > 50.9 && y++;
|
|
10844
10844
|
});
|
|
10845
10845
|
const O = o.length;
|
|
10846
|
-
a.td.push([o[0][0], Qe(u / O, 2) * 100]), a.ts.push([o[0][0], Qe(i / O, 2) * 100]), a.sts.push([o[0][0], Qe(l / O, 2) * 100]), a.ty.push([o[0][0], Qe(f / O, 2) * 100]), a.sty.push([o[0][0], Qe(r / O, 2) * 100]), a.supty.push([o[0][0], Qe(
|
|
10846
|
+
a.td.push([o[0][0], Qe(u / O, 2) * 100]), a.ts.push([o[0][0], Qe(i / O, 2) * 100]), a.sts.push([o[0][0], Qe(l / O, 2) * 100]), a.ty.push([o[0][0], Qe(f / O, 2) * 100]), a.sty.push([o[0][0], Qe(r / O, 2) * 100]), a.supty.push([o[0][0], Qe(y / O, 2) * 100]);
|
|
10847
10847
|
}), this.probabilitySeries = [
|
|
10848
10848
|
{
|
|
10849
10849
|
name: "SuperTY[>94kts]",
|
|
@@ -10985,26 +10985,26 @@ const _B = {
|
|
|
10985
10985
|
];
|
|
10986
10986
|
},
|
|
10987
10987
|
async interpolatedRecord(s, a, o = 3) {
|
|
10988
|
-
var r,
|
|
10989
|
-
const u =
|
|
10988
|
+
var r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht;
|
|
10989
|
+
const u = H(s).set({ second: 0 }).utc();
|
|
10990
10990
|
let i = o - (u.get("hour") * 60 + u.get("minute")) % (o * 60) / 60, l;
|
|
10991
10991
|
const f = {};
|
|
10992
10992
|
for (; l = this.computeCandidateIndex(a, i), l.next !== -1 || i === l.prev; ) {
|
|
10993
10993
|
const ct = (i - l.prev) / (l.next - l.prev);
|
|
10994
10994
|
f[i] = {
|
|
10995
|
-
gusts: this.computeInterpolateValue((r = a[l.prev]) == null ? void 0 : r.gusts, (
|
|
10995
|
+
gusts: this.computeInterpolateValue((r = a[l.prev]) == null ? void 0 : r.gusts, (y = a[l.next]) == null ? void 0 : y.gusts, ct),
|
|
10996
10996
|
lat: this.computeInterpolateValue((O = a[l.prev]) == null ? void 0 : O.lat, (P = a[l.next]) == null ? void 0 : P.lat, ct),
|
|
10997
|
-
lng: this.computeInterpolateValue((
|
|
10997
|
+
lng: this.computeInterpolateValue((m = a[l.prev]) == null ? void 0 : m.lng, (D = a[l.next]) == null ? void 0 : D.lng, ct),
|
|
10998
10998
|
movement: {
|
|
10999
10999
|
deg: this.computeInterpolateValue((v = (S = a[l.prev]) == null ? void 0 : S.movement) == null ? void 0 : v.deg, (F = (E = a[l.next]) == null ? void 0 : E.movement) == null ? void 0 : F.deg, ct),
|
|
11000
|
-
kts: this.computeInterpolateValue((
|
|
11001
|
-
spd: this.computeInterpolateValue((
|
|
11000
|
+
kts: this.computeInterpolateValue((U = (G = a[l.prev]) == null ? void 0 : G.movement) == null ? void 0 : U.kts, (I = (Y = a[l.next]) == null ? void 0 : Y.movement) == null ? void 0 : I.kts, ct),
|
|
11001
|
+
spd: this.computeInterpolateValue((N = (T = a[l.prev]) == null ? void 0 : T.movement) == null ? void 0 : N.spd, ($ = (K = a[l.next]) == null ? void 0 : K.movement) == null ? void 0 : $.spd, ct)
|
|
11002
11002
|
},
|
|
11003
11003
|
pressure: this.computeInterpolateValue((X = a[l.prev]) == null ? void 0 : X.pressure, (Z = a[l.next]) == null ? void 0 : Z.pressure, ct),
|
|
11004
11004
|
wind: {
|
|
11005
11005
|
kts: this.computeInterpolateValue((j = (w = a[l.prev]) == null ? void 0 : w.wind) == null ? void 0 : j.kts, (V = (Q = a[l.next]) == null ? void 0 : Q.wind) == null ? void 0 : V.kts, ct),
|
|
11006
11006
|
lat: this.computeInterpolateValue((ot = (st = a[l.prev]) == null ? void 0 : st.wind) == null ? void 0 : ot.lat, (lt = (at = a[l.next]) == null ? void 0 : at.wind) == null ? void 0 : lt.lat, ct),
|
|
11007
|
-
lng: this.computeInterpolateValue((z = (
|
|
11007
|
+
lng: this.computeInterpolateValue((z = (g = a[l.prev]) == null ? void 0 : g.wind) == null ? void 0 : z.lng, (n = (et = a[l.next]) == null ? void 0 : et.wind) == null ? void 0 : n.lng, ct),
|
|
11008
11008
|
spd: this.computeInterpolateValue((h = (nt = a[l.prev]) == null ? void 0 : nt.wind) == null ? void 0 : h.spd, (ht = (dt = a[l.next]) == null ? void 0 : dt.wind) == null ? void 0 : ht.spd, ct)
|
|
11009
11009
|
}
|
|
11010
11010
|
}, i += o;
|
|
@@ -11065,17 +11065,17 @@ function EB(s, a, o, u, i, l) {
|
|
|
11065
11065
|
t("table", null, [
|
|
11066
11066
|
OB,
|
|
11067
11067
|
t("tbody", null, [
|
|
11068
|
-
(d(!0), c(
|
|
11069
|
-
var P,
|
|
11068
|
+
(d(!0), c(M, null, rt(i.typhoonData, (y, O) => {
|
|
11069
|
+
var P, m, D, S, v, E;
|
|
11070
11070
|
return d(), c("tr", { key: O }, [
|
|
11071
|
-
t("td", null, e(l.computeHours(
|
|
11072
|
-
t("td", null, e(l.computedLngLat(
|
|
11073
|
-
t("td", null, e(l.computeRoundPrecision(
|
|
11074
|
-
t("td", null, e(l.computeRoundPrecision(((P =
|
|
11075
|
-
t("td", null, e(l.computeRoundPrecision(((
|
|
11076
|
-
t("td", null, e(`${l.computeWind(((
|
|
11077
|
-
t("td", null, e(l.computeRoundPrecision(((v =
|
|
11078
|
-
t("td", null, e(l.computeRoundPrecision(((E =
|
|
11071
|
+
t("td", null, e(l.computeHours(y.hour || "-", o.data.date)), 1),
|
|
11072
|
+
t("td", null, e(l.computedLngLat(y.lat, y.lng)), 1),
|
|
11073
|
+
t("td", null, e(l.computeRoundPrecision(y.pressure ?? "-")), 1),
|
|
11074
|
+
t("td", null, e(l.computeRoundPrecision(((P = y == null ? void 0 : y.wind) == null ? void 0 : P.kts) ?? "-")), 1),
|
|
11075
|
+
t("td", null, e(l.computeRoundPrecision(((m = y.gusts) == null ? void 0 : m.kts) ?? "-")), 1),
|
|
11076
|
+
t("td", null, e(`${l.computeWind(((D = y == null ? void 0 : y.wind) == null ? void 0 : D.r7) || "-")} / ${l.computeWind(((S = y == null ? void 0 : y.wind) == null ? void 0 : S.r10) || "-")} nm`), 1),
|
|
11077
|
+
t("td", null, e(l.computeRoundPrecision(((v = y == null ? void 0 : y.movement) == null ? void 0 : v.deg) ?? "-")), 1),
|
|
11078
|
+
t("td", null, e(l.computeRoundPrecision(((E = y == null ? void 0 : y.movement) == null ? void 0 : E.spd) ?? "-")), 1)
|
|
11079
11079
|
]);
|
|
11080
11080
|
}), 128))
|
|
11081
11081
|
])
|
|
@@ -11173,7 +11173,7 @@ const FB = {
|
|
|
11173
11173
|
},
|
|
11174
11174
|
computeUTCTime() {
|
|
11175
11175
|
return function(s, a = "MMM-DD/HHmm") {
|
|
11176
|
-
return s !== "-" ? `${
|
|
11176
|
+
return s !== "-" ? `${H(s).utc().format(a)}` : "-";
|
|
11177
11177
|
};
|
|
11178
11178
|
},
|
|
11179
11179
|
computeItem() {
|
|
@@ -11230,7 +11230,7 @@ const FB = {
|
|
|
11230
11230
|
class: "detail"
|
|
11231
11231
|
}, bL = /* @__PURE__ */ Ts(() => /* @__PURE__ */ t("div", { class: "title" }, "MEMO", -1)), xL = ["innerHTML"];
|
|
11232
11232
|
function CL(s, a, o, u, i, l) {
|
|
11233
|
-
var r,
|
|
11233
|
+
var r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X;
|
|
11234
11234
|
const f = it("IdmBrand");
|
|
11235
11235
|
return d(), c("div", WB, [
|
|
11236
11236
|
L(f),
|
|
@@ -11255,7 +11255,7 @@ function CL(s, a, o, u, i, l) {
|
|
|
11255
11255
|
C(" To: "),
|
|
11256
11256
|
t("div", {
|
|
11257
11257
|
class: "name",
|
|
11258
|
-
innerHTML: l.computeHtml((
|
|
11258
|
+
innerHTML: l.computeHtml((y = (r = o.data) == null ? void 0 : r.invoiceTitle) == null ? void 0 : y.name)
|
|
11259
11259
|
}, null, 8, VB)
|
|
11260
11260
|
], 512),
|
|
11261
11261
|
t("div", null, "Date: " + e(l.computeUTCTime((O = o.data) == null ? void 0 : O.paymentDate, "YYYY MMM DD")), 1),
|
|
@@ -11264,7 +11264,7 @@ function CL(s, a, o, u, i, l) {
|
|
|
11264
11264
|
t("table", null, [
|
|
11265
11265
|
JB,
|
|
11266
11266
|
t("tbody", null, [
|
|
11267
|
-
(d(!0), c(
|
|
11267
|
+
(d(!0), c(M, null, rt((m = o.data) == null ? void 0 : m.reservations, (Z, w) => (d(), c("tr", { key: w }, [
|
|
11268
11268
|
t("td", null, e(w + 1), 1),
|
|
11269
11269
|
t("td", null, [
|
|
11270
11270
|
t("div", null, e(l.computeItem(Z == null ? void 0 : Z.items)[0]), 1),
|
|
@@ -11275,7 +11275,7 @@ function CL(s, a, o, u, i, l) {
|
|
|
11275
11275
|
t("tr", null, [
|
|
11276
11276
|
KB,
|
|
11277
11277
|
t("td", null, [
|
|
11278
|
-
t("span", null, e(`${i.isUSD ? "" : "Exchange rate: " + ((
|
|
11278
|
+
t("span", null, e(`${i.isUSD ? "" : "Exchange rate: " + ((D = o.data) == null ? void 0 : D.rate)}`) + " ", 1),
|
|
11279
11279
|
t("span", XB, e(`${i.isUSD ? "TOTAL" : "TOTAL Amounts in CNY"}`), 1)
|
|
11280
11280
|
]),
|
|
11281
11281
|
t("td", null, [
|
|
@@ -11316,16 +11316,16 @@ function CL(s, a, o, u, i, l) {
|
|
|
11316
11316
|
t("span", {
|
|
11317
11317
|
class: A(i.isUSD ? "info-title" : "info-title cny")
|
|
11318
11318
|
}, e(`${i.isUSD ? "A/C No" : "银行账号"}: `), 3),
|
|
11319
|
-
t("span", null, e(((
|
|
11319
|
+
t("span", null, e(((U = i.company) == null ? void 0 : U.bankAccount[i.type]) ?? "-"), 1)
|
|
11320
11320
|
]),
|
|
11321
11321
|
i.isUSD ? (d(), c("div", aL, [
|
|
11322
11322
|
t("div", nL, [
|
|
11323
11323
|
dL,
|
|
11324
|
-
t("span", null, e(((
|
|
11324
|
+
t("span", null, e(((Y = i.company) == null ? void 0 : Y.bankSwift) ?? "-"), 1)
|
|
11325
11325
|
]),
|
|
11326
11326
|
t("div", cL, [
|
|
11327
11327
|
rL,
|
|
11328
|
-
t("span", null, e(((
|
|
11328
|
+
t("span", null, e(((I = i.company) == null ? void 0 : I.bankAddress) ?? "-"), 1)
|
|
11329
11329
|
]),
|
|
11330
11330
|
t("div", uL, [
|
|
11331
11331
|
hL,
|
|
@@ -11333,7 +11333,7 @@ function CL(s, a, o, u, i, l) {
|
|
|
11333
11333
|
]),
|
|
11334
11334
|
t("div", vL, [
|
|
11335
11335
|
_L,
|
|
11336
|
-
t("span", null, e(((
|
|
11336
|
+
t("span", null, e(((N = i.company) == null ? void 0 : N.interSwift) ?? "-"), 1)
|
|
11337
11337
|
])
|
|
11338
11338
|
])) : (d(), c("div", pL, [
|
|
11339
11339
|
t("div", fL, [
|
|
@@ -11393,7 +11393,7 @@ const DL = {
|
|
|
11393
11393
|
computed: {
|
|
11394
11394
|
computeTime() {
|
|
11395
11395
|
return function(s, a = "YYYY, MMM-DD/HHmm[LT]") {
|
|
11396
|
-
return s !== "-" ? `${
|
|
11396
|
+
return s !== "-" ? `${H(s).utcOffset(8).format(a)}` : "-";
|
|
11397
11397
|
};
|
|
11398
11398
|
}
|
|
11399
11399
|
},
|
|
@@ -11422,24 +11422,24 @@ const DL = {
|
|
|
11422
11422
|
class: "memo-block"
|
|
11423
11423
|
}, bH = /* @__PURE__ */ Xe(() => /* @__PURE__ */ t("div", { class: "invoice-item" }, "MEMO", -1)), xH = ["innerHTML"], CH = /* @__PURE__ */ ut('<div class="section sign-section" data-v-a19b6a09><div class="flex-space" data-v-a19b6a09><div class="sign-block" data-v-a19b6a09><div data-v-a19b6a09>Finance Team</div><div data-v-a19b6a09>Ocean Right Marine Service Co., Ltd.</div><div data-v-a19b6a09>Email: <a href="mailto:op@ormwx.com" data-v-a19b6a09>op@ormwx.com</a></div><div data-v-a19b6a09>Add: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-a19b6a09> Thank You </div></div></div>', 1);
|
|
11424
11424
|
function gH(s, a, o, u, i, l) {
|
|
11425
|
-
var r,
|
|
11425
|
+
var r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt;
|
|
11426
11426
|
const f = it("IdmBrand");
|
|
11427
11427
|
return d(), c("div", AL, [
|
|
11428
11428
|
L(f, { name: "INVOICE" }),
|
|
11429
11429
|
t("div", wL, [
|
|
11430
11430
|
kL,
|
|
11431
|
-
((r = o.report) == null ? void 0 : r.paymentType) === "CNY" ? (d(), c(
|
|
11431
|
+
((r = o.report) == null ? void 0 : r.paymentType) === "CNY" ? (d(), c(M, { key: 0 }, [
|
|
11432
11432
|
t("div", SL, [
|
|
11433
11433
|
TL,
|
|
11434
|
-
t("span", null, e((O = i.account[(
|
|
11434
|
+
t("span", null, e((O = i.account[(y = o.report) == null ? void 0 : y.paymentType]) == null ? void 0 : O.bank), 1)
|
|
11435
11435
|
]),
|
|
11436
11436
|
t("div", OL, [
|
|
11437
11437
|
EL,
|
|
11438
|
-
t("span", null, e((
|
|
11438
|
+
t("span", null, e((m = i.account[(P = o.report) == null ? void 0 : P.paymentType]) == null ? void 0 : m.number), 1)
|
|
11439
11439
|
]),
|
|
11440
11440
|
t("div", PL, [
|
|
11441
11441
|
FL,
|
|
11442
|
-
t("span", null, e((S = i.account[(
|
|
11442
|
+
t("span", null, e((S = i.account[(D = o.report) == null ? void 0 : D.paymentType]) == null ? void 0 : S.title), 1)
|
|
11443
11443
|
]),
|
|
11444
11444
|
t("div", WL, [
|
|
11445
11445
|
BL,
|
|
@@ -11451,16 +11451,16 @@ function gH(s, a, o, u, i, l) {
|
|
|
11451
11451
|
]),
|
|
11452
11452
|
t("div", ML, [
|
|
11453
11453
|
GL,
|
|
11454
|
-
t("span", null, e((
|
|
11454
|
+
t("span", null, e((Y = i.account[(U = o.report) == null ? void 0 : U.paymentType]) == null ? void 0 : Y.taxId), 1)
|
|
11455
11455
|
])
|
|
11456
|
-
], 64)) : (d(), c(
|
|
11456
|
+
], 64)) : (d(), c(M, { key: 1 }, [
|
|
11457
11457
|
t("div", IL, [
|
|
11458
11458
|
RL,
|
|
11459
|
-
t("span", null, e((T = i.account[(
|
|
11459
|
+
t("span", null, e((T = i.account[(I = o.report) == null ? void 0 : I.paymentType]) == null ? void 0 : T.title), 1)
|
|
11460
11460
|
]),
|
|
11461
11461
|
t("div", NL, [
|
|
11462
11462
|
UL,
|
|
11463
|
-
t("span", null, e((K = i.account[(
|
|
11463
|
+
t("span", null, e((K = i.account[(N = o.report) == null ? void 0 : N.paymentType]) == null ? void 0 : K.address), 1)
|
|
11464
11464
|
]),
|
|
11465
11465
|
t("div", YL, [
|
|
11466
11466
|
ZL,
|
|
@@ -11484,7 +11484,7 @@ function gH(s, a, o, u, i, l) {
|
|
|
11484
11484
|
]),
|
|
11485
11485
|
t("div", $L, [
|
|
11486
11486
|
tH,
|
|
11487
|
-
t("span", null, e((
|
|
11487
|
+
t("span", null, e((g = i.account[(lt = o.report) == null ? void 0 : lt.paymentType]) == null ? void 0 : g.intermediaryBankSwift), 1)
|
|
11488
11488
|
]),
|
|
11489
11489
|
t("div", eH, [
|
|
11490
11490
|
sH,
|
|
@@ -11509,7 +11509,7 @@ function gH(s, a, o, u, i, l) {
|
|
|
11509
11509
|
t("table", null, [
|
|
11510
11510
|
uH,
|
|
11511
11511
|
t("tbody", null, [
|
|
11512
|
-
(d(!0), c(
|
|
11512
|
+
(d(!0), c(M, null, rt((ht = o.report) == null ? void 0 : ht.reservations, (mt, At) => (d(), c("tr", { key: At }, [
|
|
11513
11513
|
t("td", null, e(At + 1), 1),
|
|
11514
11514
|
t("td", null, [
|
|
11515
11515
|
t("div", null, e(mt == null ? void 0 : mt.items), 1)
|
|
@@ -11518,7 +11518,7 @@ function gH(s, a, o, u, i, l) {
|
|
|
11518
11518
|
]))), 128)),
|
|
11519
11519
|
t("tr", null, [
|
|
11520
11520
|
t("td", hH, [
|
|
11521
|
-
((ct = o.report) == null ? void 0 : ct.paymentType) === "CNY" ? (d(), c(
|
|
11521
|
+
((ct = o.report) == null ? void 0 : ct.paymentType) === "CNY" ? (d(), c(M, { key: 0 }, [
|
|
11522
11522
|
t("span", null, "Exchange rate: " + e((pt = o.report) == null ? void 0 : pt.rate) + ", ", 1),
|
|
11523
11523
|
vH
|
|
11524
11524
|
], 64)) : (d(), c("span", _H, "Total"))
|
|
@@ -11545,7 +11545,7 @@ const DH = /* @__PURE__ */ Gt(DL, [["render", gH], ["__scopeId", "data-v-a19b6a0
|
|
|
11545
11545
|
install(s) {
|
|
11546
11546
|
s.component("InvoiceReport", gL), s.component("OrmInvoiceReport", DH);
|
|
11547
11547
|
}
|
|
11548
|
-
}, AH = (s) => (typeof s == "string" ? s =
|
|
11548
|
+
}, AH = (s) => (typeof s == "string" ? s = H(s) : typeof s == "number" && (s = H(s)), s), wH = (s, a = "MMM-DD,YYYY/HHmm[Z]") => kH(s, a), kH = (s, a = "MMM-DD/HHmm[Z]") => (s = AH(s), s ? `${s.utc().format(a)}` : "-");
|
|
11549
11549
|
const SH = {
|
|
11550
11550
|
name: "IdmEditableItem",
|
|
11551
11551
|
components: { Edit: on, Close: ln, IdmEditor: so },
|
|
@@ -11658,7 +11658,7 @@ const SH = {
|
|
|
11658
11658
|
class: "buttons"
|
|
11659
11659
|
};
|
|
11660
11660
|
function PH(s, a, o, u, i, l) {
|
|
11661
|
-
const f = it("ElTag"), r = it("ElInput"),
|
|
11661
|
+
const f = it("ElTag"), r = it("ElInput"), y = it("IdmEditor"), O = it("ElInputNumber"), P = it("ElDatePicker"), m = it("ElOption"), D = it("ElSelect"), S = it("ElRadio"), v = it("ElRadioGroup"), E = it("ElCheckbox"), F = it("ElCheckboxGroup"), G = it("Edit"), U = it("ElIcon"), Y = it("ElButton"), I = it("Close");
|
|
11662
11662
|
return d(), c("div", TH, [
|
|
11663
11663
|
t("div", {
|
|
11664
11664
|
class: "group",
|
|
@@ -11668,7 +11668,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11668
11668
|
key: 0,
|
|
11669
11669
|
style: be({ width: o.width + "px" })
|
|
11670
11670
|
}, e(o.label), 5)) : x("", !0),
|
|
11671
|
-
i.editable ? (d(), c(
|
|
11671
|
+
i.editable ? (d(), c(M, { key: 2 }, [
|
|
11672
11672
|
o.type === "input" ? (d(), re(r, {
|
|
11673
11673
|
key: 0,
|
|
11674
11674
|
modelValue: i.model,
|
|
@@ -11692,7 +11692,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11692
11692
|
rows: 4,
|
|
11693
11693
|
onBlur: l.handleCommit
|
|
11694
11694
|
}, null, 8, ["modelValue", "size", "onBlur"])) : x("", !0),
|
|
11695
|
-
o.type === "richText" ? (d(), re(
|
|
11695
|
+
o.type === "richText" ? (d(), re(y, {
|
|
11696
11696
|
key: 3,
|
|
11697
11697
|
modelValue: i.model,
|
|
11698
11698
|
"onUpdate:modelValue": a[5] || (a[5] = (T) => i.model = T),
|
|
@@ -11722,7 +11722,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11722
11722
|
"value-format": o.valueFormat,
|
|
11723
11723
|
onBlur: l.handleCommit
|
|
11724
11724
|
}, null, 8, ["modelValue", "size", "format", "value-format", "onBlur"])) : x("", !0),
|
|
11725
|
-
o.type === "select" ? (d(), re(
|
|
11725
|
+
o.type === "select" ? (d(), re(D, {
|
|
11726
11726
|
key: 6,
|
|
11727
11727
|
modelValue: i.model,
|
|
11728
11728
|
"onUpdate:modelValue": a[8] || (a[8] = (T) => i.model = T),
|
|
@@ -11733,7 +11733,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11733
11733
|
onChange: l.handleCommit
|
|
11734
11734
|
}, {
|
|
11735
11735
|
default: ks(() => [
|
|
11736
|
-
(d(!0), c(
|
|
11736
|
+
(d(!0), c(M, null, rt(o.options, (T) => (d(), re(m, {
|
|
11737
11737
|
key: T.value,
|
|
11738
11738
|
label: T.label,
|
|
11739
11739
|
disabled: T.disabled,
|
|
@@ -11742,7 +11742,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11742
11742
|
]),
|
|
11743
11743
|
_: 1
|
|
11744
11744
|
}, 8, ["modelValue", "size", "onChange"])) : x("", !0),
|
|
11745
|
-
o.type === "remoteSelect" ? (d(), re(
|
|
11745
|
+
o.type === "remoteSelect" ? (d(), re(D, {
|
|
11746
11746
|
key: 7,
|
|
11747
11747
|
modelValue: i.model,
|
|
11748
11748
|
"onUpdate:modelValue": a[9] || (a[9] = (T) => i.model = T),
|
|
@@ -11757,7 +11757,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11757
11757
|
onChange: l.handleCommit
|
|
11758
11758
|
}, {
|
|
11759
11759
|
default: ks(() => [
|
|
11760
|
-
(d(!0), c(
|
|
11760
|
+
(d(!0), c(M, null, rt(o.options, (T) => (d(), re(m, {
|
|
11761
11761
|
key: T.value,
|
|
11762
11762
|
label: T.label,
|
|
11763
11763
|
value: T.value
|
|
@@ -11765,7 +11765,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11765
11765
|
]),
|
|
11766
11766
|
_: 1
|
|
11767
11767
|
}, 8, ["modelValue", "size", "remote-method", "onChange"])) : x("", !0),
|
|
11768
|
-
o.type === "remotePortSelect" ? (d(), re(
|
|
11768
|
+
o.type === "remotePortSelect" ? (d(), re(D, {
|
|
11769
11769
|
key: 8,
|
|
11770
11770
|
modelValue: i.model,
|
|
11771
11771
|
"onUpdate:modelValue": a[10] || (a[10] = (T) => i.model = T),
|
|
@@ -11780,7 +11780,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11780
11780
|
onChange: l.handleCommit
|
|
11781
11781
|
}, {
|
|
11782
11782
|
default: ks(() => [
|
|
11783
|
-
(d(!0), c(
|
|
11783
|
+
(d(!0), c(M, null, rt(o.options, (T) => (d(), re(m, {
|
|
11784
11784
|
key: T.id,
|
|
11785
11785
|
label: T.name,
|
|
11786
11786
|
value: T.name
|
|
@@ -11797,7 +11797,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11797
11797
|
onChange: l.handleCommit
|
|
11798
11798
|
}, {
|
|
11799
11799
|
default: ks(() => [
|
|
11800
|
-
(d(!0), c(
|
|
11800
|
+
(d(!0), c(M, null, rt(o.radios, (T) => (d(), re(S, {
|
|
11801
11801
|
key: T.value,
|
|
11802
11802
|
label: T.value
|
|
11803
11803
|
}, {
|
|
@@ -11819,7 +11819,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11819
11819
|
onChange: l.handleCommit
|
|
11820
11820
|
}, {
|
|
11821
11821
|
default: ks(() => [
|
|
11822
|
-
(d(!0), c(
|
|
11822
|
+
(d(!0), c(M, null, rt(o.checkboxs, (T) => (d(), re(E, {
|
|
11823
11823
|
label: T.value,
|
|
11824
11824
|
key: T.label
|
|
11825
11825
|
}, {
|
|
@@ -11831,8 +11831,8 @@ function PH(s, a, o, u, i, l) {
|
|
|
11831
11831
|
]),
|
|
11832
11832
|
_: 1
|
|
11833
11833
|
}, 8, ["modelValue", "size", "onChange"])) : x("", !0)
|
|
11834
|
-
], 64)) : (d(), c(
|
|
11835
|
-
typeof o.raw == "boolean" ? (d(), c(
|
|
11834
|
+
], 64)) : (d(), c(M, { key: 1 }, [
|
|
11835
|
+
typeof o.raw == "boolean" ? (d(), c(M, { key: 0 }, [
|
|
11836
11836
|
o.raw ? (d(), re(f, {
|
|
11837
11837
|
key: 0,
|
|
11838
11838
|
size: "small",
|
|
@@ -11856,7 +11856,7 @@ function PH(s, a, o, u, i, l) {
|
|
|
11856
11856
|
]),
|
|
11857
11857
|
_: 1
|
|
11858
11858
|
}, 8, ["onDblclick"]))
|
|
11859
|
-
], 64)) : (d(), c(
|
|
11859
|
+
], 64)) : (d(), c(M, { key: 1 }, [
|
|
11860
11860
|
o.type === "datetime" ? (d(), c("span", {
|
|
11861
11861
|
key: 0,
|
|
11862
11862
|
onDblclick: a[0] || (a[0] = (...T) => l.handleEdit && l.handleEdit(...T))
|
|
@@ -11867,16 +11867,16 @@ function PH(s, a, o, u, i, l) {
|
|
|
11867
11867
|
key: 2,
|
|
11868
11868
|
onDblclick: a[1] || (a[1] = (...T) => l.handleEdit && l.handleEdit(...T))
|
|
11869
11869
|
}, [
|
|
11870
|
-
typeof o.value == "number" ? (d(), c(
|
|
11870
|
+
typeof o.value == "number" ? (d(), c(M, { key: 0 }, [
|
|
11871
11871
|
C(e(o.value), 1)
|
|
11872
|
-
], 64)) : (d(), c(
|
|
11872
|
+
], 64)) : (d(), c(M, { key: 1 }, [
|
|
11873
11873
|
C(e(o.value || "-"), 1)
|
|
11874
11874
|
], 64))
|
|
11875
11875
|
], 32))
|
|
11876
11876
|
], 64))
|
|
11877
11877
|
], 64)),
|
|
11878
11878
|
!o.disabled && o.iconable && typeof o.raw != "boolean" ? (d(), c("div", EH, [
|
|
11879
|
-
i.editable ? (d(), re(
|
|
11879
|
+
i.editable ? (d(), re(Y, {
|
|
11880
11880
|
key: 1,
|
|
11881
11881
|
size: o.size,
|
|
11882
11882
|
type: "danger",
|
|
@@ -11885,22 +11885,22 @@ function PH(s, a, o, u, i, l) {
|
|
|
11885
11885
|
onClick: l.handleCancel
|
|
11886
11886
|
}, {
|
|
11887
11887
|
default: ks(() => [
|
|
11888
|
-
L(
|
|
11888
|
+
L(U, null, {
|
|
11889
11889
|
default: ks(() => [
|
|
11890
|
-
L(
|
|
11890
|
+
L(I)
|
|
11891
11891
|
]),
|
|
11892
11892
|
_: 1
|
|
11893
11893
|
})
|
|
11894
11894
|
]),
|
|
11895
11895
|
_: 1
|
|
11896
|
-
}, 8, ["size", "onClick"])) : (d(), re(
|
|
11896
|
+
}, 8, ["size", "onClick"])) : (d(), re(Y, {
|
|
11897
11897
|
key: 0,
|
|
11898
11898
|
size: o.size,
|
|
11899
11899
|
link: "",
|
|
11900
11900
|
onClick: l.handleEdit
|
|
11901
11901
|
}, {
|
|
11902
11902
|
default: ks(() => [
|
|
11903
|
-
L(
|
|
11903
|
+
L(U, null, {
|
|
11904
11904
|
default: ks(() => [
|
|
11905
11905
|
L(G)
|
|
11906
11906
|
]),
|
|
@@ -11969,7 +11969,7 @@ const FH = {
|
|
|
11969
11969
|
},
|
|
11970
11970
|
computeUTCTime() {
|
|
11971
11971
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
11972
|
-
return s ? `${
|
|
11972
|
+
return s ? `${H(s).utc().format(a)}` : "-";
|
|
11973
11973
|
};
|
|
11974
11974
|
},
|
|
11975
11975
|
// 经纬度转换
|
|
@@ -12043,15 +12043,15 @@ const FH = {
|
|
|
12043
12043
|
this.editable = !this.editable;
|
|
12044
12044
|
},
|
|
12045
12045
|
async handleCommit(s, a, o, u) {
|
|
12046
|
-
var f, r,
|
|
12046
|
+
var f, r, y, O, P;
|
|
12047
12047
|
this.editable = !1;
|
|
12048
12048
|
const i = a.indexOf(".");
|
|
12049
12049
|
let l = {};
|
|
12050
12050
|
if ((o || o == 0) && o != "") {
|
|
12051
12051
|
if (s === "port") {
|
|
12052
12052
|
if (i > 0) {
|
|
12053
|
-
const
|
|
12054
|
-
S !== "date" && (o = Number(o)), this.extraPortList[u][
|
|
12053
|
+
const D = a.substring(0, i), S = a.substring(i + 1);
|
|
12054
|
+
S !== "date" && (o = Number(o)), this.extraPortList[u][D][S] = o;
|
|
12055
12055
|
} else
|
|
12056
12056
|
this.extraPortList[u][a] = o;
|
|
12057
12057
|
l = {
|
|
@@ -12059,7 +12059,7 @@ const FH = {
|
|
|
12059
12059
|
};
|
|
12060
12060
|
} else
|
|
12061
12061
|
s === "comments" ? (this.extraData[a] = o, l = { [a]: o }) : (this.extraData[a] = o, l = { [a]: Number(o) });
|
|
12062
|
-
const
|
|
12062
|
+
const m = await vl.put(
|
|
12063
12063
|
`${this.gateway}/api/als/deviations/${this.id}`,
|
|
12064
12064
|
l,
|
|
12065
12065
|
//要传的参数
|
|
@@ -12069,7 +12069,7 @@ const FH = {
|
|
|
12069
12069
|
}
|
|
12070
12070
|
}
|
|
12071
12071
|
);
|
|
12072
|
-
this.extraData = (f =
|
|
12072
|
+
this.extraData = (f = m == null ? void 0 : m.data) == null ? void 0 : f.data, this.extraPortList = (y = (r = m == null ? void 0 : m.data) == null ? void 0 : r.data) == null ? void 0 : y.extraPorts, this.advisory = (O = this.report) != null && O.comments ? (P = this.report) == null ? void 0 : P.comments : void 0;
|
|
12073
12073
|
} else
|
|
12074
12074
|
Ya({
|
|
12075
12075
|
message: "Value cannot be empty.",
|
|
@@ -12261,15 +12261,15 @@ const FH = {
|
|
|
12261
12261
|
class: "summary-item"
|
|
12262
12262
|
}, dU = /* @__PURE__ */ B(() => /* @__PURE__ */ t("div", { class: "blue flexM" }, "Consumption in port (hrs)", -1)), cU = { class: "flex blue center" }, rU = { class: "flex blue center" }, uU = { class: "summary-item" }, hU = /* @__PURE__ */ B(() => /* @__PURE__ */ t("div", { class: "blue flexM" }, "Total extra Consumption (mt)", -1)), vU = { class: "section comment-section" }, _U = ["innerHTML"];
|
|
12263
12263
|
function pU(s, a, o, u, i, l) {
|
|
12264
|
-
var
|
|
12265
|
-
const f = it("IdmBrand"), r = it("EditableItem"),
|
|
12264
|
+
var D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je, Ss, Os, Es, Ps, Fs, J, ue, Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds, Ws, Bs, Ls, Hs, Ms, Gs, Is, Rs, Ns, Us, Ys, Zs, Vs, zs, Qs, Js, Ks, Xs, qs, js, $s, to, oo, io, lo, ao, no, co, ro, uo, ho, vo, _o, po, fo, mo, yo, bo, xo, Co, go, Do, Ao, wo, ko, So, To, Oo, Je, Fo, Ho, Mo, Go, Io, Ro, No, Uo, Yo, Zo, Vo, zo, Qo, Jo, Ko, Xo, qo, jo, $o, ti, ei, si, oi, ii, li, ai, ni, di, ci, ri, ui, hi, vi, _i, pi, fi, mi, yi, bi, xi, Ci, gi, Di, Ai, wi, ki, Si, Ti, Oi, Ei, Pi, Fi, Wi, Bi, Li, Hi, Mi, Gi, Ii, Ri, Ni, Ui, Yi, Zi, Vi, zi, Qi, Ji, Ki, Xi, qi, ji, $i, tl, el, sl, ol, il, ll, al, vt, As, nl, dl, cl;
|
|
12265
|
+
const f = it("IdmBrand"), r = it("EditableItem"), y = it("CirclePlus"), O = it("el-icon"), P = it("Remove"), m = it("Editor");
|
|
12266
12266
|
return d(), c("div", WH, [
|
|
12267
12267
|
L(f, { name: "Voyage Deviation Report" }),
|
|
12268
12268
|
t("div", BH, [
|
|
12269
12269
|
t("div", LH, [
|
|
12270
12270
|
t("div", HH, [
|
|
12271
12271
|
MH,
|
|
12272
|
-
t("div", GH, e((S = (
|
|
12272
|
+
t("div", GH, e((S = (D = i.extraData) == null ? void 0 : D.vessel) == null ? void 0 : S.name), 1)
|
|
12273
12273
|
]),
|
|
12274
12274
|
t("div", IH, [
|
|
12275
12275
|
RH,
|
|
@@ -12281,13 +12281,13 @@ function pU(s, a, o, u, i, l) {
|
|
|
12281
12281
|
]),
|
|
12282
12282
|
t("div", VH, [
|
|
12283
12283
|
zH,
|
|
12284
|
-
t("div", QH, e((
|
|
12284
|
+
t("div", QH, e((U = (G = i.extraData) == null ? void 0 : G.voyage) == null ? void 0 : U.number), 1)
|
|
12285
12285
|
]),
|
|
12286
12286
|
t("div", JH, [
|
|
12287
12287
|
KH,
|
|
12288
12288
|
t("div", XH, [
|
|
12289
|
-
t("span", qH, e((
|
|
12290
|
-
t("span", jH, e(l.computeUTCTime(((
|
|
12289
|
+
t("span", qH, e((I = (Y = i.extraData) == null ? void 0 : Y.departure) == null ? void 0 : I.name), 1),
|
|
12290
|
+
t("span", jH, e(l.computeUTCTime(((N = (T = i.extraData) == null ? void 0 : T.departure) == null ? void 0 : N.atd) || (($ = (K = i.extraData) == null ? void 0 : K.departure) == null ? void 0 : $.etd))), 1)
|
|
12291
12291
|
])
|
|
12292
12292
|
]),
|
|
12293
12293
|
t("div", $H, [
|
|
@@ -12312,7 +12312,7 @@ function pU(s, a, o, u, i, l) {
|
|
|
12312
12312
|
rM,
|
|
12313
12313
|
t("div", {
|
|
12314
12314
|
class: A(`${l.computeColor((lt = (at = i.extraData) == null ? void 0 : at.timeAnalysis) == null ? void 0 : lt.totalExtraTime)} flex blue`)
|
|
12315
|
-
}, e(((z = (
|
|
12315
|
+
}, e(((z = (g = i.extraData) == null ? void 0 : g.timeAnalysis) == null ? void 0 : z.totalExtraTime) ?? "—"), 3)
|
|
12316
12316
|
]),
|
|
12317
12317
|
t("div", uM, [
|
|
12318
12318
|
hM,
|
|
@@ -12430,7 +12430,7 @@ function pU(s, a, o, u, i, l) {
|
|
|
12430
12430
|
t("div", RM, [
|
|
12431
12431
|
NM,
|
|
12432
12432
|
UM,
|
|
12433
|
-
t("div", YM, e(((wt = (
|
|
12433
|
+
t("div", YM, e(((wt = (R = i.extraData) == null ? void 0 : R.timeAnalysis) == null ? void 0 : wt.actualTime) ?? "—"), 1),
|
|
12434
12434
|
t("div", ZM, e(((Vt = (Zt = (Yt = i.extraData) == null ? void 0 : Yt.consAnalysis) == null ? void 0 : Zt.fo) == null ? void 0 : Vt.actualCons) ?? "—"), 1),
|
|
12435
12435
|
t("div", VM, e(((ie = (zt = (Mt = i.extraData) == null ? void 0 : Mt.consAnalysis) == null ? void 0 : zt.dgo) == null ? void 0 : ie.actualCons) ?? "—"), 1),
|
|
12436
12436
|
zM,
|
|
@@ -12464,7 +12464,7 @@ function pU(s, a, o, u, i, l) {
|
|
|
12464
12464
|
onClick: l.handleAdd
|
|
12465
12465
|
}, {
|
|
12466
12466
|
default: ks(() => [
|
|
12467
|
-
L(
|
|
12467
|
+
L(y)
|
|
12468
12468
|
]),
|
|
12469
12469
|
_: 1
|
|
12470
12470
|
}, 8, ["onClick"])
|
|
@@ -12474,9 +12474,9 @@ function pU(s, a, o, u, i, l) {
|
|
|
12474
12474
|
t("table", null, [
|
|
12475
12475
|
uG,
|
|
12476
12476
|
t("tbody", null, [
|
|
12477
|
-
(d(!0), c(
|
|
12477
|
+
(d(!0), c(M, null, rt(i.extraPortList, (_t, ws) => {
|
|
12478
12478
|
var rl, ul, hl, Ce, bl, xl, Cl, gl;
|
|
12479
|
-
return d(), c(
|
|
12479
|
+
return d(), c(M, { key: ws }, [
|
|
12480
12480
|
t("tr", null, [
|
|
12481
12481
|
t("td", hG, [
|
|
12482
12482
|
L(r, {
|
|
@@ -12604,7 +12604,7 @@ function pU(s, a, o, u, i, l) {
|
|
|
12604
12604
|
yG,
|
|
12605
12605
|
bG,
|
|
12606
12606
|
t("td", null, e((($t = (jt = i.extraData) == null ? void 0 : jt.timeAnalysis) == null ? void 0 : $t.portTime) ?? "—"), 1),
|
|
12607
|
-
t("td", null, e(((tt = (
|
|
12607
|
+
t("td", null, e(((tt = (b = (te = i.extraData) == null ? void 0 : te.consAnalysis) == null ? void 0 : b.fo) == null ? void 0 : tt.portCons) ?? "—"), 1),
|
|
12608
12608
|
t("td", null, e(((Qt = (It = (St = i.extraData) == null ? void 0 : St.consAnalysis) == null ? void 0 : It.dgo) == null ? void 0 : Qt.portCons) ?? "—"), 1),
|
|
12609
12609
|
xG,
|
|
12610
12610
|
CG,
|
|
@@ -12924,7 +12924,7 @@ function pU(s, a, o, u, i, l) {
|
|
|
12924
12924
|
class: A(`report-comments ${i.advisory && i.advisory !== "<p><br></p>" ? "" : "print-hidden"}`),
|
|
12925
12925
|
style: { "min-height": "50px" }
|
|
12926
12926
|
}, [
|
|
12927
|
-
i.editable ? (d(), re(
|
|
12927
|
+
i.editable ? (d(), re(m, {
|
|
12928
12928
|
key: 0,
|
|
12929
12929
|
modelValue: i.advisory,
|
|
12930
12930
|
"onUpdate:modelValue": a[8] || (a[8] = (_t) => i.advisory = _t),
|
|
@@ -12994,7 +12994,7 @@ const mU = {
|
|
|
12994
12994
|
},
|
|
12995
12995
|
computeUTCTime() {
|
|
12996
12996
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
12997
|
-
return s ? `${
|
|
12997
|
+
return s ? `${H(s).utc().format(a)}` : "-";
|
|
12998
12998
|
};
|
|
12999
12999
|
},
|
|
13000
13000
|
// 经纬度转换
|
|
@@ -13076,15 +13076,15 @@ const mU = {
|
|
|
13076
13076
|
this.editorDisabled ? this.editable = !1 : this.editable = !0;
|
|
13077
13077
|
},
|
|
13078
13078
|
async handleCommit(s, a, o, u) {
|
|
13079
|
-
var f, r,
|
|
13079
|
+
var f, r, y, O, P;
|
|
13080
13080
|
this.editable = !1;
|
|
13081
13081
|
const i = a.indexOf(".");
|
|
13082
13082
|
let l = {};
|
|
13083
13083
|
if ((o || o == 0) && o != "") {
|
|
13084
13084
|
if (s === "port") {
|
|
13085
13085
|
if (i > 0) {
|
|
13086
|
-
const
|
|
13087
|
-
S !== "date" && (o = Number(o)), this.extraPortList[u][
|
|
13086
|
+
const D = a.substring(0, i), S = a.substring(i + 1);
|
|
13087
|
+
S !== "date" && (o = Number(o)), this.extraPortList[u][D][S] = o;
|
|
13088
13088
|
} else
|
|
13089
13089
|
this.extraPortList[u][a] = o;
|
|
13090
13090
|
l = {
|
|
@@ -13092,7 +13092,7 @@ const mU = {
|
|
|
13092
13092
|
};
|
|
13093
13093
|
} else
|
|
13094
13094
|
s === "comments" ? (this.extraData[a] = o, l = { [a]: o }) : (this.extraData[a] = o, l = { [a]: Number(o) });
|
|
13095
|
-
const
|
|
13095
|
+
const m = await vl.put(
|
|
13096
13096
|
`${this.gateway}/api/als/deviations/${this.id}`,
|
|
13097
13097
|
l,
|
|
13098
13098
|
//要传的参数
|
|
@@ -13102,7 +13102,7 @@ const mU = {
|
|
|
13102
13102
|
}
|
|
13103
13103
|
}
|
|
13104
13104
|
);
|
|
13105
|
-
this.extraData = (f =
|
|
13105
|
+
this.extraData = (f = m == null ? void 0 : m.data) == null ? void 0 : f.data, this.extraPortList = (y = (r = m == null ? void 0 : m.data) == null ? void 0 : r.data) == null ? void 0 : y.extraPorts, this.advisory = (O = this.data) != null && O.comments ? (P = this.data) == null ? void 0 : P.comments : void 0;
|
|
13106
13106
|
} else
|
|
13107
13107
|
Ya({
|
|
13108
13108
|
message: "Value cannot be empty.",
|
|
@@ -13302,22 +13302,22 @@ const mU = {
|
|
|
13302
13302
|
class: "summary-item"
|
|
13303
13303
|
}, VQ = /* @__PURE__ */ W(() => /* @__PURE__ */ t("div", { class: "blue flexM" }, "Consumption in port (hrs)", -1)), zQ = { class: "flex blue center" }, QQ = { class: "flex blue center" }, JQ = { class: "summary-item" }, KQ = /* @__PURE__ */ W(() => /* @__PURE__ */ t("div", { class: "blue flexM" }, "Total extra Consumption (mt)", -1)), XQ = ["innerHTML"];
|
|
13304
13304
|
function qQ(s, a, o, u, i, l) {
|
|
13305
|
-
var
|
|
13306
|
-
const f = it("EditableItem"), r = it("CirclePlus"),
|
|
13305
|
+
var m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt, zt, ie, le, q, Rt, Kt, Xt, qt, jt, $t, te, b, tt, St, It, Qt, xt, ae, de, ce, pe, fe, me, ye, we, ke, Se, Te, Oe, Ee, Pe, Fe, We, Be, Le, He, Me, Ge, Ie, Re, Ne, Ue, Ye, Ze, je, Ss, Os, Es, Ps, Fs, J, ue, Ve, ze, $e, ts, es, ss, os, is, ls, as, ns, ds, cs, rs, us, hs, vs, _s, ps, fs, ms, ys, bs, xs, Cs, gs, Ds, Ws, Bs, Ls, Hs, Ms, Gs, Is, Rs, Ns, Us, Ys, Zs, Vs, zs, Qs, Js, Ks, Xs, qs, js, $s, to, oo, io, lo, ao, no, co, ro, uo, ho, vo, _o, po, fo, mo, yo, bo, xo, Co, go, Do, Ao, wo, ko, So, To, Oo, Je, Fo, Ho, Mo, Go, Io, Ro, No, Uo, Yo, Zo, Vo, zo, Qo, Jo, Ko, Xo, qo, jo, $o, ti, ei, si, oi, ii, li, ai, ni, di, ci, ri, ui, hi, vi, _i, pi, fi, mi, yi, bi, xi, Ci, gi, Di, Ai, wi, ki, Si, Ti, Oi, Ei, Pi, Fi, Wi, Bi, Li, Hi, Mi, Gi, Ii, Ri, Ni, Ui, Yi, Zi, Vi, zi, Qi, Ji, Ki, Xi, qi, ji, $i, tl, el, sl, ol, il, ll, al;
|
|
13306
|
+
const f = it("EditableItem"), r = it("CirclePlus"), y = it("ElIcon"), O = it("Remove"), P = it("Editor");
|
|
13307
13307
|
return d(), c("div", yU, [
|
|
13308
13308
|
bU,
|
|
13309
13309
|
t("div", xU, [
|
|
13310
13310
|
t("div", CU, [
|
|
13311
13311
|
t("div", gU, [
|
|
13312
13312
|
DU,
|
|
13313
|
-
t("div", AU, e(l.computeUTCTime((
|
|
13313
|
+
t("div", AU, e(l.computeUTCTime((m = i.extraData) == null ? void 0 : m.createdAt, "dddd,MMM DD,YYYY")), 1)
|
|
13314
13314
|
])
|
|
13315
13315
|
])
|
|
13316
13316
|
]),
|
|
13317
13317
|
t("div", wU, [
|
|
13318
13318
|
t("div", kU, [
|
|
13319
13319
|
SU,
|
|
13320
|
-
t("div", TU, e((S = (
|
|
13320
|
+
t("div", TU, e((S = (D = i.extraData) == null ? void 0 : D.vessel) == null ? void 0 : S.name), 1)
|
|
13321
13321
|
]),
|
|
13322
13322
|
t("div", OU, [
|
|
13323
13323
|
EU,
|
|
@@ -13329,13 +13329,13 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13329
13329
|
]),
|
|
13330
13330
|
t("div", LU, [
|
|
13331
13331
|
HU,
|
|
13332
|
-
t("div", MU, e((
|
|
13332
|
+
t("div", MU, e((U = (G = i.extraData) == null ? void 0 : G.voyage) == null ? void 0 : U.number), 1)
|
|
13333
13333
|
]),
|
|
13334
13334
|
t("div", GU, [
|
|
13335
13335
|
IU,
|
|
13336
13336
|
t("div", RU, [
|
|
13337
|
-
t("span", NU, e((
|
|
13338
|
-
t("span", UU, e(l.computeUTCTime(((
|
|
13337
|
+
t("span", NU, e((I = (Y = i.extraData) == null ? void 0 : Y.departure) == null ? void 0 : I.name), 1),
|
|
13338
|
+
t("span", UU, e(l.computeUTCTime(((N = (T = i.extraData) == null ? void 0 : T.departure) == null ? void 0 : N.atd) || (($ = (K = i.extraData) == null ? void 0 : K.departure) == null ? void 0 : $.etd))), 1)
|
|
13339
13339
|
])
|
|
13340
13340
|
]),
|
|
13341
13341
|
t("div", YU, [
|
|
@@ -13358,7 +13358,7 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13358
13358
|
$U,
|
|
13359
13359
|
t("div", {
|
|
13360
13360
|
class: A(`${l.computeColor((lt = (at = i.extraData) == null ? void 0 : at.timeAnalysis) == null ? void 0 : lt.totalExtraTime)} flex blue`)
|
|
13361
|
-
}, e(((z = (
|
|
13361
|
+
}, e(((z = (g = i.extraData) == null ? void 0 : g.timeAnalysis) == null ? void 0 : z.totalExtraTime) ?? "—"), 3)
|
|
13362
13362
|
]),
|
|
13363
13363
|
t("div", tY, [
|
|
13364
13364
|
eY,
|
|
@@ -13473,7 +13473,7 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13473
13473
|
t("div", TY, [
|
|
13474
13474
|
OY,
|
|
13475
13475
|
EY,
|
|
13476
|
-
t("div", PY, e(((
|
|
13476
|
+
t("div", PY, e(((R = (kt = i.extraData) == null ? void 0 : kt.timeAnalysis) == null ? void 0 : R.actualTime) ?? "—"), 1),
|
|
13477
13477
|
t("div", FY, e(((Zt = (Yt = (wt = i.extraData) == null ? void 0 : wt.consAnalysis) == null ? void 0 : Yt.fo) == null ? void 0 : Zt.actualCons) ?? "—"), 1),
|
|
13478
13478
|
t("div", WY, e(((zt = (Mt = (Vt = i.extraData) == null ? void 0 : Vt.consAnalysis) == null ? void 0 : Mt.dgo) == null ? void 0 : zt.actualCons) ?? "—"), 1),
|
|
13479
13479
|
BY,
|
|
@@ -13498,7 +13498,7 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13498
13498
|
t("div", QY, [
|
|
13499
13499
|
JY,
|
|
13500
13500
|
t("div", KY, [
|
|
13501
|
-
L(
|
|
13501
|
+
L(y, {
|
|
13502
13502
|
size: 20,
|
|
13503
13503
|
onClick: l.handleAdd
|
|
13504
13504
|
}, {
|
|
@@ -13513,9 +13513,9 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13513
13513
|
t("table", null, [
|
|
13514
13514
|
qY,
|
|
13515
13515
|
t("tbody", null, [
|
|
13516
|
-
(d(!0), c(
|
|
13516
|
+
(d(!0), c(M, null, rt(i.extraPortList, (vt, As) => {
|
|
13517
13517
|
var nl, dl, cl, _t, ws, rl, ul, hl;
|
|
13518
|
-
return d(), c(
|
|
13518
|
+
return d(), c(M, { key: As }, [
|
|
13519
13519
|
t("tr", null, [
|
|
13520
13520
|
t("td", jY, [
|
|
13521
13521
|
L(f, {
|
|
@@ -13567,7 +13567,7 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13567
13567
|
tZ,
|
|
13568
13568
|
eZ,
|
|
13569
13569
|
t("td", sZ, [
|
|
13570
|
-
L(
|
|
13570
|
+
L(y, {
|
|
13571
13571
|
size: 20,
|
|
13572
13572
|
onClick: (Ce) => l.handleRemove(As)
|
|
13573
13573
|
}, {
|
|
@@ -13643,7 +13643,7 @@ function qQ(s, a, o, u, i, l) {
|
|
|
13643
13643
|
iZ,
|
|
13644
13644
|
lZ,
|
|
13645
13645
|
t("td", null, e(((jt = (qt = i.extraData) == null ? void 0 : qt.timeAnalysis) == null ? void 0 : jt.portTime) ?? "—"), 1),
|
|
13646
|
-
t("td", null, e(((
|
|
13646
|
+
t("td", null, e(((b = (te = ($t = i.extraData) == null ? void 0 : $t.consAnalysis) == null ? void 0 : te.fo) == null ? void 0 : b.portCons) ?? "—"), 1),
|
|
13647
13647
|
t("td", null, e(((It = (St = (tt = i.extraData) == null ? void 0 : tt.consAnalysis) == null ? void 0 : St.dgo) == null ? void 0 : It.portCons) ?? "—"), 1),
|
|
13648
13648
|
aZ,
|
|
13649
13649
|
nZ,
|
|
@@ -13994,7 +13994,7 @@ const $Q = {
|
|
|
13994
13994
|
computed: {
|
|
13995
13995
|
computeUTCTime() {
|
|
13996
13996
|
return function(s, a = "MMM-DD/HHmm[Z]") {
|
|
13997
|
-
return `${
|
|
13997
|
+
return `${H(s).utc().format(a)}`;
|
|
13998
13998
|
};
|
|
13999
13999
|
},
|
|
14000
14000
|
computeLat() {
|
|
@@ -14041,14 +14041,14 @@ const $Q = {
|
|
|
14041
14041
|
])
|
|
14042
14042
|
], -1)), LJ = /* @__PURE__ */ eo(() => /* @__PURE__ */ t("td", null, "Stopped", -1)), HJ = { rowspan: 2 }, MJ = { rowspan: 2 }, GJ = { rowspan: 2 }, IJ = /* @__PURE__ */ eo(() => /* @__PURE__ */ t("td", null, "Resumed", -1)), RJ = { class: "report-map" }, NJ = ["src"];
|
|
14043
14043
|
function UJ(s, a, o, u, i, l) {
|
|
14044
|
-
var r,
|
|
14044
|
+
var r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft;
|
|
14045
14045
|
const f = it("IdmBrand");
|
|
14046
14046
|
return d(), c("div", tJ, [
|
|
14047
14047
|
L(f, { name: "Voyage Stoppage Report" }),
|
|
14048
14048
|
t("div", eJ, [
|
|
14049
14049
|
t("div", sJ, [
|
|
14050
14050
|
oJ,
|
|
14051
|
-
t("div", iJ, e((
|
|
14051
|
+
t("div", iJ, e((y = (r = o.report) == null ? void 0 : r.vessel) == null ? void 0 : y.name), 1)
|
|
14052
14052
|
]),
|
|
14053
14053
|
t("div", lJ, [
|
|
14054
14054
|
aJ,
|
|
@@ -14056,24 +14056,24 @@ function UJ(s, a, o, u, i, l) {
|
|
|
14056
14056
|
]),
|
|
14057
14057
|
t("div", dJ, [
|
|
14058
14058
|
cJ,
|
|
14059
|
-
t("div", rJ, e((
|
|
14059
|
+
t("div", rJ, e((m = (P = o.report) == null ? void 0 : P.vessel) == null ? void 0 : m.type), 1)
|
|
14060
14060
|
]),
|
|
14061
14061
|
t("div", uJ, [
|
|
14062
14062
|
hJ,
|
|
14063
|
-
t("div", vJ, e((S = (
|
|
14063
|
+
t("div", vJ, e((S = (D = o.report) == null ? void 0 : D.voyage) == null ? void 0 : S.number), 1)
|
|
14064
14064
|
]),
|
|
14065
14065
|
t("div", _J, [
|
|
14066
14066
|
pJ,
|
|
14067
14067
|
t("div", fJ, [
|
|
14068
14068
|
t("span", mJ, e((E = (v = o.report) == null ? void 0 : v.departure) == null ? void 0 : E.name), 1),
|
|
14069
|
-
t("span", yJ, e(l.computeUTCTime(((G = (F = o.report) == null ? void 0 : F.departure) == null ? void 0 : G.atd) || ((
|
|
14069
|
+
t("span", yJ, e(l.computeUTCTime(((G = (F = o.report) == null ? void 0 : F.departure) == null ? void 0 : G.atd) || ((Y = (U = o.report) == null ? void 0 : U.departure) == null ? void 0 : Y.etd))), 1)
|
|
14070
14070
|
])
|
|
14071
14071
|
]),
|
|
14072
14072
|
t("div", bJ, [
|
|
14073
14073
|
xJ,
|
|
14074
14074
|
t("div", CJ, [
|
|
14075
|
-
t("span", gJ, e((T = (
|
|
14076
|
-
t("span", DJ, e(l.computeUTCTime(((K = (
|
|
14075
|
+
t("span", gJ, e((T = (I = o.report) == null ? void 0 : I.arrival) == null ? void 0 : T.name), 1),
|
|
14076
|
+
t("span", DJ, e(l.computeUTCTime(((K = (N = o.report) == null ? void 0 : N.arrival) == null ? void 0 : K.ata) || ((X = ($ = o.report) == null ? void 0 : $.arrival) == null ? void 0 : X.eta))), 1)
|
|
14077
14077
|
])
|
|
14078
14078
|
])
|
|
14079
14079
|
]),
|
|
@@ -14110,7 +14110,7 @@ function UJ(s, a, o, u, i, l) {
|
|
|
14110
14110
|
LJ,
|
|
14111
14111
|
t("td", null, e(l.computeLat((ot = o.report) == null ? void 0 : ot.stopLat).pretty) + " / " + e(l.computeLng((at = o.report) == null ? void 0 : at.stopLng).pretty), 1),
|
|
14112
14112
|
t("td", null, e(l.computeUTCTime((lt = o.report) == null ? void 0 : lt.stopTime)), 1),
|
|
14113
|
-
t("td", null, e(l.computeRoundPrecision(((
|
|
14113
|
+
t("td", null, e(l.computeRoundPrecision(((g = o.report) == null ? void 0 : g.stopFoBrob) ?? "-")), 1),
|
|
14114
14114
|
t("td", null, e(l.computeRoundPrecision(((z = o.report) == null ? void 0 : z.stopDgoBrob) ?? "-")), 1),
|
|
14115
14115
|
t("td", HJ, e(l.computeRoundPrecision(((et = o.report) == null ? void 0 : et.totalTime) ?? "-")), 1),
|
|
14116
14116
|
t("td", MJ, e(l.computeRoundPrecision(((n = o.report) == null ? void 0 : n.totalFoCons) ?? "-")), 1),
|
|
@@ -14184,7 +14184,7 @@ const ZJ = {
|
|
|
14184
14184
|
computed: {
|
|
14185
14185
|
computeUTCTime() {
|
|
14186
14186
|
return function(s, a = "MMM-DD/HHmm") {
|
|
14187
|
-
return s ? `${
|
|
14187
|
+
return s ? `${H(s).utc().format(a)}Z` : "-";
|
|
14188
14188
|
};
|
|
14189
14189
|
},
|
|
14190
14190
|
computeColor() {
|
|
@@ -14301,7 +14301,7 @@ const ZJ = {
|
|
|
14301
14301
|
style: { width: "35%" }
|
|
14302
14302
|
}, "Diff DO/GO Consumption (mt)", -1)), KX = { class: "flex blue-light center italic" }, XX = ["innerHTML"];
|
|
14303
14303
|
function qX(s, a, o, u, i, l) {
|
|
14304
|
-
var
|
|
14304
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt, Mt;
|
|
14305
14305
|
const f = it("IdmBrand"), r = it("Editor");
|
|
14306
14306
|
return d(), c("div", VJ, [
|
|
14307
14307
|
L(f),
|
|
@@ -14315,7 +14315,7 @@ function qX(s, a, o, u, i, l) {
|
|
|
14315
14315
|
}, null, 8, KJ),
|
|
14316
14316
|
t("div", XJ, [
|
|
14317
14317
|
qJ,
|
|
14318
|
-
t("div", jJ, e(l.computeUTCTime(((
|
|
14318
|
+
t("div", jJ, e(l.computeUTCTime(((y = i.comparisonData) == null ? void 0 : y.createdAt) ?? "", "dddd,MMM DD,YYYY")), 1)
|
|
14319
14319
|
])
|
|
14320
14320
|
])
|
|
14321
14321
|
]),
|
|
@@ -14326,11 +14326,11 @@ function qX(s, a, o, u, i, l) {
|
|
|
14326
14326
|
]),
|
|
14327
14327
|
t("div", oK, [
|
|
14328
14328
|
iK,
|
|
14329
|
-
t("div", lK, e((
|
|
14329
|
+
t("div", lK, e((m = i.comparisonData) == null ? void 0 : m.preparedFor), 1)
|
|
14330
14330
|
]),
|
|
14331
14331
|
t("div", aK, [
|
|
14332
14332
|
nK,
|
|
14333
|
-
t("div", dK, e((S = (
|
|
14333
|
+
t("div", dK, e((S = (D = i.comparisonData) == null ? void 0 : D.vessel) == null ? void 0 : S.type), 1)
|
|
14334
14334
|
]),
|
|
14335
14335
|
t("div", cK, [
|
|
14336
14336
|
rK,
|
|
@@ -14343,8 +14343,8 @@ function qX(s, a, o, u, i, l) {
|
|
|
14343
14343
|
t("div", pK, [
|
|
14344
14344
|
fK,
|
|
14345
14345
|
t("div", mK, [
|
|
14346
|
-
t("span", yK, e((
|
|
14347
|
-
t("span", bK, e(l.computeUTCTime(((T = (
|
|
14346
|
+
t("span", yK, e((Y = (U = i.comparisonData) == null ? void 0 : U.departure) == null ? void 0 : Y.name), 1),
|
|
14347
|
+
t("span", bK, e(l.computeUTCTime(((T = (I = i.comparisonData) == null ? void 0 : I.departure) == null ? void 0 : T.atd) || ((K = (N = i.comparisonData) == null ? void 0 : N.departure) == null ? void 0 : K.etd))), 1)
|
|
14348
14348
|
])
|
|
14349
14349
|
]),
|
|
14350
14350
|
t("div", xK, [
|
|
@@ -14373,7 +14373,7 @@ function qX(s, a, o, u, i, l) {
|
|
|
14373
14373
|
FK,
|
|
14374
14374
|
t("div", {
|
|
14375
14375
|
class: A(`${l.computeColor((lt = i.comparisonData) == null ? void 0 : lt.diffDgoCons)} flex blue`)
|
|
14376
|
-
}, e(l.computeSummary((
|
|
14376
|
+
}, e(l.computeSummary((g = i.comparisonData) == null ? void 0 : g.diffDgoCons, "oil")), 3)
|
|
14377
14377
|
])
|
|
14378
14378
|
]),
|
|
14379
14379
|
WK,
|
|
@@ -14454,7 +14454,7 @@ function qX(s, a, o, u, i, l) {
|
|
|
14454
14454
|
]),
|
|
14455
14455
|
t("div", HX, [
|
|
14456
14456
|
MX,
|
|
14457
|
-
t("div", GX, e(((
|
|
14457
|
+
t("div", GX, e(((R = i.comparisonData) == null ? void 0 : R.actualAvgDgoCons) ?? "-"), 1),
|
|
14458
14458
|
t("div", IX, e(((wt = i.comparisonData) == null ? void 0 : wt.recmdAvgDgoCons) ?? "-"), 1)
|
|
14459
14459
|
]),
|
|
14460
14460
|
t("div", RX, [
|
|
@@ -14537,7 +14537,7 @@ const $X = {
|
|
|
14537
14537
|
computed: {
|
|
14538
14538
|
computeUTCTime() {
|
|
14539
14539
|
return function(s, a = "MMM-DD/HHmm") {
|
|
14540
|
-
return s ? `${
|
|
14540
|
+
return s ? `${H(s).utc().format(a)}Z` : "-";
|
|
14541
14541
|
};
|
|
14542
14542
|
},
|
|
14543
14543
|
computeColor() {
|
|
@@ -14654,7 +14654,7 @@ const $X = {
|
|
|
14654
14654
|
style: { width: "35%" }
|
|
14655
14655
|
}, "Diff DO/GO Consumption (mt)", -1)), o$ = { class: "flex blue-light center italic" }, i$ = ["innerHTML"];
|
|
14656
14656
|
function l$(s, a, o, u, i, l) {
|
|
14657
|
-
var r,
|
|
14657
|
+
var r, y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z, w, j, Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht, Nt, Ut, kt, R, wt, Yt, Zt, Vt;
|
|
14658
14658
|
const f = it("Editor");
|
|
14659
14659
|
return d(), c("div", tq, [
|
|
14660
14660
|
eq,
|
|
@@ -14669,7 +14669,7 @@ function l$(s, a, o, u, i, l) {
|
|
|
14669
14669
|
t("div", nq, [
|
|
14670
14670
|
t("div", dq, [
|
|
14671
14671
|
cq,
|
|
14672
|
-
t("div", rq, e((O = (
|
|
14672
|
+
t("div", rq, e((O = (y = i.comparisonData) == null ? void 0 : y.vessel) == null ? void 0 : O.name), 1)
|
|
14673
14673
|
]),
|
|
14674
14674
|
t("div", uq, [
|
|
14675
14675
|
hq,
|
|
@@ -14677,7 +14677,7 @@ function l$(s, a, o, u, i, l) {
|
|
|
14677
14677
|
]),
|
|
14678
14678
|
t("div", _q, [
|
|
14679
14679
|
pq,
|
|
14680
|
-
t("div", fq, e((
|
|
14680
|
+
t("div", fq, e((D = (m = i.comparisonData) == null ? void 0 : m.vessel) == null ? void 0 : D.type), 1)
|
|
14681
14681
|
]),
|
|
14682
14682
|
t("div", mq, [
|
|
14683
14683
|
yq,
|
|
@@ -14690,8 +14690,8 @@ function l$(s, a, o, u, i, l) {
|
|
|
14690
14690
|
t("div", Dq, [
|
|
14691
14691
|
Aq,
|
|
14692
14692
|
t("div", wq, [
|
|
14693
|
-
t("span", kq, e((
|
|
14694
|
-
t("span", Sq, e(l.computeUTCTime(((
|
|
14693
|
+
t("span", kq, e((U = (G = i.comparisonData) == null ? void 0 : G.departure) == null ? void 0 : U.name), 1),
|
|
14694
|
+
t("span", Sq, e(l.computeUTCTime(((I = (Y = i.comparisonData) == null ? void 0 : Y.departure) == null ? void 0 : I.atd) || ((N = (T = i.comparisonData) == null ? void 0 : T.departure) == null ? void 0 : N.etd))), 1)
|
|
14695
14695
|
])
|
|
14696
14696
|
]),
|
|
14697
14697
|
t("div", Tq, [
|
|
@@ -14727,7 +14727,7 @@ function l$(s, a, o, u, i, l) {
|
|
|
14727
14727
|
t("div", Uq, [
|
|
14728
14728
|
t("img", {
|
|
14729
14729
|
style: { width: "100%" },
|
|
14730
|
-
src: (
|
|
14730
|
+
src: (g = i.comparisonData) == null ? void 0 : g.chartUrl,
|
|
14731
14731
|
alt: ""
|
|
14732
14732
|
}, null, 8, Yq),
|
|
14733
14733
|
Zq
|
|
@@ -14802,7 +14802,7 @@ function l$(s, a, o, u, i, l) {
|
|
|
14802
14802
|
t("div", Zj, [
|
|
14803
14803
|
Vj,
|
|
14804
14804
|
t("div", zj, e(((kt = i.comparisonData) == null ? void 0 : kt.actualAvgDgoCons) ?? "-"), 1),
|
|
14805
|
-
t("div", Qj, e(((
|
|
14805
|
+
t("div", Qj, e(((R = i.comparisonData) == null ? void 0 : R.recmdAvgDgoCons) ?? "-"), 1)
|
|
14806
14806
|
]),
|
|
14807
14807
|
t("div", Jj, [
|
|
14808
14808
|
Kj,
|
|
@@ -15429,13 +15429,13 @@ function f$(s, a, o, u, i, l) {
|
|
|
15429
15429
|
t("thead", null, [
|
|
15430
15430
|
t("tr", null, [
|
|
15431
15431
|
u$,
|
|
15432
|
-
(d(!0), c(
|
|
15432
|
+
(d(!0), c(M, null, rt(i.area, (r) => (d(), c("td", {
|
|
15433
15433
|
key: r.rank,
|
|
15434
15434
|
class: "label"
|
|
15435
15435
|
}, e(r.rank), 1))), 128))
|
|
15436
15436
|
]),
|
|
15437
15437
|
t("tr", null, [
|
|
15438
|
-
(d(!0), c(
|
|
15438
|
+
(d(!0), c(M, null, rt(i.area, (r) => (d(), c("td", {
|
|
15439
15439
|
key: r.rank,
|
|
15440
15440
|
style: be({ width: r.width }),
|
|
15441
15441
|
class: "label"
|
|
@@ -15443,12 +15443,12 @@ function f$(s, a, o, u, i, l) {
|
|
|
15443
15443
|
])
|
|
15444
15444
|
]),
|
|
15445
15445
|
t("tbody", null, [
|
|
15446
|
-
(d(!0), c(
|
|
15446
|
+
(d(!0), c(M, null, rt(i.area, (r, y) => (d(), c("tr", { key: y }, [
|
|
15447
15447
|
t("td", h$, e(r.rank), 1),
|
|
15448
15448
|
t("td", v$, e(r.name), 1),
|
|
15449
|
-
(d(!0), c(
|
|
15449
|
+
(d(!0), c(M, null, rt(i.area.length, (O) => (d(), c("td", {
|
|
15450
15450
|
key: O,
|
|
15451
|
-
innerHTML: i.quota[
|
|
15451
|
+
innerHTML: i.quota[y][O - 1] || ""
|
|
15452
15452
|
}, null, 8, _$))), 128))
|
|
15453
15453
|
]))), 128))
|
|
15454
15454
|
])
|
|
@@ -15542,7 +15542,7 @@ const y$ = {
|
|
|
15542
15542
|
},
|
|
15543
15543
|
computeLTime() {
|
|
15544
15544
|
return function(s, a = 8, o = "MMM-DD/HHmm[LT]") {
|
|
15545
|
-
return `${
|
|
15545
|
+
return `${H(s).utcOffset(a).format(o)}`;
|
|
15546
15546
|
};
|
|
15547
15547
|
},
|
|
15548
15548
|
computeTZ() {
|
|
@@ -15571,29 +15571,29 @@ const y$ = {
|
|
|
15571
15571
|
},
|
|
15572
15572
|
computeForm() {
|
|
15573
15573
|
return function(s) {
|
|
15574
|
-
var i, l, f, r,
|
|
15574
|
+
var i, l, f, r, y, O, P;
|
|
15575
15575
|
const a = ee.guessTimeZoneOffset(s.lng, s.lat);
|
|
15576
15576
|
s.localTZ = a;
|
|
15577
15577
|
const o = {};
|
|
15578
|
-
for (let
|
|
15579
|
-
const
|
|
15580
|
-
if (
|
|
15581
|
-
|
|
15578
|
+
for (let m = 0; m < ((i = s == null ? void 0 : s.extend) == null ? void 0 : i.length); m++) {
|
|
15579
|
+
const D = s == null ? void 0 : s.extend[m];
|
|
15580
|
+
if (m === 0)
|
|
15581
|
+
D.precip.pacc = 0;
|
|
15582
15582
|
else {
|
|
15583
|
-
const
|
|
15584
|
-
if (
|
|
15585
|
-
const
|
|
15586
|
-
|
|
15587
|
-
pacc:
|
|
15583
|
+
const S = H(D.utc).utcOffset(a), v = (l = D.precip) == null ? void 0 : l.acc;
|
|
15584
|
+
if (D.precip.pacc = v, v > 0) {
|
|
15585
|
+
const E = o[S.format("MMM-DD")], F = Math.floor(S.get("hour") / 6);
|
|
15586
|
+
E ? (E.pacc = this.roundPrecision(E.pacc + v, 1), E[`${F}`] ? E[`${F}`] += v : (E[`${F}`] = v, E.colspan += 1)) : (o[S.format("MMM-DD")] = {
|
|
15587
|
+
pacc: v,
|
|
15588
15588
|
colspan: 1
|
|
15589
|
-
}, o[
|
|
15589
|
+
}, o[S.format("MMM-DD")][`${F}`] = v);
|
|
15590
15590
|
}
|
|
15591
15591
|
}
|
|
15592
15592
|
}
|
|
15593
15593
|
s.paccInDays = o;
|
|
15594
15594
|
let u = 0;
|
|
15595
|
-
for (const
|
|
15596
|
-
u += (
|
|
15595
|
+
for (const m of Object.keys(o))
|
|
15596
|
+
u += (f = o[m]) == null ? void 0 : f.colspan, o[m].level = ((r = o[m]) == null ? void 0 : r.pacc) < 10 ? "Light" : ((y = o[m]) == null ? void 0 : y.pacc) < 24.9 ? "Moderate" : ((O = o[m]) == null ? void 0 : O.pacc) < 49.9 ? "Heavy" : ((P = o[m]) == null ? void 0 : P.pacc) < 99.9 ? "Rainstorm" : "HeavyRainstorm";
|
|
15597
15597
|
return s.span = u, s;
|
|
15598
15598
|
};
|
|
15599
15599
|
}
|
|
@@ -15618,9 +15618,9 @@ const y$ = {
|
|
|
15618
15618
|
};
|
|
15619
15619
|
let l = 4;
|
|
15620
15620
|
(a = (s = this.form) == null ? void 0 : s.extend) == null || a.forEach((r) => {
|
|
15621
|
-
var O, P,
|
|
15622
|
-
const
|
|
15623
|
-
o.push(
|
|
15621
|
+
var O, P, m, D, S, v, E, F, G, U, Y, I, T, N;
|
|
15622
|
+
const y = H(r.utc).utcOffset((O = this.form) == null ? void 0 : O.localTZ).format("MMM-DD/HHmm[LT]");
|
|
15623
|
+
o.push(y), l = ((m = (P = r.wave) == null ? void 0 : P.sig) == null ? void 0 : m.height) > l ? (S = (D = r.wave) == null ? void 0 : D.sig) == null ? void 0 : S.height : l, u.push([y, (v = r.wind) == null ? void 0 : v.kts, (E = r.gusts) == null ? void 0 : E.kts, (G = (F = r.wave) == null ? void 0 : F.sig) == null ? void 0 : G.height, (U = r.wind) == null ? void 0 : U.direction, (Y = r.wind) == null ? void 0 : Y.degree, (I = r.wind) == null ? void 0 : I.scale, (T = r.current) == null ? void 0 : T.kts, (N = r.precip) == null ? void 0 : N.pacc, this.roundPrecision(r.visibility / 1852, 0), r.temp]);
|
|
15624
15624
|
});
|
|
15625
15625
|
const f = {
|
|
15626
15626
|
animation: !1,
|
|
@@ -15926,7 +15926,7 @@ const y$ = {
|
|
|
15926
15926
|
(a = this.map) == null || a.flyTo({ center: [s.lng, s.lat], zoom: 8 });
|
|
15927
15927
|
}
|
|
15928
15928
|
}
|
|
15929
|
-
}, qe = (s) => (he("data-v-
|
|
15929
|
+
}, qe = (s) => (he("data-v-eec28d50"), s = s(), ve(), s), b$ = { class: "precipitation-report" }, x$ = { class: "section area-section" }, C$ = { class: "area-block" }, g$ = { class: "area-header flex-space" }, D$ = { class: "flex-start" }, A$ = ["onClick"], w$ = { class: "flex-end" }, k$ = { class: "area-body" }, S$ = /* @__PURE__ */ ut('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eec28d50>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eec28d50><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eec28d50>Heavy Rainstorm (>100mm)</div></div>', 2), T$ = { class: "flex-evenly" }, O$ = { key: 0 }, E$ = ["colspan"], P$ = ["colspan"], F$ = { style: { "font-size": "10px" } }, W$ = { key: 0 }, B$ = { key: 1 }, L$ = { key: 2 }, H$ = { key: 3 }, M$ = { key: 0 }, G$ = {
|
|
15930
15930
|
key: 1,
|
|
15931
15931
|
style: { "font-size": "14px" }
|
|
15932
15932
|
}, I$ = /* @__PURE__ */ qe(() => /* @__PURE__ */ t("div", { class: "section map-section" }, [
|
|
@@ -15947,12 +15947,12 @@ const y$ = {
|
|
|
15947
15947
|
}, mtt = { key: 1 }, ytt = {
|
|
15948
15948
|
key: 0,
|
|
15949
15949
|
class: "degree-box"
|
|
15950
|
-
}, btt = { key: 1 }, xtt = { class: "section area-section" }, Ctt = { class: "area-block" }, gtt = { class: "area-header flex-end" }, Dtt = { class: "flex-end" }, Att = { class: "area-body" }, wtt = /* @__PURE__ */ ut('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-
|
|
15950
|
+
}, btt = { key: 1 }, xtt = { class: "section area-section" }, Ctt = { class: "area-block" }, gtt = { class: "area-header flex-end" }, Dtt = { class: "flex-end" }, Att = { class: "area-body" }, wtt = /* @__PURE__ */ ut('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eec28d50>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eec28d50><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Light (<10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Moderate (<24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Heavy (<49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Rainstorm (<99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eec28d50>Heavy Rainstorm (>100mm)</div></div>', 2), ktt = ["colspan"], Stt = ["colspan"], Ttt = { style: { "font-size": "10px" } }, Ott = { key: 0 }, Ett = { key: 1 }, Ptt = { key: 2 }, Ftt = { key: 3 }, Wtt = {
|
|
15951
15951
|
key: 1,
|
|
15952
15952
|
style: { "font-size": "14px" }
|
|
15953
15953
|
}, Btt = { key: 0 };
|
|
15954
15954
|
function Ltt(s, a, o, u, i, l) {
|
|
15955
|
-
var
|
|
15955
|
+
var y, O, P, m, D, S, v, E, F, G, U, Y, I, T, N, K, $, X, Z;
|
|
15956
15956
|
const f = it("IdmBrand"), r = it("IdmLoading");
|
|
15957
15957
|
return d(), c("div", b$, [
|
|
15958
15958
|
L(f, { name: "Precipitation Accumulation" }),
|
|
@@ -15965,7 +15965,7 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
15965
15965
|
t("div", C$, [
|
|
15966
15966
|
t("div", g$, [
|
|
15967
15967
|
t("div", D$, [
|
|
15968
|
-
(d(!0), c(
|
|
15968
|
+
(d(!0), c(M, null, rt((y = o.report) == null ? void 0 : y.rows, (w, j) => (d(), c("div", {
|
|
15969
15969
|
key: j,
|
|
15970
15970
|
class: A(i.index === j ? "header-item active" : "header-item"),
|
|
15971
15971
|
onClick: (Q) => {
|
|
@@ -15992,12 +15992,12 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
15992
15992
|
style: { "text-align": "left" }
|
|
15993
15993
|
}, [
|
|
15994
15994
|
t("b", null, "[" + e((O = i.form) == null ? void 0 : O.rank) + "] ", 1),
|
|
15995
|
-
t("b", null, e((P = i.form) == null ? void 0 : P.name) + " (" + e(l.computeLat((
|
|
15996
|
-
t("span", null, "(from " + e(l.computeLTime((v = (S = i.form) == null ? void 0 : S.extend) == null ? void 0 : v[0].utc, (E = i.form) == null ? void 0 : E.localTZ)) + " to " + e(l.computeLTime((G = (F = i.form) == null ? void 0 : F.extend) == null ? void 0 : G.at(-1).utc, (
|
|
15995
|
+
t("b", null, e((P = i.form) == null ? void 0 : P.name) + " (" + e(l.computeLat((m = i.form) == null ? void 0 : m.lat).pretty) + " / " + e(l.computeLng((D = i.form) == null ? void 0 : D.lng).pretty) + ") ", 1),
|
|
15996
|
+
t("span", null, "(from " + e(l.computeLTime((v = (S = i.form) == null ? void 0 : S.extend) == null ? void 0 : v[0].utc, (E = i.form) == null ? void 0 : E.localTZ)) + " to " + e(l.computeLTime((G = (F = i.form) == null ? void 0 : F.extend) == null ? void 0 : G.at(-1).utc, (U = i.form) == null ? void 0 : U.localTZ)) + ", " + e(l.computeTZ((Y = i.form) == null ? void 0 : Y.localTZ)) + ")", 1)
|
|
15997
15997
|
], 8, E$)
|
|
15998
15998
|
]),
|
|
15999
15999
|
t("tr", null, [
|
|
16000
|
-
(d(!0), c(
|
|
16000
|
+
(d(!0), c(M, null, rt(Object.keys((I = i.form) == null ? void 0 : I.paccInDays), (w, j) => {
|
|
16001
16001
|
var Q;
|
|
16002
16002
|
return d(), c("th", {
|
|
16003
16003
|
key: j,
|
|
@@ -16007,10 +16007,10 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16007
16007
|
}), 128))
|
|
16008
16008
|
]),
|
|
16009
16009
|
t("tr", F$, [
|
|
16010
|
-
(d(!0), c(
|
|
16010
|
+
(d(!0), c(M, null, rt(Object.keys((T = i.form) == null ? void 0 : T.paccInDays), (w, j) => {
|
|
16011
16011
|
var Q;
|
|
16012
|
-
return d(), c(
|
|
16013
|
-
(d(!0), c(
|
|
16012
|
+
return d(), c(M, { key: j }, [
|
|
16013
|
+
(d(!0), c(M, null, rt(Object.keys((Q = i.form) == null ? void 0 : Q.paccInDays[w]), (V, st) => (d(), c(M, { key: st }, [
|
|
16014
16014
|
V === "0" ? (d(), c("th", W$, "00-06")) : x("", !0),
|
|
16015
16015
|
V === "1" ? (d(), c("th", B$, "06-12")) : x("", !0),
|
|
16016
16016
|
V === "2" ? (d(), c("th", L$, "12-18")) : x("", !0),
|
|
@@ -16022,12 +16022,12 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16022
16022
|
]),
|
|
16023
16023
|
t("tbody", null, [
|
|
16024
16024
|
t("tr", null, [
|
|
16025
|
-
(K = Object.keys((
|
|
16025
|
+
(K = Object.keys((N = i.form) == null ? void 0 : N.paccInDays)) != null && K.length ? (d(!0), c(M, { key: 0 }, rt(Object.keys(($ = i.form) == null ? void 0 : $.paccInDays), (w, j) => {
|
|
16026
16026
|
var Q;
|
|
16027
|
-
return d(), c(
|
|
16028
|
-
(d(!0), c(
|
|
16027
|
+
return d(), c(M, { key: j }, [
|
|
16028
|
+
(d(!0), c(M, null, rt(Object.keys((Q = i.form) == null ? void 0 : Q.paccInDays[w]), (V, st) => {
|
|
16029
16029
|
var ot;
|
|
16030
|
-
return d(), c(
|
|
16030
|
+
return d(), c(M, { key: st }, [
|
|
16031
16031
|
["0", "1", "2", "3"].includes(V) ? (d(), c("td", M$, e(l.roundPrecision((ot = i.form) == null ? void 0 : ot.paccInDays[w][V], 1)), 1)) : x("", !0)
|
|
16032
16032
|
], 64);
|
|
16033
16033
|
}), 128))
|
|
@@ -16077,8 +16077,8 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16077
16077
|
])
|
|
16078
16078
|
]),
|
|
16079
16079
|
t("tbody", null, [
|
|
16080
|
-
(d(!0), c(
|
|
16081
|
-
var Q, V, st, ot, at, lt,
|
|
16080
|
+
(d(!0), c(M, null, rt((X = i.form) == null ? void 0 : X.extend, (w, j) => {
|
|
16081
|
+
var Q, V, st, ot, at, lt, g, z, et, n, nt, h, dt, ht, ct, pt, ft, yt, bt, Ct, gt, Dt, mt, At, Et, Pt, Ft, Wt, Bt, Lt, Ht;
|
|
16082
16082
|
return d(), c("tr", { key: j }, [
|
|
16083
16083
|
t("td", utt, e(l.computeLTime(w.utc, (Q = i.form) == null ? void 0 : Q.localTZ)), 1),
|
|
16084
16084
|
o.showPrate ? (d(), c("td", htt, e(l.roundPrecision((V = w.precip) == null ? void 0 : V.prate, 2)), 1)) : x("", !0),
|
|
@@ -16093,7 +16093,7 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16093
16093
|
}, "", 4)
|
|
16094
16094
|
])) : (d(), c("span", ptt, "-"))
|
|
16095
16095
|
]),
|
|
16096
|
-
t("td", null, e(l.roundPrecision((
|
|
16096
|
+
t("td", null, e(l.roundPrecision((g = w.wind) == null ? void 0 : g.kts, 1)), 1),
|
|
16097
16097
|
t("td", null, e((z = w.wind) == null ? void 0 : z.scale), 1),
|
|
16098
16098
|
t("td", null, e(l.roundPrecision((et = w.gusts) == null ? void 0 : et.kts, 1)), 1),
|
|
16099
16099
|
t("td", null, e(l.roundPrecision((nt = (n = w.wave) == null ? void 0 : n.wd) == null ? void 0 : nt.height, 1)), 1),
|
|
@@ -16141,7 +16141,7 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16141
16141
|
]),
|
|
16142
16142
|
t("div", Att, [
|
|
16143
16143
|
wtt,
|
|
16144
|
-
(d(!0), c(
|
|
16144
|
+
(d(!0), c(M, null, rt((Z = o.report) == null ? void 0 : Z.rows, (w, j) => {
|
|
16145
16145
|
var Q, V, st;
|
|
16146
16146
|
return d(), c("div", {
|
|
16147
16147
|
key: j,
|
|
@@ -16160,7 +16160,7 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16160
16160
|
], 8, ktt)
|
|
16161
16161
|
]),
|
|
16162
16162
|
t("tr", null, [
|
|
16163
|
-
(d(!0), c(
|
|
16163
|
+
(d(!0), c(M, null, rt(Object.keys(w == null ? void 0 : w.paccInDays), (ot, at) => {
|
|
16164
16164
|
var lt;
|
|
16165
16165
|
return d(), c("th", {
|
|
16166
16166
|
key: at,
|
|
@@ -16170,8 +16170,8 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16170
16170
|
}), 128))
|
|
16171
16171
|
]),
|
|
16172
16172
|
t("tr", Ttt, [
|
|
16173
|
-
(st = Object.keys(w == null ? void 0 : w.paccInDays)) != null && st.length ? (d(!0), c(
|
|
16174
|
-
(d(!0), c(
|
|
16173
|
+
(st = Object.keys(w == null ? void 0 : w.paccInDays)) != null && st.length ? (d(!0), c(M, { key: 0 }, rt(Object.keys(w == null ? void 0 : w.paccInDays), (ot, at) => (d(), c(M, { key: at }, [
|
|
16174
|
+
(d(!0), c(M, null, rt(Object.keys(w == null ? void 0 : w.paccInDays[ot]), (lt, g) => (d(), c(M, { key: g }, [
|
|
16175
16175
|
lt === "0" ? (d(), c("th", Ott, "00-06")) : x("", !0),
|
|
16176
16176
|
lt === "1" ? (d(), c("th", Ett, "06-12")) : x("", !0),
|
|
16177
16177
|
lt === "2" ? (d(), c("th", Ptt, "12-18")) : x("", !0),
|
|
@@ -16182,8 +16182,8 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16182
16182
|
]),
|
|
16183
16183
|
t("tbody", null, [
|
|
16184
16184
|
t("tr", null, [
|
|
16185
|
-
(d(!0), c(
|
|
16186
|
-
(d(!0), c(
|
|
16185
|
+
(d(!0), c(M, null, rt(Object.keys(w == null ? void 0 : w.paccInDays), (ot, at) => (d(), c(M, { key: at }, [
|
|
16186
|
+
(d(!0), c(M, null, rt(Object.keys(w == null ? void 0 : w.paccInDays[ot]), (lt, g) => (d(), c(M, { key: g }, [
|
|
16187
16187
|
["0", "1", "2", "3"].includes(lt) ? (d(), c("td", Btt, e(l.roundPrecision(w == null ? void 0 : w.paccInDays[ot][lt], 1)), 1)) : x("", !0)
|
|
16188
16188
|
], 64))), 128))
|
|
16189
16189
|
], 64))), 128))
|
|
@@ -16200,7 +16200,7 @@ function Ltt(s, a, o, u, i, l) {
|
|
|
16200
16200
|
])
|
|
16201
16201
|
]);
|
|
16202
16202
|
}
|
|
16203
|
-
const Htt = /* @__PURE__ */ Gt(y$, [["render", Ltt], ["__scopeId", "data-v-
|
|
16203
|
+
const Htt = /* @__PURE__ */ Gt(y$, [["render", Ltt], ["__scopeId", "data-v-eec28d50"]]), net = {
|
|
16204
16204
|
install(s) {
|
|
16205
16205
|
s.component("PrecipitationReport", Htt);
|
|
16206
16206
|
}
|