@idmwx/idmui-report 3.1.8 → 3.2.0

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.
@@ -1,4 +1,4 @@
1
- (function(te,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl2"),require("@idm-plugin/geo"),require("moment-timezone"),require("tz-lookup"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl2","@idm-plugin/geo","moment-timezone","tz-lookup","@element-plus/icons-vue","element-plus","axios"],ie):(te=typeof globalThis<"u"?globalThis:te||self,ie(te["idmui-report"]={},te["@idmwx/idmwx-base"],te.moment,te.Vue,te.echarts,te["@wangeditor/editor-for-vue"],te["mapbox-gl"],te["@idmwx/idmui-gl2"],te["@idm-plugin/geo"],te["moment-timezone"],te["tz-lookup"],te["@element-plus/icons-vue"],te["element-plus"],te.axios))})(this,function(te,ie,O,e,bi,hn,fl,yn,gl,zte,xi,ln,En,xl){"use strict";function Ci(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const Yo=Ci(bi),Ute="",Ee=(t,n)=>{const o=t.__vccOpts||t;for(const[c,l]of n)o[c]=l;return o},Si={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?O(t):O()).utc().format(n)}`}}}},_n=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),ki={class:"section brand-section flex-space"},Ai=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),Bi={class:"report-box flex-space"},wi={class:"name flex-start"},Ti={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ui={class:"flex-start",style:{width:"100%"}},Oi={class:"label-block flex-evenly",style:{flex:"1"}},Fi=_n(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Pi={class:"flex-end",style:{flex:"2"}},Li=_n(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function Wi(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",ki,[Ai,e.createElementVNode("div",Bi,[e.createElementVNode("div",wi,e.toDisplayString(o.name),1),e.createElementVNode("div",Ti,[e.createElementVNode("div",ui,[e.createElementVNode("div",Oi,[Fi,e.createElementVNode("span",Pi,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),Li])])])}const Eo=Ee(Si,[["render",Wi],["__scopeId","data-v-609af107"]]),Hi={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},Mi={key:0,class:"loading"},Gi=e.createElementVNode("i",{class:"iconfont"},"",-1);function Ii(t,n,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Mi,[Gi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const an=Ee(Hi,[["render",Ii]]),Yte="",Ri={name:"ORMPointReport",components:{IdmLoading:an,IdmBrand:Eo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,c;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${O(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,m,i,p,D,f,h,V;const n={};for(let C=0;C<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);C++){const d=(a=t==null?void 0:t.extend)==null?void 0:a.data[C];if(C===0)d.precip.pacc=0;else{const S=(m=t==null?void 0:t.extend)==null?void 0:m.data[C-1],k=O(d.utc).utcOffset(this.localTZ),A=O(S.utc).utcOffset(this.localTZ),B=(i=S==null?void 0:S.precip)==null?void 0:i.prate,u=k.diff(A,"h"),F=this.roundPrecision(B*u,1);if(d.precip.pacc=F,F>0){const x=n[k.format("MMM-DD")],L=Math.floor(k.get("hour")/6);x?(x.pacc=this.roundPrecision(x.pacc+F,1),x[`${L}`]?x[`${L}`]+=F:(x[`${L}`]=F,x.colspan+=1)):(n[k.format("MMM-DD")]={pacc:F,colspan:1},n[k.format("MMM-DD")][`${L}`]=F)}}}t.paccInDays=n;let o=0;for(const C of Object.keys(n))o+=(p=n[C])==null?void 0:p.colspan,n[C].level=((D=n[C])==null?void 0:D.pacc)<10?"Light":((f=n[C])==null?void 0:f.pacc)<24.9?"Moderate":((h=n[C])==null?void 0:h.pacc)<49.9?"Heavy":((V=n[C])==null?void 0:V.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,m,i;this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(m=(a=this.report)==null?void 0:a.extend)==null?void 0:m.data)==null||i.forEach(p=>{var f,h,V,C,d,S,k,A,B,u,F,x,L;const D=O(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),c=((h=(f=p.wave)==null?void 0:f.sig)==null?void 0:h.height)>c?(C=(V=p.wave)==null?void 0:V.sig)==null?void 0:C.height:c,n.push([D,(d=p.wind)==null?void 0:d.kts,(S=p.gusts)==null?void 0:S.kts,(A=(k=p.wave)==null?void 0:k.sig)==null?void 0:A.height,(B=p.wind)==null?void 0:B.direction,(u=p.wind)==null?void 0:u.degree,(F=p.wind)==null?void 0:F.scale,(x=p.current)==null?void 0:x.kts,(L=p.precip)==null?void 0:L.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},it=t=>(e.pushScopeId("data-v-b77c7ac1"),t=t(),e.popScopeId(),t),zi={class:"point-report"},Ui={class:"section info-section"},Yi={class:"flex-evenly"},Zi={class:"flex-space label-block",style:{width:"100%"}},$i=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),Qi={class:"flex-space label-block",style:{width:"100%"}},Ji=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),Ki={class:"flex-evenly"},qi={class:"flex-space label-block",style:{width:"100%"}},ji=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Xi={class:"flex-space label-block",style:{width:"100%"}},vi={class:"flex-end",style:{width:"180px"}},ec={class:"section echart-section"},tc={ref:"echart",class:"echart"},oc={class:"section sample-section"},lc=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),ac=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),nc=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),sc=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ic=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),cc=it(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),dc=["colspan"],rc=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),mc=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),pc=it(()=>e.createElementVNode("th",null,"Dir",-1)),hc=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),yc=it(()=>e.createElementVNode("th",null,"BF",-1)),Ec=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),_c=it(()=>e.createElementVNode("th",null,"Dir",-1)),Nc=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Vc=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),fc=it(()=>e.createElementVNode("th",null,"Dir",-1)),gc=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Dc=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),bc=it(()=>e.createElementVNode("th",null,"Dir",-1)),xc=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Cc={key:0},Sc={key:1},kc=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Ac=it(()=>e.createElementVNode("th",null,"°C",-1)),Bc={width:"120px"},wc={key:0,class:"degree-box"},Tc={key:1},uc={key:0,class:"degree-box"},Oc={key:1},Fc={key:0,class:"degree-box"},Pc={key:1},Lc={key:0,class:"degree-box"},Wc={key:1},Hc={key:0},Mc={key:1};function Gc(t,n,o,c,l,a){var p,D,f,h;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",zi,[e.createVNode(m,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ui,[e.createElementVNode("div",Yi,[e.createElementVNode("div",Zi,[$i,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((p=o.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(a.computeLng((D=o.report)==null?void 0:D.lng).pretty),1)]),e.createElementVNode("div",Qi,[Ji,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",Ki,[e.createElementVNode("div",qi,[ji,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Xi,[e.createElementVNode("label",vi,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",ec,[e.createElementVNode("div",tc,null,512)]),e.createElementVNode("div",oc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[lc,ac,nc,sc,ic,cc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,dc),rc,mc]),e.createElementVNode("tr",null,[pc,hc,yc,Ec,_c,Nc,Vc,fc,gc,Dc,bc,xc,o.showPrate?(e.openBlock(),e.createElementBlock("th",Cc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Sc,"Acc (mm)")):e.createCommentVNode("",!0),kc,Ac])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(f=o.report)==null?void 0:f.extend)==null?void 0:h.data,(V,C)=>{var d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",Bc,e.toDisplayString(a.computeLTime(V.utc,this.localTZ)),1),e.createElementVNode("td",null,[(d=V.wind)!=null&&d.kts?(e.openBlock(),e.createElementBlock("span",wc,[e.createTextVNode(e.toDisplayString((S=V.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=V.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Tc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((A=V.wind)==null?void 0:A.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((B=V.wind)==null?void 0:B.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((u=V.gusts)==null?void 0:u.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((x=(F=V.wave)==null?void 0:F.wd)==null?void 0:x.height,1)),1),e.createElementVNode("td",null,[(U=(L=V.wave)==null?void 0:L.swell)!=null&&U.height?(e.openBlock(),e.createElementBlock("span",uc,[e.createTextVNode(e.toDisplayString((R=(Z=V.wave)==null?void 0:Z.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((g=(P=V.wave)==null?void 0:P.swell)==null?void 0:g.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Oc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(I=V.wave)==null?void 0:I.swell)==null?void 0:G.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(H=V.wave)==null?void 0:H.swell)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(j=(Q=V.wave)==null?void 0:Q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",Fc,[e.createTextVNode(e.toDisplayString((N=(K=V.wave)==null?void 0:K.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(z=V.wave)==null?void 0:z.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Pc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(s=V.wave)==null?void 0:s.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(r=V.wave)==null?void 0:r.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(oe=V.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",Lc,[e.createTextVNode(e.toDisplayString((ee=V.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=V.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Wc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=V.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Hc,e.toDisplayString(a.roundPrecision((de=V.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Mc,e.toDisplayString(a.roundPrecision((re=V.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])])}const Nn=Ee(Ri,[["render",Gc],["__scopeId","data-v-b77c7ac1"]]),Zte="",Ic={props:{name:{type:String,default:""}}},Rc={class:"section brand-section flex-space"},zc=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),Uc={class:"report-box flex-space"},Yc={class:"name flex-start"},Zc=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function $c(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Rc,[zc,e.createElementVNode("div",Uc,[e.createElementVNode("div",Yc,e.toDisplayString(o.name),1),Zc])])}const en=Ee(Ic,[["render",$c],["__scopeId","data-v-602c94e3"]]),$te="",Qc={name:"PointReport",components:{IdmBrand:en},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${O(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},tt=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Jc={class:"point-report"},Kc=tt(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),qc={class:"report-header flex-center"},jc={class:"info-box"},Xc=tt(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),vc={class:"info"},ed=tt(()=>e.createElementVNode("label",null,"Position",-1)),td={class:"info"},od=tt(()=>e.createElementVNode("label",null,"Issued",-1)),ld=tt(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),ad={class:"report-body"},nd={class:"weather-sample"},sd=tt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),id=tt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),cd=tt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),dd=tt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),rd=tt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),md=tt(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),pd=["colspan"],hd=tt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),yd=tt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Ed=tt(()=>e.createElementVNode("th",null,"Dir",-1)),_d=tt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Nd=tt(()=>e.createElementVNode("th",null,"BF",-1)),Vd=tt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),fd=tt(()=>e.createElementVNode("th",null,"Dir",-1)),gd=tt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Dd=tt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),bd=tt(()=>e.createElementVNode("th",null,"Dir",-1)),xd=tt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Cd=tt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Sd=tt(()=>e.createElementVNode("th",null,"Dir",-1)),kd=tt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ad={key:0},Bd={key:1},wd=tt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Td=tt(()=>e.createElementVNode("th",null,"°C",-1)),ud={width:"120px"},Od={key:0,class:"degree-box"},Fd={key:1},Pd={key:0,class:"degree-box"},Ld={key:1},Wd={key:0,class:"degree-box"},Hd={key:1},Md={key:0,class:"degree-box"},Gd={key:1},Id={key:0},Rd={key:1};function zd(t,n,o,c,l,a){const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Jc,[e.createVNode(m),Kc,e.createElementVNode("div",qc,[e.createElementVNode("div",jc,[Xc,e.createElementVNode("div",vc,[ed,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",td,[od,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),ld]),e.createElementVNode("div",ad,[e.createElementVNode("div",nd,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[sd,id,cd,dd,rd,md,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,pd),hd,yd]),e.createElementVNode("tr",null,[Ed,_d,Nd,Vd,fd,gd,Dd,bd,xd,Cd,Sd,kd,o.showPrate?(e.openBlock(),e.createElementBlock("th",Ad,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Bd,"Acc (mm)")):e.createCommentVNode("",!0),wd,Td])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,p)=>{var D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",ud,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",Od,[e.createTextVNode(e.toDisplayString((f=i.wind)==null?void 0:f.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((h=i.wind)==null?void 0:h.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Fd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=i.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((C=i.wind)==null?void 0:C.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((d=i.gusts)==null?void 0:d.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((k=(S=i.wave)==null?void 0:S.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(B=(A=i.wave)==null?void 0:A.swell)!=null&&B.height?(e.openBlock(),e.createElementBlock("span",Pd,[e.createTextVNode(e.toDisplayString((F=(u=i.wave)==null?void 0:u.swell)==null?void 0:F.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((L=(x=i.wave)==null?void 0:x.swell)==null?void 0:L.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ld,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(U=i.wave)==null?void 0:U.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((P=(R=i.wave)==null?void 0:R.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(I=(g=i.wave)==null?void 0:g.sig)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",Wd,[e.createTextVNode(e.toDisplayString((H=(G=i.wave)==null?void 0:G.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Q=(M=i.wave)==null?void 0:M.sig)==null?void 0:Q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Hd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(j=i.wave)==null?void 0:j.sig)==null?void 0:K.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(N=i.wave)==null?void 0:N.sig)==null?void 0:z.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",Md,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=i.current)==null?void 0:X.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Gd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.current)==null?void 0:r.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Id,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Rd,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const Vn=Ee(Qc,[["render",zd],["__scopeId","data-v-2fead0ca"]]),Ud={install(t){t.component("ORMPointReport",Nn),t.component("PointReport",Vn)}},Yd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Zd={class:"logo"},$d=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function Qd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",Zd,$d)}const Jd=Ee(Yd,[["render",Qd]]),Kd={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},qd={class:"logo"},jd=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Xd(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",qd,jd)}const vd=Ee(Kd,[["render",Xd]]),er={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},tr={class:"logo"},or=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function lr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",tr,or)}const ar=Ee(er,[["render",lr]]),qte="",nr={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=ie.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},fn=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),sr={class:"lng-box"},ir={key:0},cr=fn(()=>e.createElementVNode("span",null,"°",-1)),dr=fn(()=>e.createElementVNode("span",null,"'",-1));function rr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",sr,[o.label?(e.openBlock(),e.createElementBlock("span",ir,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),cr,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),dr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const tn=Ee(nr,[["render",rr],["__scopeId","data-v-533ec662"]]),jte="",mr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},gn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),pr={class:"lat-box"},hr={key:0},yr=gn(()=>e.createElementVNode("span",null,"°",-1)),Er=gn(()=>e.createElementVNode("span",null,"'",-1));function _r(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",pr,[o.label?(e.openBlock(),e.createElementBlock("span",hr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),yr,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),Er,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const on=Ee(mr,[["render",_r],["__scopeId","data-v-d3432239"]]),Xte="",Nr={name:"IdmEditor",components:{Editor:hn.Editor,Toolbar:hn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Vr={class:"editor-box"};function fr(t,n,o,c,l,a){const m=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Vr,[e.withDirectives(e.createVNode(m,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=p=>l.valueHtml=p),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Uo=Ee(Nr,[["render",fr],["__scopeId","data-v-0d3b5c3c"]]),gr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4N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mBrand:en},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${O(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=O(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=O((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(O((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,m;const n=(m=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:m.hours,o=n[0],c=n[n.length-1];return O(c.eta).diff(O(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,c,l,a,m,i,p,D;if(this.sogChart||(this.sogChart=e.markRaw(Yo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Yo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Yo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const f=[],h={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},V={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},C={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let d,S;for(let k=0;k<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);k++){const A=(l=this.plan)==null?void 0:l.speeds[k].speed,B=[],u=[],F=[],x=[];for(let R=0;R<A.sample.hours.length;R++){const P=A.sample.hours[R];if(k===0){d||(d=O(P.eta).utc(),S=d.clone().add(this.computeDay(this.plan),"day"));const M=O(P.eta).utc();if(M.isAfter(S))break;f.push(`${M.format("MMM-DD/HHmm")}Z`)}const g=this.roundPrecision(P.speed||10,1),I=this.roundPrecision(P.cFactor||0,1),G=this.roundPrecision((m=(a=P.meteo)==null?void 0:a.wind)==null?void 0:m.kts,1),H=this.roundPrecision((D=(p=(i=P.meteo)==null?void 0:i.wave)==null?void 0:p.sig)==null?void 0:D.height,1);B.push(g),F.push(G),x.push(H),u.push(I)}const L={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:B},U={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:F},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:x};h.series.push(L),V.series.push(U),C.series.push(Z)}this.sogChart.setOption(h),this.windChart.setOption(V),this.waveChart.setOption(C)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),br={class:"route-report"},xr={class:"report-header flex-space"},Cr=ct(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:gr,alt:""},null,-1)),Sr=ct(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),kr={class:"issued flex-end"},Ar=ct(()=>e.createElementVNode("label",null,"Issued",-1)),Br={class:"report-body"},wr={class:"voyage-summary flex-space"},Tr={class:"title"},ur={key:0},Or={key:1},Fr={key:0,class:"initial"},Pr={key:1,class:"warning"},Lr={class:"summary flex-start"},Wr={class:"summary-item"},Hr=ct(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Mr={class:"summary-item"},Gr=ct(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),Ir={key:0},Rr={key:1,class:"flex-start"},zr=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ur={class:"summary-item"},Yr=ct(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Zr={key:0},$r={key:1,class:"flex-start"},Qr=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Jr={class:"route-advisory"},Kr={class:"charts"},qr={key:0},jr=["src"],Xr={class:"legend-box"},vr=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),em={key:0,class:"legend-item"},tm=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],om={key:1,class:"legend-item"},lm=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],am={key:1,class:"empty"},nm={class:"route-comparison"},sm=ct(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),im={class:"container"},cm={key:0},dm=ct(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),rm=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),mm=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),pm=ct(()=>e.createElementVNode("th",null,"*FO",-1)),hm=ct(()=>e.createElementVNode("th",null,"*DO",-1)),ym={colspan:"3"},Em={rowspan:"2"},_m={rowspan:"2"},Nm={rowspan:"2"},Vm={rowspan:"2"},fm={rowspan:"2"},gm={rowspan:"2"},Dm={rowspan:"2"},bm={rowspan:"2"},xm={rowspan:"2"},Cm={class:"route-advisory",style:{"page-break-after":"always"}},Sm={class:"advisory"},km={class:"reason"},Am={class:"secondary-title flex-space"},Bm=ct(()=>e.createElementVNode("div",null,"Note",-1)),wm=["innerHTML"],Tm={class:"major-waypoints"},um=ct(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),Om={class:"container"},Fm=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),Pm={class:"body"},Lm={class:"cell-item",style:{width:"180px"}},Wm={key:0,class:"flex-center"},Hm={key:1,class:"flex-center"},Mm=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Gm={key:0},Im={class:"cell-item",style:{width:"100px"}},Rm={key:0,class:"cell-item offset",style:{width:"35px"}},zm={key:1,class:"cell-item offset",style:{width:"55px"}},Um={key:2,class:"cell-item offset",style:{width:"40px"}},Ym={key:3,class:"cell-item offset",style:{width:"125px"}},Zm={class:"weather-eChart"},$m=ct(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),Qm={ref:"sogChart",class:"eChart"},Jm={ref:"windChart",class:"eChart wind"},Km={ref:"waveChart",class:"eChart"},qm={class:"weather-sample"},jm={class:"secondary-title"},Xm=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),vm={class:"flex-center"},ep=ct(()=>e.createElementVNode("span",null,"/",-1)),tp={key:0,class:"degree-box"},op={key:1},lp={key:0,class:"degree-box"},ap={key:1},np={key:0,class:"degree-box"},sp={key:1},ip={key:0,class:"degree-box"},cp={key:1};function dp(t,n,o,c,l,a){var f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),p=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",br,[e.createVNode(m,{name:"Voyage Planning"}),e.createElementVNode("div",xr,[Cr,Sr,e.createElementVNode("div",kr,[Ar,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((f=o.plan)==null?void 0:f.updatedAt)),1)])]),e.createElementVNode("div",Br,[e.createElementVNode("div",wr,[e.createElementVNode("div",Tr,[((h=o.plan)==null?void 0:h.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",ur,"Recommended Route Report for "+e.toDisplayString((d=(C=(V=o.plan)==null?void 0:V.voyage)==null?void 0:C.vessel)==null?void 0:d.name),1)):(e.openBlock(),e.createElementBlock("div",Or,"Route Report for "+e.toDisplayString((A=(k=(S=o.plan)==null?void 0:S.voyage)==null?void 0:k.vessel)==null?void 0:A.name),1)),e.createElementVNode("div",null,[((B=o.plan)==null?void 0:B.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",Fr,"Initial Route Report")):e.createCommentVNode("",!0),((u=o.plan)==null?void 0:u.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",Pr,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Lr,[e.createElementVNode("div",Wr,[Hr,e.createElementVNode("span",null,e.toDisplayString((x=(F=o.plan)==null?void 0:F.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",Mr,[Gr,(Z=(U=(L=o.plan)==null?void 0:L.leg)==null?void 0:U.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",Ir,e.toDisplayString((P=(R=o.plan)==null?void 0:R.leg)==null?void 0:P.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Rr,[e.createVNode(i,{lat:(G=(I=(g=o.plan)==null?void 0:g.leg)==null?void 0:I.departure)==null?void 0:G.lat,label:""},null,8,["lat"]),zr,e.createVNode(p,{lng:(Q=(M=(H=o.plan)==null?void 0:H.leg)==null?void 0:M.departure)==null?void 0:Q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",Ur,[Yr,(N=(K=(j=o.plan)==null?void 0:j.leg)==null?void 0:K.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",Zr,e.toDisplayString((z=o.plan)==null?void 0:z.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",$r,[e.createVNode(i,{lat:(X=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),Qr,e.createVNode(p,{lat:(oe=(v=(r=o.plan)==null?void 0:r.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Jr,[e.createElementVNode("div",Kr,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",qr,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,jr),e.createElementVNode("div",Xr,[vr,((ce=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",em,tm)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",om,lm)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",am,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...W)=>a.handleRefresh&&a.handleRefresh(...W))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",nm,[sm,e.createElementVNode("div",im,[(le=(_e=o.plan)==null?void 0:_e.speeds)!=null&&le.length?(e.openBlock(),e.createElementBlock("table",cm,[e.createElementVNode("thead",null,[dm,e.createElementVNode("tr",null,[rm,mm,pm,hm,e.createElementVNode("th",ym,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((he=o.plan)==null?void 0:he.speeds,(W,me)=>{var Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",Em,e.toDisplayString(me+1),1),e.createElementVNode("td",_m,e.toDisplayString((Pe=(Fe=W.speed)==null?void 0:Fe.lane)==null?void 0:Pe.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=W.speed)==null?void 0:Le.label)??"CP"} ${((ke=W.speed)==null?void 0:ke.v0)??((Ye=(We=W.speed)==null?void 0:We.cpCopy)==null?void 0:Ye.speed)}`),1),e.createElementVNode("td",Nm,e.toDisplayString(a.roundPrecision((Ze=W.speed)==null?void 0:Ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Y=W.speed)==null?void 0:Y.eta)),1),e.createElementVNode("td",Vm,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",fm,e.toDisplayString(a.roundPrecision((we=W.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",gm,e.toDisplayString(a.roundPrecision((Me=W.speed)==null?void 0:Me.totalDgoCons,3)),1),e.createElementVNode("td",Dm,e.toDisplayString(a.roundPrecision((($e=W.speed)==null?void 0:$e.dangerous)/24,1)),1),e.createElementVNode("td",bm,e.toDisplayString(a.roundPrecision(((Qe=W.speed)==null?void 0:Qe.severe)/24,1)),1),e.createElementVNode("td",xm,e.toDisplayString(a.roundPrecision(((Je=W.speed)==null?void 0:Je.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qe=(Ke=W.speed)==null?void 0:Ke.cpCopy)==null?void 0:qe.fo)+" FO / "+e.toDisplayString((q=(_=W.speed)==null?void 0:_.cpCopy)==null?void 0:q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=W.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((He=W.speed)==null?void 0:He.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ge=W.speed)==null?void 0:Ge.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Cm,[e.createElementVNode("div",Sm,[e.createElementVNode("div",km,[e.createElementVNode("div",Am,[Bm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=W=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(D,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=W=>l.advisory=W),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...W)=>a.decideDisable&&a.decideDisable(...W)),innerHTML:l.advisory},null,40,wm))])]),e.createElementVNode("div",Tm,[um,e.createElementVNode("div",Om,[Fm,e.createElementVNode("div",Pm,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((be=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:be.wps),(W,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",Lm,[W.isResume?(e.openBlock(),e.createElementBlock("div",Wm,"Resume")):(e.openBlock(),e.createElementBlock("div",Hm,[e.createVNode(i,{lat:W.lat,label:""},null,8,["lat"]),Mm,e.createVNode(p,{lng:W.lng,label:""},null,8,["lng"]),W.pilot?(e.openBlock(),e.createElementBlock("span",Gm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Im,e.toDisplayString(a.computeUTCTime(W.eta)),1),me?(e.openBlock(),e.createElementBlock("div",Rm,e.toDisplayString(a.computeNav(W)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",zm,e.toDisplayString(a.roundPrecision(W.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Um,e.toDisplayString(a.roundPrecision(W.avgSpd??W.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Ym,e.toDisplayString(a.computeMemo(W)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Zm,[$m,e.createElementVNode("div",Qm,null,512),e.createElementVNode("div",Jm,null,512),e.createElementVNode("div",Km,null,512)]),e.createElementVNode("div",qm,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",jm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Xm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ye=(Oe=(ue=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:ue.speed)==null?void 0:Oe.sample)==null?void 0:ye.hours,(W,me)=>{var Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot,Mt;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(W.isDangerous?"dangerous":W.isSevere?"severe":W.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(W.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",vm,[e.createVNode(i,{lat:W.lat,label:""},null,8,["lat"]),ep,e.createVNode(p,{lng:W.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pe=(Fe=W.meteo)==null?void 0:Fe.wind)!=null&&Pe.kts?(e.openBlock(),e.createElementBlock("span",tp,[e.createTextVNode(e.toDisplayString((ke=(Le=W.meteo)==null?void 0:Le.wind)==null?void 0:ke.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ye=(We=W.meteo)==null?void 0:We.wind)==null?void 0:Ye.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",op,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Y=(Ze=W.meteo)==null?void 0:Ze.wind)==null?void 0:Y.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Me=(we=W.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,[(Ke=(Je=(Qe=W.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&Ke.height?(e.openBlock(),e.createElementBlock("span",lp,[e.createTextVNode(e.toDisplayString((q=(_=(qe=W.meteo)==null?void 0:qe.wave)==null?void 0:_.swell)==null?void 0:q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ge=(He=(Te=W.meteo)==null?void 0:Te.wave)==null?void 0:He.swell)==null?void 0:Ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ap,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ve=(je=(pe=W.meteo)==null?void 0:pe.wave)==null?void 0:je.swell)==null?void 0:ve.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(et=W.meteo)==null?void 0:et.wave)==null?void 0:lt.swell)==null?void 0:at.period,1)),1),e.createElementVNode("td",null,[(ht=(st=(nt=W.meteo)==null?void 0:nt.wave)==null?void 0:st.sig)!=null&&ht.height?(e.openBlock(),e.createElementBlock("span",np,[e.createTextVNode(e.toDisplayString((_t=(Et=(yt=W.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)==null?void 0:_t.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ft=(Vt=(Nt=W.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(Dt=(gt=W.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(xt=W.meteo)==null?void 0:xt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(At=(kt=W.meteo)==null?void 0:kt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",ip,[e.createTextVNode(e.toDisplayString((wt=(Bt=W.meteo)==null?void 0:Bt.current)==null?void 0:wt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ut=(Tt=W.meteo)==null?void 0:Tt.current)==null?void 0:ut.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Mt=(Ot=W.meteo)==null?void 0:Ot.current)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(W.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const rn=Ee(Dr,[["render",dp],["__scopeId","data-v-ba499fc2"]]),noe="",rp={name:"RouteReport",components:{Lng:tn,Lat:on,Editor:Uo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=O(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=O((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(O((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,m;const n=(m=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:m.hours,o=n[0],c=n[n.length-1];return O(c.eta).diff(O(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),mp={class:"route-report"},pp=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),hp={class:"section"},yp=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Ep={class:"section-body basics"},_p={class:"flex-space section-row"},Np={class:"flex-start"},Vp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),fp={class:"flex-start"},gp={class:"flex-start"},Dp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),bp={class:"flex-start flex"},xp={key:0,class:"flex"},Cp={key:1,class:"flex-space flex"},Sp=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),kp={class:"time flex"},Ap={class:"flex-space section-row"},Bp={class:"flex-start"},wp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Tp={class:"flex-start"},up={class:"flex-start"},Op=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Fp={class:"flex-start flex"},Pp={key:0,class:"flex"},Lp={key:1,class:"flex-space"},Wp=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Hp={class:"time flex"},Mp={class:"flex-space section-row"},Gp={class:"flex-start"},Ip=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Rp={class:"flex-start"},zp={class:"flex-start"},Up=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Yp={class:"flex-start flex"},Zp={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},$p=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),Qp={class:"section-body detail"},Jp={class:"flex-space",style:{"align-items":"stretch"}},Kp={class:"chart"},qp=["src"],jp={key:1,class:"empty flex-center"},Xp={class:"route flex",style:{"justify-content":"space-between"}},vp=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),eh={class:"suggestion"},th=["innerHTML"],oh={class:"flex-start legends"},lh=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),ah={key:0,class:"legend"},nh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],sh={key:1,class:"legend"},ih=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],ch={class:"section"},dh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),rh={class:"section-body comparison"},mh={class:"container"},ph={key:0},hh=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),yh={class:"section",style:{"page-break-inside":"avoid"}},Eh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),_h={class:"section-body sample"},Nh={class:"major-waypoints"},Vh={class:"container"},fh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),gh={class:"body"},Dh={class:"cell-item flexM"},bh={class:"flex-center"},xh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ch={class:"cell-item flexL"},Sh={key:0,class:"flex-center"},kh={key:1},Ah={class:"cell-item flex"},Bh={key:0,class:"cell-item flex offset"},wh={key:1,class:"cell-item flex nbsp"},Th={key:2,class:"cell-item flex offset"},uh={key:3,class:"cell-item flex nbsp"},Oh={key:4,class:"cell-item flex offset"},Fh={key:5,class:"cell-item flex nbsp"},Ph={class:"section"},Lh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),Wh={class:"section-body sample"},Hh={key:0},Mh=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Gh={class:"flex-center"},Ih=dt(()=>e.createElementVNode("span",null,"/",-1)),Rh={key:0,class:"degree-box"},zh={key:1},Uh={key:0,class:"degree-box"},Yh={key:1},Zh={key:0,class:"degree-box"},$h={key:1},Qh={key:0,class:"degree-box"},Jh={key:1},Kh=dt(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function qh(t,n,o,c,l,a){var D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",mp,[pp,e.createElementVNode("div",hp,[yp,e.createElementVNode("div",Ep,[e.createElementVNode("div",_p,[e.createElementVNode("div",Np,[Vp,e.createElementVNode("div",fp,e.toDisplayString((h=(f=(D=o.plan)==null?void 0:D.voyage)==null?void 0:f.company)==null?void 0:h.name),1)]),e.createElementVNode("div",gp,[Dp,e.createElementVNode("div",bp,[(d=(C=(V=o.plan)==null?void 0:V.leg)==null?void 0:C.departure)!=null&&d.name?(e.openBlock(),e.createElementBlock("div",xp,e.toDisplayString((k=(S=o.plan)==null?void 0:S.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Cp,[e.createVNode(m,{lat:(u=(B=(A=o.plan)==null?void 0:A.leg)==null?void 0:B.departure)==null?void 0:u.lat,label:""},null,8,["lat"]),Sp,e.createVNode(i,{lng:(L=(x=(F=o.plan)==null?void 0:F.leg)==null?void 0:x.departure)==null?void 0:L.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",kp,e.toDisplayString(a.computeUTCTime(((R=(Z=(U=o.plan)==null?void 0:U.leg)==null?void 0:Z.departure)==null?void 0:R.atd)||((I=(g=(P=o.plan)==null?void 0:P.leg)==null?void 0:g.departure)==null?void 0:I.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Bp,[wp,e.createElementVNode("div",Tp,e.toDisplayString((M=(H=(G=o.plan)==null?void 0:G.voyage)==null?void 0:H.vessel)==null?void 0:M.name),1)]),e.createElementVNode("div",up,[Op,e.createElementVNode("div",Fp,[(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.destination)!=null&&K.name?(e.openBlock(),e.createElementBlock("div",Pp,e.toDisplayString((z=(N=o.plan)==null?void 0:N.leg)==null?void 0:z.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Lp,[e.createVNode(m,{lat:(X=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),Wp,e.createVNode(i,{lng:(oe=(v=(r=o.plan)==null?void 0:r.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Hp,e.toDisplayString(a.computeUTCTime(((ce=(se=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:se[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[Ip,e.createElementVNode("div",Rp,e.toDisplayString(a.computeUTCTime((_e=o.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",zp,[Up,e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((he=(le=o.plan)==null?void 0:le.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",Zp,[$p,e.createElementVNode("div",Qp,[e.createElementVNode("div",Jp,[e.createElementVNode("div",Kp,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,qp)):(e.openBlock(),e.createElementBlock("div",jp,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...Y)=>a.handleRefresh&&a.handleRefresh(...Y))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Xp,[e.createElementVNode("div",null,[vp,e.createElementVNode("div",eh,[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=Y=>l.advisory=Y),class:"editor",height:"120px",onBlur:n[2]||(n[2]=Y=>a.handleCommit(Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...Y)=>a.handleEdit&&a.handleEdit(...Y)),innerHTML:l.advisory},null,40,th))])]),e.createElementVNode("div",oh,[lh,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",ah,nh)):e.createCommentVNode("",!0),((be=(De=o.plan)==null?void 0:De.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",sh,ih)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",ch,[dh,e.createElementVNode("div",rh,[e.createElementVNode("div",mh,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",ph,[hh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(Y,we)=>{var Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=Y.speed)==null?void 0:Me.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${(($e=Y.speed)==null?void 0:$e.label)??"CP"} ${((Qe=Y.speed)==null?void 0:Qe.v0)??((Ke=(Je=Y.speed)==null?void 0:Je.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((_=(qe=Y.speed)==null?void 0:qe.cpCopy)==null?void 0:_.fo)+" FO / "+e.toDisplayString((Te=(q=Y.speed)==null?void 0:q.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((He=Y.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ge=Y.speed)==null?void 0:Ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((pe=Y.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((je=Y.speed)==null?void 0:je.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ve=Y.speed)==null?void 0:ve.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((et=Y.speed)==null?void 0:et.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",yh,[Eh,e.createElementVNode("div",_h,[e.createElementVNode("div",Nh,[e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[(Oe=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Fe=(me=(W=(ye=o.plan)==null?void 0:ye.speeds[0])==null?void 0:W.speed)==null?void 0:me.sample)==null?void 0:Fe.wps,(Y,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",Dh,[e.createElementVNode("div",bh,[e.createVNode(m,{lat:Y.lat,label:""},null,8,["lat"]),xh,e.createVNode(i,{lng:Y.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Ch,[Y.name?(e.openBlock(),e.createElementBlock("span",Sh,e.toDisplayString(Y.name),1)):(e.openBlock(),e.createElementBlock("span",kh,"-"))]),e.createElementVNode("div",Ah,e.toDisplayString(a.computeUTCTime(Y.eta)),1),we?(e.openBlock(),e.createElementBlock("div",Bh,e.toDisplayString(a.computeNav(Y)),1)):(e.openBlock(),e.createElementBlock("div",wh)),we?(e.openBlock(),e.createElementBlock("div",Th,e.toDisplayString(a.roundPrecision(Y.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",uh)),we?(e.openBlock(),e.createElementBlock("div",Oh,e.toDisplayString(a.roundPrecision(Y.avgSpd??Y.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Fh))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Ph,[Lh,e.createElementVNode("div",Wh,[(Le=(Pe=o.plan)==null?void 0:Pe.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",Hh,[Mh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=(Ye=(We=(ke=o.plan)==null?void 0:ke.speeds[0])==null?void 0:We.speed)==null?void 0:Ye.sample)==null?void 0:Ze.hours,(Y,we)=>{var Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(Y.isDangerous?"dangerous":Y.isSevere?"severe":Y.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(Y.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Gh,[e.createVNode(m,{lat:Y.lat,label:""},null,8,["lat"]),Ih,e.createVNode(i,{lng:Y.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[($e=(Me=Y.meteo)==null?void 0:Me.wind)!=null&&$e.kts?(e.openBlock(),e.createElementBlock("span",Rh,e.toDisplayString((Je=(Qe=Y.meteo)==null?void 0:Qe.wind)==null?void 0:Je.direction),1)):(e.openBlock(),e.createElementBlock("span",zh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((qe=(Ke=Y.meteo)==null?void 0:Ke.wind)==null?void 0:qe.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(q=(_=Y.meteo)==null?void 0:_.wave)==null?void 0:q.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(pe=(Ge=(He=Y.meteo)==null?void 0:He.wave)==null?void 0:Ge.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",Uh,e.toDisplayString((et=(ve=(je=Y.meteo)==null?void 0:je.wave)==null?void 0:ve.swell)==null?void 0:et.direction),1)):(e.openBlock(),e.createElementBlock("span",Yh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((nt=(at=(lt=Y.meteo)==null?void 0:lt.wave)==null?void 0:at.swell)==null?void 0:nt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((yt=(ht=(st=Y.meteo)==null?void 0:st.wave)==null?void 0:ht.swell)==null?void 0:yt.period,1)),1),e.createElementVNode("td",null,[(Nt=(_t=(Et=Y.meteo)==null?void 0:Et.wave)==null?void 0:_t.sig)!=null&&Nt.height?(e.openBlock(),e.createElementBlock("span",Zh,e.toDisplayString((gt=(ft=(Vt=Y.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",$h,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xt=(bt=(Dt=Y.meteo)==null?void 0:Dt.wave)==null?void 0:bt.sig)==null?void 0:xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((kt=(St=(Ct=Y.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:kt.period,1)),1),e.createElementVNode("td",null,[(Bt=(At=Y.meteo)==null?void 0:At.current)!=null&&Bt.kts?(e.openBlock(),e.createElementBlock("span",Qh,e.toDisplayString((Tt=(wt=Y.meteo)==null?void 0:wt.current)==null?void 0:Tt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Jh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(ut=Y.meteo)==null?void 0:ut.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(Y.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),Kh])}const Dn=Ee(rp,[["render",qh],["__scopeId","data-v-afd0f0bf"]]),roe="",jh={name:"OrmRouteReport",components:{Lng:tn,Lat:on,Editor:Uo,Brand:Eo,Loading:an},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let c=0;return o&&n&&(c=ie.LngLatHelper.guessTimeZoneOffset(n,o)),`${O(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,c,l,a,m;if(n===0)return"-";{const i=O((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:c.speed)==null?void 0:l.eta).diff(O((m=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:m.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,m,i,p;const o=(p=(i=(m=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:m.speed)==null?void 0:i.sample)==null?void 0:p.hours,c=o[0],l=o[o.length-1];return Math.round(O(l.eta).diff(O(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,D,f,h,V,C,d;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((S,k)=>{c[S]=Math.PI/8*k});const a=18;let m=4;(C=(V=(h=(f=(D=(p=this.plan)==null?void 0:p.speeds)==null?void 0:D[this.speedIndex])==null?void 0:f.speed)==null?void 0:h.sample)==null?void 0:V.hours)==null||C.forEach(S=>{var A,B,u,F,x,L,U,Z,R,P;const k=S.meteo;if(k){const g=O(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(g),m=Math.ceil(((B=(A=k.wave)==null?void 0:A.sig)==null?void 0:B.height)>m?(F=(u=k.wave)==null?void 0:u.sig)==null?void 0:F.height:m),n.push([g,(x=k.wind)==null?void 0:x.kts,(U=(L=k.wave)==null?void 0:L.sig)==null?void 0:U.height,(Z=k.wind)==null?void 0:Z.direction,(R=k.wind)==null?void 0:R.degree,(P=k.wind)==null?void 0:P.scale,S.cFactor,S.wFactor,S.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:m,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(S,k)=>{const A=k.coord([k.value(o.dateTime),k.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:c[k.value(o.windDirection)],position:A,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(d=this.echart)==null||d.setOption(i)}}},rt=t=>(e.pushScopeId("data-v-6a564b84"),t=t(),e.popScopeId(),t),Xh={class:"voyage-plan"},vh={class:"plan-report"},e1={class:"section voyage-section flex-space"},t1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},o1={class:"flex-start label-block",style:{width:"100%"}},l1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),a1={style:{"text-transform":"uppercase"},class:"text-ellipsis"},n1={class:"flex-start label-block",style:{width:"100%"}},s1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),i1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},c1={class:"flex-start label-block",style:{width:"100%"}},d1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),r1={class:"flex-end"},m1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},p1={class:"flex-start label-block",style:{width:"100%"}},h1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),y1={key:0,class:"flex-end",style:{flex:"1"}},E1={key:1,class:"flex-end",style:{flex:"1"}},_1=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),N1={class:"flex-end",style:{width:"120px"}},V1={class:"flex-space label-block",style:{width:"100%"}},f1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),g1={key:0,class:"flex-end",style:{flex:"1"}},D1={key:1,class:"flex-end",style:{flex:"1"}},b1=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),x1={class:"flex-end",style:{width:"120px"}},C1={class:"flex-space label-block",style:{width:"100%"}},S1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),k1={class:"flex-end",style:{"text-transform":"uppercase"}},A1={class:"section chart-section"},B1=rt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),w1={class:"flex-center"},T1=["src"],u1={class:"legends"},O1=e.createStaticVNode('<div class="legend" data-v-6a564b84><label style="background-color:var(--idm-dangerous);" data-v-6a564b84></label><span data-v-6a564b84>Dangerous</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-severe);" data-v-6a564b84></label><span data-v-6a564b84>Severe</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-heavy);" data-v-6a564b84></label><span data-v-6a564b84>Heavy</span></div>',3),F1={class:"legend"},P1=rt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),L1={key:0,class:"legend"},W1=rt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),H1={key:1,class:"legend"},M1=rt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),G1={key:1,class:"empty"},I1={class:"section comparison-section"},R1={key:0},z1=rt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),U1=rt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Y1=rt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Z1=rt(()=>e.createElementVNode("th",null,"*FO",-1)),$1=rt(()=>e.createElementVNode("th",null,"*DO",-1)),Q1={colspan:"3"},J1={rowspan:"2"},K1={rowspan:"2"},q1={rowspan:"2"},j1={rowspan:"2"},X1={rowspan:"2"},v1={rowspan:"2"},ey={rowspan:"2"},ty={rowspan:"2"},oy={rowspan:"2"},ly=rt(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),ay={class:"section waypoint-section"},ny={class:"header-block flex-start"},sy=rt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),iy={class:"title"},cy={key:0,class:"flex-end",style:{flex:"1"}},dy=["onClick"],ry={class:"advisory"},my=["innerHTML"],py={class:"major-waypoint"},hy=e.createStaticVNode('<div class="major-header" data-v-6a564b84><div class="cell-item flex" style="flex:1.5;" data-v-6a564b84>Major waypoint</div><div class="cell-item flex" data-v-6a564b84>Time</div><div class="cell-item flex" data-v-6a564b84>Nav</div><div class="cell-item flex" data-v-6a564b84>Dist</div><div class="cell-item flex" data-v-6a564b84>SOG</div><div class="cell-item flex" data-v-6a564b84>Memo</div></div>',1),yy={class:"major-body"},Ey={class:"cell-item flex",style:{flex:"1.5"}},_y={key:0,class:"flex-center"},Ny={key:1,class:"flex-center"},Vy=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),fy={key:0},gy={class:"cell-item flex"},Dy={key:0,class:"cell-item flex offset"},by={key:1,class:"cell-item flex nbsp"},xy={key:2,class:"cell-item flex offset"},Cy={key:3,class:"cell-item flex nbsp"},Sy={key:4,class:"cell-item flex offset"},ky={key:5,class:"cell-item flex nbsp"},Ay={key:6,class:"cell-item flex offset"},By={key:7,class:"cell-item flex nbsp"},wy={class:"section forecast-section"},Ty={class:"header-block flex-start"},uy=rt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Oy={class:"title"},Fy={key:0,class:"flex-end",style:{flex:"1"}},Py=["onClick"],Ly={class:"echart-block"},Wy={ref:"echart",class:"echart"},Hy=rt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),My={class:"flex-center"},Gy=rt(()=>e.createElementVNode("span",null,"/",-1)),Iy={key:0,class:"degree-box"},Ry={key:1},zy={key:0,class:"degree-box"},Uy={key:1},Yy={key:0,class:"degree-box"},Zy={key:1},$y={key:0,class:"degree-box"},Qy={key:1},Jy=rt(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function Ky(t,n,o,c,l,a){var h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),f=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Xh,[e.createElementVNode("div",vh,[e.createVNode(m,{name:"Voyage Planning",issued:(h=o.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=$=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",e1,[e.createElementVNode("div",t1,[e.createElementVNode("div",o1,[l1,e.createElementVNode("span",a1,e.toDisplayString((d=(C=(V=o.plan)==null?void 0:V.voyage)==null?void 0:C.company)==null?void 0:d.name),1)]),e.createElementVNode("div",n1,[s1,e.createElementVNode("span",i1,e.toDisplayString((A=(k=(S=o.plan)==null?void 0:S.voyage)==null?void 0:k.vessel)==null?void 0:A.name)+" ("+e.toDisplayString((x=(F=(u=(B=o.plan)==null?void 0:B.voyage)==null?void 0:u.vessel)==null?void 0:F.vesselType)==null?void 0:x.name)+")",1)]),e.createElementVNode("div",c1,[d1,e.createElementVNode("span",r1,e.toDisplayString((U=(L=o.plan)==null?void 0:L.voyage)==null?void 0:U.number),1)])]),e.createElementVNode("div",m1,[e.createElementVNode("div",p1,[h1,(P=(R=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:R.departure)!=null&&P.name?(e.openBlock(),e.createElementBlock("span",y1,e.toDisplayString((I=(g=o.plan)==null?void 0:g.leg)==null?void 0:I.departure.name),1)):(e.openBlock(),e.createElementBlock("div",E1,[e.createVNode(p,{lat:(M=(H=(G=o.plan)==null?void 0:G.leg)==null?void 0:H.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),_1,e.createVNode(D,{lng:(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.departure)==null?void 0:K.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",N1,e.toDisplayString(a.computeUTCTime(((J=(z=(N=o.plan)==null?void 0:N.leg)==null?void 0:z.departure)==null?void 0:J.atd)||((r=(X=(s=o.plan)==null?void 0:s.leg)==null?void 0:X.departure)==null?void 0:r.etd)||((se=(ee=(oe=(v=o.plan)==null?void 0:v.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",V1,[f1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",g1,e.toDisplayString((he=(le=(_e=o.plan)==null?void 0:_e.leg)==null?void 0:le.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",D1,[e.createVNode(p,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),b1,e.createVNode(D,{lng:(be=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",x1,e.toDisplayString(a.computeUTCTime(((ue=(Se=(Ce=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:ue.ata)||((me=(W=(ye=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ye[l.speedIndex])==null?void 0:W.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",C1,[S1,e.createElementVNode("span",k1,e.toDisplayString((Pe=(Fe=o.plan)==null?void 0:Fe.voyage)==null?void 0:Pe.loadCondition),1)])])]),e.createElementVNode("div",A1,[B1,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",w1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,T1)]),e.createElementVNode("div",u1,[O1,e.createElementVNode("div",F1,[P1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=$=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((Y=(Ze=(Ye=(We=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:We[0])==null?void 0:Ye.speed)==null?void 0:Ze.lane)==null?void 0:Y.name),1)]),((Me=(we=o.plan)==null?void 0:we.speeds)==null?void 0:Me.length)>1?(e.openBlock(),e.createElementBlock("div",L1,[W1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=$=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((qe=(Ke=(Je=(Qe=($e=o.plan)==null?void 0:$e.speeds)==null?void 0:Qe[1])==null?void 0:Je.speed)==null?void 0:Ke.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0),((q=(_=o.plan)==null?void 0:_.speeds)==null?void 0:q.length)>2?(e.openBlock(),e.createElementBlock("div",H1,[M1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=$=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((je=(pe=(Ge=(He=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:He[2])==null?void 0:Ge.speed)==null?void 0:pe.lane)==null?void 0:je.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",G1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...$)=>a.handleRefresh&&a.handleRefresh(...$))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",I1,[(et=(ve=o.plan)==null?void 0:ve.speeds)!=null&&et.length?(e.openBlock(),e.createElementBlock("table",R1,[e.createElementVNode("thead",null,[z1,e.createElementVNode("tr",null,[U1,Y1,Z1,$1,e.createElementVNode("th",Q1,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((lt=o.plan)==null?void 0:lt.speeds,($,ot)=>{var Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ot},[e.createElementVNode("tr",null,[e.createElementVNode("td",J1,e.toDisplayString(ot+1),1),e.createElementVNode("td",K1,e.toDisplayString((Pt=(Ft=$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Gt=$.speed)==null?void 0:Gt.label)??"CP"} ${((It=$.speed)==null?void 0:It.v0)??((zt=(Rt=$.speed)==null?void 0:Rt.cpCopy)==null?void 0:zt.speed)}`),1),e.createElementVNode("td",q1,e.toDisplayString(a.roundPrecision((Ut=$.speed)==null?void 0:Ut.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Yt=$.speed)==null?void 0:Yt.eta,(Qt=($t=(Zt=o.plan)==null?void 0:Zt.leg)==null?void 0:$t.destination)==null?void 0:Qt.lng,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((jt=$.speed)==null?void 0:jt.eta))+"]",1)]),e.createElementVNode("td",j1,e.toDisplayString(a.computeTimeDiff(o.plan,ot)),1),e.createElementVNode("td",X1,e.toDisplayString(a.roundPrecision((Xt=$.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",v1,e.toDisplayString(a.roundPrecision((vt=$.speed)==null?void 0:vt.totalDgoCons,3)),1),e.createElementVNode("td",ey,e.toDisplayString(a.roundPrecision(((eo=$.speed)==null?void 0:eo.dangerous)/24,1)),1),e.createElementVNode("td",ty,e.toDisplayString(a.roundPrecision(((to=$.speed)==null?void 0:to.severe)/24,1)),1),e.createElementVNode("td",oy,e.toDisplayString(a.roundPrecision(((oo=$.speed)==null?void 0:oo.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((ao=(lo=$.speed)==null?void 0:lo.cpCopy)==null?void 0:ao.fo)+" FO / "+e.toDisplayString((so=(no=$.speed)==null?void 0:no.cpCopy)==null?void 0:so.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=$.speed)==null?void 0:io.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((co=$.speed)==null?void 0:co.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((ro=$.speed)==null?void 0:ro.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),ly]),e.createElementVNode("div",ay,[e.createElementVNode("div",ny,[sy,e.createElementVNode("div",iy,"Advisory & Major Waypoint of Route "+e.toDisplayString((ht=(st=(nt=(at=o.plan.speeds)==null?void 0:at[l.speedIndex])==null?void 0:nt.speed)==null?void 0:st.lane)==null?void 0:ht.name),1),((Et=(yt=o.plan)==null?void 0:yt.speeds)==null?void 0:Et.length)>1?(e.openBlock(),e.createElementBlock("div",cy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_t=o.plan)==null?void 0:_t.speeds,($,ot)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Gt=>(l.speedIndex=ot,a.renderEchart())},e.toDisplayString((Pt=(Ft=$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,dy)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ry,[l.editable?(e.openBlock(),e.createBlock(f,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=$=>l.advisory=$),class:"editor",height:"120px",onBlur:n[6]||(n[6]=$=>a.handleCommit($))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...$)=>a.handleEdit&&a.handleEdit(...$)),innerHTML:l.advisory},null,40,my))]),e.createElementVNode("div",py,[hy,e.createElementVNode("div",yy,[(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)!=null&&Vt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((xt=(bt=(Dt=(gt=(ft=o.plan)==null?void 0:ft.speeds)==null?void 0:gt[l.speedIndex])==null?void 0:Dt.speed)==null?void 0:bt.sample)==null?void 0:xt.wps),($,ot)=>(e.openBlock(),e.createElementBlock("div",{key:ot,class:"cell-row"},[e.createElementVNode("div",Ey,[$.isResume?(e.openBlock(),e.createElementBlock("div",_y,"Resume")):(e.openBlock(),e.createElementBlock("div",Ny,[e.createVNode(p,{lat:$.lat,label:""},null,8,["lat"]),Vy,e.createVNode(D,{lng:$.lng,label:""},null,8,["lng"]),$.pilot?(e.openBlock(),e.createElementBlock("span",fy," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",gy,e.toDisplayString(a.computeUTCTime($.eta)),1),ot?(e.openBlock(),e.createElementBlock("div",Dy,e.toDisplayString(a.computeNav($)),1)):(e.openBlock(),e.createElementBlock("div",by)),ot?(e.openBlock(),e.createElementBlock("div",xy,e.toDisplayString(a.roundPrecision($.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Cy)),ot?(e.openBlock(),e.createElementBlock("div",Sy,e.toDisplayString(a.roundPrecision($.avgSpd??$.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",ky)),ot?(e.openBlock(),e.createElementBlock("div",Ay,e.toDisplayString(a.computeMemo($)),1)):(e.openBlock(),e.createElementBlock("div",By))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",wy,[(St=(Ct=o.plan)==null?void 0:Ct.speeds)!=null&&St.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Ty,[uy,e.createElementVNode("div",Oy,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Tt=(wt=(Bt=(At=(kt=o.plan)==null?void 0:kt.speeds)==null?void 0:At[l.speedIndex])==null?void 0:Bt.speed)==null?void 0:wt.lane)==null?void 0:Tt.name),1),((Ot=(ut=o.plan)==null?void 0:ut.speeds)==null?void 0:Ot.length)>1?(e.openBlock(),e.createElementBlock("div",Fy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Mt=o.plan)==null?void 0:Mt.speeds,($,ot)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Gt=>(l.speedIndex=ot,a.renderEchart())},e.toDisplayString((Pt=(Ft=$==null?void 0:$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,Py)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ly,[e.createElementVNode("div",Wy,null,512)]),e.createElementVNode("table",null,[Hy,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((go=(fo=(Vo=(No=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:No[l.speedIndex])==null?void 0:Vo.speed)==null?void 0:fo.sample)==null?void 0:go.hours,($,ot)=>{var Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Ao,Bo,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo;return e.openBlock(),e.createElementBlock("tr",{key:ot,class:e.normalizeClass($.isDangerous?"dangerous":$.isSevere?"severe":$.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime($.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",My,[e.createVNode(p,{lat:$.lat,label:""},null,8,["lat"]),Gy,e.createVNode(D,{lng:$.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=$.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",Iy,[e.createTextVNode(e.toDisplayString((It=(Gt=$.meteo)==null?void 0:Gt.wind)==null?void 0:It.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((zt=(Rt=$.meteo)==null?void 0:Rt.wind)==null?void 0:zt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ry,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Yt=(Ut=$.meteo)==null?void 0:Ut.wind)==null?void 0:Yt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=($t=(Zt=$.meteo)==null?void 0:Zt.wave)==null?void 0:$t.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(qt=(Kt=(Jt=$.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",zy,[e.createTextVNode(e.toDisplayString((vt=(Xt=(jt=$.meteo)==null?void 0:jt.wave)==null?void 0:Xt.swell)==null?void 0:vt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((oo=(to=(eo=$.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Uy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((no=(ao=(lo=$.meteo)==null?void 0:lo.wave)==null?void 0:ao.swell)==null?void 0:no.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((co=(io=(so=$.meteo)==null?void 0:so.wave)==null?void 0:io.swell)==null?void 0:co.period,1)),1),e.createElementVNode("td",null,[(bo=(Do=(ro=$.meteo)==null?void 0:ro.wave)==null?void 0:Do.sig)!=null&&bo.height?(e.openBlock(),e.createElementBlock("span",Yy,[e.createTextVNode(e.toDisplayString((So=(Co=(xo=$.meteo)==null?void 0:xo.wave)==null?void 0:Co.sig)==null?void 0:So.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Bo=(Ao=(ko=$.meteo)==null?void 0:ko.wave)==null?void 0:Ao.sig)==null?void 0:Bo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((uo=(To=(wo=$.meteo)==null?void 0:wo.wave)==null?void 0:To.sig)==null?void 0:uo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Po=(Fo=(Oo=$.meteo)==null?void 0:Oo.wave)==null?void 0:Fo.sig)==null?void 0:Po.period,1)),1),e.createElementVNode("td",null,[(Wo=(Lo=$.meteo)==null?void 0:Lo.current)!=null&&Wo.kts?(e.openBlock(),e.createElementBlock("span",$y,[e.createTextVNode(e.toDisplayString((Mo=(Ho=$.meteo)==null?void 0:Ho.current)==null?void 0:Mo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Io=(Go=$.meteo)==null?void 0:Go.current)==null?void 0:Io.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((zo=(Ro=$.meteo)==null?void 0:Ro.current)==null?void 0:zo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision($.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),Jy])])])}const bn=Ee(jh,[["render",Ky],["__scopeId","data-v-6a564b84"]]),qy={install(t){t.component("RouteReport",rn),t.component("OpiPlanReport",rn),t.component("FliPlanReport",Dn),t.component("OrmPlanReport",bn)}},jy={install(t){t.component("IdmEditor",Uo)}},Xy={install(t){t.component("IdmLat",on)}},vy={install(t){t.component("IdmLng",tn)}},eE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},tE={class:"logo"},oE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},lE=["fill","fill-opacity"],aE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(te,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl2"),require("@idm-plugin/geo"),require("moment-timezone"),require("tz-lookup"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl2","@idm-plugin/geo","moment-timezone","tz-lookup","@element-plus/icons-vue","element-plus","axios"],ie):(te=typeof globalThis<"u"?globalThis:te||self,ie(te["idmui-report"]={},te["@idmwx/idmwx-base"],te.moment,te.Vue,te.echarts,te["@wangeditor/editor-for-vue"],te["mapbox-gl"],te["@idmwx/idmui-gl2"],te["@idm-plugin/geo"],te["moment-timezone"],te["tz-lookup"],te["@element-plus/icons-vue"],te["element-plus"],te.axios))})(this,function(te,ie,O,e,Oi,hn,fl,yn,gl,coe,Fi,ln,En,xl){"use strict";function Pi(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const Yo=Pi(Oi),doe="",Ee=(t,n)=>{const o=t.__vccOpts||t;for(const[c,l]of n)o[c]=l;return o},Li={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?O(t):O()).utc().format(n)}`}}}},_n=t=>(e.pushScopeId("data-v-609af107"),t=t(),e.popScopeId(),t),Wi={class:"section brand-section flex-space"},Hi=e.createStaticVNode('<div class="logo-box flex-center" data-v-609af107><div class="logo" data-v-609af107><a href="https://fmp.idmwx.com" target="_blank" data-v-609af107><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-609af107></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-609af107><div class="brand" data-v-609af107><span style="text-decoration:underline;" data-v-609af107>Weather Routing</span><div class="company" data-v-609af107>Ocean Right Marine Service</div></div></a></div></div>',1),Mi={class:"report-box flex-space"},Gi={class:"name flex-start"},Ii={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},Ri={class:"flex-start",style:{width:"100%"}},zi={class:"label-block flex-evenly",style:{flex:"1"}},Ui=_n(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),Yi={class:"flex-end",style:{flex:"2"}},Zi=_n(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function $i(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",Wi,[Hi,e.createElementVNode("div",Mi,[e.createElementVNode("div",Gi,e.toDisplayString(o.name),1),e.createElementVNode("div",Ii,[e.createElementVNode("div",Ri,[e.createElementVNode("div",zi,[Ui,e.createElementVNode("span",Yi,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),Zi])])])}const Eo=Ee(Li,[["render",$i],["__scopeId","data-v-609af107"]]),Qi={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}},emits:["timeout"],watch:{loading:{handler(){this.loading&&setTimeout(()=>{this.$emit("timeout",!1)},5e3)},immediate:!0}}},Ji={key:0,class:"loading"},Ki=e.createElementVNode("i",{class:"iconfont"},"",-1);function qi(t,n,o,c,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",Ji,[Ki,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const an=Ee(Qi,[["render",qi]]),roe="",ji={name:"ORMPointReport",components:{IdmLoading:an,IdmBrand:Eo},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,c;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=ie.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(c=this.report)==null?void 0:c.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${O(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var c,l,a,m,i,p,D,f,h,V;const n={};for(let C=0;C<((l=(c=t==null?void 0:t.extend)==null?void 0:c.data)==null?void 0:l.length);C++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[C];if(C===0)r.precip.pacc=0;else{const k=(m=t==null?void 0:t.extend)==null?void 0:m.data[C-1],S=O(r.utc).utcOffset(this.localTZ),B=O(k.utc).utcOffset(this.localTZ),A=(i=k==null?void 0:k.precip)==null?void 0:i.prate,u=S.diff(B,"h"),F=this.roundPrecision(A*u,1);if(r.precip.pacc=F,F>0){const x=n[S.format("MMM-DD")],L=Math.floor(S.get("hour")/6);x?(x.pacc=this.roundPrecision(x.pacc+F,1),x[`${L}`]?x[`${L}`]+=F:(x[`${L}`]=F,x.colspan+=1)):(n[S.format("MMM-DD")]={pacc:F,colspan:1},n[S.format("MMM-DD")][`${L}`]=F)}}}t.paccInDays=n;let o=0;for(const C of Object.keys(n))o+=(p=n[C])==null?void 0:p.colspan,n[C].level=((D=n[C])==null?void 0:D.pacc)<10?"Light":((f=n[C])==null?void 0:f.pacc)<24.9?"Moderate":((h=n[C])==null?void 0:h.pacc)<49.9?"Heavy":((V=n[C])==null?void 0:V.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,m,i;this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let c=4;(i=(m=(a=this.report)==null?void 0:a.extend)==null?void 0:m.data)==null||i.forEach(p=>{var f,h,V,C,r,k,S,B,A,u,F,x,L;const D=O(p.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(D),c=((h=(f=p.wave)==null?void 0:f.sig)==null?void 0:h.height)>c?(C=(V=p.wave)==null?void 0:V.sig)==null?void 0:C.height:c,n.push([D,(r=p.wind)==null?void 0:r.kts,(k=p.gusts)==null?void 0:k.kts,(B=(S=p.wave)==null?void 0:S.sig)==null?void 0:B.height,(A=p.wind)==null?void 0:A.direction,(u=p.wind)==null?void 0:u.degree,(F=p.wind)==null?void 0:F.scale,(x=p.current)==null?void 0:x.kts,(L=p.precip)==null?void 0:L.acc,this.roundPrecision(p.visibility/1852,0),p.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:c,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},it=t=>(e.pushScopeId("data-v-b77c7ac1"),t=t(),e.popScopeId(),t),Xi={class:"point-report"},vi={class:"section info-section"},ec={class:"flex-evenly"},tc={class:"flex-space label-block",style:{width:"100%"}},oc=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),lc={class:"flex-space label-block",style:{width:"100%"}},ac=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),nc={class:"flex-evenly"},sc={class:"flex-space label-block",style:{width:"100%"}},ic=it(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),cc={class:"flex-space label-block",style:{width:"100%"}},dc={class:"flex-end",style:{width:"180px"}},rc={class:"section echart-section"},mc={ref:"echart",class:"echart"},pc={class:"section sample-section"},hc=it(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),yc=it(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ec=it(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),_c=it(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Nc=it(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Vc=it(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),fc=["colspan"],gc=it(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Dc=it(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),bc=it(()=>e.createElementVNode("th",null,"Dir",-1)),xc=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Cc=it(()=>e.createElementVNode("th",null,"BF",-1)),Sc=it(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),kc=it(()=>e.createElementVNode("th",null,"Dir",-1)),Bc=it(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Ac=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),wc=it(()=>e.createElementVNode("th",null,"Dir",-1)),Tc=it(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),uc=it(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Oc=it(()=>e.createElementVNode("th",null,"Dir",-1)),Fc=it(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Pc={key:0},Lc={key:1},Wc=it(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Hc=it(()=>e.createElementVNode("th",null,"°C",-1)),Mc={width:"120px"},Gc={key:0,class:"degree-box"},Ic={key:1},Rc={key:0,class:"degree-box"},zc={key:1},Uc={key:0,class:"degree-box"},Yc={key:1},Zc={key:0,class:"degree-box"},$c={key:1},Qc={key:0},Jc={key:1};function Kc(t,n,o,c,l,a){var p,D,f,h;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Xi,[e.createVNode(m,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",vi,[e.createElementVNode("div",ec,[e.createElementVNode("div",tc,[oc,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((p=o.report)==null?void 0:p.lat).pretty)+" / "+e.toDisplayString(a.computeLng((D=o.report)==null?void 0:D.lng).pretty),1)]),e.createElementVNode("div",lc,[ac,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",nc,[e.createElementVNode("div",sc,[ic,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",cc,[e.createElementVNode("label",dc,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",rc,[e.createElementVNode("div",mc,null,512)]),e.createElementVNode("div",pc,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[hc,yc,Ec,_c,Nc,Vc,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,fc),gc,Dc]),e.createElementVNode("tr",null,[bc,xc,Cc,Sc,kc,Bc,Ac,wc,Tc,uc,Oc,Fc,o.showPrate?(e.openBlock(),e.createElementBlock("th",Pc,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Lc,"Acc (mm)")):e.createCommentVNode("",!0),Wc,Hc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=(f=o.report)==null?void 0:f.extend)==null?void 0:h.data,(V,C)=>{var r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",Mc,e.toDisplayString(a.computeLTime(V.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=V.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",Gc,[e.createTextVNode(e.toDisplayString((k=V.wind)==null?void 0:k.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((S=V.wind)==null?void 0:S.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ic,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((B=V.wind)==null?void 0:B.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((A=V.wind)==null?void 0:A.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((u=V.gusts)==null?void 0:u.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((x=(F=V.wave)==null?void 0:F.wd)==null?void 0:x.height,1)),1),e.createElementVNode("td",null,[(U=(L=V.wave)==null?void 0:L.swell)!=null&&U.height?(e.openBlock(),e.createElementBlock("span",Rc,[e.createTextVNode(e.toDisplayString((R=(Z=V.wave)==null?void 0:Z.swell)==null?void 0:R.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((g=(P=V.wave)==null?void 0:P.swell)==null?void 0:g.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",zc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(I=V.wave)==null?void 0:I.swell)==null?void 0:G.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(H=V.wave)==null?void 0:H.swell)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(j=(Q=V.wave)==null?void 0:Q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",Uc,[e.createTextVNode(e.toDisplayString((N=(K=V.wave)==null?void 0:K.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(z=V.wave)==null?void 0:z.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Yc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(s=V.wave)==null?void 0:s.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((v=(d=V.wave)==null?void 0:d.sig)==null?void 0:v.period,1)),1),e.createElementVNode("td",null,[(oe=V.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",Zc,[e.createTextVNode(e.toDisplayString((ee=V.current)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=V.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",$c,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ce=V.current)==null?void 0:ce.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Qc,e.toDisplayString(a.roundPrecision((de=V.precip)==null?void 0:de.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Jc,e.toDisplayString(a.roundPrecision((re=V.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)||"-"),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])])}const Nn=Ee(ji,[["render",Kc],["__scopeId","data-v-b77c7ac1"]]),moe="",qc={props:{name:{type:String,default:""}}},jc={class:"section brand-section flex-space"},Xc=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),vc={class:"report-box flex-space"},ed={class:"name flex-start"},td=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function od(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",jc,[Xc,e.createElementVNode("div",vc,[e.createElementVNode("div",ed,e.toDisplayString(o.name),1),td])])}const en=Ee(qc,[["render",od],["__scopeId","data-v-602c94e3"]]),poe="",ld={name:"PointReport",components:{IdmBrand:en},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${O(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},tt=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),ad={class:"point-report"},nd=tt(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),sd={class:"report-header flex-center"},id={class:"info-box"},cd=tt(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),dd={class:"info"},rd=tt(()=>e.createElementVNode("label",null,"Position",-1)),md={class:"info"},pd=tt(()=>e.createElementVNode("label",null,"Issued",-1)),hd=tt(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),yd={class:"report-body"},Ed={class:"weather-sample"},_d=tt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Nd=tt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Vd=tt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),fd=tt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),gd=tt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Dd=tt(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),bd=["colspan"],xd=tt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Cd=tt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Sd=tt(()=>e.createElementVNode("th",null,"Dir",-1)),kd=tt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Bd=tt(()=>e.createElementVNode("th",null,"BF",-1)),Ad=tt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),wd=tt(()=>e.createElementVNode("th",null,"Dir",-1)),Td=tt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),ud=tt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Od=tt(()=>e.createElementVNode("th",null,"Dir",-1)),Fd=tt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Pd=tt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Ld=tt(()=>e.createElementVNode("th",null,"Dir",-1)),Wd=tt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Hd={key:0},Md={key:1},Gd=tt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),Id=tt(()=>e.createElementVNode("th",null,"°C",-1)),Rd={width:"120px"},zd={key:0,class:"degree-box"},Ud={key:1},Yd={key:0,class:"degree-box"},Zd={key:1},$d={key:0,class:"degree-box"},Qd={key:1},Jd={key:0,class:"degree-box"},Kd={key:1},qd={key:0},jd={key:1};function Xd(t,n,o,c,l,a){const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",ad,[e.createVNode(m),nd,e.createElementVNode("div",sd,[e.createElementVNode("div",id,[cd,e.createElementVNode("div",dd,[rd,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",md,[pd,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),hd]),e.createElementVNode("div",yd,[e.createElementVNode("div",Ed,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[_d,Nd,Vd,fd,gd,Dd,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,bd),xd,Cd]),e.createElementVNode("tr",null,[Sd,kd,Bd,Ad,wd,Td,ud,Od,Fd,Pd,Ld,Wd,o.showPrate?(e.openBlock(),e.createElementBlock("th",Hd,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Md,"Acc (mm)")):e.createCommentVNode("",!0),Gd,Id])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Rd,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(D=i.wind)!=null&&D.kts?(e.openBlock(),e.createElementBlock("span",zd,[e.createTextVNode(e.toDisplayString((f=i.wind)==null?void 0:f.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((h=i.wind)==null?void 0:h.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ud,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=i.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((C=i.wind)==null?void 0:C.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((S=(k=i.wave)==null?void 0:k.wd)==null?void 0:S.height,1)),1),e.createElementVNode("td",null,[(A=(B=i.wave)==null?void 0:B.swell)!=null&&A.height?(e.openBlock(),e.createElementBlock("span",Yd,[e.createTextVNode(e.toDisplayString((F=(u=i.wave)==null?void 0:u.swell)==null?void 0:F.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((L=(x=i.wave)==null?void 0:x.swell)==null?void 0:L.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(U=i.wave)==null?void 0:U.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((P=(R=i.wave)==null?void 0:R.swell)==null?void 0:P.period,1)),1),e.createElementVNode("td",null,[(I=(g=i.wave)==null?void 0:g.sig)!=null&&I.height?(e.openBlock(),e.createElementBlock("span",$d,[e.createTextVNode(e.toDisplayString((H=(G=i.wave)==null?void 0:G.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Q=(M=i.wave)==null?void 0:M.sig)==null?void 0:Q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Qd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(j=i.wave)==null?void 0:j.sig)==null?void 0:K.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((z=(N=i.wave)==null?void 0:N.sig)==null?void 0:z.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",Jd,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=i.current)==null?void 0:X.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Kd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((d=i.current)==null?void 0:d.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",qd,e.toDisplayString(a.roundPrecision((v=i.precip)==null?void 0:v.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",jd,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const Vn=Ee(ld,[["render",Xd],["__scopeId","data-v-2fead0ca"]]),vd={install(t){t.component("ORMPointReport",Nn),t.component("PointReport",Vn)}},er={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},tr={class:"logo"},or=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function lr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",tr,or)}const ar=Ee(er,[["render",lr]]),nr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},sr={class:"logo"},ir=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function cr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",sr,ir)}const dr=Ee(nr,[["render",cr]]),rr={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},mr={class:"logo"},pr=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function hr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",mr,pr)}const yr=Ee(rr,[["render",hr]]),_oe="",Er={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=ie.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},fn=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),_r={class:"lng-box"},Nr={key:0},Vr=fn(()=>e.createElementVNode("span",null,"°",-1)),fr=fn(()=>e.createElementVNode("span",null,"'",-1));function gr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",_r,[o.label?(e.openBlock(),e.createElementBlock("span",Nr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Vr,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),fr,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const tn=Ee(Er,[["render",gr],["__scopeId","data-v-533ec662"]]),Noe="",Dr={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},gn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),br={class:"lat-box"},xr={key:0},Cr=gn(()=>e.createElementVNode("span",null,"°",-1)),Sr=gn(()=>e.createElementVNode("span",null,"'",-1));function kr(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",br,[o.label?(e.openBlock(),e.createElementBlock("span",xr,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Cr,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),Sr,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const on=Ee(Dr,[["render",kr],["__scopeId","data-v-d3432239"]]),Voe="",Br={name:"IdmEditor",components:{Editor:hn.Editor,Toolbar:hn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Ar={class:"editor-box"};function wr(t,n,o,c,l,a){const m=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Ar,[e.withDirectives(e.createVNode(m,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=p=>l.valueHtml=p),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Uo=Ee(Br,[["render",wr],["__scopeId","data-v-0d3b5c3c"]]),Tr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHN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pDcDEeYFWA2wqbEo9GuE52ITY1MYACwE2T16AnwMsZ/c1VETWYiz2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",foe="",goe="",ur={name:"RouteReport",components:{Lng:tn,Lat:on,Editor:Uo,Route1:ar,Route2:dr,Route3:yr,IdmBrand:en},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${O(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=O(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=O((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(O((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,m;const n=(m=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:m.hours,o=n[0],c=n[n.length-1];return O(c.eta).diff(O(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,c,l,a,m,i,p,D;if(this.sogChart||(this.sogChart=e.markRaw(Yo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(Yo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(Yo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const f=[],h={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},V={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},C={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:f}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,k;for(let S=0;S<((c=(o=this.plan)==null?void 0:o.speeds)==null?void 0:c.length);S++){const B=(l=this.plan)==null?void 0:l.speeds[S].speed,A=[],u=[],F=[],x=[];for(let R=0;R<B.sample.hours.length;R++){const P=B.sample.hours[R];if(S===0){r||(r=O(P.eta).utc(),k=r.clone().add(this.computeDay(this.plan),"day"));const M=O(P.eta).utc();if(M.isAfter(k))break;f.push(`${M.format("MMM-DD/HHmm")}Z`)}const g=this.roundPrecision(P.speed||10,1),I=this.roundPrecision(P.cFactor||0,1),G=this.roundPrecision((m=(a=P.meteo)==null?void 0:a.wind)==null?void 0:m.kts,1),H=this.roundPrecision((D=(p=(i=P.meteo)==null?void 0:i.wave)==null?void 0:p.sig)==null?void 0:D.height,1);A.push(g),F.push(G),x.push(H),u.push(I)}const L={name:`Route ${S+1}`,type:"line",smooth:!0,showSymbol:!0,data:A},U={name:`Route ${S+1}`,type:"line",smooth:!0,showSymbol:!0,data:F},Z={name:`Route ${S+1}`,type:"line",smooth:!0,showSymbol:!0,data:x};h.series.push(L),V.series.push(U),C.series.push(Z)}this.sogChart.setOption(h),this.windChart.setOption(V),this.waveChart.setOption(C)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},ct=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),Or={class:"route-report"},Fr={class:"report-header flex-space"},Pr=ct(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Tr,alt:""},null,-1)),Lr=ct(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),Wr={class:"issued flex-end"},Hr=ct(()=>e.createElementVNode("label",null,"Issued",-1)),Mr={class:"report-body"},Gr={class:"voyage-summary flex-space"},Ir={class:"title"},Rr={key:0},zr={key:1},Ur={key:0,class:"initial"},Yr={key:1,class:"warning"},Zr={class:"summary flex-start"},$r={class:"summary-item"},Qr=ct(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),Jr={class:"summary-item"},Kr=ct(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),qr={key:0},jr={key:1,class:"flex-start"},Xr=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),vr={class:"summary-item"},em=ct(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),tm={key:0},om={key:1,class:"flex-start"},lm=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),am={class:"route-advisory"},nm={class:"charts"},sm={key:0},im=["src"],cm={class:"legend-box"},dm=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),rm={key:0,class:"legend-item"},mm=[ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 2",-1))],pm={key:1,class:"legend-item"},hm=[ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),ct(()=>e.createElementVNode("span",null,"Route 3",-1))],ym={key:1,class:"empty"},Em={class:"route-comparison"},_m=ct(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),Nm={class:"container"},Vm={key:0},fm=ct(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),gm=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Dm=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),bm=ct(()=>e.createElementVNode("th",null,"*FO",-1)),xm=ct(()=>e.createElementVNode("th",null,"*DO",-1)),Cm={colspan:"3"},Sm={rowspan:"2"},km={rowspan:"2"},Bm={rowspan:"2"},Am={rowspan:"2"},wm={rowspan:"2"},Tm={rowspan:"2"},um={rowspan:"2"},Om={rowspan:"2"},Fm={rowspan:"2"},Pm={class:"route-advisory",style:{"page-break-after":"always"}},Lm={class:"advisory"},Wm={class:"reason"},Hm={class:"secondary-title flex-space"},Mm=ct(()=>e.createElementVNode("div",null,"Note",-1)),Gm=["innerHTML"],Im={class:"major-waypoints"},Rm=ct(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),zm={class:"container"},Um=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),Ym={class:"body"},Zm={class:"cell-item",style:{width:"180px"}},$m={key:0,class:"flex-center"},Qm={key:1,class:"flex-center"},Jm=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Km={key:0},qm={class:"cell-item",style:{width:"100px"}},jm={key:0,class:"cell-item offset",style:{width:"35px"}},Xm={key:1,class:"cell-item offset",style:{width:"55px"}},vm={key:2,class:"cell-item offset",style:{width:"40px"}},ep={key:3,class:"cell-item offset",style:{width:"125px"}},tp={class:"weather-eChart"},op=ct(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),lp={ref:"sogChart",class:"eChart"},ap={ref:"windChart",class:"eChart wind"},np={ref:"waveChart",class:"eChart"},sp={class:"weather-sample"},ip={class:"secondary-title"},cp=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),dp={class:"flex-center"},rp=ct(()=>e.createElementVNode("span",null,"/",-1)),mp={key:0,class:"degree-box"},pp={key:1},hp={key:0,class:"degree-box"},yp={key:1},Ep={key:0,class:"degree-box"},_p={key:1},Np={key:0,class:"degree-box"},Vp={key:1};function fp(t,n,o,c,l,a){var f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),p=e.resolveComponent("Lng"),D=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Or,[e.createVNode(m,{name:"Voyage Planning"}),e.createElementVNode("div",Fr,[Pr,Lr,e.createElementVNode("div",Wr,[Hr,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((f=o.plan)==null?void 0:f.updatedAt)),1)])]),e.createElementVNode("div",Mr,[e.createElementVNode("div",Gr,[e.createElementVNode("div",Ir,[((h=o.plan)==null?void 0:h.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",Rr,"Recommended Route Report for "+e.toDisplayString((r=(C=(V=o.plan)==null?void 0:V.voyage)==null?void 0:C.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",zr,"Route Report for "+e.toDisplayString((B=(S=(k=o.plan)==null?void 0:k.voyage)==null?void 0:S.vessel)==null?void 0:B.name),1)),e.createElementVNode("div",null,[((A=o.plan)==null?void 0:A.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",Ur,"Initial Route Report")):e.createCommentVNode("",!0),((u=o.plan)==null?void 0:u.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",Yr,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Zr,[e.createElementVNode("div",$r,[Qr,e.createElementVNode("span",null,e.toDisplayString((x=(F=o.plan)==null?void 0:F.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",Jr,[Kr,(Z=(U=(L=o.plan)==null?void 0:L.leg)==null?void 0:U.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",qr,e.toDisplayString((P=(R=o.plan)==null?void 0:R.leg)==null?void 0:P.departure.name),1)):(e.openBlock(),e.createElementBlock("div",jr,[e.createVNode(i,{lat:(G=(I=(g=o.plan)==null?void 0:g.leg)==null?void 0:I.departure)==null?void 0:G.lat,label:""},null,8,["lat"]),Xr,e.createVNode(p,{lng:(Q=(M=(H=o.plan)==null?void 0:H.leg)==null?void 0:M.departure)==null?void 0:Q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",vr,[em,(N=(K=(j=o.plan)==null?void 0:j.leg)==null?void 0:K.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",tm,e.toDisplayString((z=o.plan)==null?void 0:z.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",om,[e.createVNode(i,{lat:(X=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),lm,e.createVNode(p,{lat:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",am,[e.createElementVNode("div",nm,[(ee=o.plan)!=null&&ee.chartUrl?(e.openBlock(),e.createElementBlock("div",sm,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,im),e.createElementVNode("div",cm,[dm,((ce=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ce.length)>1?(e.openBlock(),e.createElementBlock("div",rm,mm)):e.createCommentVNode("",!0),((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",pm,hm)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",ym,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...W)=>a.handleRefresh&&a.handleRefresh(...W))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Em,[_m,e.createElementVNode("div",Nm,[(le=(_e=o.plan)==null?void 0:_e.speeds)!=null&&le.length?(e.openBlock(),e.createElementBlock("table",Vm,[e.createElementVNode("thead",null,[fm,e.createElementVNode("tr",null,[gm,Dm,bm,xm,e.createElementVNode("th",Cm,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((he=o.plan)==null?void 0:he.speeds,(W,me)=>{var Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;return e.openBlock(),e.createElementBlock(e.Fragment,{key:me},[e.createElementVNode("tr",null,[e.createElementVNode("td",Sm,e.toDisplayString(me+1),1),e.createElementVNode("td",km,e.toDisplayString((Pe=(Fe=W.speed)==null?void 0:Fe.lane)==null?void 0:Pe.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Le=W.speed)==null?void 0:Le.label)??"CP"} ${((ke=W.speed)==null?void 0:ke.v0)??((Ye=(We=W.speed)==null?void 0:We.cpCopy)==null?void 0:Ye.speed)}`),1),e.createElementVNode("td",Bm,e.toDisplayString(a.roundPrecision((Ze=W.speed)==null?void 0:Ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Y=W.speed)==null?void 0:Y.eta)),1),e.createElementVNode("td",Am,e.toDisplayString(a.computeTimeDiff(o.plan,me)),1),e.createElementVNode("td",wm,e.toDisplayString(a.roundPrecision((we=W.speed)==null?void 0:we.totalFoCons,3)),1),e.createElementVNode("td",Tm,e.toDisplayString(a.roundPrecision((Me=W.speed)==null?void 0:Me.totalDgoCons,3)),1),e.createElementVNode("td",um,e.toDisplayString(a.roundPrecision((($e=W.speed)==null?void 0:$e.dangerous)/24,1)),1),e.createElementVNode("td",Om,e.toDisplayString(a.roundPrecision(((Qe=W.speed)==null?void 0:Qe.severe)/24,1)),1),e.createElementVNode("td",Fm,e.toDisplayString(a.roundPrecision(((Je=W.speed)==null?void 0:Je.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((qe=(Ke=W.speed)==null?void 0:Ke.cpCopy)==null?void 0:qe.fo)+" FO / "+e.toDisplayString((q=(_=W.speed)==null?void 0:_.cpCopy)==null?void 0:q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=W.speed)==null?void 0:Te.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((He=W.speed)==null?void 0:He.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Ge=W.speed)==null?void 0:Ge.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Pm,[e.createElementVNode("div",Lm,[e.createElementVNode("div",Wm,[e.createElementVNode("div",Hm,[Mm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=W=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(D,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=W=>l.advisory=W),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...W)=>a.decideDisable&&a.decideDisable(...W)),innerHTML:l.advisory},null,40,Gm))])]),e.createElementVNode("div",Im,[Rm,e.createElementVNode("div",zm,[Um,e.createElementVNode("div",Ym,[(Ve=(Ne=o.plan)==null?void 0:Ne.speeds)!=null&&Ve.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((be=(De=(ge=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:ge.speed)==null?void 0:De.sample)==null?void 0:be.wps),(W,me)=>(e.openBlock(),e.createElementBlock("div",{key:me,class:"cell-row"},[e.createElementVNode("div",Zm,[W.isResume?(e.openBlock(),e.createElementBlock("div",$m,"Resume")):(e.openBlock(),e.createElementBlock("div",Qm,[e.createVNode(i,{lat:W.lat,label:""},null,8,["lat"]),Jm,e.createVNode(p,{lng:W.lng,label:""},null,8,["lng"]),W.pilot?(e.openBlock(),e.createElementBlock("span",Km," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",qm,e.toDisplayString(a.computeUTCTime(W.eta)),1),me?(e.openBlock(),e.createElementBlock("div",jm,e.toDisplayString(a.computeNav(W)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",Xm,e.toDisplayString(a.roundPrecision(W.distanceFromStart,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",vm,e.toDisplayString(a.roundPrecision(W.avgSpd??W.speed,1)),1)):e.createCommentVNode("",!0),me?(e.openBlock(),e.createElementBlock("div",ep,e.toDisplayString(a.computeMemo(W)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",tp,[op,e.createElementVNode("div",lp,null,512),e.createElementVNode("div",ap,null,512),e.createElementVNode("div",np,null,512)]),e.createElementVNode("div",sp,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ip,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[cp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ye=(Oe=(ue=(Se=o.plan)==null?void 0:Se.speeds[0])==null?void 0:ue.speed)==null?void 0:Oe.sample)==null?void 0:ye.hours,(W,me)=>{var Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt;return e.openBlock(),e.createElementBlock("tr",{key:me,class:e.normalizeClass(W.isDangerous?"dangerous":W.isSevere?"severe":W.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(W.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",dp,[e.createVNode(i,{lat:W.lat,label:""},null,8,["lat"]),rp,e.createVNode(p,{lng:W.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pe=(Fe=W.meteo)==null?void 0:Fe.wind)!=null&&Pe.kts?(e.openBlock(),e.createElementBlock("span",mp,[e.createTextVNode(e.toDisplayString((ke=(Le=W.meteo)==null?void 0:Le.wind)==null?void 0:ke.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ye=(We=W.meteo)==null?void 0:We.wind)==null?void 0:Ye.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",pp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Y=(Ze=W.meteo)==null?void 0:Ze.wind)==null?void 0:Y.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Me=(we=W.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,[(Ke=(Je=(Qe=W.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&Ke.height?(e.openBlock(),e.createElementBlock("span",hp,[e.createTextVNode(e.toDisplayString((q=(_=(qe=W.meteo)==null?void 0:qe.wave)==null?void 0:_.swell)==null?void 0:q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ge=(He=(Te=W.meteo)==null?void 0:Te.wave)==null?void 0:He.swell)==null?void 0:Ge.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",yp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ve=(je=(pe=W.meteo)==null?void 0:pe.wave)==null?void 0:je.swell)==null?void 0:ve.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(et=W.meteo)==null?void 0:et.wave)==null?void 0:lt.swell)==null?void 0:at.period,1)),1),e.createElementVNode("td",null,[(ht=(st=(nt=W.meteo)==null?void 0:nt.wave)==null?void 0:st.sig)!=null&&ht.height?(e.openBlock(),e.createElementBlock("span",Ep,[e.createTextVNode(e.toDisplayString((_t=(Et=(yt=W.meteo)==null?void 0:yt.wave)==null?void 0:Et.sig)==null?void 0:_t.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ft=(Vt=(Nt=W.meteo)==null?void 0:Nt.wave)==null?void 0:Vt.sig)==null?void 0:ft.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_p,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(Dt=(gt=W.meteo)==null?void 0:gt.wave)==null?void 0:Dt.sig)==null?void 0:bt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((St=(Ct=(xt=W.meteo)==null?void 0:xt.wave)==null?void 0:Ct.sig)==null?void 0:St.period,1)),1),e.createElementVNode("td",null,[(Bt=(kt=W.meteo)==null?void 0:kt.current)!=null&&Bt.kts?(e.openBlock(),e.createElementBlock("span",Np,[e.createTextVNode(e.toDisplayString((wt=(At=W.meteo)==null?void 0:At.current)==null?void 0:wt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ut=(Tt=W.meteo)==null?void 0:Tt.current)==null?void 0:ut.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Vp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Mt=(Ot=W.meteo)==null?void 0:Ot.current)==null?void 0:Mt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(W.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const rn=Ee(ur,[["render",fp],["__scopeId","data-v-ba499fc2"]]),Soe="",gp={name:"RouteReport",components:{Lng:tn,Lat:on,Editor:Uo},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=O(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,c,l;return(l=(c=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:c.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,c,l;if(n===0)return"-";{const a=O((c=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:c.eta).diff(O((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,m;const n=(m=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:m.hours,o=n[0],c=n[n.length-1];return O(c.eta).diff(O(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Dp={class:"route-report"},bp=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),xp={class:"section"},Cp=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),Sp={class:"section-body basics"},kp={class:"flex-space section-row"},Bp={class:"flex-start"},Ap=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),wp={class:"flex-start"},Tp={class:"flex-start"},up=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),Op={class:"flex-start flex"},Fp={key:0,class:"flex"},Pp={key:1,class:"flex-space flex"},Lp=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Wp={class:"time flex"},Hp={class:"flex-space section-row"},Mp={class:"flex-start"},Gp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),Ip={class:"flex-start"},Rp={class:"flex-start"},zp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),Up={class:"flex-start flex"},Yp={key:0,class:"flex"},Zp={key:1,class:"flex-space"},$p=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Qp={class:"time flex"},Jp={class:"flex-space section-row"},Kp={class:"flex-start"},qp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),jp={class:"flex-start"},Xp={class:"flex-start"},vp=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),eh={class:"flex-start flex"},th={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},oh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),lh={class:"section-body detail"},ah={class:"flex-space",style:{"align-items":"stretch"}},nh={class:"chart"},sh=["src"],ih={key:1,class:"empty flex-center"},ch={class:"route flex",style:{"justify-content":"space-between"}},dh=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),rh={class:"suggestion"},mh=["innerHTML"],ph={class:"flex-start legends"},hh=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),yh={key:0,class:"legend"},Eh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],_h={key:1,class:"legend"},Nh=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],Vh={class:"section"},fh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),gh={class:"section-body comparison"},Dh={class:"container"},bh={key:0},xh=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Ch={class:"section",style:{"page-break-inside":"avoid"}},Sh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),kh={class:"section-body sample"},Bh={class:"major-waypoints"},Ah={class:"container"},wh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),Th={class:"body"},uh={class:"cell-item flexM"},Oh={class:"flex-center"},Fh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Ph={class:"cell-item flexL"},Lh={key:0,class:"flex-center"},Wh={key:1},Hh={class:"cell-item flex"},Mh={key:0,class:"cell-item flex offset"},Gh={key:1,class:"cell-item flex nbsp"},Ih={key:2,class:"cell-item flex offset"},Rh={key:3,class:"cell-item flex nbsp"},zh={key:4,class:"cell-item flex offset"},Uh={key:5,class:"cell-item flex nbsp"},Yh={class:"section"},Zh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),$h={class:"section-body sample"},Qh={key:0},Jh=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Kh={class:"flex-center"},qh=dt(()=>e.createElementVNode("span",null,"/",-1)),jh={key:0,class:"degree-box"},Xh={key:1},vh={key:0,class:"degree-box"},e1={key:1},t1={key:0,class:"degree-box"},o1={key:1},l1={key:0,class:"degree-box"},a1={key:1},n1=dt(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function s1(t,n,o,c,l,a){var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Dp,[bp,e.createElementVNode("div",xp,[Cp,e.createElementVNode("div",Sp,[e.createElementVNode("div",kp,[e.createElementVNode("div",Bp,[Ap,e.createElementVNode("div",wp,e.toDisplayString((h=(f=(D=o.plan)==null?void 0:D.voyage)==null?void 0:f.company)==null?void 0:h.name),1)]),e.createElementVNode("div",Tp,[up,e.createElementVNode("div",Op,[(r=(C=(V=o.plan)==null?void 0:V.leg)==null?void 0:C.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Fp,e.toDisplayString((S=(k=o.plan)==null?void 0:k.leg)==null?void 0:S.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Pp,[e.createVNode(m,{lat:(u=(A=(B=o.plan)==null?void 0:B.leg)==null?void 0:A.departure)==null?void 0:u.lat,label:""},null,8,["lat"]),Lp,e.createVNode(i,{lng:(L=(x=(F=o.plan)==null?void 0:F.leg)==null?void 0:x.departure)==null?void 0:L.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Wp,e.toDisplayString(a.computeUTCTime(((R=(Z=(U=o.plan)==null?void 0:U.leg)==null?void 0:Z.departure)==null?void 0:R.atd)||((I=(g=(P=o.plan)==null?void 0:P.leg)==null?void 0:g.departure)==null?void 0:I.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Hp,[e.createElementVNode("div",Mp,[Gp,e.createElementVNode("div",Ip,e.toDisplayString((M=(H=(G=o.plan)==null?void 0:G.voyage)==null?void 0:H.vessel)==null?void 0:M.name),1)]),e.createElementVNode("div",Rp,[zp,e.createElementVNode("div",Up,[(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.destination)!=null&&K.name?(e.openBlock(),e.createElementBlock("div",Yp,e.toDisplayString((z=(N=o.plan)==null?void 0:N.leg)==null?void 0:z.destination.name),1)):(e.openBlock(),e.createElementBlock("div",Zp,[e.createVNode(m,{lat:(X=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:X.lat,label:""},null,8,["lat"]),$p,e.createVNode(i,{lng:(oe=(v=(d=o.plan)==null?void 0:d.leg)==null?void 0:v.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",Qp,e.toDisplayString(a.computeUTCTime(((ce=(se=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:se[0])==null?void 0:ce.speed.ata)||((re=(de=o.plan)==null?void 0:de.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",Jp,[e.createElementVNode("div",Kp,[qp,e.createElementVNode("div",jp,e.toDisplayString(a.computeUTCTime((_e=o.plan)==null?void 0:_e.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",Xp,[vp,e.createElementVNode("div",eh,[e.createElementVNode("div",null,e.toDisplayString((he=(le=o.plan)==null?void 0:le.voyage)==null?void 0:he.loadCondition),1)])])])])]),e.createElementVNode("div",th,[oh,e.createElementVNode("div",lh,[e.createElementVNode("div",ah,[e.createElementVNode("div",nh,[(Ne=o.plan)!=null&&Ne.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(Ve=o.plan)==null?void 0:Ve.chartUrl},null,8,sh)):(e.openBlock(),e.createElementBlock("div",ih,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...Y)=>a.handleRefresh&&a.handleRefresh(...Y))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",ch,[e.createElementVNode("div",null,[dh,e.createElementVNode("div",rh,[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=Y=>l.advisory=Y),class:"editor",height:"120px",onBlur:n[2]||(n[2]=Y=>a.handleCommit(Y))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...Y)=>a.handleEdit&&a.handleEdit(...Y)),innerHTML:l.advisory},null,40,mh))])]),e.createElementVNode("div",ph,[hh,((ge=(fe=o.plan)==null?void 0:fe.speeds)==null?void 0:ge.length)>1?(e.openBlock(),e.createElementBlock("div",yh,Eh)):e.createCommentVNode("",!0),((be=(De=o.plan)==null?void 0:De.speeds)==null?void 0:be.length)>2?(e.openBlock(),e.createElementBlock("div",_h,Nh)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[(Ce=(xe=o.plan)==null?void 0:xe.speeds)!=null&&Ce.length?(e.openBlock(),e.createElementBlock("table",bh,[xh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Se=o.plan)==null?void 0:Se.speeds,(Y,we)=>{var Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et;return e.openBlock(),e.createElementBlock("tr",{key:we},[e.createElementVNode("td",null,"Route "+e.toDisplayString(we+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=Y.speed)==null?void 0:Me.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${(($e=Y.speed)==null?void 0:$e.label)??"CP"} ${((Qe=Y.speed)==null?void 0:Qe.v0)??((Ke=(Je=Y.speed)==null?void 0:Je.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((_=(qe=Y.speed)==null?void 0:qe.cpCopy)==null?void 0:_.fo)+" FO / "+e.toDisplayString((Te=(q=Y.speed)==null?void 0:q.cpCopy)==null?void 0:Te.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((He=Y.speed)==null?void 0:He.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ge=Y.speed)==null?void 0:Ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((pe=Y.speed)==null?void 0:pe.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((je=Y.speed)==null?void 0:je.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ve=Y.speed)==null?void 0:ve.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((et=Y.speed)==null?void 0:et.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ch,[Sh,e.createElementVNode("div",kh,[e.createElementVNode("div",Bh,[e.createElementVNode("div",Ah,[wh,e.createElementVNode("div",Th,[(Oe=(ue=o.plan)==null?void 0:ue.speeds)!=null&&Oe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((Fe=(me=(W=(ye=o.plan)==null?void 0:ye.speeds[0])==null?void 0:W.speed)==null?void 0:me.sample)==null?void 0:Fe.wps,(Y,we)=>(e.openBlock(),e.createElementBlock("div",{key:we,class:"cell-row"},[e.createElementVNode("div",uh,[e.createElementVNode("div",Oh,[e.createVNode(m,{lat:Y.lat,label:""},null,8,["lat"]),Fh,e.createVNode(i,{lng:Y.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",Ph,[Y.name?(e.openBlock(),e.createElementBlock("span",Lh,e.toDisplayString(Y.name),1)):(e.openBlock(),e.createElementBlock("span",Wh,"-"))]),e.createElementVNode("div",Hh,e.toDisplayString(a.computeUTCTime(Y.eta)),1),we?(e.openBlock(),e.createElementBlock("div",Mh,e.toDisplayString(a.computeNav(Y)),1)):(e.openBlock(),e.createElementBlock("div",Gh)),we?(e.openBlock(),e.createElementBlock("div",Ih,e.toDisplayString(a.roundPrecision(Y.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Rh)),we?(e.openBlock(),e.createElementBlock("div",zh,e.toDisplayString(a.roundPrecision(Y.avgSpd??Y.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Uh))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Yh,[Zh,e.createElementVNode("div",$h,[(Le=(Pe=o.plan)==null?void 0:Pe.speeds)!=null&&Le.length?(e.openBlock(),e.createElementBlock("table",Qh,[Jh,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=(Ye=(We=(ke=o.plan)==null?void 0:ke.speeds[0])==null?void 0:We.speed)==null?void 0:Ye.sample)==null?void 0:Ze.hours,(Y,we)=>{var Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("tr",{key:we,class:e.normalizeClass(Y.isDangerous?"dangerous":Y.isSevere?"severe":Y.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(Y.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Kh,[e.createVNode(m,{lat:Y.lat,label:""},null,8,["lat"]),qh,e.createVNode(i,{lng:Y.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[($e=(Me=Y.meteo)==null?void 0:Me.wind)!=null&&$e.kts?(e.openBlock(),e.createElementBlock("span",jh,e.toDisplayString((Je=(Qe=Y.meteo)==null?void 0:Qe.wind)==null?void 0:Je.direction),1)):(e.openBlock(),e.createElementBlock("span",Xh,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((qe=(Ke=Y.meteo)==null?void 0:Ke.wind)==null?void 0:qe.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Te=(q=(_=Y.meteo)==null?void 0:_.wave)==null?void 0:q.wd)==null?void 0:Te.height,1)),1),e.createElementVNode("td",null,[(pe=(Ge=(He=Y.meteo)==null?void 0:He.wave)==null?void 0:Ge.swell)!=null&&pe.height?(e.openBlock(),e.createElementBlock("span",vh,e.toDisplayString((et=(ve=(je=Y.meteo)==null?void 0:je.wave)==null?void 0:ve.swell)==null?void 0:et.direction),1)):(e.openBlock(),e.createElementBlock("span",e1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((nt=(at=(lt=Y.meteo)==null?void 0:lt.wave)==null?void 0:at.swell)==null?void 0:nt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((yt=(ht=(st=Y.meteo)==null?void 0:st.wave)==null?void 0:ht.swell)==null?void 0:yt.period,1)),1),e.createElementVNode("td",null,[(Nt=(_t=(Et=Y.meteo)==null?void 0:Et.wave)==null?void 0:_t.sig)!=null&&Nt.height?(e.openBlock(),e.createElementBlock("span",t1,e.toDisplayString((gt=(ft=(Vt=Y.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.direction),1)):(e.openBlock(),e.createElementBlock("span",o1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xt=(bt=(Dt=Y.meteo)==null?void 0:Dt.wave)==null?void 0:bt.sig)==null?void 0:xt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((kt=(St=(Ct=Y.meteo)==null?void 0:Ct.wave)==null?void 0:St.sig)==null?void 0:kt.period,1)),1),e.createElementVNode("td",null,[(At=(Bt=Y.meteo)==null?void 0:Bt.current)!=null&&At.kts?(e.openBlock(),e.createElementBlock("span",l1,e.toDisplayString((Tt=(wt=Y.meteo)==null?void 0:wt.current)==null?void 0:Tt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",a1,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ot=(ut=Y.meteo)==null?void 0:ut.current)==null?void 0:Ot.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(Y.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),n1])}const Dn=Ee(gp,[["render",s1],["__scopeId","data-v-afd0f0bf"]]),Toe="",i1={name:"OrmRouteReport",components:{Lng:tn,Lat:on,Editor:Uo,Brand:Eo,Loading:an},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let c=0;return o&&n&&(c=ie.LngLatHelper.guessTimeZoneOffset(n,o)),`${O(t).utcOffset(c).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,c,l,a,m;if(n===0)return"-";{const i=O((l=(c=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:c.speed)==null?void 0:l.eta).diff(O((m=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:m.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,m,i,p;const o=(p=(i=(m=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:m.speed)==null?void 0:i.sample)==null?void 0:p.hours,c=o[0],l=o[o.length-1];return Math.round(O(l.eta).diff(O(c.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var p,D,f,h,V,C,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},c={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((k,S)=>{c[k]=Math.PI/8*S});const a=18;let m=4;(C=(V=(h=(f=(D=(p=this.plan)==null?void 0:p.speeds)==null?void 0:D[this.speedIndex])==null?void 0:f.speed)==null?void 0:h.sample)==null?void 0:V.hours)==null||C.forEach(k=>{var B,A,u,F,x,L,U,Z,R,P;const S=k.meteo;if(S){const g=O(S.utc).utc().format("MMM-DD/HHmm[Z]");t.push(g),m=Math.ceil(((A=(B=S.wave)==null?void 0:B.sig)==null?void 0:A.height)>m?(F=(u=S.wave)==null?void 0:u.sig)==null?void 0:F.height:m),n.push([g,(x=S.wind)==null?void 0:x.kts,(U=(L=S.wave)==null?void 0:L.sig)==null?void 0:U.height,(Z=S.wind)==null?void 0:Z.direction,(R=S.wind)==null?void 0:R.degree,(P=S.wind)==null?void 0:P.scale,k.cFactor,k.wFactor,k.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:m,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(k,S)=>{const B=S.coord([S.value(o.dateTime),S.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:c[S.value(o.windDirection)],position:B,style:S.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},rt=t=>(e.pushScopeId("data-v-6a564b84"),t=t(),e.popScopeId(),t),c1={class:"voyage-plan"},d1={class:"plan-report"},r1={class:"section voyage-section flex-space"},m1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},p1={class:"flex-start label-block",style:{width:"100%"}},h1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),y1={style:{"text-transform":"uppercase"},class:"text-ellipsis"},E1={class:"flex-start label-block",style:{width:"100%"}},_1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),N1={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},V1={class:"flex-start label-block",style:{width:"100%"}},f1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),g1={class:"flex-end"},D1={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},b1={class:"flex-start label-block",style:{width:"100%"}},x1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),C1={key:0,class:"flex-end",style:{flex:"1"}},S1={key:1,class:"flex-end",style:{flex:"1"}},k1=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),B1={class:"flex-end",style:{width:"120px"}},A1={class:"flex-space label-block",style:{width:"100%"}},w1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),T1={key:0,class:"flex-end",style:{flex:"1"}},u1={key:1,class:"flex-end",style:{flex:"1"}},O1=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),F1={class:"flex-end",style:{width:"120px"}},P1={class:"flex-space label-block",style:{width:"100%"}},L1=rt(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),W1={class:"flex-end",style:{"text-transform":"uppercase"}},H1={class:"section chart-section"},M1=rt(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),G1={class:"flex-center"},I1=["src"],R1={class:"legends"},z1=e.createStaticVNode('<div class="legend" data-v-6a564b84><label style="background-color:var(--idm-dangerous);" data-v-6a564b84></label><span data-v-6a564b84>Dangerous</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-severe);" data-v-6a564b84></label><span data-v-6a564b84>Severe</span></div><div class="legend" data-v-6a564b84><label style="background-color:var(--idm-heavy);" data-v-6a564b84></label><span data-v-6a564b84>Heavy</span></div>',3),U1={class:"legend"},Y1=rt(()=>e.createElementVNode("b",{class:"route1"},null,-1)),Z1={key:0,class:"legend"},$1=rt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),Q1={key:1,class:"legend"},J1=rt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),K1={key:1,class:"empty"},q1={class:"section comparison-section"},j1={key:0},X1=rt(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"DTG (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),v1=rt(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),ey=rt(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),ty=rt(()=>e.createElementVNode("th",null,"*FO",-1)),oy=rt(()=>e.createElementVNode("th",null,"*DO",-1)),ly={colspan:"3"},ay={rowspan:"2"},ny={rowspan:"2"},sy={rowspan:"2"},iy={rowspan:"2"},cy={rowspan:"2"},dy={rowspan:"2"},ry={rowspan:"2"},my={rowspan:"2"},py={rowspan:"2"},hy=rt(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),yy={class:"section waypoint-section"},Ey={class:"header-block flex-start"},_y=rt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ny={class:"title"},Vy={key:0,class:"flex-end",style:{flex:"1"}},fy=["onClick"],gy={class:"advisory"},Dy=["innerHTML"],by={class:"major-waypoint"},xy=e.createStaticVNode('<div class="major-header" data-v-6a564b84><div class="cell-item flex" style="flex:1.5;" data-v-6a564b84>Major waypoint</div><div class="cell-item flex" data-v-6a564b84>Time</div><div class="cell-item flex" data-v-6a564b84>Nav</div><div class="cell-item flex" data-v-6a564b84>Dist</div><div class="cell-item flex" data-v-6a564b84>SOG</div><div class="cell-item flex" data-v-6a564b84>Memo</div></div>',1),Cy={class:"major-body"},Sy={class:"cell-item flex",style:{flex:"1.5"}},ky={key:0,class:"flex-center"},By={key:1,class:"flex-center"},Ay=rt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),wy={key:0},Ty={class:"cell-item flex"},uy={key:0,class:"cell-item flex offset"},Oy={key:1,class:"cell-item flex nbsp"},Fy={key:2,class:"cell-item flex offset"},Py={key:3,class:"cell-item flex nbsp"},Ly={key:4,class:"cell-item flex offset"},Wy={key:5,class:"cell-item flex nbsp"},Hy={key:6,class:"cell-item flex offset"},My={key:7,class:"cell-item flex nbsp"},Gy={class:"section forecast-section"},Iy={class:"header-block flex-start"},Ry=rt(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),zy={class:"title"},Uy={key:0,class:"flex-end",style:{flex:"1"}},Yy=["onClick"],Zy={class:"echart-block"},$y={ref:"echart",class:"echart"},Qy=rt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),Jy={class:"flex-center"},Ky=rt(()=>e.createElementVNode("span",null,"/",-1)),qy={key:0,class:"degree-box"},jy={key:1},Xy={key:0,class:"degree-box"},vy={key:1},eE={key:0,class:"degree-box"},tE={key:1},oE={key:0,class:"degree-box"},lE={key:1},aE=rt(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function nE(t,n,o,c,l,a){var h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Lat"),D=e.resolveComponent("Lng"),f=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",c1,[e.createElementVNode("div",d1,[e.createVNode(m,{name:"Voyage Planning",issued:(h=o.plan)==null?void 0:h.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=$=>l.loading=!1)},null,8,["loading"]),e.createElementVNode("div",r1,[e.createElementVNode("div",m1,[e.createElementVNode("div",p1,[h1,e.createElementVNode("span",y1,e.toDisplayString((r=(C=(V=o.plan)==null?void 0:V.voyage)==null?void 0:C.company)==null?void 0:r.name),1)]),e.createElementVNode("div",E1,[_1,e.createElementVNode("span",N1,e.toDisplayString((B=(S=(k=o.plan)==null?void 0:k.voyage)==null?void 0:S.vessel)==null?void 0:B.name)+" ("+e.toDisplayString((x=(F=(u=(A=o.plan)==null?void 0:A.voyage)==null?void 0:u.vessel)==null?void 0:F.vesselType)==null?void 0:x.name)+")",1)]),e.createElementVNode("div",V1,[f1,e.createElementVNode("span",g1,e.toDisplayString((U=(L=o.plan)==null?void 0:L.voyage)==null?void 0:U.number),1)])]),e.createElementVNode("div",D1,[e.createElementVNode("div",b1,[x1,(P=(R=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:R.departure)!=null&&P.name?(e.openBlock(),e.createElementBlock("span",C1,e.toDisplayString((I=(g=o.plan)==null?void 0:g.leg)==null?void 0:I.departure.name),1)):(e.openBlock(),e.createElementBlock("div",S1,[e.createVNode(p,{lat:(M=(H=(G=o.plan)==null?void 0:G.leg)==null?void 0:H.departure)==null?void 0:M.lat,label:""},null,8,["lat"]),k1,e.createVNode(D,{lng:(K=(j=(Q=o.plan)==null?void 0:Q.leg)==null?void 0:j.departure)==null?void 0:K.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",B1,e.toDisplayString(a.computeUTCTime(((J=(z=(N=o.plan)==null?void 0:N.leg)==null?void 0:z.departure)==null?void 0:J.atd)||((d=(X=(s=o.plan)==null?void 0:s.leg)==null?void 0:X.departure)==null?void 0:d.etd)||((se=(ee=(oe=(v=o.plan)==null?void 0:v.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:ee.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",A1,[w1,(re=(de=(ce=o.plan)==null?void 0:ce.leg)==null?void 0:de.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",T1,e.toDisplayString((he=(le=(_e=o.plan)==null?void 0:_e.leg)==null?void 0:le.destination)==null?void 0:he.name),1)):(e.openBlock(),e.createElementBlock("div",u1,[e.createVNode(p,{lat:(fe=(Ve=(Ne=o.plan)==null?void 0:Ne.leg)==null?void 0:Ve.destination)==null?void 0:fe.lat,label:""},null,8,["lat"]),O1,e.createVNode(D,{lng:(be=(De=(ge=o.plan)==null?void 0:ge.leg)==null?void 0:De.destination)==null?void 0:be.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",F1,e.toDisplayString(a.computeUTCTime(((ue=(Se=(Ce=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:Ce[l.speedIndex])==null?void 0:Se.speed)==null?void 0:ue.ata)||((me=(W=(ye=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ye[l.speedIndex])==null?void 0:W.speed)==null?void 0:me.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",P1,[L1,e.createElementVNode("span",W1,e.toDisplayString((Pe=(Fe=o.plan)==null?void 0:Fe.voyage)==null?void 0:Pe.loadCondition),1)])])]),e.createElementVNode("div",H1,[M1,(Le=o.plan)!=null&&Le.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",G1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,I1)]),e.createElementVNode("div",R1,[z1,e.createElementVNode("div",U1,[Y1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=$=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((Y=(Ze=(Ye=(We=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:We[0])==null?void 0:Ye.speed)==null?void 0:Ze.lane)==null?void 0:Y.name),1)]),((Me=(we=o.plan)==null?void 0:we.speeds)==null?void 0:Me.length)>1?(e.openBlock(),e.createElementBlock("div",Z1,[$1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=$=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((qe=(Ke=(Je=(Qe=($e=o.plan)==null?void 0:$e.speeds)==null?void 0:Qe[1])==null?void 0:Je.speed)==null?void 0:Ke.lane)==null?void 0:qe.name),1)])):e.createCommentVNode("",!0),((q=(_=o.plan)==null?void 0:_.speeds)==null?void 0:q.length)>2?(e.openBlock(),e.createElementBlock("div",Q1,[J1,e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=$=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((je=(pe=(Ge=(He=(Te=o.plan)==null?void 0:Te.speeds)==null?void 0:He[2])==null?void 0:Ge.speed)==null?void 0:pe.lane)==null?void 0:je.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",K1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[4]||(n[4]=(...$)=>a.handleRefresh&&a.handleRefresh(...$))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",q1,[(et=(ve=o.plan)==null?void 0:ve.speeds)!=null&&et.length?(e.openBlock(),e.createElementBlock("table",j1,[e.createElementVNode("thead",null,[X1,e.createElementVNode("tr",null,[v1,ey,ty,oy,e.createElementVNode("th",ly,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((lt=o.plan)==null?void 0:lt.speeds,($,ot)=>{var Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ot},[e.createElementVNode("tr",null,[e.createElementVNode("td",ay,e.toDisplayString(ot+1),1),e.createElementVNode("td",ny,e.toDisplayString((Pt=(Ft=$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Gt=$.speed)==null?void 0:Gt.label)??"CP"} ${((It=$.speed)==null?void 0:It.v0)??((zt=(Rt=$.speed)==null?void 0:Rt.cpCopy)==null?void 0:zt.speed)}`),1),e.createElementVNode("td",sy,e.toDisplayString(a.roundPrecision((Ut=$.speed)==null?void 0:Ut.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Yt=$.speed)==null?void 0:Yt.eta,(Qt=($t=(Zt=o.plan)==null?void 0:Zt.leg)==null?void 0:$t.destination)==null?void 0:Qt.lng,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((jt=$.speed)==null?void 0:jt.eta))+"]",1)]),e.createElementVNode("td",iy,e.toDisplayString(a.computeTimeDiff(o.plan,ot)),1),e.createElementVNode("td",cy,e.toDisplayString(a.roundPrecision((Xt=$.speed)==null?void 0:Xt.totalFoCons,3)),1),e.createElementVNode("td",dy,e.toDisplayString(a.roundPrecision((vt=$.speed)==null?void 0:vt.totalDgoCons,3)),1),e.createElementVNode("td",ry,e.toDisplayString(a.roundPrecision(((eo=$.speed)==null?void 0:eo.dangerous)/24,1)),1),e.createElementVNode("td",my,e.toDisplayString(a.roundPrecision(((to=$.speed)==null?void 0:to.severe)/24,1)),1),e.createElementVNode("td",py,e.toDisplayString(a.roundPrecision(((oo=$.speed)==null?void 0:oo.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((ao=(lo=$.speed)==null?void 0:lo.cpCopy)==null?void 0:ao.fo)+" FO / "+e.toDisplayString((so=(no=$.speed)==null?void 0:no.cpCopy)==null?void 0:so.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=$.speed)==null?void 0:io.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((co=$.speed)==null?void 0:co.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((ro=$.speed)==null?void 0:ro.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),hy]),e.createElementVNode("div",yy,[e.createElementVNode("div",Ey,[_y,e.createElementVNode("div",Ny,"Advisory & Major Waypoint of Route "+e.toDisplayString((ht=(st=(nt=(at=o.plan.speeds)==null?void 0:at[l.speedIndex])==null?void 0:nt.speed)==null?void 0:st.lane)==null?void 0:ht.name),1),((Et=(yt=o.plan)==null?void 0:yt.speeds)==null?void 0:Et.length)>1?(e.openBlock(),e.createElementBlock("div",Vy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_t=o.plan)==null?void 0:_t.speeds,($,ot)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Gt=>(l.speedIndex=ot,a.renderEchart())},e.toDisplayString((Pt=(Ft=$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,fy)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",gy,[l.editable?(e.openBlock(),e.createBlock(f,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[5]||(n[5]=$=>l.advisory=$),class:"editor",height:"120px",onBlur:n[6]||(n[6]=$=>a.handleCommit($))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[7]||(n[7]=(...$)=>a.handleEdit&&a.handleEdit(...$)),innerHTML:l.advisory},null,40,Dy))]),e.createElementVNode("div",by,[xy,e.createElementVNode("div",Cy,[(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)!=null&&Vt.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((xt=(bt=(Dt=(gt=(ft=o.plan)==null?void 0:ft.speeds)==null?void 0:gt[l.speedIndex])==null?void 0:Dt.speed)==null?void 0:bt.sample)==null?void 0:xt.wps),($,ot)=>(e.openBlock(),e.createElementBlock("div",{key:ot,class:"cell-row"},[e.createElementVNode("div",Sy,[$.isResume?(e.openBlock(),e.createElementBlock("div",ky,"Resume")):(e.openBlock(),e.createElementBlock("div",By,[e.createVNode(p,{lat:$.lat,label:""},null,8,["lat"]),Ay,e.createVNode(D,{lng:$.lng,label:""},null,8,["lng"]),$.pilot?(e.openBlock(),e.createElementBlock("span",wy," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",Ty,e.toDisplayString(a.computeUTCTime($.eta)),1),ot?(e.openBlock(),e.createElementBlock("div",uy,e.toDisplayString(a.computeNav($)),1)):(e.openBlock(),e.createElementBlock("div",Oy)),ot?(e.openBlock(),e.createElementBlock("div",Fy,e.toDisplayString(a.roundPrecision($.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",Py)),ot?(e.openBlock(),e.createElementBlock("div",Ly,e.toDisplayString(a.roundPrecision($.avgSpd??$.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",Wy)),ot?(e.openBlock(),e.createElementBlock("div",Hy,e.toDisplayString(a.computeMemo($)),1)):(e.openBlock(),e.createElementBlock("div",My))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Gy,[(St=(Ct=o.plan)==null?void 0:Ct.speeds)!=null&&St.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Iy,[Ry,e.createElementVNode("div",zy,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Tt=(wt=(At=(Bt=(kt=o.plan)==null?void 0:kt.speeds)==null?void 0:Bt[l.speedIndex])==null?void 0:At.speed)==null?void 0:wt.lane)==null?void 0:Tt.name),1),((Ot=(ut=o.plan)==null?void 0:ut.speeds)==null?void 0:Ot.length)>1?(e.openBlock(),e.createElementBlock("div",Uy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Mt=o.plan)==null?void 0:Mt.speeds,($,ot)=>{var Ft,Pt;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Gt=>(l.speedIndex=ot,a.renderEchart())},e.toDisplayString((Pt=(Ft=$==null?void 0:$.speed)==null?void 0:Ft.lane)==null?void 0:Pt.name),9,Yy)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Zy,[e.createElementVNode("div",$y,null,512)]),e.createElementVNode("table",null,[Qy,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((go=(fo=(Vo=(No=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:No[l.speedIndex])==null?void 0:Vo.speed)==null?void 0:fo.sample)==null?void 0:go.hours,($,ot)=>{var Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo;return e.openBlock(),e.createElementBlock("tr",{key:ot,class:e.normalizeClass($.isDangerous?"dangerous":$.isSevere?"severe":$.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime($.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",Jy,[e.createVNode(p,{lat:$.lat,label:""},null,8,["lat"]),Ky,e.createVNode(D,{lng:$.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Pt=(Ft=$.meteo)==null?void 0:Ft.wind)!=null&&Pt.kts?(e.openBlock(),e.createElementBlock("span",qy,[e.createTextVNode(e.toDisplayString((It=(Gt=$.meteo)==null?void 0:Gt.wind)==null?void 0:It.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((zt=(Rt=$.meteo)==null?void 0:Rt.wind)==null?void 0:zt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",jy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Yt=(Ut=$.meteo)==null?void 0:Ut.wind)==null?void 0:Yt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=($t=(Zt=$.meteo)==null?void 0:Zt.wave)==null?void 0:$t.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(qt=(Kt=(Jt=$.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",Xy,[e.createTextVNode(e.toDisplayString((vt=(Xt=(jt=$.meteo)==null?void 0:jt.wave)==null?void 0:Xt.swell)==null?void 0:vt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((oo=(to=(eo=$.meteo)==null?void 0:eo.wave)==null?void 0:to.swell)==null?void 0:oo.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",vy,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((no=(ao=(lo=$.meteo)==null?void 0:lo.wave)==null?void 0:ao.swell)==null?void 0:no.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((co=(io=(so=$.meteo)==null?void 0:so.wave)==null?void 0:io.swell)==null?void 0:co.period,1)),1),e.createElementVNode("td",null,[(bo=(Do=(ro=$.meteo)==null?void 0:ro.wave)==null?void 0:Do.sig)!=null&&bo.height?(e.openBlock(),e.createElementBlock("span",eE,[e.createTextVNode(e.toDisplayString((So=(Co=(xo=$.meteo)==null?void 0:xo.wave)==null?void 0:Co.sig)==null?void 0:So.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ao=(Bo=(ko=$.meteo)==null?void 0:ko.wave)==null?void 0:Bo.sig)==null?void 0:Ao.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",tE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((uo=(To=(wo=$.meteo)==null?void 0:wo.wave)==null?void 0:To.sig)==null?void 0:uo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Po=(Fo=(Oo=$.meteo)==null?void 0:Oo.wave)==null?void 0:Fo.sig)==null?void 0:Po.period,1)),1),e.createElementVNode("td",null,[(Wo=(Lo=$.meteo)==null?void 0:Lo.current)!=null&&Wo.kts?(e.openBlock(),e.createElementBlock("span",oE,[e.createTextVNode(e.toDisplayString((Mo=(Ho=$.meteo)==null?void 0:Ho.current)==null?void 0:Mo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Io=(Go=$.meteo)==null?void 0:Go.current)==null?void 0:Io.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",lE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((zo=(Ro=$.meteo)==null?void 0:Ro.current)==null?void 0:zo.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision($.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),aE])])])}const bn=Ee(i1,[["render",nE],["__scopeId","data-v-6a564b84"]]),sE={install(t){t.component("RouteReport",rn),t.component("OpiPlanReport",rn),t.component("FliPlanReport",Dn),t.component("OrmPlanReport",bn)}},iE={install(t){t.component("IdmEditor",Uo)}},cE={install(t){t.component("IdmLat",on)}},dE={install(t){t.component("IdmLng",tn)}},rE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},mE={class:"logo"},pE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},hE=["fill","fill-opacity"],yE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
2
2
  -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
3
3
  -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
4
4
  -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
@@ -38,9 +38,9 @@
38
38
  39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
39
39
  7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
40
40
  17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
41
- -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function nE(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",tE,[(e.openBlock(),e.createElementBlock("svg",oE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},aE,8,lE)]))])}const xn=Ee(eE,[["render",nE]]),sE={install(t){t.component("PiLogo",xn)}},poe="",hoe="",iE={components:{Editor:Uo,IdmBrand:en},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk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5zu8ndtupNy7Z2q31+g37vD2wmr33W63d/veLtN9du3HQ/2zePyWwv0UadvHPP1m95uVX0k0FH5yC1H5Tc0/brZzcF+7eYjbjepflXXjUfkV6yyAv2y2Q3+PuzterPDVr+k6Rev0/eh6w7Jh77u7xe8fc3t59MdVH31oPzcjwlo0AQ0+AMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0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><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(m=>{let i={time:O(m.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(m.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:m.duration,distance:m.distance,fo:m.foCons,dgo:m.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(m=>{a.push(this.computedSeg(m))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(m=>m.type!=="A"&&m.goodWx))})}}},b=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),cE=["src"],dE={class:"voyage-main"},rE={class:"main",style:{"page-break-after":"always"}},mE={class:"main-title",style:{position:"relative !important"}},pE=["src"],hE={class:"main-title-content"},yE=b(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),EE={class:"title-date"},_E={class:"main-subtitle"},NE={class:"white"},VE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),fE={class:"subtitle-main"},gE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),DE={class:"subtitle-main"},bE={class:"main-box"},xE={class:"main-table"},CE=b(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),SE={class:"bold"},kE=b(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),AE={class:"bold"},BE=b(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),wE={class:"bold"},TE=b(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),uE={class:"bold"},OE={style:{display:"inline-block",width:"50%"}},FE=b(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),PE={class:"bold"},LE={style:{display:"inline-block",width:"50%"}},WE=b(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),HE={class:"tips",style:{display:"flex"}},ME={style:{color:"var(--table-note-color)"}},GE={class:"summary-table",style:{"margin-top":"5px"}},IE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),RE={style:{width:"15%"}},zE={key:1},UE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),YE={key:1},ZE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),$E={key:1},QE=b(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),JE=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),KE={class:"weather-definition"},qE={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},jE=b(()=>e.createElementVNode("div",null,"Exclusion",-1)),XE=b(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),vE={class:"remark-table"},e_=b(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),t_=["innerHTML"],o_={class:"analysis page-title"},l_={class:"analysis-title"},a_={class:"analysis-title-detail"},n_=b(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),s_={class:"page-avoid"},i_={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},c_=b(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),d_=b(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),r_=b(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),m_=b(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),p_=b(()=>e.createElementVNode("tr",null,null,-1)),h_={class:"title"},y_={class:"title"},E_={class:"title"},__={class:"title"},N_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),V_={class:"page-avoid",style:{"margin-bottom":"15px"}},f_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},g_=b(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),D_=b(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),b_=b(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),x_={class:"inGoodWx"},C_={class:"inGoodWx"},S_=b(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),k_={class:"inGoodWx"},A_={class:"inGoodWx"},B_=b(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),w_={class:"inGoodWx"},T_={class:"inGoodWx"},u_=b(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),O_={class:"inGoodWx"},F_={class:"inGoodWx"},P_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),L_={class:"inGoodWx"},W_={class:"inGoodWx"},H_=b(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),M_={class:"inGoodWx"},G_={class:"inGoodWx"},I_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),R_={class:"inGoodWx"},z_={class:"inGoodWx"},U_={key:0,class:"analysis-tips"},Y_={key:1,class:"analysis-definition"},Z_={key:2,class:"analysis-definition"},$_=b(()=>e.createElementVNode("br",null,null,-1)),Q_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},J_=b(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),K_=b(()=>e.createElementVNode("span",null,"= ",-1)),q_={key:0},j_={key:1},X_={key:2},v_={key:3},eN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},tN=b(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),oN=b(()=>e.createElementVNode("span",null,"=",-1)),lN={key:0},aN={key:1},nN=b(()=>e.createElementVNode("span",null,"-",-1)),sN=b(()=>e.createElementVNode("span",null,"=",-1)),iN={key:0},cN={key:1},dN={key:6,class:"tr-tips tips-color"},rN={class:"formula page-title"},mN={class:"page-avoid"},pN={class:"subtitle",style:{"margin-top":"0"}},hN={key:0},yN={class:"definition"},EN=b(()=>e.createElementVNode("br",null,null,-1)),_N=b(()=>e.createElementVNode("br",null,null,-1)),NN=b(()=>e.createElementVNode("br",null,null,-1)),VN={class:"equation"},fN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),gN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),DN={style:{width:"50%"},class:"fraction"},bN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xN=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),CN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),SN={class:"equation"},kN={style:{width:"35%"}},AN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),BN={style:{width:"50%"},class:"fraction"},wN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),uN={class:"equation"},ON={style:{width:"35%"}},FN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PN={style:{width:"50%"},class:"fraction"},LN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),HN=b(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),MN={class:"page-avoid"},GN={key:0,class:"definition",style:{margin:"15px 0"}},IN={class:"equation"},RN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),zN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),UN={style:{width:"35%"},class:"fraction"},YN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$N={style:{width:"10%","text-align":"center"}},QN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),JN={class:"equation"},KN={style:{width:"35%"}},qN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"35%"},class:"fraction"},XN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),eV={style:{width:"10%","text-align":"center"}},tV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),oV={class:"equation"},lV={style:{width:"35%"}},aV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nV={style:{width:"35%"},class:"fraction"},sV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cV={style:{width:"10%","text-align":"center"}},dV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),rV=b(()=>e.createElementVNode("span",null,"=",-1)),mV=b(()=>e.createElementVNode("span",null,"=",-1)),pV=b(()=>e.createElementVNode("span",null,"=",-1)),hV=["innerHTML"],yV={class:"page-avoid"},EV={class:"subtitle page-title"},_V={key:0},NV={class:"definition",style:{"margin-bottom":"15px"}},VV=b(()=>e.createElementVNode("br",null,null,-1)),fV=b(()=>e.createElementVNode("br",null,null,-1)),gV=b(()=>e.createElementVNode("br",null,null,-1)),DV={class:"equation"},bV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),xV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CV={style:{width:"25%"},class:"fraction"},SV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kV=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),AV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),BV=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),wV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),TV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},uV=b(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),OV={key:0},FV={class:"equation"},PV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),LV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),WV={style:{width:"25%"},class:"fraction"},HV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),MV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),GV=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),IV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),RV={class:"equation"},zV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),UV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YV={style:{width:"25%"},class:"fraction"},ZV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$V=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),QV=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),JV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),KV=b(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),qV={key:0,class:"equation"},jV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),XV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vV={style:{width:"45%"},class:"fraction"},ef=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),tf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of={key:1,class:"equation"},lf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),af=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nf={style:{width:"45%"},class:"fraction"},sf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),cf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),df={class:"page-avoid"},rf=b(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),mf={key:0,class:"definition",style:{margin:"15px 0"}},pf={class:"equation"},hf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),yf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ef={style:{width:"20%"},class:"fraction"},_f=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Vf={style:{width:"20%"},class:"fraction"},ff=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Df={style:{width:"10%","text-align":"center"}},bf=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),xf={class:"equation"},Cf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Sf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kf={style:{width:"20%"},class:"fraction"},Af=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),wf={style:{width:"20%"},class:"fraction"},Tf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uf=b(()=>e.createElementVNode("div",null,"24",-1)),Of=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Ff={style:{width:"10%","text-align":"center"}},Pf=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Lf={class:"equation"},Wf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Hf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Mf={style:{width:"20%"},class:"fraction"},Gf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),If=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Rf={style:{width:"20%"},class:"fraction"},zf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Uf=b(()=>e.createElementVNode("div",null,"24",-1)),Yf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Zf={style:{width:"10%","text-align":"center"}},$f=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),Qf=b(()=>e.createElementVNode("span",null,"=",-1)),Jf=b(()=>e.createElementVNode("span",null,"=",-1)),Kf=b(()=>e.createElementVNode("span",null,"=",-1)),qf={key:0},jf={key:0,class:"equation"},Xf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),vf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e0={style:{width:"45%"},class:"fraction"},t0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),l0={style:{width:"10%","text-align":"center"}},a0={key:1,class:"equation"},n0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),s0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),i0={style:{width:"45%"},class:"fraction"},c0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"10%","text-align":"center"}},m0=["innerHTML"],p0={class:"page-avoid"},h0={key:0},y0=b(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),E0={key:0,class:"definition",style:{margin:"15px 0"}},_0={class:"equation"},N0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),V0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),f0={style:{width:"20%"},class:"fraction"},g0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),D0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),b0={style:{width:"20%"},class:"fraction"},x0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),C0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),S0={style:{width:"10%","text-align":"center"}},k0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),A0={class:"equation"},B0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),w0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),T0={style:{width:"20%"},class:"fraction"},u0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),F0={style:{width:"20%"},class:"fraction"},P0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L0=b(()=>e.createElementVNode("div",null,"24",-1)),W0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),H0={style:{width:"10%","text-align":"center"}},M0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),G0={class:"equation"},I0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),R0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),z0={style:{width:"20%"},class:"fraction"},U0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Y0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Z0={style:{width:"20%"},class:"fraction"},$0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Q0=b(()=>e.createElementVNode("div",null,"24",-1)),J0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),K0={style:{width:"10%","text-align":"center"}},q0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),j0=b(()=>e.createElementVNode("span",null,"=",-1)),X0=b(()=>e.createElementVNode("span",null,"=",-1)),v0=b(()=>e.createElementVNode("span",null,"=",-1)),eg=["innerHTML"];function tg(t,n,o,c,l,a){var p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(m,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,cE),e.createElementVNode("div",dE,[e.createElementVNode("div",rE,[e.createElementVNode("div",mE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,pE),e.createElementVNode("div",hE,[yE,e.createElementVNode("div",EE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",_E,[e.createElementVNode("table",NE,[e.createElementVNode("tr",null,[VE,e.createElementVNode("td",fE,"    "+e.toDisplayString((V=o.reportData)==null?void 0:V.preparedFor),1)]),e.createElementVNode("tr",null,[gE,e.createElementVNode("td",DE,"    "+e.toDisplayString((d=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:d.name),1)])])]),e.createElementVNode("div",bE,[e.createElementVNode("table",xE,[e.createElementVNode("tr",null,[CE,e.createElementVNode("td",SE,e.toDisplayString((k=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[kE,e.createElementVNode("td",AE,e.toDisplayString((B=(A=o.reportData)==null?void 0:A.voyage)==null?void 0:B.loadCondition),1)]),e.createElementVNode("tr",null,[BE,e.createElementVNode("td",wE,e.toDisplayString((F=(u=o.reportData)==null?void 0:u.voyage)==null?void 0:F.number),1)]),e.createElementVNode("tr",null,[TE,e.createElementVNode("td",uE,[e.createElementVNode("span",OE,e.toDisplayString(((L=(x=o.reportData)==null?void 0:x.departure)==null?void 0:L.portName)||a.computedLngLat((Z=(U=o.reportData)==null?void 0:U.departure)==null?void 0:Z.lat,(P=(R=o.reportData)==null?void 0:R.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(g=o.reportData)==null?void 0:g.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[FE,e.createElementVNode("td",PE,[e.createElementVNode("span",LE,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((Q=(M=o.reportData)==null?void 0:M.arrival)==null?void 0:Q.lat,(K=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:z.utcTime,"table")),1)])])])]),WE,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(r,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",HE,[e.createElementVNode("div",ME,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",GE,[e.createElementVNode("tr",null,[IE,e.createElementVNode("td",RE,e.toDisplayString(r.allWx.time)+" hrs",1),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(r.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",zE,e.toDisplayString(l.noGoodWxDay),1)),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(r.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[UE,e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons)+" mt",1),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(r.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(r.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",YE,e.toDisplayString(l.noGoodWxDay),1)),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(r.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(r.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons)+" mt",1),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(r.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(r.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",$E,e.toDisplayString(l.noGoodWxDay),1)),r.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(r.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(r.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),QE]))),128)),JE,e.createElementVNode("div",KE,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",qE,[jE,e.createElementVNode("div",null,[XE,e.createElementVNode("table",vE,[e_,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(r,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(r.time),1),e.createElementVNode("td",null,e.toDisplayString(r.duration),1),e.createElementVNode("td",null,e.toDisplayString(r.distance),1),e.createElementVNode("td",null,e.toDisplayString(r.fo),1),e.createElementVNode("td",null,e.toDisplayString(r.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=r=>l.advisory=r),height:"320px",onBlur:n[1]||(n[1]=r=>a.handleCommit(r))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...r)=>a.decideDisable&&a.decideDisable(...r)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,t_))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(r,v)=>{var oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",o_,[e.createElementVNode("div",l_,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",a_,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Mt,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Mt),1))),128))]),n_,e.createElementVNode("div",s_,[e.createElementVNode("table",i_,[e.createElementVNode("tr",null,[c_,e.createElementVNode("td",null,e.toDisplayString(r.extend.cp.type),1),d_,e.createElementVNode("td",null,e.toDisplayString(r.extend.cp.fo),1)]),e.createElementVNode("tr",null,[r_,e.createElementVNode("td",null,e.toDisplayString(r.extend.cp.speed),1),m_,e.createElementVNode("td",null,e.toDisplayString(r.extend.cp.dgo),1)]),p_,e.createElementVNode("tr",null,[e.createElementVNode("td",h_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(r.timeConclusion.spdOfOver),1),e.createElementVNode("td",y_,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",r.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(r.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",E_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(r.timeConclusion.spdOfUnder),1),e.createElementVNode("td",__,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",r.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(r.fuelConclusion.consOfUnder),1)])])]),N_,e.createElementVNode("div",V_,[e.createElementVNode("table",f_,[g_,D_,e.createElementVNode("tr",null,[b_,e.createElementVNode("td",x_,e.toDisplayString(r.goodWx.outEca.distance),1),e.createElementVNode("td",C_,e.toDisplayString(r.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[S_,e.createElementVNode("td",k_,e.toDisplayString(r.goodWx.outEca.time),1),e.createElementVNode("td",A_,e.toDisplayString(r.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[B_,e.createElementVNode("td",w_,e.toDisplayString(r.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",T_,e.toDisplayString(r.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[u_,e.createElementVNode("td",O_,e.toDisplayString(r.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",F_,e.toDisplayString(r.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[P_,e.createElementVNode("td",L_,e.toDisplayString(r.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",W_,e.toDisplayString(r.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[H_,e.createElementVNode("td",M_,e.toDisplayString(r.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",G_,e.toDisplayString(r.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[I_,e.createElementVNode("td",R_,e.toDisplayString(r.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",z_,e.toDisplayString(r.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",U_," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Y_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(se=o.reportData)==null?void 0:se.weather)!=null&&ce.favorableCur&&r.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",Z_,[e.createTextVNode(" No Charter Party defined good weather was found. "),$_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(de=o.reportData)==null?void 0:de.weather)!=null&&re.favorableCur&&r.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Q_,[J_,K_,(le=(_e=o.reportData)==null?void 0:_e.weather)!=null&&le.favorableCur&&r.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",q_,e.toDisplayString(r.goodWx.avgSpd),1)),(Ne=(he=o.reportData)==null?void 0:he.weather)!=null&&Ne.favorableCur&&r.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",j_,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&r.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",X_,e.toDisplayString(`${a.computedPositive(r.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&r.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",v_,"=")),e.createElementVNode("span",null,e.toDisplayString(r.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",eN,[tN,oN,e.createElementVNode("span",null,e.toDisplayString(r.allWx.avgSpd),1),(xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.favorableCur&&r.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",lN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&r.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",aN,e.toDisplayString(`${a.computedPositive(r.allWx.avgCf)}`),1)),nN,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(r.allWx.avgWf)}`),1),sN,e.createElementVNode("span",null,e.toDisplayString(r.allWx.pfmSpd)+" (kts)",1)])),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(r.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(r.goodWx.pfmSpd)+" (kts) ",1),r.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",iN,"(Under-performance)")):e.createCommentVNode("",!0),r.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",cN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",dN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",rN,[e.createElementVNode("div",mN,[e.createElementVNode("div",pN,[e.createTextVNode(" Time Analysis "),(Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",hN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",yN,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),EN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(r.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),_N,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(r.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),NN,e.createElementVNode("div",VN,[fN,gN,e.createElementVNode("div",DN,[e.createElementVNode("div",null,e.toDisplayString((W=(ye=o.reportData)==null?void 0:ye.weather)!=null&&W.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),bN,xN]),CN]),e.createElementVNode("div",SN,[e.createElementVNode("div",kN," Total Time at (CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),AN,e.createElementVNode("div",BN,[e.createElementVNode("div",null,e.toDisplayString((Fe=(me=o.reportData)==null?void 0:me.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" kts",1)]),TN]),e.createElementVNode("div",uN,[e.createElementVNode("div",ON," Total Time at (CP Speed + "+e.toDisplayString(r.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),FN,e.createElementVNode("div",PN,[e.createElementVNode("div",null,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(r.timeConclusion.abt4SpdOver)+" kts",1)]),WN]),HN])]),e.createElementVNode("div",MN,[r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",GN,[e.createElementVNode("div",IN,[RN,zN,e.createElementVNode("div",UN,[e.createElementVNode("div",null,e.toDisplayString((We=(ke=o.reportData)==null?void 0:ke.weather)!=null&&We.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),YN,e.createElementVNode("div",null,e.toDisplayString(r.goodWx.pfmSpd),1)]),ZN,e.createElementVNode("div",$N,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" (hrs)",1),QN]),e.createElementVNode("div",JN,[e.createElementVNode("div",KN," Total Time at (CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),qN,e.createElementVNode("div",jN,[e.createElementVNode("div",null,e.toDisplayString((Ze=(Ye=o.reportData)==null?void 0:Ye.weather)!=null&&Ze.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),XN,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),vN,e.createElementVNode("div",eV,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),tV]),e.createElementVNode("div",oV,[e.createElementVNode("div",lV," Total Time at (CP Speed + "+e.toDisplayString(r.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage))+") ",1),aV,e.createElementVNode("div",nV,[e.createElementVNode("div",null,e.toDisplayString((we=(Y=o.reportData)==null?void 0:Y.weather)!=null&&we.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),sV,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.plusAbtSpd),1)]),iV,e.createElementVNode("div",cV,e.toDisplayString(r.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),dV]),e.createElementVNode("div",null,[r.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(r.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(r.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),rV,e.createElementVNode("span",null,e.toDisplayString(r.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),mV,e.createElementVNode("span",null,e.toDisplayString(r.timeConclusion.conclusionStatus==="Lost"?r.timeConclusion.timeAtPfmSpd:r.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(r.timeConclusion.conclusionStatus==="Lost"?r.timeConclusion.timeAtMinusAbtSpd:r.timeConclusion.timeAtPfmSpd),1),pV,e.createElementVNode("span",null,e.toDisplayString(r.timeConclusion.conclusionStatus==="Lost"?r.timeConclusion.timeLost:r.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(r.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((Me=r.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,hV))]),e.createElementVNode("div",yV,[e.createElementVNode("div",EV,[e.createTextVNode(" Consumption Analysis "),(Qe=($e=o.reportData)==null?void 0:$e.weather)!=null&&Qe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",_V,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",NV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),VV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),fV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),gV,e.createElementVNode("div",DV,[bV,xV,e.createElementVNode("div",CV,[e.createElementVNode("div",null,e.toDisplayString((Ke=(Je=o.reportData)==null?void 0:Je.weather)!=null&&Ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),SV,kV]),AV,BV,wV]),e.createElementVNode("div",TV,[uV,((_=(qe=r.extend)==null?void 0:qe.cp)==null?void 0:_.dgo)>0?(e.openBlock(),e.createElementBlock("div",OV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",FV,[PV,LV,e.createElementVNode("div",WV,[e.createElementVNode("div",null,e.toDisplayString((Te=(q=o.reportData)==null?void 0:q.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),HV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage)),1)]),MV,GV,IV]),e.createElementVNode("div",RV,[zV,UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ZV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(r.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",r.timeConclusion.spdPercentage)),1)]),$V,QV,JV]),KV,((je=(pe=r.extend)==null?void 0:pe.cp)==null?void 0:je.dgo)>0?(e.openBlock(),e.createElementBlock("div",qV,[jV,XV,e.createElementVNode("div",vV,[ef,tf,e.createElementVNode("div",null,e.toDisplayString((et=(ve=o.reportData)==null?void 0:ve.weather)!=null&&et.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((at=(lt=r.extend)==null?void 0:lt.cp)==null?void 0:at.dgo)>0?(e.openBlock(),e.createElementBlock("div",of,[lf,af,e.createElementVNode("div",nf,[sf,cf,e.createElementVNode("div",null,e.toDisplayString((st=(nt=o.reportData)==null?void 0:nt.weather)!=null&&st.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",df,[rf,r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",mf,[e.createElementVNode("div",pf,[hf,yf,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString((yt=(ht=o.reportData)==null?void 0:ht.weather)!=null&&yt.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),_f,e.createElementVNode("div",null,e.toDisplayString(r.goodWx.pfmSpd),1)]),Nf,e.createElementVNode("div",Vf,[e.createElementVNode("div",null,e.toDisplayString(r.goodWx.sumFoCons)+" "+e.toDisplayString(r.allWx.inEca.distance>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),ff,e.createElementVNode("div",null,e.toDisplayString(r.goodWx.time),1)]),gf,e.createElementVNode("div",Df,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" (mt)",1),bf]),e.createElementVNode("div",xf,[Cf,Sf,e.createElementVNode("div",kf,[e.createElementVNode("div",null,e.toDisplayString((_t=(Et=o.reportData)==null?void 0:Et.weather)!=null&&_t.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),Af,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),Bf,e.createElementVNode("div",wf,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.overTolerance),1),Tf,uf]),Of,e.createElementVNode("div",Ff,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" (mt)",1),Pf]),e.createElementVNode("div",Lf,[Wf,Hf,e.createElementVNode("div",Mf,[e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),Gf,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),If,e.createElementVNode("div",Rf,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.underTolerance),1),zf,Uf]),Yf,e.createElementVNode("div",Zf,e.toDisplayString(r.fuelConclusion.fo.minCons)+" (mt)",1),$f]),e.createElementVNode("div",null,[r.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(r.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),Qf,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Jf,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.fo.conclusionStatus==="Over"?r.fuelConclusion.fo.entireCons:r.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(r.fuelConclusion.fo.conclusionStatus==="Over"?r.fuelConclusion.fo.maxCons:r.fuelConclusion.fo.entireCons),1),Kf,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.fo.conclusionStatus==="Over"?r.fuelConclusion.fo.overCons:r.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),r.allWx.inEca.distance&&r.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",qf,[r.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",jf,[Xf,vf,e.createElementVNode("div",e0,[e.createElementVNode("div",null,e.toDisplayString(r.goodWx.inEca.distance)+" × "+e.toDisplayString(r.fuelConclusion.fo.overCons),1),t0,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?r.goodWx.distance:r.allWx.distance),1)]),o0,e.createElementVNode("div",l0,e.toDisplayString(r.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",a0,[n0,s0,e.createElementVNode("div",i0,[e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&bt.noExtrapolation?r.goodWx.inEca.distance:r.allWx.inEca.distance)+" × "+e.toDisplayString(r.fuelConclusion.fo.saving),1),c0,e.createElementVNode("div",null,e.toDisplayString((Ct=(xt=o.reportData)==null?void 0:xt.weather)!=null&&Ct.noExtrapolation?r.goodWx.distance:r.allWx.distance),1)]),d0,e.createElementVNode("div",r0,e.toDisplayString(r.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(r.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(r.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,m0))]),e.createElementVNode("div",p0,[((kt=(St=r.extend)==null?void 0:St.cp)==null?void 0:kt.dgo)>0?(e.openBlock(),e.createElementBlock("div",h0,[y0,r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",E0,[e.createElementVNode("div",_0,[N0,V0,e.createElementVNode("div",f0,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),g0,e.createElementVNode("div",null,e.toDisplayString(r.goodWx.pfmSpd),1)]),D0,e.createElementVNode("div",b0,[e.createElementVNode("div",null,e.toDisplayString(r.goodWx.sumDgoCons)+" "+e.toDisplayString(r.allWx.inEca.distance>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),x0,e.createElementVNode("div",null,e.toDisplayString(r.goodWx.time),1)]),C0,e.createElementVNode("div",S0,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" (mt)",1),k0]),e.createElementVNode("div",A0,[B0,w0,e.createElementVNode("div",T0,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),u0,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),O0,e.createElementVNode("div",F0,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.overTolerance),1),P0,L0]),W0,e.createElementVNode("div",H0,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" (mt)",1),M0]),e.createElementVNode("div",G0,[I0,R0,e.createElementVNode("div",z0,[e.createElementVNode("div",null,e.toDisplayString((Ot=(ut=o.reportData)==null?void 0:ut.weather)!=null&&Ot.noExtrapolation?r.goodWx.distance:r.allWx.distance),1),U0,e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),Y0,e.createElementVNode("div",Z0,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.underTolerance),1),$0,Q0]),J0,e.createElementVNode("div",K0,e.toDisplayString(r.fuelConclusion.dgo.minCons)+" (mt)",1),q0]),e.createElementVNode("div",null,[r.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(r.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),j0,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),X0,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.dgo.conclusionStatus==="Over"?r.fuelConclusion.dgo.entireCons:r.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(r.fuelConclusion.dgo.conclusionStatus==="Over"?r.fuelConclusion.dgo.maxCons:r.fuelConclusion.dgo.entireCons),1),v0,e.createElementVNode("span",null,e.toDisplayString(r.fuelConclusion.dgo.conclusionStatus==="Over"?r.fuelConclusion.dgo.overCons:r.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),r.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(r.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(r.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,eg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const og=Ee(iE,[["render",tg],["__scopeId","data-v-6f2b44b1"]]),yoe="",lg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":ie.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let c="";return n&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,m,i,p,D,f,h,V,C;this.showCF=((c=(o=this.reportData)==null?void 0:o.weather)==null?void 0:c.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(m=this.reportData)==null?void 0:m.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(p=this.reportData)==null?void 0:p.weather)==null?void 0:D.showSwell)??!0,this.showWave=((h=(f=this.reportData)==null?void 0:f.weather)==null?void 0:h.showWave)??!0;let t=[];(C=(V=this.reportData)==null?void 0:V.segments)==null||C.forEach(d=>{let S=d.extend.cp;d.inventory.sample.hours.forEach(k=>{let A=JSON.parse(JSON.stringify(k));A.cp=S,t.push(A)})}),t.sort(function(d,S){let k=d.date,A=S.date;return k-A});let n="";t.forEach(d=>{d.seg!==n&&(d.isFirstSeg=!0,n=d.seg);let S=d.type.charAt(0);d.abbreviation=S,S==="M"?S="*":S==="A"&&(S=""),d.dateTime=S+" "+O(d.utc).utc().format("MM/DD HHmm[Z]"),d.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(d.lng)),d.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(d.lat))}),this.summaryTable=t}}},Ae=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),ag={class:"table",id:"second-table"},ng=Ae(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),sg={class:"subtitle"},ig={class:"introduce"},cg={class:"introduce-ship"},dg={style:{"margin-bottom":"15px"}},rg=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),mg={rowspan:"4"},pg=Ae(()=>e.createElementVNode("td",null,"Entire Period",-1)),hg=Ae(()=>e.createElementVNode("td",null,"Good weather period",-1)),yg=Ae(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Eg=Ae(()=>e.createElementVNode("td",null,"Excluded period",-1)),_g=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),Ng={class:"summary-table"},Vg=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),fg=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),gg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Dg=Ae(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),bg=["colspan"],xg={key:0,colspan:"2"},Cg=Ae(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),Sg=Ae(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),kg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),Ag=Ae(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),Bg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),wg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),Tg={key:0,rowspan:"2"},ug=Ae(()=>e.createElementVNode("br",null,null,-1)),Og={key:1,rowspan:"2"},Fg=Ae(()=>e.createElementVNode("br",null,null,-1)),Pg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),Lg={key:2,rowspan:"2"},Wg=Ae(()=>e.createElementVNode("br",null,null,-1)),Hg={key:3,colspan:"2"},Mg={key:4,rowspan:"2"},Gg=Ae(()=>e.createElementVNode("br",null,null,-1)),Ig={key:5,colspan:"2"},Rg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),zg={key:6,rowspan:"2"},Ug={key:7,rowspan:"2"},Yg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Zg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),$g=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),Qg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),Jg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),Kg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),qg=Ae(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),jg=Ae(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Xg=Ae(()=>e.createElementVNode("th",null,"FO",-1)),vg=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),e2=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),t2=Ae(()=>e.createElementVNode("th",null,"BF",-1)),o2={key:0},l2={key:1},a2={key:2},n2={key:3},s2=Ae(()=>e.createElementVNode("th",null,"RPM",-1)),i2=Ae(()=>e.createElementVNode("th",null,"Slip%",-1)),c2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),d2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),r2=Ae(()=>e.createElementVNode("th",null,"FO",-1)),m2=Ae(()=>e.createElementVNode("th",null,"DO/GO",-1)),p2=Ae(()=>e.createElementVNode("th",null,"Dir",-1)),h2=Ae(()=>e.createElementVNode("th",null,"BF",-1)),y2={class:"summary-tbody"};function E2(t,n,o,c,l,a){var m,i,p,D,f,h,V,C;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",ag,[ng,e.createElementVNode("div",sg,e.toDisplayString(a.computedTime((f=o.reportData)==null?void 0:f.createdAt)),1),e.createElementVNode("div",ig,[e.createElementVNode("div",cg,[e.createElementVNode("span",null,e.toDisplayString((V=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:V.name),1)])]),e.createElementVNode("div",dg,[e.createElementVNode("table",null,[rg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((C=o.reportData)==null?void 0:C.segments,(d,S)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S},[e.createElementVNode("tr",null,[e.createElementVNode("td",mg,e.toDisplayString(S+1),1),pg,e.createElementVNode("td",null,e.toDisplayString(d.allWx.distance?a.computeRoundPrecision(d.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.time?a.computeRoundPrecision(d.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.avgSpd?a.computeRoundPrecision(d.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumFoCons?a.computeRoundPrecision(d.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumDgoCons?a.computeRoundPrecision(d.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[hg,e.createElementVNode("td",null,e.toDisplayString(d.goodWx.distance?a.computeRoundPrecision(d.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.goodWx.time?a.computeRoundPrecision(d.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.goodWx.avgSpd?a.computeRoundPrecision(d.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(d.goodWx.sumFoCons?a.computeRoundPrecision(d.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(d.goodWx.sumDgoCons?a.computeRoundPrecision(d.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[yg,e.createElementVNode("td",null,e.toDisplayString(d.badWx.distance?a.computeRoundPrecision(d.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.badWx.time?a.computeRoundPrecision(d.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.badWx.avgSpd?a.computeRoundPrecision(d.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(d.badWx.sumFoCons?a.computeRoundPrecision(d.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(d.badWx.sumDgoCons?a.computeRoundPrecision(d.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Eg,e.createElementVNode("td",null,e.toDisplayString(d.excluded.sumDistance?a.computeRoundPrecision(d.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.excluded.sumDuration?a.computeRoundPrecision(d.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(d.excluded.avgSpd?a.computeRoundPrecision(d.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(d.excluded.sumFoCons?a.computeRoundPrecision(d.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(d.excluded.sumDgoCons?a.computeRoundPrecision(d.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),_g,e.createElementVNode("div",null,[e.createElementVNode("table",Ng,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Vg,fg,gg,Dg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,bg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",xg,"meteo")):e.createCommentVNode("",!0),Cg,Sg]),e.createElementVNode("tr",null,[kg,Ag,Bg,wg,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",Tg,[e.createTextVNode("Spd"),ug,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",Og,[e.createTextVNode("Dis"),Fg,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),Pg,l.showWave?(e.openBlock(),e.createElementBlock("th",Lg,[e.createTextVNode("Sea HT"),Wg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Hg,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",Mg,[e.createTextVNode("Sig Wave"),Gg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",Ig,"Current")):e.createCommentVNode("",!0),Rg,o.isAdmin?(e.openBlock(),e.createElementBlock("th",zg,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Ug,"wxFactor")):e.createCommentVNode("",!0),Yg,Zg,$g,Qg,Jg,Kg,qg,jg]),e.createElementVNode("tr",null,[Xg,vg,e2,t2,l.showSwell?(e.openBlock(),e.createElementBlock("th",o2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",l2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",a2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",n2,"CF(kts)")):e.createCommentVNode("",!0),s2,i2,c2,d2,r2,m2,p2,h2])]),e.createElementVNode("tbody",y2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(d,S)=>{var k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;return e.openBlock(),e.createElementBlock("tr",{key:S},[e.createElementVNode("td",{class:e.normalizeClass(d.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[S+1])!=null&&k.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(d.isFirstSeg?d.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.dateTime),3),a.computedPort(d)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(d)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d,!0,!0))},e.toDisplayString(d.abbreviation==="A"||d.abbreviation==="B"?"":a.computeRoundPrecision(d.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d,!0,!0))},e.toDisplayString(d.abbreviation==="A"||d.abbreviation==="B"?"":a.computeRoundPrecision(d.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d,!0,!0))},e.toDisplayString(d.abbreviation==="A"||d.abbreviation==="B"?"":a.computeRoundPrecision(d.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(d,!0))},e.toDisplayString(a.computeRoundPrecision(d.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(d,!0))},e.toDisplayString(a.computeRoundPrecision(d.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((B=(A=d.meteo)==null?void 0:A.wind)==null?void 0:B.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((F=(u=d.meteo)==null?void 0:u.wind)==null?void 0:F.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(a.computeRoundPrecision(((U=(L=(x=d.meteo)==null?void 0:x.wave)==null?void 0:L.wd)==null?void 0:U.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((P=(R=(Z=d.meteo)==null?void 0:Z.wave)==null?void 0:R.swell)==null?void 0:P.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(a.computeRoundPrecision(((G=(I=(g=d.meteo)==null?void 0:g.wave)==null?void 0:I.swell)==null?void 0:G.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(a.computeRoundPrecision(((Q=(M=(H=d.meteo)==null?void 0:H.wave)==null?void 0:M.sig)==null?void 0:Q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((K=(j=d.meteo)==null?void 0:j.current)==null?void 0:K.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((N=d.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d,!0))},e.toDisplayString(d.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((z=d.meteo)==null?void 0:z.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(((J=d.meteo)==null?void 0:J.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":d.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":d.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"?"":a.computeRoundPrecision(d.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(d))},e.toDisplayString(d.abbreviation==="A"||d.abbreviation==="B"||d.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const _2=Ee(lg,[["render",E2],["__scopeId","data-v-9fe5beca"]]),N2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),n.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},V2=["id"];function f2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,V2)])}const g2=Ee(N2,[["render",f2]]),D2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},b2={class:"logo"},x2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function C2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",b2,x2)}const S2=Ee(D2,[["render",C2]]),_oe="",k2={components:{ScCharts:g2,BrabImg:S2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let m=0;a==n.length-1?m=t.length-l.id:m=n[a+1].id-l.id+1;let i=[];for(let p=0;p<t.length;p++)(p>l.id||p==l.id)&&m>0?(i.push(l.num),m=m-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((m,i)=>{m!=c&&this.computedIsNull(m)!==""?(o.push({num:m,id:i}),c=m,l++):this.computedIsNull(m)!==""&&m==c&&(o[l-1].id=i)});let a=[];return o.forEach((m,i)=>{let p=i?o[i-1].id:-1;for(let D=p;D<m.id;D++)a.push(m.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=ie.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,z)=>{let J=N.extend.cp;N.inventory.sample.hours.forEach((s,X)=>{let r=JSON.parse(JSON.stringify(s));r.cp=J,r.fuelConclusion=N.fuelConclusion,r.timeConclusion=N.timeConclusion,t.push(r)})}),t.sort(function(N,z){let J=N.date,s=z.date;return J-s});let n=[],o=[],c=[],l=[],a=[],m=[],i=[],p=[],D=[],f=[],h=[],V=[],C=[],d=[],S=[],k=[],A=[],B=[],u=[],F=[],x=[],L=[],U=[],Z=[],R=[],P=[!1,!1],g=[],I=[],G=[!1,!1],H=[],M=[];t.forEach((N,z)=>{var s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;if(n.push(O(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&z==t.length-1&&(g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[])):P.indexOf(!0)!==-1&&(g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[]),N.excluded===!0?(G.indexOf(!0)===-1&&(z===0?H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&z===t.length-1&&(H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[]),(N==null?void 0:N.type)==="EOSP"&&((s=t[z+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:O(t[z+1].utc).utc().format("MM/DD HHmm[Z]")}),M.push(pe)}N.type!="A"&&(N.type==="BOSP"&&z===0?l.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),(X=N==null?void 0:N.noon)==null?void 0:X.avgSpd,N==null?void 0:N.type]):l.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((r=N==null?void 0:N.noon)==null?void 0:r.avgSpd)||"-",N==null?void 0:N.type]),u.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),U.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((oe=N==null?void 0:N.noon)==null?void 0:oe.seasHt)||"-"])),p.push((N==null?void 0:N.type)!="A"?this.computedIsNull((ee=N==null?void 0:N.noon)==null?void 0:ee.foCons):""),C.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),R.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),c.push((N==null?void 0:N.cpSpd)??""),a.push(((ce=N==null?void 0:N.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=N==null?void 0:N.cp)==null?void 0:de.fo)??""),D.push(((_e=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:_e.underTolerance)??""),f.push(((he=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:he.overTolerance)??""),V.push(((Ne=N==null?void 0:N.cp)==null?void 0:Ne.dgo)??""),d.push(((fe=(Ve=N==null?void 0:N.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),S.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),A.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),B.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let J="";(Oe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Oe.sigSwitch?(J=(me=(W=(ye=N.meteo)==null?void 0:ye.wave)==null?void 0:W.sig)!=null&&me.height?(Le=(Pe=(Fe=N.meteo)==null?void 0:Fe.wave)==null?void 0:Pe.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",L.push(this.reportData.weather.sigHeight)):(We=(ke=this.reportData)==null?void 0:ke.weather)!=null&&We.waveSwitch?(J=(Y=(Ze=(Ye=N.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.wd)!=null&&Y.height?($e=(Me=(we=N.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",L.push(this.reportData.weather.waveHeight)):(Je=(Qe=this.reportData)==null?void 0:Qe.weather)!=null&&Je.swellSwitch&&(J=(_=(qe=(Ke=N.meteo)==null?void 0:Ke.wave)==null?void 0:qe.swell)!=null&&_.height?(He=(Te=(q=N.meteo)==null?void 0:q.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",L.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:I},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:M},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,z)=>{N.indexOf("-")!==-1&&z!==l.length-1&&(N[1]=l[z+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),f=this.computedArray(f),V=this.computedArray(V),d=this.computedArray(d),S=this.computedArray(S),p=this.computedCurrent(p),C=this.computedCurrent(C,"dgotype"),R=this.computedCurrent(R),c.forEach((N,z)=>{let J={name:z==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(J)}),a.forEach((N,z)=>{let J={name:z==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,z)=>{let J={name:z==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};m.push(J)}),D.forEach((N,z)=>{let J={name:z==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};m.push(J)}),f.forEach((N,z)=>{let J={name:z==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};m.push(J)}),m.push({name:"Daily FO",type:"bar",showSymbol:!1,data:p,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),V.forEach((N,z)=>{let J={name:z==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};h.push(J)}),d.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};h.push(J)}),S.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:C,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:B,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:A,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:u,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),F.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");F.push({name:Q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),F.push({name:"Ship Report",type:"scatter",data:U,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:R,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=m,this.DGOChartData=h,this.windSpdChartData=k,this.waveChartData=F,this.currentChartData=Z}}},Re=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),A2={class:"charts"},B2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),w2={class:"subtitle"},T2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),u2={class:"weather-eChart"},O2={class:"charts page-title"},F2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),P2={class:"subtitle"},L2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),W2={class:"weather-eChart"},H2={class:"charts page-title"},M2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),G2={class:"subtitle"},I2={class:"message-table"},R2=Re(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),z2=Re(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),U2=Re(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),Y2={style:{display:"inline-block",width:"50%"}},Z2=Re(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),$2={style:{display:"inline-block",width:"50%"}},Q2={style:{margin:"15px auto","padding-left":"20px"}},J2=["src"],K2={class:"charts-imgLegend"},q2={style:{position:"relative",left:"-20px"}},j2=Re(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),X2=Re(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),v2=Re(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),eD={key:0,class:"charts page-title"},tD=Re(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),oD={class:"subtitle"},lD={class:"message-table"},aD=Re(()=>e.createElementVNode("td",null,"Vessel Name",-1)),nD=Re(()=>e.createElementVNode("td",null,"Prepared For",-1)),sD=Re(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),iD={style:{display:"inline-block",width:"50%"}},cD=Re(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),dD={style:{display:"inline-block",width:"50%"}},rD={class:"columns"},mD={class:"title"},pD=["innerHTML"],hD={class:"charts",style:{"page-break-before":"always"}},yD=Re(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),ED={class:"methodology"},_D=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),ND={class:"definition"},VD={class:"equation"},fD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),gD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),DD={style:{width:"50%"},class:"fraction"},bD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xD=Re(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),CD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),SD={class:"equation"},kD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),AD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),BD={style:{width:"50%"},class:"fraction"},wD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TD=Re(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),uD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),OD={class:"equation"},FD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),PD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),LD={style:{width:"50%"},class:"fraction"},WD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HD=Re(()=>e.createElementVNode("div",null,"CP Speed",-1)),MD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),GD=Re(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),ID=Re(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),RD=Re(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),zD=Re(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),UD=Re(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function YD(t,n,o,c,l,a){var p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe;const m=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",A2,[B2,e.createElementVNode("div",w2,e.toDisplayString(a.computedTime((V=o.reportData)==null?void 0:V.createdAt)),1),T2,e.createElementVNode("div",u2,[e.createVNode(m,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",O2,[F2,e.createElementVNode("div",P2,e.toDisplayString(a.computedTime((C=o.reportData)==null?void 0:C.createdAt)),1),L2,e.createElementVNode("div",W2,[e.createVNode(m,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",H2,[M2,e.createElementVNode("div",G2,e.toDisplayString(a.computedTime((d=o.reportData)==null?void 0:d.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",I2,[e.createElementVNode("tr",null,[R2,e.createElementVNode("td",null,e.toDisplayString((k=(S=o.reportData)==null?void 0:S.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[z2,e.createElementVNode("td",null,e.toDisplayString((A=o.reportData)==null?void 0:A.preparedFor),1)]),e.createElementVNode("tr",null,[U2,e.createElementVNode("td",null,[e.createElementVNode("span",Y2,e.toDisplayString(((u=(B=o.reportData)==null?void 0:B.departure)==null?void 0:u.portName)||a.computedLngLat((x=(F=o.reportData)==null?void 0:F.departure)==null?void 0:x.lat,(U=(L=o.reportData)==null?void 0:L.departure)==null?void 0:U.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:R.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[Z2,e.createElementVNode("td",null,[e.createElementVNode("span",$2,e.toDisplayString(((g=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:g.portName)||a.computedLngLat((G=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:G.lat,(M=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:M.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(Q=o.reportData)==null?void 0:Q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",Q2,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,J2),e.createElementVNode("div",K2,[e.createElementVNode("div",q2,[j2,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),X2]),v2])])]),(z=(N=o.reportData)==null?void 0:N.weather)!=null&&z.showMails?(e.openBlock(),e.createElementBlock("div",eD,[tD,e.createElementVNode("div",oD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",lD,[e.createElementVNode("tr",null,[aD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[nD,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[sD,e.createElementVNode("td",null,[e.createElementVNode("span",iD,e.toDisplayString(((v=(r=o.reportData)==null?void 0:r.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.lat,(ce=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[cD,e.createElementVNode("td",null,[e.createElementVNode("span",dD,e.toDisplayString(((le=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",rD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,W)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(W%2===0?"item":"item bg")},[e.createElementVNode("div",mD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,pD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",hD,[yD,e.createElementVNode("div",ED,[_D,e.createElementVNode("div",ND,[e.createElementVNode("div",VD,[fD,gD,e.createElementVNode("div",DD,[e.createElementVNode("div",null,e.toDisplayString((xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),bD,xD]),CD]),e.createElementVNode("div",SD,[kD,AD,e.createElementVNode("div",BD,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),wD,TD]),uD]),e.createElementVNode("div",OD,[FD,PD,e.createElementVNode("div",LD,[e.createElementVNode("div",null,e.toDisplayString((Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),WD,HD]),MD]),GD]),ID,RD,zD,UD])])],2)}const ZD=Ee(k2,[["render",YD],["__scopeId","data-v-4fb04207"]]),Noe="",$D={components:{firstPart:og,secondPart:_2,thirdPart:ZD},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},QD={class:"voyage-report"};function JD(t,n,o,c,l,a){const m=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),p=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",QD,[e.createVNode(m,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(p,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Cn=Ee($D,[["render",JD],["__scopeId","data-v-61638416"]]),Voe="",KD={components:{Editor:Uo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?O(t).utc().format("MMMM D, HHmm[Z]"):n?O(t).utc().format(n):O(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),m=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:m}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var n,o,c;return(n=t.timeConclusion)!=null&&n.spdPercentage?ie.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let p={begin:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(c.seg)){t.push(c.seg);let i=Object.assign({},c.extend.cp);i.spdOfOver=`+${c.timeConclusion.spdOfOver}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${c.timeConclusion.spdOfUnder}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.over=`+${c.fuelConclusion.consOfOver}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,i.under=`-${c.fuelConclusion.consOfUnder}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let m=[];c.extend.segTimes.forEach(i=>{m.push(this.computedSeg(i))}),this.segDetail.push(m),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},E=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),qD=E(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),jD={class:"fli-main"},XD=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),vD={class:"card basics"},eb={class:"list flex"},tb={class:"item"},ob=E(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),lb={class:"content flex"},ab={class:"item"},nb=E(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),sb={class:"content flex"},ib={class:"item"},cb=E(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),db={class:"content flex"},rb={class:"list"},mb={class:"item"},pb=E(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),hb={class:"content flex"},yb={class:"content flex"},Eb={class:"item"},_b=E(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Nb={class:"content flex"},Vb={class:"content flex"},fb={class:"item"},gb=E(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),Db={class:"content flexL"},bb=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),xb={class:"clause"},Cb={key:0,class:"definition flex"},Sb={key:1,class:"definition flex"},kb={class:"item"},Ab=E(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Bb={class:"content"},wb={key:0,class:"item"},Tb=E(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),ub={class:"content"},Ob={key:1,class:"item"},Fb=E(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Pb={class:"content"},Lb={key:2,class:"item"},Wb=E(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Hb={class:"content"},Mb={key:3,class:"item"},Gb=E(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),Ib={class:"content"},Rb={key:4,class:"item"},zb=[E(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Ub={key:5,class:"item"},Yb=[E(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Zb={class:"definition flexM"},$b={class:"table"},Qb=E(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),Jb=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),Kb={class:"summary"},qb={key:0,class:"summary-overall"},jb=E(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Xb={class:"summary-overall-row"},vb={class:"card"},e3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),t3={class:"main-content"},o3={key:0},l3={key:1},a3={class:"card"},n3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),s3={class:"main-content"},i3={key:0},c3={key:1},d3={class:"card"},r3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),m3={class:"main-content"},p3={key:0},h3={key:1},y3={class:"summary-overall-row"},E3={class:"card"},_3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),N3={class:"main-content"},V3={class:"card"},f3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),g3={class:"main-content"},D3={class:"card"},b3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),x3={class:"main-content"},C3=E(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),S3={class:"card",style:{flex:"1.5"}},k3={class:"card-title"},A3=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),B3={class:"card-segment"},w3={class:"card-segment"},T3={class:"card-segment"},u3=E(()=>e.createElementVNode("div",null,"Applied",-1)),O3={class:"uppercase"},F3={class:"card summary-card",style:{flex:"1"}},P3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),L3={key:0,class:"main-content"},W3={key:0,class:"iconfont success"},H3={key:1,class:"iconfont error"},M3={key:1,class:"main-content"},G3={class:"card-content",style:{"justify-content":"flex-start"}},I3={class:"card summary-card",style:{flex:"1"}},R3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),z3={key:0,class:"main-content"},U3={key:0,class:"iconfont success"},Y3={key:1,class:"iconfont error"},Z3={key:1,class:"main-content"},$3={class:"card-content",style:{"justify-content":"flex-start"}},Q3={class:"card summary-card",style:{flex:"1"}},J3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),K3={key:0,class:"main-content"},q3={key:0,class:"iconfont success"},j3={key:1,class:"iconfont error"},X3={key:1,class:"main-content"},v3={class:"card-content",style:{"justify-content":"flex-start"}},ex={style:{"page-break-inside":"avoid"}},tx=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),ox={class:"remarks"},lx={class:"item"},ax=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),nx={class:"speed"},sx={class:"uppercase"},ix={class:"item"},cx=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),dx={key:0,class:"remark-detail"},rx={key:1,class:"remark-detail"},mx={class:"page-avoid"},px={class:"dashed"},hx={class:"card phase-title-card",style:{flex:"0.5"}},yx={class:"card-title"},Ex=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),_x={class:"card-segment"},Nx={class:"card-segment"},Vx={class:"card-segment"},fx=E(()=>e.createElementVNode("div",null,"Applied",-1)),gx={class:"uppercase"},Dx=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),bx={class:"phase-analysis"},xx={class:"card phase-card",style:{flex:"1"}},Cx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),Sx={class:"main-content"},kx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),Ax={class:"main-content"},Bx={class:"card-content"},wx=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Tx=E(()=>e.createElementVNode("span",null,"mt",-1)),ux={class:"card-content"},Ox=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),Fx=E(()=>e.createElementVNode("span",null,"mt",-1)),Px={class:"card-content"},Lx=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),Wx=E(()=>e.createElementVNode("span",null,"mt",-1)),Hx={class:"card-content"},Mx=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),Gx=E(()=>e.createElementVNode("span",null,"mt",-1)),Ix=E(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),Rx={class:"card phase-card",style:{flex:"1"}},zx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),Ux={class:"main-content"},Yx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Zx={class:"main-content"},$x={class:"card-content"},Qx=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),Jx=E(()=>e.createElementVNode("span",null,"mt",-1)),Kx={class:"card-content"},qx=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),jx=E(()=>e.createElementVNode("span",null,"mt",-1)),Xx={class:"card-content"},vx=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),eC=E(()=>e.createElementVNode("span",null,"mt",-1)),tC={class:"card-content"},oC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),lC=E(()=>e.createElementVNode("span",null,"mt",-1)),aC=E(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),nC={class:"phase-analysis"},sC={class:"card phase-card",style:{flex:"1"}},iC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),cC={class:"main-content"},dC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),rC={class:"main-content"},mC={class:"card-content"},pC=E(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),hC=E(()=>e.createElementVNode("span",null,"nm",-1)),yC={class:"card-content"},EC=E(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),_C=E(()=>e.createElementVNode("span",null,"nm",-1)),NC={class:"card-content"},VC=E(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),fC=E(()=>e.createElementVNode("span",null,"nm",-1)),gC={class:"card-content"},DC=E(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),bC=E(()=>e.createElementVNode("span",null,"nm",-1)),xC={class:"card phase-card",style:{flex:"1"}},CC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),SC={class:"main-content"},kC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),AC={class:"main-content"},BC={class:"card-content"},wC=E(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),TC=E(()=>e.createElementVNode("span",null,"hrs",-1)),uC={class:"card-content"},OC=E(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),FC=E(()=>e.createElementVNode("span",null,"hrs",-1)),PC={class:"card-content"},LC=E(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),WC=E(()=>e.createElementVNode("span",null,"hrs",-1)),HC={class:"card-content"},MC=E(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),GC=E(()=>e.createElementVNode("span",null,"hrs",-1)),IC={class:"card phase-card",style:{flex:"1"}},RC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),zC={class:"main-content"},UC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),YC={class:"main-content"},ZC={class:"card-content"},$C=E(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),QC=E(()=>e.createElementVNode("span",null,"kts",-1)),JC={class:"card-content"},KC=E(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),qC=E(()=>e.createElementVNode("span",null,"kts",-1)),jC={class:"card-content"},XC=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),vC=E(()=>e.createElementVNode("span",null,"kts",-1)),eS={class:"card-content"},tS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),oS=E(()=>e.createElementVNode("span",null,"kts",-1)),lS={class:"phase-analysis"},aS={class:"card phase-card",style:{flex:"1"}},nS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),sS={class:"main-content"},iS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),cS={class:"main-content"},dS={class:"card-content"},rS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),mS=E(()=>e.createElementVNode("span",null,"mt",-1)),pS={class:"card-content"},hS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),yS=E(()=>e.createElementVNode("span",null,"mt",-1)),ES={class:"card-content"},_S=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),NS=E(()=>e.createElementVNode("span",null,"mt",-1)),VS={class:"card-content"},fS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),gS=E(()=>e.createElementVNode("span",null,"mt",-1)),DS={class:"card phase-card",style:{flex:"1"}},bS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),xS={class:"main-content"},CS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),SS={class:"main-content"},kS={class:"card-content"},AS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),BS=E(()=>e.createElementVNode("span",null,"mt",-1)),wS={class:"card-content"},TS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),uS=E(()=>e.createElementVNode("span",null,"mt",-1)),OS={class:"card-content"},FS=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),PS=E(()=>e.createElementVNode("span",null,"mt",-1)),LS={class:"card-content"},WS=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),HS=E(()=>e.createElementVNode("span",null,"mt",-1)),MS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},GS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),IS={class:"main-content"},RS={class:"card-content"},zS=E(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),US={key:0},YS=E(()=>e.createElementVNode("span",null,"kts",-1)),ZS={key:1},$S={class:"phase-card"},QS={class:"card",style:{flex:"1"}},JS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),KS={key:0,class:"main-content"},qS={key:0,class:"iconfont success"},jS={key:1,class:"iconfont error"},XS={key:1,class:"main-content"},vS={class:"nogwd"},ek={class:"card-content",style:{"justify-content":"flex-start"}},tk={key:0},ok={class:"equation"},lk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),ak=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),nk={style:{width:"8%"}},sk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ik=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ck={style:{width:"10%"}},dk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),rk={class:"equation"},mk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),pk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},yk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_k={style:{width:"10%"}},Nk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Vk={class:"equation"},fk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),gk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Dk={style:{width:"8%"}},bk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ck={style:{width:"10%"}},Sk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),kk={class:"phase-card"},Ak={class:"card",style:{flex:"1"}},Bk=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),wk={key:0,class:"main-content"},Tk={key:0,class:"iconfont success"},uk={key:1,class:"iconfont error"},Ok={key:1,class:"main-content"},Fk={class:"nogwd"},Pk={class:"card-content",style:{"justify-content":"flex-start"}},Lk={key:0},Wk={class:"equation"},Hk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Mk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Gk={style:{width:"8%"}},Ik=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),zk={style:{width:"120px"}},Uk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Yk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Zk={style:{width:"10%"}},$k=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),Qk={class:"equation"},Jk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),Kk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),qk={style:{width:"8%"}},jk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Xk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),vk={style:{width:"120px"}},e4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),t4=E(()=>e.createElementVNode("div",null,"24",-1)),o4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),l4={style:{width:"10%"}},a4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),n4={class:"equation"},s4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),i4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),c4={style:{width:"8%"}},d4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),m4={style:{width:"120px"}},p4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),h4=E(()=>e.createElementVNode("div",null,"24",-1)),y4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),E4={style:{width:"10%"}},_4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),N4={key:0,class:"phase-card"},V4={class:"card",style:{flex:"1"}},f4=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),g4={key:0,class:"main-content"},D4={key:0,class:"iconfont success"},b4={key:1,class:"iconfont error"},x4={key:1,class:"main-content"},C4={class:"nogwd"},S4={class:"card-content",style:{"justify-content":"flex-start"}},k4={key:0},A4={class:"equation"},B4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),w4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),T4={style:{width:"8%"}},u4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),F4={style:{width:"120px"}},P4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),W4={style:{width:"10%"}},H4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),M4={class:"equation"},G4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),I4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),R4={style:{width:"8%"}},z4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),U4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Y4={style:{width:"120px"}},Z4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=E(()=>e.createElementVNode("div",null,"24",-1)),Q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),J4={style:{width:"10%"}},K4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),q4={class:"equation"},j4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),X4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),v4={style:{width:"8%"}},eA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tA=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),oA={style:{width:"120px"}},lA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aA=E(()=>e.createElementVNode("div",null,"24",-1)),nA=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),sA={style:{width:"10%"}},iA=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),cA=E(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),dA={class:"formular dashed",style:{"page-break-inside":"avoid"}},rA={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},mA=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),pA={class:""},hA={class:"equation"},yA=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),EA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_A={style:{width:"50%"},class:"fraction"},NA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VA=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),fA=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),gA={class:"equation"},DA=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),bA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xA={style:{width:"50%"},class:"fraction"},CA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),kA=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),AA={class:"equation"},BA=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),wA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),TA={style:{width:"50%"},class:"fraction"},uA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OA=E(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),FA=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),PA=E(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),LA={class:"flexL formular-item",style:{"margin-left":"20px"}},WA=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),HA={class:""},MA={class:"equation"},GA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),IA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RA={style:{width:"25%"},class:"fraction"},zA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UA=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),YA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),ZA=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),$A=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),QA={class:"equation"},JA=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),KA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),qA={style:{width:"25%"},class:"fraction"},jA=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XA=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),vA=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),eB=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),tB=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),oB={class:"equation"},lB=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),aB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nB={style:{width:"25%"},class:"fraction"},sB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iB=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),cB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),dB=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),rB=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),mB=E(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),pB=E(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function hB(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly?"watermark":"")},[qD,e.createElementVNode("div",jD,[XD,e.createElementVNode("div",vD,[e.createElementVNode("div",eb,[e.createElementVNode("div",tb,[ob,e.createElementVNode("div",lb,e.toDisplayString((p=o.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",ab,[nb,e.createElementVNode("div",sb,e.toDisplayString((f=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",ib,[cb,e.createElementVNode("div",db,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",rb,[e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString(((V=(h=o.reportData)==null?void 0:h.departure)==null?void 0:V.portName)||a.computedLngLat((d=(C=o.reportData)==null?void 0:C.departure)==null?void 0:d.lat,(k=(S=o.reportData)==null?void 0:S.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",yb,e.toDisplayString(a.computedTime((B=(A=o.reportData)==null?void 0:A.departure)==null?void 0:B.utcTime,"table")),1)]),e.createElementVNode("div",Eb,[_b,e.createElementVNode("div",Nb,e.toDisplayString(((F=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:F.portName)||a.computedLngLat((L=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:L.lat,(Z=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Vb,e.toDisplayString(a.computedTime((P=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",fb,[gb,e.createElementVNode("div",Db,e.toDisplayString((I=(g=o.reportData)==null?void 0:g.voyage)==null?void 0:I.loadCondition),1)])])]),bb,e.createElementVNode("div",xb,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Cb," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Sb,[e.createElementVNode("div",kb,[Ab,e.createElementVNode("div",Bb,"BF "+e.toDisplayString(((Q=(M=o.reportData)==null?void 0:M.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",wb,[Tb,e.createElementVNode("div",ub,e.toDisplayString(((z=(N=o.reportData)==null?void 0:N.weather)==null?void 0:z.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",Ob,[Fb,e.createElementVNode("div",Pb,e.toDisplayString(((r=(X=o.reportData)==null?void 0:X.weather)==null?void 0:r.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",Lb,[Wb,e.createElementVNode("div",Hb,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(_e=(re=o.reportData)==null?void 0:re.weather)!=null&&_e.swellHeight||(he=(le=o.reportData)==null?void 0:le.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Mb,[Gb,e.createElementVNode("div",Ib,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Rb,zb)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",Ub,Yb)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Zb,[e.createElementVNode("table",$b,[Qb,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(_,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(_==null?void 0:_.type),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.speed} | ${_==null?void 0:_.spdOfOver} , ${_.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.fo} | ${_==null?void 0:_.over} , ${_.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.dgo} | ${_==null?void 0:_.over} , ${_.under}`),1)]))),128))])])])]),Jb,e.createElementVNode("div",Kb,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",qb,[jb,e.createElementVNode("div",Xb,[e.createElementVNode("div",vb,[e3,e.createElementVNode("div",t3,[(ue=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",o3,e.toDisplayString((ye=(Oe=o.reportData)==null?void 0:Oe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",l3,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",a3,[n3,e.createElementVNode("div",s3,[(me=(W=o.reportData)==null?void 0:W.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",i3,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Pe.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",c3,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",d3,[r3,e.createElementVNode("div",m3,[(ke=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",p3,e.toDisplayString((Ye=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",h3,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",y3,[e.createElementVNode("div",E3,[_3,e.createElementVNode("div",N3,e.toDisplayString((Y=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:Y.avgSpd)+" kts ",1)]),e.createElementVNode("div",V3,[f3,e.createElementVNode("div",g3,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",D3,[b3,e.createElementVNode("div",x3,e.toDisplayString((Qe=($e=o.reportData)==null?void 0:$e.allWx)==null?void 0:Qe.avgDgoEcaCons)+" mt ",1)])]),C3])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(_,q)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:q},[e.createElementVNode("div",S3,[e.createElementVNode("div",k3,[A3,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(pe,je)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+je,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",B3,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",w3,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",T3,[u3,e.createElementVNode("div",null,[e.createElementVNode("span",O3,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",F3,[P3,(Te=_.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",L3,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",W3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",H3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",M3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",G3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",I3,[R3,(He=_.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",z3,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",U3,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Y3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Z3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",$3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",Q3,[J3,(Ge=_.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",K3,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",q3,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",j3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",X3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",v3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",ex,[tx,e.createElementVNode("div",ox,[e.createElementVNode("div",lx,[ax,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(_,q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:q},[e.createElementVNode("div",nx,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${q+1}. Phase ${q+1} Applied `)+" ",1),e.createElementVNode("span",sx,e.toDisplayString(_.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",ix,[cx,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",dx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(_,q)=>(e.openBlock(),e.createElementBlock("div",{key:q},e.toDisplayString(`From ${_.begin} to ${_.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",rx,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=o.reportData)==null?void 0:qe.segments,(_,q)=>{var Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Ao,Bo,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:q},[e.createElementVNode("div",mx,[e.createElementVNode("div",px,[e.createElementVNode("div",hx,[e.createElementVNode("div",yx,[Ex,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Lt,bl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+bl,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",_x,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time1),1)]),e.createElementVNode("div",Nx,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time2),1)])],2))),128)),e.createElementVNode("div",Vx,[fx,e.createElementVNode("div",null,[e.createElementVNode("span",gx,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])])]),Dx,e.createElementVNode("div",bx,[e.createElementVNode("div",xx,[Cx,e.createElementVNode("div",Sx,[e.createElementVNode("span",null,e.toDisplayString(((Te=_.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),kx,e.createElementVNode("div",Ax,[e.createElementVNode("span",null,e.toDisplayString(((He=_.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Bx,[wx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=_.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),Tx])]),e.createElementVNode("div",ux,[Ox,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=_.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),Fx])]),e.createElementVNode("div",Px,[Lx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=_.allWx)==null?void 0:je.outEca.avgFoCons)||"-"),1),Wx])]),e.createElementVNode("div",Hx,[Mx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=_.allWx)==null?void 0:ve.inEca.avgFoEcaCons)||"-"),1),Gx])]),Ix]),e.createElementVNode("div",Rx,[zx,e.createElementVNode("div",Ux,[e.createElementVNode("span",null,e.toDisplayString(((et=_.goodWx)==null?void 0:et.avgDgoEcaCons)||"-")+" mt",1)]),Yx,e.createElementVNode("div",Zx,[e.createElementVNode("span",null,e.toDisplayString(((lt=_.allWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",$x,[Qx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=_.goodWx)==null?void 0:at.outEca.avgDgoCons)||"-"),1),Jx])]),e.createElementVNode("div",Kx,[qx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=_.goodWx)==null?void 0:nt.inEca.avgDgoEcaCons)||"-"),1),jx])]),e.createElementVNode("div",Xx,[vx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=_.allWx)==null?void 0:st.outEca.avgDgoCons)||"-"),1),eC])]),e.createElementVNode("div",tC,[oC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=_.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),lC])]),aC])]),e.createElementVNode("div",nC,[e.createElementVNode("div",sC,[iC,e.createElementVNode("div",cC,[e.createElementVNode("span",null,e.toDisplayString(((yt=_.goodWx)==null?void 0:yt.distance)||"-")+" nm",1)]),dC,e.createElementVNode("div",rC,[e.createElementVNode("span",null,e.toDisplayString(((Et=_.allWx)==null?void 0:Et.distance)||"-")+" nm",1)]),e.createElementVNode("div",mC,[pC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=_.goodWx)==null?void 0:_t.outEca.distance)||"-"),1),hC])]),e.createElementVNode("div",yC,[EC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=_.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),_C])]),e.createElementVNode("div",NC,[VC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=_.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),fC])]),e.createElementVNode("div",gC,[DC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=_.allWx)==null?void 0:ft.inEca.distance)||"-"),1),bC])])]),e.createElementVNode("div",xC,[CC,e.createElementVNode("div",SC,[e.createElementVNode("span",null,e.toDisplayString(((gt=_.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),kC,e.createElementVNode("div",AC,[e.createElementVNode("span",null,e.toDisplayString(((Dt=_.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=_.goodWx)==null?void 0:bt.outEca.time)||"-"),1),TC])]),e.createElementVNode("div",uC,[OC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=_.goodWx)==null?void 0:xt.inEca.time)||"-"),1),FC])]),e.createElementVNode("div",PC,[LC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=_.allWx)==null?void 0:Ct.outEca.time)||"-"),1),WC])]),e.createElementVNode("div",HC,[MC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=_.allWx)==null?void 0:St.inEca.time)||"-"),1),GC])])]),e.createElementVNode("div",IC,[RC,e.createElementVNode("div",zC,[e.createElementVNode("span",null,e.toDisplayString(((kt=_.goodWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),UC,e.createElementVNode("div",YC,[e.createElementVNode("span",null,e.toDisplayString(((At=_.allWx)==null?void 0:At.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",ZC,[$C,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=_.goodWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),QC])]),e.createElementVNode("div",JC,[KC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=_.goodWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),qC])]),e.createElementVNode("div",jC,[XC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=_.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),vC])]),e.createElementVNode("div",eS,[tS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=_.allWx)==null?void 0:ut.inEca.avgSpd)||"-"),1),oS])])])]),e.createElementVNode("div",lS,[e.createElementVNode("div",aS,[nS,e.createElementVNode("div",sS,[e.createElementVNode("span",null,e.toDisplayString(((Ot=_.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),iS,e.createElementVNode("div",cS,[e.createElementVNode("span",null,e.toDisplayString(((Mt=_.allWx)==null?void 0:Mt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",dS,[rS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=_.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),mS])]),e.createElementVNode("div",pS,[hS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=_.goodWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),yS])]),e.createElementVNode("div",ES,[_S,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=_.allWx)==null?void 0:Vo.outEca.sumFoCons)||"-"),1),NS])]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((fo=_.allWx)==null?void 0:fo.inEca.sumFoCons)||"-"),1),gS])])]),e.createElementVNode("div",DS,[bS,e.createElementVNode("div",xS,[e.createElementVNode("span",null,e.toDisplayString(((go=_.goodWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),CS,e.createElementVNode("div",SS,[e.createElementVNode("span",null,e.toDisplayString((($=_.allWx)==null?void 0:$.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",kS,[AS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=_.goodWx)==null?void 0:ot.outEca.sumDgoCons)||"-"),1),BS])]),e.createElementVNode("div",wS,[TS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=_.goodWx)==null?void 0:Ft.inEca.sumDgoCons)||"-"),1),uS])]),e.createElementVNode("div",OS,[FS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=_.allWx)==null?void 0:Pt.outEca.sumDgoCons)||"-"),1),PS])]),e.createElementVNode("div",LS,[WS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Gt=_.allWx)==null?void 0:Gt.inEca.sumDgoCons)||"-"),1),HS])])]),e.createElementVNode("div",MS,[GS,e.createElementVNode("div",IS,[e.createElementVNode("span",null,e.toDisplayString(((It=_.goodWx)==null?void 0:It.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",RS,[zS,(Rt=_.goodWx)!=null&&Rt.distance&&!((Ut=(zt=o.reportData)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=_.goodWx)==null?void 0:Yt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",US,[e.createTextVNode(e.toDisplayString(a.computedPositive((Zt=_.goodWx)==null?void 0:Zt.avgCf)),1),YS])):(e.openBlock(),e.createElementBlock("b",ZS,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",$S,[e.createElementVNode("div",QS,[JS,($t=_.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",KS,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",qS,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",jS,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",XS,[e.createElementVNode("span",vS,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ek,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=_.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=_.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",tk,[e.createElementVNode("div",ok,[lk,ak,e.createElementVNode("div",nk,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(jt=_.goodWx)==null?void 0:jt.distance:(Xt=_.allWx)==null?void 0:Xt.distance),1),sk,e.createElementVNode("div",null,e.toDisplayString((vt=_.goodWx)==null?void 0:vt.pfmSpd),1)]),ik,e.createElementVNode("div",ck,e.toDisplayString(_.timeConclusion.timeAtPfmSpd)+" Hrs",1),dk]),e.createElementVNode("div",rk,[mk,pk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=o.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=_.goodWx)==null?void 0:oo.distance:(lo=_.allWx)==null?void 0:lo.distance),1),yk,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Ek,e.createElementVNode("div",_k,e.toDisplayString(_.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Nk]),e.createElementVNode("div",Vk,[fk,gk,e.createElementVNode("div",Dk,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=o.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(so=_.goodWx)==null?void 0:so.distance:(io=_.allWx)==null?void 0:io.distance),1),bk,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.plusAbtSpd),1)]),xk,e.createElementVNode("div",Ck,e.toDisplayString(_.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Sk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",kk,[e.createElementVNode("div",Ak,[Bk,(co=_.goodWx)!=null&&co.distance?(e.openBlock(),e.createElementBlock("div",wk,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Tk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",uk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Ok,[e.createElementVNode("span",Fk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Pk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ro=_.goodWx)!=null&&ro.distance?"":"analysis-none"} card analysis-card`)},[(Do=_.goodWx)!=null&&Do.distance?(e.openBlock(),e.createElementBlock("div",Lk,[e.createElementVNode("div",Wk,[Hk,Mk,e.createElementVNode("div",Gk,[e.createElementVNode("div",null,e.toDisplayString((xo=(bo=o.reportData)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(Co=_.goodWx)==null?void 0:Co.distance:(So=_.allWx)==null?void 0:So.distance),1),Ik,e.createElementVNode("div",null,e.toDisplayString((ko=_.goodWx)==null?void 0:ko.pfmSpd),1)]),Rk,e.createElementVNode("div",zk,[e.createElementVNode("div",null,e.toDisplayString((Ao=_.goodWx)==null?void 0:Ao.sumFoCons)+" "+e.toDisplayString(((Bo=_.allWx)==null?void 0:Bo.inEca.distance)>0?` + ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),Uk,e.createElementVNode("div",null,e.toDisplayString((wo=_.goodWx)==null?void 0:wo.time),1)]),Yk,e.createElementVNode("div",Zk,e.toDisplayString(_.fuelConclusion.fo.entireCons)+" MT",1),$k]),e.createElementVNode("div",Qk,[Jk,Kk,e.createElementVNode("div",qk,[e.createElementVNode("div",null,e.toDisplayString((uo=(To=o.reportData)==null?void 0:To.weather)!=null&&uo.noExtrapolation?(Oo=_.goodWx)==null?void 0:Oo.distance:(Fo=_.allWx)==null?void 0:Fo.distance),1),jk,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Xk,e.createElementVNode("div",vk,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.overTolerance),1),e4,t4]),o4,e.createElementVNode("div",l4,e.toDisplayString(_.fuelConclusion.fo.maxCons)+" MT",1),a4]),e.createElementVNode("div",n4,[s4,i4,e.createElementVNode("div",c4,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?(Wo=_.goodWx)==null?void 0:Wo.distance:(Ho=_.allWx)==null?void 0:Ho.distance),1),d4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),r4,e.createElementVNode("div",m4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.underTolerance),1),p4,h4]),y4,e.createElementVNode("div",E4,e.toDisplayString(_.fuelConclusion.fo.minCons)+" MT",1),_4])])):e.createCommentVNode("",!0)],2)]),((Go=(Mo=_==null?void 0:_.extend)==null?void 0:Mo.cp)==null?void 0:Go.dgo)>0?(e.openBlock(),e.createElementBlock("div",N4,[e.createElementVNode("div",V4,[f4,(Io=_.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",g4,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",D4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",b4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",x4,[e.createElementVNode("span",C4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",S4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ro=_.goodWx)!=null&&Ro.distance?"":"analysis-none"} card analysis-card`)},[(zo=_.goodWx)!=null&&zo.distance?(e.openBlock(),e.createElementBlock("div",k4,[e.createElementVNode("div",A4,[B4,w4,e.createElementVNode("div",T4,[e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=o.reportData)==null?void 0:Zo.weather)!=null&&$o.noExtrapolation?(Qo=_.goodWx)==null?void 0:Qo.distance:(Jo=_.allWx)==null?void 0:Jo.distance),1),u4,e.createElementVNode("div",null,e.toDisplayString((Ko=_.goodWx)==null?void 0:Ko.pfmSpd),1)]),O4,e.createElementVNode("div",F4,[e.createElementVNode("div",null,e.toDisplayString((qo=_.goodWx)==null?void 0:qo.sumDgoCons)+" "+e.toDisplayString(((jo=_.allWx)==null?void 0:jo.inEca.distance)>0?` - ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),P4,e.createElementVNode("div",null,e.toDisplayString((Xo=_.goodWx)==null?void 0:Xo.time),1)]),L4,e.createElementVNode("div",W4,e.toDisplayString(_.fuelConclusion.dgo.entireCons)+" MT",1),H4]),e.createElementVNode("div",M4,[G4,I4,e.createElementVNode("div",R4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=_.goodWx)==null?void 0:tl.distance:(ol=_.allWx)==null?void 0:ol.distance),1),z4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),U4,e.createElementVNode("div",Y4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.overTolerance),1),Z4,$4]),Q4,e.createElementVNode("div",J4,e.toDisplayString(_.fuelConclusion.dgo.maxCons)+" MT",1),K4]),e.createElementVNode("div",q4,[j4,X4,e.createElementVNode("div",v4,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=_.goodWx)==null?void 0:nl.distance:(sl=_.allWx)==null?void 0:sl.distance),1),eA,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),tA,e.createElementVNode("div",oA,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.underTolerance),1),lA,aA]),nA,e.createElementVNode("div",sA,e.toDisplayString(_.fuelConclusion.dgo.minCons)+" MT",1),iA])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),cA,e.createElementVNode("div",dA,[e.createElementVNode("div",rA,[mA,e.createElementVNode("div",pA,[e.createElementVNode("div",hA,[yA,EA,e.createElementVNode("div",_A,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),NA,VA]),fA]),e.createElementVNode("div",gA,[DA,bA,e.createElementVNode("div",xA,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),CA,SA]),kA]),e.createElementVNode("div",AA,[BA,wA,e.createElementVNode("div",TA,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),uA,OA]),FA]),PA])]),e.createElementVNode("div",LA,[WA,e.createElementVNode("div",HA,[e.createElementVNode("div",MA,[GA,IA,e.createElementVNode("div",RA,[e.createElementVNode("div",null,e.toDisplayString((yl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),zA,UA]),YA,ZA,$A]),e.createElementVNode("div",QA,[JA,KA,e.createElementVNode("div",qA,[e.createElementVNode("div",null,e.toDisplayString((_l=(El=o.reportData)==null?void 0:El.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),jA,XA]),vA,eB,tB]),e.createElementVNode("div",oB,[lB,aB,e.createElementVNode("div",nB,[e.createElementVNode("div",null,e.toDisplayString((Vl=(Nl=o.reportData)==null?void 0:Nl.weather)!=null&&Vl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),sB,iB]),cB,dB,rB]),mB,pB])])])])])}),128))])],2)}const yB=Ee(KD,[["render",hB],["__scopeId","data-v-037d24da"]]),xoe="",EB={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,c){var m;let l="";const a=((m=this.summaryTable)==null?void 0:m.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,m;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(m=(a=this.reportData)==null?void 0:a.segments)==null||m.forEach((i,p)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((f,h)=>{let V=JSON.parse(JSON.stringify(f));V.cp=D,t.push(V)})}),t.sort(function(i,p){let D=i.date,f=p.date;return D-f});let n="",o="";t.forEach((i,p)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const f=O(i.utc).utc().format("D-MMM");f!==o&&(i.lastdate=f,o=f),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=O(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},pn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),_B=pn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),NB={class:"table",id:"second-table"},VB={class:"summary-table"},fB=pn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"},"   Date   "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),gB={class:"summary-tbody"},DB=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),bB={class:"voyage-map",style:{"page-break-inside":"avoid"}},xB=pn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),CB=["src"],SB=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function kB(t,n,o,c,l,a){var m,i,p,D,f;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[_B,e.createElementVNode("div",NB,[e.createElementVNode("div",null,[e.createElementVNode("table",VB,[fB,e.createElementVNode("tbody",gB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,V)=>{var C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,V))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString((C=h.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(d=h.cp)==null?void 0:d.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((k=(S=h.meteo)==null?void 0:S.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((u=(B=(A=h.meteo)==null?void 0:A.wave)==null?void 0:B.swell)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((L=(x=(F=h.meteo)==null?void 0:F.wave)==null?void 0:x.swell)==null?void 0:L.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((R=(Z=(U=h.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((P=h.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((g=h.noon)==null?void 0:g.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((I=h.noon)==null?void 0:I.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(G=h.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((Q=h.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(j=h.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(K=h.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),DB,e.createElementVNode("div",bB,[xB,e.createElementVNode("img",{style:{width:"100%"},src:(f=o.reportData)==null?void 0:f.chartUrl,alt:""},null,8,CB),SB])],2)}const AB=Ee(EB,[["render",kB],["__scopeId","data-v-a420dc44"]]),Coe="",BB={components:{Summary:yB,Inventory:AB},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},wB={class:"voyage-report"};function TB(t,n,o,c,l,a){const m=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",wB,[e.createVNode(m,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const Sn=Ee(BB,[["render",TB],["__scopeId","data-v-7345a543"]]),Soe="",uB={components:{Lng:tn,Lat:on,Editor:Uo},props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const m={time:O(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+O(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(m)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},y=t=>(e.pushScopeId("data-v-44cf40c3"),t=t(),e.popScopeId(),t),OB={class:"report-summary"},FB={class:"section voyage-section flex-space"},PB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},LB={class:"flex-space label-block",style:{width:"100%"}},WB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),HB={style:{"text-transform":"uppercase"}},MB={class:"flex-space label-block",style:{width:"100%"}},GB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),IB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},RB={class:"flex-space label-block",style:{width:"100%"}},zB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),UB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZB={class:"flex-space label-block",style:{width:"100%"}},$B=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),QB={key:0,class:"flex-end",style:{flex:"1"}},JB={key:1,class:"flex-end",style:{flex:"1"}},KB=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),qB={class:"flex-end",style:{width:"150px"}},jB={class:"flex-space label-block",style:{width:"100%"}},XB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),vB={key:0,class:"flex-end",style:{flex:"1"}},e5={key:1,class:"flex-end",style:{flex:"1"}},t5=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),o5={class:"flex-end",style:{width:"150px"}},l5={class:"flex-space label-block",style:{width:"100%"}},a5=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),n5={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},s5={class:"section weather-section"},i5=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),c5={class:"definition"},d5={class:"txt"},r5={class:"section summary-section"},m5=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),p5={class:"phase-box"},h5={class:"phase-index"},y5={class:"phase-position"},E5={key:0},_5={key:1},N5=y(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),V5={class:"phase-position"},f5={key:0},g5={key:1},D5=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),b5={class:"phase-cp flex-space"},x5={class:"cp-box"},C5=y(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),S5={class:"flex-space"},k5=y(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),A5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),B5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),w5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),T5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),u5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),O5=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),F5=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),P5={class:"phase-conclusion flex-space"},L5={class:"item-conclusion"},W5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),H5={class:"value flex-start"},M5=y(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),G5={key:0,class:"label flex-end"},I5={key:0},R5={key:1},z5={key:2},U5={key:1,class:"label flex-end"},Y5={key:2,class:"value flex-end"},Z5={key:0},$5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),Q5={class:"gain"},J5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),K5={key:1},q5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),j5={class:"lost"},X5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),v5={key:2},e8={class:"item-conclusion"},t8=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),o8={class:"value flex-start"},l8=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),a8={key:0,class:"label flex-end"},n8={key:0},s8={key:1},i8={key:2},c8={key:1,class:"label flex-end"},d8={key:2,class:"value flex-end"},r8={key:0},m8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),p8={class:"gain"},h8=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),y8={key:1},E8=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),_8={class:"lost"},N8=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),V8={key:2},f8={class:"item-conclusion"},g8=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),D8={class:"value flex-start"},b8=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),x8={key:0,class:"label flex-end"},C8={key:0},S8={key:1},k8={key:2},A8={key:1,class:"label flex-end"},B8={key:2,class:"value flex-end"},w8={key:0},T8=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),u8={class:"gain"},O8=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),F8={key:1},P8=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),L8={class:"lost"},W8=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),H8={key:2},M8=y(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),G8=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),I8={key:0,class:"exclusion-block"},R8=y(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),z8=y(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),U8={style:{margin:"8px 0"}},Y8={class:"remark-table"},Z8=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),$8=["innerHTML"],Q8={class:"section segment-section"},J8=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),K8={class:"segment-index flex-center"},q8={class:"segment-position"},j8={key:0},X8={key:1},v8=y(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),ew={class:"segment-position"},tw={key:0},ow={key:1},lw=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),aw={style:{margin:"10px 0 0"}},nw=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),sw=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),iw=y(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),cw={class:"good-wx"},dw={class:"good-wx"},rw=y(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),mw={class:"good-wx"},pw={class:"good-wx"},hw=y(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),yw={class:"good-wx"},Ew={class:"good-wx"},_w=y(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Nw={class:"good-wx"},Vw={class:"good-wx"},fw=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),gw={class:"good-wx"},Dw={class:"good-wx"},bw=y(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),xw={class:"good-wx"},Cw={class:"good-wx"},Sw=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),kw={class:"good-wx"},Aw={class:"good-wx"},Bw={key:0,class:"flex-end tip"},ww={key:1,class:"segment-speed"},Tw={class:"flex-center"},uw=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Ow={class:"speed-right flex-space"},Fw=y(()=>e.createElementVNode("span",null,"-",-1)),Pw=y(()=>e.createElementVNode("span",null,"-",-1)),Lw=y(()=>e.createElementVNode("label",null,"=",-1)),Ww={class:"speed"},Hw=y(()=>e.createElementVNode("span",null,"-",-1)),Mw=y(()=>e.createElementVNode("label",null,"=",-1)),Gw={class:"speed"},Iw={key:2,class:"under"},Rw={key:3,class:"over"},zw={class:"flex-center"},Uw=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Yw={class:"speed-right formula flex-space"},Zw=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),$w=y(()=>e.createElementVNode("label",null,"-",-1)),Qw=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),Jw=y(()=>e.createElementVNode("label",null,"-",-1)),Kw=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),qw=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),jw=y(()=>e.createElementVNode("label",null,"-",-1)),Xw=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),vw=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),e7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),t7={key:2,class:"segment-speed"},o7={class:"flex-center"},l7=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),a7={class:"speed-right flex-space"},n7=y(()=>e.createElementVNode("span",null,"-",-1)),s7=y(()=>e.createElementVNode("span",null,"-",-1)),i7=y(()=>e.createElementVNode("label",null,"=",-1)),c7={class:"speed"},d7=y(()=>e.createElementVNode("span",null,"-",-1)),r7=y(()=>e.createElementVNode("label",null,"=",-1)),m7={class:"speed"},p7={key:2,class:"under"},h7={key:3,class:"over"},y7={class:"flex-center"},E7=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),_7={class:"speed-right formula flex-space"},N7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),V7=y(()=>e.createElementVNode("label",null,"-",-1)),f7=y(()=>e.createElementVNode("label",null,"Current Factor",-1)),g7=y(()=>e.createElementVNode("label",null,"-",-1)),D7=y(()=>e.createElementVNode("label",null,"Weather Factor",-1)),b7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),x7=y(()=>e.createElementVNode("label",null,"-",-1)),C7=y(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),S7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),k7=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),A7={class:"segment-formula"},B7={class:"header-block flex-start"},w7=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),T7={class:"title"},u7={key:0,style:{"margin-left":"4px","font-weight":"300"}},O7={class:"formula-block"},F7={class:"flex-evenly"},P7=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),L7={class:"formula-right flex-evenly"},W7={class:"fraction",style:{width:"240px"}},H7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),M7=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),G7=y(()=>e.createElementVNode("div",null,"(a)",-1)),I7={class:"flex-center"},R7={class:"formula-left flex-space"},z7=y(()=>e.createElementVNode("label",null,"=",-1)),U7={class:"formula-right flex-evenly"},Y7={class:"fraction",style:{width:"240px"}},Z7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),$7=y(()=>e.createElementVNode("div",null,"(b)",-1)),Q7={class:"flex-center"},J7={class:"formula-left flex-space"},K7=y(()=>e.createElementVNode("label",null,"=",-1)),q7={class:"formula-right flex-evenly"},j7={class:"fraction",style:{width:"240px"}},X7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),v7=y(()=>e.createElementVNode("div",null,"(c)",-1)),e6=e.createStaticVNode('<div class="flex-start" data-v-44cf40c3><div class="flex-space" style="width:300px;font-weight:400;" data-v-44cf40c3><label data-v-44cf40c3>Time Lost</label><div data-v-44cf40c3>=</div><div data-v-44cf40c3>(a)</div><div data-v-44cf40c3>-</div><div data-v-44cf40c3>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44cf40c3><label data-v-44cf40c3>Time Gained</label><div data-v-44cf40c3>=</div><div data-v-44cf40c3>(c)</div><div data-v-44cf40c3>-</div><div data-v-44cf40c3>(a)</div></div></div>',1),t6={class:"formula-desc"},o6={class:"flex-end"},l6=y(()=>e.createElementVNode("label",null,"Time Lost",-1)),a6={class:"flex-end"},n6=y(()=>e.createElementVNode("label",null,"Time Gained",-1)),s6={class:"flex-end"},i6=y(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),c6={key:0,class:"formula-block",style:{"font-weight":"400"}},d6={class:"flex-evenly"},r6=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),m6={class:"formula-right flex-evenly"},p6={class:"fraction",style:{width:"240px"}},h6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),y6=y(()=>e.createElementVNode("div",null,"=",-1)),E6=y(()=>e.createElementVNode("div",null,"(a')",-1)),_6={class:"flex-center"},N6={class:"formula-left flex-space"},V6=y(()=>e.createElementVNode("label",null,"=",-1)),f6={class:"formula-right flex-evenly"},g6={class:"fraction",style:{width:"240px"}},D6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),b6=y(()=>e.createElementVNode("div",null,"=",-1)),x6=y(()=>e.createElementVNode("div",null,"(b')",-1)),C6={class:"flex-center"},S6={class:"formula-left flex-space"},k6=y(()=>e.createElementVNode("label",null,"=",-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"240px"}},w6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=y(()=>e.createElementVNode("div",null,"=",-1)),u6=y(()=>e.createElementVNode("div",null,"(c')",-1)),O6={class:"formula-conclusion",style:{"margin-bottom":"0"}},F6={key:0,class:"flex-evenly",style:{width:"500px"}},P6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),L6=y(()=>e.createElementVNode("div",null,"=",-1)),W6=y(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),H6=y(()=>e.createElementVNode("div",null,"=",-1)),M6=y(()=>e.createElementVNode("div",null,"-",-1)),G6=y(()=>e.createElementVNode("div",null,"=",-1)),I6={key:1,class:"flex-evenly",style:{width:"500px"}},R6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),z6=y(()=>e.createElementVNode("div",null,"=",-1)),U6=y(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),Y6=y(()=>e.createElementVNode("div",null,"=",-1)),Z6=y(()=>e.createElementVNode("div",null,"-",-1)),$6=y(()=>e.createElementVNode("div",null,"=",-1)),Q6=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),J6={key:1,class:"formula-conclusion"},K6=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),q6={class:"segment-formula"},j6={class:"header-block flex-start"},X6=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),v6={class:"title"},eT={key:0,style:{"margin-left":"4px","font-weight":"300"}},tT={class:"formula-block"},oT={class:"flex-evenly"},lT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),aT={class:"formula-right flex-evenly"},nT={class:"fraction",style:{width:"240px"}},sT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),iT=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),cT=y(()=>e.createElementVNode("div",null,"x",-1)),dT=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),rT=y(()=>e.createElementVNode("div",null,"(d)",-1)),mT={style:{"line-height":"1"}},pT=y(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),hT={key:0,class:"tips flex-end",style:{"font-size":"14px"}},yT={class:"flex-center"},ET=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),_T={class:"formula-right flex-evenly"},NT={class:"fraction",style:{width:"240px"}},VT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fT=y(()=>e.createElementVNode("div",null,"x",-1)),gT=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),DT=y(()=>e.createElementVNode("div",null,"(e)",-1)),bT={class:"flex-center"},xT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),CT={class:"formula-right flex-evenly"},ST={class:"fraction",style:{width:"240px"}},kT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),AT=y(()=>e.createElementVNode("div",null,"x",-1)),BT=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),wT=y(()=>e.createElementVNode("div",null,"(f)",-1)),TT=e.createStaticVNode('<div class="flex-start" data-v-44cf40c3><div class="flex-space" style="width:300px;font-weight:400;" data-v-44cf40c3><label data-v-44cf40c3>Fuel Over-consumption</label><div data-v-44cf40c3>=</div><div data-v-44cf40c3>(d)</div><div data-v-44cf40c3>-</div><div data-v-44cf40c3>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-44cf40c3><label data-v-44cf40c3>Fuel Saving</label><div data-v-44cf40c3>=</div><div data-v-44cf40c3>(f)</div><div data-v-44cf40c3>-</div><div data-v-44cf40c3>(d)</div></div></div>',1),uT={class:"flex-center"},OT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),FT={class:"formula-right flex-evenly"},PT={class:"fraction",style:{width:"270px"}},LT=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),WT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),HT={class:"flex-center"},MT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),GT={class:"formula-right flex-evenly"},IT={class:"fraction",style:{width:"270px"}},RT=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),zT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=y(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),YT={class:"header-block flex-start",style:{"margin-top":"10px"}},ZT=y(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),$T={class:"title"},QT={key:0,class:"formula-block"},JT={class:"flex-evenly"},KT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),qT={class:"formula-right flex-evenly"},jT={class:"fraction",style:{width:"240px"}},XT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),vT=y(()=>e.createElementVNode("div",null,"x",-1)),e9={class:"fraction",style:{width:"240px"}},t9={key:0},o9=y(()=>e.createElementVNode("span",null," + ",-1)),l9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),a9=y(()=>e.createElementVNode("div",null,"=",-1)),n9=y(()=>e.createElementVNode("div",null,"(d')",-1)),s9={class:"flex-evenly"},i9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),c9={class:"formula-right flex-evenly"},d9={class:"fraction",style:{width:"240px"}},r9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),m9=y(()=>e.createElementVNode("div",null,"x",-1)),p9={class:"fraction",style:{width:"240px"}},h9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),y9=y(()=>e.createElementVNode("div",null,"24",-1)),E9=y(()=>e.createElementVNode("div",null,"=",-1)),_9=y(()=>e.createElementVNode("div",null,"(e')",-1)),N9={class:"flex-evenly"},V9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),f9={class:"formula-right flex-evenly"},g9={class:"fraction",style:{width:"240px"}},D9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),b9=y(()=>e.createElementVNode("div",null,"x",-1)),x9={class:"fraction",style:{width:"240px"}},C9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),S9=y(()=>e.createElementVNode("div",null,"24",-1)),k9=y(()=>e.createElementVNode("div",null,"=",-1)),A9=y(()=>e.createElementVNode("div",null,"(f')",-1)),B9={class:"formula-conclusion",style:{"margin-bottom":"0"}},w9={class:"flex-evenly",style:{width:"500px"}},T9=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),u9=y(()=>e.createElementVNode("div",null,"=",-1)),O9=y(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),F9=y(()=>e.createElementVNode("div",null,"=",-1)),P9=y(()=>e.createElementVNode("div",null,"-",-1)),L9=y(()=>e.createElementVNode("div",null,"=",-1)),W9={key:0,class:"flex-evenly"},H9=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),M9=y(()=>e.createElementVNode("div",null,"=",-1)),G9={class:"fraction"},I9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),R9=y(()=>e.createElementVNode("div",null,"=",-1)),z9={class:"flex-evenly",style:{width:"700px"}},U9=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),Y9=y(()=>e.createElementVNode("div",null,"=",-1)),Z9=y(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),$9=y(()=>e.createElementVNode("div",null,"=",-1)),Q9=y(()=>e.createElementVNode("div",null,"-",-1)),J9=y(()=>e.createElementVNode("div",null,"=",-1)),K9={key:0,class:"flex-evenly",style:{width:"500px"}},q9=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),j9=y(()=>e.createElementVNode("div",null,"=",-1)),X9={class:"fraction",style:{width:"140px"}},v9=y(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),eu=y(()=>e.createElementVNode("div",null,"=",-1)),tu=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),ou={key:1,class:"formula-conclusion"},lu={class:"header-block flex-end",style:{"margin-top":"10px"}},au=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),nu={class:"title"},su={key:0,class:"formula-block"},iu={class:"flex-evenly"},cu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),du={class:"formula-right flex-evenly"},ru={class:"fraction",style:{width:"240px"}},mu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),pu=y(()=>e.createElementVNode("div",null,"x",-1)),hu={class:"fraction",style:{width:"240px"}},yu={key:0},Eu=y(()=>e.createElementVNode("span",null," - ",-1)),_u=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Nu=y(()=>e.createElementVNode("div",null,"=",-1)),Vu=y(()=>e.createElementVNode("div",null,"(d'')",-1)),fu={class:"flex-evenly"},gu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Du={class:"formula-right flex-evenly"},bu={class:"fraction",style:{width:"240px"}},xu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Cu=y(()=>e.createElementVNode("div",null,"x",-1)),Su={class:"fraction",style:{width:"240px"}},ku=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Au=y(()=>e.createElementVNode("div",null,"24",-1)),Bu=y(()=>e.createElementVNode("div",null,"=",-1)),wu=y(()=>e.createElementVNode("div",null,"(e'')",-1)),Tu={class:"flex-evenly"},uu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Ou={class:"formula-right flex-evenly"},Fu={class:"fraction",style:{width:"240px"}},Pu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Lu=y(()=>e.createElementVNode("div",null,"x",-1)),Wu={class:"fraction",style:{width:"240px"}},Hu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Mu=y(()=>e.createElementVNode("div",null,"24",-1)),Gu=y(()=>e.createElementVNode("div",null,"=",-1)),Iu=y(()=>e.createElementVNode("div",null,"(f'')",-1)),Ru={class:"formula-conclusion",style:{"margin-bottom":"0"}},zu={key:0,class:"flex-evenly",style:{width:"500px"}},Uu=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),Yu=y(()=>e.createElementVNode("div",null,"=",-1)),Zu=y(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),$u=y(()=>e.createElementVNode("div",null,"=",-1)),Qu=y(()=>e.createElementVNode("div",null,"-",-1)),Ju=y(()=>e.createElementVNode("div",null,"=",-1)),Ku={key:1,class:"flex-evenly",style:{width:"700px"}},qu=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),ju=y(()=>e.createElementVNode("div",null,"=",-1)),Xu=y(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),vu=y(()=>e.createElementVNode("div",null,"=",-1)),eO=y(()=>e.createElementVNode("div",null,"-",-1)),tO=y(()=>e.createElementVNode("div",null,"=",-1)),oO=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),lO={key:1,class:"formula-conclusion"};function aO(t,n,o,c,l,a){var D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",OB,[e.createElementVNode("div",FB,[e.createElementVNode("div",PB,[e.createElementVNode("div",LB,[WB,e.createElementVNode("span",HB,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",MB,[GB,e.createElementVNode("span",IB,e.toDisplayString((f=(D=o.report)==null?void 0:D.vessel)==null?void 0:f.name)+" ("+e.toDisplayString((V=(h=o.report)==null?void 0:h.vessel)==null?void 0:V.type)+")",1)]),e.createElementVNode("div",RB,[zB,e.createElementVNode("span",UB,e.toDisplayString((d=(C=o.report)==null?void 0:C.voyage)==null?void 0:d.number),1)])]),e.createElementVNode("div",YB,[e.createElementVNode("div",ZB,[$B,(k=(S=o.report)==null?void 0:S.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",QB,e.toDisplayString((B=(A=o.report)==null?void 0:A.departure)==null?void 0:B.portName),1)):(e.openBlock(),e.createElementBlock("div",JB,[e.createVNode(m,{lat:(F=(u=o.report)==null?void 0:u.departure)==null?void 0:F.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),KB,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",qB,e.toDisplayString(a.computeUTCTime((L=o.report.departure)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",jB,[XB,(Z=(U=o.report)==null?void 0:U.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",vB,e.toDisplayString((P=(R=o.report)==null?void 0:R.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",e5,[e.createVNode(m,{lat:(I=(g=o.report)==null?void 0:g.arrival)==null?void 0:I.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t5,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",o5,e.toDisplayString(a.computeUTCTime((Q=(M=o.report)==null?void 0:M.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",l5,[a5,e.createElementVNode("span",n5,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",s5,[i5,e.createElementVNode("div",c5,[e.createElementVNode("div",d5,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",r5,[m5,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(s,X)=>{var r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",p5,[e.createElementVNode("div",h5,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=s==null?void 0:s.extend)==null?void 0:r.segTimes,(q,Te)=>{var He,Ge,pe,je,ve,et,lt,at,nt,st;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",y5,[(He=q==null?void 0:q.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",E5,e.toDisplayString((Ge=q==null?void 0:q.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",_5,e.toDisplayString(a.computeLat((pe=q==null?void 0:q.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((je=q==null?void 0:q.departure)==null?void 0:je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ve=q==null?void 0:q.departure)==null?void 0:ve.utcTime))+")",1)]),N5,e.createElementVNode("div",V5,[(et=q==null?void 0:q.arrival)!=null&&et.portName?(e.openBlock(),e.createElementBlock("span",f5,e.toDisplayString((lt=q==null?void 0:q.arrival)==null?void 0:lt.portName),1)):(e.openBlock(),e.createElementBlock("span",g5,e.toDisplayString(a.computeLat((at=q==null?void 0:q.arrival)==null?void 0:at.lat).pretty)+", "+e.toDisplayString(a.computeLng((nt=q==null?void 0:q.arrival)==null?void 0:nt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((st=q==null?void 0:q.arrival)==null?void 0:st.utcTime))+")",1)])])}),128)),D5,e.createElementVNode("div",b5,[e.createElementVNode("div",x5,[C5,e.createElementVNode("div",S5,[k5,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[A5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[B5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[w5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[T5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(le=s==null?void 0:s.extend)==null?void 0:le.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[u5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[O5,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),F5,e.createElementVNode("div",P5,[e.createElementVNode("div",L5,[W5,e.createElementVNode("div",H5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),M5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",G5,[((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",I5," Time Gained ")):((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",R5," Time Lost ")):(e.openBlock(),e.createElementBlock("div",z5,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",U5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Y5,[((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Z5,[$5,e.createElementVNode("span",Q5,e.toDisplayString((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.timeGain),1),J5])):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",K5,[q5,e.createElementVNode("span",j5,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeLost),1),X5])):(e.openBlock(),e.createElementBlock("div",v5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",e8,[t8,e.createElementVNode("div",o8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),l8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",a8,[((Ce=(xe=s==null?void 0:s.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",n8," FO Saving ")):((ue=(Se=s==null?void 0:s.fuelConclusion)==null?void 0:Se.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",s8," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",i8,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",c8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",d8,[((ye=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",r8,[m8,e.createElementVNode("span",p8,e.toDisplayString((me=(W=s==null?void 0:s.fuelConclusion)==null?void 0:W.fo)==null?void 0:me.saving),1),h8])):((Pe=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",y8,[E8,e.createElementVNode("span",_8,e.toDisplayString((ke=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:ke.overCons),1),N8])):(e.openBlock(),e.createElementBlock("div",V8,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",f8,[g8,e.createElementVNode("div",D8,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),b8]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",x8,[((Ye=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",C8," DO/GO Saving ")):((Y=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Y.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",S8," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",k8,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",A8,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",B8,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",w8,[T8,e.createElementVNode("span",u8,e.toDisplayString((Qe=($e=s==null?void 0:s.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Qe.saving),1),O8])):((Ke=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:Ke.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",F8,[P8,e.createElementVNode("span",L8,e.toDisplayString((_=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:_.overCons),1),W8])):(e.openBlock(),e.createElementBlock("div",H8,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),M8]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((z=o.report)==null?void 0:z.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[G8,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",I8,[R8,z8,e.createElementVNode("div",U8,[e.createElementVNode("table",Y8,[Z8,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,$8))],2)],2),e.createElementVNode("div",Q8,[J8,(e.openBlock(!0),e.createElementBlock(e.Fragment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,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",K8,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=s==null?void 0:s.extend)==null?void 0:r.segTimes,(Xe,Rte)=>{var pi,hi,yi,Ei,_i,Ni,Vi,fi,gi,Di;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:Rte},[e.createElementVNode("div",q8,[(pi=Xe==null?void 0:Xe.departure)!=null&&pi.portName?(e.openBlock(),e.createElementBlock("span",j8,e.toDisplayString((hi=Xe==null?void 0:Xe.departure)==null?void 0:hi.portName),1)):(e.openBlock(),e.createElementBlock("span",X8,e.toDisplayString(a.computeLat((yi=Xe==null?void 0:Xe.departure)==null?void 0:yi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ei=Xe==null?void 0:Xe.departure)==null?void 0:Ei.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((_i=Xe==null?void 0:Xe.departure)==null?void 0:_i.utcTime))+")",1)]),v8,e.createElementVNode("div",ew,[(Ni=Xe==null?void 0:Xe.arrival)!=null&&Ni.portName?(e.openBlock(),e.createElementBlock("span",tw,e.toDisplayString((Vi=Xe==null?void 0:Xe.arrival)==null?void 0:Vi.portName),1)):(e.openBlock(),e.createElementBlock("span",ow,e.toDisplayString(a.computeLat((fi=Xe==null?void 0:Xe.arrival)==null?void 0:fi.lat).pretty)+", "+e.toDisplayString(a.computeLng((gi=Xe==null?void 0:Xe.arrival)==null?void 0:gi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Di=Xe==null?void 0:Xe.arrival)==null?void 0:Di.utcTime))+")",1)])])}),128)),lw,e.createElementVNode("div",aw,[e.createElementVNode("table",null,[nw,sw,e.createElementVNode("tr",null,[iw,e.createElementVNode("td",cw,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",dw,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[rw,e.createElementVNode("td",mw,e.toDisplayString((he=(le=s==null?void 0:s.goodWx)==null?void 0:le.outEca)==null?void 0:he.time),1),e.createElementVNode("td",pw,e.toDisplayString((Ve=(Ne=s==null?void 0:s.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=s==null?void 0:s.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=s==null?void 0:s.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[hw,e.createElementVNode("td",yw,e.toDisplayString(((Ce=(xe=s==null?void 0:s.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",Ew,e.toDisplayString(((ue=(Se=s==null?void 0:s.goodWx)==null?void 0:Se.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Oe=s==null?void 0:s.allWx)==null?void 0:Oe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(W=s==null?void 0:s.allWx)==null?void 0:W.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[_w,e.createElementVNode("td",Nw,e.toDisplayString(((Pe=(Fe=s==null?void 0:s.goodWx)==null?void 0:Fe.outEca)==null?void 0:Pe.sumFoCons)||"--"),1),e.createElementVNode("td",Vw,e.toDisplayString(((ke=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Y=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.inEca)==null?void 0:Y.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[fw,e.createElementVNode("td",gw,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",Dw,e.toDisplayString(((Qe=($e=s==null?void 0:s.goodWx)==null?void 0:$e.inEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=s==null?void 0:s.allWx)==null?void 0:Je.outEca)==null?void 0:Ke.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:_.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[bw,e.createElementVNode("td",xw,e.toDisplayString(((Te=(q=s==null?void 0:s.goodWx)==null?void 0:q.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Cw,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:je.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=s==null?void 0:s.allWx)==null?void 0:ve.inEca)==null?void 0:et.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Sw,e.createElementVNode("td",kw,e.toDisplayString(((at=(lt=s==null?void 0:s.goodWx)==null?void 0:lt.outEca)==null?void 0:at.avgDgoCons)||"--"),1),e.createElementVNode("td",Aw,e.toDisplayString(((st=(nt=s==null?void 0:s.goodWx)==null?void 0:nt.inEca)==null?void 0:st.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=s==null?void 0:s.allWx)==null?void 0:ht.outEca)==null?void 0:yt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(Et=s==null?void 0:s.allWx)==null?void 0:Et.inEca)==null?void 0:_t.avgDgoCons)||"--"),1)])])]),(Nt=l.exclusion[X])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Bw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=s==null?void 0:s.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",ww,[e.createElementVNode("div",Tw,[uw,e.createElementVNode("div",Ow,[(gt=(ft=o.report)==null?void 0:ft.weather)!=null&&gt.favorableCur&&((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Mt=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((ho=s==null?void 0:s.goodWx)==null?void 0:ho.avgSpd),1),Hw,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf)>0?(Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.avgWf:`(${(fo=s==null?void 0:s.goodWx)==null?void 0:fo.avgWf})`),1),Mw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",Gw,e.toDisplayString((go=s==null?void 0:s.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgSpd),1),Fw,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf:`(${(St=s==null?void 0:s.goodWx)==null?void 0:St.avgCf})`),1),(At=(kt=o.report)==null?void 0:kt.weather)!=null&&At.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Pw,e.createElementVNode("span",null,e.toDisplayString(((Bt=s==null?void 0:s.goodWx)==null?void 0:Bt.avgWf)>0?(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf:`(${(Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Lw,e.createElementVNode("span",Ww,e.toDisplayString((ut=s==null?void 0:s.goodWx)==null?void 0:ut.pfmSpd)+" (kts)",1)],64)),(($=s==null?void 0:s.goodWx)==null?void 0:$.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",Iw,"(Under-performance)")):e.createCommentVNode("",!0),((ot=s==null?void 0:s.goodWx)==null?void 0:ot.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",Rw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",zw,[Uw,e.createElementVNode("div",Yw,[(Pt=(Ft=o.report)==null?void 0:Ft.weather)!=null&&Pt.favorableCur&&((Gt=s==null?void 0:s.goodWx)==null?void 0:Gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ut=(zt=o.report)==null?void 0:zt.weather)!=null&&Ut.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[qw,jw,Xw],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[vw,e7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Zw,$w,Qw,(Rt=(It=o.report)==null?void 0:It.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Jw,Kw],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",t7,[e.createElementVNode("div",o7,[l7,e.createElementVNode("div",a7,[(Zt=(Yt=o.report)==null?void 0:Yt.weather)!=null&&Zt.favorableCur&&(($t=s==null?void 0:s.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((to=s==null?void 0:s.allWx)==null?void 0:to.avgSpd),1),d7,e.createElementVNode("span",null,e.toDisplayString(((oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf)>0?(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf:`(${(ao=s==null?void 0:s.allWx)==null?void 0:ao.avgWf})`),1),r7,e.createElementVNode("span",m7,e.toDisplayString((no=s==null?void 0:s.allWx)==null?void 0:no.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgSpd),1),n7,e.createElementVNode("span",null,e.toDisplayString(((Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf)>0?(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf:`(${(qt=s==null?void 0:s.allWx)==null?void 0:qt.avgCf})`),1),s7,e.createElementVNode("span",null,e.toDisplayString(((jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(vt=s==null?void 0:s.allWx)==null?void 0:vt.avgWf})`),1),i7,e.createElementVNode("span",c7,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.pfmSpd)+" (kts)",1)],64)),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",p7,"(Under-performance)")):e.createCommentVNode("",!0),((io=s==null?void 0:s.allWx)==null?void 0:io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",h7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",y7,[E7,e.createElementVNode("div",_7,[(ro=(co=o.report)==null?void 0:co.weather)!=null&&ro.favorableCur&&((Do=s==null?void 0:s.allWx)==null?void 0:Do.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b7,x7,C7,S7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[N7,V7,f7,g7,D7],64))])])])),k7,e.createElementVNode("div",A7,[e.createElementVNode("div",B7,[w7,e.createElementVNode("div",T7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(xo=(bo=o.report)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",u7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",O7,[e.createElementVNode("div",F7,[P7,e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H7,M7]),G7])]),e.createElementVNode("div",I7,[e.createElementVNode("div",R7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ao=(ko=s==null?void 0:s.extend)==null?void 0:ko.cp)==null?void 0:Ao.speed,"Under"))+"kts)",1),z7]),e.createElementVNode("div",U7,[e.createElementVNode("div",Y7,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.report)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Z7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(uo=(To=s==null?void 0:s.extend)==null?void 0:To.cp)==null?void 0:uo.speed,"Under"))+"kts",1)]),$7])]),e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Fo=(Oo=s==null?void 0:s.extend)==null?void 0:Oo.cp)==null?void 0:Fo.speed,"Over"))+"kts)",1),K7]),e.createElementVNode("div",q7,[e.createElementVNode("div",j7,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.report)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),X7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Over"))+"kts",1)]),v7])]),e6]),e.createElementVNode("div",t6,[e.createElementVNode("div",o6,[l6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Go=(Mo=s==null?void 0:s.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",a6,[n6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ro=(Io=s==null?void 0:s.extend)==null?void 0:Io.cp)==null?void 0:Ro.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",s6,[i6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zo=(zo=s==null?void 0:s.extend)==null?void 0:zo.cp)==null?void 0:Zo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Qo=($o=s==null?void 0:s.extend)==null?void 0:$o.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=s==null?void 0:s.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",c6,[e.createElementVNode("div",d6,[r6,e.createElementVNode("div",m6,[e.createElementVNode("div",p6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),h6,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.goodWx)==null?void 0:vo.pfmSpd),1)]),y6,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPfmSpd)+" (hrs)",1),E6])]),e.createElementVNode("div",_6,[e.createElementVNode("div",N6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ol=(tl=s==null?void 0:s.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Under"))+"kts)",1),V6]),e.createElementVNode("div",f6,[e.createElementVNode("div",g6,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.report)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=s==null?void 0:s.goodWx)==null?void 0:nl.distance:(sl=s==null?void 0:s.allWx)==null?void 0:sl.distance),1),D6,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.minusAbtSpd),1)]),b6,e.createElementVNode("div",null,e.toDisplayString((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.timeAtMinusAbtSpd)+" (hrs)",1),x6])]),e.createElementVNode("div",C6,[e.createElementVNode("div",S6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(rl=(dl=s==null?void 0:s.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Over"))+"kts)",1),k6]),e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.report)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?(hl=s==null?void 0:s.goodWx)==null?void 0:hl.distance:(yl=s==null?void 0:s.allWx)==null?void 0:yl.distance),1),w6,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.plusAbtSpd),1)]),T6,e.createElementVNode("div",null,e.toDisplayString((_l=s==null?void 0:s.timeConclusion)==null?void 0:_l.timeAtPlusAbtSpd)+" (hrs)",1),u6])]),e.createElementVNode("div",O6,[((Nl=s==null?void 0:s.timeConclusion)==null?void 0:Nl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",F6,[P6,L6,W6,H6,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),M6,e.createElementVNode("div",null,e.toDisplayString((Lt=s==null?void 0:s.timeConclusion)==null?void 0:Lt.timeAtMinusAbtSpd),1),G6,e.createElementVNode("div",null,e.toDisplayString((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.timeLost)+" (hrs)",1)])):((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",I6,[R6,z6,U6,Y6,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeAtPlusAbtSpd),1),Z6,e.createElementVNode("div",null,e.toDisplayString((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.timeAtPfmSpd),1),$6,e.createElementVNode("div",null,e.toDisplayString((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusionStatus)==="Lost"?"flex-center lost":((Tl=s==null?void 0:s.timeConclusion)==null?void 0:Tl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[Q6,e.createElementVNode("div",null,e.toDisplayString(((ul=s==null?void 0:s.timeConclusion)==null?void 0:ul.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",J6,e.toDisplayString(l.noGoodWxDay),1))]),K6,e.createElementVNode("div",q6,[e.createElementVNode("div",j6,[X6,e.createElementVNode("div",v6,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Fl=(Ol=o.report)==null?void 0:Ol.weather)!=null&&Fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",eT,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",tT,[e.createElementVNode("div",oT,[lT,e.createElementVNode("div",aT,[e.createElementVNode("div",nT,[e.createElementVNode("div",null,e.toDisplayString((Ll=(Pl=o.report)==null?void 0:Pl.weather)!=null&&Ll.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),sT,iT]),cT,dT,rT])]),e.createElementVNode("div",mT,[pT,((Hl=(Wl=s.extend)==null?void 0:Wl.cp)==null?void 0:Hl.dgo)>0?(e.openBlock(),e.createElementBlock("div",hT,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",yT,[ET,e.createElementVNode("div",_T,[e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ml=o.report)==null?void 0:Ml.weather)!=null&&Gl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),VT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Rl=(Il=s==null?void 0:s.extend)==null?void 0:Il.cp)==null?void 0:Rl.speed,"Under"))+"kts",1)]),fT,gT,DT])]),e.createElementVNode("div",bT,[xT,e.createElementVNode("div",CT,[e.createElementVNode("div",ST,[e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=o.report)==null?void 0:zl.weather)!=null&&Ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),kT,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zl=(Yl=s==null?void 0:s.extend)==null?void 0:Yl.cp)==null?void 0:Zl.speed,"Under"))+"kts",1)]),AT,BT,wT])]),TT,((Ql=($l=s.extend)==null?void 0:$l.cp)==null?void 0:Ql.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",uT,[OT,e.createElementVNode("div",FT,[e.createElementVNode("div",PT,[LT,WT,e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=o.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",GT,[e.createElementVNode("div",IT,[RT,zT,e.createElementVNode("div",null,e.toDisplayString((jl=(ql=o.report)==null?void 0:ql.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),UT,e.createElementVNode("div",YT,[ZT,e.createElementVNode("div",$T,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(Xl=s==null?void 0:s.goodWx)!=null&&Xl.distance?(e.openBlock(),e.createElementBlock("div",QT,[e.createElementVNode("div",JT,[KT,e.createElementVNode("div",qT,[e.createElementVNode("div",jT,[e.createElementVNode("div",null,e.toDisplayString((ea=(vl=o.report)==null?void 0:vl.weather)!=null&&ea.noExtrapolation?(ta=s==null?void 0:s.goodWx)==null?void 0:ta.distance:(oa=s==null?void 0:s.allWx)==null?void 0:oa.distance),1),XT,e.createElementVNode("div",null,e.toDisplayString((la=s==null?void 0:s.goodWx)==null?void 0:la.pfmSpd),1)]),vT,e.createElementVNode("div",e9,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((aa=s==null?void 0:s.goodWx)==null?void 0:aa.sumFoCons),1),((sa=(na=s==null?void 0:s.goodWx)==null?void 0:na.inEca)==null?void 0:sa.distance)>0?(e.openBlock(),e.createElementBlock("span",t9,[o9,e.createElementVNode("span",null,e.toDisplayString((ca=(ia=s==null?void 0:s.fuelConclusion)==null?void 0:ia.fo)==null?void 0:ca.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),l9,e.createElementVNode("div",null,e.toDisplayString((da=s==null?void 0:s.goodWx)==null?void 0:da.time),1)]),a9,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=s.fuelConclusion)==null?void 0:ra.fo)==null?void 0:ma.entireCons)+" (mt)",1),n9])]),e.createElementVNode("div",s9,[i9,e.createElementVNode("div",c9,[e.createElementVNode("div",d9,[e.createElementVNode("div",null,e.toDisplayString((ha=(pa=o.report)==null?void 0:pa.weather)!=null&&ha.noExtrapolation?(ya=s==null?void 0:s.goodWx)==null?void 0:ya.distance:(Ea=s==null?void 0:s.allWx)==null?void 0:Ea.distance),1),r9,e.createElementVNode("div",null,e.toDisplayString((_a=s==null?void 0:s.timeConclusion)==null?void 0:_a.minusAbtSpd),1)]),m9,e.createElementVNode("div",p9,[e.createElementVNode("div",null,e.toDisplayString((Va=(Na=s==null?void 0:s.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.overTolerance),1),h9,y9]),E9,e.createElementVNode("div",null,e.toDisplayString((ga=(fa=s.fuelConclusion)==null?void 0:fa.fo)==null?void 0:ga.maxCons)+" (mt)",1),_9])]),e.createElementVNode("div",N9,[V9,e.createElementVNode("div",f9,[e.createElementVNode("div",g9,[e.createElementVNode("div",null,e.toDisplayString((ba=(Da=o.report)==null?void 0:Da.weather)!=null&&ba.noExtrapolation?(xa=s==null?void 0:s.goodWx)==null?void 0:xa.distance:(Ca=s==null?void 0:s.allWx)==null?void 0:Ca.distance),1),D9,e.createElementVNode("div",null,e.toDisplayString((Sa=s==null?void 0:s.timeConclusion)==null?void 0:Sa.minusAbtSpd),1)]),b9,e.createElementVNode("div",x9,[e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=s==null?void 0:s.fuelConclusion)==null?void 0:ka.fo)==null?void 0:Aa.underTolerance),1),C9,S9]),k9,e.createElementVNode("div",null,e.toDisplayString((wa=(Ba=s.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:wa.minCons)+" (mt)",1),A9])]),e.createElementVNode("div",B9,[((ua=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:ua.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",w9,[T9,u9,O9,F9,e.createElementVNode("div",null,e.toDisplayString((Fa=(Oa=s==null?void 0:s.fuelConclusion)==null?void 0:Oa.fo)==null?void 0:Fa.entireCons),1),P9,e.createElementVNode("div",null,e.toDisplayString((La=(Pa=s==null?void 0:s.fuelConclusion)==null?void 0:Pa.fo)==null?void 0:La.maxCons),1),L9,e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.overCons),1)]),(Ga=(Ma=s==null?void 0:s.goodWx)==null?void 0:Ma.inEca)!=null&&Ga.distance?(e.openBlock(),e.createElementBlock("div",W9,[H9,M9,e.createElementVNode("div",G9,[e.createElementVNode("div",null,e.toDisplayString((Ra=(Ia=s==null?void 0:s.goodWx)==null?void 0:Ia.inEca)==null?void 0:Ra.distance)+" * "+e.toDisplayString((Ua=(za=s==null?void 0:s.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.overCons),1),I9,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=o.report)==null?void 0:Ya.weather)!=null&&Za.noExtrapolation?($a=s==null?void 0:s.goodWx)==null?void 0:$a.distance:(Qa=s==null?void 0:s.allWx)==null?void 0:Qa.distance),1)]),R9,e.createElementVNode("div",null,e.toDisplayString((mo=(ae=s==null?void 0:s.fuelConclusion)==null?void 0:ae.fo)==null?void 0:mo.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Ka=(Ja=s==null?void 0:s.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:Ka.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",z9,[U9,Y9,Z9,$9,e.createElementVNode("div",null,e.toDisplayString((ne=(qa=s==null?void 0:s.fuelConclusion)==null?void 0:qa.fo)==null?void 0:ne.minCons),1),Q9,e.createElementVNode("div",null,e.toDisplayString((ja=(po=s==null?void 0:s.fuelConclusion)==null?void 0:po.fo)==null?void 0:ja.entireCons),1),J9,e.createElementVNode("div",null,e.toDisplayString((va=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:va.saving)+" (mt)",1)]),(nn=(mt=s==null?void 0:s.goodWx)==null?void 0:mt.inEca)!=null&&nn.distance?(e.openBlock(),e.createElementBlock("div",K9,[q9,j9,e.createElementVNode("div",X9,[e.createElementVNode("div",null,e.toDisplayString((cn=(sn=o.report)==null?void 0:sn.weather)!=null&&cn.noExtrapolation?(Wt=(dn=s==null?void 0:s.goodWx)==null?void 0:dn.inEca)==null?void 0:Wt.distance:(Kn=(Jn=s==null?void 0:s.allWx)==null?void 0:Jn.inEca)==null?void 0:Kn.distance)+" * "+e.toDisplayString((jn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:jn.saving),1),v9,e.createElementVNode("div",null,e.toDisplayString((vn=(Xn=o.report)==null?void 0:Xn.weather)!=null&&vn.noExtrapolation?(es=s==null?void 0:s.goodWx)==null?void 0:es.distance:(ts=s==null?void 0:s.allWx)==null?void 0:ts.distance),1)]),eu,e.createElementVNode("div",null,e.toDisplayString((ls=(os=s==null?void 0:s.fuelConclusion)==null?void 0:os.fo)==null?void 0:ls.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((ns=(as=s==null?void 0:s.fuelConclusion)==null?void 0:as.fo)==null?void 0:ns.conclusionStatus)==="Over"?"flex-center lost":((is=(ss=s==null?void 0:s.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[tu,e.createElementVNode("div",null,e.toDisplayString(((ds=(cs=s==null?void 0:s.fuelConclusion)==null?void 0:cs.fo)==null?void 0:ds.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",ou,e.toDisplayString(l.noGoodWxDay),1)),((ms=(rs=s==null?void 0:s.extend)==null?void 0:rs.cp)==null?void 0:ms.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",lu,[au,e.createElementVNode("div",nu,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(ps=s==null?void 0:s.goodWx)!=null&&ps.distance?(e.openBlock(),e.createElementBlock("div",su,[e.createElementVNode("div",iu,[cu,e.createElementVNode("div",du,[e.createElementVNode("div",ru,[e.createElementVNode("div",null,e.toDisplayString((ys=(hs=o.report)==null?void 0:hs.weather)!=null&&ys.noExtrapolation?(Es=s==null?void 0:s.goodWx)==null?void 0:Es.distance:(_s=s==null?void 0:s.allWx)==null?void 0:_s.distance),1),mu,e.createElementVNode("div",null,e.toDisplayString((Ns=s==null?void 0:s.goodWx)==null?void 0:Ns.pfmSpd),1)]),pu,e.createElementVNode("div",hu,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Vs=s==null?void 0:s.goodWx)==null?void 0:Vs.sumDgoCons),1),((gs=(fs=s==null?void 0:s.goodWx)==null?void 0:fs.inEca)==null?void 0:gs.distance)>0?(e.openBlock(),e.createElementBlock("span",yu,[Eu,e.createElementVNode("span",null,e.toDisplayString((bs=(Ds=s==null?void 0:s.fuelConclusion)==null?void 0:Ds.fo)==null?void 0:bs.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),_u,e.createElementVNode("div",null,e.toDisplayString((xs=s==null?void 0:s.goodWx)==null?void 0:xs.time),1)]),Nu,e.createElementVNode("div",null,e.toDisplayString((Ss=(Cs=s.fuelConclusion)==null?void 0:Cs.dgo)==null?void 0:Ss.entireCons)+" (mt)",1),Vu])]),e.createElementVNode("div",fu,[gu,e.createElementVNode("div",Du,[e.createElementVNode("div",bu,[e.createElementVNode("div",null,e.toDisplayString((As=(ks=o.report)==null?void 0:ks.weather)!=null&&As.noExtrapolation?(Bs=s==null?void 0:s.goodWx)==null?void 0:Bs.distance:(ws=s==null?void 0:s.allWx)==null?void 0:ws.distance),1),xu,e.createElementVNode("div",null,e.toDisplayString((Ts=s==null?void 0:s.timeConclusion)==null?void 0:Ts.minusAbtSpd),1)]),Cu,e.createElementVNode("div",Su,[e.createElementVNode("div",null,e.toDisplayString((Os=(us=s==null?void 0:s.fuelConclusion)==null?void 0:us.dgo)==null?void 0:Os.overTolerance),1),ku,Au]),Bu,e.createElementVNode("div",null,e.toDisplayString((Ps=(Fs=s.fuelConclusion)==null?void 0:Fs.dgo)==null?void 0:Ps.maxCons)+" (mt)",1),wu])]),e.createElementVNode("div",Tu,[uu,e.createElementVNode("div",Ou,[e.createElementVNode("div",Fu,[e.createElementVNode("div",null,e.toDisplayString((Ws=(Ls=o.report)==null?void 0:Ls.weather)!=null&&Ws.noExtrapolation?(Hs=s==null?void 0:s.goodWx)==null?void 0:Hs.distance:(Ms=s==null?void 0:s.allWx)==null?void 0:Ms.distance),1),Pu,e.createElementVNode("div",null,e.toDisplayString((Gs=s==null?void 0:s.timeConclusion)==null?void 0:Gs.minusAbtSpd),1)]),Lu,e.createElementVNode("div",Wu,[e.createElementVNode("div",null,e.toDisplayString((Rs=(Is=s==null?void 0:s.fuelConclusion)==null?void 0:Is.dgo)==null?void 0:Rs.underTolerance),1),Hu,Mu]),Gu,e.createElementVNode("div",null,e.toDisplayString((Us=(zs=s.fuelConclusion)==null?void 0:zs.dgo)==null?void 0:Us.minCons)+" (mt)",1),Iu])]),e.createElementVNode("div",Ru,[((Zs=(Ys=s==null?void 0:s.fuelConclusion)==null?void 0:Ys.dgo)==null?void 0:Zs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",zu,[Uu,Yu,Zu,$u,e.createElementVNode("div",null,e.toDisplayString((Qs=($s=s==null?void 0:s.fuelConclusion)==null?void 0:$s.dgo)==null?void 0:Qs.entireCons),1),Qu,e.createElementVNode("div",null,e.toDisplayString((Ks=(Js=s==null?void 0:s.fuelConclusion)==null?void 0:Js.dgo)==null?void 0:Ks.maxCons),1),Ju,e.createElementVNode("div",null,e.toDisplayString((js=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:js.overCons),1)])):((vs=(Xs=s==null?void 0:s.fuelConclusion)==null?void 0:Xs.fo)==null?void 0:vs.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Ku,[qu,ju,Xu,vu,e.createElementVNode("div",null,e.toDisplayString((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.minCons),1),eO,e.createElementVNode("div",null,e.toDisplayString((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.entireCons),1),tO,e.createElementVNode("div",null,e.toDisplayString((ni=(ai=s==null?void 0:s.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((ii=(si=s==null?void 0:s.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.conclusionStatus)==="Over"?"flex-center lost":((di=(ci=s==null?void 0:s.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:di.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[oO,e.createElementVNode("div",null,e.toDisplayString(((mi=(ri=s==null?void 0:s.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",lO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const nO=Ee(uB,[["render",aO],["__scopeId","data-v-44cf40c3"]]),koe="",sO={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?ie.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,m,i,p,D,f,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(m=this.report)==null?void 0:m.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(p=this.report)==null?void 0:p.weather)==null?void 0:D.showWave)??!0,this.showWaterTemp=((h=(f=this.report)==null?void 0:f.weather)==null?void 0:h.waterTempSwitch)||!1}}},Be=t=>(e.pushScopeId("data-v-d315a553"),t=t(),e.popScopeId(),t),iO={class:"report-inventory"},cO={class:"section summary-section"},dO=Be(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),rO={class:"summary-block"},mO=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),pO={class:"label",rowspan:"4"},hO=Be(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),yO=Be(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),EO=Be(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),_O=Be(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),NO={class:"section inventory-section"},VO=e.createStaticVNode('<div class="legends flex-space" data-v-d315a553><div class="flex-start" style="flex:1.2;" data-v-d315a553><div class="legend good-wx" data-v-d315a553></div><div class="label flex-end" data-v-d315a553>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-d315a553><div class="legend adverse-wx" data-v-d315a553></div><div class="label" data-v-d315a553>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-d315a553><div class="legend excluded" data-v-d315a553></div><div class="label" data-v-d315a553>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-d315a553><div data-v-d315a553><label data-v-d315a553>B</label><span data-v-d315a553>BOSP</span></div><div data-v-d315a553><label data-v-d315a553>N</label><span data-v-d315a553>NOON</span></div><div data-v-d315a553><label data-v-d315a553>E</label><span data-v-d315a553>EOSP</span></div><div data-v-d315a553><label data-v-d315a553>*</label><span data-v-d315a553>Ship Reported Position</span></div></div></div>',1),fO={class:"inventory-block flex-center"},gO={style:{"font-size":"12px"}},DO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),bO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),xO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),CO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),SO=["colspan"],kO={key:0,class:"label",colspan:"2"},AO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),BO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),wO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),TO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),uO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),OO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),FO={key:0,class:"label",rowspan:"2"},PO=Be(()=>e.createElementVNode("br",null,null,-1)),LO={key:1,class:"label",rowspan:"2"},WO=Be(()=>e.createElementVNode("br",null,null,-1)),HO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),MO={key:2,class:"label",rowspan:"2"},GO=Be(()=>e.createElementVNode("br",null,null,-1)),IO={key:3,class:"label",colspan:"2"},RO={key:4,class:"label",rowspan:"2"},zO=Be(()=>e.createElementVNode("br",null,null,-1)),UO={key:5,class:"label",colspan:"2"},YO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),ZO={key:6,class:"label",rowspan:"2"},$O={key:7,class:"label",rowspan:"2"},QO={key:8,class:"label",rowspan:"2"},JO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),KO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),qO=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),jO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),XO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),vO=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),eF=Be(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),tF=Be(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),oF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),lF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),aF=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),nF=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),sF={key:0,class:"label"},iF={key:1,class:"label"},cF={key:2,class:"label"},dF={key:3,class:"label"},rF=Be(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),mF=Be(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),pF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),hF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),yF=Be(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),EF=Be(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),_F=Be(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),NF=Be(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),VF={class:"summary-tbody"};function fF(t,n,o,c,l,a){var m;return e.openBlock(),e.createElementBlock("div",iO,[e.createElementVNode("div",cO,[dO,e.createElementVNode("div",rO,[e.createElementVNode("table",null,[mO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=o.report)==null?void 0:m.segments,(i,p)=>{var D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",pO,e.toDisplayString(p+1),1),hO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.allWx)==null?void 0:f.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.allWx)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[yO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((d=i==null?void 0:i.goodWx)==null?void 0:d.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=i==null?void 0:i.goodWx)==null?void 0:A.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.goodWx)==null?void 0:B.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[EO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.badWx)==null?void 0:U.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[_O,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.excluded)==null?void 0:P.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.excluded)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",NO,[VO,e.createElementVNode("div",fO,[e.createElementVNode("table",gO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[DO,bO,xO,CO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,SO),o.showFactor?(e.openBlock(),e.createElementBlock("th",kO,"Factor")):e.createCommentVNode("",!0),AO,BO]),e.createElementVNode("tr",null,[wO,TO,uO,OO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",FO,[e.createTextVNode("Spd"),PO,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",LO,[e.createTextVNode("Dis"),WO,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),HO,l.showWave?(e.openBlock(),e.createElementBlock("th",MO,[e.createTextVNode("Sea HT"),GO,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",IO,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",RO,[e.createTextVNode("Sig Wave"),zO,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",UO,"Current")):e.createCommentVNode("",!0),YO,o.showFactor?(e.openBlock(),e.createElementBlock("th",ZO,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",$O,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",QO,"Water Temp.")):e.createCommentVNode("",!0),JO,KO,qO,jO,XO,vO,eF,tF]),e.createElementVNode("tr",null,[oF,lF,aF,nF,l.showSwell?(e.openBlock(),e.createElementBlock("th",sF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",iF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",cF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"CF(kts)")):e.createCommentVNode("",!0),rF,mF,pF,hF,yF,EF,_F,NF])]),e.createElementVNode("tbody",VF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,p)=>{var D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((D=i.noon)!=null&&D.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((f=i.noon)==null?void 0:f.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((V=(h=i.meteo)==null?void 0:h.wind)==null?void 0:V.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((d=(C=i.meteo)==null?void 0:C.wind)==null?void 0:d.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((A=(k=(S=i.meteo)==null?void 0:S.wave)==null?void 0:k.wd)==null?void 0:A.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((F=(u=(B=i.meteo)==null?void 0:B.wave)==null?void 0:u.swell)==null?void 0:F.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((U=(L=(x=i.meteo)==null?void 0:x.wave)==null?void 0:L.swell)==null?void 0:U.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=(R=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:R.sig)==null?void 0:P.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(g=i.meteo)==null?void 0:g.current)==null?void 0:I.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const gF=Ee(sO,[["render",fF],["__scopeId","data-v-d315a553"]]),Aoe="",DF={components:{Lng:tn,Lat:on},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Yo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Yo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Yo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,D,f,h,V,C;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;const a=this.inventory.filter(d=>d.noonLength)||[];a.unshift(a[0]),a.forEach((d,S)=>{var A,B,u,F,x,L,U,Z,R,P,g,I,G,H;const k=this.computeUTCTime(S===0?d.utc:d.noonUtc,"MM-DD/HHmm[Z]");if(t.push(k),c=Math.ceil(((A=d.noon)==null?void 0:A.foCons)>c?(B=d.noon)==null?void 0:B.foCons:c),c=Math.ceil(((u=d.cp)==null?void 0:u.fo)>c?(F=d.cp)==null?void 0:F.fo:c),l=Math.ceil(((x=d.noon)==null?void 0:x.dgoCons)>l?(L=d.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((U=d.cp)==null?void 0:U.dgo)>l?(Z=d.cp)==null?void 0:Z.dgo:l),n.push([k,(R=d.noon)==null?void 0:R.avgSpd,(P=d.noon)==null?void 0:P.foCons,(g=d.noon)==null?void 0:g.dgoCons,d.avgSpdCalc,d.cp.speed,d.goodWx&&!d.excluded?100:0,d.cp.dgo,d.cp.fo,d.excluded?100:0]),S<a.length-1){const M=a[S+1];n.push([k,(I=M.noon)==null?void 0:I.avgSpd,(G=M.noon)==null?void 0:G.foCons,(H=M.noon)==null?void 0:H.dgoCons,M.avgSpdCalc,M.cp.speed,M.goodWx&&!M.excluded?100:0,M.cp.dgo,M.cp.fo,M.excluded?100:0])}});const m={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(D=(p=this.report)==null?void 0:p.weather)!=null&&D.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(f=this.spdFoConsChart)==null||f.setOption(m);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:n,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(V=(h=this.report)==null?void 0:h.weather)!=null&&V.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(C=this.spdDgoConsChart)==null||C.setOption(i)},renderWxCurrChart(){var i;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;const a=this.inventory.filter(p=>p.noonLength)||[];a.unshift(a[0]),a.forEach((p,D)=>{var h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;l=p.noonLength?p.dailyAvgCf:l;const f=this.computeUTCTime(D===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(f),c=Math.ceil(((C=(V=(h=p.meteo)==null?void 0:h.wave)==null?void 0:V.sig)==null?void 0:C.height)>c?(k=(S=(d=p.meteo)==null?void 0:d.wave)==null?void 0:S.sig)==null?void 0:k.height:c),n.push([f,(A=p.noon)==null?void 0:A.windBF,(u=(B=p.meteo)==null?void 0:B.wind)==null?void 0:u.scale,(x=(F=p.meteo)==null?void 0:F.wind)==null?void 0:x.direction,(L=p.noon)==null?void 0:L.seasHt,(R=(Z=(U=p.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height,l,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),D<a.length-1){const N=a[D+1];n.push([f,(P=N.noon)==null?void 0:P.windBF,(I=(g=N.meteo)==null?void 0:g.wind)==null?void 0:I.scale,(H=(G=N.meteo)==null?void 0:G.wind)==null?void 0:H.direction,(M=N.noon)==null?void 0:M.seasHt,(K=(j=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:j.sig)==null?void 0:K.height,N.noonLength?N.dailyAvgCf:l,N.goodWx&&!N.excluded?20:0,N.excluded?20:0])}});const m={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},itemStyle:{color:"#a362f9"},data:n,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(i=this.currChart)==null||i.setOption(m)}}},Dl=t=>(e.pushScopeId("data-v-d78e1018"),t=t(),e.popScopeId(),t),bF={class:"report-summary"},xF={class:"section chart-section"},CF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),SF={class:"chart-block"},kF={ref:"spdFoConsChart",class:"chart"},AF={ref:"spdDgoConsChart",class:"chart"},BF={ref:"currChart",class:"chart"},wF={class:"section map-section"},TF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),uF={class:"map-block"},OF={class:"flex-space"},FF={class:"voyage-block",style:{height:"197px"}},PF={class:"flex-space label-block",style:{width:"100%"}},LF=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),WF={style:{"text-transform":"uppercase"}},HF={class:"flex-space label-block",style:{width:"100%"}},MF=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),GF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},IF={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},RF={class:"flex-space label-block",style:{width:"100%"}},zF=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),UF={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},YF={class:"flex-space label-block",style:{width:"100%"}},ZF=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),$F={key:0,class:"flex-end",style:{flex:"1"}},QF={key:1,class:"flex-end",style:{flex:"1"}},JF=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),KF={class:"flex-end",style:{width:"140px"}},qF={class:"flex-space label-block",style:{width:"100%"}},jF=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),XF={key:0,class:"flex-end",style:{flex:"1"}},vF={key:1,class:"flex-end",style:{flex:"1"}},eP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),tP={class:"flex-end",style:{width:"140px"}},oP={class:"flex-space label-block",style:{width:"100%"}},lP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),aP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},nP=e.createStaticVNode('<div class="legend-block" data-v-d78e1018><div style="position:absolute;margin-top:-8px;" data-v-d78e1018>LEGEND</div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>0812</div><div data-v-d78e1018><div data-v-d78e1018>08 - Day of the month</div><div data-v-d78e1018>12 - Hours of the day</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-d78e1018></i></div><div data-v-d78e1018><div data-v-d78e1018>Wind from N (000)</div><div data-v-d78e1018>Each bard = 10 kts</div><div data-v-d78e1018>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>W 4</div><div data-v-d78e1018> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-d78e1018><div class="good-wx" data-v-d78e1018>Date</div><div data-v-d78e1018>Good weather days</div></div></div>',1),sP=["src"],iP=e.createStaticVNode('<div class="section method-section" data-v-d78e1018><div class="header-block flex-center" data-v-d78e1018><i class="iconfont" data-v-d78e1018></i><div class="title" data-v-d78e1018>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>1. Good Weather Method</div><div class="method-body" data-v-d78e1018> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-d78e1018> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-d78e1018> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-d78e1018> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-d78e1018> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>4. “About”</div><div class="method-body" data-v-d78e1018> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-d78e1018> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-d78e1018> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-d78e1018> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-d78e1018> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>6. Further reference materials</div><div class="method-body" data-v-d78e1018>Please send mail to <a href="mailto:op@ormwx.com" data-v-d78e1018>op@ormwx.com</a>.</div></div></div></div>',1);function cP(t,n,o,c,l,a){var p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",bF,[e.createElementVNode("div",xF,[CF,e.createElementVNode("div",SF,[e.createElementVNode("div",kF,null,512),e.createElementVNode("div",AF,null,512),e.createElementVNode("div",BF,null,512)])]),e.createElementVNode("div",wF,[TF,e.createElementVNode("div",uF,[e.createElementVNode("div",OF,[e.createElementVNode("div",FF,[e.createElementVNode("div",PF,[LF,e.createElementVNode("span",WF,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",HF,[MF,e.createElementVNode("span",GF,e.toDisplayString((D=(p=o.report)==null?void 0:p.vessel)==null?void 0:D.name),1),e.createElementVNode("span",IF,"("+e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",RF,[zF,e.createElementVNode("span",UF,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",YF,[ZF,(S=(d=o.report)==null?void 0:d.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",$F,e.toDisplayString((A=(k=o.report)==null?void 0:k.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",QF,[e.createVNode(m,{lat:(u=(B=o.report)==null?void 0:B.departure)==null?void 0:u.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),JF,e.createVNode(i,{lng:(F=o.report.departure)==null?void 0:F.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",KF,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",qF,[jF,(U=(L=o.report)==null?void 0:L.arrival)!=null&&U.portName?(e.openBlock(),e.createElementBlock("span",XF,e.toDisplayString((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",vF,[e.createVNode(m,{lat:(g=(P=o.report)==null?void 0:P.arrival)==null?void 0:g.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),eP,e.createVNode(i,{lng:(G=(I=o.report)==null?void 0:I.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",tP,e.toDisplayString(a.computeUTCTime((M=(H=o.report)==null?void 0:H.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",oP,[lP,e.createElementVNode("span",aP,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),nP]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,sP)])]),iP])}const dP=Ee(DF,[["render",cP],["__scopeId","data-v-d78e1018"]]),Boe="",rP={components:{Brand:Eo,Summary:nO,Inventory:gF,Chart:dP,Loading:an},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,m,i=!1;c.inventory.sample.hours.forEach((p,D)=>{a||(a=p),(!m||i)&&(m=p,i=!1),a.segIndex===p.segIndex?a.segLength=(a.segLength||0)+1:(a=p,a.segLength=1),m.noonLength=(m.noonLength||0)+1;let f=p.type.charAt(0);["N","M","E"].includes(f)&&(i=!0,m.dailyAvgCf=p.dailyAvgCf,m.avgSpdCalc=p.avgSpdCalc,m.distanceCalc=p.distanceCalc,m.noonUtc=p.utc,m.noon=p.noon),p.abbrev=f,f=f==="M"?"*":f==="A"?"":f,p.time=`${f} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ie.LngLatHelper.lng2pretty(p.lng),p._lat=ie.LngLatHelper.lat2pretty(p.lat),p.cp=l,t.push(p)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function mP(t,n,o,c,l,a){var h,V,C,d;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),f=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((V=(h=o.report)==null?void 0:h.weather)!=null&&V.referenceOnly||(d=(C=o.report)==null?void 0:C.weather)!=null&&d.overallAsGoodWx?"report-section watermark":"report-section")},[e.createVNode(m,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=S=>l.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(D,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(f,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const kn=Ee(rP,[["render",mP],["__scopeId","data-v-cde0cccb"]]),pP={install(t){t.component("OpiVoyageReport",Cn),t.component("FliVoyageReport",Sn),t.component("OrmVoyageReport",kn)}},woe="",Toe="",uoe="",Ooe="",hP={props:{tropicals:{type:Object,default:()=>({})},ts:{type:String,default:()=>""}},components:{TropicalGL:yn.TropicalGL,LatLngGL:yn.LatLngGL},data(){return{map:void 0}},watch:{"tropicals.version":{handler(){var t;(t=this.map)==null||t.flyTo({center:this.tropicals.center})},immediate:!0}},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg";const t=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clxwst0tq00wd01rn0usb2eer",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1});t.on("load",()=>{var n,o;this.map=t,(o=this.map)==null||o.flyTo({center:(n=this.tropicals)==null?void 0:n.center})})}}},yP=t=>(e.pushScopeId("data-v-7c505d6d"),t=t(),e.popScopeId(),t),EP={class:"map"},_P=yP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function NP(t,n,o,c,l,a){const m=e.resolveComponent("TropicalGL"),i=e.resolveComponent("LatLngGL");return e.openBlock(),e.createElementBlock("div",EP,[_P,l.map?(e.openBlock(),e.createBlock(m,{key:0,class:"hurricane",map:l.map,tropicals:o.tropicals,date:o.ts},null,8,["map","tropicals","date"])):e.createCommentVNode("",!0),l.map?(e.openBlock(),e.createBlock(i,{key:1,map:l.map,show:!0,bottom:"10px"},null,8,["map"])):e.createCommentVNode("",!0)])}const VP=Ee(hP,[["render",NP],["__scopeId","data-v-7c505d6d"]]),fP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}const t=Number(O(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(O(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=O(c).format("MMMDD"),m=O(c).format("HH");return m==="00"||l===0?a:m}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!1},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1}},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},gP=["id"];function DP(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,gP)])}const bP=Ee(fP,[["render",DP]]);function An(t,n,o){o===void 0&&(o={});var c={type:"Feature"};return(o.id===0||o.id)&&(c.id=o.id),o.bbox&&(c.bbox=o.bbox),c.properties=n||{},c.geometry=t,c}function mn(t,n,o){if(o===void 0&&(o={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!wn(t[0])||!wn(t[1]))throw new Error("coordinates must contain numbers");var c={type:"Point",coordinates:t};return An(c,n,o)}function Bn(t,n,o){if(o===void 0&&(o={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");var c={type:"LineString",coordinates:t};return An(c,n,o)}function xP(t,n){n===void 0&&(n={});var o={type:"FeatureCollection"};return n.id&&(o.id=n.id),n.bbox&&(o.bbox=n.bbox),o.features=t,o}function wn(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}class Ie{static guessTimeZoneOffset(n,o){const c=xi(o,n),l=O().tz(c).utcOffset();return this.roundPrecision(l/60,1)}static prettyTimeZoneOffset(n){let o=Math.floor(Math.abs(n)),c=Math.round((Math.abs(n)-o)*60);return c=c>9?c:`0${c}`,o=o>9?o:`0${o}`,n>0?`+${o}:${c}`:`-${o}:${c}`}static lng2pretty(n,o=6,c="H°M′"){n=Ie.convertToStdLng(n,o);let l="E";n<0&&(l="W"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(3,"0"):h=Ie.padNumber(f,3,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static lat2pretty(n,o=6,c="H°M′"){n=n%180;let l="N";n<0&&(l="S"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(2,"0"):h=Ie.padNumber(f,2,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static str2Lng(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LNG");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>360&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="W"&&(c=c*-1)}else c=Number(n);return Ie.convertToStdLng(c,o)}static str2Lat(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LAT");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>90&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="S"&&(c=c*-1)}else c=Number(n);return Ie.roundPrecision(c,o)}static str2LngOrLat(n,o=6,c="LAT"){n=Ie.strReplace(n,c);const l=n[n.length-1].toUpperCase();return["N","S"].includes(l)?{lat:Ie.str2Lat(n,o)}:{lng:Ie.str2Lng(n,o)}}static convertToStdLng(n,o=4){return n>180?(n=n%360,n=n>180?n-360:n):n<-180&&(n=n%360,n=n<-180?n+360:n),Ie.roundPrecision(n,o)}static roundPrecision(n,o=4){if(typeof n=="number"){const c=Number("1".padEnd(o+1,"0"));return Math.round(n*c)/c}return n}static convertToMonotonicLng2(n){for(let o=1;o<n.length;o++)n[o][0]+=Math.round((n[o-1][0]-n[o][0])/360)*360;return n}static convertToMonotonicLng(n){for(let o=1;o<n.length;o++)n[o].lng+=Math.round((n[o-1].lng-n[o].lng)/360)*360;return n}static strReplace(n,o="LAT"){n=n.replace(/([0-9]+)\.([0-9]+\.[0-9]+)/g,"$1 $2").replace(/-/g," ").replace(/°/," ").replace(/'/g," ").replace(/′/g," ").replace(/"/g," ").replace(/∼/g," ").replace(/°/g," ").replace(/,/g,".").replace(/^ /g,"").replace(/ $/g,"").trim();const c=n[n.length-1].toUpperCase();if(!["N","S","E","W"].includes(c)){const l=n,a=Number(l.split(" ")[0]);if(isNaN(a))throw new Error(`invalid Lat/Lng: ${n}`);a>=90?n=`${l}E`:a<=-90?n=`${l}W`:["LAN","LNG"].includes(o==null?void 0:o.toUpperCase())?n=`${l}${a>0?"E":"W"}`:n=`${l}${a>0?"N":"S"}`}return n}static padNumber(n,o=2,c=2){const l=Math.trunc(n).toString().padStart(o,"0"),a=Math.trunc(Ie.roundPrecision(n-Math.trunc(n),c)*Math.pow(10,c)).toString().padStart(c,"0");return`${l}.${a}`}}class CP{static convert2Geojson(n){var o;const c=xP([]);for(const l of n){if(l.forecasts){const a=(o=l.history)==null?void 0:o[0];for(const m of l.forecasts){const i=[],p=O(m.date).utc(),D=`${l.name}-${m.model}`;if(a){const f=O(a.updated).utc(),h=mn([a.lng,a.lat],{model:m.model,name:l.name,date:f.format(),hour:0,format:f.format("MMM-DD/HHmm[Z]"),pressure:a.pressure>1e4?Ie.roundPrecision(a.pressure/100,0):Ie.roundPrecision(a.pressure,0),wind:{kts:a.kts,spd:a.speed||a.spd},category:D,type:"forecast"});c.features.push(h),i.push(h.geometry.coordinates)}for(const f in m==null?void 0:m.hours){const h=m.hours[f];h.wind.spd=h.wind.spd||h.wind.speed;const V=p.clone().add(Number(f),"hour"),C=mn([h.lng,h.lat],{model:m.model,name:l.name,date:V.format(),hour:Number(f),format:V.format("MMM-DD/HHmm[Z]"),pressure:h.pressure>1e4?Ie.roundPrecision(h.pressure/100,0):Ie.roundPrecision(h.pressure,0),gusts:h.gusts,wind:h.wind||{},movement:h.movement,category:D,type:"forecast"});c.features.push(C),i.push(C.geometry.coordinates)}if((i==null?void 0:i.length)>1){const f=Bn(Ie.convertToMonotonicLng2(i),{date:m.date,id:l.id||l.name,model:m.model,name:l.name,category:D,type:"forecast"});c.features.push(f)}}}if(l.history){const a=[];for(const i of l.history){const p=O(i.updated).utc(),D=mn([i.lng,i.lat],{name:l.name,date:p.format(),format:p.format("MMM-DD/HHmm[Z]"),pressure:i.pressure>1e4?Ie.roundPrecision(i.pressure/100,0):Ie.roundPrecision(i.pressure,0),spd:i.speed||i.spd,kts:i.kts,source:i.source,level:i.type,type:"history",category:`${l.name}-history`});c.features.push(D),a.push(D.geometry.coordinates)}const m=l.history[0];if(a.length===1&&a.push(a[0]),a.length>1){const i=Bn(Ie.convertToMonotonicLng2(a),{name:l.name,type:"history",updated:m==null?void 0:m.updated,pressure:(m==null?void 0:m.pressure)>1e4?Ie.roundPrecision((m==null?void 0:m.pressure)/100,0):Ie.roundPrecision(m==null?void 0:m.pressure,0),spd:(m==null?void 0:m.speed)||(m==null?void 0:m.spd),kts:m==null?void 0:m.kts,source:m==null?void 0:m.source,level:m==null?void 0:m.type});c.features.push(i)}}}return c}static interpolate(n,o=3){var c,l,a,m;const i=(c=n==null?void 0:n.data)==null?void 0:c.features.filter(D=>D.geometry.type==="LineString"&&D.properties.type==="forecast"),p=[];for(const D of i){const f=D.properties.name,h=D.properties.model,V=O(D.properties.date).utc();let C=o*60-(V.get("hour")*60+V.get("minute"))%(o*60);const d=(l=n==null?void 0:n.data)==null?void 0:l.features.filter(A=>A.geometry.type==="Point"&&A.properties.type==="forecast"&&A.properties.category===`${f}-${h}`);let S,k=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0});for(;S=this.pickIndex(d,k),S<=d.length-1;){if(S>0){const A=d[S],B=S===0?void 0:d[S-1],u=(C/60-((a=B==null?void 0:B.properties)==null?void 0:a.hour))/(A.properties.hour-((m=B==null?void 0:B.properties)==null?void 0:m.hour)),F=this.computeNumber(B==null?void 0:B.geometry.coordinates[0],A.geometry.coordinates[0],u),x=this.computeNumber(B==null?void 0:B.geometry.coordinates[1],A.geometry.coordinates[1],u),L=mn([F,x],{name:f,model:h,category:A==null?void 0:A.properties.category,date:k.format(),format:k.format("MMM-DD/HHmm[Z]"),gusts:this.computeNumber(B==null?void 0:B.properties.gusts,A.properties.gusts,u),hour:this.computeNumber(B==null?void 0:B.properties.hour,A.properties.hour,u),movement:this.computeNumber(B==null?void 0:B.properties.movement,A.properties.movement,u),pressure:this.computeNumber(B==null?void 0:B.properties.pressure,A.properties.pressure,u),wind:this.computeNumber(B==null?void 0:B.properties.wind,A.properties.wind,u),type:"forecast"});p.push(L)}C+=o*60,k=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0})}}return p}static pickIndex(n,o){let c=0;for(const l of n){if(O(l.properties.date).isAfter(o))return c===0?-1:c;c++}return c}static computeNumber(n,o,c){if(n)if(o){if(isNaN(n)&&isNaN(o)&&typeof n!="string"&&typeof o!="string"){const l={};for(const a in n)l[a]=this.computeNumber(n[a],o[a],c);return l}return Math.round((n+(o-n)*c)*100)/100}else return n;else return o}}const Foe="",SP={name:"IdmTropical",components:{IdmBrand:Eo,Mapbox:VP,Echart:bP},props:{report:{type:Object,default:()=>({})},ts:{type:String,default:()=>""},token:{type:String,default:""},model:{type:String,default:""}},emits:["center"],data(){return{loading:!1,tropicals:void 0,activeForecast:void 0,timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},computed:{computePrecision(){return function(t,n=0){return isNaN(t)||t===-999?"-":gl.LngLatHelper.roundPrecision(t,n)}},computeHours(){return function(t,n){return O(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${gl.LngLatHelper.lat2pretty(t).pretty} / ${gl.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;if(n){const o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""};let c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}}},watch:{model:{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0},"report.id":{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0}},methods:{async prepare(){var a,m,i,p,D,f,h,V,C,d,S,k;this.loading=!0;const t=CP.convert2Geojson([this.report]);this.model&&t.features.forEach(A=>{A.properties.type==="forecast"&&A.properties.model!==this.model&&(A.properties.disabled=!0)});const n=(i=(m=(a=this.report)==null?void 0:a.forecasts)==null?void 0:m[0])==null?void 0:i.hours,o=((D=(p=this.report)==null?void 0:p.history)==null?void 0:D[0])||n[Object.keys(n)[0]];this.tropicals={data:t,active:!0,cached:!1,type:"json",etime:this.ts,version:Math.random()+1,center:[o==null?void 0:o.lng,o==null?void 0:o.lat]},this.activeForecast=this.model?((h=(f=this.report)==null?void 0:f.forecasts)==null?void 0:h.filter(A=>A.model===this.model)[0])||((C=(V=this.report)==null?void 0:V.forecasts)==null?void 0:C[0]):(S=(d=this.report)==null?void 0:d.forecasts)==null?void 0:S[0],this.activeForecast.sample=[];const c=O((k=this.activeForecast)==null?void 0:k.date);let l=0;for(const A in this.activeForecast.hours)if(l<8){const B=this.activeForecast.hours[A];B.pressure>1e4&&(B.pressure=gl.LngLatHelper.roundPrecision(B.pressure/100,0)),B.hour=Number(A),B.date=c.clone().add(B.hour,"h").utc().format("MMM-DD/HH[Z]"),this.activeForecast.sample.push(B),l++}else break;this.records=await this.interpolatedRecord(this.activeForecast.date,this.activeForecast.hours,1),this.fetchData().then(),this.loading=!1},async fetchData(){var D;const t=this.ts?O(Number(this.ts)).utc().format("YYYY-MM-DD HH"):O().utc().format("YYYY-MM-DD HH");for(let f in this.records)O(this.activeForecast.date).add(f,"h").utc().format("YYYY-MM-DD HH")===t&&this.$emit("center",this.records[f]);let n=this.computeHourSubscript(O(this.activeForecast.date).utc().format("H"));const o=[],c=[],l=[],a=[];let m=[],i=[],p=[];for(let f in this.records){const h=this.records[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),d=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;n===C?(i.push([d,h.wind.kts]),p.push([d,h.pressure]),m.push([d,h.wind.spd])):(o.push(m),c.push(i),l.push(p),n=C,m=[],i=[],p=[],m.push([d,h.wind.spd]),i.push([d,h.wind.kts]),p.push([d,h.pressure]),this.xAxis.push(V))}for(let f in this.activeForecast.hours){const h=this.activeForecast.hours[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),d=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;a.push([d,((D=h.gusts)==null?void 0:D.kts)??"-"])}this.fetchProbabilityData(o),this.fetchSpdData(c,a),this.fetchPressureData(l)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,m=0,i=0,p=0;o.forEach(f=>{const h=f[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?m++:h<=50.9?i++:h>50.9&&p++});const D=o.length;n.td.push([o[0][0],gl.LngLatHelper.roundPrecision(c/D,2)*100]),n.ts.push([o[0][0],gl.LngLatHelper.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],gl.LngLatHelper.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],gl.LngLatHelper.roundPrecision(m/D,2)*100]),n.sty.push([o[0][0],gl.LngLatHelper.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],gl.LngLatHelper.roundPrecision(p/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let m=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(m)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe;const c=O(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const m={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);m[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(p=n[a.next])==null?void 0:p.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(f=n[a.next])==null?void 0:f.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(V=n[a.next])==null?void 0:V.lng,ee),movement:{deg:this.computeInterpolateValue((d=(C=n[a.prev])==null?void 0:C.movement)==null?void 0:d.deg,(k=(S=n[a.next])==null?void 0:S.movement)==null?void 0:k.deg,ee),kts:this.computeInterpolateValue((B=(A=n[a.prev])==null?void 0:A.movement)==null?void 0:B.kts,(F=(u=n[a.next])==null?void 0:u.movement)==null?void 0:F.kts,ee),spd:this.computeInterpolateValue((L=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:L.spd,(Z=(U=n[a.next])==null?void 0:U.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((R=n[a.prev])==null?void 0:R.pressure,(P=n[a.next])==null?void 0:P.pressure,ee),wind:{kts:this.computeInterpolateValue((I=(g=n[a.prev])==null?void 0:g.wind)==null?void 0:I.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((Q=(M=n[a.prev])==null?void 0:M.wind)==null?void 0:Q.lat,(K=(j=n[a.next])==null?void 0:j.wind)==null?void 0:K.lat,ee),lng:this.computeInterpolateValue((z=(N=n[a.prev])==null?void 0:N.wind)==null?void 0:z.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((r=(X=n[a.prev])==null?void 0:X.wind)==null?void 0:r.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return m}}},Tn=t=>(e.pushScopeId("data-v-80c7f977"),t=t(),e.popScopeId(),t),kP={class:"typhoon-report"},AP={class:"report-content"},BP={class:"map"},wP={class:"table"},TP=Tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),uP=Tn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function OP(t,n,o,c,l,a){var D;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Mapbox"),p=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",kP,[e.createVNode(m,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",AP,[e.createElementVNode("div",null,[e.createElementVNode("div",BP,[e.createVNode(i,{tropicals:l.tropicals,ts:o.ts,token:o.token},null,8,["tropicals","ts","token"])]),e.createElementVNode("div",wP,[e.createElementVNode("table",null,[TP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.activeForecast)==null?void 0:D.sample,(f,h)=>{var V,C,d,S,k,A;return e.openBlock(),e.createElementBlock("tr",{key:h},[e.createElementVNode("td",null,e.toDisplayString(f.date),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(f.lat,f.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(f.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((V=f==null?void 0:f.wind)==null?void 0:V.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((C=f.gusts)==null?void 0:C.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computePrecision(((d=f==null?void 0:f.wind)==null?void 0:d.r7)||"-")} / ${a.computePrecision(((S=f==null?void 0:f.wind)==null?void 0:S.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((k=f==null?void 0:f.movement)==null?void 0:k.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((A=f==null?void 0:f.movement)==null?void 0:A.kts)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(p,{id:"probabilityChart",class:"echart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category","x-axis":l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["x-axis","color","series"]),e.createVNode(p,{id:"spdChart",class:"echart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]","x-axis":l.xAxis,series:l.spdSeries},null,8,["x-axis","series"]),e.createVNode(p,{id:"pressureChart",class:"echart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)","x-axis":l.xAxis,series:l.pressureSeries},null,8,["x-axis","series"])])]),uP])}const un=Ee(SP,[["render",OP],["__scopeId","data-v-80c7f977"]]),FP={install(t){t.component("TropicalReport",un)}},Poe="",PP={components:{IdmBrand:en},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
- `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${O(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var m;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(m=this.data)!=null&&m.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},yo=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),LP={class:"invoice-report"},WP=yo(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),HP={class:"report-title"},MP=yo(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),GP={class:"title-info"},IP=yo(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),RP=yo(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),zP=yo(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),UP=yo(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),YP=yo(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),ZP={class:"report-content"},$P={style:{display:"flex"},ref:"name",class:"name"},QP=["innerHTML"],JP={style:{"margin-bottom":"10px"}},KP={class:"table",ref:"table"},qP=yo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),jP=yo(()=>e.createElementVNode("td",null,null,-1)),XP={class:"total"},vP={class:"total"},eL={key:0,class:"page-break"},tL={ref:"detail",class:"detail"},oL={class:"title"},lL={class:"info"},aL={class:"info"},nL={class:"info"},sL={class:"info"},iL={class:"info"},cL={key:0},dL={class:"info"},rL=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),mL={class:"info"},pL=yo(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),hL={class:"info"},yL=yo(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),EL={class:"info"},_L=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),NL={key:1},VL={class:"info"},fL=yo(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),gL={key:1,ref:"memo",class:"detail"},DL=yo(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),bL=["innerHTML"];function xL(t,n,o,c,l,a){var i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",LP,[e.createVNode(m),WP,e.createElementVNode("div",HP,[MP,e.createElementVNode("div",GP,[IP,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),RP,zP,UP,YP])])]),e.createElementVNode("div",ZP,[e.createElementVNode("div",$P,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((p=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:p.name)},null,8,QP)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((D=o.data)==null?void 0:D.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",JP,"No: "+e.toDisplayString((f=o.data)==null?void 0:f.number),1),e.createElementVNode("div",KP,[e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.data)==null?void 0:h.reservations,(P,g)=>(e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",null,e.toDisplayString(g+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${P==null?void 0:P.amount}`),1)]))),128)),e.createElementVNode("tr",null,[jP,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((V=o.data)==null?void 0:V.rate)}`)+"  ",1),e.createElementVNode("span",XP,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",vP,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(C=o.data)==null?void 0:C.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",eL)):e.createCommentVNode("",!0),e.createElementVNode("div",tL,[e.createElementVNode("div",oL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",lL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((d=l.company)==null?void 0:d.name[l.type])??"-"),1)]),e.createElementVNode("div",aL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((S=l.company)==null?void 0:S.address[l.type])??"-"),1)]),e.createElementVNode("div",nL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.tel)??"-"),1)]),e.createElementVNode("div",sL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((A=l.company)==null?void 0:A.bankName[l.type])??"-"),1)]),e.createElementVNode("div",iL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((B=l.company)==null?void 0:B.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",cL,[e.createElementVNode("div",dL,[rL,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.bankSwift)??"-"),1)]),e.createElementVNode("div",mL,[pL,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.bankAddress)??"-"),1)]),e.createElementVNode("div",hL,[yL,e.createElementVNode("span",null,e.toDisplayString(((x=l.company)==null?void 0:x.interBank)??"-"),1)]),e.createElementVNode("div",EL,[_L,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",NL,[e.createElementVNode("div",VL,[fL,e.createElementVNode("span",null,e.toDisplayString(((U=l.company)==null?void 0:U.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",gL,[DL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((R=o.data)==null?void 0:R.memo)},null,8,bL)],512)):e.createCommentVNode("",!0)])])}const On=Ee(PP,[["render",xL],["__scopeId","data-v-db643e45"]]),Loe="",CL={components:{IdmBrand:Eo},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},pt=t=>(e.pushScopeId("data-v-3894214e"),t=t(),e.popScopeId(),t),SL={class:"invoice-report"},kL={class:"section items-section"},AL={class:"flex-start"},BL=pt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),wL=["innerHTML"],TL={class:"flex-space"},uL={class:"invoice-item"},OL={key:0,class:"invoice-item"},FL=pt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),PL=pt(()=>e.createElementVNode("td",null,"NO.",-1)),LL=["colspan"],WL=pt(()=>e.createElementVNode("td",null,"Amounts",-1)),HL=["colspan"],ML=["colspan"],GL=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],IL={class:"total"},RL=["colspan"],zL=[pt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],UL={class:"total"},YL=["colspan"],ZL={class:"total"},$L={key:1},QL=["colspan"],JL=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],KL={class:"total"},qL={key:0,class:"memo-block"},jL=pt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),XL=["innerHTML"],vL={class:"section company-section"},eW=pt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),tW={class:"company-item"},oW=pt(()=>e.createElementVNode("label",null,"Bank",-1)),lW={class:"company-item"},aW=pt(()=>e.createElementVNode("label",null,"Account",-1)),nW={class:"company-item"},sW=pt(()=>e.createElementVNode("label",null,"Title",-1)),iW={class:"company-item"},cW=pt(()=>e.createElementVNode("label",null,"Addr",-1)),dW={class:"company-item"},rW=pt(()=>e.createElementVNode("label",null,"Tel",-1)),mW={class:"company-item"},pW=pt(()=>e.createElementVNode("label",null,"Tax ID",-1)),hW={class:"company-item"},yW=pt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),EW={class:"company-item"},_W=pt(()=>e.createElementVNode("label",null,"Bank Name",-1)),NW={class:"company-item"},VW=pt(()=>e.createElementVNode("label",null,"Bank Address",-1)),fW={class:"company-item"},gW=pt(()=>e.createElementVNode("label",null,"Account No.",-1)),DW={class:"company-item"},bW=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),xW={class:"company-item"},CW=pt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),SW={class:"company-item"},kW=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),AW={class:"company-item"},BW=pt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),wW=e.createStaticVNode('<div class="section sign-section" data-v-3894214e><div class="flex-space" data-v-3894214e><div class="sign-block" data-v-3894214e><div data-v-3894214e>Finance Team</div><div data-v-3894214e>Ocean Right Marine Service Co., Ltd.</div><div data-v-3894214e>Email: <a href="mailto:op@ormwx.com" data-v-3894214e>op@ormwx.com</a></div><div data-v-3894214e>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-3894214e> Thank You </div></div></div>',1);function TW(t,n,o,c,l,a){var i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",SL,[e.createVNode(m,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",kL,[e.createElementVNode("div",AL,[BL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(D=(p=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:D.replace(`
43
- `,"<br/>")},null,8,wL)]),e.createElementVNode("div",TL,[e.createElementVNode("div",uL,"Invoice No. "+e.toDisplayString(o.report.number),1),(f=o.report)!=null&&f.paymentDate?(e.openBlock(),e.createElementBlock("div",OL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=l.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[FL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(le,he)=>{var Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=(Ne=le.props)==null?void 0:Ne[0])==null?void 0:Ve.voyage)==null?void 0:fe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(De=(ge=le.props)==null?void 0:ge[0])==null?void 0:De.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(xe=le.props)==null?void 0:xe[0])==null?void 0:Ce.vessel)==null?void 0:Se.name),1),e.createElementVNode("td",null,e.toDisplayString((ye=(Oe=(ue=le.props)==null?void 0:ue[0])==null?void 0:Oe.voyage)==null?void 0:ye.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(me=(W=le.props)==null?void 0:W[0])==null?void 0:me.departure)==null?void 0:Fe.name),1),e.createElementVNode("td",null,e.toDisplayString((ke=(Le=(Pe=le.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:ke.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ze=(Ye=(We=le.props)==null?void 0:We[0])==null?void 0:Ye.destination)==null?void 0:Ze.name),1),e.createElementVNode("td",null,e.toDisplayString((Me=(we=(Y=le.props)==null?void 0:Y[0])==null?void 0:we.destination)==null?void 0:Me.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(V=l.reservations4Point)!=null&&V.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[PL,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,LL),WL])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(le,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(le.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(le.items),9,HL),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((C=o.report)==null?void 0:C.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},GL,8,ML),e.createElementVNode("td",IL,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},zL,8,RL),e.createElementVNode("td",UL,[e.createElementVNode("span",null,e.toDisplayString((d=o.report)==null?void 0:d.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,YL),e.createElementVNode("td",ZL,"¥"+e.toDisplayString((S=o.report)==null?void 0:S.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",$L,[e.createElementVNode("td",{colspan:l.maxColspans},JL,8,QL),e.createElementVNode("td",KL,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(A=o.report)!=null&&A.memo?(e.openBlock(),e.createElementBlock("div",qL,[jL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(u=(B=o.report)==null?void 0:B.memo)==null?void 0:u.replace(`
44
- `,"<br/>")},null,8,XL)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",vL,[eW,((F=o.report)==null?void 0:F.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",tW,[oW,e.createElementVNode("span",null,e.toDisplayString((L=l.account[(x=o.report)==null?void 0:x.paymentType])==null?void 0:L.bank),1)]),e.createElementVNode("div",lW,[aW,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(U=o.report)==null?void 0:U.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",nW,[sW,e.createElementVNode("span",null,e.toDisplayString((P=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:P.title),1)]),e.createElementVNode("div",iW,[cW,e.createElementVNode("span",null,e.toDisplayString((I=l.account[(g=o.report)==null?void 0:g.paymentType])==null?void 0:I.address),1)]),e.createElementVNode("div",dW,[rW,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(G=o.report)==null?void 0:G.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",mW,[pW,e.createElementVNode("span",null,e.toDisplayString((Q=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:Q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",hW,[yW,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:K.title),1)]),e.createElementVNode("div",EW,[_W,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:z.bank),1)]),e.createElementVNode("div",NW,[VW,e.createElementVNode("span",null,e.toDisplayString((s=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",fW,[gW,e.createElementVNode("span",null,e.toDisplayString((r=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:r.number),1)]),e.createElementVNode("div",DW,[bW,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",xW,[CW,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(ee=o.report)==null?void 0:ee.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",SW,[kW,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ce=o.report)==null?void 0:ce.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",AW,[BW,e.createElementVNode("span",null,e.toDisplayString((_e=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),wW])}const Fn=Ee(CL,[["render",TW],["__scopeId","data-v-3894214e"]]),Goe="",uW={components:{IdmBrand:Eo},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Cl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),OW={class:"invoice-report"},FW={class:"section items-section"},PW={class:"flex-start"},LW=Cl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),WW=["innerHTML"],HW={class:"flex-space"},MW={class:"invoice-item"},GW={key:0,class:"invoice-item"},IW=Cl(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),RW=Cl(()=>e.createElementVNode("td",null,"NO.",-1)),zW=["colspan"],UW=Cl(()=>e.createElementVNode("td",null,"Amounts",-1)),YW=["colspan"],ZW=["colspan"],$W=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],QW={class:"total"},JW=["colspan"],KW=[Cl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],qW={class:"total"},jW=["colspan"],XW={class:"total"},vW={key:1},eH=["colspan"],tH=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],oH={class:"total"},lH={key:0,class:"memo-block"},aH=Cl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),nH=["innerHTML"];function sH(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,d,S,k,A,B;return e.openBlock(),e.createElementBlock("div",OW,[e.createElementVNode("div",FW,[e.createElementVNode("div",PW,[LW,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(m=o.report)==null?void 0:m.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
45
- `,"<br/>")},null,8,WW)]),e.createElementVNode("div",HW,[e.createElementVNode("div",MW,"Invoice No. "+e.toDisplayString(o.report.number),1),(D=o.report)!=null&&D.paymentDate?(e.openBlock(),e.createElementBlock("div",GW,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(f=l.reservations4Route)!=null&&f.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[IW,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(u,F)=>{var x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se;return e.openBlock(),e.createElementBlock("tr",{key:F},[e.createElementVNode("td",null,e.toDisplayString((U=(L=(x=u.props)==null?void 0:x[0])==null?void 0:L.voyage)==null?void 0:U.number),1),e.createElementVNode("td",null,e.toDisplayString(((P=(R=(Z=u.props)==null?void 0:Z[0])==null?void 0:R.voyage)==null?void 0:P.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((G=(I=(g=u.props)==null?void 0:g[0])==null?void 0:I.vessel)==null?void 0:G.name),1),e.createElementVNode("td",null,e.toDisplayString((Q=(M=(H=u.props)==null?void 0:H[0])==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((N=(K=(j=u.props)==null?void 0:j[0])==null?void 0:K.departure)==null?void 0:N.name),1),e.createElementVNode("td",null,e.toDisplayString((s=(J=(z=u.props)==null?void 0:z[0])==null?void 0:J.departure)==null?void 0:s.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(r=(X=u.props)==null?void 0:X[0])==null?void 0:r.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(ee=(oe=u.props)==null?void 0:oe[0])==null?void 0:ee.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(u.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=l.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[RW,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,zW),UW])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(u,F)=>(e.openBlock(),e.createElementBlock("tr",{key:F},[e.createElementVNode("td",null,e.toDisplayString(u.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(u.items),9,YW),e.createElementVNode("td",null,"$"+e.toDisplayString(u.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((V=o.report)==null?void 0:V.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},$W,8,ZW),e.createElementVNode("td",QW,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},KW,8,JW),e.createElementVNode("td",qW,[e.createElementVNode("span",null,e.toDisplayString((C=o.report)==null?void 0:C.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,jW),e.createElementVNode("td",XW,"¥"+e.toDisplayString((d=o.report)==null?void 0:d.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",vW,[e.createElementVNode("td",{colspan:l.maxColspans},tH,8,eH),e.createElementVNode("td",oH,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(k=o.report)!=null&&k.memo?(e.openBlock(),e.createElementBlock("div",lH,[aH,e.createElementVNode("div",{class:"invoice-item",innerHTML:(B=(A=o.report)==null?void 0:A.memo)==null?void 0:B.replace(`
46
- `,"<br/>")},null,8,nH)])):e.createCommentVNode("",!0)])])}const Pn=Ee(uW,[["render",sH],["__scopeId","data-v-744130ab"]]),iH={install(t){t.component("InvoiceReport",On),t.component("OrmInvoiceReport",Fn),t.component("FliInvoiceReport",Pn)}},cH=t=>((typeof t=="string"||typeof t=="number")&&(t=O(t)),t),dH=(t,n="MMM-DD,YYYY/HHmm[Z]")=>rH(t,n),rH=(t,n="MMM-DD/HHmm[Z]")=>(t=cH(t),t?`${t.utc().format(n)}`:"-"),Uoe="",mH={name:"IdmEditableItem",components:{Edit:ln.Edit,Close:ln.Close,IdmEditor:Uo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return dH(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},pH={class:"idm-editable-item"},hH=["innerHTML"],yH={key:3,class:"buttons"};function EH(t,n,o,c,l,a){const m=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),D=e.resolveComponent("ElInputNumber"),f=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),V=e.resolveComponent("ElSelect"),C=e.resolveComponent("ElRadio"),d=e.resolveComponent("ElRadioGroup"),S=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),A=e.resolveComponent("Edit"),B=e.resolveComponent("ElIcon"),u=e.resolveComponent("ElButton"),F=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",pH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=x=>l.model=x),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=x=>l.model=x),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(D,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=x=>l.model=x),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(f,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=x=>l.model=x),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(V,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=x=>l.model=x),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.value,label:x.label,disabled:x.disabled,value:x.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(V,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(V,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.id,label:x.name,value:x.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(d,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=x=>l.model=x),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,x=>(e.openBlock(),e.createBlock(C,{key:x.value,label:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=x=>l.model=x),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,x=>(e.openBlock(),e.createBlock(S,{label:x.value,key:x.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(m,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(m,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...x)=>a.handleEdit&&a.handleEdit(...x))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,hH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...x)=>a.handleEdit&&a.handleEdit(...x))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",yH,[l.editable?(e.openBlock(),e.createBlock(u,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(F)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(u,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(A)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Ln=Ee(mH,[["render",EH]]),Yoe="",_H={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:ln.CirclePlus,Remove:ln.Remove,EditableItem:Ln,Editor:Uo,IdmBrand:Eo},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(n).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,n,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await xl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,m;this.extraPortList.splice(t,1);const n=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(m=this.report)==null?void 0:m.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,c){var m,i,p,D,f;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),C=n.substring(l+1);C!=="date"&&(o=Number(o)),this.extraPortList[c][V][C]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(m=h==null?void 0:h.data)==null?void 0:m.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(D=this.report)!=null&&D.comments?(f=this.report)==null?void 0:f.comments:void 0}else En.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},T=t=>(e.pushScopeId("data-v-1413248b"),t=t(),e.popScopeId(),t),NH={class:"deviation-report"},VH={class:"section vessel-section"},fH={class:"report-summary"},gH={class:"summary-item"},DH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),bH={class:"flexL gray"},xH={class:"summary-item"},CH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),SH={class:"flexL gray"},kH={class:"summary-item"},AH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),BH={class:"flexL gray"},wH={class:"summary-item"},TH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),uH={class:"flexL gray"},OH={class:"summary-item"},FH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),PH={class:"flexL gray",style:{display:"flex"}},LH={class:"flex"},WH={class:"flexM"},HH={class:"summary-item"},MH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),GH={class:"flexL gray",style:{display:"flex"}},IH={class:"flex"},RH={class:"flexM"},zH={class:"section summary-section"},UH=T(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),YH={class:"report-summary"},ZH={class:"summary-item"},$H=T(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),QH={class:"summary-item"},JH=T(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),KH={class:"summary-item"},qH=T(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),jH={class:"summary-item"},XH=T(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),vH={class:"section map-section"},eM=T(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),tM={class:"report-map"},oM=["src"],lM=e.createStaticVNode('<div class="legend" data-v-1413248b><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1413248b></div><div data-v-1413248b>Actual Route</div></div><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1413248b></div><div data-v-1413248b>Route prior to deviation</div></div></div>',1),aM={key:0,class:"section deviation-section"},nM=T(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),sM={class:"report-summary"},iM=e.createStaticVNode('<div class="summary-item" data-v-1413248b><div class="blue center" style="width:17%;" data-v-1413248b>Deviation</div><div class="blue center" style="width:20%;" data-v-1413248b>Position</div><div class="blue center" style="width:17%;" data-v-1413248b>Date Time</div><div class="flex blue center" data-v-1413248b>FO BROB<br data-v-1413248b>(mt)</div><div class="flex blue center" data-v-1413248b>DO/GO<br data-v-1413248b>BROB (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>FO (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>DO/GO (mt)</div></div>',1),cM={class:"summary-item"},dM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),rM={class:"blue center",style:{width:"20%"}},mM={class:"blue center",style:{width:"17%"}},pM={class:"flex blue center"},hM={class:"flex blue center"},yM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),EM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),_M={class:"summary-item"},NM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),VM={class:"blue center",style:{width:"20%"}},fM={class:"blue center",style:{width:"17%"}},gM={class:"flex blue center"},DM={class:"flex blue center"},bM={class:"flex blue center"},xM={class:"flex blue center"},CM={class:"summary-item"},SM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),kM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),AM={class:"blue center",style:{width:"17%"}},BM={class:"flex blue center"},wM={class:"flex blue center"},TM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),uM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),OM={class:"section cp-section"},FM=T(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),PM={class:"report-summary"},LM={class:"summary-item"},WM=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),HM={class:"flexL blue center"},MM={class:"summary-item"},GM=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),IM={class:"flexL blue center"},RM={class:"summary-item"},zM=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),UM={class:"flexL blue center"},YM={class:"section port-section"},ZM={class:"subtitle port"},$M=T(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),QM={class:"print-hidden"},JM={class:"report-port"},KM=T(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),qM={rowspan:2},jM=T(()=>e.createElementVNode("td",null,"Arrival",-1)),XM=T(()=>e.createElementVNode("td",null,null,-1)),vM=T(()=>e.createElementVNode("td",null,null,-1)),eG={rowspan:2,class:"print-hidden"},tG=T(()=>e.createElementVNode("td",null,"Departure",-1)),oG=T(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),lG=T(()=>e.createElementVNode("td",null,null,-1)),aG=T(()=>e.createElementVNode("td",null,null,-1)),nG=T(()=>e.createElementVNode("td",null,null,-1)),sG=T(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),iG={class:"section distance-section"},cG=T(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),dG={class:"report-summary"},rG=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),mG={class:"summary-item"},pG=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),hG={class:"flex blue center"},yG={class:"flex blue center"},EG={class:"summary-item"},_G=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),NG={class:"flex blue center"},VG={class:"section time-section"},fG=T(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),gG={key:0,class:"report-formular"},DG={class:"equation"},bG=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),xG={class:"function",style:{width:"20%"}},CG=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),kG={style:{width:"10%"}},AG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),BG={class:"equation"},wG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:28%;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),TG={style:{width:"5%"}},uG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),OG={style:{width:"8%"}},FG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),PG={style:{width:"4%"}},LG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),WG={key:1,class:"report-formular"},HG={class:"equation"},MG=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),GG={class:"function",style:{width:"20%"}},IG=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zG={style:{width:"10%"}},UG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),YG={key:0,class:"equation"},ZG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:30%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),$G={style:{width:"5%"}},QG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),JG={style:{width:"5%"}},KG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qG={style:{width:"5%"}},jG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),XG={key:1,class:"equation"},vG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>Time spent in port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',8),eI={style:{width:"5%"}},tI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),oI={style:{width:"5%"}},lI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),aI={style:{width:"5%"}},nI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),sI={style:{width:"5%"}},iI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),cI={key:2,class:"report-summary"},dI={class:"summary-item"},rI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),mI={class:"flex blue center"},pI={class:"summary-item"},hI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),yI={class:"flex blue center"},EI={class:"summary-item"},_I=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),NI={class:"flex blue center"},VI={key:3,class:"report-summary"},fI={class:"summary-item"},gI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),DI={class:"flex blue center"},bI={class:"summary-item"},xI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),CI={class:"flex blue center"},SI={key:0,class:"summary-item"},kI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),AI={class:"flex blue center"},BI={class:"summary-item"},wI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),TI={class:"flex blue center"},uI={class:"section consumption-section"},OI=T(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),FI={key:0,class:"report-formular"},PI={class:"equation"},LI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),WI={class:"function",style:{width:"5%"}},HI=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),MI=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),GI={class:"function",style:{width:"5%"}},II=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),RI=T(()=>e.createElementVNode("div",null,"24",-1)),zI=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),UI={style:{width:"5%"}},YI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),ZI={class:"equation"},$I=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),QI={style:{width:"5%"}},JI=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),KI={style:{width:"5%"}},qI=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),jI={style:{width:"5%"}},XI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),vI={class:"equation"},eR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),tR={class:"function",style:{width:"5%"}},oR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),aR={class:"function",style:{width:"5%"}},nR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),sR=T(()=>e.createElementVNode("div",null,"24",-1)),iR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),cR={style:{width:"5%"}},dR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),rR={class:"equation"},mR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),pR={style:{width:"5%"}},hR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),yR={style:{width:"5%"}},ER=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),_R={style:{width:"5%"}},NR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),VR={key:1,class:"report-formular"},fR={class:"equation"},gR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),DR={class:"function",style:{width:"5%"}},bR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),CR={class:"function",style:{width:"5%"}},SR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kR=T(()=>e.createElementVNode("div",null,"24",-1)),AR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BR={style:{width:"5%"}},wR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TR={class:"equation"},uR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),OR={class:"function",style:{width:"5%"}},FR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),PR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),LR={class:"function",style:{width:"5%"}},WR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),HR=T(()=>e.createElementVNode("div",null,"24",-1)),MR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GR={style:{width:"5%"}},IR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RR={key:0,class:"equation"},zR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),UR={style:{width:"5%"}},YR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZR={style:{width:"5%"}},$R=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QR={style:{width:"5%"}},JR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KR={key:1,class:"equation"},qR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>FO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),jR={style:{width:"5%"}},XR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vR={style:{width:"5%"}},ez=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tz={style:{width:"5%"}},oz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),lz={style:{width:"5%"}},az=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),nz={key:2,class:"equation"},sz=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),iz={style:{width:"5%"}},cz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),dz={style:{width:"5%"}},rz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),mz={style:{width:"5%"}},pz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hz={key:3,class:"equation"},yz=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>DO/GO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),Ez={style:{width:"5%"}},_z=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Nz={style:{width:"5%"}},Vz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fz={style:{width:"5%"}},gz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),Dz={style:{width:"5%"}},bz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xz={key:2,class:"report-summary"},Cz=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Sz={class:"summary-item"},kz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),Az={class:"flex blue center"},Bz={class:"flex blue center"},wz={class:"summary-item"},Tz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),uz={class:"flex blue center"},Oz={class:"flex blue center"},Fz={class:"summary-item"},Pz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),Lz={key:3,class:"report-summary"},Wz=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Hz={class:"summary-item"},Mz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),Gz={class:"flex blue center"},Iz={class:"flex blue center"},Rz={class:"summary-item"},zz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),Uz={class:"flex blue center"},Yz={class:"flex blue center"},Zz={key:0,class:"summary-item"},$z=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),Qz={class:"flex blue center"},Jz={class:"flex blue center"},Kz={class:"summary-item"},qz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),jz={class:"section comment-section"},Xz=["innerHTML"];function vz(t,n,o,c,l,a){var V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Ao,Bo,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Al,Bl,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Aa,Ba,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa,ae,mo,Ja,Ka,qa;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),p=e.resolveComponent("CirclePlus"),D=e.resolveComponent("el-icon"),f=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NH,[e.createVNode(m,{name:"Voyage Deviation Report"}),e.createElementVNode("div",VH,[e.createElementVNode("div",fH,[e.createElementVNode("div",gH,[DH,e.createElementVNode("div",bH,e.toDisplayString((C=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:C.name),1)]),e.createElementVNode("div",xH,[CH,e.createElementVNode("div",SH,e.toDisplayString((d=l.extraData)==null?void 0:d.preparedFor),1)]),e.createElementVNode("div",kH,[AH,e.createElementVNode("div",BH,e.toDisplayString((k=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",wH,[TH,e.createElementVNode("div",uH,e.toDisplayString((B=(A=l.extraData)==null?void 0:A.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",OH,[FH,e.createElementVNode("div",PH,[e.createElementVNode("span",LH,e.toDisplayString((F=(u=l.extraData)==null?void 0:u.departure)==null?void 0:F.name),1),e.createElementVNode("span",WH,e.toDisplayString(a.computeUTCTime(((L=(x=l.extraData)==null?void 0:x.departure)==null?void 0:L.atd)||((Z=(U=l.extraData)==null?void 0:U.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",HH,[MH,e.createElementVNode("div",GH,[e.createElementVNode("span",IH,e.toDisplayString((P=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:P.name),1),e.createElementVNode("span",RH,e.toDisplayString(a.computeUTCTime(((I=(g=l.extraData)==null?void 0:g.arrival)==null?void 0:I.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",zH,[UH,e.createElementVNode("div",YH,[e.createElementVNode("div",ZH,[$H,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.extraData)==null?void 0:M.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",QH,[JH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((z=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:z.totalExtraTime)??"—"),3)]),e.createElementVNode("div",KH,[qH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(r=l.extraData)==null?void 0:r.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",jH,[XH,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",vH,[eM,e.createElementVNode("div",tM,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,oM),lM])]),((he=o.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",aM,[nM,e.createElementVNode("div",sM,[iM,e.createElementVNode("div",cM,[dM,e.createElementVNode("div",rM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLat,(Ve=l.extraData)==null?void 0:Ve.startLng)),1),e.createElementVNode("div",mM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime)),1),e.createElementVNode("div",pM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",hM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),yM,EM]),e.createElementVNode("div",_M,[NM,e.createElementVNode("div",VM,e.toDisplayString(a.computedLngLat((be=l.extraData)==null?void 0:be.endLat,(xe=l.extraData)==null?void 0:xe.endLng)),1),e.createElementVNode("div",fM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime)),1),e.createElementVNode("div",gM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",DM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",bM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",xM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ye=l.extraData)==null?void 0:ye.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",CM,[SM,kM,e.createElementVNode("div",AM,e.toDisplayString(((me=(W=l.extraData)==null?void 0:W.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",BM,e.toDisplayString(((Le=(Pe=(Fe=l.extraData)==null?void 0:Fe.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",wM,e.toDisplayString(((Ye=(We=(ke=l.extraData)==null?void 0:ke.consAnalysis)==null?void 0:We.dgo)==null?void 0:Ye.actualCons)??"—"),1),TM,uM])])])):e.createCommentVNode("",!0),e.createElementVNode("div",OM,[FM,e.createElementVNode("div",PM,[e.createElementVNode("div",LM,[WM,e.createElementVNode("div",HM,e.toDisplayString(((Y=(Ze=l.extraData)==null?void 0:Ze.cp)==null?void 0:Y.speed)??"—"),1)]),e.createElementVNode("div",MM,[GM,e.createElementVNode("div",IM,e.toDisplayString(((Me=(we=l.extraData)==null?void 0:we.cp)==null?void 0:Me.fo)??"—"),1)]),e.createElementVNode("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString(((Qe=($e=l.extraData)==null?void 0:$e.cp)==null?void 0:Qe.dgo)??"—"),1)])])]),e.createElementVNode("div",YM,[e.createElementVNode("div",ZM,[$M,e.createElementVNode("div",QM,[e.createVNode(D,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["onClick"])])]),e.createElementVNode("div",JM,[e.createElementVNode("table",null,[KM,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,po)=>{var ja,Xa,va,mt,nn,sn,cn,dn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:po},[e.createElementVNode("tr",null,[e.createElementVNode("td",qM,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Wt=>a.handleCommit("port","name",Wt,po)},null,8,["value","options","onSelect","onCommit"])]),jM,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(ja=ne==null?void 0:ne.arrival)==null?void 0:ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.date",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=ne==null?void 0:ne.arrival)==null?void 0:Xa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.foBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(va=ne==null?void 0:ne.arrival)==null?void 0:va.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.dgoBrob",Wt,po)},null,8,["value","onCommit"])]),XM,vM,e.createElementVNode("td",eG,[e.createVNode(D,{size:20,onClick:Wt=>a.handleRemove(po)},{default:e.withCtx(()=>[e.createVNode(f)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[tG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(mt=ne==null?void 0:ne.departure)==null?void 0:mt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Wt=>a.handleCommit("port","departure.date",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.foBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.dgoBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(cn=ne==null?void 0:ne.departure)==null?void 0:cn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.bunkeringFo",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(dn=ne==null?void 0:ne.departure)==null?void 0:dn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.bunkeringDgo",Wt,po)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[oG,lG,e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=l.extraData)==null?void 0:Je.timeAnalysis)==null?void 0:Ke.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((q=(_=(qe=l.extraData)==null?void 0:qe.consAnalysis)==null?void 0:_.fo)==null?void 0:q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(He=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ge.portCons)??"—"),1),aG,nG,sG])])])])]),e.createElementVNode("div",iG,[cG,e.createElementVNode("div",dG,[rG,e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",yG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(je=l.extraData)==null?void 0:je.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",EG,[_G,e.createElementVNode("div",NG,e.toDisplayString(((ve=l.extraData)==null?void 0:ve.extraDist)??"—"),1)])])]),e.createElementVNode("div",VG,[fG,((et=o.report)==null?void 0:et.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",gG,[e.createElementVNode("div",DG,[bG,e.createElementVNode("div",xG,[e.createElementVNode("div",null,e.toDisplayString((lt=l.extraData)==null?void 0:lt.extraDist),1),CG,e.createElementVNode("div",null,e.toDisplayString((nt=(at=l.extraData)==null?void 0:at.cp)==null?void 0:nt.speed),1)]),SG,e.createElementVNode("div",kG,e.toDisplayString((ht=(st=l.extraData)==null?void 0:st.timeAnalysis)==null?void 0:ht.sailingTime),1),AG]),e.createElementVNode("div",BG,[wG,e.createElementVNode("div",TG,e.toDisplayString((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.sailingTime),1),uG,e.createElementVNode("div",OG,e.toDisplayString(a.computeNum((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.portTime)),1),FG,e.createElementVNode("div",PG,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:ft.totalExtraTime),1),LG])])):(e.openBlock(),e.createElementBlock("div",WG,[e.createElementVNode("div",HG,[MG,e.createElementVNode("div",GG,[e.createElementVNode("div",null,e.toDisplayString((gt=l.extraData)==null?void 0:gt.priorDist),1),IG,e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=l.extraData)==null?void 0:Dt.cp)==null?void 0:bt.speed),1)]),RG,e.createElementVNode("div",zG,e.toDisplayString((Ct=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:Ct.sailingTime),1),UG]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",YG,[ZG,e.createElementVNode("div",$G,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.actualTime),1),QG,e.createElementVNode("div",JG,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.sailingTime),1),KG,e.createElementVNode("div",qG,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.totalExtraTime),1),jG])):(e.openBlock(),e.createElementBlock("div",XG,[vG,e.createElementVNode("div",eI,e.toDisplayString((Ot=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Ot.actualTime),1),tI,e.createElementVNode("div",oI,e.toDisplayString((ho=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:ho.sailingTime),1),lI,e.createElementVNode("div",aI,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.portTime),1),nI,e.createElementVNode("div",sI,e.toDisplayString((go=(fo=l.extraData)==null?void 0:fo.timeAnalysis)==null?void 0:go.totalExtraTime),1),iI]))])),(($=o.report)==null?void 0:$.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",cI,[e.createElementVNode("div",dI,[rI,e.createElementVNode("div",mI,e.toDisplayString(((Ft=(ot=l.extraData)==null?void 0:ot.timeAnalysis)==null?void 0:Ft.sailingTime)??"—"),1)]),e.createElementVNode("div",pI,[hI,e.createElementVNode("div",yI,e.toDisplayString(((Gt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Gt.portTime)??"—"),1)]),e.createElementVNode("div",EI,[_I,e.createElementVNode("div",NI,e.toDisplayString(((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",VI,[e.createElementVNode("div",fI,[gI,e.createElementVNode("div",DI,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.sailingTime),1)]),e.createElementVNode("div",bI,[xI,e.createElementVNode("div",CI,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",SI,[kI,e.createElementVNode("div",AI,e.toDisplayString(((Qt=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",BI,[wI,e.createElementVNode("div",TI,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",uI,[OI,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",FI,[e.createElementVNode("div",PI,[LI,e.createElementVNode("div",WI,[e.createElementVNode("div",null,e.toDisplayString((jt=l.extraData)==null?void 0:jt.extraDist),1),HI,e.createElementVNode("div",null,e.toDisplayString((vt=(Xt=l.extraData)==null?void 0:Xt.cp)==null?void 0:vt.speed),1)]),MI,e.createElementVNode("div",GI,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=l.extraData)==null?void 0:eo.cp)==null?void 0:to.fo),1),II,RI]),zI,e.createElementVNode("div",UI,e.toDisplayString((ao=(lo=(oo=l.extraData)==null?void 0:oo.consAnalysis)==null?void 0:lo.fo)==null?void 0:ao.sailingCons),1),YI]),e.createElementVNode("div",ZI,[$I,e.createElementVNode("div",QI,e.toDisplayString((io=(so=(no=l.extraData)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:io.sailingCons),1),JI,e.createElementVNode("div",KI,e.toDisplayString(a.computeNum((Do=(ro=(co=l.extraData)==null?void 0:co.consAnalysis)==null?void 0:ro.fo)==null?void 0:Do.portCons)),1),qI,e.createElementVNode("div",jI,e.toDisplayString((Co=(xo=(bo=l.extraData)==null?void 0:bo.consAnalysis)==null?void 0:xo.fo)==null?void 0:Co.totalExtraCons),1),XI]),e.createElementVNode("div",vI,[eR,e.createElementVNode("div",tR,[e.createElementVNode("div",null,e.toDisplayString((So=l.extraData)==null?void 0:So.extraDist),1),oR,e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.speed),1)]),lR,e.createElementVNode("div",aR,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=l.extraData)==null?void 0:Bo.cp)==null?void 0:wo.dgo),1),nR,sR]),iR,e.createElementVNode("div",cR,e.toDisplayString((Oo=(uo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Oo.sailingCons),1),dR]),e.createElementVNode("div",rR,[mR,e.createElementVNode("div",pR,e.toDisplayString((Lo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.sailingCons),1),hR,e.createElementVNode("div",yR,e.toDisplayString(a.computeNum((Mo=(Ho=(Wo=l.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Ho.dgo)==null?void 0:Mo.portCons)),1),ER,e.createElementVNode("div",_R,e.toDisplayString((Ro=(Io=(Go=l.extraData)==null?void 0:Go.consAnalysis)==null?void 0:Io.dgo)==null?void 0:Ro.totalExtraCons),1),NR])])):(e.openBlock(),e.createElementBlock("div",VR,[e.createElementVNode("div",fR,[gR,e.createElementVNode("div",DR,[e.createElementVNode("div",null,e.toDisplayString((zo=l.extraData)==null?void 0:zo.priorDist),1),bR,e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=l.extraData)==null?void 0:Zo.cp)==null?void 0:$o.speed),1)]),xR,e.createElementVNode("div",CR,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.fo),1),SR,kR]),AR,e.createElementVNode("div",BR,e.toDisplayString((jo=(qo=(Ko=l.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:qo.fo)==null?void 0:jo.sailingCons),1),wR]),e.createElementVNode("div",TR,[uR,e.createElementVNode("div",OR,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),FR,e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.speed),1)]),PR,e.createElementVNode("div",LR,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.extraData)==null?void 0:tl.cp)==null?void 0:ol.dgo),1),WR,HR]),MR,e.createElementVNode("div",GR,e.toDisplayString((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.dgo)==null?void 0:nl.sailingCons),1),IR]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",RR,[zR,e.createElementVNode("div",UR,e.toDisplayString((cl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.actualCons),1),YR,e.createElementVNode("div",ZR,e.toDisplayString(a.computeNum((ml=(rl=(dl=l.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.sailingCons)),1),$R,e.createElementVNode("div",QR,e.toDisplayString((yl=(hl=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:hl.fo)==null?void 0:yl.totalExtraCons),1),JR])):(e.openBlock(),e.createElementBlock("div",KR,[qR,e.createElementVNode("div",jR,e.toDisplayString((Nl=(_l=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:_l.fo)==null?void 0:Nl.actualCons),1),XR,e.createElementVNode("div",vR,e.toDisplayString(a.computeNum((bl=(Lt=(Vl=l.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:Lt.fo)==null?void 0:bl.sailingCons)),1),ez,e.createElementVNode("div",tz,e.toDisplayString(a.computeNum((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Al.portCons)),1),oz,e.createElementVNode("div",lz,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.fo)==null?void 0:Tl.totalExtraCons),1),az])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",nz,[sz,e.createElementVNode("div",iz,e.toDisplayString((Fl=(Ol=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.actualCons),1),cz,e.createElementVNode("div",dz,e.toDisplayString((Wl=(Ll=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),rz,e.createElementVNode("div",mz,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.totalExtraCons),1),pz])):(e.openBlock(),e.createElementBlock("div",hz,[yz,e.createElementVNode("div",Ez,e.toDisplayString((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.actualCons),1),_z,e.createElementVNode("div",Nz,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.sailingCons)),1),Vz,e.createElementVNode("div",fz,e.toDisplayString(a.computeNum((Jl=(Ql=($l=l.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.portCons)),1),gz,e.createElementVNode("div",Dz,e.toDisplayString((jl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:jl.totalExtraCons),1),bz]))])),((Xl=o.report)==null?void 0:Xl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",xz,[Cz,e.createElementVNode("div",Sz,[kz,e.createElementVNode("div",Az,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)??"—"),1),e.createElementVNode("div",Bz,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.sailingCons)??"—"),1)]),e.createElementVNode("div",wz,[Tz,e.createElementVNode("div",uz,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.fo)==null?void 0:ia.portCons)??"—"),1),e.createElementVNode("div",Oz,e.toDisplayString(((ra=(da=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.dgo)==null?void 0:ra.portCons)??"—"),1)]),e.createElementVNode("div",Fz,[Pz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.fo)==null?void 0:ha.totalExtraCons)} flex blue center`)},e.toDisplayString(((_a=(Ea=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:Ea.fo)==null?void 0:_a.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ba=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.dgo)==null?void 0:ba.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",Lz,[Wz,e.createElementVNode("div",Hz,[Mz,e.createElementVNode("div",Gz,e.toDisplayString((Sa=(Ca=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.sailingCons),1),e.createElementVNode("div",Iz,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:Ba.sailingCons),1)]),e.createElementVNode("div",Rz,[zz,e.createElementVNode("div",Uz,e.toDisplayString((ua=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:ua.actualCons),1),e.createElementVNode("div",Yz,e.toDisplayString((Pa=(Fa=(Oa=l.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Fa.dgo)==null?void 0:Pa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",Zz,[$z,e.createElementVNode("div",Qz,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:Ha.portCons),1),e.createElementVNode("div",Jz,e.toDisplayString((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.dgo)==null?void 0:Ia.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",Kz,[qz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.fo)==null?void 0:$a.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((mo=(ae=(Qa=l.extraData)==null?void 0:Qa.consAnalysis)==null?void 0:ae.dgo)==null?void 0:mo.totalExtraCons)} flex blue center`)},e.toDisplayString((qa=(Ka=(Ja=l.extraData)==null?void 0:Ja.consAnalysis)==null?void 0:Ka.dgo)==null?void 0:qa.totalExtraCons),3)])]))]),e.createElementVNode("div",jz,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Xz))],2)])])}const Wn=Ee(_H,[["render",vz],["__scopeId","data-v-1413248b"]]),Zoe="",eU={name:"FliDvtRpt",components:{CirclePlus:ln.CirclePlus,Remove:ln.Remove,EditableItem:Ln,Editor:Uo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nI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6IY9Alh0Evpwo6Zt9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await xl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,m;this.extraPortList.splice(t,1);const n=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(m=this.data)==null?void 0:m.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,c){var m,i,p,D,f;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),C=n.substring(l+1);C!=="date"&&(o=Number(o)),this.extraPortList[c][V][C]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(m=h==null?void 0:h.data)==null?void 0:m.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(D=this.data)!=null&&D.comments?(f=this.data)==null?void 0:f.comments:void 0}else En.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},w=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),tU={class:"deviation-report"},oU=w(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),lU={class:"report-header"},aU={class:"header-title",style:{position:"relative !important"}},nU={class:"header-title-content"},sU=w(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),iU={class:"title-date"},cU={class:"report-summary"},dU={class:"summary-item"},rU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),mU={class:"flexL gray"},pU={class:"summary-item"},hU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),yU={class:"flexL gray"},EU={class:"summary-item"},_U=w(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),NU={class:"flexL gray"},VU={class:"summary-item"},fU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),gU={class:"flexL gray"},DU={class:"summary-item"},bU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),xU={class:"flexL gray",style:{display:"flex"}},CU={class:"flex"},SU={class:"flexM"},kU={class:"summary-item"},AU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),BU={class:"flexL gray",style:{display:"flex"}},wU={class:"flex"},TU={class:"flexM"},uU=w(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),OU={class:"report-summary"},FU={class:"summary-item"},PU=w(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),LU={class:"summary-item"},WU=w(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),HU={class:"summary-item"},MU=w(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),GU={class:"summary-item"},IU=w(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),RU=w(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),zU={class:"report-map"},UU=["src"],YU=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),ZU=w(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),$U={key:0,class:"subtitle"},QU={key:1,class:"report-summary"},JU=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),KU={class:"summary-item"},qU=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),jU={class:"blue center",style:{width:"20%"}},XU={class:"blue center",style:{width:"17%"}},vU={class:"flex blue center"},eY={class:"flex blue center"},tY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),oY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),lY={class:"summary-item"},aY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),nY={class:"blue center",style:{width:"20%"}},sY={class:"blue center",style:{width:"17%"}},iY={class:"flex blue center"},cY={class:"flex blue center"},dY={class:"flex blue center"},rY={class:"flex blue center"},mY={class:"summary-item"},pY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),hY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),yY={class:"blue center",style:{width:"17%"}},EY={class:"flex blue center"},_Y={class:"flex blue center"},NY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),VY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),fY=w(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),gY={class:"report-summary"},DY={class:"summary-item"},bY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),xY={class:"flexL blue center"},CY={class:"summary-item"},SY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),kY={class:"flexL blue center"},AY={class:"summary-item"},BY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),wY={class:"flexL blue center"},TY={class:"subtitle port"},uY=w(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),OY={class:"print-hidden"},FY={class:"report-port"},PY=w(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),LY={rowspan:2},WY=w(()=>e.createElementVNode("td",null,"Arrival",-1)),HY=w(()=>e.createElementVNode("td",null,null,-1)),MY=w(()=>e.createElementVNode("td",null,null,-1)),GY={rowspan:2,class:"print-hidden"},IY=w(()=>e.createElementVNode("td",null,"Departure",-1)),RY=w(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),zY=w(()=>e.createElementVNode("td",null,null,-1)),UY=w(()=>e.createElementVNode("td",null,null,-1)),YY=w(()=>e.createElementVNode("td",null,null,-1)),ZY=w(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),$Y=w(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),QY={class:"report-summary"},JY=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),KY={class:"summary-item"},qY=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),jY={class:"flex blue center"},XY={class:"flex blue center"},vY={class:"summary-item"},eZ=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),tZ={class:"flex blue center"},oZ=w(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),lZ={key:2,class:"report-formular"},aZ={class:"equation"},nZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),sZ={class:"function",style:{width:"20%"}},iZ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),dZ={style:{width:"10%"}},rZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),mZ={class:"equation"},pZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),hZ={style:{width:"5%"}},yZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),EZ={style:{width:"8%"}},_Z=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),NZ={style:{width:"4%"}},VZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),fZ={key:3,class:"report-formular"},gZ={class:"equation"},DZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),bZ={class:"function",style:{width:"20%"}},xZ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),CZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),SZ={style:{width:"10%"}},kZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),AZ={key:0,class:"equation"},BZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),wZ={style:{width:"5%"}},TZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),uZ={style:{width:"5%"}},OZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),FZ={style:{width:"5%"}},PZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),LZ={key:1,class:"equation"},WZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),HZ={style:{width:"5%"}},MZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),GZ={style:{width:"5%"}},IZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),RZ={style:{width:"5%"}},zZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),UZ={style:{width:"5%"}},YZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),ZZ={key:4,class:"report-summary"},$Z={class:"summary-item"},QZ=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),JZ={class:"flex blue center"},KZ={class:"summary-item"},qZ=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),jZ={class:"flex blue center"},XZ={class:"summary-item"},vZ=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),e$={class:"flex blue center"},t$={key:5,class:"report-summary"},o$={class:"summary-item"},l$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),a$={class:"flex blue center"},n$={class:"summary-item"},s$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),i$={class:"flex blue center"},c$={key:0,class:"summary-item"},d$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),r$={class:"flex blue center"},m$={class:"summary-item"},p$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),h$={class:"flex blue center"},y$=w(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),E$={key:6,class:"report-formular"},_$={class:"equation"},N$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),V$={class:"function",style:{width:"5%"}},f$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),D$={class:"function",style:{width:"5%"}},b$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x$=w(()=>e.createElementVNode("div",null,"24",-1)),C$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),S$={style:{width:"5%"}},k$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),A$={class:"equation"},B$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),w$={style:{width:"5%"}},T$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),u$={style:{width:"5%"}},O$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),F$={style:{width:"5%"}},P$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),L$={class:"equation"},W$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),H$={class:"function",style:{width:"5%"}},M$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),G$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),I$={class:"function",style:{width:"5%"}},R$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z$=w(()=>e.createElementVNode("div",null,"24",-1)),U$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),Y$={style:{width:"5%"}},Z$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),$$={class:"equation"},Q$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),J$={style:{width:"5%"}},K$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),q$={style:{width:"5%"}},j$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),X$={style:{width:"5%"}},v$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),eQ={key:7,class:"report-formular"},tQ={class:"equation"},oQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),lQ={class:"function",style:{width:"5%"}},aQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sQ={class:"function",style:{width:"5%"}},iQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cQ=w(()=>e.createElementVNode("div",null,"24",-1)),dQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rQ={style:{width:"5%"}},mQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),pQ={class:"equation"},hQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),yQ={class:"function",style:{width:"5%"}},EQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_Q=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),NQ={class:"function",style:{width:"5%"}},VQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fQ=w(()=>e.createElementVNode("div",null,"24",-1)),gQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),DQ={style:{width:"5%"}},bQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),xQ={key:0,class:"equation"},CQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),SQ={style:{width:"5%"}},kQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),AQ={style:{width:"5%"}},BQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),wQ={style:{width:"5%"}},TQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uQ={key:1,class:"equation"},OQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),FQ={style:{width:"5%"}},PQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),LQ={style:{width:"5%"}},WQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),HQ={style:{width:"5%"}},MQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),GQ={style:{width:"5%"}},IQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),RQ={key:2,class:"equation"},zQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),UQ={style:{width:"5%"}},YQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),ZQ={style:{width:"5%"}},$Q=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QQ={style:{width:"5%"}},JQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KQ={key:3,class:"equation"},qQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),jQ={style:{width:"5%"}},XQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),vQ={style:{width:"5%"}},eJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tJ={style:{width:"5%"}},oJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),lJ={style:{width:"5%"}},aJ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),nJ={key:8,class:"report-summary"},sJ=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),iJ={class:"summary-item"},cJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),dJ={class:"flex blue center"},rJ={class:"flex blue center"},mJ={class:"summary-item"},pJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),hJ={class:"flex blue center"},yJ={class:"flex blue center"},EJ={class:"summary-item"},_J=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),NJ={key:9,class:"report-summary"},VJ=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),fJ={class:"summary-item"},gJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),DJ={class:"flex blue center"},bJ={class:"flex blue center"},xJ={class:"summary-item"},CJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),SJ={class:"flex blue center"},kJ={class:"flex blue center"},AJ={key:0,class:"summary-item"},BJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),wJ={class:"flex blue center"},TJ={class:"flex blue center"},uJ={class:"summary-item"},OJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),FJ=["innerHTML"];function PJ(t,n,o,c,l,a){var h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,At,Bt,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Ao,Bo,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Al,Bl,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Aa,Ba,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa;const m=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),D=e.resolveComponent("Remove"),f=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",tU,[oU,e.createElementVNode("div",lU,[e.createElementVNode("div",aU,[e.createElementVNode("div",nU,[sU,e.createElementVNode("div",iU,e.toDisplayString(a.computeUTCTime((h=l.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",cU,[e.createElementVNode("div",dU,[rU,e.createElementVNode("div",mU,e.toDisplayString((C=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:C.name),1)]),e.createElementVNode("div",pU,[hU,e.createElementVNode("div",yU,e.toDisplayString((d=l.extraData)==null?void 0:d.preparedFor),1)]),e.createElementVNode("div",EU,[_U,e.createElementVNode("div",NU,e.toDisplayString((k=(S=l.extraData)==null?void 0:S.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",VU,[fU,e.createElementVNode("div",gU,e.toDisplayString((B=(A=l.extraData)==null?void 0:A.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",DU,[bU,e.createElementVNode("div",xU,[e.createElementVNode("span",CU,e.toDisplayString((F=(u=l.extraData)==null?void 0:u.departure)==null?void 0:F.name),1),e.createElementVNode("span",SU,e.toDisplayString(a.computeUTCTime(((L=(x=l.extraData)==null?void 0:x.departure)==null?void 0:L.atd)||((Z=(U=l.extraData)==null?void 0:U.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",kU,[AU,e.createElementVNode("div",BU,[e.createElementVNode("span",wU,e.toDisplayString((P=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:P.name),1),e.createElementVNode("span",TU,e.toDisplayString(a.computeUTCTime(((I=(g=l.extraData)==null?void 0:g.arrival)==null?void 0:I.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])]),uU,e.createElementVNode("div",OU,[e.createElementVNode("div",FU,[PU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.extraData)==null?void 0:M.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",LU,[WU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((z=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:z.totalExtraTime)??"—"),3)]),e.createElementVNode("div",HU,[MU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(r=l.extraData)==null?void 0:r.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",GU,[IU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),RU,e.createElementVNode("div",zU,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,UU),YU]),ZU,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",$U,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",QU,[JU,e.createElementVNode("div",KU,[qU,e.createElementVNode("div",jU,e.toDisplayString(a.computedLngLat((he=l.extraData)==null?void 0:he.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",XU,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",vU,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",eY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),tY,oY]),e.createElementVNode("div",lY,[aY,e.createElementVNode("div",nY,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",sY,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",iY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",cY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",dY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",rY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",mY,[pY,hY,e.createElementVNode("div",yY,e.toDisplayString(((W=(ye=l.extraData)==null?void 0:ye.timeAnalysis)==null?void 0:W.actualTime)??"—"),1),e.createElementVNode("div",EY,e.toDisplayString(((Pe=(Fe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Fe.fo)==null?void 0:Pe.actualCons)??"—"),1),e.createElementVNode("div",_Y,e.toDisplayString(((We=(ke=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:ke.dgo)==null?void 0:We.actualCons)??"—"),1),NY,VY])])),fY,e.createElementVNode("div",gY,[e.createElementVNode("div",DY,[bY,e.createElementVNode("div",xY,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.cp)==null?void 0:Ze.speed)??"—"),1)]),e.createElementVNode("div",CY,[SY,e.createElementVNode("div",kY,e.toDisplayString(((we=(Y=l.extraData)==null?void 0:Y.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",AY,[BY,e.createElementVNode("div",wY,e.toDisplayString((($e=(Me=l.extraData)==null?void 0:Me.cp)==null?void 0:$e.dgo)??"—"),1)])]),e.createElementVNode("div",TY,[uY,e.createElementVNode("div",OY,[e.createVNode(p,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",FY,[e.createElementVNode("table",null,[PY,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,mo)=>{var Ja,Ka,qa,ne,po,ja,Xa,va;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",LY,[e.createVNode(m,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:mt=>a.handleCommit("port","name",mt,mo)},null,8,["value","options","onSelect","onCommit"])]),WY,e.createElementVNode("td",null,[e.createVNode(m,{class:"check editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:mt=>a.handleCommit("port","arrival.date",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(Ka=ae==null?void 0:ae.arrival)==null?void 0:Ka.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","arrival.foBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(qa=ae==null?void 0:ae.arrival)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","arrival.dgoBrob",mt,mo)},null,8,["value","onCommit"])]),HY,MY,e.createElementVNode("td",GY,[e.createVNode(p,{size:20,onClick:mt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[IY,e.createElementVNode("td",null,[e.createVNode(m,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:mt=>a.handleCommit("port","departure.date",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(po=ae==null?void 0:ae.departure)==null?void 0:po.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.foBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(ja=ae==null?void 0:ae.departure)==null?void 0:ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.dgoBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(Xa=ae==null?void 0:ae.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.bunkeringFo",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(va=ae==null?void 0:ae.departure)==null?void 0:va.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.bunkeringDgo",mt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[RY,zY,e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=l.extraData)==null?void 0:Qe.timeAnalysis)==null?void 0:Je.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=(Ke=l.extraData)==null?void 0:Ke.consAnalysis)==null?void 0:qe.fo)==null?void 0:_.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Te=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:Te.dgo)==null?void 0:He.portCons)??"—"),1),UY,YY,ZY])])])]),$Y,e.createElementVNode("div",QY,[JY,e.createElementVNode("div",KY,[qY,e.createElementVNode("div",jY,[e.createVNode(m,{class:"editable-item",style:{padding:"0px"},value:(Ge=l.extraData)==null?void 0:Ge.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",XY,[e.createVNode(m,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",vY,[eZ,e.createElementVNode("div",tZ,e.toDisplayString(((je=l.extraData)==null?void 0:je.extraDist)??"—"),1)])]),oZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",lZ,[e.createElementVNode("div",aZ,[nZ,e.createElementVNode("div",sZ,[e.createElementVNode("div",null,e.toDisplayString((ve=l.extraData)==null?void 0:ve.extraDist),1),iZ,e.createElementVNode("div",null,e.toDisplayString((lt=(et=l.extraData)==null?void 0:et.cp)==null?void 0:lt.speed),1)]),cZ,e.createElementVNode("div",dZ,e.toDisplayString((nt=(at=l.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.sailingTime),1),rZ]),e.createElementVNode("div",mZ,[pZ,e.createElementVNode("div",hZ,e.toDisplayString((ht=(st=l.extraData)==null?void 0:st.timeAnalysis)==null?void 0:ht.sailingTime),1),yZ,e.createElementVNode("div",EZ,e.toDisplayString(a.computeNum((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.portTime)),1),_Z,e.createElementVNode("div",NZ,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),VZ])])):(e.openBlock(),e.createElementBlock("div",fZ,[e.createElementVNode("div",gZ,[DZ,e.createElementVNode("div",bZ,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),xZ,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),CZ,e.createElementVNode("div",SZ,e.toDisplayString((bt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:bt.sailingTime),1),kZ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",AZ,[BZ,e.createElementVNode("div",wZ,e.toDisplayString((Ct=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:Ct.actualTime),1),TZ,e.createElementVNode("div",uZ,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),OZ,e.createElementVNode("div",FZ,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),PZ])):(e.openBlock(),e.createElementBlock("div",LZ,[WZ,e.createElementVNode("div",HZ,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),MZ,e.createElementVNode("div",GZ,e.toDisplayString((Ot=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Ot.sailingTime),1),IZ,e.createElementVNode("div",RZ,e.toDisplayString((ho=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:ho.portTime),1),zZ,e.createElementVNode("div",UZ,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),YZ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",ZZ,[e.createElementVNode("div",$Z,[QZ,e.createElementVNode("div",JZ,e.toDisplayString(((go=(fo=l.extraData)==null?void 0:fo.timeAnalysis)==null?void 0:go.sailingTime)??"—"),1)]),e.createElementVNode("div",KZ,[qZ,e.createElementVNode("div",jZ,e.toDisplayString(((ot=($=l.extraData)==null?void 0:$.timeAnalysis)==null?void 0:ot.portTime)??"—"),1)]),e.createElementVNode("div",XZ,[vZ,e.createElementVNode("div",e$,e.toDisplayString(((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",t$,[e.createElementVNode("div",o$,[l$,e.createElementVNode("div",a$,e.toDisplayString((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.sailingTime),1)]),e.createElementVNode("div",n$,[s$,e.createElementVNode("div",i$,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",c$,[d$,e.createElementVNode("div",r$,e.toDisplayString(((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",m$,[p$,e.createElementVNode("div",h$,e.toDisplayString(($t=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),y$,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",E$,[e.createElementVNode("div",_$,[N$,e.createElementVNode("div",V$,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),f$,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),g$,e.createElementVNode("div",D$,[e.createElementVNode("div",null,e.toDisplayString((jt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:jt.fo),1),b$,x$]),C$,e.createElementVNode("div",S$,e.toDisplayString((eo=(vt=(Xt=l.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:vt.fo)==null?void 0:eo.sailingCons),1),k$]),e.createElementVNode("div",A$,[B$,e.createElementVNode("div",w$,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),T$,e.createElementVNode("div",u$,e.toDisplayString(a.computeNum((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.portCons)),1),O$,e.createElementVNode("div",F$,e.toDisplayString((ro=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:ro.totalExtraCons),1),P$]),e.createElementVNode("div",L$,[W$,e.createElementVNode("div",H$,[e.createElementVNode("div",null,e.toDisplayString((Do=l.extraData)==null?void 0:Do.extraDist),1),M$,e.createElementVNode("div",null,e.toDisplayString((xo=(bo=l.extraData)==null?void 0:bo.cp)==null?void 0:xo.speed),1)]),G$,e.createElementVNode("div",I$,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.dgo),1),R$,z$]),U$,e.createElementVNode("div",Y$,e.toDisplayString((Bo=(Ao=(ko=l.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Ao.dgo)==null?void 0:Bo.sailingCons),1),Z$]),e.createElementVNode("div",$$,[Q$,e.createElementVNode("div",J$,e.toDisplayString((uo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:uo.sailingCons),1),K$,e.createElementVNode("div",q$,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),j$,e.createElementVNode("div",X$,e.toDisplayString((Ho=(Wo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.dgo)==null?void 0:Ho.totalExtraCons),1),v$])])):(e.openBlock(),e.createElementBlock("div",eQ,[e.createElementVNode("div",tQ,[oQ,e.createElementVNode("div",lQ,[e.createElementVNode("div",null,e.toDisplayString((Mo=l.extraData)==null?void 0:Mo.priorDist),1),aQ,e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.speed),1)]),nQ,e.createElementVNode("div",sQ,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=l.extraData)==null?void 0:Ro.cp)==null?void 0:zo.fo),1),iQ,cQ]),dQ,e.createElementVNode("div",rQ,e.toDisplayString((Qo=($o=(Zo=l.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:$o.fo)==null?void 0:Qo.sailingCons),1),mQ]),e.createElementVNode("div",pQ,[hQ,e.createElementVNode("div",yQ,[e.createElementVNode("div",null,e.toDisplayString((Jo=l.extraData)==null?void 0:Jo.priorDist),1),EQ,e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=l.extraData)==null?void 0:Ko.cp)==null?void 0:qo.speed),1)]),_Q,e.createElementVNode("div",NQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:Xo.dgo),1),VQ,fQ]),gQ,e.createElementVNode("div",DQ,e.toDisplayString((tl=(el=(vo=l.extraData)==null?void 0:vo.consAnalysis)==null?void 0:el.dgo)==null?void 0:tl.sailingCons),1),bQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",xQ,[CQ,e.createElementVNode("div",SQ,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.fo)==null?void 0:al.actualCons),1),kQ,e.createElementVNode("div",AQ,e.toDisplayString(a.computeNum((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.sailingCons)),1),BQ,e.createElementVNode("div",wQ,e.toDisplayString((rl=(dl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:dl.fo)==null?void 0:rl.totalExtraCons),1),TQ])):(e.openBlock(),e.createElementBlock("div",uQ,[OQ,e.createElementVNode("div",FQ,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.fo)==null?void 0:hl.actualCons),1),PQ,e.createElementVNode("div",LQ,e.toDisplayString(a.computeNum((_l=(El=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:_l.sailingCons)),1),WQ,e.createElementVNode("div",HQ,e.toDisplayString(a.computeNum((Lt=(Vl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.fo)==null?void 0:Lt.portCons)),1),MQ,e.createElementVNode("div",GQ,e.toDisplayString((kl=(Sl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:Sl.fo)==null?void 0:kl.totalExtraCons),1),IQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",RQ,[zQ,e.createElementVNode("div",UQ,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.actualCons),1),YQ,e.createElementVNode("div",ZQ,e.toDisplayString((Ol=(ul=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Ol.sailingCons),1),$Q,e.createElementVNode("div",QQ,e.toDisplayString((Ll=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.totalExtraCons),1),JQ])):(e.openBlock(),e.createElementBlock("div",KQ,[qQ,e.createElementVNode("div",jQ,e.toDisplayString((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.actualCons),1),XQ,e.createElementVNode("div",vQ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.sailingCons)),1),eJ,e.createElementVNode("div",tJ,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.portCons)),1),oJ,e.createElementVNode("div",lJ,e.toDisplayString((Ql=($l=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Ql.totalExtraCons),1),aJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",nJ,[sJ,e.createElementVNode("div",iJ,[cJ,e.createElementVNode("div",dJ,e.toDisplayString(((ql=(Kl=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:ql.sailingCons)??"—"),1),e.createElementVNode("div",rJ,e.toDisplayString(((vl=(Xl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.dgo)==null?void 0:vl.sailingCons)??"—"),1)]),e.createElementVNode("div",mJ,[pJ,e.createElementVNode("div",hJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.fo)==null?void 0:oa.portCons)??"—"),1),e.createElementVNode("div",yJ,e.toDisplayString(((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.dgo)==null?void 0:na.portCons)??"—"),1)]),e.createElementVNode("div",EJ,[_J,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:ca.totalExtraCons)} flex blue center`)},e.toDisplayString(((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.fo)==null?void 0:ma.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ya=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:ya.totalExtraCons)} flex blue center`)},e.toDisplayString(((Na=(_a=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Na.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",NJ,[VJ,e.createElementVNode("div",fJ,[gJ,e.createElementVNode("div",DJ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.fo)==null?void 0:ga.sailingCons),1),e.createElementVNode("div",bJ,e.toDisplayString((xa=(ba=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.dgo)==null?void 0:xa.sailingCons),1)]),e.createElementVNode("div",xJ,[CJ,e.createElementVNode("div",SJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.fo)==null?void 0:ka.actualCons),1),e.createElementVNode("div",kJ,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.dgo)==null?void 0:wa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",AJ,[BJ,e.createElementVNode("div",wJ,e.toDisplayString((Oa=(ua=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:ua.fo)==null?void 0:Oa.portCons),1),e.createElementVNode("div",TJ,e.toDisplayString((La=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",uJ,[OJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons)} flex blue center`)},e.toDisplayString((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.fo)==null?void 0:Ra.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.totalExtraCons)} flex blue center`)},e.toDisplayString((Qa=($a=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Qa.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(f,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,FJ))],2)])}const Hn=Ee(eU,[["render",PJ],["__scopeId","data-v-77edf8aa"]]),LJ={install(t){t.component("DeviationReport",Wn),t.component("FliDeviationReport",Hn)}},$oe="",WJ={components:{IdmBrand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKO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dpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":ie.roundPrecision(t,n)}}}},_o=t=>(e.pushScopeId("data-v-1f8ff012"),t=t(),e.popScopeId(),t),HJ={class:"stoppage-report"},MJ={class:"report-summary"},GJ={class:"summary-item"},IJ=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),RJ={class:"flexL gray"},zJ={class:"summary-item"},UJ=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),YJ={class:"flexL gray"},ZJ={class:"summary-item"},$J=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),QJ={class:"flexL gray"},JJ={class:"summary-item"},KJ=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),qJ={class:"flexL gray"},jJ={class:"summary-item"},XJ=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),vJ={class:"flexL gray",style:{display:"flex"}},eK={class:"flex"},tK={class:"flexM"},oK={class:"summary-item"},lK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),aK={class:"flexL gray",style:{display:"flex"}},nK={class:"flex"},sK={class:"flexM"},iK=_o(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),cK={class:"report-summary"},dK={class:"summary-item"},rK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),mK={class:"summary-item"},pK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),hK={class:"summary-item"},yK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),EK=_o(()=>e.createElementVNode("div",{class:"subtitle",style:{"page-break-before":"always"}},"Stoppage Info",-1)),_K={class:"report-table"},NK=_o(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),VK=_o(()=>e.createElementVNode("td",null,"Stopped",-1)),fK={rowspan:2},gK={rowspan:2},DK={rowspan:2},bK=_o(()=>e.createElementVNode("td",null,"Resumed",-1)),xK={class:"report-map flex-center"},CK=["src"];function SK(t,n,o,c,l,a){var i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",HJ,[e.createVNode(m,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",MJ,[e.createElementVNode("div",GJ,[IJ,e.createElementVNode("div",RJ,e.toDisplayString((p=(i=o.report)==null?void 0:i.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",zJ,[UJ,e.createElementVNode("div",YJ,e.toDisplayString((D=o.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",ZJ,[$J,e.createElementVNode("div",QJ,e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",JJ,[KJ,e.createElementVNode("div",qJ,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",jJ,[XJ,e.createElementVNode("div",vJ,[e.createElementVNode("span",eK,e.toDisplayString((S=(d=o.report)==null?void 0:d.departure)==null?void 0:S.name),1),e.createElementVNode("span",tK,e.toDisplayString(a.computeUTCTime(((A=(k=o.report)==null?void 0:k.departure)==null?void 0:A.atd)||((u=(B=o.report)==null?void 0:B.departure)==null?void 0:u.etd))),1)])]),e.createElementVNode("div",oK,[lK,e.createElementVNode("div",aK,[e.createElementVNode("span",nK,e.toDisplayString((x=(F=o.report)==null?void 0:F.arrival)==null?void 0:x.name),1),e.createElementVNode("span",sK,e.toDisplayString(a.computeUTCTime(((U=(L=o.report)==null?void 0:L.arrival)==null?void 0:U.ata)||((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.eta))),1)])])]),iK,e.createElementVNode("div",cK,[e.createElementVNode("div",dK,[rK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((P=o.report)==null?void 0:P.totalTime))},e.toDisplayString(((g=o.report)==null?void 0:g.totalTime)??"—"),5)]),e.createElementVNode("div",mK,[pK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((I=o.report)==null?void 0:I.totalFoCons))},e.toDisplayString(((G=o.report)==null?void 0:G.totalFoCons)??"—"),5)]),e.createElementVNode("div",hK,[yK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((M=o.report)==null?void 0:M.totalDgoCons)??"—"),5)])]),EK,e.createElementVNode("div",_K,[e.createElementVNode("table",null,[NK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[VK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((Q=o.report)==null?void 0:Q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((K=o.report)==null?void 0:K.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((z=o.report)==null?void 0:z.stopDgoBrob)??"-")),1),e.createElementVNode("td",fK,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",gK,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",DK,e.toDisplayString(a.computeRoundPrecision(((X=o.report)==null?void 0:X.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[bK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((r=o.report)==null?void 0:r.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",xK,[e.createElementVNode("img",{src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,CK)])])}const Mn=Ee(WJ,[["render",SK],["__scopeId","data-v-1f8ff012"]]),kK={install(t){t.component("StoppageReport",Mn)}},Qoe="",AK={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Uo,IdmBrand:en},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977d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Q1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${O(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?ie.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await xl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},ze=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),BK={class:"comparison-report"},wK=ze(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),TK={class:"report-header"},uK={class:"header-title",style:{position:"relative !important"}},OK=["src"],FK={class:"header-title-content"},PK=ze(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),LK={class:"title-date"},WK={class:"report-summary"},HK={class:"summary-item"},MK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),GK={class:"flexL gray"},IK={class:"summary-item"},RK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),zK={class:"flexL gray"},UK={class:"summary-item"},YK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),ZK={class:"flexL gray"},$K={class:"summary-item"},QK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),JK={class:"flexL gray"},KK={class:"summary-item"},qK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),jK={class:"flexL gray"},XK={class:"summary-item"},vK=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),eq={class:"flexL gray",style:{display:"flex"}},tq={class:"flex"},oq={class:"flexM"},lq={class:"summary-item"},aq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),nq={class:"flexL gray",style:{display:"flex"}},sq={class:"flex"},iq={class:"flexM"},cq=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),dq={class:"report-summary"},rq={class:"summary-item"},mq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),pq={class:"summary-item"},hq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),yq={class:"summary-item"},Eq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),_q=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),Nq={class:"report-map"},Vq=["src"],fq=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),gq=ze(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Dq={key:0,class:"subtitle"},bq={key:1,class:"report-summary"},xq={class:"summary-item"},Cq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Sq={class:"flexL blue center"},kq={class:"summary-item"},Aq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Bq={class:"flexL blue center"},wq={class:"summary-item"},Tq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),uq={class:"flexL blue center"},Oq=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),Fq={class:"report-summary"},Pq=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Lq={class:"summary-item"},Wq=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Hq={class:"flex blue-light center"},Mq={class:"flex blue-light center"},Gq={class:"summary-item"},Iq=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Rq={class:"flex blue-light center"},zq={class:"flex blue-light center"},Uq={class:"summary-item"},Yq=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Zq={class:"flex blue-light center"},$q={class:"flex blue-light center"},Qq={class:"summary-item"},Jq=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Kq={class:"flex blue-light center"},qq={class:"flex blue-light center"},jq={class:"summary-item"},Xq=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),vq={class:"flex blue-light center"},ej={class:"flex blue-light center"},tj={class:"summary-item"},oj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),lj={class:"flex blue-light center"},aj={class:"flex blue-light center"},nj={class:"summary-item"},sj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),ij={class:"flex blue-light center italic"},cj=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),dj={class:"report-summary"},rj=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),mj={class:"summary-item"},pj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),hj={class:"flex blue-light center"},yj={class:"flex blue-light center"},Ej={class:"summary-item"},_j=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Nj={class:"flex blue-light center"},Vj={class:"flex blue-light center"},fj={class:"summary-item"},gj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Dj={class:"flex blue-light center"},bj={class:"flex blue-light center"},xj={class:"summary-item"},Cj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Sj={class:"flex blue-light center"},kj={class:"flex blue-light center"},Aj={class:"summary-item"},Bj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),wj={class:"flex blue-light center italic"},Tj={class:"summary-item"},uj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Oj={class:"flex blue-light center italic"},Fj=["innerHTML"];function Pj(t,n,o,c,l,a){var p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",BK,[e.createVNode(m),wK,e.createElementVNode("div",TK,[e.createElementVNode("div",uK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,OK),e.createElementVNode("div",FK,[PK,e.createElementVNode("div",LK,e.toDisplayString(a.computeUTCTime(((p=l.comparisonData)==null?void 0:p.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",WK,[e.createElementVNode("div",HK,[MK,e.createElementVNode("div",GK,e.toDisplayString((f=(D=l.comparisonData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",IK,[RK,e.createElementVNode("div",zK,e.toDisplayString((h=l.comparisonData)==null?void 0:h.preparedFor),1)]),e.createElementVNode("div",UK,[YK,e.createElementVNode("div",ZK,e.toDisplayString((C=(V=l.comparisonData)==null?void 0:V.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",$K,[QK,e.createElementVNode("div",JK,e.toDisplayString((S=(d=l.comparisonData)==null?void 0:d.voyage)==null?void 0:S.loadCondition),1)]),e.createElementVNode("div",KK,[qK,e.createElementVNode("div",jK,e.toDisplayString((A=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:A.number),1)]),e.createElementVNode("div",XK,[vK,e.createElementVNode("div",eq,[e.createElementVNode("span",tq,e.toDisplayString((u=(B=l.comparisonData)==null?void 0:B.departure)==null?void 0:u.name),1),e.createElementVNode("span",oq,e.toDisplayString(a.computeUTCTime(((x=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:x.atd)||((U=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:U.etd))),1)])]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,[e.createElementVNode("span",sq,e.toDisplayString((R=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:R.name),1),e.createElementVNode("span",iq,e.toDisplayString(a.computeUTCTime(((g=(P=l.comparisonData)==null?void 0:P.arrival)==null?void 0:g.ata)||((G=(I=l.comparisonData)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),cq,e.createElementVNode("div",dq,[e.createElementVNode("div",rq,[mq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((M=l.comparisonData)==null?void 0:M.diffTime,"time")),3)]),e.createElementVNode("div",pq,[hq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Q=l.comparisonData)==null?void 0:Q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",yq,[Eq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((N=l.comparisonData)==null?void 0:N.diffDgoCons,"oil")),3)])]),_q,e.createElementVNode("div",Nq,[e.createElementVNode("img",{style:{width:"100%"},src:(z=l.comparisonData)==null?void 0:z.chartUrl,alt:""},null,8,Vq),fq]),gq,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Dq,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bq,[e.createElementVNode("div",xq,[Cq,e.createElementVNode("div",Sq,e.toDisplayString(((r=(X=l.comparisonData)==null?void 0:X.cp)==null?void 0:r.speed)??"—"),1)]),e.createElementVNode("div",kq,[Aq,e.createElementVNode("div",Bq,e.toDisplayString(((oe=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",wq,[Tq,e.createElementVNode("div",uq,e.toDisplayString(((se=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:se.dgo)??"—"),1)])])),Oq,e.createElementVNode("div",Fq,[Pq,e.createElementVNode("div",Lq,[Wq,e.createElementVNode("div",Hq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualDist)??"—"),1),e.createElementVNode("div",Mq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",Gq,[Iq,e.createElementVNode("div",Rq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",zq,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdTime)??"—"),1)]),e.createElementVNode("div",Uq,[Yq,e.createElementVNode("div",Zq,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.actualAvgSpd)??"—"),1),e.createElementVNode("div",$q,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Qq,[Jq,e.createElementVNode("div",Kq,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgCF)??"—"),1),e.createElementVNode("div",qq,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",jq,[Xq,e.createElementVNode("div",vq,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgWF)??"—"),1),e.createElementVNode("div",ej,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualPfmSpd)??"—"),1),e.createElementVNode("div",aj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",nj,[sj,e.createElementVNode("div",ij,e.toDisplayString(a.compareTime((xe=l.comparisonData)==null?void 0:xe.actualTime,(Ce=l.comparisonData)==null?void 0:Ce.recmdTime)),1)])]),cj,e.createElementVNode("div",dj,[rj,e.createElementVNode("div",mj,[pj,e.createElementVNode("div",hj,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.actualAvgFoCons)??"-"),1),e.createElementVNode("div",yj,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Ej,[_j,e.createElementVNode("div",Nj,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Vj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdFoCons)??"-"),1)]),e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString(((W=l.comparisonData)==null?void 0:W.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",bj,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",xj,[Cj,e.createElementVNode("div",Sj,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualDgoCons)??"-"),1),e.createElementVNode("div",kj,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Aj,[Bj,e.createElementVNode("div",wj,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",Tj,[uj,e.createElementVNode("div",Oj,e.toDisplayString(((ke=l.comparisonData)==null?void 0:ke.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=We=>l.advisory=We),height:"320px",onBlur:n[1]||(n[1]=We=>a.handleCommit("comments",We))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...We)=>a.decideDisable&&a.decideDisable(...We)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Fj))],2)])}const Gn=Ee(AK,[["render",Pj],["__scopeId","data-v-c8bf8198"]]),Joe="",Lj={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Uo},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPK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BdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${O(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?ie.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await xl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ue=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),Wj={class:"comparison-report"},Hj=Ue(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),Mj={class:"report-header"},Gj={class:"header-title",style:{position:"relative !important"}},Ij={class:"header-title-content"},Rj=Ue(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),zj={class:"title-date"},Uj={class:"report-summary"},Yj={class:"summary-item"},Zj=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),$j={class:"flexL gray"},Qj={class:"summary-item"},Jj=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),Kj={class:"flexL gray"},qj={class:"summary-item"},jj=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),Xj={class:"flexL gray"},vj={class:"summary-item"},eX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),tX={class:"flexL gray"},oX={class:"summary-item"},lX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),aX={class:"flexL gray"},nX={class:"summary-item"},sX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),iX={class:"flexL gray",style:{display:"flex"}},cX={class:"flex"},dX={class:"flexM"},rX={class:"summary-item"},mX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),pX={class:"flexL gray",style:{display:"flex"}},hX={class:"flex"},yX={class:"flexM"},EX=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),_X={class:"report-summary"},NX={class:"summary-item"},VX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),fX={class:"summary-item"},gX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),DX={class:"summary-item"},bX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),xX=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),CX={class:"report-map"},SX=["src"],kX=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),AX=Ue(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),BX={key:0,class:"subtitle"},wX={key:1,class:"report-summary"},TX={class:"summary-item"},uX=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),OX={class:"flexL blue center"},FX={class:"summary-item"},PX=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),LX={class:"flexL blue center"},WX={class:"summary-item"},HX=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),MX={class:"flexL blue center"},GX=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),IX={class:"report-summary"},RX=Ue(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),zX={class:"summary-item"},UX=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),YX={class:"flex blue-light center"},ZX={class:"flex blue-light center"},$X={class:"summary-item"},QX=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),JX={class:"flex blue-light center"},KX={class:"flex blue-light center"},qX={class:"summary-item"},jX=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),XX={class:"flex blue-light center"},vX={class:"flex blue-light center"},ev={class:"summary-item"},tv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),ov={class:"flex blue-light center"},lv={class:"flex blue-light center"},av={class:"summary-item"},nv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),sv={class:"flex blue-light center"},iv={class:"flex blue-light center"},cv={class:"summary-item"},dv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),rv={class:"flex blue-light center"},mv={class:"flex blue-light center"},pv={class:"summary-item"},hv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),yv={class:"flex blue-light center italic"},Ev=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),_v={class:"report-summary"},Nv=Ue(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Vv={class:"summary-item"},fv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),gv={class:"flex blue-light center"},Dv={class:"flex blue-light center"},bv={class:"summary-item"},xv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Cv={class:"flex blue-light center"},Sv={class:"flex blue-light center"},kv={class:"summary-item"},Av=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Bv={class:"flex blue-light center"},wv={class:"flex blue-light center"},Tv={class:"summary-item"},uv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Ov={class:"flex blue-light center"},Fv={class:"flex blue-light center"},Pv={class:"summary-item"},Lv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Wv={class:"flex blue-light center italic"},Hv={class:"summary-item"},Mv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Gv={class:"flex blue-light center italic"},Iv=["innerHTML"];function Rv(t,n,o,c,l,a){var i,p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le;const m=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Wj,[Hj,e.createElementVNode("div",Mj,[e.createElementVNode("div",Gj,[e.createElementVNode("div",Ij,[Rj,e.createElementVNode("div",zj,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",Uj,[e.createElementVNode("div",Yj,[Zj,e.createElementVNode("div",$j,e.toDisplayString((D=(p=l.comparisonData)==null?void 0:p.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",Qj,[Jj,e.createElementVNode("div",Kj,e.toDisplayString((f=l.comparisonData)==null?void 0:f.preparedFor),1)]),e.createElementVNode("div",qj,[jj,e.createElementVNode("div",Xj,e.toDisplayString((V=(h=l.comparisonData)==null?void 0:h.vessel)==null?void 0:V.type),1)]),e.createElementVNode("div",vj,[eX,e.createElementVNode("div",tX,e.toDisplayString((d=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:d.loadCondition),1)]),e.createElementVNode("div",oX,[lX,e.createElementVNode("div",aX,e.toDisplayString((k=(S=l.comparisonData)==null?void 0:S.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",nX,[sX,e.createElementVNode("div",iX,[e.createElementVNode("span",cX,e.toDisplayString((B=(A=l.comparisonData)==null?void 0:A.departure)==null?void 0:B.name),1),e.createElementVNode("span",dX,e.toDisplayString(a.computeUTCTime(((F=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:F.atd)||((L=(x=l.comparisonData)==null?void 0:x.departure)==null?void 0:L.etd))),1)])]),e.createElementVNode("div",rX,[mX,e.createElementVNode("div",pX,[e.createElementVNode("span",hX,e.toDisplayString((Z=(U=l.comparisonData)==null?void 0:U.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",yX,e.toDisplayString(a.computeUTCTime(((P=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:P.ata)||((I=(g=l.comparisonData)==null?void 0:g.arrival)==null?void 0:I.eta))),1)])])]),EX,e.createElementVNode("div",_X,[e.createElementVNode("div",NX,[VX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((G=l.comparisonData)==null?void 0:G.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.comparisonData)==null?void 0:M.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",DX,[bX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffDgoCons,"oil")),3)])]),xX,e.createElementVNode("div",CX,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,SX),kX]),AX,(z=l.comparisonData)!=null&&z.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",BX,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",wX,[e.createElementVNode("div",TX,[uX,e.createElementVNode("div",OX,e.toDisplayString(((X=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",FX,[PX,e.createElementVNode("div",LX,e.toDisplayString(((v=(r=l.comparisonData)==null?void 0:r.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,e.toDisplayString(((ee=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ee.dgo)??"—"),1)])])),GX,e.createElementVNode("div",IX,[RX,e.createElementVNode("div",zX,[UX,e.createElementVNode("div",YX,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",ZX,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",$X,[QX,e.createElementVNode("div",JX,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",KX,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",qX,[jX,e.createElementVNode("div",XX,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",vX,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",ev,[tv,e.createElementVNode("div",ov,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",lv,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",av,[nv,e.createElementVNode("div",sv,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",iv,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",cv,[dv,e.createElementVNode("div",rv,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",mv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",pv,[hv,e.createElementVNode("div",yv,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),Ev,e.createElementVNode("div",_v,[Nv,e.createElementVNode("div",Vv,[fv,e.createElementVNode("div",gv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Dv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",bv,[xv,e.createElementVNode("div",Cv,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualFoCons)??"-"),1),e.createElementVNode("div",Sv,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",kv,[Av,e.createElementVNode("div",Bv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",wv,e.toDisplayString(((W=l.comparisonData)==null?void 0:W.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Tv,[uv,e.createElementVNode("div",Ov,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",Fv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Pv,[Lv,e.createElementVNode("div",Wv,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.diffFoCons)??"-"),1)]),e.createElementVNode("div",Hv,[Mv,e.createElementVNode("div",Gv,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=ke=>l.advisory=ke),height:"320px",onBlur:n[1]||(n[1]=ke=>a.handleCommit("comments",ke))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...ke)=>a.decideDisable&&a.decideDisable(...ke)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,Iv))],2)])}const In=Ee(Lj,[["render",Rv],["__scopeId","data-v-b2f57055"]]),zv={install(t){t.component("OpiComparisonReport",Gn),t.component("FliComparisonReport",In)}},Uv={install(t){t.component("IdmBrand",Eo),t.component("IdmThird",en)}},Koe="",Yv={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Rn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),Zv={class:"quota-report"},$v=Rn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Qv={class:"section quota-section"},Jv=Rn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Kv={class:"label"},qv={class:"label"},jv=["innerHTML"],Xv=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function vv(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Zv,[e.createVNode(m,{name:"Quotation Sheet"}),$v,e.createElementVNode("div",Qv,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Jv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Kv,e.toDisplayString(i.rank),1),e.createElementVNode("td",qv,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,jv))),128))]))),128))])]),Xv])])}const zn=Ee(Yv,[["render",vv],["__scopeId","data-v-f3647134"]]),qoe="",eee={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Un=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),tee={class:"quota-report"},oee=Un(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),lee={class:"section quota-section"},aee=Un(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),nee={class:"label"},see={class:"label"},iee=["innerHTML"],cee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function dee(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",tee,[e.createVNode(m,{name:"Quotation Sheet"}),oee,e.createElementVNode("div",lee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[aee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",nee,e.toDisplayString(i.rank),1),e.createElementVNode("td",see,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,iee))),128))]))),128))])]),cee])])}const Yn=Ee(eee,[["render",dee],["__scopeId","data-v-e3ab3a93"]]),joe="",ree={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Zn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),mee={class:"quota-report"},pee=Zn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),hee={class:"section quota-section"},yee=Zn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Eee={class:"label"},_ee={class:"label"},Nee=["innerHTML"],Vee=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function fee(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",mee,[e.createVNode(m,{name:"Quotation Sheet for TONGLI"}),pee,e.createElementVNode("div",hee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[yee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Eee,e.toDisplayString(i.rank),1),e.createElementVNode("td",_ee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,Nee))),128))]))),128))])]),Vee])])}const $n=Ee(ree,[["render",fee],["__scopeId","data-v-fecdf217"]]),gee={install(t){t.component("OrmQuoteReport",zn),t.component("OrmQuoteReport4SEOA",Yn),t.component("OrmQuoteReport4TongLi",$n)}},Xoe="",Dee={name:"PrecipitationReport",components:{IdmBrand:Eo,IdmLoading:an},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(n=this.report)==null?void 0:n.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${O(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,m,i,p,D,f;const n=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let h=0;h<((l=t==null?void 0:t.extend)==null?void 0:l.length);h++){const V=t==null?void 0:t.extend[h];if(h===0)V.precip.pacc=0;else{const C=O(V.utc).utcOffset(n),d=(a=V.precip)==null?void 0:a.acc;if(V.precip.pacc=d,d>0){const S=o[C.format("MMM-DD")],k=Math.floor(C.get("hour")/6);S?(S.pacc=this.roundPrecision(S.pacc+d,1),S[`${k}`]?S[`${k}`]+=d:(S[`${k}`]=d,S.colspan+=1)):(o[C.format("MMM-DD")]={pacc:d,colspan:1},o[C.format("MMM-DD")][`${k}`]=d)}}}t.paccInDays=o;let c=0;for(const h of Object.keys(o))c+=(m=o[h])==null?void 0:m.colspan,o[h].level=((i=o[h])==null?void 0:i.pacc)<10?"Light":((p=o[h])==null?void 0:p.pacc)<24.9?"Moderate":((D=o[h])==null?void 0:D.pacc)<49.9?"Heavy":((f=o[h])==null?void 0:f.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var D,f,h,V,C,d,S,k,A,B,u,F,x,L;const p=O(i.utc).utcOffset((D=this.form)==null?void 0:D.localTZ).format("MMM-DD/HHmm[LT]");o.push(p),a=((h=(f=i.wave)==null?void 0:f.sig)==null?void 0:h.height)>a?(C=(V=i.wave)==null?void 0:V.sig)==null?void 0:C.height:a,c.push([p,(d=i.wind)==null?void 0:d.kts,(S=i.gusts)==null?void 0:S.kts,(A=(k=i.wave)==null?void 0:k.sig)==null?void 0:A.height,(B=i.wind)==null?void 0:B.direction,(u=i.wind)==null?void 0:u.degree,(F=i.wind)==null?void 0:F.scale,(x=i.current)==null?void 0:x.kts,(L=i.precip)==null?void 0:L.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const m={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:c,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:c,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:c,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:c,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:c,z:2}]};this.echart.setOption(m)}},async initMap(){this.version==="Pretty"&&!this.map&&(fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Ht=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),bee={class:"precipitation-report"},xee={class:"section area-section"},Cee={class:"area-block"},See={class:"area-header flex-space"},kee={class:"flex-start"},Aee=["onClick"],Bee={class:"flex-end"},wee={class:"area-body"},Tee=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),uee={class:"flex-evenly"},Oee={key:0},Fee=["colspan"],Pee=["colspan"],Lee={style:{"font-size":"10px"}},Wee={key:0},Hee={key:1},Mee={key:2},Gee={key:3},Iee={key:0},Ree={key:1,style:{"font-size":"14px"}},zee=Ht(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Uee={class:"section echart-section"},Yee={ref:"echart",class:"echart"},Zee={class:"section sample-section"},$ee=Ht(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Qee=["colspan"],Jee=Ht(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Kee=Ht(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),qee=Ht(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),jee=Ht(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Xee=Ht(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),vee=Ht(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),ete={key:0},tte={key:1},ote=Ht(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),lte=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),ate=Ht(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),nte=Ht(()=>e.createElementVNode("th",null,"BF",-1)),ste=Ht(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),ite=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),cte=Ht(()=>e.createElementVNode("th",null,"Ht (m)",-1)),dte=Ht(()=>e.createElementVNode("th",null,"Prd (s)",-1)),rte=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),mte=Ht(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),pte=Ht(()=>e.createElementVNode("th",null,"Prd (s)",-1)),hte=Ht(()=>e.createElementVNode("th",null,"°C",-1)),yte={width:"120px"},Ete={key:0},_te={key:1},Nte={key:0,class:"degree-box"},Vte={key:1},fte={key:0,class:"degree-box"},gte={key:1},Dte={key:0,class:"degree-box"},bte={key:1},xte={class:"section area-section"},Cte={class:"area-block"},Ste={class:"area-header flex-end"},kte={class:"flex-end"},Ate={class:"area-body"},Bte=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),wte=["colspan"],Tte=["colspan"],ute={style:{"font-size":"10px"}},Ote={key:0},Fte={key:1},Pte={key:2},Lte={key:3},Wte={key:1,style:{"font-size":"14px"}},Hte={key:0};function Mte(t,n,o,c,l,a){var p,D,f,h,V,C,d,S,k,A,B,u,F,x,L,U,Z,R,P;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",bee,[e.createVNode(m,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=g=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",xee,[e.createElementVNode("div",Cee,[e.createElementVNode("div",See,[e.createElementVNode("div",kee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.rows,(g,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(l.index===I?"header-item active":"header-item"),onClick:G=>{var H;return l.index=I,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(g.rank)+". "+e.toDisplayString(g.name),11,Aee))),128))]),e.createElementVNode("div",Bee,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=g=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",wee,[Tee,e.createElementVNode("div",uee,[l.form?(e.openBlock(),e.createElementBlock("table",Oee,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((D=l.form)==null?void 0:D.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((f=l.form)==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat((h=l.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(a.computeLng((V=l.form)==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((d=(C=l.form)==null?void 0:C.extend)==null?void 0:d[0].utc,(S=l.form)==null?void 0:S.localTZ))+" to "+e.toDisplayString(a.computeLTime((A=(k=l.form)==null?void 0:k.extend)==null?void 0:A.at(-1).utc,(B=l.form)==null?void 0:B.localTZ))+", "+e.toDisplayString(a.computeTZ((u=l.form)==null?void 0:u.localTZ))+")",1)],8,Fee)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((F=l.form)==null?void 0:F.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock("th",{key:I,colspan:l.form.paccInDays[g].colspan,class:e.normalizeClass((G=l.form.paccInDays[g])==null?void 0:G.level)},e.toDisplayString(g)+" ("+e.toDisplayString(l.form.paccInDays[g].pacc)+") ",11,Pee)}),128))]),e.createElementVNode("tr",Lee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((x=l.form)==null?void 0:x.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[g]),(H,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[H==="0"?(e.openBlock(),e.createElementBlock("th",Wee,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",Hee,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",Mee,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",Gee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(U=Object.keys((L=l.form)==null?void 0:L.paccInDays))!=null&&U.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[g]),(H,M)=>{var Q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",Iee,e.toDisplayString(a.roundPrecision((Q=l.form)==null?void 0:Q.paccInDays[g][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",Ree,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),zee,e.createElementVNode("div",Uee,[e.createElementVNode("div",Yee,null,512)]),e.createElementVNode("div",Zee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[$ee,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,Qee),Jee,Kee,qee,jee,Xee,vee]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",ete,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",tte,"Acc (mm)")):e.createCommentVNode("",!0),ote,lte,ate,nte,ste,ite,cte,dte,rte,mte,pte,hte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=l.form)==null?void 0:R.extend,(g,I)=>{var G,H,M,Q,j,K,N,z,J,s,X,r,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:I},[e.createElementVNode("td",yte,e.toDisplayString(a.computeLTime(g.utc,(G=l.form)==null?void 0:G.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Ete,e.toDisplayString(a.roundPrecision((H=g.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",_te,e.toDisplayString((M=g.precip)==null?void 0:M.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.visibility/1852,0)),1),e.createElementVNode("td",null,[(Q=g.wind)!=null&&Q.kts?(e.openBlock(),e.createElementBlock("span",Nte,[e.createTextVNode(e.toDisplayString((j=g.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=g.wind)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Vte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=g.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((z=g.wind)==null?void 0:z.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=g.gusts)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(s=g.wave)==null?void 0:s.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(v=(r=g.wave)==null?void 0:r.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",fte,[e.createTextVNode(e.toDisplayString((ee=(oe=g.wave)==null?void 0:oe.swell)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(se=g.wave)==null?void 0:se.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",gte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=g.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((le=(_e=g.wave)==null?void 0:_e.swell)==null?void 0:le.period,1)),1),e.createElementVNode("td",null,[(Ne=(he=g.wave)==null?void 0:he.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",Dte,[e.createTextVNode(e.toDisplayString((fe=(Ve=g.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=g.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",bte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(be=g.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=g.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",xte,[e.createElementVNode("div",Cte,[e.createElementVNode("div",Ste,[e.createElementVNode("div",kte,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=g=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Ate,[Bte,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((P=o.report)==null?void 0:P.rows,(g,I)=>{var G,H,M;return e.openBlock(),e.createElementBlock("div",{key:I,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:g.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(g==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(g==null?void 0:g.name)+" ("+e.toDisplayString(a.computeLat(g==null?void 0:g.lat).pretty)+" / "+e.toDisplayString(a.computeLng(g==null?void 0:g.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((G=g==null?void 0:g.extend)==null?void 0:G[0].utc,g==null?void 0:g.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=g==null?void 0:g.extend)==null?void 0:H.at(-1).utc,g==null?void 0:g.localTZ))+", "+e.toDisplayString(a.computeTZ(g==null?void 0:g.localTZ))+")",1)],8,wte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>{var K;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:g.paccInDays[Q].colspan,class:e.normalizeClass((K=g.paccInDays[Q])==null?void 0:K.level)},e.toDisplayString(Q)+" ("+e.toDisplayString(g.paccInDays[Q].pacc)+") ",11,Tte)}),128))]),e.createElementVNode("tr",ute,[(M=Object.keys(g==null?void 0:g.paccInDays))!=null&&M.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[K==="0"?(e.openBlock(),e.createElementBlock("th",Ote,"00-06")):e.createCommentVNode("",!0),K==="1"?(e.openBlock(),e.createElementBlock("th",Fte,"06-12")):e.createCommentVNode("",!0),K==="2"?(e.openBlock(),e.createElementBlock("th",Pte,"12-18")):e.createCommentVNode("",!0),K==="3"?(e.openBlock(),e.createElementBlock("th",Lte,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",Wte,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(K)?(e.openBlock(),e.createElementBlock("td",Hte,e.toDisplayString(a.roundPrecision(g==null?void 0:g.paccInDays[Q][K],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Qn=Ee(Dee,[["render",Mte],["__scopeId","data-v-93671675"]]),Gte={install(t){t.component("PrecipitationReport",Qn)}},Ite={install(t){t.component("IdmLoading",an)}};te.BrandPlugin=Uv,te.ComparisonPlugin=zv,te.DeviationPlugin=LJ,te.DeviationReport=Wn,te.FliComparisonReport=In,te.FliDeviationReport=Hn,te.FliInvoiceReport=Pn,te.FliPlanReport=Dn,te.FliVoyageReport=Sn,te.HurricanePlugin=FP,te.IdmBrand=Eo,te.IdmEditor=Uo,te.IdmEditorPlugin=jy,te.IdmLat=on,te.IdmLatPlugin=Xy,te.IdmLng=tn,te.IdmLngPlugin=vy,te.IdmLoading=an,te.IdmThird=en,te.InvoicePlugin=iH,te.InvoiceReport=On,te.LoadingPlugin=Ite,te.ORMPointReport=Nn,te.OpiComparisonReport=Gn,te.OpiPlanReport=rn,te.OpiVoyageReport=Cn,te.OrmInvoiceReport=Fn,te.OrmPlanReport=bn,te.OrmQuoteReport=zn,te.OrmQuoteReport4SEOA=Yn,te.OrmQuoteReport4TongLi=$n,te.OrmVoyageReport=kn,te.PiLogo=xn,te.PiLogoPlugin=sE,te.PointReport=Vn,te.PointReportPlugin=Ud,te.PrecipitationReport=Qn,te.PrecipitationReportPlugin=Gte,te.QuoteReportPlugin=gee,te.RouteReport=rn,te.RouteReportPlugin=qy,te.StoppageReport=Mn,te.StoppageReportPlugin=kK,te.TropicalReport=un,te.VoyageReportPlugin=pP,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})});
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function EE(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",mE,[(e.openBlock(),e.createElementBlock("svg",pE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},yE,8,hE)]))])}const xn=Ee(rE,[["render",EE]]),_E={install(t){t.component("PiLogo",xn)}},Ooe="",Foe="",NE={components:{Editor:Uo,IdmBrand:en},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png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agAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDVcLGsyf85VnSoyK031Z05ecns7sgvE54nb32qrLtmiNWaWvu5xedbszs1cW7o6MntjRYLVsR73b9h/fUk2Pb7tMrzvVWT32FlqytVbbo1fSFtWDG6rlplWlgW5c6a3E6ganFf6uN/rc42eNz7Mz8pmHVZ9+OD/YQ/nyqQX6pNPi074+YQc0eAIaggENbkAD0KAL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dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),c=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${c} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?c.conclusion="No FO over/under consumption":c.conclusion="No DO/GO over/under consumption ",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO over consumption":c.conclusion="DO/GO over consumption",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO under consumption":c.conclusion="DO/GO under consumption",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,c)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(m=>{let i={time:O(m.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(m.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:m.duration,distance:m.distance,fo:m.foCons,dgo:m.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(m=>{a.push(this.computedSeg(m))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(m=>m.type!=="A"&&m.goodWx))})}}},b=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),VE=["src"],fE={class:"voyage-main"},gE={class:"main",style:{"page-break-after":"always"}},DE={class:"main-title",style:{position:"relative !important"}},bE=["src"],xE={class:"main-title-content"},CE=b(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),SE={class:"title-date"},kE={class:"main-subtitle"},BE={class:"white"},AE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),wE={class:"subtitle-main"},TE=b(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),uE={class:"subtitle-main"},OE={class:"main-box"},FE={class:"main-table"},PE=b(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),LE={class:"bold"},WE=b(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),HE={class:"bold"},ME=b(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),GE={class:"bold"},IE=b(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),RE={class:"bold"},zE={style:{display:"inline-block",width:"50%"}},UE=b(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),YE={class:"bold"},ZE={style:{display:"inline-block",width:"50%"}},$E=b(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),QE={class:"tips",style:{display:"flex"}},JE={style:{color:"var(--table-note-color)"}},KE={class:"summary-table",style:{"margin-top":"5px"}},qE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),jE={style:{width:"15%"}},XE={key:1},vE=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),e_={key:1},t_=b(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),o_={key:1},l_=b(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),a_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),n_={class:"weather-definition"},s_={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},i_=b(()=>e.createElementVNode("div",null,"Exclusion",-1)),c_=b(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),d_={class:"remark-table"},r_=b(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/Time"),e.createElementVNode("td",null,"Duration(hrs)"),e.createElementVNode("td",null,"Distance(nm)"),e.createElementVNode("td",null,"FO(mt)"),e.createElementVNode("td",null,"DO/GO(mt)")])],-1)),m_=["innerHTML"],p_={class:"analysis page-title"},h_={class:"analysis-title"},y_={class:"analysis-title-detail"},E_=b(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),__={class:"page-avoid"},N_={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},V_=b(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),f_=b(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),g_=b(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),D_=b(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),b_=b(()=>e.createElementVNode("tr",null,null,-1)),x_={class:"title"},C_={class:"title"},S_={class:"title"},k_={class:"title"},B_=b(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),A_={class:"page-avoid",style:{"margin-bottom":"15px"}},w_={class:"analysis-table",cellspacing:"0",cellpadding:"0"},T_=b(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),u_=b(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),O_=b(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),F_={class:"inGoodWx"},P_={class:"inGoodWx"},L_=b(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),W_={class:"inGoodWx"},H_={class:"inGoodWx"},M_=b(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),G_={class:"inGoodWx"},I_={class:"inGoodWx"},R_=b(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),z_={class:"inGoodWx"},U_={class:"inGoodWx"},Y_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),Z_={class:"inGoodWx"},$_={class:"inGoodWx"},Q_=b(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),J_={class:"inGoodWx"},K_={class:"inGoodWx"},q_=b(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),j_={class:"inGoodWx"},X_={class:"inGoodWx"},v_={key:0,class:"analysis-tips"},eN={key:1,class:"analysis-definition"},tN={key:2,class:"analysis-definition"},oN=b(()=>e.createElementVNode("br",null,null,-1)),lN={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},aN=b(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),nN=b(()=>e.createElementVNode("span",null,"= ",-1)),sN={key:0},iN={key:1},cN={key:2},dN={key:3},rN={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},mN=b(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),pN=b(()=>e.createElementVNode("span",null,"=",-1)),hN={key:0},yN={key:1},EN=b(()=>e.createElementVNode("span",null,"-",-1)),_N=b(()=>e.createElementVNode("span",null,"=",-1)),NN={key:0},VN={key:1},fN={key:6,class:"tr-tips tips-color"},gN={class:"formula page-title"},DN={class:"page-avoid"},bN={class:"subtitle",style:{"margin-top":"0"}},xN={key:0},CN={class:"definition"},SN=b(()=>e.createElementVNode("br",null,null,-1)),kN=b(()=>e.createElementVNode("br",null,null,-1)),BN=b(()=>e.createElementVNode("br",null,null,-1)),AN={class:"equation"},wN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),TN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uN={style:{width:"50%"},class:"fraction"},ON=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FN=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LN={class:"equation"},WN={style:{width:"35%"}},HN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),MN={style:{width:"50%"},class:"fraction"},GN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),IN=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),RN={class:"equation"},zN={style:{width:"35%"}},UN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),YN={style:{width:"50%"},class:"fraction"},ZN=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$N=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),QN=b(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),JN={class:"page-avoid"},KN={key:0,class:"definition",style:{margin:"15px 0"}},qN={class:"equation"},jN=b(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),XN=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),vN={style:{width:"35%"},class:"fraction"},eV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),tV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),oV={style:{width:"10%","text-align":"center"}},lV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),aV={class:"equation"},nV={style:{width:"35%"}},sV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iV={style:{width:"35%"},class:"fraction"},cV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rV={style:{width:"10%","text-align":"center"}},mV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),pV={class:"equation"},hV={style:{width:"35%"}},yV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EV={style:{width:"35%"},class:"fraction"},_V=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),VV={style:{width:"10%","text-align":"center"}},fV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),gV=b(()=>e.createElementVNode("span",null,"=",-1)),DV=b(()=>e.createElementVNode("span",null,"=",-1)),bV=b(()=>e.createElementVNode("span",null,"=",-1)),xV=["innerHTML"],CV={class:"page-avoid"},SV={class:"subtitle page-title"},kV={key:0},BV={class:"definition",style:{"margin-bottom":"15px"}},AV=b(()=>e.createElementVNode("br",null,null,-1)),wV=b(()=>e.createElementVNode("br",null,null,-1)),TV=b(()=>e.createElementVNode("br",null,null,-1)),uV={class:"equation"},OV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),FV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),PV={style:{width:"25%"},class:"fraction"},LV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WV=b(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),HV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),MV=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),GV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),IV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},RV=b(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),zV={key:0},UV={class:"equation"},YV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),ZV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"25%"},class:"fraction"},QV=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),JV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),KV=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),qV=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),jV={class:"equation"},XV=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),vV=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ef={style:{width:"25%"},class:"fraction"},tf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),of=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),lf=b(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),af=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),nf=b(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),sf={key:0,class:"equation"},cf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),df=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rf={style:{width:"45%"},class:"fraction"},mf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),pf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hf={key:1,class:"equation"},yf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),Ef=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_f={style:{width:"45%"},class:"fraction"},Nf=b(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),Vf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ff={class:"page-avoid"},gf=b(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),Df={key:0,class:"definition",style:{margin:"15px 0"}},bf={class:"equation"},xf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Cf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Sf={style:{width:"20%"},class:"fraction"},kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Af={style:{width:"20%"},class:"fraction"},wf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Tf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"10%","text-align":"center"}},Of=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),Ff={class:"equation"},Pf=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),Lf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Wf={style:{width:"20%"},class:"fraction"},Hf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Mf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Gf={style:{width:"20%"},class:"fraction"},If=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Rf=b(()=>e.createElementVNode("div",null,"24",-1)),zf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Uf={style:{width:"10%","text-align":"center"}},Yf=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),Zf={class:"equation"},$f=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Jf={style:{width:"20%"},class:"fraction"},Kf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qf=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),jf={style:{width:"20%"},class:"fraction"},Xf=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vf=b(()=>e.createElementVNode("div",null,"24",-1)),e0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),t0={style:{width:"10%","text-align":"center"}},o0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),l0=b(()=>e.createElementVNode("span",null,"=",-1)),a0=b(()=>e.createElementVNode("span",null,"=",-1)),n0=b(()=>e.createElementVNode("span",null,"=",-1)),s0={key:0},i0={key:0,class:"equation"},c0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),d0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),r0={style:{width:"45%"},class:"fraction"},m0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),p0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),h0={style:{width:"10%","text-align":"center"}},y0={key:1,class:"equation"},E0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),_0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),N0={style:{width:"45%"},class:"fraction"},V0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),g0={style:{width:"10%","text-align":"center"}},D0=["innerHTML"],b0={class:"page-avoid"},x0={key:0},C0=b(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),S0={key:0,class:"definition",style:{margin:"15px 0"}},k0={class:"equation"},B0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),A0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),w0={style:{width:"20%"},class:"fraction"},T0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),O0={style:{width:"20%"},class:"fraction"},F0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),P0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),L0={style:{width:"10%","text-align":"center"}},W0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),H0={class:"equation"},M0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),G0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),I0={style:{width:"20%"},class:"fraction"},R0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),U0={style:{width:"20%"},class:"fraction"},Y0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z0=b(()=>e.createElementVNode("div",null,"24",-1)),$0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Q0={style:{width:"10%","text-align":"center"}},J0=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),K0={class:"equation"},q0=b(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),j0=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X0={style:{width:"20%"},class:"fraction"},v0=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),eg=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tg={style:{width:"20%"},class:"fraction"},og=b(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lg=b(()=>e.createElementVNode("div",null,"24",-1)),ag=b(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),ng={style:{width:"10%","text-align":"center"}},sg=b(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),ig=b(()=>e.createElementVNode("span",null,"=",-1)),cg=b(()=>e.createElementVNode("span",null,"=",-1)),dg=b(()=>e.createElementVNode("span",null,"=",-1)),rg=["innerHTML"];function mg(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark":"")},[e.createVNode(m,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,VE),e.createElementVNode("div",fE,[e.createElementVNode("div",gE,[e.createElementVNode("div",DE,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,bE),e.createElementVNode("div",xE,[CE,e.createElementVNode("div",SE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",kE,[e.createElementVNode("table",BE,[e.createElementVNode("tr",null,[AE,e.createElementVNode("td",wE,"    "+e.toDisplayString((V=o.reportData)==null?void 0:V.preparedFor),1)]),e.createElementVNode("tr",null,[TE,e.createElementVNode("td",uE,"    "+e.toDisplayString((r=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",OE,[e.createElementVNode("table",FE,[e.createElementVNode("tr",null,[PE,e.createElementVNode("td",LE,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.type),1)]),e.createElementVNode("tr",null,[WE,e.createElementVNode("td",HE,e.toDisplayString((A=(B=o.reportData)==null?void 0:B.voyage)==null?void 0:A.loadCondition),1)]),e.createElementVNode("tr",null,[ME,e.createElementVNode("td",GE,e.toDisplayString((F=(u=o.reportData)==null?void 0:u.voyage)==null?void 0:F.number),1)]),e.createElementVNode("tr",null,[IE,e.createElementVNode("td",RE,[e.createElementVNode("span",zE,e.toDisplayString(((L=(x=o.reportData)==null?void 0:x.departure)==null?void 0:L.portName)||a.computedLngLat((Z=(U=o.reportData)==null?void 0:U.departure)==null?void 0:Z.lat,(P=(R=o.reportData)==null?void 0:R.departure)==null?void 0:P.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((I=(g=o.reportData)==null?void 0:g.departure)==null?void 0:I.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[UE,e.createElementVNode("td",YE,[e.createElementVNode("span",ZE,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((Q=(M=o.reportData)==null?void 0:M.arrival)==null?void 0:Q.lat,(K=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:z.utcTime,"table")),1)])])])]),$E,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+v},[e.createElementVNode("div",QE,[e.createElementVNode("div",JE,"Seg."+e.toDisplayString(v+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(oe,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",KE,[e.createElementVNode("tr",null,[qE,e.createElementVNode("td",jE,e.toDisplayString(d.allWx.time)+" hrs",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",XE,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(d.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(d.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[vE,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumFoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",e_,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[t_,e.createElementVNode("td",null,e.toDisplayString(d.allWx.sumDgoCons)+" mt",1),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",o_,e.toDisplayString(l.noGoodWxDay),1)),d.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(d.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),l_]))),128)),a_,e.createElementVNode("div",n_,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",s_,[i_,e.createElementVNode("div",null,[c_,e.createElementVNode("table",d_,[r_,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(d,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[e.createElementVNode("td",null,e.toDisplayString(v+1),1),e.createElementVNode("td",null,e.toDisplayString(d.time),1),e.createElementVNode("td",null,e.toDisplayString(d.duration),1),e.createElementVNode("td",null,e.toDisplayString(d.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.fo),1),e.createElementVNode("td",null,e.toDisplayString(d.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=d=>l.advisory=d),height:"320px",onBlur:n[1]||(n[1]=d=>a.handleCommit(d))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...d)=>a.decideDisable&&a.decideDisable(...d)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,m_))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((X=o.reportData)==null?void 0:X.segments,(d,v)=>{var oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot;return e.openBlock(),e.createElementBlock("div",{key:"seg"+v,class:"page-title"},[e.createElementVNode("div",p_,[e.createElementVNode("div",h_,"Voyage Analysis - Seg. "+e.toDisplayString(v+1),1),e.createElementVNode("div",y_,[e.createElementVNode("div",null,e.toDisplayString((ee=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:ee.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[v],(Mt,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Mt),1))),128))]),E_,e.createElementVNode("div",__,[e.createElementVNode("table",N_,[e.createElementVNode("tr",null,[V_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.type),1),f_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.fo),1)]),e.createElementVNode("tr",null,[g_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.speed),1),D_,e.createElementVNode("td",null,e.toDisplayString(d.extend.cp.dgo),1)]),b_,e.createElementVNode("tr",null,[e.createElementVNode("td",x_,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfOver),1),e.createElementVNode("td",C_,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",S_,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.timeConclusion.spdOfUnder),1),e.createElementVNode("td",k_,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",d.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(d.fuelConclusion.consOfUnder),1)])])]),B_,e.createElementVNode("div",A_,[e.createElementVNode("table",w_,[T_,u_,e.createElementVNode("tr",null,[O_,e.createElementVNode("td",F_,e.toDisplayString(d.goodWx.outEca.distance),1),e.createElementVNode("td",P_,e.toDisplayString(d.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[L_,e.createElementVNode("td",W_,e.toDisplayString(d.goodWx.outEca.time),1),e.createElementVNode("td",H_,e.toDisplayString(d.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[M_,e.createElementVNode("td",G_,e.toDisplayString(d.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",I_,e.toDisplayString(d.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[R_,e.createElementVNode("td",z_,e.toDisplayString(d.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",U_,e.toDisplayString(d.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[Y_,e.createElementVNode("td",Z_,e.toDisplayString(d.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",$_,e.toDisplayString(d.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[Q_,e.createElementVNode("td",J_,e.toDisplayString(d.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",K_,e.toDisplayString(d.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[q_,e.createElementVNode("td",j_,e.toDisplayString(d.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",X_,e.toDisplayString(d.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(d.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",v_," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",eN," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ce=(se=o.reportData)==null?void 0:se.weather)!=null&&ce.favorableCur&&d.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",tN,[e.createTextVNode(" No Charter Party defined good weather was found. "),oN,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(de=o.reportData)==null?void 0:de.weather)!=null&&re.favorableCur&&d.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lN,[aN,nN,(le=(_e=o.reportData)==null?void 0:_e.weather)!=null&&le.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",sN,e.toDisplayString(d.goodWx.avgSpd),1)),(Ne=(he=o.reportData)==null?void 0:he.weather)!=null&&Ne.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",iN,"-")),(fe=(Ve=o.reportData)==null?void 0:Ve.weather)!=null&&fe.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",cN,e.toDisplayString(`${a.computedPositive(d.goodWx.avgCf)}`),1)),(De=(ge=o.reportData)==null?void 0:ge.weather)!=null&&De.favorableCur&&d.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",dN,"=")),e.createElementVNode("span",null,e.toDisplayString(d.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",rN,[mN,pN,e.createElementVNode("span",null,e.toDisplayString(d.allWx.avgSpd),1),(xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",hN,"-")),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.favorableCur&&d.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",yN,e.toDisplayString(`${a.computedPositive(d.allWx.avgCf)}`),1)),EN,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(d.allWx.avgWf)}`),1),_N,e.createElementVNode("span",null,e.toDisplayString(d.allWx.pfmSpd)+" (kts)",1)])),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(d.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(d.goodWx.pfmSpd)+" (kts) ",1),d.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",NN,"(Under-performance)")):e.createCommentVNode("",!0),d.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",VN,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",fN,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",gN,[e.createElementVNode("div",DN,[e.createElementVNode("div",bN,[e.createTextVNode(" Time Analysis "),(Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",xN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",CN,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),SN,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),kN,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),BN,e.createElementVNode("div",AN,[wN,TN,e.createElementVNode("div",uN,[e.createElementVNode("div",null,e.toDisplayString((W=(ye=o.reportData)==null?void 0:ye.weather)!=null&&W.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ON,FN]),PN]),e.createElementVNode("div",LN,[e.createElementVNode("div",WN," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),HN,e.createElementVNode("div",MN,[e.createElementVNode("div",null,e.toDisplayString((Fe=(me=o.reportData)==null?void 0:me.weather)!=null&&Fe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),GN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" kts",1)]),IN]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),UN,e.createElementVNode("div",YN,[e.createElementVNode("div",null,e.toDisplayString((Le=(Pe=o.reportData)==null?void 0:Pe.weather)!=null&&Le.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),ZN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" kts",1)]),$N]),QN])]),e.createElementVNode("div",JN,[d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",KN,[e.createElementVNode("div",qN,[jN,XN,e.createElementVNode("div",vN,[e.createElementVNode("div",null,e.toDisplayString((We=(ke=o.reportData)==null?void 0:ke.weather)!=null&&We.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),eV,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),tV,e.createElementVNode("div",oV,e.toDisplayString(d.timeConclusion.timeAtPfmSpd)+" (hrs)",1),lV]),e.createElementVNode("div",aV,[e.createElementVNode("div",nV," Total Time at (CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),sV,e.createElementVNode("div",iV,[e.createElementVNode("div",null,e.toDisplayString((Ze=(Ye=o.reportData)==null?void 0:Ye.weather)!=null&&Ze.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),cV,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),dV,e.createElementVNode("div",rV,e.toDisplayString(d.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),mV]),e.createElementVNode("div",pV,[e.createElementVNode("div",hV," Total Time at (CP Speed + "+e.toDisplayString(d.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage))+") ",1),yV,e.createElementVNode("div",EV,[e.createElementVNode("div",null,e.toDisplayString((we=(Y=o.reportData)==null?void 0:Y.weather)!=null&&we.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),_V,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.plusAbtSpd),1)]),NV,e.createElementVNode("div",VV,e.toDisplayString(d.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),fV]),e.createElementVNode("div",null,[d.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),gV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),DV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtPfmSpd:d.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeAtMinusAbtSpd:d.timeConclusion.timeAtPfmSpd),1),bV,e.createElementVNode("span",null,e.toDisplayString(d.timeConclusion.conclusionStatus==="Lost"?d.timeConclusion.timeLost:d.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((Me=d.timeConclusion)==null?void 0:Me.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,xV))]),e.createElementVNode("div",CV,[e.createElementVNode("div",SV,[e.createTextVNode(" Consumption Analysis "),(Qe=($e=o.reportData)==null?void 0:$e.weather)!=null&&Qe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",kV,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",BV,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),AV,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),wV,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),TV,e.createElementVNode("div",uV,[OV,FV,e.createElementVNode("div",PV,[e.createElementVNode("div",null,e.toDisplayString((Ke=(Je=o.reportData)==null?void 0:Je.weather)!=null&&Ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),LV,WV]),HV,MV,GV]),e.createElementVNode("div",IV,[RV,((_=(qe=d.extend)==null?void 0:qe.cp)==null?void 0:_.dgo)>0?(e.openBlock(),e.createElementBlock("div",zV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",UV,[YV,ZV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Te=(q=o.reportData)==null?void 0:q.weather)!=null&&Te.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),QV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),JV,KV,qV]),e.createElementVNode("div",jV,[XV,vV,e.createElementVNode("div",ef,[e.createElementVNode("div",null,e.toDisplayString((Ge=(He=o.reportData)==null?void 0:He.weather)!=null&&Ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),tf,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(d.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",d.timeConclusion.spdPercentage)),1)]),of,lf,af]),nf,((je=(pe=d.extend)==null?void 0:pe.cp)==null?void 0:je.dgo)>0?(e.openBlock(),e.createElementBlock("div",sf,[cf,df,e.createElementVNode("div",rf,[mf,pf,e.createElementVNode("div",null,e.toDisplayString((et=(ve=o.reportData)==null?void 0:ve.weather)!=null&&et.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((at=(lt=d.extend)==null?void 0:lt.cp)==null?void 0:at.dgo)>0?(e.openBlock(),e.createElementBlock("div",hf,[yf,Ef,e.createElementVNode("div",_f,[Nf,Vf,e.createElementVNode("div",null,e.toDisplayString((st=(nt=o.reportData)==null?void 0:nt.weather)!=null&&st.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",ff,[gf,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Df,[e.createElementVNode("div",bf,[xf,Cf,e.createElementVNode("div",Sf,[e.createElementVNode("div",null,e.toDisplayString((yt=(ht=o.reportData)==null?void 0:ht.weather)!=null&&yt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),kf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),Bf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumFoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` + ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),wf,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),Tf,e.createElementVNode("div",uf,e.toDisplayString(d.fuelConclusion.fo.entireCons)+" (mt)",1),Of]),e.createElementVNode("div",Ff,[Pf,Lf,e.createElementVNode("div",Wf,[e.createElementVNode("div",null,e.toDisplayString((_t=(Et=o.reportData)==null?void 0:Et.weather)!=null&&_t.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Hf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),Mf,e.createElementVNode("div",Gf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.overTolerance),1),If,Rf]),zf,e.createElementVNode("div",Uf,e.toDisplayString(d.fuelConclusion.fo.maxCons)+" (mt)",1),Yf]),e.createElementVNode("div",Zf,[$f,Qf,e.createElementVNode("div",Jf,[e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),Kf,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),qf,e.createElementVNode("div",jf,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.fo.underTolerance),1),Xf,vf]),e0,e.createElementVNode("div",t0,e.toDisplayString(d.fuelConclusion.fo.minCons)+" (mt)",1),o0]),e.createElementVNode("div",null,[d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),l0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),a0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.entireCons:d.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.maxCons:d.fuelConclusion.fo.entireCons),1),n0,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.fo.conclusionStatus==="Over"?d.fuelConclusion.fo.overCons:d.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),d.allWx.inEca.distance&&d.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",s0,[d.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",i0,[c0,d0,e.createElementVNode("div",r0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.overCons),1),m0,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),p0,e.createElementVNode("div",h0,e.toDisplayString(d.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",y0,[E0,_0,e.createElementVNode("div",N0,[e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&bt.noExtrapolation?d.goodWx.inEca.distance:d.allWx.inEca.distance)+" × "+e.toDisplayString(d.fuelConclusion.fo.saving),1),V0,e.createElementVNode("div",null,e.toDisplayString((Ct=(xt=o.reportData)==null?void 0:xt.weather)!=null&&Ct.noExtrapolation?d.goodWx.distance:d.allWx.distance),1)]),f0,e.createElementVNode("div",g0,e.toDisplayString(d.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,D0))]),e.createElementVNode("div",b0,[((kt=(St=d.extend)==null?void 0:St.cp)==null?void 0:kt.dgo)>0?(e.openBlock(),e.createElementBlock("div",x0,[C0,d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",S0,[e.createElementVNode("div",k0,[B0,A0,e.createElementVNode("div",w0,[e.createElementVNode("div",null,e.toDisplayString((At=(Bt=o.reportData)==null?void 0:Bt.weather)!=null&&At.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),T0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.pfmSpd),1)]),u0,e.createElementVNode("div",O0,[e.createElementVNode("div",null,e.toDisplayString(d.goodWx.sumDgoCons)+" "+e.toDisplayString(d.allWx.inEca.distance>0?` - ${d.fuelConclusion.fo.dgoAsFoCons}`:""),1),F0,e.createElementVNode("div",null,e.toDisplayString(d.goodWx.time),1)]),P0,e.createElementVNode("div",L0,e.toDisplayString(d.fuelConclusion.dgo.entireCons)+" (mt)",1),W0]),e.createElementVNode("div",H0,[M0,G0,e.createElementVNode("div",I0,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),R0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),z0,e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.overTolerance),1),Y0,Z0]),$0,e.createElementVNode("div",Q0,e.toDisplayString(d.fuelConclusion.dgo.maxCons)+" (mt)",1),J0]),e.createElementVNode("div",K0,[q0,j0,e.createElementVNode("div",X0,[e.createElementVNode("div",null,e.toDisplayString((Ot=(ut=o.reportData)==null?void 0:ut.weather)!=null&&Ot.noExtrapolation?d.goodWx.distance:d.allWx.distance),1),v0,e.createElementVNode("div",null,e.toDisplayString(d.timeConclusion.minusAbtSpd),1)]),eg,e.createElementVNode("div",tg,[e.createElementVNode("div",null,e.toDisplayString(d.fuelConclusion.dgo.underTolerance),1),og,lg]),ag,e.createElementVNode("div",ng,e.toDisplayString(d.fuelConclusion.dgo.minCons)+" (mt)",1),sg]),e.createElementVNode("div",null,[d.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),ig,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),cg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.entireCons:d.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.maxCons:d.fuelConclusion.dgo.entireCons),1),dg,e.createElementVNode("span",null,e.toDisplayString(d.fuelConclusion.dgo.conclusionStatus==="Over"?d.fuelConclusion.dgo.overCons:d.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),d.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(d.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(d.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,rg))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const pg=Ee(NE,[["render",mg],["__scopeId","data-v-6f2b44b1"]]),Poe="",hg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":ie.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let c="";return n&&(c=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(c=c+" good-weather"),t.excluded===!0&&!o&&(c=c+" excluded"),c}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,c,l,a,m,i,p,D,f,h,V,C;this.showCF=((c=(o=this.reportData)==null?void 0:o.weather)==null?void 0:c.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(m=this.reportData)==null?void 0:m.weather)==null?void 0:i.showSig)??!0,this.showSwell=((D=(p=this.reportData)==null?void 0:p.weather)==null?void 0:D.showSwell)??!0,this.showWave=((h=(f=this.reportData)==null?void 0:f.weather)==null?void 0:h.showWave)??!0;let t=[];(C=(V=this.reportData)==null?void 0:V.segments)==null||C.forEach(r=>{let k=r.extend.cp;r.inventory.sample.hours.forEach(S=>{let B=JSON.parse(JSON.stringify(S));B.cp=k,t.push(B)})}),t.sort(function(r,k){let S=r.date,B=k.date;return S-B});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let k=r.type.charAt(0);r.abbreviation=k,k==="M"?k="*":k==="A"&&(k=""),r.dateTime=k+" "+O(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Be=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),yg={class:"table",id:"second-table"},Eg=Be(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),_g={class:"subtitle"},Ng={class:"introduce"},Vg={class:"introduce-ship"},fg={style:{"margin-bottom":"15px"}},gg=Be(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Dg={rowspan:"4"},bg=Be(()=>e.createElementVNode("td",null,"Entire Period",-1)),xg=Be(()=>e.createElementVNode("td",null,"Good weather period",-1)),Cg=Be(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),Sg=Be(()=>e.createElementVNode("td",null,"Excluded period",-1)),kg=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),Bg={class:"summary-table"},Ag=Be(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),wg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Tg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),ug=Be(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),Og=["colspan"],Fg={key:0,colspan:"2"},Pg=Be(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),Lg=Be(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),Wg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),Hg=Be(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),Mg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Gg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),Ig={key:0,rowspan:"2"},Rg=Be(()=>e.createElementVNode("br",null,null,-1)),zg={key:1,rowspan:"2"},Ug=Be(()=>e.createElementVNode("br",null,null,-1)),Yg=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),Zg={key:2,rowspan:"2"},$g=Be(()=>e.createElementVNode("br",null,null,-1)),Qg={key:3,colspan:"2"},Jg={key:4,rowspan:"2"},Kg=Be(()=>e.createElementVNode("br",null,null,-1)),qg={key:5,colspan:"2"},jg=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),Xg={key:6,rowspan:"2"},vg={key:7,rowspan:"2"},e2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),o2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),l2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),a2=Be(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),n2=Be(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),s2=Be(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),i2=Be(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),c2=Be(()=>e.createElementVNode("th",null,"FO",-1)),d2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),r2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),m2=Be(()=>e.createElementVNode("th",null,"BF",-1)),p2={key:0},h2={key:1},y2={key:2},E2={key:3},_2=Be(()=>e.createElementVNode("th",null,"RPM",-1)),N2=Be(()=>e.createElementVNode("th",null,"Slip%",-1)),V2=Be(()=>e.createElementVNode("th",null,"FO",-1)),f2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),g2=Be(()=>e.createElementVNode("th",null,"FO",-1)),D2=Be(()=>e.createElementVNode("th",null,"DO/GO",-1)),b2=Be(()=>e.createElementVNode("th",null,"Dir",-1)),x2=Be(()=>e.createElementVNode("th",null,"BF",-1)),C2={class:"summary-tbody"};function S2(t,n,o,c,l,a){var m,i,p,D,f,h,V,C;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",yg,[Eg,e.createElementVNode("div",_g,e.toDisplayString(a.computedTime((f=o.reportData)==null?void 0:f.createdAt)),1),e.createElementVNode("div",Ng,[e.createElementVNode("div",Vg,[e.createElementVNode("span",null,e.toDisplayString((V=(h=o.reportData)==null?void 0:h.vessel)==null?void 0:V.name),1)])]),e.createElementVNode("div",fg,[e.createElementVNode("table",null,[gg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((C=o.reportData)==null?void 0:C.segments,(r,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:k},[e.createElementVNode("tr",null,[e.createElementVNode("td",Dg,e.toDisplayString(k+1),1),bg,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[xg,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Cg,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Sg,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),kg,e.createElementVNode("div",null,[e.createElementVNode("table",Bg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ag,wg,Tg,ug,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,Og),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Fg,"meteo")):e.createCommentVNode("",!0),Pg,Lg]),e.createElementVNode("tr",null,[Wg,Hg,Mg,Gg,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",Ig,[e.createTextVNode("Spd"),Rg,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",zg,[e.createTextVNode("Dis"),Ug,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),Yg,l.showWave?(e.openBlock(),e.createElementBlock("th",Zg,[e.createTextVNode("Sea HT"),$g,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",Qg,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",Jg,[e.createTextVNode("Sig Wave"),Kg,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",qg,"Current")):e.createCommentVNode("",!0),jg,o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",vg,"wxFactor")):e.createCommentVNode("",!0),e2,t2,o2,l2,a2,n2,s2,i2]),e.createElementVNode("tr",null,[c2,d2,r2,m2,l.showSwell?(e.openBlock(),e.createElementBlock("th",p2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",h2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",y2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",E2,"CF(kts)")):e.createCommentVNode("",!0),_2,N2,V2,f2,g2,D2,b2,x2])]),e.createElementVNode("tbody",C2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,k)=>{var S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;return e.openBlock(),e.createElementBlock("tr",{key:k},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(S=l.summaryTable[k+1])!=null&&S.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((A=(B=r.meteo)==null?void 0:B.wind)==null?void 0:A.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((F=(u=r.meteo)==null?void 0:u.wind)==null?void 0:F.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((U=(L=(x=r.meteo)==null?void 0:x.wave)==null?void 0:L.wd)==null?void 0:U.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(R=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:R.swell)==null?void 0:P.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((G=(I=(g=r.meteo)==null?void 0:g.wave)==null?void 0:I.swell)==null?void 0:G.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((Q=(M=(H=r.meteo)==null?void 0:H.wave)==null?void 0:M.sig)==null?void 0:Q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((K=(j=r.meteo)==null?void 0:j.current)==null?void 0:K.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((N=r.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((z=r.meteo)==null?void 0:z.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((J=r.meteo)==null?void 0:J.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const k2=Ee(hg,[["render",S2],["__scopeId","data-v-9fe5beca"]]),B2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(c=>{let l;c.type=="line"?l={name:c.name,data:c.data,type:c.type,itemStyle:{color:c.color},showSymbol:c.showSymbol,smooth:c.smooth?c.smooth:!1,lineStyle:{type:c.lineType?c.lineType:"solid",dashOffset:5,type:c.lineType=="dotted"?[5,10]:"solid"}}:c.type=="markline"?l={name:c.name,markLine:{data:c.data},type:"line",barCategoryGap:-1,itemStyle:{color:c.color}}:c.type=="bar"?(this.isOilBar=!0,l={name:c.name,data:c.data,showSymbol:c.showSymbol,step:"start",type:"line",itemStyle:{color:c.color},areaStyle:{}}):l={name:c.name,data:c.data,type:c.type,barCategoryGap:-.2,itemStyle:{color:c.color}},o.push(l)}),n.forEach(c=>{o.push(c)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(c){return t.getMax(c)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},A2=["id"];function w2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,A2)])}const T2=Ee(B2,[["render",w2]]),u2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},O2={class:"logo"},F2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function P2(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("i",O2,F2)}const L2=Ee(u2,[["render",P2]]),Woe="",W2={components:{ScCharts:T2,BrabImg:L2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let c=[];return n.forEach((l,a)=>{let m=0;a==n.length-1?m=t.length-l.id:m=n[a+1].id-l.id+1;let i=[];for(let p=0;p<t.length;p++)(p>l.id||p==l.id)&&m>0?(i.push(l.num),m=m-1):i.push("");c.push(i)}),c}},computedCurrent(){return function(t,n){let o=[],c=null,l=0;t.forEach((m,i)=>{m!=c&&this.computedIsNull(m)!==""?(o.push({num:m,id:i}),c=m,l++):this.computedIsNull(m)!==""&&m==c&&(o[l-1].id=i)});let a=[];return o.forEach((m,i)=>{let p=i?o[i-1].id:-1;for(let D=p;D<m.id;D++)a.push(m.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=ie.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,K;let t=[];(K=(j=this.reportData)==null?void 0:j.segments)==null||K.forEach((N,z)=>{let J=N.extend.cp;N.inventory.sample.hours.forEach((s,X)=>{let d=JSON.parse(JSON.stringify(s));d.cp=J,d.fuelConclusion=N.fuelConclusion,d.timeConclusion=N.timeConclusion,t.push(d)})}),t.sort(function(N,z){let J=N.date,s=z.date;return J-s});let n=[],o=[],c=[],l=[],a=[],m=[],i=[],p=[],D=[],f=[],h=[],V=[],C=[],r=[],k=[],S=[],B=[],A=[],u=[],F=[],x=[],L=[],U=[],Z=[],R=[],P=[!1,!1],g=[],I=[],G=[!1,!1],H=[],M=[];t.forEach((N,z)=>{var s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge;if(n.push(O(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(P.indexOf(!0)==-1&&(N.type==="BOSP"?g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!0),P.indexOf(!0)!=-1&&z==t.length-1&&(g.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[])):P.indexOf(!0)!==-1&&(g.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),P[0]=!1,I.push(g),g=[]),N.excluded===!0?(G.indexOf(!0)===-1&&(z===0?H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&z===t.length-1&&(H.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:O(t[z-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,M.push(H),H=[]),(N==null?void 0:N.type)==="EOSP"&&((s=t[z+1])==null?void 0:s.type)==="BOSP"){let pe=[];pe.push({xAxis:O(N.utc).utc().format("MM/DD HHmm[Z]")}),pe.push({xAxis:O(t[z+1].utc).utc().format("MM/DD HHmm[Z]")}),M.push(pe)}N.type!="A"&&(N.type==="BOSP"&&z===0?l.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),(X=N==null?void 0:N.noon)==null?void 0:X.avgSpd,N==null?void 0:N.type]):l.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((d=N==null?void 0:N.noon)==null?void 0:d.avgSpd)||"-",N==null?void 0:N.type]),u.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((v=N==null?void 0:N.noon)==null?void 0:v.windBF)||"-"]),U.push([O(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((oe=N==null?void 0:N.noon)==null?void 0:oe.seasHt)||"-"])),p.push((N==null?void 0:N.type)!="A"?this.computedIsNull((ee=N==null?void 0:N.noon)==null?void 0:ee.foCons):""),C.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),R.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),c.push((N==null?void 0:N.cpSpd)??""),a.push(((ce=N==null?void 0:N.timeConclusion)==null?void 0:ce.minusAbtSpd)??""),i.push(((de=N==null?void 0:N.cp)==null?void 0:de.fo)??""),D.push(((_e=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:_e.underTolerance)??""),f.push(((he=(le=N==null?void 0:N.fuelConclusion)==null?void 0:le.fo)==null?void 0:he.overTolerance)??""),V.push(((Ne=N==null?void 0:N.cp)==null?void 0:Ne.dgo)??""),r.push(((fe=(Ve=N==null?void 0:N.fuelConclusion)==null?void 0:Ve.dgo)==null?void 0:fe.underTolerance)??""),k.push(((De=(ge=N==null?void 0:N.fuelConclusion)==null?void 0:ge.dgo)==null?void 0:De.overTolerance)??""),B.push(((xe=(be=N==null?void 0:N.meteo)==null?void 0:be.wind)==null?void 0:xe.scale)??""),A.push(((Se=(Ce=this.reportData)==null?void 0:Ce.weather)==null?void 0:Se.windScale)??"");let J="";(Oe=(ue=this.reportData)==null?void 0:ue.weather)!=null&&Oe.sigSwitch?(J=(me=(W=(ye=N.meteo)==null?void 0:ye.wave)==null?void 0:W.sig)!=null&&me.height?(Le=(Pe=(Fe=N.meteo)==null?void 0:Fe.wave)==null?void 0:Pe.sig)==null?void 0:Le.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",L.push(this.reportData.weather.sigHeight)):(We=(ke=this.reportData)==null?void 0:ke.weather)!=null&&We.waveSwitch?(J=(Y=(Ze=(Ye=N.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.wd)!=null&&Y.height?($e=(Me=(we=N.meteo)==null?void 0:we.wave)==null?void 0:Me.wd)==null?void 0:$e.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",L.push(this.reportData.weather.waveHeight)):(Je=(Qe=this.reportData)==null?void 0:Qe.weather)!=null&&Je.swellSwitch&&(J=(_=(qe=(Ke=N.meteo)==null?void 0:Ke.wave)==null?void 0:qe.swell)!=null&&_.height?(He=(Te=(q=N.meteo)==null?void 0:q.wave)==null?void 0:Te.swell)==null?void 0:He.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",L.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Ge=this.waveDetail)==null?void 0:Ge.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:I},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:M},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,z)=>{N.indexOf("-")!==-1&&z!==l.length-1&&(N[1]=l[z+1][1])}),c=this.computedArray(c),a=this.computedArray(a),i=this.computedArray(i),D=this.computedArray(D),f=this.computedArray(f),V=this.computedArray(V),r=this.computedArray(r),k=this.computedArray(k),p=this.computedCurrent(p),C=this.computedCurrent(C,"dgotype"),R=this.computedCurrent(R),c.forEach((N,z)=>{let J={name:z==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(J)}),a.forEach((N,z)=>{let J={name:z==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,z)=>{let J={name:z==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};m.push(J)}),D.forEach((N,z)=>{let J={name:z==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};m.push(J)}),f.forEach((N,z)=>{let J={name:z==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};m.push(J)}),m.push({name:"Daily FO",type:"bar",showSymbol:!1,data:p,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),V.forEach((N,z)=>{let J={name:z==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};h.push(J)}),r.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};h.push(J)}),k.forEach((N,z)=>{let J={name:z==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};h.push(J)}),h.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:C,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),S.push({name:"CP Good Weather",type:"line",data:A,color:"#ff8935",showSymbol:!1,smooth:!0}),S.push({name:"Wind BF",type:"line",data:B,color:"#5eb3e0",showSymbol:!1,smooth:!0}),S.push({name:"Ship Report",type:"scatter",data:u,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),F.push({name:"CP Good Weather",type:"line",data:L,color:"#ff8935",showSymbol:!1,smooth:!0});let Q=this.waveDetail.ytitle.replaceAll("(m)","");F.push({name:Q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),F.push({name:"Ship Report",type:"scatter",data:U,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:R,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=m,this.DGOChartData=h,this.windSpdChartData=S,this.waveChartData=F,this.currentChartData=Z}}},Re=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),H2={class:"charts"},M2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),G2={class:"subtitle"},I2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),R2={class:"weather-eChart"},z2={class:"charts page-title"},U2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),Y2={class:"subtitle"},Z2=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),$2={class:"weather-eChart"},Q2={class:"charts page-title"},J2=Re(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),K2={class:"subtitle"},q2={class:"message-table"},j2=Re(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),X2=Re(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),v2=Re(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),eD={style:{display:"inline-block",width:"50%"}},tD=Re(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),oD={style:{display:"inline-block",width:"50%"}},lD={style:{margin:"15px auto","padding-left":"20px"}},aD=["src"],nD={class:"charts-imgLegend"},sD={style:{position:"relative",left:"-20px"}},iD=Re(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),cD=Re(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),dD=Re(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),rD={key:0,class:"charts page-title"},mD=Re(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),pD={class:"subtitle"},hD={class:"message-table"},yD=Re(()=>e.createElementVNode("td",null,"Vessel Name",-1)),ED=Re(()=>e.createElementVNode("td",null,"Prepared For",-1)),_D=Re(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),ND={style:{display:"inline-block",width:"50%"}},VD=Re(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),fD={style:{display:"inline-block",width:"50%"}},gD={class:"columns"},DD={class:"title"},bD=["innerHTML"],xD={class:"charts",style:{"page-break-before":"always"}},CD=Re(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),SD={class:"methodology"},kD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div><div class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div><div class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5 % tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div><div class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),BD={class:"definition"},AD={class:"equation"},wD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),TD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),uD={style:{width:"50%"},class:"fraction"},OD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),FD=Re(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),PD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),LD={class:"equation"},WD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),HD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),MD={style:{width:"50%"},class:"fraction"},GD=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ID=Re(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),RD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),zD={class:"equation"},UD=Re(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),YD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),ZD={style:{width:"50%"},class:"fraction"},$D=Re(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QD=Re(()=>e.createElementVNode("div",null,"CP Speed",-1)),JD=Re(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),KD=Re(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),qD=Re(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),jD=Re(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. ")],-1)),XD=Re(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),vD=Re(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function eb(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe;const m=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.referenceOnly||(h=(f=o.reportData)==null?void 0:f.weather)!=null&&h.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",H2,[M2,e.createElementVNode("div",G2,e.toDisplayString(a.computedTime((V=o.reportData)==null?void 0:V.createdAt)),1),I2,e.createElementVNode("div",R2,[e.createVNode(m,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",z2,[U2,e.createElementVNode("div",Y2,e.toDisplayString(a.computedTime((C=o.reportData)==null?void 0:C.createdAt)),1),Z2,e.createElementVNode("div",$2,[e.createVNode(m,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(m,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",Q2,[J2,e.createElementVNode("div",K2,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",q2,[e.createElementVNode("tr",null,[j2,e.createElementVNode("td",null,e.toDisplayString((S=(k=o.reportData)==null?void 0:k.vessel)==null?void 0:S.name),1)]),e.createElementVNode("tr",null,[X2,e.createElementVNode("td",null,e.toDisplayString((B=o.reportData)==null?void 0:B.preparedFor),1)]),e.createElementVNode("tr",null,[v2,e.createElementVNode("td",null,[e.createElementVNode("span",eD,e.toDisplayString(((u=(A=o.reportData)==null?void 0:A.departure)==null?void 0:u.portName)||a.computedLngLat((x=(F=o.reportData)==null?void 0:F.departure)==null?void 0:x.lat,(U=(L=o.reportData)==null?void 0:L.departure)==null?void 0:U.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((R=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:R.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[tD,e.createElementVNode("td",null,[e.createElementVNode("span",oD,e.toDisplayString(((g=(P=o.reportData)==null?void 0:P.arrival)==null?void 0:g.portName)||a.computedLngLat((G=(I=o.reportData)==null?void 0:I.arrival)==null?void 0:G.lat,(M=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:M.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(Q=o.reportData)==null?void 0:Q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",lD,[e.createElementVNode("img",{style:{width:"100%"},src:(K=o.reportData)==null?void 0:K.chartUrl,alt:""},null,8,aD),e.createElementVNode("div",nD,[e.createElementVNode("div",sD,[iD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),cD]),dD])])]),(z=(N=o.reportData)==null?void 0:N.weather)!=null&&z.showMails?(e.openBlock(),e.createElementBlock("div",rD,[mD,e.createElementVNode("div",pD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",hD,[e.createElementVNode("tr",null,[yD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,e.toDisplayString((X=o.reportData)==null?void 0:X.preparedFor),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,[e.createElementVNode("span",ND,e.toDisplayString(((v=(d=o.reportData)==null?void 0:d.departure)==null?void 0:v.portName)||a.computedLngLat((ee=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:ee.lat,(ce=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ce.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(de=o.reportData)==null?void 0:de.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[VD,e.createElementVNode("td",null,[e.createElementVNode("span",fD,e.toDisplayString(((le=(_e=o.reportData)==null?void 0:_e.arrival)==null?void 0:le.portName)||a.computedLngLat((Ne=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:Ne.lat,(fe=(Ve=o.reportData)==null?void 0:Ve.arrival)==null?void 0:fe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((De=(ge=o.reportData)==null?void 0:ge.arrival)==null?void 0:De.utcTime,"table")),1)])])])]),e.createElementVNode("div",gD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(ye,W)=>(e.openBlock(),e.createElementBlock("div",{key:ye.id,class:e.normalizeClass(W%2===0?"item":"item bg")},[e.createElementVNode("div",DD,"FROM "+e.toDisplayString(a.computeFrom(ye.from))+" "+e.toDisplayString(a.computeUTCTime(ye.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((ye==null?void 0:ye.body)??"-")},null,8,bD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",xD,[CD,e.createElementVNode("div",SD,[kD,e.createElementVNode("div",BD,[e.createElementVNode("div",AD,[wD,TD,e.createElementVNode("div",uD,[e.createElementVNode("div",null,e.toDisplayString((xe=(be=o.reportData)==null?void 0:be.weather)!=null&&xe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),OD,FD]),PD]),e.createElementVNode("div",LD,[WD,HD,e.createElementVNode("div",MD,[e.createElementVNode("div",null,e.toDisplayString((Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),GD,ID]),RD]),e.createElementVNode("div",zD,[UD,YD,e.createElementVNode("div",ZD,[e.createElementVNode("div",null,e.toDisplayString((Oe=(ue=o.reportData)==null?void 0:ue.weather)!=null&&Oe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$D,QD]),JD]),KD]),qD,jD,XD,vD])])],2)}const tb=Ee(W2,[["render",eb],["__scopeId","data-v-4fb04207"]]),Hoe="",ob={components:{firstPart:pg,secondPart:k2,thirdPart:tb},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},lb={class:"voyage-report"};function ab(t,n,o,c,l,a){const m=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),p=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",lb,[e.createVNode(m,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(p,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Cn=Ee(ob,[["render",ab],["__scopeId","data-v-61638416"]]),Moe="",nb={components:{Editor:Uo},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?O(t).utc().format("MMMM D, HHmm[Z]"):n?O(t).utc().format(n):O(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.getLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} ${c}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),c=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),m=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:c,port2:l,time2:a,fullTime2:m}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,c={conclusion:"",className:"",cons:""};return o==="No"?(c.conclusion="Not Available",c.className="",c.cons=""):o==="Over"?(n==="FO"?c.conclusion="FO Over":c.conclusion="DO/GO Over",c.className="error",c.cons=`${t.overCons} mt`):(n==="FO"?c.conclusion="FO Under":c.conclusion="DO/GO Under",c.className="success",c.cons=`${t.saving} mt`),c}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,c="",l=0;return t!=null&&t.waveSwitch?(c+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(c+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(c+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(c+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${c}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let c="";if(t==="No")return c=o?"bg-color-normal":"color-normal",c;switch(n){case"time":t==="Lost"?c="color-fail":c="color-success";break;case"fuel":t==="Over"?c="color-fail":c="color-success";break;case"pfm":t==="Under"?c="color-fail":c="color-success";break}return o&&(c="bg-"+c),c}},computedAbt4Spd(){return function(t){var n,o,c;return(n=t.timeConclusion)!=null&&n.spdPercentage?ie.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(c=t==null?void 0:t.timeConclusion)==null?void 0:c.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((c,l)=>{let a=c.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let p={begin:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:O(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+O(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(p)}),!t.includes(c.seg)){t.push(c.seg);let i=Object.assign({},c.extend.cp);i.spdOfOver=`+${c.timeConclusion.spdOfOver}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${c.timeConclusion.spdOfUnder}${this.computedUnit("speed",c.timeConclusion.spdPercentage)}`,i.over=`+${c.fuelConclusion.consOfOver}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,i.under=`-${c.fuelConclusion.consOfUnder}${this.computedUnit("cons",c.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let m=[];c.extend.segTimes.forEach(i=>{m.push(this.computedSeg(i))}),this.segDetail.push(m),this.goodDays.push(c.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},E=t=>(e.pushScopeId("data-v-037d24da"),t=t(),e.popScopeId(),t),sb=E(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),ib={class:"fli-main"},cb=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),db={class:"card basics"},rb={class:"list flex"},mb={class:"item"},pb=E(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),hb={class:"content flex"},yb={class:"item"},Eb=E(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),_b={class:"content flex"},Nb={class:"item"},Vb=E(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),fb={class:"content flex"},gb={class:"list"},Db={class:"item"},bb=E(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),xb={class:"content flex"},Cb={class:"content flex"},Sb={class:"item"},kb=E(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Bb={class:"content flex"},Ab={class:"content flex"},wb={class:"item"},Tb=E(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),ub={class:"content flexL"},Ob=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),Fb={class:"clause"},Pb={key:0,class:"definition flex"},Lb={key:1,class:"definition flex"},Wb={class:"item"},Hb=E(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),Mb={class:"content"},Gb={key:0,class:"item"},Ib=E(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),Rb={class:"content"},zb={key:1,class:"item"},Ub=E(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),Yb={class:"content"},Zb={key:2,class:"item"},$b=E(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),Qb={class:"content"},Jb={key:3,class:"item"},Kb=E(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),qb={class:"content"},jb={key:4,class:"item"},Xb=[E(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],vb={key:5,class:"item"},e3=[E(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),E(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],t3={class:"definition flexM"},o3={class:"table"},l3=E(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),a3=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),n3={class:"summary"},s3={key:0,class:"summary-overall"},i3=E(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),c3={class:"summary-overall-row"},d3={class:"card"},r3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),m3={class:"main-content"},p3={key:0},h3={key:1},y3={class:"card"},E3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),_3={class:"main-content"},N3={key:0},V3={key:1},f3={class:"card"},g3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),D3={class:"main-content"},b3={key:0},x3={key:1},C3={class:"summary-overall-row"},S3={class:"card"},k3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),B3={class:"main-content"},A3={class:"card"},w3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),T3={class:"main-content"},u3={class:"card"},O3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),F3={class:"main-content"},P3=E(()=>e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1)),L3={class:"card",style:{flex:"1.5"}},W3={class:"card-title"},H3=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),M3={class:"card-segment"},G3={class:"card-segment"},I3={class:"card-segment"},R3=E(()=>e.createElementVNode("div",null,"Applied",-1)),z3={class:"uppercase"},U3={class:"card summary-card",style:{flex:"1"}},Y3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),Z3={key:0,class:"main-content"},$3={key:0,class:"iconfont success"},Q3={key:1,class:"iconfont error"},J3={key:1,class:"main-content"},K3={class:"card-content",style:{"justify-content":"flex-start"}},q3={class:"card summary-card",style:{flex:"1"}},j3=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),X3={key:0,class:"main-content"},v3={key:0,class:"iconfont success"},ex={key:1,class:"iconfont error"},tx={key:1,class:"main-content"},ox={class:"card-content",style:{"justify-content":"flex-start"}},lx={class:"card summary-card",style:{flex:"1"}},ax=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),nx={key:0,class:"main-content"},sx={key:0,class:"iconfont success"},ix={key:1,class:"iconfont error"},cx={key:1,class:"main-content"},dx={class:"card-content",style:{"justify-content":"flex-start"}},rx={style:{"page-break-inside":"avoid"}},mx=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),px={class:"remarks"},hx={class:"item"},yx=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Ex={class:"speed"},_x={class:"uppercase"},Nx={class:"item"},Vx=E(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),fx={key:0,class:"remark-detail"},gx={key:1,class:"remark-detail"},Dx={class:"page-avoid"},bx={class:"dashed"},xx={class:"card phase-title-card",style:{flex:"0.5"}},Cx={class:"card-title"},Sx=E(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),kx={class:"card-segment"},Bx={class:"card-segment"},Ax={class:"card-segment"},wx=E(()=>e.createElementVNode("div",null,"Applied",-1)),Tx={class:"uppercase"},ux=E(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),Ox={class:"phase-analysis"},Fx={class:"card phase-card",style:{flex:"1"}},Px=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),Lx={class:"main-content"},Wx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),Hx={class:"main-content"},Mx={class:"card-content"},Gx=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),Ix=E(()=>e.createElementVNode("span",null,"mt",-1)),Rx={class:"card-content"},zx=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),Ux=E(()=>e.createElementVNode("span",null,"mt",-1)),Yx={class:"card-content"},Zx=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),$x=E(()=>e.createElementVNode("span",null,"mt",-1)),Qx={class:"card-content"},Jx=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),Kx=E(()=>e.createElementVNode("span",null,"mt",-1)),qx=E(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1)),jx={class:"card phase-card",style:{flex:"1"}},Xx=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),vx={class:"main-content"},eC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),tC={class:"main-content"},oC={class:"card-content"},lC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),aC=E(()=>e.createElementVNode("span",null,"mt",-1)),nC={class:"card-content"},sC=E(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),iC=E(()=>e.createElementVNode("span",null,"mt",-1)),cC={class:"card-content"},dC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),rC=E(()=>e.createElementVNode("span",null,"mt",-1)),mC={class:"card-content"},pC=E(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),hC=E(()=>e.createElementVNode("span",null,"mt",-1)),yC=E(()=>e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1)),EC={class:"phase-analysis"},_C={class:"card phase-card",style:{flex:"1"}},NC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),VC={class:"main-content"},fC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),gC={class:"main-content"},DC={class:"card-content"},bC=E(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),xC=E(()=>e.createElementVNode("span",null,"nm",-1)),CC={class:"card-content"},SC=E(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),kC=E(()=>e.createElementVNode("span",null,"nm",-1)),BC={class:"card-content"},AC=E(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),wC=E(()=>e.createElementVNode("span",null,"nm",-1)),TC={class:"card-content"},uC=E(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),OC=E(()=>e.createElementVNode("span",null,"nm",-1)),FC={class:"card phase-card",style:{flex:"1"}},PC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),LC={class:"main-content"},WC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=E(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),IC=E(()=>e.createElementVNode("span",null,"hrs",-1)),RC={class:"card-content"},zC=E(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),UC=E(()=>e.createElementVNode("span",null,"hrs",-1)),YC={class:"card-content"},ZC=E(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),$C=E(()=>e.createElementVNode("span",null,"hrs",-1)),QC={class:"card-content"},JC=E(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),KC=E(()=>e.createElementVNode("span",null,"hrs",-1)),qC={class:"card phase-card",style:{flex:"1"}},jC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),XC={class:"main-content"},vC=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),lS=E(()=>e.createElementVNode("span",null,"kts",-1)),aS={class:"card-content"},nS=E(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),sS=E(()=>e.createElementVNode("span",null,"kts",-1)),iS={class:"card-content"},cS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),dS=E(()=>e.createElementVNode("span",null,"kts",-1)),rS={class:"card-content"},mS=E(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),pS=E(()=>e.createElementVNode("span",null,"kts",-1)),hS={class:"phase-analysis"},yS={class:"card phase-card",style:{flex:"1"}},ES=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),_S={class:"main-content"},NS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),VS={class:"main-content"},fS={class:"card-content"},gS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),DS=E(()=>e.createElementVNode("span",null,"mt",-1)),bS={class:"card-content"},xS=E(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),CS=E(()=>e.createElementVNode("span",null,"mt",-1)),SS={class:"card-content"},kS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),BS=E(()=>e.createElementVNode("span",null,"mt",-1)),AS={class:"card-content"},wS=E(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),TS=E(()=>e.createElementVNode("span",null,"mt",-1)),uS={class:"card phase-card",style:{flex:"1"}},OS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),FS={class:"main-content"},PS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),MS=E(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=E(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),RS=E(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),YS=E(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},$S=E(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),QS=E(()=>e.createElementVNode("span",null,"mt",-1)),JS={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},KS=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),qS={class:"main-content"},jS={class:"card-content"},XS=E(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),vS={key:0},ek=E(()=>e.createElementVNode("span",null,"kts",-1)),tk={key:1},ok={class:"phase-card"},lk={class:"card",style:{flex:"1"}},ak=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),nk={key:0,class:"main-content"},sk={key:0,class:"iconfont success"},ik={key:1,class:"iconfont error"},ck={key:1,class:"main-content"},dk={class:"nogwd"},rk={class:"card-content",style:{"justify-content":"flex-start"}},mk={key:0},pk={class:"equation"},hk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),yk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Ek={style:{width:"8%"}},_k=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),gk={class:"equation"},Dk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),xk={style:{width:"8%"}},Ck=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),kk={style:{width:"10%"}},Bk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Ak={class:"equation"},wk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),Tk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),uk={style:{width:"8%"}},Ok=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Fk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Pk={style:{width:"10%"}},Lk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),Wk={class:"phase-card"},Hk={class:"card",style:{flex:"1"}},Mk=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),Gk={key:0,class:"main-content"},Ik={key:0,class:"iconfont success"},Rk={key:1,class:"iconfont error"},zk={key:1,class:"main-content"},Uk={class:"nogwd"},Yk={class:"card-content",style:{"justify-content":"flex-start"}},Zk={key:0},$k={class:"equation"},Qk=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Kk={style:{width:"8%"}},qk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jk=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Xk={style:{width:"120px"}},vk=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),e4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),t4={style:{width:"10%"}},o4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),l4={class:"equation"},a4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),n4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),s4={style:{width:"8%"}},i4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),c4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),d4={style:{width:"120px"}},r4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),m4=E(()=>e.createElementVNode("div",null,"24",-1)),p4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),h4={style:{width:"10%"}},y4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),E4={class:"equation"},_4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),N4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),V4={style:{width:"8%"}},f4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),g4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),D4={style:{width:"120px"}},b4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),x4=E(()=>e.createElementVNode("div",null,"24",-1)),C4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),S4={style:{width:"10%"}},k4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),B4={key:0,class:"phase-card"},A4={class:"card",style:{flex:"1"}},w4=E(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),T4={key:0,class:"main-content"},u4={key:0,class:"iconfont success"},O4={key:1,class:"iconfont error"},F4={key:1,class:"main-content"},P4={class:"nogwd"},L4={class:"card-content",style:{"justify-content":"flex-start"}},W4={key:0},H4={class:"equation"},M4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),G4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I4={style:{width:"8%"}},R4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),U4={style:{width:"120px"}},Y4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$4={style:{width:"10%"}},Q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),J4={class:"equation"},K4=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),q4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j4={style:{width:"8%"}},X4=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),v4=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e8={style:{width:"120px"}},t8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),o8=E(()=>e.createElementVNode("div",null,"24",-1)),l8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),a8={style:{width:"10%"}},n8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),s8={class:"equation"},i8=E(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),c8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),d8={style:{width:"8%"}},r8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),m8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),p8={style:{width:"120px"}},h8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),y8=E(()=>e.createElementVNode("div",null,"24",-1)),E8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),_8={style:{width:"10%"}},N8=E(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),V8=E(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),f8={class:"formular dashed",style:{"page-break-inside":"avoid"}},g8={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},D8=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),b8={class:""},x8={class:"equation"},C8=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),S8=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),k8={style:{width:"50%"},class:"fraction"},B8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),A8=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),w8=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),T8={class:"equation"},u8=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),O8=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),F8={style:{width:"50%"},class:"fraction"},P8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),L8=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),W8=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),H8={class:"equation"},M8=E(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),G8=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),I8={style:{width:"50%"},class:"fraction"},R8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z8=E(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),U8=E(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),Y8=E(()=>e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),Z8={class:"flexL formular-item",style:{"margin-left":"20px"}},$8=E(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),Q8={class:""},J8={class:"equation"},K8=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),q8=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),j8={style:{width:"25%"},class:"fraction"},X8=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),v8=E(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tB=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),oB=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),lB={class:"equation"},aB=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),nB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),sB={style:{width:"25%"},class:"fraction"},iB=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cB=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),dB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),rB=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),mB=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),pB={class:"equation"},hB=E(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),yB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EB={style:{width:"25%"},class:"fraction"},_B=E(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),NB=E(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),VB=E(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),fB=E(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),gB=E(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),DB=E(()=>e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),bB=E(()=>e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1));function xB(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly?"watermark":"")},[sb,e.createElementVNode("div",ib,[cb,e.createElementVNode("div",db,[e.createElementVNode("div",rb,[e.createElementVNode("div",mb,[pb,e.createElementVNode("div",hb,e.toDisplayString((p=o.reportData)==null?void 0:p.preparedFor),1)]),e.createElementVNode("div",yb,[Eb,e.createElementVNode("div",_b,e.toDisplayString((f=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",Nb,[Vb,e.createElementVNode("div",fb,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",gb,[e.createElementVNode("div",Db,[bb,e.createElementVNode("div",xb,e.toDisplayString(((V=(h=o.reportData)==null?void 0:h.departure)==null?void 0:V.portName)||a.computedLngLat((r=(C=o.reportData)==null?void 0:C.departure)==null?void 0:r.lat,(S=(k=o.reportData)==null?void 0:k.departure)==null?void 0:S.lng)),1),e.createElementVNode("div",Cb,e.toDisplayString(a.computedTime((A=(B=o.reportData)==null?void 0:B.departure)==null?void 0:A.utcTime,"table")),1)]),e.createElementVNode("div",Sb,[kb,e.createElementVNode("div",Bb,e.toDisplayString(((F=(u=o.reportData)==null?void 0:u.arrival)==null?void 0:F.portName)||a.computedLngLat((L=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:L.lat,(Z=(U=o.reportData)==null?void 0:U.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Ab,e.toDisplayString(a.computedTime((P=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",wb,[Tb,e.createElementVNode("div",ub,e.toDisplayString((I=(g=o.reportData)==null?void 0:g.voyage)==null?void 0:I.loadCondition),1)])])]),Ob,e.createElementVNode("div",Fb,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",Pb," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",Lb,[e.createElementVNode("div",Wb,[Hb,e.createElementVNode("div",Mb,"BF "+e.toDisplayString(((Q=(M=o.reportData)==null?void 0:M.weather)==null?void 0:Q.windScale)||"-"),1)]),(K=(j=o.reportData)==null?void 0:j.weather)!=null&&K.waveSwitch?(e.openBlock(),e.createElementBlock("div",Gb,[Ib,e.createElementVNode("div",Rb,e.toDisplayString(((z=(N=o.reportData)==null?void 0:N.weather)==null?void 0:z.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",zb,[Ub,e.createElementVNode("div",Yb,e.toDisplayString(((d=(X=o.reportData)==null?void 0:X.weather)==null?void 0:d.swellHeight)||"-")+" Meter",1)])):(oe=(v=o.reportData)==null?void 0:v.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",Zb,[$b,e.createElementVNode("div",Qb,e.toDisplayString(((se=(ee=o.reportData)==null?void 0:ee.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(de=(ce=o.reportData)==null?void 0:ce.weather)!=null&&de.waveSwitch||(_e=(re=o.reportData)==null?void 0:re.weather)!=null&&_e.swellHeight||(he=(le=o.reportData)==null?void 0:le.weather)!=null&&he.sigSwitch?(e.openBlock(),e.createElementBlock("div",Jb,[Kb,e.createElementVNode("div",qb,e.toDisplayString((Ve=(Ne=o.reportData)==null?void 0:Ne.weather)==null?void 0:Ve.seaScale),1)])):e.createCommentVNode("",!0),(ge=(fe=o.reportData)==null?void 0:fe.weather)!=null&&ge.noAdverseCur?(e.openBlock(),e.createElementBlock("div",jb,Xb)):e.createCommentVNode("",!0),(be=(De=o.reportData)==null?void 0:De.weather)!=null&&be.noExtrapolation?(e.openBlock(),e.createElementBlock("div",vb,e3)):e.createCommentVNode("",!0)])),e.createElementVNode("div",t3,[e.createElementVNode("table",o3,[l3,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(_,q)=>(e.openBlock(),e.createElementBlock("tr",{key:q},[e.createElementVNode("td",null,e.toDisplayString(_==null?void 0:_.type),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.speed} | ${_==null?void 0:_.spdOfOver} , ${_.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.fo} | ${_==null?void 0:_.over} , ${_.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.dgo} | ${_==null?void 0:_.over} , ${_.under}`),1)]))),128))])])])]),a3,e.createElementVNode("div",n3,[((Ce=(xe=o.reportData)==null?void 0:xe.segments)==null?void 0:Ce.length)>1?(e.openBlock(),e.createElementBlock("div",s3,[i3,e.createElementVNode("div",c3,[e.createElementVNode("div",d3,[r3,e.createElementVNode("div",m3,[(ue=(Se=o.reportData)==null?void 0:Se.goodWx)!=null&&ue.avgSpd?(e.openBlock(),e.createElementBlock("div",p3,e.toDisplayString((ye=(Oe=o.reportData)==null?void 0:Oe.goodWx)==null?void 0:ye.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",h3,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",y3,[E3,e.createElementVNode("div",_3,[(me=(W=o.reportData)==null?void 0:W.goodWx)!=null&&me.avgSpd?(e.openBlock(),e.createElementBlock("div",N3,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.goodWx)==null?void 0:Pe.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",V3,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",f3,[g3,e.createElementVNode("div",D3,[(ke=(Le=o.reportData)==null?void 0:Le.goodWx)!=null&&ke.avgSpd?(e.openBlock(),e.createElementBlock("div",b3,e.toDisplayString((Ye=(We=o.reportData)==null?void 0:We.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",x3,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",C3,[e.createElementVNode("div",S3,[k3,e.createElementVNode("div",B3,e.toDisplayString((Y=(Ze=o.reportData)==null?void 0:Ze.allWx)==null?void 0:Y.avgSpd)+" kts ",1)]),e.createElementVNode("div",A3,[w3,e.createElementVNode("div",T3,e.toDisplayString((Me=(we=o.reportData)==null?void 0:we.allWx)==null?void 0:Me.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",u3,[O3,e.createElementVNode("div",F3,e.toDisplayString((Qe=($e=o.reportData)==null?void 0:$e.allWx)==null?void 0:Qe.avgDgoEcaCons)+" mt ",1)])]),P3])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(_,q)=>{var Te,He,Ge;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:q},[e.createElementVNode("div",L3,[e.createElementVNode("div",W3,[H3,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(pe,je)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+je,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",M3,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port1),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time1),1)]),e.createElementVNode("div",G3,[e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.port2),1),e.createElementVNode("div",null,e.toDisplayString(pe==null?void 0:pe.time2),1)])],2))),128)),e.createElementVNode("div",I3,[R3,e.createElementVNode("div",null,[e.createElementVNode("span",z3,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",U3,[Y3,(Te=_.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",Z3,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",$3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",Q3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",J3,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",K3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",q3,[j3,(He=_.goodWx)!=null&&He.distance?(e.openBlock(),e.createElementBlock("div",X3,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",v3,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ex,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",tx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ox,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",lx,[ax,(Ge=_.goodWx)!=null&&Ge.distance?(e.openBlock(),e.createElementBlock("div",nx,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",sx,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",ix,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",cx,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",dx,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",rx,[mx,e.createElementVNode("div",px,[e.createElementVNode("div",hx,[yx,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ke=o.reportData)==null?void 0:Ke.segments,(_,q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:q},[e.createElementVNode("div",Ex,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${q+1}. Phase ${q+1} Applied `)+" ",1),e.createElementVNode("span",_x,e.toDisplayString(_.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Te,He)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+He},e.toDisplayString(`${Te.port1} (${Te.fullTime1}) to ${Te.port2} (${Te.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Nx,[Vx,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",fx,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(_,q)=>(e.openBlock(),e.createElementBlock("div",{key:q},e.toDisplayString(`From ${_.begin} to ${_.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",gx,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=o.reportData)==null?void 0:qe.segments,(_,q)=>{var Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:q},[e.createElementVNode("div",Dx,[e.createElementVNode("div",bx,[e.createElementVNode("div",xx,[e.createElementVNode("div",Cx,[Sx,e.createElementVNode("span",null,"Phase "+e.toDisplayString(q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[q],(Lt,bl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+bl,class:e.normalizeClass(l.segDetail[q].length>1?"dashed":"")},[e.createElementVNode("div",kx,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time1),1)]),e.createElementVNode("div",Bx,[e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Lt==null?void 0:Lt.time2),1)])],2))),128)),e.createElementVNode("div",Ax,[wx,e.createElementVNode("div",null,[e.createElementVNode("span",Tx,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])])]),ux,e.createElementVNode("div",Ox,[e.createElementVNode("div",Fx,[Px,e.createElementVNode("div",Lx,[e.createElementVNode("span",null,e.toDisplayString(((Te=_.goodWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),Wx,e.createElementVNode("div",Hx,[e.createElementVNode("span",null,e.toDisplayString(((He=_.allWx)==null?void 0:He.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Mx,[Gx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ge=_.goodWx)==null?void 0:Ge.outEca.avgFoCons)||"-"),1),Ix])]),e.createElementVNode("div",Rx,[zx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pe=_.goodWx)==null?void 0:pe.inEca.avgFoEcaCons)||"-"),1),Ux])]),e.createElementVNode("div",Yx,[Zx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((je=_.allWx)==null?void 0:je.outEca.avgFoCons)||"-"),1),$x])]),e.createElementVNode("div",Qx,[Jx,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=_.allWx)==null?void 0:ve.inEca.avgFoEcaCons)||"-"),1),Kx])]),qx]),e.createElementVNode("div",jx,[Xx,e.createElementVNode("div",vx,[e.createElementVNode("span",null,e.toDisplayString(((et=_.goodWx)==null?void 0:et.avgDgoEcaCons)||"-")+" mt",1)]),eC,e.createElementVNode("div",tC,[e.createElementVNode("span",null,e.toDisplayString(((lt=_.allWx)==null?void 0:lt.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",oC,[lC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=_.goodWx)==null?void 0:at.outEca.avgDgoCons)||"-"),1),aC])]),e.createElementVNode("div",nC,[sC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=_.goodWx)==null?void 0:nt.inEca.avgDgoEcaCons)||"-"),1),iC])]),e.createElementVNode("div",cC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=_.allWx)==null?void 0:st.outEca.avgDgoCons)||"-"),1),rC])]),e.createElementVNode("div",mC,[pC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ht=_.allWx)==null?void 0:ht.inEca.avgDgoEcaCons)||"-"),1),hC])]),yC])]),e.createElementVNode("div",EC,[e.createElementVNode("div",_C,[NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((yt=_.goodWx)==null?void 0:yt.distance)||"-")+" nm",1)]),fC,e.createElementVNode("div",gC,[e.createElementVNode("span",null,e.toDisplayString(((Et=_.allWx)==null?void 0:Et.distance)||"-")+" nm",1)]),e.createElementVNode("div",DC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=_.goodWx)==null?void 0:_t.outEca.distance)||"-"),1),xC])]),e.createElementVNode("div",CC,[SC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=_.goodWx)==null?void 0:Nt.inEca.distance)||"-"),1),kC])]),e.createElementVNode("div",BC,[AC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=_.allWx)==null?void 0:Vt.outEca.distance)||"-"),1),wC])]),e.createElementVNode("div",TC,[uC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=_.allWx)==null?void 0:ft.inEca.distance)||"-"),1),OC])])]),e.createElementVNode("div",FC,[PC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((gt=_.goodWx)==null?void 0:gt.time)||"-")+" hrs",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((Dt=_.allWx)==null?void 0:Dt.time)||"-")+" hrs",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=_.goodWx)==null?void 0:bt.outEca.time)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=_.goodWx)==null?void 0:xt.inEca.time)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ct=_.allWx)==null?void 0:Ct.outEca.time)||"-"),1),$C])]),e.createElementVNode("div",QC,[JC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=_.allWx)==null?void 0:St.inEca.time)||"-"),1),KC])])]),e.createElementVNode("div",qC,[jC,e.createElementVNode("div",XC,[e.createElementVNode("span",null,e.toDisplayString(((kt=_.goodWx)==null?void 0:kt.avgSpd)||"-")+" kts",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((Bt=_.allWx)==null?void 0:Bt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=_.goodWx)==null?void 0:At.outEca.avgSpd)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=_.goodWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),sS])]),e.createElementVNode("div",iS,[cS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Tt=_.allWx)==null?void 0:Tt.outEca.avgSpd)||"-"),1),dS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ut=_.allWx)==null?void 0:ut.inEca.avgSpd)||"-"),1),pS])])])]),e.createElementVNode("div",hS,[e.createElementVNode("div",yS,[ES,e.createElementVNode("div",_S,[e.createElementVNode("span",null,e.toDisplayString(((Ot=_.goodWx)==null?void 0:Ot.sumFoCons)||"-")+" mt",1)]),NS,e.createElementVNode("div",VS,[e.createElementVNode("span",null,e.toDisplayString(((Mt=_.allWx)==null?void 0:Mt.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",fS,[gS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=_.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),DS])]),e.createElementVNode("div",bS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=_.goodWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),CS])]),e.createElementVNode("div",SS,[kS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vo=_.allWx)==null?void 0:Vo.outEca.sumFoCons)||"-"),1),BS])]),e.createElementVNode("div",AS,[wS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((fo=_.allWx)==null?void 0:fo.inEca.sumFoCons)||"-"),1),TS])])]),e.createElementVNode("div",uS,[OS,e.createElementVNode("div",FS,[e.createElementVNode("span",null,e.toDisplayString(((go=_.goodWx)==null?void 0:go.sumDgoCons)||"-")+" mt",1)]),PS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString((($=_.allWx)==null?void 0:$.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=_.goodWx)==null?void 0:ot.outEca.sumDgoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=_.goodWx)==null?void 0:Ft.inEca.sumDgoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Pt=_.allWx)==null?void 0:Pt.outEca.sumDgoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[$S,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Gt=_.allWx)==null?void 0:Gt.inEca.sumDgoCons)||"-"),1),QS])])]),e.createElementVNode("div",JS,[KS,e.createElementVNode("div",qS,[e.createElementVNode("span",null,e.toDisplayString(((It=_.goodWx)==null?void 0:It.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",jS,[XS,(Rt=_.goodWx)!=null&&Rt.distance&&!((Ut=(zt=o.reportData)==null?void 0:zt.weather)!=null&&Ut.favorableCur&&((Yt=_.goodWx)==null?void 0:Yt.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",vS,[e.createTextVNode(e.toDisplayString(a.computedPositive((Zt=_.goodWx)==null?void 0:Zt.avgCf)),1),ek])):(e.openBlock(),e.createElementBlock("b",tk,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ok,[e.createElementVNode("div",lk,[ak,($t=_.goodWx)!=null&&$t.distance?(e.openBlock(),e.createElementBlock("div",nk,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sk,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",ik,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",ck,[e.createElementVNode("span",dk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",rk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=_.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=_.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",mk,[e.createElementVNode("div",pk,[hk,yk,e.createElementVNode("div",Ek,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(jt=_.goodWx)==null?void 0:jt.distance:(Xt=_.allWx)==null?void 0:Xt.distance),1),_k,e.createElementVNode("div",null,e.toDisplayString((vt=_.goodWx)==null?void 0:vt.pfmSpd),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(_.timeConclusion.timeAtPfmSpd)+" Hrs",1),fk]),e.createElementVNode("div",gk,[Dk,bk,e.createElementVNode("div",xk,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=o.reportData)==null?void 0:eo.weather)!=null&&to.noExtrapolation?(oo=_.goodWx)==null?void 0:oo.distance:(lo=_.allWx)==null?void 0:lo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,e.toDisplayString(_.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Bk]),e.createElementVNode("div",Ak,[wk,Tk,e.createElementVNode("div",uk,[e.createElementVNode("div",null,e.toDisplayString((no=(ao=o.reportData)==null?void 0:ao.weather)!=null&&no.noExtrapolation?(so=_.goodWx)==null?void 0:so.distance:(io=_.allWx)==null?void 0:io.distance),1),Ok,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.plusAbtSpd),1)]),Fk,e.createElementVNode("div",Pk,e.toDisplayString(_.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),Lk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Wk,[e.createElementVNode("div",Hk,[Mk,(co=_.goodWx)!=null&&co.distance?(e.openBlock(),e.createElementBlock("div",Gk,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Ik,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Rk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",zk,[e.createElementVNode("span",Uk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",Yk,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ro=_.goodWx)!=null&&ro.distance?"":"analysis-none"} card analysis-card`)},[(Do=_.goodWx)!=null&&Do.distance?(e.openBlock(),e.createElementBlock("div",Zk,[e.createElementVNode("div",$k,[Qk,Jk,e.createElementVNode("div",Kk,[e.createElementVNode("div",null,e.toDisplayString((xo=(bo=o.reportData)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(Co=_.goodWx)==null?void 0:Co.distance:(So=_.allWx)==null?void 0:So.distance),1),qk,e.createElementVNode("div",null,e.toDisplayString((ko=_.goodWx)==null?void 0:ko.pfmSpd),1)]),jk,e.createElementVNode("div",Xk,[e.createElementVNode("div",null,e.toDisplayString((Bo=_.goodWx)==null?void 0:Bo.sumFoCons)+" "+e.toDisplayString(((Ao=_.allWx)==null?void 0:Ao.inEca.distance)>0?` + ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),vk,e.createElementVNode("div",null,e.toDisplayString((wo=_.goodWx)==null?void 0:wo.time),1)]),e4,e.createElementVNode("div",t4,e.toDisplayString(_.fuelConclusion.fo.entireCons)+" MT",1),o4]),e.createElementVNode("div",l4,[a4,n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((uo=(To=o.reportData)==null?void 0:To.weather)!=null&&uo.noExtrapolation?(Oo=_.goodWx)==null?void 0:Oo.distance:(Fo=_.allWx)==null?void 0:Fo.distance),1),i4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),c4,e.createElementVNode("div",d4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.overTolerance),1),r4,m4]),p4,e.createElementVNode("div",h4,e.toDisplayString(_.fuelConclusion.fo.maxCons)+" MT",1),y4]),e.createElementVNode("div",E4,[_4,N4,e.createElementVNode("div",V4,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.reportData)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?(Wo=_.goodWx)==null?void 0:Wo.distance:(Ho=_.allWx)==null?void 0:Ho.distance),1),f4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),g4,e.createElementVNode("div",D4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.underTolerance),1),b4,x4]),C4,e.createElementVNode("div",S4,e.toDisplayString(_.fuelConclusion.fo.minCons)+" MT",1),k4])])):e.createCommentVNode("",!0)],2)]),((Go=(Mo=_==null?void 0:_.extend)==null?void 0:Mo.cp)==null?void 0:Go.dgo)>0?(e.openBlock(),e.createElementBlock("div",B4,[e.createElementVNode("div",A4,[w4,(Io=_.goodWx)!=null&&Io.distance?(e.openBlock(),e.createElementBlock("div",T4,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",u4,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",O4,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",F4,[e.createElementVNode("span",P4,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",L4,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ro=_.goodWx)!=null&&Ro.distance?"":"analysis-none"} card analysis-card`)},[(zo=_.goodWx)!=null&&zo.distance?(e.openBlock(),e.createElementBlock("div",W4,[e.createElementVNode("div",H4,[M4,G4,e.createElementVNode("div",I4,[e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=o.reportData)==null?void 0:Zo.weather)!=null&&$o.noExtrapolation?(Qo=_.goodWx)==null?void 0:Qo.distance:(Jo=_.allWx)==null?void 0:Jo.distance),1),R4,e.createElementVNode("div",null,e.toDisplayString((Ko=_.goodWx)==null?void 0:Ko.pfmSpd),1)]),z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((qo=_.goodWx)==null?void 0:qo.sumDgoCons)+" "+e.toDisplayString(((jo=_.allWx)==null?void 0:jo.inEca.distance)>0?` - ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),Y4,e.createElementVNode("div",null,e.toDisplayString((Xo=_.goodWx)==null?void 0:Xo.time),1)]),Z4,e.createElementVNode("div",$4,e.toDisplayString(_.fuelConclusion.dgo.entireCons)+" MT",1),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",j4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=_.goodWx)==null?void 0:tl.distance:(ol=_.allWx)==null?void 0:ol.distance),1),X4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),v4,e.createElementVNode("div",e8,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.overTolerance),1),t8,o8]),l8,e.createElementVNode("div",a8,e.toDisplayString(_.fuelConclusion.dgo.maxCons)+" MT",1),n8]),e.createElementVNode("div",s8,[i8,c8,e.createElementVNode("div",d8,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=_.goodWx)==null?void 0:nl.distance:(sl=_.allWx)==null?void 0:sl.distance),1),r8,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),m8,e.createElementVNode("div",p8,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.underTolerance),1),h8,y8]),E8,e.createElementVNode("div",_8,e.toDisplayString(_.fuelConclusion.dgo.minCons)+" MT",1),N8])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),V8,e.createElementVNode("div",f8,[e.createElementVNode("div",g8,[D8,e.createElementVNode("div",b8,[e.createElementVNode("div",x8,[C8,S8,e.createElementVNode("div",k8,[e.createElementVNode("div",null,e.toDisplayString((cl=(il=o.reportData)==null?void 0:il.weather)!=null&&cl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),B8,A8]),w8]),e.createElementVNode("div",T8,[u8,O8,e.createElementVNode("div",F8,[e.createElementVNode("div",null,e.toDisplayString((rl=(dl=o.reportData)==null?void 0:dl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),P8,L8]),W8]),e.createElementVNode("div",H8,[M8,G8,e.createElementVNode("div",I8,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),R8,z8]),U8]),Y8])]),e.createElementVNode("div",Z8,[$8,e.createElementVNode("div",Q8,[e.createElementVNode("div",J8,[K8,q8,e.createElementVNode("div",j8,[e.createElementVNode("div",null,e.toDisplayString((yl=(hl=o.reportData)==null?void 0:hl.weather)!=null&&yl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),X8,v8]),eB,tB,oB]),e.createElementVNode("div",lB,[aB,nB,e.createElementVNode("div",sB,[e.createElementVNode("div",null,e.toDisplayString((_l=(El=o.reportData)==null?void 0:El.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),iB,cB]),dB,rB,mB]),e.createElementVNode("div",pB,[hB,yB,e.createElementVNode("div",EB,[e.createElementVNode("div",null,e.toDisplayString((Vl=(Nl=o.reportData)==null?void 0:Nl.weather)!=null&&Vl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),_B,NB]),VB,fB,gB]),DB,bB])])])])])}),128))])],2)}const CB=Ee(nb,[["render",xB],["__scopeId","data-v-037d24da"]]),Uoe="",SB={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,c){var m;let l="";const a=((m=this.summaryTable)==null?void 0:m.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!c&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!c&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var c,l;const o=((c=this.summaryTable)==null?void 0:c.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?O(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?O(t).utc().format("MMMM-DD/HHmm[Z]"):O(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var c,l,a,m;this.showCF=(l=(c=this.reportData)==null?void 0:c.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(m=(a=this.reportData)==null?void 0:a.segments)==null||m.forEach((i,p)=>{let D=i.extend.cp;i.inventory.sample.hours.forEach((f,h)=>{let V=JSON.parse(JSON.stringify(f));V.cp=D,t.push(V)})}),t.sort(function(i,p){let D=i.date,f=p.date;return D-f});let n="",o="";t.forEach((i,p)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let D=i.type.charAt(0);i.abbreviation=D;const f=O(i.utc).utc().format("D-MMM");f!==o&&(i.lastdate=f,o=f),D==="A"?i.type="":D==="M"&&(i.type="*"),i.time=O(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(ie.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(ie.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},pn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),kB=pn(()=>e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),BB={class:"table",id:"second-table"},AB={class:"summary-table"},wB=pn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"},"   Date   "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),TB={class:"summary-tbody"},uB=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),OB={class:"voyage-map",style:{"page-break-inside":"avoid"}},FB=pn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),PB=["src"],LB=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function WB(t,n,o,c,l,a){var m,i,p,D,f;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(m=o.reportData)==null?void 0:m.weather)!=null&&i.referenceOnly||(D=(p=o.reportData)==null?void 0:p.weather)!=null&&D.overallAsGoodWx?"watermark fli-main":"fli-main")},[kB,e.createElementVNode("div",BB,[e.createElementVNode("div",null,[e.createElementVNode("table",AB,[wB,e.createElementVNode("tbody",TB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(h,V)=>{var C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;return e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(h,V))},e.toDisplayString(h.isFirstSeg?h.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.time),3),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(h)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString((C=h.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(r=h.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0))},e.toDisplayString(h.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((S=(k=h.meteo)==null?void 0:k.wind)==null?void 0:S.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((u=(A=(B=h.meteo)==null?void 0:B.wave)==null?void 0:A.swell)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((L=(x=(F=h.meteo)==null?void 0:F.wave)==null?void 0:x.swell)==null?void 0:L.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((R=(Z=(U=h.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(((P=h.meteo)==null?void 0:P.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":h.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((g=h.noon)==null?void 0:g.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((I=h.noon)==null?void 0:I.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(G=h.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V,!0,!0))},e.toDisplayString(h.abbreviation==="A"||h.abbreviation==="B"?"":(H=h.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((M=h.noon)==null?void 0:M.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":((Q=h.noon)==null?void 0:Q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(j=h.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(h,V))},e.toDisplayString(h.abbreviation==="A"?"":(K=h.noon)==null?void 0:K.dgoBrob),3)])}),128))])])])]),uB,e.createElementVNode("div",OB,[FB,e.createElementVNode("img",{style:{width:"100%"},src:(f=o.reportData)==null?void 0:f.chartUrl,alt:""},null,8,PB),LB])],2)}const HB=Ee(SB,[["render",WB],["__scopeId","data-v-a420dc44"]]),Yoe="",MB={components:{Summary:CB,Inventory:HB},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},GB={class:"voyage-report"};function IB(t,n,o,c,l,a){const m=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",GB,[e.createVNode(m,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const Sn=Ee(MB,[["render",IB],["__scopeId","data-v-7345a543"]]),Zoe="",RB={name:"OrmVoyageSummary",components:{Lng:tn,Lat:on,Editor:Uo},emits:["commit"],props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.waterTempSwitch&&(o+=`, water temperature is ${t==null?void 0:t.waterTemp} °C or less`),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,c)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const m={time:O(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+O(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(m)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},y=t=>(e.pushScopeId("data-v-19873988"),t=t(),e.popScopeId(),t),zB={class:"report-summary"},UB={class:"section voyage-section flex-space"},YB={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZB={class:"flex-space label-block",style:{width:"100%"}},$B=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),QB={style:{"text-transform":"uppercase"}},JB={class:"flex-space label-block",style:{width:"100%"}},KB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),qB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},jB={class:"flex-space label-block",style:{width:"100%"}},XB=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),vB={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},eA={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},tA={class:"flex-space label-block",style:{width:"100%"}},oA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),lA={key:0,class:"flex-end",style:{flex:"1"}},aA={key:1,class:"flex-end",style:{flex:"1"}},nA=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),sA={class:"flex-end",style:{width:"150px"}},iA={class:"flex-space label-block",style:{width:"100%"}},cA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),dA={key:0,class:"flex-end",style:{flex:"1"}},rA={key:1,class:"flex-end",style:{flex:"1"}},mA=y(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),pA={class:"flex-end",style:{width:"150px"}},hA={class:"flex-space label-block",style:{width:"100%"}},yA=y(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),EA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},_A={class:"section weather-section"},NA=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),VA={class:"definition"},fA={class:"txt"},gA={class:"section summary-section"},DA=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),bA={class:"phase-box"},xA={class:"phase-index"},CA={class:"phase-position"},SA={key:0},kA={key:1},BA=y(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),AA={class:"phase-position"},wA={key:0},TA={key:1},uA=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),OA={class:"phase-cp flex-space"},FA={class:"cp-box"},PA=y(()=>e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),LA={class:"flex-space"},WA=y(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),HA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),MA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),GA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),IA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),RA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),zA=y(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),UA=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),YA={class:"phase-conclusion flex-space"},ZA={class:"item-conclusion"},$A=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),QA={class:"value flex-start"},JA=y(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),KA={key:0,class:"label flex-end"},qA={key:0},jA={key:1},XA={key:2},vA={key:1,class:"label flex-end"},e5={key:2,class:"value flex-end"},t5={key:0},o5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),l5={class:"gain"},a5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),n5={key:1},s5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),i5={class:"lost"},c5=y(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),d5={key:2},r5={class:"item-conclusion"},m5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),p5={class:"value flex-start"},h5=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),y5={key:0,class:"label flex-end"},E5={key:0},_5={key:1},N5={key:2},V5={key:1,class:"label flex-end"},f5={key:2,class:"value flex-end"},g5={key:0},D5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),b5={class:"gain"},x5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),C5={key:1},S5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),k5={class:"lost"},B5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),A5={key:2},w5={class:"item-conclusion"},T5=y(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),u5={class:"value flex-start"},O5=y(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),F5={key:0,class:"label flex-end"},P5={key:0},L5={key:1},W5={key:2},H5={key:1,class:"label flex-end"},M5={key:2,class:"value flex-end"},G5={key:0},I5=y(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),R5={class:"gain"},z5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),U5={key:1},Y5=y(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),Z5={class:"lost"},$5=y(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),Q5={key:2},J5=y(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),K5=y(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),q5={key:0,class:"exclusion-block"},j5=y(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),X5=y(()=>e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null," The voyage analysis does not include following information on time, distance, and consumed fuel. ")],-1)),v5={style:{margin:"8px 0"}},ew={class:"remark-table"},tw=y(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),ow=["innerHTML"],lw={class:"section segment-section"},aw=y(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),nw={class:"segment-index flex-center"},sw={class:"segment-position"},iw={key:0},cw={key:1},dw=y(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),rw={class:"segment-position"},mw={key:0},pw={key:1},hw=y(()=>e.createElementVNode("div",{class:"bb"},null,-1)),yw={style:{margin:"10px 0 0"}},Ew=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),_w=y(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),Nw=y(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Vw={class:"good-wx"},fw={class:"good-wx"},gw=y(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Dw={class:"good-wx"},bw={class:"good-wx"},xw=y(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Cw={class:"good-wx"},Sw={class:"good-wx"},kw=y(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Bw={class:"good-wx"},Aw={class:"good-wx"},ww=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Tw={class:"good-wx"},uw={class:"good-wx"},Ow=y(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Fw={class:"good-wx"},Pw={class:"good-wx"},Lw=y(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),Ww={class:"good-wx"},Hw={class:"good-wx"},Mw={key:0,class:"flex-end tip"},Gw={key:1,class:"segment-speed"},Iw={class:"flex-center"},Rw=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),zw={class:"speed-right flex-space"},Uw=y(()=>e.createElementVNode("span",null,"-",-1)),Yw=y(()=>e.createElementVNode("span",null,"-",-1)),Zw=y(()=>e.createElementVNode("label",null,"=",-1)),$w={class:"speed"},Qw=y(()=>e.createElementVNode("span",null,"-",-1)),Jw=y(()=>e.createElementVNode("label",null,"=",-1)),Kw={class:"speed"},qw={key:2,class:"under"},jw={key:3,class:"over"},Xw={class:"flex-center"},vw=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e7={class:"speed-right formula flex-space"},t7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),o7=y(()=>e.createElementVNode("label",null,"-",-1)),l7=y(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),a7=y(()=>e.createElementVNode("label",null,"-",-1)),n7=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),s7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),i7=y(()=>e.createElementVNode("label",null,"-",-1)),c7=y(()=>e.createElementVNode("label",null,"GW Weather Factor",-1)),d7=y(()=>e.createElementVNode("label",null,"GW Average Speed",-1)),r7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),m7={key:2,class:"segment-speed"},p7={class:"flex-center"},h7=y(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),y7={class:"speed-right flex-space"},E7=y(()=>e.createElementVNode("span",null,"-",-1)),_7=y(()=>e.createElementVNode("span",null,"-",-1)),N7=y(()=>e.createElementVNode("label",null,"=",-1)),V7={class:"speed"},f7=y(()=>e.createElementVNode("span",null,"-",-1)),g7=y(()=>e.createElementVNode("label",null,"=",-1)),D7={class:"speed"},b7={key:2,class:"under"},x7={key:3,class:"over"},C7={class:"flex-center"},S7=y(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),k7={class:"speed-right formula flex-space"},B7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),A7=y(()=>e.createElementVNode("label",null,"-",-1)),w7=y(()=>e.createElementVNode("label",null,"Current Factor",-1)),T7=y(()=>e.createElementVNode("label",null,"-",-1)),u7=y(()=>e.createElementVNode("label",null,"Weather Factor",-1)),O7=y(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),F7=y(()=>e.createElementVNode("label",null,"-",-1)),P7=y(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),L7=y(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),W7=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),H7={class:"segment-formula"},M7={class:"header-block flex-start"},G7=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),I7={class:"title"},R7={key:0,style:{"margin-left":"4px","font-weight":"300"}},z7={class:"formula-block"},U7={class:"flex-evenly"},Y7=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),Z7={class:"formula-right flex-evenly"},$7={class:"fraction",style:{width:"240px"}},Q7=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),J7=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),K7=y(()=>e.createElementVNode("div",null,"(a)",-1)),q7={class:"flex-center"},j7={class:"formula-left flex-space"},X7=y(()=>e.createElementVNode("label",null,"=",-1)),v7={class:"formula-right flex-evenly"},e6={class:"fraction",style:{width:"240px"}},t6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6=y(()=>e.createElementVNode("div",null,"(b)",-1)),l6={class:"flex-center"},a6={class:"formula-left flex-space"},n6=y(()=>e.createElementVNode("label",null,"=",-1)),s6={class:"formula-right flex-evenly"},i6={class:"fraction",style:{width:"240px"}},c6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=y(()=>e.createElementVNode("div",null,"(c)",-1)),r6=e.createStaticVNode('<div class="flex-start" data-v-19873988><div class="flex-space" style="width:300px;font-weight:400;" data-v-19873988><label data-v-19873988>Time Lost</label><div data-v-19873988>=</div><div data-v-19873988>(a)</div><div data-v-19873988>-</div><div data-v-19873988>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-19873988><label data-v-19873988>Time Gained</label><div data-v-19873988>=</div><div data-v-19873988>(c)</div><div data-v-19873988>-</div><div data-v-19873988>(a)</div></div></div>',1),m6={class:"formula-desc"},p6={class:"flex-end"},h6=y(()=>e.createElementVNode("label",null,"Time Lost",-1)),y6={class:"flex-end"},E6=y(()=>e.createElementVNode("label",null,"Time Gained",-1)),_6={class:"flex-end"},N6=y(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),V6={key:0,class:"formula-block",style:{"font-weight":"400"}},f6={class:"flex-evenly"},g6=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),D6={class:"formula-right flex-evenly"},b6={class:"fraction",style:{width:"240px"}},x6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),C6=y(()=>e.createElementVNode("div",null,"=",-1)),S6=y(()=>e.createElementVNode("div",null,"(a')",-1)),k6={class:"flex-center"},B6={class:"formula-left flex-space"},A6=y(()=>e.createElementVNode("label",null,"=",-1)),w6={class:"formula-right flex-evenly"},T6={class:"fraction",style:{width:"240px"}},u6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),O6=y(()=>e.createElementVNode("div",null,"=",-1)),F6=y(()=>e.createElementVNode("div",null,"(b')",-1)),P6={class:"flex-center"},L6={class:"formula-left flex-space"},W6=y(()=>e.createElementVNode("label",null,"=",-1)),H6={class:"formula-right flex-evenly"},M6={class:"fraction",style:{width:"240px"}},G6=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),I6=y(()=>e.createElementVNode("div",null,"=",-1)),R6=y(()=>e.createElementVNode("div",null,"(c')",-1)),z6={class:"formula-conclusion",style:{"margin-bottom":"0"}},U6={key:0,class:"flex-evenly",style:{width:"500px"}},Y6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),Z6=y(()=>e.createElementVNode("div",null,"=",-1)),$6=y(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),Q6=y(()=>e.createElementVNode("div",null,"=",-1)),J6=y(()=>e.createElementVNode("div",null,"-",-1)),K6=y(()=>e.createElementVNode("div",null,"=",-1)),q6={key:1,class:"flex-evenly",style:{width:"500px"}},j6=y(()=>e.createElementVNode("div",null,"Time Lost",-1)),X6=y(()=>e.createElementVNode("div",null,"=",-1)),v6=y(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),e9=y(()=>e.createElementVNode("div",null,"=",-1)),t9=y(()=>e.createElementVNode("div",null,"-",-1)),o9=y(()=>e.createElementVNode("div",null,"=",-1)),l9=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),a9={key:1,class:"formula-conclusion"},n9=y(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),s9={class:"segment-formula"},i9={class:"header-block flex-start"},c9=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),d9={class:"title"},r9={key:0,style:{"margin-left":"4px","font-weight":"300"}},m9={class:"formula-block"},p9={class:"flex-evenly"},h9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),y9={class:"formula-right flex-evenly"},E9={class:"fraction",style:{width:"240px"}},_9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),N9=y(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),V9=y(()=>e.createElementVNode("div",null,"x",-1)),f9=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),g9=y(()=>e.createElementVNode("div",null,"(d)",-1)),D9={style:{"line-height":"1"}},b9=y(()=>e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),x9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},C9={class:"flex-center"},S9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),k9={class:"formula-right flex-evenly"},B9={class:"fraction",style:{width:"240px"}},A9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),w9=y(()=>e.createElementVNode("div",null,"x",-1)),T9=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),u9=y(()=>e.createElementVNode("div",null,"(e)",-1)),O9={class:"flex-center"},F9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),P9={class:"formula-right flex-evenly"},L9={class:"fraction",style:{width:"240px"}},W9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),H9=y(()=>e.createElementVNode("div",null,"x",-1)),M9=y(()=>e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),G9=y(()=>e.createElementVNode("div",null,"(f)",-1)),I9=e.createStaticVNode('<div class="flex-start" data-v-19873988><div class="flex-space" style="width:300px;font-weight:400;" data-v-19873988><label data-v-19873988>Fuel Over-consumption</label><div data-v-19873988>=</div><div data-v-19873988>(d)</div><div data-v-19873988>-</div><div data-v-19873988>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-19873988><label data-v-19873988>Fuel Saving</label><div data-v-19873988>=</div><div data-v-19873988>(f)</div><div data-v-19873988>-</div><div data-v-19873988>(d)</div></div></div>',1),R9={class:"flex-center"},z9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"270px"}},Z9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),$9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9={class:"flex-center"},J9=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),K9={class:"formula-right flex-evenly"},q9={class:"fraction",style:{width:"270px"}},j9=y(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),X9=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),v9=y(()=>e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null," Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption ")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),eT={class:"header-block flex-start",style:{"margin-top":"10px"}},tT=y(()=>e.createElementVNode("i",{class:"iconfont"},"  ",-1)),oT={class:"title"},lT={key:0,class:"formula-block"},aT={key:0,class:"flex-evenly"},nT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),sT={class:"formula-right flex-evenly"},iT={class:"fraction",style:{width:"60px"}},cT=y(()=>e.createElementVNode("div",null,"-",-1)),dT={class:"fraction",style:{width:"60px"}},rT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),mT=y(()=>e.createElementVNode("div",null,"24",-1)),pT=y(()=>e.createElementVNode("div",null,"*",-1)),hT=y(()=>e.createElementVNode("div",null,"=",-1)),yT={class:"flex-evenly"},ET=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),_T={class:"formula-right flex-evenly"},NT={class:"fraction",style:{width:"240px"}},VT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),fT=y(()=>e.createElementVNode("div",null,"x",-1)),gT={class:"fraction",style:{width:"240px"}},DT={key:0},bT=y(()=>e.createElementVNode("span",null," + ",-1)),xT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),CT=y(()=>e.createElementVNode("div",null,"=",-1)),ST=y(()=>e.createElementVNode("div",null,"(d')",-1)),kT={class:"flex-evenly"},BT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),AT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),uT=y(()=>e.createElementVNode("div",null,"x",-1)),OT={class:"fraction",style:{width:"240px"}},FT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),PT=y(()=>e.createElementVNode("div",null,"24",-1)),LT=y(()=>e.createElementVNode("div",null,"=",-1)),WT=y(()=>e.createElementVNode("div",null,"(e')",-1)),HT={class:"flex-evenly"},MT=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),GT={class:"formula-right flex-evenly"},IT={class:"fraction",style:{width:"240px"}},RT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),zT=y(()=>e.createElementVNode("div",null,"x",-1)),UT={class:"fraction",style:{width:"240px"}},YT=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),ZT=y(()=>e.createElementVNode("div",null,"24",-1)),$T=y(()=>e.createElementVNode("div",null,"=",-1)),QT=y(()=>e.createElementVNode("div",null,"(f')",-1)),JT={class:"formula-conclusion",style:{"margin-bottom":"0"}},KT={class:"flex-evenly",style:{width:"500px"}},qT=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),jT=y(()=>e.createElementVNode("div",null,"=",-1)),XT=y(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),vT=y(()=>e.createElementVNode("div",null,"=",-1)),eu=y(()=>e.createElementVNode("div",null,"-",-1)),tu=y(()=>e.createElementVNode("div",null,"=",-1)),ou={key:0,class:"flex-evenly"},lu=y(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),au=y(()=>e.createElementVNode("div",null,"=",-1)),nu={class:"fraction"},su=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),iu=y(()=>e.createElementVNode("div",null,"=",-1)),cu={class:"flex-evenly",style:{width:"700px"}},du=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),ru=y(()=>e.createElementVNode("div",null,"=",-1)),mu=y(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),pu=y(()=>e.createElementVNode("div",null,"=",-1)),hu=y(()=>e.createElementVNode("div",null,"-",-1)),yu=y(()=>e.createElementVNode("div",null,"=",-1)),Eu={key:0,class:"flex-evenly",style:{width:"500px"}},_u=y(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),Nu=y(()=>e.createElementVNode("div",null,"=",-1)),Vu={class:"fraction",style:{width:"140px"}},fu=y(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),gu=y(()=>e.createElementVNode("div",null,"=",-1)),Du=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),bu={key:1,class:"formula-conclusion"},xu={class:"header-block flex-end",style:{"margin-top":"10px"}},Cu=y(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Su={class:"title"},ku={key:0,class:"formula-block"},Bu={class:"flex-evenly"},Au=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),wu={class:"formula-right flex-evenly"},Tu={class:"fraction",style:{width:"240px"}},uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Ou=y(()=>e.createElementVNode("div",null,"x",-1)),Fu={class:"fraction",style:{width:"240px"}},Pu={key:0},Lu=y(()=>e.createElementVNode("span",null," - ",-1)),Wu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Hu=y(()=>e.createElementVNode("div",null,"=",-1)),Mu=y(()=>e.createElementVNode("div",null,"(d'')",-1)),Gu={class:"flex-evenly"},Iu=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Ru={class:"formula-right flex-evenly"},zu={class:"fraction",style:{width:"240px"}},Uu=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Yu=y(()=>e.createElementVNode("div",null,"x",-1)),Zu={class:"fraction",style:{width:"240px"}},$u=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),Qu=y(()=>e.createElementVNode("div",null,"24",-1)),Ju=y(()=>e.createElementVNode("div",null,"=",-1)),Ku=y(()=>e.createElementVNode("div",null,"(e'')",-1)),qu={class:"flex-evenly"},ju=y(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),Xu={class:"formula-right flex-evenly"},vu={class:"fraction",style:{width:"240px"}},eO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),tO=y(()=>e.createElementVNode("div",null,"x",-1)),oO={class:"fraction",style:{width:"240px"}},lO=y(()=>e.createElementVNode("div",{class:"line"},null,-1)),aO=y(()=>e.createElementVNode("div",null,"24",-1)),nO=y(()=>e.createElementVNode("div",null,"=",-1)),sO=y(()=>e.createElementVNode("div",null,"(f'')",-1)),iO={class:"formula-conclusion",style:{"margin-bottom":"0"}},cO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),rO=y(()=>e.createElementVNode("div",null,"=",-1)),mO=y(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),pO=y(()=>e.createElementVNode("div",null,"=",-1)),hO=y(()=>e.createElementVNode("div",null,"-",-1)),yO=y(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},_O=y(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),NO=y(()=>e.createElementVNode("div",null,"=",-1)),VO=y(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),fO=y(()=>e.createElementVNode("div",null,"=",-1)),gO=y(()=>e.createElementVNode("div",null,"-",-1)),DO=y(()=>e.createElementVNode("div",null,"=",-1)),bO=y(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function CO(t,n,o,c,l,a){var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",zB,[e.createElementVNode("div",UB,[e.createElementVNode("div",YB,[e.createElementVNode("div",ZB,[$B,e.createElementVNode("span",QB,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",JB,[KB,e.createElementVNode("span",qB,e.toDisplayString((f=(D=o.report)==null?void 0:D.vessel)==null?void 0:f.name)+" ("+e.toDisplayString((V=(h=o.report)==null?void 0:h.vessel)==null?void 0:V.type)+")",1)]),e.createElementVNode("div",jB,[XB,e.createElementVNode("span",vB,e.toDisplayString((r=(C=o.report)==null?void 0:C.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",eA,[e.createElementVNode("div",tA,[oA,(S=(k=o.report)==null?void 0:k.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",lA,e.toDisplayString((A=(B=o.report)==null?void 0:B.departure)==null?void 0:A.portName),1)):(e.openBlock(),e.createElementBlock("div",aA,[e.createVNode(m,{lat:(F=(u=o.report)==null?void 0:u.departure)==null?void 0:F.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),nA,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",sA,e.toDisplayString(a.computeUTCTime((L=o.report.departure)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",iA,[cA,(Z=(U=o.report)==null?void 0:U.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",dA,e.toDisplayString((P=(R=o.report)==null?void 0:R.arrival)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",rA,[e.createVNode(m,{lat:(I=(g=o.report)==null?void 0:g.arrival)==null?void 0:I.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),mA,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",pA,e.toDisplayString(a.computeUTCTime((Q=(M=o.report)==null?void 0:M.arrival)==null?void 0:Q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",hA,[yA,e.createElementVNode("span",EA,e.toDisplayString((K=(j=o.report)==null?void 0:j.voyage)==null?void 0:K.loadCondition),1)])])]),e.createElementVNode("div",_A,[NA,e.createElementVNode("div",VA,[e.createElementVNode("div",fA,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",gA,[DA,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+X},[e.createElementVNode("div",bA,[e.createElementVNode("div",xA,"Seg."+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(q,Te)=>{var He,Ge,pe,je,ve,et,lt,at,nt,st;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:Te},[e.createElementVNode("div",CA,[(He=q==null?void 0:q.departure)!=null&&He.portName?(e.openBlock(),e.createElementBlock("span",SA,e.toDisplayString((Ge=q==null?void 0:q.departure)==null?void 0:Ge.portName),1)):(e.openBlock(),e.createElementBlock("span",kA,e.toDisplayString(a.computeLat((pe=q==null?void 0:q.departure)==null?void 0:pe.lat).pretty)+", "+e.toDisplayString(a.computeLng((je=q==null?void 0:q.departure)==null?void 0:je.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ve=q==null?void 0:q.departure)==null?void 0:ve.utcTime))+")",1)]),BA,e.createElementVNode("div",AA,[(et=q==null?void 0:q.arrival)!=null&&et.portName?(e.openBlock(),e.createElementBlock("span",wA,e.toDisplayString((lt=q==null?void 0:q.arrival)==null?void 0:lt.portName),1)):(e.openBlock(),e.createElementBlock("span",TA,e.toDisplayString(a.computeLat((at=q==null?void 0:q.arrival)==null?void 0:at.lat).pretty)+", "+e.toDisplayString(a.computeLng((nt=q==null?void 0:q.arrival)==null?void 0:nt.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((st=q==null?void 0:q.arrival)==null?void 0:st.utcTime))+")",1)])])}),128)),uA,e.createElementVNode("div",OA,[e.createElementVNode("div",FA,[PA,e.createElementVNode("div",LA,[WA,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(v=s==null?void 0:s.extend)==null?void 0:v.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[HA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[MA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(de=(ce=s==null?void 0:s.extend)==null?void 0:ce.cp)==null?void 0:de.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((_e=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:_e.fo)+" |",1),e.createElementVNode("span",null,[GA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[IA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(le=s==null?void 0:s.extend)==null?void 0:le.cp)==null?void 0:he.dgo)+" |",1),e.createElementVNode("span",null,[RA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[zA,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),UA,e.createElementVNode("div",YA,[e.createElementVNode("div",ZA,[$A,e.createElementVNode("div",QA,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),JA]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",KA,[((Ne=s==null?void 0:s.timeConclusion)==null?void 0:Ne.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",qA," Time Gained ")):((Ve=s==null?void 0:s.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",jA," Time Lost ")):(e.openBlock(),e.createElementBlock("div",XA,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",vA,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",e5,[((fe=s==null?void 0:s.timeConclusion)==null?void 0:fe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",t5,[o5,e.createElementVNode("span",l5,e.toDisplayString((ge=s==null?void 0:s.timeConclusion)==null?void 0:ge.timeGain),1),a5])):((De=s==null?void 0:s.timeConclusion)==null?void 0:De.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",n5,[s5,e.createElementVNode("span",i5,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeLost),1),c5])):(e.openBlock(),e.createElementBlock("div",d5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",r5,[m5,e.createElementVNode("div",p5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),h5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",y5,[((Ce=(xe=s==null?void 0:s.fuelConclusion)==null?void 0:xe.fo)==null?void 0:Ce.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",E5," FO Saving ")):((ue=(Se=s==null?void 0:s.fuelConclusion)==null?void 0:Se.fo)==null?void 0:ue.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",_5," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",N5,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",V5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",f5,[((ye=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.fo)==null?void 0:ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",g5,[D5,e.createElementVNode("span",b5,e.toDisplayString((me=(W=s==null?void 0:s.fuelConclusion)==null?void 0:W.fo)==null?void 0:me.saving),1),x5])):((Pe=(Fe=s==null?void 0:s.fuelConclusion)==null?void 0:Fe.fo)==null?void 0:Pe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",C5,[S5,e.createElementVNode("span",k5,e.toDisplayString((ke=(Le=s==null?void 0:s.fuelConclusion)==null?void 0:Le.fo)==null?void 0:ke.overCons),1),B5])):(e.openBlock(),e.createElementBlock("div",A5,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",w5,[T5,e.createElementVNode("div",u5,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),O5]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",F5,[((Ye=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.dgo)==null?void 0:Ye.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",P5," DO/GO Saving ")):((Y=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Y.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",L5," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",W5,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",H5,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",M5,[((Me=(we=s==null?void 0:s.fuelConclusion)==null?void 0:we.dgo)==null?void 0:Me.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",G5,[I5,e.createElementVNode("span",R5,e.toDisplayString((Qe=($e=s==null?void 0:s.fuelConclusion)==null?void 0:$e.dgo)==null?void 0:Qe.saving),1),z5])):((Ke=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:Ke.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",U5,[Y5,e.createElementVNode("span",Z5,e.toDisplayString((_=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:_.overCons),1),$5])):(e.openBlock(),e.createElementBlock("div",Q5,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),J5]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((z=o.report)==null?void 0:z.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[K5,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",q5,[j5,X5,e.createElementVNode("div",v5,[e.createElementVNode("table",ew,[tw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,X)=>(e.openBlock(),e.createElementBlock("tr",{key:X},[e.createElementVNode("td",null,e.toDisplayString(X+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,ow))],2)],2),e.createElementVNode("div",lw,[aw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,X)=>{var d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Bl,Al,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa,ae,mo,Ja,Ka,qa,ne,po,ja,Xa,va,mt,nn,sn,cn,dn,Wt,Jn,Kn,qn,jn,Xn,vn,es,ts,os,ls,as,ns,ss,is,cs,ds,rs,ms,ps,hs,ys,Es,_s,Ns,Vs,fs,gs,Ds,bs,xs,Cs,Ss,ks,Bs,As,ws,Ts,us,Os,Fs,Ps,Ls,Ws,Hs,Ms,Gs,Is,Rs,zs,Us,Ys,Zs,$s,Qs,Js,Ks,qs,js,Xs,vs,ei,ti,oi,li,ai,ni,si,ii,ci,di,ri,mi,pi,hi,yi,Ei,_i,Ni,Vi,fi,gi,Di;return e.openBlock(),e.createElementBlock("div",{key:X,class:"segment-block"},[e.createElementVNode("div",nw,"Voyage Analysis Seg. "+e.toDisplayString(X+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=s==null?void 0:s.extend)==null?void 0:d.segTimes,(Xe,ioe)=>{var bi,xi,Ci,Si,ki,Bi,Ai,wi,Ti,ui;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:ioe},[e.createElementVNode("div",sw,[(bi=Xe==null?void 0:Xe.departure)!=null&&bi.portName?(e.openBlock(),e.createElementBlock("span",iw,e.toDisplayString((xi=Xe==null?void 0:Xe.departure)==null?void 0:xi.portName),1)):(e.openBlock(),e.createElementBlock("span",cw,e.toDisplayString(a.computeLat((Ci=Xe==null?void 0:Xe.departure)==null?void 0:Ci.lat).pretty)+", "+e.toDisplayString(a.computeLng((Si=Xe==null?void 0:Xe.departure)==null?void 0:Si.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ki=Xe==null?void 0:Xe.departure)==null?void 0:ki.utcTime))+")",1)]),dw,e.createElementVNode("div",rw,[(Bi=Xe==null?void 0:Xe.arrival)!=null&&Bi.portName?(e.openBlock(),e.createElementBlock("span",mw,e.toDisplayString((Ai=Xe==null?void 0:Xe.arrival)==null?void 0:Ai.portName),1)):(e.openBlock(),e.createElementBlock("span",pw,e.toDisplayString(a.computeLat((wi=Xe==null?void 0:Xe.arrival)==null?void 0:wi.lat).pretty)+", "+e.toDisplayString(a.computeLng((Ti=Xe==null?void 0:Xe.arrival)==null?void 0:Ti.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((ui=Xe==null?void 0:Xe.arrival)==null?void 0:ui.utcTime))+")",1)])])}),128)),hw,e.createElementVNode("div",yw,[e.createElementVNode("table",null,[Ew,_w,e.createElementVNode("tr",null,[Nw,e.createElementVNode("td",Vw,e.toDisplayString((oe=(v=s==null?void 0:s.goodWx)==null?void 0:v.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",fw,e.toDisplayString((se=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((de=(ce=s==null?void 0:s.allWx)==null?void 0:ce.outEca)==null?void 0:de.distance),1),e.createElementVNode("td",null,e.toDisplayString((_e=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:_e.distance),1)]),e.createElementVNode("tr",null,[gw,e.createElementVNode("td",Dw,e.toDisplayString((he=(le=s==null?void 0:s.goodWx)==null?void 0:le.outEca)==null?void 0:he.time),1),e.createElementVNode("td",bw,e.toDisplayString((Ve=(Ne=s==null?void 0:s.goodWx)==null?void 0:Ne.inEca)==null?void 0:Ve.time),1),e.createElementVNode("td",null,e.toDisplayString((ge=(fe=s==null?void 0:s.allWx)==null?void 0:fe.outEca)==null?void 0:ge.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(De=s==null?void 0:s.allWx)==null?void 0:De.inEca)==null?void 0:be.time),1)]),e.createElementVNode("tr",null,[xw,e.createElementVNode("td",Cw,e.toDisplayString(((Ce=(xe=s==null?void 0:s.goodWx)==null?void 0:xe.outEca)==null?void 0:Ce.avgSpd)||"--"),1),e.createElementVNode("td",Sw,e.toDisplayString(((ue=(Se=s==null?void 0:s.goodWx)==null?void 0:Se.inEca)==null?void 0:ue.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ye=(Oe=s==null?void 0:s.allWx)==null?void 0:Oe.outEca)==null?void 0:ye.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((me=(W=s==null?void 0:s.allWx)==null?void 0:W.inEca)==null?void 0:me.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[kw,e.createElementVNode("td",Bw,e.toDisplayString(((Pe=(Fe=s==null?void 0:s.goodWx)==null?void 0:Fe.outEca)==null?void 0:Pe.sumFoCons)||"--"),1),e.createElementVNode("td",Aw,e.toDisplayString(((ke=(Le=s==null?void 0:s.goodWx)==null?void 0:Le.inEca)==null?void 0:ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ye=(We=s==null?void 0:s.allWx)==null?void 0:We.outEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Y=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.inEca)==null?void 0:Y.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[ww,e.createElementVNode("td",Tw,e.toDisplayString(((Me=(we=s==null?void 0:s.goodWx)==null?void 0:we.outEca)==null?void 0:Me.avgFoCons)||"--"),1),e.createElementVNode("td",uw,e.toDisplayString(((Qe=($e=s==null?void 0:s.goodWx)==null?void 0:$e.inEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=s==null?void 0:s.allWx)==null?void 0:Je.outEca)==null?void 0:Ke.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:_.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Ow,e.createElementVNode("td",Fw,e.toDisplayString(((Te=(q=s==null?void 0:s.goodWx)==null?void 0:q.outEca)==null?void 0:Te.sumDgoCons)||"--"),1),e.createElementVNode("td",Pw,e.toDisplayString(((Ge=(He=s==null?void 0:s.goodWx)==null?void 0:He.inEca)==null?void 0:Ge.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((je=(pe=s==null?void 0:s.allWx)==null?void 0:pe.outEca)==null?void 0:je.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((et=(ve=s==null?void 0:s.allWx)==null?void 0:ve.inEca)==null?void 0:et.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[Lw,e.createElementVNode("td",Ww,e.toDisplayString(((at=(lt=s==null?void 0:s.goodWx)==null?void 0:lt.outEca)==null?void 0:at.avgDgoCons)||"--"),1),e.createElementVNode("td",Hw,e.toDisplayString(((st=(nt=s==null?void 0:s.goodWx)==null?void 0:nt.inEca)==null?void 0:st.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((yt=(ht=s==null?void 0:s.allWx)==null?void 0:ht.outEca)==null?void 0:yt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_t=(Et=s==null?void 0:s.allWx)==null?void 0:Et.inEca)==null?void 0:_t.avgDgoCons)||"--"),1)])])]),(Nt=l.exclusion[X])!=null&&Nt.time?(e.openBlock(),e.createElementBlock("div",Mw," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(Vt=s==null?void 0:s.goodWx)!=null&&Vt.distance?(e.openBlock(),e.createElementBlock("div",Gw,[e.createElementVNode("div",Iw,[Rw,e.createElementVNode("div",zw,[(gt=(ft=o.report)==null?void 0:ft.weather)!=null&&gt.favorableCur&&((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Mt=(Ot=o.report)==null?void 0:Ot.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((ho=s==null?void 0:s.goodWx)==null?void 0:ho.avgSpd),1),Qw,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.goodWx)==null?void 0:No.avgWf)>0?(Vo=s==null?void 0:s.goodWx)==null?void 0:Vo.avgWf:`(${(fo=s==null?void 0:s.goodWx)==null?void 0:fo.avgWf})`),1),Jw],64)):e.createCommentVNode("",!0),e.createElementVNode("span",Kw,e.toDisplayString((go=s==null?void 0:s.goodWx)==null?void 0:go.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgSpd),1),Uw,e.createElementVNode("span",null,e.toDisplayString(((xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf)>0?(Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.avgCf:`(${(St=s==null?void 0:s.goodWx)==null?void 0:St.avgCf})`),1),(Bt=(kt=o.report)==null?void 0:kt.weather)!=null&&Bt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Yw,e.createElementVNode("span",null,e.toDisplayString(((At=s==null?void 0:s.goodWx)==null?void 0:At.avgWf)>0?(wt=s==null?void 0:s.goodWx)==null?void 0:wt.avgWf:`(${(Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgWf})`),1)],64)):e.createCommentVNode("",!0),Zw,e.createElementVNode("span",$w,e.toDisplayString((ut=s==null?void 0:s.goodWx)==null?void 0:ut.pfmSpd)+" (kts)",1)],64)),(($=s==null?void 0:s.goodWx)==null?void 0:$.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",qw,"(Under-performance)")):e.createCommentVNode("",!0),((ot=s==null?void 0:s.goodWx)==null?void 0:ot.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",jw,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Xw,[vw,e.createElementVNode("div",e7,[(Pt=(Ft=o.report)==null?void 0:Ft.weather)!=null&&Pt.favorableCur&&((Gt=s==null?void 0:s.goodWx)==null?void 0:Gt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Ut=(zt=o.report)==null?void 0:zt.weather)!=null&&Ut.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s7,i7,c7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d7,r7],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t7,o7,l7,(Rt=(It=o.report)==null?void 0:It.weather)!=null&&Rt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a7,n7],64)):e.createCommentVNode("",!0)],64))])])])):(e.openBlock(),e.createElementBlock("div",m7,[e.createElementVNode("div",p7,[h7,e.createElementVNode("div",y7,[(Zt=(Yt=o.report)==null?void 0:Yt.weather)!=null&&Zt.favorableCur&&(($t=s==null?void 0:s.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((to=s==null?void 0:s.allWx)==null?void 0:to.avgSpd),1),f7,e.createElementVNode("span",null,e.toDisplayString(((oo=s==null?void 0:s.allWx)==null?void 0:oo.avgWf)>0?(lo=s==null?void 0:s.allWx)==null?void 0:lo.avgWf:`(${(ao=s==null?void 0:s.allWx)==null?void 0:ao.avgWf})`),1),g7,e.createElementVNode("span",D7,e.toDisplayString((no=s==null?void 0:s.allWx)==null?void 0:no.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((Qt=s==null?void 0:s.allWx)==null?void 0:Qt.avgSpd),1),E7,e.createElementVNode("span",null,e.toDisplayString(((Jt=s==null?void 0:s.allWx)==null?void 0:Jt.avgCf)>0?(Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf:`(${(qt=s==null?void 0:s.allWx)==null?void 0:qt.avgCf})`),1),_7,e.createElementVNode("span",null,e.toDisplayString(((jt=s==null?void 0:s.allWx)==null?void 0:jt.avgWf)>0?(Xt=s==null?void 0:s.allWx)==null?void 0:Xt.avgWf:`(${(vt=s==null?void 0:s.allWx)==null?void 0:vt.avgWf})`),1),N7,e.createElementVNode("span",V7,e.toDisplayString((eo=s==null?void 0:s.allWx)==null?void 0:eo.pfmSpd)+" (kts)",1)],64)),((so=s==null?void 0:s.allWx)==null?void 0:so.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",b7,"(Under-performance)")):e.createCommentVNode("",!0),((io=s==null?void 0:s.allWx)==null?void 0:io.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",x7,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",C7,[S7,e.createElementVNode("div",k7,[(ro=(co=o.report)==null?void 0:co.weather)!=null&&ro.favorableCur&&((Do=s==null?void 0:s.allWx)==null?void 0:Do.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O7,F7,P7,L7],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B7,A7,w7,T7,u7],64))])])])),W7,e.createElementVNode("div",H7,[e.createElementVNode("div",M7,[G7,e.createElementVNode("div",I7,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Time Analysis",1),(xo=(bo=o.report)==null?void 0:bo.weather)!=null&&xo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",R7,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",z7,[e.createElementVNode("div",U7,[Y7,e.createElementVNode("div",Z7,[e.createElementVNode("div",$7,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=o.report)==null?void 0:Co.weather)!=null&&So.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Q7,J7]),K7])]),e.createElementVNode("div",q7,[e.createElementVNode("div",j7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(ko=s==null?void 0:s.extend)==null?void 0:ko.cp)==null?void 0:Bo.speed,"Under"))+"kts)",1),X7]),e.createElementVNode("div",v7,[e.createElementVNode("div",e6,[e.createElementVNode("div",null,e.toDisplayString((wo=(Ao=o.report)==null?void 0:Ao.weather)!=null&&wo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t6,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(uo=(To=s==null?void 0:s.extend)==null?void 0:To.cp)==null?void 0:uo.speed,"Under"))+"kts",1)]),o6])]),e.createElementVNode("div",l6,[e.createElementVNode("div",a6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Fo=(Oo=s==null?void 0:s.extend)==null?void 0:Oo.cp)==null?void 0:Fo.speed,"Over"))+"kts)",1),n6]),e.createElementVNode("div",s6,[e.createElementVNode("div",i6,[e.createElementVNode("div",null,e.toDisplayString((Lo=(Po=o.report)==null?void 0:Po.weather)!=null&&Lo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c6,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Over"))+"kts",1)]),d6])]),r6]),e.createElementVNode("div",m6,[e.createElementVNode("div",p6,[h6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Go=(Mo=s==null?void 0:s.extend)==null?void 0:Mo.cp)==null?void 0:Go.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",y6,[E6,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ro=(Io=s==null?void 0:s.extend)==null?void 0:Io.cp)==null?void 0:Ro.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",_6,[N6,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zo=(zo=s==null?void 0:s.extend)==null?void 0:zo.cp)==null?void 0:Zo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Qo=($o=s==null?void 0:s.extend)==null?void 0:$o.cp)==null?void 0:Qo.speed,"Under"))+" kts)",1)])]),(Jo=s==null?void 0:s.goodWx)!=null&&Jo.distance?(e.openBlock(),e.createElementBlock("div",V6,[e.createElementVNode("div",f6,[g6,e.createElementVNode("div",D6,[e.createElementVNode("div",b6,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(jo=s==null?void 0:s.goodWx)==null?void 0:jo.distance:(Xo=s==null?void 0:s.allWx)==null?void 0:Xo.distance),1),x6,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.goodWx)==null?void 0:vo.pfmSpd),1)]),C6,e.createElementVNode("div",null,e.toDisplayString((el=s==null?void 0:s.timeConclusion)==null?void 0:el.timeAtPfmSpd)+" (hrs)",1),S6])]),e.createElementVNode("div",k6,[e.createElementVNode("div",B6,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ol=(tl=s==null?void 0:s.extend)==null?void 0:tl.cp)==null?void 0:ol.speed,"Under"))+"kts)",1),A6]),e.createElementVNode("div",w6,[e.createElementVNode("div",T6,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.report)==null?void 0:ll.weather)!=null&&al.noExtrapolation?(nl=s==null?void 0:s.goodWx)==null?void 0:nl.distance:(sl=s==null?void 0:s.allWx)==null?void 0:sl.distance),1),u6,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.minusAbtSpd),1)]),O6,e.createElementVNode("div",null,e.toDisplayString((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.timeAtMinusAbtSpd)+" (hrs)",1),F6])]),e.createElementVNode("div",P6,[e.createElementVNode("div",L6,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(rl=(dl=s==null?void 0:s.extend)==null?void 0:dl.cp)==null?void 0:rl.speed,"Over"))+"kts)",1),W6]),e.createElementVNode("div",H6,[e.createElementVNode("div",M6,[e.createElementVNode("div",null,e.toDisplayString((pl=(ml=o.report)==null?void 0:ml.weather)!=null&&pl.noExtrapolation?(hl=s==null?void 0:s.goodWx)==null?void 0:hl.distance:(yl=s==null?void 0:s.allWx)==null?void 0:yl.distance),1),G6,e.createElementVNode("div",null,e.toDisplayString((El=s==null?void 0:s.timeConclusion)==null?void 0:El.plusAbtSpd),1)]),I6,e.createElementVNode("div",null,e.toDisplayString((_l=s==null?void 0:s.timeConclusion)==null?void 0:_l.timeAtPlusAbtSpd)+" (hrs)",1),R6])]),e.createElementVNode("div",z6,[((Nl=s==null?void 0:s.timeConclusion)==null?void 0:Nl.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",U6,[Y6,Z6,$6,Q6,e.createElementVNode("div",null,e.toDisplayString((Vl=s==null?void 0:s.timeConclusion)==null?void 0:Vl.timeAtPfmSpd),1),J6,e.createElementVNode("div",null,e.toDisplayString((Lt=s==null?void 0:s.timeConclusion)==null?void 0:Lt.timeAtMinusAbtSpd),1),K6,e.createElementVNode("div",null,e.toDisplayString((bl=s==null?void 0:s.timeConclusion)==null?void 0:bl.timeLost)+" (hrs)",1)])):((Sl=s==null?void 0:s.timeConclusion)==null?void 0:Sl.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",q6,[j6,X6,v6,e9,e.createElementVNode("div",null,e.toDisplayString((kl=s==null?void 0:s.timeConclusion)==null?void 0:kl.timeAtPlusAbtSpd),1),t9,e.createElementVNode("div",null,e.toDisplayString((Bl=s==null?void 0:s.timeConclusion)==null?void 0:Bl.timeAtPfmSpd),1),o9,e.createElementVNode("div",null,e.toDisplayString((Al=s==null?void 0:s.timeConclusion)==null?void 0:Al.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((wl=s==null?void 0:s.timeConclusion)==null?void 0:wl.conclusionStatus)==="Lost"?"flex-center lost":((Tl=s==null?void 0:s.timeConclusion)==null?void 0:Tl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[l9,e.createElementVNode("div",null,e.toDisplayString(((ul=s==null?void 0:s.timeConclusion)==null?void 0:ul.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",a9,e.toDisplayString(l.noGoodWxDay),1))]),n9,e.createElementVNode("div",s9,[e.createElementVNode("div",i9,[c9,e.createElementVNode("div",d9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(X+1)+" Consumption Analysis",1),(Fl=(Ol=o.report)==null?void 0:Ol.weather)!=null&&Fl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",r9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",m9,[e.createElementVNode("div",p9,[h9,e.createElementVNode("div",y9,[e.createElementVNode("div",E9,[e.createElementVNode("div",null,e.toDisplayString((Ll=(Pl=o.report)==null?void 0:Pl.weather)!=null&&Ll.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),_9,N9]),V9,f9,g9])]),e.createElementVNode("div",D9,[b9,((Hl=(Wl=s.extend)==null?void 0:Wl.cp)==null?void 0:Hl.dgo)>0?(e.openBlock(),e.createElementBlock("div",x9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",C9,[S9,e.createElementVNode("div",k9,[e.createElementVNode("div",B9,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Ml=o.report)==null?void 0:Ml.weather)!=null&&Gl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),A9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Rl=(Il=s==null?void 0:s.extend)==null?void 0:Il.cp)==null?void 0:Rl.speed,"Under"))+"kts",1)]),w9,T9,u9])]),e.createElementVNode("div",O9,[F9,e.createElementVNode("div",P9,[e.createElementVNode("div",L9,[e.createElementVNode("div",null,e.toDisplayString((Ul=(zl=o.report)==null?void 0:zl.weather)!=null&&Ul.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),W9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Zl=(Yl=s==null?void 0:s.extend)==null?void 0:Yl.cp)==null?void 0:Zl.speed,"Under"))+"kts",1)]),H9,M9,G9])]),I9,((Ql=($l=s.extend)==null?void 0:$l.cp)==null?void 0:Ql.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[Z9,$9,e.createElementVNode("div",null,e.toDisplayString((Kl=(Jl=o.report)==null?void 0:Jl.weather)!=null&&Kl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",Q9,[J9,e.createElementVNode("div",K9,[e.createElementVNode("div",q9,[j9,X9,e.createElementVNode("div",null,e.toDisplayString((jl=(ql=o.report)==null?void 0:ql.weather)!=null&&jl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),v9,e.createElementVNode("div",eT,[tT,e.createElementVNode("div",oT,"Seg. "+e.toDisplayString(X+1)+" Fuel Oil",1)]),(Xl=s==null?void 0:s.goodWx)!=null&&Xl.distance?(e.openBlock(),e.createElementBlock("div",lT,[((ea=(vl=s==null?void 0:s.goodWx)==null?void 0:vl.inEca)==null?void 0:ea.distance)>0?(e.openBlock(),e.createElementBlock("div",aT,[nT,e.createElementVNode("div",sT,[e.createElementVNode("div",iT,[e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s==null?void 0:s.goodWx)==null?void 0:ta.inEca)==null?void 0:oa.sumDgoCons),1)]),cT,e.createElementVNode("div",dT,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=s==null?void 0:s.extend)==null?void 0:la.cp)==null?void 0:aa.dgo),1),rT,mT]),pT,e.createElementVNode("div",null,e.toDisplayString((sa=(na=s==null?void 0:s.goodWx)==null?void 0:na.inEca)==null?void 0:sa.time),1),hT,e.createElementVNode("div",null,e.toDisplayString((ca=(ia=s==null?void 0:s.fuelConclusion)==null?void 0:ia.fo)==null?void 0:ca.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",yT,[ET,e.createElementVNode("div",_T,[e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((ra=(da=o.report)==null?void 0:da.weather)!=null&&ra.noExtrapolation?(ma=s==null?void 0:s.goodWx)==null?void 0:ma.distance:(pa=s==null?void 0:s.allWx)==null?void 0:pa.distance),1),VT,e.createElementVNode("div",null,e.toDisplayString((ha=s==null?void 0:s.goodWx)==null?void 0:ha.pfmSpd),1)]),fT,e.createElementVNode("div",gT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ya=s==null?void 0:s.goodWx)==null?void 0:ya.sumFoCons),1),((_a=(Ea=s==null?void 0:s.goodWx)==null?void 0:Ea.inEca)==null?void 0:_a.distance)>0?(e.openBlock(),e.createElementBlock("span",DT,[bT,e.createElementVNode("span",null,e.toDisplayString((Va=(Na=s==null?void 0:s.fuelConclusion)==null?void 0:Na.fo)==null?void 0:Va.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),xT,e.createElementVNode("div",null,e.toDisplayString((fa=s==null?void 0:s.goodWx)==null?void 0:fa.time),1)]),CT,e.createElementVNode("div",null,e.toDisplayString((Da=(ga=s.fuelConclusion)==null?void 0:ga.fo)==null?void 0:Da.entireCons)+" (mt)",1),ST])]),e.createElementVNode("div",kT,[BT,e.createElementVNode("div",AT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((xa=(ba=o.report)==null?void 0:ba.weather)!=null&&xa.noExtrapolation?(Ca=s==null?void 0:s.goodWx)==null?void 0:Ca.distance:(Sa=s==null?void 0:s.allWx)==null?void 0:Sa.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((ka=s==null?void 0:s.timeConclusion)==null?void 0:ka.minusAbtSpd),1)]),uT,e.createElementVNode("div",OT,[e.createElementVNode("div",null,e.toDisplayString((Aa=(Ba=s==null?void 0:s.fuelConclusion)==null?void 0:Ba.fo)==null?void 0:Aa.overTolerance),1),FT,PT]),LT,e.createElementVNode("div",null,e.toDisplayString((Ta=(wa=s.fuelConclusion)==null?void 0:wa.fo)==null?void 0:Ta.maxCons)+" (mt)",1),WT])]),e.createElementVNode("div",HT,[MT,e.createElementVNode("div",GT,[e.createElementVNode("div",IT,[e.createElementVNode("div",null,e.toDisplayString((Oa=(ua=o.report)==null?void 0:ua.weather)!=null&&Oa.noExtrapolation?(Fa=s==null?void 0:s.goodWx)==null?void 0:Fa.distance:(Pa=s==null?void 0:s.allWx)==null?void 0:Pa.distance),1),RT,e.createElementVNode("div",null,e.toDisplayString((La=s==null?void 0:s.timeConclusion)==null?void 0:La.minusAbtSpd),1)]),zT,e.createElementVNode("div",UT,[e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.underTolerance),1),YT,ZT]),$T,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.minCons)+" (mt)",1),QT])]),e.createElementVNode("div",JT,[((Ra=(Ia=s==null?void 0:s.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:Ra.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",KT,[qT,jT,XT,vT,e.createElementVNode("div",null,e.toDisplayString((Ua=(za=s==null?void 0:s.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ua.entireCons),1),eu,e.createElementVNode("div",null,e.toDisplayString((Za=(Ya=s==null?void 0:s.fuelConclusion)==null?void 0:Ya.fo)==null?void 0:Za.maxCons),1),tu,e.createElementVNode("div",null,e.toDisplayString((Qa=($a=s==null?void 0:s.fuelConclusion)==null?void 0:$a.fo)==null?void 0:Qa.overCons),1)]),(mo=(ae=s==null?void 0:s.goodWx)==null?void 0:ae.inEca)!=null&&mo.distance?(e.openBlock(),e.createElementBlock("div",ou,[lu,au,e.createElementVNode("div",nu,[e.createElementVNode("div",null,e.toDisplayString((Ka=(Ja=s==null?void 0:s.goodWx)==null?void 0:Ja.inEca)==null?void 0:Ka.distance)+" * "+e.toDisplayString((ne=(qa=s==null?void 0:s.fuelConclusion)==null?void 0:qa.fo)==null?void 0:ne.overCons),1),su,e.createElementVNode("div",null,e.toDisplayString((ja=(po=o.report)==null?void 0:po.weather)!=null&&ja.noExtrapolation?(Xa=s==null?void 0:s.goodWx)==null?void 0:Xa.distance:(va=s==null?void 0:s.allWx)==null?void 0:va.distance),1)]),iu,e.createElementVNode("div",null,e.toDisplayString((nn=(mt=s==null?void 0:s.fuelConclusion)==null?void 0:mt.fo)==null?void 0:nn.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((cn=(sn=s==null?void 0:s.fuelConclusion)==null?void 0:sn.fo)==null?void 0:cn.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",cu,[du,ru,mu,pu,e.createElementVNode("div",null,e.toDisplayString((Wt=(dn=s==null?void 0:s.fuelConclusion)==null?void 0:dn.fo)==null?void 0:Wt.minCons),1),hu,e.createElementVNode("div",null,e.toDisplayString((Kn=(Jn=s==null?void 0:s.fuelConclusion)==null?void 0:Jn.fo)==null?void 0:Kn.entireCons),1),yu,e.createElementVNode("div",null,e.toDisplayString((jn=(qn=s==null?void 0:s.fuelConclusion)==null?void 0:qn.fo)==null?void 0:jn.saving)+" (mt)",1)]),(vn=(Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.inEca)!=null&&vn.distance?(e.openBlock(),e.createElementBlock("div",Eu,[_u,Nu,e.createElementVNode("div",Vu,[e.createElementVNode("div",null,e.toDisplayString((ts=(es=o.report)==null?void 0:es.weather)!=null&&ts.noExtrapolation?(ls=(os=s==null?void 0:s.goodWx)==null?void 0:os.inEca)==null?void 0:ls.distance:(ns=(as=s==null?void 0:s.allWx)==null?void 0:as.inEca)==null?void 0:ns.distance)+" * "+e.toDisplayString((is=(ss=s==null?void 0:s.fuelConclusion)==null?void 0:ss.fo)==null?void 0:is.saving),1),fu,e.createElementVNode("div",null,e.toDisplayString((ds=(cs=o.report)==null?void 0:cs.weather)!=null&&ds.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1)]),gu,e.createElementVNode("div",null,e.toDisplayString((hs=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.fo)==null?void 0:hs.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Es=(ys=s==null?void 0:s.fuelConclusion)==null?void 0:ys.fo)==null?void 0:Es.conclusionStatus)==="Over"?"flex-center lost":((Ns=(_s=s==null?void 0:s.fuelConclusion)==null?void 0:_s.fo)==null?void 0:Ns.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[Du,e.createElementVNode("div",null,e.toDisplayString(((fs=(Vs=s==null?void 0:s.fuelConclusion)==null?void 0:Vs.fo)==null?void 0:fs.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",bu,e.toDisplayString(l.noGoodWxDay),1)),((Ds=(gs=s==null?void 0:s.extend)==null?void 0:gs.cp)==null?void 0:Ds.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xu,[Cu,e.createElementVNode("div",Su,"Seg. "+e.toDisplayString(X+1)+" Diesel/Gas Oil ",1)]),(bs=s==null?void 0:s.goodWx)!=null&&bs.distance?(e.openBlock(),e.createElementBlock("div",ku,[e.createElementVNode("div",Bu,[Au,e.createElementVNode("div",wu,[e.createElementVNode("div",Tu,[e.createElementVNode("div",null,e.toDisplayString((Cs=(xs=o.report)==null?void 0:xs.weather)!=null&&Cs.noExtrapolation?(Ss=s==null?void 0:s.goodWx)==null?void 0:Ss.distance:(ks=s==null?void 0:s.allWx)==null?void 0:ks.distance),1),uu,e.createElementVNode("div",null,e.toDisplayString((Bs=s==null?void 0:s.goodWx)==null?void 0:Bs.pfmSpd),1)]),Ou,e.createElementVNode("div",Fu,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((As=s==null?void 0:s.goodWx)==null?void 0:As.sumDgoCons),1),((Ts=(ws=s==null?void 0:s.goodWx)==null?void 0:ws.inEca)==null?void 0:Ts.distance)>0?(e.openBlock(),e.createElementBlock("span",Pu,[Lu,e.createElementVNode("span",null,e.toDisplayString((Os=(us=s==null?void 0:s.fuelConclusion)==null?void 0:us.fo)==null?void 0:Os.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),Wu,e.createElementVNode("div",null,e.toDisplayString((Fs=s==null?void 0:s.goodWx)==null?void 0:Fs.time),1)]),Hu,e.createElementVNode("div",null,e.toDisplayString((Ls=(Ps=s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:Ls.entireCons)+" (mt)",1),Mu])]),e.createElementVNode("div",Gu,[Iu,e.createElementVNode("div",Ru,[e.createElementVNode("div",zu,[e.createElementVNode("div",null,e.toDisplayString((Hs=(Ws=o.report)==null?void 0:Ws.weather)!=null&&Hs.noExtrapolation?(Ms=s==null?void 0:s.goodWx)==null?void 0:Ms.distance:(Gs=s==null?void 0:s.allWx)==null?void 0:Gs.distance),1),Uu,e.createElementVNode("div",null,e.toDisplayString((Is=s==null?void 0:s.timeConclusion)==null?void 0:Is.minusAbtSpd),1)]),Yu,e.createElementVNode("div",Zu,[e.createElementVNode("div",null,e.toDisplayString((zs=(Rs=s==null?void 0:s.fuelConclusion)==null?void 0:Rs.dgo)==null?void 0:zs.overTolerance),1),$u,Qu]),Ju,e.createElementVNode("div",null,e.toDisplayString((Ys=(Us=s.fuelConclusion)==null?void 0:Us.dgo)==null?void 0:Ys.maxCons)+" (mt)",1),Ku])]),e.createElementVNode("div",qu,[ju,e.createElementVNode("div",Xu,[e.createElementVNode("div",vu,[e.createElementVNode("div",null,e.toDisplayString(($s=(Zs=o.report)==null?void 0:Zs.weather)!=null&&$s.noExtrapolation?(Qs=s==null?void 0:s.goodWx)==null?void 0:Qs.distance:(Js=s==null?void 0:s.allWx)==null?void 0:Js.distance),1),eO,e.createElementVNode("div",null,e.toDisplayString((Ks=s==null?void 0:s.timeConclusion)==null?void 0:Ks.minusAbtSpd),1)]),tO,e.createElementVNode("div",oO,[e.createElementVNode("div",null,e.toDisplayString((js=(qs=s==null?void 0:s.fuelConclusion)==null?void 0:qs.dgo)==null?void 0:js.underTolerance),1),lO,aO]),nO,e.createElementVNode("div",null,e.toDisplayString((vs=(Xs=s.fuelConclusion)==null?void 0:Xs.dgo)==null?void 0:vs.minCons)+" (mt)",1),sO])]),e.createElementVNode("div",iO,[((ti=(ei=s==null?void 0:s.fuelConclusion)==null?void 0:ei.dgo)==null?void 0:ti.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",cO,[dO,rO,mO,pO,e.createElementVNode("div",null,e.toDisplayString((li=(oi=s==null?void 0:s.fuelConclusion)==null?void 0:oi.dgo)==null?void 0:li.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((ni=(ai=s==null?void 0:s.fuelConclusion)==null?void 0:ai.dgo)==null?void 0:ni.maxCons),1),yO,e.createElementVNode("div",null,e.toDisplayString((ii=(si=s==null?void 0:s.fuelConclusion)==null?void 0:si.dgo)==null?void 0:ii.overCons),1)])):((di=(ci=s==null?void 0:s.fuelConclusion)==null?void 0:ci.fo)==null?void 0:di.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[_O,NO,VO,fO,e.createElementVNode("div",null,e.toDisplayString((mi=(ri=s==null?void 0:s.fuelConclusion)==null?void 0:ri.dgo)==null?void 0:mi.minCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((hi=(pi=s==null?void 0:s.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:hi.entireCons),1),DO,e.createElementVNode("div",null,e.toDisplayString((Ei=(yi=s==null?void 0:s.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ei.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ni=(_i=s==null?void 0:s.fuelConclusion)==null?void 0:_i.dgo)==null?void 0:Ni.conclusionStatus)==="Over"?"flex-center lost":((fi=(Vi=s==null?void 0:s.fuelConclusion)==null?void 0:Vi.dgo)==null?void 0:fi.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[bO,e.createElementVNode("div",null,e.toDisplayString(((Di=(gi=s==null?void 0:s.fuelConclusion)==null?void 0:gi.dgo)==null?void 0:Di.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const SO=Ee(RB,[["render",CO],["__scopeId","data-v-19873988"]]),$oe="",kO={components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=12;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),this.showWaterTemp||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?ie.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,c,l,a,m,i,p,D,f,h;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((c=(o=this.report)==null?void 0:o.weather)==null?void 0:c.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(m=this.report)==null?void 0:m.weather)==null?void 0:i.showSwell)??!0,this.showWave=((D=(p=this.report)==null?void 0:p.weather)==null?void 0:D.showWave)??!0,this.showWaterTemp=((h=(f=this.report)==null?void 0:f.weather)==null?void 0:h.waterTempSwitch)||!1}}},Ae=t=>(e.pushScopeId("data-v-d315a553"),t=t(),e.popScopeId(),t),BO={class:"report-inventory"},AO={class:"section summary-section"},wO=Ae(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),TO={class:"summary-block"},uO=Ae(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),OO={class:"label",rowspan:"4"},FO=Ae(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),PO=Ae(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),LO=Ae(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),WO=Ae(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),HO={class:"section inventory-section"},MO=e.createStaticVNode('<div class="legends flex-space" data-v-d315a553><div class="flex-start" style="flex:1.2;" data-v-d315a553><div class="legend good-wx" data-v-d315a553></div><div class="label flex-end" data-v-d315a553>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-d315a553><div class="legend adverse-wx" data-v-d315a553></div><div class="label" data-v-d315a553>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-d315a553><div class="legend excluded" data-v-d315a553></div><div class="label" data-v-d315a553>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-d315a553><div data-v-d315a553><label data-v-d315a553>B</label><span data-v-d315a553>BOSP</span></div><div data-v-d315a553><label data-v-d315a553>N</label><span data-v-d315a553>NOON</span></div><div data-v-d315a553><label data-v-d315a553>E</label><span data-v-d315a553>EOSP</span></div><div data-v-d315a553><label data-v-d315a553>*</label><span data-v-d315a553>Ship Reported Position</span></div></div></div>',1),GO={class:"inventory-block flex-center"},IO={style:{"font-size":"12px"}},RO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),zO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),UO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),YO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),ZO=["colspan"],$O={key:0,class:"label",colspan:"2"},QO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),jO=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),XO=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),vO={key:0,class:"label",rowspan:"2"},eF=Ae(()=>e.createElementVNode("br",null,null,-1)),tF={key:1,class:"label",rowspan:"2"},oF=Ae(()=>e.createElementVNode("br",null,null,-1)),lF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),aF={key:2,class:"label",rowspan:"2"},nF=Ae(()=>e.createElementVNode("br",null,null,-1)),sF={key:3,class:"label",colspan:"2"},iF={key:4,class:"label",rowspan:"2"},cF=Ae(()=>e.createElementVNode("br",null,null,-1)),dF={key:5,class:"label",colspan:"2"},rF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),mF={key:6,class:"label",rowspan:"2"},pF={key:7,class:"label",rowspan:"2"},hF={key:8,class:"label",rowspan:"2"},yF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),EF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),_F=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),NF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),VF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),fF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),gF=Ae(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),DF=Ae(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),bF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),xF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),CF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),SF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),kF={key:0,class:"label"},BF={key:1,class:"label"},AF={key:2,class:"label"},wF={key:3,class:"label"},TF=Ae(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),uF=Ae(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),OF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),FF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),PF=Ae(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),LF=Ae(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),WF=Ae(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),HF=Ae(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),MF={class:"summary-tbody"};function GF(t,n,o,c,l,a){var m;return e.openBlock(),e.createElementBlock("div",BO,[e.createElementVNode("div",AO,[wO,e.createElementVNode("div",TO,[e.createElementVNode("table",null,[uO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=o.report)==null?void 0:m.segments,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I;return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(p+1),1),FO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.allWx)==null?void 0:f.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=i==null?void 0:i.allWx)==null?void 0:h.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.allWx)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[PO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.goodWx)==null?void 0:S.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((B=i==null?void 0:i.goodWx)==null?void 0:B.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=i==null?void 0:i.goodWx)==null?void 0:A.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=i==null?void 0:i.badWx)==null?void 0:U.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[WO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.excluded)==null?void 0:R.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.excluded)==null?void 0:P.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((g=i==null?void 0:i.excluded)==null?void 0:g.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=i==null?void 0:i.excluded)==null?void 0:I.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",HO,[MO,e.createElementVNode("div",GO,[e.createElementVNode("table",IO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[RO,zO,UO,YO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,ZO),o.showFactor?(e.openBlock(),e.createElementBlock("th",$O,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,jO,XO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",vO,[e.createTextVNode("Spd"),eF,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",tF,[e.createTextVNode("Dis"),oF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),lF,l.showWave?(e.openBlock(),e.createElementBlock("th",aF,[e.createTextVNode("Sea HT"),nF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",sF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",iF,[e.createTextVNode("Sig Wave"),cF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"Current")):e.createCommentVNode("",!0),rF,o.showFactor?(e.openBlock(),e.createElementBlock("th",mF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",pF,"wxFactor")):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("th",hF,"Water Temp.")):e.createCommentVNode("",!0),yF,EF,_F,NF,VF,fF,gF,DF]),e.createElementVNode("tr",null,[bF,xF,CF,SF,l.showSwell?(e.openBlock(),e.createElementBlock("th",kF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",BF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",AF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",wF,"CF(kts)")):e.createCommentVNode("",!0),TF,uF,OF,FF,PF,LF,WF,HF])]),e.createElementVNode("tbody",MF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,p)=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q;return e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((D=i.noon)!=null&&D.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((f=i.noon)==null?void 0:f.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.cp.dgo:""),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.avgSpdCalc:""),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((V=(h=i.meteo)==null?void 0:h.wind)==null?void 0:V.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(C=i.meteo)==null?void 0:C.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((B=(S=(k=i.meteo)==null?void 0:k.wave)==null?void 0:S.wd)==null?void 0:B.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((F=(u=(A=i.meteo)==null?void 0:A.wave)==null?void 0:u.swell)==null?void 0:F.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((U=(L=(x=i.meteo)==null?void 0:x.wave)==null?void 0:L.swell)==null?void 0:U.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((P=(R=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:R.sig)==null?void 0:P.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((I=(g=i.meteo)==null?void 0:g.current)==null?void 0:I.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((M=i.meteo)==null?void 0:M.wxFactor)??"--"),3)):e.createCommentVNode("",!0),l.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Q=i.meteo)==null?void 0:Q.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(!["A","B"].includes(i.abbrev)&&p?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const IF=Ee(kO,[["render",GF],["__scopeId","data-v-d315a553"]]),Qoe="",RF={components:{Lng:tn,Lat:on},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Yo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Yo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Yo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var p,D,f,h,V,C;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let c=0,l=0;const a=this.inventory.filter(r=>r.noonLength)||[];a.unshift(a[0]),a.forEach((r,k)=>{var B,A,u,F,x,L,U,Z,R,P,g,I,G,H;const S=this.computeUTCTime(k===0?r.utc:r.noonUtc,"MM-DD/HHmm[Z]");if(t.push(S),c=Math.ceil(((B=r.noon)==null?void 0:B.foCons)>c?(A=r.noon)==null?void 0:A.foCons:c),c=Math.ceil(((u=r.cp)==null?void 0:u.fo)>c?(F=r.cp)==null?void 0:F.fo:c),l=Math.ceil(((x=r.noon)==null?void 0:x.dgoCons)>l?(L=r.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((U=r.cp)==null?void 0:U.dgo)>l?(Z=r.cp)==null?void 0:Z.dgo:l),n.push([S,(R=r.noon)==null?void 0:R.avgSpd,(P=r.noon)==null?void 0:P.foCons,(g=r.noon)==null?void 0:g.dgoCons,r.avgSpdCalc,r.cp.speed,r.goodWx&&!r.excluded?100:0,r.cp.dgo,r.cp.fo,r.excluded?100:0]),k<a.length-1){const M=a[k+1];n.push([S,(I=M.noon)==null?void 0:I.avgSpd,(G=M.noon)==null?void 0:G.foCons,(H=M.noon)==null?void 0:H.dgoCons,M.avgSpdCalc,M.cp.speed,M.goodWx&&!M.excluded?100:0,M.cp.dgo,M.cp.fo,M.excluded?100:0])}});const m={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:c+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#146BF5"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#146BF5"},lineStyle:{color:"#146BF5",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(D=(p=this.report)==null?void 0:p.weather)!=null&&D.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#146BF5"},encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(f=this.spdFoConsChart)==null||f.setOption(m);const i={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.2)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f85c5c",type:"dashed"},itemStyle:{color:"#f85c5c"},data:n,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(V=(h=this.report)==null?void 0:h.weather)!=null&&V.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#a7c4ff"},encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:5},{name:"Good Weather Days",type:"line",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(C=this.spdDgoConsChart)==null||C.setOption(i)},renderWxCurrChart(){var i;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let c=4,l=0;const a=this.inventory.filter(p=>p.noonLength)||[];a.unshift(a[0]),a.forEach((p,D)=>{var h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;l=p.noonLength?p.dailyAvgCf:l;const f=this.computeUTCTime(D===0?p.utc:p.noonUtc,"MM-DD/HHmm[Z]");if(t.push(f),c=Math.ceil(((C=(V=(h=p.meteo)==null?void 0:h.wave)==null?void 0:V.sig)==null?void 0:C.height)>c?(S=(k=(r=p.meteo)==null?void 0:r.wave)==null?void 0:k.sig)==null?void 0:S.height:c),n.push([f,(B=p.noon)==null?void 0:B.windBF,(u=(A=p.meteo)==null?void 0:A.wind)==null?void 0:u.scale,(x=(F=p.meteo)==null?void 0:F.wind)==null?void 0:x.direction,(L=p.noon)==null?void 0:L.seasHt,(R=(Z=(U=p.meteo)==null?void 0:U.wave)==null?void 0:Z.sig)==null?void 0:R.height,l,p.goodWx&&!p.excluded?20:0,p.excluded?20:0]),D<a.length-1){const N=a[D+1];n.push([f,(P=N.noon)==null?void 0:P.windBF,(I=(g=N.meteo)==null?void 0:g.wind)==null?void 0:I.scale,(H=(G=N.meteo)==null?void 0:G.wind)==null?void 0:H.direction,(M=N.noon)==null?void 0:M.seasHt,(K=(j=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:j.sig)==null?void 0:K.height,N.noonLength?N.dailyAvgCf:l,N.goodWx&&!N.excluded?20:0,N.excluded?20:0])}});const m={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,right:140,itemWidth:45,data:["Current Factor",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.3)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:10,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},itemStyle:{color:"#a362f9"},data:n,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.3)"},data:n,z:1},{name:"Excluded Days",type:"line",yAxisIndex:1,encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.2)"},data:n,z:1}]};(i=this.currChart)==null||i.setOption(m)}}},Dl=t=>(e.pushScopeId("data-v-d78e1018"),t=t(),e.popScopeId(),t),zF={class:"report-summary"},UF={class:"section chart-section"},YF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),ZF={class:"chart-block"},$F={ref:"spdFoConsChart",class:"chart"},QF={ref:"spdDgoConsChart",class:"chart"},JF={ref:"currChart",class:"chart"},KF={class:"section map-section"},qF=Dl(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),jF={class:"map-block"},XF={class:"flex-space"},vF={class:"voyage-block",style:{height:"197px"}},eP={class:"flex-space label-block",style:{width:"100%"}},tP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),oP={style:{"text-transform":"uppercase"}},lP={class:"flex-space label-block",style:{width:"100%"}},aP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),nP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},iP={class:"flex-space label-block",style:{width:"100%"}},cP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),dP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},rP={class:"flex-space label-block",style:{width:"100%"}},mP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),pP={key:0,class:"flex-end",style:{flex:"1"}},hP={key:1,class:"flex-end",style:{flex:"1"}},yP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),EP={class:"flex-end",style:{width:"140px"}},_P={class:"flex-space label-block",style:{width:"100%"}},NP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),VP={key:0,class:"flex-end",style:{flex:"1"}},fP={key:1,class:"flex-end",style:{flex:"1"}},gP=Dl(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),DP={class:"flex-end",style:{width:"140px"}},bP={class:"flex-space label-block",style:{width:"100%"}},xP=Dl(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),CP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},SP=e.createStaticVNode('<div class="legend-block" data-v-d78e1018><div style="position:absolute;margin-top:-8px;" data-v-d78e1018>LEGEND</div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>0812</div><div data-v-d78e1018><div data-v-d78e1018>08 - Day of the month</div><div data-v-d78e1018>12 - Hours of the day</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-d78e1018></i></div><div data-v-d78e1018><div data-v-d78e1018>Wind from N (000)</div><div data-v-d78e1018>Each bard = 10 kts</div><div data-v-d78e1018>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-d78e1018><div data-v-d78e1018>W 4</div><div data-v-d78e1018> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-d78e1018><div class="good-wx" data-v-d78e1018>Date</div><div data-v-d78e1018>Good weather days</div></div></div>',1),kP=["src"],BP=e.createStaticVNode('<div class="section method-section" data-v-d78e1018><div class="header-block flex-center" data-v-d78e1018><i class="iconfont" data-v-d78e1018></i><div class="title" data-v-d78e1018>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>1. Good Weather Method</div><div class="method-body" data-v-d78e1018> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-d78e1018> The vessel&#39;s performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-d78e1018> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-d78e1018> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-d78e1018> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>4. “About”</div><div class="method-body" data-v-d78e1018> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-d78e1018> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-d78e1018> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-d78e1018> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-d78e1018> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-d78e1018><div class="method-title" data-v-d78e1018>6. Further reference materials</div><div class="method-body" data-v-d78e1018>Please send mail to <a href="mailto:op@ormwx.com" data-v-d78e1018>op@ormwx.com</a>.</div></div></div></div>',1);function AP(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K;const m=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",zF,[e.createElementVNode("div",UF,[YF,e.createElementVNode("div",ZF,[e.createElementVNode("div",$F,null,512),e.createElementVNode("div",QF,null,512),e.createElementVNode("div",JF,null,512)])]),e.createElementVNode("div",KF,[qF,e.createElementVNode("div",jF,[e.createElementVNode("div",XF,[e.createElementVNode("div",vF,[e.createElementVNode("div",eP,[tP,e.createElementVNode("span",oP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",lP,[aP,e.createElementVNode("span",nP,e.toDisplayString((D=(p=o.report)==null?void 0:p.vessel)==null?void 0:D.name),1),e.createElementVNode("span",sP,"("+e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type)+")",1)]),e.createElementVNode("div",iP,[cP,e.createElementVNode("span",dP,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",rP,[mP,(k=(r=o.report)==null?void 0:r.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",pP,e.toDisplayString((B=(S=o.report)==null?void 0:S.departure)==null?void 0:B.portName),1)):(e.openBlock(),e.createElementBlock("div",hP,[e.createVNode(m,{lat:(u=(A=o.report)==null?void 0:A.departure)==null?void 0:u.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),yP,e.createVNode(i,{lng:(F=o.report.departure)==null?void 0:F.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",EP,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",_P,[NP,(U=(L=o.report)==null?void 0:L.arrival)!=null&&U.portName?(e.openBlock(),e.createElementBlock("span",VP,e.toDisplayString((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",fP,[e.createVNode(m,{lat:(g=(P=o.report)==null?void 0:P.arrival)==null?void 0:g.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),gP,e.createVNode(i,{lng:(G=(I=o.report)==null?void 0:I.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",DP,e.toDisplayString(a.computeUTCTime((M=(H=o.report)==null?void 0:H.arrival)==null?void 0:M.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",bP,[xP,e.createElementVNode("span",CP,e.toDisplayString((j=(Q=o.report)==null?void 0:Q.voyage)==null?void 0:j.loadCondition),1)])]),SP]),e.createElementVNode("img",{src:(K=o.report)==null?void 0:K.chartUrl,alt:""},null,8,kP)])]),BP])}const wP=Ee(RF,[["render",AP],["__scopeId","data-v-d78e1018"]]),Joe="",TP={components:{Brand:Eo,Summary:SO,Inventory:IF,Chart:wP,Loading:an},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(c=>{const l=c.extend.cp;let a,m,i=!1;c.inventory.sample.hours.forEach((p,D)=>{a||(a=p),(!m||i)&&(m=p,i=!1),a.segIndex===p.segIndex?a.segLength=(a.segLength||0)+1:(a=p,a.segLength=1),m.noonLength=(m.noonLength||0)+1;let f=p.type.charAt(0);["N","M","E"].includes(f)&&(i=!0,m.dailyAvgCf=p.dailyAvgCf,m.avgSpdCalc=p.avgSpdCalc,m.distanceCalc=p.distanceCalc,m.noonUtc=p.utc,m.noon=p.noon),p.abbrev=f,f=f==="M"?"*":f==="A"?"":f,p.time=`${f} ${this.computeUTCTime(p.utc,"MMM-DD/HHmm[Z]")}`,p._lng=ie.LngLatHelper.lng2pretty(p.lng),p._lat=ie.LngLatHelper.lat2pretty(p.lat),p.cp=l,t.push(p)})}),t.sort((c,l)=>c.date-l.date),this.inventory=t}}};function uP(t,n,o,c,l,a){var h,V;const m=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),p=e.resolveComponent("Summary"),D=e.resolveComponent("Inventory"),f=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((V=(h=o.report)==null?void 0:h.weather)!=null&&V.referenceOnly?"report-section watermark":"report-section")},[e.createVNode(m,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=C=>l.loading=!1)},null,8,["loading"]),e.createVNode(p,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(D,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(f,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])],2)}const kn=Ee(TP,[["render",uP],["__scopeId","data-v-0b5d13da"]]),OP={install(t){t.component("OpiVoyageReport",Cn),t.component("FliVoyageReport",Sn),t.component("OrmVoyageReport",kn)}},Koe="",qoe="",joe="",Xoe="",FP={props:{tropicals:{type:Object,default:()=>({})},ts:{type:String,default:()=>""}},components:{TropicalGL:yn.TropicalGL,LatLngGL:yn.LatLngGL},data(){return{map:void 0}},watch:{"tropicals.version":{handler(){var t;(t=this.map)==null||t.flyTo({center:this.tropicals.center})},immediate:!0}},mounted(){this.initMap()},methods:{async initMap(){fl.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg";const t=new fl.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clxwst0tq00wd01rn0usb2eer",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1});t.on("load",()=>{var n,o;this.map=t,(o=this.map)==null||o.flyTo({center:(n=this.tropicals)==null?void 0:n.center})})}}},PP=t=>(e.pushScopeId("data-v-7c505d6d"),t=t(),e.popScopeId(),t),LP={class:"map"},WP=PP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function HP(t,n,o,c,l,a){const m=e.resolveComponent("TropicalGL"),i=e.resolveComponent("LatLngGL");return e.openBlock(),e.createElementBlock("div",LP,[WP,l.map?(e.openBlock(),e.createBlock(m,{key:0,class:"hurricane",map:l.map,tropicals:o.tropicals,date:o.ts},null,8,["map","tropicals","date"])):e.createCommentVNode("",!0),l.map?(e.openBlock(),e.createBlock(i,{key:1,map:l.map,show:!0,bottom:"10px"},null,8,["map"])):e.createCommentVNode("",!0)])}const MP=Ee(FP,[["render",HP],["__scopeId","data-v-7c505d6d"]]),GP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let c=document.getElementById(this.id);this.chart=e.markRaw(Yo.init(c))}const t=Number(O(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(O(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(c,l){var a=O(c).format("MMMDD"),m=O(c).format("HH");return m==="00"||l===0?a:m}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!1},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1}},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},IP=["id"];function RP(t,n,o,c,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,IP)])}const zP=Ee(GP,[["render",RP]]);function Bn(t,n,o){o===void 0&&(o={});var c={type:"Feature"};return(o.id===0||o.id)&&(c.id=o.id),o.bbox&&(c.bbox=o.bbox),c.properties=n||{},c.geometry=t,c}function mn(t,n,o){if(o===void 0&&(o={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!wn(t[0])||!wn(t[1]))throw new Error("coordinates must contain numbers");var c={type:"Point",coordinates:t};return Bn(c,n,o)}function An(t,n,o){if(o===void 0&&(o={}),t.length<2)throw new Error("coordinates must be an array of two or more positions");var c={type:"LineString",coordinates:t};return Bn(c,n,o)}function UP(t,n){n===void 0&&(n={});var o={type:"FeatureCollection"};return n.id&&(o.id=n.id),n.bbox&&(o.bbox=n.bbox),o.features=t,o}function wn(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}class Ie{static guessTimeZoneOffset(n,o){const c=Fi(o,n),l=O().tz(c).utcOffset();return this.roundPrecision(l/60,1)}static prettyTimeZoneOffset(n){let o=Math.floor(Math.abs(n)),c=Math.round((Math.abs(n)-o)*60);return c=c>9?c:`0${c}`,o=o>9?o:`0${o}`,n>0?`+${o}:${c}`:`-${o}:${c}`}static lng2pretty(n,o=6,c="H°M′"){n=Ie.convertToStdLng(n,o);let l="E";n<0&&(l="W"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(3,"0"):h=Ie.padNumber(f,3,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static lat2pretty(n,o=6,c="H°M′"){n=n%180;let l="N";n<0&&(l="S"),n=Math.abs(n),c=c.toUpperCase();let a=n*3600,m,i,p,D,f,h;m=a%3600%60,c.indexOf("S")!==-1&&(a=a-m,i=Ie.padNumber(m,2,2)),p=a/60%60,c.indexOf("M")!==-1&&(c.indexOf("S")!==-1?D=Ie.roundPrecision(p,o).toString().padStart(2,"0"):D=Ie.padNumber(p,2,2),a=a-p*60),f=a/3600,c.indexOf("M")!==-1?h=Ie.roundPrecision(f,o).toString().padStart(2,"0"):h=Ie.padNumber(f,2,2);const V=`${c.replace(/S+/gi,i).replace(/M+/gi,D).replace(/H+/gi,h)}${l}`;return{direction:l,degree:Ie.roundPrecision(f,o),minute:Ie.roundPrecision(p,o),second:Ie.roundPrecision(m,o),pretty:V}}static str2Lng(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LNG");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>360&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="W"&&(c=c*-1)}else c=Number(n);return Ie.convertToStdLng(c,o)}static str2Lat(n,o=6){let c;if(isNaN(n)){n=Ie.strReplace(n,"LAT");const l=n[n.length-1].toUpperCase();n=n.substring(0,n.length-1).trim();const a=n.split(" ").filter(p=>p!=="").map(p=>Number(p));let[m,i]=a;if(m>90&&!i){const p=this.roundPrecision(m/100,0);i=m-p*100,m=p}c=m+(i??0)/60,l==="S"&&(c=c*-1)}else c=Number(n);return Ie.roundPrecision(c,o)}static str2LngOrLat(n,o=6,c="LAT"){n=Ie.strReplace(n,c);const l=n[n.length-1].toUpperCase();return["N","S"].includes(l)?{lat:Ie.str2Lat(n,o)}:{lng:Ie.str2Lng(n,o)}}static convertToStdLng(n,o=4){return n>180?(n=n%360,n=n>180?n-360:n):n<-180&&(n=n%360,n=n<-180?n+360:n),Ie.roundPrecision(n,o)}static roundPrecision(n,o=4){if(typeof n=="number"){const c=Number("1".padEnd(o+1,"0"));return Math.round(n*c)/c}return n}static convertToMonotonicLng2(n){for(let o=1;o<n.length;o++)n[o][0]+=Math.round((n[o-1][0]-n[o][0])/360)*360;return n}static convertToMonotonicLng(n){for(let o=1;o<n.length;o++)n[o].lng+=Math.round((n[o-1].lng-n[o].lng)/360)*360;return n}static strReplace(n,o="LAT"){n=n.replace(/([0-9]+)\.([0-9]+\.[0-9]+)/g,"$1 $2").replace(/-/g," ").replace(/°/," ").replace(/'/g," ").replace(/′/g," ").replace(/"/g," ").replace(/∼/g," ").replace(/°/g," ").replace(/,/g,".").replace(/^ /g,"").replace(/ $/g,"").trim();const c=n[n.length-1].toUpperCase();if(!["N","S","E","W"].includes(c)){const l=n,a=Number(l.split(" ")[0]);if(isNaN(a))throw new Error(`invalid Lat/Lng: ${n}`);a>=90?n=`${l}E`:a<=-90?n=`${l}W`:["LAN","LNG"].includes(o==null?void 0:o.toUpperCase())?n=`${l}${a>0?"E":"W"}`:n=`${l}${a>0?"N":"S"}`}return n}static padNumber(n,o=2,c=2){const l=Math.trunc(n).toString().padStart(o,"0"),a=Math.trunc(Ie.roundPrecision(n-Math.trunc(n),c)*Math.pow(10,c)).toString().padStart(c,"0");return`${l}.${a}`}}class YP{static convert2Geojson(n){var o;const c=UP([]);for(const l of n){if(l.forecasts){const a=(o=l.history)==null?void 0:o[0];for(const m of l.forecasts){const i=[],p=O(m.date).utc(),D=`${l.name}-${m.model}`;if(a){const f=O(a.updated).utc(),h=mn([a.lng,a.lat],{model:m.model,name:l.name,date:f.format(),hour:0,format:f.format("MMM-DD/HHmm[Z]"),pressure:a.pressure>1e4?Ie.roundPrecision(a.pressure/100,0):Ie.roundPrecision(a.pressure,0),wind:{kts:a.kts,spd:a.speed||a.spd},category:D,type:"forecast"});c.features.push(h),i.push(h.geometry.coordinates)}for(const f in m==null?void 0:m.hours){const h=m.hours[f];h.wind.spd=h.wind.spd||h.wind.speed;const V=p.clone().add(Number(f),"hour"),C=mn([h.lng,h.lat],{model:m.model,name:l.name,date:V.format(),hour:Number(f),format:V.format("MMM-DD/HHmm[Z]"),pressure:h.pressure>1e4?Ie.roundPrecision(h.pressure/100,0):Ie.roundPrecision(h.pressure,0),gusts:h.gusts,wind:h.wind||{},movement:h.movement,category:D,type:"forecast"});c.features.push(C),i.push(C.geometry.coordinates)}if((i==null?void 0:i.length)>1){const f=An(Ie.convertToMonotonicLng2(i),{date:m.date,id:l.id||l.name,model:m.model,name:l.name,category:D,type:"forecast"});c.features.push(f)}}}if(l.history){const a=[];for(const i of l.history){const p=O(i.updated).utc(),D=mn([i.lng,i.lat],{name:l.name,date:p.format(),format:p.format("MMM-DD/HHmm[Z]"),pressure:i.pressure>1e4?Ie.roundPrecision(i.pressure/100,0):Ie.roundPrecision(i.pressure,0),spd:i.speed||i.spd,kts:i.kts,source:i.source,level:i.type,type:"history",category:`${l.name}-history`});c.features.push(D),a.push(D.geometry.coordinates)}const m=l.history[0];if(a.length===1&&a.push(a[0]),a.length>1){const i=An(Ie.convertToMonotonicLng2(a),{name:l.name,type:"history",updated:m==null?void 0:m.updated,pressure:(m==null?void 0:m.pressure)>1e4?Ie.roundPrecision((m==null?void 0:m.pressure)/100,0):Ie.roundPrecision(m==null?void 0:m.pressure,0),spd:(m==null?void 0:m.speed)||(m==null?void 0:m.spd),kts:m==null?void 0:m.kts,source:m==null?void 0:m.source,level:m==null?void 0:m.type});c.features.push(i)}}}return c}static interpolate(n,o=3){var c,l,a,m;const i=(c=n==null?void 0:n.data)==null?void 0:c.features.filter(D=>D.geometry.type==="LineString"&&D.properties.type==="forecast"),p=[];for(const D of i){const f=D.properties.name,h=D.properties.model,V=O(D.properties.date).utc();let C=o*60-(V.get("hour")*60+V.get("minute"))%(o*60);const r=(l=n==null?void 0:n.data)==null?void 0:l.features.filter(B=>B.geometry.type==="Point"&&B.properties.type==="forecast"&&B.properties.category===`${f}-${h}`);let k,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0});for(;k=this.pickIndex(r,S),k<=r.length-1;){if(k>0){const B=r[k],A=k===0?void 0:r[k-1],u=(C/60-((a=A==null?void 0:A.properties)==null?void 0:a.hour))/(B.properties.hour-((m=A==null?void 0:A.properties)==null?void 0:m.hour)),F=this.computeNumber(A==null?void 0:A.geometry.coordinates[0],B.geometry.coordinates[0],u),x=this.computeNumber(A==null?void 0:A.geometry.coordinates[1],B.geometry.coordinates[1],u),L=mn([F,x],{name:f,model:h,category:B==null?void 0:B.properties.category,date:S.format(),format:S.format("MMM-DD/HHmm[Z]"),gusts:this.computeNumber(A==null?void 0:A.properties.gusts,B.properties.gusts,u),hour:this.computeNumber(A==null?void 0:A.properties.hour,B.properties.hour,u),movement:this.computeNumber(A==null?void 0:A.properties.movement,B.properties.movement,u),pressure:this.computeNumber(A==null?void 0:A.properties.pressure,B.properties.pressure,u),wind:this.computeNumber(A==null?void 0:A.properties.wind,B.properties.wind,u),type:"forecast"});p.push(L)}C+=o*60,S=V.clone().add(C,"minute").set({minute:0,second:0,millisecond:0})}}return p}static pickIndex(n,o){let c=0;for(const l of n){if(O(l.properties.date).isAfter(o))return c===0?-1:c;c++}return c}static computeNumber(n,o,c){if(n)if(o){if(isNaN(n)&&isNaN(o)&&typeof n!="string"&&typeof o!="string"){const l={};for(const a in n)l[a]=this.computeNumber(n[a],o[a],c);return l}return Math.round((n+(o-n)*c)*100)/100}else return n;else return o}}const voe="",ZP={name:"IdmTropical",components:{IdmBrand:Eo,Mapbox:MP,Echart:zP},props:{report:{type:Object,default:()=>({})},ts:{type:String,default:()=>""},token:{type:String,default:""},model:{type:String,default:""}},emits:["center"],data(){return{loading:!1,tropicals:void 0,activeForecast:void 0,timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},computed:{computePrecision(){return function(t,n=0){return isNaN(t)||t===-999?"-":gl.LngLatHelper.roundPrecision(t,n)}},computeHours(){return function(t,n){return O(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){return`${gl.LngLatHelper.lat2pretty(t).pretty} / ${gl.LngLatHelper.lng2pretty(n).pretty}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const c in t){if(Number(c)>n)return{prev:o,next:Number(c)};o=Number(c)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,c)=>{t<o&&n===""&&(n=c)}),n}},computeKLineData(){return function(t){const n=t.length;if(n){const o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""};let c=t[0][1],l=t[0][1];return t.forEach(a=>{c=!c||c<a[1]?a[1]:c,l=!l||l>a[1]?a[1]:l}),l||c?o.middle=(Number(l)+Number(c))/2:o.middle="-",o.min=l,o.max=c,o}}}},watch:{model:{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0},"report.id":{handler(){var t;(t=this.report)!=null&&t.id&&!this.loading&&this.prepare()},immediate:!0}},methods:{async prepare(){var a,m,i,p,D,f,h,V,C,r,k,S;this.loading=!0;const t=YP.convert2Geojson([this.report]);this.model&&t.features.forEach(B=>{B.properties.type==="forecast"&&B.properties.model!==this.model&&(B.properties.disabled=!0)});const n=(i=(m=(a=this.report)==null?void 0:a.forecasts)==null?void 0:m[0])==null?void 0:i.hours,o=((D=(p=this.report)==null?void 0:p.history)==null?void 0:D[0])||n[Object.keys(n)[0]];this.tropicals={data:t,active:!0,cached:!1,type:"json",etime:this.ts,version:Math.random()+1,center:[o==null?void 0:o.lng,o==null?void 0:o.lat]},this.activeForecast=this.model?((h=(f=this.report)==null?void 0:f.forecasts)==null?void 0:h.filter(B=>B.model===this.model)[0])||((C=(V=this.report)==null?void 0:V.forecasts)==null?void 0:C[0]):(k=(r=this.report)==null?void 0:r.forecasts)==null?void 0:k[0],this.activeForecast.sample=[];const c=O((S=this.activeForecast)==null?void 0:S.date);let l=0;for(const B in this.activeForecast.hours)if(l<8){const A=this.activeForecast.hours[B];A.pressure>1e4&&(A.pressure=gl.LngLatHelper.roundPrecision(A.pressure/100,0)),A.hour=Number(B),A.date=c.clone().add(A.hour,"h").utc().format("MMM-DD/HH[Z]"),this.activeForecast.sample.push(A),l++}else break;this.records=await this.interpolatedRecord(this.activeForecast.date,this.activeForecast.hours,1),this.fetchData().then(),this.loading=!1},async fetchData(){var D;const t=this.ts?O(Number(this.ts)).utc().format("YYYY-MM-DD HH"):O().utc().format("YYYY-MM-DD HH");for(let f in this.records)O(this.activeForecast.date).add(f,"h").utc().format("YYYY-MM-DD HH")===t&&this.$emit("center",this.records[f]);let n=this.computeHourSubscript(O(this.activeForecast.date).utc().format("H"));const o=[],c=[],l=[],a=[];let m=[],i=[],p=[];for(let f in this.records){const h=this.records[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;n===C?(i.push([r,h.wind.kts]),p.push([r,h.pressure]),m.push([r,h.wind.spd])):(o.push(m),c.push(i),l.push(p),n=C,m=[],i=[],p=[],m.push([r,h.wind.spd]),i.push([r,h.wind.kts]),p.push([r,h.pressure]),this.xAxis.push(V))}for(let f in this.activeForecast.hours){const h=this.activeForecast.hours[f],V=O(this.activeForecast.date).add(f,"h").utc(),C=this.computeHourSubscript(O(V).format("H")),r=`${O(V).format("YYYY-MM-DD")} ${this.hourSubscript[C]}:00:00`;a.push([r,((D=h.gusts)==null?void 0:D.kts)??"-"])}this.fetchProbabilityData(o),this.fetchSpdData(c,a),this.fetchPressureData(l)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let c=0,l=0,a=0,m=0,i=0,p=0;o.forEach(f=>{const h=f[1];h<=17.1?c++:h<=24.4?l++:h<=32.6?a++:h<=41.4?m++:h<=50.9?i++:h>50.9&&p++});const D=o.length;n.td.push([o[0][0],gl.LngLatHelper.roundPrecision(c/D,2)*100]),n.ts.push([o[0][0],gl.LngLatHelper.roundPrecision(l/D,2)*100]),n.sts.push([o[0][0],gl.LngLatHelper.roundPrecision(a/D,2)*100]),n.ty.push([o[0][0],gl.LngLatHelper.roundPrecision(m/D,2)*100]),n.sty.push([o[0][0],gl.LngLatHelper.roundPrecision(i/D,2)*100]),n.supty.push([o[0][0],gl.LngLatHelper.roundPrecision(p/D,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],c=[];t.forEach(l=>{const a=this.computeKLineData(l);let m=[a.time,a.first,a.last,a.min,a.max];c.push([a.time,a.middle]),o.push(m)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:c,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(c=>{const l=this.computeKLineData(c);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe;const c=O(t).set({second:0}).utc();let l=o-(c.get("hour")*60+c.get("minute"))%(o*60)/60,a;const m={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const ee=(l-a.prev)/(a.next-a.prev);m[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(p=n[a.next])==null?void 0:p.gusts,ee),lat:this.computeInterpolateValue((D=n[a.prev])==null?void 0:D.lat,(f=n[a.next])==null?void 0:f.lat,ee),lng:this.computeInterpolateValue((h=n[a.prev])==null?void 0:h.lng,(V=n[a.next])==null?void 0:V.lng,ee),movement:{deg:this.computeInterpolateValue((r=(C=n[a.prev])==null?void 0:C.movement)==null?void 0:r.deg,(S=(k=n[a.next])==null?void 0:k.movement)==null?void 0:S.deg,ee),kts:this.computeInterpolateValue((A=(B=n[a.prev])==null?void 0:B.movement)==null?void 0:A.kts,(F=(u=n[a.next])==null?void 0:u.movement)==null?void 0:F.kts,ee),spd:this.computeInterpolateValue((L=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:L.spd,(Z=(U=n[a.next])==null?void 0:U.movement)==null?void 0:Z.spd,ee)},pressure:this.computeInterpolateValue((R=n[a.prev])==null?void 0:R.pressure,(P=n[a.next])==null?void 0:P.pressure,ee),wind:{kts:this.computeInterpolateValue((I=(g=n[a.prev])==null?void 0:g.wind)==null?void 0:I.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,ee),lat:this.computeInterpolateValue((Q=(M=n[a.prev])==null?void 0:M.wind)==null?void 0:Q.lat,(K=(j=n[a.next])==null?void 0:j.wind)==null?void 0:K.lat,ee),lng:this.computeInterpolateValue((z=(N=n[a.prev])==null?void 0:N.wind)==null?void 0:z.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,ee),spd:this.computeInterpolateValue((d=(X=n[a.prev])==null?void 0:X.wind)==null?void 0:d.spd,(oe=(v=n[a.next])==null?void 0:v.wind)==null?void 0:oe.spd,ee)}},l+=o}return m}}},Tn=t=>(e.pushScopeId("data-v-80c7f977"),t=t(),e.popScopeId(),t),$P={class:"typhoon-report"},QP={class:"report-content"},JP={class:"map"},KP={class:"table"},qP=Tn(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1)),jP=Tn(()=>e.createElementVNode("div",{class:"report-tips flex-end"}," The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision. ",-1));function XP(t,n,o,c,l,a){var D;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Mapbox"),p=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",$P,[e.createVNode(m,{name:"Tropical Cyclone Strike Probability Report"}),e.createElementVNode("div",QP,[e.createElementVNode("div",null,[e.createElementVNode("div",JP,[e.createVNode(i,{tropicals:l.tropicals,ts:o.ts,token:o.token},null,8,["tropicals","ts","token"])]),e.createElementVNode("div",KP,[e.createElementVNode("table",null,[qP,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.activeForecast)==null?void 0:D.sample,(f,h)=>{var V,C,r,k,S,B;return e.openBlock(),e.createElementBlock("tr",{key:h},[e.createElementVNode("td",null,e.toDisplayString(f.date),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(f.lat,f.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(f.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((V=f==null?void 0:f.wind)==null?void 0:V.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((C=f.gusts)==null?void 0:C.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computePrecision(((r=f==null?void 0:f.wind)==null?void 0:r.r7)||"-")} / ${a.computePrecision(((k=f==null?void 0:f.wind)==null?void 0:k.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((S=f==null?void 0:f.movement)==null?void 0:S.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision(((B=f==null?void 0:f.movement)==null?void 0:B.kts)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(p,{id:"probabilityChart",class:"echart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category","x-axis":l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["x-axis","color","series"]),e.createVNode(p,{id:"spdChart",class:"echart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]","x-axis":l.xAxis,series:l.spdSeries},null,8,["x-axis","series"]),e.createVNode(p,{id:"pressureChart",class:"echart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)","x-axis":l.xAxis,series:l.pressureSeries},null,8,["x-axis","series"])])]),jP])}const un=Ee(ZP,[["render",XP],["__scopeId","data-v-80c7f977"]]),vP={install(t){t.component("TropicalReport",un)}},ele="",eL={components:{IdmBrand:en},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
+ `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${O(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var m;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,c=(m=this.data)!=null&&m.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+c})}},yo=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),tL={class:"invoice-report"},oL=yo(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),lL={class:"report-title"},aL=yo(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),nL={class:"title-info"},sL=yo(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),iL=yo(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),cL=yo(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),dL=yo(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),rL=yo(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),mL={class:"report-content"},pL={style:{display:"flex"},ref:"name",class:"name"},hL=["innerHTML"],yL={style:{"margin-bottom":"10px"}},EL={class:"table",ref:"table"},_L=yo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),NL=yo(()=>e.createElementVNode("td",null,null,-1)),VL={class:"total"},fL={class:"total"},gL={key:0,class:"page-break"},DL={ref:"detail",class:"detail"},bL={class:"title"},xL={class:"info"},CL={class:"info"},SL={class:"info"},kL={class:"info"},BL={class:"info"},AL={key:0},wL={class:"info"},TL=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),uL={class:"info"},OL=yo(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),FL={class:"info"},PL=yo(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),LL={class:"info"},WL=yo(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),HL={key:1},ML={class:"info"},GL=yo(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),IL={key:1,ref:"memo",class:"detail"},RL=yo(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),zL=["innerHTML"];function UL(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",tL,[e.createVNode(m),oL,e.createElementVNode("div",lL,[aL,e.createElementVNode("div",nL,[sL,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),iL,cL,dL,rL])])]),e.createElementVNode("div",mL,[e.createElementVNode("div",pL,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((p=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:p.name)},null,8,hL)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((D=o.data)==null?void 0:D.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",yL,"No: "+e.toDisplayString((f=o.data)==null?void 0:f.number),1),e.createElementVNode("div",EL,[e.createElementVNode("table",null,[_L,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=o.data)==null?void 0:h.reservations,(P,g)=>(e.openBlock(),e.createElementBlock("tr",{key:g},[e.createElementVNode("td",null,e.toDisplayString(g+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(P==null?void 0:P.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${P==null?void 0:P.amount}`),1)]))),128)),e.createElementVNode("tr",null,[NL,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((V=o.data)==null?void 0:V.rate)}`)+"  ",1),e.createElementVNode("span",VL,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",fL,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(C=o.data)==null?void 0:C.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",gL)):e.createCommentVNode("",!0),e.createElementVNode("div",DL,[e.createElementVNode("div",bL,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",xL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",CL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.address[l.type])??"-"),1)]),e.createElementVNode("div",SL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((S=l.company)==null?void 0:S.tel)??"-"),1)]),e.createElementVNode("div",kL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((B=l.company)==null?void 0:B.bankName[l.type])??"-"),1)]),e.createElementVNode("div",BL,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((A=l.company)==null?void 0:A.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",AL,[e.createElementVNode("div",wL,[TL,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.bankSwift)??"-"),1)]),e.createElementVNode("div",uL,[OL,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.bankAddress)??"-"),1)]),e.createElementVNode("div",FL,[PL,e.createElementVNode("span",null,e.toDisplayString(((x=l.company)==null?void 0:x.interBank)??"-"),1)]),e.createElementVNode("div",LL,[WL,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",HL,[e.createElementVNode("div",ML,[GL,e.createElementVNode("span",null,e.toDisplayString(((U=l.company)==null?void 0:U.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",IL,[RL,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((R=o.data)==null?void 0:R.memo)},null,8,zL)],512)):e.createCommentVNode("",!0)])])}const On=Ee(eL,[["render",UL],["__scopeId","data-v-db643e45"]]),tle="",YL={components:{IdmBrand:Eo},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"216950903845",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}},reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},pt=t=>(e.pushScopeId("data-v-3894214e"),t=t(),e.popScopeId(),t),ZL={class:"invoice-report"},$L={class:"section items-section"},QL={class:"flex-start"},JL=pt(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),KL=["innerHTML"],qL={class:"flex-space"},jL={class:"invoice-item"},XL={key:0,class:"invoice-item"},vL=pt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),eW=pt(()=>e.createElementVNode("td",null,"NO.",-1)),tW=["colspan"],oW=pt(()=>e.createElementVNode("td",null,"Amounts",-1)),lW=["colspan"],aW=["colspan"],nW=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],sW={class:"total"},iW=["colspan"],cW=[pt(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],dW={class:"total"},rW=["colspan"],mW={class:"total"},pW={key:1},hW=["colspan"],yW=[pt(()=>e.createElementVNode("span",null,"Total in USD",-1))],EW={class:"total"},_W={key:0,class:"memo-block"},NW=pt(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),VW=["innerHTML"],fW={class:"section company-section"},gW=pt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"Bank Information",-1)),DW={class:"company-item"},bW=pt(()=>e.createElementVNode("label",null,"Bank",-1)),xW={class:"company-item"},CW=pt(()=>e.createElementVNode("label",null,"Account",-1)),SW={class:"company-item"},kW=pt(()=>e.createElementVNode("label",null,"Title",-1)),BW={class:"company-item"},AW=pt(()=>e.createElementVNode("label",null,"Addr",-1)),wW={class:"company-item"},TW=pt(()=>e.createElementVNode("label",null,"Tel",-1)),uW={class:"company-item"},OW=pt(()=>e.createElementVNode("label",null,"Tax ID",-1)),FW={class:"company-item"},PW=pt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),LW={class:"company-item"},WW=pt(()=>e.createElementVNode("label",null,"Bank Name",-1)),HW={class:"company-item"},MW=pt(()=>e.createElementVNode("label",null,"Bank Address",-1)),GW={class:"company-item"},IW=pt(()=>e.createElementVNode("label",null,"Account No.",-1)),RW={class:"company-item"},zW=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),UW={class:"company-item"},YW=pt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),ZW={class:"company-item"},$W=pt(()=>e.createElementVNode("label",null,"SWIFT",-1)),QW={class:"company-item"},JW=pt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),KW=e.createStaticVNode('<div class="section sign-section" data-v-3894214e><div class="flex-space" data-v-3894214e><div class="sign-block" data-v-3894214e><div data-v-3894214e>Finance Team</div><div data-v-3894214e>Ocean Right Marine Service Co., Ltd.</div><div data-v-3894214e>Email: <a href="mailto:op@ormwx.com" data-v-3894214e>op@ormwx.com</a></div><div data-v-3894214e>Address: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-3894214e> Thank You </div></div></div>',1);function qW(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",ZL,[e.createVNode(m,{name:"INVOICE",issued:o.report.createdAt},null,8,["issued"]),e.createElementVNode("div",$L,[e.createElementVNode("div",QL,[JL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(D=(p=(i=o.report)==null?void 0:i.invoiceTitle)==null?void 0:p.name)==null?void 0:D.replace(`
43
+ `,"<br/>")},null,8,KL)]),e.createElementVNode("div",qL,[e.createElementVNode("div",jL,"Invoice No. "+e.toDisplayString(o.report.number),1),(f=o.report)!=null&&f.paymentDate?(e.openBlock(),e.createElementBlock("div",XL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(h=l.reservations4Route)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[vL,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(le,he)=>{var Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me;return e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString((fe=(Ve=(Ne=le.props)==null?void 0:Ne[0])==null?void 0:Ve.voyage)==null?void 0:fe.number),1),e.createElementVNode("td",null,e.toDisplayString(((be=(De=(ge=le.props)==null?void 0:ge[0])==null?void 0:De.voyage)==null?void 0:be.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=(xe=le.props)==null?void 0:xe[0])==null?void 0:Ce.vessel)==null?void 0:Se.name),1),e.createElementVNode("td",null,e.toDisplayString((ye=(Oe=(ue=le.props)==null?void 0:ue[0])==null?void 0:Oe.voyage)==null?void 0:ye.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((Fe=(me=(W=le.props)==null?void 0:W[0])==null?void 0:me.departure)==null?void 0:Fe.name),1),e.createElementVNode("td",null,e.toDisplayString((ke=(Le=(Pe=le.props)==null?void 0:Pe[0])==null?void 0:Le.departure)==null?void 0:ke.atd),1),e.createElementVNode("td",null,e.toDisplayString((Ze=(Ye=(We=le.props)==null?void 0:We[0])==null?void 0:Ye.destination)==null?void 0:Ze.name),1),e.createElementVNode("td",null,e.toDisplayString((Me=(we=(Y=le.props)==null?void 0:Y[0])==null?void 0:we.destination)==null?void 0:Me.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(V=l.reservations4Point)!=null&&V.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[eW,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,tW),oW])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(le,he)=>(e.openBlock(),e.createElementBlock("tr",{key:he},[e.createElementVNode("td",null,e.toDisplayString(le.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(le.items),9,lW),e.createElementVNode("td",null,"$"+e.toDisplayString(le.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((C=o.report)==null?void 0:C.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},nW,8,aW),e.createElementVNode("td",sW,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},cW,8,iW),e.createElementVNode("td",dW,[e.createElementVNode("span",null,e.toDisplayString((r=o.report)==null?void 0:r.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,rW),e.createElementVNode("td",mW,"¥"+e.toDisplayString((k=o.report)==null?void 0:k.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",pW,[e.createElementVNode("td",{colspan:l.maxColspans},yW,8,hW),e.createElementVNode("td",EW,[e.createElementVNode("span",null,e.toDisplayString(`$${(S=o.report)==null?void 0:S.paymentAmount}`),1)])]))])]),(B=o.report)!=null&&B.memo?(e.openBlock(),e.createElementBlock("div",_W,[NW,e.createElementVNode("div",{class:"invoice-item",innerHTML:(u=(A=o.report)==null?void 0:A.memo)==null?void 0:u.replace(`
44
+ `,"<br/>")},null,8,VW)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",fW,[gW,((F=o.report)==null?void 0:F.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",DW,[bW,e.createElementVNode("span",null,e.toDisplayString((L=l.account[(x=o.report)==null?void 0:x.paymentType])==null?void 0:L.bank),1)]),e.createElementVNode("div",xW,[CW,e.createElementVNode("span",null,e.toDisplayString((Z=l.account[(U=o.report)==null?void 0:U.paymentType])==null?void 0:Z.number),1)]),e.createElementVNode("div",SW,[kW,e.createElementVNode("span",null,e.toDisplayString((P=l.account[(R=o.report)==null?void 0:R.paymentType])==null?void 0:P.title),1)]),e.createElementVNode("div",BW,[AW,e.createElementVNode("span",null,e.toDisplayString((I=l.account[(g=o.report)==null?void 0:g.paymentType])==null?void 0:I.address),1)]),e.createElementVNode("div",wW,[TW,e.createElementVNode("span",null,e.toDisplayString((H=l.account[(G=o.report)==null?void 0:G.paymentType])==null?void 0:H.tel),1)]),e.createElementVNode("div",uW,[OW,e.createElementVNode("span",null,e.toDisplayString((Q=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:Q.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",FW,[PW,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(j=o.report)==null?void 0:j.paymentType])==null?void 0:K.title),1)]),e.createElementVNode("div",LW,[WW,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:z.bank),1)]),e.createElementVNode("div",HW,[MW,e.createElementVNode("span",null,e.toDisplayString((s=l.account[(J=o.report)==null?void 0:J.paymentType])==null?void 0:s.bankAddr),1)]),e.createElementVNode("div",GW,[IW,e.createElementVNode("span",null,e.toDisplayString((d=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:d.number),1)]),e.createElementVNode("div",RW,[zW,e.createElementVNode("span",null,e.toDisplayString((oe=l.account[(v=o.report)==null?void 0:v.paymentType])==null?void 0:oe.swift),1)]),e.createElementVNode("div",UW,[YW,e.createElementVNode("span",null,e.toDisplayString((se=l.account[(ee=o.report)==null?void 0:ee.paymentType])==null?void 0:se.intermediaryBank),1)]),e.createElementVNode("div",ZW,[$W,e.createElementVNode("span",null,e.toDisplayString((de=l.account[(ce=o.report)==null?void 0:ce.paymentType])==null?void 0:de.intermediaryBankSwift),1)]),e.createElementVNode("div",QW,[JW,e.createElementVNode("span",null,e.toDisplayString((_e=l.account[(re=o.report)==null?void 0:re.paymentType])==null?void 0:_e.intermediaryBankAbaNo),1)])],64))]),KW])}const Fn=Ee(YL,[["render",qW],["__scopeId","data-v-3894214e"]]),nle="",jW={components:{IdmBrand:Eo},data(){return{reservations4Route:[],reservations4Point:[],maxColspans:8,totalInUS:0}},props:{report:{type:Object,default:()=>({})}},watch:{report:{handler(){var t,n,o,c,l,a,m;this.reservations4Route=(n=(t=this.report)==null?void 0:t.reservations)==null?void 0:n.filter(i=>i.props),this.reservations4Point=(c=(o=this.report)==null?void 0:o.reservations)==null?void 0:c.filter(i=>!i.props),this.totalInUS=(a=(l=this.report)==null?void 0:l.reservations)==null?void 0:a.reduce((i,p)=>Math.round((i+p.amount)*100)/100,0),(m=this.reservations4Route)!=null&&m.length?this.maxColspans=8:this.maxColspans=2},immediate:!0}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${O(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Cl=t=>(e.pushScopeId("data-v-744130ab"),t=t(),e.popScopeId(),t),XW={class:"invoice-report"},vW={class:"section items-section"},eH={class:"flex-start"},tH=Cl(()=>e.createElementVNode("div",{class:"invoice-item"},"Bill To:",-1)),oH=["innerHTML"],lH={class:"flex-space"},aH={class:"invoice-item"},nH={key:0,class:"invoice-item"},sH=Cl(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO."),e.createElementVNode("td",null,"VoyNum."),e.createElementVNode("td",null,"Vessel"),e.createElementVNode("td",null,"Load Condition"),e.createElementVNode("td",null,"Departure"),e.createElementVNode("td",null,"ATD"),e.createElementVNode("td",null,"Destination"),e.createElementVNode("td",null,"ATA"),e.createElementVNode("td",null,"Amounts")])],-1)),iH=Cl(()=>e.createElementVNode("td",null,"NO.",-1)),cH=["colspan"],dH=Cl(()=>e.createElementVNode("td",null,"Amounts",-1)),rH=["colspan"],mH=["colspan"],pH=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],hH={class:"total"},yH=["colspan"],EH=[Cl(()=>e.createElementVNode("span",null,"Exchange Rate",-1))],_H={class:"total"},NH=["colspan"],VH={class:"total"},fH={key:1},gH=["colspan"],DH=[Cl(()=>e.createElementVNode("span",null,"Total in USD",-1))],bH={class:"total"},xH={key:0,class:"memo-block"},CH=Cl(()=>e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"600"}},"MEMO",-1)),SH=["innerHTML"];function kH(t,n,o,c,l,a){var m,i,p,D,f,h,V,C,r,k,S,B,A;return e.openBlock(),e.createElementBlock("div",XW,[e.createElementVNode("div",vW,[e.createElementVNode("div",eH,[tH,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500","margin-left":"4px"},innerHTML:(p=(i=(m=o.report)==null?void 0:m.invoiceTitle)==null?void 0:i.name)==null?void 0:p.replace(`
45
+ `,"<br/>")},null,8,oH)]),e.createElementVNode("div",lH,[e.createElementVNode("div",aH,"Invoice No. "+e.toDisplayString(o.report.number),1),(D=o.report)!=null&&D.paymentDate?(e.openBlock(),e.createElementBlock("div",nH,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):e.createCommentVNode("",!0)]),e.createElementVNode("table",null,[(f=l.reservations4Route)!=null&&f.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[sH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Route,(u,F)=>{var x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se;return e.openBlock(),e.createElementBlock("tr",{key:F},[e.createElementVNode("td",null,e.toDisplayString((U=(L=(x=u.props)==null?void 0:x[0])==null?void 0:L.voyage)==null?void 0:U.number),1),e.createElementVNode("td",null,e.toDisplayString(((P=(R=(Z=u.props)==null?void 0:Z[0])==null?void 0:R.voyage)==null?void 0:P.voyNum)||"-"),1),e.createElementVNode("td",null,e.toDisplayString((G=(I=(g=u.props)==null?void 0:g[0])==null?void 0:I.vessel)==null?void 0:G.name),1),e.createElementVNode("td",null,e.toDisplayString((Q=(M=(H=u.props)==null?void 0:H[0])==null?void 0:M.voyage)==null?void 0:Q.loadCondition),1),e.createElementVNode("td",null,e.toDisplayString((N=(K=(j=u.props)==null?void 0:j[0])==null?void 0:K.departure)==null?void 0:N.name),1),e.createElementVNode("td",null,e.toDisplayString((s=(J=(z=u.props)==null?void 0:z[0])==null?void 0:J.departure)==null?void 0:s.atd),1),e.createElementVNode("td",null,e.toDisplayString((v=(d=(X=u.props)==null?void 0:X[0])==null?void 0:d.destination)==null?void 0:v.name),1),e.createElementVNode("td",null,e.toDisplayString((se=(ee=(oe=u.props)==null?void 0:oe[0])==null?void 0:ee.destination)==null?void 0:se.ata),1),e.createElementVNode("td",null,"$"+e.toDisplayString(u.amount),1)])}),128))])],64)):e.createCommentVNode("",!0),(h=l.reservations4Point)!=null&&h.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[iH,e.createElementVNode("td",{colspan:l.maxColspans-1},"Items.",8,cH),dH])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.reservations4Point,(u,F)=>(e.openBlock(),e.createElementBlock("tr",{key:F},[e.createElementVNode("td",null,e.toDisplayString(u.number),1),e.createElementVNode("td",{colspan:l.maxColspans-1},e.toDisplayString(u.items),9,rH),e.createElementVNode("td",null,"$"+e.toDisplayString(u.amount),1)]))),128))])],64)):e.createCommentVNode("",!0),e.createElementVNode("tfoot",null,[((V=o.report)==null?void 0:V.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},pH,8,mH),e.createElementVNode("td",hH,[e.createElementVNode("span",null,e.toDisplayString(`$${l.totalInUS}`),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},EH,8,yH),e.createElementVNode("td",_H,[e.createElementVNode("span",null,e.toDisplayString((C=o.report)==null?void 0:C.rate),1)])]),e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:l.maxColspans},"Total in CNY",8,NH),e.createElementVNode("td",VH,"¥"+e.toDisplayString((r=o.report)==null?void 0:r.paymentAmount),1)])],64)):(e.openBlock(),e.createElementBlock("tr",fH,[e.createElementVNode("td",{colspan:l.maxColspans},DH,8,gH),e.createElementVNode("td",bH,[e.createElementVNode("span",null,e.toDisplayString(`$${(k=o.report)==null?void 0:k.paymentAmount}`),1)])]))])]),(S=o.report)!=null&&S.memo?(e.openBlock(),e.createElementBlock("div",xH,[CH,e.createElementVNode("div",{class:"invoice-item",innerHTML:(A=(B=o.report)==null?void 0:B.memo)==null?void 0:A.replace(`
46
+ `,"<br/>")},null,8,SH)])):e.createCommentVNode("",!0)])])}const Pn=Ee(jW,[["render",kH],["__scopeId","data-v-744130ab"]]),BH={install(t){t.component("InvoiceReport",On),t.component("OrmInvoiceReport",Fn),t.component("FliInvoiceReport",Pn)}},AH=t=>((typeof t=="string"||typeof t=="number")&&(t=O(t)),t),wH=(t,n="MMM-DD,YYYY/HHmm[Z]")=>TH(t,n),TH=(t,n="MMM-DD/HHmm[Z]")=>(t=AH(t),t?`${t.utc().format(n)}`:"-"),dle="",uH={name:"IdmEditableItem",components:{Edit:ln.Edit,Close:ln.Close,IdmEditor:Uo},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return wH(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},OH={class:"idm-editable-item"},FH=["innerHTML"],PH={key:3,class:"buttons"};function LH(t,n,o,c,l,a){const m=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),p=e.resolveComponent("IdmEditor"),D=e.resolveComponent("ElInputNumber"),f=e.resolveComponent("ElDatePicker"),h=e.resolveComponent("ElOption"),V=e.resolveComponent("ElSelect"),C=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),k=e.resolveComponent("ElCheckbox"),S=e.resolveComponent("ElCheckboxGroup"),B=e.resolveComponent("Edit"),A=e.resolveComponent("ElIcon"),u=e.resolveComponent("ElButton"),F=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",OH,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=x=>l.model=x),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(p,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=x=>l.model=x),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(D,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=x=>l.model=x),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(f,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=x=>l.model=x),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(V,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=x=>l.model=x),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.value,label:x.label,disabled:x.disabled,value:x.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(V,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(V,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(h,{key:x.id,label:x.name,value:x.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=x=>l.model=x),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,x=>(e.openBlock(),e.createBlock(C,{key:x.value,label:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(S,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=x=>l.model=x),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,x=>(e.openBlock(),e.createBlock(k,{label:x.value,key:x.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(m,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(m,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...x)=>a.handleEdit&&a.handleEdit(...x))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,FH)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...x)=>a.handleEdit&&a.handleEdit(...x))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",PH,[l.editable?(e.openBlock(),e.createBlock(u,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(A,null,{default:e.withCtx(()=>[e.createVNode(F)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(u,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(A,null,{default:e.withCtx(()=>[e.createVNode(B)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const Ln=Ee(uH,[["render",LH]]),rle="",WH={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:ln.CirclePlus,Remove:ln.Remove,EditableItem:Ln,Editor:Uo,IdmBrand:Eo},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){return`${ie.LngLatHelper.lat2pretty(t).pretty} / ${ie.LngLatHelper.lng2pretty(n).pretty}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchData(){var t,n,o,c;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(c=this.report)==null?void 0:c.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await xl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,m;this.extraPortList.splice(t,1);const n=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(m=this.report)==null?void 0:m.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,c){var m,i,p,D,f;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),C=n.substring(l+1);C!=="date"&&(o=Number(o)),this.extraPortList[c][V][C]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(m=h==null?void 0:h.data)==null?void 0:m.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(D=this.report)!=null&&D.comments?(f=this.report)==null?void 0:f.comments:void 0}else En.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},T=t=>(e.pushScopeId("data-v-1413248b"),t=t(),e.popScopeId(),t),HH={class:"deviation-report"},MH={class:"section vessel-section"},GH={class:"report-summary"},IH={class:"summary-item"},RH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),zH={class:"flexL gray"},UH={class:"summary-item"},YH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),ZH={class:"flexL gray"},$H={class:"summary-item"},QH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),JH={class:"flexL gray"},KH={class:"summary-item"},qH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),jH={class:"flexL gray"},XH={class:"summary-item"},vH=T(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),eM={class:"flexL gray",style:{display:"flex"}},tM={class:"flex"},oM={class:"flexM"},lM={class:"summary-item"},aM=T(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),nM={class:"flexL gray",style:{display:"flex"}},sM={class:"flex"},iM={class:"flexM"},cM={class:"section summary-section"},dM=T(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),rM={class:"report-summary"},mM={class:"summary-item"},pM=T(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),hM={class:"summary-item"},yM=T(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),EM={class:"summary-item"},_M=T(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),NM={class:"summary-item"},VM=T(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),fM={class:"section map-section"},gM=T(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),DM={class:"report-map"},bM=["src"],xM=e.createStaticVNode('<div class="legend" data-v-1413248b><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-1413248b></div><div data-v-1413248b>Actual Route</div></div><div class="legend-item" data-v-1413248b><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-1413248b></div><div data-v-1413248b>Route prior to deviation</div></div></div>',1),CM={key:0,class:"section deviation-section"},SM=T(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),kM={class:"report-summary"},BM=e.createStaticVNode('<div class="summary-item" data-v-1413248b><div class="blue center" style="width:17%;" data-v-1413248b>Deviation</div><div class="blue center" style="width:20%;" data-v-1413248b>Position</div><div class="blue center" style="width:17%;" data-v-1413248b>Date Time</div><div class="flex blue center" data-v-1413248b>FO BROB<br data-v-1413248b>(mt)</div><div class="flex blue center" data-v-1413248b>DO/GO<br data-v-1413248b>BROB (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>FO (mt)</div><div class="flex blue center" data-v-1413248b>Bunkering<br data-v-1413248b>DO/GO (mt)</div></div>',1),AM={class:"summary-item"},wM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),TM={class:"blue center",style:{width:"20%"}},uM={class:"blue center",style:{width:"17%"}},OM={class:"flex blue center"},FM={class:"flex blue center"},PM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),LM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),WM={class:"summary-item"},HM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),MM={class:"blue center",style:{width:"20%"}},GM={class:"blue center",style:{width:"17%"}},IM={class:"flex blue center"},RM={class:"flex blue center"},zM={class:"flex blue center"},UM={class:"flex blue center"},YM={class:"summary-item"},ZM=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),$M=T(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),QM={class:"blue center",style:{width:"17%"}},JM={class:"flex blue center"},KM={class:"flex blue center"},qM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),jM=T(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),XM={class:"section cp-section"},vM=T(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),eG={class:"report-summary"},tG={class:"summary-item"},oG=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),lG={class:"flexL blue center"},aG={class:"summary-item"},nG=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),sG={class:"flexL blue center"},iG={class:"summary-item"},cG=T(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),dG={class:"flexL blue center"},rG={class:"section port-section"},mG={class:"subtitle port"},pG=T(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),hG={class:"print-hidden"},yG={class:"report-port"},EG=T(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),_G={rowspan:2},NG=T(()=>e.createElementVNode("td",null,"Arrival",-1)),VG=T(()=>e.createElementVNode("td",null,null,-1)),fG=T(()=>e.createElementVNode("td",null,null,-1)),gG={rowspan:2,class:"print-hidden"},DG=T(()=>e.createElementVNode("td",null,"Departure",-1)),bG=T(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),xG=T(()=>e.createElementVNode("td",null,null,-1)),CG=T(()=>e.createElementVNode("td",null,null,-1)),SG=T(()=>e.createElementVNode("td",null,null,-1)),kG=T(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),BG={class:"section distance-section"},AG=T(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),wG={class:"report-summary"},TG=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),uG={class:"summary-item"},OG=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),FG={class:"flex blue center"},PG={class:"flex blue center"},LG={class:"summary-item"},WG=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),HG={class:"flex blue center"},MG={class:"section time-section"},GG=T(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),IG={key:0,class:"report-formular"},RG={class:"equation"},zG=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),UG={class:"function",style:{width:"20%"}},YG=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ZG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$G={style:{width:"10%"}},QG=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),JG={class:"equation"},KG=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:28%;" data-v-1413248b>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),qG={style:{width:"5%"}},jG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),XG={style:{width:"8%"}},vG=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),eI={style:{width:"4%"}},tI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),oI={key:1,class:"report-formular"},lI={class:"equation"},aI=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-1413248b>=</div><div class="function" style="width:20%;" data-v-1413248b><div data-v-1413248b>Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:5%;" data-v-1413248b>=</div>',4),nI={class:"function",style:{width:"20%"}},sI=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),cI={style:{width:"10%"}},dI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),rI={key:0,class:"equation"},mI=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:30%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',6),pI={style:{width:"5%"}},hI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),yI={style:{width:"5%"}},EI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),_I={style:{width:"5%"}},NI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),VI={key:1,class:"equation"},fI=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-1413248b>Total extra Time (hrs)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:24%;" data-v-1413248b>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>Time spent in port (hrs)</div><div style="width:2%;" data-v-1413248b>=</div>',8),gI={style:{width:"5%"}},DI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),bI={style:{width:"5%"}},xI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),CI={style:{width:"5%"}},SI=T(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),kI={style:{width:"5%"}},BI=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),AI={key:2,class:"report-summary"},wI={class:"summary-item"},TI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),uI={class:"flex blue center"},OI={class:"summary-item"},FI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),PI={class:"flex blue center"},LI={class:"summary-item"},WI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),HI={class:"flex blue center"},MI={key:3,class:"report-summary"},GI={class:"summary-item"},II=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),RI={class:"flex blue center"},zI={class:"summary-item"},UI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),YI={class:"flex blue center"},ZI={key:0,class:"summary-item"},$I=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),QI={class:"flex blue center"},JI={class:"summary-item"},KI=T(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),qI={class:"flex blue center"},jI={class:"section consumption-section"},XI=T(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),vI={key:0,class:"report-formular"},eR={class:"equation"},tR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),oR={class:"function",style:{width:"5%"}},lR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),aR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),nR={class:"function",style:{width:"5%"}},sR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),iR=T(()=>e.createElementVNode("div",null,"24",-1)),cR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),dR={style:{width:"5%"}},rR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),mR={class:"equation"},pR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-1413248b>+</div><div style="width:23%;" data-v-1413248b>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),hR={style:{width:"5%"}},yR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),ER={style:{width:"5%"}},_R=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NR={style:{width:"5%"}},VR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fR={class:"equation"},gR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),DR={class:"function",style:{width:"5%"}},bR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),xR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),CR={class:"function",style:{width:"5%"}},SR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kR=T(()=>e.createElementVNode("div",null,"24",-1)),BR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),AR={style:{width:"5%"}},wR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TR={class:"equation"},uR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-1413248b>=</div>',6),OR={style:{width:"5%"}},FR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),PR={style:{width:"5%"}},LR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WR={style:{width:"5%"}},HR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MR={key:1,class:"report-formular"},GR={class:"equation"},IR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily FO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),RR={class:"function",style:{width:"5%"}},zR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),YR={class:"function",style:{width:"5%"}},ZR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$R=T(()=>e.createElementVNode("div",null,"24",-1)),QR=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),JR={style:{width:"5%"}},KR=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),qR={class:"equation"},jR=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-1413248b>=</div><div class="function" style="width:30%;" data-v-1413248b><div data-v-1413248b>Route prior to deviation Distance</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>CP Speed</div></div><div style="width:3%;" data-v-1413248b>×</div><div class="function" style="width:23%;" data-v-1413248b><div data-v-1413248b>CP Daily DO Consumption</div><div class="fractional-line" data-v-1413248b></div><div data-v-1413248b>24</div></div><div style="width:3%;" data-v-1413248b>=</div>',6),XR={class:"function",style:{width:"5%"}},vR=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ez=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),tz={class:"function",style:{width:"5%"}},oz=T(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lz=T(()=>e.createElementVNode("div",null,"24",-1)),az=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nz={style:{width:"5%"}},sz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iz={key:0,class:"equation"},cz=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),dz={style:{width:"5%"}},rz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),mz={style:{width:"5%"}},pz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hz={style:{width:"5%"}},yz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Ez={key:1,class:"equation"},_z=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>FO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>FO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),Nz={style:{width:"5%"}},Vz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fz={style:{width:"5%"}},gz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Dz={style:{width:"5%"}},bz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xz={style:{width:"5%"}},Cz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Sz={key:2,class:"equation"},kz=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:30%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:23%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>=</div>',6),Bz={style:{width:"5%"}},Az=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),wz={style:{width:"5%"}},Tz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),uz={style:{width:"5%"}},Oz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Fz={key:3,class:"equation"},Pz=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-1413248b>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-1413248b>=</div><div style="width:15%;" data-v-1413248b>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:20%;" data-v-1413248b>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-1413248b>-</div><div style="width:10%;" data-v-1413248b>DO/GO Consumption in port</div><div style="width:3%;" data-v-1413248b>=</div>',8),Lz={style:{width:"5%"}},Wz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Hz={style:{width:"5%"}},Mz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),Gz={style:{width:"5%"}},Iz=T(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),Rz={style:{width:"5%"}},zz=T(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Uz={key:2,class:"report-summary"},Yz=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),Zz={class:"summary-item"},$z=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),Qz={class:"flex blue center"},Jz={class:"flex blue center"},Kz={class:"summary-item"},qz=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),jz={class:"flex blue center"},Xz={class:"flex blue center"},vz={class:"summary-item"},eU=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),tU={key:3,class:"report-summary"},oU=T(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),lU={class:"summary-item"},aU=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),nU={class:"flex blue center"},sU={class:"flex blue center"},iU={class:"summary-item"},cU=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),dU={class:"flex blue center"},rU={class:"flex blue center"},mU={key:0,class:"summary-item"},pU=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),hU={class:"flex blue center"},yU={class:"flex blue center"},EU={class:"summary-item"},_U=T(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),NU={class:"section comment-section"},VU=["innerHTML"];function fU(t,n,o,c,l,a){var V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Bl,Al,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa,ae,mo,Ja,Ka,qa;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),p=e.resolveComponent("CirclePlus"),D=e.resolveComponent("el-icon"),f=e.resolveComponent("Remove"),h=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",HH,[e.createVNode(m,{name:"Voyage Deviation Report"}),e.createElementVNode("div",MH,[e.createElementVNode("div",GH,[e.createElementVNode("div",IH,[RH,e.createElementVNode("div",zH,e.toDisplayString((C=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:C.name),1)]),e.createElementVNode("div",UH,[YH,e.createElementVNode("div",ZH,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",$H,[QH,e.createElementVNode("div",JH,e.toDisplayString((S=(k=l.extraData)==null?void 0:k.vessel)==null?void 0:S.type),1)]),e.createElementVNode("div",KH,[qH,e.createElementVNode("div",jH,e.toDisplayString((A=(B=l.extraData)==null?void 0:B.voyage)==null?void 0:A.number),1)]),e.createElementVNode("div",XH,[vH,e.createElementVNode("div",eM,[e.createElementVNode("span",tM,e.toDisplayString((F=(u=l.extraData)==null?void 0:u.departure)==null?void 0:F.name),1),e.createElementVNode("span",oM,e.toDisplayString(a.computeUTCTime(((L=(x=l.extraData)==null?void 0:x.departure)==null?void 0:L.atd)||((Z=(U=l.extraData)==null?void 0:U.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",lM,[aM,e.createElementVNode("div",nM,[e.createElementVNode("span",sM,e.toDisplayString((P=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:P.name),1),e.createElementVNode("span",iM,e.toDisplayString(a.computeUTCTime(((I=(g=l.extraData)==null?void 0:g.arrival)==null?void 0:I.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",cM,[dM,e.createElementVNode("div",rM,[e.createElementVNode("div",mM,[pM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.extraData)==null?void 0:M.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",hM,[yM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((z=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:z.totalExtraTime)??"—"),3)]),e.createElementVNode("div",EM,[_M,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",fM,[gM,e.createElementVNode("div",DM,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,bM),xM])]),((he=o.report)==null?void 0:he.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",CM,[SM,e.createElementVNode("div",kM,[BM,e.createElementVNode("div",AM,[wM,e.createElementVNode("div",TM,e.toDisplayString(a.computedLngLat((Ne=l.extraData)==null?void 0:Ne.startLat,(Ve=l.extraData)==null?void 0:Ve.startLng)),1),e.createElementVNode("div",uM,e.toDisplayString(a.computeUTCTime((fe=l.extraData)==null?void 0:fe.startTime)),1),e.createElementVNode("div",OM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",FM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(De=l.extraData)==null?void 0:De.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),PM,LM]),e.createElementVNode("div",WM,[HM,e.createElementVNode("div",MM,e.toDisplayString(a.computedLngLat((be=l.extraData)==null?void 0:be.endLat,(xe=l.extraData)==null?void 0:xe.endLng)),1),e.createElementVNode("div",GM,e.toDisplayString(a.computeUTCTime((Ce=l.extraData)==null?void 0:Ce.endTime)),1),e.createElementVNode("div",IM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",RM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",zM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",UM,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(ye=l.extraData)==null?void 0:ye.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",YM,[ZM,$M,e.createElementVNode("div",QM,e.toDisplayString(((me=(W=l.extraData)==null?void 0:W.timeAnalysis)==null?void 0:me.actualTime)??"—"),1),e.createElementVNode("div",JM,e.toDisplayString(((Le=(Pe=(Fe=l.extraData)==null?void 0:Fe.consAnalysis)==null?void 0:Pe.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",KM,e.toDisplayString(((Ye=(We=(ke=l.extraData)==null?void 0:ke.consAnalysis)==null?void 0:We.dgo)==null?void 0:Ye.actualCons)??"—"),1),qM,jM])])])):e.createCommentVNode("",!0),e.createElementVNode("div",XM,[vM,e.createElementVNode("div",eG,[e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,e.toDisplayString(((Y=(Ze=l.extraData)==null?void 0:Ze.cp)==null?void 0:Y.speed)??"—"),1)]),e.createElementVNode("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString(((Me=(we=l.extraData)==null?void 0:we.cp)==null?void 0:Me.fo)??"—"),1)]),e.createElementVNode("div",iG,[cG,e.createElementVNode("div",dG,e.toDisplayString(((Qe=($e=l.extraData)==null?void 0:$e.cp)==null?void 0:Qe.dgo)??"—"),1)])])]),e.createElementVNode("div",rG,[e.createElementVNode("div",mG,[pG,e.createElementVNode("div",hG,[e.createVNode(D,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["onClick"])])]),e.createElementVNode("div",yG,[e.createElementVNode("table",null,[EG,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,po)=>{var ja,Xa,va,mt,nn,sn,cn,dn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:po},[e.createElementVNode("tr",null,[e.createElementVNode("td",_G,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:Wt=>a.handleCommit("port","name",Wt,po)},null,8,["value","options","onSelect","onCommit"])]),NG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(ja=ne==null?void 0:ne.arrival)==null?void 0:ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.date",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=ne==null?void 0:ne.arrival)==null?void 0:Xa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.foBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(va=ne==null?void 0:ne.arrival)==null?void 0:va.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","arrival.dgoBrob",Wt,po)},null,8,["value","onCommit"])]),VG,fG,e.createElementVNode("td",gG,[e.createVNode(D,{size:20,onClick:Wt=>a.handleRemove(po)},{default:e.withCtx(()=>[e.createVNode(f)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[DG,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(mt=ne==null?void 0:ne.departure)==null?void 0:mt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:Wt=>a.handleCommit("port","departure.date",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.foBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.dgoBrob",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(cn=ne==null?void 0:ne.departure)==null?void 0:cn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.bunkeringFo",Wt,po)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(dn=ne==null?void 0:ne.departure)==null?void 0:dn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:Wt=>a.handleCommit("port","departure.bunkeringDgo",Wt,po)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[bG,xG,e.createElementVNode("td",null,e.toDisplayString(((Ke=(Je=l.extraData)==null?void 0:Je.timeAnalysis)==null?void 0:Ke.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((q=(_=(qe=l.extraData)==null?void 0:qe.consAnalysis)==null?void 0:_.fo)==null?void 0:q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Ge=(He=(Te=l.extraData)==null?void 0:Te.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ge.portCons)??"—"),1),CG,SG,kG])])])])]),e.createElementVNode("div",BG,[AG,e.createElementVNode("div",wG,[TG,e.createElementVNode("div",uG,[OG,e.createElementVNode("div",FG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",PG,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(je=l.extraData)==null?void 0:je.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",LG,[WG,e.createElementVNode("div",HG,e.toDisplayString(((ve=l.extraData)==null?void 0:ve.extraDist)??"—"),1)])])]),e.createElementVNode("div",MG,[GG,((et=o.report)==null?void 0:et.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",IG,[e.createElementVNode("div",RG,[zG,e.createElementVNode("div",UG,[e.createElementVNode("div",null,e.toDisplayString((lt=l.extraData)==null?void 0:lt.extraDist),1),YG,e.createElementVNode("div",null,e.toDisplayString((nt=(at=l.extraData)==null?void 0:at.cp)==null?void 0:nt.speed),1)]),ZG,e.createElementVNode("div",$G,e.toDisplayString((ht=(st=l.extraData)==null?void 0:st.timeAnalysis)==null?void 0:ht.sailingTime),1),QG]),e.createElementVNode("div",JG,[KG,e.createElementVNode("div",qG,e.toDisplayString((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.sailingTime),1),jG,e.createElementVNode("div",XG,e.toDisplayString(a.computeNum((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.portTime)),1),vG,e.createElementVNode("div",eI,e.toDisplayString((ft=(Vt=l.extraData)==null?void 0:Vt.timeAnalysis)==null?void 0:ft.totalExtraTime),1),tI])])):(e.openBlock(),e.createElementBlock("div",oI,[e.createElementVNode("div",lI,[aI,e.createElementVNode("div",nI,[e.createElementVNode("div",null,e.toDisplayString((gt=l.extraData)==null?void 0:gt.priorDist),1),sI,e.createElementVNode("div",null,e.toDisplayString((bt=(Dt=l.extraData)==null?void 0:Dt.cp)==null?void 0:bt.speed),1)]),iI,e.createElementVNode("div",cI,e.toDisplayString((Ct=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:Ct.sailingTime),1),dI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",rI,[mI,e.createElementVNode("div",pI,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.actualTime),1),hI,e.createElementVNode("div",yI,e.toDisplayString((At=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:At.sailingTime),1),EI,e.createElementVNode("div",_I,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.totalExtraTime),1),NI])):(e.openBlock(),e.createElementBlock("div",VI,[fI,e.createElementVNode("div",gI,e.toDisplayString((Ot=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Ot.actualTime),1),DI,e.createElementVNode("div",bI,e.toDisplayString((ho=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:ho.sailingTime),1),xI,e.createElementVNode("div",CI,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.portTime),1),SI,e.createElementVNode("div",kI,e.toDisplayString((go=(fo=l.extraData)==null?void 0:fo.timeAnalysis)==null?void 0:go.totalExtraTime),1),BI]))])),(($=o.report)==null?void 0:$.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",AI,[e.createElementVNode("div",wI,[TI,e.createElementVNode("div",uI,e.toDisplayString(((Ft=(ot=l.extraData)==null?void 0:ot.timeAnalysis)==null?void 0:Ft.sailingTime)??"—"),1)]),e.createElementVNode("div",OI,[FI,e.createElementVNode("div",PI,e.toDisplayString(((Gt=(Pt=l.extraData)==null?void 0:Pt.timeAnalysis)==null?void 0:Gt.portTime)??"—"),1)]),e.createElementVNode("div",LI,[WI,e.createElementVNode("div",HI,e.toDisplayString(((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",MI,[e.createElementVNode("div",GI,[II,e.createElementVNode("div",RI,e.toDisplayString((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.sailingTime),1)]),e.createElementVNode("div",zI,[UI,e.createElementVNode("div",YI,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",ZI,[$I,e.createElementVNode("div",QI,e.toDisplayString(((Qt=($t=l.extraData)==null?void 0:$t.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",JI,[KI,e.createElementVNode("div",qI,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",jI,[XI,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",vI,[e.createElementVNode("div",eR,[tR,e.createElementVNode("div",oR,[e.createElementVNode("div",null,e.toDisplayString((jt=l.extraData)==null?void 0:jt.extraDist),1),lR,e.createElementVNode("div",null,e.toDisplayString((vt=(Xt=l.extraData)==null?void 0:Xt.cp)==null?void 0:vt.speed),1)]),aR,e.createElementVNode("div",nR,[e.createElementVNode("div",null,e.toDisplayString((to=(eo=l.extraData)==null?void 0:eo.cp)==null?void 0:to.fo),1),sR,iR]),cR,e.createElementVNode("div",dR,e.toDisplayString((ao=(lo=(oo=l.extraData)==null?void 0:oo.consAnalysis)==null?void 0:lo.fo)==null?void 0:ao.sailingCons),1),rR]),e.createElementVNode("div",mR,[pR,e.createElementVNode("div",hR,e.toDisplayString((io=(so=(no=l.extraData)==null?void 0:no.consAnalysis)==null?void 0:so.fo)==null?void 0:io.sailingCons),1),yR,e.createElementVNode("div",ER,e.toDisplayString(a.computeNum((Do=(ro=(co=l.extraData)==null?void 0:co.consAnalysis)==null?void 0:ro.fo)==null?void 0:Do.portCons)),1),_R,e.createElementVNode("div",NR,e.toDisplayString((Co=(xo=(bo=l.extraData)==null?void 0:bo.consAnalysis)==null?void 0:xo.fo)==null?void 0:Co.totalExtraCons),1),VR]),e.createElementVNode("div",fR,[gR,e.createElementVNode("div",DR,[e.createElementVNode("div",null,e.toDisplayString((So=l.extraData)==null?void 0:So.extraDist),1),bR,e.createElementVNode("div",null,e.toDisplayString((Bo=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Bo.speed),1)]),xR,e.createElementVNode("div",CR,[e.createElementVNode("div",null,e.toDisplayString((wo=(Ao=l.extraData)==null?void 0:Ao.cp)==null?void 0:wo.dgo),1),SR,kR]),BR,e.createElementVNode("div",AR,e.toDisplayString((Oo=(uo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Oo.sailingCons),1),wR]),e.createElementVNode("div",TR,[uR,e.createElementVNode("div",OR,e.toDisplayString((Lo=(Po=(Fo=l.extraData)==null?void 0:Fo.consAnalysis)==null?void 0:Po.dgo)==null?void 0:Lo.sailingCons),1),FR,e.createElementVNode("div",PR,e.toDisplayString(a.computeNum((Mo=(Ho=(Wo=l.extraData)==null?void 0:Wo.consAnalysis)==null?void 0:Ho.dgo)==null?void 0:Mo.portCons)),1),LR,e.createElementVNode("div",WR,e.toDisplayString((Ro=(Io=(Go=l.extraData)==null?void 0:Go.consAnalysis)==null?void 0:Io.dgo)==null?void 0:Ro.totalExtraCons),1),HR])])):(e.openBlock(),e.createElementBlock("div",MR,[e.createElementVNode("div",GR,[IR,e.createElementVNode("div",RR,[e.createElementVNode("div",null,e.toDisplayString((zo=l.extraData)==null?void 0:zo.priorDist),1),zR,e.createElementVNode("div",null,e.toDisplayString(($o=(Zo=l.extraData)==null?void 0:Zo.cp)==null?void 0:$o.speed),1)]),UR,e.createElementVNode("div",YR,[e.createElementVNode("div",null,e.toDisplayString((Jo=(Qo=l.extraData)==null?void 0:Qo.cp)==null?void 0:Jo.fo),1),ZR,$R]),QR,e.createElementVNode("div",JR,e.toDisplayString((jo=(qo=(Ko=l.extraData)==null?void 0:Ko.consAnalysis)==null?void 0:qo.fo)==null?void 0:jo.sailingCons),1),KR]),e.createElementVNode("div",qR,[jR,e.createElementVNode("div",XR,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),vR,e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.speed),1)]),ez,e.createElementVNode("div",tz,[e.createElementVNode("div",null,e.toDisplayString((ol=(tl=l.extraData)==null?void 0:tl.cp)==null?void 0:ol.dgo),1),oz,lz]),az,e.createElementVNode("div",nz,e.toDisplayString((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.dgo)==null?void 0:nl.sailingCons),1),sz]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iz,[cz,e.createElementVNode("div",dz,e.toDisplayString((cl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:cl.actualCons),1),rz,e.createElementVNode("div",mz,e.toDisplayString(a.computeNum((ml=(rl=(dl=l.extraData)==null?void 0:dl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.sailingCons)),1),pz,e.createElementVNode("div",hz,e.toDisplayString((yl=(hl=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:hl.fo)==null?void 0:yl.totalExtraCons),1),yz])):(e.openBlock(),e.createElementBlock("div",Ez,[_z,e.createElementVNode("div",Nz,e.toDisplayString((Nl=(_l=(El=l.extraData)==null?void 0:El.consAnalysis)==null?void 0:_l.fo)==null?void 0:Nl.actualCons),1),Vz,e.createElementVNode("div",fz,e.toDisplayString(a.computeNum((bl=(Lt=(Vl=l.extraData)==null?void 0:Vl.consAnalysis)==null?void 0:Lt.fo)==null?void 0:bl.sailingCons)),1),gz,e.createElementVNode("div",Dz,e.toDisplayString(a.computeNum((Bl=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Bl.portCons)),1),bz,e.createElementVNode("div",xz,e.toDisplayString((Tl=(wl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:wl.fo)==null?void 0:Tl.totalExtraCons),1),Cz])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",Sz,[kz,e.createElementVNode("div",Bz,e.toDisplayString((Fl=(Ol=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.actualCons),1),Az,e.createElementVNode("div",wz,e.toDisplayString((Wl=(Ll=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.sailingCons),1),Tz,e.createElementVNode("div",uz,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.totalExtraCons),1),Oz])):(e.openBlock(),e.createElementBlock("div",Fz,[Pz,e.createElementVNode("div",Lz,e.toDisplayString((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.actualCons),1),Wz,e.createElementVNode("div",Hz,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.sailingCons)),1),Mz,e.createElementVNode("div",Gz,e.toDisplayString(a.computeNum((Jl=(Ql=($l=l.extraData)==null?void 0:$l.consAnalysis)==null?void 0:Ql.dgo)==null?void 0:Jl.portCons)),1),Iz,e.createElementVNode("div",Rz,e.toDisplayString((jl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:jl.totalExtraCons),1),zz]))])),((Xl=o.report)==null?void 0:Xl.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",Uz,[Yz,e.createElementVNode("div",Zz,[$z,e.createElementVNode("div",Qz,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.fo)==null?void 0:ta.sailingCons)??"—"),1),e.createElementVNode("div",Jz,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.dgo)==null?void 0:aa.sailingCons)??"—"),1)]),e.createElementVNode("div",Kz,[qz,e.createElementVNode("div",jz,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.fo)==null?void 0:ia.portCons)??"—"),1),e.createElementVNode("div",Xz,e.toDisplayString(((ra=(da=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:da.dgo)==null?void 0:ra.portCons)??"—"),1)]),e.createElementVNode("div",vz,[eU,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ha=(pa=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:pa.fo)==null?void 0:ha.totalExtraCons)} flex blue center`)},e.toDisplayString(((_a=(Ea=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:Ea.fo)==null?void 0:_a.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)} flex blue center`)},e.toDisplayString(((ba=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.dgo)==null?void 0:ba.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",tU,[oU,e.createElementVNode("div",lU,[aU,e.createElementVNode("div",nU,e.toDisplayString((Sa=(Ca=(xa=l.extraData)==null?void 0:xa.consAnalysis)==null?void 0:Ca.fo)==null?void 0:Sa.sailingCons),1),e.createElementVNode("div",sU,e.toDisplayString((Aa=(Ba=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Ba.dgo)==null?void 0:Aa.sailingCons),1)]),e.createElementVNode("div",iU,[cU,e.createElementVNode("div",dU,e.toDisplayString((ua=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.fo)==null?void 0:ua.actualCons),1),e.createElementVNode("div",rU,e.toDisplayString((Pa=(Fa=(Oa=l.extraData)==null?void 0:Oa.consAnalysis)==null?void 0:Fa.dgo)==null?void 0:Pa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",mU,[pU,e.createElementVNode("div",hU,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.fo)==null?void 0:Ha.portCons),1),e.createElementVNode("div",yU,e.toDisplayString((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.dgo)==null?void 0:Ia.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",EU,[_U,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons)} flex blue center`)},e.toDisplayString(($a=(Za=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:Za.fo)==null?void 0:$a.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((mo=(ae=(Qa=l.extraData)==null?void 0:Qa.consAnalysis)==null?void 0:ae.dgo)==null?void 0:mo.totalExtraCons)} flex blue center`)},e.toDisplayString((qa=(Ka=(Ja=l.extraData)==null?void 0:Ja.consAnalysis)==null?void 0:Ka.dgo)==null?void 0:qa.totalExtraCons),3)])]))]),e.createElementVNode("div",NU,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,VU))],2)])])}const Wn=Ee(WH,[["render",fU],["__scopeId","data-v-1413248b"]]),mle="",gU={name:"FliDvtRpt",components:{CirclePlus:ln.CirclePlus,Remove:ln.Remove,EditableItem:Ln,Editor:Uo},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+E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wo6Zt9bxbJ2nJf0PKKaXO6nknbkU6D83hkRJOViMBLdKUi9mJNC9Hk+D9jB9IrNEcqTXFAhbdS+4KimMjrk8zFcTFaFI/lcCieUHSE810Jr6Qv67F1NopHbJOzjBKpOkdilSIlShshpRXU+mluTCaS6NETkSaDqFEBDRBG6vMaNeTwbHIL0UOUJqQJS5FEQ3kI4uVrJEgq3AzTdNYuVw8wKJ3XIlM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${O(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(ie.LngLatHelper.lat2pretty(t)),c=this.fetchLonLat(ie.LngLatHelper.lng2pretty(n));return`${o} / ${c}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${ie.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,c;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(c=this.data)==null?void 0:c.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await xl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,c,l,a,m;this.extraPortList.splice(t,1);const n=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(c=n==null?void 0:n.data)==null?void 0:c.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(m=this.data)==null?void 0:m.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,c){var m,i,p,D,f;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),C=n.substring(l+1);C!=="date"&&(o=Number(o)),this.extraPortList[c][V][C]=o}else this.extraPortList[c][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const h=await xl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(m=h==null?void 0:h.data)==null?void 0:m.data,this.extraPortList=(p=(i=h==null?void 0:h.data)==null?void 0:i.data)==null?void 0:p.extraPorts,this.advisory=(D=this.data)!=null&&D.comments?(f=this.data)==null?void 0:f.comments:void 0}else En.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},w=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),DU={class:"deviation-report"},bU=w(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),xU={class:"report-header"},CU={class:"header-title",style:{position:"relative !important"}},SU={class:"header-title-content"},kU=w(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),BU={class:"title-date"},AU={class:"report-summary"},wU={class:"summary-item"},TU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),uU={class:"flexL gray"},OU={class:"summary-item"},FU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),PU={class:"flexL gray"},LU={class:"summary-item"},WU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),HU={class:"flexL gray"},MU={class:"summary-item"},GU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IU={class:"flexL gray"},RU={class:"summary-item"},zU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),UU={class:"flexL gray",style:{display:"flex"}},YU={class:"flex"},ZU={class:"flexM"},$U={class:"summary-item"},QU=w(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JU={class:"flexL gray",style:{display:"flex"}},KU={class:"flex"},qU={class:"flexM"},jU=w(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),XU={class:"report-summary"},vU={class:"summary-item"},eY=w(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),tY={class:"summary-item"},oY=w(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),lY={class:"summary-item"},aY=w(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),nY={class:"summary-item"},sY=w(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),iY=w(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),cY={class:"report-map"},dY=["src"],rY=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),mY=w(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),pY={key:0,class:"subtitle"},hY={key:1,class:"report-summary"},yY=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),EY={class:"summary-item"},_Y=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),NY={class:"blue center",style:{width:"20%"}},VY={class:"blue center",style:{width:"17%"}},fY={class:"flex blue center"},gY={class:"flex blue center"},DY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),bY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),xY={class:"summary-item"},CY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),SY={class:"blue center",style:{width:"20%"}},kY={class:"blue center",style:{width:"17%"}},BY={class:"flex blue center"},AY={class:"flex blue center"},wY={class:"flex blue center"},TY={class:"flex blue center"},uY={class:"summary-item"},OY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),FY=w(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),PY={class:"blue center",style:{width:"17%"}},LY={class:"flex blue center"},WY={class:"flex blue center"},HY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),MY=w(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),GY=w(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),IY={class:"report-summary"},RY={class:"summary-item"},zY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),UY={class:"flexL blue center"},YY={class:"summary-item"},ZY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),$Y={class:"flexL blue center"},QY={class:"summary-item"},JY=w(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),KY={class:"flexL blue center"},qY={class:"subtitle port"},jY=w(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),XY={class:"print-hidden"},vY={class:"report-port"},eZ=w(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),tZ={rowspan:2},oZ=w(()=>e.createElementVNode("td",null,"Arrival",-1)),lZ=w(()=>e.createElementVNode("td",null,null,-1)),aZ=w(()=>e.createElementVNode("td",null,null,-1)),nZ={rowspan:2,class:"print-hidden"},sZ=w(()=>e.createElementVNode("td",null,"Departure",-1)),iZ=w(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),cZ=w(()=>e.createElementVNode("td",null,null,-1)),dZ=w(()=>e.createElementVNode("td",null,null,-1)),rZ=w(()=>e.createElementVNode("td",null,null,-1)),mZ=w(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),pZ=w(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),hZ={class:"report-summary"},yZ=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),EZ={class:"summary-item"},_Z=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),NZ={class:"flex blue center"},VZ={class:"flex blue center"},fZ={class:"summary-item"},gZ=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),DZ={class:"flex blue center"},bZ=w(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),xZ={key:2,class:"report-formular"},CZ={class:"equation"},SZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),kZ={class:"function",style:{width:"20%"}},BZ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),wZ={style:{width:"10%"}},TZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uZ={class:"equation"},OZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),FZ={style:{width:"5%"}},PZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),LZ={style:{width:"8%"}},WZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),HZ={style:{width:"4%"}},MZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),GZ={key:3,class:"report-formular"},IZ={class:"equation"},RZ=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),zZ={class:"function",style:{width:"20%"}},UZ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),YZ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),ZZ={style:{width:"10%"}},$Z=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),QZ={key:0,class:"equation"},JZ=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),KZ={style:{width:"5%"}},qZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),jZ={style:{width:"5%"}},XZ=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),vZ={style:{width:"5%"}},e$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),t$={key:1,class:"equation"},o$=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),l$={style:{width:"5%"}},a$=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),n$={style:{width:"5%"}},s$=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),i$={style:{width:"5%"}},c$=w(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),d$={style:{width:"5%"}},r$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),m$={key:4,class:"report-summary"},p$={class:"summary-item"},h$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),y$={class:"flex blue center"},E$={class:"summary-item"},_$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),N$={class:"flex blue center"},V$={class:"summary-item"},f$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),g$={class:"flex blue center"},D$={key:5,class:"report-summary"},b$={class:"summary-item"},x$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),C$={class:"flex blue center"},S$={class:"summary-item"},k$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),B$={class:"flex blue center"},A$={key:0,class:"summary-item"},w$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),T$={class:"flex blue center"},u$={class:"summary-item"},O$=w(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),F$={class:"flex blue center"},P$=w(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),L$={key:6,class:"report-formular"},W$={class:"equation"},H$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),M$={class:"function",style:{width:"5%"}},G$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),I$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),R$={class:"function",style:{width:"5%"}},z$=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),U$=w(()=>e.createElementVNode("div",null,"24",-1)),Y$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),Z$={style:{width:"5%"}},$$=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),Q$={class:"equation"},J$=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),K$={style:{width:"5%"}},q$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),j$={style:{width:"5%"}},X$=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),v$={style:{width:"5%"}},eQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tQ={class:"equation"},oQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),lQ={class:"function",style:{width:"5%"}},aQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sQ={class:"function",style:{width:"5%"}},iQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cQ=w(()=>e.createElementVNode("div",null,"24",-1)),dQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rQ={style:{width:"5%"}},mQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),pQ={class:"equation"},hQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),yQ={style:{width:"5%"}},EQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_Q={style:{width:"5%"}},NQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VQ={style:{width:"5%"}},fQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gQ={key:7,class:"report-formular"},DQ={class:"equation"},bQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),xQ={class:"function",style:{width:"5%"}},CQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),kQ={class:"function",style:{width:"5%"}},BQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AQ=w(()=>e.createElementVNode("div",null,"24",-1)),wQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),TQ={style:{width:"5%"}},uQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),OQ={class:"equation"},FQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),PQ={class:"function",style:{width:"5%"}},LQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),WQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),HQ={class:"function",style:{width:"5%"}},MQ=w(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),GQ=w(()=>e.createElementVNode("div",null,"24",-1)),IQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RQ={style:{width:"5%"}},zQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UQ={key:0,class:"equation"},YQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),ZQ={style:{width:"5%"}},$Q=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),QQ={style:{width:"5%"}},JQ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),KQ={style:{width:"5%"}},qQ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),jQ={key:1,class:"equation"},XQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),vQ={style:{width:"5%"}},eJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),tJ={style:{width:"5%"}},oJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),lJ={style:{width:"5%"}},aJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nJ={style:{width:"5%"}},sJ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iJ={key:2,class:"equation"},cJ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),dJ={style:{width:"5%"}},rJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),mJ={style:{width:"5%"}},pJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),hJ={style:{width:"5%"}},yJ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),EJ={key:3,class:"equation"},_J=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),NJ={style:{width:"5%"}},VJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),fJ={style:{width:"5%"}},gJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),DJ={style:{width:"5%"}},bJ=w(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xJ={style:{width:"5%"}},CJ=w(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),SJ={key:8,class:"report-summary"},kJ=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),BJ={class:"summary-item"},AJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),wJ={class:"flex blue center"},TJ={class:"flex blue center"},uJ={class:"summary-item"},OJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),FJ={class:"flex blue center"},PJ={class:"flex blue center"},LJ={class:"summary-item"},WJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),HJ={key:9,class:"report-summary"},MJ=w(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),GJ={class:"summary-item"},IJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),RJ={class:"flex blue center"},zJ={class:"flex blue center"},UJ={class:"summary-item"},YJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),ZJ={class:"flex blue center"},$J={class:"flex blue center"},QJ={key:0,class:"summary-item"},JJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),KJ={class:"flex blue center"},qJ={class:"flex blue center"},jJ={class:"summary-item"},XJ=w(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),vJ=["innerHTML"];function eK(t,n,o,c,l,a){var h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke,We,Ye,Ze,Y,we,Me,$e,Qe,Je,Ke,qe,_,q,Te,He,Ge,pe,je,ve,et,lt,at,nt,st,ht,yt,Et,_t,Nt,Vt,ft,gt,Dt,bt,xt,Ct,St,kt,Bt,At,wt,Tt,ut,Ot,Mt,ho,No,Vo,fo,go,$,ot,Ft,Pt,Gt,It,Rt,zt,Ut,Yt,Zt,$t,Qt,Jt,Kt,qt,jt,Xt,vt,eo,to,oo,lo,ao,no,so,io,co,ro,Do,bo,xo,Co,So,ko,Bo,Ao,wo,To,uo,Oo,Fo,Po,Lo,Wo,Ho,Mo,Go,Io,Ro,zo,Zo,$o,Qo,Jo,Ko,qo,jo,Xo,vo,el,tl,ol,ll,al,nl,sl,il,cl,dl,rl,ml,pl,hl,yl,El,_l,Nl,Vl,Lt,bl,Sl,kl,Bl,Al,wl,Tl,ul,Ol,Fl,Pl,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,$l,Ql,Jl,Kl,ql,jl,Xl,vl,ea,ta,oa,la,aa,na,sa,ia,ca,da,ra,ma,pa,ha,ya,Ea,_a,Na,Va,fa,ga,Da,ba,xa,Ca,Sa,ka,Ba,Aa,wa,Ta,ua,Oa,Fa,Pa,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,Za,$a,Qa;const m=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),p=e.resolveComponent("ElIcon"),D=e.resolveComponent("Remove"),f=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",DU,[bU,e.createElementVNode("div",xU,[e.createElementVNode("div",CU,[e.createElementVNode("div",SU,[kU,e.createElementVNode("div",BU,e.toDisplayString(a.computeUTCTime((h=l.extraData)==null?void 0:h.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",AU,[e.createElementVNode("div",wU,[TU,e.createElementVNode("div",uU,e.toDisplayString((C=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:C.name),1)]),e.createElementVNode("div",OU,[FU,e.createElementVNode("div",PU,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",LU,[WU,e.createElementVNode("div",HU,e.toDisplayString((S=(k=l.extraData)==null?void 0:k.vessel)==null?void 0:S.type),1)]),e.createElementVNode("div",MU,[GU,e.createElementVNode("div",IU,e.toDisplayString((A=(B=l.extraData)==null?void 0:B.voyage)==null?void 0:A.number),1)]),e.createElementVNode("div",RU,[zU,e.createElementVNode("div",UU,[e.createElementVNode("span",YU,e.toDisplayString((F=(u=l.extraData)==null?void 0:u.departure)==null?void 0:F.name),1),e.createElementVNode("span",ZU,e.toDisplayString(a.computeUTCTime(((L=(x=l.extraData)==null?void 0:x.departure)==null?void 0:L.atd)||((Z=(U=l.extraData)==null?void 0:U.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",$U,[QU,e.createElementVNode("div",JU,[e.createElementVNode("span",KU,e.toDisplayString((P=(R=l.extraData)==null?void 0:R.arrival)==null?void 0:P.name),1),e.createElementVNode("span",qU,e.toDisplayString(a.computeUTCTime(((I=(g=l.extraData)==null?void 0:g.arrival)==null?void 0:I.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])]),jU,e.createElementVNode("div",XU,[e.createElementVNode("div",vU,[eY,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.extraData)==null?void 0:M.extraDist)} flex blue`)},e.toDisplayString(((Q=l.extraData)==null?void 0:Q.extraDist)??"—"),3)]),e.createElementVNode("div",tY,[oY,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:K.totalExtraTime)} flex blue`)},e.toDisplayString(((z=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:z.totalExtraTime)??"—"),3)]),e.createElementVNode("div",lY,[aY,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:X.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(v=(d=l.extraData)==null?void 0:d.consAnalysis)==null?void 0:v.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",nY,[sY,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ce=(se=(ee=l.extraData)==null?void 0:ee.consAnalysis)==null?void 0:se.dgo)==null?void 0:ce.totalExtraCons)} flex blue`)},e.toDisplayString(((_e=(re=(de=l.extraData)==null?void 0:de.consAnalysis)==null?void 0:re.dgo)==null?void 0:_e.totalExtraCons)??"—"),3)])]),iY,e.createElementVNode("div",cY,[e.createElementVNode("img",{style:{width:"100%"},src:(le=l.extraData)==null?void 0:le.chartUrl,alt:""},null,8,dY),rY]),mY,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pY,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",hY,[yY,e.createElementVNode("div",EY,[_Y,e.createElementVNode("div",NY,e.toDisplayString(a.computedLngLat((he=l.extraData)==null?void 0:he.startLng,(Ne=l.extraData)==null?void 0:Ne.startLat)),1),e.createElementVNode("div",VY,e.toDisplayString(a.computeUTCTime((Ve=l.extraData)==null?void 0:Ve.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",fY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",gY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(ge=l.extraData)==null?void 0:ge.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),DY,bY]),e.createElementVNode("div",xY,[CY,e.createElementVNode("div",SY,e.toDisplayString(a.computedLngLat((De=l.extraData)==null?void 0:De.endLng,(be=l.extraData)==null?void 0:be.endLat)),1),e.createElementVNode("div",kY,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",BY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",AY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Se=l.extraData)==null?void 0:Se.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",wY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(ue=l.extraData)==null?void 0:ue.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",TY,[e.createVNode(m,{style:{padding:"0px"},class:"editable-item",value:(Oe=l.extraData)==null?void 0:Oe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",uY,[OY,FY,e.createElementVNode("div",PY,e.toDisplayString(((W=(ye=l.extraData)==null?void 0:ye.timeAnalysis)==null?void 0:W.actualTime)??"—"),1),e.createElementVNode("div",LY,e.toDisplayString(((Pe=(Fe=(me=l.extraData)==null?void 0:me.consAnalysis)==null?void 0:Fe.fo)==null?void 0:Pe.actualCons)??"—"),1),e.createElementVNode("div",WY,e.toDisplayString(((We=(ke=(Le=l.extraData)==null?void 0:Le.consAnalysis)==null?void 0:ke.dgo)==null?void 0:We.actualCons)??"—"),1),HY,MY])])),GY,e.createElementVNode("div",IY,[e.createElementVNode("div",RY,[zY,e.createElementVNode("div",UY,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.cp)==null?void 0:Ze.speed)??"—"),1)]),e.createElementVNode("div",YY,[ZY,e.createElementVNode("div",$Y,e.toDisplayString(((we=(Y=l.extraData)==null?void 0:Y.cp)==null?void 0:we.fo)??"—"),1)]),e.createElementVNode("div",QY,[JY,e.createElementVNode("div",KY,e.toDisplayString((($e=(Me=l.extraData)==null?void 0:Me.cp)==null?void 0:$e.dgo)??"—"),1)])]),e.createElementVNode("div",qY,[jY,e.createElementVNode("div",XY,[e.createVNode(p,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",vY,[e.createElementVNode("table",null,[eZ,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,mo)=>{var Ja,Ka,qa,ne,po,ja,Xa,va;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",tZ,[e.createVNode(m,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:mt=>a.handleCommit("port","name",mt,mo)},null,8,["value","options","onSelect","onCommit"])]),oZ,e.createElementVNode("td",null,[e.createVNode(m,{class:"check editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:mt=>a.handleCommit("port","arrival.date",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(Ka=ae==null?void 0:ae.arrival)==null?void 0:Ka.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","arrival.foBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(qa=ae==null?void 0:ae.arrival)==null?void 0:qa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","arrival.dgoBrob",mt,mo)},null,8,["value","onCommit"])]),lZ,aZ,e.createElementVNode("td",nZ,[e.createVNode(p,{size:20,onClick:mt=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(D)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[sZ,e.createElementVNode("td",null,[e.createVNode(m,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:mt=>a.handleCommit("port","departure.date",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(po=ae==null?void 0:ae.departure)==null?void 0:po.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.foBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(ja=ae==null?void 0:ae.departure)==null?void 0:ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.dgoBrob",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(Xa=ae==null?void 0:ae.departure)==null?void 0:Xa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.bunkeringFo",mt,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(m,{class:"editable-item",value:(va=ae==null?void 0:ae.departure)==null?void 0:va.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:mt=>a.handleCommit("port","departure.bunkeringDgo",mt,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[iZ,cZ,e.createElementVNode("td",null,e.toDisplayString(((Je=(Qe=l.extraData)==null?void 0:Qe.timeAnalysis)==null?void 0:Je.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(qe=(Ke=l.extraData)==null?void 0:Ke.consAnalysis)==null?void 0:qe.fo)==null?void 0:_.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Te=(q=l.extraData)==null?void 0:q.consAnalysis)==null?void 0:Te.dgo)==null?void 0:He.portCons)??"—"),1),dZ,rZ,mZ])])])]),pZ,e.createElementVNode("div",hZ,[yZ,e.createElementVNode("div",EZ,[_Z,e.createElementVNode("div",NZ,[e.createVNode(m,{class:"editable-item",style:{padding:"0px"},value:(Ge=l.extraData)==null?void 0:Ge.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",VZ,[e.createVNode(m,{class:"editable-item",style:{padding:"0px"},value:(pe=l.extraData)==null?void 0:pe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",fZ,[gZ,e.createElementVNode("div",DZ,e.toDisplayString(((je=l.extraData)==null?void 0:je.extraDist)??"—"),1)])]),bZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",xZ,[e.createElementVNode("div",CZ,[SZ,e.createElementVNode("div",kZ,[e.createElementVNode("div",null,e.toDisplayString((ve=l.extraData)==null?void 0:ve.extraDist),1),BZ,e.createElementVNode("div",null,e.toDisplayString((lt=(et=l.extraData)==null?void 0:et.cp)==null?void 0:lt.speed),1)]),AZ,e.createElementVNode("div",wZ,e.toDisplayString((nt=(at=l.extraData)==null?void 0:at.timeAnalysis)==null?void 0:nt.sailingTime),1),TZ]),e.createElementVNode("div",uZ,[OZ,e.createElementVNode("div",FZ,e.toDisplayString((ht=(st=l.extraData)==null?void 0:st.timeAnalysis)==null?void 0:ht.sailingTime),1),PZ,e.createElementVNode("div",LZ,e.toDisplayString(a.computeNum((Et=(yt=l.extraData)==null?void 0:yt.timeAnalysis)==null?void 0:Et.portTime)),1),WZ,e.createElementVNode("div",HZ,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),MZ])])):(e.openBlock(),e.createElementBlock("div",GZ,[e.createElementVNode("div",IZ,[RZ,e.createElementVNode("div",zZ,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),UZ,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),YZ,e.createElementVNode("div",ZZ,e.toDisplayString((bt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:bt.sailingTime),1),$Z]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",QZ,[JZ,e.createElementVNode("div",KZ,e.toDisplayString((Ct=(xt=l.extraData)==null?void 0:xt.timeAnalysis)==null?void 0:Ct.actualTime),1),qZ,e.createElementVNode("div",jZ,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),XZ,e.createElementVNode("div",vZ,e.toDisplayString((At=(Bt=l.extraData)==null?void 0:Bt.timeAnalysis)==null?void 0:At.totalExtraTime),1),e$])):(e.openBlock(),e.createElementBlock("div",t$,[o$,e.createElementVNode("div",l$,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),a$,e.createElementVNode("div",n$,e.toDisplayString((Ot=(ut=l.extraData)==null?void 0:ut.timeAnalysis)==null?void 0:Ot.sailingTime),1),s$,e.createElementVNode("div",i$,e.toDisplayString((ho=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:ho.portTime),1),c$,e.createElementVNode("div",d$,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),r$]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",m$,[e.createElementVNode("div",p$,[h$,e.createElementVNode("div",y$,e.toDisplayString(((go=(fo=l.extraData)==null?void 0:fo.timeAnalysis)==null?void 0:go.sailingTime)??"—"),1)]),e.createElementVNode("div",E$,[_$,e.createElementVNode("div",N$,e.toDisplayString(((ot=($=l.extraData)==null?void 0:$.timeAnalysis)==null?void 0:ot.portTime)??"—"),1)]),e.createElementVNode("div",V$,[f$,e.createElementVNode("div",g$,e.toDisplayString(((Pt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Pt.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",D$,[e.createElementVNode("div",b$,[x$,e.createElementVNode("div",C$,e.toDisplayString((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.sailingTime),1)]),e.createElementVNode("div",S$,[k$,e.createElementVNode("div",B$,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",A$,[w$,e.createElementVNode("div",T$,e.toDisplayString(((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",u$,[O$,e.createElementVNode("div",F$,e.toDisplayString(($t=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:$t.totalExtraTime),1)])])),P$,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",L$,[e.createElementVNode("div",W$,[H$,e.createElementVNode("div",M$,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),G$,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),I$,e.createElementVNode("div",R$,[e.createElementVNode("div",null,e.toDisplayString((jt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:jt.fo),1),z$,U$]),Y$,e.createElementVNode("div",Z$,e.toDisplayString((eo=(vt=(Xt=l.extraData)==null?void 0:Xt.consAnalysis)==null?void 0:vt.fo)==null?void 0:eo.sailingCons),1),$$]),e.createElementVNode("div",Q$,[J$,e.createElementVNode("div",K$,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),q$,e.createElementVNode("div",j$,e.toDisplayString(a.computeNum((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.portCons)),1),X$,e.createElementVNode("div",v$,e.toDisplayString((ro=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:ro.totalExtraCons),1),eQ]),e.createElementVNode("div",tQ,[oQ,e.createElementVNode("div",lQ,[e.createElementVNode("div",null,e.toDisplayString((Do=l.extraData)==null?void 0:Do.extraDist),1),aQ,e.createElementVNode("div",null,e.toDisplayString((xo=(bo=l.extraData)==null?void 0:bo.cp)==null?void 0:xo.speed),1)]),nQ,e.createElementVNode("div",sQ,[e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.dgo),1),iQ,cQ]),dQ,e.createElementVNode("div",rQ,e.toDisplayString((Ao=(Bo=(ko=l.extraData)==null?void 0:ko.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:Ao.sailingCons),1),mQ]),e.createElementVNode("div",pQ,[hQ,e.createElementVNode("div",yQ,e.toDisplayString((uo=(To=(wo=l.extraData)==null?void 0:wo.consAnalysis)==null?void 0:To.dgo)==null?void 0:uo.sailingCons),1),EQ,e.createElementVNode("div",_Q,e.toDisplayString(a.computeNum((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.portCons)),1),NQ,e.createElementVNode("div",VQ,e.toDisplayString((Ho=(Wo=(Lo=l.extraData)==null?void 0:Lo.consAnalysis)==null?void 0:Wo.dgo)==null?void 0:Ho.totalExtraCons),1),fQ])])):(e.openBlock(),e.createElementBlock("div",gQ,[e.createElementVNode("div",DQ,[bQ,e.createElementVNode("div",xQ,[e.createElementVNode("div",null,e.toDisplayString((Mo=l.extraData)==null?void 0:Mo.priorDist),1),CQ,e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.speed),1)]),SQ,e.createElementVNode("div",kQ,[e.createElementVNode("div",null,e.toDisplayString((zo=(Ro=l.extraData)==null?void 0:Ro.cp)==null?void 0:zo.fo),1),BQ,AQ]),wQ,e.createElementVNode("div",TQ,e.toDisplayString((Qo=($o=(Zo=l.extraData)==null?void 0:Zo.consAnalysis)==null?void 0:$o.fo)==null?void 0:Qo.sailingCons),1),uQ]),e.createElementVNode("div",OQ,[FQ,e.createElementVNode("div",PQ,[e.createElementVNode("div",null,e.toDisplayString((Jo=l.extraData)==null?void 0:Jo.priorDist),1),LQ,e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=l.extraData)==null?void 0:Ko.cp)==null?void 0:qo.speed),1)]),WQ,e.createElementVNode("div",HQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:Xo.dgo),1),MQ,GQ]),IQ,e.createElementVNode("div",RQ,e.toDisplayString((tl=(el=(vo=l.extraData)==null?void 0:vo.consAnalysis)==null?void 0:el.dgo)==null?void 0:tl.sailingCons),1),zQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",UQ,[YQ,e.createElementVNode("div",ZQ,e.toDisplayString((al=(ll=(ol=l.extraData)==null?void 0:ol.consAnalysis)==null?void 0:ll.fo)==null?void 0:al.actualCons),1),$Q,e.createElementVNode("div",QQ,e.toDisplayString(a.computeNum((il=(sl=(nl=l.extraData)==null?void 0:nl.consAnalysis)==null?void 0:sl.fo)==null?void 0:il.sailingCons)),1),JQ,e.createElementVNode("div",KQ,e.toDisplayString((rl=(dl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:dl.fo)==null?void 0:rl.totalExtraCons),1),qQ])):(e.openBlock(),e.createElementBlock("div",jQ,[XQ,e.createElementVNode("div",vQ,e.toDisplayString((hl=(pl=(ml=l.extraData)==null?void 0:ml.consAnalysis)==null?void 0:pl.fo)==null?void 0:hl.actualCons),1),eJ,e.createElementVNode("div",tJ,e.toDisplayString(a.computeNum((_l=(El=(yl=l.extraData)==null?void 0:yl.consAnalysis)==null?void 0:El.fo)==null?void 0:_l.sailingCons)),1),oJ,e.createElementVNode("div",lJ,e.toDisplayString(a.computeNum((Lt=(Vl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:Vl.fo)==null?void 0:Lt.portCons)),1),aJ,e.createElementVNode("div",nJ,e.toDisplayString((kl=(Sl=(bl=l.extraData)==null?void 0:bl.consAnalysis)==null?void 0:Sl.fo)==null?void 0:kl.totalExtraCons),1),sJ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",iJ,[cJ,e.createElementVNode("div",dJ,e.toDisplayString((wl=(Al=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:Al.dgo)==null?void 0:wl.actualCons),1),rJ,e.createElementVNode("div",mJ,e.toDisplayString((Ol=(ul=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Ol.sailingCons),1),pJ,e.createElementVNode("div",hJ,e.toDisplayString((Ll=(Pl=(Fl=l.extraData)==null?void 0:Fl.consAnalysis)==null?void 0:Pl.dgo)==null?void 0:Ll.totalExtraCons),1),yJ])):(e.openBlock(),e.createElementBlock("div",EJ,[_J,e.createElementVNode("div",NJ,e.toDisplayString((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.actualCons),1),VJ,e.createElementVNode("div",fJ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.sailingCons)),1),gJ,e.createElementVNode("div",DJ,e.toDisplayString(a.computeNum((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.portCons)),1),bJ,e.createElementVNode("div",xJ,e.toDisplayString((Ql=($l=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:$l.dgo)==null?void 0:Ql.totalExtraCons),1),CJ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",SJ,[kJ,e.createElementVNode("div",BJ,[AJ,e.createElementVNode("div",wJ,e.toDisplayString(((ql=(Kl=(Jl=l.extraData)==null?void 0:Jl.consAnalysis)==null?void 0:Kl.fo)==null?void 0:ql.sailingCons)??"—"),1),e.createElementVNode("div",TJ,e.toDisplayString(((vl=(Xl=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:Xl.dgo)==null?void 0:vl.sailingCons)??"—"),1)]),e.createElementVNode("div",uJ,[OJ,e.createElementVNode("div",FJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.fo)==null?void 0:oa.portCons)??"—"),1),e.createElementVNode("div",PJ,e.toDisplayString(((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.dgo)==null?void 0:na.portCons)??"—"),1)]),e.createElementVNode("div",LJ,[WJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ca=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:ca.totalExtraCons)} flex blue center`)},e.toDisplayString(((ma=(ra=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ra.fo)==null?void 0:ma.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ya=(ha=(pa=l.extraData)==null?void 0:pa.consAnalysis)==null?void 0:ha.dgo)==null?void 0:ya.totalExtraCons)} flex blue center`)},e.toDisplayString(((Na=(_a=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:_a.dgo)==null?void 0:Na.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",HJ,[MJ,e.createElementVNode("div",GJ,[IJ,e.createElementVNode("div",RJ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.fo)==null?void 0:ga.sailingCons),1),e.createElementVNode("div",zJ,e.toDisplayString((xa=(ba=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:ba.dgo)==null?void 0:xa.sailingCons),1)]),e.createElementVNode("div",UJ,[YJ,e.createElementVNode("div",ZJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.fo)==null?void 0:ka.actualCons),1),e.createElementVNode("div",$J,e.toDisplayString((wa=(Aa=(Ba=l.extraData)==null?void 0:Ba.consAnalysis)==null?void 0:Aa.dgo)==null?void 0:wa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",QJ,[JJ,e.createElementVNode("div",KJ,e.toDisplayString((Oa=(ua=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:ua.fo)==null?void 0:Oa.portCons),1),e.createElementVNode("div",qJ,e.toDisplayString((La=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.dgo)==null?void 0:La.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",jJ,[XJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons)} flex blue center`)},e.toDisplayString((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.fo)==null?void 0:Ra.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.totalExtraCons)} flex blue center`)},e.toDisplayString((Qa=($a=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:$a.dgo)==null?void 0:Qa.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(f,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,vJ))],2)])}const Hn=Ee(gU,[["render",eK],["__scopeId","data-v-77edf8aa"]]),tK={install(t){t.component("DeviationReport",Wn),t.component("FliDeviationReport",Hn)}},ple="",oK={components:{IdmBrand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK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pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${O(t).utc().format(n)}`}},computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":ie.roundPrecision(t,n)}}}},_o=t=>(e.pushScopeId("data-v-1f8ff012"),t=t(),e.popScopeId(),t),lK={class:"stoppage-report"},aK={class:"report-summary"},nK={class:"summary-item"},sK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),iK={class:"flexL gray"},cK={class:"summary-item"},dK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),rK={class:"flexL gray"},mK={class:"summary-item"},pK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),hK={class:"flexL gray"},yK={class:"summary-item"},EK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),_K={class:"flexL gray"},NK={class:"summary-item"},VK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),fK={class:"flexL gray",style:{display:"flex"}},gK={class:"flex"},DK={class:"flexM"},bK={class:"summary-item"},xK=_o(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),CK={class:"flexL gray",style:{display:"flex"}},SK={class:"flex"},kK={class:"flexM"},BK=_o(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),AK={class:"report-summary"},wK={class:"summary-item"},TK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),uK={class:"summary-item"},OK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),FK={class:"summary-item"},PK=_o(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),LK=_o(()=>e.createElementVNode("div",{class:"subtitle",style:{"page-break-before":"always"}},"Stoppage Info",-1)),WK={class:"report-table"},HK=_o(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),MK=_o(()=>e.createElementVNode("td",null,"Stopped",-1)),GK={rowspan:2},IK={rowspan:2},RK={rowspan:2},zK=_o(()=>e.createElementVNode("td",null,"Resumed",-1)),UK={class:"report-map flex-center"},YK=["src"];function ZK(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce;const m=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",lK,[e.createVNode(m,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",aK,[e.createElementVNode("div",nK,[sK,e.createElementVNode("div",iK,e.toDisplayString((p=(i=o.report)==null?void 0:i.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",cK,[dK,e.createElementVNode("div",rK,e.toDisplayString((D=o.report)==null?void 0:D.preparedFor),1)]),e.createElementVNode("div",mK,[pK,e.createElementVNode("div",hK,e.toDisplayString((h=(f=o.report)==null?void 0:f.vessel)==null?void 0:h.type),1)]),e.createElementVNode("div",yK,[EK,e.createElementVNode("div",_K,e.toDisplayString((C=(V=o.report)==null?void 0:V.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",NK,[VK,e.createElementVNode("div",fK,[e.createElementVNode("span",gK,e.toDisplayString((k=(r=o.report)==null?void 0:r.departure)==null?void 0:k.name),1),e.createElementVNode("span",DK,e.toDisplayString(a.computeUTCTime(((B=(S=o.report)==null?void 0:S.departure)==null?void 0:B.atd)||((u=(A=o.report)==null?void 0:A.departure)==null?void 0:u.etd))),1)])]),e.createElementVNode("div",bK,[xK,e.createElementVNode("div",CK,[e.createElementVNode("span",SK,e.toDisplayString((x=(F=o.report)==null?void 0:F.arrival)==null?void 0:x.name),1),e.createElementVNode("span",kK,e.toDisplayString(a.computeUTCTime(((U=(L=o.report)==null?void 0:L.arrival)==null?void 0:U.ata)||((R=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:R.eta))),1)])])]),BK,e.createElementVNode("div",AK,[e.createElementVNode("div",wK,[TK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((P=o.report)==null?void 0:P.totalTime))},e.toDisplayString(((g=o.report)==null?void 0:g.totalTime)??"—"),5)]),e.createElementVNode("div",uK,[OK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((I=o.report)==null?void 0:I.totalFoCons))},e.toDisplayString(((G=o.report)==null?void 0:G.totalFoCons)??"—"),5)]),e.createElementVNode("div",FK,[PK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((M=o.report)==null?void 0:M.totalDgoCons)??"—"),5)])]),LK,e.createElementVNode("div",WK,[e.createElementVNode("table",null,[HK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[MK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((Q=o.report)==null?void 0:Q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((K=o.report)==null?void 0:K.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((z=o.report)==null?void 0:z.stopDgoBrob)??"-")),1),e.createElementVNode("td",GK,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",IK,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",RK,e.toDisplayString(a.computeRoundPrecision(((X=o.report)==null?void 0:X.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[zK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((d=o.report)==null?void 0:d.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((v=o.report)==null?void 0:v.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((ee=o.report)==null?void 0:ee.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",UK,[e.createElementVNode("img",{src:(ce=o.report)==null?void 0:ce.chartUrl,alt:""},null,8,YK)])])}const Mn=Ee(oK,[["render",ZK],["__scopeId","data-v-1f8ff012"]]),$K={install(t){t.component("StoppageReport",Mn)}},hle="",QK={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Uo,IdmBrand:en},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977dKcAVpfDnziFSc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ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${O(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?ie.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await xl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},ze=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),JK={class:"comparison-report"},KK=ze(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),qK={class:"report-header"},jK={class:"header-title",style:{position:"relative !important"}},XK=["src"],vK={class:"header-title-content"},eq=ze(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),tq={class:"title-date"},oq={class:"report-summary"},lq={class:"summary-item"},aq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),nq={class:"flexL gray"},sq={class:"summary-item"},iq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),cq={class:"flexL gray"},dq={class:"summary-item"},rq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),mq={class:"flexL gray"},pq={class:"summary-item"},hq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),yq={class:"flexL gray"},Eq={class:"summary-item"},_q=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),Nq={class:"flexL gray"},Vq={class:"summary-item"},fq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),gq={class:"flexL gray",style:{display:"flex"}},Dq={class:"flex"},bq={class:"flexM"},xq={class:"summary-item"},Cq=ze(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Sq={class:"flexL gray",style:{display:"flex"}},kq={class:"flex"},Bq={class:"flexM"},Aq=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),wq={class:"report-summary"},Tq={class:"summary-item"},uq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),Oq={class:"summary-item"},Fq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),Pq={class:"summary-item"},Lq=ze(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),Wq=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),Hq={class:"report-map"},Mq=["src"],Gq=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),Iq=ze(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Rq={key:0,class:"subtitle"},zq={key:1,class:"report-summary"},Uq={class:"summary-item"},Yq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Zq={class:"flexL blue center"},$q={class:"summary-item"},Qq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Jq={class:"flexL blue center"},Kq={class:"summary-item"},qq=ze(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),jq={class:"flexL blue center"},Xq=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),vq={class:"report-summary"},ej=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),tj={class:"summary-item"},oj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),lj={class:"flex blue-light center"},aj={class:"flex blue-light center"},nj={class:"summary-item"},sj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),ij={class:"flex blue-light center"},cj={class:"flex blue-light center"},dj={class:"summary-item"},rj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),mj={class:"flex blue-light center"},pj={class:"flex blue-light center"},hj={class:"summary-item"},yj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Ej={class:"flex blue-light center"},_j={class:"flex blue-light center"},Nj={class:"summary-item"},Vj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),fj={class:"flex blue-light center"},gj={class:"flex blue-light center"},Dj={class:"summary-item"},bj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),xj={class:"flex blue-light center"},Cj={class:"flex blue-light center"},Sj={class:"summary-item"},kj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Bj={class:"flex blue-light center italic"},Aj=ze(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),wj={class:"report-summary"},Tj=ze(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),uj={class:"summary-item"},Oj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Fj={class:"flex blue-light center"},Pj={class:"flex blue-light center"},Lj={class:"summary-item"},Wj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Hj={class:"flex blue-light center"},Mj={class:"flex blue-light center"},Gj={class:"summary-item"},Ij=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Rj={class:"flex blue-light center"},zj={class:"flex blue-light center"},Uj={class:"summary-item"},Yj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Zj={class:"flex blue-light center"},$j={class:"flex blue-light center"},Qj={class:"summary-item"},Jj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),Kj={class:"flex blue-light center italic"},qj={class:"summary-item"},jj=ze(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),Xj={class:"flex blue-light center italic"},vj=["innerHTML"];function eX(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le,ke;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",JK,[e.createVNode(m),KK,e.createElementVNode("div",qK,[e.createElementVNode("div",jK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,XK),e.createElementVNode("div",vK,[eq,e.createElementVNode("div",tq,e.toDisplayString(a.computeUTCTime(((p=l.comparisonData)==null?void 0:p.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",oq,[e.createElementVNode("div",lq,[aq,e.createElementVNode("div",nq,e.toDisplayString((f=(D=l.comparisonData)==null?void 0:D.vessel)==null?void 0:f.name),1)]),e.createElementVNode("div",sq,[iq,e.createElementVNode("div",cq,e.toDisplayString((h=l.comparisonData)==null?void 0:h.preparedFor),1)]),e.createElementVNode("div",dq,[rq,e.createElementVNode("div",mq,e.toDisplayString((C=(V=l.comparisonData)==null?void 0:V.vessel)==null?void 0:C.type),1)]),e.createElementVNode("div",pq,[hq,e.createElementVNode("div",yq,e.toDisplayString((k=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:k.loadCondition),1)]),e.createElementVNode("div",Eq,[_q,e.createElementVNode("div",Nq,e.toDisplayString((B=(S=l.comparisonData)==null?void 0:S.voyage)==null?void 0:B.number),1)]),e.createElementVNode("div",Vq,[fq,e.createElementVNode("div",gq,[e.createElementVNode("span",Dq,e.toDisplayString((u=(A=l.comparisonData)==null?void 0:A.departure)==null?void 0:u.name),1),e.createElementVNode("span",bq,e.toDisplayString(a.computeUTCTime(((x=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:x.atd)||((U=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:U.etd))),1)])]),e.createElementVNode("div",xq,[Cq,e.createElementVNode("div",Sq,[e.createElementVNode("span",kq,e.toDisplayString((R=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:R.name),1),e.createElementVNode("span",Bq,e.toDisplayString(a.computeUTCTime(((g=(P=l.comparisonData)==null?void 0:P.arrival)==null?void 0:g.ata)||((G=(I=l.comparisonData)==null?void 0:I.arrival)==null?void 0:G.eta))),1)])])]),Aq,e.createElementVNode("div",wq,[e.createElementVNode("div",Tq,[uq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((M=l.comparisonData)==null?void 0:M.diffTime,"time")),3)]),e.createElementVNode("div",Oq,[Fq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Q=l.comparisonData)==null?void 0:Q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",Pq,[Lq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((N=l.comparisonData)==null?void 0:N.diffDgoCons,"oil")),3)])]),Wq,e.createElementVNode("div",Hq,[e.createElementVNode("img",{style:{width:"100%"},src:(z=l.comparisonData)==null?void 0:z.chartUrl,alt:""},null,8,Mq),Gq]),Iq,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Rq,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zq,[e.createElementVNode("div",Uq,[Yq,e.createElementVNode("div",Zq,e.toDisplayString(((d=(X=l.comparisonData)==null?void 0:X.cp)==null?void 0:d.speed)??"—"),1)]),e.createElementVNode("div",$q,[Qq,e.createElementVNode("div",Jq,e.toDisplayString(((oe=(v=l.comparisonData)==null?void 0:v.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",Kq,[qq,e.createElementVNode("div",jq,e.toDisplayString(((se=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:se.dgo)??"—"),1)])])),Xq,e.createElementVNode("div",vq,[ej,e.createElementVNode("div",tj,[oj,e.createElementVNode("div",lj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualDist)??"—"),1),e.createElementVNode("div",aj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdDist)??"—"),1)]),e.createElementVNode("div",nj,[sj,e.createElementVNode("div",ij,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",cj,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdTime)??"—"),1)]),e.createElementVNode("div",dj,[rj,e.createElementVNode("div",mj,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.actualAvgSpd)??"—"),1),e.createElementVNode("div",pj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",hj,[yj,e.createElementVNode("div",Ej,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.actualAvgCF)??"—"),1),e.createElementVNode("div",_j,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Nj,[Vj,e.createElementVNode("div",fj,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgWF)??"—"),1),e.createElementVNode("div",gj,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Dj,[bj,e.createElementVNode("div",xj,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.actualPfmSpd)??"—"),1),e.createElementVNode("div",Cj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Sj,[kj,e.createElementVNode("div",Bj,e.toDisplayString(a.compareTime((xe=l.comparisonData)==null?void 0:xe.actualTime,(Ce=l.comparisonData)==null?void 0:Ce.recmdTime)),1)])]),Aj,e.createElementVNode("div",wj,[Tj,e.createElementVNode("div",uj,[Oj,e.createElementVNode("div",Fj,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Pj,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",Lj,[Wj,e.createElementVNode("div",Hj,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.actualFoCons)??"-"),1),e.createElementVNode("div",Mj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdFoCons)??"-"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((W=l.comparisonData)==null?void 0:W.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",zj,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",Uj,[Yj,e.createElementVNode("div",Zj,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualDgoCons)??"-"),1),e.createElementVNode("div",$j,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",Qj,[Jj,e.createElementVNode("div",Kj,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",qj,[jj,e.createElementVNode("div",Xj,e.toDisplayString(((ke=l.comparisonData)==null?void 0:ke.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=We=>l.advisory=We),height:"320px",onBlur:n[1]||(n[1]=We=>a.handleCommit("comments",We))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...We)=>a.decideDisable&&a.decideDisable(...We)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,vj))],2)])}const Gn=Ee(QK,[["render",eX],["__scopeId","data-v-c8bf8198"]]),yle="",tX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Uo},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+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N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${O(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?ie.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await xl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ue=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),oX={class:"comparison-report"},lX=Ue(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),aX={class:"report-header"},nX={class:"header-title",style:{position:"relative !important"}},sX={class:"header-title-content"},iX=Ue(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),cX={class:"title-date"},dX={class:"report-summary"},rX={class:"summary-item"},mX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),pX={class:"flexL gray"},hX={class:"summary-item"},yX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EX={class:"flexL gray"},_X={class:"summary-item"},NX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),VX={class:"flexL gray"},fX={class:"summary-item"},gX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),DX={class:"flexL gray"},bX={class:"summary-item"},xX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),CX={class:"flexL gray"},SX={class:"summary-item"},kX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),BX={class:"flexL gray",style:{display:"flex"}},AX={class:"flex"},wX={class:"flexM"},TX={class:"summary-item"},uX=Ue(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),OX={class:"flexL gray",style:{display:"flex"}},FX={class:"flex"},PX={class:"flexM"},LX=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),WX={class:"report-summary"},HX={class:"summary-item"},MX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),GX={class:"summary-item"},IX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),RX={class:"summary-item"},zX=Ue(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),UX=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),YX={class:"report-map"},ZX=["src"],$X=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),QX=Ue(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),JX={key:0,class:"subtitle"},KX={key:1,class:"report-summary"},qX={class:"summary-item"},jX=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),XX={class:"flexL blue center"},vX={class:"summary-item"},ev=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),tv={class:"flexL blue center"},ov={class:"summary-item"},lv=Ue(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),av={class:"flexL blue center"},nv=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),sv={class:"report-summary"},iv=Ue(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),cv={class:"summary-item"},dv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),rv={class:"flex blue-light center"},mv={class:"flex blue-light center"},pv={class:"summary-item"},hv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),yv={class:"flex blue-light center"},Ev={class:"flex blue-light center"},_v={class:"summary-item"},Nv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Vv={class:"flex blue-light center"},fv={class:"flex blue-light center"},gv={class:"summary-item"},Dv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),bv={class:"flex blue-light center"},xv={class:"flex blue-light center"},Cv={class:"summary-item"},Sv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),kv={class:"flex blue-light center"},Bv={class:"flex blue-light center"},Av={class:"summary-item"},wv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Tv={class:"flex blue-light center"},uv={class:"flex blue-light center"},Ov={class:"summary-item"},Fv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Pv={class:"flex blue-light center italic"},Lv=Ue(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),Wv={class:"report-summary"},Hv=Ue(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Mv={class:"summary-item"},Gv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),Iv={class:"flex blue-light center"},Rv={class:"flex blue-light center"},zv={class:"summary-item"},Uv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),Yv={class:"flex blue-light center"},Zv={class:"flex blue-light center"},$v={class:"summary-item"},Qv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),Jv={class:"flex blue-light center"},Kv={class:"flex blue-light center"},qv={class:"summary-item"},jv=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),Xv={class:"flex blue-light center"},vv={class:"flex blue-light center"},eee={class:"summary-item"},tee=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),oee={class:"flex blue-light center italic"},lee={class:"summary-item"},aee=Ue(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),nee={class:"flex blue-light center italic"},see=["innerHTML"];function iee(t,n,o,c,l,a){var i,p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P,g,I,G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se,ue,Oe,ye,W,me,Fe,Pe,Le;const m=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",oX,[lX,e.createElementVNode("div",aX,[e.createElementVNode("div",nX,[e.createElementVNode("div",sX,[iX,e.createElementVNode("div",cX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",dX,[e.createElementVNode("div",rX,[mX,e.createElementVNode("div",pX,e.toDisplayString((D=(p=l.comparisonData)==null?void 0:p.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",hX,[yX,e.createElementVNode("div",EX,e.toDisplayString((f=l.comparisonData)==null?void 0:f.preparedFor),1)]),e.createElementVNode("div",_X,[NX,e.createElementVNode("div",VX,e.toDisplayString((V=(h=l.comparisonData)==null?void 0:h.vessel)==null?void 0:V.type),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString((r=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",bX,[xX,e.createElementVNode("div",CX,e.toDisplayString((S=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:S.number),1)]),e.createElementVNode("div",SX,[kX,e.createElementVNode("div",BX,[e.createElementVNode("span",AX,e.toDisplayString((A=(B=l.comparisonData)==null?void 0:B.departure)==null?void 0:A.name),1),e.createElementVNode("span",wX,e.toDisplayString(a.computeUTCTime(((F=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:F.atd)||((L=(x=l.comparisonData)==null?void 0:x.departure)==null?void 0:L.etd))),1)])]),e.createElementVNode("div",TX,[uX,e.createElementVNode("div",OX,[e.createElementVNode("span",FX,e.toDisplayString((Z=(U=l.comparisonData)==null?void 0:U.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",PX,e.toDisplayString(a.computeUTCTime(((P=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:P.ata)||((I=(g=l.comparisonData)==null?void 0:g.arrival)==null?void 0:I.eta))),1)])])]),LX,e.createElementVNode("div",WX,[e.createElementVNode("div",HX,[MX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((G=l.comparisonData)==null?void 0:G.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",GX,[IX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((M=l.comparisonData)==null?void 0:M.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((Q=l.comparisonData)==null?void 0:Q.diffFoCons,"oil")),3)]),e.createElementVNode("div",RX,[zX,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffDgoCons,"oil")),3)])]),UX,e.createElementVNode("div",YX,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,ZX),$X]),QX,(z=l.comparisonData)!=null&&z.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",JX,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",KX,[e.createElementVNode("div",qX,[jX,e.createElementVNode("div",XX,e.toDisplayString(((X=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:X.speed)??"—"),1)]),e.createElementVNode("div",vX,[ev,e.createElementVNode("div",tv,e.toDisplayString(((v=(d=l.comparisonData)==null?void 0:d.cp)==null?void 0:v.fo)??"—"),1)]),e.createElementVNode("div",ov,[lv,e.createElementVNode("div",av,e.toDisplayString(((ee=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:ee.dgo)??"—"),1)])])),nv,e.createElementVNode("div",sv,[iv,e.createElementVNode("div",cv,[dv,e.createElementVNode("div",rv,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",mv,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",pv,[hv,e.createElementVNode("div",yv,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualTime)??"—"),1),e.createElementVNode("div",Ev,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",_v,[Nv,e.createElementVNode("div",Vv,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualAvgSpd)??"—"),1),e.createElementVNode("div",fv,e.toDisplayString(((le=l.comparisonData)==null?void 0:le.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",gv,[Dv,e.createElementVNode("div",bv,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgCF)??"—"),1),e.createElementVNode("div",xv,e.toDisplayString(((Ne=l.comparisonData)==null?void 0:Ne.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Cv,[Sv,e.createElementVNode("div",kv,e.toDisplayString(((Ve=l.comparisonData)==null?void 0:Ve.actualAvgWF)??"—"),1),e.createElementVNode("div",Bv,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Av,[wv,e.createElementVNode("div",Tv,e.toDisplayString(((ge=l.comparisonData)==null?void 0:ge.actualPfmSpd)??"—"),1),e.createElementVNode("div",uv,e.toDisplayString(((De=l.comparisonData)==null?void 0:De.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Ov,[Fv,e.createElementVNode("div",Pv,e.toDisplayString(a.compareTime((be=l.comparisonData)==null?void 0:be.actualTime,(xe=l.comparisonData)==null?void 0:xe.recmdTime)),1)])]),Lv,e.createElementVNode("div",Wv,[Hv,e.createElementVNode("div",Mv,[Gv,e.createElementVNode("div",Iv,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualAvgFoCons)??"-"),1),e.createElementVNode("div",Rv,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",zv,[Uv,e.createElementVNode("div",Yv,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualFoCons)??"-"),1),e.createElementVNode("div",Zv,e.toDisplayString(((Oe=l.comparisonData)==null?void 0:Oe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",$v,[Qv,e.createElementVNode("div",Jv,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",Kv,e.toDisplayString(((W=l.comparisonData)==null?void 0:W.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",qv,[jv,e.createElementVNode("div",Xv,e.toDisplayString(((me=l.comparisonData)==null?void 0:me.actualDgoCons)??"-"),1),e.createElementVNode("div",vv,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",eee,[tee,e.createElementVNode("div",oee,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.diffFoCons)??"-"),1)]),e.createElementVNode("div",lee,[aee,e.createElementVNode("div",nee,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=ke=>l.advisory=ke),height:"320px",onBlur:n[1]||(n[1]=ke=>a.handleCommit("comments",ke))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...ke)=>a.decideDisable&&a.decideDisable(...ke)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,see))],2)])}const In=Ee(tX,[["render",iee],["__scopeId","data-v-b2f57055"]]),cee={install(t){t.component("OpiComparisonReport",Gn),t.component("FliComparisonReport",In)}},dee={install(t){t.component("IdmBrand",Eo),t.component("IdmThird",en)}},Ele="",ree={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Rn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),mee={class:"quota-report"},pee=Rn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),hee={class:"section quota-section"},yee=Rn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Eee={class:"label"},_ee={class:"label"},Nee=["innerHTML"],Vee=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function fee(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",mee,[e.createVNode(m,{name:"Quotation Sheet"}),pee,e.createElementVNode("div",hee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[yee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Eee,e.toDisplayString(i.rank),1),e.createElementVNode("td",_ee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,Nee))),128))]))),128))])]),Vee])])}const zn=Ee(ree,[["render",fee],["__scopeId","data-v-f3647134"]]),_le="",gee={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$500",0,0,0,0,0,0,0,0,0,0,0],["$500","$500",0,0,0,0,0,0,0,0,0,0],["$650","$550","$500",0,0,0,0,0,0,0,0,0],["$650","$550","$700","$500",0,0,0,0,0,0,0,0],["$800","$650","$650","$550","$500",0,0,0,0,0,0,0],["$920","$880","$880","CGH $750","$650","$500",0,0,0,0,0,0],["$1050","$1000","$1000","SUE $550","SUE $550","$700","$500",0,0,0,0,0],["SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1250","SUE $1100<br/>CGH $1350<br/>CHC $1350<br/>PMP $1450","SUE 650<br/>CGH $1500","SUE $650","$800","$600","$500",0,0,0,0],["$1250","$1250","$1150","CGH $1050","$900","$700","$800","$850","$500",0,0,0],["$1000","$1000","DIR $900<br/>CHC $1200","CHC $1300","CHC $1300","PMP $750<br/>CHC $900","PMP $800<br/>CHC $1200","PMP $850<br/>CHC $1200","$650","$500",0,0],["$1250","$1300","PMP $1250<br/>CGH $1350<br/>SUE $1300","SUE $1000<br/>CGH $1300","SUE $950<br/>CGH $1200","$700","$800","$800","$700","PMP $650<br/>CHC $1350","$500",0],["$950","$1000","$1000","SGP $1100<br/>PMP $1550<br/>CHC $1550","SGP $1100<br/>PMP $1200<br/>CHC $1400","PMP $1100<br/>CHC $1350","$1050","PMP $1100<br/>CHC $1450","PMP $1100<br/>CHC $1250","PMP $650<br/>CHC $1350","PMP $740<br/>CHC $1500","$500"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Un=t=>(e.pushScopeId("data-v-e3ab3a93"),t=t(),e.popScopeId(),t),Dee={class:"quota-report"},bee=Un(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),xee={class:"section quota-section"},Cee=Un(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),See={class:"label"},kee={class:"label"},Bee=["innerHTML"],Aee=e.createStaticVNode('<div class="legend-block flex-space" data-v-e3ab3a93><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>DIR</label><span data-v-e3ab3a93>DIRECT</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>PMP</label><span data-v-e3ab3a93>via PANAMA CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SUE</label><span data-v-e3ab3a93>via SUEZ CHANNEL</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CGH</label><span data-v-e3ab3a93>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>CHC</label><span data-v-e3ab3a93>Passing CAPE HORN</span></div><div class="legend" data-v-e3ab3a93><label data-v-e3ab3a93>SCG</label><span data-v-e3ab3a93>Passing SINGAPORE</span></div></div>',1);function wee(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",Dee,[e.createVNode(m,{name:"Quotation Sheet"}),bee,e.createElementVNode("div",xee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Cee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",See,e.toDisplayString(i.rank),1),e.createElementVNode("td",kee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,Bee))),128))]))),128))])]),Aee])])}const Yn=Ee(gee,[["render",wee],["__scopeId","data-v-e3ab3a93"]]),Nle="",Tee={name:"QuotaReport",components:{Brand:Eo},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$150",0,0,0,0,0,0,0,0,0,0,0],["$150","$150",0,0,0,0,0,0,0,0,0,0],["$280","$230","$150",0,0,0,0,0,0,0,0,0],["$280","$230","$330","$150",0,0,0,0,0,0,0,0],["$395","$280","$280","$230","$150",0,0,0,0,0,0,0],["$475","$450","$450","CGH $365","$280","$150",0,0,0,0,0,0],["$560","$530","$530","SUE $230","SUE $230","$330","$150",0,0,0,0,0],["SUE $595<br/>CGH $690","SUE $595<br/>CGH $690","SUE $595<br/>CGH $760<br/>CHC $760<br/>PMP $830","SUE 280<br/>CGH $860","SUE $280","$395","$265","$150",0,0,0,0],["$690","$690","$630","CGH $560","$460","$330","$395","$430","$150",0,0,0],["$530","$530","DIR $460<br/>CHC $660","CHC $730","CHC $730","PMP $365<br/>CHC $460","PMP $395<br/>CHC $660","PMP $430<br/>CHC $660","$280","$150",0,0],["$690","$730","PMP $690<br/>CGH $760<br/>SUE $730","SUE $530<br/>CGH $730","SUE $495<br/>CGH $660","$330","$395","$395","$330","PMP $280<br/>CHC $760","$150",0],["$495","$530","$530","SGP $595<br/>PMP $890<br/>CHC $890","SGP $595<br/>PMP $660<br/>CHC $790","PMP $595<br/>CHC $760","$560","PMP $595<br/>CHC $830","PMP $595<br/>CHC $690","PMP $280<br/>CHC $760","PMP $360<br/>CHC $860","$150"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Zn=t=>(e.pushScopeId("data-v-fecdf217"),t=t(),e.popScopeId(),t),uee={class:"quota-report"},Oee=Zn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),Fee={class:"section quota-section"},Pee=Zn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),Lee={class:"label"},Wee={class:"label"},Hee=["innerHTML"],Mee=e.createStaticVNode('<div class="legend-block flex-space" data-v-fecdf217><div class="legend" data-v-fecdf217><label data-v-fecdf217>DIR</label><span data-v-fecdf217>DIRECT</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>PMP</label><span data-v-fecdf217>via PANAMA CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SUE</label><span data-v-fecdf217>via SUEZ CHANNEL</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CGH</label><span data-v-fecdf217>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>CHC</label><span data-v-fecdf217>Passing CAPE HORN</span></div><div class="legend" data-v-fecdf217><label data-v-fecdf217>SCG</label><span data-v-fecdf217>Passing SINGAPORE</span></div></div>',1);function Gee(t,n,o,c,l,a){const m=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",uee,[e.createVNode(m,{name:"Quotation Sheet for TONGLI"}),Oee,e.createElementVNode("div",Fee,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Pee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,p)=>(e.openBlock(),e.createElementBlock("tr",{key:p},[e.createElementVNode("td",Lee,e.toDisplayString(i.rank),1),e.createElementVNode("td",Wee,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,D=>(e.openBlock(),e.createElementBlock("td",{key:D,innerHTML:l.quota[p][D-1]||""},null,8,Hee))),128))]))),128))])]),Mee])])}const $n=Ee(Tee,[["render",Gee],["__scopeId","data-v-fecdf217"]]),Iee={install(t){t.component("OrmQuoteReport",zn),t.component("OrmQuoteReport4SEOA",Yn),t.component("OrmQuoteReport4TongLi",$n)}},Vle="",Ree={name:"PrecipitationReport",components:{IdmBrand:Eo,IdmLoading:an},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const c of(n=this.report)==null?void 0:n.rows)this.computeForm(c);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return ie.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return ie.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${O(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return ie.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let c=(16-o)*22.5;return n||(c=c+180),`transform:rotate(${c}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,m,i,p,D,f;const n=ie.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let h=0;h<((l=t==null?void 0:t.extend)==null?void 0:l.length);h++){const V=t==null?void 0:t.extend[h];if(h===0)V.precip.pacc=0;else{const C=O(V.utc).utcOffset(n),r=(a=V.precip)==null?void 0:a.acc;if(V.precip.pacc=r,r>0){const k=o[C.format("MMM-DD")],S=Math.floor(C.get("hour")/6);k?(k.pacc=this.roundPrecision(k.pacc+r,1),k[`${S}`]?k[`${S}`]+=r:(k[`${S}`]=r,k.colspan+=1)):(o[C.format("MMM-DD")]={pacc:r,colspan:1},o[C.format("MMM-DD")][`${S}`]=r)}}}t.paccInDays=o;let c=0;for(const h of Object.keys(o))c+=(m=o[h])==null?void 0:m.colspan,o[h].level=((i=o[h])==null?void 0:i.pacc)<10?"Light":((p=o[h])==null?void 0:p.pacc)<24.9?"Moderate":((D=o[h])==null?void 0:D.pacc)<49.9?"Heavy":((f=o[h])==null?void 0:f.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=c,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(Yo.init(this.$refs.echart)));const o=[],c=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var D,f,h,V,C,r,k,S,B,A,u,F,x,L;const p=O(i.utc).utcOffset((D=this.form)==null?void 0:D.localTZ).format("MMM-DD/HHmm[LT]");o.push(p),a=((h=(f=i.wave)==null?void 0:f.sig)==null?void 0:h.height)>a?(C=(V=i.wave)==null?void 0:V.sig)==null?void 0:C.height:a,c.push([p,(r=i.wind)==null?void 0:r.kts,(k=i.gusts)==null?void 0:k.kts,(B=(S=i.wave)==null?void 0:S.sig)==null?void 0:B.height,(A=i.wind)==null?void 0:A.direction,(u=i.wind)==null?void 0:u.degree,(F=i.wind)==null?void 0:F.scale,(x=i.current)==null?void 0:x.kts,(L=i.precip)==null?void 0:L.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const m={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:c,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:c,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:c,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:c,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:c,z:2}]};this.echart.setOption(m)}},async initMap(){this.version==="Pretty"&&!this.map&&(fl.accessToken=this.mapboxToken,this.map=new fl.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Ht=t=>(e.pushScopeId("data-v-93671675"),t=t(),e.popScopeId(),t),zee={class:"precipitation-report"},Uee={class:"section area-section"},Yee={class:"area-block"},Zee={class:"area-header flex-space"},$ee={class:"flex-start"},Qee=["onClick"],Jee={class:"flex-end"},Kee={class:"area-body"},qee=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),jee={class:"flex-evenly"},Xee={key:0},vee=["colspan"],ete=["colspan"],tte={style:{"font-size":"10px"}},ote={key:0},lte={key:1},ate={key:2},nte={key:3},ste={key:0},ite={key:1,style:{"font-size":"14px"}},cte=Ht(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),dte={class:"section echart-section"},rte={ref:"echart",class:"echart"},mte={class:"section sample-section"},pte=Ht(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),hte=["colspan"],yte=Ht(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Ete=Ht(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),_te=Ht(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Nte=Ht(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Vte=Ht(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),fte=Ht(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),gte={key:0},Dte={key:1},bte=Ht(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),xte=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),Cte=Ht(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ste=Ht(()=>e.createElementVNode("th",null,"BF",-1)),kte=Ht(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Bte=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),Ate=Ht(()=>e.createElementVNode("th",null,"Ht (m)",-1)),wte=Ht(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Tte=Ht(()=>e.createElementVNode("th",null,"Dir",-1)),ute=Ht(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ote=Ht(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Fte=Ht(()=>e.createElementVNode("th",null,"°C",-1)),Pte={width:"120px"},Lte={key:0},Wte={key:1},Hte={key:0,class:"degree-box"},Mte={key:1},Gte={key:0,class:"degree-box"},Ite={key:1},Rte={key:0,class:"degree-box"},zte={key:1},Ute={class:"section area-section"},Yte={class:"area-block"},Zte={class:"area-header flex-end"},$te={class:"flex-end"},Qte={class:"area-body"},Jte=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-93671675>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-93671675><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-93671675>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-93671675>Heavy Rainstorm (&gt;100mm)</div></div>',2),Kte=["colspan"],qte=["colspan"],jte={style:{"font-size":"10px"}},Xte={key:0},vte={key:1},eoe={key:2},toe={key:3},ooe={key:1,style:{"font-size":"14px"}},loe={key:0};function aoe(t,n,o,c,l,a){var p,D,f,h,V,C,r,k,S,B,A,u,F,x,L,U,Z,R,P;const m=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",zee,[e.createVNode(m,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,onTimeout:n[0]||(n[0]=g=>l.loading=!1)},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Uee,[e.createElementVNode("div",Yee,[e.createElementVNode("div",Zee,[e.createElementVNode("div",$ee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.rows,(g,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(l.index===I?"header-item active":"header-item"),onClick:G=>{var H;return l.index=I,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(g.rank)+". "+e.toDisplayString(g.name),11,Qee))),128))]),e.createElementVNode("div",Jee,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=g=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",Kee,[qee,e.createElementVNode("div",jee,[l.form?(e.openBlock(),e.createElementBlock("table",Xee,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((D=l.form)==null?void 0:D.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((f=l.form)==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat((h=l.form)==null?void 0:h.lat).pretty)+" / "+e.toDisplayString(a.computeLng((V=l.form)==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(C=l.form)==null?void 0:C.extend)==null?void 0:r[0].utc,(k=l.form)==null?void 0:k.localTZ))+" to "+e.toDisplayString(a.computeLTime((B=(S=l.form)==null?void 0:S.extend)==null?void 0:B.at(-1).utc,(A=l.form)==null?void 0:A.localTZ))+", "+e.toDisplayString(a.computeTZ((u=l.form)==null?void 0:u.localTZ))+")",1)],8,vee)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((F=l.form)==null?void 0:F.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock("th",{key:I,colspan:l.form.paccInDays[g].colspan,class:e.normalizeClass((G=l.form.paccInDays[g])==null?void 0:G.level)},e.toDisplayString(g)+" ("+e.toDisplayString(l.form.paccInDays[g].pacc)+") ",11,ete)}),128))]),e.createElementVNode("tr",tte,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((x=l.form)==null?void 0:x.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[g]),(H,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[H==="0"?(e.openBlock(),e.createElementBlock("th",ote,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",lte,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",ate,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",nte,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(U=Object.keys((L=l.form)==null?void 0:L.paccInDays))!=null&&U.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(g,I)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[g]),(H,M)=>{var Q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:M},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",ste,e.toDisplayString(a.roundPrecision((Q=l.form)==null?void 0:Q.paccInDays[g][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",ite,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),cte,e.createElementVNode("div",dte,[e.createElementVNode("div",rte,null,512)]),e.createElementVNode("div",mte,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[pte,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,hte),yte,Ete,_te,Nte,Vte,fte]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",gte,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Dte,"Acc (mm)")):e.createCommentVNode("",!0),bte,xte,Cte,Ste,kte,Bte,Ate,wte,Tte,ute,Ote,Fte])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((R=l.form)==null?void 0:R.extend,(g,I)=>{var G,H,M,Q,j,K,N,z,J,s,X,d,v,oe,ee,se,ce,de,re,_e,le,he,Ne,Ve,fe,ge,De,be,xe,Ce,Se;return e.openBlock(),e.createElementBlock("tr",{key:I},[e.createElementVNode("td",Pte,e.toDisplayString(a.computeLTime(g.utc,(G=l.form)==null?void 0:G.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Lte,e.toDisplayString(a.roundPrecision((H=g.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Wte,e.toDisplayString((M=g.precip)==null?void 0:M.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.visibility/1852,0)),1),e.createElementVNode("td",null,[(Q=g.wind)!=null&&Q.kts?(e.openBlock(),e.createElementBlock("span",Hte,[e.createTextVNode(e.toDisplayString((j=g.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((K=g.wind)==null?void 0:K.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Mte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=g.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((z=g.wind)==null?void 0:z.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=g.gusts)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(s=g.wave)==null?void 0:s.wd)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,[(v=(d=g.wave)==null?void 0:d.swell)!=null&&v.height?(e.openBlock(),e.createElementBlock("span",Gte,[e.createTextVNode(e.toDisplayString((ee=(oe=g.wave)==null?void 0:oe.swell)==null?void 0:ee.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ce=(se=g.wave)==null?void 0:se.swell)==null?void 0:ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Ite,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(de=g.wave)==null?void 0:de.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((le=(_e=g.wave)==null?void 0:_e.swell)==null?void 0:le.period,1)),1),e.createElementVNode("td",null,[(Ne=(he=g.wave)==null?void 0:he.sig)!=null&&Ne.height?(e.openBlock(),e.createElementBlock("span",Rte,[e.createTextVNode(e.toDisplayString((fe=(Ve=g.wave)==null?void 0:Ve.sig)==null?void 0:fe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((De=(ge=g.wave)==null?void 0:ge.sig)==null?void 0:De.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",zte,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((xe=(be=g.wave)==null?void 0:be.sig)==null?void 0:xe.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Se=(Ce=g.wave)==null?void 0:Ce.sig)==null?void 0:Se.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(g.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Ute,[e.createElementVNode("div",Yte,[e.createElementVNode("div",Zte,[e.createElementVNode("div",$te,[e.createElementVNode("div",{class:"header-item",onClick:n[2]||(n[2]=g=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Qte,[Jte,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((P=o.report)==null?void 0:P.rows,(g,I)=>{var G,H,M;return e.openBlock(),e.createElementBlock("div",{key:I,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:g.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(g==null?void 0:g.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(g==null?void 0:g.name)+" ("+e.toDisplayString(a.computeLat(g==null?void 0:g.lat).pretty)+" / "+e.toDisplayString(a.computeLng(g==null?void 0:g.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((G=g==null?void 0:g.extend)==null?void 0:G[0].utc,g==null?void 0:g.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=g==null?void 0:g.extend)==null?void 0:H.at(-1).utc,g==null?void 0:g.localTZ))+", "+e.toDisplayString(a.computeTZ(g==null?void 0:g.localTZ))+")",1)],8,Kte)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>{var K;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:g.paccInDays[Q].colspan,class:e.normalizeClass((K=g.paccInDays[Q])==null?void 0:K.level)},e.toDisplayString(Q)+" ("+e.toDisplayString(g.paccInDays[Q].pacc)+") ",11,qte)}),128))]),e.createElementVNode("tr",jte,[(M=Object.keys(g==null?void 0:g.paccInDays))!=null&&M.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[K==="0"?(e.openBlock(),e.createElementBlock("th",Xte,"00-06")):e.createCommentVNode("",!0),K==="1"?(e.openBlock(),e.createElementBlock("th",vte,"06-12")):e.createCommentVNode("",!0),K==="2"?(e.openBlock(),e.createElementBlock("th",eoe,"12-18")):e.createCommentVNode("",!0),K==="3"?(e.openBlock(),e.createElementBlock("th",toe,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",ooe,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays),(Q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(g==null?void 0:g.paccInDays[Q]),(K,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(K)?(e.openBlock(),e.createElementBlock("td",loe,e.toDisplayString(a.roundPrecision(g==null?void 0:g.paccInDays[Q][K],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Qn=Ee(Ree,[["render",aoe],["__scopeId","data-v-93671675"]]),noe={install(t){t.component("PrecipitationReport",Qn)}},soe={install(t){t.component("IdmLoading",an)}};te.BrandPlugin=dee,te.ComparisonPlugin=cee,te.DeviationPlugin=tK,te.DeviationReport=Wn,te.FliComparisonReport=In,te.FliDeviationReport=Hn,te.FliInvoiceReport=Pn,te.FliPlanReport=Dn,te.FliVoyageReport=Sn,te.HurricanePlugin=vP,te.IdmBrand=Eo,te.IdmEditor=Uo,te.IdmEditorPlugin=iE,te.IdmLat=on,te.IdmLatPlugin=cE,te.IdmLng=tn,te.IdmLngPlugin=dE,te.IdmLoading=an,te.IdmThird=en,te.InvoicePlugin=BH,te.InvoiceReport=On,te.LoadingPlugin=soe,te.ORMPointReport=Nn,te.OpiComparisonReport=Gn,te.OpiPlanReport=rn,te.OpiVoyageReport=Cn,te.OrmInvoiceReport=Fn,te.OrmPlanReport=bn,te.OrmQuoteReport=zn,te.OrmQuoteReport4SEOA=Yn,te.OrmQuoteReport4TongLi=$n,te.OrmVoyageReport=kn,te.PiLogo=xn,te.PiLogoPlugin=_E,te.PointReport=Vn,te.PointReportPlugin=vd,te.PrecipitationReport=Qn,te.PrecipitationReportPlugin=noe,te.QuoteReportPlugin=Iee,te.RouteReport=rn,te.RouteReportPlugin=sE,te.StoppageReport=Mn,te.StoppageReportPlugin=$K,te.TropicalReport=un,te.VoyageReportPlugin=OP,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})});