@idmui/extend 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { shallowRef as bd, resolveComponent as H, openBlock as n, createElementBlock as o, withDirectives as Od, createVNode as Mt, vShow as hd, normalizeStyle as el, defineComponent as Ed, createElementVNode as t, Fragment as u, toDisplayString as i, createTextVNode as r, createCommentVNode as I, renderList as O, withCtx as Qa, normalizeClass as V, createBlock as Vt, createStaticVNode as Ht, markRaw as Vn } from "vue";
1
+ import { shallowRef as bd, resolveComponent as H, openBlock as n, createElementBlock as o, withDirectives as Od, createVNode as Mt, vShow as hd, normalizeStyle as el, defineComponent as Ed, createElementVNode as t, Fragment as u, toDisplayString as i, createTextVNode as r, createCommentVNode as I, renderList as O, withCtx as Qa, normalizeClass as S, createBlock as Vt, createStaticVNode as Ht, markRaw as Vn } from "vue";
2
2
  import { Editor as Cd, Toolbar as Yd } from "@wangeditor/editor-for-vue";
3
3
  import { IdmBrand as zl, IdmLoading as pd, IdmSign as Qd } from "@idmui/basic";
4
4
  import Ct from "moment";
@@ -8,8 +8,8 @@ import Fn from "axios";
8
8
  import { MdEditor as kd, MdPreview as Sd } from "md-editor-v3";
9
9
  const Ya = (e, a) => {
10
10
  const s = e.__vccOpts || e;
11
- for (const [A, d] of a)
12
- s[A] = d;
11
+ for (const [g, d] of a)
12
+ s[g] = d;
13
13
  return s;
14
14
  }, wd = {
15
15
  name: "IdmEditor",
@@ -71,7 +71,7 @@ const Ya = (e, a) => {
71
71
  }
72
72
  }
73
73
  }, Rd = { class: "editor-box" };
74
- function Vd(e, a, s, A, d, D) {
74
+ function Vd(e, a, s, g, d, D) {
75
75
  const y = H("Toolbar"), c = H("Editor");
76
76
  return n(), o("div", Rd, [
77
77
  Od(Mt(y, {
@@ -84,7 +84,7 @@ function Vd(e, a, s, A, d, D) {
84
84
  ]),
85
85
  Mt(c, {
86
86
  modelValue: d.valueHtml,
87
- "onUpdate:modelValue": a[0] || (a[0] = (g) => d.valueHtml = g),
87
+ "onUpdate:modelValue": a[0] || (a[0] = (A) => d.valueHtml = A),
88
88
  "default-config": d.editorConfig,
89
89
  mode: d.mode,
90
90
  class: "editor",
@@ -180,29 +180,29 @@ const Zd = {
180
180
  };
181
181
  },
182
182
  computeLTime() {
183
- return function(e, a, s, A) {
183
+ return function(e, a, s, g) {
184
184
  let d = 0;
185
- return s && a && (d = et.guessTimeZoneOffset(a, s)), `${Ct(e).utcOffset(A ?? d).format("MMM-DD/HHmm")}LT`;
185
+ return s && a && (d = et.guessTimeZoneOffset(a, s)), `${Ct(e).utcOffset(g ?? d).format("MMM-DD/HHmm")}LT`;
186
186
  };
187
187
  },
188
188
  computeTimeDiff() {
189
189
  return function(e, a) {
190
- var s, A, d, D, y;
190
+ var s, g, d, D, y;
191
191
  if (a === 0)
192
192
  return "-";
193
193
  {
194
- const c = Ct((d = (A = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[a]) == null ? void 0 : A.speed) == null ? void 0 : d.eta).diff(Ct((y = (D = e == null ? void 0 : e.speeds) == null ? void 0 : D[0]) == null ? void 0 : y.speed.eta), "h", !0);
194
+ const c = Ct((d = (g = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[a]) == null ? void 0 : g.speed) == null ? void 0 : d.eta).diff(Ct((y = (D = e == null ? void 0 : e.speeds) == null ? void 0 : D[0]) == null ? void 0 : y.speed.eta), "h", !0);
195
195
  return Math.round(c * 100) / 100;
196
196
  }
197
197
  };
198
198
  },
199
199
  computeCostDiff() {
200
200
  return function(e, a) {
201
- var s, A, d, D, y, c, g;
201
+ var s, g, d, D, y, c, A;
202
202
  if (a === 0)
203
203
  return "-";
204
204
  {
205
- const E = Number((D = (d = (A = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[a]) == null ? void 0 : A.speed) == null ? void 0 : d.cost) == null ? void 0 : D.total) - Number((g = (c = (y = e == null ? void 0 : e.speeds) == null ? void 0 : y[0]) == null ? void 0 : c.speed) == null ? void 0 : g.cost.total);
205
+ const E = Number((D = (d = (g = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[a]) == null ? void 0 : g.speed) == null ? void 0 : d.cost) == null ? void 0 : D.total) - Number((A = (c = (y = e == null ? void 0 : e.speeds) == null ? void 0 : y[0]) == null ? void 0 : c.speed) == null ? void 0 : A.cost.total);
206
206
  return `${(Math.round(E / 1e3 * 100) / 100).toLocaleString("en-US")}k`;
207
207
  }
208
208
  };
@@ -228,15 +228,15 @@ const Zd = {
228
228
  },
229
229
  computeMajorPoints() {
230
230
  return function(e) {
231
- const { label: a, v0: s, argv: A, sample: d } = e, D = d == null ? void 0 : d.wps, y = [];
231
+ const { label: a, v0: s, argv: g, sample: d } = e, D = d == null ? void 0 : d.wps, y = [];
232
232
  for (let c = 0; c < (D == null ? void 0 : D.length); c++) {
233
- const g = D[c], E = D[c - 1];
234
- E && (g.avgBearing = E.bearing), c === 0 && (g.label = `${a}: ${s}`), y.push(g), g.suspend && (A != null && A.useRouteParam) && y.push({
235
- etd: g.etd,
236
- eta: g.etd,
233
+ const A = D[c], E = D[c - 1];
234
+ E && (A.avgBearing = E.bearing), c === 0 && (A.label = `${a}: ${s}`), y.push(A), A.suspend && (g != null && g.useRouteParam) && y.push({
235
+ etd: A.etd,
236
+ eta: A.etd,
237
237
  isResume: !0,
238
- memo: `Stoppage: ${g.suspend}hrs`
239
- }), g.velocity && (A != null && A.useRouteParam) && (g.label = `Spd: ${g.velocity}`);
238
+ memo: `Stoppage: ${A.suspend}hrs`
239
+ }), A.velocity && (g != null && g.useRouteParam) && (A.label = `Spd: ${A.velocity}`);
240
240
  }
241
241
  return y;
242
242
  };
@@ -244,9 +244,9 @@ const Zd = {
244
244
  computeDegree() {
245
245
  return function(e, a, s) {
246
246
  a = a % 360;
247
- for (let A = 0; A < 17; A++)
248
- if (A * 22.5 + a + 11.25 >= 360) {
249
- let d = (16 - A) * 22.5;
247
+ for (let g = 0; g < 17; g++)
248
+ if (g * 22.5 + a + 11.25 >= 360) {
249
+ let d = (16 - g) * 22.5;
250
250
  s || (d = d + 180);
251
251
  let D = "";
252
252
  return e === "wind" ? D = "var(--orm-wind)" : e === "wave" ? D = "var(--orm-wave)" : e === "swell" ? D = "var(--orm-swell)" : e === "current" && (D = "var(--orm-current)"), `transform:rotate(${d}deg);margin-left:3px;color: ${D}`;
@@ -255,16 +255,16 @@ const Zd = {
255
255
  },
256
256
  computeDay() {
257
257
  return function(e, a = 0) {
258
- var D, y, c, g;
259
- const s = (g = (c = (y = (D = e == null ? void 0 : e.speeds) == null ? void 0 : D[a]) == null ? void 0 : y.speed) == null ? void 0 : c.sample) == null ? void 0 : g.hours, A = s == null ? void 0 : s[0], d = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
260
- return Math.round(Ct(d == null ? void 0 : d.eta).diff(Ct(A == null ? void 0 : A.eta), "day", !0) * 10) / 10;
258
+ var D, y, c, A;
259
+ const s = (A = (c = (y = (D = e == null ? void 0 : e.speeds) == null ? void 0 : D[a]) == null ? void 0 : y.speed) == null ? void 0 : c.sample) == null ? void 0 : A.hours, g = s == null ? void 0 : s[0], d = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
260
+ return Math.round(Ct(d == null ? void 0 : d.eta).diff(Ct(g == null ? void 0 : g.eta), "day", !0) * 10) / 10;
261
261
  };
262
262
  },
263
263
  computeSuspend() {
264
264
  return function(e) {
265
- var s, A;
265
+ var s, g;
266
266
  let a = 0;
267
- return (A = (s = e == null ? void 0 : e.sample) == null ? void 0 : s.wps) == null || A.forEach((d) => {
267
+ return (g = (s = e == null ? void 0 : e.sample) == null ? void 0 : s.wps) == null || g.forEach((d) => {
268
268
  a += d.suspend || 0;
269
269
  }), a ? Math.round(a * 100) / 100 : "-";
270
270
  };
@@ -293,21 +293,28 @@ const Zd = {
293
293
  },
294
294
  computedWindClass() {
295
295
  return (e) => {
296
- var s, A, d, D, y, c, g, E, l, z, Y, h, f, p, Q, j, b, C;
296
+ var s, g, d, D, y, c, A, E, l, z, Y, h, f, p, Q, j, b, C;
297
297
  let a = "";
298
- return (A = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && A.wind && ((D = (d = e.meteo) == null ? void 0 : d.wind) == null ? void 0 : D.scale) >= ((c = (y = this.weatherPrinciple) == null ? void 0 : y.dangerous) == null ? void 0 : c.wind) ? a = "bg-danger" : (E = (g = this.weatherPrinciple) == null ? void 0 : g.severe) != null && E.wind && ((z = (l = e.meteo) == null ? void 0 : l.wind) == null ? void 0 : z.scale) > ((h = (Y = this.weatherPrinciple) == null ? void 0 : Y.severe) == null ? void 0 : h.wind) ? a = "bg-severe" : (p = (f = this.weatherPrinciple) == null ? void 0 : f.heavy) != null && p.wind && ((j = (Q = e.meteo) == null ? void 0 : Q.wind) == null ? void 0 : j.scale) === ((C = (b = this.weatherPrinciple) == null ? void 0 : b.heavy) == null ? void 0 : C.wind) && (a = "bg-heavy"), a;
298
+ return (g = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && g.wind && ((D = (d = e.meteo) == null ? void 0 : d.wind) == null ? void 0 : D.scale) >= ((c = (y = this.weatherPrinciple) == null ? void 0 : y.dangerous) == null ? void 0 : c.wind) ? a = "bg-danger" : (E = (A = this.weatherPrinciple) == null ? void 0 : A.severe) != null && E.wind && ((z = (l = e.meteo) == null ? void 0 : l.wind) == null ? void 0 : z.scale) > ((h = (Y = this.weatherPrinciple) == null ? void 0 : Y.severe) == null ? void 0 : h.wind) ? a = "bg-severe" : (p = (f = this.weatherPrinciple) == null ? void 0 : f.heavy) != null && p.wind && ((j = (Q = e.meteo) == null ? void 0 : Q.wind) == null ? void 0 : j.scale) === ((C = (b = this.weatherPrinciple) == null ? void 0 : b.heavy) == null ? void 0 : C.wind) && (a = "bg-heavy"), a;
299
299
  };
300
300
  },
301
301
  computedSigClass() {
302
302
  return (e) => {
303
- var s, A, d, D, y, c, g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z;
303
+ var s, g, d, D, y, c, A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z;
304
304
  let a = "";
305
- return (A = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && A.sigWv && ((y = (D = (d = e.meteo) == null ? void 0 : d.wave) == null ? void 0 : D.sig) == null ? void 0 : y.height) >= ((g = (c = this.weatherPrinciple) == null ? void 0 : c.dangerous) == null ? void 0 : g.sigWv) ? a = "bg-danger" : (l = (E = this.weatherPrinciple) == null ? void 0 : E.severe) != null && l.sigWv && ((h = (Y = (z = e.meteo) == null ? void 0 : z.wave) == null ? void 0 : Y.sig) == null ? void 0 : h.height) >= ((p = (f = this.weatherPrinciple) == null ? void 0 : f.severe) == null ? void 0 : p.sigWv) ? a = "bg-severe" : (j = (Q = this.weatherPrinciple) == null ? void 0 : Q.heavy) != null && j.sigWv && ((k = (C = (b = e.meteo) == null ? void 0 : b.wave) == null ? void 0 : C.sig) == null ? void 0 : k.height) >= ((Z = (T = this.weatherPrinciple) == null ? void 0 : T.heavy) == null ? void 0 : Z.sigWv) && (a = "bg-heavy"), a;
305
+ return (g = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && g.sigWv && ((y = (D = (d = e.meteo) == null ? void 0 : d.wave) == null ? void 0 : D.sig) == null ? void 0 : y.height) >= ((A = (c = this.weatherPrinciple) == null ? void 0 : c.dangerous) == null ? void 0 : A.sigWv) ? a = "bg-danger" : (l = (E = this.weatherPrinciple) == null ? void 0 : E.severe) != null && l.sigWv && ((h = (Y = (z = e.meteo) == null ? void 0 : z.wave) == null ? void 0 : Y.sig) == null ? void 0 : h.height) >= ((p = (f = this.weatherPrinciple) == null ? void 0 : f.severe) == null ? void 0 : p.sigWv) ? a = "bg-severe" : (j = (Q = this.weatherPrinciple) == null ? void 0 : Q.heavy) != null && j.sigWv && ((k = (C = (b = e.meteo) == null ? void 0 : b.wave) == null ? void 0 : C.sig) == null ? void 0 : k.height) >= ((Z = (T = this.weatherPrinciple) == null ? void 0 : T.heavy) == null ? void 0 : Z.sigWv) && (a = "bg-heavy"), a;
306
+ };
307
+ },
308
+ computedVisClass() {
309
+ return (e) => {
310
+ var s, g;
311
+ let a = "";
312
+ return ((s = e.meteo) == null ? void 0 : s.visibility) <= 2 ? a = "bg-severe" : ((g = e.meteo) == null ? void 0 : g.visibility) <= 5 && (a = "bg-heavy"), a;
306
313
  };
307
314
  },
308
315
  isArctic() {
309
- var e, a, s, A;
310
- return (A = (s = (a = (e = this.plan) == null ? void 0 : e.speeds) == null ? void 0 : a[this.speedIndex]) == null ? void 0 : s.speed) == null ? void 0 : A.isArctic;
316
+ var e, a, s, g;
317
+ return (g = (s = (a = (e = this.plan) == null ? void 0 : e.speeds) == null ? void 0 : a[this.speedIndex]) == null ? void 0 : s.speed) == null ? void 0 : g.isArctic;
311
318
  }
312
319
  },
313
320
  watch: {
@@ -347,26 +354,26 @@ const Zd = {
347
354
  weatherFactor: 7,
348
355
  speed: 8
349
356
  };
350
- let A = 4;
351
- (Z = (T = (k = (C = (b = (j = this.plan) == null ? void 0 : j.speeds) == null ? void 0 : b[this.speedIndex]) == null ? void 0 : C.speed) == null ? void 0 : k.sample) == null ? void 0 : T.hours) == null || Z.forEach((S) => {
357
+ let g = 4;
358
+ (Z = (T = (k = (C = (b = (j = this.plan) == null ? void 0 : j.speeds) == null ? void 0 : b[this.speedIndex]) == null ? void 0 : C.speed) == null ? void 0 : k.sample) == null ? void 0 : T.hours) == null || Z.forEach((w) => {
352
359
  var X, K, q, tt, at, it, lt, nt, B, Nt;
353
- const W = S.meteo;
360
+ const W = w.meteo;
354
361
  if (W) {
355
362
  const ct = Ct(W.utc).utc().format("MMM-DD/HHmm[Z]");
356
- e.push(ct), A = Math.ceil(((K = (X = W.wave) == null ? void 0 : X.sig) == null ? void 0 : K.height) > A ? (tt = (q = W.wave) == null ? void 0 : q.sig) == null ? void 0 : tt.height : A), a.push([
363
+ e.push(ct), g = Math.ceil(((K = (X = W.wave) == null ? void 0 : X.sig) == null ? void 0 : K.height) > g ? (tt = (q = W.wave) == null ? void 0 : q.sig) == null ? void 0 : tt.height : g), a.push([
357
364
  ct,
358
365
  (at = W.wind) == null ? void 0 : at.kts,
359
366
  (lt = (it = W.wave) == null ? void 0 : it.sig) == null ? void 0 : lt.height,
360
367
  (nt = W.wind) == null ? void 0 : nt.direction,
361
368
  (B = W.wind) == null ? void 0 : B.degree,
362
369
  (Nt = W.wind) == null ? void 0 : Nt.scale,
363
- S.cFactor,
364
- S.wFactor,
365
- S.speed
370
+ w.cFactor,
371
+ w.wFactor,
372
+ w.speed
366
373
  ]);
367
374
  }
368
375
  });
369
- const d = Math.max(...a.map((S) => S[s.speed])), D = Math.max(...a.map((S) => S[s.windSpeed])), y = Math.min(...a.map((S) => S[s.currentFactor])) > 0 ? 0 : Math.floor(Math.min(...a.map((S) => S[s.currentFactor])) / 0.5) * 0.5, c = Math.ceil(Math.max(...a.map((S) => S[s.currentFactor])) / 0.5) * 0.5, g = Math.ceil(d / 5 / 5) * 5, E = Math.ceil(D / 5 / 5) * 5, l = Math.ceil(A / 5 / 0.5) * 0.5, z = Math.ceil((c - y) / 5 / 0.5) * 0.5, Y = 5 * g, h = 5 * E, f = 5 * l, p = y + 5 * z, Q = {
376
+ const d = Math.max(...a.map((w) => w[s.speed])), D = Math.max(...a.map((w) => w[s.windSpeed])), y = Math.min(...a.map((w) => w[s.currentFactor])) > 0 ? 0 : Math.floor(Math.min(...a.map((w) => w[s.currentFactor])) / 0.5) * 0.5, c = Math.ceil(Math.max(...a.map((w) => w[s.currentFactor])) / 0.5) * 0.5, A = Math.ceil(d / 5 / 5) * 5, E = Math.ceil(D / 5 / 5) * 5, l = Math.ceil(g / 5 / 0.5) * 0.5, z = Math.ceil((c - y) / 5 / 0.5) * 0.5, Y = 5 * A, h = 5 * E, f = 5 * l, p = y + 5 * z, Q = {
370
377
  animation: !1,
371
378
  title: {
372
379
  text: "Weather Conditions & Speed Analysis",
@@ -420,7 +427,7 @@ const Zd = {
420
427
  min: 0,
421
428
  max: Y,
422
429
  splitNumber: 5,
423
- interval: g
430
+ interval: A
424
431
  },
425
432
  {
426
433
  name: "Wind Speed (kts)",
@@ -728,9 +735,9 @@ const Zd = {
728
735
  key: 0,
729
736
  class: "degree-box"
730
737
  }, _D = { key: 1 }, JD = { key: 1 }, HD = { key: 2 };
731
- function XD(e, a, s, A, d, D) {
732
- var l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl;
733
- const y = H("IdmBrand"), c = H("IdmLoading"), g = H("ElTooltip"), E = H("Editor");
738
+ function XD(e, a, s, g, d, D) {
739
+ var l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl;
740
+ const y = H("IdmBrand"), c = H("IdmLoading"), A = H("ElTooltip"), E = H("Editor");
734
741
  return n(), o("div", Ld, [
735
742
  Mt(y, {
736
743
  name: "Voyage Planning",
@@ -752,7 +759,7 @@ function XD(e, a, s, A, d, D) {
752
759
  a[6] || (a[6] = t("span", { class: "label text-label" }, "Vessel", -1)),
753
760
  t("span", qd, [
754
761
  r(i((Q = (p = (f = s.plan) == null ? void 0 : f.voyage) == null ? void 0 : p.vessel) == null ? void 0 : Q.name) + " ", 1),
755
- (k = (C = (b = (j = s.plan) == null ? void 0 : j.voyage) == null ? void 0 : b.vessel) == null ? void 0 : C.vesselType) != null && k.name ? (n(), o("span", $d, "(" + i((S = (L = (Z = (T = s.plan) == null ? void 0 : T.voyage) == null ? void 0 : Z.vessel) == null ? void 0 : L.vesselType) == null ? void 0 : S.name) + ")", 1)) : I("", !0)
762
+ (k = (C = (b = (j = s.plan) == null ? void 0 : j.voyage) == null ? void 0 : b.vessel) == null ? void 0 : C.vesselType) != null && k.name ? (n(), o("span", $d, "(" + i((w = (L = (Z = (T = s.plan) == null ? void 0 : T.voyage) == null ? void 0 : Z.vessel) == null ? void 0 : L.vesselType) == null ? void 0 : w.name) + ")", 1)) : I("", !0)
756
763
  ])
757
764
  ]),
758
765
  t("div", tM, [
@@ -888,7 +895,7 @@ function XD(e, a, s, A, d, D) {
888
895
  ]),
889
896
  t("tbody", null, [
890
897
  (n(!0), o(u, null, O((ra = s.plan) == null ? void 0 : ra.speeds, (m, Pt) => {
891
- var ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, w, R;
898
+ var ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, R, V;
892
899
  return n(), o(u, { key: Pt }, [
893
900
  t("tr", null, [
894
901
  t("td", UM, i(Pt + 1), 1),
@@ -922,7 +929,7 @@ function XD(e, a, s, A, d, D) {
922
929
  rowspan: D.showCost ? 1 : 2
923
930
  }, i(D.computeTimeDiff(s.plan, Pt)), 9, SM),
924
931
  t("td", null, [
925
- Mt(g, {
932
+ Mt(A, {
926
933
  effect: "light",
927
934
  placement: "top",
928
935
  trigger: "hover",
@@ -935,7 +942,7 @@ function XD(e, a, s, A, d, D) {
935
942
  _: 1
936
943
  }, 8, ["content"]),
937
944
  a[37] || (a[37] = r(" / ", -1)),
938
- Mt(g, {
945
+ Mt(A, {
939
946
  effect: "light",
940
947
  placement: "top",
941
948
  trigger: "hover",
@@ -948,7 +955,7 @@ function XD(e, a, s, A, d, D) {
948
955
  _: 1
949
956
  }, 8, ["content"]),
950
957
  a[38] || (a[38] = r(" / ", -1)),
951
- Mt(g, {
958
+ Mt(A, {
952
959
  effect: "light",
953
960
  placement: "top",
954
961
  trigger: "hover",
@@ -976,7 +983,7 @@ function XD(e, a, s, A, d, D) {
976
983
  t("td", null, i(D.roundPrecision((Ki = m.speed) == null ? void 0 : Ki.avgSpeed, 2)) + " / " + i(D.roundPrecision((qi = m.speed) == null ? void 0 : qi.wxFactor, 2)) + " / " + i(D.roundPrecision(($i = m.speed) == null ? void 0 : $i.cFactor, 2)), 1),
977
984
  D.showCost ? (n(), o("td", FM, i(D.roundPrecision(((al = (tl = m == null ? void 0 : m.speed) == null ? void 0 : tl.cost) == null ? void 0 : al.hire) / 1e3, 2).toLocaleString("en-US")) + "k / " + i(D.roundPrecision(((ll = (il = m == null ? void 0 : m.speed) == null ? void 0 : il.cost) == null ? void 0 : ll.bunker) / 1e3, 2).toLocaleString("en-US")) + "k ", 1)) : I("", !0),
978
985
  D.showCost ? (n(), o("td", GM, i(D.computeCostDiff(s.plan, Pt)), 1)) : I("", !0),
979
- t("td", null, i(D.roundPrecision(((N = m.speed) == null ? void 0 : N.dangerous) / 24, 2)) + " / " + i(D.roundPrecision(((w = m.speed) == null ? void 0 : w.severe) / 24, 2)) + " / " + i(D.roundPrecision(((R = m.speed) == null ? void 0 : R.heavy) / 24, 2)), 1)
986
+ t("td", null, i(D.roundPrecision(((N = m.speed) == null ? void 0 : N.dangerous) / 24, 2)) + " / " + i(D.roundPrecision(((R = m.speed) == null ? void 0 : R.severe) / 24, 2)) + " / " + i(D.roundPrecision(((V = m.speed) == null ? void 0 : V.heavy) / 24, 2)), 1)
980
987
  ])
981
988
  ], 64);
982
989
  }), 128))
@@ -1005,7 +1012,7 @@ function XD(e, a, s, A, d, D) {
1005
1012
  var ma, ya;
1006
1013
  return n(), o("div", {
1007
1014
  key: Pt,
1008
- class: V(["route-item", d.speedIndex === Pt ? "active" : ""]),
1015
+ class: S(["route-item", d.speedIndex === Pt ? "active" : ""]),
1009
1016
  onClick: (fa) => {
1010
1017
  d.speedIndex = Pt, D.renderEchart();
1011
1018
  }
@@ -1031,7 +1038,7 @@ function XD(e, a, s, A, d, D) {
1031
1038
  ]),
1032
1039
  t("div", qM, [
1033
1040
  t("div", $M, [
1034
- a[48] || (a[48] = Ht('<div class="cell-item flex" style="flex:2.5;" data-v-b8b549d0>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-b8b549d0>Time</div><div class="cell-item flex" data-v-b8b549d0>Nav</div><div class="cell-item flex" data-v-b8b549d0>Dist <span class="text-units" data-v-b8b549d0>(nm)</span></div>', 4)),
1041
+ a[48] || (a[48] = Ht('<div class="cell-item flex" style="flex:2.5;" data-v-bdaac5b8>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-bdaac5b8>Time</div><div class="cell-item flex" data-v-bdaac5b8>Nav</div><div class="cell-item flex" data-v-bdaac5b8>Dist <span class="text-units" data-v-bdaac5b8>(nm)</span></div>', 4)),
1035
1042
  (Ra = (wa = s.plan) == null ? void 0 : wa.voyage) != null && Ra.showMajorWPSpd ? (n(), o("div", tD, [...a[46] || (a[46] = [
1036
1043
  r("SOG ", -1),
1037
1044
  t("span", { class: "text-units" }, "(kts)", -1)
@@ -1087,7 +1094,7 @@ function XD(e, a, s, A, d, D) {
1087
1094
  var ma, ya;
1088
1095
  return n(), o("div", {
1089
1096
  key: Pt,
1090
- class: V(["route-item print-hidden", d.speedIndex === Pt ? "active" : ""]),
1097
+ class: S(["route-item print-hidden", d.speedIndex === Pt ? "active" : ""]),
1091
1098
  onClick: (fa) => {
1092
1099
  d.speedIndex = Pt, D.renderEchart();
1093
1100
  }
@@ -1196,13 +1203,15 @@ function XD(e, a, s, A, d, D) {
1196
1203
  ]),
1197
1204
  t("tbody", null, [
1198
1205
  (n(!0), o(u, null, O((Tl = (vl = (yl = (ml = (ul = s.plan) == null ? void 0 : ul.speeds) == null ? void 0 : ml[d.speedIndex]) == null ? void 0 : yl.speed) == null ? void 0 : vl.sample) == null ? void 0 : Tl.hours, (m, Pt) => {
1199
- var ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, w, R, F, G, P;
1206
+ var ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, R, V, F, G, P;
1200
1207
  return n(), o("tr", { key: Pt }, [
1201
1208
  t("td", null, i(D.computeUTCTime(m.eta)), 1),
1202
1209
  t("td", SD, [
1203
1210
  t("div", wD, i(D.computeLat(m.lat)) + ", " + i(D.computeLng(m.lng)), 1)
1204
1211
  ]),
1205
- t("td", null, i(D.roundPrecision((ma = m.meteo) == null ? void 0 : ma.visibility, 1)), 1),
1212
+ t("td", {
1213
+ class: S(D.computedVisClass(m))
1214
+ }, i(D.roundPrecision((ma = m.meteo) == null ? void 0 : ma.visibility, 1)), 3),
1206
1215
  t("td", null, [
1207
1216
  ((fa = (ya = m.meteo) == null ? void 0 : ya.wind) == null ? void 0 : fa.kts) !== null && ((qa = (ba = m.meteo) == null ? void 0 : ba.wind) != null && qa.direction) ? (n(), o("div", RD, [
1208
1217
  t("span", null, i((ti = ($a = m.meteo) == null ? void 0 : $a.wind) == null ? void 0 : ti.direction), 1),
@@ -1213,7 +1222,7 @@ function XD(e, a, s, A, d, D) {
1213
1222
  ])) : (n(), o("span", VD, "-"))
1214
1223
  ]),
1215
1224
  t("td", {
1216
- class: V(D.computedWindClass(m))
1225
+ class: S(D.computedWindClass(m))
1217
1226
  }, i(D.roundPrecision((si = (li = m.meteo) == null ? void 0 : li.wind) == null ? void 0 : si.kts, 1)), 3),
1218
1227
  (ni = (ei = s.plan) == null ? void 0 : ei.voyage) != null && ni.sendRptWithBF ? (n(), o("td", FD, i((di = (oi = m.meteo) == null ? void 0 : oi.wind) == null ? void 0 : di.scale), 1)) : I("", !0),
1219
1228
  t("td", null, i(D.roundPrecision((Ni = (Di = (Mi = m.meteo) == null ? void 0 : Mi.wave) == null ? void 0 : Di.wd) == null ? void 0 : Ni.height, 1)), 1),
@@ -1238,7 +1247,7 @@ function XD(e, a, s, A, d, D) {
1238
1247
  ])) : (n(), o("span", LD, "-"))
1239
1248
  ]),
1240
1249
  t("td", {
1241
- class: V(D.computedSigClass(m))
1250
+ class: S(D.computedSigClass(m))
1242
1251
  }, i(D.roundPrecision((Zi = (Wi = (Pi = m.meteo) == null ? void 0 : Pi.wave) == null ? void 0 : Wi.sig) == null ? void 0 : Zi.height, 1)), 3),
1243
1252
  t("td", null, i(D.roundPrecision((_i = (Bi = (Li = m.meteo) == null ? void 0 : Li.wave) == null ? void 0 : Bi.sig) == null ? void 0 : _i.period, 0)), 1),
1244
1253
  t("td", null, [
@@ -1252,8 +1261,8 @@ function XD(e, a, s, A, d, D) {
1252
1261
  ]),
1253
1262
  t("td", null, i(D.roundPrecision((ll = (il = m.meteo) == null ? void 0 : il.current) == null ? void 0 : ll.kts, 1)), 1),
1254
1263
  t("td", null, i(D.roundPrecision(m.cFactor, 1)), 1),
1255
- D.isArctic ? (n(), o("td", JD, i(D.roundPrecision((w = (N = m.meteo) == null ? void 0 : N.ice) == null ? void 0 : w.sit, 2)), 1)) : I("", !0),
1256
- D.isArctic ? (n(), o("td", HD, i(((F = (R = m.meteo) == null ? void 0 : R.ice) == null ? void 0 : F.sic) >= 0 ? D.roundPrecision(((P = (G = m.meteo) == null ? void 0 : G.ice) == null ? void 0 : P.sic) * 100, 0) : "-"), 1)) : I("", !0)
1264
+ D.isArctic ? (n(), o("td", JD, i(D.roundPrecision((R = (N = m.meteo) == null ? void 0 : N.ice) == null ? void 0 : R.sit, 2)), 1)) : I("", !0),
1265
+ D.isArctic ? (n(), o("td", HD, i(((F = (V = m.meteo) == null ? void 0 : V.ice) == null ? void 0 : F.sic) >= 0 ? D.roundPrecision(((P = (G = m.meteo) == null ? void 0 : G.ice) == null ? void 0 : P.sic) * 100, 0) : "-"), 1)) : I("", !0)
1257
1266
  ]);
1258
1267
  }), 128))
1259
1268
  ])
@@ -1271,7 +1280,7 @@ function XD(e, a, s, A, d, D) {
1271
1280
  ], 64))
1272
1281
  ]);
1273
1282
  }
1274
- const KD = /* @__PURE__ */ Ya(Zd, [["render", XD], ["__scopeId", "data-v-b8b549d0"]]), vU = {
1283
+ const KD = /* @__PURE__ */ Ya(Zd, [["render", XD], ["__scopeId", "data-v-bdaac5b8"]]), vU = {
1275
1284
  install(e) {
1276
1285
  e.component("PlanReport", KD);
1277
1286
  }
@@ -1313,8 +1322,8 @@ const qD = {
1313
1322
  }
1314
1323
  }
1315
1324
  }, $D = { class: "cover-box" }, tN = { class: "cover-content" }, aN = { class: "cover-title" }, iN = { class: "cover-info" }, lN = { class: "info-item" }, sN = { class: "info-item" }, eN = { class: "info-item" }, nN = { style: { "font-weight": "600" } }, oN = { class: "info-item" }, dN = { style: { "font-weight": "600" } }, MN = { class: "info-item" }, DN = { class: "info-item" }, NN = { class: "info-item" }, cN = { class: "info-item" }, rN = { class: "info-item" }, IN = { class: "text" };
1316
- function gN(e, a, s, A, d, D) {
1317
- var y, c, g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L;
1325
+ function gN(e, a, s, g, d, D) {
1326
+ var y, c, A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L;
1318
1327
  return n(), o("div", $D, [
1319
1328
  t("div", tN, [
1320
1329
  t("div", aN, i(s.name), 1),
@@ -1330,7 +1339,7 @@ function gN(e, a, s, A, d, D) {
1330
1339
  a[9] || (a[9] = t("div", { style: { height: "2px", width: "100%", "background-color": "#e7e7e7", margin: "12px 0" } }, null, -1)),
1331
1340
  t("div", eN, [
1332
1341
  a[2] || (a[2] = t("span", { class: "text-label" }, "Vessel : ", -1)),
1333
- t("span", nN, i((E = (g = s.report) == null ? void 0 : g.vessel) == null ? void 0 : E.name), 1)
1342
+ t("span", nN, i((E = (A = s.report) == null ? void 0 : A.vessel) == null ? void 0 : E.name), 1)
1334
1343
  ]),
1335
1344
  t("div", oN, [
1336
1345
  a[3] || (a[3] = t("span", { class: "text-label" }, "Prepare for : ", -1)),
@@ -1467,19 +1476,19 @@ const uN = {
1467
1476
  methods: {
1468
1477
  prepare() {
1469
1478
  var e, a;
1470
- this.remarks = this.report.remarks || "Please double click to modify remark", this.exclusion = [], this.noons = [], (a = (e = this.report) == null ? void 0 : e.segments) == null || a.forEach((s, A) => {
1479
+ this.remarks = this.report.remarks || "Please double click to modify remark", this.exclusion = [], this.noons = [], (a = (e = this.report) == null ? void 0 : e.segments) == null || a.forEach((s, g) => {
1471
1480
  var y, c;
1472
- s.multiFOCons && (this.multiFOCons.hsFoCons += s.multiFOCons.hsFoCons, this.multiFOCons.lsFoCons += s.multiFOCons.lsFoCons), s.excluded.detail.forEach((g) => {
1481
+ s.multiFOCons && (this.multiFOCons.hsFoCons += s.multiFOCons.hsFoCons, this.multiFOCons.lsFoCons += s.multiFOCons.lsFoCons), s.excluded.detail.forEach((A) => {
1473
1482
  const E = {
1474
- time: Ct(g.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + Ct(g.end).utc().format("MMM-DD/HHmm[Z]"),
1475
- duration: g.duration,
1476
- distance: g.distance,
1477
- fo: g.foCons,
1478
- dgo: g.dgoCons
1483
+ time: Ct(A.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + Ct(A.end).utc().format("MMM-DD/HHmm[Z]"),
1484
+ duration: A.duration,
1485
+ distance: A.distance,
1486
+ fo: A.foCons,
1487
+ dgo: A.dgoCons
1479
1488
  };
1480
1489
  this.exclusion.push(E);
1481
1490
  });
1482
- const D = (c = (y = s == null ? void 0 : s.inventory) == null ? void 0 : y.sample) == null ? void 0 : c.hours.filter((g) => g.noon);
1491
+ const D = (c = (y = s == null ? void 0 : s.inventory) == null ? void 0 : y.sample) == null ? void 0 : c.hours.filter((A) => A.noon);
1483
1492
  this.noons.push([D]);
1484
1493
  });
1485
1494
  },
@@ -1700,8 +1709,8 @@ const uN = {
1700
1709
  key: 1,
1701
1710
  class: "formula-item formula-conclusion bg-blue-light"
1702
1711
  };
1703
- function N1(e, a, s, A, d, D) {
1704
- var c, g, E;
1712
+ function N1(e, a, s, g, d, D) {
1713
+ var c, A, E;
1705
1714
  const y = H("Editor");
1706
1715
  return n(), o("div", mN, [
1707
1716
  t("div", yN, [
@@ -1723,7 +1732,7 @@ function N1(e, a, s, A, d, D) {
1723
1732
  ])
1724
1733
  ], -1)),
1725
1734
  (n(!0), o(u, null, O((c = s.report) == null ? void 0 : c.segments, (l, z) => {
1726
- var Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt;
1735
+ var Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt;
1727
1736
  return n(), o("div", {
1728
1737
  key: "summary" + z,
1729
1738
  class: "segment-box"
@@ -1792,7 +1801,7 @@ function N1(e, a, s, A, d, D) {
1792
1801
  t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "dgo", "Under")), 1)
1793
1802
  ]),
1794
1803
  t("td", null, [
1795
- (S = (L = s.report) == null ? void 0 : L.voyage) != null && S.showCpRemark ? (n(), o("span", bN, i((X = (W = l == null ? void 0 : l.extend) == null ? void 0 : W.cp) == null ? void 0 : X.alias), 1)) : I("", !0)
1804
+ (w = (L = s.report) == null ? void 0 : L.voyage) != null && w.showCpRemark ? (n(), o("span", bN, i((X = (W = l == null ? void 0 : l.extend) == null ? void 0 : W.cp) == null ? void 0 : X.alias), 1)) : I("", !0)
1796
1805
  ])
1797
1806
  ])
1798
1807
  ])
@@ -1872,7 +1881,7 @@ function N1(e, a, s, A, d, D) {
1872
1881
  }, "*Please see voyage analysis pages for the details.", -1))
1873
1882
  ]),
1874
1883
  t("div", {
1875
- class: V(D.computeBlankHtml((g = s.report) == null ? void 0 : g.remarks) && !d.exclusion.length ? "section remark-section print-hidden" : "section remark-section")
1884
+ class: S(D.computeBlankHtml((A = s.report) == null ? void 0 : A.remarks) && !d.exclusion.length ? "section remark-section print-hidden" : "section remark-section")
1876
1885
  }, [
1877
1886
  a[35] || (a[35] = t("div", { class: "header-block" }, [
1878
1887
  t("div", { class: "bg-block" }, [
@@ -1926,7 +1935,7 @@ function N1(e, a, s, A, d, D) {
1926
1935
  t("div", vc, " Both HSFO and LSFO are consumed in the voyage, with " + i(D.computePrecision(d.multiFOCons.hsFoCons, 3)) + " mt of HSFO and " + i(D.computePrecision(d.multiFOCons.lsFoCons, 3)) + " mt of LSFO. ", 1)
1927
1936
  ])) : I("", !0),
1928
1937
  t("div", {
1929
- class: V(D.computeBlankHtml((E = s.report) == null ? void 0 : E.remarks) ? "remark-block bg-blue-light-2 print-hidden" : "remark-block bg-blue-light-2 page-avoid")
1938
+ class: S(D.computeBlankHtml((E = s.report) == null ? void 0 : E.remarks) ? "remark-block bg-blue-light-2 print-hidden" : "remark-block bg-blue-light-2 page-avoid")
1930
1939
  }, [
1931
1940
  d.editable ? (n(), Vt(y, {
1932
1941
  key: 0,
@@ -1950,7 +1959,7 @@ function N1(e, a, s, A, d, D) {
1950
1959
  ])
1951
1960
  ], -1)),
1952
1961
  (n(!0), o(u, null, O(s.report.segments, (l, z) => {
1953
- var Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, es, ns, os, ds, Ms, Ds, Ns, cs, rs, Is, gs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, ps, bs, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, te, ae, ie, le, se, ee, ne, oe, de, Me, De, Ne, ce, re, Ie, ge, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, pe, be, Oe, he, Ce, Ye, Qe, ke, Se, we, Re, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, tn, an, ln, sn, en, nn, on, dn, Mn, Dn, Nn, cn, rn, In, gn, An, un, mn, yn, vn, Tn, xn, zn, jn, Un, fn, En, pn, bn, On;
1962
+ var Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, es, ns, os, ds, Ms, Ds, Ns, cs, rs, Is, gs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, ps, bs, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, te, ae, ie, le, se, ee, ne, oe, de, Me, De, Ne, ce, re, Ie, ge, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, pe, be, Oe, he, Ce, Ye, Qe, ke, Se, we, Re, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, tn, an, ln, sn, en, nn, on, dn, Mn, Dn, Nn, cn, rn, In, gn, An, un, mn, yn, vn, Tn, xn, zn, jn, Un, fn, En, pn, bn, On;
1954
1963
  return n(), o("div", {
1955
1964
  key: z,
1956
1965
  class: "segment-block"
@@ -2006,7 +2015,7 @@ function N1(e, a, s, A, d, D) {
2006
2015
  t("span", { class: "text-units" }, "(hrs)")
2007
2016
  ], -1)),
2008
2017
  t("td", Oc, i((Z = (T = l == null ? void 0 : l.goodWx) == null ? void 0 : T.outEca) == null ? void 0 : Z.time), 1),
2009
- t("td", hc, i((S = (L = l == null ? void 0 : l.goodWx) == null ? void 0 : L.inEca) == null ? void 0 : S.time), 1),
2018
+ t("td", hc, i((w = (L = l == null ? void 0 : l.goodWx) == null ? void 0 : L.inEca) == null ? void 0 : w.time), 1),
2010
2019
  t("td", null, i((X = (W = l == null ? void 0 : l.allWx) == null ? void 0 : W.outEca) == null ? void 0 : X.time), 1),
2011
2020
  t("td", null, i((q = (K = l == null ? void 0 : l.allWx) == null ? void 0 : K.inEca) == null ? void 0 : q.time), 1)
2012
2021
  ]),
@@ -2312,9 +2321,9 @@ function N1(e, a, s, A, d, D) {
2312
2321
  ]),
2313
2322
  t("div", Vr, [
2314
2323
  t("div", Fr, [
2315
- t("div", null, i((ll = (il = s.report) == null ? void 0 : il.weather) != null && ll.noExtrapolation ? (N = l == null ? void 0 : l.goodWx) == null ? void 0 : N.distance : (w = l == null ? void 0 : l.allWx) == null ? void 0 : w.distance), 1),
2324
+ t("div", null, i((ll = (il = s.report) == null ? void 0 : il.weather) != null && ll.noExtrapolation ? (N = l == null ? void 0 : l.goodWx) == null ? void 0 : N.distance : (R = l == null ? void 0 : l.allWx) == null ? void 0 : R.distance), 1),
2316
2325
  a[109] || (a[109] = t("div", { class: "line" }, null, -1)),
2317
- t("div", null, i((R = l == null ? void 0 : l.timeConclusion) == null ? void 0 : R.minusAbtSpd), 1)
2326
+ t("div", null, i((V = l == null ? void 0 : l.timeConclusion) == null ? void 0 : V.minusAbtSpd), 1)
2318
2327
  ]),
2319
2328
  a[110] || (a[110] = t("div", null, "=", -1)),
2320
2329
  t("div", null, i((F = l == null ? void 0 : l.timeConclusion) == null ? void 0 : F.timeAtMinusAbtSpd) + " (hrs)", 1),
@@ -2362,7 +2371,7 @@ function N1(e, a, s, A, d, D) {
2362
2371
  t("div", Jr, [
2363
2372
  a[128] || (a[128] = t("label", { style: { "margin-right": "4px", "font-weight": "400" } }, " Conclusion: ", -1)),
2364
2373
  t("div", {
2365
- class: V(((aa = l == null ? void 0 : l.timeConclusion) == null ? void 0 : aa.conclusionStatus) === "Lost" ? "lost" : ((ia = l == null ? void 0 : l.timeConclusion) == null ? void 0 : ia.conclusionStatus) === "Gain" ? "gain" : "")
2374
+ class: S(((aa = l == null ? void 0 : l.timeConclusion) == null ? void 0 : aa.conclusionStatus) === "Lost" ? "lost" : ((ia = l == null ? void 0 : l.timeConclusion) == null ? void 0 : ia.conclusionStatus) === "Gain" ? "gain" : "")
2366
2375
  }, i(((la = l == null ? void 0 : l.timeConclusion) == null ? void 0 : la.conclusion) || ""), 3)
2367
2376
  ])
2368
2377
  ])
@@ -2665,7 +2674,7 @@ function N1(e, a, s, A, d, D) {
2665
2674
  ])) : I("", !0)
2666
2675
  ], 64)) : I("", !0),
2667
2676
  t("div", {
2668
- class: V(
2677
+ class: S(
2669
2678
  ((ze = (xe = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : xe.fo) == null ? void 0 : ze.conclusionStatus) === "Over" ? "flex-center lost" : ((Ue = (je = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : je.fo) == null ? void 0 : Ue.conclusionStatus) === "Saving" ? "flex-center gain" : "flex-center"
2670
2679
  )
2671
2680
  }, [
@@ -2786,7 +2795,7 @@ function N1(e, a, s, A, d, D) {
2786
2795
  t("div", null, i((jn = (zn = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : zn.dgo) == null ? void 0 : jn.saving) + " (mt)", 1)
2787
2796
  ])) : I("", !0),
2788
2797
  t("div", {
2789
- class: V(
2798
+ class: S(
2790
2799
  ((fn = (Un = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : Un.dgo) == null ? void 0 : fn.conclusionStatus) === "Over" ? "flex-center lost" : ((pn = (En = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : En.dgo) == null ? void 0 : pn.conclusionStatus) === "Saving" ? "flex-center gain" : "flex-center"
2791
2800
  )
2792
2801
  }, [
@@ -2879,8 +2888,8 @@ const r1 = {
2879
2888
  },
2880
2889
  methods: {
2881
2890
  prepare() {
2882
- var e, a, s, A, d, D, y, c, g, E, l, z;
2883
- this.showCF = ((a = (e = this.report) == null ? void 0 : e.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((A = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : A.showAisDistance) ?? !0, this.showSig = ((D = (d = this.report) == null ? void 0 : d.weather) == null ? void 0 : D.showSig) ?? !0, this.showSwell = ((c = (y = this.report) == null ? void 0 : y.weather) == null ? void 0 : c.showSwell) ?? !0, this.showWave = ((E = (g = this.report) == null ? void 0 : g.weather) == null ? void 0 : E.showWave) ?? !0, this.showWaterTemp = ((z = (l = this.report) == null ? void 0 : l.weather) == null ? void 0 : z.waterTempSwitch) || !1;
2891
+ var e, a, s, g, d, D, y, c, A, E, l, z;
2892
+ this.showCF = ((a = (e = this.report) == null ? void 0 : e.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((g = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : g.showAisDistance) ?? !0, this.showSig = ((D = (d = this.report) == null ? void 0 : d.weather) == null ? void 0 : D.showSig) ?? !0, this.showSwell = ((c = (y = this.report) == null ? void 0 : y.weather) == null ? void 0 : c.showSwell) ?? !0, this.showWave = ((E = (A = this.report) == null ? void 0 : A.weather) == null ? void 0 : E.showWave) ?? !0, this.showWaterTemp = ((z = (l = this.report) == null ? void 0 : l.weather) == null ? void 0 : z.waterTempSwitch) || !1;
2884
2893
  }
2885
2894
  }
2886
2895
  }, I1 = { class: "report-inventory" }, g1 = { class: "section summary-section" }, A1 = { class: "summary-block" }, u1 = { class: "orm-report-table inventory-table" }, m1 = {
@@ -2939,7 +2948,7 @@ const r1 = {
2939
2948
  key: 3,
2940
2949
  class: "label"
2941
2950
  }, S1 = { class: "summary-tbody" };
2942
- function w1(e, a, s, A, d, D) {
2951
+ function w1(e, a, s, g, d, D) {
2943
2952
  var y;
2944
2953
  return n(), o("div", I1, [
2945
2954
  t("div", g1, [
@@ -2996,11 +3005,11 @@ function w1(e, a, s, A, d, D) {
2996
3005
  ])
2997
3006
  ], -1)),
2998
3007
  t("tbody", null, [
2999
- (n(!0), o(u, null, O((y = s.report) == null ? void 0 : y.segments, (c, g) => {
3000
- var E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q;
3001
- return n(), o(u, { key: g }, [
3008
+ (n(!0), o(u, null, O((y = s.report) == null ? void 0 : y.segments, (c, A) => {
3009
+ var E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q;
3010
+ return n(), o(u, { key: A }, [
3002
3011
  t("tr", null, [
3003
- t("td", m1, i(g + 1), 1),
3012
+ t("td", m1, i(A + 1), 1),
3004
3013
  a[0] || (a[0] = t("td", { class: "label" }, "Entire Period", -1)),
3005
3014
  t("td", null, i(D.computePrecision((E = c == null ? void 0 : c.allWx) == null ? void 0 : E.distance, 2, "0.0")), 1),
3006
3015
  t("td", null, i(D.computePrecision((l = c == null ? void 0 : c.allWx) == null ? void 0 : l.time, 2, "0.0")), 1),
@@ -3026,7 +3035,7 @@ function w1(e, a, s, A, d, D) {
3026
3035
  ]),
3027
3036
  t("tr", null, [
3028
3037
  a[3] || (a[3] = t("td", { class: "label" }, "Excluded Period", -1)),
3029
- t("td", null, i(D.computePrecision((S = c == null ? void 0 : c.excluded) == null ? void 0 : S.sumDistance, 2, "0.0")), 1),
3038
+ t("td", null, i(D.computePrecision((w = c == null ? void 0 : c.excluded) == null ? void 0 : w.sumDistance, 2, "0.0")), 1),
3030
3039
  t("td", null, i(D.computePrecision((W = c == null ? void 0 : c.excluded) == null ? void 0 : W.sumDuration, 2, "0.0")), 1),
3031
3040
  t("td", null, i(D.computePrecision((X = c == null ? void 0 : c.excluded) == null ? void 0 : X.avgSpd, 2, "0.0")), 1),
3032
3041
  t("td", null, i(D.computePrecision((K = c == null ? void 0 : c.excluded) == null ? void 0 : K.sumFoCons, 3, "0.000")), 1),
@@ -3222,129 +3231,129 @@ function w1(e, a, s, A, d, D) {
3222
3231
  ])
3223
3232
  ]),
3224
3233
  t("tbody", S1, [
3225
- (n(!0), o(u, null, O(s.inventory, (c, g) => {
3226
- var E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt;
3227
- return n(), o("tr", { key: g }, [
3234
+ (n(!0), o(u, null, O(s.inventory, (c, A) => {
3235
+ var E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt;
3236
+ return n(), o("tr", { key: A }, [
3228
3237
  t("td", {
3229
- class: V(c.segLength ? "no-border-bottom" : "no-border")
3238
+ class: S(c.segLength ? "no-border-bottom" : "no-border")
3230
3239
  }, i(c.segLength ? c.seg : ""), 3),
3231
3240
  t("td", {
3232
- class: V(["text-right", c.excluded ? "excluded" : c.goodWx ? "good-wx" : ""])
3241
+ class: S(["text-right", c.excluded ? "excluded" : c.goodWx ? "good-wx" : ""])
3233
3242
  }, i(c.time), 3),
3234
3243
  ["B", "E"].includes(c.abbrev) && ((E = c.noon) != null && E.port) ? (n(), o("td", {
3235
3244
  key: 0,
3236
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : ""),
3245
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : ""),
3237
3246
  colspan: "2",
3238
3247
  style: { "max-width": "150px", "text-wrap": "wrap" }
3239
3248
  }, i((l = c.noon) == null ? void 0 : l.port), 3)) : (n(), o(u, { key: 1 }, [
3240
3249
  t("td", {
3241
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3250
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3242
3251
  }, i(c._lat.pretty), 3),
3243
3252
  t("td", {
3244
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3253
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3245
3254
  }, i(c._lng.pretty), 3)
3246
3255
  ], 64)),
3247
3256
  t("td", {
3248
- class: V(D.computeTDClass(c))
3249
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.cp.speed : ""), 3),
3257
+ class: S(D.computeTDClass(c))
3258
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.cp.speed : ""), 3),
3250
3259
  t("td", {
3251
- class: V(D.computeTDClass(c))
3252
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.cp.fo : ""), 3),
3260
+ class: S(D.computeTDClass(c))
3261
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.cp.fo : ""), 3),
3253
3262
  t("td", {
3254
- class: V(D.computeTDClass(c))
3255
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.cp.dgo : ""), 3),
3263
+ class: S(D.computeTDClass(c))
3264
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.cp.dgo : ""), 3),
3256
3265
  d.showAisDistance ? (n(), o("td", {
3257
3266
  key: 2,
3258
- class: V(D.computeTDClass(c))
3259
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.avgSpdCalc : ""), 3)) : I("", !0),
3267
+ class: S(D.computeTDClass(c))
3268
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.avgSpdCalc : ""), 3)) : I("", !0),
3260
3269
  d.showAisDistance ? (n(), o("td", {
3261
3270
  key: 3,
3262
- class: V(D.computeTDClass(c))
3263
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.distanceCalc : ""), 3)) : I("", !0),
3271
+ class: S(D.computeTDClass(c))
3272
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.distanceCalc : ""), 3)) : I("", !0),
3264
3273
  t("td", {
3265
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3274
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3266
3275
  }, i(c.type === "BOSP" ? "-" : ((Y = (z = c.meteo) == null ? void 0 : z.wind) == null ? void 0 : Y.direction) ?? "-"), 3),
3267
3276
  t("td", {
3268
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3277
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3269
3278
  }, i(c.type === "BOSP" ? "-" : ((f = (h = c.meteo) == null ? void 0 : h.wind) == null ? void 0 : f.scale) ?? "-"), 3),
3270
3279
  d.showWave ? (n(), o("td", {
3271
3280
  key: 4,
3272
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3281
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3273
3282
  }, i(c.type === "BOSP" ? "-" : ((j = (Q = (p = c.meteo) == null ? void 0 : p.wave) == null ? void 0 : Q.wd) == null ? void 0 : j.height) ?? "-"), 3)) : I("", !0),
3274
3283
  d.showSwell ? (n(), o("td", {
3275
3284
  key: 5,
3276
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3285
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3277
3286
  }, i(c.type === "BOSP" ? "-" : ((k = (C = (b = c.meteo) == null ? void 0 : b.wave) == null ? void 0 : C.swell) == null ? void 0 : k.direction) ?? "-"), 3)) : I("", !0),
3278
3287
  d.showSwell ? (n(), o("td", {
3279
3288
  key: 6,
3280
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3289
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3281
3290
  }, i(c.type === "BOSP" ? "-" : ((L = (Z = (T = c.meteo) == null ? void 0 : T.wave) == null ? void 0 : Z.swell) == null ? void 0 : L.height) ?? "-"), 3)) : I("", !0),
3282
3291
  d.showSig ? (n(), o("td", {
3283
3292
  key: 7,
3284
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3285
- }, i(c.type === "BOSP" ? "-" : ((X = (W = (S = c.meteo) == null ? void 0 : S.wave) == null ? void 0 : W.sig) == null ? void 0 : X.height) ?? "-"), 3)) : I("", !0),
3293
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3294
+ }, i(c.type === "BOSP" ? "-" : ((X = (W = (w = c.meteo) == null ? void 0 : w.wave) == null ? void 0 : W.sig) == null ? void 0 : X.height) ?? "-"), 3)) : I("", !0),
3286
3295
  d.showCF ? (n(), o("td", {
3287
3296
  key: 8,
3288
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3297
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3289
3298
  }, i(c.type === "BOSP" ? "-" : ((q = (K = c.meteo) == null ? void 0 : K.current) == null ? void 0 : q.direction) ?? "-"), 3)) : I("", !0),
3290
3299
  d.showCF ? (n(), o("td", {
3291
3300
  key: 9,
3292
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3301
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3293
3302
  }, i(c.type === "BOSP" ? "-" : ((tt = c.meteo) == null ? void 0 : tt.cFactor) ?? "-"), 3)) : I("", !0),
3294
3303
  t("td", {
3295
- class: V(D.computeTDClass(c))
3296
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.dailyAvgCf : ""), 3),
3304
+ class: S(D.computeTDClass(c))
3305
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.dailyAvgCf : ""), 3),
3297
3306
  s.showFactor ? (n(), o("td", {
3298
3307
  key: 10,
3299
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3308
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3300
3309
  }, i(((at = c.meteo) == null ? void 0 : at.cFactor) ?? "--"), 3)) : I("", !0),
3301
3310
  s.showFactor ? (n(), o("td", {
3302
3311
  key: 11,
3303
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3312
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3304
3313
  }, i(((it = c.meteo) == null ? void 0 : it.wxFactor) ?? "--"), 3)) : I("", !0),
3305
3314
  d.showWaterTemp ? (n(), o("td", {
3306
3315
  key: 12,
3307
- class: V(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3316
+ class: S(c.excluded ? "excluded" : c.goodWx ? "good-wx" : "")
3308
3317
  }, i(D.computePrecision((lt = c.meteo) == null ? void 0 : lt.sst, 2, "--")), 3)) : I("", !0),
3309
3318
  t("td", {
3310
- class: V(D.computeTDClass(c))
3311
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.avgSpd || "0.00" : ""), 3),
3319
+ class: S(D.computeTDClass(c))
3320
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.avgSpd || "0.00" : ""), 3),
3312
3321
  t("td", {
3313
- class: V(D.computeTDClass(c))
3314
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.timeSlr || "0.0" : ""), 3),
3322
+ class: S(D.computeTDClass(c))
3323
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.timeSlr || "0.0" : ""), 3),
3315
3324
  t("td", {
3316
- class: V(D.computeTDClass(c))
3317
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.distanceSlr || "0.0" : ""), 3),
3325
+ class: S(D.computeTDClass(c))
3326
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.distanceSlr || "0.0" : ""), 3),
3318
3327
  t("td", {
3319
- class: V(D.computeTDClass(c))
3320
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.rpm || "0" : ""), 3),
3328
+ class: S(D.computeTDClass(c))
3329
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.rpm || "0" : ""), 3),
3321
3330
  t("td", {
3322
- class: V(D.computeTDClass(c))
3323
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.slip || "0" : ""), 3),
3331
+ class: S(D.computeTDClass(c))
3332
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.slip || "0" : ""), 3),
3324
3333
  t("td", {
3325
- class: V(D.computeTDClass(c))
3334
+ class: S(D.computeTDClass(c))
3326
3335
  }, i(["A"].includes(c.abbrev) ? "" : c.noon.foBrob || "0.00"), 3),
3327
3336
  t("td", {
3328
- class: V(D.computeTDClass(c))
3337
+ class: S(D.computeTDClass(c))
3329
3338
  }, i(["A"].includes(c.abbrev) ? "" : c.noon.dgoBrob || "0.00"), 3),
3330
3339
  t("td", {
3331
- class: V(D.computeTDClass(c))
3332
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.foCons || "0.00" : ""), 3),
3340
+ class: S(D.computeTDClass(c))
3341
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.foCons || "0.00" : ""), 3),
3333
3342
  t("td", {
3334
- class: V(D.computeTDClass(c))
3335
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.dgoCons || "0.00" : ""), 3),
3343
+ class: S(D.computeTDClass(c))
3344
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.dgoCons || "0.00" : ""), 3),
3336
3345
  t("td", {
3337
- class: V(D.computeTDClass(c))
3338
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.windDir || "--" : ""), 3),
3346
+ class: S(D.computeTDClass(c))
3347
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.windDir || "--" : ""), 3),
3339
3348
  t("td", {
3340
- class: V(D.computeTDClass(c))
3341
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.windBF || "--" : ""), 3),
3349
+ class: S(D.computeTDClass(c))
3350
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.windBF || "--" : ""), 3),
3342
3351
  t("td", {
3343
- class: V(D.computeTDClass(c))
3344
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.noon.seasHt || "--" : ""), 3),
3352
+ class: S(D.computeTDClass(c))
3353
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.noon.seasHt || "--" : ""), 3),
3345
3354
  t("td", {
3346
- class: V(D.computeTDClass(c))
3347
- }, i(!["A", "B"].includes(c.abbrev) && g ? c.inEca === !1 ? "" : "Inside ECA" : ""), 3)
3355
+ class: S(D.computeTDClass(c))
3356
+ }, i(!["A", "B"].includes(c.abbrev) && A ? c.inEca === !1 ? "" : "Inside ECA" : ""), 3)
3348
3357
  ]);
3349
3358
  }), 128))
3350
3359
  ])
@@ -3402,7 +3411,7 @@ const V1 = {
3402
3411
  renderSpdConsChart() {
3403
3412
  var z, Y, h, f, p, Q;
3404
3413
  let e = [];
3405
- const a = [], s = [], A = {
3414
+ const a = [], s = [], g = {
3406
3415
  dateTime: 0,
3407
3416
  noonAvgSpd: 1,
3408
3417
  noonFoCons: 2,
@@ -3426,9 +3435,9 @@ const V1 = {
3426
3435
  a.push(this.computeUTCTime(Ct(c[b]).clone().utc().add(k, "m").format(), "MM-DD/HHmm[Z]"));
3427
3436
  }
3428
3437
  }), y.forEach((j, b) => {
3429
- var k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt;
3438
+ var k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt;
3430
3439
  const C = this.computeUTCTime(j.utc, "MM-DD/HHmm[Z]");
3431
- if (j.noon && !e.some((B) => B.slice(0, 5) === j.utc.slice(5, 10)) && e.push(C), b === y.length - 1 && (e = e.filter((B) => B.slice(0, 5) !== j.utc.slice(5, 10)), e.push(C)), d = Math.ceil(((k = j.noon) == null ? void 0 : k.foCons) > d ? (T = j.noon) == null ? void 0 : T.foCons : d), d = Math.ceil(((Z = j.cp) == null ? void 0 : Z.fo) > d ? (L = j.cp) == null ? void 0 : L.fo : d), D = Math.ceil(((S = j.noon) == null ? void 0 : S.dgoCons) > D ? (W = j.noon) == null ? void 0 : W.dgoCons : D), D = Math.ceil(((X = j.cp) == null ? void 0 : X.dgo) > D ? (K = j.cp) == null ? void 0 : K.dgo : D), s.push([
3440
+ if (j.noon && !e.some((B) => B.slice(0, 5) === j.utc.slice(5, 10)) && e.push(C), b === y.length - 1 && (e = e.filter((B) => B.slice(0, 5) !== j.utc.slice(5, 10)), e.push(C)), d = Math.ceil(((k = j.noon) == null ? void 0 : k.foCons) > d ? (T = j.noon) == null ? void 0 : T.foCons : d), d = Math.ceil(((Z = j.cp) == null ? void 0 : Z.fo) > d ? (L = j.cp) == null ? void 0 : L.fo : d), D = Math.ceil(((w = j.noon) == null ? void 0 : w.dgoCons) > D ? (W = j.noon) == null ? void 0 : W.dgoCons : D), D = Math.ceil(((X = j.cp) == null ? void 0 : X.dgo) > D ? (K = j.cp) == null ? void 0 : K.dgo : D), s.push([
3432
3441
  C,
3433
3442
  (q = j.noon) == null ? void 0 : q.avgSpd,
3434
3443
  (tt = j.noon) == null ? void 0 : tt.foCons,
@@ -3455,8 +3464,8 @@ const V1 = {
3455
3464
  ]);
3456
3465
  }
3457
3466
  });
3458
- const g = Math.ceil(e.length / 10);
3459
- e = e.filter((j, b) => b === 0 || b === e.length - 1 || b % g === 0);
3467
+ const A = Math.ceil(e.length / 10);
3468
+ e = e.filter((j, b) => b === 0 || b === e.length - 1 || b % A === 0);
3460
3469
  const E = {
3461
3470
  animation: !1,
3462
3471
  title: {
@@ -3572,8 +3581,8 @@ const V1 = {
3572
3581
  yAxisIndex: 0,
3573
3582
  showSymbol: !1,
3574
3583
  encode: {
3575
- x: A.dateTime,
3576
- y: A.cpSpeed
3584
+ x: g.dateTime,
3585
+ y: g.cpSpeed
3577
3586
  },
3578
3587
  lineStyle: {
3579
3588
  color: "#EC407A",
@@ -3598,8 +3607,8 @@ const V1 = {
3598
3607
  type: "dashed"
3599
3608
  },
3600
3609
  encode: {
3601
- x: A.dateTime,
3602
- y: A.fo
3610
+ x: g.dateTime,
3611
+ y: g.fo
3603
3612
  },
3604
3613
  data: s,
3605
3614
  z: 3
@@ -3610,8 +3619,8 @@ const V1 = {
3610
3619
  yAxisIndex: 0,
3611
3620
  showSymbol: !1,
3612
3621
  encode: {
3613
- x: A.dateTime,
3614
- y: (Y = (z = this.report) == null ? void 0 : z.weather) != null && Y.believeRptDistance ? A.noonAvgSpd : A.anlyAvgSpd
3622
+ x: g.dateTime,
3623
+ y: (Y = (z = this.report) == null ? void 0 : z.weather) != null && Y.believeRptDistance ? g.noonAvgSpd : g.anlyAvgSpd
3615
3624
  },
3616
3625
  lineStyle: {
3617
3626
  color: "#EC407A",
@@ -3632,8 +3641,8 @@ const V1 = {
3632
3641
  color: "#00ACC1"
3633
3642
  },
3634
3643
  encode: {
3635
- x: A.dateTime,
3636
- y: A.noonFoCons
3644
+ x: g.dateTime,
3645
+ y: g.noonFoCons
3637
3646
  },
3638
3647
  data: s,
3639
3648
  z: 5
@@ -3642,8 +3651,8 @@ const V1 = {
3642
3651
  name: "Good Weather Days",
3643
3652
  type: "line",
3644
3653
  encode: {
3645
- x: A.dateTime,
3646
- y: A.goodWx
3654
+ x: g.dateTime,
3655
+ y: g.goodWx
3647
3656
  },
3648
3657
  itemStyle: {
3649
3658
  color: "rgba(221, 243, 227, 1)"
@@ -3658,8 +3667,8 @@ const V1 = {
3658
3667
  name: "Excluded Days",
3659
3668
  type: "line",
3660
3669
  encode: {
3661
- x: A.dateTime,
3662
- y: A.excluded
3670
+ x: g.dateTime,
3671
+ y: g.excluded
3663
3672
  },
3664
3673
  itemStyle: {
3665
3674
  color: "rgba(220, 220, 220, 1)"
@@ -3787,8 +3796,8 @@ const V1 = {
3787
3796
  yAxisIndex: 0,
3788
3797
  showSymbol: !1,
3789
3798
  encode: {
3790
- x: A.dateTime,
3791
- y: A.cpSpeed
3799
+ x: g.dateTime,
3800
+ y: g.cpSpeed
3792
3801
  },
3793
3802
  lineStyle: {
3794
3803
  color: "#EC407A",
@@ -3813,8 +3822,8 @@ const V1 = {
3813
3822
  type: "dashed"
3814
3823
  },
3815
3824
  encode: {
3816
- x: A.dateTime,
3817
- y: A.dgo
3825
+ x: g.dateTime,
3826
+ y: g.dgo
3818
3827
  },
3819
3828
  data: s,
3820
3829
  z: 3
@@ -3825,8 +3834,8 @@ const V1 = {
3825
3834
  yAxisIndex: 0,
3826
3835
  showSymbol: !1,
3827
3836
  encode: {
3828
- x: A.dateTime,
3829
- y: (p = (f = this.report) == null ? void 0 : f.weather) != null && p.believeRptDistance ? A.noonAvgSpd : A.anlyAvgSpd
3837
+ x: g.dateTime,
3838
+ y: (p = (f = this.report) == null ? void 0 : f.weather) != null && p.believeRptDistance ? g.noonAvgSpd : g.anlyAvgSpd
3830
3839
  },
3831
3840
  lineStyle: {
3832
3841
  color: "#EC407A",
@@ -3848,8 +3857,8 @@ const V1 = {
3848
3857
  },
3849
3858
  // barGap: '-100%',
3850
3859
  encode: {
3851
- x: A.dateTime,
3852
- y: A.noonDgoCons
3860
+ x: g.dateTime,
3861
+ y: g.noonDgoCons
3853
3862
  },
3854
3863
  data: s,
3855
3864
  z: 5
@@ -3858,8 +3867,8 @@ const V1 = {
3858
3867
  name: "Good Weather Days",
3859
3868
  type: "line",
3860
3869
  encode: {
3861
- x: A.dateTime,
3862
- y: A.goodWx
3870
+ x: g.dateTime,
3871
+ y: g.goodWx
3863
3872
  },
3864
3873
  itemStyle: {
3865
3874
  color: "rgba(221, 243, 227, 1)"
@@ -3874,8 +3883,8 @@ const V1 = {
3874
3883
  name: "Excluded Days",
3875
3884
  type: "line",
3876
3885
  encode: {
3877
- x: A.dateTime,
3878
- y: A.excluded
3886
+ x: g.dateTime,
3887
+ y: g.excluded
3879
3888
  },
3880
3889
  itemStyle: {
3881
3890
  color: "rgba(220, 220, 220, 1)"
@@ -3893,7 +3902,7 @@ const V1 = {
3893
3902
  renderWxCurrChart() {
3894
3903
  var h;
3895
3904
  let e = [];
3896
- const a = [], s = [], A = {
3905
+ const a = [], s = [], g = {
3897
3906
  dateTime: 0,
3898
3907
  noonWdBF: 1,
3899
3908
  anlyWdBF: 2,
@@ -3916,16 +3925,16 @@ const V1 = {
3916
3925
  a.push(this.computeUTCTime(Ct(y[p]).clone().utc().add(j, "m").format(), "MM-DD/HHmm[Z]"));
3917
3926
  }
3918
3927
  }), D.forEach((f, p) => {
3919
- var j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt;
3928
+ var j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt;
3920
3929
  const Q = this.computeUTCTime(f.utc, "MM-DD/HHmm[Z]");
3921
3930
  if (f.noon && !e.some((J) => J.slice(0, 5) === f.utc.slice(5, 10)) && e.push(Q), p === D.length - 1 && (e = e.filter((J) => J.slice(0, 5) !== f.utc.slice(5, 10)), e.push(Q)), d = Math.ceil(((C = (b = (j = f.meteo) == null ? void 0 : j.wave) == null ? void 0 : b.sig) == null ? void 0 : C.height) > d ? (Z = (T = (k = f.meteo) == null ? void 0 : k.wave) == null ? void 0 : T.sig) == null ? void 0 : Z.height : d), s.push([
3922
3931
  Q,
3923
- ((L = f.noon) == null ? void 0 : L.windBF) || ((W = (S = f.meteo) == null ? void 0 : S.wind) == null ? void 0 : W.scale),
3932
+ ((L = f.noon) == null ? void 0 : L.windBF) || ((W = (w = f.meteo) == null ? void 0 : w.wind) == null ? void 0 : W.scale),
3924
3933
  (K = (X = f.meteo) == null ? void 0 : X.wind) == null ? void 0 : K.scale,
3925
3934
  (tt = (q = f.meteo) == null ? void 0 : q.wind) == null ? void 0 : tt.direction,
3926
3935
  (at = f.noon) == null ? void 0 : at.seasHt,
3927
3936
  (nt = (lt = (it = f.meteo) == null ? void 0 : it.wave) == null ? void 0 : lt.sig) == null ? void 0 : nt.height,
3928
- f.dailyAvgCf ?? ((B = s[s.length - 1]) == null ? void 0 : B[A.anlyCurFct]),
3937
+ f.dailyAvgCf ?? ((B = s[s.length - 1]) == null ? void 0 : B[g.anlyCurFct]),
3929
3938
  f.goodWx && !f.excluded ? 20 : 0,
3930
3939
  f.excluded ? 20 : 0
3931
3940
  ]), p < D.length - 1) {
@@ -3937,7 +3946,7 @@ const V1 = {
3937
3946
  (v = (Ut = J.meteo) == null ? void 0 : Ut.wind) == null ? void 0 : v.direction,
3938
3947
  (rt = J.noon) == null ? void 0 : rt.seasHt,
3939
3948
  (ot = (U = (It = f.meteo) == null ? void 0 : It.wave) == null ? void 0 : U.sig) == null ? void 0 : ot.height,
3940
- J.dailyAvgCf ?? ((dt = s[s.length - 1]) == null ? void 0 : dt[A.anlyCurFct]),
3949
+ J.dailyAvgCf ?? ((dt = s[s.length - 1]) == null ? void 0 : dt[g.anlyCurFct]),
3941
3950
  J.goodWx && !J.excluded ? 20 : 0,
3942
3951
  J.excluded ? 20 : 0
3943
3952
  ]);
@@ -3945,8 +3954,8 @@ const V1 = {
3945
3954
  });
3946
3955
  const c = Math.ceil(e.length / 10);
3947
3956
  e = e.filter((f, p) => p === 0 || p === e.length - 1 || p % c === 0);
3948
- let g = -2.5, E = 2.5, l = 1, z = 5;
3949
- g < -2.5 || E > 2.5 ? (g = Math.floor(this.findMinValue(s, 6) / 5) * 5, E = Math.ceil(this.findMaxValue(s, 6) / 5) * 5, l = Math.ceil(Math.max([Math.abs(g), Math.abs(E)]) / 5), z = Math.ceil(Math.abs(g) / l) + Math.ceil(Math.abs(E) / l)) : (l = 0.5, g = Math.floor(this.findMinValue(s, 6) / 0.5) * l, E = 2.5, z = Math.abs(g) / l + 5);
3957
+ let A = -2.5, E = 2.5, l = 1, z = 5;
3958
+ A < -2.5 || E > 2.5 ? (A = Math.floor(this.findMinValue(s, 6) / 5) * 5, E = Math.ceil(this.findMaxValue(s, 6) / 5) * 5, l = Math.ceil(Math.max([Math.abs(A), Math.abs(E)]) / 5), z = Math.ceil(Math.abs(A) / l) + Math.ceil(Math.abs(E) / l)) : (l = 0.5, A = Math.floor(this.findMinValue(s, 6) / 0.5) * l, E = 2.5, z = Math.abs(A) / l + 5);
3950
3959
  const Y = {
3951
3960
  animation: !1,
3952
3961
  title: {
@@ -4019,7 +4028,7 @@ const V1 = {
4019
4028
  position: "left",
4020
4029
  offset: 0,
4021
4030
  nameGap: 25,
4022
- min: g,
4031
+ min: A,
4023
4032
  max: E,
4024
4033
  interval: l,
4025
4034
  splitNumber: z,
@@ -4102,8 +4111,8 @@ const V1 = {
4102
4111
  yAxisIndex: 0,
4103
4112
  showSymbol: !1,
4104
4113
  encode: {
4105
- x: A.dateTime,
4106
- y: A.anlyCurFct
4114
+ x: g.dateTime,
4115
+ y: g.anlyCurFct
4107
4116
  },
4108
4117
  itemStyle: {
4109
4118
  color: "rgba(178, 51, 220, 1)"
@@ -4119,8 +4128,8 @@ const V1 = {
4119
4128
  yAxisIndex: 1,
4120
4129
  showSymbol: !1,
4121
4130
  encode: {
4122
- x: A.dateTime,
4123
- y: A.anlyWdBF
4131
+ x: g.dateTime,
4132
+ y: g.anlyWdBF
4124
4133
  },
4125
4134
  itemStyle: {
4126
4135
  color: "rgba(54, 212, 0, 1)"
@@ -4136,8 +4145,8 @@ const V1 = {
4136
4145
  yAxisIndex: 2,
4137
4146
  showSymbol: !1,
4138
4147
  encode: {
4139
- x: A.dateTime,
4140
- y: A.anlySigWvHt
4148
+ x: g.dateTime,
4149
+ y: g.anlySigWvHt
4141
4150
  },
4142
4151
  itemStyle: {
4143
4152
  color: "rgba(1, 189, 211, 1)"
@@ -4152,8 +4161,8 @@ const V1 = {
4152
4161
  type: "line",
4153
4162
  yAxisIndex: 3,
4154
4163
  encode: {
4155
- x: A.dateTime,
4156
- y: A.goodWx
4164
+ x: g.dateTime,
4165
+ y: g.goodWx
4157
4166
  },
4158
4167
  itemStyle: {
4159
4168
  color: "rgba(221, 243, 227, 1)"
@@ -4169,8 +4178,8 @@ const V1 = {
4169
4178
  type: "line",
4170
4179
  yAxisIndex: 3,
4171
4180
  encode: {
4172
- x: A.dateTime,
4173
- y: A.excluded
4181
+ x: g.dateTime,
4182
+ y: g.excluded
4174
4183
  },
4175
4184
  itemStyle: {
4176
4185
  color: "rgba(220, 220, 220, 1)"
@@ -4187,8 +4196,8 @@ const V1 = {
4187
4196
  },
4188
4197
  findMaxValue(e, a) {
4189
4198
  let s = -1 / 0;
4190
- for (let A = 0; A < e.length; A++) {
4191
- const d = e[A];
4199
+ for (let g = 0; g < e.length; g++) {
4200
+ const d = e[g];
4192
4201
  if (d.length >= a + 1) {
4193
4202
  const D = d[a];
4194
4203
  typeof D == "number" && !isNaN(D) && Number(D) > s && (s = D);
@@ -4198,8 +4207,8 @@ const V1 = {
4198
4207
  },
4199
4208
  findMinValue(e, a) {
4200
4209
  let s = 1 / 0;
4201
- for (let A = 0; A < e.length; A++) {
4202
- const d = e[A];
4210
+ for (let g = 0; g < e.length; g++) {
4211
+ const d = e[g];
4203
4212
  if (d.length >= a + 1) {
4204
4213
  const D = d[a];
4205
4214
  D < s && (s = D);
@@ -4260,8 +4269,8 @@ const V1 = {
4260
4269
  class: "flex-end",
4261
4270
  style: { flex: "1", "text-transform": "uppercase" }
4262
4271
  }, Ng = ["src"];
4263
- function cg(e, a, s, A, d, D) {
4264
- var y, c, g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W;
4272
+ function cg(e, a, s, g, d, D) {
4273
+ var y, c, A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W;
4265
4274
  return n(), o("div", F1, [
4266
4275
  t("div", G1, [
4267
4276
  a[0] || (a[0] = t("div", { class: "header-block" }, [
@@ -4293,7 +4302,7 @@ function cg(e, a, s, A, d, D) {
4293
4302
  t("div", q1, [
4294
4303
  a[2] || (a[2] = t("label", { class: "text-label flex-end" }, "Vessel", -1)),
4295
4304
  t("span", $1, i((c = (y = s.report) == null ? void 0 : y.vessel) == null ? void 0 : c.name), 1),
4296
- t("span", tg, "(" + i((E = (g = s.report) == null ? void 0 : g.vessel) == null ? void 0 : E.type) + ")", 1)
4305
+ t("span", tg, "(" + i((E = (A = s.report) == null ? void 0 : A.vessel) == null ? void 0 : E.type) + ")", 1)
4297
4306
  ]),
4298
4307
  t("div", ag, [
4299
4308
  a[3] || (a[3] = t("label", { class: "text-label flex-end" }, "Voyage No", -1)),
@@ -4311,7 +4320,7 @@ function cg(e, a, s, A, d, D) {
4311
4320
  ]),
4312
4321
  t("div", Mg, [
4313
4322
  a[6] || (a[6] = t("label", { class: "text-label flex-end" }, "Load Condition", -1)),
4314
- t("span", Dg, i((S = (L = s.report) == null ? void 0 : L.voyage) == null ? void 0 : S.loadCondition), 1)
4323
+ t("span", Dg, i((w = (L = s.report) == null ? void 0 : L.voyage) == null ? void 0 : w.loadCondition), 1)
4315
4324
  ])
4316
4325
  ]),
4317
4326
  a[7] || (a[7] = Ht('<div class="legend-block" data-v-34b7edf0><div data-v-34b7edf0>LEGEND</div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0>08/12</div><div data-v-34b7edf0><div data-v-34b7edf0>08 - Day of the month</div><div data-v-34b7edf0>12 - Hours of the day</div></div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--orm-black-6);" data-v-34b7edf0></i></div><div data-v-34b7edf0><div data-v-34b7edf0>Wind from N (000)</div><div data-v-34b7edf0>Each bard = 10 kts</div><div data-v-34b7edf0>1/2 bard = 5 kts</div></div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0>W 4</div><div data-v-34b7edf0>Sig. Wave from West, 4 meters</div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div class="good-wx" data-v-34b7edf0>Date</div><div data-v-34b7edf0>Good weather days</div></div></div>', 1))
@@ -4369,12 +4378,12 @@ const Ig = {
4369
4378
  document.getElementById("col1").innerHTML = null, document.getElementById("col2").innerHTML = null;
4370
4379
  const e = this.voyageEmails.sort((a, s) => a.date < s.date);
4371
4380
  e == null || e.forEach((a, s) => {
4372
- var g, E;
4373
- let A = "<div>";
4374
- a.to.includes("op@ormwx.com") || a.source === "VRT" ? (((E = (g = a.body) == null ? void 0 : g.replace(/^"|"$/g, "")) == null ? void 0 : E.split("\\n")).forEach((z) => {
4381
+ var A, E;
4382
+ let g = "<div>";
4383
+ a.to.includes("op@ormwx.com") || a.source === "VRT" ? (((E = (A = a.body) == null ? void 0 : A.replace(/^"|"$/g, "")) == null ? void 0 : E.split("\\n")).forEach((z) => {
4375
4384
  const Y = `<p>${z}</p>`;
4376
- A = A + Y;
4377
- }), A = A + "</div>") : A = a.body;
4385
+ g = g + Y;
4386
+ }), g = g + "</div>") : g = a.body;
4378
4387
  const d = document.getElementById("col1"), D = document.getElementById("col2"), y = (d == null ? void 0 : d.offsetHeight) || 0, c = (D == null ? void 0 : D.offsetHeight) || 0;
4379
4388
  if (y <= c) {
4380
4389
  let z = `<div class="${a.to.includes("op@ormwx.com") || a.source === "VRT" ? "vrpt-mail-item vrpt-item-left vrpt-inbox" : "vrpt-mail-item vrpt-item-left vrpt-outbox"}">
@@ -4383,7 +4392,7 @@ const Ig = {
4383
4392
  <div class="vrpt-to">To: ${a.to}</div>
4384
4393
  <div class="vrpt-subject">Subject: ${a.subject}</div>
4385
4394
  <br/>`;
4386
- z = z + A + "</div>", d.insertAdjacentHTML("beforeend", z);
4395
+ z = z + g + "</div>", d.insertAdjacentHTML("beforeend", z);
4387
4396
  } else {
4388
4397
  let z = `<div class="${a.to.includes("op@ormwx.com") || a.source === "VRT" ? "vrpt-mail-item vrpt-item-right vrpt-inbox" : "vrpt-mail-item vrpt-item-right vrpt-outbox"}">
4389
4398
  <div class="vrpt-date">Date: ${a.date}</div>
@@ -4391,13 +4400,13 @@ const Ig = {
4391
4400
  <div class="vrpt-to">To: ${a.to}</div>
4392
4401
  <div class="vrpt-subject">Subject: ${a.subject}</div>
4393
4402
  <br/>`;
4394
- z = z + A + "</div>", D.insertAdjacentHTML("beforeend", z);
4403
+ z = z + g + "</div>", D.insertAdjacentHTML("beforeend", z);
4395
4404
  }
4396
4405
  });
4397
4406
  }
4398
4407
  }
4399
4408
  }, gg = { class: "report-email" };
4400
- function Ag(e, a, s, A, d, D) {
4409
+ function Ag(e, a, s, g, d, D) {
4401
4410
  return n(), o("div", gg, [...a[0] || (a[0] = [
4402
4411
  Ht('<div class="section email-section" data-v-92f0e96e><div class="header-block" data-v-92f0e96e><div class="bg-block" data-v-92f0e96e><i class="iconfont icon-a-Updateemail" data-v-92f0e96e></i><div class="block-title" data-v-92f0e96e>Emails</div></div></div><div class="content-box" data-v-92f0e96e><div id="col1" class="col col1" data-v-92f0e96e></div><div id="col2" class="col col2" data-v-92f0e96e></div></div></div>', 1)
4403
4412
  ])]);
@@ -4456,15 +4465,15 @@ const mg = {
4456
4465
  prepare() {
4457
4466
  var a, s;
4458
4467
  const e = [];
4459
- (s = (a = this.report) == null ? void 0 : a.segments) == null || s.forEach((A) => {
4460
- const d = A.extend.cp;
4468
+ (s = (a = this.report) == null ? void 0 : a.segments) == null || s.forEach((g) => {
4469
+ const d = g.extend.cp;
4461
4470
  let D, y, c = !1;
4462
- A.inventory.sample.hours.forEach((g, E) => {
4463
- D || (D = g), (!y || c) && (y = g, c = !1), D.segIndex === g.segIndex ? D.segLength = (D.segLength || 0) + 1 : (D = g, D.segLength = 1), y.noonLength = (y.noonLength || 0) + 1;
4464
- let l = g.type.charAt(0);
4465
- ["N", "M", "E"].includes(l) && (c = !0, y.dailyAvgCf = g.dailyAvgCf, y.avgSpdCalc = g.avgSpdCalc, y.distanceCalc = g.distanceCalc, y.noon && (y.noon.foCons = g.noon.foCons, y.noon.dgoCons = g.noon.dgoCons)), g.abbrev = l, l = l === "M" ? "*" : l === "A" ? "" : l, g.time = `${l} ${this.computeUTCTime(g.utc, "MMM-DD/HHmm[Z]")}`, g._lng = et.lng2pretty(g.lng), g._lat = et.lat2pretty(g.lat), g.cp = d, g.goodWx = g.type === "BOSP" ? !1 : g.goodWx, e.push(g);
4471
+ g.inventory.sample.hours.forEach((A, E) => {
4472
+ D || (D = A), (!y || c) && (y = A, c = !1), D.segIndex === A.segIndex ? D.segLength = (D.segLength || 0) + 1 : (D = A, D.segLength = 1), y.noonLength = (y.noonLength || 0) + 1;
4473
+ let l = A.type.charAt(0);
4474
+ ["N", "M", "E"].includes(l) && (c = !0, y.dailyAvgCf = A.dailyAvgCf, y.avgSpdCalc = A.avgSpdCalc, y.distanceCalc = A.distanceCalc, y.noon && (y.noon.foCons = A.noon.foCons, y.noon.dgoCons = A.noon.dgoCons)), A.abbrev = l, l = l === "M" ? "*" : l === "A" ? "" : l, A.time = `${l} ${this.computeUTCTime(A.utc, "MMM-DD/HHmm[Z]")}`, A._lng = et.lng2pretty(A.lng), A._lat = et.lat2pretty(A.lat), A.cp = d, A.goodWx = A.type === "BOSP" ? !1 : A.goodWx, e.push(A);
4466
4475
  });
4467
- }), e.sort((A, d) => A.positionTime - d.positionTime), this.inventory = e;
4476
+ }), e.sort((g, d) => g.positionTime - d.positionTime), this.inventory = e;
4468
4477
  }
4469
4478
  }
4470
4479
  }, yg = {
@@ -4474,11 +4483,11 @@ const mg = {
4474
4483
  class: "sign-box",
4475
4484
  style: { margin: "80px auto" }
4476
4485
  };
4477
- function xg(e, a, s, A, d, D) {
4486
+ function xg(e, a, s, g, d, D) {
4478
4487
  var h, f, p;
4479
- const y = H("Cover"), c = H("IdmLoading"), g = H("VoySummary"), E = H("Inventory"), l = H("Chart"), z = H("Email"), Y = H("IdmSign");
4488
+ const y = H("Cover"), c = H("IdmLoading"), A = H("VoySummary"), E = H("Inventory"), l = H("Chart"), z = H("Email"), Y = H("IdmSign");
4480
4489
  return n(), o("div", {
4481
- class: V((f = (h = s.report) == null ? void 0 : h.weather) != null && f.referenceOnly ? "orm-voyage-report watermark" : "orm-voyage-report")
4490
+ class: S((f = (h = s.report) == null ? void 0 : h.weather) != null && f.referenceOnly ? "orm-voyage-report watermark" : "orm-voyage-report")
4482
4491
  }, [
4483
4492
  Mt(y, {
4484
4493
  report: s.report,
@@ -4490,7 +4499,7 @@ function xg(e, a, s, A, d, D) {
4490
4499
  onTimeout: a[0] || (a[0] = (Q) => d.loading = !1)
4491
4500
  }, null, 8, ["loading"])
4492
4501
  ])) : (n(), o(u, { key: 1 }, [
4493
- Mt(g, {
4502
+ Mt(A, {
4494
4503
  report: s.report,
4495
4504
  class: "main",
4496
4505
  onCommit: D.commit
@@ -4576,8 +4585,8 @@ const jg = {
4576
4585
  watch: {
4577
4586
  report: {
4578
4587
  handler() {
4579
- var e, a, s, A, d, D, y, c, g, E;
4580
- this.reservations4Route = (a = (e = this.report) == null ? void 0 : e.reservations) == null ? void 0 : a.filter((l) => l.type === "VOYAGE"), this.reservations4Point = (A = (s = this.report) == null ? void 0 : s.reservations) == null ? void 0 : A.filter((l) => l.type === "FORECAST"), this.reservations4Annual = (D = (d = this.report) == null ? void 0 : d.reservations) == null ? void 0 : D.filter((l) => l.type === "ANNUAL"), this.account = (y = this.report) == null ? void 0 : y.account, this.totalInUS = (g = (c = this.report) == null ? void 0 : c.reservations) == null ? void 0 : g.reduce((l, z) => Math.round((l + z.amount) * 100) / 100, 0), (E = this.reservations4Route) != null && E.length ? this.maxColspans = this.report.showPort ? 9 : 7 : this.maxColspans = 3;
4588
+ var e, a, s, g, d, D, y, c, A, E;
4589
+ this.reservations4Route = (a = (e = this.report) == null ? void 0 : e.reservations) == null ? void 0 : a.filter((l) => l.type === "VOYAGE"), this.reservations4Point = (g = (s = this.report) == null ? void 0 : s.reservations) == null ? void 0 : g.filter((l) => l.type === "FORECAST"), this.reservations4Annual = (D = (d = this.report) == null ? void 0 : d.reservations) == null ? void 0 : D.filter((l) => l.type === "ANNUAL"), this.account = (y = this.report) == null ? void 0 : y.account, this.totalInUS = (A = (c = this.report) == null ? void 0 : c.reservations) == null ? void 0 : A.reduce((l, z) => Math.round((l + z.amount) * 100) / 100, 0), (E = this.reservations4Route) != null && E.length ? this.maxColspans = this.report.showPort ? 9 : 7 : this.maxColspans = 3;
4581
4590
  },
4582
4591
  immediate: !0
4583
4592
  }
@@ -4593,8 +4602,8 @@ const jg = {
4593
4602
  class: "memo-block bg-blue-light",
4594
4603
  style: { "margin-top": "20px", padding: "8px" }
4595
4604
  }, l0 = ["innerHTML"], s0 = { style: { "page-break-inside": "avoid !important" } }, e0 = { class: "section company-section" }, n0 = { class: "company-content" }, o0 = { class: "company-item" }, d0 = { class: "company-item" }, M0 = { class: "company-item" }, D0 = { class: "company-item" }, N0 = { class: "company-item" }, c0 = { class: "company-item" }, r0 = { class: "company-item" }, I0 = { class: "company-item" }, g0 = { class: "company-item" }, A0 = { class: "company-item" }, u0 = { class: "company-item" }, m0 = { class: "company-item" }, y0 = { class: "company-item" }, v0 = { class: "company-item" }, T0 = { class: "section sign-section" }, x0 = { class: "flex-space" }, z0 = { class: "sign-block" };
4596
- function j0(e, a, s, A, d, D) {
4597
- var c, g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt;
4605
+ function j0(e, a, s, g, d, D) {
4606
+ var c, A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt;
4598
4607
  const y = H("IdmBrand");
4599
4608
  return n(), o("div", Ug, [
4600
4609
  Mt(y, {
@@ -4606,7 +4615,7 @@ function j0(e, a, s, A, d, D) {
4606
4615
  a[0] || (a[0] = t("span", { class: "label text-label" }, "Bill To", -1)),
4607
4616
  t("span", {
4608
4617
  class: "text",
4609
- innerHTML: (E = (g = (c = s.report) == null ? void 0 : c.invoiceTitle) == null ? void 0 : g.name) == null ? void 0 : E.replace(`
4618
+ innerHTML: (E = (A = (c = s.report) == null ? void 0 : c.invoiceTitle) == null ? void 0 : A.name) == null ? void 0 : E.replace(`
4610
4619
  `, "<br/>")
4611
4620
  }, null, 8, pg)
4612
4621
  ]),
@@ -4756,7 +4765,7 @@ function j0(e, a, s, A, d, D) {
4756
4765
  ((L = s.report) == null ? void 0 : L.paymentType) === "CNY" ? (n(), o(u, { key: 0 }, [
4757
4766
  t("div", o0, [
4758
4767
  a[22] || (a[22] = t("label", null, "Bank", -1)),
4759
- t("span", null, i((K = (X = d.account) == null ? void 0 : X[(W = (S = s.report) == null ? void 0 : S.paymentType) == null ? void 0 : W.toLowerCase()]) == null ? void 0 : K.bank), 1)
4768
+ t("span", null, i((K = (X = d.account) == null ? void 0 : X[(W = (w = s.report) == null ? void 0 : w.paymentType) == null ? void 0 : W.toLowerCase()]) == null ? void 0 : K.bank), 1)
4760
4769
  ]),
4761
4770
  t("div", d0, [
4762
4771
  a[23] || (a[23] = t("label", null, "Account", -1)),
@@ -4957,8 +4966,8 @@ const b0 = {
4957
4966
  key: 3,
4958
4967
  class: "buttons"
4959
4968
  };
4960
- function Y0(e, a, s, A, d, D) {
4961
- const y = H("ElTag"), c = H("ElInput"), g = H("IdmEditor"), E = H("ElInputNumber"), l = H("ElDatePicker"), z = H("ElOption"), Y = H("ElSelect"), h = H("ElRadio"), f = H("ElRadioGroup"), p = H("ElCheckbox"), Q = H("ElCheckboxGroup"), j = H("Edit"), b = H("ElIcon"), C = H("ElButton"), k = H("Close");
4969
+ function Y0(e, a, s, g, d, D) {
4970
+ const y = H("ElTag"), c = H("ElInput"), A = H("IdmEditor"), E = H("ElInputNumber"), l = H("ElDatePicker"), z = H("ElOption"), Y = H("ElSelect"), h = H("ElRadio"), f = H("ElRadioGroup"), p = H("ElCheckbox"), Q = H("ElCheckboxGroup"), j = H("Edit"), b = H("ElIcon"), C = H("ElButton"), k = H("Close");
4962
4971
  return n(), o("div", O0, [
4963
4972
  t("div", {
4964
4973
  class: "group",
@@ -4992,7 +5001,7 @@ function Y0(e, a, s, A, d, D) {
4992
5001
  rows: 4,
4993
5002
  onBlur: D.handleCommit
4994
5003
  }, null, 8, ["modelValue", "size", "onBlur"])) : I("", !0),
4995
- s.type === "richText" ? (n(), Vt(g, {
5004
+ s.type === "richText" ? (n(), Vt(A, {
4996
5005
  key: 3,
4997
5006
  modelValue: d.model,
4998
5007
  "onUpdate:modelValue": a[5] || (a[5] = (T) => d.model = T),
@@ -5323,7 +5332,7 @@ const k0 = {
5323
5332
  this.extraPortList.push(e);
5324
5333
  },
5325
5334
  async handleRemove(e) {
5326
- var s, A, d;
5335
+ var s, g, d;
5327
5336
  this.extraPortList.splice(e, 1);
5328
5337
  const a = await Fn.put(
5329
5338
  `${this.gateway}/api/als/deviations/${this.id}`,
@@ -5337,9 +5346,9 @@ const k0 = {
5337
5346
  }
5338
5347
  }
5339
5348
  );
5340
- this.$emit("refresh", (s = a == null ? void 0 : a.data) == null ? void 0 : s.data), this.extraPortList = (d = (A = a == null ? void 0 : a.data) == null ? void 0 : A.data) == null ? void 0 : d.extraPorts;
5349
+ this.$emit("refresh", (s = a == null ? void 0 : a.data) == null ? void 0 : s.data), this.extraPortList = (d = (g = a == null ? void 0 : a.data) == null ? void 0 : g.data) == null ? void 0 : d.extraPorts;
5341
5350
  },
5342
- async handleCommit(e, a, s, A) {
5351
+ async handleCommit(e, a, s, g) {
5343
5352
  var y;
5344
5353
  this.editable = !1;
5345
5354
  const d = a == null ? void 0 : a.indexOf(".");
@@ -5348,9 +5357,9 @@ const k0 = {
5348
5357
  if (e === "port") {
5349
5358
  if (d > 0) {
5350
5359
  const E = a.substring(0, d), l = a.substring(d + 1);
5351
- l !== "date" && (s = Number(s)), this.extraPortList[A][E][l] = s;
5360
+ l !== "date" && (s = Number(s)), this.extraPortList[g][E][l] = s;
5352
5361
  } else
5353
- this.extraPortList[A][a] = s;
5362
+ this.extraPortList[g][a] = s;
5354
5363
  D = {
5355
5364
  extraPorts: this.extraPortList
5356
5365
  };
@@ -5365,8 +5374,8 @@ const k0 = {
5365
5374
  Authorization: this.token
5366
5375
  }
5367
5376
  }
5368
- ), g = (y = c == null ? void 0 : c.data) == null ? void 0 : y.data;
5369
- this.$emit("refresh", g), this.extraPortList = g == null ? void 0 : g.extraPorts;
5377
+ ), A = (y = c == null ? void 0 : c.data) == null ? void 0 : y.data;
5378
+ this.$emit("refresh", A), this.extraPortList = A == null ? void 0 : A.extraPorts;
5370
5379
  }
5371
5380
  }
5372
5381
  }
@@ -5489,9 +5498,9 @@ const k0 = {
5489
5498
  key: 0,
5490
5499
  class: ""
5491
5500
  }, Jy = ["innerHTML"], Hy = { key: 1 }, Xy = { class: "section map-section" }, Ky = { class: "report-map" }, qy = ["src"];
5492
- function $y(e, a, s, A, d, D) {
5493
- var l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua;
5494
- const y = H("IdmBrand"), c = H("EditableItem"), g = H("ElButton"), E = H("Editor");
5501
+ function $y(e, a, s, g, d, D) {
5502
+ var l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua;
5503
+ const y = H("IdmBrand"), c = H("EditableItem"), A = H("ElButton"), E = H("Editor");
5495
5504
  return n(), o("div", S0, [
5496
5505
  Mt(y, { name: "Voyage Deviation Report" }),
5497
5506
  t("div", w0, [
@@ -5514,7 +5523,7 @@ function $y(e, a, s, A, d, D) {
5514
5523
  t("div", _0, [
5515
5524
  a[12] || (a[12] = t("span", { class: "label text-label" }, "Departure", -1)),
5516
5525
  (k = (C = s.report) == null ? void 0 : C.departure) != null && k.name ? (n(), o("span", J0, i((Z = (T = s.report) == null ? void 0 : T.departure) == null ? void 0 : Z.name), 1)) : (n(), o("span", H0, i(D.computePosition((L = s.report) == null ? void 0 : L.departure)), 1)),
5517
- t("span", X0, i(D.computeUTCTime(((W = (S = s.report) == null ? void 0 : S.departure) == null ? void 0 : W.atd) || ((K = (X = s.report) == null ? void 0 : X.departure) == null ? void 0 : K.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
5526
+ t("span", X0, i(D.computeUTCTime(((W = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : W.atd) || ((K = (X = s.report) == null ? void 0 : X.departure) == null ? void 0 : K.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
5518
5527
  ]),
5519
5528
  t("div", K0, [
5520
5529
  a[13] || (a[13] = t("span", { class: "label text-label" }, "Arrival", -1)),
@@ -5764,7 +5773,7 @@ function $y(e, a, s, A, d, D) {
5764
5773
  a[34] || (a[34] = t("td", null, null, -1)),
5765
5774
  a[35] || (a[35] = t("td", null, null, -1)),
5766
5775
  t("td", DA, [
5767
- Mt(g, {
5776
+ Mt(A, {
5768
5777
  size: "small",
5769
5778
  onClick: (Tt) => D.handleRemove(vt)
5770
5779
  }, {
@@ -5844,7 +5853,7 @@ function $y(e, a, s, A, d, D) {
5844
5853
  ])
5845
5854
  ]),
5846
5855
  t("div", cA, [
5847
- Mt(g, {
5856
+ Mt(A, {
5848
5857
  style: {},
5849
5858
  size: "small",
5850
5859
  class: "print-hidden",
@@ -5865,7 +5874,7 @@ function $y(e, a, s, A, d, D) {
5865
5874
  ])
5866
5875
  ], -1)),
5867
5876
  (n(!0), o(u, null, O((Aa = (ga = s.report) == null ? void 0 : ga.extend) == null ? void 0 : Aa.rows, (M, vt) => {
5868
- var Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl;
5877
+ var Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl;
5869
5878
  return n(), o("div", {
5870
5879
  key: vt,
5871
5880
  class: "seg-item",
@@ -6382,7 +6391,7 @@ function $y(e, a, s, A, d, D) {
6382
6391
  t("div", ay, i((il = (al = M == null ? void 0 : M.consAnalysis) == null ? void 0 : al.dgo) == null ? void 0 : il.totalExtraCons) + " (mt)", 1)
6383
6392
  ])
6384
6393
  ])) : ((ll = s.report) == null ? void 0 : ll.method) === "ConsExtrapolate" ? (n(), o("div", iy, [
6385
- (w = (N = M == null ? void 0 : M.consAnalysis) == null ? void 0 : N.fo) != null && w.realCons || (F = (R = M == null ? void 0 : M.consAnalysis) == null ? void 0 : R.fo) != null && F.actualCons ? (n(), o("div", ly, [
6394
+ (R = (N = M == null ? void 0 : M.consAnalysis) == null ? void 0 : N.fo) != null && R.realCons || (F = (V = M == null ? void 0 : M.consAnalysis) == null ? void 0 : V.fo) != null && F.actualCons ? (n(), o("div", ly, [
6386
6395
  a[167] || (a[167] = t("div", {
6387
6396
  class: "fraction flex-center",
6388
6397
  style: { width: "180px" }
@@ -6489,7 +6498,7 @@ function $y(e, a, s, A, d, D) {
6489
6498
  }), 128))
6490
6499
  ]),
6491
6500
  t("div", {
6492
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
6501
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
6493
6502
  }, [
6494
6503
  a[193] || (a[193] = t("div", { class: "header-block" }, [
6495
6504
  t("div", { class: "bg-block" }, [
@@ -6613,8 +6622,8 @@ const av = {
6613
6622
  key: 0,
6614
6623
  class: ""
6615
6624
  }, Jv = ["innerHTML"], Hv = { key: 1 }, Xv = { class: "section table-section" }, Kv = { class: "orm-report-table" }, qv = { rowspan: 2 }, $v = { rowspan: 2 }, tT = { rowspan: 2 }, aT = { rowspan: 2 }, iT = { class: "section map-section" }, lT = ["src"], sT = ["src"];
6616
- function eT(e, a, s, A, d, D) {
6617
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua;
6625
+ function eT(e, a, s, g, d, D) {
6626
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua;
6618
6627
  const y = H("IdmBrand"), c = H("Editor");
6619
6628
  return n(), o("div", iv, [
6620
6629
  Mt(y, { name: "Voyage Stoppage Report" }),
@@ -6623,7 +6632,7 @@ function eT(e, a, s, A, d, D) {
6623
6632
  t("div", ev, [
6624
6633
  t("div", nv, [
6625
6634
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Prepare for", -1)),
6626
- t("span", ov, i((l = (E = (g = s.report) == null ? void 0 : g.voyage) == null ? void 0 : E.company) == null ? void 0 : l.name), 1)
6635
+ t("span", ov, i((l = (E = (A = s.report) == null ? void 0 : A.voyage) == null ? void 0 : E.company) == null ? void 0 : l.name), 1)
6627
6636
  ]),
6628
6637
  t("div", dv, [
6629
6638
  a[4] || (a[4] = t("span", { class: "label text-label" }, "Vessel", -1)),
@@ -6637,7 +6646,7 @@ function eT(e, a, s, A, d, D) {
6637
6646
  t("div", cv, [
6638
6647
  t("div", rv, [
6639
6648
  a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
6640
- (Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (n(), o("span", Iv, i((S = (L = s.report) == null ? void 0 : L.departure) == null ? void 0 : S.name), 1)) : (n(), o("span", gv, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
6649
+ (Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (n(), o("span", Iv, i((w = (L = s.report) == null ? void 0 : L.departure) == null ? void 0 : w.name), 1)) : (n(), o("span", gv, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
6641
6650
  t("span", Av, i(D.computeUTCTime(((K = (X = s.report) == null ? void 0 : X.departure) == null ? void 0 : K.atd) || ((tt = (q = s.report) == null ? void 0 : q.departure) == null ? void 0 : tt.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
6642
6651
  ]),
6643
6652
  t("div", uv, [
@@ -6719,7 +6728,7 @@ function eT(e, a, s, A, d, D) {
6719
6728
  ])
6720
6729
  ]),
6721
6730
  t("div", {
6722
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
6731
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
6723
6732
  }, [
6724
6733
  a[25] || (a[25] = t("div", { class: "header-block" }, [
6725
6734
  t("div", { class: "bg-block" }, [
@@ -6946,8 +6955,8 @@ const oT = {
6946
6955
  class: "sum",
6947
6956
  colspan: "2"
6948
6957
  };
6949
- function gx(e, a, s, A, d, D) {
6950
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt;
6958
+ function gx(e, a, s, g, d, D) {
6959
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt;
6951
6960
  const y = H("IdmBrand"), c = H("Editor");
6952
6961
  return n(), o("div", dT, [
6953
6962
  Mt(y, { name: "Voyage Comparison Report" }),
@@ -6956,7 +6965,7 @@ function gx(e, a, s, A, d, D) {
6956
6965
  t("div", NT, [
6957
6966
  t("div", cT, [
6958
6967
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Prepare for", -1)),
6959
- t("span", rT, i((g = s.report) == null ? void 0 : g.preparedFor), 1)
6968
+ t("span", rT, i((A = s.report) == null ? void 0 : A.preparedFor), 1)
6960
6969
  ]),
6961
6970
  t("div", IT, [
6962
6971
  a[4] || (a[4] = t("span", { class: "label text-label" }, "Vessel", -1)),
@@ -6971,7 +6980,7 @@ function gx(e, a, s, A, d, D) {
6971
6980
  t("div", yT, [
6972
6981
  a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
6973
6982
  (b = (j = s.report) == null ? void 0 : j.departure) != null && b.name ? (n(), o("span", vT, i((k = (C = s.report) == null ? void 0 : C.departure) == null ? void 0 : k.name), 1)) : (n(), o("span", TT, i(D.computePosition((T = s.report) == null ? void 0 : T.departure)), 1)),
6974
- t("span", xT, i(D.computeUTCTime(((L = (Z = s.report) == null ? void 0 : Z.departure) == null ? void 0 : L.atd) || ((W = (S = s.report) == null ? void 0 : S.departure) == null ? void 0 : W.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
6983
+ t("span", xT, i(D.computeUTCTime(((L = (Z = s.report) == null ? void 0 : Z.departure) == null ? void 0 : L.atd) || ((W = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : W.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
6975
6984
  ]),
6976
6985
  t("div", zT, [
6977
6986
  a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
@@ -7082,7 +7091,7 @@ function gx(e, a, s, A, d, D) {
7082
7091
  ])
7083
7092
  ]),
7084
7093
  t("div", {
7085
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
7094
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
7086
7095
  }, [
7087
7096
  a[31] || (a[31] = t("div", { class: "header-block" }, [
7088
7097
  t("div", { class: "bg-block" }, [
@@ -7437,8 +7446,8 @@ const ux = {
7437
7446
  key: 2,
7438
7447
  class: "formula-item flex-evenly bg-blue-light"
7439
7448
  }, jz = { class: "fraction" }, Uz = { class: "fraction" }, fz = { class: "fraction" }, Ez = { class: "section vessel-report-section print-landscape" }, pz = { class: "section-content" }, bz = { class: "orm-report-table" }, Oz = ["rowspan"];
7440
- function hz(e, a, s, A, d, D) {
7441
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, es, ns, os, ds, Ms, Ds, Ns, cs, rs, Is, gs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, ps, bs, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, te, ae, ie, le, se, ee, ne, oe, de, Me, De, Ne, ce, re, Ie, ge, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, pe, be, Oe, he, Ce, Ye, Qe, ke, Se, we, Re, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, tn, an, ln, sn, en, nn, on, dn, Mn, Dn, Nn, cn, rn, In, gn, An, un, mn, yn, vn, Tn, xn, zn, jn, Un, fn, En, pn, bn, On, Ca, Fl, xl, Vl, hn, Cn, Yn, Qn, Gn, Pn, Wn, Zn, Ln, Bn, _n, Jn, Hn, Xn, Kn, qn, $n, to, ao, io, lo, so, eo, no, oo, Mo, Do, No, co, ro, Io, go, Ao, uo, mo, yo, vo, To, xo, zo, jo, Uo, fo;
7449
+ function hz(e, a, s, g, d, D) {
7450
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll, N, R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, es, ns, os, ds, Ms, Ds, Ns, cs, rs, Is, gs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, ps, bs, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, te, ae, ie, le, se, ee, ne, oe, de, Me, De, Ne, ce, re, Ie, ge, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, pe, be, Oe, he, Ce, Ye, Qe, ke, Se, we, Re, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, tn, an, ln, sn, en, nn, on, dn, Mn, Dn, Nn, cn, rn, In, gn, An, un, mn, yn, vn, Tn, xn, zn, jn, Un, fn, En, pn, bn, On, Ca, Fl, xl, Vl, hn, Cn, Yn, Qn, Gn, Pn, Wn, Zn, Ln, Bn, _n, Jn, Hn, Xn, Kn, qn, $n, to, ao, io, lo, so, eo, no, oo, Mo, Do, No, co, ro, Io, go, Ao, uo, mo, yo, vo, To, xo, zo, jo, Uo, fo;
7442
7451
  const y = H("IdmBrand"), c = H("Editor");
7443
7452
  return n(), o("div", mx, [
7444
7453
  Mt(y, {
@@ -7449,7 +7458,7 @@ function hz(e, a, s, A, d, D) {
7449
7458
  t("div", vx, [
7450
7459
  t("div", Tx, [
7451
7460
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Prepare for", -1)),
7452
- t("span", xx, i((l = (E = (g = s.report) == null ? void 0 : g.voyage) == null ? void 0 : E.company) == null ? void 0 : l.name), 1)
7461
+ t("span", xx, i((l = (E = (A = s.report) == null ? void 0 : A.voyage) == null ? void 0 : E.company) == null ? void 0 : l.name), 1)
7453
7462
  ]),
7454
7463
  t("div", zx, [
7455
7464
  a[4] || (a[4] = t("span", { class: "label text-label" }, "Vessel", -1)),
@@ -7463,7 +7472,7 @@ function hz(e, a, s, A, d, D) {
7463
7472
  t("div", Ex, [
7464
7473
  t("div", px, [
7465
7474
  a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
7466
- (Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (n(), o("span", bx, i((S = (L = s.report) == null ? void 0 : L.departure) == null ? void 0 : S.name), 1)) : (n(), o("span", Ox, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
7475
+ (Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (n(), o("span", bx, i((w = (L = s.report) == null ? void 0 : L.departure) == null ? void 0 : w.name), 1)) : (n(), o("span", Ox, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
7467
7476
  t("span", hx, i(D.computeUTCTime(((K = (X = s.report) == null ? void 0 : X.departure) == null ? void 0 : K.atd) || ((tt = (q = s.report) == null ? void 0 : q.departure) == null ? void 0 : tt.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
7468
7477
  ]),
7469
7478
  t("div", Cx, [
@@ -7566,16 +7575,16 @@ function hz(e, a, s, A, d, D) {
7566
7575
  r(i(((ll = (il = (al = (tl = s.report) == null ? void 0 : tl.eeas) == null ? void 0 : al.extend) == null ? void 0 : il.actual) == null ? void 0 : ll.totalFoCons) ?? "-"), 1),
7567
7576
  a[20] || (a[20] = t("span", { class: "unit" }, "mt", -1))
7568
7577
  ]),
7569
- ((G = (F = (R = (w = (N = s.report) == null ? void 0 : N.eeas) == null ? void 0 : w.extend) == null ? void 0 : R.summary) == null ? void 0 : F.fo) == null ? void 0 : G.status) === "N/A" ? (n(), o("div", D2, [...a[21] || (a[21] = [
7578
+ ((G = (F = (V = (R = (N = s.report) == null ? void 0 : N.eeas) == null ? void 0 : R.extend) == null ? void 0 : V.summary) == null ? void 0 : F.fo) == null ? void 0 : G.status) === "N/A" ? (n(), o("div", D2, [...a[21] || (a[21] = [
7570
7579
  t("div", { class: "phase-title" }, "N/A", -1)
7571
7580
  ])])) : (n(), o("div", N2, [
7572
7581
  t("div", null, [
7573
7582
  t("span", c2, i(((gt = (st = ($ = (_ = (P = s.report) == null ? void 0 : P.eeas) == null ? void 0 : _.extend) == null ? void 0 : $.summary) == null ? void 0 : st.fo) == null ? void 0 : gt.status) === "Saving" ? "Gain" : "Lost"), 1),
7574
7583
  t("i", {
7575
- class: V(["iconfont", ((kt = (yt = (mt = (ut = (At = s.report) == null ? void 0 : At.eeas) == null ? void 0 : ut.extend) == null ? void 0 : mt.summary) == null ? void 0 : yt.fo) == null ? void 0 : kt.status) === "Saving" ? "gain" : "lost"])
7584
+ class: S(["iconfont", ((kt = (yt = (mt = (ut = (At = s.report) == null ? void 0 : At.eeas) == null ? void 0 : ut.extend) == null ? void 0 : mt.summary) == null ? void 0 : yt.fo) == null ? void 0 : kt.status) === "Saving" ? "gain" : "lost"])
7576
7585
  }, i(((ta = ($t = (qt = (wt = (St = s.report) == null ? void 0 : St.eeas) == null ? void 0 : wt.extend) == null ? void 0 : qt.summary) == null ? void 0 : $t.fo) == null ? void 0 : ta.status) === "Saving" ? "" : ""), 3),
7577
7586
  t("span", {
7578
- class: V(((ha = (Oa = (la = (ia = (aa = s.report) == null ? void 0 : aa.eeas) == null ? void 0 : ia.extend) == null ? void 0 : la.summary) == null ? void 0 : Oa.fo) == null ? void 0 : ha.status) === "Saving" ? "gain" : "lost")
7587
+ class: S(((ha = (Oa = (la = (ia = (aa = s.report) == null ? void 0 : aa.eeas) == null ? void 0 : ia.extend) == null ? void 0 : la.summary) == null ? void 0 : Oa.fo) == null ? void 0 : ha.status) === "Saving" ? "gain" : "lost")
7579
7588
  }, i((pl = (El = (fl = (Ul = (sl = s.report) == null ? void 0 : sl.eeas) == null ? void 0 : Ul.extend) == null ? void 0 : fl.summary) == null ? void 0 : El.fo) == null ? void 0 : pl.margin), 3),
7580
7589
  a[22] || (a[22] = t("span", { class: "unit" }, "mt", -1))
7581
7590
  ])
@@ -7593,10 +7602,10 @@ function hz(e, a, s, A, d, D) {
7593
7602
  t("div", null, [
7594
7603
  t("span", u2, i(((Zl = (Wl = (Pl = (Gl = (Rl = s.report) == null ? void 0 : Rl.eeas) == null ? void 0 : Gl.extend) == null ? void 0 : Pl.summary) == null ? void 0 : Wl.dgo) == null ? void 0 : Zl.status) === "Saving" ? "Gain" : "Lost"), 1),
7595
7604
  t("i", {
7596
- class: V(["iconfont", ((Hl = (Jl = (_l = (Bl = (Ll = s.report) == null ? void 0 : Ll.eeas) == null ? void 0 : Bl.extend) == null ? void 0 : _l.summary) == null ? void 0 : Jl.dgo) == null ? void 0 : Hl.status) === "Saving" ? "gain" : "lost"])
7605
+ class: S(["iconfont", ((Hl = (Jl = (_l = (Bl = (Ll = s.report) == null ? void 0 : Ll.eeas) == null ? void 0 : Bl.extend) == null ? void 0 : _l.summary) == null ? void 0 : Jl.dgo) == null ? void 0 : Hl.status) === "Saving" ? "gain" : "lost"])
7597
7606
  }, i(((ts = ($l = (ql = (Kl = (Xl = s.report) == null ? void 0 : Xl.eeas) == null ? void 0 : Kl.extend) == null ? void 0 : ql.summary) == null ? void 0 : $l.dgo) == null ? void 0 : ts.status) === "Saving" ? "" : ""), 3),
7598
7607
  t("span", {
7599
- class: V(((es = (ss = (ls = (is = (as = s.report) == null ? void 0 : as.eeas) == null ? void 0 : is.extend) == null ? void 0 : ls.summary) == null ? void 0 : ss.dgo) == null ? void 0 : es.status) === "Saving" ? "gain" : "lost")
7608
+ class: S(((es = (ss = (ls = (is = (as = s.report) == null ? void 0 : as.eeas) == null ? void 0 : is.extend) == null ? void 0 : ls.summary) == null ? void 0 : ss.dgo) == null ? void 0 : es.status) === "Saving" ? "gain" : "lost")
7600
7609
  }, i((Ds = (Ms = (ds = (os = (ns = s.report) == null ? void 0 : ns.eeas) == null ? void 0 : os.extend) == null ? void 0 : ds.summary) == null ? void 0 : Ms.dgo) == null ? void 0 : Ds.margin), 3),
7601
7610
  a[26] || (a[26] = t("span", { class: "unit" }, "mt", -1))
7602
7611
  ])
@@ -7606,7 +7615,7 @@ function hz(e, a, s, A, d, D) {
7606
7615
  ])
7607
7616
  ]),
7608
7617
  t("div", {
7609
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
7618
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
7610
7619
  }, [
7611
7620
  a[29] || (a[29] = t("div", { class: "header-block" }, [
7612
7621
  t("div", { class: "bg-block" }, [
@@ -7697,32 +7706,32 @@ function hz(e, a, s, A, d, D) {
7697
7706
  a[30] || (a[30] = t("td", null, "Idle", -1)),
7698
7707
  t("td", null, i((kn = Rt.idle) == null ? void 0 : kn.totalTime), 1),
7699
7708
  t("td", {
7700
- class: V(((Ea = Rt.idle) == null ? void 0 : Ea.totalFoCons) > ((bo = (po = (Eo = (wn = (Sn = s.report) == null ? void 0 : Sn.eeas) == null ? void 0 : wn.extend) == null ? void 0 : Eo.cp) == null ? void 0 : po.idle) == null ? void 0 : bo.totalFoCons) ? "lost" : "")
7709
+ class: S(((Ea = Rt.idle) == null ? void 0 : Ea.totalFoCons) > ((bo = (po = (Eo = (wn = (Sn = s.report) == null ? void 0 : Sn.eeas) == null ? void 0 : wn.extend) == null ? void 0 : Eo.cp) == null ? void 0 : po.idle) == null ? void 0 : bo.totalFoCons) ? "lost" : "")
7701
7710
  }, i((Oo = Rt.idle) == null ? void 0 : Oo.totalFoCons), 3),
7702
7711
  t("td", {
7703
- class: V(((ho = Rt.idle) == null ? void 0 : ho.totalDgoCons) > ((So = (ko = (Qo = (Yo = (Co = s.report) == null ? void 0 : Co.eeas) == null ? void 0 : Yo.extend) == null ? void 0 : Qo.cp) == null ? void 0 : ko.idle) == null ? void 0 : So.totalDgoCons) ? "lost" : "")
7712
+ class: S(((ho = Rt.idle) == null ? void 0 : ho.totalDgoCons) > ((So = (ko = (Qo = (Yo = (Co = s.report) == null ? void 0 : Co.eeas) == null ? void 0 : Yo.extend) == null ? void 0 : Qo.cp) == null ? void 0 : ko.idle) == null ? void 0 : So.totalDgoCons) ? "lost" : "")
7704
7713
  }, i((wo = Rt.idle) == null ? void 0 : wo.totalDgoCons), 3),
7705
7714
  t("td", {
7706
- class: V(((Ro = Rt.idle) == null ? void 0 : Ro.dailyFoCons) > ((Wo = (Po = (Go = (Fo = (Vo = s.report) == null ? void 0 : Vo.eeas) == null ? void 0 : Fo.extend) == null ? void 0 : Go.cp) == null ? void 0 : Po.idle) == null ? void 0 : Wo.fo) ? "lost" : "")
7715
+ class: S(((Ro = Rt.idle) == null ? void 0 : Ro.dailyFoCons) > ((Wo = (Po = (Go = (Fo = (Vo = s.report) == null ? void 0 : Vo.eeas) == null ? void 0 : Fo.extend) == null ? void 0 : Go.cp) == null ? void 0 : Po.idle) == null ? void 0 : Wo.fo) ? "lost" : "")
7707
7716
  }, i((Zo = Rt.idle) == null ? void 0 : Zo.dailyFoCons), 3),
7708
7717
  t("td", {
7709
- class: V(((Lo = Rt.idle) == null ? void 0 : Lo.dailyDgoCons) > ((Xo = (Ho = (Jo = (_o = (Bo = s.report) == null ? void 0 : Bo.eeas) == null ? void 0 : _o.extend) == null ? void 0 : Jo.cp) == null ? void 0 : Ho.idle) == null ? void 0 : Xo.dgo) ? "lost" : "")
7718
+ class: S(((Lo = Rt.idle) == null ? void 0 : Lo.dailyDgoCons) > ((Xo = (Ho = (Jo = (_o = (Bo = s.report) == null ? void 0 : Bo.eeas) == null ? void 0 : _o.extend) == null ? void 0 : Jo.cp) == null ? void 0 : Ho.idle) == null ? void 0 : Xo.dgo) ? "lost" : "")
7710
7719
  }, i((Ko = Rt.idle) == null ? void 0 : Ko.dailyDgoCons), 3)
7711
7720
  ]),
7712
7721
  t("tr", null, [
7713
7722
  a[31] || (a[31] = t("td", null, "Working", -1)),
7714
7723
  t("td", null, i((qo = Rt.working) == null ? void 0 : qo.totalTime), 1),
7715
7724
  t("td", {
7716
- class: V((($o = Rt.working) == null ? void 0 : $o.totalFoCons) > ((sd = (ld = (id = (ad = (td = s.report) == null ? void 0 : td.eeas) == null ? void 0 : ad.extend) == null ? void 0 : id.cp) == null ? void 0 : ld.working) == null ? void 0 : sd.totalFoCons) ? "lost" : "")
7725
+ class: S((($o = Rt.working) == null ? void 0 : $o.totalFoCons) > ((sd = (ld = (id = (ad = (td = s.report) == null ? void 0 : td.eeas) == null ? void 0 : ad.extend) == null ? void 0 : id.cp) == null ? void 0 : ld.working) == null ? void 0 : sd.totalFoCons) ? "lost" : "")
7717
7726
  }, i((ed = Rt.working) == null ? void 0 : ed.totalFoCons), 3),
7718
7727
  t("td", {
7719
- class: V(((nd = Rt.working) == null ? void 0 : nd.totalDgoCons) > ((Nd = (Dd = (Md = (dd = (od = s.report) == null ? void 0 : od.eeas) == null ? void 0 : dd.extend) == null ? void 0 : Md.cp) == null ? void 0 : Dd.working) == null ? void 0 : Nd.totalDgoCons) ? "lost" : "")
7728
+ class: S(((nd = Rt.working) == null ? void 0 : nd.totalDgoCons) > ((Nd = (Dd = (Md = (dd = (od = s.report) == null ? void 0 : od.eeas) == null ? void 0 : dd.extend) == null ? void 0 : Md.cp) == null ? void 0 : Dd.working) == null ? void 0 : Nd.totalDgoCons) ? "lost" : "")
7720
7729
  }, i((cd = Rt.working) == null ? void 0 : cd.totalDgoCons), 3),
7721
7730
  t("td", {
7722
- class: V(((rd = Rt.working) == null ? void 0 : rd.dailyFoCons) > ((md = (ud = (Ad = (gd = (Id = s.report) == null ? void 0 : Id.eeas) == null ? void 0 : gd.extend) == null ? void 0 : Ad.cp) == null ? void 0 : ud.working) == null ? void 0 : md.fo) ? "lost" : "")
7731
+ class: S(((rd = Rt.working) == null ? void 0 : rd.dailyFoCons) > ((md = (ud = (Ad = (gd = (Id = s.report) == null ? void 0 : Id.eeas) == null ? void 0 : gd.extend) == null ? void 0 : Ad.cp) == null ? void 0 : ud.working) == null ? void 0 : md.fo) ? "lost" : "")
7723
7732
  }, i((yd = Rt.working) == null ? void 0 : yd.dailyFoCons), 3),
7724
7733
  t("td", {
7725
- class: V(((vd = Rt.working) == null ? void 0 : vd.dailyDgoCons) > ((Ud = (jd = (zd = (xd = (Td = s.report) == null ? void 0 : Td.eeas) == null ? void 0 : xd.extend) == null ? void 0 : zd.cp) == null ? void 0 : jd.working) == null ? void 0 : Ud.dgo) ? "lost" : "")
7734
+ class: S(((vd = Rt.working) == null ? void 0 : vd.dailyDgoCons) > ((Ud = (jd = (zd = (xd = (Td = s.report) == null ? void 0 : Td.eeas) == null ? void 0 : xd.extend) == null ? void 0 : zd.cp) == null ? void 0 : jd.working) == null ? void 0 : Ud.dgo) ? "lost" : "")
7726
7735
  }, i((fd = Rt.working) == null ? void 0 : fd.dailyDgoCons), 3)
7727
7736
  ])
7728
7737
  ]);
@@ -8084,8 +8093,8 @@ const wz = {
8084
8093
  },
8085
8094
  methods: {
8086
8095
  fetchData() {
8087
- var e, a, s, A, d, D;
8088
- (e = this.report) != null && e.id && (this.form = (a = this.report) == null ? void 0 : a.extend, this.remarks = (s = this.form) == null ? void 0 : s.remarks, this.vessel = ((D = (d = (A = this.form) == null ? void 0 : A.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
8096
+ var e, a, s, g, d, D;
8097
+ (e = this.report) != null && e.id && (this.form = (a = this.report) == null ? void 0 : a.extend, this.remarks = (s = this.form) == null ? void 0 : s.remarks, this.vessel = ((D = (d = (g = this.form) == null ? void 0 : g.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
8089
8098
  },
8090
8099
  handleCommit(e) {
8091
8100
  this.editable = !1, this.$emit("commit", e);
@@ -8114,8 +8123,8 @@ const wz = {
8114
8123
  class: "label",
8115
8124
  style: { "font-weight": "bold" }
8116
8125
  }, yj = { class: "section leg-section" }, vj = { class: "orm-report-table" }, Tj = ["colspan"];
8117
- function xj(e, a, s, A, d, D) {
8118
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It;
8126
+ function xj(e, a, s, g, d, D) {
8127
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It;
8119
8128
  const y = H("IdmBrand"), c = H("Editor");
8120
8129
  return n(), o("div", Rz, [
8121
8130
  Mt(y, { name: "EU ETS Compliance Cost Analysis Report" }),
@@ -8124,7 +8133,7 @@ function xj(e, a, s, A, d, D) {
8124
8133
  t("div", Gz, [
8125
8134
  t("div", Pz, [
8126
8135
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Vessel", -1)),
8127
- t("span", Wz, i(((g = d.vessel) == null ? void 0 : g.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
8136
+ t("span", Wz, i(((A = d.vessel) == null ? void 0 : A.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
8128
8137
  ]),
8129
8138
  t("div", Zz, [
8130
8139
  a[4] || (a[4] = t("span", { class: "label text-label" }, "IMO", -1)),
@@ -8176,7 +8185,7 @@ function xj(e, a, s, A, d, D) {
8176
8185
  ]),
8177
8186
  t("div", ej, [
8178
8187
  a[12] || (a[12] = t("span", { class: "" }, "Covered emissions", -1)),
8179
- t("span", nj, i(Math.round((((S = (L = (Z = d.form) == null ? void 0 : Z.summary) == null ? void 0 : L.euets) == null ? void 0 : S.ratio) ?? 0) * 100)) + "%", 1)
8188
+ t("span", nj, i(Math.round((((w = (L = (Z = d.form) == null ? void 0 : Z.summary) == null ? void 0 : L.euets) == null ? void 0 : w.ratio) ?? 0) * 100)) + "%", 1)
8180
8189
  ])
8181
8190
  ]),
8182
8191
  t("div", oj, [
@@ -8208,7 +8217,7 @@ function xj(e, a, s, A, d, D) {
8208
8217
  ])
8209
8218
  ]),
8210
8219
  t("div", {
8211
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
8220
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
8212
8221
  }, [
8213
8222
  a[19] || (a[19] = t("div", { class: "header-block" }, [
8214
8223
  t("div", { class: "bg-block" }, [
@@ -8451,8 +8460,8 @@ const jj = {
8451
8460
  },
8452
8461
  methods: {
8453
8462
  fetchData() {
8454
- var e, a, s, A, d, D;
8455
- (e = this.report) != null && e.id && (this.form = ((a = this.report) == null ? void 0 : a.extend) || {}, this.remarks = ((s = this.report) == null ? void 0 : s.remarks) || "", this.vessel = ((D = (d = (A = this.form) == null ? void 0 : A.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
8463
+ var e, a, s, g, d, D;
8464
+ (e = this.report) != null && e.id && (this.form = ((a = this.report) == null ? void 0 : a.extend) || {}, this.remarks = ((s = this.report) == null ? void 0 : s.remarks) || "", this.vessel = ((D = (d = (g = this.form) == null ? void 0 : g.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
8456
8465
  },
8457
8466
  handleCommit(e) {
8458
8467
  this.editable = !1, this.$emit("commit", e);
@@ -8468,8 +8477,8 @@ const jj = {
8468
8477
  class: "orm-report-table",
8469
8478
  style: { "margin-top": "20px" }
8470
8479
  }, s4 = { class: "section leg-section" }, e4 = { class: "orm-report-table" }, n4 = ["colspan"];
8471
- function o4(e, a, s, A, d, D) {
8472
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt;
8480
+ function o4(e, a, s, g, d, D) {
8481
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt;
8473
8482
  const y = H("IdmBrand"), c = H("Editor");
8474
8483
  return n(), o("div", Uj, [
8475
8484
  Mt(y, { name: "FuelEU Compliance Cost Analysis Report" }),
@@ -8478,7 +8487,7 @@ function o4(e, a, s, A, d, D) {
8478
8487
  t("div", pj, [
8479
8488
  t("div", bj, [
8480
8489
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Vessel", -1)),
8481
- t("span", Oj, i(((g = d.vessel) == null ? void 0 : g.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
8490
+ t("span", Oj, i(((A = d.vessel) == null ? void 0 : A.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
8482
8491
  ]),
8483
8492
  t("div", hj, [
8484
8493
  a[4] || (a[4] = t("span", { class: "label text-label" }, "IMO", -1)),
@@ -8538,7 +8547,7 @@ function o4(e, a, s, A, d, D) {
8538
8547
  class: "",
8539
8548
  style: { "margin-right": "4px" }
8540
8549
  }, "Target", -1)),
8541
- t("span", _j, i(((W = (S = (L = d.form) == null ? void 0 : L.summary) == null ? void 0 : S.fueleu) == null ? void 0 : W.targetGhgi) ?? "-"), 1)
8550
+ t("span", _j, i(((W = (w = (L = d.form) == null ? void 0 : L.summary) == null ? void 0 : w.fueleu) == null ? void 0 : W.targetGhgi) ?? "-"), 1)
8542
8551
  ])
8543
8552
  ]),
8544
8553
  t("div", Jj, [
@@ -8561,7 +8570,7 @@ function o4(e, a, s, A, d, D) {
8561
8570
  ])
8562
8571
  ]),
8563
8572
  t("div", {
8564
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
8573
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
8565
8574
  }, [
8566
8575
  a[17] || (a[17] = t("div", { class: "header-block" }, [
8567
8576
  t("div", { class: "bg-block" }, [
@@ -8908,37 +8917,37 @@ const M4 = {
8908
8917
  computedSum() {
8909
8918
  return (e, a, s = !0) => {
8910
8919
  var d, D;
8911
- let A = 0;
8920
+ let g = 0;
8912
8921
  return (D = (d = this.form) == null ? void 0 : d[e]) == null || D.forEach((y) => {
8913
- var c, g, E;
8914
- A += ((E = (g = (c = y.fuels) == null ? void 0 : c.filter((l) => l.type === a && l.areaRate === (s ? 1 : 0.5))) == null ? void 0 : g[0]) == null ? void 0 : E.cons) || 0;
8915
- }), Math.round(A * 1e3) / 1e3;
8922
+ var c, A, E;
8923
+ g += ((E = (A = (c = y.fuels) == null ? void 0 : c.filter((l) => l.type === a && l.areaRate === (s ? 1 : 0.5))) == null ? void 0 : A[0]) == null ? void 0 : E.cons) || 0;
8924
+ }), Math.round(g * 1e3) / 1e3;
8916
8925
  };
8917
8926
  },
8918
8927
  computedFuelInSummary() {
8919
8928
  return (e, a = "euets", s) => {
8920
8929
  var d, D, y;
8921
- const A = (y = (D = (d = this.form) == null ? void 0 : d.summary) == null ? void 0 : D.fuels) == null ? void 0 : y.find((c) => c.type === e);
8922
- return A ? A[`${a}_cover_${s}`] : 0;
8930
+ const g = (y = (D = (d = this.form) == null ? void 0 : d.summary) == null ? void 0 : D.fuels) == null ? void 0 : y.find((c) => c.type === e);
8931
+ return g ? g[`${a}_cover_${s}`] : 0;
8923
8932
  };
8924
8933
  },
8925
8934
  computedFuelInLegs() {
8926
8935
  return (e, a = "euets", s) => {
8927
8936
  var d, D;
8928
- const A = (D = (d = this.form) == null ? void 0 : d.legs) == null ? void 0 : D.reduce((y, c) => {
8929
- const g = c.fuels.filter((E) => E.type === e && E[`${a}Rate`] === s);
8930
- return y + g.reduce((E, l) => E + l.consumption, 0);
8937
+ const g = (D = (d = this.form) == null ? void 0 : d.legs) == null ? void 0 : D.reduce((y, c) => {
8938
+ const A = c.fuels.filter((E) => E.type === e && E[`${a}Rate`] === s);
8939
+ return y + A.reduce((E, l) => E + l.consumption, 0);
8931
8940
  }, 0);
8932
- return Math.round(A * 1e5) / 1e5;
8941
+ return Math.round(g * 1e5) / 1e5;
8933
8942
  };
8934
8943
  },
8935
8944
  computedFuels() {
8936
8945
  return (e, a, s = 1) => {
8937
8946
  var d, D;
8938
- const A = [...((d = this.form) == null ? void 0 : d.atSea) || [], ...((D = this.form) == null ? void 0 : D.ports) || []];
8939
- return A == null ? void 0 : A.filter((y) => {
8947
+ const g = [...((d = this.form) == null ? void 0 : d.atSea) || [], ...((D = this.form) == null ? void 0 : D.ports) || []];
8948
+ return g == null ? void 0 : g.filter((y) => {
8940
8949
  var c;
8941
- return (c = y == null ? void 0 : y.fuels) == null ? void 0 : c.some((g) => g.type === e && g[`${a}`] === s);
8950
+ return (c = y == null ? void 0 : y.fuels) == null ? void 0 : c.some((A) => A.type === e && A[`${a}`] === s);
8942
8951
  });
8943
8952
  };
8944
8953
  },
@@ -8958,8 +8967,8 @@ const M4 = {
8958
8967
  },
8959
8968
  methods: {
8960
8969
  fetchData() {
8961
- var e, a, s, A, d;
8962
- this.form = ((e = this.report) == null ? void 0 : e.extend) || {}, this.vessel = ((A = (s = (a = this.form) == null ? void 0 : a.legs) == null ? void 0 : s[0]) == null ? void 0 : A.vessel) || {}, this.remarks = ((d = this.report) == null ? void 0 : d.remarks) || "";
8970
+ var e, a, s, g, d;
8971
+ this.form = ((e = this.report) == null ? void 0 : e.extend) || {}, this.vessel = ((g = (s = (a = this.form) == null ? void 0 : a.legs) == null ? void 0 : s[0]) == null ? void 0 : g.vessel) || {}, this.remarks = ((d = this.report) == null ? void 0 : d.remarks) || "";
8963
8972
  },
8964
8973
  handleCommit(e) {
8965
8974
  this.editable = !1, this.$emit("commit", e);
@@ -9011,8 +9020,8 @@ const M4 = {
9011
9020
  class: "orm-report-table",
9012
9021
  style: { "page-break-inside": "avoid" }
9013
9022
  }, c3 = { key: 0 }, r3 = { key: 0 }, I3 = { key: 0 }, g3 = { key: 0 }, A3 = { key: 0 }, u3 = { key: 0 };
9014
- function m3(e, a, s, A, d, D) {
9015
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll;
9023
+ function m3(e, a, s, g, d, D) {
9024
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut, v, rt, It, U, ot, dt, J, ft, Et, pt, bt, Ot, ht, Ft, Wt, Zt, x, Gt, Yt, Qt, Lt, Bt, _t, Jt, Xt, sa, ea, na, oa, da, Ma, Da, Na, ca, ra, Ia, ga, Aa, ua, M, vt, Dt, Kt, va, Ta, xa, za, ja, Ua, Tt, pa, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, nl, ol, dl, Ml, Dl, Nl, cl, rl, Il, gl, Al, ul, ml, yl, vl, Tl, m, Pt, ma, ya, fa, ba, qa, $a, ti, ai, ii, li, si, ei, ni, oi, di, Mi, Di, Ni, ci, ri, Ii, gi, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, pi, bi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, il, ll;
9016
9025
  const y = H("IdmBrand"), c = H("Editor");
9017
9026
  return n(), o("div", D4, [
9018
9027
  Mt(y, { name: "EU ETS & FuelEU Compliance Cost Report" }),
@@ -9021,7 +9030,7 @@ function m3(e, a, s, A, d, D) {
9021
9030
  t("div", r4, [
9022
9031
  t("div", I4, [
9023
9032
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Vessel", -1)),
9024
- t("span", g4, i(((g = d.vessel) == null ? void 0 : g.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
9033
+ t("span", g4, i(((A = d.vessel) == null ? void 0 : A.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
9025
9034
  ]),
9026
9035
  t("div", A4, [
9027
9036
  a[4] || (a[4] = t("span", { class: "label text-label" }, "Report Year", -1)),
@@ -9068,7 +9077,7 @@ function m3(e, a, s, A, d, D) {
9068
9077
  t("div", h4, [
9069
9078
  a[11] || (a[11] = t("div", { class: "text-secondary align-left" }, "EUAs", -1)),
9070
9079
  t("div", C4, [
9071
- r(i(Math.round((((X = (W = (S = d.form) == null ? void 0 : S.summary) == null ? void 0 : W.euets) == null ? void 0 : X.euas) ?? 0) * 1e3) / 1e3) + " ", 1),
9080
+ r(i(Math.round((((X = (W = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : W.euets) == null ? void 0 : X.euas) ?? 0) * 1e3) / 1e3) + " ", 1),
9072
9081
  t("span", Y4, i(Math.round((((tt = (q = (K = d.form) == null ? void 0 : K.summary) == null ? void 0 : q.euets) == null ? void 0 : tt.ratio) ?? 0) * 100)) + "%", 1)
9073
9082
  ])
9074
9083
  ]),
@@ -9095,7 +9104,7 @@ function m3(e, a, s, A, d, D) {
9095
9104
  ])
9096
9105
  ]),
9097
9106
  t("div", {
9098
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
9107
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
9099
9108
  }, [
9100
9109
  a[17] || (a[17] = t("div", { class: "header-block" }, [
9101
9110
  t("div", { class: "bg-block" }, [
@@ -9177,7 +9186,7 @@ function m3(e, a, s, A, d, D) {
9177
9186
  ]),
9178
9187
  t("tbody", null, [
9179
9188
  (n(!0), o(u, null, O((U = (It = d.form) == null ? void 0 : It.legs) == null ? void 0 : U.filter((N) => N.category === "SEA_VOYAGE"), (N) => {
9180
- var w, R, F, G;
9189
+ var R, V, F, G;
9181
9190
  return n(), o("tr", {
9182
9191
  key: N.id
9183
9192
  }, [
@@ -9189,7 +9198,7 @@ function m3(e, a, s, A, d, D) {
9189
9198
  t("div", B4, i(D.computePortName(N == null ? void 0 : N.destPort) ?? "-"), 1),
9190
9199
  t("div", null, i(D.computeUTCTime(N == null ? void 0 : N.ata) ?? "-"), 1)
9191
9200
  ]),
9192
- t("td", null, i(((R = (w = N == null ? void 0 : N.extend) == null ? void 0 : w.euets) == null ? void 0 : R.category) ?? "-"), 1),
9201
+ t("td", null, i(((V = (R = N == null ? void 0 : N.extend) == null ? void 0 : R.euets) == null ? void 0 : V.category) ?? "-"), 1),
9193
9202
  t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
9194
9203
  t("td", null, i((N == null ? void 0 : N.distance) || "-"), 1),
9195
9204
  (n(!0), o(u, null, O((G = (F = d.form) == null ? void 0 : F.summary) == null ? void 0 : G.fuels, (P) => {
@@ -9254,12 +9263,12 @@ function m3(e, a, s, A, d, D) {
9254
9263
  ]),
9255
9264
  t("tbody", null, [
9256
9265
  (n(!0), o(u, null, O((ht = (Ot = d.form) == null ? void 0 : Ot.legs) == null ? void 0 : ht.filter((N) => N.category === "PORT_CALL"), (N) => {
9257
- var w, R, F, G, P;
9266
+ var R, V, F, G, P;
9258
9267
  return n(), o("tr", {
9259
9268
  key: N.id
9260
9269
  }, [
9261
9270
  t("td", null, i(D.computePortName((N == null ? void 0 : N.deptPort) || (N == null ? void 0 : N.destPort)) ?? "-"), 1),
9262
- t("td", null, i((F = (R = (w = N == null ? void 0 : N.extend) == null ? void 0 : w.euets) == null ? void 0 : R.areaRate) != null && F.departure ? "Yes" : "No"), 1),
9271
+ t("td", null, i((F = (V = (R = N == null ? void 0 : N.extend) == null ? void 0 : R.euets) == null ? void 0 : V.areaRate) != null && F.departure ? "Yes" : "No"), 1),
9263
9272
  t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.ata) ?? "-"), 1),
9264
9273
  t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.atd) ?? "-"), 1),
9265
9274
  t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
@@ -9332,14 +9341,14 @@ function m3(e, a, s, A, d, D) {
9332
9341
  ], -1)),
9333
9342
  t("tbody", null, [
9334
9343
  (n(!0), o(u, null, O((Wt = (Ft = d.form) == null ? void 0 : Ft.summary) == null ? void 0 : Wt.fuels, (N) => {
9335
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt;
9344
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt;
9336
9345
  return n(), o("tr", {
9337
9346
  key: N.type
9338
9347
  }, [
9339
9348
  t("td", null, i(N.type), 1),
9340
9349
  t("td", null, i(N.totalCons), 1),
9341
- t("td", null, i(((w = N.factor) == null ? void 0 : w.lcv) ?? "-"), 1),
9342
- t("td", null, i(((_ = (P = (G = (F = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : F.fueleu) == null ? void 0 : G.fuels) == null ? void 0 : P[N.type]) == null ? void 0 : _.wtw) ?? "-"), 1),
9350
+ t("td", null, i(((R = N.factor) == null ? void 0 : R.lcv) ?? "-"), 1),
9351
+ t("td", null, i(((_ = (P = (G = (F = (V = d.form) == null ? void 0 : V.summary) == null ? void 0 : F.fueleu) == null ? void 0 : G.fuels) == null ? void 0 : P[N.type]) == null ? void 0 : _.wtw) ?? "-"), 1),
9343
9352
  t("td", null, i(((ut = (At = (gt = (st = ($ = d.form) == null ? void 0 : $.summary) == null ? void 0 : st.euets) == null ? void 0 : gt.fuels) == null ? void 0 : At[N.type]) == null ? void 0 : ut.euas) ?? "-"), 1),
9344
9353
  t("td", null, i(((wt = (St = (kt = (yt = (mt = d.form) == null ? void 0 : mt.summary) == null ? void 0 : yt.fueleu) == null ? void 0 : kt.fuels) == null ? void 0 : St[N.type]) == null ? void 0 : wt.wtwEmission) ?? "-"), 1)
9345
9354
  ]);
@@ -9461,11 +9470,11 @@ function m3(e, a, s, A, d, D) {
9461
9470
  a[43] || (a[43] = t("td", null, "CO₂ emitted", -1)),
9462
9471
  a[44] || (a[44] = t("td", null, "tCO₂eq", -1)),
9463
9472
  (n(!0), o(u, null, O((Xt = (Jt = d.form) == null ? void 0 : Jt.summary) == null ? void 0 : Xt.fuels, (N) => {
9464
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9473
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9465
9474
  return n(), o("td", {
9466
9475
  key: N == null ? void 0 : N.type
9467
9476
  }, [
9468
- t("span", null, i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
9477
+ t("span", null, i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
9469
9478
  t("span", null, " * " + i((At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.euets) == null ? void 0 : st.fuels) == null ? void 0 : gt[N == null ? void 0 : N.type]) == null ? void 0 : At.factor.co2), 1),
9470
9479
  t("span", null, " * " + i((qt = (wt = (St = (kt = (yt = (mt = (ut = d.form) == null ? void 0 : ut.summary) == null ? void 0 : mt.euets) == null ? void 0 : yt.fuels) == null ? void 0 : kt[N == null ? void 0 : N.type]) == null ? void 0 : St.gwp) == null ? void 0 : wt.euets) == null ? void 0 : qt.CO2), 1),
9471
9480
  t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = d.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N == null ? void 0 : N.type]) == null ? void 0 : la.co2), 1)
@@ -9476,11 +9485,11 @@ function m3(e, a, s, A, d, D) {
9476
9485
  a[45] || (a[45] = t("td", null, "CH₄ emitted", -1)),
9477
9486
  a[46] || (a[46] = t("td", null, "tCO₂eq", -1)),
9478
9487
  (n(!0), o(u, null, O((ea = (sa = d.form) == null ? void 0 : sa.summary) == null ? void 0 : ea.fuels, (N) => {
9479
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9488
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9480
9489
  return n(), o("td", {
9481
9490
  key: N.type
9482
9491
  }, [
9483
- t("span", null, i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons), 1),
9492
+ t("span", null, i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons), 1),
9484
9493
  t("span", null, " * " + i((At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.euets) == null ? void 0 : st.fuels) == null ? void 0 : gt[N.type]) == null ? void 0 : At.factor.ch4), 1),
9485
9494
  t("span", null, " * " + i((qt = (wt = (St = (kt = (yt = (mt = (ut = d.form) == null ? void 0 : ut.summary) == null ? void 0 : mt.euets) == null ? void 0 : yt.fuels) == null ? void 0 : kt[N.type]) == null ? void 0 : St.gwp) == null ? void 0 : wt.euets) == null ? void 0 : qt.CH4), 1),
9486
9495
  t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = d.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N.type]) == null ? void 0 : la.ch4), 1)
@@ -9491,11 +9500,11 @@ function m3(e, a, s, A, d, D) {
9491
9500
  a[47] || (a[47] = t("td", null, "N₂O emitted", -1)),
9492
9501
  a[48] || (a[48] = t("td", null, "tCO₂eq", -1)),
9493
9502
  (n(!0), o(u, null, O((oa = (na = d.form) == null ? void 0 : na.summary) == null ? void 0 : oa.fuels, (N) => {
9494
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9503
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la;
9495
9504
  return n(), o("td", {
9496
9505
  key: N == null ? void 0 : N.type
9497
9506
  }, [
9498
- t("span", null, i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
9507
+ t("span", null, i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
9499
9508
  t("span", null, " * " + i((At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.euets) == null ? void 0 : st.fuels) == null ? void 0 : gt[N == null ? void 0 : N.type]) == null ? void 0 : At.factor.n2o), 1),
9500
9509
  t("span", null, " * " + i((qt = (wt = (St = (kt = (yt = (mt = (ut = d.form) == null ? void 0 : ut.summary) == null ? void 0 : mt.euets) == null ? void 0 : yt.fuels) == null ? void 0 : kt[N == null ? void 0 : N.type]) == null ? void 0 : St.gwp) == null ? void 0 : wt.euets) == null ? void 0 : qt.N2O), 1),
9501
9510
  t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = d.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N == null ? void 0 : N.type]) == null ? void 0 : la.n2o), 1)
@@ -9603,12 +9612,12 @@ function m3(e, a, s, A, d, D) {
9603
9612
  ], -1)),
9604
9613
  t("tbody", null, [
9605
9614
  (n(!0), o(u, null, O((Sa = (ka = d.form) == null ? void 0 : ka.summary) == null ? void 0 : Sa.fuels, (N) => {
9606
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl;
9615
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl, Ul, fl, El, pl, bl, Ol, hl, Cl, Yl, Ql, kl;
9607
9616
  return n(), o("tr", {
9608
9617
  key: N.type
9609
9618
  }, [
9610
9619
  t("td", null, i(N == null ? void 0 : N.type), 1),
9611
- t("td", null, i(((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.lcv) || "-"), 1),
9620
+ t("td", null, i(((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.lcv) || "-"), 1),
9612
9621
  t("td", null, i(((mt = (ut = (At = (gt = (st = ($ = d.form) == null ? void 0 : $.summary) == null ? void 0 : st.fueleu) == null ? void 0 : gt.fuels) == null ? void 0 : At[N == null ? void 0 : N.type]) == null ? void 0 : ut.factor) == null ? void 0 : mt.wtt) || "-"), 1),
9613
9622
  t("td", null, i((($t = (qt = (wt = (St = (kt = (yt = d.form) == null ? void 0 : yt.summary) == null ? void 0 : kt.fueleu) == null ? void 0 : St.fuels) == null ? void 0 : wt[N == null ? void 0 : N.type]) == null ? void 0 : qt.factor) == null ? void 0 : $t.co2) || "-"), 1),
9614
9623
  t("td", null, i(((ha = (Oa = (la = (ia = (aa = (ta = d.form) == null ? void 0 : ta.summary) == null ? void 0 : aa.fueleu) == null ? void 0 : ia.fuels) == null ? void 0 : la[N == null ? void 0 : N.type]) == null ? void 0 : Oa.factor) == null ? void 0 : ha.ch4) || "-"), 1),
@@ -9678,21 +9687,21 @@ function m3(e, a, s, A, d, D) {
9678
9687
  a[72] || (a[72] = t("td", null, "LCV", -1)),
9679
9688
  a[73] || (a[73] = t("td", null, "MJ/g", -1)),
9680
9689
  (n(!0), o(u, null, O((Ba = (La = d.form) == null ? void 0 : La.summary) == null ? void 0 : Ba.fuels, (N) => {
9681
- var w, R, F, G, P, _;
9690
+ var R, V, F, G, P, _;
9682
9691
  return n(), o("td", {
9683
9692
  key: N.type
9684
- }, i((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.lcv), 1);
9693
+ }, i((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.lcv), 1);
9685
9694
  }), 128))
9686
9695
  ]),
9687
9696
  t("tr", null, [
9688
9697
  a[74] || (a[74] = t("td", null, "Energy use in scope", -1)),
9689
9698
  a[75] || (a[75] = t("td", null, "10⁶MJ", -1)),
9690
9699
  (n(!0), o(u, null, O((Ja = (_a = d.form) == null ? void 0 : _a.summary) == null ? void 0 : Ja.fuels, (N) => {
9691
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt;
9700
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt;
9692
9701
  return n(), o("td", {
9693
9702
  key: N.type
9694
9703
  }, [
9695
- t("span", null, i(((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons) ?? "-"), 1),
9704
+ t("span", null, i(((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons) ?? "-"), 1),
9696
9705
  t("span", null, " * " + i(((ut = (At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.fueleu) == null ? void 0 : st.fuels) == null ? void 0 : gt[N.type]) == null ? void 0 : At.factor) == null ? void 0 : ut.lcv) || "-"), 1),
9697
9706
  t("span", null, " = " + i((wt = (St = (kt = (yt = (mt = d.form) == null ? void 0 : mt.summary) == null ? void 0 : yt.fueleu) == null ? void 0 : kt.fuels) == null ? void 0 : St[N.type]) == null ? void 0 : wt.energy), 1)
9698
9707
  ]);
@@ -9702,21 +9711,21 @@ function m3(e, a, s, A, d, D) {
9702
9711
  a[76] || (a[76] = t("td", null, "WtT GHG", -1)),
9703
9712
  a[77] || (a[77] = t("td", null, "gCO₂eq/MJ", -1)),
9704
9713
  (n(!0), o(u, null, O((Xa = (Ha = d.form) == null ? void 0 : Ha.summary) == null ? void 0 : Xa.fuels, (N) => {
9705
- var w, R, F, G, P, _;
9714
+ var R, V, F, G, P, _;
9706
9715
  return n(), o("td", {
9707
9716
  key: N == null ? void 0 : N.type
9708
- }, i(((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.wtt) || "-"), 1);
9717
+ }, i(((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.wtt) || "-"), 1);
9709
9718
  }), 128))
9710
9719
  ]),
9711
9720
  t("tr", null, [
9712
9721
  a[78] || (a[78] = t("td", null, "TtW CO2", -1)),
9713
9722
  a[79] || (a[79] = t("td", null, "gCO₂eq/MJ", -1)),
9714
9723
  (n(!0), o(u, null, O((nl = (Ka = d.form) == null ? void 0 : Ka.summary) == null ? void 0 : nl.fuels, (N) => {
9715
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha;
9724
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha;
9716
9725
  return n(), o("td", {
9717
9726
  key: N.type
9718
9727
  }, [
9719
- t("span", null, i(((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.co2) || "-"), 1),
9728
+ t("span", null, i(((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.co2) || "-"), 1),
9720
9729
  t("span", null, " / " + i(((mt = (ut = (At = (gt = (st = ($ = d.form) == null ? void 0 : $.summary) == null ? void 0 : st.fueleu) == null ? void 0 : gt.fuels) == null ? void 0 : At[N == null ? void 0 : N.type]) == null ? void 0 : ut.factor) == null ? void 0 : mt.lcv) || "-"), 1),
9721
9730
  t("span", null, " x " + i(((ta = ($t = (qt = (wt = (St = (kt = (yt = d.form) == null ? void 0 : yt.summary) == null ? void 0 : kt.fueleu) == null ? void 0 : St.fuels) == null ? void 0 : wt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.CO2) || "-"), 1),
9722
9731
  t("span", null, " = " + i(((ha = (Oa = (la = (ia = (aa = d.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw.co2) || "-"), 1)
@@ -9727,11 +9736,11 @@ function m3(e, a, s, A, d, D) {
9727
9736
  a[80] || (a[80] = t("td", null, "TtW CH4", -1)),
9728
9737
  a[81] || (a[81] = t("td", null, "gCO₂eq/MJ", -1)),
9729
9738
  (n(!0), o(u, null, O((dl = (ol = d.form) == null ? void 0 : ol.summary) == null ? void 0 : dl.fuels, (N) => {
9730
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl;
9739
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl;
9731
9740
  return n(), o("td", {
9732
9741
  key: N == null ? void 0 : N.type
9733
9742
  }, [
9734
- t("span", null, i(((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.ch4) || "-"), 1),
9743
+ t("span", null, i(((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.ch4) || "-"), 1),
9735
9744
  t("span", null, " / " + i(((mt = (ut = (At = (gt = (st = ($ = d.form) == null ? void 0 : $.summary) == null ? void 0 : st.fueleu) == null ? void 0 : gt.fuels) == null ? void 0 : At[N == null ? void 0 : N.type]) == null ? void 0 : ut.factor) == null ? void 0 : mt.lcv) || "-"), 1),
9736
9745
  t("span", null, " x " + i(((ta = ($t = (qt = (wt = (St = (kt = (yt = d.form) == null ? void 0 : yt.summary) == null ? void 0 : kt.fueleu) == null ? void 0 : St.fuels) == null ? void 0 : wt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.CH4) || "-"), 1),
9737
9746
  t("span", null, " = " + i(((sl = (ha = (Oa = (la = (ia = (aa = d.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw) == null ? void 0 : sl.ch4) || "-"), 1)
@@ -9742,11 +9751,11 @@ function m3(e, a, s, A, d, D) {
9742
9751
  a[82] || (a[82] = t("td", null, "TtW N2O", -1)),
9743
9752
  a[83] || (a[83] = t("td", null, "gCO₂eq/MJ", -1)),
9744
9753
  (n(!0), o(u, null, O((Dl = (Ml = d.form) == null ? void 0 : Ml.summary) == null ? void 0 : Dl.fuels, (N) => {
9745
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl;
9754
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt, kt, St, wt, qt, $t, ta, aa, ia, la, Oa, ha, sl;
9746
9755
  return n(), o("td", {
9747
9756
  key: N == null ? void 0 : N.type
9748
9757
  }, [
9749
- t("span", null, i(((_ = (P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.n2o) || "-"), 1),
9758
+ t("span", null, i(((_ = (P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : _.n2o) || "-"), 1),
9750
9759
  t("span", null, " / " + i(((mt = (ut = (At = (gt = (st = ($ = d.form) == null ? void 0 : $.summary) == null ? void 0 : st.fueleu) == null ? void 0 : gt.fuels) == null ? void 0 : At[N == null ? void 0 : N.type]) == null ? void 0 : ut.factor) == null ? void 0 : mt.lcv) || "-"), 1),
9751
9760
  t("span", null, " x " + i(((ta = ($t = (qt = (wt = (St = (kt = (yt = d.form) == null ? void 0 : yt.summary) == null ? void 0 : kt.fueleu) == null ? void 0 : St.fuels) == null ? void 0 : wt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.N2O) || "-"), 1),
9752
9761
  t("span", null, " = " + i(((sl = (ha = (Oa = (la = (ia = (aa = d.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw) == null ? void 0 : sl.n2o) || "-"), 1)
@@ -9757,12 +9766,12 @@ function m3(e, a, s, A, d, D) {
9757
9766
  a[85] || (a[85] = t("td", null, "TtW GHG", -1)),
9758
9767
  a[86] || (a[86] = t("td", null, "gCO₂eq/MJ", -1)),
9759
9768
  (n(!0), o(u, null, O((cl = (Nl = d.form) == null ? void 0 : Nl.summary) == null ? void 0 : cl.fuels, (N) => {
9760
- var w, R, F, G, P;
9769
+ var R, V, F, G, P;
9761
9770
  return n(), o("td", {
9762
9771
  key: N == null ? void 0 : N.type
9763
9772
  }, [
9764
9773
  a[84] || (a[84] = t("span", null, "TtW CO₂ + TtW CH4 + TtW N2O", -1)),
9765
- t("span", null, " = " + i(((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.ttw) || "-"), 1)
9774
+ t("span", null, " = " + i(((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.ttw) || "-"), 1)
9766
9775
  ]);
9767
9776
  }), 128))
9768
9777
  ])
@@ -9790,9 +9799,9 @@ function m3(e, a, s, A, d, D) {
9790
9799
  a[90] || (a[90] = t("td", null, "10⁶MJ", -1)),
9791
9800
  (ml = (ul = (Al = d.form) == null ? void 0 : Al.summary) == null ? void 0 : ul.fueleu) != null && ml.fuels ? (n(), o("td", c3, [
9792
9801
  (n(!0), o(u, null, O(Object.keys((Tl = (vl = (yl = d.form) == null ? void 0 : yl.summary) == null ? void 0 : vl.fueleu) == null ? void 0 : Tl.fuels), (N) => {
9793
- var w, R, F, G, P, _, $, st;
9802
+ var R, V, F, G, P, _, $, st;
9794
9803
  return n(), o("span", { key: N }, [
9795
- r(i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.energy) + " ", 1),
9804
+ r(i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.energy) + " ", 1),
9796
9805
  N !== Object.keys((st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.fueleu) == null ? void 0 : st.fuels).pop() ? (n(), o("span", r3, "+")) : I("", !0)
9797
9806
  ]);
9798
9807
  }), 128)),
@@ -9805,9 +9814,9 @@ function m3(e, a, s, A, d, D) {
9805
9814
  (ba = (fa = (ya = d.form) == null ? void 0 : ya.summary) == null ? void 0 : fa.fueleu) != null && ba.fuels ? (n(), o("td", I3, [
9806
9815
  a[91] || (a[91] = t("span", null, "(", -1)),
9807
9816
  (n(!0), o(u, null, O(Object.keys((ti = ($a = (qa = d.form) == null ? void 0 : qa.summary) == null ? void 0 : $a.fueleu) == null ? void 0 : ti.fuels), (N) => {
9808
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt;
9817
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt;
9809
9818
  return n(), o("span", { key: N }, [
9810
- t("span", null, i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.wtt), 1),
9819
+ t("span", null, i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.wtt), 1),
9811
9820
  t("span", null, " * " + i((At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.fueleu) == null ? void 0 : st.fuels) == null ? void 0 : gt[N]) == null ? void 0 : At.energy), 1),
9812
9821
  N !== Object.keys((yt = (mt = (ut = d.form) == null ? void 0 : ut.summary) == null ? void 0 : mt.fueleu) == null ? void 0 : yt.fuels).pop() ? (n(), o("span", g3, "+")) : I("", !0)
9813
9822
  ]);
@@ -9823,9 +9832,9 @@ function m3(e, a, s, A, d, D) {
9823
9832
  (ci = (Ni = (Di = d.form) == null ? void 0 : Di.summary) == null ? void 0 : Ni.fueleu) != null && ci.fuels ? (n(), o("td", A3, [
9824
9833
  a[95] || (a[95] = t("span", null, "(", -1)),
9825
9834
  (n(!0), o(u, null, O(Object.keys((gi = (Ii = (ri = d.form) == null ? void 0 : ri.summary) == null ? void 0 : Ii.fueleu) == null ? void 0 : gi.fuels), (N) => {
9826
- var w, R, F, G, P, _, $, st, gt, At, ut, mt, yt;
9835
+ var R, V, F, G, P, _, $, st, gt, At, ut, mt, yt;
9827
9836
  return n(), o("span", { key: N }, [
9828
- t("span", null, i((P = (G = (F = (R = (w = d.form) == null ? void 0 : w.summary) == null ? void 0 : R.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.ttw), 1),
9837
+ t("span", null, i((P = (G = (F = (V = (R = d.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.ttw), 1),
9829
9838
  t("span", null, " * " + i((At = (gt = (st = ($ = (_ = d.form) == null ? void 0 : _.summary) == null ? void 0 : $.fueleu) == null ? void 0 : st.fuels) == null ? void 0 : gt[N]) == null ? void 0 : At.energy), 1),
9830
9839
  N !== Object.keys((yt = (mt = (ut = d.form) == null ? void 0 : ut.summary) == null ? void 0 : mt.fueleu) == null ? void 0 : yt.fuels).pop() ? (n(), o("span", u3, "+")) : I("", !0)
9831
9840
  ]);
@@ -9924,8 +9933,8 @@ const v3 = {
9924
9933
  },
9925
9934
  methods: {
9926
9935
  fetchData() {
9927
- var e, a, s, A, d, D;
9928
- (e = this.report) != null && e.id && (this.form = (a = this.report) == null ? void 0 : a.extend, this.remarks = (s = this.form) == null ? void 0 : s.remarks, this.vessel = ((D = (d = (A = this.form) == null ? void 0 : A.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
9936
+ var e, a, s, g, d, D;
9937
+ (e = this.report) != null && e.id && (this.form = (a = this.report) == null ? void 0 : a.extend, this.remarks = (s = this.form) == null ? void 0 : s.remarks, this.vessel = ((D = (d = (g = this.form) == null ? void 0 : g.legs) == null ? void 0 : d[0]) == null ? void 0 : D.vessel) || {});
9929
9938
  },
9930
9939
  handleCommit(e) {
9931
9940
  this.editable = !1, this.$emit("commit", e);
@@ -9951,8 +9960,8 @@ const v3 = {
9951
9960
  class: "label",
9952
9961
  style: { "font-weight": "bold" }
9953
9962
  }, tU = { class: "section leg-section" }, aU = { class: "orm-report-table" }, iU = ["colspan"], lU = { style: { "margin-top": "4px" } }, sU = { style: { "margin-top": "4px" } };
9954
- function eU(e, a, s, A, d, D) {
9955
- var g, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, S, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut;
9963
+ function eU(e, a, s, g, d, D) {
9964
+ var A, E, l, z, Y, h, f, p, Q, j, b, C, k, T, Z, L, w, W, X, K, q, tt, at, it, lt, nt, B, Nt, ct, xt, zt, jt, Ut;
9956
9965
  const y = H("IdmBrand"), c = H("Editor");
9957
9966
  return n(), o("div", T3, [
9958
9967
  Mt(y, { name: "UK ETS Compliance Cost Analysis Report" }),
@@ -9961,7 +9970,7 @@ function eU(e, a, s, A, d, D) {
9961
9970
  t("div", j3, [
9962
9971
  t("div", U3, [
9963
9972
  a[3] || (a[3] = t("span", { class: "label text-label" }, "Vessel", -1)),
9964
- t("span", f3, i(((g = d.vessel) == null ? void 0 : g.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
9973
+ t("span", f3, i(((A = d.vessel) == null ? void 0 : A.name) ?? "-") + " (" + i(((E = d.vessel) == null ? void 0 : E.type) ?? "-") + ")", 1)
9965
9974
  ]),
9966
9975
  t("div", E3, [
9967
9976
  a[4] || (a[4] = t("span", { class: "label text-label" }, "Report Year", -1)),
@@ -10024,7 +10033,7 @@ function eU(e, a, s, A, d, D) {
10024
10033
  style: { "align-self": "start", "margin-bottom": "12px" }
10025
10034
  }, "UK ETS CO₂ emissions", -1)),
10026
10035
  t("div", W3, [
10027
- r(i(Math.round((((S = (L = (Z = d.form) == null ? void 0 : Z.summary) == null ? void 0 : L.ukets) == null ? void 0 : S.ghg2) ?? 0) * 1e3) / 1e3), 1),
10036
+ r(i(Math.round((((w = (L = (Z = d.form) == null ? void 0 : Z.summary) == null ? void 0 : L.ukets) == null ? void 0 : w.ghg2) ?? 0) * 1e3) / 1e3), 1),
10028
10037
  a[13] || (a[13] = t("span", {
10029
10038
  class: "unit",
10030
10039
  style: { "margin-left": "4px" }
@@ -10055,7 +10064,7 @@ function eU(e, a, s, A, d, D) {
10055
10064
  a[18] || (a[18] = t("div", { style: { "font-size": "12px", color: "#999", "margin-top": "10px" } }, " * Currnet price of EUAs will be updated at regular intervals from EEX EUA SPOT, last update time is 2024-10-24. ", -1))
10056
10065
  ]),
10057
10066
  t("div", {
10058
- class: V(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
10067
+ class: S(["section remark-section", D.computeBlankHtml(d.remarks) ? "print-hidden" : ""])
10059
10068
  }, [
10060
10069
  a[19] || (a[19] = t("div", { class: "header-block" }, [
10061
10070
  t("div", { class: "bg-block" }, [
@@ -10313,9 +10322,9 @@ const oU = {
10313
10322
  }
10314
10323
  }
10315
10324
  }, dU = { class: "orm-md-report" }, MU = { class: "content-box" };
10316
- function DU(e, a, s, A, d, D) {
10325
+ function DU(e, a, s, g, d, D) {
10317
10326
  var E, l, z, Y;
10318
- const y = H("IdmBrand"), c = H("MdEditor"), g = H("MdPreview");
10327
+ const y = H("IdmBrand"), c = H("MdEditor"), A = H("MdPreview");
10319
10328
  return n(), o("div", dU, [
10320
10329
  Mt(y, {
10321
10330
  name: d.locale === "zhHans" ? (E = s.report) == null ? void 0 : E.nameCn : (l = s.report) == null ? void 0 : l.name
@@ -10334,10 +10343,10 @@ function DU(e, a, s, A, d, D) {
10334
10343
  onOnSave: a[3] || (a[3] = (h) => D.handleCommit(d.content))
10335
10344
  }, null, 8, ["modelValue"]))
10336
10345
  ], 64)) : (n(), o(u, { key: 1 }, [
10337
- d.locale === "zhHans" ? (n(), Vt(g, {
10346
+ d.locale === "zhHans" ? (n(), Vt(A, {
10338
10347
  key: 0,
10339
10348
  "model-value": (z = s.report) == null ? void 0 : z.markdownCn
10340
- }, null, 8, ["model-value"])) : (n(), Vt(g, {
10349
+ }, null, 8, ["model-value"])) : (n(), Vt(A, {
10341
10350
  key: 1,
10342
10351
  "model-value": (Y = s.report) == null ? void 0 : Y.markdown
10343
10352
  }, null, 8, ["model-value"]))